@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
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as i,h as t,l as a,H as l,s,d as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const u=`/*
|
|
1
|
+
import{r as i,h as t,l as a,H as l,s as r,d as s,a as d,g as h}from"./index-B7VtF6vh.js";import{c}from"./clsx-eK3rPvPS-B-dksMZM.js";import{v as p}from"./align-D-ifSKu8-XG8WTj3C.js";import{v as m}from"./has-closer-CQzjaTkv-77fIFRh2.js";import{v as f}from"./label-Dnmzb2S_-Cdyj_kq1.js";import{v as b}from"./open-CbvHO4XG-C4qNZN5K.js";import{h as g}from"./tooltip-open-tracking-rBbBgPWP-DRkgcff2.js";const u=`/*
|
|
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 i,h as t,l as a,H as l,s,d as r,a as d,g as h}from"./index-mMJ_1Otm.
|
|
|
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 i,h as t,l as a,H as l,s,d as r,a as d,g as h}from"./index-mMJ_1Otm.
|
|
|
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 i,h as t,l as a,H as l,s,d as r,a as d,g as h}from"./index-mMJ_1Otm.
|
|
|
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,18 +241,46 @@ import{r as i,h as t,l as a,H as l,s,d as r,a as d,g as h}from"./index-mMJ_1Otm.
|
|
|
241
241
|
position: relative;
|
|
242
242
|
z-index: 1000;
|
|
243
243
|
}
|
|
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
|
+
}
|
|
244
261
|
}
|
|
245
262
|
@layer kol-component {
|
|
246
263
|
.kol-card {
|
|
247
264
|
/* Visible with forced colors */
|
|
248
265
|
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
249
|
-
|
|
266
|
+
display: grid;
|
|
250
267
|
height: 100%;
|
|
268
|
+
overflow: visible;
|
|
269
|
+
gap: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
270
|
+
grid-template-areas: "header close" "content content";
|
|
271
|
+
grid-template-columns: 1fr min-content;
|
|
272
|
+
grid-template-rows: min-content 1fr;
|
|
273
|
+
}
|
|
274
|
+
.kol-card__header {
|
|
275
|
+
align-self: start;
|
|
276
|
+
grid-area: header;
|
|
277
|
+
}
|
|
278
|
+
.kol-card__content {
|
|
279
|
+
align-self: stretch;
|
|
280
|
+
grid-area: content;
|
|
251
281
|
}
|
|
252
282
|
.kol-card__close-button {
|
|
253
|
-
|
|
254
|
-
top: 0;
|
|
255
|
-
right: 0;
|
|
283
|
+
grid-area: close;
|
|
256
284
|
}
|
|
257
285
|
.kol-drawer__dialog {
|
|
258
286
|
padding: 0;
|
|
@@ -293,5 +321,5 @@ import{r as i,h as t,l as a,H as l,s,d as r,a as d,g as h}from"./index-mMJ_1Otm.
|
|
|
293
321
|
.kol-drawer__content {
|
|
294
322
|
position: relative;
|
|
295
323
|
}
|
|
296
|
-
}`,w=class{constructor(n){i(this,n),this.getWrapperRef=e=>this.dialogWrapperElement=e,this.getRef=e=>{this.dialogElement=e,setTimeout(()=>{this.openOrCloseBasedOnState()})},this._hasCloser=!1,this.state={_label:"",_open:!1,_align:"left"}}async open(){var n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),(n=this.dialogElement)===null||n===void 0||n.showModal()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const n=this.dialogWrapperElement;if(!n)return;window.getComputedStyle(n).animationName==="none"&&this.handleCloseDialog()}renderDialogContent(){const n=this.state._align;return t(a,{ref:this.getWrapperRef,class:c("kol-drawer__wrapper",`kol-drawer__wrapper--${n}`,{"kol-drawer__wrapper--open":this.state._open,"kol-drawer__wrapper--is-closing":this.state._open===!1}),_label:this.state._label,_hasCloser:this.state._hasCloser,_on:{onClose:()=>{this.close()}}},t("div",{class:"kol-drawer__content"},t("slot",null)))}render(){return t(l,{key:"
|
|
297
|
-
//# sourceMappingURL=kol-drawer.entry-
|
|
324
|
+
}`,w=class{constructor(n){i(this,n),this.getWrapperRef=e=>this.dialogWrapperElement=e,this.getRef=e=>{this.dialogElement=e,setTimeout(()=>{this.openOrCloseBasedOnState()})},this._hasCloser=!1,this.state={_label:"",_open:!1,_align:"left"}}async open(){var n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),(n=this.dialogElement)===null||n===void 0||n.showModal()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const n=this.dialogWrapperElement;if(!n)return;window.getComputedStyle(n).animationName==="none"&&this.handleCloseDialog()}renderDialogContent(){const n=this.state._align;return t(a,{ref:this.getWrapperRef,class:c("kol-drawer__wrapper",`kol-drawer__wrapper--${n}`,{"kol-drawer__wrapper--open":this.state._open,"kol-drawer__wrapper--is-closing":this.state._open===!1}),_label:this.state._label,_hasCloser:this.state._hasCloser,_on:{onClose:()=>{this.close()}}},t("div",{class:"kol-drawer__content"},t("slot",null)))}render(){return t(l,{key:"48deffbc981b1796cd881d8efe1e2410b39e08aa",class:"kol-drawer"},t("dialog",{key:"e63e6c9cb356b9ecb7a1ed87b5f82ef062335698","aria-label":this.state._label,class:"kol-drawer__dialog",onCancel:g,ref:this.getRef},this.renderDialogContent()))}validateLabel(n){f(this,n,{required:!0})}validateAlign(n){p(this,n)}validateHasCloser(n){m(this,n)}validateOpen(n){typeof n=="boolean"&&(b(this,n),this.dialogElement&&this.openOrCloseBasedOnState())}async openOrCloseBasedOnState(){this.state._open?await this.open():await this.close()}validateOn(n){if(typeof n=="object"&&n!==null){const e={};typeof n.onClose=="function"&&(e.onClose=n.onClose),r(this,"_on",e)}}handleCloseDialog(){var n,e,o;(n=this.dialogElement)===null||n===void 0||n.close(),(o=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||o===void 0||o.call(e),this.host&&s(this.host,d.close)}handleClose(){(async()=>(await this.close(),this.handleCloseDialog()))()}handleAnimationEnd(n){n.animationName.includes("slideOut")&&this.handleCloseDialog()}componentDidLoad(){var n,e;(n=this.dialogElement)===null||n===void 0||n.addEventListener("animationend",this.handleAnimationEnd.bind(this)),(e=this.dialogElement)===null||e===void 0||e.addEventListener("close",this.handleClose.bind(this))}disconnectedCallback(){var n,e;(n=this.dialogElement)===null||n===void 0||n.removeEventListener("animationend",this.handleAnimationEnd.bind(this)),(e=this.dialogElement)===null||e===void 0||e.removeEventListener("close",this.handleClose.bind(this))}componentWillLoad(){this.validateLabel(this._label),this.validateOpen(this._open),this.validateAlign(this._align),this.validateHasCloser(this._hasCloser),this.validateOn(this._on)}get host(){return h(this)}static get watchers(){return{_label:["validateLabel"],_align:["validateAlign"],_hasCloser:["validateHasCloser"],_open:["validateOpen"],_on:["validateOn"]}}};w.style={default:u};export{w as kol_drawer};
|
|
325
|
+
//# sourceMappingURL=kol-drawer.entry-XUJXIPaP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-drawer.entry-XUJXIPaP.js","sources":["../../../../components/dist/esm/kol-drawer.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host, g as getElement } from './index-tZ4BZtrY.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { g as KolCardWcTag } from './component-names-CkE54Ym7.js';\nimport { s as setState } from './common-Dd0zJQbD.js';\nimport { v as validateAlign } from './align-D-ifSKu8.js';\nimport { v as validateHasCloser } from './has-closer-CQzjaTkv.js';\nimport { v as validateLabel } from './label-Dnmzb2S_.js';\nimport { v as validateOpen } from './open-CbvHO4XG.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport { h as handleCancelOverlay } from './tooltip-open-tracking-rBbBgPWP.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@layer kol-component {\\n .kol-card {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n display: grid;\\n height: 100%;\\n overflow: visible;\\n gap: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n grid-template-areas: \\\"header close\\\" \\\"content content\\\";\\n grid-template-columns: 1fr min-content;\\n grid-template-rows: min-content 1fr;\\n }\\n .kol-card__header {\\n align-self: start;\\n grid-area: header;\\n }\\n .kol-card__content {\\n align-self: stretch;\\n grid-area: content;\\n }\\n .kol-card__close-button {\\n grid-area: close;\\n }\\n .kol-drawer__dialog {\\n padding: 0;\\n border: none;\\n }\\n .kol-drawer__wrapper {\\n position: fixed;\\n overflow: auto;\\n }\\n .kol-drawer__wrapper--left, .kol-drawer__wrapper--right {\\n top: 0;\\n max-width: 100vw;\\n height: 100vh;\\n }\\n .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content {\\n height: 100%;\\n }\\n .kol-drawer__wrapper--left {\\n left: 0;\\n }\\n .kol-drawer__wrapper--right {\\n right: 0;\\n }\\n .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top {\\n left: 0;\\n width: 100vw;\\n max-height: 100vh;\\n }\\n .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content {\\n width: 100%;\\n }\\n .kol-drawer__wrapper--bottom {\\n bottom: 0;\\n }\\n .kol-drawer__wrapper--top {\\n top: 0;\\n }\\n .kol-drawer__content {\\n position: relative;\\n }\\n}\";\n\nconst KolDrawer = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.getWrapperRef = (el) => (this.dialogWrapperElement = el);\n this.getRef = (el) => {\n this.dialogElement = el;\n setTimeout(() => {\n void this.openOrCloseBasedOnState();\n });\n };\n this._hasCloser = false;\n this.state = {\n _label: '',\n _open: false,\n _align: 'left',\n };\n }\n async open() {\n var _a;\n this.state = Object.assign(Object.assign({}, this.state), { _open: true });\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.showModal();\n }\n async close() {\n this.state = Object.assign(Object.assign({}, this.state), { _open: false });\n const wrapper = this.dialogWrapperElement;\n if (!wrapper)\n return;\n const computedStyle = window.getComputedStyle(wrapper);\n if (computedStyle.animationName === 'none') {\n this.handleCloseDialog();\n }\n }\n renderDialogContent() {\n const align = this.state._align;\n return (h(KolCardWcTag, { ref: this.getWrapperRef, class: clsx(`kol-drawer__wrapper`, `kol-drawer__wrapper--${align}`, {\n 'kol-drawer__wrapper--open': this.state._open,\n 'kol-drawer__wrapper--is-closing': this.state._open === false,\n }), _label: this.state._label, _hasCloser: this.state._hasCloser, _on: {\n onClose: () => {\n void this.close();\n },\n } }, h(\"div\", { class: \"kol-drawer__content\" }, h(\"slot\", null))));\n }\n render() {\n return (h(Host, { key: '48deffbc981b1796cd881d8efe1e2410b39e08aa', class: \"kol-drawer\" }, h(\"dialog\", { key: 'e63e6c9cb356b9ecb7a1ed87b5f82ef062335698', \"aria-label\": this.state._label, class: \"kol-drawer__dialog\", onCancel: handleCancelOverlay, ref: this.getRef }, this.renderDialogContent())));\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateAlign(value) {\n validateAlign(this, value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateOpen(value) {\n if (typeof value === 'boolean') {\n validateOpen(this, value);\n if (this.dialogElement) {\n void this.openOrCloseBasedOnState();\n }\n }\n }\n async openOrCloseBasedOnState() {\n if (this.state._open) {\n await this.open();\n }\n else {\n await this.close();\n }\n }\n validateOn(value) {\n if (typeof value === 'object' && value !== null) {\n const callbacks = {};\n if (typeof value.onClose === 'function') {\n callbacks.onClose = value.onClose;\n }\n setState(this, '_on', callbacks);\n }\n }\n handleCloseDialog() {\n var _a, _b, _c;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.close();\n (_c = (_b = this._on) === null || _b === void 0 ? void 0 : _b.onClose) === null || _c === void 0 ? void 0 : _c.call(_b);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n }\n handleClose() {\n void (async () => {\n await this.close();\n this.handleCloseDialog();\n })();\n }\n handleAnimationEnd(e) {\n const animationEvent = e;\n if (animationEvent.animationName.includes('slideOut')) {\n this.handleCloseDialog();\n }\n }\n componentDidLoad() {\n var _a, _b;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.addEventListener('animationend', this.handleAnimationEnd.bind(this));\n (_b = this.dialogElement) === null || _b === void 0 ? void 0 : _b.addEventListener('close', this.handleClose.bind(this));\n }\n disconnectedCallback() {\n var _a, _b;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.removeEventListener('animationend', this.handleAnimationEnd.bind(this));\n (_b = this.dialogElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('close', this.handleClose.bind(this));\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateOpen(this._open);\n this.validateAlign(this._align);\n this.validateHasCloser(this._hasCloser);\n this.validateOn(this._on);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_align\": [\"validateAlign\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_open\": [\"validateOpen\"],\n \"_on\": [\"validateOn\"]\n }; }\n};\nKolDrawer.style = {\n default: defaultStyleCss\n};\n\nexport { KolDrawer as kol_drawer };\n//# sourceMappingURL=kol-drawer.entry.js.map\n"],"names":["defaultStyleCss","KolDrawer","hostRef","registerInstance","el","_a","wrapper","align","h","KolCardWcTag","clsx","Host","handleCancelOverlay","value","validateLabel","validateAlign","validateHasCloser","validateOpen","callbacks","setState","_b","_c","dispatchDomEvent","KolEvent","e","getElement"],"mappings":"6YAcA,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;AA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AQ,CACd,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as a,d as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const b=(n,t)=>{p(n,"errorList",e=>Array.isArray(e)&&e.find(o=>!(typeof o=="string"||typeof o=="function"))===void 0,new Set(["string","function"]),t)},k=`/* forward the rem function */
|
|
1
|
+
import{r as a,d as l,a as s,h as i,j as d,H as h,m as c,n as m,g as f,w as p}from"./index-B7VtF6vh.js";import{t as r}from"./i18n-C5ifExT3-DbkujNMR.js";import{K as u}from"./Alert-DQ2Dvx1k-ag7m4LxQ.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./clsx-eK3rPvPS-B-dksMZM.js";import"./Heading-C10swMyu-CfCZk-GX.js";const b=(n,t)=>{p(n,"errorList",e=>Array.isArray(e)&&e.find(o=>!(typeof o=="string"||typeof o=="function"))===void 0,new Set(["string","function"]),t)},k=`/* forward the rem function */
|
|
4
2
|
/*
|
|
5
3
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
6
4
|
* The order is important as it determines the cascade priority.
|
|
@@ -163,13 +161,15 @@ import{r as a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
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 a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
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 a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
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 a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
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
|
:host {
|
|
@@ -263,12 +280,12 @@ import{r as a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
263
280
|
min-width: var(--a11y-min-size);
|
|
264
281
|
min-height: var(--a11y-min-size);
|
|
265
282
|
}
|
|
266
|
-
.kol-link__text .kol-span__label {
|
|
267
|
-
text-decoration-line: underline;
|
|
268
|
-
}
|
|
269
283
|
.kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {
|
|
270
284
|
text-decoration-thickness: 0.2em;
|
|
271
285
|
}
|
|
286
|
+
.kol-link__text .kol-span__label {
|
|
287
|
+
text-decoration-line: underline;
|
|
288
|
+
}
|
|
272
289
|
.kol-link__icon {
|
|
273
290
|
display: inline-flex;
|
|
274
291
|
margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
@@ -287,5 +304,5 @@ import{r as a,d as s,a as l,h as i,j as d,H as h,m as c,n as m,g as f,w as p}fro
|
|
|
287
304
|
/* Visible with forced colors */
|
|
288
305
|
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
289
306
|
}
|
|
290
|
-
}`,y=class{constructor(n){a(this,n),this.translateErrorListMessage=r("kol-error-list-message"),this.translateErrorList=r("kol-error-list"),this.translateFormDescription=r("kol-form-description"),this.onSubmit=t=>{var e,o;t.preventDefault(),typeof((e=this.state._on)===null||e===void 0?void 0:e.onSubmit)=="function"&&((o=this.state._on)===null||o===void 0||o.onSubmit(t)),this.host&&
|
|
291
|
-
//# sourceMappingURL=kol-form.entry-
|
|
307
|
+
}`,y=class{constructor(n){a(this,n),this.translateErrorListMessage=r("kol-error-list-message"),this.translateErrorList=r("kol-error-list"),this.translateFormDescription=r("kol-form-description"),this.onSubmit=t=>{var e,o;t.preventDefault(),typeof((e=this.state._on)===null||e===void 0?void 0:e.onSubmit)=="function"&&((o=this.state._on)===null||o===void 0||o.onSubmit(t)),this.host&&l(this.host,s.submit)},this.onReset=t=>{var e,o;t.preventDefault(),typeof((e=this.state._on)===null||e===void 0?void 0:e.onReset)=="function"&&((o=this.state._on)===null||o===void 0||o.onReset(t)),this.host&&l(this.host,s.reset)},this.handleLinkClick=t=>{const e=document.querySelector(t);e&&typeof e.focus=="function"&&(e.scrollIntoView({behavior:"smooth"}),e.focus())},this.setBlockElement=t=>this.errorListBlock=t,this.setFirstLinkElement=t=>this.errorListFirstLink=t,this._requiredText=!0,this.state={}}renderErrorList(n){return i(u,{class:"kol-form__alert",ref:this.setBlockElement,type:"error",variant:"card",label:this.translateErrorListMessage},i("nav",{"aria-label":this.translateErrorList},i("ul",null,n?.map((t,e)=>i("li",{key:e},i(d,{class:"kol-form__link",_href:"",_label:t.message,_on:{onClick:typeof t.selector=="string"?()=>this.handleLinkClick(String(t.selector)):t.selector},ref:e===0?this.setFirstLinkElement:void 0}))))))}renderFormElement(){return i("form",{class:"kol-form",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,noValidate:!0},this.state._requiredText===!0?i("p",null,i("div",{class:"kol-form__mandatory-fields-hint"},this.translateFormDescription)):typeof this.state._requiredText=="string"&&this.state._requiredText.length>0?i("p",null,i("div",{class:"kol-form__mandatory-fields-hint"},this.state._requiredText)):null,i("slot",null))}render(){const n=Array.isArray(this._errorList)&&this._errorList.length>0;return i(h,{key:"129655c9f0160c5c3eb6801253953b52c9649031"},n&&this.renderErrorList(this._errorList),this.renderFormElement())}scrollToErrorList(){var n;(n=this.errorListBlock)===null||n===void 0||n.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{var t,e;(e=(t=this.errorListFirstLink)===null||t===void 0?void 0:t.querySelector("a"))===null||e===void 0||e.focus()},250)}async focusErrorList(){return this.scrollToErrorList(),Promise.resolve()}validateOn(n){typeof n=="object"&&n!==null&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){typeof n=="boolean"?c(this,"_requiredText",n):m(this,"_requiredText",n)}validateErrorList(n){b(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}get host(){return f(this)}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}};y.style={default:k};export{y as kol_form};
|
|
308
|
+
//# sourceMappingURL=kol-form.entry-BgQGx9ZA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-form.entry-BgQGx9ZA.js","sources":["../../../../components/dist/esm/kol-form.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host, g as getElement } from './index-tZ4BZtrY.js';\nimport { w as watchValidator, d as watchBoolean, e as watchString } from './common-Dd0zJQbD.js';\nimport { t as translate } from './i18n-C5ifExT3.js';\nimport { f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolAlertFc } from './Alert-DQ2Dvx1k.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport './i18n-ZF6JbdVP.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './bem-C27SfH6w.js';\nimport './browser-DiRe0qUf.js';\nimport './Heading-C10swMyu.js';\n\nconst validateErrorList = (component, value) => {\n watchValidator(component, 'errorList', (value) => Array.isArray(value) && value.find((v) => !(typeof v === 'string' || typeof v === 'function')) === undefined, new Set(['string', 'function']), value);\n};\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\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/*\\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 :host {\\n display: inline-block;\\n }\\n .kol-link {\\n display: inline-flex;\\n max-width: fit-content;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n .kol-link--standalone {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\\n text-decoration-thickness: 0.2em;\\n }\\n .kol-link__text .kol-span__label {\\n text-decoration-line: underline;\\n }\\n .kol-link__icon {\\n display: inline-flex;\\n margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\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 KolForm = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.translateErrorListMessage = translate('kol-error-list-message');\n this.translateErrorList = translate('kol-error-list');\n this.translateFormDescription = translate('kol-form-description');\n this.onSubmit = (event) => {\n var _a, _b;\n event.preventDefault();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onSubmit) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onSubmit(event);\n }\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.submit);\n }\n };\n this.onReset = (event) => {\n var _a, _b;\n event.preventDefault();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onReset) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onReset(event);\n }\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.reset);\n }\n };\n this.handleLinkClick = (selector) => {\n const targetElement = document.querySelector(selector);\n if (targetElement && typeof targetElement.focus === 'function') {\n targetElement.scrollIntoView({ behavior: 'smooth' });\n targetElement.focus();\n }\n };\n this.setBlockElement = (el) => (this.errorListBlock = el);\n this.setFirstLinkElement = (el) => (this.errorListFirstLink = el);\n this._requiredText = true;\n this.state = {};\n }\n renderErrorList(errorList) {\n return (h(KolAlertFc, { class: \"kol-form__alert\", ref: this.setBlockElement, type: \"error\", variant: \"card\", label: this.translateErrorListMessage }, h(\"nav\", { \"aria-label\": this.translateErrorList }, h(\"ul\", null, errorList === null || errorList === void 0 ? void 0 : errorList.map((error, index) => (h(\"li\", { key: index }, h(KolLinkWcTag, { class: \"kol-form__link\", _href: \"\", _label: error.message, _on: { onClick: typeof error.selector === 'string' ? () => this.handleLinkClick(String(error.selector)) : error.selector }, ref: index === 0 ? this.setFirstLinkElement : undefined }))))))));\n }\n renderFormElement() {\n return (h(\"form\", { class: \"kol-form\", method: \"post\", onSubmit: this.onSubmit, onReset: this.onReset, noValidate: true }, this.state._requiredText === true ? (h(\"p\", null, h(\"div\", { class: \"kol-form__mandatory-fields-hint\" }, this.translateFormDescription))) : typeof this.state._requiredText === 'string' && this.state._requiredText.length > 0 ? (h(\"p\", null, h(\"div\", { class: \"kol-form__mandatory-fields-hint\" }, this.state._requiredText))) : null, h(\"slot\", null)));\n }\n render() {\n const hasErrorList = Array.isArray(this._errorList) && this._errorList.length > 0;\n return (h(Host, { key: '129655c9f0160c5c3eb6801253953b52c9649031' }, hasErrorList && this.renderErrorList(this._errorList), this.renderFormElement()));\n }\n scrollToErrorList() {\n var _a;\n (_a = this.errorListBlock) === null || _a === void 0 ? void 0 : _a.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.errorListFirstLink) === null || _a === void 0 ? void 0 : _a.querySelector('a')) === null || _b === void 0 ? void 0 : _b.focus();\n }, 250);\n }\n async focusErrorList() {\n this.scrollToErrorList();\n return Promise.resolve();\n }\n validateOn(value) {\n if (typeof value === 'object' && value !== null) {\n this.state = Object.assign(Object.assign({}, this.state), { _on: value });\n }\n }\n validateRequiredText(value) {\n if (typeof value === 'boolean') {\n watchBoolean(this, '_requiredText', value);\n }\n else {\n watchString(this, '_requiredText', value);\n }\n }\n validateErrorList(value) {\n validateErrorList(this, value);\n }\n componentWillLoad() {\n this.validateOn(this._on);\n this.validateRequiredText(this._requiredText);\n this.validateErrorList(this._errorList);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_on\": [\"validateOn\"],\n \"_requiredText\": [\"validateRequiredText\"],\n \"_errorList\": [\"validateErrorList\"]\n }; }\n};\nKolForm.style = {\n default: defaultStyleCss\n};\n\nexport { KolForm as kol_form };\n//# sourceMappingURL=kol-form.entry.js.map\n"],"names":["validateErrorList","component","value","watchValidator","v","defaultStyleCss","KolForm","hostRef","registerInstance","translate","event","_a","_b","dispatchDomEvent","KolEvent","selector","targetElement","el","errorList","h","KolAlertFc","error","index","KolLinkWcTag","hasErrorList","Host","watchBoolean","watchString","getElement"],"mappings":"4TAgBA,MAAMA,EAAoB,CAACC,EAAWC,IAAU,CAC5CC,EAAeF,EAAW,YAAcC,GAAU,MAAM,QAAQA,CAAK,GAAKA,EAAM,KAAME,GAAM,EAAE,OAAOA,GAAM,UAAY,OAAOA,GAAM,WAAW,IAAM,OAAW,IAAI,IAAI,CAAC,SAAU,UAAU,CAAC,EAAGF,CAAK,CAC1M,EAEMG,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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AMD,EAAK,KAAK,sBAAwB,MAAQA,IAAO,OAAS,OAASA,EAAG,cAAc,GAAG,KAAO,MAAQC,IAAO,QAAkBA,EAAG,MAAK,CAClJ,EAAG,GAAG,CACV,CACA,MAAM,gBAAiB,CACnB,YAAK,kBAAiB,EACf,QAAQ,QAAO,CAC1B,CACA,WAAWV,EAAO,CACV,OAAOA,GAAU,UAAYA,IAAU,OACvC,KAAK,MAAQ,OAAO,OAAO,OAAO,OAAO,GAAI,KAAK,KAAK,EAAG,CAAE,IAAKA,CAAK,CAAE,EAEhF,CACA,qBAAqBA,EAAO,CACpB,OAAOA,GAAU,UACjBwB,EAAa,KAAM,gBAAiBxB,CAAK,EAGzCyB,EAAY,KAAM,gBAAiBzB,CAAK,CAEhD,CACA,kBAAkBA,EAAO,CACrBF,EAAkB,KAAME,CAAK,CACjC,CACA,mBAAoB,CAChB,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,qBAAqB,KAAK,aAAa,EAC5C,KAAK,kBAAkB,KAAK,UAAU,CAC1C,CACA,IAAI,MAAO,CAAE,OAAO0B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,IAAO,CAAC,YAAY,EACpB,cAAiB,CAAC,sBAAsB,EACxC,WAAc,CAAC,mBAAmB,CAC1C,CAAO,CACP,EACAtB,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as o,n as a,h as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const d=`/*
|
|
1
|
+
import{r as o,n as a,h as e}from"./index-B7VtF6vh.js";import"./Alert-DQ2Dvx1k-ag7m4LxQ.js";import{K as l}from"./Heading-C10swMyu-CfCZk-GX.js";import{a as r}from"./label-Dnmzb2S_-Cdyj_kq1.js";import"./i18n-C5ifExT3-DbkujNMR.js";import"./markdown-BSkXjaSn-BA5_b1rt.js";import{w as s}from"./validation-aqgnZOL6-CHFQ0FwF.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./clsx-eK3rPvPS-B-dksMZM.js";const d=`/*
|
|
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 o,n as a,h as n}from"./index-mMJ_1Otm.js";import"./Alert-C60lbYBA-Bp
|
|
|
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 {
|
|
@@ -201,5 +201,5 @@ import{r as o,n as a,h as n}from"./index-mMJ_1Otm.js";import"./Alert-C60lbYBA-Bp
|
|
|
201
201
|
.kol-headline--secondary {
|
|
202
202
|
margin: 0;
|
|
203
203
|
}
|
|
204
|
-
}`,h=class{constructor(
|
|
205
|
-
//# sourceMappingURL=kol-heading.entry-
|
|
204
|
+
}`,h=class{constructor(n){o(this,n),this._level=0,this.state={_label:"",_level:0}}validateLabel(n){r(this,n)}validateLevel(n){s(this,n)}validateSecondaryHeadline(n){a(this,"_secondaryHeadline",n)}componentWillLoad(){this.validateLabel(this._label),this.validateLevel(this._level),this.validateSecondaryHeadline(this._secondaryHeadline)}render(){const{_secondaryHeadline:n,_label:t,_level:i}=this.state;return e(l,{key:"bca6f091d8c15ebbd3cd448deb11b8c21253369c",secondaryHeadline:n,level:i},t,e("slot",{key:"16c1177a2937b4a31efd828e26fb316f365049a7",name:"expert",slot:"expert"}))}static get watchers(){return{_label:["validateLabel"],_level:["validateLevel"],_secondaryHeadline:["validateSecondaryHeadline"]}}};h.style={default:d};export{h as kol_heading};
|
|
205
|
+
//# sourceMappingURL=kol-heading.entry-CLT7GAYs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-heading.entry-
|
|
1
|
+
{"version":3,"file":"kol-heading.entry-CLT7GAYs.js","sources":["../../../../components/dist/esm/kol-heading.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-tZ4BZtrY.js';\nimport './Alert-DQ2Dvx1k.js';\nimport { K as KolHeadingFc } from './Heading-C10swMyu.js';\nimport { e as watchString } from './common-Dd0zJQbD.js';\nimport { a as validateLabelWithExpertSlot } from './label-Dnmzb2S_.js';\nimport './i18n-C5ifExT3.js';\nimport './markdown-BSkXjaSn.js';\nimport { w as watchHeadingLevel } from './validation-aqgnZOL6.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './bem-C27SfH6w.js';\nimport './browser-DiRe0qUf.js';\nimport './i18n-ZF6JbdVP.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-headline--secondary {\\n margin: 0;\\n }\\n}\";\n\nconst KolHeading = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._level = 0;\n this.state = {\n _label: '',\n _level: 0,\n };\n }\n validateLabel(value) {\n validateLabelWithExpertSlot(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateSecondaryHeadline(value) {\n watchString(this, '_secondaryHeadline', value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateSecondaryHeadline(this._secondaryHeadline);\n }\n render() {\n const { _secondaryHeadline, _label, _level } = this.state;\n return (h(KolHeadingFc, { key: 'bca6f091d8c15ebbd3cd448deb11b8c21253369c', secondaryHeadline: _secondaryHeadline, level: _level }, _label, h(\"slot\", { key: '16c1177a2937b4a31efd828e26fb316f365049a7', name: \"expert\", slot: \"expert\" })));\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_secondaryHeadline\": [\"validateSecondaryHeadline\"]\n }; }\n};\nKolHeading.style = {\n default: defaultStyleCss\n};\n\nexport { KolHeading as kol_heading };\n//# sourceMappingURL=kol-heading.entry.js.map\n"],"names":["defaultStyleCss","KolHeading","hostRef","registerInstance","value","validateLabelWithExpertSlot","watchHeadingLevel","watchString","_secondaryHeadline","_label","_level","h","KolHeadingFc"],"mappings":"8YAkBA,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;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,QAAQ,CAAE,CAAC,CAC7O,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,mBAAsB,CAAC,2BAA2B,CAC1D,CAAO,CACP,EACAV,EAAW,MAAQ,CACf,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{h as o,B as c,q as t,H as r,r as i,n as b}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/class f{constructor(e){this.component=e}validateIcons(e){b(this.component,"_icons",e,{required:!0})}validateLabel(e){d(this.component,e,{required:!0,defaultValue:""})}componentWillLoad(){this.validateIcons(this.component._icons),this.validateLabel(this.component._label)}}const l=`/* forward the rem function */
|
|
1
|
+
import{h as o,B as c,q as t,H as r,r as i,n as b}from"./index-B7VtF6vh.js";import{v as d}from"./label-Dnmzb2S_-Cdyj_kq1.js";import{c as a}from"./clsx-eK3rPvPS-B-dksMZM.js";class f{constructor(e){this.component=e}validateIcons(e){b(this.component,"_icons",e,{required:!0})}validateLabel(e){d(this.component,e,{required:!0,defaultValue:""})}componentWillLoad(){this.validateIcons(this.component._icons),this.validateLabel(this.component._label)}}const l=`/* forward the rem function */
|
|
4
2
|
/*---------------------------------------------------------------------------------------------
|
|
5
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6
4
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -2365,6 +2363,7 @@ import{h as o,B as c,q as t,H as r,r as i,n as b}from"./index-mMJ_1Otm.js";impor
|
|
|
2365
2363
|
color: inherit;
|
|
2366
2364
|
display: contents;
|
|
2367
2365
|
font-size: inherit;
|
|
2366
|
+
font-weight: inherit;
|
|
2368
2367
|
line-height: inherit;
|
|
2369
2368
|
}
|
|
2370
2369
|
/* this rules overwrites the fixed font size from codicon */
|
|
@@ -2372,5 +2371,5 @@ import{h as o,B as c,q as t,H as r,r as i,n as b}from"./index-mMJ_1Otm.js";impor
|
|
|
2372
2371
|
:host > i::before {
|
|
2373
2372
|
font-size: inherit !important;
|
|
2374
2373
|
}
|
|
2375
|
-
}`,s=class{render(){const n=this.state._label.length>0;return o(r,{key:"
|
|
2376
|
-
//# sourceMappingURL=kol-icon.entry-
|
|
2374
|
+
}`,s=class{render(){const n=this.state._label.length>0;return o(r,{key:"1d404ac575f51e991fa96b73f35f4ef316bac5a7",exportparts:"icon",class:t},o("i",{key:"d0aecc870582de3a0a0ea66a920240400878ed02","aria-hidden":n?void 0:"true","aria-label":n?this.state._label:void 0,class:a(c,this.state._icons),part:"icon",role:n?"img":"presentation"}))}constructor(n){i(this,n),this.state={_icons:"codicon codicon-home",_label:""},this.controller=new f(this)}validateIcons(n){this.controller.validateIcons(n)}validateLabel(n){this.controller.validateLabel(n)}componentWillLoad(){this.controller.componentWillLoad()}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};s.style={default:l};export{s as kol_icon};
|
|
2375
|
+
//# sourceMappingURL=kol-icon.entry-BixwiJYG.js.map
|