@public-ui/components 4.7.0-rc.0 → 4.7.0-rc.1
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 +24 -24
- package/dist/cjs/{Heading-BiIgkzH8.js → Heading-DgfHX8iO.js} +2 -2
- package/dist/cjs/{api-CYf8xdSs.js → api-Bco3zhNl.js} +30 -30
- package/dist/cjs/{app-globals-BYAPmvIk.js → app-globals-BfjEc9BA.js} +5 -5
- package/dist/cjs/{base-CUUvWtsB.js → base-BlhVYuZN.js} +14 -14
- package/dist/cjs/{base-BmhaEyug.js → base-CaTF8Lsq.js} +10 -10
- package/dist/cjs/{base-BpyecmRJ.js → base-CaYE9fE3.js} +70 -36
- package/dist/cjs/{base--a0QJmk3.js → base-DRkg3lke.js} +13 -13
- package/dist/cjs/{base-web-component-BompEaD1.js → base-web-component-BF8Oc_jN.js} +1 -1
- package/dist/cjs/{base-web-component-ZnP9FmYh.js → base-web-component-CBcdTiXS.js} +11 -11
- package/dist/cjs/{base-web-component-CWIPg0xv.js → base-web-component-CZJc9Ld3.js} +15 -15
- package/dist/cjs/{behavior-O4U6x6z7.js → behavior-BsDVus9x.js} +9 -9
- package/dist/cjs/{behavior-CFLTEANn.js → behavior-DnJZI13z.js} +9 -9
- package/dist/cjs/{behavior-DSFpiPZZ.js → behavior-OgRkvokv.js} +6 -6
- package/dist/cjs/{bem-registry-CtnO3zCW.js → bem-registry-_oyuMzRs.js} +2 -2
- package/dist/cjs/{bootstrap-DOzWgRGX.js → bootstrap-jLvMy9on.js} +5 -5
- package/dist/cjs/{color-BAx-7-VH.js → color-CBtx0JEd.js} +4 -4
- package/dist/cjs/{component-DUJYVdRR.js → component-6M5X_cZt.js} +6 -6
- package/dist/cjs/{component-BhAlZY9F.js → component-BG4f8vbN.js} +6 -6
- package/dist/cjs/{component-TQvy83J2.js → component-BZT4ABhJ.js} +14 -14
- package/dist/cjs/{component-7ByD-KGA.js → component-Bf1srWgT.js} +4 -4
- package/dist/cjs/{component-DWb8RKVo.js → component-CYZ74d6d.js} +9 -9
- package/dist/cjs/{component-BsX1-89D.js → component-CZATN7e7.js} +10 -10
- package/dist/cjs/{component-Dd3qxReW.js → component-CcR692_g.js} +5 -5
- package/dist/cjs/{component-B2tj_1JK.js → component-DD4gW4Wv.js} +3 -3
- package/dist/cjs/{component-BOtCtyyw.js → component-DELokt1e.js} +7 -7
- package/dist/cjs/{component-STJidyBV.js → component-G9OBs93q.js} +15 -15
- package/dist/cjs/{component-C4QeEJ1-.js → component-b8Mw23VK.js} +5 -5
- package/dist/cjs/{contrast-DOAdZqCp.js → contrast-Dq0rQJv4.js} +5 -5
- package/dist/cjs/{controller-D66Eq44x.js → controller-CYSgD2og.js} +16 -16
- package/dist/cjs/{dev.utils-DlmiDtkx.js → dev.utils-DbZjSMB_.js} +10 -10
- package/dist/cjs/{devtools-C41YtdU_.js → devtools-Cf9tA39t.js} +24 -24
- package/dist/cjs/{disabled-BdFhTB-H.js → disabled-iY2F8CXF.js} +1 -1
- package/dist/cjs/{field-control-S9RwdD26.js → field-control-C23Zk-tt.js} +8 -8
- package/dist/cjs/{group-C00FoXnX.js → group-CLctawrF.js} +5 -5
- package/dist/cjs/{has-closer--ijHuPZy.js → has-closer-DmnD5ziV.js} +1 -1
- package/dist/cjs/{href-BD4uBwDL.js → href-CPwjE6oZ.js} +1 -1
- package/dist/cjs/{i18n-4lKONPdP.js → i18n--y6dSQBm.js} +3 -3
- package/dist/cjs/{i18n-CuXZ7SEi.js → i18n-bT7xr2k5.js} +4 -4
- package/dist/cjs/{id-BM9KgE0w.js → id-hO96Hkhh.js} +1 -1
- package/dist/cjs/{index-DRjg_lHL.js → index-B302UiQS.js} +2 -2
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-0s6YjmaC.js → input-CypPMvU-.js} +5 -5
- package/dist/cjs/{input-container-DYp04csT.js → input-container-jziuknSu.js} +16 -16
- package/dist/cjs/{item-xUIdEroQ.js → item-BkH81iun.js} +8 -8
- package/dist/cjs/{item-CRgD35fr.js → item-DO5SWoIT.js} +8 -8
- package/dist/cjs/{item-BKyAM3Uo.js → item-DyUR8LQP.js} +24 -24
- package/dist/cjs/{item-DWAwMGWB.js → item-FIjcvq4Y.js} +14 -14
- package/dist/cjs/kol-abbr.cjs.entry.js +8 -8
- package/dist/cjs/kol-accordion.cjs.entry.js +18 -18
- package/dist/cjs/kol-alert.cjs.entry.js +27 -27
- package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
- package/dist/cjs/kol-badge.cjs.entry.js +29 -29
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +33 -33
- package/dist/cjs/kol-button-link.cjs.entry.js +26 -26
- package/dist/cjs/kol-button.cjs.entry.js +26 -26
- package/dist/cjs/kol-card.cjs.entry.js +57 -96
- package/dist/cjs/kol-combobox.cjs.entry.js +77 -77
- package/dist/cjs/kol-details.cjs.entry.js +18 -18
- package/dist/cjs/kol-dialog.cjs.entry.js +33 -33
- package/dist/cjs/kol-drawer.cjs.entry.js +32 -32
- package/dist/cjs/kol-form.cjs.entry.js +28 -28
- package/dist/cjs/kol-heading.cjs.entry.js +15 -15
- package/dist/cjs/kol-icon.cjs.entry.js +12 -12
- package/dist/cjs/kol-image.cjs.entry.js +20 -20
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +70 -70
- package/dist/cjs/kol-input-color.cjs.entry.js +57 -57
- package/dist/cjs/kol-input-date.cjs.entry.js +70 -70
- package/dist/cjs/kol-input-email.cjs.entry.js +75 -75
- package/dist/cjs/kol-input-file.cjs.entry.js +52 -52
- package/dist/cjs/kol-input-number.cjs.entry.js +72 -72
- package/dist/cjs/kol-input-password.cjs.entry.js +74 -74
- package/dist/cjs/kol-input-radio.cjs.entry.js +53 -53
- package/dist/cjs/kol-input-range.cjs.entry.js +58 -58
- package/dist/cjs/kol-input-text.cjs.entry.js +87 -87
- package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
- package/dist/cjs/kol-link-button.cjs.entry.js +36 -36
- package/dist/cjs/kol-link.cjs.entry.js +34 -34
- package/dist/cjs/kol-meter.cjs.entry.js +19 -25
- package/dist/cjs/kol-modal.cjs.entry.js +33 -33
- package/dist/cjs/kol-nav.cjs.entry.js +38 -38
- package/dist/cjs/kol-pagination.cjs.entry.js +57 -57
- package/dist/cjs/kol-popover-button.cjs.entry.js +60 -95
- package/dist/cjs/kol-progress.cjs.entry.js +18 -21
- package/dist/cjs/kol-quote.cjs.entry.js +13 -13
- package/dist/cjs/kol-select.cjs.entry.js +63 -63
- package/dist/cjs/kol-single-select.cjs.entry.js +78 -78
- package/dist/cjs/kol-skip-nav.cjs.entry.js +32 -32
- package/dist/cjs/kol-spin.cjs.entry.js +23 -23
- package/dist/cjs/kol-split-button.cjs.entry.js +30 -30
- package/dist/cjs/kol-table-stateful.cjs.entry.js +112 -101
- package/dist/cjs/kol-table-stateless.cjs.entry.js +55 -55
- package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
- package/dist/cjs/kol-textarea.cjs.entry.js +70 -70
- package/dist/cjs/kol-toast-container.cjs.entry.js +22 -22
- package/dist/cjs/kol-toolbar.cjs.entry.js +45 -45
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +13 -13
- package/dist/cjs/kol-tree-item.cjs.entry.js +31 -31
- package/dist/cjs/kol-tree.cjs.entry.js +10 -10
- package/dist/cjs/kol-version.cjs.entry.js +23 -23
- package/dist/cjs/kolibri.cjs.js +4 -4
- package/dist/cjs/{label-BA98eiFj.js → label-D2VlEzVW.js} +3 -3
- package/dist/cjs/{label-hints-BE4LQ_Av.js → label-hints-CeYTIMWM.js} +4 -4
- package/dist/cjs/{label-lang-segment-C5U5gEca.js → label-lang-segment-n4JXXvXq.js} +2 -2
- package/dist/cjs/{label-with-expert-slot-x1D8V34g.js → label-with-expert-slot-BMZi_Wf-.js} +3 -3
- package/dist/cjs/{level-CX2p0n7U.js → level-zFWeAW3T.js} +1 -1
- package/dist/cjs/{link-target-B1N4Je6O.js → link-target-CHHUlWut.js} +1 -1
- package/dist/cjs/{links-SN0jipdB.js → links-DNq836FP.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{multiple-Dl_RoQ-P.js → multiple-CqTw5Zl-.js} +1 -1
- package/dist/cjs/{number-value-DO-0brWb.js → number-value-CI4C8lZR.js} +3 -2
- package/dist/cjs/{open-BQ2n_Z5t.js → open-CMvvGqsm.js} +1 -1
- package/dist/cjs/{options-B49Y2jkm.js → options-TlEddxWf.js} +3 -3
- package/dist/cjs/{orientation-DKdQrdXN.js → orientation-Bw6xTtO9.js} +1 -1
- package/dist/cjs/{placeholder-E5zS-kqO.js → placeholder-DuCgyrEW.js} +1 -1
- package/dist/cjs/{common-CzGJx0nT.js → prop.validators-C4SLGjLp.js} +24 -91
- package/dist/cjs/{props-from-config-8bawgofo.js → props-from-config-DaGKZuLa.js} +66 -71
- package/dist/cjs/{read-only-YsES5bfT.js → read-only-5clAe4ux.js} +1 -1
- package/dist/cjs/{required-BvWmptNq.js → required-G3fEcN7P.js} +1 -1
- package/dist/cjs/{resolve-props-DUeggpV2.js → resolve-props-Bbb07BLa.js} +8 -8
- package/dist/cjs/{resolve-props-CHqmeYxD.js → resolve-props-Csah9JNe.js} +8 -8
- package/dist/cjs/{rows-BBmwZt2C.js → rows-DTo_lgOT.js} +1 -1
- package/dist/cjs/{scroll-lock-3znuNdTX.js → scroll-lock-BhxtYYKV.js} +3 -3
- package/dist/cjs/{smart-button-B3OCsLLZ.js → smart-button-BN5aGm8g.js} +3 -3
- package/dist/cjs/{spell-check-DuFxddUB.js → spell-check-Dv6XW8fA.js} +1 -1
- package/dist/cjs/{src-Cl2qHbxL.js → src-BaxsjPdd.js} +1 -1
- package/dist/cjs/{step-Bf3TCVBv.js → step-yJC7o2qO.js} +1 -1
- package/dist/cjs/{suggestions-C4B_eROV.js → suggestions-Bk2UPut-.js} +3 -3
- package/dist/cjs/{suggestions-BjKRoku9.js → suggestions-Bn2BAzI8.js} +4 -4
- package/dist/cjs/test-component.cjs.entry.js +2 -2
- package/dist/cjs/{toggle-handler-DEpykyv_.js → toggle-handler-BXGDSkBB.js} +9 -9
- package/dist/cjs/{unique-nav-labels-CNpNvloU.js → unique-nav-labels-CNsmbg7l.js} +3 -3
- package/dist/cjs/{unit-gLQjiSkI.js → unit-Zuxajtin.js} +1 -1
- package/dist/cjs/{validators-DNveqLx4.js → validators-DRNw98Il.js} +1 -1
- package/dist/cjs/{value-string-JMz269Bn.js → value-string-BEW6PiK0.js} +1 -1
- package/dist/cjs/{width-_6rleKWl.js → width-BMlp2iV4.js} +1 -1
- package/dist/collection/components/abbr/component.js +1 -1
- package/dist/collection/components/accordion/component.js +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/component.js +3 -3
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/avatar/component.js +4 -7
- package/dist/collection/components/badge/component.js +4 -4
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/component.js +3 -3
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/base.js +1 -1
- package/dist/collection/components/button/component.js +3 -3
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/component.js +3 -3
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/component.js +53 -18
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/component.js +115 -115
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/component.js +1 -1
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/component.js +5 -5
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/component.js +3 -3
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/component.js +3 -3
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/heading/component.js +4 -4
- package/dist/collection/components/icon/component.js +3 -3
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +39 -39
- package/dist/collection/components/input-checkbox/component.js +111 -111
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +39 -39
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +78 -78
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +86 -86
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +34 -34
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +68 -68
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +87 -87
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/component.js +36 -36
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/component.js +39 -39
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +145 -145
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/kolibri/component.js +1 -1
- package/dist/collection/components/link/base.js +1 -1
- package/dist/collection/components/link/component.js +26 -26
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/component.js +27 -27
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/meter/component.js +6 -12
- package/dist/collection/components/modal/component.js +5 -5
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/component.js +2 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/component.js +85 -85
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +40 -11
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/progress/component.js +5 -8
- package/dist/collection/components/public-api/contract.js +46 -6
- package/dist/collection/components/quote/component.js +5 -5
- package/dist/collection/components/select/component.js +61 -61
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/component.js +134 -134
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/component.js +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/spin/component.js +29 -29
- package/dist/collection/components/spin/style.css +8 -1
- package/dist/collection/components/split-button/component.js +5 -5
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +107 -113
- package/dist/collection/components/table-stateful/style.css +11 -4
- package/dist/collection/components/table-stateless/base.js +7 -1
- package/dist/collection/components/table-stateless/component.js +53 -53
- package/dist/collection/components/table-stateless/style.css +11 -4
- package/dist/collection/components/tabs/component.js +12 -12
- package/dist/collection/components/tabs/style.css +3 -3
- package/dist/collection/components/textarea/component.js +88 -88
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/shadow.js +3 -3
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +33 -33
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tooltip/component.js +1 -1
- package/dist/collection/components/tree/component.js +2 -2
- package/dist/collection/components/tree-item/component.js +35 -35
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/component.js +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/global/script.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
- package/dist/collection/internal/functional-components/button/item.js +3 -3
- package/dist/collection/internal/functional-components/counter/api.js +1 -1
- package/dist/collection/internal/functional-components/dialog/item.js +2 -2
- package/dist/collection/{components → internal/functional-components}/form/controller.js +2 -2
- package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
- package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
- package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
- package/dist/collection/internal/functional-components/link/api.js +1 -1
- package/dist/collection/internal/functional-components/link/component.js +1 -1
- package/dist/collection/internal/functional-components/link/item.js +3 -3
- package/dist/collection/internal/functional-components/pagination/item.js +1 -1
- package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
- package/dist/collection/internal/functional-components/progress/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
- package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
- package/dist/collection/internal/functional-components/table-stateful/model.js +11 -7
- package/dist/collection/internal/functional-components/table-stateless/component.js +6 -3
- package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
- package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
- package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
- package/dist/collection/internal/functional-components/text-input/base-web-component.js +1 -1
- package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +5 -5
- package/dist/collection/internal/props/helpers/factory.js +1 -1
- package/dist/collection/internal/props/helpers/normalizers.js +2 -5
- package/dist/collection/internal/props/index.js +0 -1
- package/dist/collection/locales/de.js +2 -2
- package/dist/collection/locales/en.js +2 -2
- package/dist/collection/schema/components/index.js +0 -30
- package/dist/collection/schema/props/accept.js +1 -7
- package/dist/collection/schema/props/access-key.js +1 -7
- package/dist/collection/schema/props/active.js +1 -7
- package/dist/collection/schema/props/adjust-height.js +1 -7
- package/dist/collection/schema/props/alert-type.js +0 -7
- package/dist/collection/schema/props/align.js +0 -4
- package/dist/collection/schema/props/allow-multi-sort.js +1 -7
- package/dist/collection/schema/props/alt.js +1 -7
- package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
- package/dist/collection/schema/props/aria-controls.js +1 -7
- package/dist/collection/schema/props/aria-current-value.js +1 -10
- package/dist/collection/schema/props/aria-description.js +1 -7
- package/dist/collection/schema/props/aria-expanded.js +1 -7
- package/dist/collection/schema/props/aria-labelledby.js +6 -4
- package/dist/collection/schema/props/aria-owns.js +1 -9
- package/dist/collection/schema/props/aria-selected.js +1 -7
- package/dist/collection/schema/props/auto-complete.js +0 -6
- package/dist/collection/schema/props/badge-text.js +1 -7
- package/dist/collection/schema/props/button-callbacks.js +1 -7
- package/dist/collection/schema/props/button-type.js +1 -8
- package/dist/collection/schema/props/button-variant.js +1 -10
- package/dist/collection/schema/props/checked.js +1 -7
- package/dist/collection/schema/props/collapsible.js +1 -7
- package/dist/collection/schema/props/color.js +1 -14
- package/dist/collection/schema/props/current-length.js +1 -7
- package/dist/collection/schema/props/custom-class.js +1 -9
- package/dist/collection/schema/props/disabled.js +1 -15
- package/dist/collection/schema/props/download.js +1 -7
- package/dist/collection/schema/props/error-list.js +1 -14
- package/dist/collection/schema/props/has-closer.js +1 -7
- package/dist/collection/schema/props/has-compact-button.js +1 -7
- package/dist/collection/schema/props/has-counter.js +1 -7
- package/dist/collection/schema/props/has-create-button.js +1 -7
- package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
- package/dist/collection/schema/props/has-settings-menu.js +1 -7
- package/dist/collection/schema/props/has-value.js +1 -7
- package/dist/collection/schema/props/hide-label.js +1 -7
- package/dist/collection/schema/props/hide-msg.js +1 -7
- package/dist/collection/schema/props/hint.js +1 -7
- package/dist/collection/schema/props/href.js +1 -7
- package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
- package/dist/collection/schema/props/icons.js +0 -43
- package/dist/collection/schema/props/id.js +1 -7
- package/dist/collection/schema/props/image-sizes.js +1 -7
- package/dist/collection/schema/props/image-source.js +1 -7
- package/dist/collection/schema/props/image-srcset.js +1 -7
- package/dist/collection/schema/props/indeterminate.js +1 -7
- package/dist/collection/schema/props/index.js +4 -0
- package/dist/collection/schema/props/inline.js +1 -7
- package/dist/collection/schema/props/label-align.js +1 -8
- package/dist/collection/schema/props/label.js +0 -35
- package/dist/collection/schema/props/link-on-callbacks.js +1 -8
- package/dist/collection/schema/props/link-target.js +1 -7
- package/dist/collection/schema/props/loading.js +1 -8
- package/dist/collection/schema/props/max-length-behavior.js +1 -8
- package/dist/collection/schema/props/max-length.js +1 -7
- package/dist/collection/schema/props/max.js +1 -7
- package/dist/collection/schema/props/modal.js +1 -7
- package/dist/collection/schema/props/msg.js +1 -24
- package/dist/collection/schema/props/multiple.js +1 -7
- package/dist/collection/schema/props/name.js +1 -7
- package/dist/collection/schema/props/open.js +1 -7
- package/dist/collection/schema/props/options.js +1 -11
- package/dist/collection/schema/props/orientation.js +1 -10
- package/dist/collection/schema/props/pagination-position.js +1 -10
- package/dist/collection/schema/props/pattern.js +1 -7
- package/dist/collection/schema/props/placeholder.js +1 -7
- package/dist/collection/schema/props/popover-align.js +1 -7
- package/dist/collection/schema/props/read-only.js +1 -7
- package/dist/collection/schema/props/required.js +1 -7
- package/dist/collection/schema/props/resize-textarea.js +0 -9
- package/dist/collection/schema/props/rows.js +1 -7
- package/dist/collection/schema/props/short-key.js +1 -7
- package/dist/collection/schema/props/show.js +1 -7
- package/dist/collection/schema/props/spell-check.js +1 -9
- package/dist/collection/schema/props/suggestions.js +1 -16
- package/dist/collection/schema/props/tab-behavior.js +1 -8
- package/dist/collection/schema/props/tab-index.js +1 -16
- package/dist/collection/schema/props/table-callbacks.js +1 -10
- package/dist/collection/schema/props/table-data-foot.js +1 -21
- package/dist/collection/schema/props/table-data.js +1 -21
- package/dist/collection/schema/props/table-fixed-cols.js +1 -14
- package/dist/collection/schema/props/table-header-cells.js +1 -36
- package/dist/collection/schema/props/table-selection.js +1 -22
- package/dist/collection/schema/props/toolbar-items.js +1 -21
- package/dist/collection/schema/props/tooltip-align.js +1 -7
- package/dist/collection/schema/props/touched.js +1 -7
- package/dist/collection/schema/props/type-input-date.js +0 -7
- package/dist/collection/schema/props/type-input-text.js +0 -7
- package/dist/collection/schema/props/unit.js +1 -7
- package/dist/collection/schema/props/variant/dialog.js +1 -8
- package/dist/collection/schema/props/variant/modal.js +1 -4
- package/dist/collection/schema/props/variant/password-variant.js +1 -8
- package/dist/collection/schema/props/variant-alert.js +0 -7
- package/dist/collection/schema/props/variant-class-name.js +0 -33
- package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
- package/dist/collection/schema/props/variant-progress.js +0 -7
- package/dist/collection/schema/props/visibility-toggle.js +1 -7
- package/dist/collection/schema/props/width.js +1 -7
- package/dist/collection/schema/utils/contrast.js +1 -1
- package/dist/collection/schema/utils/prop.validators.js +1 -132
- package/dist/collection/schema/validators/common.js +4 -0
- package/dist/collection/schema/validators/index.js +0 -1
- package/dist/collection/utils/dev.utils.js +1 -2
- package/dist/collection/utils/testing/logged-messages.js +4 -0
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
- package/dist/collection/utils/testing/snapshot-testing.js +2 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-component3.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base3.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bootstrap.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/item.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item3.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.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-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.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 +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-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.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 +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +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-spin.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 +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tooltip-wc.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/props-from-config.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/esm/{Heading-DDS-lyOB.js → Heading-Cjeak0Ip.js} +2 -2
- package/dist/esm/{api-MBSY9afi.js → api-lgc52EwH.js} +27 -27
- package/dist/esm/{app-globals-DytcyM_s.js → app-globals-CJI5vjfG.js} +3 -3
- package/dist/esm/{base-D-me6QDT.js → base-4vZOpHqg.js} +12 -12
- package/dist/esm/{base-D7-iAVBu.js → base-CrFm3Vt_.js} +66 -32
- package/dist/esm/{base-DP9yHJOV.js → base-DyVivWCE.js} +12 -12
- package/dist/esm/{base-DZBnXHZh.js → base-jUFiFkFq.js} +10 -10
- package/dist/esm/{base-web-component-DwY54ppZ.js → base-web-component-BhT6Ab3x.js} +15 -15
- package/dist/esm/{base-web-component-BLA2cpyz.js → base-web-component-Ci40K_CL.js} +9 -9
- package/dist/esm/{base-web-component-Bh2NCN7p.js → base-web-component-puo2mSiH.js} +1 -1
- package/dist/esm/{behavior-DUy0X7U1.js → behavior-BOUrKwXj.js} +5 -5
- package/dist/esm/{behavior-Cw8QfOcm.js → behavior-BeStbAbq.js} +6 -6
- package/dist/esm/{behavior-DmR4WVXd.js → behavior-vf9LgKnJ.js} +5 -5
- package/dist/esm/{bem-registry-SKACeCny.js → bem-registry-jPrVOPGX.js} +1 -1
- package/dist/esm/{bootstrap-Bp7i4RJQ.js → bootstrap-tModZ1Zn.js} +2 -2
- package/dist/esm/{color-CnRQPMm_.js → color-BBs35rDv.js} +3 -3
- package/dist/esm/{component-vxdandl4.js → component-8rE7KeIV.js} +9 -9
- package/dist/esm/{component-LadkF9an.js → component-B2hvPtlq.js} +3 -3
- package/dist/esm/{component-Bldy_ShO.js → component-BGqaexiY.js} +5 -5
- package/dist/esm/{component-D5yKRPCZ.js → component-C3fJM1FJ.js} +4 -4
- package/dist/esm/{component-DxnezN7K.js → component-C5YYCLBG.js} +5 -5
- package/dist/esm/{component-ZJiUl6kZ.js → component-CYv5K14M.js} +14 -14
- package/dist/esm/{component-BC1TpQVD.js → component-ComtEOJP.js} +10 -10
- package/dist/esm/{component-BUzgs8fh.js → component-CtnZeJ8i.js} +14 -14
- package/dist/esm/{component-B4CDonzN.js → component-CuBrmISS.js} +7 -7
- package/dist/esm/{component-Cj3P_f35.js → component-CuPl7i5J.js} +5 -5
- package/dist/esm/{component-DisuGN16.js → component-DzwUKDj3.js} +6 -6
- package/dist/esm/{contrast-pfwNxK_L.js → contrast-DiGJSn0q.js} +2 -2
- package/dist/esm/{controller-CZcQ57AP.js → controller-BNVDUbSt.js} +1 -1
- package/dist/esm/{dev.utils-DM7Qhcet.js → dev.utils-CS2a1Xpz.js} +2 -2
- package/dist/esm/{devtools-CxUqjh1N.js → devtools-DDKKBFlN.js} +3 -3
- package/dist/esm/{disabled-C2DzYwwy.js → disabled-CnKpxKzf.js} +1 -1
- package/dist/esm/{field-control-CQJgDAKK.js → field-control-BRw1DpB2.js} +8 -8
- package/dist/esm/{group-DCoICCiG.js → group-CeF4yHhL.js} +5 -5
- package/dist/esm/{has-closer-x20C4xl3.js → has-closer-DYgccfEw.js} +1 -1
- package/dist/esm/{href-vIF4eC7d.js → href-BJ2DdiWo.js} +1 -1
- package/dist/esm/{i18n-BRgvVqCf.js → i18n-6bNr_AKM.js} +4 -4
- package/dist/esm/{i18n-BLkzMf6D.js → i18n-DsSD0Coa.js} +2 -2
- package/dist/esm/{id-lCAtMmMx.js → id-BBQitGSa.js} +1 -1
- package/dist/esm/{index-8-BSSKQL.js → index-BFGAlyrC.js} +2 -2
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-C4yo-d7N.js → input-Br0RXmck.js} +5 -5
- package/dist/esm/{input-container-Cb2xJUCl.js → input-container-C8HGQnts.js} +7 -7
- package/dist/esm/{item-C2HHBTvm.js → item-BHmWBVJU.js} +7 -7
- package/dist/esm/{item-BANfM_Mo.js → item-C0BsuFnx.js} +21 -21
- package/dist/esm/{item-gvmzMXYb.js → item-CKABE_5V.js} +13 -13
- package/dist/esm/{item-H09kNXn9.js → item-D-uF2_uB.js} +7 -7
- package/dist/esm/kol-abbr.entry.js +8 -8
- package/dist/esm/kol-accordion.entry.js +17 -17
- package/dist/esm/kol-alert.entry.js +27 -27
- package/dist/esm/kol-avatar.entry.js +17 -20
- package/dist/esm/kol-badge.entry.js +26 -26
- package/dist/esm/kol-breadcrumb.entry.js +30 -30
- package/dist/esm/kol-button-link.entry.js +26 -26
- package/dist/esm/kol-button.entry.js +26 -26
- package/dist/esm/kol-card.entry.js +58 -97
- package/dist/esm/kol-combobox.entry.js +77 -77
- package/dist/esm/kol-details.entry.js +17 -17
- package/dist/esm/kol-dialog.entry.js +33 -33
- package/dist/esm/kol-drawer.entry.js +32 -32
- package/dist/esm/kol-form.entry.js +27 -27
- package/dist/esm/kol-heading.entry.js +15 -15
- package/dist/esm/kol-icon.entry.js +12 -12
- package/dist/esm/kol-image.entry.js +20 -20
- package/dist/esm/kol-input-checkbox.entry.js +70 -70
- package/dist/esm/kol-input-color.entry.js +57 -57
- package/dist/esm/kol-input-date.entry.js +69 -69
- package/dist/esm/kol-input-email.entry.js +75 -75
- package/dist/esm/kol-input-file.entry.js +52 -52
- package/dist/esm/kol-input-number.entry.js +71 -71
- package/dist/esm/kol-input-password.entry.js +73 -73
- package/dist/esm/kol-input-radio.entry.js +53 -53
- package/dist/esm/kol-input-range.entry.js +58 -58
- package/dist/esm/kol-input-text.entry.js +87 -87
- package/dist/esm/kol-kolibri.entry.js +8 -8
- package/dist/esm/kol-link-button.entry.js +35 -35
- package/dist/esm/kol-link.entry.js +34 -34
- package/dist/esm/kol-meter.entry.js +19 -25
- package/dist/esm/kol-modal.entry.js +33 -33
- package/dist/esm/kol-nav.entry.js +36 -36
- package/dist/esm/kol-pagination.entry.js +57 -57
- package/dist/esm/kol-popover-button.entry.js +60 -95
- package/dist/esm/kol-progress.entry.js +18 -21
- package/dist/esm/kol-quote.entry.js +13 -13
- package/dist/esm/kol-select.entry.js +63 -63
- package/dist/esm/kol-single-select.entry.js +78 -78
- package/dist/esm/kol-skip-nav.entry.js +30 -30
- package/dist/esm/kol-spin.entry.js +23 -23
- package/dist/esm/kol-split-button.entry.js +30 -30
- package/dist/esm/kol-table-stateful.entry.js +108 -97
- package/dist/esm/kol-table-stateless.entry.js +55 -55
- package/dist/esm/kol-tabs.entry.js +32 -32
- package/dist/esm/kol-textarea.entry.js +70 -70
- package/dist/esm/kol-toast-container.entry.js +21 -21
- package/dist/esm/kol-toolbar.entry.js +42 -42
- package/dist/esm/kol-tooltip-wc.entry.js +13 -13
- package/dist/esm/kol-tree-item.entry.js +31 -31
- package/dist/esm/kol-tree.entry.js +10 -10
- package/dist/esm/kol-version.entry.js +23 -23
- package/dist/esm/kolibri.js +5 -5
- package/dist/esm/{label-mr5joqaQ.js → label-DQC6csvN.js} +3 -3
- package/dist/esm/{label-hints-BUADjqKF.js → label-hints-Y3Zh7X3N.js} +2 -2
- package/dist/esm/{label-lang-segment-B13iL7iy.js → label-lang-segment-BnLCd3lO.js} +2 -2
- package/dist/esm/{label-with-expert-slot-BVqi0_Fb.js → label-with-expert-slot-BxbzJ0aJ.js} +3 -3
- package/dist/esm/{level-eGeMFn0b.js → level-BaaaBkKR.js} +1 -1
- package/dist/esm/{link-target-DEH-wAmf.js → link-target-BgH0UuzW.js} +1 -1
- package/dist/esm/{links-Dy9WkOJ-.js → links-DnB1I1Gi.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{multiple-F8uOX8RD.js → multiple-CoXuIBC5.js} +1 -1
- package/dist/esm/{number-value-DncK2_pC.js → number-value-MjxRVb0R.js} +2 -1
- package/dist/esm/{open-DoPXNruj.js → open-DBrDqNNt.js} +1 -1
- package/dist/esm/{options-DcIQ-KB2.js → options-CQrFWcRm.js} +2 -2
- package/dist/esm/{orientation-tX0FldEu.js → orientation-Dd57TF4f.js} +1 -1
- package/dist/esm/{placeholder-BPZ2sQEB.js → placeholder-C2TRH0yn.js} +1 -1
- package/dist/esm/{common-BdSzSIXg.js → prop.validators-kX7xC6qj.js} +23 -91
- package/dist/esm/{props-from-config-LBgEHmcL.js → props-from-config-B_k4h7ak.js} +56 -60
- package/dist/esm/{read-only-9BPUG7r4.js → read-only-Do20HzKS.js} +1 -1
- package/dist/esm/{required-DBJ4iW2e.js → required-DBer2Rxa.js} +1 -1
- package/dist/esm/{resolve-props-BQa6SjZU.js → resolve-props-BzL6wFWn.js} +8 -8
- package/dist/esm/{resolve-props-0xfjG6h5.js → resolve-props-DUtwGFZS.js} +7 -7
- package/dist/esm/{rows-DuYJeJT7.js → rows-CA8QgHMZ.js} +1 -1
- package/dist/esm/{scroll-lock-CIv7iOPB.js → scroll-lock-Ch4ulFTS.js} +3 -3
- package/dist/esm/{smart-button-p4avK7MS.js → smart-button-BB671N1B.js} +2 -2
- package/dist/esm/{spell-check-Bvc-Peew.js → spell-check-F1_tx4iu.js} +1 -1
- package/dist/esm/{src-CVwlo_cY.js → src-CkojG2tS.js} +1 -1
- package/dist/esm/{step-oCposIuI.js → step-CTjZRMNh.js} +1 -1
- package/dist/esm/{suggestions-fWMdnACm.js → suggestions-By7hmqB7.js} +3 -3
- package/dist/esm/{suggestions-BsWy2U2z.js → suggestions-G70JmX5_.js} +2 -2
- package/dist/esm/test-component.entry.js +2 -2
- package/dist/esm/{toggle-handler-CtJ2Z7Us.js → toggle-handler-Cx8yn4d5.js} +9 -9
- package/dist/esm/{unique-nav-labels-CZIyOzqJ.js → unique-nav-labels-Civ833r0.js} +2 -2
- package/dist/esm/{unit-YqluIXsF.js → unit-JYCI5y5-.js} +1 -1
- package/dist/esm/{validators-ByUMEUYD.js → validators-CAtXsuiZ.js} +1 -1
- package/dist/esm/{value-string-Baqhc_TX.js → value-string-Dz7Sa2ex.js} +1 -1
- package/dist/esm/{width-BJNhiv_8.js → width-BikKpAHu.js} +1 -1
- package/dist/kolibri/Heading-Cjeak0Ip.js +4 -0
- package/dist/kolibri/api-lgc52EwH.js +4 -0
- package/dist/kolibri/app-globals-CJI5vjfG.js +4 -0
- package/dist/kolibri/base-4vZOpHqg.js +4 -0
- package/dist/kolibri/base-CrFm3Vt_.js +4 -0
- package/dist/kolibri/base-DyVivWCE.js +4 -0
- package/dist/kolibri/base-jUFiFkFq.js +4 -0
- package/dist/kolibri/base-web-component-BhT6Ab3x.js +4 -0
- package/dist/kolibri/base-web-component-Ci40K_CL.js +4 -0
- package/dist/kolibri/{base-web-component-Bh2NCN7p.js → base-web-component-puo2mSiH.js} +1 -1
- package/dist/kolibri/behavior-BOUrKwXj.js +4 -0
- package/dist/kolibri/behavior-BeStbAbq.js +4 -0
- package/dist/kolibri/behavior-vf9LgKnJ.js +4 -0
- package/dist/kolibri/bem-registry-jPrVOPGX.js +4 -0
- package/dist/kolibri/bootstrap-tModZ1Zn.js +4 -0
- package/dist/kolibri/color-BBs35rDv.js +4 -0
- package/dist/kolibri/component-8rE7KeIV.js +4 -0
- package/dist/kolibri/component-B2hvPtlq.js +4 -0
- package/dist/kolibri/component-BGqaexiY.js +4 -0
- package/dist/kolibri/component-C3fJM1FJ.js +4 -0
- package/dist/kolibri/{component-DxnezN7K.js → component-C5YYCLBG.js} +1 -1
- package/dist/kolibri/component-CYv5K14M.js +4 -0
- package/dist/kolibri/component-ComtEOJP.js +4 -0
- package/dist/kolibri/component-CtnZeJ8i.js +4 -0
- package/dist/kolibri/component-CuBrmISS.js +4 -0
- package/dist/kolibri/component-CuPl7i5J.js +4 -0
- package/dist/kolibri/component-DzwUKDj3.js +4 -0
- package/dist/kolibri/contrast-DiGJSn0q.js +4 -0
- package/dist/kolibri/controller-BNVDUbSt.js +4 -0
- package/dist/kolibri/dev.utils-CS2a1Xpz.js +4 -0
- package/dist/kolibri/devtools-DDKKBFlN.js +4 -0
- package/dist/kolibri/disabled-CnKpxKzf.js +4 -0
- package/dist/kolibri/field-control-BRw1DpB2.js +4 -0
- package/dist/kolibri/{group-DCoICCiG.js → group-CeF4yHhL.js} +1 -1
- package/dist/kolibri/has-closer-DYgccfEw.js +4 -0
- package/dist/kolibri/href-BJ2DdiWo.js +4 -0
- package/dist/kolibri/i18n-6bNr_AKM.js +4 -0
- package/dist/kolibri/i18n-DsSD0Coa.js +4 -0
- package/dist/kolibri/id-BBQitGSa.js +4 -0
- package/dist/kolibri/index-BFGAlyrC.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-Br0RXmck.js +4 -0
- package/dist/kolibri/input-container-C8HGQnts.js +4 -0
- package/dist/kolibri/item-BHmWBVJU.js +4 -0
- package/dist/kolibri/item-C0BsuFnx.js +4 -0
- package/dist/kolibri/item-CKABE_5V.js +4 -0
- package/dist/kolibri/item-D-uF2_uB.js +4 -0
- 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-combobox.entry.js +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.js +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.js +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-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.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +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/kolibri.esm.js +1 -1
- package/dist/kolibri/label-DQC6csvN.js +4 -0
- package/dist/kolibri/label-hints-Y3Zh7X3N.js +4 -0
- package/dist/kolibri/label-lang-segment-BnLCd3lO.js +4 -0
- package/dist/kolibri/label-with-expert-slot-BxbzJ0aJ.js +4 -0
- package/dist/kolibri/level-BaaaBkKR.js +4 -0
- package/dist/kolibri/link-target-BgH0UuzW.js +4 -0
- package/dist/kolibri/links-DnB1I1Gi.js +4 -0
- package/dist/kolibri/multiple-CoXuIBC5.js +4 -0
- package/dist/kolibri/number-value-MjxRVb0R.js +4 -0
- package/dist/kolibri/open-DBrDqNNt.js +4 -0
- package/dist/kolibri/options-CQrFWcRm.js +4 -0
- package/dist/kolibri/{orientation-tX0FldEu.js → orientation-Dd57TF4f.js} +1 -1
- package/dist/kolibri/placeholder-C2TRH0yn.js +4 -0
- package/dist/kolibri/prop.validators-kX7xC6qj.js +4 -0
- package/dist/kolibri/props-from-config-B_k4h7ak.js +4 -0
- package/dist/kolibri/read-only-Do20HzKS.js +4 -0
- package/dist/kolibri/required-DBer2Rxa.js +4 -0
- package/dist/kolibri/resolve-props-BzL6wFWn.js +4 -0
- package/dist/kolibri/resolve-props-DUtwGFZS.js +4 -0
- package/dist/kolibri/rows-CA8QgHMZ.js +4 -0
- package/dist/kolibri/{scroll-lock-CIv7iOPB.js → scroll-lock-Ch4ulFTS.js} +1 -1
- package/dist/kolibri/smart-button-BB671N1B.js +4 -0
- package/dist/kolibri/spell-check-F1_tx4iu.js +4 -0
- package/dist/kolibri/src-CkojG2tS.js +4 -0
- package/dist/kolibri/step-CTjZRMNh.js +4 -0
- package/dist/kolibri/suggestions-By7hmqB7.js +4 -0
- package/dist/kolibri/suggestions-G70JmX5_.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-Cx8yn4d5.js +4 -0
- package/dist/kolibri/unique-nav-labels-Civ833r0.js +4 -0
- package/dist/kolibri/unit-JYCI5y5-.js +4 -0
- package/dist/kolibri/validators-CAtXsuiZ.js +4 -0
- package/dist/kolibri/value-string-Dz7Sa2ex.js +4 -0
- package/dist/kolibri/{width-BJNhiv_8.js → width-BikKpAHu.js} +1 -1
- package/dist/types/components/accordion/component.d.ts +2 -2
- package/dist/types/components/alert/component.d.ts +2 -2
- package/dist/types/components/badge/component.d.ts +2 -2
- package/dist/types/components/breadcrumb/component.d.ts +2 -2
- package/dist/types/components/button/base.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +2 -2
- package/dist/types/components/button-link/component.d.ts +2 -2
- package/dist/types/components/card/component.d.ts +12 -5
- package/dist/types/components/combobox/component.d.ts +10 -10
- package/dist/types/components/details/component.d.ts +2 -2
- package/dist/types/components/dialog/base.d.ts +1 -1
- package/dist/types/components/dialog/component.d.ts +3 -3
- package/dist/types/components/drawer/component.d.ts +2 -2
- package/dist/types/components/form/component.d.ts +2 -2
- package/dist/types/components/heading/component.d.ts +2 -2
- package/dist/types/components/image/component.d.ts +2 -2
- package/dist/types/components/input-checkbox/component.d.ts +9 -9
- package/dist/types/components/input-color/component.d.ts +4 -4
- package/dist/types/components/input-date/component.d.ts +6 -6
- package/dist/types/components/input-email/component.d.ts +8 -8
- package/dist/types/components/input-file/component.d.ts +4 -4
- package/dist/types/components/input-number/component.d.ts +6 -6
- package/dist/types/components/input-password/component.d.ts +8 -8
- package/dist/types/components/input-radio/component.d.ts +5 -5
- package/dist/types/components/input-range/component.d.ts +4 -4
- package/dist/types/components/input-text/component.d.ts +12 -12
- package/dist/types/components/kolibri/component.d.ts +2 -2
- package/dist/types/components/link/component.d.ts +4 -4
- package/dist/types/components/link-button/component.d.ts +4 -4
- package/dist/types/components/modal/component.d.ts +3 -3
- package/dist/types/components/nav/component.d.ts +2 -2
- package/dist/types/components/pagination/component.d.ts +8 -8
- package/dist/types/components/popover-button/component.d.ts +10 -3
- package/dist/types/components/public-api/contract.d.ts +7 -2
- package/dist/types/components/select/component.d.ts +6 -6
- package/dist/types/components/single-select/component.d.ts +10 -10
- package/dist/types/components/skip-nav/component.d.ts +2 -2
- package/dist/types/components/spin/component.d.ts +2 -2
- package/dist/types/components/split-button/component.d.ts +2 -2
- package/dist/types/components/table-stateful/component.d.ts +7 -8
- package/dist/types/components/table-stateless/base.d.ts +2 -0
- package/dist/types/components/table-stateless/component.d.ts +7 -7
- package/dist/types/components/tabs/component.d.ts +3 -3
- package/dist/types/components/textarea/component.d.ts +8 -8
- package/dist/types/components/toaster/shadow.d.ts +5 -3
- package/dist/types/components/toolbar/component.d.ts +6 -6
- package/dist/types/components/tree/component.d.ts +2 -2
- package/dist/types/components/tree-item/component.d.ts +4 -4
- package/dist/types/components/version/component.d.ts +2 -2
- package/dist/types/components.d.ts +48 -56
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
- package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
- package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
- package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
- package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
- package/dist/types/internal/functional-components/dialog/component.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
- package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/image/api.d.ts +2 -2
- package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/component.d.ts +1 -1
- package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
- package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +1 -1
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
- package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
- package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
- package/dist/types/internal/functional-components/version/api.d.ts +1 -1
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
- package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
- package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
- package/dist/types/internal/props/index.d.ts +1 -1
- package/dist/types/internal/props/info-popover.d.ts +1 -1
- package/dist/types/internal/props/input-date-max.d.ts +1 -1
- package/dist/types/internal/props/input-date-min.d.ts +1 -1
- package/dist/types/internal/props/nav-links.d.ts +1 -1
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
- package/dist/types/internal/props/smart-button.d.ts +1 -25
- package/dist/types/internal/props/value-input-date.d.ts +1 -1
- package/dist/types/schema/components/alert.d.ts +2 -8
- package/dist/types/schema/components/badge.d.ts +3 -16
- package/dist/types/schema/components/breadcrumb.d.ts +0 -15
- package/dist/types/schema/components/button.d.ts +3 -3
- package/dist/types/schema/components/card.d.ts +0 -9
- package/dist/types/schema/components/form.d.ts +0 -13
- package/dist/types/schema/components/index.d.ts +0 -30
- package/dist/types/schema/components/link.d.ts +2 -2
- package/dist/types/schema/components/pagination.d.ts +1 -15
- package/dist/types/schema/components/popover-button.d.ts +3 -6
- package/dist/types/schema/components/table.d.ts +4 -34
- package/dist/types/schema/components/tabs.d.ts +3 -21
- package/dist/types/schema/components/textarea.d.ts +0 -28
- package/dist/types/schema/components/toaster.d.ts +0 -10
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/props/accept.d.ts +0 -3
- package/dist/types/schema/props/access-key.d.ts +0 -2
- package/dist/types/schema/props/active.d.ts +0 -3
- package/dist/types/schema/props/adjust-height.d.ts +0 -2
- package/dist/types/schema/props/alert-type.d.ts +0 -2
- package/dist/types/schema/props/align.d.ts +0 -2
- package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
- package/dist/types/schema/props/alt.d.ts +0 -3
- package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
- package/dist/types/schema/props/aria-controls.d.ts +0 -2
- package/dist/types/schema/props/aria-current-value.d.ts +1 -5
- package/dist/types/schema/props/aria-description.d.ts +0 -2
- package/dist/types/schema/props/aria-expanded.d.ts +0 -2
- package/dist/types/schema/props/aria-owns.d.ts +0 -2
- package/dist/types/schema/props/aria-selected.d.ts +0 -2
- package/dist/types/schema/props/auto-complete.d.ts +0 -2
- package/dist/types/schema/props/badge-text.d.ts +0 -2
- package/dist/types/schema/props/button-callbacks.d.ts +0 -3
- package/dist/types/schema/props/button-type.d.ts +1 -5
- package/dist/types/schema/props/button-variant.d.ts +1 -5
- package/dist/types/schema/props/checked.d.ts +0 -2
- package/dist/types/schema/props/collapsible.d.ts +0 -2
- package/dist/types/schema/props/color.d.ts +0 -4
- package/dist/types/schema/props/current-length.d.ts +0 -3
- package/dist/types/schema/props/custom-class.d.ts +0 -2
- package/dist/types/schema/props/disabled.d.ts +0 -2
- package/dist/types/schema/props/download.d.ts +0 -2
- package/dist/types/schema/props/error-list.d.ts +0 -2
- package/dist/types/schema/props/has-closer.d.ts +0 -2
- package/dist/types/schema/props/has-compact-button.d.ts +0 -2
- package/dist/types/schema/props/has-counter.d.ts +0 -3
- package/dist/types/schema/props/has-create-button.d.ts +0 -2
- package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
- package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
- package/dist/types/schema/props/has-value.d.ts +0 -3
- package/dist/types/schema/props/hide-label.d.ts +0 -3
- package/dist/types/schema/props/hide-msg.d.ts +0 -3
- package/dist/types/schema/props/hint.d.ts +0 -2
- package/dist/types/schema/props/href.d.ts +2 -4
- package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/icons.d.ts +0 -3
- package/dist/types/schema/props/id.d.ts +0 -2
- package/dist/types/schema/props/image-sizes.d.ts +0 -3
- package/dist/types/schema/props/image-source.d.ts +0 -3
- package/dist/types/schema/props/image-srcset.d.ts +0 -3
- package/dist/types/schema/props/indeterminate.d.ts +0 -2
- package/dist/types/schema/props/index.d.ts +4 -0
- package/dist/types/schema/props/inline.d.ts +0 -3
- package/dist/types/schema/props/label-align.d.ts +1 -5
- package/dist/types/schema/props/label.d.ts +3 -7
- package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
- package/dist/types/schema/props/link-target.d.ts +0 -2
- package/dist/types/schema/props/loading.d.ts +1 -5
- package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
- package/dist/types/schema/props/max-length.d.ts +0 -3
- package/dist/types/schema/props/max.d.ts +0 -4
- package/dist/types/schema/props/modal.d.ts +0 -2
- package/dist/types/schema/props/msg.d.ts +0 -2
- package/dist/types/schema/props/multiple.d.ts +0 -3
- package/dist/types/schema/props/name.d.ts +0 -3
- package/dist/types/schema/props/open.d.ts +0 -3
- package/dist/types/schema/props/options.d.ts +0 -4
- package/dist/types/schema/props/orientation.d.ts +1 -5
- package/dist/types/schema/props/pagination-position.d.ts +1 -5
- package/dist/types/schema/props/pattern.d.ts +0 -3
- package/dist/types/schema/props/placeholder.d.ts +0 -3
- package/dist/types/schema/props/popover-align.d.ts +0 -2
- package/dist/types/schema/props/read-only.d.ts +0 -2
- package/dist/types/schema/props/required.d.ts +0 -2
- package/dist/types/schema/props/resize-textarea.d.ts +0 -2
- package/dist/types/schema/props/rows.d.ts +0 -2
- package/dist/types/schema/props/short-key.d.ts +0 -2
- package/dist/types/schema/props/show.d.ts +0 -3
- package/dist/types/schema/props/spell-check.d.ts +0 -2
- package/dist/types/schema/props/suggestions.d.ts +0 -2
- package/dist/types/schema/props/tab-behavior.d.ts +1 -5
- package/dist/types/schema/props/tab-index.d.ts +0 -2
- package/dist/types/schema/props/table-callbacks.d.ts +1 -4
- package/dist/types/schema/props/table-data-foot.d.ts +0 -3
- package/dist/types/schema/props/table-data.d.ts +0 -3
- package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
- package/dist/types/schema/props/table-header-cells.d.ts +0 -2
- package/dist/types/schema/props/table-selection.d.ts +0 -2
- package/dist/types/schema/props/toolbar-items.d.ts +0 -2
- package/dist/types/schema/props/tooltip-align.d.ts +0 -2
- package/dist/types/schema/props/touched.d.ts +0 -2
- package/dist/types/schema/props/type-input-date.d.ts +4 -2
- package/dist/types/schema/props/type-input-text.d.ts +0 -2
- package/dist/types/schema/props/unit.d.ts +0 -2
- package/dist/types/schema/props/variant/dialog.d.ts +1 -5
- package/dist/types/schema/props/variant/modal.d.ts +0 -1
- package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
- package/dist/types/schema/props/variant-alert.d.ts +0 -2
- package/dist/types/schema/props/variant-class-name.d.ts +0 -3
- package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/variant-progress.d.ts +0 -2
- package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
- package/dist/types/schema/props/width.d.ts +0 -3
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/utils/prop.validators.d.ts +11 -34
- package/dist/types/schema/validators/common.d.ts +2 -0
- package/dist/types/schema/validators/index.d.ts +0 -1
- package/dist/types/utils/testing/logged-messages.d.ts +1 -0
- package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
- package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
- package/doc/badge.md +6 -6
- package/doc/combobox.md +23 -23
- package/doc/input-checkbox.md +2 -2
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +28 -28
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +22 -22
- package/doc/input-number.md +28 -28
- package/doc/input-password.md +29 -29
- package/doc/input-radio.md +19 -19
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +31 -31
- package/doc/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/table-stateful.md +16 -16
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +29 -29
- package/package.json +6 -5
- package/vscode-custom-data.json +50 -138
- package/dist/collection/components/card/base.js +0 -79
- package/dist/collection/components/popover-button/base.js +0 -69
- package/dist/collection/schema/components/accordion.js +0 -1
- package/dist/collection/schema/components/button-link.js +0 -1
- package/dist/collection/schema/components/collapsible.js +0 -1
- package/dist/collection/schema/components/combobox.js +0 -1
- package/dist/collection/schema/components/details.js +0 -1
- package/dist/collection/schema/components/dialog.js +0 -1
- package/dist/collection/schema/components/drawer.js +0 -1
- package/dist/collection/schema/components/heading.js +0 -1
- package/dist/collection/schema/components/input-checkbox.js +0 -1
- package/dist/collection/schema/components/input-color.js +0 -1
- package/dist/collection/schema/components/input-date.js +0 -1
- package/dist/collection/schema/components/input-email.js +0 -1
- package/dist/collection/schema/components/input-file.js +0 -1
- package/dist/collection/schema/components/input-number.js +0 -1
- package/dist/collection/schema/components/input-password.js +0 -1
- package/dist/collection/schema/components/input-radio.js +0 -1
- package/dist/collection/schema/components/input-range.js +0 -1
- package/dist/collection/schema/components/input-text.js +0 -1
- package/dist/collection/schema/components/kolibri.js +0 -1
- package/dist/collection/schema/components/link-button.js +0 -1
- package/dist/collection/schema/components/modal.js +0 -1
- package/dist/collection/schema/components/nav.js +0 -1
- package/dist/collection/schema/components/select.js +0 -1
- package/dist/collection/schema/components/single-select.js +0 -1
- package/dist/collection/schema/components/skip-nav.js +0 -1
- package/dist/collection/schema/components/split-button.js +0 -1
- package/dist/collection/schema/components/tableStateless.js +0 -1
- package/dist/collection/schema/components/toolbar.js +0 -1
- package/dist/collection/schema/components/tree-item.js +0 -1
- package/dist/collection/schema/components/tree.js +0 -1
- package/dist/collection/schema/components/version.js +0 -1
- package/dist/collection/schema/validators/alignment.js +0 -10
- package/dist/collection/utils/testing/legacy-component.js +0 -16
- package/dist/kolibri/Heading-DDS-lyOB.js +0 -4
- package/dist/kolibri/api-MBSY9afi.js +0 -4
- package/dist/kolibri/app-globals-DytcyM_s.js +0 -4
- package/dist/kolibri/base-D-me6QDT.js +0 -4
- package/dist/kolibri/base-D7-iAVBu.js +0 -4
- package/dist/kolibri/base-DP9yHJOV.js +0 -4
- package/dist/kolibri/base-DZBnXHZh.js +0 -4
- package/dist/kolibri/base-web-component-BLA2cpyz.js +0 -4
- package/dist/kolibri/base-web-component-DwY54ppZ.js +0 -4
- package/dist/kolibri/behavior-Cw8QfOcm.js +0 -4
- package/dist/kolibri/behavior-DUy0X7U1.js +0 -4
- package/dist/kolibri/behavior-DmR4WVXd.js +0 -4
- package/dist/kolibri/bem-registry-SKACeCny.js +0 -4
- package/dist/kolibri/bootstrap-Bp7i4RJQ.js +0 -4
- package/dist/kolibri/color-CnRQPMm_.js +0 -4
- package/dist/kolibri/common-BdSzSIXg.js +0 -4
- package/dist/kolibri/component-B4CDonzN.js +0 -4
- package/dist/kolibri/component-BC1TpQVD.js +0 -4
- package/dist/kolibri/component-BUzgs8fh.js +0 -4
- package/dist/kolibri/component-Bldy_ShO.js +0 -4
- package/dist/kolibri/component-Cj3P_f35.js +0 -4
- package/dist/kolibri/component-D5yKRPCZ.js +0 -4
- package/dist/kolibri/component-DisuGN16.js +0 -4
- package/dist/kolibri/component-LadkF9an.js +0 -4
- package/dist/kolibri/component-ZJiUl6kZ.js +0 -4
- package/dist/kolibri/component-vxdandl4.js +0 -4
- package/dist/kolibri/contrast-pfwNxK_L.js +0 -4
- package/dist/kolibri/controller-CZcQ57AP.js +0 -4
- package/dist/kolibri/dev.utils-DM7Qhcet.js +0 -4
- package/dist/kolibri/devtools-CxUqjh1N.js +0 -4
- package/dist/kolibri/disabled-C2DzYwwy.js +0 -4
- package/dist/kolibri/field-control-CQJgDAKK.js +0 -4
- package/dist/kolibri/has-closer-x20C4xl3.js +0 -4
- package/dist/kolibri/href-vIF4eC7d.js +0 -4
- package/dist/kolibri/i18n-BLkzMf6D.js +0 -4
- package/dist/kolibri/i18n-BRgvVqCf.js +0 -4
- package/dist/kolibri/id-lCAtMmMx.js +0 -4
- package/dist/kolibri/index-8-BSSKQL.js +0 -6
- package/dist/kolibri/input-C4yo-d7N.js +0 -4
- package/dist/kolibri/input-container-Cb2xJUCl.js +0 -4
- package/dist/kolibri/item-BANfM_Mo.js +0 -4
- package/dist/kolibri/item-C2HHBTvm.js +0 -4
- package/dist/kolibri/item-H09kNXn9.js +0 -4
- package/dist/kolibri/item-gvmzMXYb.js +0 -4
- package/dist/kolibri/label-hints-BUADjqKF.js +0 -4
- package/dist/kolibri/label-lang-segment-B13iL7iy.js +0 -4
- package/dist/kolibri/label-mr5joqaQ.js +0 -4
- package/dist/kolibri/label-with-expert-slot-BVqi0_Fb.js +0 -4
- package/dist/kolibri/level-eGeMFn0b.js +0 -4
- package/dist/kolibri/link-target-DEH-wAmf.js +0 -4
- package/dist/kolibri/links-Dy9WkOJ-.js +0 -4
- package/dist/kolibri/multiple-F8uOX8RD.js +0 -4
- package/dist/kolibri/number-value-DncK2_pC.js +0 -4
- package/dist/kolibri/open-DoPXNruj.js +0 -4
- package/dist/kolibri/options-DcIQ-KB2.js +0 -4
- package/dist/kolibri/placeholder-BPZ2sQEB.js +0 -4
- package/dist/kolibri/props-from-config-LBgEHmcL.js +0 -4
- package/dist/kolibri/read-only-9BPUG7r4.js +0 -4
- package/dist/kolibri/required-DBJ4iW2e.js +0 -4
- package/dist/kolibri/resolve-props-0xfjG6h5.js +0 -4
- package/dist/kolibri/resolve-props-BQa6SjZU.js +0 -4
- package/dist/kolibri/rows-DuYJeJT7.js +0 -4
- package/dist/kolibri/smart-button-p4avK7MS.js +0 -4
- package/dist/kolibri/spell-check-Bvc-Peew.js +0 -4
- package/dist/kolibri/src-CVwlo_cY.js +0 -4
- package/dist/kolibri/step-oCposIuI.js +0 -4
- package/dist/kolibri/suggestions-BsWy2U2z.js +0 -4
- package/dist/kolibri/suggestions-fWMdnACm.js +0 -4
- package/dist/kolibri/toggle-handler-CtJ2Z7Us.js +0 -4
- package/dist/kolibri/unique-nav-labels-CZIyOzqJ.js +0 -4
- package/dist/kolibri/unit-YqluIXsF.js +0 -4
- package/dist/kolibri/validators-ByUMEUYD.js +0 -4
- package/dist/kolibri/value-string-Baqhc_TX.js +0 -4
- package/dist/types/components/card/base.d.ts +0 -27
- package/dist/types/components/popover-button/base.d.ts +0 -21
- package/dist/types/schema/components/accordion.d.ts +0 -11
- package/dist/types/schema/components/button-link.d.ts +0 -7
- package/dist/types/schema/components/collapsible.d.ts +0 -7
- package/dist/types/schema/components/combobox.d.ts +0 -26
- package/dist/types/schema/components/details.d.ts +0 -11
- package/dist/types/schema/components/dialog.d.ts +0 -21
- package/dist/types/schema/components/drawer.d.ts +0 -17
- package/dist/types/schema/components/heading.d.ts +0 -17
- package/dist/types/schema/components/input-checkbox.d.ts +0 -25
- package/dist/types/schema/components/input-color.d.ts +0 -25
- package/dist/types/schema/components/input-date.d.ts +0 -34
- package/dist/types/schema/components/input-email.d.ts +0 -31
- package/dist/types/schema/components/input-file.d.ts +0 -22
- package/dist/types/schema/components/input-number.d.ts +0 -33
- package/dist/types/schema/components/input-password.d.ts +0 -31
- package/dist/types/schema/components/input-radio.d.ts +0 -22
- package/dist/types/schema/components/input-range.d.ts +0 -27
- package/dist/types/schema/components/input-text.d.ts +0 -33
- package/dist/types/schema/components/kolibri.d.ts +0 -21
- package/dist/types/schema/components/link-button.d.ts +0 -7
- package/dist/types/schema/components/modal.d.ts +0 -4
- package/dist/types/schema/components/nav.d.ts +0 -16
- package/dist/types/schema/components/select.d.ts +0 -24
- package/dist/types/schema/components/single-select.d.ts +0 -24
- package/dist/types/schema/components/skip-nav.d.ts +0 -16
- package/dist/types/schema/components/split-button.d.ts +0 -9
- package/dist/types/schema/components/tableStateless.d.ts +0 -24
- package/dist/types/schema/components/toolbar.d.ts +0 -11
- package/dist/types/schema/components/tree-item.d.ts +0 -12
- package/dist/types/schema/components/tree.d.ts +0 -10
- package/dist/types/schema/components/version.d.ts +0 -10
- package/dist/types/schema/validators/alignment.d.ts +0 -3
- package/dist/types/utils/testing/legacy-component.d.ts +0 -4
- package/dist/cjs/{ariaCurrentService-3051l6MI.js → aria-current-service-3051l6MI.js} +0 -0
- package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +0 -0
- package/dist/collection/internal/functional-components/pagination/{page-size-select.js → select-item.js} +9 -9
- package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
- package/dist/components/{ariaCurrentService.js → aria-current-service.js} +0 -0
- package/dist/esm/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
- package/dist/kolibri/{ariaCurrentService-YoLNpD5S.js → aria-current-service-YoLNpD5S.js} +0 -0
- package/dist/types/{components → internal/functional-components}/form/controller.d.ts +0 -0
- package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
- package/dist/types/internal/functional-components/pagination/{page-size-select.d.ts → select-item.d.ts} +1 -1
- /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
|
@@ -1,36 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { emptyStringByArrayHandler, objectObjectHandler, parseJson, watchValidator } from "../utils";
|
|
5
|
-
const isHeaderRows = (rows) => {
|
|
6
|
-
return Array.isArray(rows) && rows.every((headerRow) => Array.isArray(headerRow));
|
|
7
|
-
};
|
|
8
|
-
export const validateTableHeaders = (component, value) => {
|
|
9
|
-
emptyStringByArrayHandler(value, () => {
|
|
10
|
-
objectObjectHandler(value, () => {
|
|
11
|
-
try {
|
|
12
|
-
value = parseJson(value);
|
|
13
|
-
}
|
|
14
|
-
catch (e) {
|
|
15
|
-
void e;
|
|
16
|
-
}
|
|
17
|
-
watchValidator(component, '_headers', (value) => {
|
|
18
|
-
if (typeof value !== 'object' || value === null)
|
|
19
|
-
return false;
|
|
20
|
-
const horizontal = value.horizontal;
|
|
21
|
-
const vertical = value.vertical;
|
|
22
|
-
if ((horizontal !== undefined && !isHeaderRows(horizontal)) || (vertical !== undefined && !isHeaderRows(vertical))) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
const allHeaderCells = [];
|
|
26
|
-
for (const row of horizontal !== null && horizontal !== void 0 ? horizontal : []) {
|
|
27
|
-
allHeaderCells.push(...row);
|
|
28
|
-
}
|
|
29
|
-
for (const col of vertical !== null && vertical !== void 0 ? vertical : []) {
|
|
30
|
-
allHeaderCells.push(...col);
|
|
31
|
-
}
|
|
32
|
-
return allHeaderCells.every((cell) => cell.width === undefined || typeof cell.width === 'number');
|
|
33
|
-
}, new Set(['TableHeaderCellsPropType']), value);
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { parseJson, setState } from "../utils";
|
|
5
|
-
import { isObject } from "../validators";
|
|
6
|
-
export const validateTableSelection = (component, value) => {
|
|
7
|
-
const parseSerializedValue = () => {
|
|
8
|
-
try {
|
|
9
|
-
return parseJson(value);
|
|
10
|
-
}
|
|
11
|
-
catch (_a) {
|
|
12
|
-
return undefined;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
const validateObject = (value) => {
|
|
16
|
-
return value && isObject(value) && typeof value.label === 'function' && (!value.selectedKeys || Array.isArray(value.selectedKeys));
|
|
17
|
-
};
|
|
18
|
-
const objectValue = typeof value === 'string' ? parseSerializedValue() : value;
|
|
19
|
-
if (validateObject(objectValue)) {
|
|
20
|
-
setState(component, '_selection', value);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { emptyStringByArrayHandler, objectObjectHandler, parseJson, setState } from "../utils";
|
|
5
|
-
export const validateToolbarItems = (component, value) => {
|
|
6
|
-
emptyStringByArrayHandler(value, () => {
|
|
7
|
-
objectObjectHandler(value, () => {
|
|
8
|
-
if (typeof value === 'undefined') {
|
|
9
|
-
value = [];
|
|
10
|
-
}
|
|
11
|
-
try {
|
|
12
|
-
value = parseJson(value);
|
|
13
|
-
}
|
|
14
|
-
catch (_a) {
|
|
15
|
-
}
|
|
16
|
-
if (Array.isArray(value) && value.every((items) => typeof items === 'object' && items !== null)) {
|
|
17
|
-
setState(component, '_items', value);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
4
|
export const inputDateTypeOptions = ['date', 'datetime-local', 'month', 'time', 'week'];
|
|
6
|
-
const isInputDateTypePropType = (value) => {
|
|
7
|
-
return typeof value === 'string' && inputDateTypeOptions.includes(value);
|
|
8
|
-
};
|
|
9
|
-
export const validateTypeInputDate = (component, value) => {
|
|
10
|
-
watchValidator(component, '_type', isInputDateTypePropType, new Set(inputDateTypeOptions), value);
|
|
11
|
-
};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
4
|
export const inputTextTypeOptions = ['text', 'search', 'url', 'tel'];
|
|
6
|
-
const isInputTextTypePropType = (value) => {
|
|
7
|
-
return typeof value === 'string' && inputTextTypeOptions.includes(value);
|
|
8
|
-
};
|
|
9
|
-
export const validateTypeInputText = (component, value) => {
|
|
10
|
-
watchValidator(component, '_type', isInputTextTypePropType, new Set(inputTextTypeOptions), value);
|
|
11
|
-
};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { watchValidator } from "../../utils/prop.validators";
|
|
5
|
-
const DialogVariantPropTypeOptions = ['blank', 'card'];
|
|
6
|
-
export const validateDialogVariant = (component, value) => {
|
|
7
|
-
watchValidator(component, '_variant', (value) => typeof value === 'string' && DialogVariantPropTypeOptions.includes(value), new Set(DialogVariantPropTypeOptions), value);
|
|
8
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { watchValidator } from "../../utils/prop.validators";
|
|
5
|
-
const PasswordVariantPropTypeOptions = ['default', 'visibility-toggle'];
|
|
6
|
-
export const validatePasswordVariant = (component, value) => {
|
|
7
|
-
watchValidator(component, '_variant', (value) => typeof value === 'string' && PasswordVariantPropTypeOptions.includes(value), new Set(PasswordVariantPropTypeOptions), value);
|
|
8
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
4
|
export const alertVariantOptions = ['card', 'msg'];
|
|
6
|
-
const isAlertVariantPropType = (value) => {
|
|
7
|
-
return typeof value === 'string' && alertVariantOptions.includes(value);
|
|
8
|
-
};
|
|
9
|
-
export const validateAlertVariant = (component, value) => {
|
|
10
|
-
watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);
|
|
11
|
-
};
|
|
@@ -1,39 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
|
-
import { isString } from "../validators";
|
|
6
|
-
const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{3,60}$/;
|
|
7
|
-
const isValidArrayOrString = (value) => (Array.isArray(value) && value.every(isSafeClassName)) || (isString(value, 1) && value.split(' ').every(isSafeClassName));
|
|
8
|
-
const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
|
|
9
|
-
const SAFE_CLASS_NAME_ALLOWED = new Set([SAFE_CLASS_NAME_RE.source]);
|
|
10
|
-
const beforePatchString = (component) => {
|
|
11
|
-
var _a, _b, _c;
|
|
12
|
-
if ((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.has('_variant')) {
|
|
13
|
-
const variants = (_b = component.nextState) === null || _b === void 0 ? void 0 : _b.get('_variant');
|
|
14
|
-
let nextStateVariants = [];
|
|
15
|
-
if (isString(variants, 1)) {
|
|
16
|
-
nextStateVariants = variants.split(' ');
|
|
17
|
-
}
|
|
18
|
-
else if (Array.isArray(variants)) {
|
|
19
|
-
nextStateVariants = variants;
|
|
20
|
-
}
|
|
21
|
-
(_c = component.nextState) === null || _c === void 0 ? void 0 : _c.set('_variant', nextStateVariants);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export const validateVariantClassName = (component, value, options = {}) => {
|
|
25
|
-
var _a;
|
|
26
|
-
watchValidator(component, '_variant', isValidArrayOrString, SAFE_CLASS_NAME_ALLOWED, value, Object.assign(Object.assign({}, options), { defaultValue: [], hooks: {
|
|
27
|
-
afterPatch: (_a = options.hooks) === null || _a === void 0 ? void 0 : _a.afterPatch,
|
|
28
|
-
beforePatch: (nextValue, nextState, component, key) => {
|
|
29
|
-
var _a, _b;
|
|
30
|
-
if (typeof ((_a = options.hooks) === null || _a === void 0 ? void 0 : _a.beforePatch) === 'function') {
|
|
31
|
-
(_b = options.hooks) === null || _b === void 0 ? void 0 : _b.beforePatch(nextValue, nextState, component, key);
|
|
32
|
-
}
|
|
33
|
-
beforePatchString(component);
|
|
34
|
-
},
|
|
35
|
-
} }));
|
|
36
|
-
};
|
|
37
4
|
export const classNameFromVariant = (variants, componentName) => {
|
|
38
5
|
let className = '';
|
|
39
6
|
if (Array.isArray(variants)) {
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
4
|
export const inputCheckboxVariantOptions = ['button', 'default', 'switch'];
|
|
6
|
-
const isInputCheckboxVariantPropType = (value) => {
|
|
7
|
-
return typeof value === 'string' && inputCheckboxVariantOptions.includes(value);
|
|
8
|
-
};
|
|
9
|
-
export const validateVariantInputCheckbox = (component, value) => {
|
|
10
|
-
watchValidator(component, '_variant', isInputCheckboxVariantPropType, new Set(inputCheckboxVariantOptions), value);
|
|
11
|
-
};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { watchValidator } from "../utils";
|
|
5
4
|
export const progressVariantOptions = ['bar', 'cycle'];
|
|
6
|
-
const isProgressVariantPropType = (value) => {
|
|
7
|
-
return typeof value === 'string' && progressVariantOptions.includes(value);
|
|
8
|
-
};
|
|
9
|
-
export const validateVariantProgress = (component, value) => {
|
|
10
|
-
watchValidator(component, '_variant', isProgressVariantPropType, new Set(progressVariantOptions), value);
|
|
11
|
-
};
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { watchString } from "../utils";
|
|
5
|
-
export const validateWidth = (component, value, options) => {
|
|
6
|
-
watchString(component, '_width', value, Object.assign({ defaultValue: '100%' }, options));
|
|
7
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { hex } from "wcag-contrast";
|
|
5
4
|
import rgba from "color-rgba";
|
|
6
5
|
import rgbaConvert from "rgba-convert";
|
|
6
|
+
import { hex } from "wcag-contrast";
|
|
7
7
|
export const getContrastYIQ = (r, g, b) => {
|
|
8
8
|
const yiq = (r * 299 + g * 587 + b * 114) / 1000;
|
|
9
9
|
return yiq >= 128 ? -1 : 1;
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
import { getCssStyle, patchTheme, patchThemeTag } from "adopted-style-sheets";
|
|
5
5
|
import rgba from "rgba-convert";
|
|
6
6
|
import { hex, score } from "wcag-contrast";
|
|
7
|
-
import { getDocument, getExperimentalMode,
|
|
8
|
-
import { devHint } from "./a11y.tipps";
|
|
7
|
+
import { getDocument, getExperimentalMode, Log } from "./dev.utils";
|
|
9
8
|
const OBJECT_OBJECT = /\[object Object\]/;
|
|
10
9
|
export const objectObjectHandler = (value, cb) => {
|
|
11
10
|
if (typeof value === 'string' && OBJECT_OBJECT.test(value)) {
|
|
@@ -13,12 +12,6 @@ export const objectObjectHandler = (value, cb) => {
|
|
|
13
12
|
}
|
|
14
13
|
cb();
|
|
15
14
|
};
|
|
16
|
-
export const emptyStringByArrayHandler = (value, cb) => {
|
|
17
|
-
if (typeof value === 'string' && value === '') {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
cb();
|
|
21
|
-
};
|
|
22
15
|
export const setEventTarget = (event, target) => {
|
|
23
16
|
if (getExperimentalMode()) {
|
|
24
17
|
Log.debug([event, target]);
|
|
@@ -29,130 +22,6 @@ export const setEventTarget = (event, target) => {
|
|
|
29
22
|
writable: false,
|
|
30
23
|
});
|
|
31
24
|
};
|
|
32
|
-
const patchState = (component) => {
|
|
33
|
-
var _a, _b, _c;
|
|
34
|
-
(_a = component.nextHooks) === null || _a === void 0 ? void 0 : _a.forEach((hooks, key) => {
|
|
35
|
-
var _a;
|
|
36
|
-
const beforePatch = hooks.get('beforePatch');
|
|
37
|
-
if (typeof beforePatch === 'function') {
|
|
38
|
-
beforePatch((_a = component.nextState) === null || _a === void 0 ? void 0 : _a.get(key), component.nextState, component, key);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
if (((_b = component.nextState) === null || _b === void 0 ? void 0 : _b.size) > 0) {
|
|
42
|
-
component.state = Object.assign(Object.assign({}, component.state), Object.fromEntries(component.nextState));
|
|
43
|
-
delete component.nextState;
|
|
44
|
-
(_c = component.nextHooks) === null || _c === void 0 ? void 0 : _c.forEach((hooks, key) => {
|
|
45
|
-
const afterPatch = hooks.get('afterPatch');
|
|
46
|
-
if (typeof afterPatch === 'function') {
|
|
47
|
-
afterPatch(component.state[key], component.state, component, key);
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
delete component.nextHooks;
|
|
52
|
-
};
|
|
53
|
-
export const setState = (component, propName, value, hooks = {}) => {
|
|
54
|
-
var _a, _b;
|
|
55
|
-
if (component.nextHooks === undefined) {
|
|
56
|
-
component.nextHooks = new Map();
|
|
57
|
-
}
|
|
58
|
-
if (component.nextState === undefined) {
|
|
59
|
-
component.nextState = new Map();
|
|
60
|
-
}
|
|
61
|
-
const nextHooks = component.nextHooks.get(propName);
|
|
62
|
-
if (nextHooks instanceof Map === false) {
|
|
63
|
-
component.nextHooks.set(propName, new Map());
|
|
64
|
-
}
|
|
65
|
-
if (typeof hooks.afterPatch === 'function') {
|
|
66
|
-
(_a = component.nextHooks.get(propName)) === null || _a === void 0 ? void 0 : _a.set('afterPatch', hooks.afterPatch);
|
|
67
|
-
}
|
|
68
|
-
if (typeof hooks.beforePatch === 'function') {
|
|
69
|
-
(_b = component.nextHooks.get(propName)) === null || _b === void 0 ? void 0 : _b.set('beforePatch', hooks.beforePatch);
|
|
70
|
-
}
|
|
71
|
-
component.nextState.set(propName, value);
|
|
72
|
-
patchState(component);
|
|
73
|
-
};
|
|
74
|
-
const logWarn = (component, propName, value, requiredGeneric) => {
|
|
75
|
-
devHint(`[${component.constructor.name}] The property value: (${value}) for '${propName}' is not valid. Allowed values are: ${Array.from(requiredGeneric).join(', ')}`);
|
|
76
|
-
};
|
|
77
|
-
export function watchValidator(component, propName, validationFunction, requiredGeneric, value, options = {}) {
|
|
78
|
-
if (!isValidationEnabled()) {
|
|
79
|
-
if (value !== undefined) {
|
|
80
|
-
setState(component, propName, value, options.hooks);
|
|
81
|
-
}
|
|
82
|
-
else if (validationFunction(undefined)) {
|
|
83
|
-
setState(component, propName, undefined, options.hooks);
|
|
84
|
-
}
|
|
85
|
-
else if (options.required !== true && validationFunction(options.defaultValue)) {
|
|
86
|
-
setState(component, propName, options.defaultValue, options.hooks);
|
|
87
|
-
}
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
if (validationFunction(value)) {
|
|
91
|
-
setState(component, propName, value, options.hooks);
|
|
92
|
-
}
|
|
93
|
-
else if (value === undefined && options.required !== true && validationFunction(options.defaultValue)) {
|
|
94
|
-
setState(component, propName, options.defaultValue, options.hooks);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
const allowedValues = new Set(requiredGeneric);
|
|
98
|
-
if (!options.required) {
|
|
99
|
-
allowedValues.add(null);
|
|
100
|
-
}
|
|
101
|
-
logWarn(component, propName, value, allowedValues);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export const watchBoolean = (component, propName, value, options) => {
|
|
105
|
-
watchValidator(component, propName, (value) => typeof value === 'boolean', new Set(['Boolean {true, false}']), value, options);
|
|
106
|
-
};
|
|
107
|
-
export const watchString = (component, propName, value, options = {}) => {
|
|
108
|
-
const minLength = typeof options.minLength === 'number' ? options === null || options === void 0 ? void 0 : options.minLength : 0;
|
|
109
|
-
watchValidator(component, propName, (value) => typeof value === 'string' && value.length >= minLength && (typeof (options === null || options === void 0 ? void 0 : options.maxLength) === 'undefined' || value.length <= options.maxLength), new Set([`String`]), value, options);
|
|
110
|
-
};
|
|
111
|
-
export const watchNumber = (component, propName, value, options) => {
|
|
112
|
-
watchValidator(component, propName, (value) => typeof value === 'number' &&
|
|
113
|
-
!isNaN(value) &&
|
|
114
|
-
(typeof (options === null || options === void 0 ? void 0 : options.min) === 'undefined' || (typeof (options === null || options === void 0 ? void 0 : options.min) === 'number' && value >= options.min)) &&
|
|
115
|
-
(typeof (options === null || options === void 0 ? void 0 : options.max) === 'undefined' || (typeof (options === null || options === void 0 ? void 0 : options.max) === 'number' && value <= options.max)), new Set(['Number']), value, options);
|
|
116
|
-
};
|
|
117
|
-
export const watchJsonArrayString = (component, propName, itemValidation, value, arrayValidation = (items) => items === items, options = {}) => {
|
|
118
|
-
emptyStringByArrayHandler(value, () => {
|
|
119
|
-
objectObjectHandler(value, () => {
|
|
120
|
-
if (typeof value === 'undefined') {
|
|
121
|
-
value = [];
|
|
122
|
-
}
|
|
123
|
-
try {
|
|
124
|
-
try {
|
|
125
|
-
value = parseJson(value);
|
|
126
|
-
}
|
|
127
|
-
catch (_a) {
|
|
128
|
-
}
|
|
129
|
-
if (Array.isArray(value)) {
|
|
130
|
-
const skipValidation = !isValidationEnabled();
|
|
131
|
-
const invalidIndex = skipValidation ? -1 : value.findIndex((item) => !itemValidation(item));
|
|
132
|
-
const invalid = invalidIndex === -1 ? undefined : value[invalidIndex];
|
|
133
|
-
if (invalidIndex === -1 && (skipValidation || arrayValidation(value))) {
|
|
134
|
-
setState(component, propName, value, options.hooks);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
objectObjectHandler(invalid, () => {
|
|
138
|
-
Log.debug(invalid);
|
|
139
|
-
throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
objectObjectHandler(value, () => {
|
|
145
|
-
Log.debug(value);
|
|
146
|
-
throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`);
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
catch (error) {
|
|
151
|
-
Log.debug(error);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
};
|
|
156
25
|
export const stringifyJson = (value) => {
|
|
157
26
|
try {
|
|
158
27
|
return JSON.stringify(value).replace(/"/g, "'");
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
+
const NUMBER_STRING_PATTERN = /^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;
|
|
5
|
+
export function isNumberString(value) {
|
|
6
|
+
return typeof value === 'string' && NUMBER_STRING_PATTERN.test(value) && Number.isFinite(Number(value));
|
|
7
|
+
}
|
|
4
8
|
export const isObject = (value) => typeof value === 'object' && value !== null;
|
|
5
9
|
export const isString = (value, minLength = 0) => typeof value === 'string' && value.length >= minLength;
|
|
6
10
|
export const isStyle = (style) => {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { Log, getDocument, isTestMode, setColorContrastAnalysis, setExperimentalMode } from "../schema";
|
|
5
4
|
import { Env } from "@stencil/core";
|
|
6
|
-
import { getWindow } from "../schema";
|
|
5
|
+
import { Log, getDocument, getWindow, isTestMode, setColorContrastAnalysis, setExperimentalMode } from "../schema";
|
|
7
6
|
const initMeta = () => {
|
|
8
7
|
try {
|
|
9
8
|
const document = getDocument();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { executeSnapshotTests } from "./snapshot-testing";
|
|
5
5
|
export function executeInputSnapshotTests(ComponentName, components, extendedProps, options = {}) {
|
|
6
|
-
const baseObj = Object.assign({ _label: 'Label', _name: 'field', _placeholder: 'Hier steht ein Platzhaltertext' },
|
|
6
|
+
const baseObj = Object.assign({ _label: 'Label', _name: 'field', _placeholder: 'Hier steht ein Platzhaltertext' }, extendedProps);
|
|
7
7
|
const propVariants = [
|
|
8
8
|
Object.assign({}, baseObj),
|
|
9
9
|
Object.assign(Object.assign({}, baseObj), { _accessKey: 'V' }),
|
|
@@ -9,12 +9,13 @@ const propsToLabel = (props) => {
|
|
|
9
9
|
.join(' ');
|
|
10
10
|
};
|
|
11
11
|
export const executeSnapshotTests = (ComponentName, components, propVariants) => {
|
|
12
|
+
const TagName = ComponentName;
|
|
12
13
|
describe(ComponentName, () => {
|
|
13
14
|
const testTable = propVariants.map((props) => [propsToLabel(props), props]);
|
|
14
15
|
it.each(testTable)('should render with %s', async (_, props) => {
|
|
15
16
|
const page = await newSpecPage({
|
|
16
17
|
components,
|
|
17
|
-
template: () => h(
|
|
18
|
+
template: () => h(TagName, Object.assign({}, props)),
|
|
18
19
|
});
|
|
19
20
|
await page.waitForChanges();
|
|
20
21
|
expect(page.root).toMatchSnapshot();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,k as i,G as t,b as o}from"./bem-registry.js";import{d as s}from"./disabled.js";import{h as l,e as r,j as a}from"./component2.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config.js";import{l as v}from"./label-with-expert-slot.js";import{n as b}from"./component8.js";import{a as f}from"./tslib.es6.js";import{S as g,b as y,s as j}from"./component6.js";import{r as _}from"./aria-labelledby.js";import{a as B,c as L,n as O}from"./dev.utils.js";import{K as T,d as F}from"./events.js";import{B as N}from"./base-web-component.js";import{c as x}from"./item.js";import{F as K}from"./behavior3.js";import{c as k}from"./item2.js";import{T as w}from"./behavior.js";import{h as A}from"@stencil/core/internal/client";import{t as P}from"./i18n.js";import{T as C}from"./component9.js";import{P as D}from"./behavior4.js";import{A as H}from"./component.js";function I(e,i){return Boolean(e)&&!0===i}function M(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=n("ariaDetails","",d),q=n("hideMsg",!1,h),E=n("hint","",d),$=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),z=c(),G=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),R=n("touched",!1,h),V={required:[v],optional:[S,s,l,q,E,$,z,G,b,r,R]},J=e=>{var{id:i,class:t,hint:o,baseClassName:s="kol-form-field"}=e,l=f(e,["id","class","hint","baseClassName"]);return o?A("span",Object.assign({class:p(`${s}__hint`,t),id:B(i||"","hint")},l),o):null},Q=e=>{var{component:i="label",id:t,baseClassName:o="kol-form-field",class:s,accessKey:l,shortKey:r,label:a,hideLabel:n,hasExpertSlot:d,omitId:h,showBadge:c=!0,readOnly:u,infoPopover:m}=e,v=f(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const b=!d&&n,j=!1===c?void 0:y(l,r);return A(i,Object.assign({},v,{class:p(`${o}__label`,s),id:b||h?void 0:B(t,"label"),hidden:b,htmlFor:"legend"===i?void 0:t}),A(g,{class:`${o}__label-text`,label:d?"":null!=a?a:"",badgeText:j},A("slot",{name:"expert"})),!d&&u&&A("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",P("kol-readonly"),")"),!d&&m&&A("span",null,A(D,Object.assign({},m.popoverButton),A("div",{class:"kol-popover-button__popover--styled"},m.content))))},U=i=>{var t,o,{alert:s,hideMsg:l,msg:r,id:a,class:n}=i,d=f(i,["alert","hideMsg","msg","id","class"]);const h=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return A(H,Object.assign({alert:!l&&(null!==(t=null==h?void 0:h._alert)&&void 0!==t?t:!0===s),class:p("kol-form-field__msg",l&&"visually-hidden",n),closerAriaDescriptionId:O(),handleCloserClick:()=>{},hasCloser:!1,headingId:L("alert-heading"),id:B(a,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(o=null==h?void 0:h._type)&&void 0!==o?o:"error",variant:"msg"},d),(null==h?void 0:h._description)||void 0)},W=o.forBlock("kol-form-field"),X=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!j(i)&&!0===e,Y=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Z=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:o,renderNoHint:s,id:l,required:r,alert:n,disabled:d,class:h,msg:c,hideMsg:m,hideLabel:v,label:b,infoPopover:g,hint:_,accessKey:L,shortKey:O,counter:T,readOnly:F,touched:N,maxLength:x,ariaDescribedBy:K,showBadge:k,tooltipAlign:w,variant:D,component:H="div",orientation:M,refInput:S,refTooltip:q}=e,E=f(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),$=j(b),z=I(c,N),G=y(L,O),R=X({hideLabel:v,label:b,renderNoTooltip:o}),V="fieldset"===H;return A(u,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(d),required:Boolean(r),touched:Boolean(N),"hide-label":Boolean(v),"read-only":Boolean(F),"hidden-msg":Boolean(m)},z?Y(c):{}),class:p(D&&a(D,"form-field"),h),disabled:!(!V||!d)||void 0,"aria-describedby":K},E),!t&&A(Q,{component:V?"legend":"label",class:V?"kol-form-field__label--legend":void 0,id:l,hasExpertSlot:$,hideLabel:v,label:b,accessKey:L,shortKey:O,readOnly:F,showBadge:k,infoPopover:g}),A("div",{class:W("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,R&&A("div",{class:W("tooltip")},A(C,{badgeText:G||"",label:b,align:w,id:B(l,"label"),refFloating:q}))),T&&!("soft"===T.maxLengthBehavior&&"number"!=typeof T.maxLength)&&A("div",{class:W("counter")},A("span",{"aria-hidden":"true",class:W("counter"),ref:T.visualRef}),A("span",{"aria-live":"polite",class:"visually-hidden",id:B(l,"counter"),ref:T.ariaRef})),z&&A(U,{id:l,alert:n,hideMsg:m,msg:c}),!s&&A(J,{id:l,hint:_}),"number"==typeof x&&!T&&A("span",{id:B(l,"character-limit-hint"),class:"visually-hidden"},P("kol-character-limit-hint",{placeholders:{limit:String(x)}})))};function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?m(t):void 0}}const ie=class extends N{constructor(){super(...arguments),this.tooltipBehavior=new w(N.stateLess),this.smartButton=x((()=>this.host)),this.infoPopover=k({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(T.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(T.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(T.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(T.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(T.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new K(N.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=f(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){S.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=_(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){s.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){l.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){$.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){v.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){G.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){b.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){z.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){r.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){R.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&F(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(T.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===M(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(B(e,"msg")),a&&n.push(B(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return X({hideLabel:e.getRenderProp("hideLabel"),label:m(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:l,readOnly:r,renderNoLabel:a,renderNoTooltip:n,required:d}){const h=this.shared,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(y(i,t)||""),this.tooltipBehavior.watchId(B(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,hideLabel:h.getRenderProp("hideLabel"),hideMsg:h.getRenderProp("hideMsg"),touched:h.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:d,readOnly:r,accessKey:i,shortKey:t,maxLength:l,counter:s,variant:o,class:e,tooltipAlign:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:a,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{ie as B,Z as F,J as a,Q as b,ee as c,V as f,M as g,I as i}
|
|
4
|
+
import{p as e,l as i,H as t,b as o}from"./bem-registry.js";import{d as s}from"./disabled.js";import{h as l,e as r,j as a}from"./component2.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config.js";import{l as v}from"./label-with-expert-slot.js";import{n as b}from"./component8.js";import{a as f}from"./tslib.es6.js";import{r as g}from"./aria-labelledby.js";import{S as y,b as j,s as _}from"./component6.js";import{a as B}from"./dev.utils.js";import{K as L,d as O}from"./events.js";import{B as T}from"./base-web-component.js";import{c as F}from"./item.js";import{F as N}from"./behavior3.js";import{c as x}from"./item2.js";import{T as K}from"./behavior.js";import{h as w}from"@stencil/core/internal/client";import{t as A}from"./i18n.js";import{T as P}from"./component9.js";import{P as k}from"./behavior4.js";import{A as C}from"./component.js";function D(e,i){return Boolean(e)&&!0===i}function H(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const I=n("ariaDetails","",d),M=n("hideMsg",!1,h),S=n("hint","",d),q=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),E=c(),$=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),z=n("touched",!1,h),R={required:[v],optional:[I,s,l,M,S,q,E,$,b,r,z]},V=e=>{var{id:i,class:t,hint:o,baseClassName:s="kol-form-field"}=e,l=f(e,["id","class","hint","baseClassName"]);return o?w("span",Object.assign({class:p(`${s}__hint`,t),id:B(i||"","hint")},l),o):null},G=e=>{var{component:i="label",id:t,baseClassName:o="kol-form-field",class:s,accessKey:l,shortKey:r,label:a,hideLabel:n,hasExpertSlot:d,omitId:h,showBadge:c=!0,readOnly:u,infoPopover:m}=e,v=f(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const b=!d&&n,g=!1===c?void 0:j(l,r);return w(i,Object.assign({},v,{class:p(`${o}__label`,s),id:b||h?void 0:B(t,"label"),hidden:b,htmlFor:"legend"===i?void 0:t}),w(y,{class:`${o}__label-text`,label:d?"":null!=a?a:"",badgeText:g},w("slot",{name:"expert"})),!d&&u&&w("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",A("kol-readonly"),")"),!d&&m&&w("span",null,w(k,Object.assign({},m.popoverButton),w("div",{class:"kol-popover-button__popover--styled"},m.content))))},J=i=>{var t,o,{alert:s,hideMsg:l,msg:r,id:a,class:n}=i,d=f(i,["alert","hideMsg","msg","id","class"]);const h=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return w(C,Object.assign({alert:!l&&(null!==(t=null==h?void 0:h._alert)&&void 0!==t?t:!0===s),class:p("kol-form-field__msg",l&&"visually-hidden",n),closerAriaDescriptionId:B(a,"msg-closer-description"),handleCloserClick:()=>{},hasCloser:!1,headingId:B(a,"msg-heading"),id:B(a,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(o=null==h?void 0:h._type)&&void 0!==o?o:"error",variant:"msg"},d),(null==h?void 0:h._description)||void 0)},Q=o.forBlock("kol-form-field"),U=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!_(i)&&!0===e,W=e=>{const i=H(e);return{[i]:!0,[`msg-type-${i}`]:!0}},X=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:o,renderNoHint:s,id:l,required:r,alert:n,disabled:d,class:h,msg:c,hideMsg:m,hideLabel:v,label:b,infoPopover:g,hint:y,accessKey:L,shortKey:O,counter:T,readOnly:F,touched:N,maxLength:x,ariaDescribedBy:K,showBadge:k,tooltipAlign:C,variant:H,component:I="div",orientation:M,refInput:S,refTooltip:q}=e,E=f(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),$=_(b),z=D(c,N),R=j(L,O),X=U({hideLabel:v,label:b,renderNoTooltip:o}),Y="fieldset"===I;return w(u,Object.assign({component:I,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(d),required:Boolean(r),touched:Boolean(N),"hide-label":Boolean(v),"read-only":Boolean(F),"hidden-msg":Boolean(m)},z?W(c):{}),class:p(H&&a(H,"form-field"),h),disabled:!(!Y||!d)||void 0,"aria-describedby":K},E),!t&&w(G,{component:Y?"legend":"label",class:Y?"kol-form-field__label--legend":void 0,id:l,hasExpertSlot:$,hideLabel:v,label:b,accessKey:L,shortKey:O,readOnly:F,showBadge:k,infoPopover:g}),w("div",{class:Q("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},i,X&&w("div",{class:Q("tooltip")},w(P,{badgeText:R||"",label:b,align:C,id:B(l,"label"),refFloating:q}))),T&&!("soft"===T.maxLengthBehavior&&"number"!=typeof T.maxLength)&&w("div",{class:Q("counter")},w("span",{"aria-hidden":"true",class:Q("counter"),ref:T.visualRef}),w("span",{"aria-live":"polite",class:"visually-hidden",id:B(l,"counter"),ref:T.ariaRef})),z&&w(J,{id:l,alert:n,hideMsg:m,msg:c}),!s&&w(V,{id:l,hint:y}),"number"==typeof x&&!T&&w("span",{id:B(l,"character-limit-hint"),class:"visually-hidden"},A("kol-character-limit-hint",{placeholders:{limit:String(x)}})))};function Y({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?m(t):void 0}}const Z=class extends T{constructor(){super(...arguments),this.tooltipBehavior=new K(T.stateLess),this.smartButton=F((()=>this.host)),this.infoPopover=x({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(L.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(L.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(L.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(L.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(L.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new N(T.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=f(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){I.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=g(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){s.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){l.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){M.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){S.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){q.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){v.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){$.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){b.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){E.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){r.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){z.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&O(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(L.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===H(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(B(e,"msg")),a&&n.push(B(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return U({hideLabel:e.getRenderProp("hideLabel"),label:m(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:l,readOnly:r,renderNoLabel:a,renderNoTooltip:n,required:d}){const h=this.shared,c=h.getState("id"),p=h.getRenderProp("label"),u=h.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(u),this.tooltipBehavior.watchBadgeText(j(i,t)||""),this.tooltipBehavior.watchId(B(c,"label")),this.tooltipBehavior.watchLabel(p)):this.tooltipBehavior.destroy(),{id:c,disabled:h.getRenderProp("disabled"),msg:h.getRenderProp("msg"),hint:h.getRenderProp("hint"),label:p,hideLabel:h.getRenderProp("hideLabel"),hideMsg:h.getRenderProp("hideMsg"),touched:h.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:d,readOnly:r,accessKey:i,shortKey:t,maxLength:l,counter:s,variant:o,class:e,tooltipAlign:u,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:a,renderNoTooltip:n,refInput:n?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}};export{Z as B,X as F,V as a,G as b,Y as c,R as f,H as g,D as i}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import"./bem-registry.js";import{a as t,d as s,v as i}from"./component2.js";import{a as e,S as o}from"./suggestions2.js";import{h as a,g as r}from"./input-container.js";import{c as h,b as n,e as l}from"./props-from-config.js";import{p}from"./placeholder.js";import{r as d}from"./read-only.js";import{r as c}from"./required.js";import{s as u}from"./smart-button.js";import{s as m}from"./value-string.js";import{f as v,B as y}from"./base-web-component2.js";import{h as b}from"@stencil/core/internal/client";import{
|
|
4
|
+
import"./bem-registry.js";import{a as t,d as s,v as i}from"./component2.js";import{a as e,S as o}from"./suggestions2.js";import{h as a,g as r}from"./input-container.js";import{c as h,b as n,e as l}from"./props-from-config.js";import{p}from"./placeholder.js";import{r as d}from"./read-only.js";import{r as c}from"./required.js";import{s as u}from"./smart-button.js";import{s as m}from"./value-string.js";import{f as v,B as y}from"./base-web-component2.js";import{h as b}from"@stencil/core/internal/client";import{v as j}from"./access-and-short-key.js";import{c as g}from"./element-interaction.js";import{B as f}from"./base-web-component.js";import{C as O}from"./behavior2.js";import{s as x}from"./controller.js";const B=h("pattern",void 0,n),K={required:[...v.required],optional:[...v.optional,t,e,a,B,p,d,c,s,u,m,i]},q=class extends y{constructor(){super(...arguments),this.ctaRef=g(),this.counter=new O(f.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),x(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(s){t.apply(s,(t=>this.textShared.setRenderProp("accessKey",t))),j(s,this._shortKey)}applyAutoComplete(t){e.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){a.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){B.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){p.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){d.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){c.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){s.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),j(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):u.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){m.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){i.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:l(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return r({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:t,spellcheck:s,multiple:i,suggestions:e},a={}){const r=this.textShared,h=r.getState("id"),n=r.getRenderProp("accessKey"),l=r.getRenderProp("shortKey"),p=r.getRenderProp("placeholder"),d=r.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),u=this.counter.getCharacterLimitHintId(h),{ariaDescribedBy:m,hasError:v}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:h,hideLabel:r.getRenderProp("hideLabel"),label:r.getRenderProp("label"),disabled:r.getRenderProp("disabled"),name:r.getRenderProp("name")||void 0},n?{accessKey:n}:{}),void 0!==t?{type:t}:{}),{value:r.getRenderProp("value"),required:r.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==p?{placeholder:p}:{}),{autoComplete:r.getRenderProp("autoComplete")}),void 0!==s?{spellcheck:s}:{}),void 0!==d?{pattern:d}:{}),{readonly:r.getRenderProp("readOnly")}),void 0!==i?{multiple:i}:{}),{touched:r.getRenderProp("touched"),msg:r.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),e&&e.length>0?{suggestions:b(o,{id:h,suggestions:e})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),a),{ariaDescribedBy:u?[...m,u]:m,"aria-invalid":v?"true":void 0})}};export{q as B,K as t}
|