scu-web-components 0.0.32 → 0.0.35
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/bin/cli.mjs +1 -1
- package/dist/chunks/{chunk.44PMNKPK.js → chunk.2LAHOOSK.js} +2 -2
- package/dist/chunks/{chunk.44PMNKPK.js.map → chunk.2LAHOOSK.js.map} +1 -1
- package/dist/chunks/chunk.2VTI5GPU.js +2 -0
- package/dist/chunks/{chunk.GNBOEY2A.js.map → chunk.2VTI5GPU.js.map} +0 -0
- package/dist/chunks/chunk.3IHJDK6I.js +2 -0
- package/dist/chunks/{chunk.YNNOL5UD.js.map → chunk.3IHJDK6I.js.map} +0 -0
- package/dist/chunks/{chunk.N5JAB5AA.js → chunk.3R7BMGFH.js} +2 -2
- package/dist/chunks/{chunk.N5JAB5AA.js.map → chunk.3R7BMGFH.js.map} +0 -0
- package/dist/chunks/{chunk.ROL6L4X5.js → chunk.3RQ6ROTP.js} +2 -2
- package/dist/chunks/{chunk.ROL6L4X5.js.map → chunk.3RQ6ROTP.js.map} +0 -0
- package/dist/chunks/{chunk.7A4QGO6F.js → chunk.4LJQJY4M.js} +2 -2
- package/dist/chunks/{chunk.7A4QGO6F.js.map → chunk.4LJQJY4M.js.map} +0 -0
- package/dist/chunks/{chunk.X2MZFY6Y.js → chunk.56YMDF4N.js} +2 -2
- package/dist/chunks/{chunk.X2MZFY6Y.js.map → chunk.56YMDF4N.js.map} +2 -2
- package/dist/chunks/{chunk.XJXDLZMZ.js → chunk.6WTOZOY7.js} +2 -2
- package/dist/chunks/{chunk.XJXDLZMZ.js.map → chunk.6WTOZOY7.js.map} +0 -0
- package/dist/chunks/chunk.6ZXOCFW5.js +2 -0
- package/dist/chunks/{chunk.U6A3IKTV.js.map → chunk.6ZXOCFW5.js.map} +2 -2
- package/dist/chunks/{chunk.TC4A7NX7.js → chunk.75W5GH3K.js} +2 -2
- package/dist/chunks/{chunk.TC4A7NX7.js.map → chunk.75W5GH3K.js.map} +0 -0
- package/dist/chunks/{chunk.DJQ6FHEA.js → chunk.7C4BKIQF.js} +1 -1
- package/dist/chunks/{chunk.DJQ6FHEA.js.map → chunk.7C4BKIQF.js.map} +0 -0
- package/dist/chunks/{chunk.TLUKKBKO.js → chunk.7IEAISVE.js} +2 -2
- package/dist/chunks/{chunk.TLUKKBKO.js.map → chunk.7IEAISVE.js.map} +0 -0
- package/dist/chunks/chunk.CN3FBMLH.js +2 -0
- package/dist/chunks/{chunk.GIK7EHP5.js.map → chunk.CN3FBMLH.js.map} +0 -0
- package/dist/chunks/{chunk.TY7FVHDQ.js → chunk.IHQUNZQU.js} +2 -2
- package/dist/chunks/{chunk.TY7FVHDQ.js.map → chunk.IHQUNZQU.js.map} +0 -0
- package/dist/chunks/{chunk.KVCUHP7N.js → chunk.KBIUGQUO.js} +1 -1
- package/dist/chunks/{chunk.KVCUHP7N.js.map → chunk.KBIUGQUO.js.map} +1 -1
- package/dist/chunks/chunk.MSP7TQ3T.js +2 -0
- package/dist/chunks/{chunk.QVO7RTDL.js.map → chunk.MSP7TQ3T.js.map} +0 -0
- package/dist/chunks/chunk.QHEFJCZI.js +2 -0
- package/dist/chunks/{chunk.VTUIFUTJ.js.map → chunk.QHEFJCZI.js.map} +0 -0
- package/dist/chunks/{chunk.RPACMUBY.js → chunk.QSH5IYLY.js} +2 -2
- package/dist/chunks/{chunk.RPACMUBY.js.map → chunk.QSH5IYLY.js.map} +0 -0
- package/dist/chunks/chunk.S3DM53HD.js +2 -0
- package/dist/chunks/{chunk.UNJ2HAKH.js.map → chunk.S3DM53HD.js.map} +0 -0
- package/dist/chunks/chunk.SHURDDW4.js +2 -0
- package/dist/chunks/{chunk.5XMC6YA4.js.map → chunk.SHURDDW4.js.map} +0 -0
- package/dist/chunks/{chunk.CJAF5ARK.js → chunk.SNSOKG54.js} +2 -2
- package/dist/chunks/{chunk.CJAF5ARK.js.map → chunk.SNSOKG54.js.map} +0 -0
- package/dist/chunks/{chunk.MGNPSQQS.js → chunk.TAIV7XKZ.js} +2 -2
- package/dist/chunks/{chunk.MGNPSQQS.js.map → chunk.TAIV7XKZ.js.map} +0 -0
- package/dist/chunks/chunk.TASESTIH.js +2 -0
- package/dist/chunks/{chunk.BNXLNCIW.js.map → chunk.TASESTIH.js.map} +0 -0
- package/dist/chunks/{chunk.GTNXXY2T.js → chunk.TH7XY5AV.js} +2 -2
- package/dist/chunks/{chunk.GTNXXY2T.js.map → chunk.TH7XY5AV.js.map} +0 -0
- package/dist/chunks/chunk.VWEPTKXE.js +2 -0
- package/dist/chunks/{chunk.LCLP3O74.js.map → chunk.VWEPTKXE.js.map} +0 -0
- package/dist/chunks/chunk.VYN4PQL4.js +2 -0
- package/dist/chunks/{chunk.YO4XRUOI.js.map → chunk.VYN4PQL4.js.map} +0 -0
- package/dist/chunks/chunk.WXMMTZTU.js +2 -0
- package/dist/chunks/{chunk.W2QJT7Q4.js.map → chunk.WXMMTZTU.js.map} +0 -0
- package/dist/chunks/{chunk.42R5SIJT.js → chunk.XKGTDJG6.js} +2 -2
- package/dist/chunks/{chunk.42R5SIJT.js.map → chunk.XKGTDJG6.js.map} +0 -0
- package/dist/chunks/chunk.YMIT4ZQO.js +2 -0
- package/dist/chunks/{chunk.72DKVHIA.js.map → chunk.YMIT4ZQO.js.map} +0 -0
- package/dist/chunks/{chunk.NGL6WE6V.js → chunk.YNLLA3ZB.js} +2 -2
- package/dist/chunks/{chunk.NGL6WE6V.js.map → chunk.YNLLA3ZB.js.map} +0 -0
- package/dist/chunks/chunk.Z4H6RRS7.js +2 -0
- package/dist/chunks/{chunk.J2BS5MIF.js.map → chunk.Z4H6RRS7.js.map} +0 -0
- package/dist/chunks/{chunk.WUOL7WM2.js → chunk.ZFQ275QN.js} +2 -2
- package/dist/chunks/{chunk.WUOL7WM2.js.map → chunk.ZFQ275QN.js.map} +0 -0
- package/dist/chunks/{chunk.PFDERFXL.js → chunk.ZKJROKIG.js} +2 -2
- package/dist/chunks/{chunk.PFDERFXL.js.map → chunk.ZKJROKIG.js.map} +0 -0
- package/dist/custom-elements.json +323 -322
- package/dist/docs/components/ScwAlert.json +2 -2
- package/dist/docs/components/ScwButton.json +17 -16
- package/dist/docs/components/ScwCard.json +2 -2
- package/dist/docs/components/ScwCenterComponent.json +2 -2
- package/dist/docs/components/ScwComponent.json +2 -2
- package/dist/docs/components/ScwElementComponent.json +2 -2
- package/dist/docs/components/ScwFlexHComponent.json +2 -2
- package/dist/docs/components/ScwFlexVComponent.json +2 -2
- package/dist/docs/components/ScwFloatComponent.json +2 -2
- package/dist/docs/components/ScwForm.json +2 -2
- package/dist/docs/components/ScwFormComponent.json +2 -2
- package/dist/docs/components/ScwHeading.json +2 -2
- package/dist/docs/components/ScwIcon.json +3 -3
- package/dist/docs/components/ScwImage.json +2 -2
- package/dist/docs/components/ScwInput.json +2 -2
- package/dist/docs/components/ScwInputField.json +2 -2
- package/dist/docs/components/ScwInputLayout.json +2 -2
- package/dist/docs/components/ScwLayoutComponent.json +2 -2
- package/dist/docs/components/ScwLink.json +2 -2
- package/dist/docs/components/ScwLinkBase.json +2 -2
- package/dist/docs/components/ScwMenu.json +2 -2
- package/dist/docs/components/ScwMenuItem.json +2 -2
- package/dist/docs/components/ScwPageAlert.json +2 -2
- package/dist/docs/components/ScwPaneComponent.json +2 -2
- package/dist/docs/components/ScwResponsive.json +2 -2
- package/dist/docs/components/ScwSelect.json +2 -2
- package/dist/docs/components/ScwSingleInput.json +2 -2
- package/dist/docs/components/ScwSingleInputLayout.json +2 -2
- package/dist/docs/components/ScwStackComponent.json +2 -2
- package/dist/docs/components/ScwTest.json +2 -2
- package/dist/docs/components/ScwTextarea.json +2 -2
- package/dist/docs/components/ScwValidate.json +2 -2
- package/dist/docs/components/ScwValidation.json +2 -2
- package/dist/docs/components/manifest.json +57 -57
- package/dist/docs/config.json +1 -1
- package/dist/scw-alert/ScwAlert.js +1 -1
- package/dist/scw-alert/scw-alert.js +1 -1
- package/dist/scw-button/ScwButton.js +1 -1
- package/dist/scw-button/scw-button.js +1 -1
- package/dist/scw-card/ScwCard.js +1 -1
- package/dist/scw-card/scw-card.js +1 -1
- package/dist/scw-center-component/ScwCenterComponent.js +1 -1
- package/dist/scw-center-component/scw-center-component.js +1 -1
- package/dist/scw-component/ScwComponent.d.ts +1 -1
- package/dist/scw-component/ScwComponent.js +1 -1
- package/dist/scw-component/scw-component-interface.d.ts +2 -0
- package/dist/scw-component/scw-component.js +1 -1
- package/dist/scw-components.js +1 -1
- package/dist/scw-element-component/scw-element-component.js +1 -1
- package/dist/scw-flex-h-component/scw-flex-h-component.js +1 -1
- package/dist/scw-flex-v-component/scw-flex-v-component.js +1 -1
- package/dist/scw-float-component/scw-float-component.js +1 -1
- package/dist/scw-form/scw-form.js +1 -1
- package/dist/scw-form-component/scw-form-component.js +1 -1
- package/dist/scw-heading/ScwHeading.js +1 -1
- package/dist/scw-heading/scw-heading.js +1 -1
- package/dist/scw-icon/ScwIcon.js +1 -1
- package/dist/scw-icon/scw-icon.js +1 -1
- package/dist/scw-image/ScwImage.js +1 -1
- package/dist/scw-image/scw-image.js +1 -1
- package/dist/scw-input/scw-input.js +3 -3
- package/dist/scw-input/scw-input.js.map +2 -2
- package/dist/scw-input-field/scw-input-field.js +1 -1
- package/dist/scw-input-layout/scw-input-layout.js +1 -1
- package/dist/scw-layout-component/scw-layout-component.js +1 -1
- package/dist/scw-link/ScwLink.js +1 -1
- package/dist/scw-link/scw-link.js +1 -1
- package/dist/scw-link-base/ScwLinkBase.js +1 -1
- package/dist/scw-link-base/scw-link-base.js +1 -1
- package/dist/scw-menu/ScwMenu.js +1 -1
- package/dist/scw-menu/scw-menu.js +1 -1
- package/dist/scw-menu-item/ScwMenuItem.js +1 -1
- package/dist/scw-menu-item/scw-menu-item.js +1 -1
- package/dist/scw-page-alert/scw-page-alert.js +1 -1
- package/dist/scw-pane-component/scw-pane-component.js +1 -1
- package/dist/scw-responsive/scw-responsive.js +1 -1
- package/dist/scw-select/scw-select.js +2 -2
- package/dist/scw-select/scw-select.js.map +2 -2
- package/dist/scw-single-input/scw-single-input.js +1 -1
- package/dist/scw-single-input-layout/scw-single-input-layout.js +1 -1
- package/dist/scw-stack-component/scw-stack-component.js +1 -1
- package/dist/scw-test/ScwTest.js +1 -1
- package/dist/scw-test/scw-test.js +1 -1
- package/dist/scw-textarea/scw-textarea.js +3 -3
- package/dist/scw-textarea/scw-textarea.js.map +2 -2
- package/dist/scw-validate/scw-validate.js +1 -1
- package/dist/scw-validation/scw-validation.js +1 -1
- package/dist/scw.js +1 -1
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/utils/responsive/ResponsiveElement.js +1 -1
- package/dist/utils/responsive/breakpoints.js +1 -1
- package/dist/utils/responsive/connectStyles.js +1 -1
- package/dist/utils/responsive/processAttributes.js +1 -1
- package/dist/utils/suffix.js +1 -1
- package/package.json +5 -4
- package/scripts/ssr.mjs +23 -0
- package/src/utils/responsive/{breakpoints.mjs → breakpointsData.mjs} +0 -0
- package/dist/chunks/chunk.5XMC6YA4.js +0 -2
- package/dist/chunks/chunk.72DKVHIA.js +0 -2
- package/dist/chunks/chunk.BNXLNCIW.js +0 -2
- package/dist/chunks/chunk.GIK7EHP5.js +0 -2
- package/dist/chunks/chunk.GNBOEY2A.js +0 -2
- package/dist/chunks/chunk.J2BS5MIF.js +0 -2
- package/dist/chunks/chunk.LCLP3O74.js +0 -2
- package/dist/chunks/chunk.QVO7RTDL.js +0 -2
- package/dist/chunks/chunk.U6A3IKTV.js +0 -2
- package/dist/chunks/chunk.UNJ2HAKH.js +0 -2
- package/dist/chunks/chunk.VTUIFUTJ.js +0 -2
- package/dist/chunks/chunk.W2QJT7Q4.js +0 -2
- package/dist/chunks/chunk.YNNOL5UD.js +0 -2
- package/dist/chunks/chunk.YO4XRUOI.js +0 -2
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default class JsCssGenerator{constructor(e){this.tokens={"COLORS|color":{primary:{"01":["rgba(28,74,5,1)"],"02":["rgba(41,95,14,1)"],"03":["rgba(52,110,6,1)"],"04":["rgba(63,121,15,1)"],"05":["rgba(75,132,29,1)"],"":["rgba(75,132,29,1)"],"06":["rgba(99,166,10,1)"],"07":["rgba(158,201,101,1)"],"08":["rgba(200,230,160,1)"],"09":["rgba(232,247,212,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(246,255,237,1)"]},grey:{10:["rgba(255,255,255,1)"],"00":["rgba(0,0,0,1)"],"01":["rgba(29,30,32,1)"],"02":["rgba(62,65,67,1)"],"03":["rgba(87,90,93,1)"],"04":["rgba(114,118,122,1)"],"05":["rgba(134,137,140,1)"],"":["rgba(134,137,140,1)"],"06":["rgba(154,158,160,1)"],"07":["rgba(177,180,183,1)"],"08":["rgba(194,197,200,1)"],"09":["rgba(218,220,223,1)"],"092":["rgba(235,238,240,1)"],"095":["rgba(246,247,249,1)"]},error:{"":["rgba(228,109,114,1)"],light:["rgba(249,230,230,1)"],dark:["rgba(158,0,0,1)"]},warning:{"":["rgba(255,134,66,1)"],light:["rgba(255,214,191,1)"],dark:["rgba(128,46,0,1)"]},success:{"":["rgba(123,209,8,1)"],light:["rgba(213,233,187,1)"],dark:["rgba(72,121,6,1)"]},information:{"":["rgba(252,231,40,1)"],light:["rgba(255,250,208,1)"],dark:["rgba(170,153,0,1)"]},icon:{"":["rgba(1,1,1,1)"]},secondary:{"":["rgba(87,90,93,1)"]},mortgage:{"01":["rgba(74,2,57,1)"],"02":["rgba(92,1,75,1)"],"03":["rgba(107,4,83,1)"],"04":["rgba(136,6,105,1)"],"05":["rgba(162,0,125,1)"],"":["rgba(162,0,125,1)"],"06":["rgba(193,64,164,1)"],"07":["rgba(214,121,192,1)"],"08":["rgba(235,169,220,1)"],"09":["rgba(247,220,242,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,240,250,1)"]},investments:{"01":["rgba(15,14,88,1)"],"02":["rgba(37,37,124,1)"],"03":["rgba(52,52,145,1)"],"04":["rgba(65,64,157,1)"],"05":["rgba(85,84,177,1)"],"":["rgba(85,84,177,1)"],"06":["rgba(117,116,195,1)"],"07":["rgba(160,159,219,1)"],"08":["rgba(200,199,237,1)"],"09":["rgba(227,226,248,1)"],"092":["rgba(232,231,249,1)"],"095":["rgba(244,244,255,1)"]},"credit-cards":{"01":["rgba(1,51,77,1)"],"02":["rgba(1,70,106,1)"],"03":["rgba(1,88,132,1)"],"04":["rgba(1,104,157,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(46,147,199,1)"],"07":["rgba(94,173,213,1)"],"08":["rgba(140,197,227,1)"],"09":["rgba(189,224,242,1)"],"092":["rgba(227,241,249,1)"],"095":["rgba(236,249,255,1)"]},student:{"01":["rgba(1,56,49,1)"],"02":["rgba(0,75,67,1)"],"03":["rgba(0,94,83,1)"],"04":["rgba(0,113,100,1)"],"05":["rgba(0,131,116,1)"],"":["rgba(0,131,116,1)"],"06":["rgba(46,156,143,1)"],"07":["rgba(105,185,176,1)"],"08":["rgba(157,217,211,1)"],"09":["rgba(209,240,237,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(237,253,252,1)"]},savings:{"01":["rgba(119,33,0,1)"],"02":["rgba(149,41,0,1)"],"03":["rgba(163,46,2,1)"],"04":["rgba(178,51,3,1)"],"05":["rgba(195,75,0,1)"],"":["rgba(195,75,0,1)"],"06":["rgba(230,118,47,1)"],"07":["rgba(242,165,109,1)"],"08":["rgba(250,209,167,1)"],"09":["rgba(255,235,211,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,247,239,1)"]},checking:{"01":["rgba(49,6,67,1)"],"02":["rgba(64,21,83,1)"],"03":["rgba(92,40,114,1)"],"04":["rgba(119,57,145,1)"],"05":["rgba(148,77,178,1)"],"":["rgba(148,77,178,1)"],"06":["rgba(168,108,193,1)"],"07":["rgba(198,151,217,1)"],"08":["rgba(218,187,232,1)"],"09":["rgba(233,213,240,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(249,237,252,1)"]},"red-shoes":{"01":["rgba(90,7,9,1)"],"02":["rgba(117,15,18,1)"],"03":["rgba(143,23,27,1)"],"04":["rgba(171,31,36,1)"],"05":["rgba(201,40,45,1)"],"":["rgba(201,40,45,1)"],"06":["rgba(214,80,84,1)"],"07":["rgba(226,119,121,1)"],"08":["rgba(240,162,164,1)"],"09":["rgba(255,219,220,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,240,241,1)"]},business:{"01":["rgba(83,72,1,1)"],"02":["rgba(111,96,1,1)"],"03":["rgba(141,122,1,1)"],"04":["rgba(168,145,1,1)"],"05":["rgba(199,172,0,1)"],"":["rgba(199,172,0,1)"],"06":["rgba(212,190,46,1)"],"07":["rgba(227,209,98,1)"],"08":["rgba(241,229,149,1)"],"09":["rgba(255,247,197,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,251,224,1)"]},personal:{"01":["rgba(1,40,60,1)"],"02":["rgba(1,59,90,1)"],"03":["rgba(1,80,121,1)"],"04":["rgba(1,99,150,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(48,149,202,1)"],"07":["rgba(100,179,220,1)"],"08":["rgba(154,210,238,1)"],"09":["rgba(202,237,255,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(226,245,255,1)"]},heloc:{"01":["rgba(41,17,75,1)"],"02":["rgba(56,28,92,1)"],"03":["rgba(76,44,118,1)"],"04":["rgba(101,63,149,1)"],"05":["rgba(128,91,177,1)"],"":["rgba(128,91,177,1)"],"06":["rgba(159,126,201,1)"],"07":["rgba(189,164,221,1)"],"08":["rgba(207,191,229,1)"],"09":["rgba(229,219,244,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(243,239,252,1)"]}},"TYPOGRAPHY|type":{text:{10:["2.5rem","'Proxima Nova'","400","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","400","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","400","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","400","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","400","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova'","400","1.172rem","0rem","none"],"":["1rem","'Proxima Nova'","400","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","400","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","400","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","400","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","400","0.659rem","0rem","none"]},"text-bold-condensed":{10:["2.5rem","'Proxima Nova Condensed'","700","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova Condensed'","700","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova Condensed'","700","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova Condensed'","700","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova Condensed'","700","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova Condensed'","700","1.172rem","0rem","none"],"":["1rem","'Proxima Nova Condensed'","700","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova Condensed'","700","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova Condensed'","700","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova Condensed'","700","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova Condensed'","700","0.659rem","0rem","none"]},"text-bold":{10:["2.5rem","'Proxima Nova'","700","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","700","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","700","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","700","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","700","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova'","700","1.172rem","0rem","none"],"":["1rem","'Proxima Nova'","700","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","700","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","700","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","700","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","700","0.659rem","0rem","none"]}},"EFFECTS|effect":{shadow:{"":["0px 0px 8px 0px rgba(0,0,0,0.27)"]},focus:{"":["0px 0px 0px 2px rgba(53,155,249,1)"]}},"ICONS|icon":{placeholder:{svg:[""]},clear:{svg:[""]},location:{svg:[""]},checkbox:{svg:[""]},radio:{svg:[""]},"checkbox-selected":{svg:[""]},"radio-selected":{svg:[""]},search:{svg:[""]},"checkbox-hover":{svg:[""]},"radio-hover":{svg:[""]},"checkbox-selected-hover":{svg:[""]},"radio-selected-hover":{svg:[""]},visible:{svg:[""]},hidden:{svg:[""]},"checkbox-disabled":{svg:[""]},"radio-disabled":{svg:[""]},"checkbox-selected-disabled":{svg:[""]},"radio-selected-disabled":{svg:[""]},"chevron-up":{svg:[""]},"chevron-down":{svg:[""]},"chevron-left":{svg:[""]},"chevron-right":{svg:[""]},"color-test":{svg:[""]}},"GRAPHICS|graphic":{},"LAYOUTS|":{spacing:{1:["0.625rem"]},col:{1:["8.3333%"]},colvw:{1:["8.3333vw"]}},"FONTS|font":{"proxima_nova condensed-700-normal":{"":["Proxima Nova Condensed","font-proxima_nova condensed-700-normal.otf","700","normal"]},"proxima_nova-700-normal":{"":["Proxima Nova","font-proxima_nova-700-normal.otf","700","normal"]},"proxima_nova-300-normal":{"":["Proxima Nova","font-proxima_nova-300-normal.otf","300","normal"]}},"BREAKPOINTS|breakpoint":{}},this.prefix="scw",this.uuid="
|
|
1
|
+
export default class JsCssGenerator{constructor(e){this.tokens={"COLORS|color":{primary:{"01":["rgba(28,74,5,1)"],"02":["rgba(41,95,14,1)"],"03":["rgba(52,110,6,1)"],"04":["rgba(63,121,15,1)"],"05":["rgba(75,132,29,1)"],"":["rgba(75,132,29,1)"],"06":["rgba(99,166,10,1)"],"07":["rgba(158,201,101,1)"],"08":["rgba(200,230,160,1)"],"09":["rgba(232,247,212,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(246,255,237,1)"]},grey:{10:["rgba(255,255,255,1)"],"00":["rgba(0,0,0,1)"],"01":["rgba(29,30,32,1)"],"02":["rgba(62,65,67,1)"],"03":["rgba(87,90,93,1)"],"04":["rgba(114,118,122,1)"],"05":["rgba(134,137,140,1)"],"":["rgba(134,137,140,1)"],"06":["rgba(154,158,160,1)"],"07":["rgba(177,180,183,1)"],"08":["rgba(194,197,200,1)"],"09":["rgba(218,220,223,1)"],"092":["rgba(235,238,240,1)"],"095":["rgba(246,247,249,1)"]},error:{"":["rgba(228,109,114,1)"],light:["rgba(249,230,230,1)"],dark:["rgba(158,0,0,1)"]},warning:{"":["rgba(255,134,66,1)"],light:["rgba(255,214,191,1)"],dark:["rgba(128,46,0,1)"]},success:{"":["rgba(123,209,8,1)"],light:["rgba(213,233,187,1)"],dark:["rgba(72,121,6,1)"]},information:{"":["rgba(252,231,40,1)"],light:["rgba(255,250,208,1)"],dark:["rgba(170,153,0,1)"]},icon:{"":["rgba(1,1,1,1)"]},secondary:{"":["rgba(87,90,93,1)"]},mortgage:{"01":["rgba(74,2,57,1)"],"02":["rgba(92,1,75,1)"],"03":["rgba(107,4,83,1)"],"04":["rgba(136,6,105,1)"],"05":["rgba(162,0,125,1)"],"":["rgba(162,0,125,1)"],"06":["rgba(193,64,164,1)"],"07":["rgba(214,121,192,1)"],"08":["rgba(235,169,220,1)"],"09":["rgba(247,220,242,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,240,250,1)"]},investments:{"01":["rgba(15,14,88,1)"],"02":["rgba(37,37,124,1)"],"03":["rgba(52,52,145,1)"],"04":["rgba(65,64,157,1)"],"05":["rgba(85,84,177,1)"],"":["rgba(85,84,177,1)"],"06":["rgba(117,116,195,1)"],"07":["rgba(160,159,219,1)"],"08":["rgba(200,199,237,1)"],"09":["rgba(227,226,248,1)"],"092":["rgba(232,231,249,1)"],"095":["rgba(244,244,255,1)"]},"credit-cards":{"01":["rgba(1,51,77,1)"],"02":["rgba(1,70,106,1)"],"03":["rgba(1,88,132,1)"],"04":["rgba(1,104,157,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(46,147,199,1)"],"07":["rgba(94,173,213,1)"],"08":["rgba(140,197,227,1)"],"09":["rgba(189,224,242,1)"],"092":["rgba(227,241,249,1)"],"095":["rgba(236,249,255,1)"]},student:{"01":["rgba(1,56,49,1)"],"02":["rgba(0,75,67,1)"],"03":["rgba(0,94,83,1)"],"04":["rgba(0,113,100,1)"],"05":["rgba(0,131,116,1)"],"":["rgba(0,131,116,1)"],"06":["rgba(46,156,143,1)"],"07":["rgba(105,185,176,1)"],"08":["rgba(157,217,211,1)"],"09":["rgba(209,240,237,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(237,253,252,1)"]},savings:{"01":["rgba(119,33,0,1)"],"02":["rgba(149,41,0,1)"],"03":["rgba(163,46,2,1)"],"04":["rgba(178,51,3,1)"],"05":["rgba(195,75,0,1)"],"":["rgba(195,75,0,1)"],"06":["rgba(230,118,47,1)"],"07":["rgba(242,165,109,1)"],"08":["rgba(250,209,167,1)"],"09":["rgba(255,235,211,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,247,239,1)"]},checking:{"01":["rgba(49,6,67,1)"],"02":["rgba(64,21,83,1)"],"03":["rgba(92,40,114,1)"],"04":["rgba(119,57,145,1)"],"05":["rgba(148,77,178,1)"],"":["rgba(148,77,178,1)"],"06":["rgba(168,108,193,1)"],"07":["rgba(198,151,217,1)"],"08":["rgba(218,187,232,1)"],"09":["rgba(233,213,240,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(249,237,252,1)"]},"red-shoes":{"01":["rgba(90,7,9,1)"],"02":["rgba(117,15,18,1)"],"03":["rgba(143,23,27,1)"],"04":["rgba(171,31,36,1)"],"05":["rgba(201,40,45,1)"],"":["rgba(201,40,45,1)"],"06":["rgba(214,80,84,1)"],"07":["rgba(226,119,121,1)"],"08":["rgba(240,162,164,1)"],"09":["rgba(255,219,220,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,240,241,1)"]},business:{"01":["rgba(83,72,1,1)"],"02":["rgba(111,96,1,1)"],"03":["rgba(141,122,1,1)"],"04":["rgba(168,145,1,1)"],"05":["rgba(199,172,0,1)"],"":["rgba(199,172,0,1)"],"06":["rgba(212,190,46,1)"],"07":["rgba(227,209,98,1)"],"08":["rgba(241,229,149,1)"],"09":["rgba(255,247,197,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,251,224,1)"]},personal:{"01":["rgba(1,40,60,1)"],"02":["rgba(1,59,90,1)"],"03":["rgba(1,80,121,1)"],"04":["rgba(1,99,150,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(48,149,202,1)"],"07":["rgba(100,179,220,1)"],"08":["rgba(154,210,238,1)"],"09":["rgba(202,237,255,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(226,245,255,1)"]},heloc:{"01":["rgba(41,17,75,1)"],"02":["rgba(56,28,92,1)"],"03":["rgba(76,44,118,1)"],"04":["rgba(101,63,149,1)"],"05":["rgba(128,91,177,1)"],"":["rgba(128,91,177,1)"],"06":["rgba(159,126,201,1)"],"07":["rgba(189,164,221,1)"],"08":["rgba(207,191,229,1)"],"09":["rgba(229,219,244,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(243,239,252,1)"]}},"TYPOGRAPHY|type":{text:{10:["2.5rem","'Proxima Nova'","400","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","400","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","400","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","400","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","400","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova'","400","1.172rem","0rem","none"],"":["1rem","'Proxima Nova'","400","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","400","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","400","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","400","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","400","0.659rem","0rem","none"]},"text-bold-condensed":{10:["2.5rem","'Proxima Nova Condensed'","700","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova Condensed'","700","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova Condensed'","700","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova Condensed'","700","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova Condensed'","700","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova Condensed'","700","1.172rem","0rem","none"],"":["1rem","'Proxima Nova Condensed'","700","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova Condensed'","700","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova Condensed'","700","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova Condensed'","700","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova Condensed'","700","0.659rem","0rem","none"]},"text-bold":{10:["2.5rem","'Proxima Nova'","700","2.93rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","700","2.197rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","700","1.758rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","700","1.465rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","700","1.318rem","0rem","none"],"05":["1rem","'Proxima Nova'","700","1.172rem","0rem","none"],"":["1rem","'Proxima Nova'","700","1.172rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","700","1.025rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","700","0.879rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","700","0.806rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","700","0.659rem","0rem","none"]}},"EFFECTS|effect":{shadow:{"":["0px 0px 8px 0px rgba(0,0,0,0.27)"]},focus:{"":["0px 0px 0px 2px rgba(53,155,249,1)"]}},"ICONS|icon":{placeholder:{svg:[""]},clear:{svg:[""]},location:{svg:[""]},checkbox:{svg:[""]},radio:{svg:[""]},"checkbox-selected":{svg:[""]},"radio-selected":{svg:[""]},search:{svg:[""]},"checkbox-hover":{svg:[""]},"radio-hover":{svg:[""]},"checkbox-selected-hover":{svg:[""]},"radio-selected-hover":{svg:[""]},visible:{svg:[""]},hidden:{svg:[""]},"checkbox-disabled":{svg:[""]},"radio-disabled":{svg:[""]},"checkbox-selected-disabled":{svg:[""]},"radio-selected-disabled":{svg:[""]},"chevron-up":{svg:[""]},"chevron-down":{svg:[""]},"chevron-left":{svg:[""]},"chevron-right":{svg:[""]},"color-test":{svg:[""]}},"GRAPHICS|graphic":{},"LAYOUTS|":{spacing:{1:["0.625rem"]},col:{1:["8.3333%"]},colvw:{1:["8.3333vw"]}},"FONTS|font":{"proxima_nova condensed-700-normal":{"":["Proxima Nova Condensed","font-proxima_nova condensed-700-normal.otf","700","normal"]},"proxima_nova-700-normal":{"":["Proxima Nova","font-proxima_nova-700-normal.otf","700","normal"]},"proxima_nova-300-normal":{"":["Proxima Nova","font-proxima_nova-300-normal.otf","300","normal"]}},"BREAKPOINTS|breakpoint":{}},this.prefix="scw",this.uuid="433e53ec-bc1e-4403-b6c6-a508126d0304",this.initialized=!1,this.lookup,this.css_classes_root="",this.css_comp_suffix="",this.units=[0,1,2,3,4,5,6,7,8,9,10,11,12],this.subUnits=[0,3,4,6,8,9],this.subUnitAttachments=[0,1,2,3],this.config=e||{},this.version=this.config.version||!1,this.extraCssPromise=this.config.extraCssPromise||!1,this.assetsUrl=this.config.assetsUrl||!1,this.attributes=this.config.attributes||!0,this.classes=this.config.classes||!0,this.variablesOnly=this.config.variablesOnly||!1}async buildCss(){this.version&&(this.css_comp_suffix="-"+this.version),this.lookup={};let t=`/*
|
|
2
2
|
`,e="";return t=(t=(t=(t=(t=(t+=`* CREATED: ${new Date}
|
|
3
3
|
`)+`* VERSION: ${this.version}
|
|
4
4
|
`)+`* UUID: ${this.uuid}
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.YNLLA3ZB.js";import"../../chunks/chunk.J5OGWB43.js";import"../../chunks/chunk.75W5GH3K.js";import"../../chunks/chunk.33FSL7Y7.js";import"../../chunks/chunk.KBIUGQUO.js";import"../../chunks/chunk.XDWCNUEB.js";import"../../chunks/chunk.5YJY6NT6.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=ResponsiveElement.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk.
|
|
1
|
+
import{a,b}from"../../chunks/chunk.KBIUGQUO.js";import"../../chunks/chunk.XDWCNUEB.js";import"../../chunks/chunk.5YJY6NT6.js";export{b as breakpointLookup,a as breakpoints};
|
|
2
2
|
//# sourceMappingURL=breakpoints.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as u}from"../../chunks/chunk.
|
|
1
|
+
import{b as u}from"../../chunks/chunk.KBIUGQUO.js";import"../../chunks/chunk.XDWCNUEB.js";import"../../chunks/chunk.5YJY6NT6.js";function f(t){let r=t.responsiveInfo.attributes,o=[],m=0;for(let s=0;s<r.length;s++){let e=r[s],n=e.name,i=e.value;if(n.indexOf("style")===0)if(n==="style")o.push([`
|
|
2
2
|
.${t.uuid} {
|
|
3
3
|
${i}
|
|
4
4
|
}`,0]);else{m++;let c=n.split("-")[2],a=u()[c];if(a){let d=e.value;o.push([`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.75W5GH3K.js";import"../../chunks/chunk.KBIUGQUO.js";import"../../chunks/chunk.XDWCNUEB.js";import"../../chunks/chunk.5YJY6NT6.js";export{a as processAttributes};
|
|
2
2
|
//# sourceMappingURL=processAttributes.js.map
|
package/dist/utils/suffix.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.SHURDDW4.js";import"../chunks/chunk.7C4BKIQF.js";import"../chunks/chunk.T25QZW3W.js";import"../chunks/chunk.IHVBWZ57.js";import"../chunks/chunk.5YJY6NT6.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=suffix.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scu-web-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"description": "Summit Credit Union Design System components for use on member facing apps and websites",
|
|
5
5
|
"author": "srouse",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
-
"src/utils/responsive/
|
|
13
|
+
"src/utils/responsive/breakpointsData.mjs",
|
|
14
14
|
"scripts"
|
|
15
15
|
],
|
|
16
16
|
"module": "dist/index.js",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"build:watch": "yarn server",
|
|
31
31
|
"test": "web-test-runner \"src/**/*.test.ts\" --node-resolve",
|
|
32
32
|
"test:watch": "web-test-runner \"src/**/*.test.ts\" --node-resolve --watch",
|
|
33
|
-
"lint": "yarn scu-components-core lint"
|
|
33
|
+
"lint": "yarn scu-components-core lint",
|
|
34
|
+
"showlinks": "ls -lR node_modules | grep ^l"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@lit-labs/ssr": "2.2.2",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"readable-stream": "^3.6.0",
|
|
58
59
|
"resize-observer-polyfill": "^1.5.1",
|
|
59
60
|
"rgb-hex": "^4.0.0",
|
|
60
|
-
"scu-tokenizer": "0.7.
|
|
61
|
+
"scu-tokenizer": "0.7.18",
|
|
61
62
|
"sinon": "^14.0.0",
|
|
62
63
|
"static-params": "^0.2.1",
|
|
63
64
|
"yargs": "^17.4.1"
|
package/scripts/ssr.mjs
CHANGED
|
@@ -7,6 +7,13 @@ import fs from 'fs-extra';
|
|
|
7
7
|
import {readFile, writeFile} from 'fs/promises';
|
|
8
8
|
import glob from 'glob';
|
|
9
9
|
import '../dist/scw-components.js';// include all comps
|
|
10
|
+
import tokenizer from 'scu-tokenizer/dist/index.js';
|
|
11
|
+
import breakpoints from '../src/utils/responsive/breakpointsData.mjs';
|
|
12
|
+
import {fileURLToPath} from 'url';
|
|
13
|
+
import {dirname} from 'path';
|
|
14
|
+
|
|
15
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
16
|
+
const __dirname = dirname(__filename);
|
|
10
17
|
|
|
11
18
|
/**
|
|
12
19
|
* ssr
|
|
@@ -64,3 +71,19 @@ export async function ssrData(globStr = './src/**/ssr/*[!.ssr].html') {
|
|
|
64
71
|
});
|
|
65
72
|
}
|
|
66
73
|
|
|
74
|
+
/**
|
|
75
|
+
* ssrCss
|
|
76
|
+
* Creates a specific css file with just those classes used in source
|
|
77
|
+
* @param {string} include
|
|
78
|
+
* @param {string} dest
|
|
79
|
+
* @param {string} ignore
|
|
80
|
+
*/
|
|
81
|
+
export async function ssrCss(include, dest, ignore) {
|
|
82
|
+
await tokenizer.generateStyleSheet({
|
|
83
|
+
tokensFolder: `${__dirname}/../dist/tokens`,
|
|
84
|
+
destinationFile: dest,
|
|
85
|
+
include,
|
|
86
|
+
ignore,
|
|
87
|
+
breakpoints,
|
|
88
|
+
}).catch(console.error);
|
|
89
|
+
}
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk.RPACMUBY.js";import{a as m}from"./chunk.B7II36CO.js";import{b as i}from"./chunk.44PMNKPK.js";import{g as e}from"./chunk.5YJY6NT6.js";var t=class extends r{constructor(){super();this.submitType="submit";this.element="button",this.setAttribute("onclick","javascript:")}connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>{this.submitType==="submit"&&m("scw-submit-intent",this)})}};e([i({type:String,reflect:!0,attribute:"submit-type"})],t.prototype,"submitType",2);export{t as a};
|
|
2
|
-
//# sourceMappingURL=chunk.U6A3IKTV.js.map
|