@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,49 +3,49 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-BaB_2Z5W.js');
|
|
7
7
|
var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
|
|
8
|
+
var bemRegistry = require('./bem-registry-h_moyLBn.js');
|
|
8
9
|
var accessAndShortKey = require('./access-and-short-key-D40HWCJe.js');
|
|
9
10
|
var clsx = require('./clsx-Bm_HQUnh.js');
|
|
10
|
-
var api = require('./api-
|
|
11
|
+
var api = require('./api-Cc1hT-oO.js');
|
|
11
12
|
require('./common-CzGJx0nT.js');
|
|
12
|
-
var
|
|
13
|
-
var component
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var component$2 = require('./component-BilLJFfC.js');
|
|
13
|
+
var component$1 = require('./component-DNQW0lG8.js');
|
|
14
|
+
var component = require('./component-DfGgpwuP.js');
|
|
15
|
+
var input = require('./input-CtqTozTO.js');
|
|
16
|
+
var fieldControl = require('./field-control-Bxj6Xuu8.js');
|
|
17
|
+
var component$2 = require('./component-Cnc2NyzE.js');
|
|
18
18
|
var propsFromConfig = require('./props-from-config-D1qhXS9j.js');
|
|
19
19
|
var required = require('./required-BYdSI25I.js');
|
|
20
|
-
var dev_utils = require('./dev.utils-
|
|
20
|
+
var dev_utils = require('./dev.utils-DTQy7QrG.js');
|
|
21
21
|
var elementInteraction = require('./element-interaction-BtYQAbhu.js');
|
|
22
22
|
var controller = require('./controller-D66Eq44x.js');
|
|
23
|
-
require('./component-
|
|
24
|
-
require('./aria-labelledby-
|
|
23
|
+
require('./component-C9B-yJ93.js');
|
|
24
|
+
require('./aria-labelledby-By2dgbCn.js');
|
|
25
25
|
require('./events-PISRnO5c.js');
|
|
26
|
-
require('./behavior-B5wr2A8R.js');
|
|
27
|
-
require('./bootstrap-HU5YhM_w.js');
|
|
28
|
-
require('./component-names-EMVnNhTP.js');
|
|
29
|
-
require('./i18n-DgHI4-xa.js');
|
|
30
|
-
require('./component-BexD3069.js');
|
|
31
|
-
require('./component-Cbbx7Z6c.js');
|
|
32
26
|
require('./disabled-CilmJ-p-.js');
|
|
33
|
-
require('./id-DP-w6i4q.js');
|
|
34
27
|
require('./label-with-expert-slot-CJoz7BLw.js');
|
|
35
28
|
require('./validators-CpCJvM4r.js');
|
|
36
29
|
require('./label-hints-q3XenWLW.js');
|
|
37
|
-
require('./
|
|
30
|
+
require('./component-CNNGo5gU.js');
|
|
31
|
+
require('./component-DlyhBQIa.js');
|
|
32
|
+
require('./id-DP-w6i4q.js');
|
|
33
|
+
require('./base-web-component-DXCN-Sp3.js');
|
|
34
|
+
require('./item-DJ-XUS77.js');
|
|
35
|
+
require('./behavior-DIv2ciyM.js');
|
|
38
36
|
require('./tooltip-open-tracking-Ba0udJRU.js');
|
|
39
37
|
require('./label-lang-segment-k4OY9qRY.js');
|
|
40
|
-
require('./
|
|
41
|
-
require('./
|
|
42
|
-
require('./
|
|
43
|
-
require('./
|
|
44
|
-
require('./
|
|
38
|
+
require('./resolve-props-c-uwDulF.js');
|
|
39
|
+
require('./behavior-GG5TOrTV.js');
|
|
40
|
+
require('./bootstrap-HU5YhM_w.js');
|
|
41
|
+
require('./component-names-EMVnNhTP.js');
|
|
42
|
+
require('./i18n-DgHI4-xa.js');
|
|
43
|
+
require('./item-BLrLbhAD.js');
|
|
44
|
+
require('./component-CsnTf_45.js');
|
|
45
45
|
require('./i18n-D7UmRsV8.js');
|
|
46
|
-
require('./component-
|
|
47
|
-
require('./Heading-
|
|
48
|
-
require('./block-bem-
|
|
46
|
+
require('./component-CxwSVBBv.js');
|
|
47
|
+
require('./Heading-DqZXie2T.js');
|
|
48
|
+
require('./block-bem-BVBM34Tu.js');
|
|
49
49
|
require('./element-focus-CzkKMwtn.js');
|
|
50
50
|
|
|
51
51
|
const inputCheckboxVariantOptions = ['button', 'default', 'switch'];
|
|
@@ -86,11 +86,11 @@ const variantInputCheckboxProp = propsFromConfig.createPropDefinition('variant',
|
|
|
86
86
|
throw new Error(`Invalid checkbox variant: ${str}`);
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
const checkboxBem = bemRegistry.bem.forBlock('kol-checkbox');
|
|
89
|
+
const checkboxBem$1 = bemRegistry.bem.forBlock('kol-checkbox');
|
|
90
90
|
const CheckboxFC = (_a) => {
|
|
91
91
|
var { class: classNames, variant = 'default', icon, inputProps } = _a, other = tslib_es6.__rest(_a, ["class", "variant", "icon", "inputProps"]);
|
|
92
92
|
const { class: inputClass } = inputProps, restInputProps = tslib_es6.__rest(inputProps, ["class"]);
|
|
93
|
-
return (index.h(component$1.BemRootNodeFC, Object.assign({ component: "label", block: "kol-checkbox", modifiers: Object.assign({ 'variant-button': variant === 'button', 'variant-default': variant === 'default', 'variant-switch': variant === 'switch', checked: Boolean(inputProps.checked), indeterminate: Boolean(inputProps.indeterminate), disabled: Boolean(inputProps.disabled), required: Boolean(inputProps.required), touched: Boolean(inputProps.touched) }, (api.isMsgDefinedAndInputTouched(inputProps.msg, inputProps.touched) ? { [api.getMsgType(inputProps.msg)]: true } : {})), class: classNames }, other), index.h(component.IconFC, { label: "", icons: icon, class: checkboxBem('icon') }), index.h(input.InputFC, Object.assign({ class: clsx.clsx(checkboxBem('input'), inputClass) }, restInputProps, { type: "checkbox" }))));
|
|
93
|
+
return (index.h(component$1.BemRootNodeFC, Object.assign({ component: "label", block: "kol-checkbox", modifiers: Object.assign({ 'variant-button': variant === 'button', 'variant-default': variant === 'default', 'variant-switch': variant === 'switch', checked: Boolean(inputProps.checked), indeterminate: Boolean(inputProps.indeterminate), disabled: Boolean(inputProps.disabled), required: Boolean(inputProps.required), touched: Boolean(inputProps.touched) }, (api.isMsgDefinedAndInputTouched(inputProps.msg, inputProps.touched) ? { [api.getMsgType(inputProps.msg)]: true } : {})), class: classNames }, other), index.h(component.IconFC, { label: "", icons: icon, class: checkboxBem$1('icon') }), index.h(input.InputFC, Object.assign({ class: clsx.clsx(checkboxBem$1('input'), inputClass) }, restInputProps, { type: "checkbox" }))));
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
const inputCheckboxPropsConfig = {
|
|
@@ -109,8 +109,9 @@ const inputCheckboxPropsConfig = {
|
|
|
109
109
|
],
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }`;
|
|
112
|
+
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); 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"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }`;
|
|
113
113
|
|
|
114
|
+
const checkboxBem = bemRegistry.bem.forBlock('kol-input-checkbox');
|
|
114
115
|
const KolInputCheckbox = class extends api.BaseFormFieldWebComponent {
|
|
115
116
|
constructor(hostRef) {
|
|
116
117
|
super();
|
|
@@ -315,23 +316,23 @@ const KolInputCheckbox = class extends api.BaseFormFieldWebComponent {
|
|
|
315
316
|
const accessKey = this.getRenderProp('accessKey') || undefined;
|
|
316
317
|
const shortKey = this.getRenderProp('shortKey') || undefined;
|
|
317
318
|
const required = this.getRenderProp('required');
|
|
318
|
-
return (index.h(index.Host, { key: '
|
|
319
|
-
class:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
[`
|
|
323
|
-
[`
|
|
319
|
+
return (index.h(index.Host, { key: '9d8f9f1a76d6136279e2a16390c26d358de089cf' }, index.h(api.FormFieldFC, Object.assign({ key: 'bc3e19723334f11f76b6f41881aae1eb1896e0a7' }, this.getFormFieldProps({
|
|
320
|
+
class: checkboxBem({
|
|
321
|
+
checked,
|
|
322
|
+
indeterminate,
|
|
323
|
+
[`variant-${variant}`]: true,
|
|
324
|
+
[`label-align-${this.getRenderProp('labelAlign')}`]: true,
|
|
324
325
|
}),
|
|
325
326
|
accessKey,
|
|
326
327
|
shortKey,
|
|
327
328
|
required,
|
|
328
329
|
renderNoLabel: true,
|
|
329
330
|
renderNoTooltip: true,
|
|
330
|
-
})), index.h(fieldControl.FieldControlFC, Object.assign({ key: '
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
[`
|
|
334
|
-
}), id: this.id, label: this.getRenderProp('label'), hint: this.getRenderProp('hint'), hideLabel: this.getRenderProp('hideLabel'), labelAlign: this.getRenderProp('labelAlign'), infoPopover: this.getInfoPopover(), accessKey: accessKey, shortKey: shortKey, tooltipAlign: this.getRenderProp('tooltipAlign'), disabled: this.getRenderProp('disabled'), msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), required: required, renderNoHint: true, labelProps: { onMouseDown: this.handleLabelMouseDown } }, this.getLabelTooltipRefs()), index.h(CheckboxFC, { key: '
|
|
331
|
+
})), index.h(fieldControl.FieldControlFC, Object.assign({ key: '189767fc96708075bd579d260a4d1425fe243a28', class: checkboxBem('field-control', {
|
|
332
|
+
checked,
|
|
333
|
+
indeterminate,
|
|
334
|
+
[`variant-${variant}`]: true,
|
|
335
|
+
}), id: this.id, label: this.getRenderProp('label'), hint: this.getRenderProp('hint'), hideLabel: this.getRenderProp('hideLabel'), labelAlign: this.getRenderProp('labelAlign'), infoPopover: this.getInfoPopover(), accessKey: accessKey, shortKey: shortKey, tooltipAlign: this.getRenderProp('tooltipAlign'), disabled: this.getRenderProp('disabled'), msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), required: required, renderNoHint: true, labelProps: { onMouseDown: this.handleLabelMouseDown } }, this.getLabelTooltipRefs()), index.h(CheckboxFC, { key: 'f15b1f35a6abd220c7af82c6e07378d4e88713ff', variant: variant, icon: this.getIcon(), onMouseDown: this.handleCheckboxMouseDown, inputProps: this.getInputProps() })))));
|
|
335
336
|
}
|
|
336
337
|
get host() { return index.getElement(this); }
|
|
337
338
|
static get watchers() { return {
|
|
@@ -3,52 +3,52 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-BaB_2Z5W.js');
|
|
7
7
|
var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
|
|
8
|
+
var bemRegistry = require('./bem-registry-h_moyLBn.js');
|
|
8
9
|
var accessAndShortKey = require('./access-and-short-key-D40HWCJe.js');
|
|
9
|
-
var inputContainer = require('./input-container-
|
|
10
|
-
var api = require('./api-
|
|
11
|
-
var input = require('./input-
|
|
12
|
-
var suggestions = require('./suggestions-
|
|
10
|
+
var inputContainer = require('./input-container-BcwbGU2R.js');
|
|
11
|
+
var api = require('./api-Cc1hT-oO.js');
|
|
12
|
+
var input = require('./input-CtqTozTO.js');
|
|
13
|
+
var suggestions = require('./suggestions-D3snLGL_.js');
|
|
13
14
|
require('./common-CzGJx0nT.js');
|
|
14
|
-
var component = require('./component-
|
|
15
|
+
var component = require('./component-Cnc2NyzE.js');
|
|
15
16
|
require('./props-from-config-D1qhXS9j.js');
|
|
16
17
|
var smartButton = require('./smart-button-DRMmUyQ5.js');
|
|
17
18
|
var suggestions$1 = require('./suggestions-CoUp7HmN.js');
|
|
18
19
|
var valueString = require('./value-string-CKppMGVM.js');
|
|
19
|
-
var dev_utils = require('./dev.utils-
|
|
20
|
+
var dev_utils = require('./dev.utils-DTQy7QrG.js');
|
|
20
21
|
var elementInteraction = require('./element-interaction-BtYQAbhu.js');
|
|
21
|
-
require('./component-
|
|
22
|
-
require('./bem-registry-B6QoNC9E.js');
|
|
22
|
+
require('./component-CNNGo5gU.js');
|
|
23
23
|
require('./clsx-Bm_HQUnh.js');
|
|
24
|
-
require('./component-
|
|
25
|
-
require('./block-bem-
|
|
26
|
-
require('./component-
|
|
27
|
-
require('./component-
|
|
28
|
-
require('./component-
|
|
24
|
+
require('./component-DNQW0lG8.js');
|
|
25
|
+
require('./block-bem-BVBM34Tu.js');
|
|
26
|
+
require('./component-C9B-yJ93.js');
|
|
27
|
+
require('./component-DfGgpwuP.js');
|
|
28
|
+
require('./component-DlyhBQIa.js');
|
|
29
29
|
require('./disabled-CilmJ-p-.js');
|
|
30
30
|
require('./id-DP-w6i4q.js');
|
|
31
31
|
require('./label-with-expert-slot-CJoz7BLw.js');
|
|
32
32
|
require('./validators-CpCJvM4r.js');
|
|
33
33
|
require('./label-hints-q3XenWLW.js');
|
|
34
|
-
require('./aria-labelledby-
|
|
34
|
+
require('./aria-labelledby-By2dgbCn.js');
|
|
35
35
|
require('./events-PISRnO5c.js');
|
|
36
|
-
require('./
|
|
37
|
-
require('./
|
|
36
|
+
require('./base-web-component-DXCN-Sp3.js');
|
|
37
|
+
require('./item-DJ-XUS77.js');
|
|
38
|
+
require('./controller-D66Eq44x.js');
|
|
38
39
|
require('./component-names-EMVnNhTP.js');
|
|
39
|
-
require('./
|
|
40
|
-
require('./behavior-CUmF8rJf.js');
|
|
40
|
+
require('./behavior-DIv2ciyM.js');
|
|
41
41
|
require('./tooltip-open-tracking-Ba0udJRU.js');
|
|
42
42
|
require('./label-lang-segment-k4OY9qRY.js');
|
|
43
|
-
require('./
|
|
44
|
-
require('./
|
|
45
|
-
require('./
|
|
46
|
-
require('./
|
|
47
|
-
require('./item-
|
|
48
|
-
require('./component-
|
|
43
|
+
require('./resolve-props-c-uwDulF.js');
|
|
44
|
+
require('./behavior-GG5TOrTV.js');
|
|
45
|
+
require('./bootstrap-HU5YhM_w.js');
|
|
46
|
+
require('./i18n-DgHI4-xa.js');
|
|
47
|
+
require('./item-BLrLbhAD.js');
|
|
48
|
+
require('./component-CsnTf_45.js');
|
|
49
49
|
require('./i18n-D7UmRsV8.js');
|
|
50
|
-
require('./component-
|
|
51
|
-
require('./Heading-
|
|
50
|
+
require('./component-CxwSVBBv.js');
|
|
51
|
+
require('./Heading-DqZXie2T.js');
|
|
52
52
|
require('./element-focus-CzkKMwtn.js');
|
|
53
53
|
|
|
54
54
|
const inputColorPropsConfig = {
|
|
@@ -66,8 +66,9 @@ const inputColorPropsConfig = {
|
|
|
66
66
|
],
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }`;
|
|
69
|
+
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); 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"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }`;
|
|
70
70
|
|
|
71
|
+
const colorBem = bemRegistry.bem.forBlock('kol-input-color');
|
|
71
72
|
const KolInputColor = class extends api.BaseFormFieldWebComponent {
|
|
72
73
|
constructor(hostRef) {
|
|
73
74
|
super();
|
|
@@ -227,7 +228,7 @@ const KolInputColor = class extends api.BaseFormFieldWebComponent {
|
|
|
227
228
|
const shortKey = this.getRenderProp('shortKey');
|
|
228
229
|
const suggestions$1 = this.getRenderProp('suggestions');
|
|
229
230
|
const { ariaDescribedBy, hasError } = this.getAria();
|
|
230
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({ id, hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), disabled: this.getRenderProp('disabled'), name: name ? `${name}-color` : undefined }, (accessKey ? { accessKey } : {})), { value: this.getRenderProp('value'), autoComplete: this.getRenderProp('autoComplete'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg') }), (shortKey ? { 'aria-keyshortcuts': shortKey } : {})), { suggestions: suggestions$1.length > 0 ? (index.h(suggestions.SuggestionsFC, { id: id, suggestions: suggestions$1 })) : undefined, class: '
|
|
231
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({ id, hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), disabled: this.getRenderProp('disabled'), name: name ? `${name}-color` : undefined }, (accessKey ? { accessKey } : {})), { value: this.getRenderProp('value'), autoComplete: this.getRenderProp('autoComplete'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg') }), (shortKey ? { 'aria-keyshortcuts': shortKey } : {})), { suggestions: suggestions$1.length > 0 ? (index.h(suggestions.SuggestionsFC, { id: id, suggestions: suggestions$1 })) : undefined, class: colorBem('input', { color: true }), onBlur: this.handleBlur, onChange: this.handleChange, onClick: this.handleClick, onFocus: this.handleFocus, onInput: this.handleColorInput, onKeyDown: this.handleKeyDown, ref: this.ctaRef, type: 'color', ariaDescribedBy, 'aria-invalid': hasError ? 'true' : undefined });
|
|
231
232
|
}
|
|
232
233
|
render() {
|
|
233
234
|
const disabled = this.getRenderProp('disabled');
|
|
@@ -235,12 +236,12 @@ const KolInputColor = class extends api.BaseFormFieldWebComponent {
|
|
|
235
236
|
icons: this.getRenderProp('icons'),
|
|
236
237
|
smartButton: this.getSmartButtonFcProps(this.getRenderProp('smartButton'), disabled),
|
|
237
238
|
});
|
|
238
|
-
return (index.h(index.Host, { key: '
|
|
239
|
-
class:
|
|
239
|
+
return (index.h(index.Host, { key: '89e0f26553404c7836b933b0f36d8075b8bad263' }, index.h(api.FormFieldFC, Object.assign({ key: 'b587f9fe1e55ef2708b4621c5b9e12abea47e0e9' }, this.getFormFieldProps({
|
|
240
|
+
class: colorBem(),
|
|
240
241
|
accessKey: this.getRenderProp('accessKey') || undefined,
|
|
241
242
|
shortKey: this.getRenderProp('shortKey') || undefined,
|
|
242
243
|
variant: this.getRenderProp('variant'),
|
|
243
|
-
})), index.h(inputContainer.InputContainerFC, { key: '
|
|
244
|
+
})), index.h(inputContainer.InputContainerFC, { key: 'a6e45cf9a2e54391629b6ddd04b7e7b24b1c2dfe', disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, index.h(input.InputFC, Object.assign({ key: '0b65d575f9f5938229289aaccc8c514171755c6a' }, this.getInputProps()))))));
|
|
244
245
|
}
|
|
245
246
|
get host() { return index.getElement(this); }
|
|
246
247
|
static get watchers() { return {
|
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-BaB_2Z5W.js');
|
|
7
7
|
var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
|
|
8
8
|
var common = require('./common-CzGJx0nT.js');
|
|
9
|
+
var bemRegistry = require('./bem-registry-h_moyLBn.js');
|
|
9
10
|
var accessAndShortKey = require('./access-and-short-key-D40HWCJe.js');
|
|
10
|
-
var inputContainer = require('./input-container-
|
|
11
|
-
var api = require('./api-
|
|
12
|
-
var input = require('./input-
|
|
13
|
-
var suggestions = require('./suggestions-
|
|
14
|
-
var component = require('./component-
|
|
11
|
+
var inputContainer = require('./input-container-BcwbGU2R.js');
|
|
12
|
+
var api = require('./api-Cc1hT-oO.js');
|
|
13
|
+
var input = require('./input-CtqTozTO.js');
|
|
14
|
+
var suggestions = require('./suggestions-D3snLGL_.js');
|
|
15
|
+
var component = require('./component-Cnc2NyzE.js');
|
|
15
16
|
var propsFromConfig = require('./props-from-config-D1qhXS9j.js');
|
|
16
17
|
var readOnly = require('./read-only-iHApMQEg.js');
|
|
17
18
|
var required = require('./required-BYdSI25I.js');
|
|
@@ -19,38 +20,37 @@ var smartButton = require('./smart-button-DRMmUyQ5.js');
|
|
|
19
20
|
var step = require('./step-CCqgsPCX.js');
|
|
20
21
|
var suggestions$1 = require('./suggestions-CoUp7HmN.js');
|
|
21
22
|
var clsx = require('./clsx-Bm_HQUnh.js');
|
|
22
|
-
var dev_utils = require('./dev.utils-
|
|
23
|
+
var dev_utils = require('./dev.utils-DTQy7QrG.js');
|
|
23
24
|
var elementInteraction = require('./element-interaction-BtYQAbhu.js');
|
|
24
25
|
var controller = require('./controller-D66Eq44x.js');
|
|
25
|
-
require('./component-
|
|
26
|
-
require('./
|
|
27
|
-
require('./
|
|
28
|
-
require('./
|
|
29
|
-
require('./component-
|
|
30
|
-
require('./component-
|
|
31
|
-
require('./component-Cbbx7Z6c.js');
|
|
26
|
+
require('./component-CNNGo5gU.js');
|
|
27
|
+
require('./component-DNQW0lG8.js');
|
|
28
|
+
require('./block-bem-BVBM34Tu.js');
|
|
29
|
+
require('./component-C9B-yJ93.js');
|
|
30
|
+
require('./component-DfGgpwuP.js');
|
|
31
|
+
require('./component-DlyhBQIa.js');
|
|
32
32
|
require('./disabled-CilmJ-p-.js');
|
|
33
33
|
require('./id-DP-w6i4q.js');
|
|
34
34
|
require('./label-with-expert-slot-CJoz7BLw.js');
|
|
35
35
|
require('./validators-CpCJvM4r.js');
|
|
36
36
|
require('./label-hints-q3XenWLW.js');
|
|
37
|
-
require('./aria-labelledby-
|
|
37
|
+
require('./aria-labelledby-By2dgbCn.js');
|
|
38
38
|
require('./events-PISRnO5c.js');
|
|
39
|
-
require('./
|
|
39
|
+
require('./base-web-component-DXCN-Sp3.js');
|
|
40
|
+
require('./item-DJ-XUS77.js');
|
|
41
|
+
require('./behavior-DIv2ciyM.js');
|
|
42
|
+
require('./tooltip-open-tracking-Ba0udJRU.js');
|
|
43
|
+
require('./label-lang-segment-k4OY9qRY.js');
|
|
44
|
+
require('./resolve-props-c-uwDulF.js');
|
|
45
|
+
require('./behavior-GG5TOrTV.js');
|
|
40
46
|
require('./bootstrap-HU5YhM_w.js');
|
|
41
47
|
require('./component-names-EMVnNhTP.js');
|
|
42
48
|
require('./i18n-DgHI4-xa.js');
|
|
43
|
-
require('./
|
|
44
|
-
require('./
|
|
45
|
-
require('./label-lang-segment-k4OY9qRY.js');
|
|
46
|
-
require('./base-web-component-DXCN-Sp3.js');
|
|
47
|
-
require('./item-vDMQvV0t.js');
|
|
48
|
-
require('./resolve-props-B_ytLWBO.js');
|
|
49
|
-
require('./item-wr5KfPYM.js');
|
|
50
|
-
require('./component-Cqp00Tb9.js');
|
|
49
|
+
require('./item-BLrLbhAD.js');
|
|
50
|
+
require('./component-CsnTf_45.js');
|
|
51
51
|
require('./i18n-D7UmRsV8.js');
|
|
52
|
-
require('./component-
|
|
53
|
-
require('./Heading-
|
|
52
|
+
require('./component-CxwSVBBv.js');
|
|
53
|
+
require('./Heading-DqZXie2T.js');
|
|
54
54
|
require('./element-focus-CzkKMwtn.js');
|
|
55
55
|
|
|
56
56
|
const inputDateTypeOptions = ['date', 'datetime-local', 'month', 'time', 'week'];
|
|
@@ -186,8 +186,9 @@ const inputDatePropsConfig = {
|
|
|
186
186
|
],
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
-
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794582088003"); src: url("kolicons.eot?t=1794582088003#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794582088003") format("woff2"), url("kolicons.woff?t=1794582088003") format("woff"), url("kolicons.ttf?t=1794582088003") format("truetype"), url("kolicons.svg?t=1794582088003#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }`;
|
|
189
|
+
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); 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"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }`;
|
|
190
190
|
|
|
191
|
+
const dateBem = bemRegistry.bem.forBlock('kol-input-date');
|
|
191
192
|
const KolInputDate = class extends api.BaseFormFieldWebComponent {
|
|
192
193
|
constructor(hostRef) {
|
|
193
194
|
super();
|
|
@@ -429,8 +430,8 @@ const KolInputDate = class extends api.BaseFormFieldWebComponent {
|
|
|
429
430
|
icons: this.getRenderProp('icons'),
|
|
430
431
|
smartButton: this.getSmartButtonFcProps(this.getRenderProp('smartButton'), disabled),
|
|
431
432
|
});
|
|
432
|
-
return (index.h(index.Host, { key: '
|
|
433
|
-
class: clsx.clsx(
|
|
433
|
+
return (index.h(index.Host, { key: '23b44960be1170c4260569baf9ef16e5e47ee7b1' }, index.h(api.FormFieldFC, Object.assign({ key: '8e4651fa3225a8e0490f14cff261ea89d2e5625e' }, this.getFormFieldProps({
|
|
434
|
+
class: clsx.clsx(dateBem(), this.getRenderProp('type'), {
|
|
434
435
|
'has-value': this.hasValue,
|
|
435
436
|
}),
|
|
436
437
|
accessKey: this.getRenderProp('accessKey') || undefined,
|
|
@@ -438,7 +439,7 @@ const KolInputDate = class extends api.BaseFormFieldWebComponent {
|
|
|
438
439
|
variant: this.getRenderProp('variant'),
|
|
439
440
|
required: this.getRenderProp('required'),
|
|
440
441
|
readOnly: this.getRenderProp('readOnly'),
|
|
441
|
-
})), index.h(inputContainer.InputContainerFC, { key: '
|
|
442
|
+
})), index.h(inputContainer.InputContainerFC, { key: '514f623d0ed2a1877965ae042c29dbf861462c5f', disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, index.h(input.InputFC, Object.assign({ key: '4bba5733e85bd0e38acb669eca99417b077a132f' }, this.getInputProps()))))));
|
|
442
443
|
}
|
|
443
444
|
get host() { return index.getElement(this); }
|
|
444
445
|
static get watchers() { return {
|