@veracity/vui 2.17.0-beta.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/box/box.d.ts.map +1 -1
- package/dist/cjs/button/buttonIcon.d.ts.map +1 -1
- package/dist/cjs/button/buttonText.d.ts.map +1 -1
- package/dist/cjs/button/buttons.d.ts.map +1 -1
- package/dist/cjs/core/media.d.ts.map +1 -1
- package/dist/cjs/core/vuiProvider/vuiProvider.d.ts.map +1 -1
- package/dist/cjs/icon/icon.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/notification/notification.d.ts.map +1 -1
- package/dist/cjs/notification/notificationButton.d.ts.map +1 -1
- package/dist/cjs/notification/notificationIcon.d.ts.map +1 -1
- package/dist/cjs/notification/notificationText.d.ts.map +1 -1
- package/dist/cjs/notification/notificationTitle.d.ts.map +1 -1
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.d.ts +85 -0
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.d.ts.map +1 -0
- package/dist/cjs/onedesign-tokens/dist/js/esm/rem/button.js +88 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.d.ts +85 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.d.ts.map +1 -0
- package/dist/cjs/onedesign-tokens/dist/js/rem/button.js +88 -0
- package/dist/cjs/p/p.d.ts.map +1 -1
- package/dist/cjs/portal/portal.d.ts.map +1 -1
- package/dist/cjs/step/index.d.ts +4 -0
- package/dist/cjs/step/index.d.ts.map +1 -0
- package/dist/cjs/{stepperIndicator → step}/index.js +4 -4
- package/dist/cjs/step/stepIndicator.d.ts +7 -0
- package/dist/cjs/step/stepIndicator.d.ts.map +1 -0
- package/dist/cjs/{stepperIndicator/stepperIndicator.js → step/stepIndicator.js} +6 -6
- package/dist/cjs/step/stepIndicatorTypes.d.ts +10 -0
- package/dist/cjs/step/stepIndicatorTypes.d.ts.map +1 -0
- package/dist/cjs/step/theme.d.ts.map +1 -0
- package/dist/cjs/stepperHorizontal/stepHorizontal.d.ts.map +1 -1
- package/dist/cjs/stepperHorizontal/stepHorizontal.js +2 -2
- package/dist/cjs/stepperHorizontal/stepperHorizontalTypes.d.ts +4 -4
- package/dist/cjs/stepperHorizontal/stepperHorizontalTypes.d.ts.map +1 -1
- package/dist/cjs/stepperVertical/stepVertical.js +2 -2
- package/dist/cjs/stepperVertical/stepperVerticalTypes.d.ts +4 -4
- package/dist/cjs/stepperVertical/stepperVerticalTypes.d.ts.map +1 -1
- package/dist/cjs/t/t.d.ts.map +1 -1
- package/dist/cjs/theme/components.d.ts +1 -1
- package/dist/cjs/theme/components.js +4 -4
- package/dist/cjs/theme/defaultTheme.d.ts +1 -1
- package/dist/cjs/theme/foundations/colors.js +1 -1
- package/dist/cjs/toast/useToast.d.ts.map +1 -1
- package/dist/esm/box/box.d.ts.map +1 -1
- package/dist/esm/button/buttonIcon.d.ts.map +1 -1
- package/dist/esm/button/buttonText.d.ts.map +1 -1
- package/dist/esm/button/buttons.d.ts.map +1 -1
- package/dist/esm/core/media.d.ts.map +1 -1
- package/dist/esm/core/vuiProvider/vuiProvider.d.ts.map +1 -1
- package/dist/esm/icon/icon.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/notification/notification.d.ts.map +1 -1
- package/dist/esm/notification/notificationButton.d.ts.map +1 -1
- package/dist/esm/notification/notificationIcon.d.ts.map +1 -1
- package/dist/esm/notification/notificationText.d.ts.map +1 -1
- package/dist/esm/notification/notificationTitle.d.ts.map +1 -1
- package/dist/esm/p/p.d.ts.map +1 -1
- package/dist/esm/portal/portal.d.ts.map +1 -1
- package/dist/esm/step/index.d.ts +4 -0
- package/dist/esm/step/index.d.ts.map +1 -0
- package/dist/esm/step/index.js +3 -0
- package/dist/esm/step/stepIndicator.d.ts +7 -0
- package/dist/esm/step/stepIndicator.d.ts.map +1 -0
- package/dist/esm/step/stepIndicator.js +26 -0
- package/dist/esm/step/stepIndicatorTypes.d.ts +10 -0
- package/dist/esm/step/stepIndicatorTypes.d.ts.map +1 -0
- package/dist/esm/step/theme.d.ts.map +1 -0
- package/dist/esm/stepperHorizontal/stepHorizontal.d.ts.map +1 -1
- package/dist/esm/stepperHorizontal/stepHorizontal.js +2 -2
- package/dist/esm/stepperHorizontal/stepperHorizontalTypes.d.ts +4 -4
- package/dist/esm/stepperHorizontal/stepperHorizontalTypes.d.ts.map +1 -1
- package/dist/esm/stepperVertical/stepVertical.js +2 -2
- package/dist/esm/stepperVertical/stepperVerticalTypes.d.ts +4 -4
- package/dist/esm/stepperVertical/stepperVerticalTypes.d.ts.map +1 -1
- package/dist/esm/t/t.d.ts.map +1 -1
- package/dist/esm/theme/components.d.ts +1 -1
- package/dist/esm/theme/components.js +2 -2
- package/dist/esm/theme/defaultTheme.d.ts +1 -1
- package/dist/esm/theme/foundations/colors.js +1 -1
- package/dist/esm/toast/useToast.d.ts.map +1 -1
- package/package.json +7 -8
- package/src/box/box.tsx +0 -2
- package/src/button/buttonIcon.tsx +0 -2
- package/src/button/buttonText.tsx +0 -2
- package/src/button/buttons.tsx +0 -2
- package/src/core/media.tsx +1 -1
- package/src/core/vuiProvider/vuiProvider.tsx +1 -1
- package/src/icon/icon.tsx +0 -2
- package/src/index.ts +1 -1
- package/src/notification/notification.tsx +0 -2
- package/src/notification/notificationButton.tsx +0 -2
- package/src/notification/notificationIcon.tsx +0 -2
- package/src/notification/notificationText.tsx +0 -2
- package/src/notification/notificationTitle.tsx +0 -2
- package/src/p/p.tsx +0 -2
- package/src/portal/portal.tsx +1 -1
- package/src/step/index.ts +3 -0
- package/src/{stepperIndicator/stepperIndicator.tsx → step/stepIndicator.tsx} +7 -9
- package/src/step/stepIndicatorTypes.ts +12 -0
- package/src/stepperHorizontal/stepHorizontal.tsx +2 -4
- package/src/stepperHorizontal/stepperHorizontalTypes.ts +4 -4
- package/src/stepperVertical/stepVertical.tsx +2 -2
- package/src/stepperVertical/stepperVerticalTypes.ts +4 -4
- package/src/svg/svg.tsx +1 -1
- package/src/t/t.tsx +0 -2
- package/src/theme/components.ts +2 -2
- package/src/theme/foundations/colors.ts +1 -1
- package/src/toast/useToast.tsx +1 -1
- package/.eslintrc.cjs +0 -12
- package/.turbo/turbo-build.log +0 -5
- package/.turbo/turbo-lint.log +0 -15
- package/dist/cjs/stepperIndicator/index.d.ts +0 -4
- package/dist/cjs/stepperIndicator/index.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/stepperIndicator.d.ts +0 -7
- package/dist/cjs/stepperIndicator/stepperIndicator.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/stepperIndicatorTypes.d.ts +0 -10
- package/dist/cjs/stepperIndicator/stepperIndicatorTypes.d.ts.map +0 -1
- package/dist/cjs/stepperIndicator/theme.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/index.d.ts +0 -4
- package/dist/esm/stepperIndicator/index.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/index.js +0 -3
- package/dist/esm/stepperIndicator/stepperIndicator.d.ts +0 -7
- package/dist/esm/stepperIndicator/stepperIndicator.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/stepperIndicator.js +0 -26
- package/dist/esm/stepperIndicator/stepperIndicatorTypes.d.ts +0 -10
- package/dist/esm/stepperIndicator/stepperIndicatorTypes.d.ts.map +0 -1
- package/dist/esm/stepperIndicator/theme.d.ts.map +0 -1
- package/src/stepperIndicator/index.ts +0 -3
- package/src/stepperIndicator/stepperIndicatorTypes.ts +0 -12
- package/tsconfig.json +0 -10
- package/tsconfig.legacy.json +0 -9
- /package/dist/cjs/{stepperIndicator/stepperIndicatorTypes.js → step/stepIndicatorTypes.js} +0 -0
- /package/dist/cjs/{stepperIndicator → step}/theme.d.ts +0 -0
- /package/dist/cjs/{stepperIndicator → step}/theme.js +0 -0
- /package/dist/esm/{stepperIndicator/stepperIndicatorTypes.js → step/stepIndicatorTypes.js} +0 -0
- /package/dist/esm/{stepperIndicator → step}/theme.d.ts +0 -0
- /package/dist/esm/{stepperIndicator → step}/theme.js +0 -0
- /package/src/{readme.md → README.md} +0 -0
- /package/src/{stepperIndicator → step}/theme.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/box/box.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/box/box.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,eAAO,MAAM,OAAO,+HAInB,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,GAAG,iDAiCd,CAAA;AAGF,eAAe,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonIcon.d.ts","sourceRoot":"","sources":["../../../src/button/buttonIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonIcon.d.ts","sourceRoot":"","sources":["../../../src/button/buttonIcon.tsx"],"names":[],"mappings":"AACA,OAAa,EAAY,SAAS,EAAE,MAAM,SAAS,CAAA;AAMnD,0CAA0C;AAC1C,eAAO,MAAM,UAAU,kDAMrB,CAAA;AAGF,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonText.d.ts","sourceRoot":"","sources":["../../../src/button/buttonText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttonText.d.ts","sourceRoot":"","sources":["../../../src/button/buttonText.tsx"],"names":[],"mappings":"AACA,OAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,6CAA6C;AAC7C,eAAO,MAAM,UAAU,gDAKrB,CAAA;AAIF,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../src/button/buttons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../src/button/buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE7D,eAAO,MAAM,SAAS,uDAEpB,CAAA;AAEF,eAAO,MAAM,UAAU,2DAErB,CAAA;AAEF,eAAO,MAAM,WAAW,2DAEtB,CAAA;AAEF,eAAO,MAAM,SAAS,uDAEpB,CAAA;AAEF,eAAO,MAAM,YAAY,uDAEvB,CAAA;AAEF,eAAO,MAAM,UAAU,2DAErB,CAAA;AAEF,eAAO,MAAM,UAAU,uDAErB,CAAA;AAEF,eAAO,MAAM,UAAU,uDAErB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/core/media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/core/media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;AAEjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,gFAAgF;AAChF,eAAO,MAAM,YAAY,aAAc,WAAW,YAAY,WAAW,aAAa,YAAY,OAAO,CAAC,WACN,CAAA;AAEpG,gEAAgE;AAChE,eAAO,MAAM,SAAS,UAAW,WAAW,aAAa,YAAY,OAAO,CAAC,WAE5E,CAAA;AAED,iEAAiE;AACjE,eAAO,MAAM,OAAO,UAAW,WAAW,aAAa,YAAY,OAAO,CAAC,WACzB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,GAAG,YAAY,CAejE,CAAA;AAyBD,6EAA6E;AAC7E,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,WAIzC;AAED,wFAAwF;AACxF,wBAAgB,KAAK,CAAC,KAAK,EAAE,WAAW,WAIvC;AAED,qFAAqF;AACrF,wBAAgB,UAAU,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,WAKtE;AAED,wCAAwC;AACxC,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vuiProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/vuiProvider.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"vuiProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/vuiProvider/vuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAc,MAAM,OAAO,CAAA;AAKtC,OAAqB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAOvC,KAAK,gBAAgB,GAAG;IACtB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wDAAwD;IACxD,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,oGAAoG;AACpG,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,GAAG,YAAY,CAgCpD,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/icon/icon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,4FAA4F;AAC5F,eAAO,MAAM,IAAI,kDAgCf,CAAA;AAGF,eAAe,IAAI,CAAA"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export * from './radio';
|
|
|
43
43
|
export * from './select';
|
|
44
44
|
export * from './sidemenu';
|
|
45
45
|
export * from './skeleton';
|
|
46
|
-
export * from './
|
|
46
|
+
export * from './step';
|
|
47
47
|
export * from './stepperHorizontal';
|
|
48
48
|
export * from './stepperVertical';
|
|
49
49
|
export * from './spinner';
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,KAAK,CAAA;AACnB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,KAAK,CAAA;AACnB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,KAAK,CAAA;AACnB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,OAAO,CAAA;AACrB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -59,7 +59,7 @@ __exportStar(require("./radio"), exports);
|
|
|
59
59
|
__exportStar(require("./select"), exports);
|
|
60
60
|
__exportStar(require("./sidemenu"), exports);
|
|
61
61
|
__exportStar(require("./skeleton"), exports);
|
|
62
|
-
__exportStar(require("./
|
|
62
|
+
__exportStar(require("./step"), exports);
|
|
63
63
|
__exportStar(require("./stepperHorizontal"), exports);
|
|
64
64
|
__exportStar(require("./stepperVertical"), exports);
|
|
65
65
|
__exportStar(require("./spinner"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/notification/notification.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/notification/notification.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAEnD;;;GAGG;AACH,eAAO,MAAM,YAAY;YAgEf,yBAAyB;UAC3B,uBAAuB;UACvB,uBAAuB;WACtB,wBAAwB;CAChC,CAAA;AAQD,eAAe,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationButton.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationButton.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationButton.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAM/C,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,uDAsB7B,CAAA;AAGF,eAAe,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationIcon.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationIcon.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationIcon.tsx"],"names":[],"mappings":"AACA,OAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAKzC,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,kDAuB3B,CAAA;AAIF,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationText.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationText.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationText.tsx"],"names":[],"mappings":"AACA,OAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,6CAA6C;AAC7C,eAAO,MAAM,gBAAgB,6CAiB3B,CAAA;AAGF,eAAe,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationTitle.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationTitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notificationTitle.d.ts","sourceRoot":"","sources":["../../../src/notification/notificationTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAK,MAAM,EAAE,MAAM,MAAM,CAAA;AAIhC,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,gDAO5B,CAAA;AAGF,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 17 Feb 2022 11:35:15 GMT
|
|
4
|
+
*/
|
|
5
|
+
export const buttonSizeLargeFontSize: "1.125rem";
|
|
6
|
+
export const buttonSizeLargeLineHeight: "1.75rem";
|
|
7
|
+
export const buttonSizeLargePadding: "0.5rem 1rem";
|
|
8
|
+
export const buttonSizeMediumFontSize: "1rem";
|
|
9
|
+
export const buttonSizeMediumLineHeight: "1.5rem";
|
|
10
|
+
export const buttonSizeMediumPadding: "0.25rem calc(0.25rem * 3)";
|
|
11
|
+
export const buttonSizeSmallFontSize: "0.875rem";
|
|
12
|
+
export const buttonSizeSmallLineHeight: "1.25rem";
|
|
13
|
+
export const buttonSizeSmallPadding: "calc(0.25rem / 2) 0.5rem";
|
|
14
|
+
export const buttonSizeDefaultFontSize: "1rem";
|
|
15
|
+
export const buttonSizeDefaultLineHeight: "1.5rem";
|
|
16
|
+
export const buttonSizeDefaultPadding: "0.25rem calc(0.25rem * 3)";
|
|
17
|
+
export const buttonTypePrimaryDefaultBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
18
|
+
export const buttonTypePrimaryDefaultBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
19
|
+
export const buttonTypePrimaryDefaultBackgroundColorDark: "hsla(218, 100%, 28%, 1)";
|
|
20
|
+
export const buttonTypePrimaryDefaultBackgroundColorLight: "hsla(139, 100%, 78%, 1)";
|
|
21
|
+
export const buttonTypePrimaryDefaultTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
22
|
+
export const buttonTypePrimaryDefaultTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
23
|
+
export const buttonTypePrimaryHoverBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
24
|
+
export const buttonTypePrimaryHoverBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
25
|
+
export const buttonTypePrimaryHoverBackgroundColorDark: "hsla(218, 100%, 20%, 1)";
|
|
26
|
+
export const buttonTypePrimaryHoverBackgroundColorLight: "hsla(139, 100%, 70%, 1)";
|
|
27
|
+
export const buttonTypePrimaryHoverTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
28
|
+
export const buttonTypePrimaryHoverTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
29
|
+
export const buttonTypePrimaryActiveBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
30
|
+
export const buttonTypePrimaryActiveBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
31
|
+
export const buttonTypePrimaryActiveBackgroundColorDark: "hsla(218, 100%, 35%, 1)";
|
|
32
|
+
export const buttonTypePrimaryActiveBackgroundColorLight: "hsla(139, 100%, 85%, 1)";
|
|
33
|
+
export const buttonTypePrimaryActiveTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
34
|
+
export const buttonTypePrimaryActiveTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
35
|
+
export const buttonTypePrimaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
36
|
+
export const buttonTypeSecondaryDefaultBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
37
|
+
export const buttonTypeSecondaryDefaultBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
38
|
+
export const buttonTypeSecondaryDefaultBackgroundColorDark: "hsla(0, 0%, 0%, 0)";
|
|
39
|
+
export const buttonTypeSecondaryDefaultBackgroundColorLight: "hsla(0, 0%, 0%, 0)";
|
|
40
|
+
export const buttonTypeSecondaryDefaultTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
41
|
+
export const buttonTypeSecondaryDefaultTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
42
|
+
export const buttonTypeSecondaryHoverBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
43
|
+
export const buttonTypeSecondaryHoverBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
44
|
+
export const buttonTypeSecondaryHoverBackgroundColorDark: "hsla(196, 74%, 90%, 1)";
|
|
45
|
+
export const buttonTypeSecondaryHoverBackgroundColorLight: "hsla(218, 100%, 25%, 1)";
|
|
46
|
+
export const buttonTypeSecondaryHoverTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
47
|
+
export const buttonTypeSecondaryHoverTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
48
|
+
export const buttonTypeSecondaryActiveBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
49
|
+
export const buttonTypeSecondaryActiveBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
50
|
+
export const buttonTypeSecondaryActiveBackgroundColorDark: "hsla(196, 74%, 95%, 1)";
|
|
51
|
+
export const buttonTypeSecondaryActiveBackgroundColorLight: "hsla(218, 100%, 35%, 1)";
|
|
52
|
+
export const buttonTypeSecondaryActiveTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
53
|
+
export const buttonTypeSecondaryActiveTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
54
|
+
export const buttonTypeSecondaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
55
|
+
export const buttonTypeTertiaryDefaultBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
56
|
+
export const buttonTypeTertiaryDefaultBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
57
|
+
export const buttonTypeTertiaryDefaultBackgroundColorDark: "hsla(0, 0%, 0%, 0)";
|
|
58
|
+
export const buttonTypeTertiaryDefaultBackgroundColorLight: "hsla(0, 0%, 0%, 0)";
|
|
59
|
+
export const buttonTypeTertiaryDefaultTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
60
|
+
export const buttonTypeTertiaryDefaultTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
61
|
+
export const buttonTypeTertiaryHoverBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
62
|
+
export const buttonTypeTertiaryHoverBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
63
|
+
export const buttonTypeTertiaryHoverBackgroundColorDark: "hsla(196, 74%, 90%, 1)";
|
|
64
|
+
export const buttonTypeTertiaryHoverBackgroundColorLight: "hsla(218, 100%, 25%, 1)";
|
|
65
|
+
export const buttonTypeTertiaryHoverTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
66
|
+
export const buttonTypeTertiaryHoverTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
67
|
+
export const buttonTypeTertiaryActiveBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
68
|
+
export const buttonTypeTertiaryActiveBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
69
|
+
export const buttonTypeTertiaryActiveBackgroundColorDark: "hsla(196, 74%, 95%, 1)";
|
|
70
|
+
export const buttonTypeTertiaryActiveBackgroundColorLight: "hsla(218, 100%, 35%, 1)";
|
|
71
|
+
export const buttonTypeTertiaryActiveTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
72
|
+
export const buttonTypeTertiaryActiveTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
73
|
+
export const buttonTypeTertiaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
74
|
+
export const buttonDisabledCursor: "default";
|
|
75
|
+
export const buttonDisabledOpacity: "50%";
|
|
76
|
+
export const buttonBorderStyle: "solid";
|
|
77
|
+
export const buttonBorderWidth: "calc(0.125rem / 2)";
|
|
78
|
+
export const buttonFontFamily: "'Avenir Next', Arial, sans-serif";
|
|
79
|
+
export const buttonFontSize: "1rem";
|
|
80
|
+
export const buttonLineHeight: "1.5rem";
|
|
81
|
+
export const buttonFontWeight: "500";
|
|
82
|
+
export const buttonPadding: "calc(0.25rem * 1.5) calc(0.25rem * 3)";
|
|
83
|
+
export const buttonTransition: "all 0.15s ease-in-out";
|
|
84
|
+
export const buttonCursor: "pointer";
|
|
85
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../../src/onedesign-tokens/dist/js/esm/rem/button.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,iDAAkD;AAClD,kDAAmD;AACnD,mDAAoD;AACpD,8CAA+C;AAC/C,kDAAmD;AACnD,kEAAmE;AACnE,iDAAkD;AAClD,kDAAmD;AACnD,gEAAiE;AACjE,+CAAgD;AAChD,mDAAoD;AACpD,mEAAoE;AACpE,2EAA4E;AAC5E,4EAA6E;AAC7E,oFAAqF;AACrF,qFAAsF;AACtF,4EAA6E;AAC7E,8EAA+E;AAC/E,yEAA0E;AAC1E,0EAA2E;AAC3E,kFAAmF;AACnF,mFAAoF;AACpF,0EAA2E;AAC3E,4EAA6E;AAC7E,0EAA2E;AAC3E,2EAA4E;AAC5E,mFAAoF;AACpF,oFAAqF;AACrF,2EAA4E;AAC5E,6EAA8E;AAC9E,oFAAqF;AACrF,kFAAmF;AACnF,mFAAoF;AACpF,iFAAkF;AAClF,kFAAmF;AACnF,gFAAiF;AACjF,iFAAkF;AAClF,gFAAiF;AACjF,iFAAkF;AAClF,mFAAoF;AACpF,qFAAsF;AACtF,8EAA+E;AAC/E,+EAAgF;AAChF,iFAAkF;AAClF,kFAAmF;AACnF,oFAAqF;AACrF,sFAAuF;AACvF,+EAAgF;AAChF,gFAAiF;AACjF,sFAAuF;AACvF,4EAA6E;AAC7E,6EAA8E;AAC9E,gFAAiF;AACjF,iFAAkF;AAClF,+EAAgF;AAChF,gFAAiF;AACjF,0EAA2E;AAC3E,2EAA4E;AAC5E,kFAAmF;AACnF,oFAAqF;AACrF,6EAA8E;AAC9E,8EAA+E;AAC/E,2EAA4E;AAC5E,4EAA6E;AAC7E,mFAAoF;AACpF,qFAAsF;AACtF,8EAA+E;AAC/E,+EAAgF;AAChF,qFAAsF;AACtF,6CAA8C;AAC9C,0CAA2C;AAC3C,wCAAyC;AACzC,qDAAsD;AACtD,kEAAmE;AACnE,oCAAqC;AACrC,wCAAyC;AACzC,qCAAsC;AACtC,oEAAqE;AACrE,uDAAwD;AACxD,qCAAsC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 17 Feb 2022 11:35:15 GMT
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.buttonTypeSecondaryFocusOutline = exports.buttonTypeSecondaryActiveTextColorLight = exports.buttonTypeSecondaryActiveTextColorDark = exports.buttonTypeSecondaryActiveBackgroundColorLight = exports.buttonTypeSecondaryActiveBackgroundColorDark = exports.buttonTypeSecondaryActiveBorderColorLight = exports.buttonTypeSecondaryActiveBorderColorDark = exports.buttonTypeSecondaryHoverTextColorLight = exports.buttonTypeSecondaryHoverTextColorDark = exports.buttonTypeSecondaryHoverBackgroundColorLight = exports.buttonTypeSecondaryHoverBackgroundColorDark = exports.buttonTypeSecondaryHoverBorderColorLight = exports.buttonTypeSecondaryHoverBorderColorDark = exports.buttonTypeSecondaryDefaultTextColorLight = exports.buttonTypeSecondaryDefaultTextColorDark = exports.buttonTypeSecondaryDefaultBackgroundColorLight = exports.buttonTypeSecondaryDefaultBackgroundColorDark = exports.buttonTypeSecondaryDefaultBorderColorLight = exports.buttonTypeSecondaryDefaultBorderColorDark = exports.buttonTypePrimaryFocusOutline = exports.buttonTypePrimaryActiveTextColorLight = exports.buttonTypePrimaryActiveTextColorDark = exports.buttonTypePrimaryActiveBackgroundColorLight = exports.buttonTypePrimaryActiveBackgroundColorDark = exports.buttonTypePrimaryActiveBorderColorLight = exports.buttonTypePrimaryActiveBorderColorDark = exports.buttonTypePrimaryHoverTextColorLight = exports.buttonTypePrimaryHoverTextColorDark = exports.buttonTypePrimaryHoverBackgroundColorLight = exports.buttonTypePrimaryHoverBackgroundColorDark = exports.buttonTypePrimaryHoverBorderColorLight = exports.buttonTypePrimaryHoverBorderColorDark = exports.buttonTypePrimaryDefaultTextColorLight = exports.buttonTypePrimaryDefaultTextColorDark = exports.buttonTypePrimaryDefaultBackgroundColorLight = exports.buttonTypePrimaryDefaultBackgroundColorDark = exports.buttonTypePrimaryDefaultBorderColorLight = exports.buttonTypePrimaryDefaultBorderColorDark = exports.buttonSizeDefaultPadding = exports.buttonSizeDefaultLineHeight = exports.buttonSizeDefaultFontSize = exports.buttonSizeSmallPadding = exports.buttonSizeSmallLineHeight = exports.buttonSizeSmallFontSize = exports.buttonSizeMediumPadding = exports.buttonSizeMediumLineHeight = exports.buttonSizeMediumFontSize = exports.buttonSizeLargePadding = exports.buttonSizeLargeLineHeight = exports.buttonSizeLargeFontSize = void 0;
|
|
8
|
+
exports.buttonCursor = exports.buttonTransition = exports.buttonPadding = exports.buttonFontWeight = exports.buttonLineHeight = exports.buttonFontSize = exports.buttonFontFamily = exports.buttonBorderWidth = exports.buttonBorderStyle = exports.buttonDisabledOpacity = exports.buttonDisabledCursor = exports.buttonTypeTertiaryFocusOutline = exports.buttonTypeTertiaryActiveTextColorLight = exports.buttonTypeTertiaryActiveTextColorDark = exports.buttonTypeTertiaryActiveBackgroundColorLight = exports.buttonTypeTertiaryActiveBackgroundColorDark = exports.buttonTypeTertiaryActiveBorderColorLight = exports.buttonTypeTertiaryActiveBorderColorDark = exports.buttonTypeTertiaryHoverTextColorLight = exports.buttonTypeTertiaryHoverTextColorDark = exports.buttonTypeTertiaryHoverBackgroundColorLight = exports.buttonTypeTertiaryHoverBackgroundColorDark = exports.buttonTypeTertiaryHoverBorderColorLight = exports.buttonTypeTertiaryHoverBorderColorDark = exports.buttonTypeTertiaryDefaultTextColorLight = exports.buttonTypeTertiaryDefaultTextColorDark = exports.buttonTypeTertiaryDefaultBackgroundColorLight = exports.buttonTypeTertiaryDefaultBackgroundColorDark = exports.buttonTypeTertiaryDefaultBorderColorLight = exports.buttonTypeTertiaryDefaultBorderColorDark = void 0;
|
|
9
|
+
exports.buttonSizeLargeFontSize = "1.125rem";
|
|
10
|
+
exports.buttonSizeLargeLineHeight = "1.75rem";
|
|
11
|
+
exports.buttonSizeLargePadding = "0.5rem 1rem";
|
|
12
|
+
exports.buttonSizeMediumFontSize = "1rem";
|
|
13
|
+
exports.buttonSizeMediumLineHeight = "1.5rem";
|
|
14
|
+
exports.buttonSizeMediumPadding = "0.25rem calc(0.25rem * 3)";
|
|
15
|
+
exports.buttonSizeSmallFontSize = "0.875rem";
|
|
16
|
+
exports.buttonSizeSmallLineHeight = "1.25rem";
|
|
17
|
+
exports.buttonSizeSmallPadding = "calc(0.25rem / 2) 0.5rem";
|
|
18
|
+
exports.buttonSizeDefaultFontSize = "1rem";
|
|
19
|
+
exports.buttonSizeDefaultLineHeight = "1.5rem";
|
|
20
|
+
exports.buttonSizeDefaultPadding = "0.25rem calc(0.25rem * 3)";
|
|
21
|
+
exports.buttonTypePrimaryDefaultBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
22
|
+
exports.buttonTypePrimaryDefaultBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
23
|
+
exports.buttonTypePrimaryDefaultBackgroundColorDark = "hsla(218, 100%, 28%, 1)";
|
|
24
|
+
exports.buttonTypePrimaryDefaultBackgroundColorLight = "hsla(139, 100%, 78%, 1)";
|
|
25
|
+
exports.buttonTypePrimaryDefaultTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
26
|
+
exports.buttonTypePrimaryDefaultTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
27
|
+
exports.buttonTypePrimaryHoverBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
28
|
+
exports.buttonTypePrimaryHoverBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
29
|
+
exports.buttonTypePrimaryHoverBackgroundColorDark = "hsla(218, 100%, 20%, 1)";
|
|
30
|
+
exports.buttonTypePrimaryHoverBackgroundColorLight = "hsla(139, 100%, 70%, 1)";
|
|
31
|
+
exports.buttonTypePrimaryHoverTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
32
|
+
exports.buttonTypePrimaryHoverTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
33
|
+
exports.buttonTypePrimaryActiveBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
34
|
+
exports.buttonTypePrimaryActiveBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
35
|
+
exports.buttonTypePrimaryActiveBackgroundColorDark = "hsla(218, 100%, 35%, 1)";
|
|
36
|
+
exports.buttonTypePrimaryActiveBackgroundColorLight = "hsla(139, 100%, 85%, 1)";
|
|
37
|
+
exports.buttonTypePrimaryActiveTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
38
|
+
exports.buttonTypePrimaryActiveTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
39
|
+
exports.buttonTypePrimaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
40
|
+
exports.buttonTypeSecondaryDefaultBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
41
|
+
exports.buttonTypeSecondaryDefaultBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
42
|
+
exports.buttonTypeSecondaryDefaultBackgroundColorDark = "hsla(0, 0%, 0%, 0)";
|
|
43
|
+
exports.buttonTypeSecondaryDefaultBackgroundColorLight = "hsla(0, 0%, 0%, 0)";
|
|
44
|
+
exports.buttonTypeSecondaryDefaultTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
45
|
+
exports.buttonTypeSecondaryDefaultTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
46
|
+
exports.buttonTypeSecondaryHoverBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
47
|
+
exports.buttonTypeSecondaryHoverBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
48
|
+
exports.buttonTypeSecondaryHoverBackgroundColorDark = "hsla(196, 74%, 90%, 1)";
|
|
49
|
+
exports.buttonTypeSecondaryHoverBackgroundColorLight = "hsla(218, 100%, 25%, 1)";
|
|
50
|
+
exports.buttonTypeSecondaryHoverTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
51
|
+
exports.buttonTypeSecondaryHoverTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
52
|
+
exports.buttonTypeSecondaryActiveBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
53
|
+
exports.buttonTypeSecondaryActiveBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
54
|
+
exports.buttonTypeSecondaryActiveBackgroundColorDark = "hsla(196, 74%, 95%, 1)";
|
|
55
|
+
exports.buttonTypeSecondaryActiveBackgroundColorLight = "hsla(218, 100%, 35%, 1)";
|
|
56
|
+
exports.buttonTypeSecondaryActiveTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
57
|
+
exports.buttonTypeSecondaryActiveTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
58
|
+
exports.buttonTypeSecondaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
59
|
+
exports.buttonTypeTertiaryDefaultBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
60
|
+
exports.buttonTypeTertiaryDefaultBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
61
|
+
exports.buttonTypeTertiaryDefaultBackgroundColorDark = "hsla(0, 0%, 0%, 0)";
|
|
62
|
+
exports.buttonTypeTertiaryDefaultBackgroundColorLight = "hsla(0, 0%, 0%, 0)";
|
|
63
|
+
exports.buttonTypeTertiaryDefaultTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
64
|
+
exports.buttonTypeTertiaryDefaultTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
65
|
+
exports.buttonTypeTertiaryHoverBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
66
|
+
exports.buttonTypeTertiaryHoverBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
67
|
+
exports.buttonTypeTertiaryHoverBackgroundColorDark = "hsla(196, 74%, 90%, 1)";
|
|
68
|
+
exports.buttonTypeTertiaryHoverBackgroundColorLight = "hsla(218, 100%, 25%, 1)";
|
|
69
|
+
exports.buttonTypeTertiaryHoverTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
70
|
+
exports.buttonTypeTertiaryHoverTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
71
|
+
exports.buttonTypeTertiaryActiveBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
72
|
+
exports.buttonTypeTertiaryActiveBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
73
|
+
exports.buttonTypeTertiaryActiveBackgroundColorDark = "hsla(196, 74%, 95%, 1)";
|
|
74
|
+
exports.buttonTypeTertiaryActiveBackgroundColorLight = "hsla(218, 100%, 35%, 1)";
|
|
75
|
+
exports.buttonTypeTertiaryActiveTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
76
|
+
exports.buttonTypeTertiaryActiveTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
77
|
+
exports.buttonTypeTertiaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
78
|
+
exports.buttonDisabledCursor = "default";
|
|
79
|
+
exports.buttonDisabledOpacity = "50%";
|
|
80
|
+
exports.buttonBorderStyle = "solid";
|
|
81
|
+
exports.buttonBorderWidth = "calc(0.125rem / 2)";
|
|
82
|
+
exports.buttonFontFamily = "'Avenir Next', Arial, sans-serif";
|
|
83
|
+
exports.buttonFontSize = "1rem";
|
|
84
|
+
exports.buttonLineHeight = "1.5rem";
|
|
85
|
+
exports.buttonFontWeight = "500";
|
|
86
|
+
exports.buttonPadding = "calc(0.25rem * 1.5) calc(0.25rem * 3)";
|
|
87
|
+
exports.buttonTransition = "all 0.15s ease-in-out";
|
|
88
|
+
exports.buttonCursor = "pointer";
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Wed, 22 Mar 2023 12:31:05 GMT
|
|
4
|
+
*/
|
|
5
|
+
export const buttonSizeLargeFontSize: "1.125rem";
|
|
6
|
+
export const buttonSizeLargeLineHeight: "1.75rem";
|
|
7
|
+
export const buttonSizeLargePadding: "0.5rem 1rem";
|
|
8
|
+
export const buttonSizeMediumFontSize: "1rem";
|
|
9
|
+
export const buttonSizeMediumLineHeight: "1.5rem";
|
|
10
|
+
export const buttonSizeMediumPadding: "0.25rem calc(0.25rem * 3)";
|
|
11
|
+
export const buttonSizeSmallFontSize: "0.875rem";
|
|
12
|
+
export const buttonSizeSmallLineHeight: "1.25rem";
|
|
13
|
+
export const buttonSizeSmallPadding: "calc(0.25rem / 2) 0.5rem";
|
|
14
|
+
export const buttonSizeDefaultFontSize: "1rem";
|
|
15
|
+
export const buttonSizeDefaultLineHeight: "1.5rem";
|
|
16
|
+
export const buttonSizeDefaultPadding: "0.25rem calc(0.25rem * 3)";
|
|
17
|
+
export const buttonTypePrimaryDefaultBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
18
|
+
export const buttonTypePrimaryDefaultBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
19
|
+
export const buttonTypePrimaryDefaultBackgroundColorDark: "hsla(218, 100%, 28%, 1)";
|
|
20
|
+
export const buttonTypePrimaryDefaultBackgroundColorLight: "hsla(139, 100%, 78%, 1)";
|
|
21
|
+
export const buttonTypePrimaryDefaultTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
22
|
+
export const buttonTypePrimaryDefaultTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
23
|
+
export const buttonTypePrimaryHoverBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
24
|
+
export const buttonTypePrimaryHoverBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
25
|
+
export const buttonTypePrimaryHoverBackgroundColorDark: "hsla(218, 100%, 20%, 1)";
|
|
26
|
+
export const buttonTypePrimaryHoverBackgroundColorLight: "hsla(139, 100%, 70%, 1)";
|
|
27
|
+
export const buttonTypePrimaryHoverTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
28
|
+
export const buttonTypePrimaryHoverTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
29
|
+
export const buttonTypePrimaryActiveBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
30
|
+
export const buttonTypePrimaryActiveBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
31
|
+
export const buttonTypePrimaryActiveBackgroundColorDark: "hsla(218, 100%, 35%, 1)";
|
|
32
|
+
export const buttonTypePrimaryActiveBackgroundColorLight: "hsla(139, 100%, 85%, 1)";
|
|
33
|
+
export const buttonTypePrimaryActiveTextColorDark: "hsla(40, 3%, 100%, 1)";
|
|
34
|
+
export const buttonTypePrimaryActiveTextColorLight: "hsla(223, 67%, 18%, 1)";
|
|
35
|
+
export const buttonTypePrimaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
36
|
+
export const buttonTypeSecondaryDefaultBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
37
|
+
export const buttonTypeSecondaryDefaultBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
38
|
+
export const buttonTypeSecondaryDefaultBackgroundColorDark: "hsla(0, 0%, 0%, 0)";
|
|
39
|
+
export const buttonTypeSecondaryDefaultBackgroundColorLight: "hsla(0, 0%, 0%, 0)";
|
|
40
|
+
export const buttonTypeSecondaryDefaultTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
41
|
+
export const buttonTypeSecondaryDefaultTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
42
|
+
export const buttonTypeSecondaryHoverBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
43
|
+
export const buttonTypeSecondaryHoverBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
44
|
+
export const buttonTypeSecondaryHoverBackgroundColorDark: "hsla(196, 74%, 80%, 1)";
|
|
45
|
+
export const buttonTypeSecondaryHoverBackgroundColorLight: "hsla(218, 100%, 25%, 1)";
|
|
46
|
+
export const buttonTypeSecondaryHoverTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
47
|
+
export const buttonTypeSecondaryHoverTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
48
|
+
export const buttonTypeSecondaryActiveBorderColorDark: "hsla(218, 100%, 28%, 1)";
|
|
49
|
+
export const buttonTypeSecondaryActiveBorderColorLight: "hsla(139, 100%, 78%, 1)";
|
|
50
|
+
export const buttonTypeSecondaryActiveBackgroundColorDark: "hsla(196, 74%, 85%, 1)";
|
|
51
|
+
export const buttonTypeSecondaryActiveBackgroundColorLight: "hsla(218, 100%, 35%, 1)";
|
|
52
|
+
export const buttonTypeSecondaryActiveTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
53
|
+
export const buttonTypeSecondaryActiveTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
54
|
+
export const buttonTypeSecondaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
55
|
+
export const buttonTypeTertiaryDefaultBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
56
|
+
export const buttonTypeTertiaryDefaultBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
57
|
+
export const buttonTypeTertiaryDefaultBackgroundColorDark: "hsla(0, 0%, 0%, 0)";
|
|
58
|
+
export const buttonTypeTertiaryDefaultBackgroundColorLight: "hsla(0, 0%, 0%, 0)";
|
|
59
|
+
export const buttonTypeTertiaryDefaultTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
60
|
+
export const buttonTypeTertiaryDefaultTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
61
|
+
export const buttonTypeTertiaryHoverBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
62
|
+
export const buttonTypeTertiaryHoverBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
63
|
+
export const buttonTypeTertiaryHoverBackgroundColorDark: "hsla(196, 74%, 80%, 1)";
|
|
64
|
+
export const buttonTypeTertiaryHoverBackgroundColorLight: "hsla(218, 100%, 25%, 1)";
|
|
65
|
+
export const buttonTypeTertiaryHoverTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
66
|
+
export const buttonTypeTertiaryHoverTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
67
|
+
export const buttonTypeTertiaryActiveBorderColorDark: "hsla(0, 0%, 0%, 0)";
|
|
68
|
+
export const buttonTypeTertiaryActiveBorderColorLight: "hsla(0, 0%, 0%, 0)";
|
|
69
|
+
export const buttonTypeTertiaryActiveBackgroundColorDark: "hsla(196, 74%, 85%, 1)";
|
|
70
|
+
export const buttonTypeTertiaryActiveBackgroundColorLight: "hsla(218, 100%, 35%, 1)";
|
|
71
|
+
export const buttonTypeTertiaryActiveTextColorDark: "hsla(218, 100%, 28%, 1)";
|
|
72
|
+
export const buttonTypeTertiaryActiveTextColorLight: "hsla(139, 100%, 78%, 1)";
|
|
73
|
+
export const buttonTypeTertiaryFocusOutline: "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
74
|
+
export const buttonDisabledCursor: "default";
|
|
75
|
+
export const buttonDisabledOpacity: "0.5";
|
|
76
|
+
export const buttonBorderStyle: "solid";
|
|
77
|
+
export const buttonBorderWidth: "calc(0.125rem / 2)";
|
|
78
|
+
export const buttonFontFamily: "'Avenir Next', Arial, sans-serif";
|
|
79
|
+
export const buttonFontSize: "1rem";
|
|
80
|
+
export const buttonLineHeight: "1.5rem";
|
|
81
|
+
export const buttonFontWeight: "500";
|
|
82
|
+
export const buttonPadding: "calc(0.25rem * 1.5) calc(0.25rem * 3)";
|
|
83
|
+
export const buttonTransition: "all 0.15s ease-in-out";
|
|
84
|
+
export const buttonCursor: "pointer";
|
|
85
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../src/onedesign-tokens/dist/js/rem/button.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,iDAAkD;AAClD,kDAAmD;AACnD,mDAAoD;AACpD,8CAA+C;AAC/C,kDAAmD;AACnD,kEAAmE;AACnE,iDAAkD;AAClD,kDAAmD;AACnD,gEAAiE;AACjE,+CAAgD;AAChD,mDAAoD;AACpD,mEAAoE;AACpE,2EAA4E;AAC5E,4EAA6E;AAC7E,oFAAqF;AACrF,qFAAsF;AACtF,4EAA6E;AAC7E,8EAA+E;AAC/E,yEAA0E;AAC1E,0EAA2E;AAC3E,kFAAmF;AACnF,mFAAoF;AACpF,0EAA2E;AAC3E,4EAA6E;AAC7E,0EAA2E;AAC3E,2EAA4E;AAC5E,mFAAoF;AACpF,oFAAqF;AACrF,2EAA4E;AAC5E,6EAA8E;AAC9E,oFAAqF;AACrF,kFAAmF;AACnF,mFAAoF;AACpF,iFAAkF;AAClF,kFAAmF;AACnF,gFAAiF;AACjF,iFAAkF;AAClF,gFAAiF;AACjF,iFAAkF;AAClF,mFAAoF;AACpF,qFAAsF;AACtF,8EAA+E;AAC/E,+EAAgF;AAChF,iFAAkF;AAClF,kFAAmF;AACnF,oFAAqF;AACrF,sFAAuF;AACvF,+EAAgF;AAChF,gFAAiF;AACjF,sFAAuF;AACvF,4EAA6E;AAC7E,6EAA8E;AAC9E,gFAAiF;AACjF,iFAAkF;AAClF,+EAAgF;AAChF,gFAAiF;AACjF,0EAA2E;AAC3E,2EAA4E;AAC5E,kFAAmF;AACnF,oFAAqF;AACrF,6EAA8E;AAC9E,8EAA+E;AAC/E,2EAA4E;AAC5E,4EAA6E;AAC7E,mFAAoF;AACpF,qFAAsF;AACtF,8EAA+E;AAC/E,+EAAgF;AAChF,qFAAsF;AACtF,6CAA8C;AAC9C,0CAA2C;AAC3C,wCAAyC;AACzC,qDAAsD;AACtD,kEAAmE;AACnE,oCAAqC;AACrC,wCAAyC;AACzC,qCAAsC;AACtC,oEAAqE;AACrE,uDAAwD;AACxD,qCAAsC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Wed, 22 Mar 2023 12:31:05 GMT
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.buttonTypeSecondaryFocusOutline = exports.buttonTypeSecondaryActiveTextColorLight = exports.buttonTypeSecondaryActiveTextColorDark = exports.buttonTypeSecondaryActiveBackgroundColorLight = exports.buttonTypeSecondaryActiveBackgroundColorDark = exports.buttonTypeSecondaryActiveBorderColorLight = exports.buttonTypeSecondaryActiveBorderColorDark = exports.buttonTypeSecondaryHoverTextColorLight = exports.buttonTypeSecondaryHoverTextColorDark = exports.buttonTypeSecondaryHoverBackgroundColorLight = exports.buttonTypeSecondaryHoverBackgroundColorDark = exports.buttonTypeSecondaryHoverBorderColorLight = exports.buttonTypeSecondaryHoverBorderColorDark = exports.buttonTypeSecondaryDefaultTextColorLight = exports.buttonTypeSecondaryDefaultTextColorDark = exports.buttonTypeSecondaryDefaultBackgroundColorLight = exports.buttonTypeSecondaryDefaultBackgroundColorDark = exports.buttonTypeSecondaryDefaultBorderColorLight = exports.buttonTypeSecondaryDefaultBorderColorDark = exports.buttonTypePrimaryFocusOutline = exports.buttonTypePrimaryActiveTextColorLight = exports.buttonTypePrimaryActiveTextColorDark = exports.buttonTypePrimaryActiveBackgroundColorLight = exports.buttonTypePrimaryActiveBackgroundColorDark = exports.buttonTypePrimaryActiveBorderColorLight = exports.buttonTypePrimaryActiveBorderColorDark = exports.buttonTypePrimaryHoverTextColorLight = exports.buttonTypePrimaryHoverTextColorDark = exports.buttonTypePrimaryHoverBackgroundColorLight = exports.buttonTypePrimaryHoverBackgroundColorDark = exports.buttonTypePrimaryHoverBorderColorLight = exports.buttonTypePrimaryHoverBorderColorDark = exports.buttonTypePrimaryDefaultTextColorLight = exports.buttonTypePrimaryDefaultTextColorDark = exports.buttonTypePrimaryDefaultBackgroundColorLight = exports.buttonTypePrimaryDefaultBackgroundColorDark = exports.buttonTypePrimaryDefaultBorderColorLight = exports.buttonTypePrimaryDefaultBorderColorDark = exports.buttonSizeDefaultPadding = exports.buttonSizeDefaultLineHeight = exports.buttonSizeDefaultFontSize = exports.buttonSizeSmallPadding = exports.buttonSizeSmallLineHeight = exports.buttonSizeSmallFontSize = exports.buttonSizeMediumPadding = exports.buttonSizeMediumLineHeight = exports.buttonSizeMediumFontSize = exports.buttonSizeLargePadding = exports.buttonSizeLargeLineHeight = exports.buttonSizeLargeFontSize = void 0;
|
|
8
|
+
exports.buttonCursor = exports.buttonTransition = exports.buttonPadding = exports.buttonFontWeight = exports.buttonLineHeight = exports.buttonFontSize = exports.buttonFontFamily = exports.buttonBorderWidth = exports.buttonBorderStyle = exports.buttonDisabledOpacity = exports.buttonDisabledCursor = exports.buttonTypeTertiaryFocusOutline = exports.buttonTypeTertiaryActiveTextColorLight = exports.buttonTypeTertiaryActiveTextColorDark = exports.buttonTypeTertiaryActiveBackgroundColorLight = exports.buttonTypeTertiaryActiveBackgroundColorDark = exports.buttonTypeTertiaryActiveBorderColorLight = exports.buttonTypeTertiaryActiveBorderColorDark = exports.buttonTypeTertiaryHoverTextColorLight = exports.buttonTypeTertiaryHoverTextColorDark = exports.buttonTypeTertiaryHoverBackgroundColorLight = exports.buttonTypeTertiaryHoverBackgroundColorDark = exports.buttonTypeTertiaryHoverBorderColorLight = exports.buttonTypeTertiaryHoverBorderColorDark = exports.buttonTypeTertiaryDefaultTextColorLight = exports.buttonTypeTertiaryDefaultTextColorDark = exports.buttonTypeTertiaryDefaultBackgroundColorLight = exports.buttonTypeTertiaryDefaultBackgroundColorDark = exports.buttonTypeTertiaryDefaultBorderColorLight = exports.buttonTypeTertiaryDefaultBorderColorDark = void 0;
|
|
9
|
+
exports.buttonSizeLargeFontSize = "1.125rem";
|
|
10
|
+
exports.buttonSizeLargeLineHeight = "1.75rem";
|
|
11
|
+
exports.buttonSizeLargePadding = "0.5rem 1rem";
|
|
12
|
+
exports.buttonSizeMediumFontSize = "1rem";
|
|
13
|
+
exports.buttonSizeMediumLineHeight = "1.5rem";
|
|
14
|
+
exports.buttonSizeMediumPadding = "0.25rem calc(0.25rem * 3)";
|
|
15
|
+
exports.buttonSizeSmallFontSize = "0.875rem";
|
|
16
|
+
exports.buttonSizeSmallLineHeight = "1.25rem";
|
|
17
|
+
exports.buttonSizeSmallPadding = "calc(0.25rem / 2) 0.5rem";
|
|
18
|
+
exports.buttonSizeDefaultFontSize = "1rem";
|
|
19
|
+
exports.buttonSizeDefaultLineHeight = "1.5rem";
|
|
20
|
+
exports.buttonSizeDefaultPadding = "0.25rem calc(0.25rem * 3)";
|
|
21
|
+
exports.buttonTypePrimaryDefaultBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
22
|
+
exports.buttonTypePrimaryDefaultBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
23
|
+
exports.buttonTypePrimaryDefaultBackgroundColorDark = "hsla(218, 100%, 28%, 1)";
|
|
24
|
+
exports.buttonTypePrimaryDefaultBackgroundColorLight = "hsla(139, 100%, 78%, 1)";
|
|
25
|
+
exports.buttonTypePrimaryDefaultTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
26
|
+
exports.buttonTypePrimaryDefaultTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
27
|
+
exports.buttonTypePrimaryHoverBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
28
|
+
exports.buttonTypePrimaryHoverBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
29
|
+
exports.buttonTypePrimaryHoverBackgroundColorDark = "hsla(218, 100%, 20%, 1)";
|
|
30
|
+
exports.buttonTypePrimaryHoverBackgroundColorLight = "hsla(139, 100%, 70%, 1)";
|
|
31
|
+
exports.buttonTypePrimaryHoverTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
32
|
+
exports.buttonTypePrimaryHoverTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
33
|
+
exports.buttonTypePrimaryActiveBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
34
|
+
exports.buttonTypePrimaryActiveBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
35
|
+
exports.buttonTypePrimaryActiveBackgroundColorDark = "hsla(218, 100%, 35%, 1)";
|
|
36
|
+
exports.buttonTypePrimaryActiveBackgroundColorLight = "hsla(139, 100%, 85%, 1)";
|
|
37
|
+
exports.buttonTypePrimaryActiveTextColorDark = "hsla(40, 3%, 100%, 1)";
|
|
38
|
+
exports.buttonTypePrimaryActiveTextColorLight = "hsla(223, 67%, 18%, 1)";
|
|
39
|
+
exports.buttonTypePrimaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
40
|
+
exports.buttonTypeSecondaryDefaultBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
41
|
+
exports.buttonTypeSecondaryDefaultBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
42
|
+
exports.buttonTypeSecondaryDefaultBackgroundColorDark = "hsla(0, 0%, 0%, 0)";
|
|
43
|
+
exports.buttonTypeSecondaryDefaultBackgroundColorLight = "hsla(0, 0%, 0%, 0)";
|
|
44
|
+
exports.buttonTypeSecondaryDefaultTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
45
|
+
exports.buttonTypeSecondaryDefaultTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
46
|
+
exports.buttonTypeSecondaryHoverBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
47
|
+
exports.buttonTypeSecondaryHoverBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
48
|
+
exports.buttonTypeSecondaryHoverBackgroundColorDark = "hsla(196, 74%, 80%, 1)";
|
|
49
|
+
exports.buttonTypeSecondaryHoverBackgroundColorLight = "hsla(218, 100%, 25%, 1)";
|
|
50
|
+
exports.buttonTypeSecondaryHoverTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
51
|
+
exports.buttonTypeSecondaryHoverTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
52
|
+
exports.buttonTypeSecondaryActiveBorderColorDark = "hsla(218, 100%, 28%, 1)";
|
|
53
|
+
exports.buttonTypeSecondaryActiveBorderColorLight = "hsla(139, 100%, 78%, 1)";
|
|
54
|
+
exports.buttonTypeSecondaryActiveBackgroundColorDark = "hsla(196, 74%, 85%, 1)";
|
|
55
|
+
exports.buttonTypeSecondaryActiveBackgroundColorLight = "hsla(218, 100%, 35%, 1)";
|
|
56
|
+
exports.buttonTypeSecondaryActiveTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
57
|
+
exports.buttonTypeSecondaryActiveTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
58
|
+
exports.buttonTypeSecondaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
59
|
+
exports.buttonTypeTertiaryDefaultBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
60
|
+
exports.buttonTypeTertiaryDefaultBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
61
|
+
exports.buttonTypeTertiaryDefaultBackgroundColorDark = "hsla(0, 0%, 0%, 0)";
|
|
62
|
+
exports.buttonTypeTertiaryDefaultBackgroundColorLight = "hsla(0, 0%, 0%, 0)";
|
|
63
|
+
exports.buttonTypeTertiaryDefaultTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
64
|
+
exports.buttonTypeTertiaryDefaultTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
65
|
+
exports.buttonTypeTertiaryHoverBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
66
|
+
exports.buttonTypeTertiaryHoverBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
67
|
+
exports.buttonTypeTertiaryHoverBackgroundColorDark = "hsla(196, 74%, 80%, 1)";
|
|
68
|
+
exports.buttonTypeTertiaryHoverBackgroundColorLight = "hsla(218, 100%, 25%, 1)";
|
|
69
|
+
exports.buttonTypeTertiaryHoverTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
70
|
+
exports.buttonTypeTertiaryHoverTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
71
|
+
exports.buttonTypeTertiaryActiveBorderColorDark = "hsla(0, 0%, 0%, 0)";
|
|
72
|
+
exports.buttonTypeTertiaryActiveBorderColorLight = "hsla(0, 0%, 0%, 0)";
|
|
73
|
+
exports.buttonTypeTertiaryActiveBackgroundColorDark = "hsla(196, 74%, 85%, 1)";
|
|
74
|
+
exports.buttonTypeTertiaryActiveBackgroundColorLight = "hsla(218, 100%, 35%, 1)";
|
|
75
|
+
exports.buttonTypeTertiaryActiveTextColorDark = "hsla(218, 100%, 28%, 1)";
|
|
76
|
+
exports.buttonTypeTertiaryActiveTextColorLight = "hsla(139, 100%, 78%, 1)";
|
|
77
|
+
exports.buttonTypeTertiaryFocusOutline = "0.25rem solid hsla(196, 100%, 43%, 1)";
|
|
78
|
+
exports.buttonDisabledCursor = "default";
|
|
79
|
+
exports.buttonDisabledOpacity = "0.5";
|
|
80
|
+
exports.buttonBorderStyle = "solid";
|
|
81
|
+
exports.buttonBorderWidth = "calc(0.125rem / 2)";
|
|
82
|
+
exports.buttonFontFamily = "'Avenir Next', Arial, sans-serif";
|
|
83
|
+
exports.buttonFontSize = "1rem";
|
|
84
|
+
exports.buttonLineHeight = "1.5rem";
|
|
85
|
+
exports.buttonFontWeight = "500";
|
|
86
|
+
exports.buttonPadding = "calc(0.25rem * 1.5) calc(0.25rem * 3)";
|
|
87
|
+
exports.buttonTransition = "all 0.15s ease-in-out";
|
|
88
|
+
exports.buttonCursor = "pointer";
|
package/dist/cjs/p/p.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/p/p.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/p/p.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,eAAO,MAAM,KAAK,6HAEjB,CAAA;AAED,oCAAoC;AACpC,eAAO,MAAM,CAAC,6CAgBZ,CAAA;AAGF,eAAe,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../src/portal/portal.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../src/portal/portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAE5C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,GAAG,YAAY,CAajD,CAAA;AAID,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/step/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,cAAc,iBAAiB,CAAA"}
|
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.default = void 0;
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
var
|
|
23
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(
|
|
24
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./stepIndicator"), exports);
|
|
22
|
+
var stepIndicator_1 = require("./stepIndicator");
|
|
23
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(stepIndicator_1).default; } });
|
|
24
|
+
__exportStar(require("./stepIndicator"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StepIndicatorProps } from './stepIndicatorTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Implements stepper indicator **
|
|
4
|
+
*/
|
|
5
|
+
export declare const StepIndicator: import("../core").VuiComponent<"div", StepIndicatorProps>;
|
|
6
|
+
export default StepIndicator;
|
|
7
|
+
//# sourceMappingURL=stepIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepIndicator.d.ts","sourceRoot":"","sources":["../../../src/step/stepIndicator.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AASzD;;GAEG;AACH,eAAO,MAAM,aAAa,2DAmCxB,CAAA;AAIF,eAAe,aAAa,CAAA"}
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.StepIndicator = void 0;
|
|
18
18
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
19
|
const box_1 = __importDefault(require("../box"));
|
|
20
20
|
const button_1 = __importDefault(require("../button"));
|
|
@@ -34,10 +34,10 @@ const Content = ({ number, variant, size }) => {
|
|
|
34
34
|
/**
|
|
35
35
|
* Implements stepper indicator **
|
|
36
36
|
*/
|
|
37
|
-
exports.
|
|
37
|
+
exports.StepIndicator = (0, core_1.vui)((props, ref) => {
|
|
38
38
|
const { icon, number, className, size, variant } = props, rest = __rest(props, ["icon", "number", "className", "size", "variant"]);
|
|
39
|
-
const styles = (0, core_1.useStyleConfig)('
|
|
40
|
-
return icon ? ((0, jsx_runtime_1.jsx)(button_1.default, Object.assign({ className: (0, utils_1.cs)('vui-
|
|
39
|
+
const styles = (0, core_1.useStyleConfig)('StepIndicator', props);
|
|
40
|
+
return icon ? ((0, jsx_runtime_1.jsx)(button_1.default, Object.assign({ className: (0, utils_1.cs)('vui-stepIndicator', className), icon: icon, ref: ref }, styles.icon, rest, { isRound: true, minW: "auto", pointerEvents: "none", size: size }))) : ((0, jsx_runtime_1.jsxs)(button_1.default, Object.assign({ className: (0, utils_1.cs)('vui-stepIndicator', className), ref: ref }, styles.button, rest, { isRound: true, minW: "auto", outline: "6px solid white", pointerEvents: "none", position: "relative", size: size, children: [(0, jsx_runtime_1.jsx)(box_1.default, { mx: 0.5, position: "relative" }), (0, jsx_runtime_1.jsx)(box_1.default, { fontSize: `${size === 'md' ? 16 : 13}px`, mx: 0.5, position: "absolute", children: (0, jsx_runtime_1.jsx)(Content, { number: number, size: size, variant: variant }) })] })));
|
|
41
41
|
});
|
|
42
|
-
exports.
|
|
43
|
-
exports.default = exports.
|
|
42
|
+
exports.StepIndicator.displayName = 'StepIndicator';
|
|
43
|
+
exports.default = exports.StepIndicator;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconProp } from '../icon';
|
|
2
|
+
import { SystemProps } from '../system';
|
|
3
|
+
import { ThemingProps } from '../theme';
|
|
4
|
+
export type StepIndicatorProps = SystemProps & ThemingProps<'StepIndicator'> & {
|
|
5
|
+
icon?: IconProp;
|
|
6
|
+
className?: string;
|
|
7
|
+
number?: number;
|
|
8
|
+
};
|
|
9
|
+
export type StepIndicatorVariant = 'active' | 'completed' | 'optional' | 'pending' | 'error';
|
|
10
|
+
//# sourceMappingURL=stepIndicatorTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepIndicatorTypes.d.ts","sourceRoot":"","sources":["../../../src/step/stepIndicatorTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAC1C,YAAY,CAAC,eAAe,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAEH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/step/theme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,wBAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepHorizontal.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepHorizontal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stepHorizontal.d.ts","sourceRoot":"","sources":["../../../src/stepperHorizontal/stepHorizontal.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,eAAO,MAAM,kBAAkB,+HAK9B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,4DA0B1B,CAAA;AAID,eAAe,cAAc,CAAA"}
|
|
@@ -7,7 +7,7 @@ exports.StepHorizontal = exports.StepHorizontalBase = void 0;
|
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const box_1 = require("../box");
|
|
9
9
|
const core_1 = require("../core");
|
|
10
|
-
const
|
|
10
|
+
const step_1 = require("../step");
|
|
11
11
|
const utils_1 = require("../utils");
|
|
12
12
|
const consts_1 = require("./consts");
|
|
13
13
|
const context_1 = require("./context");
|
|
@@ -25,7 +25,7 @@ exports.StepHorizontalBase = core_1.styled.divBox `
|
|
|
25
25
|
exports.StepHorizontal = (0, core_1.vui)(({ icon, number, size: propSize = 'md', description, title, className, variant, children }, ref) => {
|
|
26
26
|
const context = (0, context_1.useStepperHorizontalContext)();
|
|
27
27
|
const size = (context === null || context === void 0 ? void 0 : context.size) || propSize;
|
|
28
|
-
return ((0, jsx_runtime_1.jsxs)(exports.StepHorizontalBase, { className: (0, utils_1.cs)(consts_1.stepClassName, className), ref: ref, children: [(0, jsx_runtime_1.jsx)(stepHorizontalTail_1.default, { size: size, variant: variant }), (0, jsx_runtime_1.jsx)(box_1.Box, { display: "block", textAlign: "center", children: (0, jsx_runtime_1.jsx)(
|
|
28
|
+
return ((0, jsx_runtime_1.jsxs)(exports.StepHorizontalBase, { className: (0, utils_1.cs)(consts_1.stepClassName, className), ref: ref, children: [(0, jsx_runtime_1.jsx)(stepHorizontalTail_1.default, { size: size, variant: variant }), (0, jsx_runtime_1.jsx)(box_1.Box, { display: "block", textAlign: "center", children: (0, jsx_runtime_1.jsx)(step_1.StepIndicator, { icon: icon, number: number, size: size, variant: variant }) }), (0, jsx_runtime_1.jsxs)(box_1.Box, { display: "block", textAlign: "center", children: [!!title && ((0, jsx_runtime_1.jsx)(stepHorizontalTitle_1.default, { size: size, variant: variant, children: title })), !!description && ((0, jsx_runtime_1.jsx)(box_1.Box, { color: "sandstone.45", display: "block", fontSize: `${size === 'md' ? 14 : 12}px`, textAlign: "center", children: description })), (0, jsx_runtime_1.jsx)(box_1.Box, { display: "block", children: children })] })] }));
|
|
29
29
|
});
|
|
30
30
|
exports.StepHorizontal.displayName = 'StepHorizontal';
|
|
31
31
|
exports.default = exports.StepHorizontal;
|