@public-ui/sample-react 4.0.0-alpha.4 → 4.0.0-alpha.6
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 +1 -1
- package/dist/assets/Alert-DQ2Dvx1k-ag7m4LxQ.js +2 -0
- package/dist/assets/{Alert-C60lbYBA-BpPH2dn5.js.map → Alert-DQ2Dvx1k-ag7m4LxQ.js.map} +1 -1
- package/dist/assets/Collapsible-CYivy6zV-BOX8VHAn.js +2 -0
- package/dist/assets/{Collapsible-CiyJ8Cj6-URzuqJJW.js.map → Collapsible-CYivy6zV-BOX8VHAn.js.map} +1 -1
- package/dist/assets/CustomSuggestionsOptionsGroup-CCu6Plt7-I3lOtHmn.js +2 -0
- package/dist/assets/CustomSuggestionsOptionsGroup-CCu6Plt7-I3lOtHmn.js.map +1 -0
- package/dist/assets/FieldControlStateWrapper-Buho_4Oh-DOUM2w5c.js +2 -0
- package/dist/assets/{FieldControlStateWrapper-DVSNBlOi-D8FWW6zD.js.map → FieldControlStateWrapper-Buho_4Oh-DOUM2w5c.js.map} +1 -1
- package/dist/assets/FormFieldStateWrapper-DCnlBW-f-CArqxJyl.js +2 -0
- package/dist/assets/FormFieldStateWrapper-DCnlBW-f-CArqxJyl.js.map +1 -0
- package/dist/assets/Heading-C10swMyu-CfCZk-GX.js +2 -0
- package/dist/assets/{Heading-JmBTMOsG-BRRmNdlP.js.map → Heading-C10swMyu-CfCZk-GX.js.map} +1 -1
- package/dist/assets/Icon-B3ooeNpT-92o1PUMi.js +2 -0
- package/dist/assets/Icon-B3ooeNpT-92o1PUMi.js.map +1 -0
- package/dist/assets/Input-BxAqpZGt-DB0vfFJo.js +2 -0
- package/dist/assets/{Input-DzqeEvvN-QWNNZFRu.js.map → Input-BxAqpZGt-DB0vfFJo.js.map} +1 -1
- package/dist/assets/InputStateWrapper-pD2moAra-DWCvXQNK.js +2 -0
- package/dist/assets/{InputStateWrapper-CAdlOj1p-Bkh-DQiu.js.map → InputStateWrapper-pD2moAra-DWCvXQNK.js.map} +1 -1
- package/dist/assets/InternalUnderlinedBadgeText-SJouHY4e-COPH6Ml5.js +2 -0
- package/dist/assets/{InternalUnderlinedBadgeText-Dqa3NiG4-BnRs2EcB.js.map → InternalUnderlinedBadgeText-SJouHY4e-COPH6Ml5.js.map} +1 -1
- package/dist/assets/Span-wBFswd-7-BsrvhhjT.js +2 -0
- package/dist/assets/{Span-CXTxQLMM-qholWdBt.js.map → Span-wBFswd-7-BsrvhhjT.js.map} +1 -1
- package/dist/assets/access-and-short-key-B37XLwy2-CiS427M_.js +2 -0
- package/dist/assets/{access-and-short-key-bcID78Ha-CT-9Hb4V.js.map → access-and-short-key-B37XLwy2-CiS427M_.js.map} +1 -1
- package/dist/assets/align-D-ifSKu8-XG8WTj3C.js +2 -0
- package/dist/assets/{align-CyK0wp7d-cM-lRrHn.js.map → align-D-ifSKu8-XG8WTj3C.js.map} +1 -1
- package/dist/assets/align-floating-elements-BkpeqvtE-D-l3UmIy.js +2 -0
- package/dist/assets/{align-floating-elements-Bx4ukVlr-C18_ZFc5.js.map → align-floating-elements-BkpeqvtE-D-l3UmIy.js.map} +1 -1
- package/dist/assets/associated.controller-ByY2WiIp-D_Lza8s7.js +2 -0
- package/dist/assets/{associated.controller-BKIODHIT-YbJp2Y3M.js.map → associated.controller-ByY2WiIp-D_Lza8s7.js.map} +1 -1
- package/dist/assets/auto-complete-mCkUnxg2-QSKMNhpi.js +2 -0
- package/dist/assets/auto-complete-mCkUnxg2-QSKMNhpi.js.map +1 -0
- package/dist/assets/clsx-eK3rPvPS-B-dksMZM.js +2 -0
- package/dist/assets/clsx-eK3rPvPS-B-dksMZM.js.map +1 -0
- package/dist/assets/color-BOIEtqEM-HbuRyAx_.js +2 -0
- package/dist/assets/{color-C3pYZKV3-BQnfX-kM.js.map → color-BOIEtqEM-HbuRyAx_.js.map} +1 -1
- package/dist/assets/controller-B2dey74I-BkCmLXk6.js +2 -0
- package/dist/assets/{controller-cKfof2oR-orqYaBGe.js.map → controller-B2dey74I-BkCmLXk6.js.map} +1 -1
- package/dist/assets/controller-C5Ill7ej-dltkCBRl.js +2 -0
- package/dist/assets/{controller-B9N11jWX-ZfHL86NF.js.map → controller-C5Ill7ej-dltkCBRl.js.map} +1 -1
- package/dist/assets/controller-CA5l6Keq-DBHX1Gse.js +2 -0
- package/dist/assets/{controller-BUE1Z7cD-ChUdBNtn.js.map → controller-CA5l6Keq-DBHX1Gse.js.map} +1 -1
- package/dist/assets/controller-CfC2FAMi-BRjpM6kg.js +2 -0
- package/dist/assets/{controller-CU4XEpeP-BGW9W9Rk.js.map → controller-CfC2FAMi-BRjpM6kg.js.map} +1 -1
- package/dist/assets/controller-icon-CKuey-0T-BH8jPae_.js +2 -0
- package/dist/assets/controller-icon-CKuey-0T-BH8jPae_.js.map +1 -0
- package/dist/assets/custom-class-nuoQ9Aml-B0lRTd1o.js +2 -0
- package/dist/assets/custom-class-nuoQ9Aml-B0lRTd1o.js.map +1 -0
- package/dist/assets/{dev.utils-CTUOv47Z-COw9NMhx.js → dev.utils-JixUzvyB-di5gZcih.js} +2 -4
- package/dist/assets/{dev.utils-CTUOv47Z-COw9NMhx.js.map → dev.utils-JixUzvyB-di5gZcih.js.map} +1 -1
- package/dist/assets/devtools-CJ4_uUII-BOhX_4Fr.js +14 -0
- package/dist/assets/{devtools-OFQp-cqk-CVctEbbI.js.map → devtools-CJ4_uUII-BOhX_4Fr.js.map} +1 -1
- package/dist/assets/disabled-BhpAFgSp-BoKnH5Lj.js +2 -0
- package/dist/assets/disabled-BhpAFgSp-BoKnH5Lj.js.map +1 -0
- package/dist/assets/has-closer-CQzjaTkv-77fIFRh2.js +2 -0
- package/dist/assets/has-closer-CQzjaTkv-77fIFRh2.js.map +1 -0
- package/dist/assets/hide-label-B9FhGrWP-DvxeN0M8.js +2 -0
- package/dist/assets/hide-label-B9FhGrWP-DvxeN0M8.js.map +1 -0
- package/dist/assets/href-rwDd36rS-YjsLcYi9.js +2 -0
- package/dist/assets/href-rwDd36rS-YjsLcYi9.js.map +1 -0
- package/dist/assets/i18n-C5ifExT3-DbkujNMR.js +2 -0
- package/dist/assets/i18n-C5ifExT3-DbkujNMR.js.map +1 -0
- package/dist/assets/icons-B5i9zwjJ-Cvt5iH8B.js +2 -0
- package/dist/assets/{icons-72ER78AW-XsxdnrnE.js.map → icons-B5i9zwjJ-Cvt5iH8B.js.map} +1 -1
- package/dist/assets/image-source-BfBEJ0rX-D9D_HGWp.js +2 -0
- package/dist/assets/image-source-BfBEJ0rX-D9D_HGWp.js.map +1 -0
- package/dist/assets/index-B7VtF6vh.js +22448 -0
- package/dist/assets/index-B7VtF6vh.js.map +1 -0
- package/dist/assets/index-BWt2lYpR.css +1 -0
- package/dist/assets/isObject-DvSELytj-DhzEQer1.js +2 -0
- package/dist/assets/{isObject-DvSELytj-B0RigBxT.js.map → isObject-DvSELytj-DhzEQer1.js.map} +1 -1
- package/dist/assets/keyboard-D6PoWr38-BGYQJqo4.js +2 -0
- package/dist/assets/{keyboard-D6PoWr38-Bn_Qh8Bq.js.map → keyboard-D6PoWr38-BGYQJqo4.js.map} +1 -1
- package/dist/assets/{kol-abbr.entry-DfO2QBHy.js → kol-abbr.entry-Rj_uSGh3.js} +36 -19
- package/dist/assets/{kol-abbr.entry-DfO2QBHy.js.map → kol-abbr.entry-Rj_uSGh3.js.map} +1 -1
- package/dist/assets/{kol-accordion.entry-DGlyWl92.js → kol-accordion.entry-DJ3RYTNJ.js} +28 -23
- package/dist/assets/kol-accordion.entry-DJ3RYTNJ.js.map +1 -0
- package/dist/assets/kol-alert-wc.entry-DJ6v9ZTT.js +2 -0
- package/dist/assets/{kol-alert-wc.entry-KQGdJQ7K.js.map → kol-alert-wc.entry-DJ6v9ZTT.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-Esb0QJ1q.js → kol-alert.entry-B5576s7m.js} +35 -18
- package/dist/assets/{kol-alert.entry-Esb0QJ1q.js.map → kol-alert.entry-B5576s7m.js.map} +1 -1
- package/dist/assets/kol-avatar-wc.entry-DXhvK3Kl.js +2 -0
- package/dist/assets/kol-avatar-wc.entry-DXhvK3Kl.js.map +1 -0
- package/dist/assets/{kol-avatar.entry-DylkzI-2.js → kol-avatar.entry-BcHd56mE.js} +9 -9
- package/dist/assets/{kol-avatar.entry-DylkzI-2.js.map → kol-avatar.entry-BcHd56mE.js.map} +1 -1
- package/dist/assets/{kol-badge.entry-D23FFqqY.js → kol-badge.entry-BFzaTblg.js} +36 -19
- package/dist/assets/kol-badge.entry-BFzaTblg.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-CQN00s2L.js → kol-breadcrumb.entry-DXcoSgfX.js} +41 -29
- package/dist/assets/kol-breadcrumb.entry-DXcoSgfX.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-CZfum7Mh.js → kol-button-link.entry-Dkr0G9Wc.js} +39 -22
- package/dist/assets/kol-button-link.entry-Dkr0G9Wc.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-Da4NjoPo.js +2 -0
- package/dist/assets/kol-button-wc.entry-Da4NjoPo.js.map +1 -0
- package/dist/assets/{kol-button.entry-CK3PEHo_.js → kol-button.entry-9bfCehKG.js} +36 -22
- package/dist/assets/{kol-button.entry-CK3PEHo_.js.map → kol-button.entry-9bfCehKG.js.map} +1 -1
- package/dist/assets/kol-card-wc.entry-BBVEBvEJ.js +2 -0
- package/dist/assets/kol-card-wc.entry-BBVEBvEJ.js.map +1 -0
- package/dist/assets/{kol-card.entry-BB5MUqG2.js → kol-card.entry-RLjINNxB.js} +51 -23
- package/dist/assets/{kol-card.entry-BB5MUqG2.js.map → kol-card.entry-RLjINNxB.js.map} +1 -1
- package/dist/assets/kol-combobox.entry-D_d0J5Vp.js +383 -0
- package/dist/assets/kol-combobox.entry-D_d0J5Vp.js.map +1 -0
- package/dist/assets/{kol-details.entry-01zvH0ey.js → kol-details.entry-VevfCFxw.js} +28 -23
- package/dist/assets/kol-details.entry-VevfCFxw.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-D_3mra6s.js → kol-drawer.entry-XUJXIPaP.js} +51 -23
- package/dist/assets/kol-drawer.entry-XUJXIPaP.js.map +1 -0
- package/dist/assets/{kol-form.entry-NBF48aH4.js → kol-form.entry-BgQGx9ZA.js} +39 -22
- package/dist/assets/kol-form.entry-BgQGx9ZA.js.map +1 -0
- package/dist/assets/{kol-heading.entry-Bw2ZOxZB.js → kol-heading.entry-CLT7GAYs.js} +8 -8
- package/dist/assets/{kol-heading.entry-Bw2ZOxZB.js.map → kol-heading.entry-CLT7GAYs.js.map} +1 -1
- package/dist/assets/{kol-icon.entry-B7lW9qAY.js → kol-icon.entry-BixwiJYG.js} +4 -5
- package/dist/assets/{kol-icon.entry-B7lW9qAY.js.map → kol-icon.entry-BixwiJYG.js.map} +1 -1
- package/dist/assets/{kol-image.entry-B783sgJI.js → kol-image.entry-BN9CbBs4.js} +8 -8
- package/dist/assets/{kol-image.entry-B783sgJI.js.map → kol-image.entry-BN9CbBs4.js.map} +1 -1
- package/dist/assets/{kol-input-checkbox.entry-Bk14Spfx.js → kol-input-checkbox.entry-B-zCzsDw.js} +36 -19
- package/dist/assets/kol-input-checkbox.entry-B-zCzsDw.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-ePlNMP4V.js → kol-input-color.entry-CZYwFnpi.js} +36 -19
- package/dist/assets/kol-input-color.entry-CZYwFnpi.js.map +1 -0
- package/dist/assets/kol-input-date.entry-eMgTWFCq.js +359 -0
- package/dist/assets/kol-input-date.entry-eMgTWFCq.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-wKL18EUZ.js → kol-input-email.entry-DSuKdAcU.js} +36 -19
- package/dist/assets/kol-input-email.entry-DSuKdAcU.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-BKI4OZSU.js → kol-input-file.entry-DIEpXXxW.js} +36 -19
- package/dist/assets/kol-input-file.entry-DIEpXXxW.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-ZwyeLKvv.js → kol-input-number.entry-D7xNprMP.js} +36 -19
- package/dist/assets/kol-input-number.entry-D7xNprMP.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-DPKMN5fu.js → kol-input-password.entry-CI_Ivb_e.js} +36 -19
- package/dist/assets/kol-input-password.entry-CI_Ivb_e.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-Dl088Xo5.js → kol-input-radio.entry-CbirBKHh.js} +36 -19
- package/dist/assets/kol-input-radio.entry-CbirBKHh.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-CmeOXU_F.js → kol-input-range.entry-BdhQkyvG.js} +42 -25
- package/dist/assets/kol-input-range.entry-BdhQkyvG.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-yTzyHdEY.js → kol-input-text.entry-BB-dqqfS.js} +36 -19
- package/dist/assets/kol-input-text.entry-BB-dqqfS.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-DJG6zhJM.js → kol-kolibri.entry-DYU5XjFI.js} +8 -8
- package/dist/assets/kol-kolibri.entry-DYU5XjFI.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-Dcp42Pg3.js → kol-link-button.entry-Dab9HQai.js} +36 -22
- package/dist/assets/{kol-link-button.entry-Dcp42Pg3.js.map → kol-link-button.entry-Dab9HQai.js.map} +1 -1
- package/dist/assets/kol-link-wc.entry-DkWCDGLc.js +2 -0
- package/dist/assets/kol-link-wc.entry-DkWCDGLc.js.map +1 -0
- package/dist/assets/{kol-link.entry-BlrEmz88.js → kol-link.entry-C2Im_Hvq.js} +39 -22
- package/dist/assets/{kol-link.entry-BlrEmz88.js.map → kol-link.entry-C2Im_Hvq.js.map} +1 -1
- package/dist/assets/{kol-modal.entry-Dzep00es.js → kol-modal.entry-yJUKSJxX.js} +51 -23
- package/dist/assets/kol-modal.entry-yJUKSJxX.js.map +1 -0
- package/dist/assets/{kol-nav.entry-JvaOvsQU.js → kol-nav.entry-2rsrfjTj.js} +37 -20
- package/dist/assets/kol-nav.entry-2rsrfjTj.js.map +1 -0
- package/dist/assets/kol-pagination-wc.entry-D9DU5jW0.js +2 -0
- package/dist/assets/kol-pagination-wc.entry-D9DU5jW0.js.map +1 -0
- package/dist/assets/{kol-pagination.entry-CXF2sSj4.js → kol-pagination.entry-D3myaZvZ.js} +36 -19
- package/dist/assets/{kol-pagination.entry-CXF2sSj4.js.map → kol-pagination.entry-D3myaZvZ.js.map} +1 -1
- package/dist/assets/kol-popover-button-wc.entry-FIGHen9E.js +2 -0
- package/dist/assets/kol-popover-button-wc.entry-FIGHen9E.js.map +1 -0
- package/dist/assets/{kol-popover-button.entry-oeskpb26.js → kol-popover-button.entry-CY91hFv7.js} +39 -22
- package/dist/assets/kol-popover-button.entry-CY91hFv7.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-DqlXiAZp.js +2 -0
- package/dist/assets/kol-popover-wc.entry-DqlXiAZp.js.map +1 -0
- package/dist/assets/{kol-progress.entry-CgzqIhxD.js → kol-progress.entry-DjgBY3GT.js} +8 -8
- package/dist/assets/kol-progress.entry-DjgBY3GT.js.map +1 -0
- package/dist/assets/{kol-quote.entry-fN4L1lwa.js → kol-quote.entry-DxpC3dEF.js} +11 -11
- package/dist/assets/{kol-quote.entry-fN4L1lwa.js.map → kol-quote.entry-DxpC3dEF.js.map} +1 -1
- package/dist/assets/{kol-select.entry-CJA8LIAq.js → kol-select.entry-DAo3ybSo.js} +39 -20
- package/dist/assets/kol-select.entry-DAo3ybSo.js.map +1 -0
- package/dist/assets/kol-single-select.entry-DKYv5ZhW.js +393 -0
- package/dist/assets/kol-single-select.entry-DKYv5ZhW.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-D74tudTM.js → kol-skip-nav.entry-I7EWJU2v.js} +8 -8
- package/dist/assets/{kol-skip-nav.entry-D74tudTM.js.map → kol-skip-nav.entry-I7EWJU2v.js.map} +1 -1
- package/dist/assets/{kol-spin.entry-CAHGqrVG.js → kol-spin.entry-DL_vZ5nJ.js} +8 -8
- package/dist/assets/kol-spin.entry-DL_vZ5nJ.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-CAqvy_v4.js → kol-split-button.entry-DY971jfJ.js} +36 -19
- package/dist/assets/kol-split-button.entry-DY971jfJ.js.map +1 -0
- package/dist/assets/kol-table-settings-wc.entry-CH8HxW_P.js +2 -0
- package/dist/assets/kol-table-settings-wc.entry-CH8HxW_P.js.map +1 -0
- package/dist/assets/{kol-table-stateful.entry-BIxVoszq.js → kol-table-stateful.entry-BEWFASyI.js} +43 -29
- package/dist/assets/kol-table-stateful.entry-BEWFASyI.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-ExdLRzNi.js +2 -0
- package/dist/assets/kol-table-stateless-wc.entry-ExdLRzNi.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-CPys_SqK.js → kol-table-stateless.entry-Dyxr5ovU.js} +43 -29
- package/dist/assets/kol-table-stateless.entry-Dyxr5ovU.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-G17RVwOX.js → kol-tabs.entry-B6U7FePp.js} +36 -19
- package/dist/assets/kol-tabs.entry-B6U7FePp.js.map +1 -0
- package/dist/assets/kol-textarea.entry-Du2Ma6u_.js +337 -0
- package/dist/assets/kol-textarea.entry-Du2Ma6u_.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-D7tLaFPd.js → kol-toast-container.entry-Fn64Fiv_.js} +36 -19
- package/dist/assets/kol-toast-container.entry-Fn64Fiv_.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-DVA4isNn.js → kol-toolbar.entry-DV1rBvlk.js} +39 -22
- package/dist/assets/kol-toolbar.entry-DV1rBvlk.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-DJ7k4HlU.js +2 -0
- package/dist/assets/kol-tooltip-wc.entry-DJ7k4HlU.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-DBgM3alG.js +2 -0
- package/dist/assets/{kol-tree-item-wc.entry-DuOIq5m6.js.map → kol-tree-item-wc.entry-DBgM3alG.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-CgPVEkhB.js → kol-tree-item.entry-DKCYg25X.js} +8 -8
- package/dist/assets/{kol-tree-item.entry-CgPVEkhB.js.map → kol-tree-item.entry-DKCYg25X.js.map} +1 -1
- package/dist/assets/kol-tree-wc.entry-NduGASXe.js +2 -0
- package/dist/assets/{kol-tree-wc.entry-CiVQ4sn7.js.map → kol-tree-wc.entry-NduGASXe.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-BKzl_gkD.js → kol-tree.entry-DuUAYTVZ.js} +8 -8
- package/dist/assets/{kol-tree.entry-BKzl_gkD.js.map → kol-tree.entry-DuUAYTVZ.js.map} +1 -1
- package/dist/assets/{kol-version.entry-C9wWs0mt.js → kol-version.entry-Bba3CoxI.js} +8 -8
- package/dist/assets/{kol-version.entry-C9wWs0mt.js.map → kol-version.entry-Bba3CoxI.js.map} +1 -1
- package/dist/assets/label-Dnmzb2S_-Cdyj_kq1.js +2 -0
- package/dist/assets/{label-CdtNxOKu-hh60kymj.js.map → label-Dnmzb2S_-Cdyj_kq1.js.map} +1 -1
- package/dist/assets/link-variant-DQEKOyAU-ex0r5ur_.js +2 -0
- package/dist/assets/{link-variant-H9yefO89-DDHwpkIR.js.map → link-variant-DQEKOyAU-ex0r5ur_.js.map} +1 -1
- package/dist/assets/{markdown-DL-PkOqb-U0ZENU4t.js → markdown-BSkXjaSn-BA5_b1rt.js} +9 -11
- package/dist/assets/{markdown-DL-PkOqb-U0ZENU4t.js.map → markdown-BSkXjaSn-BA5_b1rt.js.map} +1 -1
- package/dist/assets/material-icons/README.md +19 -14
- package/dist/assets/material-icons/_data/versions.json +2123 -2123
- package/dist/assets/material-icons/index.d.ts +2122 -2122
- package/dist/assets/material-icons/package.json +50 -50
- package/dist/assets/material-symbols/README.md +18 -11
- package/dist/assets/material-symbols/index.d.ts +2803 -2803
- package/dist/assets/material-symbols/package.json +39 -39
- package/dist/assets/max-length-behavior-nTw1Zuyf-B6u64YUk.js +2 -0
- package/dist/assets/{max-length-behavior-BmNWss6T-4wJ3PvM4.js.map → max-length-behavior-nTw1Zuyf-B6u64YUk.js.map} +1 -1
- package/dist/assets/multiple-Cj3JQafH-BHn8rKEu.js +2 -0
- package/dist/assets/multiple-Cj3JQafH-BHn8rKEu.js.map +1 -0
- package/dist/assets/open-CbvHO4XG-C4qNZN5K.js +2 -0
- package/dist/assets/open-CbvHO4XG-C4qNZN5K.js.map +1 -0
- package/dist/assets/orientation-eCMt8CD1-DU0R7kFe.js +2 -0
- package/dist/assets/orientation-eCMt8CD1-DU0R7kFe.js.map +1 -0
- package/dist/assets/placeholder-BVhy3BzI-CRJ8ifgl.js +2 -0
- package/dist/assets/placeholder-BVhy3BzI-CRJ8ifgl.js.map +1 -0
- package/dist/assets/read-only-BetTuumR-DJj30mVR.js +2 -0
- package/dist/assets/read-only-BetTuumR-DJj30mVR.js.map +1 -0
- package/dist/assets/required-CnTTpFCN-Btn4cDt_.js +2 -0
- package/dist/assets/required-CnTTpFCN-Btn4cDt_.js.map +1 -0
- package/dist/assets/reuse-CX4AQDkS-BaVSFETn.js +2 -0
- package/dist/assets/{reuse-CX4AQDkS-Cyh-fyjG.js.map → reuse-CX4AQDkS-BaVSFETn.js.map} +1 -1
- package/dist/assets/rows-DtS-0sp9-BDwZuKKk.js +2 -0
- package/dist/assets/rows-DtS-0sp9-BDwZuKKk.js.map +1 -0
- package/dist/assets/show-DdPK3aM7-BlHQ5ahJ.js +2 -0
- package/dist/assets/show-DdPK3aM7-BlHQ5ahJ.js.map +1 -0
- package/dist/assets/spell-check-B9ot-4t--e3lri7-Z.js +2 -0
- package/dist/assets/spell-check-B9ot-4t--e3lri7-Z.js.map +1 -0
- package/dist/assets/suggestions-B-jLvT4L-D-fAMa4U.js +2 -0
- package/dist/assets/{suggestions-DfF4lcNG-DncBUR0O.js.map → suggestions-B-jLvT4L-D-fAMa4U.js.map} +1 -1
- package/dist/assets/table-settings-DxLvhwRE-D2NlbOR5.js +2 -0
- package/dist/assets/{table-settings-DSZObo-2-fr_B4R6e.js.map → table-settings-DxLvhwRE-D2NlbOR5.js.map} +1 -1
- package/dist/assets/test-component.entry-CQa2Xcnh.js +2 -0
- package/dist/assets/test-component.entry-CQa2Xcnh.js.map +1 -0
- package/dist/assets/tooltip-align-Cnin7S26-75G_E4Br.js +2 -0
- package/dist/assets/tooltip-align-Cnin7S26-75G_E4Br.js.map +1 -0
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-DRkgcff2.js +2 -0
- package/dist/assets/{tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map → tooltip-open-tracking-rBbBgPWP-DRkgcff2.js.map} +1 -1
- package/dist/assets/tslib.es6-CxX45GIN-BGVaTf34.js +2 -0
- package/dist/assets/{tslib.es6-CxX45GIN-BAJoBDh7.js.map → tslib.es6-CxX45GIN-BGVaTf34.js.map} +1 -1
- package/dist/assets/unique-nav-labels-CrfmPC99-CMd9WiMX.js +2 -0
- package/dist/assets/unique-nav-labels-CrfmPC99-CMd9WiMX.js.map +1 -0
- package/dist/assets/validation-BfjI5un_-CreD_hIG.js +2 -0
- package/dist/assets/validation-BfjI5un_-CreD_hIG.js.map +1 -0
- package/dist/assets/validation-aqgnZOL6-CHFQ0FwF.js +2 -0
- package/dist/assets/validation-aqgnZOL6-CHFQ0FwF.js.map +1 -0
- package/dist/index.html +2 -2
- package/package.json +24 -27
- package/public/assets/material-icons/README.md +19 -14
- package/public/assets/material-icons/_data/versions.json +2123 -2123
- package/public/assets/material-icons/index.d.ts +2122 -2122
- package/public/assets/material-icons/package.json +50 -50
- package/public/assets/material-symbols/README.md +18 -11
- package/public/assets/material-symbols/index.d.ts +2803 -2803
- package/public/assets/material-symbols/package.json +39 -39
- package/src/components/accordion/basic.tsx +9 -5
- package/src/components/avatar/basic.tsx +5 -1
- package/src/components/breadcrumb/basic.tsx +1 -0
- package/src/components/button/access-key.tsx +35 -18
- package/src/components/button/aria-description.tsx +13 -5
- package/src/components/button/baselined.tsx +14 -10
- package/src/components/button/basic.tsx +83 -11
- package/src/components/button/disabled.tsx +43 -0
- package/src/components/button/expert-slot.tsx +48 -11
- package/src/components/button/hide-label.tsx +57 -0
- package/src/components/button/icons.tsx +112 -25
- package/src/components/button/routes.ts +8 -0
- package/src/components/button/row-reverse-tooltip.tsx +10 -10
- package/src/components/button/short-key.tsx +35 -117
- package/src/components/button/spinner.tsx +112 -0
- package/src/components/button/variants.tsx +35 -0
- package/src/components/button/width.tsx +25 -20
- package/src/components/card/headlines.tsx +46 -0
- package/src/components/card/routes.ts +2 -0
- package/src/components/combobox/html.tsx +16 -0
- package/src/components/combobox/routes.ts +2 -0
- package/src/components/handout/basic.tsx +9 -2
- package/src/components/icon/basic.tsx +6 -2
- package/src/components/icon/font-awesome.tsx +36 -0
- package/src/components/icon/routes.ts +2 -0
- package/src/components/input-number/number-formatter.tsx +215 -0
- package/src/components/input-number/routes.ts +2 -0
- package/src/components/input-text/partials/cases.tsx +1 -0
- package/src/components/input-text/text-formatter.tsx +129 -102
- package/src/components/popover-button/basic.tsx +17 -10
- package/src/components/skip-nav/basic.tsx +35 -26
- package/src/components/split-button/basic.tsx +5 -1
- package/src/components/table/direction-aware-sort.tsx +65 -0
- package/src/components/table/multi-sort.tsx +38 -70
- package/src/components/table/predefined-settings.tsx +3 -3
- package/src/components/table/routes.ts +4 -0
- package/src/components/table/settings-column-options.tsx +58 -0
- package/src/components/table/sort-data.tsx +12 -11
- package/src/components/table/stateful-with-selection.tsx +1 -1
- package/src/components/table/stateful-with-single-selection.tsx +1 -1
- package/src/components/table/stateless-with-selection.tsx +2 -2
- package/src/components/table/stateless-with-settings-menu.tsx +58 -6
- package/src/components/table/stateless-with-single-selection.tsx +2 -2
- package/src/components/toolbar/basic.tsx +7 -1
- package/src/components/toolbar/disabled.tsx +5 -0
- package/src/scenarios/appointment-form/AppointmentForm.tsx +115 -97
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +83 -75
- package/src/scenarios/appointment-form/DistrictForm.tsx +49 -49
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +110 -144
- package/src/scenarios/appointment-form/Summary.tsx +11 -10
- package/src/scenarios/appointment-form/formUtils.ts +26 -7
- package/src/scenarios/button-shortkey-table.tsx +127 -0
- package/src/scenarios/custom-tooltip-css-properties.tsx +42 -0
- package/src/scenarios/date-in-form.tsx +24 -0
- package/src/scenarios/react-hook-form/basic.tsx +67 -56
- package/src/scenarios/routes.ts +6 -2
- package/src/scenarios/sample-form-with-validation.tsx +37 -69
- package/src/scenarios/toolbar-item-order.tsx +2 -0
- package/src/style.scss +9 -10
- package/unocss.config.ts +1 -1
- package/vite.config.ts +4 -4
- package/dist/assets/Alert-C60lbYBA-BpPH2dn5.js +0 -4
- package/dist/assets/Collapsible-CiyJ8Cj6-URzuqJJW.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-aLMn7its-QqQeOXZt.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-aLMn7its-QqQeOXZt.js.map +0 -1
- package/dist/assets/FieldControlStateWrapper-DVSNBlOi-D8FWW6zD.js +0 -4
- package/dist/assets/FormFieldStateWrapper-CMmlRSa1-Ce3IYbEY.js +0 -4
- package/dist/assets/FormFieldStateWrapper-CMmlRSa1-Ce3IYbEY.js.map +0 -1
- package/dist/assets/Heading-JmBTMOsG-BRRmNdlP.js +0 -4
- package/dist/assets/Icon-4n78xl5U-f8DJChAS.js +0 -4
- package/dist/assets/Icon-4n78xl5U-f8DJChAS.js.map +0 -1
- package/dist/assets/Input-DzqeEvvN-QWNNZFRu.js +0 -4
- package/dist/assets/InputStateWrapper-CAdlOj1p-Bkh-DQiu.js +0 -4
- package/dist/assets/InternalUnderlinedBadgeText-Dqa3NiG4-BnRs2EcB.js +0 -4
- package/dist/assets/Span-CXTxQLMM-qholWdBt.js +0 -4
- package/dist/assets/access-and-short-key-bcID78Ha-CT-9Hb4V.js +0 -4
- package/dist/assets/align-CyK0wp7d-cM-lRrHn.js +0 -4
- package/dist/assets/align-floating-elements-Bx4ukVlr-C18_ZFc5.js +0 -4
- package/dist/assets/associated.controller-BKIODHIT-YbJp2Y3M.js +0 -4
- package/dist/assets/auto-complete-BsG3RQJ3-VHQdFKzu.js +0 -4
- package/dist/assets/auto-complete-BsG3RQJ3-VHQdFKzu.js.map +0 -1
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +0 -4
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +0 -1
- package/dist/assets/color-C3pYZKV3-BQnfX-kM.js +0 -4
- package/dist/assets/controller-B9N11jWX-ZfHL86NF.js +0 -4
- package/dist/assets/controller-BUE1Z7cD-ChUdBNtn.js +0 -4
- package/dist/assets/controller-CU4XEpeP-BGW9W9Rk.js +0 -4
- package/dist/assets/controller-cKfof2oR-orqYaBGe.js +0 -4
- package/dist/assets/controller-icon-BS8_hq0M-DxLPTb2Y.js +0 -4
- package/dist/assets/controller-icon-BS8_hq0M-DxLPTb2Y.js.map +0 -1
- package/dist/assets/custom-class-CA0KGtrM-Dbhv2XfS.js +0 -4
- package/dist/assets/custom-class-CA0KGtrM-Dbhv2XfS.js.map +0 -1
- package/dist/assets/devtools-OFQp-cqk-CVctEbbI.js +0 -16
- package/dist/assets/disabled-BydergHu-BDBmrDVs.js +0 -4
- package/dist/assets/disabled-BydergHu-BDBmrDVs.js.map +0 -1
- package/dist/assets/has-closer-BBMh8HY3-Ds2_DrNo.js +0 -4
- package/dist/assets/has-closer-BBMh8HY3-Ds2_DrNo.js.map +0 -1
- package/dist/assets/hide-label-DRunOux4-DevJl9BC.js +0 -4
- package/dist/assets/hide-label-DRunOux4-DevJl9BC.js.map +0 -1
- package/dist/assets/href-zZq6HYWf-Dxygtgwv.js +0 -4
- package/dist/assets/href-zZq6HYWf-Dxygtgwv.js.map +0 -1
- package/dist/assets/i18n-CdSCDnmA-ydEJTxuL.js +0 -4
- package/dist/assets/i18n-CdSCDnmA-ydEJTxuL.js.map +0 -1
- package/dist/assets/icons-72ER78AW-XsxdnrnE.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-CTjPW9bv.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-CTjPW9bv.js.map +0 -1
- package/dist/assets/index-56fasavN.css +0 -1
- package/dist/assets/index-mMJ_1Otm.js +0 -14105
- package/dist/assets/index-mMJ_1Otm.js.map +0 -1
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js +0 -4
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +0 -4
- package/dist/assets/kol-accordion.entry-DGlyWl92.js.map +0 -1
- package/dist/assets/kol-alert-wc.entry-KQGdJQ7K.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-BZT2WE7a.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-BZT2WE7a.js.map +0 -1
- package/dist/assets/kol-badge.entry-D23FFqqY.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-CQN00s2L.js.map +0 -1
- package/dist/assets/kol-button-link.entry-CZfum7Mh.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-D1ogP847.js +0 -4
- package/dist/assets/kol-button-wc.entry-D1ogP847.js.map +0 -1
- package/dist/assets/kol-card-wc.entry-BGOfVP6B.js +0 -4
- package/dist/assets/kol-card-wc.entry-BGOfVP6B.js.map +0 -1
- package/dist/assets/kol-combobox.entry-CK1Pr3dJ.js +0 -352
- package/dist/assets/kol-combobox.entry-CK1Pr3dJ.js.map +0 -1
- package/dist/assets/kol-details.entry-01zvH0ey.js.map +0 -1
- package/dist/assets/kol-drawer.entry-D_3mra6s.js.map +0 -1
- package/dist/assets/kol-form.entry-NBF48aH4.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-Bk14Spfx.js.map +0 -1
- package/dist/assets/kol-input-color.entry-ePlNMP4V.js.map +0 -1
- package/dist/assets/kol-input-date.entry-D19aRZ7x.js +0 -342
- package/dist/assets/kol-input-date.entry-D19aRZ7x.js.map +0 -1
- package/dist/assets/kol-input-email.entry-wKL18EUZ.js.map +0 -1
- package/dist/assets/kol-input-file.entry-BKI4OZSU.js.map +0 -1
- package/dist/assets/kol-input-number.entry-ZwyeLKvv.js.map +0 -1
- package/dist/assets/kol-input-password.entry-DPKMN5fu.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-Dl088Xo5.js.map +0 -1
- package/dist/assets/kol-input-range.entry-CmeOXU_F.js.map +0 -1
- package/dist/assets/kol-input-text.entry-yTzyHdEY.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-DJG6zhJM.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-BQuyQ18K.js +0 -4
- package/dist/assets/kol-link-wc.entry-BQuyQ18K.js.map +0 -1
- package/dist/assets/kol-modal.entry-Dzep00es.js.map +0 -1
- package/dist/assets/kol-nav.entry-JvaOvsQU.js.map +0 -1
- package/dist/assets/kol-pagination-wc.entry-doHS1_nb.js +0 -4
- package/dist/assets/kol-pagination-wc.entry-doHS1_nb.js.map +0 -1
- package/dist/assets/kol-popover-button-wc.entry-BUG7HAvN.js +0 -4
- package/dist/assets/kol-popover-button-wc.entry-BUG7HAvN.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-oeskpb26.js.map +0 -1
- package/dist/assets/kol-popover-wc.entry-BFnMAo7a.js +0 -4
- package/dist/assets/kol-popover-wc.entry-BFnMAo7a.js.map +0 -1
- package/dist/assets/kol-progress.entry-CgzqIhxD.js.map +0 -1
- package/dist/assets/kol-select.entry-CJA8LIAq.js.map +0 -1
- package/dist/assets/kol-single-select.entry-d3Bkh7C-.js +0 -368
- package/dist/assets/kol-single-select.entry-d3Bkh7C-.js.map +0 -1
- package/dist/assets/kol-spin.entry-CAHGqrVG.js.map +0 -1
- package/dist/assets/kol-split-button.entry-CAqvy_v4.js.map +0 -1
- package/dist/assets/kol-table-settings-wc.entry-CEmPUPkO.js +0 -4
- package/dist/assets/kol-table-settings-wc.entry-CEmPUPkO.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-BIxVoszq.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-DeMI2EZW.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-DeMI2EZW.js.map +0 -1
- package/dist/assets/kol-table-stateless.entry-CPys_SqK.js.map +0 -1
- package/dist/assets/kol-tabs.entry-G17RVwOX.js.map +0 -1
- package/dist/assets/kol-textarea.entry-BiGwjHTO.js +0 -320
- package/dist/assets/kol-textarea.entry-BiGwjHTO.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-D7tLaFPd.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-DVA4isNn.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-CzGJ93jI.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-CzGJ93jI.js.map +0 -1
- package/dist/assets/kol-tree-item-wc.entry-DuOIq5m6.js +0 -4
- package/dist/assets/kol-tree-wc.entry-CiVQ4sn7.js +0 -4
- package/dist/assets/label-CdtNxOKu-hh60kymj.js +0 -4
- package/dist/assets/link-variant-H9yefO89-DDHwpkIR.js +0 -4
- package/dist/assets/max-length-behavior-BmNWss6T-4wJ3PvM4.js +0 -4
- package/dist/assets/multiple-bcm5IaCN-1vNdltW1.js +0 -4
- package/dist/assets/multiple-bcm5IaCN-1vNdltW1.js.map +0 -1
- package/dist/assets/open-D9q98v46-B3213NTp.js +0 -4
- package/dist/assets/open-D9q98v46-B3213NTp.js.map +0 -1
- package/dist/assets/orientation-5kQWqijN-BGXsGh97.js +0 -4
- package/dist/assets/orientation-5kQWqijN-BGXsGh97.js.map +0 -1
- package/dist/assets/placeholder-6URRds0_-DkLHstCu.js +0 -4
- package/dist/assets/placeholder-6URRds0_-DkLHstCu.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-BtCyAizc.js +0 -4
- package/dist/assets/read-only-CcRldJ9w-BtCyAizc.js.map +0 -1
- package/dist/assets/required-G86n77y0-BeJ6JwN7.js +0 -4
- package/dist/assets/required-G86n77y0-BeJ6JwN7.js.map +0 -1
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +0 -4
- package/dist/assets/rows-P4l3PNiA-B0KX0L_S.js +0 -4
- package/dist/assets/rows-P4l3PNiA-B0KX0L_S.js.map +0 -1
- package/dist/assets/show-DsV_Vx8g-CE2UPRLU.js +0 -4
- package/dist/assets/show-DsV_Vx8g-CE2UPRLU.js.map +0 -1
- package/dist/assets/spell-check-DIsLAYgk-JstFyIxc.js +0 -4
- package/dist/assets/spell-check-DIsLAYgk-JstFyIxc.js.map +0 -1
- package/dist/assets/suggestions-DfF4lcNG-DncBUR0O.js +0 -4
- package/dist/assets/table-settings-DSZObo-2-fr_B4R6e.js +0 -4
- package/dist/assets/test-component.entry-DFZb3yEo.js +0 -4
- package/dist/assets/test-component.entry-DFZb3yEo.js.map +0 -1
- package/dist/assets/tooltip-align-_VI7LehI-DklpgzIk.js +0 -4
- package/dist/assets/tooltip-align-_VI7LehI-DklpgzIk.js.map +0 -1
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +0 -4
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +0 -4
- package/dist/assets/unique-nav-labels-C_NhdgGz-BmN0Wn5j.js +0 -4
- package/dist/assets/unique-nav-labels-C_NhdgGz-BmN0Wn5j.js.map +0 -1
- package/dist/assets/validation-CW_RXPSn-Cs-ew7Oi.js +0 -4
- package/dist/assets/validation-CW_RXPSn-Cs-ew7Oi.js.map +0 -1
- package/dist/assets/validation-DoIjmu3L-DdxaentZ.js +0 -4
- package/dist/assets/validation-DoIjmu3L-DdxaentZ.js.map +0 -1
- package/src/components/button/partials/cases.tsx +0 -37
- package/src/components/button/partials/type.ts +0 -4
- package/src/components/button/partials/variants.tsx +0 -25
- package/src/scenarios/custom-tooltip-width.tsx +0 -33
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.static{position:static}.grid{display:grid}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-6{grid-column:span 6/span 6}.grid-cols-\[4fr_4fr_1fr\]{grid-template-columns:4fr 4fr 1fr}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.mx{margin-left:calc(16rem / var(--kolibri-root-font-size, 16));margin-right:calc(16rem / var(--kolibri-root-font-size, 16))}.mx-auto{margin-left:auto;margin-right:auto}.me{margin-inline-end:calc(16rem / var(--kolibri-root-font-size, 16))}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[1em\]{height:1em}.ha{height:auto}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-xl{max-width:36rem}.w-\[1em\]{width:1em}.w-\[400px\]{width:400px}.w-75px{width:75px}.w-fit{width:fit-content}.w-full{width:100%}.flex{display:flex}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.items-end{align-items:flex-end}.flex-items-center,.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.flex-justify-between,.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.b,.border{border-width:1px}.border-b-1{border-bottom-width:1px}.border-dark-100{--un-border-opacity:1;border-color:rgb(60 60 60 / var(--un-border-opacity))}.border-gray{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.rounded{border-radius:calc(4rem / var(--kolibri-root-font-size, 16))}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.px{padding-left:calc(16rem / var(--kolibri-root-font-size, 16));padding-right:calc(16rem / var(--kolibri-root-font-size, 16))}.pb-sm{padding-bottom:calc(14rem / var(--kolibri-root-font-size, 16))}.text-center{text-align:center}.text-base{font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:1.5}.text-lg{font-size:calc(18rem / var(--kolibri-root-font-size, 16));line-height:1.75}.text-sm{font-size:calc(14rem / var(--kolibri-root-font-size, 16));line-height:1.25}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.color-gray-5{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.font-semibold{font-weight:600}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}.tab-1{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.tab-2{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.tab-3{-moz-tab-size:3;-o-tab-size:3;tab-size:3}.opacity-80{opacity:.8}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.p-0{padding:calc(0rem / var(--kolibri-root-font-size, 16))}.p-2{padding:calc(8rem / var(--kolibri-root-font-size, 16))}.p-3{padding:calc(12rem / var(--kolibri-root-font-size, 16))}.p-4{padding:calc(16rem / var(--kolibri-root-font-size, 16))}.p-6{padding:calc(24rem / var(--kolibri-root-font-size, 16))}.py-2{padding-top:calc(8rem / var(--kolibri-root-font-size, 16));padding-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.pl-5{padding-left:calc(20rem / var(--kolibri-root-font-size, 16))}.m-0{margin:calc(0rem / var(--kolibri-root-font-size, 16))}.m-4{margin:calc(16rem / var(--kolibri-root-font-size, 16))}.my-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.my-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mt,.mt-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16))}.mr{margin-right:calc(16rem / var(--kolibri-root-font-size, 16))}.mt-0{margin-top:calc(0rem / var(--kolibri-root-font-size, 16))}.m-t-2,.mt-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16))}.mt-6{margin-top:calc(24rem / var(--kolibri-root-font-size, 16))}.mb-2{margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.mb-3{margin-bottom:calc(12rem / var(--kolibri-root-font-size, 16))}.mb-4{margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mb-8{margin-bottom:calc(32rem / var(--kolibri-root-font-size, 16))}.gap-14{gap:calc(56rem / var(--kolibri-root-font-size, 16))}.gap-2{gap:calc(8rem / var(--kolibri-root-font-size, 16))}.gap-3{gap:calc(12rem / var(--kolibri-root-font-size, 16))}.gap-4{gap:calc(16rem / var(--kolibri-root-font-size, 16))}.gap-8{gap:calc(32rem / var(--kolibri-root-font-size, 16))}.w-8rem{width:calc(128rem / var(--kolibri-root-font-size, 16))}.w-sm{width:calc(384rem / var(--kolibri-root-font-size, 16))}@media (min-width: 640px){.sm\:col-span-6{grid-column:span 6/span 6}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:flex{display:flex}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-6{grid-column:span 6/span 6}.md\:grid-cols-\[auto_1fr_1fr\]{grid-template-columns:auto 1fr 1fr}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:col-span-2{grid-column:span 2/span 2}.xl\:col-span-3{grid-column:span 3/span 3}.xl\:col-span-5{grid-column:span 5/span 5}.xl\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}}:root{--kolibri-root-font-size: 100;font-size:625%}body{margin:0;font-family:Verdana;font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:normal}dl,hr{margin:0}.grid-cols-2{grid-template-columns:auto auto}.indented-text p{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.black-background{background-color:#000;display:flex;padding:calc(8rem / var(--kolibri-root-font-size, 16));flex-direction:column}.w-image{width:500px}.drawer-content-vertical{width:calc(400rem / var(--kolibri-root-font-size, 16))}.list-none{margin:0;padding:0;list-style:none}@media (min-width: 1024px){.app-container{display:grid;height:100vh;grid-template-columns:calc(360rem / var(--kolibri-root-font-size, 16)) calc(100% - 360rem / var(--kolibri-root-font-size, 16))}.app-sidebar{background-color:#fff;max-height:calc(100vh - 32px);border-right:1px solid gray}.app-sidebar .scrollable-container-wrapper{display:flex;max-height:calc(100vh - 32px);flex-direction:column}.app-sidebar .scrollable-container-wrapper .scrollable-container{overflow:auto;flex:1 auto}main{max-height:100vh;overflow:auto}}@media print{.no-print,.no-print *{display:none!important}}.loader{border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;width:48px;height:48px;animation:pulse 1s linear infinite;border:5px solid #333}.loader:after{transform:translate(-50%,-50%);border-radius:50%;display:inline-block;position:absolute;top:50%;left:50%;box-sizing:border-box;width:48px;height:48px;content:"";animation:scaleUp 1s linear infinite;border:5px solid #f00}@keyframes scaleUp{0%{transform:translate(-50%,-50%) scale(0)}60%,to{transform:translate(-50%,-50%) scale(1)}}@keyframes pulse{0%,60%,to{transform:scale(1)}80%{transform:scale(1.2)}}@media (prefers-reduced-motion){.loader,.loader:after{animation-duration:2s}}.mainlayout{display:grid;width:100%;min-height:calc(100vh - 32rem / var(--kolibri-root-font-size, 16));column-gap:calc(16rem / var(--kolibri-root-font-size, 16));grid-template-areas:"nav content";grid-template-columns:calc(400rem / var(--kolibri-root-font-size, 16)) calc(100% - 460rem / var(--kolibri-root-font-size, 16));grid-template-rows:1fr}.mainlayout>.nav-area{grid-area:nav}.mainlayout>.content{grid-area:content}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var f=typeof global=="object"&&global&&global.Object===Object&&global,l=typeof self=="object"&&self&&self.Object===Object&&self,s=f||l||Function("return this")(),n=s.Symbol,a=Object.prototype,g=a.hasOwnProperty,j=a.toString,r=n?n.toStringTag:void 0;function y(t){var e=g.call(t,r),i=t[r];try{t[r]=void 0;var c=!0}catch{}var b=j.call(t);return c&&(e?t[r]=i:delete t[r]),b}var u=Object.prototype,O=u.toString;function d(t){return O.call(t)}var S="[object Null]",T="[object Undefined]",o=n?n.toStringTag:void 0;function v(t){return t==null?t===void 0?T:S:o&&o in Object(t)?y(t):d(t)}function h(t){return t!=null&&typeof t=="object"}var m=Array.isArray;function w(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}export{n as S,h as a,m as b,v as c,f,w as i,s as r};
|
|
2
|
+
//# sourceMappingURL=isObject-DvSELytj-DhzEQer1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isObject-DvSELytj-
|
|
1
|
+
{"version":3,"file":"isObject-DvSELytj-DhzEQer1.js","sources":["../../../../components/dist/esm/isObject-DvSELytj.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto$1.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString$1 = objectProto$1.toString;\n\n/** Built-in value references. */\nvar symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag$1),\n tag = value[symToStringTag$1];\n\n try {\n value[symToStringTag$1] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString$1.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag$1] = tag;\n } else {\n delete value[symToStringTag$1];\n }\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport { Symbol as S, isObjectLike as a, isArray as b, baseGetTag as c, freeGlobal as f, isObject as i, root as r };\n//# sourceMappingURL=isObject-DvSELytj.js.map\n\n//# sourceMappingURL=isObject-DvSELytj.js.map"],"names":["freeGlobal","freeSelf","root","Symbol","objectProto$1","hasOwnProperty","nativeObjectToString$1","symToStringTag$1","getRawTag","value","isOwn","tag","unmasked","result","objectProto","nativeObjectToString","objectToString","nullTag","undefinedTag","symToStringTag","baseGetTag","isObjectLike","isArray","isObject","type"],"mappings":"AAIG,IAACA,EAAa,OAAO,QAAU,UAAY,QAAU,OAAO,SAAW,QAAU,OAGhFC,EAAW,OAAO,MAAQ,UAAY,MAAQ,KAAK,SAAW,QAAU,KAGxEC,EAAOF,GAAcC,GAAY,SAAS,aAAa,EAAC,EAGxDE,EAASD,EAAK,OAGdE,EAAgB,OAAO,UAGvBC,EAAiBD,EAAc,eAO/BE,EAAyBF,EAAc,SAGvCG,EAAmBJ,EAASA,EAAO,YAAc,OASrD,SAASK,EAAUC,EAAO,CACxB,IAAIC,EAAQL,EAAe,KAAKI,EAAOF,CAAgB,EACnDI,EAAMF,EAAMF,CAAgB,EAEhC,GAAI,CACFE,EAAMF,CAAgB,EAAI,OAC1B,IAAIK,EAAW,EACjB,MAAY,CAAC,CAEb,IAAIC,EAASP,EAAuB,KAAKG,CAAK,EAC9C,OAAIG,IACEF,EACFD,EAAMF,CAAgB,EAAII,EAE1B,OAAOF,EAAMF,CAAgB,GAG1BM,CACT,CAGA,IAAIC,EAAc,OAAO,UAOrBC,EAAuBD,EAAY,SASvC,SAASE,EAAeP,EAAO,CAC7B,OAAOM,EAAqB,KAAKN,CAAK,CACxC,CAGA,IAAIQ,EAAU,gBACVC,EAAe,qBAGfC,EAAiBhB,EAASA,EAAO,YAAc,OASnD,SAASiB,EAAWX,EAAO,CACzB,OAAIA,GAAS,KACJA,IAAU,OAAYS,EAAeD,EAEtCE,GAAkBA,KAAkB,OAAOV,CAAK,EACpDD,EAAUC,CAAK,EACfO,EAAeP,CAAK,CAC1B,CA0BA,SAASY,EAAaZ,EAAO,CAC3B,OAAOA,GAAS,MAAQ,OAAOA,GAAS,QAC1C,CAyBG,IAACa,EAAU,MAAM,QA2BpB,SAASC,EAASd,EAAO,CACvB,IAAIe,EAAO,OAAOf,EAClB,OAAOA,GAAS,OAASe,GAAQ,UAAYA,GAAQ,WACvD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n;(function(o){o.onBlur="onBlur",o.onChange="onChange",o.onChangePage="onChangePage",o.onClick="onClick",o.onClose="onClose",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSelectionChange="onSelectionChange",o.onChangePageSize="onChangePageSize",o.onSort="onSort",o.onSubmit="onSubmit",o.onToggle="onToggle"})(n||(n={}));var e;(function(o){o.ArrowDown="ArrowDown",o.ArrowLeft="ArrowLeft",o.ArrowRight="ArrowRight",o.ArrowUp="ArrowUp",o.Enter="Enter",o.Space=" "})(e||(e={}));export{n as C,e as K};
|
|
2
|
+
//# sourceMappingURL=keyboard-D6PoWr38-BGYQJqo4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-D6PoWr38-
|
|
1
|
+
{"version":3,"file":"keyboard-D6PoWr38-BGYQJqo4.js","sources":["../../../../components/dist/esm/keyboard-D6PoWr38.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nvar Callback;\n(function (Callback) {\n Callback[\"onBlur\"] = \"onBlur\";\n Callback[\"onChange\"] = \"onChange\";\n Callback[\"onChangePage\"] = \"onChangePage\";\n Callback[\"onClick\"] = \"onClick\";\n Callback[\"onClose\"] = \"onClose\";\n Callback[\"onDblClick\"] = \"onDblClick\";\n Callback[\"onFocus\"] = \"onFocus\";\n Callback[\"onInput\"] = \"onInput\";\n Callback[\"onKeyDown\"] = \"onKeyDown\";\n Callback[\"onKeyPress\"] = \"onKeyPress\";\n Callback[\"onKeyUp\"] = \"onKeyUp\";\n Callback[\"onMouseDown\"] = \"onMouseDown\";\n Callback[\"onMouseMove\"] = \"onMouseMove\";\n Callback[\"onMouseOut\"] = \"onMouseOut\";\n Callback[\"onMouseOver\"] = \"onMouseOver\";\n Callback[\"onMouseUp\"] = \"onMouseUp\";\n Callback[\"onReset\"] = \"onReset\";\n Callback[\"onSelect\"] = \"onSelect\";\n Callback[\"onSelectionChange\"] = \"onSelectionChange\";\n Callback[\"onChangePageSize\"] = \"onChangePageSize\";\n Callback[\"onSort\"] = \"onSort\";\n Callback[\"onSubmit\"] = \"onSubmit\";\n Callback[\"onToggle\"] = \"onToggle\";\n})(Callback || (Callback = {}));\n\nvar KeyboardKey;\n(function (KeyboardKey) {\n KeyboardKey[\"ArrowDown\"] = \"ArrowDown\";\n KeyboardKey[\"ArrowLeft\"] = \"ArrowLeft\";\n KeyboardKey[\"ArrowRight\"] = \"ArrowRight\";\n KeyboardKey[\"ArrowUp\"] = \"ArrowUp\";\n KeyboardKey[\"Enter\"] = \"Enter\";\n KeyboardKey[\"Space\"] = \" \";\n})(KeyboardKey || (KeyboardKey = {}));\n\nexport { Callback as C, KeyboardKey as K };\n//# sourceMappingURL=keyboard-D6PoWr38.js.map\n\n//# sourceMappingURL=keyboard-D6PoWr38.js.map"],"names":["Callback","KeyboardKey"],"mappings":"AAGG,IAACA,GACH,SAAUA,EAAU,CACjBA,EAAS,OAAY,SACrBA,EAAS,SAAc,WACvBA,EAAS,aAAkB,eAC3BA,EAAS,QAAa,UACtBA,EAAS,QAAa,UACtBA,EAAS,WAAgB,aACzBA,EAAS,QAAa,UACtBA,EAAS,QAAa,UACtBA,EAAS,UAAe,YACxBA,EAAS,WAAgB,aACzBA,EAAS,QAAa,UACtBA,EAAS,YAAiB,cAC1BA,EAAS,YAAiB,cAC1BA,EAAS,WAAgB,aACzBA,EAAS,YAAiB,cAC1BA,EAAS,UAAe,YACxBA,EAAS,QAAa,UACtBA,EAAS,SAAc,WACvBA,EAAS,kBAAuB,oBAChCA,EAAS,iBAAsB,mBAC/BA,EAAS,OAAY,SACrBA,EAAS,SAAc,WACvBA,EAAS,SAAc,UAC3B,GAAGA,IAAaA,EAAW,CAAA,EAAG,EAE3B,IAACC,GACH,SAAUA,EAAa,CACpBA,EAAY,UAAe,YAC3BA,EAAY,UAAe,YAC3BA,EAAY,WAAgB,aAC5BA,EAAY,QAAa,UACzBA,EAAY,MAAW,QACvBA,EAAY,MAAW,GAC3B,GAAGA,IAAgBA,EAAc,CAAA,EAAG"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,K as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const l=`/*
|
|
1
|
+
import{r as t,h as n,K as o,H as i}from"./index-B7VtF6vh.js";import{v as a}from"./label-Dnmzb2S_-Cdyj_kq1.js";const l=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -163,13 +161,15 @@ import{r as t,h as n,K as i,H as o}from"./index-mMJ_1Otm.js";import{v as a}from"
|
|
|
163
161
|
}
|
|
164
162
|
.kol-span {
|
|
165
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
166
|
-
display:
|
|
167
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
169
169
|
}
|
|
170
170
|
.kol-span__container {
|
|
171
171
|
display: flex;
|
|
172
|
-
|
|
172
|
+
align-items: center;
|
|
173
173
|
}
|
|
174
174
|
a,
|
|
175
175
|
button {
|
|
@@ -198,18 +198,11 @@ import{r as t,h as n,K as i,H as o}from"./index-mMJ_1Otm.js";import{v as a}from"
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
@layer kol-component {
|
|
201
|
-
@keyframes fadeInOpacity {
|
|
202
|
-
0% {
|
|
203
|
-
opacity: 0;
|
|
204
|
-
}
|
|
205
|
-
100% {
|
|
206
|
-
opacity: 1;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
201
|
.kol-tooltip {
|
|
210
202
|
display: contents;
|
|
211
203
|
}
|
|
212
204
|
.kol-tooltip__floating {
|
|
205
|
+
opacity: 0;
|
|
213
206
|
display: none;
|
|
214
207
|
position: fixed;
|
|
215
208
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
@@ -220,12 +213,19 @@ import{r as t,h as n,K as i,H as o}from"./index-mMJ_1Otm.js";import{v as a}from"
|
|
|
220
213
|
min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
221
214
|
max-width: 90vw;
|
|
222
215
|
max-height: 90vh;
|
|
223
|
-
|
|
224
|
-
animation
|
|
216
|
+
animation-direction: normal;
|
|
217
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
218
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
219
|
+
animation-fill-mode: forwards;
|
|
225
220
|
animation-iteration-count: 1;
|
|
226
|
-
animation-name: fadeInOpacity;
|
|
227
221
|
animation-timing-function: ease-in;
|
|
228
222
|
}
|
|
223
|
+
.kol-tooltip__floating.hide {
|
|
224
|
+
animation-name: hideTooltip;
|
|
225
|
+
}
|
|
226
|
+
.kol-tooltip__floating.show {
|
|
227
|
+
animation-name: showTooltip;
|
|
228
|
+
}
|
|
229
229
|
.kol-tooltip__arrow {
|
|
230
230
|
transform: rotate(45deg);
|
|
231
231
|
color: #000;
|
|
@@ -241,5 +241,22 @@ import{r as t,h as n,K as i,H as o}from"./index-mMJ_1Otm.js";import{v as a}from"
|
|
|
241
241
|
position: relative;
|
|
242
242
|
z-index: 1000;
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
@keyframes hideTooltip {
|
|
245
|
+
0% {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
100% {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
@keyframes showTooltip {
|
|
254
|
+
0% {
|
|
255
|
+
opacity: 0;
|
|
256
|
+
}
|
|
257
|
+
100% {
|
|
258
|
+
opacity: 1;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}`,r=class{constructor(e){t(this,e),this.state={_label:""}}render(){return n(i,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},n("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},n("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?n(o,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(e){a(this,e)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};r.style={default:l};export{r as kol_abbr};
|
|
262
|
+
//# sourceMappingURL=kol-abbr.entry-Rj_uSGh3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-abbr.entry-DfO2QBHy.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-cjpLH5FK.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAAA;AAAA;AAAA,GAQA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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,SAAU,KAAK,MAAM,OAAS,EAAI,MAAS,EAAIA,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,EAAG,KAAK,MAAM,OAASA,EAAEE,EAAiB,CAAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
1
|
+
{"version":3,"file":"kol-abbr.entry-Rj_uSGh3.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-tZ4BZtrY.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Dd0zJQbD.js';\nimport { v as validateLabel } from './label-Dnmzb2S_.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip__floating.show {\\n animation-name: showTooltip;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAQA,MAAMA,EAAkB;AAAA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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAU,KAAM,CAClB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,UAAU,EAAID,EAAE,OAAQ,CAAE,IAAK,2CAA4C,SAAU,KAAK,MAAM,OAAS,EAAI,MAAS,EAAIA,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,EAAG,KAAK,MAAM,OAASA,EAAEE,EAAiB,CAAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const y=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},w=`/*
|
|
1
|
+
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-B7VtF6vh.js";import{K as m}from"./Collapsible-CYivy6zV-BOX8VHAn.js";import{v as b}from"./disabled-BhpAFgSp-BoKnH5Lj.js";import{v as f}from"./label-Dnmzb2S_-Cdyj_kq1.js";import{v as u}from"./open-CbvHO4XG-C4qNZN5K.js";import{n as g}from"./dev.utils-JixUzvyB-di5gZcih.js";import{w as v}from"./validation-aqgnZOL6-CHFQ0FwF.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./clsx-eK3rPvPS-B-dksMZM.js";import"./Heading-C10swMyu-CfCZk-GX.js";const y=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},w=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -163,13 +161,15 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-mMJ_1Otm.js";import{K
|
|
|
163
161
|
}
|
|
164
162
|
.kol-span {
|
|
165
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
166
|
-
display:
|
|
167
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
169
169
|
}
|
|
170
170
|
.kol-span__container {
|
|
171
171
|
display: flex;
|
|
172
|
-
|
|
172
|
+
align-items: center;
|
|
173
173
|
}
|
|
174
174
|
a,
|
|
175
175
|
button {
|
|
@@ -204,18 +204,14 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-mMJ_1Otm.js";import{K
|
|
|
204
204
|
}
|
|
205
205
|
/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */
|
|
206
206
|
@layer kol-component {
|
|
207
|
-
.collapsible {
|
|
208
|
-
/* @see https://github.com/public-ui/kolibri/issues/5952 */
|
|
209
|
-
/*
|
|
210
|
-
* Inside a button, the caption text is always centered.
|
|
211
|
-
* So we have to align the text to the left.
|
|
212
|
-
*/
|
|
213
|
-
}
|
|
214
207
|
@media (prefers-reduced-motion) {
|
|
215
208
|
.collapsible__wrapper-animation, .collapsible__wrapper {
|
|
216
209
|
transition-duration: 0s;
|
|
217
210
|
}
|
|
218
211
|
}
|
|
212
|
+
.collapsible {
|
|
213
|
+
/* @see https://github.com/public-ui/kolibri/issues/5952 */
|
|
214
|
+
}
|
|
219
215
|
@media print {
|
|
220
216
|
:not(.collapsible--open) .collapsible__wrapper-animation {
|
|
221
217
|
display: none;
|
|
@@ -229,29 +225,38 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-mMJ_1Otm.js";import{K
|
|
|
229
225
|
transition: grid-template-rows 0.3s;
|
|
230
226
|
}
|
|
231
227
|
.collapsible__wrapper-animation {
|
|
228
|
+
opacity: 0;
|
|
229
|
+
transform: scaleY(0);
|
|
230
|
+
transform-origin: top;
|
|
232
231
|
min-height: 0;
|
|
233
|
-
/**
|
|
234
|
-
* The \`overflow: hidden\` ensures that the content is not visible during the animated
|
|
235
|
-
* opening and closing. This should also cut off overlays containing content, but it
|
|
236
|
-
*does not.
|
|
237
|
-
*/
|
|
238
|
-
overflow: hidden;
|
|
239
232
|
/* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */
|
|
240
233
|
visibility: hidden;
|
|
241
|
-
transition: visibility 0.3s;
|
|
234
|
+
transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
|
|
242
235
|
}
|
|
243
236
|
.collapsible--open .collapsible__wrapper {
|
|
244
237
|
grid-template-rows: 1fr;
|
|
245
238
|
}
|
|
246
239
|
.collapsible--open .collapsible__wrapper-animation {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
transform: scaleY(1);
|
|
247
242
|
visibility: visible;
|
|
248
243
|
}
|
|
244
|
+
.collapsible {
|
|
245
|
+
/*
|
|
246
|
+
* Inside a button, the caption text is always centered.
|
|
247
|
+
* So we have to align the text to the left.
|
|
248
|
+
*/
|
|
249
|
+
}
|
|
249
250
|
.collapsible__heading-button button .kol-span {
|
|
250
|
-
|
|
251
|
+
align-items: flex-start;
|
|
252
|
+
}
|
|
253
|
+
.collapsible--open:focus-within {
|
|
254
|
+
position: relative;
|
|
255
|
+
z-index: 100;
|
|
251
256
|
}
|
|
252
257
|
}`;l(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.
|
|
253
258
|
|
|
254
259
|
- onClick auf der KolAccordion anwenden
|
|
255
260
|
- Click-Event prüft den _open-Status der Accordions
|
|
256
|
-
- Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=g(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,o;(o=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||o===void 0||o.call(e,t,this._open===!0),this.host&&d(this.host,c.click,this._open===!0)})},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:o}=this.state,i="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:e,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return a(m,Object.assign({key:"750cf0bb226ec5139c7098bd44e2a64546888a32"},s),a("slot",{key:"08908025b6753ebe36defc6e2d210736eabff629"}))}validateDisabled(n){b(this,n)}validateLabel(n){
|
|
257
|
-
//# sourceMappingURL=kol-accordion.entry-
|
|
261
|
+
- Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=g(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,o;(o=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||o===void 0||o.call(e,t,this._open===!0),this.host&&d(this.host,c.click,this._open===!0)})},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:o}=this.state,i="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:e,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return a(m,Object.assign({key:"750cf0bb226ec5139c7098bd44e2a64546888a32"},s),a("slot",{key:"08908025b6753ebe36defc6e2d210736eabff629"}))}validateDisabled(n){b(this,n)}validateLabel(n){f(this,n,{required:!0})}validateLevel(n){v(this,n)}validateOn(n){y(this,n)}validateOpen(n){u(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return h(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};_.style={default:w};export{_ as kol_accordion};
|
|
262
|
+
//# sourceMappingURL=kol-accordion.entry-DJ3RYTNJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-accordion.entry-DJ3RYTNJ.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-tZ4BZtrY.js';\nimport { K as KolCollapsibleFc } from './Collapsible-CYivy6zV.js';\nimport { w as watchValidator, f as featureHint } from './common-Dd0zJQbD.js';\nimport { v as validateDisabled } from './disabled-BhpAFgSp.js';\nimport { v as validateLabel } from './label-Dnmzb2S_.js';\nimport { v as validateOpen } from './open-CbvHO4XG.js';\nimport { n as nonce } from './dev.utils-JixUzvyB.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport { w as watchHeadingLevel } from './validation-aqgnZOL6.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './Heading-C10swMyu.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n }\\n @media print {\\n :not(.collapsible--open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n opacity: 0;\\n transform: scaleY(0);\\n transform-origin: top;\\n min-height: 0;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: transform 0.3s, opacity 0.3s, visibility 0.3s;\\n }\\n .collapsible--open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .collapsible--open .collapsible__wrapper-animation {\\n opacity: 1;\\n transform: scaleY(1);\\n visibility: visible;\\n }\\n .collapsible {\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n .collapsible__heading-button button .kol-span {\\n align-items: flex-start;\\n }\\n .collapsible--open:focus-within {\\n position: relative;\\n z-index: 100;\\n }\\n}\";\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.click, this._open === true);\n }\n });\n };\n this._disabled = false;\n this._level = 0;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'kol-accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: '750cf0bb226ec5139c7098bd44e2a64546888a32' }, props), h(\"slot\", { key: '08908025b6753ebe36defc6e2d210736eabff629' })));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: defaultStyleCss\n};\n\nexport { KolAccordion as kol_accordion };\n//# sourceMappingURL=kol-accordion.entry.js.map\n"],"names":["validateAccordionCallbacks","component","value","watchValidator","defaultStyleCss","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"mfAiBA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAU,OAAOA,GAAU,UAAYA,IAAU,KAAM,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAC5J,EAEME,EAAkB;AAAA;AAAA;AAAA;AAAA;A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ag7m4LxQ.js";import{v as b}from"./has-closer-CQzjaTkv-77fIFRh2.js";import{v as C}from"./label-Dnmzb2S_-Cdyj_kq1.js";import{w as u}from"./validation-aqgnZOL6-CHFQ0FwF.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./i18n-C5ifExT3-DbkujNMR.js";import"./clsx-eK3rPvPS-B-dksMZM.js";import"./Heading-C10swMyu-CfCZk-GX.js";const i=["default","info","success","warning","error"],A=t=>typeof t=="string"&&i.includes(t),g=(t,e)=>{l(t,"_type",A,new Set(i),e)},o=["card","msg"],w=t=>typeof t=="string"&&o.includes(t),T=(t,e)=>{l(t,"_variant",w,new Set(o),e)},P=class{constructor(t){v(this,t),this.close=()=>{var e,a;(a=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||a===void 0||a.call(e,new Event("Close")),this.host&&c(this.host,p.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0},this.validateOnValue=e=>typeof e=="object"&&e!==null&&typeof e.onClose=="function"}render(){const{_alert:t,_hasCloser:e,_label:a,_level:r,_type:n,_variant:h}=this.state,d={alert:t,hasCloser:e,label:a,level:r,type:n,variant:h,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return s(y,Object.assign({key:"5db3514131f644ab76a9bddc438cdf0af412e6e8"},d),s("slot",{key:"61ef793542ae680a090596e44fcb98b9f4e55708"}))}validateAlert(t){_(this,"_alert",t)}validateHasCloser(t){b(this,t)}validateLabel(t){C(this,t)}validateLevel(t){u(this,t)}validateOn(t){this.validateOnValue(t)&&f(this,"_on",{onClose:t.onClose})}validateType(t){g(this,t)}validateVariant(t){T(this,t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}get host(){return m(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{P as kol_alert_wc};
|
|
2
|
+
//# sourceMappingURL=kol-alert-wc.entry-DJ6v9ZTT.js.map
|
package/dist/assets/{kol-alert-wc.entry-KQGdJQ7K.js.map → kol-alert-wc.entry-DJ6v9ZTT.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-alert-wc.entry-DJ6v9ZTT.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-tZ4BZtrY.js';\nimport { K as KolAlertFc } from './Alert-DQ2Dvx1k.js';\nimport { w as watchValidator, d as watchBoolean, s as setState } from './common-Dd0zJQbD.js';\nimport { v as validateHasCloser } from './has-closer-CQzjaTkv.js';\nimport { v as validateLabel } from './label-Dnmzb2S_.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport { w as watchHeadingLevel } from './validation-aqgnZOL6.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-C5ifExT3.js';\nimport './i18n-ZF6JbdVP.js';\nimport './bem-C27SfH6w.js';\nimport './browser-DiRe0qUf.js';\nimport './Heading-C10swMyu.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst isAlertTypePropType = (value) => {\n return typeof value === 'string' && alertTypeOptions.includes(value);\n};\nconst validateAlertType = (component, value) => {\n watchValidator(component, '_type', isAlertTypePropType, new Set(alertTypeOptions), value);\n};\n\nconst alertVariantOptions = ['card', 'msg'];\nconst isAlertVariantPropType = (value) => {\n return typeof value === 'string' && alertVariantOptions.includes(value);\n};\nconst validateAlertVariant = (component, value) => {\n watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);\n};\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(KolAlertFc, Object.assign({ key: '5db3514131f644ab76a9bddc438cdf0af412e6e8' }, props), h(\"slot\", { key: '61ef793542ae680a090596e44fcb98b9f4e55708' })));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n validateAlertType(this, value);\n }\n validateVariant(value) {\n validateAlertVariant(this, value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n//# sourceMappingURL=kol-alert-wc.entry.js.map\n"],"names":["alertTypeOptions","isAlertTypePropType","value","validateAlertType","component","watchValidator","alertVariantOptions","isAlertVariantPropType","validateAlertVariant","KolAlertWc","hostRef","registerInstance","_a","_b","dispatchDomEvent","KolEvent","_alert","_hasCloser","_label","_level","_type","_variant","props","h","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","getElement"],"mappings":"+bAmBA,MAAMA,EAAmB,CAAC,UAAW,OAAQ,UAAW,UAAW,OAAO,EACpEC,EAAuBC,GAClB,OAAOA,GAAU,UAAYF,EAAiB,SAASE,CAAK,EAEjEC,EAAoB,CAACC,EAAWF,IAAU,CAC5CG,EAAeD,EAAW,QAASH,EAAqB,IAAI,IAAID,CAAgB,EAAGE,CAAK,CAC5F,EAEMI,EAAsB,CAAC,OAAQ,KAAK,EACpCC,EAA0BL,GACrB,OAAOA,GAAU,UAAYI,EAAoB,SAASJ,CAAK,EAEpEM,EAAuB,CAACJ,EAAWF,IAAU,CAC/CG,EAAeD,EAAW,WAAYG,EAAwB,IAAI,IAAID,CAAmB,EAAGJ,CAAK,CACrG,EAEMO,EAAa,KAAM,CACrB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,IAAM,CACf,IAAIE,EAAIC,GACPA,GAAMD,EAAK,KAAK,OAAS,MAAQA,IAAO,OAAS,OAASA,EAAG,WAAa,MAAQC,IAAO,QAAkBA,EAAG,KAAKD,EAAI,IAAI,MAAM,OAAO,CAAC,EACtI,KAAK,MACLE,EAAiB,KAAK,KAAMC,EAAS,KAAK,CAElD,EACA,KAAK,mBAAqB,IAAM,CAC5B,KAAK,cAAc,EAAK,CAC5B,EACA,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,E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,CAAE,OAAO4B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,WAAc,CAAC,mBAAmB,EAClC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,EACxB,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,b as o}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const i=`/*
|
|
1
|
+
import{r as t,h as n,b as o}from"./index-B7VtF6vh.js";const i=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -163,13 +161,15 @@ import{r as t,h as n,b as o}from"./index-mMJ_1Otm.js";/*!
|
|
|
163
161
|
}
|
|
164
162
|
.kol-span {
|
|
165
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
166
|
-
display:
|
|
167
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
169
169
|
}
|
|
170
170
|
.kol-span__container {
|
|
171
171
|
display: flex;
|
|
172
|
-
|
|
172
|
+
align-items: center;
|
|
173
173
|
}
|
|
174
174
|
a,
|
|
175
175
|
button {
|
|
@@ -203,18 +203,11 @@ import{r as t,h as n,b as o}from"./index-mMJ_1Otm.js";/*!
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
@layer kol-component {
|
|
206
|
-
@keyframes fadeInOpacity {
|
|
207
|
-
0% {
|
|
208
|
-
opacity: 0;
|
|
209
|
-
}
|
|
210
|
-
100% {
|
|
211
|
-
opacity: 1;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
206
|
.kol-tooltip {
|
|
215
207
|
display: contents;
|
|
216
208
|
}
|
|
217
209
|
.kol-tooltip__floating {
|
|
210
|
+
opacity: 0;
|
|
218
211
|
display: none;
|
|
219
212
|
position: fixed;
|
|
220
213
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
@@ -225,12 +218,19 @@ import{r as t,h as n,b as o}from"./index-mMJ_1Otm.js";/*!
|
|
|
225
218
|
min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
226
219
|
max-width: 90vw;
|
|
227
220
|
max-height: 90vh;
|
|
228
|
-
|
|
229
|
-
animation
|
|
221
|
+
animation-direction: normal;
|
|
222
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
223
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
224
|
+
animation-fill-mode: forwards;
|
|
230
225
|
animation-iteration-count: 1;
|
|
231
|
-
animation-name: fadeInOpacity;
|
|
232
226
|
animation-timing-function: ease-in;
|
|
233
227
|
}
|
|
228
|
+
.kol-tooltip__floating.hide {
|
|
229
|
+
animation-name: hideTooltip;
|
|
230
|
+
}
|
|
231
|
+
.kol-tooltip__floating.show {
|
|
232
|
+
animation-name: showTooltip;
|
|
233
|
+
}
|
|
234
234
|
.kol-tooltip__arrow {
|
|
235
235
|
transform: rotate(45deg);
|
|
236
236
|
color: #000;
|
|
@@ -246,6 +246,23 @@ import{r as t,h as n,b as o}from"./index-mMJ_1Otm.js";/*!
|
|
|
246
246
|
position: relative;
|
|
247
247
|
z-index: 1000;
|
|
248
248
|
}
|
|
249
|
+
@keyframes hideTooltip {
|
|
250
|
+
0% {
|
|
251
|
+
opacity: 1;
|
|
252
|
+
}
|
|
253
|
+
100% {
|
|
254
|
+
opacity: 0;
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
@keyframes showTooltip {
|
|
259
|
+
0% {
|
|
260
|
+
opacity: 0;
|
|
261
|
+
}
|
|
262
|
+
100% {
|
|
263
|
+
opacity: 1;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
249
266
|
}
|
|
250
267
|
@layer kol-component {
|
|
251
268
|
.kol-alert {
|
|
@@ -263,4 +280,4 @@ import{r as t,h as n,b as o}from"./index-mMJ_1Otm.js";/*!
|
|
|
263
280
|
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
264
281
|
}
|
|
265
282
|
}`,l=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return n(o,{key:"bf51c76e2d6568eea0d1a0c3047da6987aa249d8",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},n("slot",{key:"b754666af76f0fcbb15ffeaa4d11b2f61d93abc4"}))}};l.style={default:i};export{l as kol_alert};
|
|
266
|
-
//# sourceMappingURL=kol-alert.entry-
|
|
283
|
+
//# sourceMappingURL=kol-alert.entry-B5576s7m.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert.entry-Esb0QJ1q.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-cjpLH5FK.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'bf51c76e2d6568eea0d1a0c3047da6987aa249d8', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'b754666af76f0fcbb15ffeaa4d11b2f61d93abc4' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defa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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
1
|
+
{"version":3,"file":"kol-alert.entry-B5576s7m.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-tZ4BZtrY.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Dd0zJQbD.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip__floating.show {\\n animation-name: showTooltip;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'bf51c76e2d6568eea0d1a0c3047da6987aa249d8', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'b754666af76f0fcbb15ffeaa4d11b2f61d93abc4' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defaultStyleCss","KolAlert","hostRef","registerInstance","h","KolAlertWcTag"],"mappings":"sDAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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ACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,h as o}from"./index-B7VtF6vh.js";import{h as i,v as d}from"./color-BOIEtqEM-HbuRyAx_.js";import{v as c}from"./image-source-BfBEJ0rX-D9D_HGWp.js";import{v as h}from"./label-Dnmzb2S_-Cdyj_kq1.js";import{t as n}from"./i18n-C5ifExT3-DbkujNMR.js";const l=t=>t.length===0?"":t[0].toUpperCase(),b=t=>{const a=t.split(/\s+/),r=a[0],e=a[a.length-1];return a.length>=2&&r&&e?`${l(r)}${l(e)}`:l(t)},C=class{constructor(t){s(this,t),this.bgColorStr="#d3d3d3",this.colorStr="#000",this.handleColorChange=a=>{const r=i(a);this.bgColorStr=r.backgroundColor,this.colorStr=r.foregroundColor},this._color="#d3d3d3",this.state={_src:"",_label:"",_color:{backgroundColor:"#d3d3d3",foregroundColor:"#000"}}}render(){return o("div",{key:"04d0b5653648f532391c0b8f611ef3bd7d4e8bbf","aria-label":n("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img",style:{backgroundColor:this.bgColorStr,color:this.colorStr}},this.state._src?o("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):o("span",{"aria-hidden":"true",class:"kol-avatar__initials"},b(this.state._label.trim())))}validateColor(t){d(this,t,{defaultValue:"#d3d3d3",hooks:{beforePatch:this.handleColorChange}})}validateSrc(t){c(this,t)}validateLabel(t){h(this,t,{required:!0})}componentWillLoad(){this.validateColor(this._color),this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_color:["validateColor"],_src:["validateSrc"],_label:["validateLabel"]}}};export{C as kol_avatar_wc};
|
|
2
|
+
//# sourceMappingURL=kol-avatar-wc.entry-DXhvK3Kl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-avatar-wc.entry-DXhvK3Kl.js","sources":["../../../../components/dist/esm/kol-avatar-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-tZ4BZtrY.js';\nimport './common-Dd0zJQbD.js';\nimport { h as handleColorChange, v as validateColor } from './color-BOIEtqEM.js';\nimport { v as validateImageSource } from './image-source-BfBEJ0rX.js';\nimport { v as validateLabel } from './label-Dnmzb2S_.js';\nimport { t as translate } from './i18n-C5ifExT3.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst formatNameAsInitial = (name) => {\n if (name.length === 0) {\n return '';\n }\n return name[0].toUpperCase();\n};\nconst formatLabelAsInitials = (label) => {\n const names = label.split(/\\s+/);\n const first = names[0];\n const last = names[names.length - 1];\n if (names.length >= 2 && first && last) {\n return `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n }\n return formatNameAsInitial(label);\n};\n\nconst KolAvatarWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bgColorStr = '#d3d3d3';\n this.colorStr = '#000';\n this.handleColorChange = (value) => {\n const colorPair = handleColorChange(value);\n this.bgColorStr = colorPair.backgroundColor;\n this.colorStr = colorPair.foregroundColor;\n };\n this._color = '#d3d3d3';\n this.state = {\n _src: '',\n _label: '',\n _color: {\n backgroundColor: '#d3d3d3',\n foregroundColor: '#000',\n },\n };\n }\n render() {\n return (h(\"div\", { key: '04d0b5653648f532391c0b8f611ef3bd7d4e8bbf', \"aria-label\": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: \"kol-avatar\", role: \"img\", style: {\n backgroundColor: this.bgColorStr,\n color: this.colorStr,\n } }, this.state._src ? (h(\"img\", { alt: \"\", \"aria-hidden\": \"true\", class: \"kol-avatar__image\", src: this.state._src })) : (h(\"span\", { \"aria-hidden\": \"true\", class: \"kol-avatar__initials\" }, formatLabelAsInitials(this.state._label.trim())))));\n }\n validateColor(value) {\n validateColor(this, value, {\n defaultValue: '#d3d3d3',\n hooks: {\n beforePatch: this.handleColorChange,\n },\n });\n }\n validateSrc(value) {\n validateImageSource(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n componentWillLoad() {\n this.validateColor(this._color);\n this.validateSrc(this._src);\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_color\": [\"validateColor\"],\n \"_src\": [\"validateSrc\"],\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolAvatarWc as kol_avatar_wc };\n//# sourceMappingURL=kol-avatar-wc.entry.js.map\n"],"names":["formatNameAsInitial","name","formatLabelAsInitials","label","names","first","last","KolAvatarWc","hostRef","registerInstance","value","colorPair","handleColorChange","h","translate","validateColor","validateImageSource","validateLabel"],"mappings":"gQAWA,MAAMA,EAAuBC,GACrBA,EAAK,SAAW,EACT,GAEJA,EAAK,CAAC,EAAE,YAAW,EAExBC,EAAyBC,GAAU,CACrC,MAAMC,EAAQD,EAAM,MAAM,KAAK,EACzBE,EAAQD,EAAM,CAAC,EACfE,EAAOF,EAAMA,EAAM,OAAS,CAAC,EACnC,OAAIA,EAAM,QAAU,GAAKC,GAASC,EACvB,GAAGN,EAAoBK,CAAK,CAAC,GAAGL,EAAoBM,CAAI,CAAC,GAE7DN,EAAoBG,CAAK,CACpC,EAEMI,EAAc,KAAM,CACtB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,WAAa,UAClB,KAAK,SAAW,OAChB,KAAK,kBAAqBE,GAAU,CAChC,MAAMC,EAAYC,EAAkBF,CAAK,EACzC,KAAK,WAAaC,EAAU,gBAC5B,KAAK,SAAWA,EAAU,eAC9B,EACA,KAAK,OAAS,UACd,KAAK,M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