@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-D8GcFhvD.js","sources":["src/components/link/base.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { LinkApi } from '../../internal/functional-components/link/api';\nimport { linkPropsConfig } from '../../internal/functional-components/link/api';\nimport { LinkFC } from '../../internal/functional-components/link/component';\nimport { TooltipBehavior } from '../../internal/functional-components/tooltip/behavior';\nimport {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaCurrentValueProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaOwnsProp,\n\tcustomClassProp,\n\tdisabledProp,\n\tdownloadProp,\n\thideLabelProp,\n\threfProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkCallbacksProp,\n\tlinkRoleProp,\n\tlinkTargetProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../internal/props';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tAriaOwnsPropType,\n\tCustomClassPropType,\n\tDownloadPropType,\n\tHrefPropType,\n\tInlinePropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { setEventTarget } from '../../schema';\nimport { createCtaRef } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { UnsubscribeFunction } from './ariaCurrentService';\nimport { onLocationChange } from './ariaCurrentService';\n\n/**\n * Shared orchestrator implementation for every custom element that renders `LinkFC`:\n * `kol-link` and `kol-link-button`.\n *\n * The class carries everything that does not need a Stencil decorator — the composed\n * `TooltipBehavior`, the `aria-current` location subscription, the anchor click handler, one\n * `apply*` method per prop and the `LinkFC` render call. The concrete element keeps what Stencil\n * has to see in the component class itself: `@Component`, `@Element`, `@State`, `@Method`, every\n * `@Prop` with its `@Watch` (whose body is a one-line call into the matching `apply*` method) and\n * the lifecycle methods, which delegate here (ARC42 § 9, design decision 16).\n *\n * This is not a layer between the web component and the functional component — it *is* the web\n * component's implementation, shared between the tag variants of one FC.\n */\nexport abstract class BaseLinkWebComponent extends BaseWebComponent<LinkApi> {\n\t/** The custom element; declared with `@Element()` by the concrete class. */\n\tprotected abstract readonly host?: HTMLElement;\n\n\t/* An `<a>` carries no native `disabled`, so a disabled link stays focusable. Emptying the ref\n\t keeps the public `focus()` and `click()` methods from reaching it. */\n\tprotected readonly ctaRef = createCtaRef<HTMLAnchorElement>(() => this.getRenderProp('disabled') === true);\n\n\t// --- Composed behaviors ---\n\n\tprotected readonly tooltipBehavior = new TooltipBehavior(this.stateAccess);\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\n\n\t// --- Lifecycle helpers (called from the concrete element's lifecycle methods) ---\n\n\t/**\n\t * Seeds the render props. Call first in `componentWillLoad`, before the prop watchers run.\n\t */\n\tprotected initLinkRenderProps(): void {\n\t\tthis.initRenderProps(linkPropsConfig);\n\t\t// An unset tabindex must not render as `tabindex=\"0\"` — links are natively tabbable and\n\t\t// the attribute would trigger focus outlines that the predecessor did not draw.\n\t\tthis.unsetRenderProp('tabIndex');\n\t}\n\n\t/**\n\t * Subscribes to location changes and hands the resolved label and alignment to the tooltip\n\t * behavior. Call last in `componentWillLoad`, after every prop watcher has run.\n\t */\n\tprotected initLinkBehaviors(): void {\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tconst href = this.getRenderProp('href');\n\t\t\tconst ariaCurrentValue = this.getRenderProp('ariaCurrentValue');\n\t\t\tconst newValue = location === href ? ariaCurrentValue : '';\n\t\t\tif (this.getState('ariaCurrent') !== newValue) {\n\t\t\t\tthis.setState('ariaCurrent', newValue);\n\t\t\t}\n\t\t});\n\n\t\tthis.tooltipBehavior.componentWillLoad({\n\t\t\tlabel: this.getTooltipLabel(),\n\t\t\talign: this.getRenderProp('tooltipAlign'),\n\t\t});\n\t}\n\n\t/** Call from `componentDidRender`. */\n\tprotected syncTooltipListeners(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipBehavior.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\t/** Call from `disconnectedCallback`. */\n\tprotected destroyLinkBehaviors(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.unsubscribeOnLocationChange();\n\t\t\tthis.unsubscribeOnLocationChange = undefined;\n\t\t}\n\t\tthis.tooltipBehavior.destroy();\n\t}\n\n\t// --- Click handling ---\n\n\tprotected readonly handleAnchorClick = (event: Event): void => {\n\t\tthis.tooltipBehavior.hideTooltip();\n\t\tconst disabled = this.getRenderProp('disabled');\n\t\tif (disabled === true) {\n\t\t\tevent.preventDefault();\n\t\t\treturn;\n\t\t}\n\t\tconst href = this.getRenderProp('href');\n\t\tconst on = this.getRenderProp('on');\n\t\tif (typeof on?.onClick === 'function') {\n\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\ton.onClick(event, href);\n\t\t}\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, href);\n\t\t}\n\t};\n\n\t// --- Tooltip helpers ---\n\n\tprivate getTooltipLabel(): string {\n\t\tconst label = this.getRenderProp('label');\n\t\tif (typeof label === 'string' && label.length > 0) {\n\t\t\treturn label;\n\t\t}\n\t\tconst href = this.getRenderProp('href');\n\t\treturn typeof href === 'string' ? href : '';\n\t}\n\n\t// --- Prop application (one per prop; the concrete element's watchers delegate here) ---\n\n\tprotected applyAccessKey(value?: AccessKeyPropType): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t}\n\n\tprotected applyAriaControls(value?: string): void {\n\t\tariaControlsProp.apply(value, (v) => this.setRenderProp('ariaControls', v));\n\t}\n\n\tprotected applyAriaCurrentValue(value?: AriaCurrentValuePropType): void {\n\t\tariaCurrentValueProp.apply(value, (v) => this.setRenderProp('ariaCurrentValue', v));\n\t}\n\n\tprotected applyAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tariaDescriptionProp.apply(value, (v) => this.setRenderProp('ariaDescription', v));\n\t}\n\n\tprotected applyAriaExpanded(value?: boolean): void {\n\t\tariaExpandedProp.apply(value, (v) => this.setRenderProp('ariaExpanded', v));\n\t}\n\n\tprotected applyAriaOwns(value?: AriaOwnsPropType): void {\n\t\tariaOwnsProp.apply(value, (v) => this.setRenderProp('ariaOwns', v));\n\t}\n\n\tprotected applyCustomClass(value?: CustomClassPropType): void {\n\t\tcustomClassProp.apply(value, (v) => this.setRenderProp('customClass', v));\n\t}\n\n\tprotected applyDisabled(value?: boolean): void {\n\t\tdisabledProp.apply(value, (v) => this.setRenderProp('disabled', v));\n\t}\n\n\tprotected applyDownload(value?: DownloadPropType): void {\n\t\tdownloadProp.apply(value, (v) => this.setRenderProp('download', v));\n\t}\n\n\tprotected applyHideLabel(value?: boolean): void {\n\t\thideLabelProp.apply(value, (v) => this.setRenderProp('hideLabel', v));\n\t}\n\n\tprotected applyHref(value?: HrefPropType): void {\n\t\threfProp.apply(value, (v) => this.setRenderProp('href', v));\n\t}\n\n\tprotected applyIcons(value?: Stringified<KoliBriIconsProp>): void {\n\t\tspanIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\tprotected applyInline(value?: InlinePropType): void {\n\t\tinlineProp.apply(value, (v) => this.setRenderProp('inline', v));\n\t}\n\n\tprotected applyLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.setState('expertSlot', value === '');\n\t\t\tthis.tooltipBehavior.watchLabel(this.getTooltipLabel());\n\t\t});\n\t}\n\n\tprotected applyOn(value?: LinkOnCallbacksPropType): void {\n\t\tlinkCallbacksProp.apply(value, (v) => this.setRenderProp('on', v));\n\t}\n\n\tprotected applyRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tlinkRoleProp.apply(value, (v) => this.setRenderProp('role', v));\n\t}\n\n\tprotected applyShortKey(value?: ShortKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t}\n\n\tprotected applyTabIndex(value?: number): void {\n\t\t// The props config seeds `tabIndex` with its default `0`, but an unset tabindex must not\n\t\t// render as `tabindex=\"0\"`. Unsetting the prop has to restore that state, so the else branch\n\t\t// is not optional: without it a reset would keep the previous number.\n\t\tif (typeof value === 'number') {\n\t\t\ttabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n\t\t} else {\n\t\t\tthis.unsetRenderProp('tabIndex');\n\t\t}\n\t}\n\n\tprotected applyTarget(value?: LinkTargetPropType): void {\n\t\tlinkTargetProp.apply(value, (v) => this.setRenderProp('target', v));\n\t}\n\n\tprotected applyTooltipAlign(value?: TooltipAlignPropType): void {\n\t\ttooltipAlignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('tooltipAlign', v);\n\t\t\tthis.tooltipBehavior.watchAlign(v);\n\t\t});\n\t}\n\n\tprotected applyVariant(value?: VariantClassNamePropType): void {\n\t\tvariantProp.apply(value, (v) => this.setRenderProp('variant', v));\n\t}\n\n\t// --- Refs ---\n\n\tprivate readonly setAnchorRef = (el?: HTMLAnchorElement): void => {\n\t\tthis.ctaRef(el);\n\t};\n\n\t// --- Render ---\n\n\t/** Renders `LinkFC` from the current render props and state. */\n\tprotected renderLinkFC(): JSX.Element {\n\t\treturn (\n\t\t\t<LinkFC\n\t\t\t\taccessKey={this.getRenderProp('accessKey')}\n\t\t\t\tariaControls={this.getRenderProp('ariaControls')}\n\t\t\t\tariaCurrent={this.getState('ariaCurrent')}\n\t\t\t\tariaCurrentValue={this.getRenderProp('ariaCurrentValue')}\n\t\t\t\tariaDescription={this.getRenderProp('ariaDescription')}\n\t\t\t\tariaDescriptionId={this.getState('ariaDescriptionId')}\n\t\t\t\tariaExpanded={this.getRenderProp('ariaExpanded')}\n\t\t\t\tariaOwns={this.getRenderProp('ariaOwns')}\n\t\t\t\tcustomClass={this.getRenderProp('customClass')}\n\t\t\t\tdisabled={this.getRenderProp('disabled')}\n\t\t\t\tdownload={this.getRenderProp('download')}\n\t\t\t\thandleAnchorClick={this.handleAnchorClick}\n\t\t\t\thideLabel={this.getRenderProp('hideLabel')}\n\t\t\t\thref={this.getRenderProp('href')}\n\t\t\t\ticons={this.getRenderProp('icons')}\n\t\t\t\tinline={this.getRenderProp('inline')}\n\t\t\t\tlabel={this.getRenderProp('label')}\n\t\t\t\ton={this.getRenderProp('on')}\n\t\t\t\trefAnchor={this.setAnchorRef}\n\t\t\t\trefTooltip={this.tooltipBehavior.setTooltipElementRef}\n\t\t\t\trole={this.getRenderProp('role')}\n\t\t\t\tshortKey={this.getRenderProp('shortKey')}\n\t\t\t\ttabIndex={this.getRenderProp('tabIndex')}\n\t\t\t\ttarget={this.getRenderProp('target')}\n\t\t\t\ttooltipAlign={this.getRenderProp('tooltipAlign')}\n\t\t\t\tvariant={this.getRenderProp('variant')}\n\t\t\t\texpertSlot={this.getState('expertSlot')}\n\t\t\t/>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsEM,MAAgB,oBAAqB,SAAQ,gBAAyB,CAAA;AAA5E,IAAA,WAAA,GAAA;;AAMoB,QAAA,IAAA,CAAA,MAAM,GAAG,YAAY,CAAoB,MAAM,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;QAIvF,IAAe,CAAA,eAAA,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAqDvD,QAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,KAAY,KAAU;AAC7D,YAAA,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;YAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;AAC/C,YAAA,IAAI,QAAQ,KAAK,IAAI,EAAE;gBACtB,KAAK,CAAC,cAAc,EAAE;gBACtB;;YAED,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;YACvC,MAAM,EAAE,GAAG,IAAI,CAAC,aAAa,C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AAC,EAChD,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EACxC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAC9C,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EACxC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EACxC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,EACzC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,EAC1C,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAChC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAClC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EACpC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAClC,EAAE,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,IAAI,CAAC,YAAY,EAC5B,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,oBAAoB,EACrD,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAChC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EACxC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,EACxC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EACpC,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,EAChD,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,EACtC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EACtC,CAAA;;AAGJ;;;;"}
|
|
1
|
+
{"version":3,"file":"base-BbVXW6YI.js","sources":["src/components/link/base.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { LinkApi } from '../../internal/functional-components/link/api';\nimport { linkPropsConfig } from '../../internal/functional-components/link/api';\nimport { LinkFC } from '../../internal/functional-components/link/component';\nimport { TooltipBehavior } from '../../internal/functional-components/tooltip/behavior';\nimport {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaCurrentValueProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaOwnsProp,\n\tcustomClassProp,\n\tdisabledProp,\n\tdownloadProp,\n\thideLabelProp,\n\threfProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkCallbacksProp,\n\tlinkRoleProp,\n\tlinkTargetProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../internal/props';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaCurrentValuePropType,\n\tAriaDescriptionPropType,\n\tAriaOwnsPropType,\n\tCustomClassPropType,\n\tDownloadPropType,\n\tHrefPropType,\n\tInlinePropType,\n\tKoliBriIconsProp,\n\tLabelWithExpertSlotPropType,\n\tLinkOnCallbacksPropType,\n\tLinkTargetPropType,\n\tShortKeyPropType,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { setEventTarget } from '../../schema';\nimport { createCtaRef } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport type { UnsubscribeFunction } from './ariaCurrentService';\nimport { onLocationChange } from './ariaCurrentService';\n\n/**\n * Shared orchestrator implementation for every custom element that renders `LinkFC`:\n * `kol-link` and `kol-link-button`.\n *\n * The class carries everything that does not need a Stencil decorator — the composed\n * `TooltipBehavior`, the `aria-current` location subscription, the anchor click handler, one\n * `apply*` method per prop and the `LinkFC` render call. The concrete element keeps what Stencil\n * has to see in the component class itself: `@Component`, `@Element`, `@State`, `@Method`, every\n * `@Prop` with its `@Watch` (whose body is a one-line call into the matching `apply*` method) and\n * the lifecycle methods, which delegate here (ARC42 § 9, design decision 16).\n *\n * This is not a layer between the web component and the functional component — it *is* the web\n * component's implementation, shared between the tag variants of one FC.\n */\nexport abstract class BaseLinkWebComponent extends BaseWebComponent<LinkApi> {\n\t/** The custom element; declared with `@Element()` by the concrete class. */\n\tprotected abstract readonly host?: HTMLElement;\n\n\t/* An `<a>` carries no native `disabled`, so a disabled link stays focusable. Emptying the ref\n\t keeps the public `focus()` and `click()` methods from reaching it. */\n\tprotected readonly ctaRef = createCtaRef<HTMLAnchorElement>(() => this.getRenderProp('disabled') === true);\n\n\t// --- Composed behaviors ---\n\n\tprotected readonly tooltipBehavior = new TooltipBehavior(this.stateAccess);\n\tprivate unsubscribeOnLocationChange?: UnsubscribeFunction;\n\n\t// --- Lifecycle helpers (called from the concrete element's lifecycle methods) ---\n\n\t/**\n\t * Seeds the render props. Call first in `componentWillLoad`, before the prop watchers run.\n\t */\n\tprotected initLinkRenderProps(): void {\n\t\tthis.initRenderProps(linkPropsConfig);\n\t\t// An unset tabindex must not render as `tabindex=\"0\"` — links are natively tabbable and\n\t\t// the attribute would trigger focus outlines that the predecessor did not draw.\n\t\tthis.unsetRenderProp('tabIndex');\n\t}\n\n\t/**\n\t * Subscribes to location changes and hands the resolved label and alignment to the tooltip\n\t * behavior. Call last in `componentWillLoad`, after every prop watcher has run.\n\t */\n\tprotected initLinkBehaviors(): void {\n\t\tthis.unsubscribeOnLocationChange = onLocationChange((location) => {\n\t\t\tconst href = this.getRenderProp('href');\n\t\t\tconst ariaCurrentValue = this.getRenderProp('ariaCurrentValue');\n\t\t\tconst newValue = location === href ? ariaCurrentValue : '';\n\t\t\tif (this.getState('ariaCurrent') !== newValue) {\n\t\t\t\tthis.setState('ariaCurrent', newValue);\n\t\t\t}\n\t\t});\n\n\t\tthis.tooltipBehavior.componentWillLoad({\n\t\t\tlabel: this.getTooltipLabel(),\n\t\t\talign: this.getRenderProp('tooltipAlign'),\n\t\t});\n\t}\n\n\t/** Call from `componentDidRender`. */\n\tprotected syncTooltipListeners(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipBehavior.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\t/** Call from `disconnectedCallback`. */\n\tprotected destroyLinkBehaviors(): void {\n\t\tif (this.unsubscribeOnLocationChange) {\n\t\t\tthis.unsubscribeOnLocationChange();\n\t\t\tthis.unsubscribeOnLocationChange = undefined;\n\t\t}\n\t\tthis.tooltipBehavior.destroy();\n\t}\n\n\t// --- Click handling ---\n\n\tprotected readonly handleAnchorClick = (event: Event): void => {\n\t\tthis.tooltipBehavior.hideTooltip();\n\t\tconst disabled = this.getRenderProp('disabled');\n\t\tif (disabled === true) {\n\t\t\tevent.preventDefault();\n\t\t\treturn;\n\t\t}\n\t\tconst href = this.getRenderProp('href');\n\t\tconst on = this.getRenderProp('on');\n\t\tif (typeof on?.onClick === 'function') {\n\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\ton.onClick(event, href);\n\t\t}\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, href);\n\t\t}\n\t};\n\n\t// --- Tooltip helpers ---\n\n\tprivate getTooltipLabel(): string {\n\t\tconst label = this.getRenderProp('label');\n\t\tif (typeof label === 'string' && label.length > 0) {\n\t\t\treturn label;\n\t\t}\n\t\tconst href = this.getRenderProp('href');\n\t\treturn typeof href === 'string' ? href : '';\n\t}\n\n\t// --- Prop application (one per prop; the concrete element's watchers delegate here) ---\n\n\tprotected applyAccessKey(value?: AccessKeyPropType): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t}\n\n\tprotected applyAriaControls(value?: string): void {\n\t\tariaControlsProp.apply(value, (v) => this.setRenderProp('ariaControls', v));\n\t}\n\n\tprotected applyAriaCurrentValue(value?: AriaCurrentValuePropType): void {\n\t\tariaCurrentValueProp.apply(value, (v) => this.setRenderProp('ariaCurrentValue', v));\n\t}\n\n\tprotected applyAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tariaDescriptionProp.apply(value, (v) => this.setRenderProp('ariaDescription', v));\n\t}\n\n\tprotected applyAriaExpanded(value?: boolean): void {\n\t\tariaExpandedProp.apply(value, (v) => this.setRenderProp('ariaExpanded', v));\n\t}\n\n\tprotected applyAriaOwns(value?: AriaOwnsPropType): void {\n\t\tariaOwnsProp.apply(value, (v) => this.setRenderProp('ariaOwns', v));\n\t}\n\n\tprotected applyCustomClass(value?: CustomClassPropType): void {\n\t\tcustomClassProp.apply(value, (v) => this.setRenderProp('customClass', v));\n\t}\n\n\tprotected applyDisabled(value?: boolean): void {\n\t\tdisabledProp.apply(value, (v) => this.setRenderProp('disabled', v));\n\t}\n\n\tprotected applyDownload(value?: DownloadPropType): void {\n\t\tdownloadProp.apply(value, (v) => this.setRenderProp('download', v));\n\t}\n\n\tprotected applyHideLabel(value?: boolean): void {\n\t\thideLabelProp.apply(value, (v) => this.setRenderProp('hideLabel', v));\n\t}\n\n\tprotected applyHref(value?: HrefPropType): void {\n\t\threfProp.apply(value, (v) => this.setRenderProp('href', v));\n\t}\n\n\tprotected applyIcons(value?: Stringified<KoliBriIconsProp>): void {\n\t\tspanIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\tprotected applyInline(value?: InlinePropType): void {\n\t\tinlineProp.apply(value, (v) => this.setRenderProp('inline', v));\n\t}\n\n\tprotected applyLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.setState('expertSlot', value === '');\n\t\t\tthis.tooltipBehavior.watchLabel(this.getTooltipLabel());\n\t\t});\n\t}\n\n\tprotected applyOn(value?: LinkOnCallbacksPropType): void {\n\t\tlinkCallbacksProp.apply(value, (v) => this.setRenderProp('on', v));\n\t}\n\n\tprotected applyRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tlinkRoleProp.apply(value, (v) => this.setRenderProp('role', v));\n\t}\n\n\tprotected applyShortKey(value?: ShortKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t}\n\n\tprotected applyTabIndex(value?: number): void {\n\t\t// The props config seeds `tabIndex` with its default `0`, but an unset tabindex must not\n\t\t// render as `tabindex=\"0\"`. Unsetting the prop has to restore that state, so the else branch\n\t\t// is not optional: without it a reset would keep the previous number.\n\t\tif (typeof value === 'number') {\n\t\t\ttabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n\t\t} else {\n\t\t\tthis.unsetRenderProp('tabIndex');\n\t\t}\n\t}\n\n\tprotected applyTarget(value?: LinkTargetPropType): void {\n\t\tlinkTargetProp.apply(value, (v) => this.setRenderProp('target', v));\n\t}\n\n\tprotected applyTooltipAlign(value?: TooltipAlignPropType): void {\n\t\ttooltipAlignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('tooltipAlign', v);\n\t\t\tthis.tooltipBehavior.watchAlign(v);\n\t\t});\n\t}\n\n\tprotected applyVariant(value?: VariantClassNamePropType): void {\n\t\tvariantProp.apply(value, (v) => this.setRenderProp('variant', v));\n\t}\n\n\t// --- Refs ---\n\n\tprivate readonly setAnchorRef = (el?: HTMLAnchorElement): void => {\n\t\tthis.ctaRef(el);\n\t};\n\n\t// --- Render ---\n\n\t/** Renders `LinkFC` from the current render props and state. */\n\tprotected renderLinkFC(): JSX.Element {\n\t\treturn (\n\t\t\t<LinkFC\n\t\t\t\taccessKey={this.getRenderProp('accessKey')}\n\t\t\t\tariaControls={this.getRenderProp('ariaControls')}\n\t\t\t\tariaCurrent={this.getState('ariaCurrent')}\n\t\t\t\tariaCurrentValue={this.getRenderProp('ariaCurrentValue')}\n\t\t\t\tariaDescription={this.getRenderProp('ariaDescription')}\n\t\t\t\tariaDescriptionId={this.getState('ariaDescriptionId')}\n\t\t\t\tariaExpanded={this.getRenderProp('ariaExpanded')}\n\t\t\t\tariaOwns={this.getRenderProp('ariaOwns')}\n\t\t\t\tcustomClass={this.getRenderProp('customClass')}\n\t\t\t\tdisabled={this.getRenderProp('disabled')}\n\t\t\t\tdownload={this.getRenderProp('download')}\n\t\t\t\thandleAnchorClick={this.handleAnchorClick}\n\t\t\t\thideLabel={this.getRenderProp('hideLabel')}\n\t\t\t\thref={this.getRenderProp('href')}\n\t\t\t\ticons={this.getRenderProp('icons')}\n\t\t\t\tinline={this.getRenderProp('inline')}\n\t\t\t\tlabel={this.getRenderProp('label')}\n\t\t\t\ton={this.getRenderProp('on')}\n\t\t\t\trefAnchor={this.setAnchorRef}\n\t\t\t\trefTooltip={this.tooltipBehavior.setTooltipElementRef}\n\t\t\t\trole={this.getRenderProp('role')}\n\t\t\t\tshortKey={this.getRenderProp('shortKey')}\n\t\t\t\ttabIndex={this.getRenderProp('tabIndex')}\n\t\t\t\ttarget={this.getRenderProp('target')}\n\t\t\t\ttooltipAlign={this.getRenderProp('tooltipAlign')}\n\t\t\t\tvariant={this.getRenderProp('variant')}\n\t\t\t\texpertSlot={this.getState('expertSlot')}\n\t\t\t/>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsEM,MAAgB,oBAAqB,SAAQ,gBAAyB,CAAA;AAA5E,IAAA,WAAA,GAAA;;AAMoB,QAAA,IAAA,CAAA,MAAM,GAAG,YAAY,CAAoB,MAAM,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;QAIvF,IAAe,CAAA,eAAA,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAqDvD,QAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,KAAY,KAAU;AAC7D,YAAA,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;YAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC;AAC/C,YAAA,IAAI,QAAQ,KAAK,IAAI,EAAE;gBACtB,KAAK,CAAC,cAAc,EAAE;gBACtB;;YAED,MAAM,IAAI,GAAG,I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liBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DAKQV03B.js';
|
|
5
5
|
import { s as setEventTarget, X } from './common-BqpMtheU.js';
|
|
6
6
|
import { B as BaseWebComponent } from './base-web-component-3R1Dy3QK.js';
|
|
7
7
|
import { b as buttonPropsConfig, e as ariaHasPopupProp, a as ariaSelectedProp, c as buttonCallbacksProp, d as buttonTypeProp } from './api-BvTefIaj.js';
|
|
8
|
-
import { B as ButtonFC } from './component-
|
|
8
|
+
import { B as ButtonFC } from './component-CmBM-Y1C.js';
|
|
9
9
|
import { F as FormAssociationBehavior } from './behavior-DnkpB_7O.js';
|
|
10
10
|
import { T as TooltipBehavior, i as idProp } from './behavior-D1kOlK6p.js';
|
|
11
11
|
import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, s as spanIconsProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, t as tabIndexProp, e as tooltipAlignProp, v as variantProp } from './variant-CeijQFzL.js';
|
|
@@ -210,6 +210,6 @@ class BaseButtonWebComponent extends BaseWebComponent {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
export { BaseButtonWebComponent as B };
|
|
213
|
-
//# sourceMappingURL=base-
|
|
213
|
+
//# sourceMappingURL=base-D8yYjJsn.js.map
|
|
214
214
|
|
|
215
|
-
//# sourceMappingURL=base-
|
|
215
|
+
//# sourceMappingURL=base-D8yYjJsn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-B5F8ROuQ.js","sources":["src/components/button/base.tsx"],"sourcesContent":["import type { JSX } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport { getFeatureFlag } from 'adopted-style-sheets';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { ButtonApi } from '../../internal/functional-components/button/api';\nimport { buttonPropsConfig } from '../../internal/functional-components/button/api';\nimport { ButtonFC } from '../../internal/functional-components/button/component';\nimport { FormAssociationBehavior } from '../../internal/functional-components/form-association/behavior';\nimport type { FunctionalComponentProps } from '../../internal/functional-components/generic-types';\nimport { TooltipBehavior } from '../../internal/functional-components/tooltip/behavior';\nimport {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaHasPopupProp,\n\tariaSelectedProp,\n\tbuttonCallbacksProp,\n\tbuttonTypeProp,\n\tcustomClassProp,\n\tdisabledProp,\n\thideLabelProp,\n\tidProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkRoleProp,\n\tnameProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../internal/props';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tCustomClassPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { setEventTarget } from '../../schema';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport { createCtaRef } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\n\n/**\n * Shared orchestrator implementation for every custom element that renders `ButtonFC`:\n * `kol-button`, `kol-button-link` and `kol-split-button`.\n *\n * The class carries everything that does not need a Stencil decorator — the composed\n * `TooltipBehavior`, the form-association adapter, the event handlers, one `apply*` method per\n * prop and the `ButtonFC` render call. The concrete element keeps what Stencil has to see in the\n * component class itself: `@Component`, `@Element`, `@State`, `@Method`, every `@Prop` with its\n * `@Watch` (whose body is a one-line call into the matching `apply*` method) and the lifecycle\n * methods, which delegate here (ARC42 § 9, design decision 16).\n *\n * This is not a layer between the web component and the functional component — it *is* the web\n * component's implementation, shared between the tag variants of one FC.\n */\nexport abstract class BaseButtonWebComponent extends BaseWebComponent<ButtonApi> {\n\t/** The custom element; declared with `@Element()` by the concrete class. */\n\tprotected abstract readonly host?: HTMLElement;\n\n\tprotected readonly ctaRef = createCtaRef<HTMLButtonElement>();\n\n\t// --- Composed behaviors ---\n\n\tprotected readonly tooltipBehavior = new TooltipBehavior(this.stateAccess);\n\n\tprivate formAssociation!: FormAssociationBehavior;\n\n\t/**\n\t * The raw `_value`. It is neither rendered nor normalized (see `buttonPropsConfig`), but the\n\t * click handler hands it to the consumer callback and the custom event, so the last applied\n\t * value is kept here.\n\t */\n\tprivate formValue?: StencilUnknown;\n\n\t/**\n\t * Creates the form association. Must be called from the concrete element's constructor (after\n\t * `super()`), not from this base class's constructor: Stencil registers the host element at the\n\t * start of the *component* class's constructor, so `this.host` is only populated once the base\n\t * constructor has returned.\n\t *\n\t * No name is passed, because the name is only applied in `componentWillLoad`. The button therefore\n\t * never creates a hidden form element (#11036).\n\t */\n\tprotected initFormAssociation(): void {\n\t\tthis.formAssociation = new FormAssociationBehavior(BaseWebComponent.stateLess, { host: this.host, type: 'button' });\n\t}\n\n\t// --- Lifecycle helpers (called from the concrete element's lifecycle methods) ---\n\n\t/**\n\t * Seeds the render props. Call first in `componentWillLoad`, before the prop watchers run.\n\t */\n\tprotected initButtonRenderProps(): void {\n\t\tthis.initRenderProps(buttonPropsConfig);\n\t\t// Seed `tabIndex` as unset before any watcher runs: an unset tabindex must not render as\n\t\t// `tabindex=\"0\"` — buttons are natively tabbable and the attribute would pin them into the\n\t\t// document tab order. `applyTabIndex` does the same for elements that expose `_tabIndex`,\n\t\t// but a `shadow: false` element can abort mid-initialization under SSR (the form association\n\t\t// finds no host with a shadow root, because `instanceof Element` fails in Stencil's mock DOM,\n\t\t// then throws on `attachInternals(undefined)`, and Stencil swallows the error but renders\n\t\t// anyway, #11034). Without this line the props config default `0` would survive such an abort.\n\t\tthis.unsetRenderProp('tabIndex');\n\t}\n\n\t/**\n\t * Hands the resolved label and alignment to the tooltip behavior. Call last in\n\t * `componentWillLoad`, after every prop watcher has run.\n\t */\n\tprotected initTooltipBehavior(): void {\n\t\tthis.tooltipBehavior.componentWillLoad({\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\talign: this.getRenderProp('tooltipAlign'),\n\t\t});\n\t}\n\n\t/** Call from `componentDidRender`. */\n\tprotected syncTooltipListeners(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipBehavior.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\t/** Call from `disconnectedCallback`. */\n\tprotected destroyTooltipBehavior(): void {\n\t\tthis.tooltipBehavior.destroy();\n\t}\n\n\t// --- Event handling ---\n\n\tprotected readonly handleClick = (event: MouseEvent): void => {\n\t\tevent.stopPropagation();\n\t\tthis.tooltipBehavior.hideTooltip();\n\n\t\tconst type = this.getRenderProp('type');\n\t\tif (type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({ form: this.host, ref: this.ctaRef.el });\n\t\t} else if (type === 'reset') {\n\t\t\tpropagateResetEventToForm({ form: this.host, ref: this.ctaRef.el });\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.formAssociation.setFormAssociatedValue(this.formValue);\n\n\t\t\tconst onClick = this.getRenderProp('on').onClick;\n\t\t\tif (typeof onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\t\tonClick(event, this.formValue);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.formValue);\n\t\t}\n\t};\n\n\tprotected readonly handleMouseDown = (event: MouseEvent): void => {\n\t\tthis.getRenderProp('on').onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tprotected readonly handleFocus = (event: FocusEvent): void => {\n\t\tthis.getRenderProp('on').onFocus?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.focus);\n\t\t}\n\t};\n\n\tprotected readonly handleBlur = (event: FocusEvent): void => {\n\t\tthis.getRenderProp('on').onBlur?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.blur);\n\t\t}\n\t};\n\n\t// --- Prop application (one per prop; the concrete element's watchers delegate here) ---\n\n\tprotected applyAccessKey(value?: AccessKeyPropType, shortKey?: ShortKeyPropType): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t\tvalidateAccessAndShortKey(value, shortKey);\n\t}\n\n\tprotected applyAriaControls(value?: string): void {\n\t\tariaControlsProp.apply(value, (v) => this.setRenderProp('ariaControls', v));\n\t}\n\n\tprotected applyAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tariaDescriptionProp.apply(value, (v) => this.setRenderProp('ariaDescription', v));\n\t}\n\n\tprotected applyAriaExpanded(value?: boolean): void {\n\t\tariaExpandedProp.apply(value, (v) => this.setRenderProp('ariaExpanded', v));\n\t}\n\n\tprotected applyAriaHasPopup(value?: AriaHasPopupPropType): void {\n\t\tariaHasPopupProp.apply(value, (v) => this.setRenderProp('ariaHasPopup', v));\n\t}\n\n\tprotected applyAriaSelected(value?: boolean): void {\n\t\tariaSelectedProp.apply(value, (v) => this.setRenderProp('ariaSelected', v));\n\t}\n\n\tprotected applyCustomClass(value?: CustomClassPropType): void {\n\t\tcustomClassProp.apply(value, (v) => this.setRenderProp('customClass', v));\n\t}\n\n\tprotected applyDisabled(value?: boolean): void {\n\t\tdisabledProp.apply(value, (v) => this.setRenderProp('disabled', v));\n\t}\n\n\tprotected applyHideLabel(value?: boolean): void {\n\t\thideLabelProp.apply(value, (v) => this.setRenderProp('hideLabel', v));\n\t}\n\n\tprotected applyIcons(value?: IconsPropType): void {\n\t\tspanIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\tprotected applyId(value?: IdPropType): void {\n\t\tidProp.apply(value, (v) => this.setRenderProp('id', v));\n\t}\n\n\tprotected applyInline(value?: InlinePropType): void {\n\t\tinlineProp.apply(value, (v) => this.setRenderProp('inline', v));\n\t}\n\n\tprotected applyLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.tooltipBehavior.watchLabel(v);\n\t\t});\n\t}\n\n\tprotected applyName(value?: string): void {\n\t\tnameProp.apply(value, (v) => this.setRenderProp('name', v));\n\t\tthis.formAssociation.watchName(value);\n\t}\n\n\tprotected applyOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tbuttonCallbacksProp.apply(value, (v) => this.setRenderProp('on', v));\n\t}\n\n\tprotected applyRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tlinkRoleProp.apply(value, (v) => this.setRenderProp('role', v));\n\t}\n\n\tprotected applyShortKey(value?: ShortKeyPropType, accessKey?: AccessKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t\tvalidateAccessAndShortKey(accessKey, value);\n\t}\n\n\tprotected applySyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.formAssociation.watchSyncValueBySelector(value);\n\t}\n\n\tprotected applyTabIndex(value?: number): void {\n\t\t// The props config seeds `tabIndex` with its default `0`, but an unset tabindex must not\n\t\t// render as `tabindex=\"0\"` — buttons are natively tabbable and the attribute would pin them\n\t\t// into the document tab order. Unsetting the prop has to restore that state, so the else\n\t\t// branch is not optional: without it a reset would keep the previous number.\n\t\tif (typeof value === 'number') {\n\t\t\ttabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n\t\t} else {\n\t\t\tthis.unsetRenderProp('tabIndex');\n\t\t}\n\t}\n\n\tprotected applyTooltipAlign(value?: TooltipAlignPropType): void {\n\t\ttooltipAlignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('tooltipAlign', v);\n\t\t\tthis.tooltipBehavior.watchAlign(v);\n\t\t});\n\t}\n\n\tprotected applyType(value?: ButtonTypePropType): void {\n\t\tbuttonTypeProp.apply(value, (v) => this.setRenderProp('type', v));\n\t}\n\n\tprotected applyValue(value?: StencilUnknown): void {\n\t\tthis.formValue = value;\n\t\tthis.formAssociation.setFormAssociatedValue(value);\n\t}\n\n\tprotected applyVariant(value?: VariantClassNamePropType): void {\n\t\t// Resolved here rather than as a `@Prop` default: a field initializer runs in the\n\t\t// constructor, where `@Element()` is not yet populated for a `shadow: false` element under\n\t\t// SSR, so the theme-scoped feature flag would silently be ignored there. Keeping it a\n\t\t// fallback also leaves the public API unchanged. The rendered default is `normal` either way.\n\t\tvariantProp.apply(value ?? getFeatureFlag('buttonVariantDefault', this.host) ?? 'normal', (v) => this.setRenderProp('variant', v));\n\t}\n\n\t// --- Render ---\n\n\t/**\n\t * Collects the current render props and state into the prop set `ButtonFC` expects. Separate\n\t * from `renderButtonFC` because a component that embeds the button inside its own markup\n\t * (`kol-split-button`) hands the set to its own functional component instead of rendering the\n\t * button here.\n\t */\n\tprotected getButtonFCProps(): FunctionalComponentProps<ButtonApi> {\n\t\treturn {\n\t\t\taccessKey: this.getRenderProp('accessKey'),\n\t\t\tariaControls: this.getRenderProp('ariaControls'),\n\t\t\tariaDescription: this.getRenderProp('ariaDescription'),\n\t\t\tariaDescriptionId: this.getState('ariaDescriptionId'),\n\t\t\tariaExpanded: this.getRenderProp('ariaExpanded'),\n\t\t\tariaHasPopup: this.getRenderProp('ariaHasPopup'),\n\t\t\tariaSelected: this.getRenderProp('ariaSelected'),\n\t\t\tcustomClass: this.getRenderProp('customClass'),\n\t\t\tdisabled: this.getRenderProp('disabled'),\n\t\t\thandleBlur: this.handleBlur,\n\t\t\thandleClick: this.handleClick,\n\t\t\thandleFocus: this.handleFocus,\n\t\t\thandleMouseDown: this.handleMouseDown,\n\t\t\thideLabel: this.getRenderProp('hideLabel'),\n\t\t\ticons: this.getRenderProp('icons'),\n\t\t\tid: this.getRenderProp('id'),\n\t\t\tinline: this.getRenderProp('inline'),\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\tname: this.getRenderProp('name'),\n\t\t\ton: this.getRenderProp('on'),\n\t\t\trefButton: this.ctaRef,\n\t\t\trefTooltip: this.tooltipBehavior.setTooltipElementRef,\n\t\t\trole: this.getRenderProp('role'),\n\t\t\tshortKey: this.getRenderProp('shortKey'),\n\t\t\ttabIndex: this.getRenderProp('tabIndex'),\n\t\t\ttooltipAlign: this.getRenderProp('tooltipAlign'),\n\t\t\ttype: this.getRenderProp('type'),\n\t\t\tvariant: this.getRenderProp('variant'),\n\t\t};\n\t}\n\n\t/** Renders `ButtonFC` from the current render props and state. */\n\tprotected renderButtonFC(): JSX.Element {\n\t\treturn <ButtonFC {...this.getButtonFCProps()} />;\n\t}\n}\n"],"names":["getFeatureFlag"],"mappings":";;;;;;;;;;;;;;;;;;;AAwEM,MAAgB,sBAAuB,SAAQ,gBAA2B,CAAA;AAAhF,IAAA,WAAA,GAAA;;AAIoB,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAAqB;QAI1C,IAAe,CAAA,eAAA,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAkEvD,QAAA,IAAA,CAAA,WAAW,GAAG,CAAC,KAAiB,KAAU;YAC5D,KAAK,CAAC,eAAe,EAAE;AACvB,YAAA,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;YAElC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;AACvC,YAAA,IAAI,IAAI,KAAK,QAAQ,EAAE;AACtB,gBAAA,0BAA0B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAyB,CAAE,CAAC;;AAC9D,iBAAA,IAAI,IAAI,KAAK,OAAO,EAAE;AAC5B,gBAAA,yBAAy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h } from '@stencil/core';\nimport { getFeatureFlag } from 'adopted-style-sheets';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { ButtonApi } from '../../internal/functional-components/button/api';\nimport { buttonPropsConfig } from '../../internal/functional-components/button/api';\nimport { ButtonFC } from '../../internal/functional-components/button/component';\nimport { FormAssociationBehavior } from '../../internal/functional-components/form-association/behavior';\nimport type { FunctionalComponentProps } from '../../internal/functional-components/generic-types';\nimport { TooltipBehavior } from '../../internal/functional-components/tooltip/behavior';\nimport {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaHasPopupProp,\n\tariaSelectedProp,\n\tbuttonCallbacksProp,\n\tbuttonTypeProp,\n\tcustomClassProp,\n\tdisabledProp,\n\thideLabelProp,\n\tidProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkRoleProp,\n\tnameProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../internal/props';\nimport type {\n\tAccessKeyPropType,\n\tAlternativeButtonLinkRolePropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tCustomClassPropType,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tLabelWithExpertSlotPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { setEventTarget } from '../../schema';\nimport type { AriaHasPopupPropType } from '../../schema/props/aria-has-popup';\nimport { validateAccessAndShortKey } from '../../schema/validators/access-and-short-key';\nimport { createCtaRef } from '../../utils/element-interaction';\nimport { dispatchDomEvent, KolEvent } from '../../utils/events';\nimport { propagateResetEventToForm, propagateSubmitEventToForm } from '../form/controller';\n\n/**\n * Shared orchestrator implementation for every custom element that renders `ButtonFC`:\n * `kol-button`, `kol-button-link` and `kol-split-button`.\n *\n * The class carries everything that does not need a Stencil decorator — the composed\n * `TooltipBehavior`, the form-association adapter, the event handlers, one `apply*` method per\n * prop and the `ButtonFC` render call. The concrete element keeps what Stencil has to see in the\n * component class itself: `@Component`, `@Element`, `@State`, `@Method`, every `@Prop` with its\n * `@Watch` (whose body is a one-line call into the matching `apply*` method) and the lifecycle\n * methods, which delegate here (ARC42 § 9, design decision 16).\n *\n * This is not a layer between the web component and the functional component — it *is* the web\n * component's implementation, shared between the tag variants of one FC.\n */\nexport abstract class BaseButtonWebComponent extends BaseWebComponent<ButtonApi> {\n\t/** The custom element; declared with `@Element()` by the concrete class. */\n\tprotected abstract readonly host?: HTMLElement;\n\n\tprotected readonly ctaRef = createCtaRef<HTMLButtonElement>();\n\n\t// --- Composed behaviors ---\n\n\tprotected readonly tooltipBehavior = new TooltipBehavior(this.stateAccess);\n\n\tprivate formAssociation!: FormAssociationBehavior;\n\n\t/**\n\t * The raw `_value`. It is neither rendered nor normalized (see `buttonPropsConfig`), but the\n\t * click handler hands it to the consumer callback and the custom event, so the last applied\n\t * value is kept here.\n\t */\n\tprivate formValue?: StencilUnknown;\n\n\t/**\n\t * Creates the form association. Must be called from the concrete element's constructor (after\n\t * `super()`), not from this base class's constructor: Stencil registers the host element at the\n\t * start of the *component* class's constructor, so `this.host` is only populated once the base\n\t * constructor has returned.\n\t *\n\t * No name is passed, because the name is only applied in `componentWillLoad`. The button therefore\n\t * never creates a hidden form element (#11036).\n\t */\n\tprotected initFormAssociation(): void {\n\t\tthis.formAssociation = new FormAssociationBehavior(BaseWebComponent.stateLess, { host: this.host, type: 'button' });\n\t}\n\n\t// --- Lifecycle helpers (called from the concrete element's lifecycle methods) ---\n\n\t/**\n\t * Seeds the render props. Call first in `componentWillLoad`, before the prop watchers run.\n\t */\n\tprotected initButtonRenderProps(): void {\n\t\tthis.initRenderProps(buttonPropsConfig);\n\t\t// Seed `tabIndex` as unset before any watcher runs: an unset tabindex must not render as\n\t\t// `tabindex=\"0\"` — buttons are natively tabbable and the attribute would pin them into the\n\t\t// document tab order. `applyTabIndex` does the same for elements that expose `_tabIndex`,\n\t\t// but a `shadow: false` element can abort mid-initialization under SSR (the form association\n\t\t// finds no host with a shadow root, because `instanceof Element` fails in Stencil's mock DOM,\n\t\t// then throws on `attachInternals(undefined)`, and Stencil swallows the error but renders\n\t\t// anyway, #11034). Without this line the props config default `0` would survive such an abort.\n\t\tthis.unsetRenderProp('tabIndex');\n\t}\n\n\t/**\n\t * Hands the resolved label and alignment to the tooltip behavior. Call last in\n\t * `componentWillLoad`, after every prop watcher has run.\n\t */\n\tprotected initTooltipBehavior(): void {\n\t\tthis.tooltipBehavior.componentWillLoad({\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\talign: this.getRenderProp('tooltipAlign'),\n\t\t});\n\t}\n\n\t/** Call from `componentDidRender`. */\n\tprotected syncTooltipListeners(): void {\n\t\tif (this.ctaRef.el) {\n\t\t\tthis.tooltipBehavior.syncListeners(undefined, this.ctaRef.el, true);\n\t\t}\n\t}\n\n\t/** Call from `disconnectedCallback`. */\n\tprotected destroyTooltipBehavior(): void {\n\t\tthis.tooltipBehavior.destroy();\n\t}\n\n\t// --- Event handling ---\n\n\tprotected readonly handleClick = (event: MouseEvent): void => {\n\t\tevent.stopPropagation();\n\t\tthis.tooltipBehavior.hideTooltip();\n\n\t\tconst type = this.getRenderProp('type');\n\t\tif (type === 'submit') {\n\t\t\tpropagateSubmitEventToForm({ form: this.host, ref: this.ctaRef.el });\n\t\t} else if (type === 'reset') {\n\t\t\tpropagateResetEventToForm({ form: this.host, ref: this.ctaRef.el });\n\t\t} else {\n\t\t\t// TODO: Static form handling\n\t\t\tthis.formAssociation.setFormAssociatedValue(this.formValue);\n\n\t\t\tconst onClick = this.getRenderProp('on').onClick;\n\t\t\tif (typeof onClick === 'function') {\n\t\t\t\tsetEventTarget(event, this.ctaRef.el);\n\t\t\t\tonClick(event, this.formValue);\n\t\t\t}\n\t\t}\n\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.click, this.formValue);\n\t\t}\n\t};\n\n\tprotected readonly handleMouseDown = (event: MouseEvent): void => {\n\t\tthis.getRenderProp('on').onMouseDown?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.mousedown);\n\t\t}\n\t};\n\n\tprotected readonly handleFocus = (event: FocusEvent): void => {\n\t\tthis.getRenderProp('on').onFocus?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.focus);\n\t\t}\n\t};\n\n\tprotected readonly handleBlur = (event: FocusEvent): void => {\n\t\tthis.getRenderProp('on').onBlur?.(event);\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, KolEvent.blur);\n\t\t}\n\t};\n\n\t// --- Prop application (one per prop; the concrete element's watchers delegate here) ---\n\n\tprotected applyAccessKey(value?: AccessKeyPropType, shortKey?: ShortKeyPropType): void {\n\t\taccessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n\t\tvalidateAccessAndShortKey(value, shortKey);\n\t}\n\n\tprotected applyAriaControls(value?: string): void {\n\t\tariaControlsProp.apply(value, (v) => this.setRenderProp('ariaControls', v));\n\t}\n\n\tprotected applyAriaDescription(value?: AriaDescriptionPropType): void {\n\t\tariaDescriptionProp.apply(value, (v) => this.setRenderProp('ariaDescription', v));\n\t}\n\n\tprotected applyAriaExpanded(value?: boolean): void {\n\t\tariaExpandedProp.apply(value, (v) => this.setRenderProp('ariaExpanded', v));\n\t}\n\n\tprotected applyAriaHasPopup(value?: AriaHasPopupPropType): void {\n\t\tariaHasPopupProp.apply(value, (v) => this.setRenderProp('ariaHasPopup', v));\n\t}\n\n\tprotected applyAriaSelected(value?: boolean): void {\n\t\tariaSelectedProp.apply(value, (v) => this.setRenderProp('ariaSelected', v));\n\t}\n\n\tprotected applyCustomClass(value?: CustomClassPropType): void {\n\t\tcustomClassProp.apply(value, (v) => this.setRenderProp('customClass', v));\n\t}\n\n\tprotected applyDisabled(value?: boolean): void {\n\t\tdisabledProp.apply(value, (v) => this.setRenderProp('disabled', v));\n\t}\n\n\tprotected applyHideLabel(value?: boolean): void {\n\t\thideLabelProp.apply(value, (v) => this.setRenderProp('hideLabel', v));\n\t}\n\n\tprotected applyIcons(value?: IconsPropType): void {\n\t\tspanIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n\t}\n\n\tprotected applyId(value?: IdPropType): void {\n\t\tidProp.apply(value, (v) => this.setRenderProp('id', v));\n\t}\n\n\tprotected applyInline(value?: InlinePropType): void {\n\t\tinlineProp.apply(value, (v) => this.setRenderProp('inline', v));\n\t}\n\n\tprotected applyLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t\tthis.tooltipBehavior.watchLabel(v);\n\t\t});\n\t}\n\n\tprotected applyName(value?: string): void {\n\t\tnameProp.apply(value, (v) => this.setRenderProp('name', v));\n\t\tthis.formAssociation.watchName(value);\n\t}\n\n\tprotected applyOn(value?: ButtonCallbacksPropType<StencilUnknown>): void {\n\t\tbuttonCallbacksProp.apply(value, (v) => this.setRenderProp('on', v));\n\t}\n\n\tprotected applyRole(value?: AlternativeButtonLinkRolePropType): void {\n\t\tlinkRoleProp.apply(value, (v) => this.setRenderProp('role', v));\n\t}\n\n\tprotected applyShortKey(value?: ShortKeyPropType, accessKey?: AccessKeyPropType): void {\n\t\tshortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n\t\tvalidateAccessAndShortKey(accessKey, value);\n\t}\n\n\tprotected applySyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.formAssociation.watchSyncValueBySelector(value);\n\t}\n\n\tprotected applyTabIndex(value?: number): void {\n\t\t// The props config seeds `tabIndex` with its default `0`, but an unset tabindex must not\n\t\t// render as `tabindex=\"0\"` — buttons are natively tabbable and the attribute would pin them\n\t\t// into the document tab order. Unsetting the prop has to restore that state, so the else\n\t\t// branch is not optional: without it a reset would keep the previous number.\n\t\tif (typeof value === 'number') {\n\t\t\ttabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n\t\t} else {\n\t\t\tthis.unsetRenderProp('tabIndex');\n\t\t}\n\t}\n\n\tprotected applyTooltipAlign(value?: TooltipAlignPropType): void {\n\t\ttooltipAlignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('tooltipAlign', v);\n\t\t\tthis.tooltipBehavior.watchAlign(v);\n\t\t});\n\t}\n\n\tprotected applyType(value?: ButtonTypePropType): void {\n\t\tbuttonTypeProp.apply(value, (v) => this.setRenderProp('type', v));\n\t}\n\n\tprotected applyValue(value?: StencilUnknown): void {\n\t\tthis.formValue = value;\n\t\tthis.formAssociation.setFormAssociatedValue(value);\n\t}\n\n\tprotected applyVariant(value?: VariantClassNamePropType): void {\n\t\t// Resolved here rather than as a `@Prop` default: a field initializer runs in the\n\t\t// constructor, where `@Element()` is not yet populated for a `shadow: false` element under\n\t\t// SSR, so the theme-scoped feature flag would silently be ignored there. Keeping it a\n\t\t// fallback also leaves the public API unchanged. The rendered default is `normal` either way.\n\t\tvariantProp.apply(value ?? getFeatureFlag('buttonVariantDefault', this.host) ?? 'normal', (v) => this.setRenderProp('variant', v));\n\t}\n\n\t// --- Render ---\n\n\t/**\n\t * Collects the current render props and state into the prop set `ButtonFC` expects. Separate\n\t * from `renderButtonFC` because a component that embeds the button inside its own markup\n\t * (`kol-split-button`) hands the set to its own functional component instead of rendering the\n\t * button here.\n\t */\n\tprotected getButtonFCProps(): FunctionalComponentProps<ButtonApi> {\n\t\treturn {\n\t\t\taccessKey: this.getRenderProp('accessKey'),\n\t\t\tariaControls: this.getRenderProp('ariaControls'),\n\t\t\tariaDescription: this.getRenderProp('ariaDescription'),\n\t\t\tariaDescriptionId: this.getState('ariaDescriptionId'),\n\t\t\tariaExpanded: this.getRenderProp('ariaExpanded'),\n\t\t\tariaHasPopup: this.getRenderProp('ariaHasPopup'),\n\t\t\tariaSelected: this.getRenderProp('ariaSelected'),\n\t\t\tcustomClass: this.getRenderProp('customClass'),\n\t\t\tdisabled: this.getRenderProp('disabled'),\n\t\t\thandleBlur: this.handleBlur,\n\t\t\thandleClick: this.handleClick,\n\t\t\thandleFocus: this.handleFocus,\n\t\t\thandleMouseDown: this.handleMouseDown,\n\t\t\thideLabel: this.getRenderProp('hideLabel'),\n\t\t\ticons: this.getRenderProp('icons'),\n\t\t\tid: this.getRenderProp('id'),\n\t\t\tinline: this.getRenderProp('inline'),\n\t\t\tlabel: this.getRenderProp('label'),\n\t\t\tname: this.getRenderProp('name'),\n\t\t\ton: this.getRenderProp('on'),\n\t\t\trefButton: this.ctaRef,\n\t\t\trefTooltip: this.tooltipBehavior.setTooltipElementRef,\n\t\t\trole: this.getRenderProp('role'),\n\t\t\tshortKey: this.getRenderProp('shortKey'),\n\t\t\ttabIndex: this.getRenderProp('tabIndex'),\n\t\t\ttooltipAlign: this.getRenderProp('tooltipAlign'),\n\t\t\ttype: this.getRenderProp('type'),\n\t\t\tvariant: this.getRenderProp('variant'),\n\t\t};\n\t}\n\n\t/** Renders `ButtonFC` from the current render props and state. */\n\tprotected renderButtonFC(): JSX.Element {\n\t\treturn <ButtonFC {...this.getButtonFCProps()} />;\n\t}\n}\n"],"names":["getFeatureFlag"],"mappings":";;;;;;;;;;;;;;;;;;;AAwEM,MAAgB,sBAAuB,SAAQ,gBAA2B,CAAA;AAAhF,IAAA,WAAA,GAAA;;AAIoB,QAAA,IAAM,CAAA,MAAA,GAAG,YAAY,EAAqB;QAI1C,IAAe,CAAA,eAAA,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAkEvD,QAAA,IAAA,CAAA,WAAW,GAAG,CAAC,KAAiB,KAAU;YAC5D,KAAK,CAAC,eAAe,EAAE;AACvB,YAAA,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;YAElC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;AACvC,YAAA,IAAI,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MAAA,CAAA,EAAA,EAAA,IAAI,CAAC,gBAAgB,EAAE,EAAI;;AAEjD;;;;"}
|
|
@@ -3,34 +3,34 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as resolveTargets } from './aria-labelledby-BRToXqsQ.js';
|
|
5
5
|
import { G as watchValidator, L as Log, p as parseJson } from './common-BqpMtheU.js';
|
|
6
|
-
import { h, F as Fragment, f as forceUpdate } from './index-
|
|
6
|
+
import { h, F as Fragment, f as forceUpdate } from './index-DAKQV03B.js';
|
|
7
7
|
import { c as createPropDefinition, e as normalizeArray, n as normalizeBoolean, a as createCallbacksPropDefinition, B as BaseWebComponent, v as variantDialogProp } from './base-web-component-3R1Dy3QK.js';
|
|
8
|
-
import { c as createButtonItem } from './item-
|
|
8
|
+
import { c as createButtonItem } from './item-DuBSR8BS.js';
|
|
9
9
|
import { c as createItemPool } from './item-pool-BOxAYePG.js';
|
|
10
|
-
import { c as createLinkItem } from './item-
|
|
10
|
+
import { c as createLinkItem } from './item-Dkm57tce.js';
|
|
11
11
|
import { l as labelWithExpertSlotProp } from './label-with-expert-slot-CocPu9HB.js';
|
|
12
12
|
import { v as variantProp } from './variant-CeijQFzL.js';
|
|
13
13
|
import { c as KolBadgeTag, d as KolInputNumberTag, e as KolInputCheckboxTag } from './component-names-Dhbtt0mX.js';
|
|
14
14
|
import { t as translate } from './i18n-BaCf-SDK.js';
|
|
15
|
-
import { c as classNameFromVariant } from './component-
|
|
15
|
+
import { c as classNameFromVariant } from './component-sf_0WjJF.js';
|
|
16
16
|
import { b as bem } from './bem-registry-CX5kvaqt.js';
|
|
17
|
-
import { B as BemRootNodeFC } from './component-
|
|
18
|
-
import { B as ButtonFC } from './component-
|
|
19
|
-
import { I as IconFC } from './component-
|
|
20
|
-
import { L as LinkFC } from './api-
|
|
21
|
-
import { S as SpinFC } from './component-
|
|
22
|
-
import { T as TooltipFC } from './component-
|
|
17
|
+
import { B as BemRootNodeFC } from './component-DhBTawyT.js';
|
|
18
|
+
import { B as ButtonFC } from './component-CmBM-Y1C.js';
|
|
19
|
+
import { I as IconFC } from './component-DKS73hKY.js';
|
|
20
|
+
import { L as LinkFC } from './api-T-JuZMlj.js';
|
|
21
|
+
import { S as SpinFC } from './component-G9vQ1mQA.js';
|
|
22
|
+
import { T as TooltipFC } from './component-CvhmYY4a.js';
|
|
23
23
|
import { a as __rest } from './tslib.es6-QNbPBOk5.js';
|
|
24
|
-
import { n as nonce, c as createUniqueId } from './dev.utils-
|
|
24
|
+
import { n as nonce, c as createUniqueId } from './dev.utils-BGy8dbtQ.js';
|
|
25
25
|
import { d as dispatchDomEvent, K as KolEvent } from './events-CRHxtwup.js';
|
|
26
|
-
import { A as AlertFC } from './component-
|
|
26
|
+
import { A as AlertFC } from './component-BjWF1SyZ.js';
|
|
27
27
|
import { c as createCtaRef } from './element-interaction-Cy9tx3Sx.js';
|
|
28
|
-
import { u as unlockScroll, l as lockScroll, d as dialogBlockClass, D as DialogFC } from './scroll-lock-
|
|
28
|
+
import { u as unlockScroll, l as lockScroll, d as dialogBlockClass, D as DialogFC } from './scroll-lock-DRNyw9qH.js';
|
|
29
29
|
import { h as handleCancelOverlay } from './tooltip-open-tracking-D3tCiiGP.js';
|
|
30
30
|
import { l as levelProp } from './level-Q5lBISho.js';
|
|
31
31
|
import { d as dialogCallbacksProp, w as widthProp } from './width-BDh5pZvE.js';
|
|
32
32
|
import { l as labelProp } from './label-c9P7yC4V.js';
|
|
33
|
-
import { r as resolveCardCloseButtonProps, C as CardFC } from './component-
|
|
33
|
+
import { r as resolveCardCloseButtonProps, C as CardFC } from './component-BaD1OTyv.js';
|
|
34
34
|
import { T as TooltipBehavior } from './behavior-D1kOlK6p.js';
|
|
35
35
|
import { C as Callback } from './keyboard-DNd73LVa.js';
|
|
36
36
|
|
|
@@ -1051,6 +1051,6 @@ class BaseTableStatelessWebComponent extends BaseWebComponent {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
export { BaseTableStatelessWebComponent as B, tableDataFootProp as a, tableDataProp as t, validateAriaLabelledby as v };
|
|
1054
|
-
//# sourceMappingURL=base-
|
|
1054
|
+
//# sourceMappingURL=base-Dvr4F_Pr.js.map
|
|
1055
1055
|
|
|
1056
|
-
//# sourceMappingURL=base-
|
|
1056
|
+
//# sourceMappingURL=base-Dvr4F_Pr.js.map
|