@cleartrip/ct-design-common-constants
Advanced tools
Comparing version 1.0.1-beta to 2.0.0
@@ -1,2 +0,2 @@ | ||
"use strict";var o,t,e,s,r,p,n,i,a,T,x;exports.ButtonVariant=void 0,(o=exports.ButtonVariant||(exports.ButtonVariant={})).CONTAINED="contained",o.OUTLINED="outlined",o.BARE="bare",exports.ButtonColor=void 0,(t=exports.ButtonColor||(exports.ButtonColor={})).PRIMARY="primary",t.SECONDARY="secondary",exports.ButtonSize=void 0,(e=exports.ButtonSize||(exports.ButtonSize={})).SMALL="sm",e.MEDIUM="md",e.LARGE="lg",exports.ButtonIconPosition=void 0,(s=exports.ButtonIconPosition||(exports.ButtonIconPosition={})).LEFT="left",s.RIGHT="right",exports.ButtonPosition=void 0,(r=exports.ButtonPosition||(exports.ButtonPosition={})).LEFT="left",r.RIGHT="right",r.CENTER="center",r.STRETCH="stretch",exports.ToastTypes=void 0,(p=exports.ToastTypes||(exports.ToastTypes={})).ERROR="ERROR",p.SUCCESS="SUCCESS",exports.CalloutTypes=void 0,(n=exports.CalloutTypes||(exports.CalloutTypes={})).ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS",exports.CalenderMode=void 0,(i=exports.CalenderMode||(exports.CalenderMode={})).PWA="pwa",i.DESKTOP="desktop",exports.Theme=void 0,(exports.Theme||(exports.Theme={})).PRIMARY="PRIMARY",exports.Tabs=void 0,(a=exports.Tabs||(exports.Tabs={})).FlatTabs="FlatTab",a.CapsuleTabs="CapsuleTab",exports.BorderStyle=void 0,(T=exports.BorderStyle||(exports.BorderStyle={})).SOLID="SOLID",T.DOTTED="DOTTED",exports.IconPosition=void 0,(x=exports.IconPosition||(exports.IconPosition={})).TOP="top",x.BOTTOM="bottom",x.LEFT="left",x.RIGHT="right";exports.DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],exports.FULL_NAMES_OF_DAYS={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},exports.MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]; | ||
"use strict";var o,t,e,s,r,p,n,i,a,T,x;exports.ButtonVariant=void 0,(o=exports.ButtonVariant||(exports.ButtonVariant={})).CONTAINED="contained",o.OUTLINED="outlined",o.BARE="bare",exports.ButtonColor=void 0,(t=exports.ButtonColor||(exports.ButtonColor={})).PRIMARY="primary",t.SECONDARY="secondary",exports.ButtonSize=void 0,(e=exports.ButtonSize||(exports.ButtonSize={})).SMALL="sm",e.MEDIUM="md",e.LARGE="lg",exports.ButtonIconPosition=void 0,(s=exports.ButtonIconPosition||(exports.ButtonIconPosition={})).LEFT="left",s.RIGHT="right",exports.ButtonPosition=void 0,(r=exports.ButtonPosition||(exports.ButtonPosition={})).LEFT="left",r.RIGHT="right",r.CENTER="center",r.STRETCH="stretch",exports.ToastTypes=void 0,(p=exports.ToastTypes||(exports.ToastTypes={})).ERROR="ERROR",p.SUCCESS="SUCCESS",exports.CalloutTypes=void 0,(n=exports.CalloutTypes||(exports.CalloutTypes={})).ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS",exports.CalenderMode=void 0,(i=exports.CalenderMode||(exports.CalenderMode={})).PWA="pwa",i.DESKTOP="desktop",exports.Theme=void 0,(exports.Theme||(exports.Theme={})).PRIMARY="PRIMARY",exports.Tabs=void 0,(a=exports.Tabs||(exports.Tabs={})).FlatTabs="FlatTab",a.CapsuleTabs="CapsuleTab",exports.BorderStyle=void 0,(T=exports.BorderStyle||(exports.BorderStyle={})).SOLID="SOLID",T.DOTTED="DOTTED",exports.IconPosition=void 0,(x=exports.IconPosition||(exports.IconPosition={})).TOP="top",x.BOTTOM="bottom",x.LEFT="left",x.RIGHT="right";exports.DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],exports.FULL_NAMES_OF_DAYS={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},exports.MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],exports.ONLY_NUMERIC=/^[0-9]+$/; | ||
//# sourceMappingURL=ct-design-constants.browser.cjs.js.map |
@@ -1,2 +0,2 @@ | ||
var n,t,R,a,T,u,o,E,S,e,i,c;!function(n){n.CONTAINED="contained",n.OUTLINED="outlined",n.BARE="bare"}(n||(n={})),function(n){n.PRIMARY="primary",n.SECONDARY="secondary"}(t||(t={})),function(n){n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg"}(R||(R={})),function(n){n.LEFT="left",n.RIGHT="right"}(a||(a={})),function(n){n.LEFT="left",n.RIGHT="right",n.CENTER="center",n.STRETCH="stretch"}(T||(T={})),function(n){n.ERROR="ERROR",n.SUCCESS="SUCCESS"}(u||(u={})),function(n){n.ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS"}(o||(o={})),function(n){n.PWA="pwa",n.DESKTOP="desktop"}(E||(E={})),function(n){n.PRIMARY="PRIMARY"}(S||(S={})),function(n){n.FlatTabs="FlatTab",n.CapsuleTabs="CapsuleTab"}(e||(e={})),function(n){n.SOLID="SOLID",n.DOTTED="DOTTED"}(i||(i={})),function(n){n.TOP="top",n.BOTTOM="bottom",n.LEFT="left",n.RIGHT="right"}(c||(c={}));var r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"};export{i as BorderStyle,t as ButtonColor,a as ButtonIconPosition,T as ButtonPosition,R as ButtonSize,n as ButtonVariant,E as CalenderMode,o as CalloutTypes,r as DAYS,f as FULL_NAMES_OF_DAYS,c as IconPosition,O as MONTHS,e as Tabs,S as Theme,u as ToastTypes}; | ||
var n,t,R,a,T,u,o,E,S,e,i,c;!function(n){n.CONTAINED="contained",n.OUTLINED="outlined",n.BARE="bare"}(n||(n={})),function(n){n.PRIMARY="primary",n.SECONDARY="secondary"}(t||(t={})),function(n){n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg"}(R||(R={})),function(n){n.LEFT="left",n.RIGHT="right"}(a||(a={})),function(n){n.LEFT="left",n.RIGHT="right",n.CENTER="center",n.STRETCH="stretch"}(T||(T={})),function(n){n.ERROR="ERROR",n.SUCCESS="SUCCESS"}(u||(u={})),function(n){n.ERROR="ERROR",n.WARNING="WARNING",n.SUCCESS="SUCCESS"}(o||(o={})),function(n){n.PWA="pwa",n.DESKTOP="desktop"}(E||(E={})),function(n){n.PRIMARY="PRIMARY"}(S||(S={})),function(n){n.FlatTabs="FlatTab",n.CapsuleTabs="CapsuleTab"}(e||(e={})),function(n){n.SOLID="SOLID",n.DOTTED="DOTTED"}(i||(i={})),function(n){n.TOP="top",n.BOTTOM="bottom",n.LEFT="left",n.RIGHT="right"}(c||(c={}));var r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f={0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},d=/^[0-9]+$/;export{i as BorderStyle,t as ButtonColor,a as ButtonIconPosition,T as ButtonPosition,R as ButtonSize,n as ButtonVariant,E as CalenderMode,o as CalloutTypes,r as DAYS,f as FULL_NAMES_OF_DAYS,c as IconPosition,O as MONTHS,d as ONLY_NUMERIC,e as Tabs,S as Theme,u as ToastTypes}; | ||
//# sourceMappingURL=ct-design-constants.browser.esm.js.map |
@@ -70,16 +70,3 @@ 'use strict'; | ||
var DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; | ||
var MONTHS = [ | ||
'Jan', | ||
'Feb', | ||
'Mar', | ||
'Apr', | ||
'May', | ||
'Jun', | ||
'Jul', | ||
'Aug', | ||
'Sep', | ||
'Oct', | ||
'Nov', | ||
'Dec' | ||
]; | ||
var MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; | ||
var FULL_NAMES_OF_DAYS = { | ||
@@ -92,4 +79,5 @@ 0: 'Sunday', | ||
5: 'Friday', | ||
6: 'Saturday' | ||
6: 'Saturday', | ||
}; | ||
var ONLY_NUMERIC = /^[0-9]+$/; | ||
@@ -99,2 +87,3 @@ exports.DAYS = DAYS; | ||
exports.MONTHS = MONTHS; | ||
exports.ONLY_NUMERIC = ONLY_NUMERIC; | ||
//# sourceMappingURL=ct-design-constants.cjs.js.map |
@@ -68,16 +68,3 @@ var ButtonVariant; | ||
var DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; | ||
var MONTHS = [ | ||
'Jan', | ||
'Feb', | ||
'Mar', | ||
'Apr', | ||
'May', | ||
'Jun', | ||
'Jul', | ||
'Aug', | ||
'Sep', | ||
'Oct', | ||
'Nov', | ||
'Dec' | ||
]; | ||
var MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; | ||
var FULL_NAMES_OF_DAYS = { | ||
@@ -90,6 +77,7 @@ 0: 'Sunday', | ||
5: 'Friday', | ||
6: 'Saturday' | ||
6: 'Saturday', | ||
}; | ||
var ONLY_NUMERIC = /^[0-9]+$/; | ||
export { BorderStyle, ButtonColor, ButtonIconPosition, ButtonPosition, ButtonSize, ButtonVariant, CalenderMode, CalloutTypes, DAYS, FULL_NAMES_OF_DAYS, IconPosition, MONTHS, Tabs, Theme, ToastTypes }; | ||
export { BorderStyle, ButtonColor, ButtonIconPosition, ButtonPosition, ButtonSize, ButtonVariant, CalenderMode, CalloutTypes, DAYS, FULL_NAMES_OF_DAYS, IconPosition, MONTHS, ONLY_NUMERIC, Tabs, Theme, ToastTypes }; | ||
//# sourceMappingURL=ct-design-constants.esm.js.map |
@@ -74,16 +74,3 @@ (function (global, factory) { | ||
var DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; | ||
var MONTHS = [ | ||
'Jan', | ||
'Feb', | ||
'Mar', | ||
'Apr', | ||
'May', | ||
'Jun', | ||
'Jul', | ||
'Aug', | ||
'Sep', | ||
'Oct', | ||
'Nov', | ||
'Dec' | ||
]; | ||
var MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; | ||
var FULL_NAMES_OF_DAYS = { | ||
@@ -96,4 +83,5 @@ 0: 'Sunday', | ||
5: 'Friday', | ||
6: 'Saturday' | ||
6: 'Saturday', | ||
}; | ||
var ONLY_NUMERIC = /^[0-9]+$/; | ||
@@ -103,4 +91,5 @@ exports.DAYS = DAYS; | ||
exports.MONTHS = MONTHS; | ||
exports.ONLY_NUMERIC = ONLY_NUMERIC; | ||
})); | ||
//# sourceMappingURL=ct-design-constants.umd.js.map |
@@ -85,2 +85,3 @@ export declare enum ButtonVariant { | ||
}; | ||
export declare const ONLY_NUMERIC: RegExp; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@cleartrip/ct-design-common-constants", | ||
"version": "1.0.1-beta", | ||
"description": "", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/ct-design-constants.cjs.js", | ||
"jsnext:main": "dist/ct-design-constants.esm.js", | ||
"module": "dist/ct-design-constants.esm.js", | ||
"sideEffects": false, | ||
"browser": { | ||
"./dist/ct-design-constants.esm.js": "./dist/ct-design-constants.browser.esm.js", | ||
"./dist/ct-design-constants.cjs.js": "./dist/ct-design-constants.browser.cjs.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build-package": "rm -rf dist && rollup -c", | ||
"publish": "pnpm publish" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"author": "Kanishk Gupta <kanishk.gupta@cleartrip.com>", | ||
"license": "ISC" | ||
"name": "@cleartrip/ct-design-common-constants", | ||
"version": "2.0.0", | ||
"description": "", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/ct-design-constants.cjs.js", | ||
"jsnext:main": "dist/ct-design-constants.esm.js", | ||
"module": "dist/ct-design-constants.esm.js", | ||
"sideEffects": false, | ||
"browser": { | ||
"./dist/ct-design-constants.esm.js": "./dist/ct-design-constants.browser.esm.js", | ||
"./dist/ct-design-constants.cjs.js": "./dist/ct-design-constants.browser.cjs.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build-package": "rm -rf dist && rollup -c", | ||
"publish": "pnpm publish" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"author": "Kanishk Gupta <kanishk.gupta@cleartrip.com>", | ||
"license": "ISC" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
185371
1
353