@public-ui/components 4.6.0-rc.2 → 4.6.0-rc.3
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 +3 -3
- package/dist/cjs/{Heading-CmnijhLd.js → Heading-DqZXie2T.js} +1 -1
- package/dist/cjs/{api-Bg7hdIrJ.js → api-Cc1hT-oO.js} +19 -18
- package/dist/cjs/{app-globals-BwYPSMbG.js → app-globals-DtXiFJRj.js} +2 -2
- package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-By2dgbCn.js} +0 -13
- package/dist/cjs/{base-JFyPasp9.js → base-B-wbGF-X.js} +20 -29
- package/dist/cjs/{base-ob1X79UM.js → base-BKsPSdXS.js} +5 -5
- package/dist/cjs/{base-BVhV5HmV.js → base-BjiXfuju.js} +4 -4
- package/dist/cjs/{base-CQB0r-ZQ.js → base-CoMrpiHg.js} +4 -4
- package/dist/cjs/{base-web-component-dI9FmFIm.js → base-web-component-BXtl3Nmq.js} +5 -5
- package/dist/cjs/{base-web-component-DBcJrpRb.js → base-web-component-DApRK7Vs.js} +6 -6
- package/dist/cjs/{behavior-CUmF8rJf.js → behavior-DIv2ciyM.js} +1 -1
- package/dist/cjs/{behavior-DujaVCwV.js → behavior-DtHCmCCv.js} +2 -2
- package/dist/cjs/{behavior-B5wr2A8R.js → behavior-GG5TOrTV.js} +3 -10
- package/dist/cjs/{bem-registry-B6QoNC9E.js → bem-registry-h_moyLBn.js} +39 -0
- package/dist/cjs/{block-bem-ByCgFI2B.js → block-bem-BVBM34Tu.js} +1 -1
- package/dist/cjs/{component-DFhuXUqv.js → component-BE_fK-Xu.js} +7 -7
- package/dist/cjs/{component-DprHBKdZ.js → component-BOI4FdZE.js} +3 -3
- package/dist/cjs/{component-Doln6Ltn.js → component-C9B-yJ93.js} +3 -3
- package/dist/cjs/{component-BexD3069.js → component-CNNGo5gU.js} +6 -6
- package/dist/cjs/{component-1J4G5HmZ.js → component-CVLJJvvd.js} +6 -6
- package/dist/cjs/{component-BilLJFfC.js → component-Cnc2NyzE.js} +2 -2
- package/dist/cjs/{component-Cqp00Tb9.js → component-CsnTf_45.js} +6 -6
- package/dist/cjs/{component-Bza8hlo-.js → component-CxwSVBBv.js} +7 -7
- package/dist/cjs/{component-DGVc4bOy.js → component-D0uxhuF3.js} +4 -4
- package/dist/cjs/{component-DkV9oPCL.js → component-DNQW0lG8.js} +2 -2
- package/dist/cjs/{component-CjXcCX2V.js → component-DfGgpwuP.js} +2 -2
- package/dist/cjs/{component-Cbbx7Z6c.js → component-DlyhBQIa.js} +3 -3
- package/dist/cjs/{dev.utils-Bx4sgPsr.js → dev.utils-DTQy7QrG.js} +1 -1
- package/dist/cjs/{devtools-BXBKJice.js → devtools-BAChPN0l.js} +2 -2
- package/dist/cjs/{field-control-B95uzQnW.js → field-control-Bxj6Xuu8.js} +7 -7
- package/dist/cjs/{group-DGS7K6Ja.js → group-BUdQbdkp.js} +5 -5
- package/dist/cjs/{index-Ccvyz7Rq.js → index-BaB_2Z5W.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{input-BKXEykG_.js → input-CtqTozTO.js} +4 -4
- package/dist/cjs/{input-container-CWb_kRbs.js → input-container-BcwbGU2R.js} +6 -6
- package/dist/cjs/{item-wr5KfPYM.js → item-BLrLbhAD.js} +6 -6
- package/dist/cjs/{item-DgNTEUz3.js → item-BXt0-A5j.js} +8 -8
- package/dist/cjs/{item-C4Boh5Cz.js → item-BYKMN41a.js} +3 -3
- package/dist/cjs/{item-vDMQvV0t.js → item-DJ-XUS77.js} +3 -3
- package/dist/cjs/kol-abbr.cjs.entry.js +4 -4
- package/dist/cjs/kol-accordion.cjs.entry.js +9 -9
- package/dist/cjs/kol-alert.cjs.entry.js +14 -14
- package/dist/cjs/kol-avatar.cjs.entry.js +2 -2
- package/dist/cjs/kol-badge.cjs.entry.js +14 -14
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +12 -12
- package/dist/cjs/kol-button-link.cjs.entry.js +14 -14
- package/dist/cjs/kol-button.cjs.entry.js +14 -14
- package/dist/cjs/kol-card.cjs.entry.js +15 -15
- package/dist/cjs/kol-combobox.cjs.entry.js +24 -24
- package/dist/cjs/kol-details.cjs.entry.js +9 -9
- package/dist/cjs/kol-dialog.cjs.entry.js +17 -17
- package/dist/cjs/kol-drawer.cjs.entry.js +16 -16
- package/dist/cjs/kol-form.cjs.entry.js +14 -14
- package/dist/cjs/kol-heading.cjs.entry.js +4 -4
- package/dist/cjs/kol-icon.cjs.entry.js +4 -4
- package/dist/cjs/kol-image.cjs.entry.js +2 -2
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +42 -41
- package/dist/cjs/kol-input-color.cjs.entry.js +33 -32
- package/dist/cjs/kol-input-date.cjs.entry.js +31 -30
- package/dist/cjs/kol-input-email.cjs.entry.js +36 -35
- package/dist/cjs/kol-input-file.cjs.entry.js +28 -27
- package/dist/cjs/kol-input-number.cjs.entry.js +32 -31
- package/dist/cjs/kol-input-password.cjs.entry.js +30 -29
- package/dist/cjs/kol-input-radio.cjs.entry.js +27 -27
- package/dist/cjs/kol-input-range.cjs.entry.js +27 -27
- package/dist/cjs/kol-input-text.cjs.entry.js +29 -28
- package/dist/cjs/kol-kolibri.cjs.entry.js +4 -4
- package/dist/cjs/kol-link-button.cjs.entry.js +13 -13
- package/dist/cjs/kol-link.cjs.entry.js +13 -13
- package/dist/cjs/kol-meter.cjs.entry.js +4 -4
- package/dist/cjs/kol-modal.cjs.entry.js +17 -17
- package/dist/cjs/kol-nav.cjs.entry.js +17 -17
- package/dist/cjs/kol-pagination.cjs.entry.js +24 -24
- package/dist/cjs/kol-popover-button.cjs.entry.js +15 -15
- package/dist/cjs/kol-progress.cjs.entry.js +4 -4
- package/dist/cjs/kol-quote.cjs.entry.js +2 -2
- package/dist/cjs/kol-select.cjs.entry.js +27 -27
- package/dist/cjs/kol-single-select.cjs.entry.js +24 -24
- package/dist/cjs/kol-skip-nav.cjs.entry.js +12 -12
- package/dist/cjs/kol-spin.cjs.entry.js +5 -5
- package/dist/cjs/kol-split-button.cjs.entry.js +17 -17
- package/dist/cjs/kol-table-stateful.cjs.entry.js +33 -34
- package/dist/cjs/kol-table-stateless.cjs.entry.js +26 -27
- package/dist/cjs/kol-tabs.cjs.entry.js +13 -13
- package/dist/cjs/kol-textarea.cjs.entry.js +25 -25
- package/dist/cjs/kol-toast-container.cjs.entry.js +13 -13
- package/dist/cjs/kol-toolbar.cjs.entry.js +15 -15
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +6 -6
- package/dist/cjs/kol-tree-item.cjs.entry.js +16 -13
- package/dist/cjs/kol-tree.cjs.entry.js +17 -6
- package/dist/cjs/kol-version.cjs.entry.js +11 -11
- package/dist/cjs/kolibri.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resolve-props-pZBj0tIz.js → resolve-props-B7klWjLx.js} +2 -2
- package/dist/cjs/{resolve-props-B_ytLWBO.js → resolve-props-c-uwDulF.js} +2 -2
- package/dist/cjs/{scroll-lock-DguXX-Em.js → scroll-lock-daUQqmx_.js} +2 -2
- package/dist/cjs/{suggestions-C6Q3kj5J.js → suggestions-D3snLGL_.js} +2 -2
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-BaOOa9I5.js → toggle-handler-B0xib7fH.js} +4 -4
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/style.css +5 -2
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/style.css +5 -2
- package/dist/collection/components/drawer/style.css +5 -2
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/input-checkbox/component.js +13 -11
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +6 -4
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +5 -3
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +4 -1
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +6 -3
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +6 -4
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +5 -2
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +4 -2
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/modal/style.css +5 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +3 -5
- package/dist/collection/components/table-stateful/style.css +5 -2
- package/dist/collection/components/table-stateless/component.js +3 -5
- package/dist/collection/components/table-stateless/style.css +5 -2
- package/dist/collection/components/tabs/style.css +2 -2
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tree/component.js +15 -4
- package/dist/collection/components/tree-item/component.js +5 -2
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +1 -5
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
- package/dist/collection/schema/bem-registry.js +39 -0
- package/dist/collection/schema/props/aria-details.js +1 -22
- package/dist/collection/schema/props/aria-labelledby.js +3 -12
- package/dist/collection/utils/aria-labelledby.js +0 -12
- package/dist/components/aria-labelledby.js +1 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.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/esm/{Heading-C_CwXDMp.js → Heading-GZb1f2pZ.js} +1 -1
- package/dist/esm/{api-DGiFM9p0.js → api-CBPlj155.js} +18 -17
- package/dist/esm/{app-globals-sZHZyXjD.js → app-globals-DRl9A82c.js} +2 -2
- package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DqJY_4G-.js} +1 -13
- package/dist/esm/{base-B4sGK9cX.js → base-BByRnpRm.js} +5 -5
- package/dist/esm/{base-DTKJ1Z06.js → base-C7BBsrYZ.js} +21 -30
- package/dist/esm/{base-P1TaQ7Ba.js → base-DO0KvOv9.js} +4 -4
- package/dist/esm/{base-CWrvN3Gt.js → base-Dtxcvto_.js} +4 -4
- package/dist/esm/{base-web-component-CKgIOZqi.js → base-web-component-BxXLva5d.js} +5 -5
- package/dist/esm/{base-web-component-Bq_B9edx.js → base-web-component-CfPyCJDJ.js} +6 -6
- package/dist/esm/{behavior-Bb7JYoUn.js → behavior-CKU2tmCj.js} +1 -1
- package/dist/esm/{behavior-CFG1f4KQ.js → behavior-CsNDRS2z.js} +2 -2
- package/dist/esm/{behavior-CkPQGfgo.js → behavior-ewHvUWVk.js} +4 -10
- package/dist/esm/{bem-registry-DQUGxdIS.js → bem-registry-D1KgKnyz.js} +39 -0
- package/dist/esm/{block-bem-BGIVcYJu.js → block-bem-D3ixJyOY.js} +1 -1
- package/dist/esm/{component-5Uu-ahLC.js → component-6l69Jvwl.js} +4 -4
- package/dist/esm/{component-B16Fbp3W.js → component-B3OziaRC.js} +6 -6
- package/dist/esm/{component-Bc2pdOk1.js → component-By8ggItU.js} +6 -6
- package/dist/esm/{component-DAQzDMY8.js → component-CF8uFG0A.js} +7 -7
- package/dist/esm/{component-B05zRrM0.js → component-Ccv2lqNq.js} +2 -2
- package/dist/esm/{component-BI8jDgBz.js → component-Cmi6iGfA.js} +7 -7
- package/dist/esm/{component-C79oAu7a.js → component-D4-NVnsT.js} +2 -2
- package/dist/esm/{component-W1KZI4h4.js → component-D6_K50vT.js} +3 -3
- package/dist/esm/{component-CldKbBUh.js → component-D6lo0LzE.js} +3 -3
- package/dist/esm/{component-oUQcgxDj.js → component-D9NreIlK.js} +3 -3
- package/dist/esm/{component-Ct11K0Gv.js → component-DAk3R8NN.js} +6 -6
- package/dist/esm/{component-Clz6b6ho.js → component-EDDTMC-J.js} +2 -2
- package/dist/esm/{dev.utils-DDWOHUcg.js → dev.utils-BwYCy1rP.js} +1 -1
- package/dist/esm/{devtools-B0kEE_za.js → devtools-CGP3Nzsw.js} +2 -2
- package/dist/esm/{field-control-DsQHa0v9.js → field-control-0TRmF7Ea.js} +7 -7
- package/dist/esm/{group-DUVsgWxS.js → group-DapkT_Yh.js} +5 -5
- package/dist/esm/{index-Dulj0jro.js → index-DEcM8BEc.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{input-C0Li7DsE.js → input-CDUCo1S5.js} +4 -4
- package/dist/esm/{input-container-DmtMTcjB.js → input-container-BipAkWn4.js} +6 -6
- package/dist/esm/{item-8RKFpmbd.js → item-B0oQTeju.js} +3 -3
- package/dist/esm/{item-DHZGDrAn.js → item-Boe3t0Dm.js} +6 -6
- package/dist/esm/{item-CnJMuEyl.js → item-BvnZc8uV.js} +3 -3
- package/dist/esm/{item-CxVe5INa.js → item-UgJ2uikD.js} +8 -8
- package/dist/esm/kol-abbr.entry.js +4 -4
- package/dist/esm/kol-accordion.entry.js +9 -9
- package/dist/esm/kol-alert.entry.js +14 -14
- package/dist/esm/kol-avatar.entry.js +2 -2
- package/dist/esm/kol-badge.entry.js +14 -14
- package/dist/esm/kol-breadcrumb.entry.js +12 -12
- package/dist/esm/kol-button-link.entry.js +14 -14
- package/dist/esm/kol-button.entry.js +14 -14
- package/dist/esm/kol-card.entry.js +15 -15
- package/dist/esm/kol-combobox.entry.js +24 -24
- package/dist/esm/kol-details.entry.js +9 -9
- package/dist/esm/kol-dialog.entry.js +17 -17
- package/dist/esm/kol-drawer.entry.js +16 -16
- package/dist/esm/kol-form.entry.js +14 -14
- package/dist/esm/kol-heading.entry.js +4 -4
- package/dist/esm/kol-icon.entry.js +4 -4
- package/dist/esm/kol-image.entry.js +2 -2
- package/dist/esm/kol-input-checkbox.entry.js +42 -41
- package/dist/esm/kol-input-color.entry.js +33 -32
- package/dist/esm/kol-input-date.entry.js +31 -30
- package/dist/esm/kol-input-email.entry.js +36 -35
- package/dist/esm/kol-input-file.entry.js +28 -27
- package/dist/esm/kol-input-number.entry.js +32 -31
- package/dist/esm/kol-input-password.entry.js +30 -29
- package/dist/esm/kol-input-radio.entry.js +27 -27
- package/dist/esm/kol-input-range.entry.js +27 -27
- package/dist/esm/kol-input-text.entry.js +29 -28
- package/dist/esm/kol-kolibri.entry.js +4 -4
- package/dist/esm/kol-link-button.entry.js +13 -13
- package/dist/esm/kol-link.entry.js +13 -13
- package/dist/esm/kol-meter.entry.js +4 -4
- package/dist/esm/kol-modal.entry.js +17 -17
- package/dist/esm/kol-nav.entry.js +17 -17
- package/dist/esm/kol-pagination.entry.js +24 -24
- package/dist/esm/kol-popover-button.entry.js +15 -15
- package/dist/esm/kol-progress.entry.js +4 -4
- package/dist/esm/kol-quote.entry.js +2 -2
- package/dist/esm/kol-select.entry.js +27 -27
- package/dist/esm/kol-single-select.entry.js +24 -24
- package/dist/esm/kol-skip-nav.entry.js +12 -12
- package/dist/esm/kol-spin.entry.js +5 -5
- package/dist/esm/kol-split-button.entry.js +17 -17
- package/dist/esm/kol-table-stateful.entry.js +33 -34
- package/dist/esm/kol-table-stateless.entry.js +26 -27
- package/dist/esm/kol-tabs.entry.js +13 -13
- package/dist/esm/kol-textarea.entry.js +25 -25
- package/dist/esm/kol-toast-container.entry.js +13 -13
- package/dist/esm/kol-toolbar.entry.js +15 -15
- package/dist/esm/kol-tooltip-wc.entry.js +6 -6
- package/dist/esm/kol-tree-item.entry.js +16 -13
- package/dist/esm/kol-tree.entry.js +17 -6
- package/dist/esm/kol-version.entry.js +11 -11
- package/dist/esm/kolibri.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{resolve-props-Bj6IaybL.js → resolve-props-DTXKtzir.js} +2 -2
- package/dist/esm/{resolve-props-02J6OCRf.js → resolve-props-kM9N-fzf.js} +2 -2
- package/dist/esm/{scroll-lock-B6hVv8A8.js → scroll-lock-Bv-U2FHM.js} +2 -2
- package/dist/esm/{suggestions-DaB3FVaz.js → suggestions-D0u80DtA.js} +2 -2
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-3qaN2kmt.js → toggle-handler-mPlmvrq7.js} +4 -4
- package/dist/kolibri/Heading-GZb1f2pZ.js +4 -0
- package/dist/kolibri/api-CBPlj155.js +4 -0
- package/dist/kolibri/app-globals-DRl9A82c.js +4 -0
- package/dist/kolibri/aria-labelledby-DqJY_4G-.js +4 -0
- package/dist/kolibri/base-BByRnpRm.js +4 -0
- package/dist/kolibri/base-C7BBsrYZ.js +4 -0
- package/dist/kolibri/{base-P1TaQ7Ba.js → base-DO0KvOv9.js} +1 -1
- package/dist/kolibri/{base-CWrvN3Gt.js → base-Dtxcvto_.js} +1 -1
- package/dist/kolibri/{base-web-component-CKgIOZqi.js → base-web-component-BxXLva5d.js} +1 -1
- package/dist/kolibri/{base-web-component-Bq_B9edx.js → base-web-component-CfPyCJDJ.js} +1 -1
- package/dist/kolibri/{behavior-Bb7JYoUn.js → behavior-CKU2tmCj.js} +1 -1
- package/dist/kolibri/{behavior-CFG1f4KQ.js → behavior-CsNDRS2z.js} +1 -1
- package/dist/kolibri/behavior-ewHvUWVk.js +4 -0
- package/dist/kolibri/{bem-registry-DQUGxdIS.js → bem-registry-D1KgKnyz.js} +1 -1
- package/dist/kolibri/{block-bem-BGIVcYJu.js → block-bem-D3ixJyOY.js} +1 -1
- package/dist/kolibri/{component-5Uu-ahLC.js → component-6l69Jvwl.js} +1 -1
- package/dist/kolibri/component-B3OziaRC.js +4 -0
- package/dist/kolibri/{component-Bc2pdOk1.js → component-By8ggItU.js} +1 -1
- package/dist/kolibri/component-CF8uFG0A.js +4 -0
- package/dist/kolibri/component-Ccv2lqNq.js +4 -0
- package/dist/kolibri/component-Cmi6iGfA.js +4 -0
- package/dist/kolibri/component-D4-NVnsT.js +4 -0
- package/dist/kolibri/{component-W1KZI4h4.js → component-D6_K50vT.js} +1 -1
- package/dist/kolibri/component-D6lo0LzE.js +4 -0
- package/dist/kolibri/{component-oUQcgxDj.js → component-D9NreIlK.js} +1 -1
- package/dist/kolibri/{component-Ct11K0Gv.js → component-DAk3R8NN.js} +1 -1
- package/dist/kolibri/component-EDDTMC-J.js +4 -0
- package/dist/kolibri/{dev.utils-DDWOHUcg.js → dev.utils-BwYCy1rP.js} +1 -1
- package/dist/kolibri/{devtools-B0kEE_za.js → devtools-CGP3Nzsw.js} +1 -1
- package/dist/kolibri/field-control-0TRmF7Ea.js +4 -0
- package/dist/kolibri/{group-DUVsgWxS.js → group-DapkT_Yh.js} +1 -1
- package/dist/kolibri/{index-Dulj0jro.js → index-DEcM8BEc.js} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-CDUCo1S5.js +4 -0
- package/dist/kolibri/{input-container-DmtMTcjB.js → input-container-BipAkWn4.js} +1 -1
- package/dist/kolibri/item-B0oQTeju.js +4 -0
- package/dist/kolibri/item-Boe3t0Dm.js +4 -0
- package/dist/kolibri/item-BvnZc8uV.js +4 -0
- package/dist/kolibri/item-UgJ2uikD.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/resolve-props-DTXKtzir.js +4 -0
- package/dist/kolibri/resolve-props-kM9N-fzf.js +4 -0
- package/dist/kolibri/scroll-lock-Bv-U2FHM.js +4 -0
- package/dist/kolibri/{suggestions-DaB3FVaz.js → suggestions-D0u80DtA.js} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-mPlmvrq7.js +4 -0
- package/dist/types/components/table-stateful/component.d.ts +0 -1
- package/dist/types/components/table-stateless/component.d.ts +0 -1
- package/dist/types/components/tree/component.d.ts +1 -0
- package/dist/types/components.d.ts +4 -4
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -1
- package/dist/types/schema/bem-registry.d.ts +49 -0
- package/dist/types/schema/props/aria-details.d.ts +0 -2
- package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/doc/table-stateful.md +16 -16
- package/doc/table-stateless.md +14 -14
- package/package.json +1 -1
- package/vscode-custom-data.json +2 -2
- package/dist/kolibri/Heading-C_CwXDMp.js +0 -4
- package/dist/kolibri/api-DGiFM9p0.js +0 -4
- package/dist/kolibri/app-globals-sZHZyXjD.js +0 -4
- package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
- package/dist/kolibri/base-B4sGK9cX.js +0 -4
- package/dist/kolibri/base-DTKJ1Z06.js +0 -4
- package/dist/kolibri/behavior-CkPQGfgo.js +0 -4
- package/dist/kolibri/component-B05zRrM0.js +0 -4
- package/dist/kolibri/component-B16Fbp3W.js +0 -4
- package/dist/kolibri/component-BI8jDgBz.js +0 -4
- package/dist/kolibri/component-C79oAu7a.js +0 -4
- package/dist/kolibri/component-CldKbBUh.js +0 -4
- package/dist/kolibri/component-Clz6b6ho.js +0 -4
- package/dist/kolibri/component-DAQzDMY8.js +0 -4
- package/dist/kolibri/field-control-DsQHa0v9.js +0 -4
- package/dist/kolibri/input-C0Li7DsE.js +0 -4
- package/dist/kolibri/item-8RKFpmbd.js +0 -4
- package/dist/kolibri/item-CnJMuEyl.js +0 -4
- package/dist/kolibri/item-CxVe5INa.js +0 -4
- package/dist/kolibri/item-DHZGDrAn.js +0 -4
- package/dist/kolibri/resolve-props-02J6OCRf.js +0 -4
- package/dist/kolibri/resolve-props-Bj6IaybL.js +0 -4
- package/dist/kolibri/scroll-lock-B6hVv8A8.js +0 -4
- package/dist/kolibri/toggle-handler-3qaN2kmt.js +0 -4
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { __decorate } from "tslib";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { bem } from "../../schema/bem-registry";
|
|
6
7
|
import { validateAccessAndShortKey } from "../../schema/validators/access-and-short-key";
|
|
7
8
|
import { translate } from "../../i18n";
|
|
8
9
|
import { ButtonFC } from "../../internal/functional-components/button/component";
|
|
@@ -16,8 +17,10 @@ import { InputContainerFC } from "../../internal/functional-components/form-fiel
|
|
|
16
17
|
import { inputFilePropsConfig } from "../../internal/functional-components/input-file/api";
|
|
17
18
|
import { BEM_CLASS_INPUT_CONTAINER__BUTTON, InputFileNameFC } from "../../internal/functional-components/input-file/component";
|
|
18
19
|
import { acceptProp, accessKeyProp, horizontalIconsProp, multipleProp, requiredProp, shortKeyProp, smartButtonProp, variantProp } from "../../internal/props";
|
|
20
|
+
import clsx from "../../utils/clsx";
|
|
19
21
|
import { createUniqueId } from "../../utils/dev.utils";
|
|
20
22
|
import { createCtaRef, delegateClick, delegateFocus } from "../../utils/element-interaction";
|
|
23
|
+
const fileBem = bem.forBlock('kol-input-file');
|
|
21
24
|
export class KolInputFile extends BaseFormFieldWebComponent {
|
|
22
25
|
constructor() {
|
|
23
26
|
super();
|
|
@@ -234,13 +237,13 @@ export class KolInputFile extends BaseFormFieldWebComponent {
|
|
|
234
237
|
icons: this.getRenderProp('icons'),
|
|
235
238
|
smartButton: this.getSmartButtonFcProps(this.getRenderProp('smartButton'), disabled),
|
|
236
239
|
});
|
|
237
|
-
return (h(Host, { key: '
|
|
238
|
-
class: '
|
|
240
|
+
return (h(Host, { key: '7cb436aa1aa1d44e3fc40a0260b9e5475007f1e4' }, h(FormFieldFC, Object.assign({ key: 'ae061478a153821b070f274cc5c2cb508d290aa9' }, this.getFormFieldProps({
|
|
241
|
+
class: clsx(fileBem(), 'file'),
|
|
239
242
|
accessKey: this.getRenderProp('accessKey') || undefined,
|
|
240
243
|
shortKey: this.getRenderProp('shortKey') || undefined,
|
|
241
244
|
variant: this.getRenderProp('variant'),
|
|
242
245
|
required: this.getRenderProp('required'),
|
|
243
|
-
})), h(InputContainerFC, { key: '
|
|
246
|
+
})), h(InputContainerFC, { key: '3d636959f1b5dabb5d083774a5045834afa27678', class: { 'kol-input-container--is-dragover': this.isDragover }, disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h(InputFileNameFC, { key: '37431aa753621fbe4fbc02b8f8aa11e04b8ffb8d', filename: this.filename, hasFile: this.hasFileSelected }), h(InputFC, Object.assign({ key: 'e85b80d96ac69719f8539797958c61f286139d46' }, this.getInputProps())), h(ButtonFC, Object.assign({ key: 'ccf46b04f5c159a15e735d790e3e3c1d48eb75d7' }, this.browseButton.getFcProps({ _label: this.translateDataBrowseText, _variant: 'primary', _disabled: disabled }, { class: BEM_CLASS_INPUT_CONTAINER__BUTTON })))))));
|
|
244
247
|
}
|
|
245
248
|
static get is() { return "kol-input-file"; }
|
|
246
249
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { __decorate } from "tslib";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { getFeatureFlag } from "adopted-style-sheets";
|
|
7
|
+
import { bem } from "../../schema/bem-registry";
|
|
7
8
|
import { validateAccessAndShortKey } from "../../schema/validators/access-and-short-key";
|
|
8
9
|
import { getInputAdornments } from "../../internal/functional-components/form-field/adornments";
|
|
9
10
|
import { BaseFormFieldWebComponent } from "../../internal/functional-components/form-field/base-web-component";
|
|
@@ -19,7 +20,8 @@ import clsx from "../../utils/clsx";
|
|
|
19
20
|
import { createUniqueId } from "../../utils/dev.utils";
|
|
20
21
|
import { createCtaRef, delegateClick, delegateFocus } from "../../utils/element-interaction";
|
|
21
22
|
import { submitFormOnEnter } from "../form/controller";
|
|
22
|
-
const
|
|
23
|
+
const numberBem = bem.forBlock('kol-input-number');
|
|
24
|
+
const STEP_BUTTON_CLASS = numberBem('step-button');
|
|
23
25
|
const isStepButton = (target) => { var _a; return ((_a = target === null || target === void 0 ? void 0 : target.classList) === null || _a === void 0 ? void 0 : _a.contains(STEP_BUTTON_CLASS)) === true; };
|
|
24
26
|
export class KolInputNumber extends BaseFormFieldWebComponent {
|
|
25
27
|
constructor() {
|
|
@@ -274,8 +276,8 @@ export class KolInputNumber extends BaseFormFieldWebComponent {
|
|
|
274
276
|
startAdornment: this.renderStepButton('down'),
|
|
275
277
|
endAdornment: this.renderStepButton('up'),
|
|
276
278
|
});
|
|
277
|
-
return (h(Host, { key: '
|
|
278
|
-
class: clsx(
|
|
279
|
+
return (h(Host, { key: '633d71799f0a2fde9a6e3d702450fc26e23c9942' }, h(FormFieldFC, Object.assign({ key: '8f5fa79cbf292b1630e1b7e03f768defab06bf77' }, this.getFormFieldProps({
|
|
280
|
+
class: clsx(numberBem(), 'number', {
|
|
279
281
|
'has-value': this.hasValue,
|
|
280
282
|
}),
|
|
281
283
|
accessKey: this.getRenderProp('accessKey') || undefined,
|
|
@@ -283,7 +285,7 @@ export class KolInputNumber extends BaseFormFieldWebComponent {
|
|
|
283
285
|
variant: this.getRenderProp('variant'),
|
|
284
286
|
required: this.getRenderProp('required'),
|
|
285
287
|
readOnly: this.getRenderProp('readOnly'),
|
|
286
|
-
})), h(InputContainerFC, { key: '
|
|
288
|
+
})), h(InputContainerFC, { key: 'ea95d533f0c32b837aaa8ba8db3a7be67badef3c', disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(InputFC, Object.assign({ key: '525ed0013a2d8cb020f2d99198a0989609382bae' }, this.getInputProps()))))));
|
|
287
289
|
}
|
|
288
290
|
static get is() { return "kol-input-number"; }
|
|
289
291
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { __decorate } from "tslib";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { devHint } from "../../schema";
|
|
7
|
+
import { bem } from "../../schema/bem-registry";
|
|
7
8
|
import { translate } from "../../i18n";
|
|
8
9
|
import { ButtonFC } from "../../internal/functional-components/button/component";
|
|
9
10
|
import { createButtonItem } from "../../internal/functional-components/button/item";
|
|
@@ -13,8 +14,10 @@ import { InputContainerFC } from "../../internal/functional-components/form-fiel
|
|
|
13
14
|
import { inputPasswordPropsConfig } from "../../internal/functional-components/input-password/api";
|
|
14
15
|
import { BaseTextInputWebComponent } from "../../internal/functional-components/text-input/base-web-component";
|
|
15
16
|
import { visibilityToggleProp } from "../../internal/props";
|
|
17
|
+
import clsx from "../../utils/clsx";
|
|
16
18
|
import { createUniqueId } from "../../utils/dev.utils";
|
|
17
19
|
import { delegateClick, delegateFocus } from "../../utils/element-interaction";
|
|
20
|
+
const passwordBem = bem.forBlock('kol-input-password');
|
|
18
21
|
export class KolInputPassword extends BaseTextInputWebComponent {
|
|
19
22
|
constructor() {
|
|
20
23
|
super();
|
|
@@ -220,12 +223,12 @@ export class KolInputPassword extends BaseTextInputWebComponent {
|
|
|
220
223
|
_disabled: this._disabled,
|
|
221
224
|
_on: { onClick: this.handleVisibilityToggle },
|
|
222
225
|
}, {
|
|
223
|
-
class: '
|
|
226
|
+
class: clsx(passwordBem('password-toggle-button'), 'kol-input-container__smart-button'),
|
|
224
227
|
}))));
|
|
225
228
|
}
|
|
226
229
|
render() {
|
|
227
230
|
const { startAdornment, endAdornment } = this.getTextInputAdornments(this.getVisibilityToggle());
|
|
228
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: 'e02394bc1ef15faa3404defe03fbf2775fafd213' }, h(FormFieldFC, Object.assign({ key: '2d431e8b581f698e8ace6bf2f02d29e6a32ac745' }, this.getTextFormFieldProps(clsx(passwordBem(), 'password'))), h(InputContainerFC, { key: '1ae2cc3d10067d7863dba448c1b3de21653747d8', disabled: this.getRenderProp('disabled'), msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(InputFC, Object.assign({ key: '54857c45aff5bb0416fdf8dd8e85a4ab09ced05c' }, this.getTextInputProps({}, { type: this.getRenderProp('visibilityToggle') && this.passwordVisible ? 'text' : 'password' })))))));
|
|
229
232
|
}
|
|
230
233
|
static get is() { return "kol-input-password"; }
|
|
231
234
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -12,10 +12,12 @@ import { InputContainerFC } from "../../internal/functional-components/form-fiel
|
|
|
12
12
|
import { inputTextPropsConfig } from "../../internal/functional-components/input-text/api";
|
|
13
13
|
import { BaseTextInputWebComponent } from "../../internal/functional-components/text-input/base-web-component";
|
|
14
14
|
import { inputTextTypeProp, spellCheckProp, suggestionsProp } from "../../internal/props";
|
|
15
|
+
import { bem } from "../../schema/bem-registry";
|
|
15
16
|
import clsx from "../../utils/clsx";
|
|
16
17
|
import { createUniqueId } from "../../utils/dev.utils";
|
|
17
18
|
import { delegateClick, delegateFocus } from "../../utils/element-interaction";
|
|
18
19
|
import { createEventWithTarget, KolEvent } from "../../utils/events";
|
|
20
|
+
const textBem = bem.forBlock('kol-input-text');
|
|
19
21
|
export class KolInputText extends BaseTextInputWebComponent {
|
|
20
22
|
constructor() {
|
|
21
23
|
super();
|
|
@@ -265,7 +267,7 @@ export class KolInputText extends BaseTextInputWebComponent {
|
|
|
265
267
|
_disabled: !canClear,
|
|
266
268
|
_on: { onClick: this.handleClearButtonClick },
|
|
267
269
|
}, {
|
|
268
|
-
class: clsx('
|
|
270
|
+
class: clsx(textBem('clear-button'), 'kol-input-container__smart-button', {
|
|
269
271
|
'kol-input-text__clear-button--hidden': !canClear,
|
|
270
272
|
}),
|
|
271
273
|
}))));
|
|
@@ -273,7 +275,7 @@ export class KolInputText extends BaseTextInputWebComponent {
|
|
|
273
275
|
render() {
|
|
274
276
|
const type = this.getRenderProp('type');
|
|
275
277
|
const { startAdornment, endAdornment } = this.getTextInputAdornments(this.getClearButton());
|
|
276
|
-
return (h(Host, { key: '
|
|
278
|
+
return (h(Host, { key: '8f47f3614e05168876af0fbb715a100d15dc8726' }, h(FormFieldFC, Object.assign({ key: '63189af4da580af1388e09ff7c8b06b97e2b0316' }, this.getTextFormFieldProps(clsx(textBem(), type))), h(InputContainerFC, { key: '886ad800fac64cc2b134c78f27b62d2df70f5392', disabled: this.getRenderProp('disabled'), msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(InputFC, Object.assign({ key: '0e904996613b5b5a6bb140b151c98f85c164688e' }, this.getTextInputProps({ type, spellcheck: this.getRenderProp('spellCheck'), suggestions: this.getRenderProp('suggestions') })))))));
|
|
277
279
|
}
|
|
278
280
|
static get is() { return "kol-input-text"; }
|
|
279
281
|
static get encapsulation() { return "shadow"; }
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -557,6 +557,9 @@
|
|
|
557
557
|
grid-area: content;
|
|
558
558
|
}
|
|
559
559
|
.kol-card__close-button {
|
|
560
|
+
/* Lifts the closer above the stretched link area of `&__link::after`. */
|
|
561
|
+
position: relative;
|
|
562
|
+
z-index: 1;
|
|
560
563
|
grid-area: close;
|
|
561
564
|
}
|
|
562
565
|
.kol-card:has(.kol-card__link) {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -10,7 +10,6 @@ import { allowMultiSortProp, isTablePaginationShown, paginationPositionProp, tab
|
|
|
10
10
|
import { devHint, trimLabel } from "../../schema";
|
|
11
11
|
import { Callback } from "../../schema/enums";
|
|
12
12
|
import { validateAriaLabelledby } from "../../schema/props/aria-labelledby";
|
|
13
|
-
import { attachInternals } from "../../utils/aria-labelledby";
|
|
14
13
|
import { dispatchDomEvent, KolEvent } from "../../utils/events";
|
|
15
14
|
import { BaseTableStatelessWebComponent } from "../table-stateless/base";
|
|
16
15
|
const PAGINATION_OPTIONS = [10, 20, 50, 100];
|
|
@@ -168,7 +167,6 @@ export class KolTableStateful extends BaseTableStatelessWebComponent {
|
|
|
168
167
|
}
|
|
169
168
|
componentWillLoad() {
|
|
170
169
|
this.applyOn(this.statelessOn);
|
|
171
|
-
this.internals = attachInternals(this.host);
|
|
172
170
|
this.resolveExternalLabel(this._ariaLabelledby);
|
|
173
171
|
this.watchAllowMultiSort(this._allowMultiSort);
|
|
174
172
|
this.watchData(this._data);
|
|
@@ -293,7 +291,7 @@ export class KolTableStateful extends BaseTableStatelessWebComponent {
|
|
|
293
291
|
}
|
|
294
292
|
}
|
|
295
293
|
resolveExternalLabel(value) {
|
|
296
|
-
this.externalLabelElements = validateAriaLabelledby(this, this.host,
|
|
294
|
+
this.externalLabelElements = validateAriaLabelledby(this, this.host, value);
|
|
297
295
|
this.syncTableLabel(this.externalLabelElements);
|
|
298
296
|
}
|
|
299
297
|
renderPagination(position) {
|
|
@@ -301,7 +299,7 @@ export class KolTableStateful extends BaseTableStatelessWebComponent {
|
|
|
301
299
|
return (item && (h("div", { class: `kol-table-stateful__pagination kol-table-stateful__pagination--${this.paginationPosition}` }, h("div", { class: "kol-table-stateful__pagination-wrapper" }, h(PaginationFC, Object.assign({}, item.getFcProps()))))));
|
|
302
300
|
}
|
|
303
301
|
render() {
|
|
304
|
-
return (h(Host, { key: '
|
|
302
|
+
return (h(Host, { key: '60dc07fde1e596eb092cb09fdb69c34b93114f6c', class: "kol-table-stateful" }, this.renderPagination('top'), this.renderTableStatelessFC(), this.renderPagination('bottom')));
|
|
305
303
|
}
|
|
306
304
|
static get is() { return "kol-table-stateful"; }
|
|
307
305
|
static get encapsulation() { return "shadow"; }
|
|
@@ -336,7 +334,7 @@ export class KolTableStateful extends BaseTableStatelessWebComponent {
|
|
|
336
334
|
"optional": true,
|
|
337
335
|
"docs": {
|
|
338
336
|
"tags": [],
|
|
339
|
-
"text": "References an external element by ID that serves as the accessible label for this table.\
|
|
337
|
+
"text": "References an external element by ID that serves as the accessible label for this table.\nThe component resolves the IDs and sets them as element references (`ariaLabelledByElements`)\non the native `<table>` inside the shadow root, because IDREF attributes cannot cross that\nboundary. Desktop screen readers (NVDA, JAWS with Chrome/Firefox) follow the references;\nVoiceOver and TalkBack do not \u2014 use `_label` instead."
|
|
340
338
|
},
|
|
341
339
|
"getter": false,
|
|
342
340
|
"setter": false,
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -699,6 +699,9 @@
|
|
|
699
699
|
grid-area: content;
|
|
700
700
|
}
|
|
701
701
|
.kol-card__close-button {
|
|
702
|
+
/* Lifts the closer above the stretched link area of `&__link::after`. */
|
|
703
|
+
position: relative;
|
|
704
|
+
z-index: 1;
|
|
702
705
|
grid-area: close;
|
|
703
706
|
}
|
|
704
707
|
.kol-card:has(.kol-card__link) {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { validateAriaLabelledby } from "../../schema/props/aria-labelledby";
|
|
6
|
-
import { attachInternals } from "../../utils/aria-labelledby";
|
|
7
6
|
import { BaseTableStatelessWebComponent } from "./base";
|
|
8
7
|
export class KolTableStateless extends BaseTableStatelessWebComponent {
|
|
9
8
|
constructor() {
|
|
@@ -71,7 +70,6 @@ export class KolTableStateless extends BaseTableStatelessWebComponent {
|
|
|
71
70
|
this.watchOn(this._on);
|
|
72
71
|
this.watchSelection(this._selection);
|
|
73
72
|
this.watchVariant(this._variant);
|
|
74
|
-
this.internals = attachInternals(this.host);
|
|
75
73
|
this.resolveExternalLabel(this._ariaLabelledby);
|
|
76
74
|
}
|
|
77
75
|
componentDidLoad() {
|
|
@@ -94,11 +92,11 @@ export class KolTableStateless extends BaseTableStatelessWebComponent {
|
|
|
94
92
|
this.moveCheckboxFocus(event);
|
|
95
93
|
}
|
|
96
94
|
resolveExternalLabel(value) {
|
|
97
|
-
this.externalLabelElements = validateAriaLabelledby(this, this.host,
|
|
95
|
+
this.externalLabelElements = validateAriaLabelledby(this, this.host, value);
|
|
98
96
|
this.syncTableLabel(this.externalLabelElements);
|
|
99
97
|
}
|
|
100
98
|
render() {
|
|
101
|
-
return h(Host, { key: '
|
|
99
|
+
return h(Host, { key: 'bb1a7795ada8bb245d843907db73202203f2e170' }, this.renderTableStatelessFC());
|
|
102
100
|
}
|
|
103
101
|
static get is() { return "kol-table-stateless"; }
|
|
104
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,7 +131,7 @@ export class KolTableStateless extends BaseTableStatelessWebComponent {
|
|
|
133
131
|
"optional": true,
|
|
134
132
|
"docs": {
|
|
135
133
|
"tags": [],
|
|
136
|
-
"text": "References an external element by ID that serves as the accessible label for this table.\
|
|
134
|
+
"text": "References an external element by ID that serves as the accessible label for this table.\nThe component resolves the IDs and sets them as element references (`ariaLabelledByElements`)\non the native `<table>` inside the shadow root, because IDREF attributes cannot cross that\nboundary. Desktop screen readers (NVDA, JAWS with Chrome/Firefox) follow the references;\nVoiceOver and TalkBack do not \u2014 use `_label` instead."
|
|
137
135
|
},
|
|
138
136
|
"getter": false,
|
|
139
137
|
"setter": false,
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -699,6 +699,9 @@
|
|
|
699
699
|
grid-area: content;
|
|
700
700
|
}
|
|
701
701
|
.kol-card__close-button {
|
|
702
|
+
/* Lifts the closer above the stretched link area of `&__link::after`. */
|
|
703
|
+
position: relative;
|
|
704
|
+
z-index: 1;
|
|
702
705
|
grid-area: close;
|
|
703
706
|
}
|
|
704
707
|
.kol-card:has(.kol-card__link) {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -294,8 +294,8 @@
|
|
|
294
294
|
}
|
|
295
295
|
@font-face {
|
|
296
296
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
297
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
298
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
299
|
}
|
|
300
300
|
@layer kol-component {
|
|
301
301
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -289,8 +289,8 @@
|
|
|
289
289
|
}
|
|
290
290
|
@font-face {
|
|
291
291
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
292
|
+
src: url("kolicons.eot?t=1794913000943"); /* IE9*/
|
|
293
|
+
src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
294
|
}
|
|
295
295
|
@layer kol-component {
|
|
296
296
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -58,8 +58,12 @@ export class KolTree extends BaseWebComponent {
|
|
|
58
58
|
}
|
|
59
59
|
async handleKeyDown(event) {
|
|
60
60
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
61
|
+
if (event.key === 'Tab' && event.shiftKey && event.target !== this.host) {
|
|
62
|
+
(_a = this.host) === null || _a === void 0 ? void 0 : _a.setAttribute('tabindex', '-1');
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const currentTreeItem = event.composedPath().find(isTreeItem);
|
|
61
66
|
const openItems = await this.getOpenTreeItemElements();
|
|
62
|
-
const currentTreeItem = (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag);
|
|
63
67
|
const hasModifierKeyPressed = event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;
|
|
64
68
|
if (!openItems || !currentTreeItem) {
|
|
65
69
|
return;
|
|
@@ -141,18 +145,25 @@ export class KolTree extends BaseWebComponent {
|
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
handleFocusIn(event) {
|
|
144
|
-
|
|
145
|
-
if (event.target === this.host && !((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag))) {
|
|
148
|
+
if (event.target === this.host && !this.isWithinTree(event.relatedTarget)) {
|
|
146
149
|
requestAnimationFrame(() => {
|
|
147
150
|
void this.focus();
|
|
148
151
|
});
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
154
|
handleFocusOut(event) {
|
|
155
|
+
var _a;
|
|
156
|
+
if (!this.isWithinTree(event.relatedTarget)) {
|
|
157
|
+
(_a = this.host) === null || _a === void 0 ? void 0 : _a.setAttribute('tabindex', '0');
|
|
158
|
+
}
|
|
152
159
|
if (event.relatedTarget && !event.relatedTarget.closest(KolTreeTag)) {
|
|
153
160
|
this.ensureActiveItemVisibility();
|
|
154
161
|
}
|
|
155
162
|
}
|
|
163
|
+
isWithinTree(node) {
|
|
164
|
+
var _a, _b;
|
|
165
|
+
return node instanceof Node && node !== this.host && ((_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.contains(node)) !== null && _b !== void 0 ? _b : false);
|
|
166
|
+
}
|
|
156
167
|
observeChildListMutations() {
|
|
157
168
|
this.observer = new MutationObserver(() => this.scheduleTreeChange());
|
|
158
169
|
this.observeTopLevelItems();
|
|
@@ -233,7 +244,7 @@ export class KolTree extends BaseWebComponent {
|
|
|
233
244
|
}
|
|
234
245
|
}
|
|
235
246
|
render() {
|
|
236
|
-
return (h(Host, { key: '
|
|
247
|
+
return (h(Host, { key: 'df55eb6b968ef985ef6c738815e66aa9cd88b9e1', tabindex: "0" }, h(TreeFC, { key: 'e874b2de9b9e9e7e4f757bb418b698e9e06c239f', handleSlotchange: this.handleSlotchange, label: this.getRenderProp('label') })));
|
|
237
248
|
}
|
|
238
249
|
static get is() { return "kol-tree"; }
|
|
239
250
|
static get encapsulation() { return "shadow"; }
|