@mhmo91/schmancy 0.8.6 → 0.9.3
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/README.md +54 -1
- package/ai/INDEX.md +321 -0
- package/ai/animation.md +64 -0
- package/ai/area.md +170 -237
- package/ai/audio.md +50 -222
- package/ai/autocomplete.md +44 -162
- package/ai/avatar.md +47 -178
- package/ai/badge.md +41 -108
- package/ai/boat.md +35 -41
- package/ai/busy.md +25 -184
- package/ai/button.md +52 -150
- package/ai/card.md +42 -215
- package/ai/charts.md +93 -0
- package/ai/checkbox.md +32 -135
- package/ai/chips.md +73 -383
- package/ai/code-highlight.md +33 -226
- package/ai/connectivity.md +36 -0
- package/ai/content-drawer.md +65 -232
- package/ai/date-range-inline.md +40 -258
- package/ai/date-range.md +43 -198
- package/ai/delay.md +31 -139
- package/ai/details.md +48 -453
- package/ai/dialog.md +55 -164
- package/ai/directives.md +258 -405
- package/ai/discovery.md +67 -0
- package/ai/divider.md +15 -137
- package/ai/dropdown.md +44 -235
- package/ai/expand.md +63 -0
- package/ai/extra.md +59 -0
- package/ai/float.md +14 -0
- package/ai/form.md +41 -137
- package/ai/icons.md +31 -235
- package/ai/iframe.md +44 -0
- package/ai/input.md +50 -210
- package/ai/json.md +33 -0
- package/ai/layout.md +45 -169
- package/ai/lightbox.md +25 -370
- package/ai/list.md +51 -130
- package/ai/mailbox.md +80 -508
- package/ai/map.md +47 -226
- package/ai/menu.md +25 -134
- package/ai/mixins.md +201 -0
- package/ai/nav-drawer.md +30 -184
- package/ai/navigation-bar.md +27 -184
- package/ai/navigation-rail.md +62 -630
- package/ai/notification.md +49 -183
- package/ai/option.md +30 -160
- package/ai/page.md +42 -0
- package/ai/progress.md +26 -65
- package/ai/qr-scanner.md +51 -0
- package/ai/radio-group.md +45 -189
- package/ai/range.md +47 -0
- package/ai/rxjs-utils.md +60 -0
- package/ai/select.md +49 -209
- package/ai/sheet.md +74 -506
- package/ai/slider.md +30 -214
- package/ai/steps.md +30 -392
- package/ai/store.md +173 -251
- package/ai/surface.md +58 -245
- package/ai/table.md +56 -330
- package/ai/tabs.md +31 -176
- package/ai/teleport.md +35 -177
- package/ai/textarea.md +48 -232
- package/ai/theme-button.md +16 -163
- package/ai/theme.md +40 -1089
- package/ai/tooltip.md +35 -146
- package/ai/tree.md +45 -271
- package/ai/typewriter.md +28 -317
- package/ai/typography.md +43 -296
- package/ai/utils.md +95 -0
- package/ai/window.md +67 -0
- package/custom-elements.json +10955 -0
- package/dist/ai/INDEX.md +321 -0
- package/dist/ai/animation.md +64 -0
- package/dist/ai/area.md +170 -237
- package/dist/ai/audio.md +50 -222
- package/dist/ai/autocomplete.md +44 -162
- package/dist/ai/avatar.md +47 -178
- package/dist/ai/badge.md +41 -108
- package/dist/ai/boat.md +35 -41
- package/dist/ai/busy.md +25 -184
- package/dist/ai/button.md +52 -150
- package/dist/ai/card.md +42 -215
- package/dist/ai/charts.md +93 -0
- package/dist/ai/checkbox.md +32 -135
- package/dist/ai/chips.md +73 -383
- package/dist/ai/code-highlight.md +33 -226
- package/dist/ai/connectivity.md +36 -0
- package/dist/ai/content-drawer.md +65 -232
- package/dist/ai/date-range-inline.md +40 -258
- package/dist/ai/date-range.md +43 -198
- package/dist/ai/delay.md +31 -139
- package/dist/ai/details.md +48 -453
- package/dist/ai/dialog.md +55 -164
- package/dist/ai/directives.md +258 -405
- package/dist/ai/discovery.md +67 -0
- package/dist/ai/divider.md +15 -137
- package/dist/ai/dropdown.md +44 -235
- package/dist/ai/expand.md +63 -0
- package/dist/ai/extra.md +59 -0
- package/dist/ai/float.md +14 -0
- package/dist/ai/form.md +41 -137
- package/dist/ai/icons.md +31 -235
- package/dist/ai/iframe.md +44 -0
- package/dist/ai/input.md +50 -210
- package/dist/ai/json.md +33 -0
- package/dist/ai/layout.md +45 -169
- package/dist/ai/lightbox.md +25 -370
- package/dist/ai/list.md +51 -130
- package/dist/ai/mailbox.md +80 -508
- package/dist/ai/map.md +47 -226
- package/dist/ai/menu.md +25 -134
- package/dist/ai/mixins.md +201 -0
- package/dist/ai/nav-drawer.md +30 -184
- package/dist/ai/navigation-bar.md +27 -184
- package/dist/ai/navigation-rail.md +62 -630
- package/dist/ai/notification.md +49 -183
- package/dist/ai/option.md +30 -160
- package/dist/ai/page.md +42 -0
- package/dist/ai/progress.md +26 -65
- package/dist/ai/qr-scanner.md +51 -0
- package/dist/ai/radio-group.md +45 -189
- package/dist/ai/range.md +47 -0
- package/dist/ai/rxjs-utils.md +60 -0
- package/dist/ai/select.md +49 -209
- package/dist/ai/sheet.md +74 -506
- package/dist/ai/slider.md +30 -214
- package/dist/ai/steps.md +30 -392
- package/dist/ai/store.md +173 -251
- package/dist/ai/surface.md +58 -245
- package/dist/ai/table.md +56 -330
- package/dist/ai/tabs.md +31 -176
- package/dist/ai/teleport.md +35 -177
- package/dist/ai/textarea.md +48 -232
- package/dist/ai/theme-button.md +16 -163
- package/dist/ai/theme.md +40 -1089
- package/dist/ai/tooltip.md +35 -146
- package/dist/ai/tree.md +45 -271
- package/dist/ai/typewriter.md +28 -317
- package/dist/ai/typography.md +43 -296
- package/dist/ai/utils.md +95 -0
- package/dist/ai/window.md +67 -0
- package/dist/animation-BK-8BwY8.js +173 -0
- package/dist/animation-BK-8BwY8.js.map +1 -0
- package/dist/animation-CO_Csq84.cjs +16 -0
- package/dist/animation-CO_Csq84.cjs.map +1 -0
- package/dist/area-CC8fUnra.js +590 -0
- package/dist/area-CC8fUnra.js.map +1 -0
- package/dist/area-wnWUAHEn.cjs +12 -0
- package/dist/area-wnWUAHEn.cjs.map +1 -0
- package/dist/area.cjs +1 -2
- package/dist/area.js +2 -29
- package/dist/audio-DtYYgzYD.cjs +1 -0
- package/dist/audio-DtYYgzYD.cjs.map +1 -0
- package/dist/audio-kz8UgPTO.js +335 -0
- package/dist/audio-kz8UgPTO.js.map +1 -0
- package/dist/audio.cjs +1 -2
- package/dist/audio.js +3 -9
- package/dist/autocomplete-B2Z3WK_7.cjs +111 -0
- package/dist/autocomplete-B2Z3WK_7.cjs.map +1 -0
- package/dist/autocomplete-CJ7YgtKN.js +378 -0
- package/dist/autocomplete-CJ7YgtKN.js.map +1 -0
- package/dist/autocomplete.cjs +1 -2
- package/dist/autocomplete.js +1 -2
- package/dist/badge.cjs +1 -2
- package/dist/badge.js +2 -6
- package/dist/boat-B57_4TzJ.cjs +80 -0
- package/dist/boat-B57_4TzJ.cjs.map +1 -0
- package/dist/boat-C9eU6NO-.js +347 -0
- package/dist/boat-C9eU6NO-.js.map +1 -0
- package/dist/boat.cjs +1 -2
- package/dist/boat.js +2 -5
- package/dist/busy--6oimtop.cjs +134 -0
- package/dist/busy--6oimtop.cjs.map +1 -0
- package/dist/busy-CGZXy0h-.js +167 -0
- package/dist/busy-CGZXy0h-.js.map +1 -0
- package/dist/busy.cjs +1 -2
- package/dist/busy.js +1 -2
- package/dist/button.cjs +113 -2
- package/dist/button.cjs.map +1 -1
- package/dist/button.js +398 -5
- package/dist/button.js.map +1 -1
- package/dist/card-BGJ0Hb1O.cjs +177 -0
- package/dist/card-BGJ0Hb1O.cjs.map +1 -0
- package/dist/card-C-ee-l5O.js +284 -0
- package/dist/card-C-ee-l5O.js.map +1 -0
- package/dist/card.cjs +1 -2
- package/dist/card.js +1 -2
- package/dist/charts.cjs +112 -2
- package/dist/charts.cjs.map +1 -1
- package/dist/charts.js +368 -8
- package/dist/charts.js.map +1 -1
- package/dist/checkbox-DuYaKoDZ.cjs +39 -0
- package/dist/checkbox-DuYaKoDZ.cjs.map +1 -0
- package/dist/checkbox-FRcorDrD.js +610 -0
- package/dist/checkbox-FRcorDrD.js.map +1 -0
- package/dist/checkbox.cjs +1 -2
- package/dist/checkbox.js +2 -5
- package/dist/chips-BpA0A-qr.cjs +253 -0
- package/dist/chips-BpA0A-qr.cjs.map +1 -0
- package/dist/chips-CyzNbKJD.js +645 -0
- package/dist/chips-CyzNbKJD.js.map +1 -0
- package/dist/chips.cjs +1 -2
- package/dist/chips.js +3 -10
- package/dist/chunk-BCfY8kxB.cjs +1 -0
- package/dist/chunk-C_1VqBVD.js +11 -0
- package/dist/code-highlight-C7O9ltXm.js +290 -0
- package/dist/code-highlight-C7O9ltXm.js.map +1 -0
- package/dist/code-highlight-DsBdSQBG.cjs +190 -0
- package/dist/code-highlight-DsBdSQBG.cjs.map +1 -0
- package/dist/code-highlight.cjs +1 -2
- package/dist/code-highlight.js +2 -7
- package/dist/components-CkMvOiTR.js +730 -0
- package/dist/components-CkMvOiTR.js.map +1 -0
- package/dist/components-dDI3xeIf.cjs +73 -0
- package/dist/components-dDI3xeIf.cjs.map +1 -0
- package/dist/components.cjs +1 -2
- package/dist/components.js +2 -5
- package/dist/connectivity.cjs +59 -0
- package/dist/connectivity.cjs.map +1 -0
- package/dist/connectivity.js +86 -0
- package/dist/connectivity.js.map +1 -0
- package/dist/content-drawer.cjs +1 -2
- package/dist/content-drawer.js +2 -13
- package/dist/cursor-glow-Ah7VXSj7.js +46 -0
- package/dist/cursor-glow-Ah7VXSj7.js.map +1 -0
- package/dist/cursor-glow-DtSy_PJd.cjs +1 -0
- package/dist/cursor-glow-DtSy_PJd.cjs.map +1 -0
- package/dist/date-range-70zhLUKE.cjs +131 -0
- package/dist/date-range-70zhLUKE.cjs.map +1 -0
- package/dist/date-range-BrN_Bs6_.js +946 -0
- package/dist/date-range-BrN_Bs6_.js.map +1 -0
- package/dist/date-range-inline-CPzD-tIv.cjs +43 -0
- package/dist/date-range-inline-CPzD-tIv.cjs.map +1 -0
- package/dist/date-range-inline-Cp294DxR.js +267 -0
- package/dist/date-range-inline-Cp294DxR.js.map +1 -0
- package/dist/date-range-inline.cjs +1 -2
- package/dist/date-range-inline.js +2 -5
- package/dist/date-range.cjs +1 -2
- package/dist/date-range.js +2 -6
- package/dist/delay-COcAkBqB.cjs +9 -0
- package/dist/delay-COcAkBqB.cjs.map +1 -0
- package/dist/delay-IV0Swce2.js +346 -0
- package/dist/delay-IV0Swce2.js.map +1 -0
- package/dist/delay.cjs +1 -2
- package/dist/delay.js +2 -6
- package/dist/details-CuKmr3Qw.js +293 -0
- package/dist/details-CuKmr3Qw.js.map +1 -0
- package/dist/details-DgWkPqmt.cjs +168 -0
- package/dist/details-DgWkPqmt.cjs.map +1 -0
- package/dist/details.cjs +1 -2
- package/dist/details.js +2 -5
- package/dist/dialog-service-NZEvyEK-.js +193 -0
- package/dist/dialog-service-NZEvyEK-.js.map +1 -0
- package/dist/dialog-service-VnW4gkmE.cjs +1 -0
- package/dist/dialog-service-VnW4gkmE.cjs.map +1 -0
- package/dist/dialog.cjs +82 -2
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.js +396 -9
- package/dist/dialog.js.map +1 -1
- package/dist/directives.cjs +108 -2
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js +1362 -14
- package/dist/directives.js.map +1 -1
- package/dist/discovery.cjs +1 -2
- package/dist/discovery.cjs.map +1 -1
- package/dist/discovery.js +61 -6
- package/dist/discovery.js.map +1 -1
- package/dist/divider-BWoUbfgZ.js +87 -0
- package/dist/divider-BWoUbfgZ.js.map +1 -0
- package/dist/divider-BghtrMbn.cjs +57 -0
- package/dist/divider-BghtrMbn.cjs.map +1 -0
- package/dist/divider.cjs +1 -2
- package/dist/divider.js +1 -2
- package/dist/dropdown.cjs +57 -2
- package/dist/dropdown.cjs.map +1 -1
- package/dist/dropdown.js +160 -5
- package/dist/dropdown.js.map +1 -1
- package/dist/expand-CJU9m4ga.js +336 -0
- package/dist/expand-CJU9m4ga.js.map +1 -0
- package/dist/expand-XyDE5SsO.cjs +141 -0
- package/dist/expand-XyDE5SsO.cjs.map +1 -0
- package/dist/expand.cjs +1 -0
- package/dist/expand.js +2 -0
- package/dist/extra-BxXFmW1w.js +3435 -0
- package/dist/extra-BxXFmW1w.js.map +1 -0
- package/dist/extra-CsrRKKqE.cjs +31 -0
- package/dist/extra-CsrRKKqE.cjs.map +1 -0
- package/dist/extra.cjs +1 -2
- package/dist/extra.js +2 -6
- package/dist/float-BD86t_NU.js +5 -0
- package/dist/float-BD86t_NU.js.map +1 -0
- package/dist/float-DBv1FINW.cjs +1 -0
- package/dist/float-DBv1FINW.cjs.map +1 -0
- package/dist/float.cjs +1 -0
- package/dist/float.js +2 -0
- package/dist/flow-Bbwn6dRN.cjs +1 -0
- package/dist/flow-Bbwn6dRN.cjs.map +1 -0
- package/dist/flow-CUj0fDT_.js +386 -0
- package/dist/flow-CUj0fDT_.js.map +1 -0
- package/dist/form-Cp5-I_ZV.js +270 -0
- package/dist/form-Cp5-I_ZV.js.map +1 -0
- package/dist/form-D0bIeDWT.cjs +1 -0
- package/dist/form-D0bIeDWT.cjs.map +1 -0
- package/dist/form.cjs +1 -2
- package/dist/form.js +1 -2
- package/dist/hashContent-DYM21p6t.js +6 -0
- package/dist/hashContent-DYM21p6t.js.map +1 -0
- package/dist/hashContent-DaeGmY-p.cjs +1 -0
- package/dist/hashContent-DaeGmY-p.cjs.map +1 -0
- package/dist/icons-BpU0_l92.js +161 -0
- package/dist/icons-BpU0_l92.js.map +1 -0
- package/dist/icons-D8w_20mO.cjs +52 -0
- package/dist/icons-D8w_20mO.cjs.map +1 -0
- package/dist/icons.cjs +1 -2
- package/dist/icons.js +1 -2
- package/dist/iframe-BjwxA2Pg.cjs +24 -0
- package/dist/iframe-BjwxA2Pg.cjs.map +1 -0
- package/dist/iframe-tY1GY5g1.js +44 -0
- package/dist/iframe-tY1GY5g1.js.map +1 -0
- package/dist/iframe.cjs +1 -0
- package/dist/iframe.js +2 -0
- package/dist/index.cjs +1 -2
- package/dist/index.js +69 -285
- package/dist/input-BnfTpRN9.js +364 -0
- package/dist/input-BnfTpRN9.js.map +1 -0
- package/dist/input-BwxwognS.cjs +51 -0
- package/dist/input-BwxwognS.cjs.map +1 -0
- package/dist/input-chip-CkM2aYmO.js +301 -0
- package/dist/input-chip-CkM2aYmO.js.map +1 -0
- package/dist/input-chip-MjOwX5EY.cjs +146 -0
- package/dist/input-chip-MjOwX5EY.cjs.map +1 -0
- package/dist/input.cjs +1 -2
- package/dist/input.js +2 -6
- package/dist/intersection-BPLpqYEd.js +12 -0
- package/dist/intersection-BPLpqYEd.js.map +1 -0
- package/dist/intersection-CZpaIHeT.cjs +1 -0
- package/dist/intersection-CZpaIHeT.cjs.map +1 -0
- package/dist/json.cjs +11 -2
- package/dist/json.cjs.map +1 -1
- package/dist/json.js +40 -4
- package/dist/json.js.map +1 -1
- package/dist/layout-4C-6_cre.cjs +1 -0
- package/dist/layout-4C-6_cre.cjs.map +1 -0
- package/dist/layout-BV0EeyUS.cjs +17 -0
- package/dist/layout-BV0EeyUS.cjs.map +1 -0
- package/dist/layout-CJSlZlFL.js +267 -0
- package/dist/layout-CJSlZlFL.js.map +1 -0
- package/dist/layout-yxSlLybo.js +94 -0
- package/dist/layout-yxSlLybo.js.map +1 -0
- package/dist/layout.cjs +1 -2
- package/dist/layout.js +3 -9
- package/dist/lightbox-CpNMZHZW.cjs +202 -0
- package/dist/lightbox-CpNMZHZW.cjs.map +1 -0
- package/dist/lightbox-groqGmJH.js +678 -0
- package/dist/lightbox-groqGmJH.js.map +1 -0
- package/dist/lightbox.cjs +1 -2
- package/dist/lightbox.js +2 -8
- package/dist/list-CyHd0Zc2.cjs +40 -0
- package/dist/list-CyHd0Zc2.cjs.map +1 -0
- package/dist/list-DzkqT_r-.js +105 -0
- package/dist/list-DzkqT_r-.js.map +1 -0
- package/dist/list.cjs +1 -2
- package/dist/list.js +2 -7
- package/dist/litElement.mixin-BG6_-nYX.cjs +1 -0
- package/dist/litElement.mixin-BG6_-nYX.cjs.map +1 -0
- package/dist/litElement.mixin-Dm-4L8zL.js +12 -0
- package/dist/litElement.mixin-Dm-4L8zL.js.map +1 -0
- package/dist/magnetic-BZGFxAWG.js +47 -0
- package/dist/magnetic-BZGFxAWG.js.map +1 -0
- package/dist/magnetic-Dux4QwO4.cjs +1 -0
- package/dist/magnetic-Dux4QwO4.cjs.map +1 -0
- package/dist/mailbox-BcqnXYVP.js +1584 -0
- package/dist/mailbox-BcqnXYVP.js.map +1 -0
- package/dist/mailbox-C5eYTd7p.cjs +1142 -0
- package/dist/mailbox-C5eYTd7p.cjs.map +1 -0
- package/dist/mailbox.cjs +1 -2
- package/dist/mailbox.js +2 -9
- package/dist/map-BncheFt5.cjs +80 -0
- package/dist/map-BncheFt5.cjs.map +1 -0
- package/dist/map-C0o1PgLE.js +205 -0
- package/dist/map-C0o1PgLE.js.map +1 -0
- package/dist/map.cjs +1 -2
- package/dist/map.js +2 -5
- package/dist/menu-uwqlQbLd.js +51 -0
- package/dist/menu-uwqlQbLd.js.map +1 -0
- package/dist/menu-yXzwJZFf.cjs +23 -0
- package/dist/menu-yXzwJZFf.cjs.map +1 -0
- package/dist/menu.cjs +1 -2
- package/dist/menu.js +1 -2
- package/dist/mixins.cjs +1 -2
- package/dist/mixins.cjs.map +1 -1
- package/dist/mixins.js +59 -12
- package/dist/mixins.js.map +1 -1
- package/dist/nav-drawer.cjs +1 -2
- package/dist/nav-drawer.js +2 -12
- package/dist/navigation-bar.cjs +1 -2
- package/dist/navigation-bar.js +2 -6
- package/dist/navigation-rail.cjs +71 -2
- package/dist/navigation-rail.cjs.map +1 -1
- package/dist/navigation-rail.js +363 -5
- package/dist/navigation-rail.js.map +1 -1
- package/dist/notification-BjwTfLAl.cjs +23 -0
- package/dist/notification-BjwTfLAl.cjs.map +1 -0
- package/dist/notification-DzYT4deA.js +304 -0
- package/dist/notification-DzYT4deA.js.map +1 -0
- package/dist/notification.cjs +1 -2
- package/dist/notification.js +2 -9
- package/dist/option-BJsD3u2D.cjs +43 -0
- package/dist/option-BJsD3u2D.cjs.map +1 -0
- package/dist/option-JFHxgiYl.js +97 -0
- package/dist/option-JFHxgiYl.js.map +1 -0
- package/dist/option.cjs +1 -2
- package/dist/option.js +1 -2
- package/dist/overlay-stack-DQey9Qph.cjs +1 -0
- package/dist/overlay-stack-DQey9Qph.cjs.map +1 -0
- package/dist/overlay-stack-DT1SdaGW.js +39 -0
- package/dist/overlay-stack-DT1SdaGW.js.map +1 -0
- package/dist/page.cjs +20 -2
- package/dist/page.cjs.map +1 -1
- package/dist/page.js +71 -4
- package/dist/page.js.map +1 -1
- package/dist/progress-BUh5WBqx.js +128 -0
- package/dist/progress-BUh5WBqx.js.map +1 -0
- package/dist/progress-BoRmyGAa.cjs +51 -0
- package/dist/progress-BoRmyGAa.cjs.map +1 -0
- package/dist/progress.cjs +1 -2
- package/dist/progress.js +1 -2
- package/dist/provide-8MrDz_qX.js +107 -0
- package/dist/provide-8MrDz_qX.js.map +1 -0
- package/dist/provide-CDkxgjHb.cjs +1 -0
- package/dist/provide-CDkxgjHb.cjs.map +1 -0
- package/dist/qr-scanner.cjs +35 -2
- package/dist/qr-scanner.cjs.map +1 -1
- package/dist/qr-scanner.js +119 -4
- package/dist/qr-scanner.js.map +1 -1
- package/dist/radio-group-DbOWUPhi.js +105 -0
- package/dist/radio-group-DbOWUPhi.js.map +1 -0
- package/dist/radio-group-rhrvhB5X.cjs +40 -0
- package/dist/radio-group-rhrvhB5X.cjs.map +1 -0
- package/dist/radio-group.cjs +1 -2
- package/dist/radio-group.js +2 -6
- package/dist/range.cjs +62 -0
- package/dist/range.cjs.map +1 -0
- package/dist/range.js +85 -0
- package/dist/range.js.map +1 -0
- package/dist/reduced-motion-D-L12p7G.js +7 -0
- package/dist/reduced-motion-D-L12p7G.js.map +1 -0
- package/dist/reduced-motion-Ds05GPyz.cjs +1 -0
- package/dist/reduced-motion-Ds05GPyz.cjs.map +1 -0
- package/dist/rxjs-utils-BSjmI9-Q.js +32 -0
- package/dist/rxjs-utils-BSjmI9-Q.js.map +1 -0
- package/dist/rxjs-utils-DCsfzeap.cjs +1 -0
- package/dist/rxjs-utils-DCsfzeap.cjs.map +1 -0
- package/dist/rxjs-utils.cjs +1 -2
- package/dist/rxjs-utils.js +2 -14
- package/dist/scroll-BE9W9PF2.cjs +26 -0
- package/dist/scroll-BE9W9PF2.cjs.map +1 -0
- package/dist/scroll-qGks1R0k.js +112 -0
- package/dist/scroll-qGks1R0k.js.map +1 -0
- package/dist/search-C4dFHYbX.js +91 -0
- package/dist/search-C4dFHYbX.js.map +1 -0
- package/dist/search-Ds8tt7Et.cjs +1 -0
- package/dist/search-Ds8tt7Et.cjs.map +1 -0
- package/dist/select-D9sgBRjU.js +305 -0
- package/dist/select-D9sgBRjU.js.map +1 -0
- package/dist/select-DXU2kzg4.cjs +56 -0
- package/dist/select-DXU2kzg4.cjs.map +1 -0
- package/dist/select.cjs +1 -2
- package/dist/select.js +2 -5
- package/dist/sheet-CIxCCJ3H.js +168 -0
- package/dist/sheet-CIxCCJ3H.js.map +1 -0
- package/dist/sheet-CeX6BbNp.cjs +35 -0
- package/dist/sheet-CeX6BbNp.cjs.map +1 -0
- package/dist/sheet.cjs +1 -2
- package/dist/sheet.js +3 -7
- package/dist/sheet.service-CAB7weBc.js +86 -0
- package/dist/sheet.service-CAB7weBc.js.map +1 -0
- package/dist/sheet.service-DPAp7E3x.cjs +1 -0
- package/dist/sheet.service-DPAp7E3x.cjs.map +1 -0
- package/dist/slider.cjs +82 -2
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.js +143 -5
- package/dist/slider.js.map +1 -1
- package/dist/sound.service-Bu3EQLv2.cjs +1 -0
- package/dist/sound.service-Bu3EQLv2.cjs.map +1 -0
- package/dist/sound.service-m3BrSfuH.js +2353 -0
- package/dist/sound.service-m3BrSfuH.js.map +1 -0
- package/dist/src-CbO5kJ2O.js +1244 -0
- package/dist/src-CbO5kJ2O.js.map +1 -0
- package/dist/src-SraDxEeg.cjs +269 -0
- package/dist/src-SraDxEeg.cjs.map +1 -0
- package/dist/steps.cjs +70 -2
- package/dist/steps.cjs.map +1 -1
- package/dist/steps.js +178 -7
- package/dist/steps.js.map +1 -1
- package/dist/store-CorvD3bT.cjs +1 -0
- package/dist/store-CorvD3bT.cjs.map +1 -0
- package/dist/store-DYqDLAvT.js +1654 -0
- package/dist/store-DYqDLAvT.js.map +1 -0
- package/dist/store.cjs +1 -2
- package/dist/store.js +2 -47
- package/dist/surface-DuH0pm2v.cjs +7 -0
- package/dist/surface-DuH0pm2v.cjs.map +1 -0
- package/dist/surface-eN_Jy2MJ.js +21 -0
- package/dist/surface-eN_Jy2MJ.js.map +1 -0
- package/dist/surface.cjs +1 -2
- package/dist/surface.js +2 -6
- package/dist/surface.mixin-CIXgN6iw.cjs +297 -0
- package/dist/surface.mixin-CIXgN6iw.cjs.map +1 -0
- package/dist/surface.mixin-D9jv1sKG.js +320 -0
- package/dist/surface.mixin-D9jv1sKG.js.map +1 -0
- package/dist/table-C9rRQJEB.cjs +63 -0
- package/dist/table-C9rRQJEB.cjs.map +1 -0
- package/dist/table-Dg_tUGB_.js +631 -0
- package/dist/table-Dg_tUGB_.js.map +1 -0
- package/dist/table.cjs +1 -2
- package/dist/table.js +2 -6
- package/dist/tabs-BbFC9omR.js +125 -0
- package/dist/tabs-BbFC9omR.js.map +1 -0
- package/dist/tabs-soTL-x4G.cjs +31 -0
- package/dist/tabs-soTL-x4G.cjs.map +1 -0
- package/dist/tabs.cjs +1 -2
- package/dist/tabs.js +1 -2
- package/dist/tailwind.mixin-BIVhjNvD.js +225 -0
- package/dist/tailwind.mixin-BIVhjNvD.js.map +1 -0
- package/dist/tailwind.mixin-DSuEu-y3.cjs +2 -0
- package/dist/tailwind.mixin-DSuEu-y3.cjs.map +1 -0
- package/dist/teleport.cjs +1 -2
- package/dist/teleport.js +2 -8
- package/dist/textarea-DaRUJ0ri.cjs +35 -0
- package/dist/textarea-DaRUJ0ri.cjs.map +1 -0
- package/dist/textarea-hChvHbNM.js +195 -0
- package/dist/textarea-hChvHbNM.js.map +1 -0
- package/dist/textarea.cjs +1 -2
- package/dist/textarea.js +1 -2
- package/dist/theme-B0M8Hlyo.js +4121 -0
- package/dist/theme-B0M8Hlyo.js.map +1 -0
- package/dist/theme-ZYH2MqX9.cjs +181 -0
- package/dist/theme-ZYH2MqX9.cjs.map +1 -0
- package/dist/theme-button-BtlX_Zgd.js +19 -0
- package/dist/theme-button-BtlX_Zgd.js.map +1 -0
- package/dist/theme-button-Dvqg-rE_.cjs +8 -0
- package/dist/theme-button-Dvqg-rE_.cjs.map +1 -0
- package/dist/theme-button.cjs +1 -2
- package/dist/theme-button.js +1 -2
- package/dist/theme.cjs +1 -2
- package/dist/theme.events-Cv7N4Toe.js +2 -0
- package/dist/theme.events-Cv7N4Toe.js.map +1 -0
- package/dist/theme.events-DM4H5F2d.cjs +1 -0
- package/dist/theme.events-DM4H5F2d.cjs.map +1 -0
- package/dist/theme.interface-CXloMUCw.js +276 -0
- package/dist/theme.interface-CXloMUCw.js.map +1 -0
- package/dist/theme.interface-Da23QAYb.cjs +1 -0
- package/dist/theme.interface-Da23QAYb.cjs.map +1 -0
- package/dist/theme.js +6 -21
- package/dist/theme.service-C_tjlqgy.cjs +1 -0
- package/dist/theme.service-C_tjlqgy.cjs.map +1 -0
- package/dist/theme.service-D9lEas89.js +108 -0
- package/dist/theme.service-D9lEas89.js.map +1 -0
- package/dist/tooltip.cjs +6 -2
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.js +200 -5
- package/dist/tooltip.js.map +1 -1
- package/dist/tree.cjs +26 -2
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js +64 -4
- package/dist/tree.js.map +1 -1
- package/dist/tslib.es6-D7BIeDVB.cjs +1 -0
- package/dist/tslib.es6-D7BIeDVB.cjs.map +1 -0
- package/dist/tslib.es6-ErZEp3OO.js +7 -0
- package/dist/tslib.es6-ErZEp3OO.js.map +1 -0
- package/dist/types.cjs +1 -2
- package/dist/types.cjs.map +1 -1
- package/dist/types.js +4 -5
- package/dist/types.js.map +1 -1
- package/dist/typewriter-CCel8Nta.js +700 -0
- package/dist/typewriter-CCel8Nta.js.map +1 -0
- package/dist/typewriter-Cf9f2bdx.cjs +123 -0
- package/dist/typewriter-Cf9f2bdx.cjs.map +1 -0
- package/dist/typewriter.cjs +1 -2
- package/dist/typewriter.js +2 -5
- package/dist/typography.cjs +282 -2
- package/dist/typography.cjs.map +1 -1
- package/dist/typography.js +353 -4
- package/dist/typography.js.map +1 -1
- package/dist/utils-BcaKtQuA.cjs +1 -0
- package/dist/utils-BcaKtQuA.cjs.map +1 -0
- package/dist/utils-CoU7M2YS.js +259 -0
- package/dist/utils-CoU7M2YS.js.map +1 -0
- package/dist/utils.cjs +1 -2
- package/dist/utils.js +6 -9
- package/dist/window-B9_14c12.cjs +59 -0
- package/dist/window-B9_14c12.cjs.map +1 -0
- package/dist/window-CbgdwOZD.js +548 -0
- package/dist/window-CbgdwOZD.js.map +1 -0
- package/dist/window.cjs +1 -0
- package/dist/window.js +2 -0
- package/mixins/baseElement.ts +118 -1
- package/mixins/discovery.service.ts +162 -1
- package/mixins/formField.mixin.ts +13 -8
- package/mixins/index.ts +2 -0
- package/mixins/surface.mixin.ts +93 -0
- package/mixins/tailwind.css +331 -14
- package/package.json +32 -28
- package/src/CLAUDE.md +428 -0
- package/src/area/.excalidraw +357 -0
- package/src/area/area.component.ts +449 -0
- package/src/area/area.service.test.ts +1007 -0
- package/src/area/area.service.ts +748 -0
- package/src/area/ecrypt.ts +7 -0
- package/src/area/index.ts +7 -0
- package/src/area/lazy.ts +83 -0
- package/src/area/readme.md +338 -0
- package/src/area/route.component.ts +79 -0
- package/src/area/router-guide.md +360 -0
- package/src/area/router.types.ts +101 -0
- package/src/area/utils.ts +354 -0
- package/src/audio/emotional-sounds.ts +940 -0
- package/src/audio/index.ts +53 -0
- package/src/audio/sound.service.ts +1079 -0
- package/src/autocomplete/README.md +485 -0
- package/src/autocomplete/autocomplete.scss +24 -0
- package/src/autocomplete/autocomplete.ts +733 -0
- package/src/autocomplete/index.ts +1 -0
- package/src/avatar.ts +164 -0
- package/src/badge/badge.ts +286 -0
- package/src/badge/index.ts +1 -0
- package/src/boat/boat.ts +664 -0
- package/src/boat/index.ts +1 -0
- package/src/busy/busy.ts +39 -0
- package/src/busy/index.ts +2 -0
- package/src/busy/spinner.ts +165 -0
- package/src/button/button.ts +382 -0
- package/src/button/icon-button.ts +287 -0
- package/src/button/index.ts +2 -0
- package/src/card/actions.ts +28 -0
- package/src/card/card.ts +319 -0
- package/src/card/content.ts +24 -0
- package/src/card/index.ts +4 -0
- package/src/card/media.ts +77 -0
- package/src/charts/area-chart.ts +495 -0
- package/src/charts/index.ts +4 -0
- package/src/charts/pills.ts +350 -0
- package/src/charts/types.ts +66 -0
- package/src/charts/utils.ts +65 -0
- package/src/checkbox/checkbox.ts +122 -0
- package/src/checkbox/index.ts +1 -0
- package/src/chips/assist-chip.ts +261 -0
- package/src/chips/chips.ts +259 -0
- package/src/chips/filter-chip.ts +255 -0
- package/src/chips/index.ts +5 -0
- package/src/chips/input-chip.ts +408 -0
- package/src/chips/suggestion-chip.ts +266 -0
- package/src/code-highlight/code-highlight.ts +344 -0
- package/src/code-highlight/code-preview.ts +123 -0
- package/src/code-highlight/index.ts +3 -0
- package/src/components/form-elements/index.ts +1 -0
- package/src/components/form-elements/payment-card-form.ts +331 -0
- package/src/components/index.ts +1 -0
- package/src/connectivity/connectivity-status.ts +153 -0
- package/src/connectivity/index.ts +1 -0
- package/src/content-drawer/context.ts +13 -0
- package/src/content-drawer/drawer.service.ts +148 -0
- package/src/content-drawer/drawer.ts +183 -0
- package/src/content-drawer/index.ts +5 -0
- package/src/content-drawer/main.ts +83 -0
- package/src/content-drawer/readme.md +709 -0
- package/src/content-drawer/sheet.ts +180 -0
- package/src/date-range/date-range-dialog.ts +230 -0
- package/src/date-range/date-range-helpers.ts +135 -0
- package/src/date-range/date-range-presets.ts +220 -0
- package/src/date-range/date-range.ts +530 -0
- package/src/date-range/date-utils.ts +58 -0
- package/src/date-range/index.ts +2 -0
- package/src/date-range-inline/date-range-inline.ts +522 -0
- package/src/date-range-inline/index.ts +2 -0
- package/src/delay/delay.ts +136 -0
- package/src/delay/index.ts +1 -0
- package/src/details/details.ts +429 -0
- package/src/details/index.ts +1 -0
- package/src/dialog/dialog-base.mixin.ts +565 -0
- package/src/dialog/dialog-events.ts +17 -0
- package/src/dialog/dialog-service.ts +482 -0
- package/src/dialog/dialog.component.ts +394 -0
- package/src/dialog/index.ts +3 -0
- package/src/directives/animate-text.ts +551 -0
- package/src/directives/color.ts +41 -0
- package/src/directives/confirm-click.ts +350 -0
- package/src/directives/cursor-glow.ts +142 -0
- package/src/directives/cycle-text.ts +496 -0
- package/src/directives/depth-of-field.ts +83 -0
- package/src/directives/drag.ts +370 -0
- package/src/directives/gravity.ts +117 -0
- package/src/directives/index.ts +19 -0
- package/src/directives/intersect.ts +204 -0
- package/src/directives/layout.ts +261 -0
- package/src/directives/liquid.ts +150 -0
- package/src/directives/living-border.ts +166 -0
- package/src/directives/long-press.ts +150 -0
- package/src/directives/magnetic.ts +133 -0
- package/src/directives/nebula.ts +773 -0
- package/src/directives/reduced-motion.ts +30 -0
- package/src/directives/reveal.ts +158 -0
- package/src/directives/ripple.ts +102 -0
- package/src/directives/typewriter.ts +349 -0
- package/src/discovery/discovery.service.ts +210 -0
- package/src/discovery/index.ts +1 -0
- package/src/divider/divider.ts +100 -0
- package/src/divider/index.ts +1 -0
- package/src/dropdown/dropdown-component.ts +264 -0
- package/src/dropdown/dropdown-content.ts +108 -0
- package/src/dropdown/index.ts +2 -0
- package/src/expand/expand-root.component.ts +278 -0
- package/src/expand/expand.component.ts +287 -0
- package/src/expand/index.ts +2 -0
- package/src/extra/countries/countries.data.ts +196 -0
- package/src/extra/countries/countries.ts +107 -0
- package/src/extra/countries/index.ts +2 -0
- package/src/extra/index.ts +2 -0
- package/src/extra/timezone/index.ts +2 -0
- package/src/extra/timezone/timezone.ts +116 -0
- package/src/extra/timezone/timezones.data.ts +2546 -0
- package/src/float/float.ts +18 -0
- package/src/float/index.ts +1 -0
- package/src/form/form-v2.ts +268 -0
- package/src/form/form.ts +194 -0
- package/src/form/index.ts +2 -0
- package/src/icons/icon.ts +293 -0
- package/src/icons/index.ts +1 -0
- package/src/icons/readme.md +37 -0
- package/src/iframe/iframe.ts +98 -0
- package/src/iframe/index.ts +1 -0
- package/src/index.ts +69 -0
- package/src/input/index.ts +8 -0
- package/src/input/input.scss +211 -0
- package/src/input/input.ts +951 -0
- package/src/json/index.ts +1 -0
- package/src/json/json.ts +55 -0
- package/src/layout/flex/flex.scss +4 -0
- package/src/layout/flex/flex.ts +74 -0
- package/src/layout/flex/index.ts +1 -0
- package/src/layout/grid/.readme +79 -0
- package/src/layout/grid/grid.scss +5 -0
- package/src/layout/grid/grid.ts +121 -0
- package/src/layout/grid/index.ts +1 -0
- package/src/layout/index.ts +5 -0
- package/src/layout/layout.ts +122 -0
- package/src/layout/scroll/index.ts +1 -0
- package/src/layout/scroll/scroll.ts +351 -0
- package/src/layout/v2/flex.ts +243 -0
- package/src/layout/v2/grid.ts +93 -0
- package/src/layout/v2/index.ts +1 -0
- package/src/lightbox/flip-directive.ts +270 -0
- package/src/lightbox/index.ts +4 -0
- package/src/lightbox/lightbox-service.ts +378 -0
- package/src/lightbox/lightbox.directive.ts +256 -0
- package/src/lightbox/lightbox.ts +417 -0
- package/src/list/context.ts +3 -0
- package/src/list/index.ts +3 -0
- package/src/list/list-item.ts +94 -0
- package/src/list/list.ts +87 -0
- package/src/list/readme.md +62 -0
- package/src/mailbox/README.md +131 -0
- package/src/mailbox/email-editor.ts +1071 -0
- package/src/mailbox/email-layout-selector.ts +58 -0
- package/src/mailbox/email-recipients.ts +594 -0
- package/src/mailbox/email-template-picker.ts +296 -0
- package/src/mailbox/email-viewer.ts +715 -0
- package/src/mailbox/index.ts +31 -0
- package/src/mailbox/mailbox.ts +363 -0
- package/src/mailbox/types.ts +181 -0
- package/src/map/index.ts +1 -0
- package/src/map/map.ts +483 -0
- package/src/menu/index.ts +2 -0
- package/src/menu/menu-item.ts +26 -0
- package/src/menu/menu.ts +83 -0
- package/src/nav-drawer/$navbar.ts +51 -0
- package/src/nav-drawer/appbar.ts +26 -0
- package/src/nav-drawer/content.ts +32 -0
- package/src/nav-drawer/context.ts +6 -0
- package/src/nav-drawer/drawer.ts +128 -0
- package/src/nav-drawer/index.ts +6 -0
- package/src/nav-drawer/navbar.ts +191 -0
- package/src/navigation-bar/index.ts +2 -0
- package/src/navigation-bar/navigation-bar-item.ts +417 -0
- package/src/navigation-bar/navigation-bar.ts +482 -0
- package/src/navigation-rail/index.ts +2 -0
- package/src/navigation-rail/navigation-rail-item.ts +443 -0
- package/src/navigation-rail/navigation-rail.ts +492 -0
- package/src/notification/index.ts +6 -0
- package/src/notification/notification-service.ts +324 -0
- package/src/notification/notification.scss +117 -0
- package/src/notification/notification.ts +263 -0
- package/src/notification/notify.ts +207 -0
- package/src/notification/outlet.ts +16 -0
- package/src/option/index.ts +1 -0
- package/src/option/option.ts +180 -0
- package/src/page/index.ts +1 -0
- package/src/page/page.ts +135 -0
- package/src/progress/index.ts +1 -0
- package/src/progress/progress.ts +143 -0
- package/src/qr-scanner/index.ts +1 -0
- package/src/qr-scanner/qr-scanner.ts +240 -0
- package/src/radio-group/index.ts +2 -0
- package/src/radio-group/radio-button.ts +81 -0
- package/src/radio-group/radio-group.scss +4 -0
- package/src/radio-group/radio-group.ts +110 -0
- package/src/radio-group/readme.md +315 -0
- package/src/range/index.ts +1 -0
- package/src/range/range.ts +102 -0
- package/src/rxjs-utils/index.ts +6 -0
- package/src/rxjs-utils/mutation-observer.ts +22 -0
- package/src/rxjs-utils/waitForElement.ts +33 -0
- package/src/rxjs-utils/waitForElementAll.ts +34 -0
- package/src/rxjs-utils/waitForElements.ts +40 -0
- package/src/rxjs-utils/waitForElementsAll.ts +42 -0
- package/src/rxjs-utils/waitUntil.ts +16 -0
- package/src/select/README.md +405 -0
- package/src/select/index.ts +2 -0
- package/src/select/select.ts +766 -0
- package/src/sheet/hook.ts +40 -0
- package/src/sheet/index.ts +2 -0
- package/src/sheet/sheet.service.ts +235 -0
- package/src/sheet/sheet.ts +236 -0
- package/src/slider/index.ts +2 -0
- package/src/slider/slide.ts +107 -0
- package/src/slider/slider.ts +164 -0
- package/src/steps/index.ts +3 -0
- package/src/steps/schmancy-step.ts +213 -0
- package/src/steps/schmancy-steps-container.ts +109 -0
- package/src/steps/steps.context.ts +23 -0
- package/src/store/context-array.ts +358 -0
- package/src/store/context-collection.ts +218 -0
- package/src/store/context-create.ts +284 -0
- package/src/store/context-object.ts +298 -0
- package/src/store/filter-directive.ts +614 -0
- package/src/store/immer-integration.ts +99 -0
- package/src/store/index.ts +10 -0
- package/src/store/selector-hook.ts +259 -0
- package/src/store/selectors.ts +289 -0
- package/src/store/storage-manager.ts +269 -0
- package/src/store/store.class.ts +239 -0
- package/src/store/types.ts +327 -0
- package/src/surface/context.ts +3 -0
- package/src/surface/index.ts +1 -0
- package/src/surface/surface.styles.ts +334 -0
- package/src/surface/surface.ts +59 -0
- package/src/table/index.ts +2 -0
- package/src/table/row.ts +60 -0
- package/src/table/table.ts +266 -0
- package/src/tabs/Readme.md +397 -0
- package/src/tabs/context.ts +5 -0
- package/src/tabs/index.ts +4 -0
- package/src/tabs/tab.ts +39 -0
- package/src/tabs/tabs-compatibility.ts +20 -0
- package/src/tabs/tabs-group.ts +184 -0
- package/src/teleport/.excalidraw +2511 -0
- package/src/teleport/index.ts +2 -0
- package/src/teleport/readme.md +91 -0
- package/src/teleport/teleport.component.ts +132 -0
- package/src/teleport/teleport.service.ts +139 -0
- package/src/teleport/watcher.ts +20 -0
- package/src/textarea/index.ts +1 -0
- package/src/textarea/textarea.scss +54 -0
- package/src/textarea/textarea.ts +432 -0
- package/src/theme/context.ts +28 -0
- package/src/theme/index.ts +17 -0
- package/src/theme/theme-audio-player.ts +470 -0
- package/src/theme/theme-controller-boat.ts +49 -0
- package/src/theme/theme-controller-example.md +152 -0
- package/src/theme/theme-controller.ts +205 -0
- package/src/theme/theme.component.ts +305 -0
- package/src/theme/theme.events.ts +59 -0
- package/src/theme/theme.format.ts +417 -0
- package/src/theme/theme.interface.ts +399 -0
- package/src/theme/theme.service.ts +520 -0
- package/src/theme/theme.style.css +619 -0
- package/src/theme-button/index.ts +1 -0
- package/src/theme-button/theme-button.ts +35 -0
- package/src/tooltip/index.ts +2 -0
- package/src/tooltip/tooltip.directive.ts +277 -0
- package/src/tooltip/tooltip.ts +216 -0
- package/src/tree/README.md +59 -0
- package/src/tree/index.ts +1 -0
- package/src/tree/tree.ts +132 -0
- package/src/types/events.ts +5 -0
- package/src/types/index.ts +3 -0
- package/src/types/mood-audio.types.ts +220 -0
- package/src/types/surface.ts +52 -0
- package/src/typewriter/IMPROVEMENTS.md +174 -0
- package/src/typewriter/QUICK_REFERENCE.md +166 -0
- package/src/typewriter/index.ts +1 -0
- package/src/typewriter/test-typewriter.html +97 -0
- package/src/typewriter/typewriter.ts +376 -0
- package/src/typography/index.ts +1 -0
- package/src/typography/typography.ts +448 -0
- package/src/utils/animation.ts +418 -0
- package/src/utils/hashContent.ts +12 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/intersection.ts +22 -0
- package/src/utils/number.ts +529 -0
- package/src/utils/overlay-stack.ts +101 -0
- package/src/utils/search.ts +322 -0
- package/src/vite-env.d.ts +2 -0
- package/src/window/index.ts +10 -0
- package/src/window/window-manager.ts +204 -0
- package/src/window/window-position.ts +136 -0
- package/src/window/window-registry.ts +34 -0
- package/src/window/window.ts +724 -0
- package/types/mixins/baseElement.d.ts +12 -0
- package/types/mixins/discovery.service.d.ts +72 -0
- package/types/mixins/index.d.ts +2 -0
- package/types/mixins/surface.mixin.d.ts +39 -0
- package/types/src/area/area.service.d.ts +2 -0
- package/types/src/badge/badge.d.ts +1 -1
- package/types/src/boat/boat.d.ts +40 -33
- package/types/src/button/icon-button.d.ts +10 -0
- package/types/src/chips/filter-chip.d.ts +0 -12
- package/types/src/connectivity/connectivity-status.d.ts +25 -0
- package/types/src/connectivity/index.d.ts +1 -0
- package/types/src/content-drawer/drawer.service.d.ts +3 -0
- package/types/src/date-range/date-range.d.ts +2 -0
- package/types/src/details/details.d.ts +26 -2
- package/types/src/dialog/dialog-base.mixin.d.ts +7 -3
- package/types/src/dialog/dialog-service.d.ts +27 -1
- package/types/src/dialog/dialog.component.d.ts +35 -1
- package/types/src/directives/animate-text.d.ts +67 -0
- package/types/src/directives/color.d.ts +2 -3
- package/types/src/directives/confirm-click.d.ts +38 -0
- package/types/src/directives/cursor-glow.d.ts +38 -0
- package/types/src/directives/cycle-text.d.ts +44 -0
- package/types/src/directives/depth-of-field.d.ts +38 -0
- package/types/src/directives/drag.d.ts +8 -8
- package/types/src/directives/gravity.d.ts +40 -0
- package/types/src/directives/index.d.ts +16 -2
- package/types/src/directives/intersect.d.ts +60 -0
- package/types/src/directives/layout.d.ts +62 -0
- package/types/src/directives/liquid.d.ts +38 -0
- package/types/src/directives/living-border.d.ts +39 -0
- package/types/src/directives/long-press.d.ts +38 -0
- package/types/src/directives/magnetic.d.ts +35 -0
- package/types/src/directives/nebula.d.ts +80 -0
- package/types/src/directives/reduced-motion.d.ts +2 -0
- package/types/src/directives/reveal.d.ts +54 -0
- package/types/src/directives/ripple.d.ts +15 -5
- package/types/src/directives/typewriter.d.ts +50 -0
- package/types/src/discovery/discovery.service.d.ts +72 -0
- package/types/src/expand/expand-root.component.d.ts +30 -0
- package/types/src/expand/expand.component.d.ts +38 -0
- package/types/src/expand/index.d.ts +2 -0
- package/types/src/float/float.d.ts +14 -0
- package/types/src/float/index.d.ts +1 -0
- package/types/src/icons/icon.d.ts +14 -0
- package/types/src/iframe/iframe.d.ts +37 -0
- package/types/src/iframe/index.d.ts +1 -0
- package/types/src/index.d.ts +6 -1
- package/types/src/input/index.d.ts +1 -1
- package/types/src/layout/scroll/scroll.d.ts +11 -0
- package/types/src/lightbox/lightbox.d.ts +1 -0
- package/types/src/mailbox/email-recipients.d.ts +2 -2
- package/types/src/mailbox/types.d.ts +1 -1
- package/types/src/navigation-bar/navigation-bar.d.ts +17 -0
- package/types/src/notification/notification.d.ts +1 -0
- package/types/src/page/page.d.ts +6 -0
- package/types/src/range/index.d.ts +1 -0
- package/types/src/range/range.d.ts +25 -0
- package/types/src/sheet/sheet.d.ts +0 -1
- package/types/src/steps/schmancy-steps-container.d.ts +8 -6
- package/types/src/surface/surface.d.ts +4 -27
- package/types/src/surface/surface.styles.d.ts +31 -0
- package/types/src/tabs/tab.d.ts +1 -0
- package/types/src/textarea/textarea.d.ts +3 -2
- package/types/src/theme/context.d.ts +2 -282
- package/types/src/theme/theme.component.d.ts +9 -1
- package/types/src/theme/theme.format.d.ts +1 -1
- package/types/src/theme/theme.interface.d.ts +8 -1
- package/types/src/theme/theme.service.d.ts +20 -282
- package/types/src/types/surface.d.ts +27 -1
- package/types/src/typography/typography.d.ts +17 -3
- package/types/src/utils/animation.d.ts +254 -0
- package/types/src/utils/index.d.ts +2 -0
- package/types/src/utils/number.d.ts +18 -2
- package/types/src/utils/overlay-stack.d.ts +54 -0
- package/types/src/window/index.d.ts +3 -0
- package/types/src/window/window-manager.d.ts +49 -0
- package/types/src/window/window-position.d.ts +64 -0
- package/types/src/window/window-registry.d.ts +28 -0
- package/types/src/window/window.d.ts +67 -0
- package/ai/animated-text.md +0 -116
- package/ai/component-relationships.md +0 -93
- package/ai/context.md +0 -572
- package/ai/countries.md +0 -271
- package/ai/index.md +0 -112
- package/ai/navigation-bar-item.md +0 -259
- package/ai/payment-card-form.md +0 -242
- package/ai/spinner.md +0 -165
- package/ai/template.md +0 -144
- package/ai/timezone.md +0 -276
- package/dist/_commonjsHelpers-Dw9sPFZy.js +0 -7
- package/dist/_commonjsHelpers-Dw9sPFZy.js.map +0 -1
- package/dist/_commonjsHelpers-k2hpEU-q.cjs +0 -2
- package/dist/_commonjsHelpers-k2hpEU-q.cjs.map +0 -1
- package/dist/ai/animated-text.md +0 -116
- package/dist/ai/component-relationships.md +0 -93
- package/dist/ai/context.md +0 -572
- package/dist/ai/countries.md +0 -271
- package/dist/ai/index.md +0 -112
- package/dist/ai/navigation-bar-item.md +0 -259
- package/dist/ai/payment-card-form.md +0 -242
- package/dist/ai/spinner.md +0 -165
- package/dist/ai/template.md +0 -144
- package/dist/ai/timezone.md +0 -276
- package/dist/animated-text-B3DQRJBy.cjs +0 -37
- package/dist/animated-text-B3DQRJBy.cjs.map +0 -1
- package/dist/animated-text-BAj4-6hE.js +0 -76
- package/dist/animated-text-BAj4-6hE.js.map +0 -1
- package/dist/animated-text.cjs +0 -2
- package/dist/animated-text.cjs.map +0 -1
- package/dist/animated-text.js +0 -2
- package/dist/animated-text.js.map +0 -1
- package/dist/area.cjs.map +0 -1
- package/dist/area.component-CP4DZ0d8.js +0 -330
- package/dist/area.component-CP4DZ0d8.js.map +0 -1
- package/dist/area.component-ChxSLt16.cjs +0 -12
- package/dist/area.component-ChxSLt16.cjs.map +0 -1
- package/dist/area.js.map +0 -1
- package/dist/audio.cjs.map +0 -1
- package/dist/audio.js.map +0 -1
- package/dist/autocomplete-CAaVSg4g.cjs +0 -112
- package/dist/autocomplete-CAaVSg4g.cjs.map +0 -1
- package/dist/autocomplete-CGbACUYd.js +0 -333
- package/dist/autocomplete-CGbACUYd.js.map +0 -1
- package/dist/autocomplete.cjs.map +0 -1
- package/dist/autocomplete.js.map +0 -1
- package/dist/avatar-nWOZXEsW.cjs +0 -273
- package/dist/avatar-nWOZXEsW.cjs.map +0 -1
- package/dist/avatar-rLCF6MSI.js +0 -895
- package/dist/avatar-rLCF6MSI.js.map +0 -1
- package/dist/badge.cjs.map +0 -1
- package/dist/badge.js.map +0 -1
- package/dist/boat-Ckt9v__d.js +0 -301
- package/dist/boat-Ckt9v__d.js.map +0 -1
- package/dist/boat-yNAZ2LLB.cjs +0 -97
- package/dist/boat-yNAZ2LLB.cjs.map +0 -1
- package/dist/boat.cjs.map +0 -1
- package/dist/boat.js.map +0 -1
- package/dist/busy.cjs.map +0 -1
- package/dist/busy.js.map +0 -1
- package/dist/card.cjs.map +0 -1
- package/dist/card.js.map +0 -1
- package/dist/checkbox-BnAlpsJN.cjs +0 -40
- package/dist/checkbox-BnAlpsJN.cjs.map +0 -1
- package/dist/checkbox-D22yfGe3.js +0 -526
- package/dist/checkbox-D22yfGe3.js.map +0 -1
- package/dist/checkbox.cjs.map +0 -1
- package/dist/checkbox.js.map +0 -1
- package/dist/chips.cjs.map +0 -1
- package/dist/chips.js.map +0 -1
- package/dist/code-highlight.cjs.map +0 -1
- package/dist/code-highlight.js.map +0 -1
- package/dist/code-preview-DPlQayFd.js +0 -967
- package/dist/code-preview-DPlQayFd.js.map +0 -1
- package/dist/code-preview-jPnX60FF.cjs +0 -193
- package/dist/code-preview-jPnX60FF.cjs.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/consume-5D1qfVWM.js +0 -38
- package/dist/consume-5D1qfVWM.js.map +0 -1
- package/dist/consume-edta5ng5.cjs +0 -2
- package/dist/consume-edta5ng5.cjs.map +0 -1
- package/dist/content-drawer.cjs.map +0 -1
- package/dist/content-drawer.js.map +0 -1
- package/dist/context-create-B_S-sD5B.js +0 -1107
- package/dist/context-create-B_S-sD5B.js.map +0 -1
- package/dist/context-create-DTybDbZp.cjs +0 -2
- package/dist/context-create-DTybDbZp.cjs.map +0 -1
- package/dist/date-range-GFm5NG33.js +0 -639
- package/dist/date-range-GFm5NG33.js.map +0 -1
- package/dist/date-range-inline-CgX2o0FP.cjs +0 -44
- package/dist/date-range-inline-CgX2o0FP.cjs.map +0 -1
- package/dist/date-range-inline-DTQLESAZ.js +0 -197
- package/dist/date-range-inline-DTQLESAZ.js.map +0 -1
- package/dist/date-range-inline.cjs.map +0 -1
- package/dist/date-range-inline.js.map +0 -1
- package/dist/date-range-ug3B9CFT.cjs +0 -119
- package/dist/date-range-ug3B9CFT.cjs.map +0 -1
- package/dist/date-range.cjs.map +0 -1
- package/dist/date-range.js.map +0 -1
- package/dist/delay-CWtBL0VD.cjs +0 -10
- package/dist/delay-CWtBL0VD.cjs.map +0 -1
- package/dist/delay-DEe1CmHc.js +0 -288
- package/dist/delay-DEe1CmHc.js.map +0 -1
- package/dist/delay.cjs.map +0 -1
- package/dist/delay.js.map +0 -1
- package/dist/details-D-LXW23W.js +0 -100
- package/dist/details-D-LXW23W.js.map +0 -1
- package/dist/details-DVke77dU.cjs +0 -55
- package/dist/details-DVke77dU.cjs.map +0 -1
- package/dist/details.cjs.map +0 -1
- package/dist/details.js.map +0 -1
- package/dist/dialog-service-C86xTS8q.cjs +0 -2
- package/dist/dialog-service-C86xTS8q.cjs.map +0 -1
- package/dist/dialog-service-D9E3jLAR.js +0 -118
- package/dist/dialog-service-D9E3jLAR.js.map +0 -1
- package/dist/dialog.component-BM0D-hK9.cjs +0 -48
- package/dist/dialog.component-BM0D-hK9.cjs.map +0 -1
- package/dist/dialog.component-a7FlKhGD.js +0 -145
- package/dist/dialog.component-a7FlKhGD.js.map +0 -1
- package/dist/discovery.service-BbYjU5x8.js +0 -21
- package/dist/discovery.service-BbYjU5x8.js.map +0 -1
- package/dist/discovery.service-BpGCuXPd.cjs +0 -2
- package/dist/discovery.service-BpGCuXPd.cjs.map +0 -1
- package/dist/divider-CzTpxOqt.js +0 -84
- package/dist/divider-CzTpxOqt.js.map +0 -1
- package/dist/divider-D8KStUhN.cjs +0 -58
- package/dist/divider-D8KStUhN.cjs.map +0 -1
- package/dist/divider.cjs.map +0 -1
- package/dist/divider.js.map +0 -1
- package/dist/dropdown-content-CngZN3vv.cjs +0 -58
- package/dist/dropdown-content-CngZN3vv.cjs.map +0 -1
- package/dist/dropdown-content-DCn-g0-f.js +0 -147
- package/dist/dropdown-content-DCn-g0-f.js.map +0 -1
- package/dist/email-recipients-BhntMZMf.cjs +0 -1173
- package/dist/email-recipients-BhntMZMf.cjs.map +0 -1
- package/dist/email-recipients-BzjAKNJ0.js +0 -1733
- package/dist/email-recipients-BzjAKNJ0.js.map +0 -1
- package/dist/emotional-sounds-BRnFhww6.js +0 -234
- package/dist/emotional-sounds-BRnFhww6.js.map +0 -1
- package/dist/emotional-sounds-DVGhmoZf.cjs +0 -2
- package/dist/emotional-sounds-DVGhmoZf.cjs.map +0 -1
- package/dist/extra.cjs.map +0 -1
- package/dist/extra.js.map +0 -1
- package/dist/flex-5dR48zie.js +0 -183
- package/dist/flex-5dR48zie.js.map +0 -1
- package/dist/flex-oHl2EfYB.cjs +0 -18
- package/dist/flex-oHl2EfYB.cjs.map +0 -1
- package/dist/flow-D0e7hGXO.cjs +0 -2
- package/dist/flow-D0e7hGXO.cjs.map +0 -1
- package/dist/flow-DXYqC9OA.js +0 -340
- package/dist/flow-DXYqC9OA.js.map +0 -1
- package/dist/form-BlPiAPt7.cjs +0 -2
- package/dist/form-BlPiAPt7.cjs.map +0 -1
- package/dist/form-BxVM6JTn.js +0 -141
- package/dist/form-BxVM6JTn.js.map +0 -1
- package/dist/form.cjs.map +0 -1
- package/dist/form.js.map +0 -1
- package/dist/formField.mixin-BCGA7Ea3.js +0 -48
- package/dist/formField.mixin-BCGA7Ea3.js.map +0 -1
- package/dist/formField.mixin-BfJMifU9.cjs +0 -2
- package/dist/formField.mixin-BfJMifU9.cjs.map +0 -1
- package/dist/height-CfECBO2j.js +0 -44
- package/dist/height-CfECBO2j.js.map +0 -1
- package/dist/height-Z70qJYJK.cjs +0 -2
- package/dist/height-Z70qJYJK.cjs.map +0 -1
- package/dist/icon-DHEXr3c-.cjs +0 -49
- package/dist/icon-DHEXr3c-.cjs.map +0 -1
- package/dist/icon-DYpLoegR.js +0 -84
- package/dist/icon-DYpLoegR.js.map +0 -1
- package/dist/icon-button-CmZBLHWC.js +0 -164
- package/dist/icon-button-CmZBLHWC.js.map +0 -1
- package/dist/icon-button-IbSX8C98.cjs +0 -70
- package/dist/icon-button-IbSX8C98.cjs.map +0 -1
- package/dist/icons.cjs.map +0 -1
- package/dist/icons.js.map +0 -1
- package/dist/index-CCi1otmh.cjs +0 -2
- package/dist/index-CCi1otmh.cjs.map +0 -1
- package/dist/index-CW6PhEkx.js +0 -17
- package/dist/index-CW6PhEkx.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/input-BByjYlgl.cjs +0 -51
- package/dist/input-BByjYlgl.cjs.map +0 -1
- package/dist/input-D0cQ9DOY.js +0 -237
- package/dist/input-D0cQ9DOY.js.map +0 -1
- package/dist/input-chip-B5ErXgCB.js +0 -206
- package/dist/input-chip-B5ErXgCB.js.map +0 -1
- package/dist/input-chip-DkWaTciP.cjs +0 -147
- package/dist/input-chip-DkWaTciP.cjs.map +0 -1
- package/dist/input.cjs.map +0 -1
- package/dist/input.js.map +0 -1
- package/dist/intersection-CJxzz8c-.js +0 -15
- package/dist/intersection-CJxzz8c-.js.map +0 -1
- package/dist/intersection-CVvaDv96.cjs +0 -2
- package/dist/intersection-CVvaDv96.cjs.map +0 -1
- package/dist/json-BZVe74np.cjs +0 -12
- package/dist/json-BZVe74np.cjs.map +0 -1
- package/dist/json-PKewOWuJ.js +0 -51
- package/dist/json-PKewOWuJ.js.map +0 -1
- package/dist/layout.cjs.map +0 -1
- package/dist/layout.js.map +0 -1
- package/dist/lightbox-service-D-0JtxB1.cjs +0 -202
- package/dist/lightbox-service-D-0JtxB1.cjs.map +0 -1
- package/dist/lightbox-service-DZMnb1eU.js +0 -458
- package/dist/lightbox-service-DZMnb1eU.js.map +0 -1
- package/dist/lightbox.cjs.map +0 -1
- package/dist/lightbox.js.map +0 -1
- package/dist/list-B_2m7l3g.cjs +0 -17
- package/dist/list-B_2m7l3g.cjs.map +0 -1
- package/dist/list-CW56LV-v.js +0 -69
- package/dist/list-CW56LV-v.js.map +0 -1
- package/dist/list.cjs.map +0 -1
- package/dist/list.js.map +0 -1
- package/dist/litElement.mixin-CrpeGpZ7.cjs +0 -2
- package/dist/litElement.mixin-CrpeGpZ7.cjs.map +0 -1
- package/dist/litElement.mixin-DHZXtvYq.js +0 -15
- package/dist/litElement.mixin-DHZXtvYq.js.map +0 -1
- package/dist/mailbox.cjs.map +0 -1
- package/dist/mailbox.js.map +0 -1
- package/dist/map-2Hl60a0A.js +0 -175
- package/dist/map-2Hl60a0A.js.map +0 -1
- package/dist/map-DyPS9G7M.cjs +0 -81
- package/dist/map-DyPS9G7M.cjs.map +0 -1
- package/dist/map.cjs.map +0 -1
- package/dist/map.js.map +0 -1
- package/dist/media-CS8HpKnK.cjs +0 -152
- package/dist/media-CS8HpKnK.cjs.map +0 -1
- package/dist/media-DtWbcRxL.js +0 -244
- package/dist/media-DtWbcRxL.js.map +0 -1
- package/dist/menu-Caju5-zd.js +0 -60
- package/dist/menu-Caju5-zd.js.map +0 -1
- package/dist/menu-rX5RPAI2.cjs +0 -24
- package/dist/menu-rX5RPAI2.cjs.map +0 -1
- package/dist/menu.cjs.map +0 -1
- package/dist/menu.js.map +0 -1
- package/dist/nav-drawer.cjs.map +0 -1
- package/dist/nav-drawer.js.map +0 -1
- package/dist/navigation-bar.cjs.map +0 -1
- package/dist/navigation-bar.js.map +0 -1
- package/dist/navigation-rail-Ctketq5a.js +0 -256
- package/dist/navigation-rail-Ctketq5a.js.map +0 -1
- package/dist/navigation-rail-DC9_oSIM.cjs +0 -79
- package/dist/navigation-rail-DC9_oSIM.cjs.map +0 -1
- package/dist/notification-service-CUlfXqmj.js +0 -155
- package/dist/notification-service-CUlfXqmj.js.map +0 -1
- package/dist/notification-service-DknbpqTt.cjs +0 -19
- package/dist/notification-service-DknbpqTt.cjs.map +0 -1
- package/dist/notification.cjs.map +0 -1
- package/dist/notification.js.map +0 -1
- package/dist/notify-DJSOWTxv.js +0 -35
- package/dist/notify-DJSOWTxv.js.map +0 -1
- package/dist/notify-DickIEHW.cjs +0 -2
- package/dist/notify-DickIEHW.cjs.map +0 -1
- package/dist/number-B7aCRYnH.cjs +0 -2
- package/dist/number-B7aCRYnH.cjs.map +0 -1
- package/dist/number-BhTiptLA.js +0 -99
- package/dist/number-BhTiptLA.js.map +0 -1
- package/dist/option-Bng41-rY.js +0 -77
- package/dist/option-Bng41-rY.js.map +0 -1
- package/dist/option-DYT5Rkgy.cjs +0 -44
- package/dist/option-DYT5Rkgy.cjs.map +0 -1
- package/dist/option.cjs.map +0 -1
- package/dist/option.js.map +0 -1
- package/dist/page-BLn9gtSd.cjs +0 -20
- package/dist/page-BLn9gtSd.cjs.map +0 -1
- package/dist/page-D-ROcQDd.js +0 -48
- package/dist/page-D-ROcQDd.js.map +0 -1
- package/dist/payment-card-form-5UtfWzoW.cjs +0 -74
- package/dist/payment-card-form-5UtfWzoW.cjs.map +0 -1
- package/dist/payment-card-form-BJa4RgF2.js +0 -515
- package/dist/payment-card-form-BJa4RgF2.js.map +0 -1
- package/dist/pills-BS5rZ6C3.js +0 -346
- package/dist/pills-BS5rZ6C3.js.map +0 -1
- package/dist/pills-Blf7IAeq.cjs +0 -113
- package/dist/pills-Blf7IAeq.cjs.map +0 -1
- package/dist/progress-DlhYniW_.cjs +0 -35
- package/dist/progress-DlhYniW_.cjs.map +0 -1
- package/dist/progress-yTIX6EqC.js +0 -56
- package/dist/progress-yTIX6EqC.js.map +0 -1
- package/dist/progress.cjs.map +0 -1
- package/dist/progress.js.map +0 -1
- package/dist/provide-BxZ2kn_p.cjs +0 -2
- package/dist/provide-BxZ2kn_p.cjs.map +0 -1
- package/dist/provide-tcktw8xB.js +0 -100
- package/dist/provide-tcktw8xB.js.map +0 -1
- package/dist/qr-scanner-DOs7uNS_.cjs +0 -29
- package/dist/qr-scanner-DOs7uNS_.cjs.map +0 -1
- package/dist/qr-scanner-DjZ8mgHV.js +0 -743
- package/dist/qr-scanner-DjZ8mgHV.js.map +0 -1
- package/dist/radio-button-N_PrrxKB.cjs +0 -41
- package/dist/radio-button-N_PrrxKB.cjs.map +0 -1
- package/dist/radio-button-me3SRHGu.js +0 -115
- package/dist/radio-button-me3SRHGu.js.map +0 -1
- package/dist/radio-group.cjs.map +0 -1
- package/dist/radio-group.js.map +0 -1
- package/dist/ripple-BgJXbNSP.js +0 -124
- package/dist/ripple-BgJXbNSP.js.map +0 -1
- package/dist/ripple-x6sTX02K.cjs +0 -16
- package/dist/ripple-x6sTX02K.cjs.map +0 -1
- package/dist/rxjs-utils.cjs.map +0 -1
- package/dist/rxjs-utils.js.map +0 -1
- package/dist/schmancy-steps-container-J6P-NNNj.js +0 -156
- package/dist/schmancy-steps-container-J6P-NNNj.js.map +0 -1
- package/dist/schmancy-steps-container-T57BKMzi.cjs +0 -70
- package/dist/schmancy-steps-container-T57BKMzi.cjs.map +0 -1
- package/dist/scroll-C_gfUgjn.js +0 -87
- package/dist/scroll-C_gfUgjn.js.map +0 -1
- package/dist/scroll-CecsowP7.cjs +0 -27
- package/dist/scroll-CecsowP7.cjs.map +0 -1
- package/dist/search-B1s7thB0.cjs +0 -2
- package/dist/search-B1s7thB0.cjs.map +0 -1
- package/dist/search-DxxnLa5u.js +0 -95
- package/dist/search-DxxnLa5u.js.map +0 -1
- package/dist/select-BBA0gBHf.js +0 -280
- package/dist/select-BBA0gBHf.js.map +0 -1
- package/dist/select-D9oCjv7N.cjs +0 -57
- package/dist/select-D9oCjv7N.cjs.map +0 -1
- package/dist/select.cjs.map +0 -1
- package/dist/select.js.map +0 -1
- package/dist/selector-hook-9w2auh2O.cjs +0 -2
- package/dist/selector-hook-9w2auh2O.cjs.map +0 -1
- package/dist/selector-hook-CHV4kDMd.js +0 -319
- package/dist/selector-hook-CHV4kDMd.js.map +0 -1
- package/dist/sheet-0oUfBmXX.cjs +0 -15
- package/dist/sheet-0oUfBmXX.cjs.map +0 -1
- package/dist/sheet-CNcDT3VP.js +0 -97
- package/dist/sheet-CNcDT3VP.js.map +0 -1
- package/dist/sheet.cjs.map +0 -1
- package/dist/sheet.js.map +0 -1
- package/dist/sheet.service-2MobB-9z.js +0 -68
- package/dist/sheet.service-2MobB-9z.js.map +0 -1
- package/dist/sheet.service-su_7yDQ-.cjs +0 -2
- package/dist/sheet.service-su_7yDQ-.cjs.map +0 -1
- package/dist/slider-CV-Ehp_5.cjs +0 -83
- package/dist/slider-CV-Ehp_5.cjs.map +0 -1
- package/dist/slider-CkE-iFUy.js +0 -161
- package/dist/slider-CkE-iFUy.js.map +0 -1
- package/dist/sound.service-Nza4c6wv.js +0 -102
- package/dist/sound.service-Nza4c6wv.js.map +0 -1
- package/dist/sound.service-eRirZw59.cjs +0 -2
- package/dist/sound.service-eRirZw59.cjs.map +0 -1
- package/dist/spinner-Bfn8KC-9.cjs +0 -135
- package/dist/spinner-Bfn8KC-9.cjs.map +0 -1
- package/dist/spinner-DiMbWXp9.js +0 -168
- package/dist/spinner-DiMbWXp9.js.map +0 -1
- package/dist/store.cjs.map +0 -1
- package/dist/store.js.map +0 -1
- package/dist/suggestion-chip-CEDqUNoS.js +0 -481
- package/dist/suggestion-chip-CEDqUNoS.js.map +0 -1
- package/dist/suggestion-chip-HhsLtZXR.cjs +0 -271
- package/dist/suggestion-chip-HhsLtZXR.cjs.map +0 -1
- package/dist/surface-CW3H23Va.cjs +0 -199
- package/dist/surface-CW3H23Va.cjs.map +0 -1
- package/dist/surface-eBfnSwQS.js +0 -220
- package/dist/surface-eBfnSwQS.js.map +0 -1
- package/dist/surface.cjs.map +0 -1
- package/dist/surface.js.map +0 -1
- package/dist/table-D0tiSL_u.cjs +0 -64
- package/dist/table-D0tiSL_u.cjs.map +0 -1
- package/dist/table-Dmo4TvTx.js +0 -561
- package/dist/table-Dmo4TvTx.js.map +0 -1
- package/dist/table.cjs.map +0 -1
- package/dist/table.js.map +0 -1
- package/dist/tabs-compatibility-Bit6y6en.js +0 -104
- package/dist/tabs-compatibility-Bit6y6en.js.map +0 -1
- package/dist/tabs-compatibility-Vq_2-ekz.cjs +0 -35
- package/dist/tabs-compatibility-Vq_2-ekz.cjs.map +0 -1
- package/dist/tabs.cjs.map +0 -1
- package/dist/tabs.js.map +0 -1
- package/dist/tailwind.mixin-Bp_PR6yc.js +0 -67
- package/dist/tailwind.mixin-Bp_PR6yc.js.map +0 -1
- package/dist/tailwind.mixin-Cp4PyXok.cjs +0 -2
- package/dist/tailwind.mixin-Cp4PyXok.cjs.map +0 -1
- package/dist/teleport.cjs.map +0 -1
- package/dist/teleport.js.map +0 -1
- package/dist/textarea-B1d1QCqT.js +0 -134
- package/dist/textarea-B1d1QCqT.js.map +0 -1
- package/dist/textarea-DG8CHhZA.cjs +0 -44
- package/dist/textarea-DG8CHhZA.cjs.map +0 -1
- package/dist/textarea.cjs.map +0 -1
- package/dist/textarea.js.map +0 -1
- package/dist/theme-button-CPL6Eaqd.cjs +0 -9
- package/dist/theme-button-CPL6Eaqd.cjs.map +0 -1
- package/dist/theme-button-CrLuMQNe.js +0 -27
- package/dist/theme-button-CrLuMQNe.js.map +0 -1
- package/dist/theme-button.cjs.map +0 -1
- package/dist/theme-button.js.map +0 -1
- package/dist/theme-controller-boat-CXbNJSI3.cjs +0 -178
- package/dist/theme-controller-boat-CXbNJSI3.cjs.map +0 -1
- package/dist/theme-controller-boat-CzSmjyKq.js +0 -1159
- package/dist/theme-controller-boat-CzSmjyKq.js.map +0 -1
- package/dist/theme.cjs.map +0 -1
- package/dist/theme.events-CPSLaOlR.js +0 -6
- package/dist/theme.events-CPSLaOlR.js.map +0 -1
- package/dist/theme.events-Car6U_SQ.cjs +0 -2
- package/dist/theme.events-Car6U_SQ.cjs.map +0 -1
- package/dist/theme.interface-BLfE5J_1.js +0 -5
- package/dist/theme.interface-BLfE5J_1.js.map +0 -1
- package/dist/theme.interface-BMeNadVb.cjs +0 -2
- package/dist/theme.interface-BMeNadVb.cjs.map +0 -1
- package/dist/theme.js.map +0 -1
- package/dist/timezone-4vwX0BgA.js +0 -112
- package/dist/timezone-4vwX0BgA.js.map +0 -1
- package/dist/timezone-BxvQcqe1.cjs +0 -32
- package/dist/timezone-BxvQcqe1.cjs.map +0 -1
- package/dist/tooltip-CjdvBf4X.js +0 -119
- package/dist/tooltip-CjdvBf4X.js.map +0 -1
- package/dist/tooltip-ZtnGjoJd.cjs +0 -7
- package/dist/tooltip-ZtnGjoJd.cjs.map +0 -1
- package/dist/tree-CBEjV7jP.js +0 -65
- package/dist/tree-CBEjV7jP.js.map +0 -1
- package/dist/tree-DP5U00NA.cjs +0 -27
- package/dist/tree-DP5U00NA.cjs.map +0 -1
- package/dist/tslib.es6-DgOcxv4s.cjs +0 -2
- package/dist/tslib.es6-DgOcxv4s.cjs.map +0 -1
- package/dist/tslib.es6-ujVQHAQ4.js +0 -10
- package/dist/tslib.es6-ujVQHAQ4.js.map +0 -1
- package/dist/typewriter-C6kFjLcX.cjs +0 -124
- package/dist/typewriter-C6kFjLcX.cjs.map +0 -1
- package/dist/typewriter-Eo5qXoGC.js +0 -555
- package/dist/typewriter-Eo5qXoGC.js.map +0 -1
- package/dist/typewriter.cjs.map +0 -1
- package/dist/typewriter.js.map +0 -1
- package/dist/typography-C_1gdM2I.js +0 -264
- package/dist/typography-C_1gdM2I.js.map +0 -1
- package/dist/typography-DGyjlLCE.cjs +0 -243
- package/dist/typography-DGyjlLCE.cjs.map +0 -1
- package/dist/utils-C38P63L6.cjs +0 -2
- package/dist/utils-C38P63L6.cjs.map +0 -1
- package/dist/utils-CYOVFxSx.js +0 -150
- package/dist/utils-CYOVFxSx.js.map +0 -1
- package/dist/utils.cjs.map +0 -1
- package/dist/utils.js.map +0 -1
- package/types/src/animated-text/animated-text.d.ts +0 -30
- package/types/src/animated-text/index.d.ts +0 -1
- package/types/src/directives/height.d.ts +0 -20
package/dist/avatar-rLCF6MSI.js
DELETED
|
@@ -1,895 +0,0 @@
|
|
|
1
|
-
import { css as v, html as c, nothing as Ct } from "lit";
|
|
2
|
-
import { property as l, customElement as p, state as d, queryAssignedElements as dt, query as Q } from "lit/decorators.js";
|
|
3
|
-
import { Subject as tt, merge as G, fromEvent as h, startWith as kt, debounceTime as Y, map as f, distinctUntilChanged as pt, tap as E, takeUntil as u, from as rt, of as V, Observable as Et, BehaviorSubject as ut, timer as Dt, zip as nt, filter as mt, take as Ot, timeout as It, bufferTime as zt, concatMap as Mt, interval as jt, throwIfEmpty as Pt } from "rxjs";
|
|
4
|
-
import "./animated-text-BAj4-6hE.js";
|
|
5
|
-
import { a as Rt, F as Wt, H as Ht } from "./area.component-CP4DZ0d8.js";
|
|
6
|
-
import "./sound.service-Nza4c6wv.js";
|
|
7
|
-
import "./autocomplete-CGbACUYd.js";
|
|
8
|
-
import { tap as B, takeUntil as j, filter as F, throttleTime as Lt, map as yt, pairwise as Bt, distinctUntilChanged as Nt, take as Tt } from "rxjs/operators";
|
|
9
|
-
import "lit/directives/class-map.js";
|
|
10
|
-
import "lit/directives/style-map.js";
|
|
11
|
-
import { T as J } from "./tailwind.mixin-Bp_PR6yc.js";
|
|
12
|
-
import { c as P } from "./ripple-BgJXbNSP.js";
|
|
13
|
-
import "lit/directives/guard.js";
|
|
14
|
-
import "./height-CfECBO2j.js";
|
|
15
|
-
import "./boat-Ckt9v__d.js";
|
|
16
|
-
import "./spinner-DiMbWXp9.js";
|
|
17
|
-
import "./icon-button-CmZBLHWC.js";
|
|
18
|
-
import "./media-DtWbcRxL.js";
|
|
19
|
-
import "./pills-BS5rZ6C3.js";
|
|
20
|
-
import "./checkbox-D22yfGe3.js";
|
|
21
|
-
import "./suggestion-chip-CEDqUNoS.js";
|
|
22
|
-
import "./input-chip-B5ErXgCB.js";
|
|
23
|
-
import "./code-preview-DPlQayFd.js";
|
|
24
|
-
import "./payment-card-form-BJa4RgF2.js";
|
|
25
|
-
import { SchmancyEvents as g } from "./types.js";
|
|
26
|
-
import { n as N, e as L } from "./provide-tcktw8xB.js";
|
|
27
|
-
import { $ as R } from "./litElement.mixin-DHZXtvYq.js";
|
|
28
|
-
import { c as b } from "./consume-5D1qfVWM.js";
|
|
29
|
-
import "./date-range-GFm5NG33.js";
|
|
30
|
-
import "./date-range-inline-DTQLESAZ.js";
|
|
31
|
-
import "./delay-DEe1CmHc.js";
|
|
32
|
-
import "./details-D-LXW23W.js";
|
|
33
|
-
import "./dialog-service-D9E3jLAR.js";
|
|
34
|
-
import "./dialog.component-a7FlKhGD.js";
|
|
35
|
-
import "@floating-ui/dom";
|
|
36
|
-
import "./divider-CzTpxOqt.js";
|
|
37
|
-
import "./dropdown-content-DCn-g0-f.js";
|
|
38
|
-
import "./timezone-4vwX0BgA.js";
|
|
39
|
-
import "./form-BxVM6JTn.js";
|
|
40
|
-
import "./icon-DYpLoegR.js";
|
|
41
|
-
import "./input-D0cQ9DOY.js";
|
|
42
|
-
import "./json-PKewOWuJ.js";
|
|
43
|
-
import "./flex-5dR48zie.js";
|
|
44
|
-
import "./scroll-C_gfUgjn.js";
|
|
45
|
-
import "./lightbox-service-DZMnb1eU.js";
|
|
46
|
-
import "./list-CW56LV-v.js";
|
|
47
|
-
import "./email-recipients-BzjAKNJ0.js";
|
|
48
|
-
import "./map-2Hl60a0A.js";
|
|
49
|
-
import "./menu-Caju5-zd.js";
|
|
50
|
-
import "./navigation-rail-Ctketq5a.js";
|
|
51
|
-
import "./notification-service-CUlfXqmj.js";
|
|
52
|
-
import "./option-Bng41-rY.js";
|
|
53
|
-
import "./page-D-ROcQDd.js";
|
|
54
|
-
import "./progress-yTIX6EqC.js";
|
|
55
|
-
import "./qr-scanner-DjZ8mgHV.js";
|
|
56
|
-
import "./radio-button-me3SRHGu.js";
|
|
57
|
-
import "./index-CW6PhEkx.js";
|
|
58
|
-
import "./select-BBA0gBHf.js";
|
|
59
|
-
import { s as Z } from "./sheet.service-2MobB-9z.js";
|
|
60
|
-
import "./sheet-CNcDT3VP.js";
|
|
61
|
-
import "./slider-CkE-iFUy.js";
|
|
62
|
-
import "./schmancy-steps-container-J6P-NNNj.js";
|
|
63
|
-
import "./context-create-B_S-sD5B.js";
|
|
64
|
-
import "./surface-eBfnSwQS.js";
|
|
65
|
-
import "./table-Dmo4TvTx.js";
|
|
66
|
-
import "./tabs-compatibility-Bit6y6en.js";
|
|
67
|
-
import "./textarea-B1d1QCqT.js";
|
|
68
|
-
import "./theme-controller-boat-CzSmjyKq.js";
|
|
69
|
-
import "./theme-button-CrLuMQNe.js";
|
|
70
|
-
import "./tooltip-CjdvBf4X.js";
|
|
71
|
-
import "./tree-CBEjV7jP.js";
|
|
72
|
-
import "./typewriter-Eo5qXoGC.js";
|
|
73
|
-
import "./typography-C_1gdM2I.js";
|
|
74
|
-
import { S as r } from "./theme.interface-BLfE5J_1.js";
|
|
75
|
-
import { when as At } from "lit/directives/when.js";
|
|
76
|
-
var qt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
|
|
77
|
-
for (var n, i = o > 1 ? void 0 : o ? Xt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
78
|
-
return o && i && qt(e, s, i), i;
|
|
79
|
-
};
|
|
80
|
-
let C = class extends J(v`
|
|
81
|
-
:host {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
width: fit-content;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Enhanced pulse animation for better attention-getting */
|
|
87
|
-
@keyframes elegant-pulse {
|
|
88
|
-
0%, 100% {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
50% {
|
|
92
|
-
opacity: 0.85;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.animate-pulse {
|
|
97
|
-
animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
98
|
-
}
|
|
99
|
-
`) {
|
|
100
|
-
constructor() {
|
|
101
|
-
super(...arguments), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
|
|
102
|
-
}
|
|
103
|
-
getSizeClasses() {
|
|
104
|
-
switch (this.size) {
|
|
105
|
-
case "xs":
|
|
106
|
-
return "text-xs py-0.75 px-1.5 gap-0.5 leading-none";
|
|
107
|
-
case "sm":
|
|
108
|
-
return "text-xs py-1.5 px-2.5 gap-0.5 tracking-wide leading-none";
|
|
109
|
-
case "lg":
|
|
110
|
-
return "text-base py-2 px-4 gap-1 tracking-wide";
|
|
111
|
-
default:
|
|
112
|
-
return "text-sm py-1.5 px-3 gap-0.5";
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
getShapeClasses() {
|
|
116
|
-
switch (this.shape) {
|
|
117
|
-
case "square":
|
|
118
|
-
return "rounded";
|
|
119
|
-
case "rounded":
|
|
120
|
-
return "rounded-md";
|
|
121
|
-
default:
|
|
122
|
-
return "rounded-full";
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
getIconSize() {
|
|
126
|
-
switch (this.size) {
|
|
127
|
-
case "xs":
|
|
128
|
-
return "11px";
|
|
129
|
-
case "sm":
|
|
130
|
-
return "13px";
|
|
131
|
-
case "lg":
|
|
132
|
-
return "18px";
|
|
133
|
-
default:
|
|
134
|
-
return "15px";
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
getExoticStyles() {
|
|
138
|
-
const t = {};
|
|
139
|
-
return this.size === "lg" && (t.letterSpacing = "0.03em", t.fontWeight = "500"), this.size === "sm" && (t.letterSpacing = "0.02em"), t;
|
|
140
|
-
}
|
|
141
|
-
getColorStyles() {
|
|
142
|
-
return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.primary.container} 92%, ${r.sys.color.primary.default} 8%)`, text: this.outlined ? r.sys.color.primary.default : r.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.primary.default} 90%, ${r.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.secondary.container} 95%, ${r.sys.color.secondary.default} 5%)`, text: this.outlined ? r.sys.color.secondary.default : r.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.secondary.default} 85%, ${r.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.tertiary.container} 94%, ${r.sys.color.tertiary.default} 6%)`, text: this.outlined ? r.sys.color.tertiary.default : r.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.tertiary.default} 88%, ${r.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.success.container} 90%, ${r.sys.color.success.default} 10%)`, text: this.outlined ? r.sys.color.success.default : r.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.success.default} 85%, ${r.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.tertiary.container} 85%, ${r.sys.color.tertiary.default} 15%)`, text: this.outlined ? r.sys.color.tertiary.default : r.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.tertiary.default} 90%, ${r.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.error.container} 92%, ${r.sys.color.error.default} 8%)`, text: this.outlined ? r.sys.color.error.default : r.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.error.default} 88%, ${r.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.surface.high} 95%, ${r.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${r.sys.color.surface.on} 95%, ${r.sys.color.surface.default} 5%)` : r.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.outline} 85%, ${r.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
|
|
143
|
-
}
|
|
144
|
-
render() {
|
|
145
|
-
const t = this.getSizeClasses(), e = this.getShapeClasses(), s = this.getColorStyles(), o = this.getIconSize(), n = this.getExoticStyles(), i = { "inline-flex items-center justify-center font-medium": !0, "transition-all duration-200 ease-in-out": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg", "hover:brightness-95 hover:-translate-y-px": this.outlined, "hover:brightness-[0.98]": !this.outlined }, a = { borderColor: s.border, backdropFilter: this.outlined ? "blur(4px)" : void 0, boxShadow: this.size !== "lg" || this.outlined ? void 0 : "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)", ...n };
|
|
146
|
-
return c`
|
|
147
|
-
<div
|
|
148
|
-
part="badge"
|
|
149
|
-
class="${this.classMap(i)}"
|
|
150
|
-
style="${this.styleMap(a)}"
|
|
151
|
-
${P({ bgColor: s.bg, color: s.text })}
|
|
152
|
-
>
|
|
153
|
-
<!-- Icon slot or named icon -->
|
|
154
|
-
<slot name="icon">
|
|
155
|
-
${this.icon ? c`
|
|
156
|
-
<div part="icon" class="flex-shrink-0 flex items-center justify-center leading-none">
|
|
157
|
-
<schmancy-icon .size=${o} class="flex items-center justify-center">${this.icon}</schmancy-icon>
|
|
158
|
-
</div>
|
|
159
|
-
` : ""}
|
|
160
|
-
</slot>
|
|
161
|
-
|
|
162
|
-
<!-- Content with proper spacing from icon -->
|
|
163
|
-
<div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
|
|
164
|
-
<slot></slot>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
`;
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
M([l({ type: String, reflect: !0 })], C.prototype, "color", 2), M([l({ type: String, reflect: !0 })], C.prototype, "size", 2), M([l({ type: String, reflect: !0 })], C.prototype, "shape", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "outlined", 2), M([l({ type: String })], C.prototype, "icon", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "pulse", 2), C = M([p("schmancy-badge")], C);
|
|
171
|
-
let at = class extends C {
|
|
172
|
-
};
|
|
173
|
-
at = M([p("sch-badge")], at);
|
|
174
|
-
const js = new class {
|
|
175
|
-
constructor() {
|
|
176
|
-
this.$drawer = new tt(), this.$drawer.pipe().subscribe((t) => {
|
|
177
|
-
switch (t.action) {
|
|
178
|
-
case "dismiss":
|
|
179
|
-
this.dispatchToggleEvent(t.ref, "close");
|
|
180
|
-
break;
|
|
181
|
-
case "render":
|
|
182
|
-
this.dispatchToggleEvent(t.ref, "open"), this.dispatchRenderEvent(t.ref, t.component, t.title);
|
|
183
|
-
break;
|
|
184
|
-
case "push":
|
|
185
|
-
this.handlePush(t.ref, t.component, t.state, t.params, t.props);
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
dispatchToggleEvent(t, e) {
|
|
190
|
-
t.dispatchEvent(new CustomEvent(g.ContentDrawerToggle, { detail: { state: e }, bubbles: !0, composed: !0 }));
|
|
191
|
-
}
|
|
192
|
-
dispatchRenderEvent(t, e, s, o, n, i) {
|
|
193
|
-
t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: e, title: s, state: o, params: n, props: i }, bubbles: !0, composed: !0 }));
|
|
194
|
-
}
|
|
195
|
-
dimiss(t) {
|
|
196
|
-
this.$drawer.next({ action: "dismiss", ref: t });
|
|
197
|
-
}
|
|
198
|
-
render(t, e, s) {
|
|
199
|
-
t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: s });
|
|
200
|
-
}
|
|
201
|
-
handlePush(t, e, s, o, n) {
|
|
202
|
-
this.dispatchToggleEvent(t, "open"), this.dispatchRenderEvent(t, e, void 0, s, o, n);
|
|
203
|
-
}
|
|
204
|
-
push(t) {
|
|
205
|
-
this.$drawer.next({ action: "push", ref: window, ...t });
|
|
206
|
-
}
|
|
207
|
-
}(), et = N("push"), bt = N("close"), ft = N(Math.floor(Math.random() * Date.now()).toString()), st = N("100%"), it = N({});
|
|
208
|
-
var _t = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
|
|
209
|
-
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);
|
|
210
|
-
return o && i && _t(e, s, i), i;
|
|
211
|
-
};
|
|
212
|
-
let D = class extends R(v`
|
|
213
|
-
:host {
|
|
214
|
-
position: relative;
|
|
215
|
-
inset: 0;
|
|
216
|
-
display: block;
|
|
217
|
-
overflow: hidden;
|
|
218
|
-
}
|
|
219
|
-
`) {
|
|
220
|
-
constructor() {
|
|
221
|
-
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
222
|
-
}
|
|
223
|
-
firstUpdated() {
|
|
224
|
-
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
225
|
-
}
|
|
226
|
-
setupResizeListener() {
|
|
227
|
-
G(h(window, "resize"), h(window, g.ContentDrawerResize)).pipe(kt(!0), Y(100), f(() => this.clientWidth || window.innerWidth), f((t) => t >= this.minWidth.main + this.minWidth.sheet), pt(), E(() => this.updateMaxHeight()), u(this.disconnecting)).subscribe((t) => this.updateMode(t));
|
|
228
|
-
}
|
|
229
|
-
setupToggleListener() {
|
|
230
|
-
h(window, g.ContentDrawerToggle).pipe(E((t) => t.stopPropagation()), f((t) => t.detail.state), u(this.disconnecting)).subscribe((t) => {
|
|
231
|
-
this.open = t;
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
setupRenderListener() {
|
|
235
|
-
h(window, "schmancy-content-drawer-render").pipe(E((t) => t.stopPropagation()), f((t) => t.detail), u(this.disconnecting)).subscribe((t) => this.handleRender(t));
|
|
236
|
-
}
|
|
237
|
-
updateMaxHeight() {
|
|
238
|
-
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
239
|
-
}
|
|
240
|
-
updateMode(t) {
|
|
241
|
-
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
242
|
-
}
|
|
243
|
-
handleRender(t) {
|
|
244
|
-
this.mode === "push" ? Rt.push({ area: this.schmancyContentDrawerID, component: t.component, historyStrategy: "silent", state: t.state, params: t.params, props: t.props }) : this.mode === "overlay" && Z.open({ component: t.component, uid: this.schmancyContentDrawerID, props: t.props });
|
|
245
|
-
}
|
|
246
|
-
getOffsetTop(t) {
|
|
247
|
-
let e = 0;
|
|
248
|
-
for (; t; ) e += t.offsetTop, t = t.offsetParent;
|
|
249
|
-
return e;
|
|
250
|
-
}
|
|
251
|
-
render() {
|
|
252
|
-
if (!this.mode || !this.open) return Ct;
|
|
253
|
-
const t = ["grid h-full", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "justify-items-stretch items-stretch", this.mode === "overlay" ? "grid-cols-[1fr]" : "grid-cols-[auto_1fr]"].join(" ");
|
|
254
|
-
return c`
|
|
255
|
-
<div class=${t}>
|
|
256
|
-
<slot></slot>
|
|
257
|
-
</div>
|
|
258
|
-
`;
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
W([L({ context: it })], D.prototype, "minWidth", 2), W([L({ context: bt }), l()], D.prototype, "open", 2), W([L({ context: et }), d()], D.prototype, "mode", 2), W([L({ context: ft })], D.prototype, "schmancyContentDrawerID", 2), W([L({ context: st })], D.prototype, "maxHeight", 2), W([dt({ flatten: !0 })], D.prototype, "assignedElements", 2), D = W([p("schmancy-content-drawer")], D);
|
|
262
|
-
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
|
|
263
|
-
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);
|
|
264
|
-
return o && i && Kt(e, s, i), i;
|
|
265
|
-
};
|
|
266
|
-
let T = class extends R(v`
|
|
267
|
-
:host {
|
|
268
|
-
display: block;
|
|
269
|
-
overflow: hidden;
|
|
270
|
-
}
|
|
271
|
-
`) {
|
|
272
|
-
connectedCallback() {
|
|
273
|
-
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
274
|
-
}
|
|
275
|
-
update(t) {
|
|
276
|
-
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(g.ContentDrawerResize, { bubbles: !0, composed: !0 })));
|
|
277
|
-
}
|
|
278
|
-
render() {
|
|
279
|
-
const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight }, e = ["grid h-full relative overflow-scroll", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "items-stretch justify-items-stretch", this.mode === "push" ? "grid-cols-[auto_1fr]" : "grid-cols-[1fr]"].join(" ");
|
|
280
|
-
return c`
|
|
281
|
-
<section class="relative inset-0 h-full">
|
|
282
|
-
<div class=${e}>
|
|
283
|
-
<section style=${this.styleMap(t)}>
|
|
284
|
-
<slot></slot>
|
|
285
|
-
</section>
|
|
286
|
-
</div>
|
|
287
|
-
${At(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
288
|
-
</section>
|
|
289
|
-
`;
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
A([l({ type: Number })], T.prototype, "minWidth", 2), A([b({ context: it, subscribe: !0 })], T.prototype, "drawerMinWidth", 2), A([b({ context: et, subscribe: !0 }), d()], T.prototype, "mode", 2), A([b({ context: st, subscribe: !0 }), d()], T.prototype, "maxHeight", 2), T = A([p("schmancy-content-drawer-main")], T);
|
|
293
|
-
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, w = (t, e, s, o) => {
|
|
294
|
-
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);
|
|
295
|
-
return o && i && Yt(e, s, i), i;
|
|
296
|
-
};
|
|
297
|
-
let m = class extends R(v`
|
|
298
|
-
:host {
|
|
299
|
-
overflow: scroll;
|
|
300
|
-
}
|
|
301
|
-
`) {
|
|
302
|
-
connectedCallback() {
|
|
303
|
-
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
304
|
-
}
|
|
305
|
-
updated(t) {
|
|
306
|
-
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(g.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (Z.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
307
|
-
}
|
|
308
|
-
open() {
|
|
309
|
-
this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{ opacity: 0, transform: "translateX(100%)" }, { opacity: 1, transform: "translateX(0%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" });
|
|
310
|
-
}
|
|
311
|
-
closeAll() {
|
|
312
|
-
G(rt(this.closeModalSheet()), rt(this.closeSheet())).pipe(u(this.disconnecting)).subscribe();
|
|
313
|
-
}
|
|
314
|
-
closeModalSheet() {
|
|
315
|
-
return V(!0).pipe(E(() => Z.dismiss(this.schmancyContentDrawerID)));
|
|
316
|
-
}
|
|
317
|
-
closeSheet() {
|
|
318
|
-
return new Et((t) => {
|
|
319
|
-
this.sheet.animate([{ opacity: 1, transform: "translateX(0%)" }, { opacity: 1, transform: "translateX(100%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" }).onfinish = () => {
|
|
320
|
-
this.sheet.style.display = "none", t.next(), t.complete();
|
|
321
|
-
};
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
render() {
|
|
325
|
-
const t = { block: this.mode === "push", "absolute z-50": this.mode === "overlay", "opacity-1": this.mode === "overlay" && this.state === "open" }, e = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
|
|
326
|
-
return c`
|
|
327
|
-
<section id="sheet" class="${this.classMap(t)}" style=${this.styleMap(e)}>
|
|
328
|
-
<schmancy-area name="${this.schmancyContentDrawerID}">
|
|
329
|
-
<slot name="placeholder"></slot>
|
|
330
|
-
</schmancy-area>
|
|
331
|
-
</section>
|
|
332
|
-
`;
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
w([l({ type: Number })], m.prototype, "minWidth", 2), w([b({ context: et, subscribe: !0 }), d()], m.prototype, "mode", 2), w([b({ context: bt, subscribe: !0 }), d()], m.prototype, "state", 2), w([b({ context: ft })], m.prototype, "schmancyContentDrawerID", 2), w([Q("#sheet")], m.prototype, "sheet", 2), w([dt({ flatten: !0, slot: void 0 })], m.prototype, "defaultSlot", 2), w([b({ context: it, subscribe: !0 })], m.prototype, "drawerMinWidth", 2), w([b({ context: st, subscribe: !0 }), d()], m.prototype, "maxHeight", 2), m = w([p("schmancy-content-drawer-sheet")], m);
|
|
336
|
-
const Gt = new class {
|
|
337
|
-
constructor() {
|
|
338
|
-
this.$drawer = new tt(), this.$drawer.pipe(Y(10)).subscribe((t) => {
|
|
339
|
-
t.state ? window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
open(t) {
|
|
343
|
-
this.$drawer.next({ self: t, state: !0 });
|
|
344
|
-
}
|
|
345
|
-
close(t) {
|
|
346
|
-
this.$drawer.next({ self: t, state: !1 });
|
|
347
|
-
}
|
|
348
|
-
}(), Ps = Gt;
|
|
349
|
-
var Jt = Object.getOwnPropertyDescriptor;
|
|
350
|
-
let lt = class extends J(v`
|
|
351
|
-
:host {
|
|
352
|
-
display: block;
|
|
353
|
-
width: 100%;
|
|
354
|
-
min-width: 0;
|
|
355
|
-
}
|
|
356
|
-
`) {
|
|
357
|
-
render() {
|
|
358
|
-
return c`<slot></slot>`;
|
|
359
|
-
}
|
|
360
|
-
};
|
|
361
|
-
lt = ((t, e, s, o) => {
|
|
362
|
-
for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
363
|
-
return i;
|
|
364
|
-
})([p("schmancy-nav-drawer-appbar")], lt);
|
|
365
|
-
var Qt = Object.getOwnPropertyDescriptor;
|
|
366
|
-
let ct = class extends R(v`
|
|
367
|
-
:host {
|
|
368
|
-
display: block;
|
|
369
|
-
position: relative;
|
|
370
|
-
inset: 0;
|
|
371
|
-
overflow-y: auto;
|
|
372
|
-
}
|
|
373
|
-
`) {
|
|
374
|
-
connectedCallback() {
|
|
375
|
-
super.connectedCallback(), h(this, "scroll").pipe(u(this.disconnecting)).subscribe((t) => {
|
|
376
|
-
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
377
|
-
});
|
|
378
|
-
}
|
|
379
|
-
render() {
|
|
380
|
-
return c` <slot></slot> `;
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
ct = ((t, e, s, o) => {
|
|
384
|
-
for (var n, i = o > 1 ? void 0 : o ? Qt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
385
|
-
return i;
|
|
386
|
-
})([p("schmancy-nav-drawer-content")], ct);
|
|
387
|
-
const gt = N("push"), vt = N("close");
|
|
388
|
-
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
|
|
389
|
-
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);
|
|
390
|
-
return o && i && Zt(e, s, i), i;
|
|
391
|
-
};
|
|
392
|
-
let k = class extends R(v`
|
|
393
|
-
:host {
|
|
394
|
-
display: grid;
|
|
395
|
-
grid-template-columns: auto 1fr;
|
|
396
|
-
grid-template-rows: 1fr;
|
|
397
|
-
flex-grow: 1;
|
|
398
|
-
height: 100%;
|
|
399
|
-
overflow: hidden;
|
|
400
|
-
/* Initially hide the component until it's ready */
|
|
401
|
-
visibility: hidden;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
:host([data-ready]) {
|
|
405
|
-
visibility: visible;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
:host([fullscreen]) {
|
|
409
|
-
grid-template-columns: 1fr;
|
|
410
|
-
}
|
|
411
|
-
`) {
|
|
412
|
-
constructor() {
|
|
413
|
-
super(...arguments), this.fullscreen = !1, this.breakpoint = "md";
|
|
414
|
-
}
|
|
415
|
-
firstUpdated() {
|
|
416
|
-
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), h(window, "resize").pipe(f((t) => t.target.innerWidth), f((t) => t >= k.BREAKPOINTS[this.breakpoint]), pt(), Y(100), u(this.disconnecting)).subscribe((t) => {
|
|
417
|
-
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
418
|
-
}), h(window, "fullscreen").pipe(E((t) => {
|
|
419
|
-
const e = t;
|
|
420
|
-
this.fullscreen = e.detail;
|
|
421
|
-
}), u(this.disconnecting)).subscribe(), h(window, g.NavDrawer_toggle).pipe(E((t) => {
|
|
422
|
-
t.stopPropagation();
|
|
423
|
-
}), f((t) => t.detail.state), u(this.disconnecting), Y(10)).subscribe((t) => {
|
|
424
|
-
t === "toggle" && (t = this.open === "open" ? "close" : "open"), this.mode === "push" && t === "close" || (this.open = t);
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
updateState(t) {
|
|
428
|
-
const e = t >= k.BREAKPOINTS[this.breakpoint];
|
|
429
|
-
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
430
|
-
}
|
|
431
|
-
render() {
|
|
432
|
-
return c`<slot></slot>`;
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
k.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, q([l({ type: Boolean, reflect: !0 })], k.prototype, "fullscreen", 2), q([l({ type: String, attribute: "breakpoint" })], k.prototype, "breakpoint", 2), q([L({ context: gt }), d()], k.prototype, "mode", 2), q([L({ context: vt }), l()], k.prototype, "open", 2), k = q([p("schmancy-nav-drawer")], k);
|
|
436
|
-
var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
437
|
-
for (var n, i = o > 1 ? void 0 : o ? se(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
438
|
-
return o && i && ee(e, s, i), i;
|
|
439
|
-
};
|
|
440
|
-
const _ = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
441
|
-
let O = class extends R() {
|
|
442
|
-
constructor() {
|
|
443
|
-
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
444
|
-
}
|
|
445
|
-
firstUpdated() {
|
|
446
|
-
this.mode === "overlay" ? this.drawerState === "close" ? (this.nav.style.transform = "translateX(-100%)", this.overlay.style.display = "none") : this.drawerState === "open" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "block", this.overlay.style.opacity = "0.4") : this.mode === "push" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "none"), this._initialized = !0;
|
|
447
|
-
}
|
|
448
|
-
updated(t) {
|
|
449
|
-
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()));
|
|
450
|
-
}
|
|
451
|
-
openOverlay() {
|
|
452
|
-
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: _, fill: "forwards" });
|
|
453
|
-
}
|
|
454
|
-
closeOverlay() {
|
|
455
|
-
this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: _, fill: "forwards" }).onfinish = () => {
|
|
456
|
-
this.overlay.style.display = "none";
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
showNavDrawer() {
|
|
460
|
-
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: _, fill: "forwards" }).onfinish = () => {
|
|
461
|
-
this.nav.style.transform = "translateX(0)";
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
hideNavDrawer() {
|
|
465
|
-
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: _, fill: "forwards" }).onfinish = () => {
|
|
466
|
-
this.nav.style.transform = "translateX(-100%)";
|
|
467
|
-
};
|
|
468
|
-
}
|
|
469
|
-
handleOverlayClick() {
|
|
470
|
-
window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
471
|
-
}
|
|
472
|
-
render() {
|
|
473
|
-
const t = { "max-w-[360px] w-fit h-full overflow-auto": !0, block: this.mode === "push", "fixed inset-0 z-50": this.mode === "overlay" }, e = { width: this.width };
|
|
474
|
-
return c`
|
|
475
|
-
<nav
|
|
476
|
-
style=${this.styleMap(e)}
|
|
477
|
-
class="${this.classMap({ ...t })}"
|
|
478
|
-
${P({ bgColor: r.sys.color.surface.container })}
|
|
479
|
-
>
|
|
480
|
-
<slot></slot>
|
|
481
|
-
</nav>
|
|
482
|
-
<div
|
|
483
|
-
id="overlay"
|
|
484
|
-
${P({ bgColor: r.sys.color.scrim })}
|
|
485
|
-
@click=${this.handleOverlayClick}
|
|
486
|
-
class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
|
|
487
|
-
></div>
|
|
488
|
-
`;
|
|
489
|
-
}
|
|
490
|
-
};
|
|
491
|
-
H([b({ context: gt, subscribe: !0 }), d()], O.prototype, "mode", 2), H([b({ context: vt, subscribe: !0 }), d()], O.prototype, "drawerState", 2), H([Q("#overlay")], O.prototype, "overlay", 2), H([Q("nav")], O.prototype, "nav", 2), H([l({ type: String })], O.prototype, "width", 2), H([d()], O.prototype, "_initialized", 2), O = H([p("schmancy-nav-drawer-navbar")], O);
|
|
492
|
-
var ie = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
493
|
-
for (var n, i = o > 1 ? void 0 : o ? oe(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
494
|
-
return o && i && ie(e, s, i), i;
|
|
495
|
-
};
|
|
496
|
-
let x = class extends J(v`
|
|
497
|
-
:host {
|
|
498
|
-
display: flex;
|
|
499
|
-
flex: 1;
|
|
500
|
-
min-width: 48px;
|
|
501
|
-
max-width: 168px;
|
|
502
|
-
user-select: none;
|
|
503
|
-
-webkit-tap-highlight-color: transparent;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
:host([disabled]) {
|
|
507
|
-
pointer-events: none;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
button {
|
|
511
|
-
font-family: inherit;
|
|
512
|
-
border: none;
|
|
513
|
-
background: none;
|
|
514
|
-
width: 100%;
|
|
515
|
-
padding: 0;
|
|
516
|
-
margin: 0;
|
|
517
|
-
text-align: center;
|
|
518
|
-
color: inherit;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
button:focus {
|
|
522
|
-
outline: none;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
button:focus-visible {
|
|
526
|
-
outline: 2px solid var(--focus-color);
|
|
527
|
-
outline-offset: 2px;
|
|
528
|
-
border-radius: 8px;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
/* Ripple animation */
|
|
532
|
-
@keyframes ripple {
|
|
533
|
-
to {
|
|
534
|
-
transform: scale(4);
|
|
535
|
-
opacity: 0;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
.ripple-effect {
|
|
540
|
-
position: absolute;
|
|
541
|
-
border-radius: 50%;
|
|
542
|
-
width: 20px;
|
|
543
|
-
height: 20px;
|
|
544
|
-
background-color: currentColor;
|
|
545
|
-
opacity: 0.25;
|
|
546
|
-
animation: ripple 0.6s ease-out;
|
|
547
|
-
pointer-events: none;
|
|
548
|
-
}
|
|
549
|
-
`) {
|
|
550
|
-
constructor() {
|
|
551
|
-
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new ut(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
|
|
552
|
-
if (this.disabled) return;
|
|
553
|
-
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
554
|
-
if (e) {
|
|
555
|
-
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
556
|
-
this.ripples = [...this.ripples, o], Dt(600).pipe(B(() => {
|
|
557
|
-
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
558
|
-
}), j(this.disconnecting)).subscribe();
|
|
559
|
-
}
|
|
560
|
-
}, this.handleClick = (t) => {
|
|
561
|
-
if (this.disabled) return t.preventDefault(), void t.stopPropagation();
|
|
562
|
-
this.addRippleEffect(t);
|
|
563
|
-
}, this.handleKeyDown = (t) => {
|
|
564
|
-
this.disabled || t.key !== "Enter" && t.key !== " " || t.preventDefault();
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
get active() {
|
|
568
|
-
return this.active$.value;
|
|
569
|
-
}
|
|
570
|
-
set active(t) {
|
|
571
|
-
this.active$.next(t);
|
|
572
|
-
}
|
|
573
|
-
setActive(t) {
|
|
574
|
-
this.active = t;
|
|
575
|
-
}
|
|
576
|
-
connectedCallback() {
|
|
577
|
-
super.connectedCallback(), this.active$.pipe(j(this.disconnecting)).subscribe(() => {
|
|
578
|
-
this.requestUpdate();
|
|
579
|
-
}), this.setupNavigationStream();
|
|
580
|
-
}
|
|
581
|
-
setupNavigationStream() {
|
|
582
|
-
const t = this.shadowRoot?.querySelector("button");
|
|
583
|
-
if (!t) return;
|
|
584
|
-
const e = h(t, "click").pipe(F(() => !this.disabled)), s = h(t, "keydown").pipe(F(() => !this.disabled), F((o) => o.key === "Enter" || o.key === " "), B((o) => o.preventDefault()));
|
|
585
|
-
G(e, s).pipe(B(() => {
|
|
586
|
-
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
587
|
-
}), j(this.disconnecting)).subscribe();
|
|
588
|
-
}
|
|
589
|
-
formatBadge(t) {
|
|
590
|
-
const e = Number(t);
|
|
591
|
-
return isNaN(e) ? t.slice(0, 3) : e > 99 ? "99+" : String(e);
|
|
592
|
-
}
|
|
593
|
-
firstUpdated() {
|
|
594
|
-
this.setupNavigationStream();
|
|
595
|
-
}
|
|
596
|
-
render() {
|
|
597
|
-
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 }, $t = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, St = { "--focus-color": r.sys.color.primary.default };
|
|
598
|
-
return c`
|
|
599
|
-
<button
|
|
600
|
-
type="button"
|
|
601
|
-
class=${this.classMap(n)}
|
|
602
|
-
@click=${this.handleClick}
|
|
603
|
-
@keydown=${this.handleKeyDown}
|
|
604
|
-
?disabled=${this.disabled}
|
|
605
|
-
aria-pressed=${this.active}
|
|
606
|
-
aria-label=${this.label || "Navigation item"}
|
|
607
|
-
style=${this.styleMap({ ...St, "outline-color": "var(--focus-color)" })}
|
|
608
|
-
${P($t)}
|
|
609
|
-
>
|
|
610
|
-
<!-- Icon with indicator background -->
|
|
611
|
-
<div class=${this.classMap(i)}>
|
|
612
|
-
<!-- Ripple effects -->
|
|
613
|
-
${this.ripples.map((ot) => c`
|
|
614
|
-
<span
|
|
615
|
-
class="ripple-effect"
|
|
616
|
-
style=${this.styleMap({ left: `${ot.x}px`, top: `${ot.y}px`, transform: "translate(-50%, -50%)" })}
|
|
617
|
-
></span>
|
|
618
|
-
`)}
|
|
619
|
-
|
|
620
|
-
${o ? c`<slot name="icon"></slot>` : this.icon ? c`
|
|
621
|
-
<schmancy-icon
|
|
622
|
-
.fill=${this.active ? 1 : 0}
|
|
623
|
-
class="relative z-10 flex items-center justify-center transition-all duration-200"
|
|
624
|
-
style="--schmancy-icon-size: 24px;"
|
|
625
|
-
aria-hidden="true"
|
|
626
|
-
>
|
|
627
|
-
${this.icon}
|
|
628
|
-
</schmancy-icon>
|
|
629
|
-
` : t ? c`<slot></slot>` : ""}
|
|
630
|
-
</div>
|
|
631
|
-
|
|
632
|
-
<!-- Label below icon -->
|
|
633
|
-
${!this.hideLabels && this.label ? c`
|
|
634
|
-
<span class=${this.classMap({ "text-xs font-medium leading-4 mt-1": !0, "text-center max-w-full": !0, "overflow-hidden text-ellipsis whitespace-nowrap": !0, "transition-all duration-200": !0 })}>${this.label}</span>
|
|
635
|
-
` : ""}
|
|
636
|
-
|
|
637
|
-
<!-- Badge -->
|
|
638
|
-
${s ? c`
|
|
639
|
-
<span
|
|
640
|
-
class=${this.classMap(a)}
|
|
641
|
-
aria-label="${e} notifications"
|
|
642
|
-
${P({ bgColor: r.sys.color.error.default, color: r.sys.color.error.on })}
|
|
643
|
-
>
|
|
644
|
-
<span class="text-[10px] font-medium leading-none">${e}</span>
|
|
645
|
-
</span>
|
|
646
|
-
` : this.badge ? c`
|
|
647
|
-
<span
|
|
648
|
-
class=${this.classMap(a)}
|
|
649
|
-
aria-label="Has notifications"
|
|
650
|
-
${P({ bgColor: r.sys.color.error.default })}
|
|
651
|
-
></span>
|
|
652
|
-
` : ""}
|
|
653
|
-
</button>
|
|
654
|
-
`;
|
|
655
|
-
}
|
|
656
|
-
};
|
|
657
|
-
I([l({ type: String })], x.prototype, "icon", 2), I([l({ type: String })], x.prototype, "label", 2), I([l({ type: String })], x.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], x.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], x.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], x.prototype, "hideLabels", 2), I([d()], x.prototype, "ripples", 2), x = I([p("schmancy-navigation-bar-item")], x);
|
|
658
|
-
var re = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
|
|
659
|
-
for (var n, i = o > 1 ? void 0 : o ? ne(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
660
|
-
return o && i && re(e, s, i), i;
|
|
661
|
-
};
|
|
662
|
-
let $ = class extends J(v`
|
|
663
|
-
:host {
|
|
664
|
-
display: block;
|
|
665
|
-
transition: transform 0.3s ease-in-out;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
:host([hide-on-scroll]) {
|
|
669
|
-
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/* Support 3-7 items with equal distribution */
|
|
673
|
-
::slotted(schmancy-navigation-bar-item) {
|
|
674
|
-
flex: 1;
|
|
675
|
-
max-width: 168px; /* Prevent items from being too wide */
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
/* Accessibility focus indicators */
|
|
679
|
-
:host(:focus-within) {
|
|
680
|
-
outline: 2px solid var(--schmancy-sys-color-primary);
|
|
681
|
-
outline-offset: -2px;
|
|
682
|
-
}
|
|
683
|
-
`) {
|
|
684
|
-
constructor() {
|
|
685
|
-
super(...arguments), this.activeIndex$ = new ut(-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) => {
|
|
686
|
-
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
687
|
-
if (o === -1) return;
|
|
688
|
-
if (this.activeIndex === o) return void this.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "toggle" }, bubbles: !0, composed: !0 }));
|
|
689
|
-
const n = this.activeIndex;
|
|
690
|
-
this.activeIndex = o, this.dispatchEvent(new CustomEvent("navigation-change", { detail: { oldIndex: n, newIndex: o, item: s }, bubbles: !0, composed: !0 }));
|
|
691
|
-
}, this.handleKeyDown = (t) => {
|
|
692
|
-
const e = this.getItems(), s = this.focusedIndex === -1 ? this.activeIndex : this.focusedIndex;
|
|
693
|
-
switch (t.key) {
|
|
694
|
-
case "ArrowLeft":
|
|
695
|
-
t.preventDefault(), s > 0 && this.focusItem(s - 1);
|
|
696
|
-
break;
|
|
697
|
-
case "ArrowRight":
|
|
698
|
-
t.preventDefault(), s < e.length - 1 && this.focusItem(s + 1);
|
|
699
|
-
break;
|
|
700
|
-
case "Home":
|
|
701
|
-
t.preventDefault(), this.focusItem(0);
|
|
702
|
-
break;
|
|
703
|
-
case "End":
|
|
704
|
-
t.preventDefault(), this.focusItem(e.length - 1);
|
|
705
|
-
break;
|
|
706
|
-
case "Enter":
|
|
707
|
-
case " ":
|
|
708
|
-
t.preventDefault(), this.focusedIndex !== -1 && e[this.focusedIndex]?.click();
|
|
709
|
-
}
|
|
710
|
-
};
|
|
711
|
-
}
|
|
712
|
-
get activeIndex() {
|
|
713
|
-
return this.activeIndex$.value;
|
|
714
|
-
}
|
|
715
|
-
set activeIndex(t) {
|
|
716
|
-
this.activeIndex$.next(t);
|
|
717
|
-
}
|
|
718
|
-
getItems() {
|
|
719
|
-
const t = this.shadowRoot?.querySelector("slot");
|
|
720
|
-
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
721
|
-
}
|
|
722
|
-
connectedCallback() {
|
|
723
|
-
super.connectedCallback(), h(this, "bar-item-click").pipe(B((t) => this.handleItemClick(t)), j(this.disconnecting)).subscribe(), h(this, "keydown").pipe(B((t) => this.handleKeyDown(t)), j(this.disconnecting)).subscribe(), this.activeIndex$.pipe(j(this.disconnecting)).subscribe((t) => {
|
|
724
|
-
this.updateActiveStates(t);
|
|
725
|
-
}), h(window, "fullscreen").pipe(B((t) => {
|
|
726
|
-
const e = t;
|
|
727
|
-
this.isFullscreen = e.detail;
|
|
728
|
-
}), j(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
729
|
-
}
|
|
730
|
-
setupScrollListener() {
|
|
731
|
-
h(window, "scroll").pipe(Lt(100), yt(() => window.scrollY), Bt(), F(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), B(([t, e]) => {
|
|
732
|
-
const s = e < t;
|
|
733
|
-
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
734
|
-
}), j(this.disconnecting)).subscribe();
|
|
735
|
-
}
|
|
736
|
-
focusItem(t) {
|
|
737
|
-
const e = this.getItems();
|
|
738
|
-
e[t] && (this.focusedIndex = t, e[t].focus());
|
|
739
|
-
}
|
|
740
|
-
updateItems() {
|
|
741
|
-
const t = this.shadowRoot?.querySelector("slot");
|
|
742
|
-
if (t) {
|
|
743
|
-
const e = () => {
|
|
744
|
-
this.updateActiveStates(this.activeIndex);
|
|
745
|
-
};
|
|
746
|
-
t.addEventListener("slotchange", e), e();
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
addBoatItem(t) {
|
|
750
|
-
const e = this.querySelector(`[value="${t.id}"]`);
|
|
751
|
-
if (e) return e;
|
|
752
|
-
const s = document.createElement("schmancy-navigation-bar-item");
|
|
753
|
-
return s.setAttribute("value", t.id), s.innerHTML = `
|
|
754
|
-
<schmancy-icon>${t.icon || "widgets"}</schmancy-icon>
|
|
755
|
-
<span>${t.title}</span>
|
|
756
|
-
`, this.appendChild(s), s;
|
|
757
|
-
}
|
|
758
|
-
updateActiveStates(t) {
|
|
759
|
-
this.getItems().forEach((e, s) => {
|
|
760
|
-
const o = e;
|
|
761
|
-
o.setActive ? o.setActive(s === t) : o.active = s === t, o.hideLabels = this.hideLabels, e.tabIndex = s === t ? 0 : -1;
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
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.isHiddenByScroll = !1));
|
|
766
|
-
}
|
|
767
|
-
render() {
|
|
768
|
-
const t = this.isFullscreen || this.isHiddenByScroll, e = { "h-20": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-300 ease-in-out": !0, "z-10": !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
|
-
return c`
|
|
770
|
-
<nav
|
|
771
|
-
class=${this.classMap(e)}
|
|
772
|
-
role="navigation"
|
|
773
|
-
aria-label="Main navigation"
|
|
774
|
-
aria-hidden=${t}
|
|
775
|
-
style="transform: ${s};"
|
|
776
|
-
${P({ bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on })}
|
|
777
|
-
>
|
|
778
|
-
<slot></slot>
|
|
779
|
-
</nav>
|
|
780
|
-
`;
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
z([l({ type: Number })], $.prototype, "activeIndex", 1), z([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), z([l({ type: Number, reflect: !0 })], $.prototype, "elevation", 2), z([l({ type: Boolean, reflect: !0 })], $.prototype, "hideOnScroll", 2), z([d()], $.prototype, "focusedIndex", 2), z([d()], $.prototype, "isHiddenByScroll", 2), z([d()], $.prototype, "isFullscreen", 2), $ = z([p("schmancy-navigation-bar")], $);
|
|
784
|
-
const wt = "whereAreYouRicky", xt = "hereMorty", U = new class {
|
|
785
|
-
constructor() {
|
|
786
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new tt(), this.find = (t) => nt([h(window, xt).pipe(mt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), f((e) => e.detail.component), Ot(1)), V(t).pipe(E(() => {
|
|
787
|
-
window.dispatchEvent(new CustomEvent(wt, { detail: { id: t.id, callerID: t.uuid } }));
|
|
788
|
-
}))]).pipe(f(([e]) => e), It(0)), this.flip = (t) => {
|
|
789
|
-
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
790
|
-
s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
|
|
791
|
-
const n = [{ transform: `translate(${e.rect.left - s.rect.left}px, ${e.rect.top - s.rect.top}px) scale(${e.rect.width / s.rect.width}, ${e.rect.height / s.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
792
|
-
s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
|
|
793
|
-
s.element.style.zIndex = o, s.element.style.transformOrigin = "";
|
|
794
|
-
};
|
|
795
|
-
}, this.flipRequests.pipe(zt(1), f((t) => t.map(({ from: e, to: s, host: o }, n) => ({ from: e, to: s, host: o, i: n }))), Mt((t) => nt(t.map((e) => V(this.flip(e)))))).subscribe();
|
|
796
|
-
}
|
|
797
|
-
}();
|
|
798
|
-
function ht(t) {
|
|
799
|
-
return jt(50).pipe(yt(() => t.getBoundingClientRect()), Nt((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), Tt(1));
|
|
800
|
-
}
|
|
801
|
-
var ae = Object.defineProperty, le = Object.getOwnPropertyDescriptor, K = (t, e, s, o) => {
|
|
802
|
-
for (var n, i = o > 1 ? void 0 : o ? le(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
803
|
-
return o && i && ae(e, s, i), i;
|
|
804
|
-
};
|
|
805
|
-
let X = class extends R(v``) {
|
|
806
|
-
constructor() {
|
|
807
|
-
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
808
|
-
}
|
|
809
|
-
get _slottedChildren() {
|
|
810
|
-
return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
|
|
811
|
-
}
|
|
812
|
-
connectedCallback() {
|
|
813
|
-
if (this.id === void 0) throw new Error("id is required");
|
|
814
|
-
super.connectedCallback(), G(h(window, Wt).pipe(E({ next: () => {
|
|
815
|
-
this.dispatchEvent(new CustomEvent(Ht, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
816
|
-
} })), h(window, wt).pipe(E({ next: (t) => {
|
|
817
|
-
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(xt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
818
|
-
} }))).pipe(u(this.disconnecting)).subscribe();
|
|
819
|
-
}
|
|
820
|
-
async firstUpdated() {
|
|
821
|
-
V(U.activeTeleportations.get(this.id)).pipe(mt((t) => !!t), u(this.disconnecting), Pt()).subscribe({ next: (t) => {
|
|
822
|
-
this.style.setProperty("visibility", "hidden"), ht(this).pipe(u(this.disconnecting)).subscribe({ next: (e) => {
|
|
823
|
-
U.activeTeleportations.set(this.id, e), U.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
824
|
-
} });
|
|
825
|
-
}, error: () => {
|
|
826
|
-
this.style.setProperty("visibility", "visible"), ht(this).pipe(u(this.disconnecting)).subscribe({ next: (t) => {
|
|
827
|
-
U.activeTeleportations.set(this.id, t);
|
|
828
|
-
} });
|
|
829
|
-
}, complete: () => {
|
|
830
|
-
} });
|
|
831
|
-
}
|
|
832
|
-
render() {
|
|
833
|
-
return c`<slot></slot>`;
|
|
834
|
-
}
|
|
835
|
-
};
|
|
836
|
-
K([l({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), K([l({ type: String })], X.prototype, "id", 2), K([l({ type: Number })], X.prototype, "delay", 2), X = K([p("schmancy-teleport")], X);
|
|
837
|
-
var ce = Object.defineProperty, he = Object.getOwnPropertyDescriptor, S = (t, e, s, o) => {
|
|
838
|
-
for (var n, i = o > 1 ? void 0 : o ? he(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
839
|
-
return o && i && ce(e, s, i), i;
|
|
840
|
-
};
|
|
841
|
-
let y = class extends R() {
|
|
842
|
-
constructor() {
|
|
843
|
-
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
844
|
-
}
|
|
845
|
-
render() {
|
|
846
|
-
let t;
|
|
847
|
-
t = this.src ? c`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? c`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? c`<schmancy-icon>${this.icon}</schmancy-icon>` : c`<schmancy-icon>person</schmancy-icon>`;
|
|
848
|
-
const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xxs: "w-5 h-5 text-[8px]", xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, s = this.getColorAttributes();
|
|
849
|
-
return c`
|
|
850
|
-
<div class="${this.classMap(e)}" ${s}>
|
|
851
|
-
${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
|
|
852
|
-
</div>
|
|
853
|
-
`;
|
|
854
|
-
}
|
|
855
|
-
getColorAttributes() {
|
|
856
|
-
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 P(t[this.color]);
|
|
858
|
-
}
|
|
859
|
-
renderStatusIndicator() {
|
|
860
|
-
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, [{ xxs: "w-1 h-1", 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 };
|
|
861
|
-
return c`
|
|
862
|
-
<div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
|
|
863
|
-
`;
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
S([l({ type: String })], y.prototype, "initials", 2), S([l({ type: String })], y.prototype, "src", 2), S([l({ type: String })], y.prototype, "icon", 2), S([l({ type: String })], y.prototype, "size", 2), S([l({ type: String })], y.prototype, "color", 2), S([l({ type: String })], y.prototype, "shape", 2), S([l({ type: Boolean })], y.prototype, "bordered", 2), S([l({ type: String })], y.prototype, "status", 2), y = S([p("schmancy-avatar")], y);
|
|
867
|
-
export {
|
|
868
|
-
Ps as $,
|
|
869
|
-
xt as H,
|
|
870
|
-
C as S,
|
|
871
|
-
wt as W,
|
|
872
|
-
at as a,
|
|
873
|
-
et as b,
|
|
874
|
-
bt as c,
|
|
875
|
-
ft as d,
|
|
876
|
-
st as e,
|
|
877
|
-
it as f,
|
|
878
|
-
D as g,
|
|
879
|
-
T as h,
|
|
880
|
-
m as i,
|
|
881
|
-
Gt as j,
|
|
882
|
-
lt as k,
|
|
883
|
-
ct as l,
|
|
884
|
-
gt as m,
|
|
885
|
-
vt as n,
|
|
886
|
-
k as o,
|
|
887
|
-
O as p,
|
|
888
|
-
x as q,
|
|
889
|
-
$ as r,
|
|
890
|
-
js as s,
|
|
891
|
-
X as t,
|
|
892
|
-
U as u,
|
|
893
|
-
y as v
|
|
894
|
-
};
|
|
895
|
-
//# sourceMappingURL=avatar-rLCF6MSI.js.map
|