@mhmo91/schmancy 0.5.34 → 0.5.36
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/content-drawer.md +114 -140
- package/ai/navigation-bar.md +30 -4
- package/ai/navigation-rail.md +72 -0
- package/ai/theme.md +218 -789
- package/dist/ai/content-drawer.md +114 -140
- package/dist/ai/navigation-bar.md +30 -4
- package/dist/ai/navigation-rail.md +72 -0
- package/dist/ai/theme.md +218 -789
- package/dist/{animated-text-COvhr8E3.js → animated-text-BEAHZetl.js} +4 -3
- package/dist/{animated-text-COvhr8E3.js.map → animated-text-BEAHZetl.js.map} +1 -1
- package/dist/{animated-text-BZUrBdvN.cjs → animated-text-ChV1GUee.cjs} +2 -2
- package/dist/{animated-text-BZUrBdvN.cjs.map → animated-text-ChV1GUee.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-BHtBHWVt.js → area.component-R4KQInpP.js} +4 -3
- package/dist/{area.component-BHtBHWVt.js.map → area.component-R4KQInpP.js.map} +1 -1
- package/dist/area.component-cxxQIhCN.cjs +12 -0
- package/dist/{area.component-Ch2Eaa4i.cjs.map → area.component-cxxQIhCN.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-CenwFcT1.cjs → autocomplete-Cq_NzrBX.cjs} +2 -2
- package/dist/{autocomplete-CenwFcT1.cjs.map → autocomplete-Cq_NzrBX.cjs.map} +1 -1
- package/dist/{autocomplete-9RkU9LmA.js → autocomplete-DKYBmt2q.js} +18 -18
- package/dist/{autocomplete-9RkU9LmA.js.map → autocomplete-DKYBmt2q.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-DnYQquLU.js → avatar-DJ7qYc6-.js} +163 -152
- package/dist/avatar-DJ7qYc6-.js.map +1 -0
- package/dist/avatar-DbUCDe1w.cjs +306 -0
- package/dist/avatar-DbUCDe1w.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-BBFE1yJY.js +276 -0
- package/dist/boat-BBFE1yJY.js.map +1 -0
- package/dist/boat-BSYtwy1W.cjs +78 -0
- package/dist/boat-BSYtwy1W.cjs.map +1 -0
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- 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-8djp_8NK.cjs → checkbox-BBJqucMb.cjs} +2 -2
- package/dist/{checkbox-8djp_8NK.cjs.map → checkbox-BBJqucMb.cjs.map} +1 -1
- package/dist/{checkbox-D6-WQeEk.js → checkbox-geD1IIHh.js} +3 -2
- package/dist/{checkbox-D6-WQeEk.js.map → checkbox-geD1IIHh.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BFoEmN8y.cjs → code-preview-CR3U6wXD.cjs} +5 -5
- package/dist/{code-preview-BFoEmN8y.cjs.map → code-preview-CR3U6wXD.cjs.map} +1 -1
- package/dist/{code-preview-Z02-2suM.js → code-preview-D2ZpTZ7C.js} +8 -8
- package/dist/{code-preview-Z02-2suM.js.map → code-preview-D2ZpTZ7C.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/context-create-CA907mdD.cjs +2 -0
- package/dist/context-create-CA907mdD.cjs.map +1 -0
- package/dist/{context-object-BE1o2XB3.js → context-create-DCiujzV2.js} +262 -212
- package/dist/context-create-DCiujzV2.js.map +1 -0
- package/dist/{date-range-DoCtnpW6.cjs → date-range-DkSLcajW.cjs} +2 -2
- package/dist/{date-range-DoCtnpW6.cjs.map → date-range-DkSLcajW.cjs.map} +1 -1
- package/dist/{date-range-kFnTrnHN.js → date-range-NB6Q02hz.js} +141 -140
- package/dist/{date-range-kFnTrnHN.js.map → date-range-NB6Q02hz.js.map} +1 -1
- package/dist/date-range-inline-C8InUZoD.cjs +44 -0
- package/dist/{date-range-inline-DNr7C5X-.cjs.map → date-range-inline-C8InUZoD.cjs.map} +1 -1
- package/dist/{date-range-inline-BXeX6T7R.js → date-range-inline-DXBR0Ocx.js} +8 -7
- package/dist/{date-range-inline-BXeX6T7R.js.map → date-range-inline-DXBR0Ocx.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-CrdOikhP.cjs → delay-B4IPKZEn.cjs} +2 -2
- package/dist/{delay-CrdOikhP.cjs.map → delay-B4IPKZEn.cjs.map} +1 -1
- package/dist/{delay-Cz-9rZxi.js → delay-DsOC-uuq.js} +2 -2
- package/dist/{delay-Cz-9rZxi.js.map → delay-DsOC-uuq.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-CsqhGMjL.cjs → details-7pcQWJF9.cjs} +2 -2
- package/dist/{details-CsqhGMjL.cjs.map → details-7pcQWJF9.cjs.map} +1 -1
- package/dist/{details-DeBtsJlp.js → details-D6Vq36lN.js} +3 -2
- package/dist/{details-DeBtsJlp.js.map → details-D6Vq36lN.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-BzSQoM2J.cjs → dialog-content-BC--KBf7.cjs} +2 -2
- package/dist/{dialog-content-BzSQoM2J.cjs.map → dialog-content-BC--KBf7.cjs.map} +1 -1
- package/dist/{dialog-content-DTKdAF_l.js → dialog-content-XoKxxGTv.js} +4 -4
- package/dist/{dialog-content-DTKdAF_l.js.map → dialog-content-XoKxxGTv.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/discovery.cjs +2 -0
- package/dist/discovery.cjs.map +1 -0
- package/dist/discovery.js +6 -0
- package/dist/discovery.js.map +1 -0
- package/dist/discovery.service-BbYjU5x8.js +21 -0
- package/dist/discovery.service-BbYjU5x8.js.map +1 -0
- package/dist/discovery.service-BpGCuXPd.cjs +2 -0
- package/dist/discovery.service-BpGCuXPd.cjs.map +1 -0
- package/dist/divider-55yUklFI.cjs +2 -0
- package/dist/{divider-CNxOc8ep.cjs.map → divider-55yUklFI.cjs.map} +1 -1
- package/dist/{divider-7iyyEd8k.js → divider-JaB5FtmR.js} +4 -3
- package/dist/{divider-7iyyEd8k.js.map → divider-JaB5FtmR.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-De0OkNoq.cjs → dropdown-content-C2nxdAFA.cjs} +2 -2
- package/dist/{dropdown-content-De0OkNoq.cjs.map → dropdown-content-C2nxdAFA.cjs.map} +1 -1
- package/dist/{dropdown-content-_GMpqsNq.js → dropdown-content-Qzt-B1FB.js} +4 -3
- package/dist/{dropdown-content-_GMpqsNq.js.map → dropdown-content-Qzt-B1FB.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-DS01C3V3.cjs → email-recipients-7reIxhmF.cjs} +2 -2
- package/dist/{email-recipients-DS01C3V3.cjs.map → email-recipients-7reIxhmF.cjs.map} +1 -1
- package/dist/{email-recipients-CPZlUiRR.js → email-recipients-C3TfQU2c.js} +6 -5
- package/dist/{email-recipients-CPZlUiRR.js.map → email-recipients-C3TfQU2c.js.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-CHf9Gc5V.cjs → flex-1y7FNRpS.cjs} +2 -2
- package/dist/{flex-CHf9Gc5V.cjs.map → flex-1y7FNRpS.cjs.map} +1 -1
- package/dist/{flex-BeSoRNTu.js → flex-DauT7n0E.js} +3 -2
- package/dist/{flex-BeSoRNTu.js.map → flex-DauT7n0E.js.map} +1 -1
- package/dist/{form-DNeKagke.js → form-DqA7DfNR.js} +3 -2
- package/dist/{form-DNeKagke.js.map → form-DqA7DfNR.js.map} +1 -1
- package/dist/form-Xg8jZsBF.cjs +2 -0
- package/dist/{form-DzDksPgv.cjs.map → form-Xg8jZsBF.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-D5YAYIS1.cjs → formField.mixin-BnSYnYXQ.cjs} +2 -2
- package/dist/{formField.mixin-D5YAYIS1.cjs.map → formField.mixin-BnSYnYXQ.cjs.map} +1 -1
- package/dist/{formField.mixin-BNj75WQ4.js → formField.mixin-YvrrvL_A.js} +2 -2
- package/dist/{formField.mixin-BNj75WQ4.js.map → formField.mixin-YvrrvL_A.js.map} +1 -1
- package/dist/{icon-DebIySqv.cjs → icon-BFYUD00J.cjs} +3 -3
- package/dist/{icon-DebIySqv.cjs.map → icon-BFYUD00J.cjs.map} +1 -1
- package/dist/{icon-CCMpTJTp.js → icon-BtdeB2JT.js} +9 -9
- package/dist/{icon-CCMpTJTp.js.map → icon-BtdeB2JT.js.map} +1 -1
- package/dist/{icon-button-DwnnW2oj.cjs → icon-button-B-uxvO86.cjs} +2 -2
- package/dist/{icon-button-DwnnW2oj.cjs.map → icon-button-B-uxvO86.cjs.map} +1 -1
- package/dist/{icon-button-D6DH52j4.js → icon-button-DwL4WnDE.js} +4 -3
- package/dist/{icon-button-D6DH52j4.js.map → icon-button-DwL4WnDE.js.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 +187 -182
- package/dist/index.js.map +1 -1
- package/dist/{input-DtHPCCyd.js → input-CuOmXLVJ.js} +4 -3
- package/dist/{input-DtHPCCyd.js.map → input-CuOmXLVJ.js.map} +1 -1
- package/dist/input-PoerIsqx.cjs +51 -0
- package/dist/{input-C2Vz-51i.cjs.map → input-PoerIsqx.cjs.map} +1 -1
- package/dist/{input-chip-B7ANrtLF.cjs → input-chip-BlmZB-cO.cjs} +2 -2
- package/dist/{input-chip-B7ANrtLF.cjs.map → input-chip-BlmZB-cO.cjs.map} +1 -1
- package/dist/{input-chip-DbIvSyvP.js → input-chip-CcNElytP.js} +2 -2
- package/dist/{input-chip-DbIvSyvP.js.map → input-chip-CcNElytP.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-BH8OJ3Rv.cjs → list-BJjW-iAW.cjs} +2 -2
- package/dist/{list-BH8OJ3Rv.cjs.map → list-BJjW-iAW.cjs.map} +1 -1
- package/dist/{list-BBo0--_Q.js → list-Bou3BRYQ.js} +3 -2
- package/dist/{list-BBo0--_Q.js.map → list-Bou3BRYQ.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CzF0mNQd.js → litElement.mixin-Bkdw4DeE.js} +2 -2
- package/dist/{litElement.mixin-CzF0mNQd.js.map → litElement.mixin-Bkdw4DeE.js.map} +1 -1
- package/dist/{litElement.mixin-LplXbzd8.cjs → litElement.mixin-Di-HgRnn.cjs} +2 -2
- package/dist/{litElement.mixin-LplXbzd8.cjs.map → litElement.mixin-Di-HgRnn.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-C7lxYU4A.cjs → map-CXNKwo__.cjs} +2 -2
- package/dist/{map-C7lxYU4A.cjs.map → map-CXNKwo__.cjs.map} +1 -1
- package/dist/{map-DeiCBxMP.js → map-bUVyL7jN.js} +19 -19
- package/dist/{map-DeiCBxMP.js.map → map-bUVyL7jN.js.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CsYVcfaX.cjs → media-8D6oDv1e.cjs} +6 -6
- package/dist/{media-CsYVcfaX.cjs.map → media-8D6oDv1e.cjs.map} +1 -1
- package/dist/{media-CEnaqjig.js → media-CF1lpFAm.js} +9 -8
- package/dist/{media-CEnaqjig.js.map → media-CF1lpFAm.js.map} +1 -1
- package/dist/{menu-Boqsyfmh.cjs → menu-B8Ad1OVm.cjs} +2 -2
- package/dist/{menu-Boqsyfmh.cjs.map → menu-B8Ad1OVm.cjs.map} +1 -1
- package/dist/{menu-wtkHGlyc.js → menu-C9mJa_ck.js} +4 -3
- package/dist/{menu-wtkHGlyc.js.map → menu-C9mJa_ck.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins/baseElement.ts +33 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{navigation-rail-6ONc-XE-.cjs → navigation-rail-CAgKSJh4.cjs} +14 -11
- package/dist/navigation-rail-CAgKSJh4.cjs.map +1 -0
- package/dist/{navigation-rail-D-lK9oVd.js → navigation-rail-Dh3B6B0L.js} +43 -31
- package/dist/navigation-rail-Dh3B6B0L.js.map +1 -0
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-ZiGUSd63.js → notification-service-IBQJTcmw.js} +7 -6
- package/dist/{notification-service-ZiGUSd63.js.map → notification-service-IBQJTcmw.js.map} +1 -1
- package/dist/{notification-service-9HXSKWcw.cjs → notification-service-L82ozhd0.cjs} +2 -2
- package/dist/{notification-service-9HXSKWcw.cjs.map → notification-service-L82ozhd0.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-W-NrP0cC.cjs → notify-AIKWEjDG.cjs} +2 -2
- package/dist/{notify-W-NrP0cC.cjs.map → notify-AIKWEjDG.cjs.map} +1 -1
- package/dist/{notify-DbfX6Z2P.js → notify-CtxRmxjL.js} +2 -2
- package/dist/{notify-DbfX6Z2P.js.map → notify-CtxRmxjL.js.map} +1 -1
- package/dist/{option-D2bxihLu.cjs → option-D5OW1kDk.cjs} +2 -2
- package/dist/{option-D2bxihLu.cjs.map → option-D5OW1kDk.cjs.map} +1 -1
- package/dist/{option-BFlWiCu0.js → option-DHGTgRBn.js} +11 -10
- package/dist/{option-BFlWiCu0.js.map → option-DHGTgRBn.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/payment-card-form-CHS_s_Fk.cjs +74 -0
- package/dist/{payment-card-form--v94EhJF.cjs.map → payment-card-form-CHS_s_Fk.cjs.map} +1 -1
- package/dist/{payment-card-form-DLRNX9NX.js → payment-card-form-wj2JWoyn.js} +4 -3
- package/dist/{payment-card-form-DLRNX9NX.js.map → payment-card-form-wj2JWoyn.js.map} +1 -1
- package/dist/{progress-CjkD8QBy.cjs → progress-CP4R_l3i.cjs} +2 -2
- package/dist/{progress-CjkD8QBy.cjs.map → progress-CP4R_l3i.cjs.map} +1 -1
- package/dist/{progress-BYohUvYO.js → progress-ZrDv_k3Z.js} +10 -9
- package/dist/{progress-BYohUvYO.js.map → progress-ZrDv_k3Z.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-CGmGOAil.cjs → radio-button-BXP_yPjS.cjs} +2 -2
- package/dist/{radio-button-CGmGOAil.cjs.map → radio-button-BXP_yPjS.cjs.map} +1 -1
- package/dist/{radio-button-BlxeCjdq.js → radio-button-D0pVoIe-.js} +4 -3
- package/dist/{radio-button-BlxeCjdq.js.map → radio-button-D0pVoIe-.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-CydL78yk.cjs → schmancy-steps-container-BSv1aURP.cjs} +2 -2
- package/dist/{schmancy-steps-container-CydL78yk.cjs.map → schmancy-steps-container-BSv1aURP.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-BtAHCm73.js → schmancy-steps-container-vjioa19k.js} +2 -2
- package/dist/{schmancy-steps-container-BtAHCm73.js.map → schmancy-steps-container-vjioa19k.js.map} +1 -1
- package/dist/{select-CrB02cIO.cjs → select-DZ-Cy-lg.cjs} +2 -2
- package/dist/{select-CrB02cIO.cjs.map → select-DZ-Cy-lg.cjs.map} +1 -1
- package/dist/{select-BiN334GN.js → select-SgSe22qC.js} +13 -13
- package/dist/{select-BiN334GN.js.map → select-SgSe22qC.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/selector-hook-BWMY8npH.cjs +2 -0
- package/dist/selector-hook-BWMY8npH.cjs.map +1 -0
- package/dist/selector-hook-CKeyK4K-.js +313 -0
- package/dist/selector-hook-CKeyK4K-.js.map +1 -0
- package/dist/{sheet-sgVoRMi1.cjs → sheet-CNMKrulQ.cjs} +2 -2
- package/dist/{sheet-sgVoRMi1.cjs.map → sheet-CNMKrulQ.cjs.map} +1 -1
- package/dist/{sheet-DpJv4DRi.js → sheet-CevNG0tZ.js} +4 -3
- package/dist/{sheet-DpJv4DRi.js.map → sheet-CevNG0tZ.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-Dd1L6oYm.cjs → slider-BSxJatG-.cjs} +4 -4
- package/dist/{slider-Dd1L6oYm.cjs.map → slider-BSxJatG-.cjs.map} +1 -1
- package/dist/{slider-D7qdxfvX.js → slider-DIRocNv8.js} +9 -9
- package/dist/{slider-D7qdxfvX.js.map → slider-DIRocNv8.js.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-CaXU45TV.cjs → spinner-Cx54uto8.cjs} +2 -2
- package/dist/{spinner-CaXU45TV.cjs.map → spinner-Cx54uto8.cjs.map} +1 -1
- package/dist/{spinner-XN4W5ihQ.js → spinner-DZcG-AtO.js} +3 -2
- package/dist/{spinner-XN4W5ihQ.js.map → spinner-DZcG-AtO.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.js +26 -26
- package/dist/{suggestion-chip-CdhoATv9.js → suggestion-chip-DADIje6B.js} +3 -3
- package/dist/{suggestion-chip-CdhoATv9.js.map → suggestion-chip-DADIje6B.js.map} +1 -1
- package/dist/{suggestion-chip-PI24Hc3s.cjs → suggestion-chip-ssmmc0q6.cjs} +2 -2
- package/dist/{suggestion-chip-PI24Hc3s.cjs.map → suggestion-chip-ssmmc0q6.cjs.map} +1 -1
- package/dist/{surface-CKrYJ58l.js → surface-_cS9Ehk0.js} +2 -2
- package/dist/{surface-CKrYJ58l.js.map → surface-_cS9Ehk0.js.map} +1 -1
- package/dist/{surface-Ax6I7ldp.cjs → surface-ix9qOb7a.cjs} +2 -2
- package/dist/{surface-Ax6I7ldp.cjs.map → surface-ix9qOb7a.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CP6_NkPm.js → table-Bi2ftsJe.js} +2 -2
- package/dist/{table-CP6_NkPm.js.map → table-Bi2ftsJe.js.map} +1 -1
- package/dist/{table-BlwUyf_4.cjs → table-DSEK3bMb.cjs} +2 -2
- package/dist/{table-BlwUyf_4.cjs.map → table-DSEK3bMb.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-CX0cIu_Y.cjs → tabs-compatibility-BE2Q3rig.cjs} +4 -4
- package/dist/{tabs-compatibility-CX0cIu_Y.cjs.map → tabs-compatibility-BE2Q3rig.cjs.map} +1 -1
- package/dist/{tabs-compatibility-7QKuXX4i.js → tabs-compatibility-DA3RIq35.js} +7 -6
- package/dist/{tabs-compatibility-7QKuXX4i.js.map → tabs-compatibility-DA3RIq35.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CvQn8Ynb.cjs +2 -0
- package/dist/tailwind.mixin-CvQn8Ynb.cjs.map +1 -0
- package/dist/tailwind.mixin-DGLcZhRp.js +57 -0
- package/dist/tailwind.mixin-DGLcZhRp.js.map +1 -0
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-DHrDn-O6.js → textarea-CBb2CzKu.js} +3 -2
- package/dist/{textarea-DHrDn-O6.js.map → textarea-CBb2CzKu.js.map} +1 -1
- package/dist/textarea-ClgK_mP6.cjs +44 -0
- package/dist/{textarea-qLA0vP78.cjs.map → textarea-ClgK_mP6.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/theme-button-Dhp3ozyB.cjs +9 -0
- package/dist/{theme-button-D7fBEUGf.cjs.map → theme-button-Dhp3ozyB.cjs.map} +1 -1
- package/dist/{theme-button-BEUsbH5m.js → theme-button-Z_xWXMaf.js} +6 -5
- package/dist/{theme-button-BEUsbH5m.js.map → theme-button-Z_xWXMaf.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-ByGua01V.js → theme.controls-BtaZcM7z.js} +367 -238
- package/dist/theme.controls-BtaZcM7z.js.map +1 -0
- package/dist/theme.controls-C_zAMJgA.cjs +67 -0
- package/dist/theme.controls-C_zAMJgA.cjs.map +1 -0
- package/dist/theme.js +13 -11
- package/dist/{timezone-BpDMR26D.js → timezone-CZ0gCI2P.js} +10 -9
- package/dist/{timezone-BpDMR26D.js.map → timezone-CZ0gCI2P.js.map} +1 -1
- package/dist/{timezone-Bw4EXBt7.cjs → timezone-DucGbWcE.cjs} +2 -2
- package/dist/{timezone-Bw4EXBt7.cjs.map → timezone-DucGbWcE.cjs.map} +1 -1
- package/dist/{tooltip-Dhs4HL3A.cjs → tooltip-BSWp7Mmz.cjs} +2 -2
- package/dist/{tooltip-Dhs4HL3A.cjs.map → tooltip-BSWp7Mmz.cjs.map} +1 -1
- package/dist/{tooltip-B1jynZOH.js → tooltip-BSppSqZM.js} +2 -2
- package/dist/{tooltip-B1jynZOH.js.map → tooltip-BSppSqZM.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-D-ezei_U.cjs → tree-DL71EUih.cjs} +4 -4
- package/dist/{tree-D-ezei_U.cjs.map → tree-DL71EUih.cjs.map} +1 -1
- package/dist/{tree-BH1qCJ_U.js → tree-dEse6eMH.js} +3 -2
- package/dist/{tree-BH1qCJ_U.js.map → tree-dEse6eMH.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/typewriter-B1Au4MRO.cjs +9 -0
- package/dist/{typewriter-CtPh4Pyj.cjs.map → typewriter-B1Au4MRO.cjs.map} +1 -1
- package/dist/{typewriter-DQbpNPtY.js → typewriter-DBvUYzpl.js} +5 -4
- package/dist/{typewriter-DQbpNPtY.js.map → typewriter-DBvUYzpl.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BrIaOYmC.cjs → typography-3gXQvLXN.cjs} +2 -2
- package/dist/{typography-BrIaOYmC.cjs.map → typography-3gXQvLXN.cjs.map} +1 -1
- package/dist/{typography-D71cmr0R.js → typography-iOtjgSkI.js} +2 -2
- package/dist/{typography-D71cmr0R.js.map → typography-iOtjgSkI.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/mixins/baseElement.d.ts +2 -1
- package/types/src/boat/boat.d.ts +10 -5
- package/types/src/discovery/discovery.service.d.ts +17 -0
- package/types/src/discovery/index.d.ts +1 -0
- package/types/src/index.d.ts +1 -0
- package/types/src/navigation-bar/navigation-bar.d.ts +19 -2
- package/types/src/navigation-rail/navigation-rail.d.ts +13 -0
- package/types/src/theme/index.d.ts +1 -0
- package/types/src/theme/theme.controls.d.ts +27 -0
- package/types/src/theme/theme.service.d.ts +58 -2
- package/dist/area.component-Ch2Eaa4i.cjs +0 -12
- package/dist/avatar-DZMY4ePP.cjs +0 -303
- package/dist/avatar-DZMY4ePP.cjs.map +0 -1
- package/dist/avatar-DnYQquLU.js.map +0 -1
- package/dist/boat-CUsJXaLf.js +0 -240
- package/dist/boat-CUsJXaLf.js.map +0 -1
- package/dist/boat-Dfx9-P8c.cjs +0 -83
- package/dist/boat-Dfx9-P8c.cjs.map +0 -1
- package/dist/context-object-BE1o2XB3.js.map +0 -1
- package/dist/context-object-DA9DM9QJ.cjs +0 -2
- package/dist/context-object-DA9DM9QJ.cjs.map +0 -1
- package/dist/date-range-inline-DNr7C5X-.cjs +0 -44
- package/dist/divider-CNxOc8ep.cjs +0 -2
- package/dist/form-DzDksPgv.cjs +0 -2
- package/dist/input-C2Vz-51i.cjs +0 -51
- package/dist/navigation-rail-6ONc-XE-.cjs.map +0 -1
- package/dist/navigation-rail-D-lK9oVd.js.map +0 -1
- package/dist/payment-card-form--v94EhJF.cjs +0 -74
- package/dist/selector-hook-DOsvFxG2.js +0 -364
- package/dist/selector-hook-DOsvFxG2.js.map +0 -1
- package/dist/selector-hook-DQ9zoDM4.cjs +0 -2
- package/dist/selector-hook-DQ9zoDM4.cjs.map +0 -1
- package/dist/tailwind.mixin-BjDGMGbj.js +0 -43
- package/dist/tailwind.mixin-BjDGMGbj.js.map +0 -1
- package/dist/tailwind.mixin-ClfV2_Nh.cjs +0 -2
- package/dist/tailwind.mixin-ClfV2_Nh.cjs.map +0 -1
- package/dist/textarea-qLA0vP78.cjs +0 -44
- package/dist/theme-button-D7fBEUGf.cjs +0 -9
- package/dist/theme.component-ByGua01V.js.map +0 -1
- package/dist/theme.component-CQ1trrZB.cjs +0 -3
- package/dist/theme.component-CQ1trrZB.cjs.map +0 -1
- package/dist/typewriter-CtPh4Pyj.cjs +0 -9
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import { css as w, html as c, nothing as ft } from "lit";
|
|
2
2
|
import { property as l, customElement as p, state as h, queryAssignedElements as gt, query as tt } from "lit/decorators.js";
|
|
3
|
-
import { Subject as ot, merge as Q, fromEvent as d, startWith as
|
|
4
|
-
import "./animated-text-
|
|
5
|
-
import { a as ut, F as
|
|
6
|
-
import "./autocomplete-
|
|
3
|
+
import { Subject as ot, merge as Q, fromEvent as d, startWith as Et, map as v, debounceTime as G, tap as j, distinctUntilChanged as et, takeUntil as y, from as dt, of as J, Observable as It, BehaviorSubject as vt, timer as zt, zip as pt, filter as wt, take as Mt, timeout as jt, bufferTime as Pt, concatMap as Wt, interval as Ht, throwIfEmpty as Bt } from "rxjs";
|
|
4
|
+
import "./animated-text-BEAHZetl.js";
|
|
5
|
+
import { a as ut, F as Rt, H as Lt } from "./area.component-R4KQInpP.js";
|
|
6
|
+
import "./autocomplete-DKYBmt2q.js";
|
|
7
|
+
import { tap as L, takeUntil as M, filter as V, throttleTime as Nt, map as xt, pairwise as Tt, distinctUntilChanged as At, take as qt } from "rxjs/operators";
|
|
7
8
|
import "lit/directives/class-map.js";
|
|
8
9
|
import "lit/directives/style-map.js";
|
|
9
|
-
import { T as Z } from "./tailwind.mixin-
|
|
10
|
-
import { c as
|
|
10
|
+
import { T as Z } from "./tailwind.mixin-DGLcZhRp.js";
|
|
11
|
+
import { c as P, f as _t } from "./ripple-Cy-nvO8W.js";
|
|
11
12
|
import "lit/directives/guard.js";
|
|
12
|
-
import "./boat-
|
|
13
|
-
import "./spinner-
|
|
14
|
-
import "./icon-button-
|
|
15
|
-
import "./media-
|
|
16
|
-
import "./checkbox-
|
|
17
|
-
import "./suggestion-chip-
|
|
18
|
-
import "./input-chip-
|
|
19
|
-
import "./code-preview-
|
|
20
|
-
import "./payment-card-form-
|
|
13
|
+
import "./boat-BBFE1yJY.js";
|
|
14
|
+
import "./spinner-DZcG-AtO.js";
|
|
15
|
+
import "./icon-button-DwL4WnDE.js";
|
|
16
|
+
import "./media-CF1lpFAm.js";
|
|
17
|
+
import "./checkbox-geD1IIHh.js";
|
|
18
|
+
import "./suggestion-chip-DADIje6B.js";
|
|
19
|
+
import "./input-chip-CcNElytP.js";
|
|
20
|
+
import "./code-preview-D2ZpTZ7C.js";
|
|
21
|
+
import "./payment-card-form-wj2JWoyn.js";
|
|
21
22
|
import { SchmancyEvents as m } from "./types.js";
|
|
22
|
-
import { n as
|
|
23
|
-
import { $ as
|
|
23
|
+
import { n as N, e as R } from "./provide-tcktw8xB.js";
|
|
24
|
+
import { $ as W } from "./litElement.mixin-Bkdw4DeE.js";
|
|
24
25
|
import { c as u } from "./consume-5D1qfVWM.js";
|
|
25
|
-
import "./date-range-
|
|
26
|
-
import "./date-range-inline-
|
|
27
|
-
import "./delay-
|
|
28
|
-
import "./details-
|
|
29
|
-
import "./dialog-content-
|
|
26
|
+
import "./date-range-NB6Q02hz.js";
|
|
27
|
+
import "./date-range-inline-DXBR0Ocx.js";
|
|
28
|
+
import "./delay-DsOC-uuq.js";
|
|
29
|
+
import "./details-D6Vq36lN.js";
|
|
30
|
+
import "./dialog-content-XoKxxGTv.js";
|
|
30
31
|
import "./dialog-service-CyQzm5qE.js";
|
|
31
|
-
import "./divider-
|
|
32
|
-
import "./dropdown-content-
|
|
33
|
-
import "./timezone-
|
|
34
|
-
import "./form-
|
|
35
|
-
import "./icon-
|
|
36
|
-
import "./input-
|
|
37
|
-
import "./flex-
|
|
38
|
-
import "./list-
|
|
39
|
-
import "./email-recipients-
|
|
40
|
-
import "./map-
|
|
41
|
-
import "./menu-
|
|
32
|
+
import "./divider-JaB5FtmR.js";
|
|
33
|
+
import "./dropdown-content-Qzt-B1FB.js";
|
|
34
|
+
import "./timezone-CZ0gCI2P.js";
|
|
35
|
+
import "./form-DqA7DfNR.js";
|
|
36
|
+
import "./icon-BtdeB2JT.js";
|
|
37
|
+
import "./input-CuOmXLVJ.js";
|
|
38
|
+
import "./flex-DauT7n0E.js";
|
|
39
|
+
import "./list-Bou3BRYQ.js";
|
|
40
|
+
import "./email-recipients-C3TfQU2c.js";
|
|
41
|
+
import "./map-bUVyL7jN.js";
|
|
42
|
+
import "./menu-C9mJa_ck.js";
|
|
42
43
|
import { when as st } from "lit/directives/when.js";
|
|
43
|
-
import "./navigation-rail-
|
|
44
|
-
import "./notification-service-
|
|
45
|
-
import "./option-
|
|
46
|
-
import "./progress-
|
|
47
|
-
import "./radio-button-
|
|
44
|
+
import "./navigation-rail-Dh3B6B0L.js";
|
|
45
|
+
import "./notification-service-IBQJTcmw.js";
|
|
46
|
+
import "./option-DHGTgRBn.js";
|
|
47
|
+
import "./progress-ZrDv_k3Z.js";
|
|
48
|
+
import "./radio-button-D0pVoIe-.js";
|
|
48
49
|
import "./index-CW6PhEkx.js";
|
|
49
|
-
import "./select-
|
|
50
|
-
import "./sheet-
|
|
50
|
+
import "./select-SgSe22qC.js";
|
|
51
|
+
import "./sheet-CevNG0tZ.js";
|
|
51
52
|
import { s as it } from "./sheet.service-lXqUf6n5.js";
|
|
52
|
-
import "./slider-
|
|
53
|
-
import "./schmancy-steps-container-
|
|
54
|
-
import "./context-
|
|
55
|
-
import
|
|
56
|
-
import "./
|
|
57
|
-
import "./
|
|
58
|
-
import "./
|
|
59
|
-
import "./
|
|
60
|
-
import "./theme
|
|
61
|
-
import "./
|
|
62
|
-
import "./
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import "./typography-D71cmr0R.js";
|
|
53
|
+
import "./slider-DIRocNv8.js";
|
|
54
|
+
import "./schmancy-steps-container-vjioa19k.js";
|
|
55
|
+
import "./context-create-DCiujzV2.js";
|
|
56
|
+
import "./surface-_cS9Ehk0.js";
|
|
57
|
+
import "./table-Bi2ftsJe.js";
|
|
58
|
+
import "./tabs-compatibility-DA3RIq35.js";
|
|
59
|
+
import "./textarea-CBb2CzKu.js";
|
|
60
|
+
import "./theme.controls-BtaZcM7z.js";
|
|
61
|
+
import "./theme-button-Z_xWXMaf.js";
|
|
62
|
+
import "./tooltip-BSppSqZM.js";
|
|
63
|
+
import "./tree-dEse6eMH.js";
|
|
64
|
+
import "./typewriter-DBvUYzpl.js";
|
|
65
|
+
import "./typography-iOtjgSkI.js";
|
|
66
66
|
import { S as r } from "./theme.interface-BLfE5J_1.js";
|
|
67
|
-
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor,
|
|
67
|
+
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
|
|
68
68
|
for (var n, i = o > 1 ? void 0 : o ? Ut(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
69
69
|
return o && i && Xt(e, s, i), i;
|
|
70
70
|
};
|
|
71
|
-
let
|
|
71
|
+
let k = class extends Z(w`
|
|
72
72
|
:host {
|
|
73
73
|
display: inline-flex;
|
|
74
74
|
}
|
|
@@ -138,7 +138,7 @@ let S = class extends Z(w`
|
|
|
138
138
|
part="badge"
|
|
139
139
|
class="${this.classMap(i)}"
|
|
140
140
|
style="${this.styleMap(a)}"
|
|
141
|
-
${
|
|
141
|
+
${P({ bgColor: s.bg, color: s.text })}
|
|
142
142
|
>
|
|
143
143
|
<!-- Icon slot or named icon -->
|
|
144
144
|
<slot name="icon">
|
|
@@ -157,10 +157,10 @@ let S = class extends Z(w`
|
|
|
157
157
|
`;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
|
|
161
|
-
let mt = class extends
|
|
160
|
+
z([l({ type: String, reflect: !0 })], k.prototype, "color", 2), z([l({ type: String, reflect: !0 })], k.prototype, "size", 2), z([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), z([l({ type: String })], k.prototype, "icon", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = z([p("schmancy-badge")], k);
|
|
161
|
+
let mt = class extends k {
|
|
162
162
|
};
|
|
163
|
-
mt =
|
|
163
|
+
mt = z([p("sch-badge")], mt);
|
|
164
164
|
const Ds = new class {
|
|
165
165
|
constructor() {
|
|
166
166
|
this.$drawer = new ot(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
|
|
@@ -191,12 +191,12 @@ const Ds = new class {
|
|
|
191
191
|
push(t) {
|
|
192
192
|
this.$drawer.next({ action: "push", ref: window, component: t });
|
|
193
193
|
}
|
|
194
|
-
}(), rt =
|
|
195
|
-
var Kt = Object.defineProperty,
|
|
196
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
194
|
+
}(), rt = N("push"), $t = N("close"), Ct = N(Math.floor(Math.random() * Date.now()).toString()), nt = N("100%"), at = N({});
|
|
195
|
+
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
196
|
+
for (var n, i = o > 1 ? void 0 : o ? Ft(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
197
197
|
return o && i && Kt(e, s, i), i;
|
|
198
198
|
};
|
|
199
|
-
let
|
|
199
|
+
let D = class extends W(w`
|
|
200
200
|
:host {
|
|
201
201
|
position: relative;
|
|
202
202
|
inset: 0;
|
|
@@ -208,15 +208,15 @@ let k = class extends j(w`
|
|
|
208
208
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
209
209
|
}
|
|
210
210
|
firstUpdated() {
|
|
211
|
-
Q(d(window, "resize"), d(window, m.ContentDrawerResize)).pipe(
|
|
211
|
+
Q(d(window, "resize"), d(window, m.ContentDrawerResize)).pipe(Et(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), G(100), j(() => {
|
|
212
212
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
213
213
|
}), et(), y(this.disconnecting)).subscribe((t) => {
|
|
214
214
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
215
|
-
}), d(window, m.ContentDrawerToggle).pipe(
|
|
215
|
+
}), d(window, m.ContentDrawerToggle).pipe(j((t) => {
|
|
216
216
|
t.stopPropagation();
|
|
217
217
|
}), v((t) => t.detail.state), y(this.disconnecting)).subscribe((t) => {
|
|
218
218
|
this.open = t;
|
|
219
|
-
}), d(window, "schmancy-content-drawer-render").pipe(
|
|
219
|
+
}), d(window, "schmancy-content-drawer-render").pipe(j((t) => {
|
|
220
220
|
t.stopPropagation();
|
|
221
221
|
}), v((t) => t.detail), y(this.disconnecting)).subscribe(({ component: t, title: e }) => {
|
|
222
222
|
this.mode === "push" ? (ut.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), ut.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && it.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
|
|
@@ -241,12 +241,12 @@ let k = class extends j(w`
|
|
|
241
241
|
` : ft;
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
|
-
|
|
245
|
-
var
|
|
244
|
+
H([R({ context: at })], D.prototype, "minWidth", 2), H([R({ context: $t }), l()], D.prototype, "open", 2), H([R({ context: rt }), h()], D.prototype, "mode", 2), H([R({ context: Ct })], D.prototype, "schmancyContentDrawerID", 2), H([R({ context: nt })], D.prototype, "maxHeight", 2), H([gt({ flatten: !0 })], D.prototype, "assignedElements", 2), D = H([p("schmancy-content-drawer")], D);
|
|
245
|
+
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
|
|
246
246
|
for (var n, i = o > 1 ? void 0 : o ? Vt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
247
|
-
return o && i &&
|
|
247
|
+
return o && i && Yt(e, s, i), i;
|
|
248
248
|
};
|
|
249
|
-
let
|
|
249
|
+
let T = class extends W(w`
|
|
250
250
|
:host {
|
|
251
251
|
display: block;
|
|
252
252
|
overflow: hidden;
|
|
@@ -279,12 +279,12 @@ let R = class extends j(w`
|
|
|
279
279
|
`;
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
|
-
q([l({ type: Number })],
|
|
282
|
+
q([l({ type: Number })], T.prototype, "minWidth", 2), q([u({ context: at, subscribe: !0 })], T.prototype, "drawerMinWidth", 2), q([u({ context: rt, subscribe: !0 }), h()], T.prototype, "mode", 2), q([u({ context: nt, subscribe: !0 }), h()], T.prototype, "maxHeight", 2), T = q([p("schmancy-content-drawer-main")], T);
|
|
283
283
|
var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
|
|
284
284
|
for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
285
285
|
return o && i && Gt(e, s, i), i;
|
|
286
286
|
};
|
|
287
|
-
let b = class extends
|
|
287
|
+
let b = class extends W(w`
|
|
288
288
|
:host {
|
|
289
289
|
overflow: scroll;
|
|
290
290
|
}
|
|
@@ -302,7 +302,7 @@ let b = class extends j(w`
|
|
|
302
302
|
Q(dt(this.closeModalSheet()), dt(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
|
|
303
303
|
}
|
|
304
304
|
closeModalSheet() {
|
|
305
|
-
return J(!0).pipe(
|
|
305
|
+
return J(!0).pipe(j(() => it.dismiss(this.schmancyContentDrawerID)));
|
|
306
306
|
}
|
|
307
307
|
closeSheet() {
|
|
308
308
|
return new It((t) => {
|
|
@@ -335,12 +335,12 @@ const Qt = new class {
|
|
|
335
335
|
close(t) {
|
|
336
336
|
this.$drawer.next({ self: t, state: !1 });
|
|
337
337
|
}
|
|
338
|
-
}(),
|
|
339
|
-
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor,
|
|
338
|
+
}(), Os = Qt, lt = N("push"), ct = N("close");
|
|
339
|
+
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, U = (t, e, s, o) => {
|
|
340
340
|
for (var n, i = o > 1 ? void 0 : o ? te(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
341
341
|
return o && i && Zt(e, s, i), i;
|
|
342
342
|
};
|
|
343
|
-
let
|
|
343
|
+
let _ = class extends Z(w`
|
|
344
344
|
:host {
|
|
345
345
|
display: block;
|
|
346
346
|
}
|
|
@@ -369,9 +369,9 @@ let T = class extends Z(w`
|
|
|
369
369
|
`;
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
|
|
372
|
+
U([u({ context: lt, subscribe: !0 }), h()], _.prototype, "sidebarMode", 2), U([u({ context: ct, subscribe: !0 }), h()], _.prototype, "sidebarOpen", 2), U([l({ type: Boolean })], _.prototype, "toggler", 2), _ = U([p("schmancy-nav-drawer-appbar")], _);
|
|
373
373
|
var ee = Object.getOwnPropertyDescriptor;
|
|
374
|
-
let yt = class extends
|
|
374
|
+
let yt = class extends W(w`
|
|
375
375
|
:host {
|
|
376
376
|
display: block;
|
|
377
377
|
position: relative;
|
|
@@ -392,11 +392,11 @@ yt = ((t, e, s, o) => {
|
|
|
392
392
|
for (var n, i = o > 1 ? void 0 : o ? ee(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
393
393
|
return i;
|
|
394
394
|
})([p("schmancy-nav-drawer-content")], yt);
|
|
395
|
-
var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor,
|
|
395
|
+
var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
|
|
396
396
|
for (var n, i = o > 1 ? void 0 : o ? ie(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
397
397
|
return o && i && se(e, s, i), i;
|
|
398
398
|
};
|
|
399
|
-
let g = class extends
|
|
399
|
+
let g = class extends W(w`
|
|
400
400
|
:host {
|
|
401
401
|
display: flex;
|
|
402
402
|
flex-grow: 1;
|
|
@@ -415,7 +415,7 @@ let g = class extends j(w`
|
|
|
415
415
|
firstUpdated() {
|
|
416
416
|
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), d(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), et(), G(100), y(this.disconnecting)).subscribe((t) => {
|
|
417
417
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
418
|
-
}), d(window, m.NavDrawer_toggle).pipe(
|
|
418
|
+
}), d(window, m.NavDrawer_toggle).pipe(j((t) => {
|
|
419
419
|
t.stopPropagation();
|
|
420
420
|
}), v((t) => t.detail.state), et(), y(this.disconnecting), G(10)).subscribe((t) => {
|
|
421
421
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
@@ -433,20 +433,20 @@ let g = class extends j(w`
|
|
|
433
433
|
flow="col"
|
|
434
434
|
justify="stretch"
|
|
435
435
|
align="stretch"
|
|
436
|
-
${
|
|
436
|
+
${_t()}
|
|
437
437
|
>
|
|
438
438
|
<slot></slot>
|
|
439
439
|
</schmancy-grid>
|
|
440
440
|
` : ft;
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
|
-
g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 },
|
|
444
|
-
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor,
|
|
443
|
+
g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A([l({ type: Boolean })], g.prototype, "fullscreen", 2), A([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), A([R({ context: lt }), h()], g.prototype, "mode", 2), A([R({ context: ct }), l()], g.prototype, "open", 2), A([h()], g.prototype, "_initialized", 2), g = A([p("schmancy-nav-drawer")], g);
|
|
444
|
+
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, B = (t, e, s, o) => {
|
|
445
445
|
for (var n, i = o > 1 ? void 0 : o ? re(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
446
446
|
return o && i && oe(e, s, i), i;
|
|
447
447
|
};
|
|
448
|
-
const
|
|
449
|
-
let
|
|
448
|
+
const K = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
449
|
+
let O = class extends W() {
|
|
450
450
|
constructor() {
|
|
451
451
|
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
452
452
|
}
|
|
@@ -457,20 +457,20 @@ let D = class extends j() {
|
|
|
457
457
|
this._initialized && (t.has("drawerState") || t.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
|
|
458
458
|
}
|
|
459
459
|
openOverlay() {
|
|
460
|
-
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing:
|
|
460
|
+
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: K, fill: "forwards" });
|
|
461
461
|
}
|
|
462
462
|
closeOverlay() {
|
|
463
|
-
this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing:
|
|
463
|
+
this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: K, fill: "forwards" }).onfinish = () => {
|
|
464
464
|
this.overlay.style.display = "none";
|
|
465
465
|
};
|
|
466
466
|
}
|
|
467
467
|
showNavDrawer() {
|
|
468
|
-
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing:
|
|
468
|
+
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: K, fill: "forwards" }).onfinish = () => {
|
|
469
469
|
this.nav.style.transform = "translateX(0)";
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
472
|
hideNavDrawer() {
|
|
473
|
-
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing:
|
|
473
|
+
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: K, fill: "forwards" }).onfinish = () => {
|
|
474
474
|
this.nav.style.transform = "translateX(-100%)";
|
|
475
475
|
};
|
|
476
476
|
}
|
|
@@ -483,20 +483,20 @@ let D = class extends j() {
|
|
|
483
483
|
<nav
|
|
484
484
|
style=${this.styleMap(e)}
|
|
485
485
|
class="${this.classMap({ ...t })}"
|
|
486
|
-
${
|
|
486
|
+
${P({ bgColor: r.sys.color.surface.container })}
|
|
487
487
|
>
|
|
488
488
|
<slot></slot>
|
|
489
489
|
</nav>
|
|
490
490
|
<div
|
|
491
491
|
id="overlay"
|
|
492
|
-
${
|
|
492
|
+
${P({ bgColor: r.sys.color.scrim })}
|
|
493
493
|
@click=${this.handleOverlayClick}
|
|
494
494
|
class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
|
|
495
495
|
></div>
|
|
496
496
|
`;
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
|
-
|
|
499
|
+
B([u({ context: lt, subscribe: !0 }), h()], O.prototype, "mode", 2), B([u({ context: ct, subscribe: !0 }), h()], O.prototype, "drawerState", 2), B([tt("#overlay")], O.prototype, "overlay", 2), B([tt("nav")], O.prototype, "nav", 2), B([l({ type: String })], O.prototype, "width", 2), B([h()], O.prototype, "_initialized", 2), O = B([p("schmancy-nav-drawer-navbar")], O);
|
|
500
500
|
var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, E = (t, e, s, o) => {
|
|
501
501
|
for (var n, i = o > 1 ? void 0 : o ? ae(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
502
502
|
return o && i && ne(e, s, i), i;
|
|
@@ -561,9 +561,9 @@ let $ = class extends Z(w`
|
|
|
561
561
|
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
562
562
|
if (e) {
|
|
563
563
|
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
564
|
-
this.ripples = [...this.ripples, o], zt(600).pipe(
|
|
564
|
+
this.ripples = [...this.ripples, o], zt(600).pipe(L(() => {
|
|
565
565
|
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
566
|
-
}),
|
|
566
|
+
}), M(this.disconnecting)).subscribe();
|
|
567
567
|
}
|
|
568
568
|
}, this.handleClick = (t) => {
|
|
569
569
|
if (this.disabled) return t.preventDefault(), void t.stopPropagation();
|
|
@@ -582,17 +582,17 @@ let $ = class extends Z(w`
|
|
|
582
582
|
this.active = t;
|
|
583
583
|
}
|
|
584
584
|
connectedCallback() {
|
|
585
|
-
super.connectedCallback(), this.active$.pipe(
|
|
585
|
+
super.connectedCallback(), this.active$.pipe(M(this.disconnecting)).subscribe(() => {
|
|
586
586
|
this.requestUpdate();
|
|
587
587
|
}), this.setupNavigationStream();
|
|
588
588
|
}
|
|
589
589
|
setupNavigationStream() {
|
|
590
590
|
const t = this.shadowRoot?.querySelector("button");
|
|
591
591
|
if (!t) return;
|
|
592
|
-
const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "),
|
|
593
|
-
Q(e, s).pipe(
|
|
592
|
+
const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), L((o) => o.preventDefault()));
|
|
593
|
+
Q(e, s).pipe(L(() => {
|
|
594
594
|
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
595
|
-
}),
|
|
595
|
+
}), M(this.disconnecting)).subscribe();
|
|
596
596
|
}
|
|
597
597
|
formatBadge(t) {
|
|
598
598
|
const e = Number(t);
|
|
@@ -602,7 +602,7 @@ let $ = class extends Z(w`
|
|
|
602
602
|
this.setupNavigationStream();
|
|
603
603
|
}
|
|
604
604
|
render() {
|
|
605
|
-
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, Dt = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant },
|
|
605
|
+
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, Dt = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, Ot = { "--focus-color": r.sys.color.primary.default };
|
|
606
606
|
return c`
|
|
607
607
|
<button
|
|
608
608
|
type="button"
|
|
@@ -612,8 +612,8 @@ let $ = class extends Z(w`
|
|
|
612
612
|
?disabled=${this.disabled}
|
|
613
613
|
aria-pressed=${this.active}
|
|
614
614
|
aria-label=${this.label || "Navigation item"}
|
|
615
|
-
style=${this.styleMap({ ...
|
|
616
|
-
${
|
|
615
|
+
style=${this.styleMap({ ...Ot, "outline-color": "var(--focus-color)" })}
|
|
616
|
+
${P(Dt)}
|
|
617
617
|
>
|
|
618
618
|
<!-- Icon with indicator background -->
|
|
619
619
|
<div class=${this.classMap(i)}>
|
|
@@ -647,7 +647,7 @@ let $ = class extends Z(w`
|
|
|
647
647
|
<span
|
|
648
648
|
class=${this.classMap(a)}
|
|
649
649
|
aria-label="${e} notifications"
|
|
650
|
-
${
|
|
650
|
+
${P({ bgColor: r.sys.color.error.default, color: r.sys.color.error.on })}
|
|
651
651
|
>
|
|
652
652
|
<span class="text-[10px] font-medium leading-none">${e}</span>
|
|
653
653
|
</span>
|
|
@@ -655,7 +655,7 @@ let $ = class extends Z(w`
|
|
|
655
655
|
<span
|
|
656
656
|
class=${this.classMap(a)}
|
|
657
657
|
aria-label="Has notifications"
|
|
658
|
-
${
|
|
658
|
+
${P({ bgColor: r.sys.color.error.default })}
|
|
659
659
|
></span>
|
|
660
660
|
` : ""}
|
|
661
661
|
</button>
|
|
@@ -663,11 +663,11 @@ let $ = class extends Z(w`
|
|
|
663
663
|
}
|
|
664
664
|
};
|
|
665
665
|
E([l({ type: String })], $.prototype, "icon", 2), E([l({ type: String })], $.prototype, "label", 2), E([l({ type: String })], $.prototype, "badge", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), E([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), E([h()], $.prototype, "ripples", 2), $ = E([p("schmancy-navigation-bar-item")], $);
|
|
666
|
-
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor,
|
|
666
|
+
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
667
667
|
for (var n, i = o > 1 ? void 0 : o ? ce(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
668
668
|
return o && i && le(e, s, i), i;
|
|
669
669
|
};
|
|
670
|
-
let
|
|
670
|
+
let C = class extends Z(w`
|
|
671
671
|
:host {
|
|
672
672
|
display: block;
|
|
673
673
|
position: fixed;
|
|
@@ -695,14 +695,14 @@ let O = class extends Z(w`
|
|
|
695
695
|
}
|
|
696
696
|
`) {
|
|
697
697
|
constructor() {
|
|
698
|
-
super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.
|
|
699
|
-
const e = this.
|
|
698
|
+
super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
|
|
699
|
+
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
700
700
|
if (o !== -1 && this.activeIndex !== o) {
|
|
701
701
|
const n = this.activeIndex;
|
|
702
702
|
this.activeIndex = o, this.dispatchEvent(new CustomEvent("navigation-change", { detail: { oldIndex: n, newIndex: o, item: s }, bubbles: !0, composed: !0 }));
|
|
703
703
|
}
|
|
704
704
|
}, this.handleKeyDown = (t) => {
|
|
705
|
-
const e =
|
|
705
|
+
const e = this.getItems(), s = this.focusedIndex === -1 ? this.activeIndex : this.focusedIndex;
|
|
706
706
|
switch (t.key) {
|
|
707
707
|
case "ArrowLeft":
|
|
708
708
|
t.preventDefault(), s > 0 && this.focusItem(s - 1);
|
|
@@ -728,22 +728,26 @@ let O = class extends Z(w`
|
|
|
728
728
|
set activeIndex(t) {
|
|
729
729
|
this.activeIndex$.next(t);
|
|
730
730
|
}
|
|
731
|
+
getItems() {
|
|
732
|
+
const t = this.shadowRoot?.querySelector("slot");
|
|
733
|
+
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
734
|
+
}
|
|
731
735
|
connectedCallback() {
|
|
732
|
-
super.connectedCallback(), this
|
|
736
|
+
super.connectedCallback(), d(this, "bar-item-click").pipe(L((t) => this.handleItemClick(t)), M(this.disconnecting)).subscribe(), d(this, "keydown").pipe(L((t) => this.handleKeyDown(t)), M(this.disconnecting)).subscribe(), this.activeIndex$.pipe(M(this.disconnecting)).subscribe((t) => {
|
|
733
737
|
this.updateActiveStates(t);
|
|
734
|
-
}),
|
|
738
|
+
}), d(window, "fullscreen").pipe(L((t) => {
|
|
739
|
+
const e = t;
|
|
740
|
+
this.isFullscreen = e.detail;
|
|
741
|
+
}), M(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
735
742
|
}
|
|
736
743
|
setupScrollListener() {
|
|
737
|
-
d(window, "scroll").pipe(
|
|
744
|
+
d(window, "scroll").pipe(Nt(100), xt(() => window.scrollY), Tt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), L(([t, e]) => {
|
|
738
745
|
const s = e < t;
|
|
739
|
-
e > t && !this.
|
|
740
|
-
}),
|
|
741
|
-
}
|
|
742
|
-
disconnectedCallback() {
|
|
743
|
-
this.removeEventListener("bar-item-click", this.handleItemClick), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback();
|
|
746
|
+
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
747
|
+
}), M(this.disconnecting)).subscribe();
|
|
744
748
|
}
|
|
745
749
|
focusItem(t) {
|
|
746
|
-
const e = this.
|
|
750
|
+
const e = this.getItems();
|
|
747
751
|
e[t] && (this.focusedIndex = t, e[t].focus());
|
|
748
752
|
}
|
|
749
753
|
updateItems() {
|
|
@@ -755,35 +759,42 @@ let O = class extends Z(w`
|
|
|
755
759
|
t.addEventListener("slotchange", e), e();
|
|
756
760
|
}
|
|
757
761
|
}
|
|
762
|
+
addBoatItem(t) {
|
|
763
|
+
const e = document.createElement("schmancy-navigation-bar-item");
|
|
764
|
+
e.setAttribute("value", t.id), e.innerHTML = `
|
|
765
|
+
<schmancy-icon>${t.icon || "widgets"}</schmancy-icon>
|
|
766
|
+
<span>${t.title}</span>
|
|
767
|
+
`, this.appendChild(e);
|
|
768
|
+
}
|
|
758
769
|
updateActiveStates(t) {
|
|
759
|
-
this.
|
|
770
|
+
this.getItems().forEach((e, s) => {
|
|
760
771
|
const o = e;
|
|
761
772
|
o.setActive ? o.setActive(s === t) : o.active = s === t, o.hideLabels = this.hideLabels, e.tabIndex = s === t ? 0 : -1;
|
|
762
773
|
});
|
|
763
774
|
}
|
|
764
775
|
updated(t) {
|
|
765
|
-
super.updated(t), t.has("hideLabels") && this.updateActiveStates(this.activeIndex), t.has("hideOnScroll") && (this.hideOnScroll && !t.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.
|
|
776
|
+
super.updated(t), t.has("hideLabels") && this.updateActiveStates(this.activeIndex), t.has("hideOnScroll") && (this.hideOnScroll && !t.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.isHiddenByScroll = !1));
|
|
766
777
|
}
|
|
767
778
|
render() {
|
|
768
|
-
const t = { "h-20": !0, "fixed bottom-0 left-0 right-0": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-
|
|
779
|
+
const t = this.isFullscreen || this.isHiddenByScroll, e = { "h-20": !0, "fixed bottom-0 left-0 right-0": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-300 ease-in-out": !0, "shadow-none": this.elevation === 0, "shadow-sm": this.elevation === 1, "shadow-md": this.elevation === 2, "shadow-lg": this.elevation === 3, "shadow-xl": this.elevation === 4, "shadow-2xl": this.elevation === 5 }, s = t ? "translateY(100%)" : "translateY(0)";
|
|
769
780
|
return c`
|
|
770
781
|
<nav
|
|
771
|
-
class=${this.classMap(
|
|
782
|
+
class=${this.classMap(e)}
|
|
772
783
|
role="navigation"
|
|
773
784
|
aria-label="Main navigation"
|
|
774
|
-
aria-hidden=${
|
|
775
|
-
style="transform: ${
|
|
776
|
-
${
|
|
785
|
+
aria-hidden=${t}
|
|
786
|
+
style="transform: ${s};"
|
|
787
|
+
${P({ bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on })}
|
|
777
788
|
>
|
|
778
789
|
<slot></slot>
|
|
779
790
|
</nav>
|
|
780
791
|
`;
|
|
781
792
|
}
|
|
782
793
|
};
|
|
783
|
-
|
|
784
|
-
const St = "whereAreYouRicky", kt = "hereMorty",
|
|
794
|
+
I([l({ type: Number })], C.prototype, "activeIndex", 1), I([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), I([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), I([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), I([h()], C.prototype, "focusedIndex", 2), I([h()], C.prototype, "isHiddenByScroll", 2), I([h()], C.prototype, "isFullscreen", 2), C = I([p("schmancy-navigation-bar")], C);
|
|
795
|
+
const St = "whereAreYouRicky", kt = "hereMorty", F = new class {
|
|
785
796
|
constructor() {
|
|
786
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, kt).pipe(wt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), Mt(1)), J(t).pipe(
|
|
797
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, kt).pipe(wt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), Mt(1)), J(t).pipe(j(() => {
|
|
787
798
|
window.dispatchEvent(new CustomEvent(St, { detail: { id: t.id, callerID: t.uuid } }));
|
|
788
799
|
}))]).pipe(v(([e]) => e), jt(0)), this.flip = (t) => {
|
|
789
800
|
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
@@ -796,13 +807,13 @@ const St = "whereAreYouRicky", kt = "hereMorty", K = new class {
|
|
|
796
807
|
}
|
|
797
808
|
}();
|
|
798
809
|
function bt(t) {
|
|
799
|
-
return Ht(50).pipe(xt(() => t.getBoundingClientRect()),
|
|
810
|
+
return Ht(50).pipe(xt(() => t.getBoundingClientRect()), At((e, s) => e.width === s.width && e.height === s.height && e.top === s.top && e.right === s.right && e.bottom === s.bottom && e.left === s.left), qt(1));
|
|
800
811
|
}
|
|
801
812
|
var he = Object.defineProperty, de = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
|
|
802
813
|
for (var n, i = o > 1 ? void 0 : o ? de(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
803
814
|
return o && i && he(e, s, i), i;
|
|
804
815
|
};
|
|
805
|
-
let
|
|
816
|
+
let X = class extends W(w``) {
|
|
806
817
|
constructor() {
|
|
807
818
|
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
808
819
|
}
|
|
@@ -811,20 +822,20 @@ let _ = class extends j(w``) {
|
|
|
811
822
|
}
|
|
812
823
|
connectedCallback() {
|
|
813
824
|
if (this.id === void 0) throw new Error("id is required");
|
|
814
|
-
super.connectedCallback(), Q(d(window,
|
|
815
|
-
this.dispatchEvent(new CustomEvent(
|
|
816
|
-
} })), d(window, St).pipe(
|
|
825
|
+
super.connectedCallback(), Q(d(window, Rt).pipe(j({ next: () => {
|
|
826
|
+
this.dispatchEvent(new CustomEvent(Lt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
827
|
+
} })), d(window, St).pipe(j({ next: (t) => {
|
|
817
828
|
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(kt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
818
829
|
} }))).pipe(y(this.disconnecting)).subscribe();
|
|
819
830
|
}
|
|
820
831
|
async firstUpdated() {
|
|
821
|
-
J(
|
|
832
|
+
J(F.activeTeleportations.get(this.id)).pipe(wt((t) => !!t), y(this.disconnecting), Bt()).subscribe({ next: (t) => {
|
|
822
833
|
this.style.setProperty("visibility", "hidden"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
|
|
823
|
-
|
|
834
|
+
F.activeTeleportations.set(this.id, e), F.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
824
835
|
} });
|
|
825
836
|
}, error: () => {
|
|
826
837
|
this.style.setProperty("visibility", "visible"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
|
|
827
|
-
|
|
838
|
+
F.activeTeleportations.set(this.id, t);
|
|
828
839
|
} });
|
|
829
840
|
}, complete: () => {
|
|
830
841
|
} });
|
|
@@ -833,12 +844,12 @@ let _ = class extends j(w``) {
|
|
|
833
844
|
return c`<slot></slot>`;
|
|
834
845
|
}
|
|
835
846
|
};
|
|
836
|
-
Y([l({ type: Number, reflect: !0 })],
|
|
837
|
-
var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor,
|
|
847
|
+
Y([l({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), Y([l({ type: String })], X.prototype, "id", 2), Y([l({ type: Number })], X.prototype, "delay", 2), X = Y([p("schmancy-teleport")], X);
|
|
848
|
+
var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, S = (t, e, s, o) => {
|
|
838
849
|
for (var n, i = o > 1 ? void 0 : o ? ue(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
839
850
|
return o && i && pe(e, s, i), i;
|
|
840
851
|
};
|
|
841
|
-
let f = class extends
|
|
852
|
+
let f = class extends W() {
|
|
842
853
|
constructor() {
|
|
843
854
|
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
844
855
|
}
|
|
@@ -854,7 +865,7 @@ let f = class extends j() {
|
|
|
854
865
|
}
|
|
855
866
|
getColorAttributes() {
|
|
856
867
|
const t = { primary: { bgColor: r.sys.color.primary.container, color: r.sys.color.primary.onContainer }, secondary: { bgColor: r.sys.color.secondary.container, color: r.sys.color.secondary.onContainer }, tertiary: { bgColor: r.sys.color.tertiary.container, color: r.sys.color.tertiary.onContainer }, success: { bgColor: r.sys.color.success.container, color: r.sys.color.success.onContainer }, error: { bgColor: r.sys.color.error.container, color: r.sys.color.error.onContainer }, neutral: { bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on } };
|
|
857
|
-
return
|
|
868
|
+
return P(t[this.color]);
|
|
858
869
|
}
|
|
859
870
|
renderStatusIndicator() {
|
|
860
871
|
const t = { online: r.sys.color.success.default, offline: r.sys.color.surface.onVariant, busy: r.sys.color.error.default, away: r.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
|
|
@@ -863,11 +874,11 @@ let f = class extends j() {
|
|
|
863
874
|
`;
|
|
864
875
|
}
|
|
865
876
|
};
|
|
866
|
-
|
|
877
|
+
S([l({ type: String })], f.prototype, "initials", 2), S([l({ type: String })], f.prototype, "src", 2), S([l({ type: String })], f.prototype, "icon", 2), S([l({ type: String })], f.prototype, "size", 2), S([l({ type: String })], f.prototype, "color", 2), S([l({ type: String })], f.prototype, "shape", 2), S([l({ type: Boolean })], f.prototype, "bordered", 2), S([l({ type: String })], f.prototype, "status", 2), f = S([p("schmancy-avatar")], f);
|
|
867
878
|
export {
|
|
868
|
-
|
|
879
|
+
Os as $,
|
|
869
880
|
kt as H,
|
|
870
|
-
S,
|
|
881
|
+
k as S,
|
|
871
882
|
St as W,
|
|
872
883
|
mt as a,
|
|
873
884
|
rt as b,
|
|
@@ -875,21 +886,21 @@ export {
|
|
|
875
886
|
Ct as d,
|
|
876
887
|
nt as e,
|
|
877
888
|
at as f,
|
|
878
|
-
|
|
879
|
-
|
|
889
|
+
D as g,
|
|
890
|
+
T as h,
|
|
880
891
|
b as i,
|
|
881
892
|
Qt as j,
|
|
882
|
-
|
|
893
|
+
_ as k,
|
|
883
894
|
yt as l,
|
|
884
895
|
lt as m,
|
|
885
896
|
ct as n,
|
|
886
897
|
g as o,
|
|
887
|
-
|
|
898
|
+
O as p,
|
|
888
899
|
$ as q,
|
|
889
|
-
|
|
900
|
+
C as r,
|
|
890
901
|
Ds as s,
|
|
891
|
-
|
|
892
|
-
|
|
902
|
+
X as t,
|
|
903
|
+
F as u,
|
|
893
904
|
f as v
|
|
894
905
|
};
|
|
895
|
-
//# sourceMappingURL=avatar-
|
|
906
|
+
//# sourceMappingURL=avatar-DJ7qYc6-.js.map
|