@mhmo91/schmancy 0.2.200 → 0.2.202
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/ai/boat.md +118 -0
- package/ai/chips.md +89 -123
- package/dist/ai/boat.md +118 -0
- package/dist/ai/chips.md +89 -123
- package/dist/{animated-text-BZWvzqEZ.js → animated-text-BYS4ollO.js} +3 -3
- package/dist/{animated-text-BZWvzqEZ.js.map → animated-text-BYS4ollO.js.map} +1 -1
- package/dist/{animated-text-BgLktXr-.cjs → animated-text-jb8xtsKZ.cjs} +2 -2
- package/dist/{animated-text-BgLktXr-.cjs.map → animated-text-jb8xtsKZ.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-zvrF1R-P.js → area.component-DxNRxMvF.js} +4 -4
- package/dist/area.component-DxNRxMvF.js.map +1 -0
- package/dist/{area.component-CqKoQRDp.cjs → area.component-VivYGPFY.cjs} +3 -3
- package/dist/area.component-VivYGPFY.cjs.map +1 -0
- package/dist/area.js +1 -1
- package/dist/{autocomplete-CpYDECg0.js → autocomplete-Bau2LIoa.js} +3 -3
- package/dist/{autocomplete-CpYDECg0.js.map → autocomplete-Bau2LIoa.js.map} +1 -1
- package/dist/{autocomplete-BCE9oBkO.cjs → autocomplete-CfpLrL2J.cjs} +2 -2
- package/dist/{autocomplete-BCE9oBkO.cjs.map → autocomplete-CfpLrL2J.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-B_y2vLrR.cjs → avatar-CUD4cs6U.cjs} +2 -2
- package/dist/{avatar-B_y2vLrR.cjs.map → avatar-CUD4cs6U.cjs.map} +1 -1
- package/dist/{avatar-B_BubJYb.js → avatar-CsMJfDiv.js} +47 -46
- package/dist/{avatar-B_BubJYb.js.map → avatar-CsMJfDiv.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-BH_EwwX-.cjs +64 -0
- package/dist/boat-BH_EwwX-.cjs.map +1 -0
- package/dist/boat-CqW5lpYZ.js +95 -0
- package/dist/boat-CqW5lpYZ.js.map +1 -0
- package/dist/boat.cjs +2 -0
- package/dist/boat.cjs.map +1 -0
- package/dist/boat.js +5 -0
- package/dist/boat.js.map +1 -0
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-DATn1US_.cjs → checkbox-BPaB8gjl.cjs} +2 -2
- package/dist/{checkbox-DATn1US_.cjs.map → checkbox-BPaB8gjl.cjs.map} +1 -1
- package/dist/{checkbox-CJ6x-G_b.js → checkbox-DWzhuPa4.js} +6 -6
- package/dist/{checkbox-CJ6x-G_b.js.map → checkbox-DWzhuPa4.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-BbWIMKDU.cjs → chips-B_JKvtqB.cjs} +2 -2
- package/dist/{chips-BbWIMKDU.cjs.map → chips-B_JKvtqB.cjs.map} +1 -1
- package/dist/{chips-CcT1N7--.js → chips-K6z9BIbc.js} +9 -9
- package/dist/{chips-CcT1N7--.js.map → chips-K6z9BIbc.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/{circular-progress-JGc2_9ef.cjs → circular-progress-BG_EnVTn.cjs} +2 -2
- package/dist/{circular-progress-JGc2_9ef.cjs.map → circular-progress-BG_EnVTn.cjs.map} +1 -1
- package/dist/{circular-progress-Cs3G6PHo.js → circular-progress-irMd5G3E.js} +3 -3
- package/dist/{circular-progress-Cs3G6PHo.js.map → circular-progress-irMd5G3E.js.map} +1 -1
- package/dist/circular-progress.cjs +1 -1
- package/dist/circular-progress.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-DXf_SN2X.cjs → code-preview-BDi-9C_7.cjs} +14 -9
- package/dist/{code-preview-DXf_SN2X.cjs.map → code-preview-BDi-9C_7.cjs.map} +1 -1
- package/dist/{code-preview-BZ-uk6y1.js → code-preview-D_QJybDt.js} +129 -124
- package/dist/{code-preview-BZ-uk6y1.js.map → code-preview-D_QJybDt.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-D85imfq-.cjs → date-range--jCSlkf3.cjs} +2 -2
- package/dist/{date-range-D85imfq-.cjs.map → date-range--jCSlkf3.cjs.map} +1 -1
- package/dist/{date-range-Dt9V5MyB.js → date-range-B9UeIzcl.js} +3 -3
- package/dist/{date-range-Dt9V5MyB.js.map → date-range-B9UeIzcl.js.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-CE3iPMYG.js → delay-CCOKwDX3.js} +2 -2
- package/dist/{delay-CE3iPMYG.js.map → delay-CCOKwDX3.js.map} +1 -1
- package/dist/{delay-BH-y0tJg.cjs → delay-OOtwG41o.cjs} +2 -2
- package/dist/{delay-BH-y0tJg.cjs.map → delay-OOtwG41o.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{dialog-content-BQN75NSZ.cjs → dialog-content-B3kd79fM.cjs} +2 -2
- package/dist/{dialog-content-BQN75NSZ.cjs.map → dialog-content-B3kd79fM.cjs.map} +1 -1
- package/dist/{dialog-content-E5R1XfK5.js → dialog-content-BpvJPGA8.js} +3 -3
- package/dist/{dialog-content-E5R1XfK5.js.map → dialog-content-BpvJPGA8.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-BEtL0P-_.cjs → divider-Bf9Slnvo.cjs} +2 -2
- package/dist/{divider-BEtL0P-_.cjs.map → divider-Bf9Slnvo.cjs.map} +1 -1
- package/dist/{divider-BlSi0WWi.js → divider-CmpZyxZz.js} +3 -3
- package/dist/{divider-BlSi0WWi.js.map → divider-CmpZyxZz.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-DkKciM_R.js → dropdown-content-CU1cly-s.js} +3 -3
- package/dist/{dropdown-content-DkKciM_R.js.map → dropdown-content-CU1cly-s.js.map} +1 -1
- package/dist/{dropdown-content-HRI7Jkak.cjs → dropdown-content-DBk4DHeT.cjs} +2 -2
- package/dist/{dropdown-content-HRI7Jkak.cjs.map → dropdown-content-DBk4DHeT.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-DHA02Mfw.js → flex-CujhhojR.js} +2 -2
- package/dist/{flex-DHA02Mfw.js.map → flex-CujhhojR.js.map} +1 -1
- package/dist/{flex-CwTn3AfA.cjs → flex-W05LrmiY.cjs} +2 -2
- package/dist/{flex-CwTn3AfA.cjs.map → flex-W05LrmiY.cjs.map} +1 -1
- package/dist/{form-DsprWndI.js → form-BHEhndln.js} +2 -2
- package/dist/{form-DsprWndI.js.map → form-BHEhndln.js.map} +1 -1
- package/dist/{form-C9llOgOw.cjs → form-D99IyIWZ.cjs} +2 -2
- package/dist/{form-C9llOgOw.cjs.map → form-D99IyIWZ.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-D967cxey.js → icon-C200ch2d.js} +2 -2
- package/dist/{icon-D967cxey.js.map → icon-C200ch2d.js.map} +1 -1
- package/dist/{icon-B1vaqlkD.cjs → icon-DwMgmWET.cjs} +2 -2
- package/dist/{icon-B1vaqlkD.cjs.map → icon-DwMgmWET.cjs.map} +1 -1
- package/dist/{icon-button-C_OqjQfc.js → icon-button-CpaZ6Sl4.js} +3 -3
- package/dist/{icon-button-C_OqjQfc.js.map → icon-button-CpaZ6Sl4.js.map} +1 -1
- package/dist/{icon-button-D6RzSEQb.cjs → icon-button-DjdXn0i9.cjs} +2 -2
- package/dist/{icon-button-D6RzSEQb.cjs.map → icon-button-DjdXn0i9.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +157 -155
- package/dist/index.js.map +1 -1
- package/dist/{input-DschQCBp.cjs → input-BeOn-cgH.cjs} +2 -2
- package/dist/{input-DschQCBp.cjs.map → input-BeOn-cgH.cjs.map} +1 -1
- package/dist/{input-4heVsnGw.js → input-oJU4j5gv.js} +2 -2
- package/dist/{input-4heVsnGw.js.map → input-oJU4j5gv.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-B1bxSmd5.cjs → list-77ofKN4f.cjs} +2 -2
- package/dist/{list-B1bxSmd5.cjs.map → list-77ofKN4f.cjs.map} +1 -1
- package/dist/{list-DE1otSG3.js → list-DA5qfp5T.js} +2 -2
- package/dist/{list-DE1otSG3.js.map → list-DA5qfp5T.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-1-y-wwQg.js → litElement.mixin-BWl8md6o.js} +2 -2
- package/dist/{litElement.mixin-1-y-wwQg.js.map → litElement.mixin-BWl8md6o.js.map} +1 -1
- package/dist/{litElement.mixin-CB6DWbFn.cjs → litElement.mixin-DWxMKydc.cjs} +2 -2
- package/dist/{litElement.mixin-CB6DWbFn.cjs.map → litElement.mixin-DWxMKydc.cjs.map} +1 -1
- package/dist/{menu-TDH53RmV.cjs → menu-Bo6lczzN.cjs} +2 -2
- package/dist/{menu-TDH53RmV.cjs.map → menu-Bo6lczzN.cjs.map} +1 -1
- package/dist/{menu-B1qPlV2t.js → menu-DHJGkSYp.js} +3 -3
- package/dist/{menu-B1qPlV2t.js.map → menu-DHJGkSYp.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{notification-service-D2pgTqTS.js → notification-service-DzLqQyQY.js} +3 -3
- package/dist/{notification-service-D2pgTqTS.js.map → notification-service-DzLqQyQY.js.map} +1 -1
- package/dist/{notification-service-BKSRwonz.cjs → notification-service-WLfJOHGg.cjs} +2 -2
- package/dist/{notification-service-BKSRwonz.cjs.map → notification-service-WLfJOHGg.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-Q6l-t3es.cjs → option-D7kpmdEM.cjs} +2 -2
- package/dist/{option-Q6l-t3es.cjs.map → option-D7kpmdEM.cjs.map} +1 -1
- package/dist/{option-CLY6hO5V.js → option-DQpRizvO.js} +2 -2
- package/dist/{option-CLY6hO5V.js.map → option-DQpRizvO.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-BpaCnjrt.js → payment-card-form-BZLHY7HJ.js} +3 -3
- package/dist/{payment-card-form-BpaCnjrt.js.map → payment-card-form-BZLHY7HJ.js.map} +1 -1
- package/dist/{payment-card-form-V5eIamA9.cjs → payment-card-form-DfgGRWy8.cjs} +2 -2
- package/dist/{payment-card-form-V5eIamA9.cjs.map → payment-card-form-DfgGRWy8.cjs.map} +1 -1
- package/dist/{radio-button-CuTpkLr8.js → radio-button-BNpFaQX8.js} +2 -2
- package/dist/{radio-button-CuTpkLr8.js.map → radio-button-BNpFaQX8.js.map} +1 -1
- package/dist/{radio-button-Dm2I9Ic4.cjs → radio-button-BiHHYFbP.cjs} +2 -2
- package/dist/{radio-button-Dm2I9Ic4.cjs.map → radio-button-BiHHYFbP.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-DO4tx0KH.cjs → schmancy-steps-container-DhJWC3Lf.cjs} +2 -2
- package/dist/{schmancy-steps-container-DO4tx0KH.cjs.map → schmancy-steps-container-DhJWC3Lf.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-SrnYbTe-.js → schmancy-steps-container-idw6M7gT.js} +2 -2
- package/dist/{schmancy-steps-container-SrnYbTe-.js.map → schmancy-steps-container-idw6M7gT.js.map} +1 -1
- package/dist/{select-BJdRm5US.cjs → select-BQVRqkgK.cjs} +2 -2
- package/dist/{select-BJdRm5US.cjs.map → select-BQVRqkgK.cjs.map} +1 -1
- package/dist/{select-DfemPf0w.js → select-DV_tG6Z1.js} +3 -3
- package/dist/{select-DfemPf0w.js.map → select-DV_tG6Z1.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-Bvj7tapP.js → sheet-DGaUsOLM.js} +3 -3
- package/dist/{sheet-Bvj7tapP.js.map → sheet-DGaUsOLM.js.map} +1 -1
- package/dist/{sheet-BtaT1eui.cjs → sheet-Ds_huwa_.cjs} +2 -2
- package/dist/{sheet-BtaT1eui.cjs.map → sheet-Ds_huwa_.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-AQvRuZ-m.cjs → slider-CJINpiTK.cjs} +2 -2
- package/dist/{slider-AQvRuZ-m.cjs.map → slider-CJINpiTK.cjs.map} +1 -1
- package/dist/{slider-DAwHA6Az.js → slider-Cl30H-Ky.js} +3 -3
- package/dist/{slider-DAwHA6Az.js.map → slider-Cl30H-Ky.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-DrZuae0L.js → spinner-Dpo3W3c-.js} +3 -3
- package/dist/{spinner-DrZuae0L.js.map → spinner-Dpo3W3c-.js.map} +1 -1
- package/dist/{spinner-BLy3-lqb.cjs → spinner-uO1siKhB.cjs} +2 -2
- package/dist/{spinner-BLy3-lqb.cjs.map → spinner-uO1siKhB.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CAlEVfSs.js → surface-C6Krb1lv.js} +3 -3
- package/dist/{surface-CAlEVfSs.js.map → surface-C6Krb1lv.js.map} +1 -1
- package/dist/{surface-BOerTano.cjs → surface-JsTE_chE.cjs} +3 -3
- package/dist/{surface-BOerTano.cjs.map → surface-JsTE_chE.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-hjsAGpRq.js → table-Dbf_6MHf.js} +2 -2
- package/dist/{table-hjsAGpRq.js.map → table-Dbf_6MHf.js.map} +1 -1
- package/dist/{table-B3VrNQUV.cjs → table-ZmivCJrn.cjs} +2 -2
- package/dist/{table-B3VrNQUV.cjs.map → table-ZmivCJrn.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-D9ajXdXz.js → tabs-compatibility-CDMklQAm.js} +2 -2
- package/dist/{tabs-compatibility-D9ajXdXz.js.map → tabs-compatibility-CDMklQAm.js.map} +1 -1
- package/dist/{tabs-compatibility-DdXO8DcF.cjs → tabs-compatibility-CTswDDwq.cjs} +2 -2
- package/dist/{tabs-compatibility-DdXO8DcF.cjs.map → tabs-compatibility-CTswDDwq.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-B1NF3tDz.cjs +2 -0
- package/dist/{tailwind.mixin-mxyACxyp.cjs.map → tailwind.mixin-B1NF3tDz.cjs.map} +1 -1
- package/dist/tailwind.mixin-DRbXmwPy.js +43 -0
- package/dist/{tailwind.mixin-DPUboU_5.js.map → tailwind.mixin-DRbXmwPy.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-C16vg4ME.cjs → textarea-B5NhHUmB.cjs} +2 -2
- package/dist/{textarea-C16vg4ME.cjs.map → textarea-B5NhHUmB.cjs.map} +1 -1
- package/dist/{textarea-DqFx1pM1.js → textarea-BgIcOe2_.js} +2 -2
- package/dist/{textarea-DqFx1pM1.js.map → textarea-BgIcOe2_.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-CgZ5qc7_.cjs → theme-button-ByTuVI2m.cjs} +2 -2
- package/dist/{theme-button-CgZ5qc7_.cjs.map → theme-button-ByTuVI2m.cjs.map} +1 -1
- package/dist/{theme-button-D5fnf2QD.js → theme-button-CHfJgh_S.js} +2 -2
- package/dist/{theme-button-D5fnf2QD.js.map → theme-button-CHfJgh_S.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-BOnjDUB3.js → theme.component-BOA_RlkP.js} +2 -2
- package/dist/{theme.component-BOnjDUB3.js.map → theme.component-BOA_RlkP.js.map} +1 -1
- package/dist/{theme.component-B5uMqEbH.cjs → theme.component-Dqb12V2Y.cjs} +2 -2
- package/dist/{theme.component-B5uMqEbH.cjs.map → theme.component-Dqb12V2Y.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-CdAu8QsM.cjs → timezone-CeArJOdv.cjs} +2 -2
- package/dist/{timezone-CdAu8QsM.cjs.map → timezone-CeArJOdv.cjs.map} +1 -1
- package/dist/{timezone-DwU-YCRw.js → timezone-EnguJE1R.js} +3 -3
- package/dist/{timezone-DwU-YCRw.js.map → timezone-EnguJE1R.js.map} +1 -1
- package/dist/{tooltip-Bn-UWxd4.js → tooltip-beiWb2qf.js} +2 -2
- package/dist/{tooltip-Bn-UWxd4.js.map → tooltip-beiWb2qf.js.map} +1 -1
- package/dist/{tooltip-CyI3NYzI.cjs → tooltip-swpV3EIO.cjs} +2 -2
- package/dist/{tooltip-CyI3NYzI.cjs.map → tooltip-swpV3EIO.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-D2g2zq2B.js → tree-BJfdIGMP.js} +2 -2
- package/dist/{tree-D2g2zq2B.js.map → tree-BJfdIGMP.js.map} +1 -1
- package/dist/{tree-DdXcAF6S.cjs → tree-CwNbvxdt.cjs} +2 -2
- package/dist/{tree-DdXcAF6S.cjs.map → tree-CwNbvxdt.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-3w_PiJFo.js → typewriter-BAfCN_JJ.js} +4 -4
- package/dist/{typewriter-3w_PiJFo.js.map → typewriter-BAfCN_JJ.js.map} +1 -1
- package/dist/{typewriter-RVqJuWSv.cjs → typewriter-CQePZbSj.cjs} +2 -2
- package/dist/{typewriter-RVqJuWSv.cjs.map → typewriter-CQePZbSj.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/typography-CUv4DPU-.js +342 -0
- package/dist/typography-CUv4DPU-.js.map +1 -0
- package/dist/typography-DrDWI6Bh.cjs +318 -0
- package/dist/typography-DrDWI6Bh.cjs.map +1 -0
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +15 -15
- package/types/src/area/area.component.d.ts +1 -1
- package/types/src/area/router.types.d.ts +1 -1
- package/types/src/boat/boat.d.ts +12 -0
- package/types/src/boat/index.d.ts +1 -0
- package/types/src/index.d.ts +1 -0
- package/types/src/surface/surface.d.ts +1 -1
- package/types/src/typography/typography.d.ts +6 -5
- package/dist/area.component-CqKoQRDp.cjs.map +0 -1
- package/dist/area.component-zvrF1R-P.js.map +0 -1
- package/dist/tailwind.mixin-DPUboU_5.js +0 -43
- package/dist/tailwind.mixin-mxyACxyp.cjs +0 -2
- package/dist/typography-BLJPXhuT.cjs +0 -10
- package/dist/typography-BLJPXhuT.cjs.map +0 -1
- package/dist/typography-izBBu-t8.js +0 -37
- package/dist/typography-izBBu-t8.js.map +0 -1
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import "rxjs";
|
|
2
|
+
import "lit/directives/class-map.js";
|
|
3
|
+
import "lit/directives/style-map.js";
|
|
4
|
+
import { T as a } from "./tailwind.mixin-DRbXmwPy.js";
|
|
5
|
+
import { css as g, html as y } from "lit";
|
|
6
|
+
import { property as i, customElement as x } from "lit/decorators.js";
|
|
7
|
+
var f = Object.defineProperty, d = Object.getOwnPropertyDescriptor, e = (o, s, p, h) => {
|
|
8
|
+
for (var l, n = h > 1 ? void 0 : h ? d(s, p) : s, r = o.length - 1; r >= 0; r--) (l = o[r]) && (n = (h ? l(s, p, n) : l(n)) || n);
|
|
9
|
+
return h && n && f(s, p, n), n;
|
|
10
|
+
};
|
|
11
|
+
let t = class extends a(g`
|
|
12
|
+
:host {
|
|
13
|
+
display: inline;
|
|
14
|
+
font-family: inherit;
|
|
15
|
+
hyphens: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Display as block when flex/grid classes are applied */
|
|
19
|
+
:host(.flex) {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host(.inline-flex) {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host(.grid) {
|
|
28
|
+
display: grid;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host(.inline-grid) {
|
|
32
|
+
display: inline-grid;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host(.block) {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Text alignment */
|
|
40
|
+
:host([align='center']) {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([align='left']) {
|
|
45
|
+
text-align: start;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([align='right']) {
|
|
49
|
+
text-align: right;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([align='justify']) {
|
|
53
|
+
text-align: justify;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Max lines / line clamping */
|
|
57
|
+
:host([max-lines='1']) {
|
|
58
|
+
display: -webkit-box;
|
|
59
|
+
-webkit-line-clamp: 1;
|
|
60
|
+
-webkit-box-orient: vertical;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([max-lines='2']) {
|
|
65
|
+
display: -webkit-box;
|
|
66
|
+
-webkit-line-clamp: 2;
|
|
67
|
+
-webkit-box-orient: vertical;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host([max-lines='3']) {
|
|
72
|
+
display: -webkit-box;
|
|
73
|
+
-webkit-line-clamp: 3;
|
|
74
|
+
-webkit-box-orient: vertical;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
:host([max-lines='4']) {
|
|
79
|
+
display: -webkit-box;
|
|
80
|
+
-webkit-line-clamp: 4;
|
|
81
|
+
-webkit-box-orient: vertical;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host([max-lines='5']) {
|
|
86
|
+
display: -webkit-box;
|
|
87
|
+
-webkit-line-clamp: 5;
|
|
88
|
+
-webkit-box-orient: vertical;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([max-lines='6']) {
|
|
93
|
+
display: -webkit-box;
|
|
94
|
+
-webkit-line-clamp: 6;
|
|
95
|
+
-webkit-box-orient: vertical;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Font weight */
|
|
100
|
+
:host([weight='bold']) {
|
|
101
|
+
font-weight: 700;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host([weight='medium']) {
|
|
105
|
+
font-weight: 500;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:host([weight='normal']) {
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Text transform */
|
|
113
|
+
:host([transform='uppercase']) {
|
|
114
|
+
text-transform: uppercase;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host([transform='lowercase']) {
|
|
118
|
+
text-transform: lowercase;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:host([transform='capitalize']) {
|
|
122
|
+
text-transform: capitalize;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:host([transform='normal']) {
|
|
126
|
+
text-transform: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Display typography variants - Material Design 3 + Extended */
|
|
130
|
+
:host([type='display'][token='xl']) {
|
|
131
|
+
font-size: 72px;
|
|
132
|
+
line-height: 80px;
|
|
133
|
+
font-weight: 400;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([type='display'][token='lg']) {
|
|
137
|
+
font-size: 57px;
|
|
138
|
+
line-height: 64px;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([type='display'][token='md']) {
|
|
143
|
+
font-size: 45px;
|
|
144
|
+
line-height: 52px;
|
|
145
|
+
font-weight: 400;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([type='display'][token='sm']) {
|
|
149
|
+
font-size: 36px;
|
|
150
|
+
line-height: 44px;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:host([type='display'][token='xs']) {
|
|
155
|
+
font-size: 28px;
|
|
156
|
+
line-height: 36px;
|
|
157
|
+
font-weight: 400;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Headline typography variants - Material Design 3 + Extended */
|
|
161
|
+
:host([type='headline'][token='xl']) {
|
|
162
|
+
font-size: 36px;
|
|
163
|
+
line-height: 44px;
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host([type='headline'][token='lg']) {
|
|
168
|
+
font-size: 32px;
|
|
169
|
+
line-height: 40px;
|
|
170
|
+
font-weight: 400;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
:host([type='headline'][token='md']) {
|
|
174
|
+
font-size: 28px;
|
|
175
|
+
line-height: 36px;
|
|
176
|
+
font-weight: 400;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([type='headline'][token='sm']) {
|
|
180
|
+
font-size: 24px;
|
|
181
|
+
line-height: 32px;
|
|
182
|
+
font-weight: 400;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([type='headline'][token='xs']) {
|
|
186
|
+
font-size: 20px;
|
|
187
|
+
line-height: 28px;
|
|
188
|
+
font-weight: 400;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Title typography variants - Material Design 3 + Extended */
|
|
192
|
+
:host([type='title'][token='xl']) {
|
|
193
|
+
font-size: 24px;
|
|
194
|
+
line-height: 32px;
|
|
195
|
+
font-weight: 400;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
:host([type='title'][token='lg']) {
|
|
199
|
+
font-size: 22px;
|
|
200
|
+
line-height: 28px;
|
|
201
|
+
font-weight: 400;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([type='title'][token='md']) {
|
|
205
|
+
font-size: 16px;
|
|
206
|
+
line-height: 24px;
|
|
207
|
+
font-weight: 500;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([type='title'][token='sm']) {
|
|
211
|
+
font-size: 14px;
|
|
212
|
+
line-height: 20px;
|
|
213
|
+
font-weight: 500;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
:host([type='title'][token='xs']) {
|
|
217
|
+
font-size: 12px;
|
|
218
|
+
line-height: 16px;
|
|
219
|
+
font-weight: 500;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Subtitle typography variants - Extended from Material Design 3 */
|
|
223
|
+
:host([type='subtitle'][token='xl']) {
|
|
224
|
+
font-size: 20px;
|
|
225
|
+
line-height: 28px;
|
|
226
|
+
font-weight: 500;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
:host([type='subtitle'][token='lg']) {
|
|
230
|
+
font-size: 18px;
|
|
231
|
+
line-height: 24px;
|
|
232
|
+
font-weight: 500;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:host([type='subtitle'][token='md']) {
|
|
236
|
+
font-size: 16px;
|
|
237
|
+
line-height: 24px;
|
|
238
|
+
font-weight: 500;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
:host([type='subtitle'][token='sm']) {
|
|
242
|
+
font-size: 14px;
|
|
243
|
+
line-height: 20px;
|
|
244
|
+
font-weight: 500;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
:host([type='subtitle'][token='xs']) {
|
|
248
|
+
font-size: 12px;
|
|
249
|
+
line-height: 16px;
|
|
250
|
+
font-weight: 500;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Body typography variants - Material Design 3 + Extended */
|
|
254
|
+
:host([type='body'][token='xl']) {
|
|
255
|
+
font-size: 18px;
|
|
256
|
+
line-height: 28px;
|
|
257
|
+
font-weight: 400;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
:host([type='body'][token='lg']) {
|
|
261
|
+
font-size: 16px;
|
|
262
|
+
line-height: 24px;
|
|
263
|
+
font-weight: 400;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:host([type='body'][token='md']) {
|
|
267
|
+
font-size: 14px;
|
|
268
|
+
line-height: 20px;
|
|
269
|
+
font-weight: 400;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
:host([type='body'][token='sm']) {
|
|
273
|
+
font-size: 12px;
|
|
274
|
+
line-height: 16px;
|
|
275
|
+
font-weight: 400;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host([type='body'][token='xs']) {
|
|
279
|
+
font-size: 10px;
|
|
280
|
+
line-height: 14px;
|
|
281
|
+
font-weight: 400;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* Label typography variants - Material Design 3 + Extended */
|
|
285
|
+
:host([type='label'][token='xl']) {
|
|
286
|
+
font-size: 16px;
|
|
287
|
+
line-height: 22px;
|
|
288
|
+
font-weight: 500;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host([type='label'][token='lg']) {
|
|
292
|
+
font-size: 14px;
|
|
293
|
+
line-height: 20px;
|
|
294
|
+
font-weight: 500;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
:host([type='label'][token='md']) {
|
|
298
|
+
font-size: 12px;
|
|
299
|
+
line-height: 16px;
|
|
300
|
+
font-weight: 500;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
:host([type='label'][token='sm']) {
|
|
304
|
+
font-size: 11px;
|
|
305
|
+
line-height: 16px;
|
|
306
|
+
font-weight: 500;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
:host([type='label'][token='xs']) {
|
|
310
|
+
font-size: 10px;
|
|
311
|
+
line-height: 14px;
|
|
312
|
+
font-weight: 500;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Custom properties for dynamic values */
|
|
316
|
+
:host([letter-spacing]) {
|
|
317
|
+
letter-spacing: var(--typography-letter-spacing);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:host([font-size]) {
|
|
321
|
+
font-size: var(--typography-font-size);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
:host([line-height]) {
|
|
325
|
+
line-height: var(--typography-line-height);
|
|
326
|
+
}
|
|
327
|
+
`) {
|
|
328
|
+
constructor() {
|
|
329
|
+
super(...arguments), this.type = "body", this.token = "md";
|
|
330
|
+
}
|
|
331
|
+
updated(o) {
|
|
332
|
+
super.updated(o), o.has("letterSpacing") && this.letterSpacing && this.style.setProperty("--typography-letter-spacing", this.letterSpacing), o.has("fontSize") && this.fontSize && this.style.setProperty("--typography-font-size", this.fontSize), o.has("lineHeight") && this.lineHeight && this.style.setProperty("--typography-line-height", this.lineHeight);
|
|
333
|
+
}
|
|
334
|
+
render() {
|
|
335
|
+
return y`<slot></slot>`;
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
e([i({ type: String, reflect: !0 })], t.prototype, "type", 2), e([i({ type: String, reflect: !0 })], t.prototype, "token", 2), e([i({ type: String, reflect: !0 })], t.prototype, "align", 2), e([i({ type: String, reflect: !0 })], t.prototype, "weight", 2), e([i({ type: String, attribute: "line-height", reflect: !0 })], t.prototype, "lineHeight", 2), e([i({ type: String, reflect: !0 })], t.prototype, "transform", 2), e([i({ type: Number, attribute: "max-lines", reflect: !0 })], t.prototype, "maxLines", 2), e([i({ type: String, attribute: "letter-spacing", reflect: !0 })], t.prototype, "letterSpacing", 2), e([i({ type: String, attribute: "font-size", reflect: !0 })], t.prototype, "fontSize", 2), t = e([x("schmancy-typography")], t);
|
|
339
|
+
export {
|
|
340
|
+
t as S
|
|
341
|
+
};
|
|
342
|
+
//# sourceMappingURL=typography-CUv4DPU-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography-CUv4DPU-.js","sources":["../src/typography/typography.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\n// Material Design 3 typography - https://m3.material.io/styles/typography/type-scale-tokens\n\n/**\n * @element schmancy-typography\n * @slot - The text for the typography.\n */\n@customElement('schmancy-typography')\nexport class SchmancyTypography extends TailwindElement(css`\n\t:host {\n\t\tdisplay: inline;\n\t\tfont-family: inherit;\n\t\thyphens: none;\n\t}\n\n\t/* Display as block when flex/grid classes are applied */\n\t:host(.flex) {\n\t\tdisplay: flex;\n\t}\n\n\t:host(.inline-flex) {\n\t\tdisplay: inline-flex;\n\t}\n\n\t:host(.grid) {\n\t\tdisplay: grid;\n\t}\n\n\t:host(.inline-grid) {\n\t\tdisplay: inline-grid;\n\t}\n\n\t:host(.block) {\n\t\tdisplay: block;\n\t}\n\n\t/* Text alignment */\n\t:host([align='center']) {\n\t\ttext-align: center;\n\t}\n\n\t:host([align='left']) {\n\t\ttext-align: start;\n\t}\n\n\t:host([align='right']) {\n\t\ttext-align: right;\n\t}\n\n\t:host([align='justify']) {\n\t\ttext-align: justify;\n\t}\n\n\t/* Max lines / line clamping */\n\t:host([max-lines='1']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 1;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t:host([max-lines='2']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 2;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t:host([max-lines='3']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 3;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t:host([max-lines='4']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 4;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t:host([max-lines='5']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 5;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t:host([max-lines='6']) {\n\t\tdisplay: -webkit-box;\n\t\t-webkit-line-clamp: 6;\n\t\t-webkit-box-orient: vertical;\n\t\toverflow: hidden;\n\t}\n\n\t/* Font weight */\n\t:host([weight='bold']) {\n\t\tfont-weight: 700;\n\t}\n\n\t:host([weight='medium']) {\n\t\tfont-weight: 500;\n\t}\n\n\t:host([weight='normal']) {\n\t\tfont-weight: 400;\n\t}\n\n\t/* Text transform */\n\t:host([transform='uppercase']) {\n\t\ttext-transform: uppercase;\n\t}\n\n\t:host([transform='lowercase']) {\n\t\ttext-transform: lowercase;\n\t}\n\n\t:host([transform='capitalize']) {\n\t\ttext-transform: capitalize;\n\t}\n\n\t:host([transform='normal']) {\n\t\ttext-transform: none;\n\t}\n\n\t/* Display typography variants - Material Design 3 + Extended */\n\t:host([type='display'][token='xl']) {\n\t\tfont-size: 72px;\n\t\tline-height: 80px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='display'][token='lg']) {\n\t\tfont-size: 57px;\n\t\tline-height: 64px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='display'][token='md']) {\n\t\tfont-size: 45px;\n\t\tline-height: 52px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='display'][token='sm']) {\n\t\tfont-size: 36px;\n\t\tline-height: 44px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='display'][token='xs']) {\n\t\tfont-size: 28px;\n\t\tline-height: 36px;\n\t\tfont-weight: 400;\n\t}\n\n\t/* Headline typography variants - Material Design 3 + Extended */\n\t:host([type='headline'][token='xl']) {\n\t\tfont-size: 36px;\n\t\tline-height: 44px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='headline'][token='lg']) {\n\t\tfont-size: 32px;\n\t\tline-height: 40px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='headline'][token='md']) {\n\t\tfont-size: 28px;\n\t\tline-height: 36px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='headline'][token='sm']) {\n\t\tfont-size: 24px;\n\t\tline-height: 32px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='headline'][token='xs']) {\n\t\tfont-size: 20px;\n\t\tline-height: 28px;\n\t\tfont-weight: 400;\n\t}\n\n\t/* Title typography variants - Material Design 3 + Extended */\n\t:host([type='title'][token='xl']) {\n\t\tfont-size: 24px;\n\t\tline-height: 32px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='title'][token='lg']) {\n\t\tfont-size: 22px;\n\t\tline-height: 28px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='title'][token='md']) {\n\t\tfont-size: 16px;\n\t\tline-height: 24px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='title'][token='sm']) {\n\t\tfont-size: 14px;\n\t\tline-height: 20px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='title'][token='xs']) {\n\t\tfont-size: 12px;\n\t\tline-height: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t/* Subtitle typography variants - Extended from Material Design 3 */\n\t:host([type='subtitle'][token='xl']) {\n\t\tfont-size: 20px;\n\t\tline-height: 28px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='subtitle'][token='lg']) {\n\t\tfont-size: 18px;\n\t\tline-height: 24px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='subtitle'][token='md']) {\n\t\tfont-size: 16px;\n\t\tline-height: 24px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='subtitle'][token='sm']) {\n\t\tfont-size: 14px;\n\t\tline-height: 20px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='subtitle'][token='xs']) {\n\t\tfont-size: 12px;\n\t\tline-height: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t/* Body typography variants - Material Design 3 + Extended */\n\t:host([type='body'][token='xl']) {\n\t\tfont-size: 18px;\n\t\tline-height: 28px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='body'][token='lg']) {\n\t\tfont-size: 16px;\n\t\tline-height: 24px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='body'][token='md']) {\n\t\tfont-size: 14px;\n\t\tline-height: 20px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='body'][token='sm']) {\n\t\tfont-size: 12px;\n\t\tline-height: 16px;\n\t\tfont-weight: 400;\n\t}\n\n\t:host([type='body'][token='xs']) {\n\t\tfont-size: 10px;\n\t\tline-height: 14px;\n\t\tfont-weight: 400;\n\t}\n\n\t/* Label typography variants - Material Design 3 + Extended */\n\t:host([type='label'][token='xl']) {\n\t\tfont-size: 16px;\n\t\tline-height: 22px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='label'][token='lg']) {\n\t\tfont-size: 14px;\n\t\tline-height: 20px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='label'][token='md']) {\n\t\tfont-size: 12px;\n\t\tline-height: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='label'][token='sm']) {\n\t\tfont-size: 11px;\n\t\tline-height: 16px;\n\t\tfont-weight: 500;\n\t}\n\n\t:host([type='label'][token='xs']) {\n\t\tfont-size: 10px;\n\t\tline-height: 14px;\n\t\tfont-weight: 500;\n\t}\n\n\t/* Custom properties for dynamic values */\n\t:host([letter-spacing]) {\n\t\tletter-spacing: var(--typography-letter-spacing);\n\t}\n\n\t:host([font-size]) {\n\t\tfont-size: var(--typography-font-size);\n\t}\n\n\t:host([line-height]) {\n\t\tline-height: var(--typography-line-height);\n\t}\n`) {\n\t/**\n\t * @attr type - The type of the typography.\n\t * @default 'body'\n\t * @type {'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label'}\n\t */\n\t@property({ type: String, reflect: true })\n\ttype: 'display' | 'headline' | 'title' | 'subtitle' | 'body' | 'label' = 'body'\n\n\t/**\n\t * @attr token - The token of the typography.\n\t * @default 'md'\n\t * @type {'xs' | 'sm' | 'md' | 'lg' | 'xl'}\n\t */\n\t@property({ type: String, reflect: true })\n\ttoken: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = 'md'\n\n\t/**\n\t * @attr\n\t * @default inherit\n\t * @type {'left' |'center' |'right'}\n\t */\n\t@property({ type: String, reflect: true })\n\talign: 'left' | 'center' | 'justify' | 'right' | undefined\n\n\t/**\n\t * @attr\n\t * @default inherit\n\t * @type {'normal' | 'medium' |'bold'}\n\t * @public\n\t */\n\t@property({ type: String, reflect: true })\n\tweight: 'normal' | 'medium' | 'bold' | undefined\n\n\t@property({ type: String, attribute: 'line-height', reflect: true }) \n\tlineHeight: string | undefined\n\t\n\t/**\n\t *\n\t * @attr\n\t * @default inherit\n\t * @type {'uppercase' |'lowercase' |'capitalize' |'normal'}\n\t * @public\n\t */\n\t@property({ type: String, reflect: true }) \n\ttransform: 'uppercase' | 'lowercase' | 'capitalize' | 'normal' | undefined\n\n\t@property({ type: Number, attribute: 'max-lines', reflect: true }) \n\tmaxLines: 1 | 2 | 3 | 4 | 5 | 6 | undefined\n\n\t@property({ type: String, attribute: 'letter-spacing', reflect: true }) \n\tletterSpacing: string | undefined\n\t\n\t@property({ type: String, attribute: 'font-size', reflect: true }) \n\tfontSize: string | undefined\n\n\tupdated(changedProperties: Map<string | number | symbol, unknown>) {\n\t\tsuper.updated(changedProperties)\n\t\t\n\t\t// Update CSS custom properties for dynamic values\n\t\tif (changedProperties.has('letterSpacing') && this.letterSpacing) {\n\t\t\tthis.style.setProperty('--typography-letter-spacing', this.letterSpacing)\n\t\t}\n\t\t\n\t\tif (changedProperties.has('fontSize') && this.fontSize) {\n\t\t\tthis.style.setProperty('--typography-font-size', this.fontSize)\n\t\t}\n\t\t\n\t\tif (changedProperties.has('lineHeight') && this.lineHeight) {\n\t\t\tthis.style.setProperty('--typography-line-height', this.lineHeight)\n\t\t}\n\t}\n\n\trender() {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-typography': SchmancyTypography\n\t}\n}"],"names":["SchmancyTypography","TailwindElement","css","super","arguments","this","type","token","changedProperties","updated","has","letterSpacing","style","setProperty","fontSize","lineHeight","html","__decorateClass","property","String","reflect","prototype","attribute","Number","customElement"],"mappings":";;;;;;;;;;AAWa,IAAAA,IAAN,cAAiCC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAAjD,EAAA;AAAA,EAAA;AAAAC,UAAAC,GAAAA,SAAAA,GAmUmEC,KAAAC,OAAA,QAQ/BD,KAAAE,QAAA;AAAA,EAAA;AAAA,EAyC1C,QAAQC,GACPL;AAAAA,UAAMM,QAAQD,CAGVA,GAAAA,EAAkBE,IAAI,eAAoBL,KAAAA,KAAKM,iBAClDN,KAAKO,MAAMC,YAAY,+BAA+BR,KAAKM,aAGxDH,GAAAA,EAAkBE,IAAI,UAAeL,KAAAA,KAAKS,YAC7CT,KAAKO,MAAMC,YAAY,0BAA0BR,KAAKS,WAGnDN,EAAkBE,IAAI,iBAAiBL,KAAKU,cAC/CV,KAAKO,MAAMC,YAAY,4BAA4BR,KAAKU;EACzD;AAAA,EAGD;AACQ,WAAAC;AAAAA,EAAA;AAAA;AAnERC,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQC,YAlUdpB,CAAAA,CAAAA,GAAAA,EAmUZqB,WAAA,QAAA,IAQAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQC,SAAS,GAAA,CAAA,CAAA,GA1UvBpB,EA2UZqB,WAAA,SAAA,IAQAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQC,SAAS,GAAA,CAAA,CAAA,GAlVvBpB,EAmVZqB,WAAA,SAAA,CASAJ,GAAAA,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQC,SAAAA,GA3VdpB,CAAAA,CAAAA,GAAAA,EA4VZqB,WAAA,UAAA,CAAA,GAGAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQG,WAAW,eAAeF,YA9VxCpB,CAAAA,CAAAA,GAAAA,EA+VZqB,WAAA,cAAA,CAAA,GAUAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQC,YAxWdpB,CAAAA,CAAAA,GAAAA,EAyWZqB,WAAA,aAAA,CAAA,GAGAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMiB,QAAQD,WAAW,aAAaF,YA3WtCpB,CAAAA,CAAAA,GAAAA,EA4WZqB,WAAA,YAAA,CAAA,GAGAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQG,WAAW,kBAAkBF,SAAAA,QA9W3CpB,EA+WZqB,WAAA,iBAAA,CAAA,GAGAJ,EAAA,CADCC,EAAS,EAAEZ,MAAMa,QAAQG,WAAW,aAAaF,SAAAA,QAjXtCpB,EAkXZqB,WAAA,YAAA,CAlXYrB,GAAAA,IAANiB,EAAA,CADNO,EAAc,yBACFxB;"}
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
"use strict";require("rxjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const a=require("./tailwind.mixin-B1NF3tDz.cjs"),r=require("lit"),t=require("lit/decorators.js");var y=Object.defineProperty,g=Object.getOwnPropertyDescriptor,e=(i,n,h,p)=>{for(var s,o=p>1?void 0:p?g(n,h):n,l=i.length-1;l>=0;l--)(s=i[l])&&(o=(p?s(n,h,o):s(o))||o);return p&&o&&y(n,h,o),o};exports.SchmancyTypography=class extends a.TailwindElement(r.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: inline;
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
hyphens: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Display as block when flex/grid classes are applied */
|
|
9
|
+
:host(.flex) {
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host(.inline-flex) {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host(.grid) {
|
|
18
|
+
display: grid;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host(.inline-grid) {
|
|
22
|
+
display: inline-grid;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host(.block) {
|
|
26
|
+
display: block;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Text alignment */
|
|
30
|
+
:host([align='center']) {
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([align='left']) {
|
|
35
|
+
text-align: start;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host([align='right']) {
|
|
39
|
+
text-align: right;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host([align='justify']) {
|
|
43
|
+
text-align: justify;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Max lines / line clamping */
|
|
47
|
+
:host([max-lines='1']) {
|
|
48
|
+
display: -webkit-box;
|
|
49
|
+
-webkit-line-clamp: 1;
|
|
50
|
+
-webkit-box-orient: vertical;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host([max-lines='2']) {
|
|
55
|
+
display: -webkit-box;
|
|
56
|
+
-webkit-line-clamp: 2;
|
|
57
|
+
-webkit-box-orient: vertical;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:host([max-lines='3']) {
|
|
62
|
+
display: -webkit-box;
|
|
63
|
+
-webkit-line-clamp: 3;
|
|
64
|
+
-webkit-box-orient: vertical;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([max-lines='4']) {
|
|
69
|
+
display: -webkit-box;
|
|
70
|
+
-webkit-line-clamp: 4;
|
|
71
|
+
-webkit-box-orient: vertical;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host([max-lines='5']) {
|
|
76
|
+
display: -webkit-box;
|
|
77
|
+
-webkit-line-clamp: 5;
|
|
78
|
+
-webkit-box-orient: vertical;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([max-lines='6']) {
|
|
83
|
+
display: -webkit-box;
|
|
84
|
+
-webkit-line-clamp: 6;
|
|
85
|
+
-webkit-box-orient: vertical;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Font weight */
|
|
90
|
+
:host([weight='bold']) {
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:host([weight='medium']) {
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:host([weight='normal']) {
|
|
99
|
+
font-weight: 400;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Text transform */
|
|
103
|
+
:host([transform='uppercase']) {
|
|
104
|
+
text-transform: uppercase;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host([transform='lowercase']) {
|
|
108
|
+
text-transform: lowercase;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host([transform='capitalize']) {
|
|
112
|
+
text-transform: capitalize;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([transform='normal']) {
|
|
116
|
+
text-transform: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Display typography variants - Material Design 3 + Extended */
|
|
120
|
+
:host([type='display'][token='xl']) {
|
|
121
|
+
font-size: 72px;
|
|
122
|
+
line-height: 80px;
|
|
123
|
+
font-weight: 400;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([type='display'][token='lg']) {
|
|
127
|
+
font-size: 57px;
|
|
128
|
+
line-height: 64px;
|
|
129
|
+
font-weight: 400;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host([type='display'][token='md']) {
|
|
133
|
+
font-size: 45px;
|
|
134
|
+
line-height: 52px;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([type='display'][token='sm']) {
|
|
139
|
+
font-size: 36px;
|
|
140
|
+
line-height: 44px;
|
|
141
|
+
font-weight: 400;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
:host([type='display'][token='xs']) {
|
|
145
|
+
font-size: 28px;
|
|
146
|
+
line-height: 36px;
|
|
147
|
+
font-weight: 400;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Headline typography variants - Material Design 3 + Extended */
|
|
151
|
+
:host([type='headline'][token='xl']) {
|
|
152
|
+
font-size: 36px;
|
|
153
|
+
line-height: 44px;
|
|
154
|
+
font-weight: 400;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:host([type='headline'][token='lg']) {
|
|
158
|
+
font-size: 32px;
|
|
159
|
+
line-height: 40px;
|
|
160
|
+
font-weight: 400;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host([type='headline'][token='md']) {
|
|
164
|
+
font-size: 28px;
|
|
165
|
+
line-height: 36px;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:host([type='headline'][token='sm']) {
|
|
170
|
+
font-size: 24px;
|
|
171
|
+
line-height: 32px;
|
|
172
|
+
font-weight: 400;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([type='headline'][token='xs']) {
|
|
176
|
+
font-size: 20px;
|
|
177
|
+
line-height: 28px;
|
|
178
|
+
font-weight: 400;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Title typography variants - Material Design 3 + Extended */
|
|
182
|
+
:host([type='title'][token='xl']) {
|
|
183
|
+
font-size: 24px;
|
|
184
|
+
line-height: 32px;
|
|
185
|
+
font-weight: 400;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host([type='title'][token='lg']) {
|
|
189
|
+
font-size: 22px;
|
|
190
|
+
line-height: 28px;
|
|
191
|
+
font-weight: 400;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:host([type='title'][token='md']) {
|
|
195
|
+
font-size: 16px;
|
|
196
|
+
line-height: 24px;
|
|
197
|
+
font-weight: 500;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([type='title'][token='sm']) {
|
|
201
|
+
font-size: 14px;
|
|
202
|
+
line-height: 20px;
|
|
203
|
+
font-weight: 500;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
:host([type='title'][token='xs']) {
|
|
207
|
+
font-size: 12px;
|
|
208
|
+
line-height: 16px;
|
|
209
|
+
font-weight: 500;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Subtitle typography variants - Extended from Material Design 3 */
|
|
213
|
+
:host([type='subtitle'][token='xl']) {
|
|
214
|
+
font-size: 20px;
|
|
215
|
+
line-height: 28px;
|
|
216
|
+
font-weight: 500;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([type='subtitle'][token='lg']) {
|
|
220
|
+
font-size: 18px;
|
|
221
|
+
line-height: 24px;
|
|
222
|
+
font-weight: 500;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
:host([type='subtitle'][token='md']) {
|
|
226
|
+
font-size: 16px;
|
|
227
|
+
line-height: 24px;
|
|
228
|
+
font-weight: 500;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
:host([type='subtitle'][token='sm']) {
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
line-height: 20px;
|
|
234
|
+
font-weight: 500;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
:host([type='subtitle'][token='xs']) {
|
|
238
|
+
font-size: 12px;
|
|
239
|
+
line-height: 16px;
|
|
240
|
+
font-weight: 500;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Body typography variants - Material Design 3 + Extended */
|
|
244
|
+
:host([type='body'][token='xl']) {
|
|
245
|
+
font-size: 18px;
|
|
246
|
+
line-height: 28px;
|
|
247
|
+
font-weight: 400;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
:host([type='body'][token='lg']) {
|
|
251
|
+
font-size: 16px;
|
|
252
|
+
line-height: 24px;
|
|
253
|
+
font-weight: 400;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
:host([type='body'][token='md']) {
|
|
257
|
+
font-size: 14px;
|
|
258
|
+
line-height: 20px;
|
|
259
|
+
font-weight: 400;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
:host([type='body'][token='sm']) {
|
|
263
|
+
font-size: 12px;
|
|
264
|
+
line-height: 16px;
|
|
265
|
+
font-weight: 400;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
:host([type='body'][token='xs']) {
|
|
269
|
+
font-size: 10px;
|
|
270
|
+
line-height: 14px;
|
|
271
|
+
font-weight: 400;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/* Label typography variants - Material Design 3 + Extended */
|
|
275
|
+
:host([type='label'][token='xl']) {
|
|
276
|
+
font-size: 16px;
|
|
277
|
+
line-height: 22px;
|
|
278
|
+
font-weight: 500;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
:host([type='label'][token='lg']) {
|
|
282
|
+
font-size: 14px;
|
|
283
|
+
line-height: 20px;
|
|
284
|
+
font-weight: 500;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
:host([type='label'][token='md']) {
|
|
288
|
+
font-size: 12px;
|
|
289
|
+
line-height: 16px;
|
|
290
|
+
font-weight: 500;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:host([type='label'][token='sm']) {
|
|
294
|
+
font-size: 11px;
|
|
295
|
+
line-height: 16px;
|
|
296
|
+
font-weight: 500;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:host([type='label'][token='xs']) {
|
|
300
|
+
font-size: 10px;
|
|
301
|
+
line-height: 14px;
|
|
302
|
+
font-weight: 500;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Custom properties for dynamic values */
|
|
306
|
+
:host([letter-spacing]) {
|
|
307
|
+
letter-spacing: var(--typography-letter-spacing);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
:host([font-size]) {
|
|
311
|
+
font-size: var(--typography-font-size);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:host([line-height]) {
|
|
315
|
+
line-height: var(--typography-line-height);
|
|
316
|
+
}
|
|
317
|
+
`){constructor(){super(...arguments),this.type="body",this.token="md"}updated(i){super.updated(i),i.has("letterSpacing")&&this.letterSpacing&&this.style.setProperty("--typography-letter-spacing",this.letterSpacing),i.has("fontSize")&&this.fontSize&&this.style.setProperty("--typography-font-size",this.fontSize),i.has("lineHeight")&&this.lineHeight&&this.style.setProperty("--typography-line-height",this.lineHeight)}render(){return r.html`<slot></slot>`}},e([t.property({type:String,reflect:!0})],exports.SchmancyTypography.prototype,"type",2),e([t.property({type:String,reflect:!0})],exports.SchmancyTypography.prototype,"token",2),e([t.property({type:String,reflect:!0})],exports.SchmancyTypography.prototype,"align",2),e([t.property({type:String,reflect:!0})],exports.SchmancyTypography.prototype,"weight",2),e([t.property({type:String,attribute:"line-height",reflect:!0})],exports.SchmancyTypography.prototype,"lineHeight",2),e([t.property({type:String,reflect:!0})],exports.SchmancyTypography.prototype,"transform",2),e([t.property({type:Number,attribute:"max-lines",reflect:!0})],exports.SchmancyTypography.prototype,"maxLines",2),e([t.property({type:String,attribute:"letter-spacing",reflect:!0})],exports.SchmancyTypography.prototype,"letterSpacing",2),e([t.property({type:String,attribute:"font-size",reflect:!0})],exports.SchmancyTypography.prototype,"fontSize",2),exports.SchmancyTypography=e([t.customElement("schmancy-typography")],exports.SchmancyTypography);
|
|
318
|
+
//# sourceMappingURL=typography-DrDWI6Bh.cjs.map
|