@public-ui/components 4.5.0-rc.6 → 4.5.0-rc.8
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/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +1 -2
- package/dist/cjs/{Heading-Bck3PFpH.js → Heading-yiwXjRrz.js} +3 -3
- package/dist/cjs/{Heading-Bck3PFpH.js.map → Heading-yiwXjRrz.js.map} +1 -1
- package/dist/cjs/{api-BcNl2vZm.js → api-BDT5xkx5.js} +8 -8
- package/dist/cjs/{api-BcNl2vZm.js.map → api-BDT5xkx5.js.map} +1 -1
- package/dist/cjs/{api-LP3gnw7U.js → api-BI1qXrGa.js} +12 -12
- package/dist/cjs/{api-LP3gnw7U.js.map → api-BI1qXrGa.js.map} +1 -1
- package/dist/cjs/{app-globals-oR-jEiju.js → app-globals-DPVGNVgE.js} +4 -4
- package/dist/cjs/{app-globals-oR-jEiju.js.map → app-globals-DPVGNVgE.js.map} +1 -1
- package/dist/cjs/{base-DbfvhKRa.js → base-B_M9Y7nD.js} +4 -4
- package/dist/cjs/{base-DbfvhKRa.js.map → base-B_M9Y7nD.js.map} +1 -1
- package/dist/cjs/{base-BDGmLWVj.js → base-CaQNXZrN.js} +5 -5
- package/dist/cjs/{base-BDGmLWVj.js.map → base-CaQNXZrN.js.map} +1 -1
- package/dist/cjs/{base-CwXJywKD.js → base-DlsemYqM.js} +4 -4
- package/dist/cjs/{base-CwXJywKD.js.map → base-DlsemYqM.js.map} +1 -1
- package/dist/cjs/{base-DaK2F3pq.js → base-FZ2Hemhr.js} +16 -16
- package/dist/cjs/{base-DaK2F3pq.js.map → base-FZ2Hemhr.js.map} +1 -1
- package/dist/cjs/{base-web-component-C8MLLGxi.js → base-web-component-BK8X1O8C.js} +16 -9
- package/dist/cjs/base-web-component-BK8X1O8C.js.map +1 -0
- package/dist/cjs/{base-web-component-mmgXJMg0.js → base-web-component-GLk66TOu.js} +7 -7
- package/dist/cjs/{base-web-component-mmgXJMg0.js.map → base-web-component-GLk66TOu.js.map} +1 -1
- package/dist/cjs/{behavior-DWqrO2yi.js → behavior-BEaXHesG.js} +3 -3
- package/dist/cjs/{behavior-DWqrO2yi.js.map → behavior-BEaXHesG.js.map} +1 -1
- package/dist/cjs/{color-C9UZwMvC.js → color-CZiNkZFM.js} +3 -3
- package/dist/cjs/{color-C9UZwMvC.js.map → color-CZiNkZFM.js.map} +1 -1
- package/dist/cjs/{component-ZPvcKmPR.js → component-3EZdZbDH.js} +3 -3
- package/dist/cjs/{component-ZPvcKmPR.js.map → component-3EZdZbDH.js.map} +1 -1
- package/dist/cjs/{component-DuPEYx7z.js → component-B96XYPtn.js} +4 -4
- package/dist/cjs/{component-DuPEYx7z.js.map → component-B96XYPtn.js.map} +1 -1
- package/dist/cjs/{component-uHDfV5D8.js → component-BUCx7i5o.js} +7 -7
- package/dist/cjs/{component-uHDfV5D8.js.map → component-BUCx7i5o.js.map} +1 -1
- package/dist/cjs/{component-DNDfYzXZ.js → component-Bc8fDajy.js} +5 -5
- package/dist/cjs/{component-DNDfYzXZ.js.map → component-Bc8fDajy.js.map} +1 -1
- package/dist/cjs/{component-CmvG-auD.js → component-Be3QHUyC.js} +3 -3
- package/dist/cjs/{component-CmvG-auD.js.map → component-Be3QHUyC.js.map} +1 -1
- package/dist/cjs/{component-BT86Nj6R.js → component-Bj4QdlXm.js} +5 -5
- package/dist/cjs/{component-BT86Nj6R.js.map → component-Bj4QdlXm.js.map} +1 -1
- package/dist/cjs/{component-xIM903qi.js → component-CAkixzEQ.js} +3 -3
- package/dist/cjs/{component-xIM903qi.js.map → component-CAkixzEQ.js.map} +1 -1
- package/dist/cjs/{component-1NrcvQzp.js → component-CPVFCnaN.js} +7 -7
- package/dist/cjs/{component-1NrcvQzp.js.map → component-CPVFCnaN.js.map} +1 -1
- package/dist/cjs/{component-o3s7XplI.js → component-Dd-PS3jp.js} +4 -4
- package/dist/cjs/{component-o3s7XplI.js.map → component-Dd-PS3jp.js.map} +1 -1
- package/dist/cjs/{component-CtNPdMS0.js → component-DjDOgcWW.js} +5 -5
- package/dist/cjs/{component-CtNPdMS0.js.map → component-DjDOgcWW.js.map} +1 -1
- package/dist/cjs/{component-X_thXnkE.js → component-Du98sklA.js} +3 -3
- package/dist/cjs/{component-X_thXnkE.js.map → component-Du98sklA.js.map} +1 -1
- package/dist/cjs/{component-GfDUM7Um.js → component-Dw6Tq7Wb.js} +4 -4
- package/dist/cjs/{component-GfDUM7Um.js.map → component-Dw6Tq7Wb.js.map} +1 -1
- package/dist/cjs/{contrast-kLMuDQLl.js → contrast-CrL_sMV6.js} +3 -12
- package/dist/cjs/contrast-CrL_sMV6.js.map +1 -0
- package/dist/cjs/{dev.utils-BjrG4FNf.js → dev.utils-DybQ4euF.js} +3 -3
- package/dist/cjs/{dev.utils-BjrG4FNf.js.map → dev.utils-DybQ4euF.js.map} +1 -1
- package/dist/cjs/{devtools-D_afWgpU.js → devtools-Bw5sQJOl.js} +4 -4
- package/dist/cjs/{devtools-D_afWgpU.js.map → devtools-Bw5sQJOl.js.map} +1 -1
- package/dist/cjs/{field-control-DAHkvYr4.js → field-control-4CnbMR0i.js} +8 -8
- package/dist/cjs/{field-control-DAHkvYr4.js.map → field-control-4CnbMR0i.js.map} +1 -1
- package/dist/cjs/{group-DHYxVn2x.js → group-BCkxYeMA.js} +5 -5
- package/dist/cjs/{group-DHYxVn2x.js.map → group-BCkxYeMA.js.map} +1 -1
- package/dist/cjs/{index-BnEus4Y9.js → index-RAfZF5x0.js} +3 -3
- package/dist/cjs/{index-BnEus4Y9.js.map → index-RAfZF5x0.js.map} +1 -1
- package/dist/cjs/{input-eDaEE80n.js → input-7t7ZvgAy.js} +5 -5
- package/dist/cjs/{input-eDaEE80n.js.map → input-7t7ZvgAy.js.map} +1 -1
- package/dist/cjs/{input-container-Cye4qL9S.js → input-container-BUK2Fp_t.js} +7 -7
- package/dist/cjs/{input-container-Cye4qL9S.js.map → input-container-BUK2Fp_t.js.map} +1 -1
- package/dist/cjs/{item-Dflr47KV.js → item-BInO5rWQ.js} +8 -8
- package/dist/cjs/{item-Dflr47KV.js.map → item-BInO5rWQ.js.map} +1 -1
- package/dist/cjs/{item-BSdQbEav.js → item-D8Zz2ROC.js} +3 -3
- package/dist/cjs/{item-BSdQbEav.js.map → item-D8Zz2ROC.js.map} +1 -1
- package/dist/cjs/{item-C0yzJQUg.js → item-DO176juh.js} +4 -4
- package/dist/cjs/{item-C0yzJQUg.js.map → item-DO176juh.js.map} +1 -1
- package/dist/cjs/{item-wz0gBnmK.js → item-K1SS6pAu.js} +4 -4
- package/dist/cjs/{item-wz0gBnmK.js.map → item-K1SS6pAu.js.map} +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +2 -2
- package/dist/cjs/kol-accordion.cjs.entry.js +7 -7
- package/dist/cjs/kol-alert.cjs.entry.js +11 -11
- package/dist/cjs/kol-avatar.cjs.entry.js +3 -3
- package/dist/cjs/kol-badge.cjs.entry.js +12 -12
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +9 -9
- package/dist/cjs/kol-button-link.cjs.entry.js +10 -10
- package/dist/cjs/kol-button.cjs.entry.js +10 -10
- package/dist/cjs/kol-card.cjs.entry.js +11 -11
- package/dist/cjs/kol-click-button.cjs.entry.js +2 -2
- package/dist/cjs/kol-combobox.cjs.entry.js +18 -18
- package/dist/cjs/kol-details.cjs.entry.js +7 -7
- package/dist/cjs/kol-dialog.cjs.entry.js +13 -13
- package/dist/cjs/kol-drawer.cjs.entry.js +12 -12
- package/dist/cjs/kol-form.cjs.entry.js +12 -12
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +3 -3
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +17 -17
- package/dist/cjs/kol-input-color.cjs.entry.js +18 -18
- package/dist/cjs/kol-input-date.cjs.entry.js +18 -18
- package/dist/cjs/kol-input-email.cjs.entry.js +20 -20
- package/dist/cjs/kol-input-file.cjs.entry.js +17 -17
- package/dist/cjs/kol-input-number.cjs.entry.js +18 -18
- package/dist/cjs/kol-input-password.cjs.entry.js +22 -22
- package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +17 -17
- package/dist/cjs/kol-input-range.cjs.entry.js +18 -18
- package/dist/cjs/kol-input-text.cjs.entry.js +20 -20
- package/dist/cjs/kol-kolibri.cjs.entry.js +2 -2
- package/dist/cjs/kol-link-button.cjs.entry.js +10 -10
- package/dist/cjs/kol-link.cjs.entry.js +10 -10
- package/dist/cjs/kol-meter.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +13 -13
- package/dist/cjs/kol-nav.cjs.entry.js +13 -13
- package/dist/cjs/kol-pagination.cjs.entry.js +18 -18
- package/dist/cjs/kol-popover-button.cjs.entry.js +12 -13
- package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +17 -17
- package/dist/cjs/kol-single-select.cjs.entry.js +18 -18
- package/dist/cjs/kol-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/kol-skip-nav.cjs.entry.js +9 -9
- package/dist/cjs/kol-spin.cjs.entry.js +3 -3
- package/dist/cjs/kol-split-button.cjs.entry.js +12 -12
- package/dist/cjs/kol-table-stateful.cjs.entry.js +25 -25
- package/dist/cjs/kol-table-stateless.cjs.entry.js +19 -19
- package/dist/cjs/kol-tabs.cjs.entry.js +9 -9
- package/dist/cjs/kol-textarea.cjs.entry.js +20 -20
- package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +11 -11
- package/dist/cjs/kol-toolbar.cjs.entry.js +33 -14
- package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +4 -4
- package/dist/cjs/kol-tree-item.cjs.entry.js +9 -9
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +10 -10
- package/dist/cjs/kolibri.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resolve-props-DOU1VJNL.js → resolve-props-BBVQo_N5.js} +3 -3
- package/dist/cjs/{resolve-props-DOU1VJNL.js.map → resolve-props-BBVQo_N5.js.map} +1 -1
- package/dist/cjs/{scroll-lock-C6dUw4on.js → scroll-lock-zJbOf1Xr.js} +3 -3
- package/dist/cjs/{scroll-lock-C6dUw4on.js.map → scroll-lock-zJbOf1Xr.js.map} +1 -1
- package/dist/cjs/{suggestions-0hcm13gT.js → suggestions-quLXODgi.js} +4 -4
- package/dist/cjs/{suggestions-0hcm13gT.js.map → suggestions-quLXODgi.js.map} +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-kOflG5om.js → toggle-handler-CENFGRWT.js} +5 -5
- package/dist/cjs/{toggle-handler-kOflG5om.js.map → toggle-handler-CENFGRWT.js.map} +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +2 -2
- package/dist/collection/components/input-password/component.js.map +1 -1
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +2 -4
- package/dist/collection/components/popover-button/component.js.map +1 -1
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/style.css +2 -2
- package/dist/collection/components/table-stateless/style.css +2 -2
- package/dist/collection/components/tabs/style.css +2 -2
- package/dist/collection/components/textarea/component.js +3 -3
- package/dist/collection/components/textarea/component.js.map +1 -1
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +1 -1
- package/dist/collection/components/toolbar/component.js.map +1 -1
- package/dist/collection/components/toolbar/style.css +9 -3
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/internal/functional-components/form-field/select-value.js +3 -1
- package/dist/collection/internal/functional-components/form-field/select-value.js.map +1 -1
- package/dist/collection/internal/functional-components/form-field/select.js +8 -3
- package/dist/collection/internal/functional-components/form-field/select.js.map +1 -1
- package/dist/collection/internal/functional-components/form-field/select.test.js +88 -0
- package/dist/collection/internal/functional-components/form-field/select.test.js.map +1 -1
- package/dist/collection/internal/functional-components/form-field/textarea.js.map +1 -1
- package/dist/collection/internal/functional-components/toolbar/api.js.map +1 -1
- package/dist/collection/internal/functional-components/toolbar/component.js +1 -1
- package/dist/collection/internal/functional-components/toolbar/component.js.map +1 -1
- package/dist/collection/internal/functional-components/toolbar/item.js +20 -1
- package/dist/collection/internal/functional-components/toolbar/item.js.map +1 -1
- package/dist/collection/schema/props/toolbar-items.js.map +1 -1
- package/dist/collection/schema/utils/contrast.js +2 -10
- package/dist/collection/schema/utils/contrast.js.map +1 -1
- package/dist/components/base-web-component4.js +11 -4
- package/dist/components/base-web-component4.js.map +1 -1
- package/dist/components/contrast.js +1 -10
- package/dist/components/contrast.js.map +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +3 -3
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +2 -3
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +4 -4
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +23 -4
- package/dist/components/kol-toolbar.js.map +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/esm/{Heading-DXl16qig.js → Heading-BctDgC7M.js} +3 -3
- package/dist/esm/{Heading-DXl16qig.js.map → Heading-BctDgC7M.js.map} +1 -1
- package/dist/esm/{api-C8TfIYlY.js → api-B6fEjFVl.js} +12 -12
- package/dist/{kolibri/api-C8TfIYlY.js.map → esm/api-B6fEjFVl.js.map} +1 -1
- package/dist/esm/{api-BA-AFr5H.js → api-T-JuZMlj.js} +8 -8
- package/dist/esm/{api-BA-AFr5H.js.map → api-T-JuZMlj.js.map} +1 -1
- package/dist/esm/{app-globals-lFdBwFG2.js → app-globals-CvvWI2x9.js} +4 -4
- package/dist/esm/{app-globals-lFdBwFG2.js.map → app-globals-CvvWI2x9.js.map} +1 -1
- package/dist/esm/{base-DiSQvfGU.js → base-BARjFMg1.js} +5 -5
- package/dist/esm/{base-DiSQvfGU.js.map → base-BARjFMg1.js.map} +1 -1
- package/dist/esm/{base-D8GcFhvD.js → base-BbVXW6YI.js} +4 -4
- package/dist/{kolibri/base-D8GcFhvD.js.map → esm/base-BbVXW6YI.js.map} +1 -1
- package/dist/esm/{base-B5F8ROuQ.js → base-D8yYjJsn.js} +4 -4
- package/dist/esm/{base-B5F8ROuQ.js.map → base-D8yYjJsn.js.map} +1 -1
- package/dist/esm/{base-BpqjfzG1.js → base-Dvr4F_Pr.js} +16 -16
- package/dist/{kolibri/base-BpqjfzG1.js.map → esm/base-Dvr4F_Pr.js.map} +1 -1
- package/dist/esm/{base-web-component-CkaKv7O0.js → base-web-component-BzB5tP9s.js} +16 -9
- package/dist/esm/base-web-component-BzB5tP9s.js.map +1 -0
- package/dist/esm/{base-web-component-BozlJoj7.js → base-web-component-DU3hnIWD.js} +7 -7
- package/dist/esm/{base-web-component-BozlJoj7.js.map → base-web-component-DU3hnIWD.js.map} +1 -1
- package/dist/esm/{behavior-BuNqmjz8.js → behavior-CbqCHL6O.js} +3 -3
- package/dist/esm/{behavior-BuNqmjz8.js.map → behavior-CbqCHL6O.js.map} +1 -1
- package/dist/esm/{color-Du3Ft0XV.js → color-QYuhlVFz.js} +3 -3
- package/dist/esm/{color-Du3Ft0XV.js.map → color-QYuhlVFz.js.map} +1 -1
- package/dist/esm/{component-Da5dJMKj.js → component-BaD1OTyv.js} +5 -5
- package/dist/{kolibri/component-Da5dJMKj.js.map → esm/component-BaD1OTyv.js.map} +1 -1
- package/dist/esm/{component-DD5QqT5m.js → component-BjWF1SyZ.js} +7 -7
- package/dist/esm/{component-DD5QqT5m.js.map → component-BjWF1SyZ.js.map} +1 -1
- package/dist/esm/{component-Bd7PXqOG.js → component-Ch6fss2f.js} +5 -5
- package/dist/esm/{component-Bd7PXqOG.js.map → component-Ch6fss2f.js.map} +1 -1
- package/dist/esm/{component-C3aqLFK2.js → component-CmBM-Y1C.js} +7 -7
- package/dist/esm/{component-C3aqLFK2.js.map → component-CmBM-Y1C.js.map} +1 -1
- package/dist/esm/{component-xrrwVuiI.js → component-CvhmYY4a.js} +4 -4
- package/dist/esm/{component-xrrwVuiI.js.map → component-CvhmYY4a.js.map} +1 -1
- package/dist/esm/{component-De6Do_gt.js → component-D0iTurA_.js} +3 -3
- package/dist/esm/{component-De6Do_gt.js.map → component-D0iTurA_.js.map} +1 -1
- package/dist/esm/{component-BjH8s4-t.js → component-DKS73hKY.js} +3 -3
- package/dist/{kolibri/component-BjH8s4-t.js.map → esm/component-DKS73hKY.js.map} +1 -1
- package/dist/esm/{component-BxKN0JbT.js → component-DhBTawyT.js} +3 -3
- package/dist/esm/{component-BxKN0JbT.js.map → component-DhBTawyT.js.map} +1 -1
- package/dist/esm/{component-CWGVLsSH.js → component-G9vQ1mQA.js} +4 -4
- package/dist/{kolibri/component-CWGVLsSH.js.map → esm/component-G9vQ1mQA.js.map} +1 -1
- package/dist/esm/{component-D_58mw87.js → component-QCFfSS76.js} +4 -4
- package/dist/{kolibri/component-D_58mw87.js.map → esm/component-QCFfSS76.js.map} +1 -1
- package/dist/esm/{component-BKOep2WQ.js → component-d1d-AIsY.js} +5 -5
- package/dist/{kolibri/component-BKOep2WQ.js.map → esm/component-d1d-AIsY.js.map} +1 -1
- package/dist/esm/{component-C9DexidK.js → component-sf_0WjJF.js} +3 -3
- package/dist/esm/{component-C9DexidK.js.map → component-sf_0WjJF.js.map} +1 -1
- package/dist/esm/{contrast-BKAJJL2K.js → contrast-DMN9saXP.js} +3 -12
- package/dist/esm/contrast-DMN9saXP.js.map +1 -0
- package/dist/esm/{dev.utils-CYtV9X0K.js → dev.utils-BGy8dbtQ.js} +3 -3
- package/dist/esm/{dev.utils-CYtV9X0K.js.map → dev.utils-BGy8dbtQ.js.map} +1 -1
- package/dist/esm/{devtools-B0qRaQdp.js → devtools-CZ8Mnmwl.js} +4 -4
- package/dist/{kolibri/devtools-B0qRaQdp.js.map → esm/devtools-CZ8Mnmwl.js.map} +1 -1
- package/dist/esm/{field-control-C5hjw2Rb.js → field-control-CLnFuMmy.js} +8 -8
- package/dist/{kolibri/field-control-C5hjw2Rb.js.map → esm/field-control-CLnFuMmy.js.map} +1 -1
- package/dist/esm/{group-2hP8qbvk.js → group-BAOmF5Ok.js} +5 -5
- package/dist/esm/{group-2hP8qbvk.js.map → group-BAOmF5Ok.js.map} +1 -1
- package/dist/esm/{index-DsCeQ9Ys.js → index-DAKQV03B.js} +3 -3
- package/dist/{kolibri/index-DsCeQ9Ys.js.map → esm/index-DAKQV03B.js.map} +1 -1
- package/dist/esm/{input-Dp5NBocQ.js → input-D2i1QEbL.js} +5 -5
- package/dist/esm/{input-Dp5NBocQ.js.map → input-D2i1QEbL.js.map} +1 -1
- package/dist/esm/{input-container-QA8-0_0p.js → input-container-wQm8-W3s.js} +7 -7
- package/dist/esm/{input-container-QA8-0_0p.js.map → input-container-wQm8-W3s.js.map} +1 -1
- package/dist/esm/{item-BIjqEkyy.js → item-DJ8LXOMv.js} +8 -8
- package/dist/{kolibri/item-BIjqEkyy.js.map → esm/item-DJ8LXOMv.js.map} +1 -1
- package/dist/esm/{item-CXyolUj2.js → item-DbLIGnc9.js} +4 -4
- package/dist/{kolibri/item-CXyolUj2.js.map → esm/item-DbLIGnc9.js.map} +1 -1
- package/dist/esm/{item-CaxJw3ad.js → item-Dkm57tce.js} +4 -4
- package/dist/esm/{item-CaxJw3ad.js.map → item-Dkm57tce.js.map} +1 -1
- package/dist/esm/{item-DY0fVVnj.js → item-DuBSR8BS.js} +3 -3
- package/dist/esm/{item-DY0fVVnj.js.map → item-DuBSR8BS.js.map} +1 -1
- package/dist/esm/kol-abbr.entry.js +2 -2
- package/dist/esm/kol-accordion.entry.js +7 -7
- package/dist/esm/kol-alert.entry.js +11 -11
- package/dist/esm/kol-avatar.entry.js +3 -3
- package/dist/esm/kol-badge.entry.js +12 -12
- package/dist/esm/kol-breadcrumb.entry.js +9 -9
- package/dist/esm/kol-button-link.entry.js +10 -10
- package/dist/esm/kol-button.entry.js +10 -10
- package/dist/esm/kol-card.entry.js +11 -11
- package/dist/esm/kol-click-button.entry.js +2 -2
- package/dist/esm/kol-combobox.entry.js +18 -18
- package/dist/esm/kol-details.entry.js +7 -7
- package/dist/esm/kol-dialog.entry.js +13 -13
- package/dist/esm/kol-drawer.entry.js +12 -12
- package/dist/esm/kol-form.entry.js +12 -12
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js +3 -3
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +17 -17
- package/dist/esm/kol-input-color.entry.js +18 -18
- package/dist/esm/kol-input-date.entry.js +18 -18
- package/dist/esm/kol-input-email.entry.js +20 -20
- package/dist/esm/kol-input-file.entry.js +17 -17
- package/dist/esm/kol-input-number.entry.js +18 -18
- package/dist/esm/kol-input-password.entry.js +22 -22
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +17 -17
- package/dist/esm/kol-input-range.entry.js +18 -18
- package/dist/esm/kol-input-text.entry.js +20 -20
- package/dist/esm/kol-kolibri.entry.js +2 -2
- package/dist/esm/kol-link-button.entry.js +10 -10
- package/dist/esm/kol-link.entry.js +10 -10
- package/dist/esm/kol-meter.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +13 -13
- package/dist/esm/kol-nav.entry.js +13 -13
- package/dist/esm/kol-pagination.entry.js +18 -18
- package/dist/esm/kol-popover-button.entry.js +12 -13
- package/dist/esm/kol-popover-button.entry.js.map +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +17 -17
- package/dist/esm/kol-single-select.entry.js +18 -18
- package/dist/esm/kol-skeleton.entry.js +2 -2
- package/dist/esm/kol-skip-nav.entry.js +9 -9
- package/dist/esm/kol-spin.entry.js +3 -3
- package/dist/esm/kol-split-button.entry.js +12 -12
- package/dist/esm/kol-table-stateful.entry.js +25 -25
- package/dist/esm/kol-table-stateless.entry.js +19 -19
- package/dist/esm/kol-tabs.entry.js +9 -9
- package/dist/esm/kol-textarea.entry.js +20 -20
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +11 -11
- package/dist/esm/kol-toolbar.entry.js +33 -14
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +4 -4
- package/dist/esm/kol-tree-item.entry.js +9 -9
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +10 -10
- package/dist/esm/kolibri.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{resolve-props-DJxTzf-G.js → resolve-props-BTiKxg-8.js} +3 -3
- package/dist/{kolibri/resolve-props-DJxTzf-G.js.map → esm/resolve-props-BTiKxg-8.js.map} +1 -1
- package/dist/esm/{scroll-lock-BN6ZnBdc.js → scroll-lock-DRNyw9qH.js} +3 -3
- package/dist/{kolibri/scroll-lock-BN6ZnBdc.js.map → esm/scroll-lock-DRNyw9qH.js.map} +1 -1
- package/dist/esm/{suggestions-DlpHvEGv.js → suggestions-CG-TuGC4.js} +4 -4
- package/dist/esm/{suggestions-DlpHvEGv.js.map → suggestions-CG-TuGC4.js.map} +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-Xex3lIll.js → toggle-handler-aTxO0Wem.js} +5 -5
- package/dist/{kolibri/toggle-handler-Xex3lIll.js.map → esm/toggle-handler-aTxO0Wem.js.map} +1 -1
- package/dist/kolibri/{Heading-DXl16qig.js → Heading-BctDgC7M.js} +2 -2
- package/dist/kolibri/{Heading-DXl16qig.js.map → Heading-BctDgC7M.js.map} +1 -1
- package/dist/kolibri/api-B6fEjFVl.js +5 -0
- package/dist/{esm/api-C8TfIYlY.js.map → kolibri/api-B6fEjFVl.js.map} +1 -1
- package/dist/kolibri/api-T-JuZMlj.js +5 -0
- package/dist/kolibri/{api-BA-AFr5H.js.map → api-T-JuZMlj.js.map} +1 -1
- package/dist/kolibri/app-globals-CvvWI2x9.js +5 -0
- package/dist/kolibri/{app-globals-lFdBwFG2.js.map → app-globals-CvvWI2x9.js.map} +1 -1
- package/dist/kolibri/base-BARjFMg1.js +5 -0
- package/dist/kolibri/{base-DiSQvfGU.js.map → base-BARjFMg1.js.map} +1 -1
- package/dist/kolibri/{base-D8GcFhvD.js → base-BbVXW6YI.js} +2 -2
- package/dist/{esm/base-D8GcFhvD.js.map → kolibri/base-BbVXW6YI.js.map} +1 -1
- package/dist/kolibri/{base-B5F8ROuQ.js → base-D8yYjJsn.js} +2 -2
- package/dist/kolibri/{base-B5F8ROuQ.js.map → base-D8yYjJsn.js.map} +1 -1
- package/dist/kolibri/base-Dvr4F_Pr.js +5 -0
- package/dist/{esm/base-BpqjfzG1.js.map → kolibri/base-Dvr4F_Pr.js.map} +1 -1
- package/dist/kolibri/base-web-component-BzB5tP9s.js +5 -0
- package/dist/kolibri/base-web-component-BzB5tP9s.js.map +1 -0
- package/dist/kolibri/{base-web-component-BozlJoj7.js → base-web-component-DU3hnIWD.js} +2 -2
- package/dist/kolibri/{base-web-component-BozlJoj7.js.map → base-web-component-DU3hnIWD.js.map} +1 -1
- package/dist/kolibri/{behavior-BuNqmjz8.js → behavior-CbqCHL6O.js} +2 -2
- package/dist/kolibri/{behavior-BuNqmjz8.js.map → behavior-CbqCHL6O.js.map} +1 -1
- package/dist/kolibri/{color-Du3Ft0XV.js → color-QYuhlVFz.js} +2 -2
- package/dist/kolibri/{color-Du3Ft0XV.js.map → color-QYuhlVFz.js.map} +1 -1
- package/dist/kolibri/component-BaD1OTyv.js +5 -0
- package/dist/{esm/component-Da5dJMKj.js.map → kolibri/component-BaD1OTyv.js.map} +1 -1
- package/dist/kolibri/{component-DD5QqT5m.js → component-BjWF1SyZ.js} +2 -2
- package/dist/kolibri/{component-DD5QqT5m.js.map → component-BjWF1SyZ.js.map} +1 -1
- package/dist/kolibri/{component-Bd7PXqOG.js → component-Ch6fss2f.js} +2 -2
- package/dist/kolibri/{component-Bd7PXqOG.js.map → component-Ch6fss2f.js.map} +1 -1
- package/dist/kolibri/component-CmBM-Y1C.js +5 -0
- package/dist/kolibri/{component-C3aqLFK2.js.map → component-CmBM-Y1C.js.map} +1 -1
- package/dist/kolibri/component-CvhmYY4a.js +5 -0
- package/dist/kolibri/{component-xrrwVuiI.js.map → component-CvhmYY4a.js.map} +1 -1
- package/dist/kolibri/component-D0iTurA_.js +5 -0
- package/dist/kolibri/{component-De6Do_gt.js.map → component-D0iTurA_.js.map} +1 -1
- package/dist/kolibri/{component-BjH8s4-t.js → component-DKS73hKY.js} +2 -2
- package/dist/{esm/component-BjH8s4-t.js.map → kolibri/component-DKS73hKY.js.map} +1 -1
- package/dist/kolibri/component-DhBTawyT.js +5 -0
- package/dist/kolibri/{component-BxKN0JbT.js.map → component-DhBTawyT.js.map} +1 -1
- package/dist/kolibri/{component-CWGVLsSH.js → component-G9vQ1mQA.js} +2 -2
- package/dist/{esm/component-CWGVLsSH.js.map → kolibri/component-G9vQ1mQA.js.map} +1 -1
- package/dist/kolibri/{component-D_58mw87.js → component-QCFfSS76.js} +2 -2
- package/dist/{esm/component-D_58mw87.js.map → kolibri/component-QCFfSS76.js.map} +1 -1
- package/dist/kolibri/{component-BKOep2WQ.js → component-d1d-AIsY.js} +2 -2
- package/dist/{esm/component-BKOep2WQ.js.map → kolibri/component-d1d-AIsY.js.map} +1 -1
- package/dist/kolibri/{component-C9DexidK.js → component-sf_0WjJF.js} +2 -2
- package/dist/kolibri/{component-C9DexidK.js.map → component-sf_0WjJF.js.map} +1 -1
- package/dist/kolibri/contrast-DMN9saXP.js +5 -0
- package/dist/kolibri/contrast-DMN9saXP.js.map +1 -0
- package/dist/kolibri/{dev.utils-CYtV9X0K.js → dev.utils-BGy8dbtQ.js} +2 -2
- package/dist/kolibri/{dev.utils-CYtV9X0K.js.map → dev.utils-BGy8dbtQ.js.map} +1 -1
- package/dist/kolibri/devtools-CZ8Mnmwl.js +5 -0
- package/dist/{esm/devtools-B0qRaQdp.js.map → kolibri/devtools-CZ8Mnmwl.js.map} +1 -1
- package/dist/kolibri/field-control-CLnFuMmy.js +5 -0
- package/dist/{esm/field-control-C5hjw2Rb.js.map → kolibri/field-control-CLnFuMmy.js.map} +1 -1
- package/dist/kolibri/{group-2hP8qbvk.js → group-BAOmF5Ok.js} +2 -2
- package/dist/kolibri/{group-2hP8qbvk.js.map → group-BAOmF5Ok.js.map} +1 -1
- package/dist/kolibri/{index-DsCeQ9Ys.js → index-DAKQV03B.js} +2 -2
- package/dist/{esm/index-DsCeQ9Ys.js.map → kolibri/index-DAKQV03B.js.map} +1 -1
- package/dist/kolibri/input-D2i1QEbL.js +5 -0
- package/dist/kolibri/{input-Dp5NBocQ.js.map → input-D2i1QEbL.js.map} +1 -1
- package/dist/kolibri/{input-container-QA8-0_0p.js → input-container-wQm8-W3s.js} +2 -2
- package/dist/kolibri/{input-container-QA8-0_0p.js.map → input-container-wQm8-W3s.js.map} +1 -1
- package/dist/kolibri/{item-BIjqEkyy.js → item-DJ8LXOMv.js} +2 -2
- package/dist/{esm/item-BIjqEkyy.js.map → kolibri/item-DJ8LXOMv.js.map} +1 -1
- package/dist/kolibri/item-DbLIGnc9.js +5 -0
- package/dist/{esm/item-CXyolUj2.js.map → kolibri/item-DbLIGnc9.js.map} +1 -1
- package/dist/kolibri/{item-CaxJw3ad.js → item-Dkm57tce.js} +2 -2
- package/dist/kolibri/{item-CaxJw3ad.js.map → item-Dkm57tce.js.map} +1 -1
- package/dist/kolibri/{item-DY0fVVnj.js → item-DuBSR8BS.js} +2 -2
- package/dist/kolibri/{item-DY0fVVnj.js.map → item-DuBSR8BS.js.map} +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-click-button.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js.map +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skeleton.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js.map +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/resolve-props-BTiKxg-8.js +5 -0
- package/dist/{esm/resolve-props-DJxTzf-G.js.map → kolibri/resolve-props-BTiKxg-8.js.map} +1 -1
- package/dist/kolibri/{scroll-lock-BN6ZnBdc.js → scroll-lock-DRNyw9qH.js} +2 -2
- package/dist/{esm/scroll-lock-BN6ZnBdc.js.map → kolibri/scroll-lock-DRNyw9qH.js.map} +1 -1
- package/dist/kolibri/suggestions-CG-TuGC4.js +5 -0
- package/dist/kolibri/{suggestions-DlpHvEGv.js.map → suggestions-CG-TuGC4.js.map} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-aTxO0Wem.js +5 -0
- package/dist/{esm/toggle-handler-Xex3lIll.js.map → kolibri/toggle-handler-aTxO0Wem.js.map} +1 -1
- package/dist/types/components/toolbar/component.d.ts +2 -2
- package/dist/types/components.d.ts +0 -2
- package/dist/types/internal/functional-components/form-field/textarea.d.ts +1 -0
- package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/toolbar/item.d.ts +5 -2
- package/dist/types/schema/props/toolbar-items.d.ts +3 -1
- package/doc/popover-button.md +1 -1
- package/package.json +1 -1
- package/dist/cjs/base-web-component-C8MLLGxi.js.map +0 -1
- package/dist/cjs/contrast-kLMuDQLl.js.map +0 -1
- package/dist/esm/base-web-component-CkaKv7O0.js.map +0 -1
- package/dist/esm/contrast-BKAJJL2K.js.map +0 -1
- package/dist/kolibri/api-BA-AFr5H.js +0 -5
- package/dist/kolibri/api-C8TfIYlY.js +0 -5
- package/dist/kolibri/app-globals-lFdBwFG2.js +0 -5
- package/dist/kolibri/base-BpqjfzG1.js +0 -5
- package/dist/kolibri/base-DiSQvfGU.js +0 -5
- package/dist/kolibri/base-web-component-CkaKv7O0.js +0 -5
- package/dist/kolibri/base-web-component-CkaKv7O0.js.map +0 -1
- package/dist/kolibri/component-BxKN0JbT.js +0 -5
- package/dist/kolibri/component-C3aqLFK2.js +0 -5
- package/dist/kolibri/component-Da5dJMKj.js +0 -5
- package/dist/kolibri/component-De6Do_gt.js +0 -5
- package/dist/kolibri/component-xrrwVuiI.js +0 -5
- package/dist/kolibri/contrast-BKAJJL2K.js +0 -5
- package/dist/kolibri/contrast-BKAJJL2K.js.map +0 -1
- package/dist/kolibri/devtools-B0qRaQdp.js +0 -5
- package/dist/kolibri/field-control-C5hjw2Rb.js +0 -5
- package/dist/kolibri/input-Dp5NBocQ.js +0 -5
- package/dist/kolibri/item-CXyolUj2.js +0 -5
- package/dist/kolibri/resolve-props-DJxTzf-G.js +0 -5
- package/dist/kolibri/suggestions-DlpHvEGv.js +0 -5
- package/dist/kolibri/toggle-handler-Xex3lIll.js +0 -5
|
@@ -9,12 +9,12 @@ var baseWebComponent = require('./base-web-component-DK5Y-vq5.js');
|
|
|
9
9
|
var disabled = require('./disabled-B8tOrtj_.js');
|
|
10
10
|
var label = require('./label-DVnpZWVb.js');
|
|
11
11
|
var open = require('./open-XeILuCji.js');
|
|
12
|
-
var index = require('./index-
|
|
13
|
-
var Heading = require('./Heading-
|
|
12
|
+
var index = require('./index-RAfZF5x0.js');
|
|
13
|
+
var Heading = require('./Heading-yiwXjRrz.js');
|
|
14
14
|
var clsx = require('./clsx-Bm_HQUnh.js');
|
|
15
15
|
var elementInteraction = require('./element-interaction-7FI_z19L.js');
|
|
16
16
|
var blockBem = require('./block-bem-D7PDS6kC.js');
|
|
17
|
-
var component = require('./component-
|
|
17
|
+
var component = require('./component-Dd-PS3jp.js');
|
|
18
18
|
var events = require('./events-PISRnO5c.js');
|
|
19
19
|
|
|
20
20
|
const collapsibleCallbacksProp = baseWebComponent.createCallbacksPropDefinition();
|
|
@@ -104,6 +104,6 @@ exports.collapsibleCallbacksProp = collapsibleCallbacksProp;
|
|
|
104
104
|
exports.collapsiblePropsConfig = collapsiblePropsConfig;
|
|
105
105
|
exports.createCollapsibleOpenAnimation = createCollapsibleOpenAnimation;
|
|
106
106
|
exports.createCollapsibleToggleHandler = createCollapsibleToggleHandler;
|
|
107
|
-
//# sourceMappingURL=toggle-handler-
|
|
107
|
+
//# sourceMappingURL=toggle-handler-CENFGRWT.js.map
|
|
108
108
|
|
|
109
|
-
//# sourceMappingURL=toggle-handler-
|
|
109
|
+
//# sourceMappingURL=toggle-handler-CENFGRWT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-handler-kOflG5om.js","sources":["src/internal/props/collapsible-callbacks.ts","src/internal/functional-components/collapsible/api.tsx","src/internal/functional-components/collapsible/component.tsx","src/internal/functional-components/collapsible/open-animation.ts","src/internal/functional-components/collapsible/toggle-handler.ts"],"sourcesContent":["import type { CollapsibleCallbacksPropType } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createCallbacksPropDefinition } from './helpers/factory';\n\nexport type CollapsibleCallbacksProp = SimpleProp<'on', CollapsibleCallbacksPropType<boolean>>;\n\n/**\n * Callbacks prop shared by `kol-accordion` and `kol-details` — both expose the same\n * `onClick`/`onToggle` pair on their heading toggle button.\n */\nexport const collapsibleCallbacksProp = createCallbacksPropDefinition<CollapsibleCallbacksPropType<boolean>>();\n","import type { IconsPropType, KolFocusOptions } from '../../../schema';\nimport { collapsibleCallbacksProp, disabledProp, labelProp, levelProp, openProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\n/**\n * Props configuration shared by the collapsible components (`kol-accordion`, `kol-details`).\n *\n * `label` is the only required prop. All others are optional.\n *\n * Notes on prop choices:\n * - `labelProp` (not `labelWithExpertSlotProp`): the label labels the toggle button and has no\n * expert slot. It keeps the shared 2–80 character validation and accessibility hints.\n * - `openProp`: the toggle state. The public `_open` prop stays mutable and reflected on the web\n * component; the render prop mirrors it for the functional component.\n */\nexport const collapsiblePropsConfig = {\n\toptional: [collapsibleCallbacksProp, disabledProp, levelProp, openProp],\n\trequired: [labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type CollapsibleApi = ApiFromConfig<\n\ttypeof collapsiblePropsConfig,\n\t{\n\t\tCallbacks: {\n\t\t\t/**\n\t\t\t * Click handler bound to the `<summary>` element. Implemented by the web component,\n\t\t\t * which suppresses the user agent's own toggle (so the collapse can be animated), flips\n\t\t\t * the mutable `_open` prop and — delayed so the reflected attribute is already updated —\n\t\t\t * dispatches the custom `KolEvent.click`/`KolEvent.toggle` events on the host element\n\t\t\t * and invokes the consumer's `onClick`/`onToggle` callbacks.\n\t\t\t */\n\t\t\ttoggle: (event: MouseEvent) => void;\n\t\t};\n\t\tMethods: {\n\t\t\tclick: () => void;\n\t\t\tfocus: (options?: KolFocusOptions) => void;\n\t\t};\n\t\tRefs: {\n\t\t\t/** The `<summary>` element — the disclosure control `focus()` and `click()` delegate to. */\n\t\t\theadingButton: HTMLElement;\n\t\t};\n\t\tStates: {\n\t\t\t/**\n\t\t\t * DOM id of the collapsible content region, referenced by the summary's aria-controls\n\t\t\t * attribute. Derived once per web component instance.\n\t\t\t */\n\t\t\tcontrolId: string;\n\t\t\t/**\n\t\t\t * Whether the `open` attribute is set on `<details>`. Tracks {@link expanded}, except\n\t\t\t * while collapsing: the attribute has to outlive the class so the user agent keeps the\n\t\t\t * content rendered until the grid transition has finished.\n\t\t\t */\n\t\t\tdetailsOpen: boolean;\n\t\t\t/**\n\t\t\t * Whether the collapsible is visually expanded — drives the `--open` block modifier\n\t\t\t * and therefore the transition. Set one frame after {@link detailsOpen} when opening,\n\t\t\t * so the transition has a from-state to start from.\n\t\t\t */\n\t\t\texpanded: boolean;\n\t\t\t/**\n\t\t\t * DOM id of the heading toggle button, referenced by the content region's\n\t\t\t * aria-labelledby attribute. Derived once per web component instance.\n\t\t\t */\n\t\t\theadingId: string;\n\t\t\t/**\n\t\t\t * Duration of the open/close transition in milliseconds, from the theme's\n\t\t\t * `collapsibleTransitionMs` feature flag. Rendered as the CSS custom property\n\t\t\t * `--collapsible-transition-duration` on `<details>` so the stylesheet and the timer\n\t\t\t * that keeps the `open` attribute alive share one value.\n\t\t\t */\n\t\t\ttransitionMs: number;\n\t\t};\n\t}\n>;\n\n/**\n * The BEM blocks that render through `CollapsibleFC`.\n *\n * Both are registered in `schema/bem-registry.ts` with the identical element set\n * (`content`, `heading`, `wrapper`, `wrapper-animation`) and modifier set (`disabled`, `open`),\n * which is what lets one functional component serve both: `keyof` over the union of their maps is\n * still exactly those names.\n */\nexport type CollapsibleBlock = 'kol-accordion' | 'kol-details';\n\n/**\n * The per-component differences of the otherwise identical collapsible markup.\n *\n * These are neither public props nor component state, so they stay out of {@link CollapsibleApi}\n * and are passed as plain arguments by the rendering web component — the same way\n * `BemRootNodeFC` and `AriaDescriptionSpanFC` take their own local prop types.\n */\nexport type CollapsibleVariant = {\n\t/** BEM block of the rendering component. */\n\tblock: CollapsibleBlock;\n\t/**\n\t * Icon of the toggle control (`<summary>`). `kol-accordion` swaps it with the open state,\n\t * `kol-details` keeps one icon and rotates it via CSS.\n\t */\n\ticons: IconsPropType;\n\t/** Additional class on the content region — `kol-details` adds `indented-text`. */\n\tcontentClass?: string;\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport KolHeadingFc from '../../../functional-components/Heading/Heading';\nimport clsx from '../../../utils/clsx';\nimport { preventFocus } from '../../../utils/element-interaction';\nimport { getBlockBem } from '../bem-root-node/block-bem';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { SpanFC } from '../span/component';\nimport type { CollapsibleApi, CollapsibleVariant } from './api';\n\n/**\n * Renders a collapsible — `kol-accordion` and `kol-details` — on the native `<details>`/`<summary>`\n * elements.\n *\n * `<summary>` is the disclosure control: one tab stop, keyboard handling and the expanded state\n * come from the user agent. It has to be the first child of `<details>`, so the heading sits inside\n * the control; label and icon render through `SpanFC`.\n *\n * `level` is forwarded as `level ?? 0` because `KolHeadingFc` falls back to level 1 on `undefined`,\n * while the collapsible's own `_level` default is 0 — the bold `<strong>` rendering.\n *\n * `open` on `<details>` and the `--open` modifier are driven separately: the attribute has to be set\n * before the modifier flips so the grid transition has a from-state, and it has to outlive the\n * modifier on close so the collapse is visible. The web component owns that sequencing; the FC only\n * renders what it is told.\n */\nexport const CollapsibleFC: FC<FunctionalComponentProps<CollapsibleApi> & CollapsibleVariant> = (\n\t{ block, contentClass, controlId, detailsOpen, disabled, expanded, handleToggle, headingId, icons, label, level, refHeadingButton, transitionMs },\n\tchildren,\n) => {\n\tconst blockBem = getBlockBem(block);\n\n\treturn (\n\t\t<details\n\t\t\tclass={blockBem({\n\t\t\t\tdisabled: disabled === true,\n\t\t\t\topen: expanded === true,\n\t\t\t})}\n\t\t\topen={detailsOpen === true}\n\t\t\tstyle={{ '--collapsible-transition-duration': `${transitionMs}ms` }}\n\t\t>\n\t\t\t<summary\n\t\t\t\taria-controls={controlId}\n\t\t\t\taria-disabled={disabled === true ? 'true' : undefined}\n\t\t\t\tclass={blockBem('heading')}\n\t\t\t\tid={headingId}\n\t\t\t\tonClick={handleToggle}\n\t\t\t\tonMouseDown={disabled === true ? preventFocus : undefined}\n\t\t\t\tref={refHeadingButton}\n\t\t\t\ttabIndex={disabled === true ? -1 : undefined}\n\t\t\t>\n\t\t\t\t<KolHeadingFc level={level ?? 0}>\n\t\t\t\t\t<SpanFC icons={icons} label={label} />\n\t\t\t\t</KolHeadingFc>\n\t\t\t</summary>\n\t\t\t<div class={blockBem('wrapper')}>\n\t\t\t\t<div class={blockBem('wrapper-animation')}>\n\t\t\t\t\t<div\n\t\t\t\t\t\taria-hidden={expanded === false ? 'true' : undefined}\n\t\t\t\t\t\taria-labelledby={headingId}\n\t\t\t\t\t\tclass={clsx(blockBem('content'), contentClass)}\n\t\t\t\t\t\tid={controlId}\n\t\t\t\t\t\trole=\"region\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</details>\n\t);\n};\n","/**\n * Fallback duration of the open/close transition when the theme declares no\n * `collapsibleTransitionMs` feature flag. Mirrors the default of\n * `--collapsible-transition-duration` in `components/@shared/_collapsible.mixin.scss`.\n */\nexport const DEFAULT_COLLAPSIBLE_TRANSITION_MS = 300;\n\n/** Runs `callback` on the next frame; falls back to a macrotask where `requestAnimationFrame` is unavailable (SSR). */\nfunction onNextFrame(callback: () => void): () => void {\n\tif (typeof requestAnimationFrame === 'function') {\n\t\tconst handle = requestAnimationFrame(callback);\n\t\treturn () => cancelAnimationFrame(handle);\n\t}\n\tconst handle = setTimeout(callback, 0);\n\treturn () => clearTimeout(handle);\n}\n\nexport type CollapsibleOpenAnimationContext = {\n\t/** Duration of the CSS transition; the `open` attribute is kept on `<details>` until it has elapsed. */\n\tgetTransitionMs: () => number;\n\t/** Sets the `open` attribute on `<details>`. */\n\tsetDetailsOpen: (value: boolean) => void;\n\t/** Sets the `--open` block modifier, which drives the transition. */\n\tsetExpanded: (value: boolean) => void;\n};\n\nexport type CollapsibleOpenAnimation = {\n\t/**\n\t * Applies an open state to the two rendered flags.\n\t *\n\t * With `animate`, opening sets the `open` attribute first and the modifier one frame later — the\n\t * content is `display:none` while `<details>` is closed, so without that gap the transition has\n\t * no from-state and the panel snaps open. Collapsing does the reverse: the modifier goes first\n\t * and the attribute is removed once the transition has run.\n\t */\n\tsyncOpen: (open: boolean, animate: boolean) => void;\n\t/** Cancels pending frames and timers. Call from `disconnectedCallback`. */\n\tdispose: () => void;\n};\n\nexport function createCollapsibleOpenAnimation({ getTransitionMs, setDetailsOpen, setExpanded }: CollapsibleOpenAnimationContext): CollapsibleOpenAnimation {\n\tlet cancelPendingFrame: (() => void) | undefined;\n\tlet collapseTimeout: ReturnType<typeof setTimeout> | undefined;\n\n\tconst clearPending = (): void => {\n\t\tcancelPendingFrame?.();\n\t\tcancelPendingFrame = undefined;\n\t\tclearTimeout(collapseTimeout);\n\t\tcollapseTimeout = undefined;\n\t};\n\n\treturn {\n\t\tsyncOpen(open, animate) {\n\t\t\tclearPending();\n\n\t\t\tif (open) {\n\t\t\t\tsetDetailsOpen(true);\n\t\t\t\tif (animate) {\n\t\t\t\t\tcancelPendingFrame = onNextFrame(() => setExpanded(true));\n\t\t\t\t} else {\n\t\t\t\t\tsetExpanded(true);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetExpanded(false);\n\t\t\tif (animate) {\n\t\t\t\tcollapseTimeout = setTimeout(() => setDetailsOpen(false), getTransitionMs());\n\t\t\t} else {\n\t\t\t\tsetDetailsOpen(false);\n\t\t\t}\n\t\t},\n\t\tdispose: clearPending,\n\t};\n}\n","import type { CollapsibleCallbacksPropType } from '../../../schema';\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\n\n/**\n * Delay between flipping `_open` and announcing the new state.\n *\n * `_open` is declared `@Prop({ mutable: true, reflect: true })`, and Stencil writes the reflected\n * attribute asynchronously. Announcing synchronously would let a consumer callback read a stale\n * `_open` attribute off the host, so the announcement is deferred by one macrotask window.\n */\nconst ANNOUNCE_DELAY_MS = 25;\n\nexport type CollapsibleToggleContext = {\n\t/** The host element the DOM events are dispatched on. */\n\tgetHost: () => HTMLElement | undefined;\n\t/** The normalized `_on` render prop. Read at announce time so late assignments are picked up. */\n\tgetOn: () => CollapsibleCallbacksPropType<boolean>;\n\t/** Whether the collapsible currently refuses interaction. */\n\tisDisabled: () => boolean;\n\t/** The current normalized open state. */\n\tisOpen: () => boolean;\n\t/** Writes the component's mutable `_open` prop, which its watcher turns into rendered state. */\n\tsetOpen: (open: boolean) => void;\n};\n\n/**\n * Builds the `<summary>` click handler shared by `kol-accordion` and `kol-details`.\n *\n * The user agent's own toggle is suppressed: it flips `open` synchronously, which skips the\n * collapse transition and races the component's controlled state. Everything else follows the\n * native element — `<summary>` is still the focusable control, and Enter/Space arrive here as\n * clicks, so keyboard operation needs no extra handling.\n *\n * The new state is captured synchronously, before the deferred announcement, so two quick toggles\n * report their own value rather than the same final one twice.\n */\nexport function createCollapsibleToggleHandler({ getHost, getOn, isDisabled, isOpen, setOpen }: CollapsibleToggleContext): (event: MouseEvent) => void {\n\treturn (event: MouseEvent): void => {\n\t\tevent.preventDefault();\n\n\t\tif (isDisabled()) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst open = !isOpen();\n\t\tsetOpen(open);\n\n\t\tsetTimeout(() => {\n\t\t\tconst host = getHost();\n\t\t\tif (host) {\n\t\t\t\tdispatchDomEvent(host, KolEvent.click, open);\n\t\t\t\tdispatchDomEvent(host, KolEvent.toggle, open);\n\t\t\t}\n\n\t\t\tconst on = getOn();\n\t\t\ton.onClick?.(event, open);\n\t\t\ton.onToggle?.(event, open);\n\t\t}, ANNOUNCE_DELAY_MS);\n\t};\n}\n"],"names":["createCallbacksPropDefinition","disabledProp","levelProp","openProp","labelProp","blockBem","getBlockBem","h","preventFocus","KolHeadingFc","SpanFC","clsx","dispatchDomEvent","KolEvent"],"mappings":";;;;;;;;;;;;;;;;;;;AAUa,MAAA,wBAAwB,GAAGA,8CAA6B;;ACKxD,MAAA,sBAAsB,GAAG;IACrC,QAAQ,EAAE,CAAC,wBAAwB,EAAEC,qBAAY,EAAEC,eAAS,EAAEC,aAAQ,CAAC;IACvE,QAAQ,EAAE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,EAAE,IAAI,CAAC;SAC1B,EAAE,iBAAiB,CAAC;AACtB,KAAC;AACF;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"toggle-handler-CENFGRWT.js","sources":["src/internal/props/collapsible-callbacks.ts","src/internal/functional-components/collapsible/api.tsx","src/internal/functional-components/collapsible/component.tsx","src/internal/functional-components/collapsible/open-animation.ts","src/internal/functional-components/collapsible/toggle-handler.ts"],"sourcesContent":["import type { CollapsibleCallbacksPropType } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createCallbacksPropDefinition } from './helpers/factory';\n\nexport type CollapsibleCallbacksProp = SimpleProp<'on', CollapsibleCallbacksPropType<boolean>>;\n\n/**\n * Callbacks prop shared by `kol-accordion` and `kol-details` — both expose the same\n * `onClick`/`onToggle` pair on their heading toggle button.\n */\nexport const collapsibleCallbacksProp = createCallbacksPropDefinition<CollapsibleCallbacksPropType<boolean>>();\n","import type { IconsPropType, KolFocusOptions } from '../../../schema';\nimport { collapsibleCallbacksProp, disabledProp, labelProp, levelProp, openProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\n/**\n * Props configuration shared by the collapsible components (`kol-accordion`, `kol-details`).\n *\n * `label` is the only required prop. All others are optional.\n *\n * Notes on prop choices:\n * - `labelProp` (not `labelWithExpertSlotProp`): the label labels the toggle button and has no\n * expert slot. It keeps the shared 2–80 character validation and accessibility hints.\n * - `openProp`: the toggle state. The public `_open` prop stays mutable and reflected on the web\n * component; the render prop mirrors it for the functional component.\n */\nexport const collapsiblePropsConfig = {\n\toptional: [collapsibleCallbacksProp, disabledProp, levelProp, openProp],\n\trequired: [labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type CollapsibleApi = ApiFromConfig<\n\ttypeof collapsiblePropsConfig,\n\t{\n\t\tCallbacks: {\n\t\t\t/**\n\t\t\t * Click handler bound to the `<summary>` element. Implemented by the web component,\n\t\t\t * which suppresses the user agent's own toggle (so the collapse can be animated), flips\n\t\t\t * the mutable `_open` prop and — delayed so the reflected attribute is already updated —\n\t\t\t * dispatches the custom `KolEvent.click`/`KolEvent.toggle` events on the host element\n\t\t\t * and invokes the consumer's `onClick`/`onToggle` callbacks.\n\t\t\t */\n\t\t\ttoggle: (event: MouseEvent) => void;\n\t\t};\n\t\tMethods: {\n\t\t\tclick: () => void;\n\t\t\tfocus: (options?: KolFocusOptions) => void;\n\t\t};\n\t\tRefs: {\n\t\t\t/** The `<summary>` element — the disclosure control `focus()` and `click()` delegate to. */\n\t\t\theadingButton: HTMLElement;\n\t\t};\n\t\tStates: {\n\t\t\t/**\n\t\t\t * DOM id of the collapsible content region, referenced by the summary's aria-controls\n\t\t\t * attribute. Derived once per web component instance.\n\t\t\t */\n\t\t\tcontrolId: string;\n\t\t\t/**\n\t\t\t * Whether the `open` attribute is set on `<details>`. Tracks {@link expanded}, except\n\t\t\t * while collapsing: the attribute has to outlive the class so the user agent keeps the\n\t\t\t * content rendered until the grid transition has finished.\n\t\t\t */\n\t\t\tdetailsOpen: boolean;\n\t\t\t/**\n\t\t\t * Whether the collapsible is visually expanded — drives the `--open` block modifier\n\t\t\t * and therefore the transition. Set one frame after {@link detailsOpen} when opening,\n\t\t\t * so the transition has a from-state to start from.\n\t\t\t */\n\t\t\texpanded: boolean;\n\t\t\t/**\n\t\t\t * DOM id of the heading toggle button, referenced by the content region's\n\t\t\t * aria-labelledby attribute. Derived once per web component instance.\n\t\t\t */\n\t\t\theadingId: string;\n\t\t\t/**\n\t\t\t * Duration of the open/close transition in milliseconds, from the theme's\n\t\t\t * `collapsibleTransitionMs` feature flag. Rendered as the CSS custom property\n\t\t\t * `--collapsible-transition-duration` on `<details>` so the stylesheet and the timer\n\t\t\t * that keeps the `open` attribute alive share one value.\n\t\t\t */\n\t\t\ttransitionMs: number;\n\t\t};\n\t}\n>;\n\n/**\n * The BEM blocks that render through `CollapsibleFC`.\n *\n * Both are registered in `schema/bem-registry.ts` with the identical element set\n * (`content`, `heading`, `wrapper`, `wrapper-animation`) and modifier set (`disabled`, `open`),\n * which is what lets one functional component serve both: `keyof` over the union of their maps is\n * still exactly those names.\n */\nexport type CollapsibleBlock = 'kol-accordion' | 'kol-details';\n\n/**\n * The per-component differences of the otherwise identical collapsible markup.\n *\n * These are neither public props nor component state, so they stay out of {@link CollapsibleApi}\n * and are passed as plain arguments by the rendering web component — the same way\n * `BemRootNodeFC` and `AriaDescriptionSpanFC` take their own local prop types.\n */\nexport type CollapsibleVariant = {\n\t/** BEM block of the rendering component. */\n\tblock: CollapsibleBlock;\n\t/**\n\t * Icon of the toggle control (`<summary>`). `kol-accordion` swaps it with the open state,\n\t * `kol-details` keeps one icon and rotates it via CSS.\n\t */\n\ticons: IconsPropType;\n\t/** Additional class on the content region — `kol-details` adds `indented-text`. */\n\tcontentClass?: string;\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport KolHeadingFc from '../../../functional-components/Heading/Heading';\nimport clsx from '../../../utils/clsx';\nimport { preventFocus } from '../../../utils/element-interaction';\nimport { getBlockBem } from '../bem-root-node/block-bem';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { SpanFC } from '../span/component';\nimport type { CollapsibleApi, CollapsibleVariant } from './api';\n\n/**\n * Renders a collapsible — `kol-accordion` and `kol-details` — on the native `<details>`/`<summary>`\n * elements.\n *\n * `<summary>` is the disclosure control: one tab stop, keyboard handling and the expanded state\n * come from the user agent. It has to be the first child of `<details>`, so the heading sits inside\n * the control; label and icon render through `SpanFC`.\n *\n * `level` is forwarded as `level ?? 0` because `KolHeadingFc` falls back to level 1 on `undefined`,\n * while the collapsible's own `_level` default is 0 — the bold `<strong>` rendering.\n *\n * `open` on `<details>` and the `--open` modifier are driven separately: the attribute has to be set\n * before the modifier flips so the grid transition has a from-state, and it has to outlive the\n * modifier on close so the collapse is visible. The web component owns that sequencing; the FC only\n * renders what it is told.\n */\nexport const CollapsibleFC: FC<FunctionalComponentProps<CollapsibleApi> & CollapsibleVariant> = (\n\t{ block, contentClass, controlId, detailsOpen, disabled, expanded, handleToggle, headingId, icons, label, level, refHeadingButton, transitionMs },\n\tchildren,\n) => {\n\tconst blockBem = getBlockBem(block);\n\n\treturn (\n\t\t<details\n\t\t\tclass={blockBem({\n\t\t\t\tdisabled: disabled === true,\n\t\t\t\topen: expanded === true,\n\t\t\t})}\n\t\t\topen={detailsOpen === true}\n\t\t\tstyle={{ '--collapsible-transition-duration': `${transitionMs}ms` }}\n\t\t>\n\t\t\t<summary\n\t\t\t\taria-controls={controlId}\n\t\t\t\taria-disabled={disabled === true ? 'true' : undefined}\n\t\t\t\tclass={blockBem('heading')}\n\t\t\t\tid={headingId}\n\t\t\t\tonClick={handleToggle}\n\t\t\t\tonMouseDown={disabled === true ? preventFocus : undefined}\n\t\t\t\tref={refHeadingButton}\n\t\t\t\ttabIndex={disabled === true ? -1 : undefined}\n\t\t\t>\n\t\t\t\t<KolHeadingFc level={level ?? 0}>\n\t\t\t\t\t<SpanFC icons={icons} label={label} />\n\t\t\t\t</KolHeadingFc>\n\t\t\t</summary>\n\t\t\t<div class={blockBem('wrapper')}>\n\t\t\t\t<div class={blockBem('wrapper-animation')}>\n\t\t\t\t\t<div\n\t\t\t\t\t\taria-hidden={expanded === false ? 'true' : undefined}\n\t\t\t\t\t\taria-labelledby={headingId}\n\t\t\t\t\t\tclass={clsx(blockBem('content'), contentClass)}\n\t\t\t\t\t\tid={controlId}\n\t\t\t\t\t\trole=\"region\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</details>\n\t);\n};\n","/**\n * Fallback duration of the open/close transition when the theme declares no\n * `collapsibleTransitionMs` feature flag. Mirrors the default of\n * `--collapsible-transition-duration` in `components/@shared/_collapsible.mixin.scss`.\n */\nexport const DEFAULT_COLLAPSIBLE_TRANSITION_MS = 300;\n\n/** Runs `callback` on the next frame; falls back to a macrotask where `requestAnimationFrame` is unavailable (SSR). */\nfunction onNextFrame(callback: () => void): () => void {\n\tif (typeof requestAnimationFrame === 'function') {\n\t\tconst handle = requestAnimationFrame(callback);\n\t\treturn () => cancelAnimationFrame(handle);\n\t}\n\tconst handle = setTimeout(callback, 0);\n\treturn () => clearTimeout(handle);\n}\n\nexport type CollapsibleOpenAnimationContext = {\n\t/** Duration of the CSS transition; the `open` attribute is kept on `<details>` until it has elapsed. */\n\tgetTransitionMs: () => number;\n\t/** Sets the `open` attribute on `<details>`. */\n\tsetDetailsOpen: (value: boolean) => void;\n\t/** Sets the `--open` block modifier, which drives the transition. */\n\tsetExpanded: (value: boolean) => void;\n};\n\nexport type CollapsibleOpenAnimation = {\n\t/**\n\t * Applies an open state to the two rendered flags.\n\t *\n\t * With `animate`, opening sets the `open` attribute first and the modifier one frame later — the\n\t * content is `display:none` while `<details>` is closed, so without that gap the transition has\n\t * no from-state and the panel snaps open. Collapsing does the reverse: the modifier goes first\n\t * and the attribute is removed once the transition has run.\n\t */\n\tsyncOpen: (open: boolean, animate: boolean) => void;\n\t/** Cancels pending frames and timers. Call from `disconnectedCallback`. */\n\tdispose: () => void;\n};\n\nexport function createCollapsibleOpenAnimation({ getTransitionMs, setDetailsOpen, setExpanded }: CollapsibleOpenAnimationContext): CollapsibleOpenAnimation {\n\tlet cancelPendingFrame: (() => void) | undefined;\n\tlet collapseTimeout: ReturnType<typeof setTimeout> | undefined;\n\n\tconst clearPending = (): void => {\n\t\tcancelPendingFrame?.();\n\t\tcancelPendingFrame = undefined;\n\t\tclearTimeout(collapseTimeout);\n\t\tcollapseTimeout = undefined;\n\t};\n\n\treturn {\n\t\tsyncOpen(open, animate) {\n\t\t\tclearPending();\n\n\t\t\tif (open) {\n\t\t\t\tsetDetailsOpen(true);\n\t\t\t\tif (animate) {\n\t\t\t\t\tcancelPendingFrame = onNextFrame(() => setExpanded(true));\n\t\t\t\t} else {\n\t\t\t\t\tsetExpanded(true);\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetExpanded(false);\n\t\t\tif (animate) {\n\t\t\t\tcollapseTimeout = setTimeout(() => setDetailsOpen(false), getTransitionMs());\n\t\t\t} else {\n\t\t\t\tsetDetailsOpen(false);\n\t\t\t}\n\t\t},\n\t\tdispose: clearPending,\n\t};\n}\n","import type { CollapsibleCallbacksPropType } from '../../../schema';\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\n\n/**\n * Delay between flipping `_open` and announcing the new state.\n *\n * `_open` is declared `@Prop({ mutable: true, reflect: true })`, and Stencil writes the reflected\n * attribute asynchronously. Announcing synchronously would let a consumer callback read a stale\n * `_open` attribute off the host, so the announcement is deferred by one macrotask window.\n */\nconst ANNOUNCE_DELAY_MS = 25;\n\nexport type CollapsibleToggleContext = {\n\t/** The host element the DOM events are dispatched on. */\n\tgetHost: () => HTMLElement | undefined;\n\t/** The normalized `_on` render prop. Read at announce time so late assignments are picked up. */\n\tgetOn: () => CollapsibleCallbacksPropType<boolean>;\n\t/** Whether the collapsible currently refuses interaction. */\n\tisDisabled: () => boolean;\n\t/** The current normalized open state. */\n\tisOpen: () => boolean;\n\t/** Writes the component's mutable `_open` prop, which its watcher turns into rendered state. */\n\tsetOpen: (open: boolean) => void;\n};\n\n/**\n * Builds the `<summary>` click handler shared by `kol-accordion` and `kol-details`.\n *\n * The user agent's own toggle is suppressed: it flips `open` synchronously, which skips the\n * collapse transition and races the component's controlled state. Everything else follows the\n * native element — `<summary>` is still the focusable control, and Enter/Space arrive here as\n * clicks, so keyboard operation needs no extra handling.\n *\n * The new state is captured synchronously, before the deferred announcement, so two quick toggles\n * report their own value rather than the same final one twice.\n */\nexport function createCollapsibleToggleHandler({ getHost, getOn, isDisabled, isOpen, setOpen }: CollapsibleToggleContext): (event: MouseEvent) => void {\n\treturn (event: MouseEvent): void => {\n\t\tevent.preventDefault();\n\n\t\tif (isDisabled()) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst open = !isOpen();\n\t\tsetOpen(open);\n\n\t\tsetTimeout(() => {\n\t\t\tconst host = getHost();\n\t\t\tif (host) {\n\t\t\t\tdispatchDomEvent(host, KolEvent.click, open);\n\t\t\t\tdispatchDomEvent(host, KolEvent.toggle, open);\n\t\t\t}\n\n\t\t\tconst on = getOn();\n\t\t\ton.onClick?.(event, open);\n\t\t\ton.onToggle?.(event, open);\n\t\t}, ANNOUNCE_DELAY_MS);\n\t};\n}\n"],"names":["createCallbacksPropDefinition","disabledProp","levelProp","openProp","labelProp","blockBem","getBlockBem","h","preventFocus","KolHeadingFc","SpanFC","clsx","dispatchDomEvent","KolEvent"],"mappings":";;;;;;;;;;;;;;;;;;;AAUa,MAAA,wBAAwB,GAAGA,8CAA6B;;ACKxD,MAAA,sBAAsB,GAAG;IACrC,QAAQ,EAAE,CAAC,wBAAwB,EAAEC,qBAAY,EAAEC,eAAS,EAAEC,aAAQ,CAAC;IACvE,QAAQ,EAAE,CAACC,eAAS,CAAC;;;ACUf,MAAM,aAAa,GAAsE,CAC/F,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,EACjJ,QAAQ,KACL;AACH,IAAA,MAAMC,UAAQ,GAAGC,oBAAW,CAAC,KAAK,CAAC;IAEnC,QACCC,OAAA,CAAA,SAAA,EAAA,EACC,KAAK,EAAEF,UAAQ,CAAC;YACf,QAAQ,EAAE,QAAQ,KAAK,IAAI;YAC3B,IAAI,EAAE,QAAQ,KAAK,IAAI;SACvB,CAAC,EACF,IAAI,EAAE,WAAW,KAAK,IAAI,EAC1B,KAAK,EAAE,EAAE,mCAAmC,EAAE,CAAG,EAAA,YAAY,IAAI,EAAE,EAAA,EAEnEE,OAAA,CAAA,SAAA,EAAA,EAAA,eAAA,EACgB,SAAS,EAAA,eAAA,EACT,QAAQ,KAAK,IAAI,GAAG,MAAM,GAAG,SAAS,EACrD,KAA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GAAG,OAAO,EAAE;YACtB,IAAI,IAAI,EAAE;gBACTO,uBAAgB,CAAC,IAAI,EAAEC,eAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;gBAC5CD,uBAAgB,CAAC,IAAI,EAAEC,eAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;;AAG9C,YAAA,MAAM,EAAE,GAAG,KAAK,EAAE;AAClB,YAAA,CAAA,EAAA,GAAA,EAAE,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,IAAA,CAAA,EAAA,EAAG,KAAK,EAAE,IAAI,CAAC;AACzB,YAAA,CAAA,EAAA,GAAA,EAAE,CAAC,QAAQ,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,IAAA,CAAA,EAAA,EAAG,KAAK,EAAE,IAAI,CAAC;SAC1B,EAAE,iBAAiB,CAAC;AACtB,KAAC;AACF;;;;;;;;;"}
|
|
@@ -296,8 +296,8 @@
|
|
|
296
296
|
*/
|
|
297
297
|
@font-face {
|
|
298
298
|
font-family: "kolicons";
|
|
299
|
-
src: url("kolicons.eot?t=
|
|
300
|
-
src: url("kolicons.eot?t=
|
|
299
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
300
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
301
301
|
}
|
|
302
302
|
@layer kol-component {
|
|
303
303
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -296,8 +296,8 @@
|
|
|
296
296
|
*/
|
|
297
297
|
@font-face {
|
|
298
298
|
font-family: "kolicons";
|
|
299
|
-
src: url("kolicons.eot?t=
|
|
300
|
-
src: url("kolicons.eot?t=
|
|
299
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
300
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
301
301
|
}
|
|
302
302
|
@layer kol-component {
|
|
303
303
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "kolicons";
|
|
3
|
-
src: url("kolicons.eot?t=
|
|
4
|
-
src: url("kolicons.eot?t=
|
|
3
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
4
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
5
5
|
}
|
|
6
6
|
@layer kol-component {
|
|
7
7
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -159,7 +159,7 @@ export class KolInputPassword extends BaseTextInputWebComponent {
|
|
|
159
159
|
this.watchTooltipAlign(this._tooltipAlign);
|
|
160
160
|
this.watchVariant(this._variant);
|
|
161
161
|
this.watchIcons(this._icons);
|
|
162
|
-
this.
|
|
162
|
+
this.watchAutoComplete(this._autoComplete);
|
|
163
163
|
this.watchHasCounter(this._hasCounter);
|
|
164
164
|
this.watchMaxLengthBehavior(this._maxLengthBehavior);
|
|
165
165
|
this.initMaxLength(this._maxLength);
|
|
@@ -199,7 +199,7 @@ export class KolInputPassword extends BaseTextInputWebComponent {
|
|
|
199
199
|
}
|
|
200
200
|
render() {
|
|
201
201
|
const { startAdornment, endAdornment } = this.getTextInputAdornments(this.getVisibilityToggle());
|
|
202
|
-
return (h(Host, { key: '
|
|
202
|
+
return (h(Host, { key: '5f2990720fc1b301e3098a40371f8254977f9127' }, h(FormFieldFC, Object.assign({ key: '447c26b98a951438051637ccb7ec23d4d5ec727a' }, this.getTextFormFieldProps('kol-input-password password')), h(InputContainerFC, { key: '8daae2d01f57ff9ae9385877c9ff24b7e4a0da17', disabled: this.getRenderProp('disabled'), msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(InputFC, Object.assign({ key: '6340cc5f5568d8d68dfc296af4f3c38843c78b4f' }, this.getTextInputProps({}, { type: this.getRenderProp('visibilityToggle') && this.passwordVisible ? 'text' : 'password' })))))));
|
|
203
203
|
}
|
|
204
204
|
static get is() { return "kol-input-password"; }
|
|
205
205
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/input-password/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAuBxF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,uDAAuD,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AAGnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AACnG,O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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AA1Ga;IAHZ,aAAa,CAAC,QAAQ,CAAC;6CAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;6CACc","sourcesContent":["import type { JSX, VNode } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tFocusableElement,\n\tFormFieldLabelInfoPopoverProps,\n\tIconsHorizontalPropType,\n\tInputPasswordProps,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n\tVisibilityTogglePropType,\n} from '../../schema';\nimport { devHint } from '../../schema';\n\nimport { translate } from '../../i18n';\nimport { ButtonFC } from '../../internal/functional-components/button/component';\nimport { createButtonItem } from '../../internal/functional-components/button/item';\nimport { FormFieldFC } from '../../internal/functional-components/form-field/component';\nimport { InputFC } from '../../internal/functional-components/form-field/input';\nimport { InputContainerFC } from '../../internal/functional-components/form-field/input-container';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { InputPasswordApi } from '../../internal/functional-components/input-password/api';\nimport { inputPasswordPropsConfig } from '../../internal/functional-components/input-password/api';\nimport { BaseTextInputWebComponent } from '../../internal/functional-components/text-input/base-web-component';\nimport { visibilityToggleProp } from '../../internal/props';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Password** input type creates an input field for passwords. The input is masked with dot symbols.\n *\n * @slot - The label of the input field.\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-input-password',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputPassword\n\textends BaseTextInputWebComponent<InputPasswordApi>\n\timplements ClickableElement, FocusableElement, InputPasswordProps, WebComponentInterface<InputPasswordApi>\n{\n\t@Element() protected readonly host?: HTMLKolInputPasswordElement;\n\n\t@State() public id = createUniqueId('input-password');\n\n\t/** Whether the info popover of the label is open. */\n\t@State() public infoPopoverOpen = false;\n\n\t@State() public inputHasFocus = false;\n\n\t@State() public passwordVisible = false;\n\n\tprivate readonly visibilityToggle = createButtonItem(() => this.host);\n\n\tprivate readonly translateHidePassword = translate('kol-hide-password');\n\n\tprivate readonly translateShowPassword = translate('kol-show-password');\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation('password', this._name);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t@Watch('_accessKey')\n\tpublic watchAccessKey(value?: string): void {\n\t\tthis.applyAccessKey(value);\n\t}\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t * Uses ElementInternals.ariaDetailsElements to cross the Shadow DOM boundary.\n\t * Supported by desktop screen readers (NVDA, JAWS with Chrome/Firefox).\n\t * Not yet supported by mobile screen readers (TalkBack, VoiceOver iOS).\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic watchAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.applyAriaDetails(value);\n\t}\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t@Watch('_autoComplete')\n\tpublic watchAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.applyAutoComplete(value);\n\t\tif (value === 'on') {\n\t\t\tdevHint(`[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field`);\n\t\t}\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t@Watch('_hasCounter')\n\tpublic watchHasCounter(value?: boolean): void {\n\t\tthis.applyHasCounter(value);\n\t}\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t@Watch('_maxLengthBehavior')\n\tpublic watchMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.applyMaxLengthBehavior(value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t@Watch('_hideMsg')\n\tpublic watchHideMsg(value?: boolean): void {\n\t\tthis.applyHideMsg(value);\n\t}\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t@Watch('_hint')\n\tpublic watchHint(value?: string): void {\n\t\tthis.applyHint(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.applyIcons(value);\n\t}\n\n\t/**\n\t * Defines the informational popover after the label.\n\t */\n\t@Prop() public _infoPopover?: FormFieldLabelInfoPopoverProps;\n\n\t@Watch('_infoPopover')\n\tpublic watchInfoPopover(value?: FormFieldLabelInfoPopoverProps): void {\n\t\tthis.applyInfoPopover(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t@Watch('_maxLength')\n\tpublic watchMaxLength(value?: number): void {\n\t\tthis.applyMaxLength(value);\n\t}\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t@Watch('_msg')\n\tpublic watchMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.applyMsg(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t@Watch('_name')\n\tpublic watchName(value?: NamePropType): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t@Watch('_on')\n\tpublic watchOn(value?: InputTypeOnDefault): void {\n\t\tthis.applyOn(value);\n\t}\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t@Watch('_pattern')\n\tpublic watchPattern(value?: string): void {\n\t\tthis.applyPattern(value);\n\t}\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t@Watch('_placeholder')\n\tpublic watchPlaceholder(value?: string): void {\n\t\tthis.applyPlaceholder(value);\n\t}\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t@Watch('_readOnly')\n\tpublic watchReadOnly(value?: boolean): void {\n\t\tthis.applyReadOnly(value);\n\t}\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t@Watch('_required')\n\tpublic watchRequired(value?: boolean): void {\n\t\tthis.applyRequired(value);\n\t}\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tthis.applyShortKey(value);\n\t}\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@Watch('_smartButton')\n\tpublic watchSmartButton(value?: Stringified<InternalButtonProps>): void {\n\t\tthis.applySmartButton(value);\n\t}\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t@Watch('_touched')\n\tpublic watchTouched(value?: boolean): void {\n\t\tthis.applyTouched(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: string): void {\n\t\tthis.applyValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tthis.applyVariant(value);\n\t}\n\n\t/**\n\t * Activates the show password button\n\t */\n\t@Prop() public _visibilityToggle?: VisibilityTogglePropType = false;\n\n\t@Watch('_visibilityToggle')\n\tpublic watchVisibilityToggle(value?: VisibilityTogglePropType): void {\n\t\tvisibilityToggleProp.apply(value, (v) => this.setRenderProp('visibilityToggle', v));\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(inputPasswordPropsConfig);\n\t\tthis.unsetRenderProp('smartButton');\n\t\tthis._touched = this._touched === true;\n\t\tthis.watchAriaDetails(this._ariaDetails);\n\t\tthis.watchName(this._name);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTouched(this._touched);\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchMsg(this._msg);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideMsg(this._hideMsg);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchHint(this._hint);\n\t\tthis.watchInfoPopover(this._infoPopover);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchSmartButton(this._smartButton);\n\t\tthis.watchOn(this._on);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchVariant(this._variant);\n\t\tthis.watchIcons(this._icons);\n\t\t// Unlike the watcher, loading gives no hint for `'on'` (#11054).\n\t\tthis.applyAutoComplete(this._autoComplete);\n\t\tthis.watchHasCounter(this._hasCounter);\n\t\tthis.watchMaxLengthBehavior(this._maxLengthBehavior);\n\t\tthis.initMaxLength(this._maxLength);\n\t\tthis.watchPattern(this._pattern);\n\t\tthis.watchPlaceholder(this._placeholder);\n\t\tthis.watchReadOnly(this._readOnly);\n\t\tthis.watchRequired(this._required);\n\t\tthis.watchVisibilityToggle(this._visibilityToggle);\n\t\tthis.initValue(this._value);\n\t\tthis.initHasValue();\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tthis.didLoadTextInput();\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncFormField();\n\t\tthis.visibilityToggle.syncListeners();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.visibilityToggle.destroy();\n\t\tthis.destroyTextInput();\n\t}\n\n\tprivate readonly handleVisibilityToggle = (): void => {\n\t\tthis.passwordVisible = !this.passwordVisible;\n\t\tthis.ctaRef.el?.focus();\n\t};\n\n\tprivate getVisibilityToggle(): JSX.Element | null {\n\t\tif (!this.getRenderProp('visibilityToggle')) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (\n\t\t\t<ButtonFC\n\t\t\t\t{...this.visibilityToggle.getFcProps(\n\t\t\t\t\t{\n\t\t\t\t\t\t_label: this.passwordVisible ? this.translateHidePassword : this.translateShowPassword,\n\t\t\t\t\t\t_icons: this.passwordVisible ? 'kolicon-eye-closed' : 'kolicon-eye',\n\t\t\t\t\t\t_hideLabel: true,\n\t\t\t\t\t\t_disabled: this._disabled,\n\t\t\t\t\t\t_on: { onClick: this.handleVisibilityToggle },\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tclass: 'kol-input-password__password-toggle-button kol-input-container__smart-button',\n\t\t\t\t\t\t'data-testid': 'kol-input-password-toggle-button',\n\t\t\t\t\t},\n\t\t\t\t)}\n\t\t\t/>\n\t\t);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { startAdornment, endAdornment } = this.getTextInputAdornments(this.getVisibilityToggle() as VNode | null);\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<FormFieldFC {...this.getTextFormFieldProps('kol-input-password password')}>\n\t\t\t\t\t<InputContainerFC\n\t\t\t\t\t\tdisabled={this.getRenderProp('disabled')}\n\t\t\t\t\t\tmsg={this.getRenderProp('msg')}\n\t\t\t\t\t\ttouched={this.getRenderProp('touched')}\n\t\t\t\t\t\tstartAdornment={startAdornment}\n\t\t\t\t\t\tendAdornment={endAdornment}\n\t\t\t\t\t>\n\t\t\t\t\t\t<InputFC {...this.getTextInputProps({}, { type: this.getRenderProp('visibilityToggle') && this.passwordVisible ? 'text' : 'password' })} />\n\t\t\t\t\t</InputContainerFC>\n\t\t\t\t</FormFieldFC>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/input-password/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAuBxF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,SAAS,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAzGa;IAHZ,aAAa,CAAC,QAAQ,CAAC;6CAGuC;AAOlD;IADZ,aAAa,CAAC,QAAQ,CAAC;6CACc","sourcesContent":["import type { JSX, VNode } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport type {\n\tAriaDetailsPropType,\n\tAutoCompletePropType,\n\tClickableElement,\n\tFocusableElement,\n\tFormFieldLabelInfoPopoverProps,\n\tIconsHorizontalPropType,\n\tInputPasswordProps,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMaxLengthBehaviorPropType,\n\tMsgPropType,\n\tNamePropType,\n\tShortKeyPropType,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n\tVisibilityTogglePropType,\n} from '../../schema';\nimport { devHint } from '../../schema';\n\nimport { translate } from '../../i18n';\nimport { ButtonFC } from '../../internal/functional-components/button/component';\nimport { createButtonItem } from '../../internal/functional-components/button/item';\nimport { FormFieldFC } from '../../internal/functional-components/form-field/component';\nimport { InputFC } from '../../internal/functional-components/form-field/input';\nimport { InputContainerFC } from '../../internal/functional-components/form-field/input-container';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { InputPasswordApi } from '../../internal/functional-components/input-password/api';\nimport { inputPasswordPropsConfig } from '../../internal/functional-components/input-password/api';\nimport { BaseTextInputWebComponent } from '../../internal/functional-components/text-input/base-web-component';\nimport { visibilityToggleProp } from '../../internal/props';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * The **Password** input type creates an input field for passwords. The input is masked with dot symbols.\n *\n * @slot - The label of the input field.\n * @slot expert - Custom label content, e.g. for rich text or icons. https://public-ui.github.io/docs/concepts/expert-slot\n */\n@Component({\n\ttag: 'kol-input-password',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolInputPassword\n\textends BaseTextInputWebComponent<InputPasswordApi>\n\timplements ClickableElement, FocusableElement, InputPasswordProps, WebComponentInterface<InputPasswordApi>\n{\n\t@Element() protected readonly host?: HTMLKolInputPasswordElement;\n\n\t@State() public id = createUniqueId('input-password');\n\n\t/** Whether the info popover of the label is open. */\n\t@State() public infoPopoverOpen = false;\n\n\t@State() public inputHasFocus = false;\n\n\t@State() public passwordVisible = false;\n\n\tprivate readonly visibilityToggle = createButtonItem(() => this.host);\n\n\tprivate readonly translateHidePassword = translate('kol-hide-password');\n\n\tprivate readonly translateShowPassword = translate('kol-show-password');\n\n\tpublic constructor() {\n\t\tsuper();\n\t\tthis.initFormAssociation('password', this._name);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t@Watch('_accessKey')\n\tpublic watchAccessKey(value?: string): void {\n\t\tthis.applyAccessKey(value);\n\t}\n\n\t/**\n\t * References an external element by ID that provides accessible details for this input.\n\t * Uses ElementInternals.ariaDetailsElements to cross the Shadow DOM boundary.\n\t * Supported by desktop screen readers (NVDA, JAWS with Chrome/Firefox).\n\t * Not yet supported by mobile screen readers (TalkBack, VoiceOver iOS).\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic watchAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.applyAriaDetails(value);\n\t}\n\n\t/**\n\t * Defines whether the input can be auto-completed.\n\t */\n\t@Prop() public _autoComplete?: AutoCompletePropType = 'off';\n\n\t@Watch('_autoComplete')\n\tpublic watchAutoComplete(value?: AutoCompletePropType): void {\n\t\tthis.applyAutoComplete(value);\n\t\tif (value === 'on') {\n\t\t\tdevHint(`[KolInputPassword] The 'autocomplete' option should not be set to \"on\" for a password input field`);\n\t\t}\n\t}\n\n\t/**\n\t * Shows a character counter for the input element.\n\t */\n\t@Prop() public _hasCounter?: boolean = false;\n\n\t@Watch('_hasCounter')\n\tpublic watchHasCounter(value?: boolean): void {\n\t\tthis.applyHasCounter(value);\n\t}\n\n\t/**\n\t * Defines the behavior when maxLength is set. 'hard' sets the maxlength attribute, 'soft' shows a character counter without preventing input.\n\t */\n\t@Prop() public _maxLengthBehavior?: MaxLengthBehaviorPropType = 'hard';\n\n\t@Watch('_maxLengthBehavior')\n\tpublic watchMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void {\n\t\tthis.applyMaxLengthBehavior(value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t@Watch('_disabled')\n\tpublic watchDisabled(value?: boolean): void {\n\t\tthis.applyDisabled(value);\n\t}\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t@Watch('_hideMsg')\n\tpublic watchHideMsg(value?: boolean): void {\n\t\tthis.applyHideMsg(value);\n\t}\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t@Watch('_hideLabel')\n\tpublic watchHideLabel(value?: boolean): void {\n\t\tthis.applyHideLabel(value);\n\t}\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t@Watch('_hint')\n\tpublic watchHint(value?: string): void {\n\t\tthis.applyHint(value);\n\t}\n\n\t/**\n\t * Defines the icon classnames.\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.applyIcons(value);\n\t}\n\n\t/**\n\t * Defines the informational popover after the label.\n\t */\n\t@Prop() public _infoPopover?: FormFieldLabelInfoPopoverProps;\n\n\t@Watch('_infoPopover')\n\tpublic watchInfoPopover(value?: FormFieldLabelInfoPopoverProps): void {\n\t\tthis.applyInfoPopover(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.applyLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum number of input characters.\n\t */\n\t@Prop() public _maxLength?: number;\n\n\t@Watch('_maxLength')\n\tpublic watchMaxLength(value?: number): void {\n\t\tthis.applyMaxLength(value);\n\t}\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t@Watch('_msg')\n\tpublic watchMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.applyMsg(value);\n\t}\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t@Watch('_name')\n\tpublic watchName(value?: NamePropType): void {\n\t\tthis.applyName(value);\n\t}\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t@Watch('_on')\n\tpublic watchOn(value?: InputTypeOnDefault): void {\n\t\tthis.applyOn(value);\n\t}\n\n\t/**\n\t * Defines a validation pattern for the input field.\n\t */\n\t@Prop() public _pattern?: string;\n\n\t@Watch('_pattern')\n\tpublic watchPattern(value?: string): void {\n\t\tthis.applyPattern(value);\n\t}\n\n\t/**\n\t * Defines the placeholder for input field. To be shown when there's no value.\n\t */\n\t@Prop() public _placeholder?: string;\n\n\t@Watch('_placeholder')\n\tpublic watchPlaceholder(value?: string): void {\n\t\tthis.applyPlaceholder(value);\n\t}\n\n\t/**\n\t * Makes the input element read only.\n\t * @TODO: Change type back to `ReadOnlyPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _readOnly?: boolean = false;\n\n\t@Watch('_readOnly')\n\tpublic watchReadOnly(value?: boolean): void {\n\t\tthis.applyReadOnly(value);\n\t}\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t@Watch('_required')\n\tpublic watchRequired(value?: boolean): void {\n\t\tthis.applyRequired(value);\n\t}\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t@Watch('_shortKey')\n\tpublic watchShortKey(value?: ShortKeyPropType): void {\n\t\tthis.applyShortKey(value);\n\t}\n\n\t/**\n\t * Allows to add a button with an arbitrary action within the element (_hide-label only).\n\t */\n\t@Prop() public _smartButton?: Stringified<InternalButtonProps>;\n\n\t@Watch('_smartButton')\n\tpublic watchSmartButton(value?: Stringified<InternalButtonProps>): void {\n\t\tthis.applySmartButton(value);\n\t}\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t@Watch('_syncValueBySelector')\n\tpublic watchSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.applySyncValueBySelector(value);\n\t}\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t@Watch('_tooltipAlign')\n\tpublic watchTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tthis.applyTooltipAlign(value);\n\t}\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t@Watch('_touched')\n\tpublic watchTouched(value?: boolean): void {\n\t\tthis.applyTouched(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: string;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: string): void {\n\t\tthis.applyValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: VariantClassNamePropType): void {\n\t\tthis.applyVariant(value);\n\t}\n\n\t/**\n\t * Activates the show password button\n\t */\n\t@Prop() public _visibilityToggle?: VisibilityTogglePropType = false;\n\n\t@Watch('_visibilityToggle')\n\tpublic watchVisibilityToggle(value?: VisibilityTogglePropType): void {\n\t\tvisibilityToggleProp.apply(value, (v) => this.setRenderProp('visibilityToggle', v));\n\t}\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<string | undefined> {\n\t\treturn this.ctaRef.el?.value;\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.initRenderProps(inputPasswordPropsConfig);\n\t\tthis.unsetRenderProp('smartButton');\n\t\tthis._touched = this._touched === true;\n\t\tthis.watchAriaDetails(this._ariaDetails);\n\t\tthis.watchName(this._name);\n\t\tthis.watchSyncValueBySelector(this._syncValueBySelector);\n\t\tthis.watchTouched(this._touched);\n\t\tthis.watchAccessKey(this._accessKey);\n\t\tthis.watchMsg(this._msg);\n\t\tthis.watchDisabled(this._disabled);\n\t\tthis.watchHideMsg(this._hideMsg);\n\t\tthis.watchHideLabel(this._hideLabel);\n\t\tthis.watchHint(this._hint);\n\t\tthis.watchInfoPopover(this._infoPopover);\n\t\tthis.watchLabel(this._label);\n\t\tthis.watchShortKey(this._shortKey);\n\t\tthis.watchSmartButton(this._smartButton);\n\t\tthis.watchOn(this._on);\n\t\tthis.watchTooltipAlign(this._tooltipAlign);\n\t\tthis.watchVariant(this._variant);\n\t\tthis.watchIcons(this._icons);\n\t\tthis.watchAutoComplete(this._autoComplete);\n\t\tthis.watchHasCounter(this._hasCounter);\n\t\tthis.watchMaxLengthBehavior(this._maxLengthBehavior);\n\t\tthis.initMaxLength(this._maxLength);\n\t\tthis.watchPattern(this._pattern);\n\t\tthis.watchPlaceholder(this._placeholder);\n\t\tthis.watchReadOnly(this._readOnly);\n\t\tthis.watchRequired(this._required);\n\t\tthis.watchVisibilityToggle(this._visibilityToggle);\n\t\tthis.initValue(this._value);\n\t\tthis.initHasValue();\n\t}\n\n\tpublic componentDidLoad(): void {\n\t\tthis.didLoadTextInput();\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tthis.syncFormField();\n\t\tthis.visibilityToggle.syncListeners();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.visibilityToggle.destroy();\n\t\tthis.destroyTextInput();\n\t}\n\n\tprivate readonly handleVisibilityToggle = (): void => {\n\t\tthis.passwordVisible = !this.passwordVisible;\n\t\tthis.ctaRef.el?.focus();\n\t};\n\n\tprivate getVisibilityToggle(): JSX.Element | null {\n\t\tif (!this.getRenderProp('visibilityToggle')) {\n\t\t\treturn null;\n\t\t}\n\t\treturn (\n\t\t\t<ButtonFC\n\t\t\t\t{...this.visibilityToggle.getFcProps(\n\t\t\t\t\t{\n\t\t\t\t\t\t_label: this.passwordVisible ? this.translateHidePassword : this.translateShowPassword,\n\t\t\t\t\t\t_icons: this.passwordVisible ? 'kolicon-eye-closed' : 'kolicon-eye',\n\t\t\t\t\t\t_hideLabel: true,\n\t\t\t\t\t\t_disabled: this._disabled,\n\t\t\t\t\t\t_on: { onClick: this.handleVisibilityToggle },\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tclass: 'kol-input-password__password-toggle-button kol-input-container__smart-button',\n\t\t\t\t\t\t'data-testid': 'kol-input-password-toggle-button',\n\t\t\t\t\t},\n\t\t\t\t)}\n\t\t\t/>\n\t\t);\n\t}\n\n\tpublic render(): JSX.Element {\n\t\tconst { startAdornment, endAdornment } = this.getTextInputAdornments(this.getVisibilityToggle() as VNode | null);\n\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<FormFieldFC {...this.getTextFormFieldProps('kol-input-password password')}>\n\t\t\t\t\t<InputContainerFC\n\t\t\t\t\t\tdisabled={this.getRenderProp('disabled')}\n\t\t\t\t\t\tmsg={this.getRenderProp('msg')}\n\t\t\t\t\t\ttouched={this.getRenderProp('touched')}\n\t\t\t\t\t\tstartAdornment={startAdornment}\n\t\t\t\t\t\tendAdornment={endAdornment}\n\t\t\t\t\t>\n\t\t\t\t\t\t<InputFC {...this.getTextInputProps({}, { type: this.getRenderProp('visibilityToggle') && this.passwordVisible ? 'text' : 'password' })} />\n\t\t\t\t\t</InputContainerFC>\n\t\t\t\t</FormFieldFC>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
}
|
|
289
289
|
@font-face {
|
|
290
290
|
font-family: "kolicons";
|
|
291
|
-
src: url("kolicons.eot?t=
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
291
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
292
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
293
293
|
}
|
|
294
294
|
@layer kol-component {
|
|
295
295
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
}
|
|
284
284
|
@font-face {
|
|
285
285
|
font-family: "kolicons";
|
|
286
|
-
src: url("kolicons.eot?t=
|
|
287
|
-
src: url("kolicons.eot?t=
|
|
286
|
+
src: url("kolicons.eot?t=1791539188494"); /* IE9*/
|
|
287
|
+
src: url("kolicons.eot?t=1791539188494#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1791539188494") format("woff2"), url("kolicons.woff?t=1791539188494") format("woff"), url("kolicons.ttf?t=1791539188494") format("truetype"), url("kolicons.svg?t=1791539188494#kolicons") format("svg"); /* iOS 4.1- */
|
|
288
288
|
}
|
|
289
289
|
@layer kol-component {
|
|
290
290
|
[class^=kolicon-], [class*=" kolicon-"] {
|