@public-ui/components 1.2.0-rc.0 → 1.2.0-rc.10
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/cheat-sheet.html +17 -27
- package/custom-elements.json +11 -31
- package/dist/cjs/{app-globals-8085d570.js → app-globals-5fba2e12.js} +1 -1
- package/dist/cjs/button-link-3ee47d5a.js +4 -0
- package/dist/cjs/{controller-1e8b3dba.js → controller-09b54fd4.js} +1 -1
- package/dist/cjs/{controller-cd6a889c.js → controller-2fe7c1a7.js} +1 -1
- package/dist/cjs/{controller-52c889e1.js → controller-75026331.js} +1 -1
- package/dist/cjs/{controller-deac578d.js → controller-a62e8ad3.js} +1 -1
- package/dist/cjs/{controller-f18f4805.js → controller-b5171593.js} +1 -1
- package/dist/cjs/{controller-79725777.js → controller-ed7ce0fe.js} +1 -1
- package/dist/cjs/{devtools-62a24a78.js → devtools-5c7b0b96.js} +1 -1
- package/dist/cjs/i18n-40ea7c33.js +4 -0
- package/dist/cjs/index-385709bc.js +4 -0
- package/dist/cjs/index-a87a03d1.js +5 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-counter.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-logo.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-span.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
- package/dist/cjs/kol-table.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-65cac3c0.js → label-6b0674ee.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{prop.validators-8ddaf00e.js → prop.validators-ca100ffd.js} +1 -1
- package/dist/cjs/{tab-index-7fc7b7f5.js → tab-index-3c701542.js} +1 -1
- package/dist/cjs/{validation-1d0eba3e.js → validation-269ca8cc.js} +1 -1
- package/dist/cjs/{validation-7fc058fe.js → validation-3b1d4085.js} +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/i18n.js +4 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-group.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-color.js +1 -1
- package/dist/components/kol-counter.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon-font-awesome.js +1 -1
- package/dist/components/kol-icon-icofont.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-password.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link-group.js +1 -1
- package/dist/components/kol-logo.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-span.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-symbol.js +1 -1
- package/dist/components/kol-table.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/shadow.js +1 -1
- package/dist/components/shadow2.js +1 -1
- package/dist/esm/{app-globals-c08c9f2f.js → app-globals-712aa430.js} +1 -1
- package/dist/esm/button-link-8248753e.js +4 -0
- package/dist/esm/{controller-476e5aa0.js → controller-2b71fb23.js} +1 -1
- package/dist/esm/{controller-e8ecf94e.js → controller-4dbfb429.js} +1 -1
- package/dist/esm/{controller-ad6bdf65.js → controller-7adffe2d.js} +1 -1
- package/dist/esm/{controller-af756b28.js → controller-b866c038.js} +1 -1
- package/dist/esm/{controller-98097160.js → controller-c265b38b.js} +1 -1
- package/dist/esm/{controller-b89719ab.js → controller-d0d46e70.js} +1 -1
- package/dist/esm/{devtools-997ea90f.js → devtools-0f8f95fd.js} +1 -1
- package/dist/esm/i18n-0f680f1b.js +4 -0
- package/dist/esm/index-1a5ffdc0.js +5 -0
- package/dist/esm/index-fe68f44e.js +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-group-wc.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-wc_2.entry.js +1 -1
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-color.entry.js +1 -1
- package/dist/esm/kol-counter.entry.js +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-heading-wc_2.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
- package/dist/esm/kol-icon-icofont.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-radio-group.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-group.entry.js +1 -1
- package/dist/esm/kol-link-wc.entry.js +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-logo.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-span.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-symbol.entry.js +1 -1
- package/dist/esm/kol-table.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-toast.entry.js +1 -1
- package/dist/esm/kol-tooltip.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-59d375aa.js → label-545fc70c.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{prop.validators-4cac744a.js → prop.validators-4fa47ba8.js} +1 -1
- package/dist/esm/{tab-index-0b0ee76b.js → tab-index-d4f41cd5.js} +1 -1
- package/dist/esm/{validation-1b0ac934.js → validation-b778326a.js} +1 -1
- package/dist/esm/{validation-b0cccd61.js → validation-f79f1927.js} +1 -1
- package/dist/kolibri/app-globals-712aa430.js +4 -0
- package/dist/kolibri/assets/icofont/demo.html +1 -1
- package/dist/kolibri/button-link-8248753e.js +4 -0
- package/dist/kolibri/{controller-476e5aa0.js → controller-2b71fb23.js} +1 -1
- package/dist/kolibri/{controller-e8ecf94e.js → controller-4dbfb429.js} +1 -1
- package/dist/kolibri/{controller-ad6bdf65.js → controller-7adffe2d.js} +1 -1
- package/dist/kolibri/{controller-af756b28.js → controller-b866c038.js} +1 -1
- package/dist/kolibri/{controller-98097160.js → controller-c265b38b.js} +1 -1
- package/dist/kolibri/{controller-b89719ab.js → controller-d0d46e70.js} +1 -1
- package/dist/kolibri/{devtools-997ea90f.js → devtools-0f8f95fd.js} +1 -1
- package/dist/kolibri/i18n-0f680f1b.js +4 -0
- package/dist/kolibri/index-1a5ffdc0.js +5 -0
- package/dist/kolibri/index-fe68f44e.js +4 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-wc_2.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-color.entry.js +1 -1
- package/dist/kolibri/kol-counter.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading-wc_2.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
- package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.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-group.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-group.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-logo.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-progress.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-span.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table.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.entry.js +1 -1
- package/dist/kolibri/kol-tooltip.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/{label-59d375aa.js → label-545fc70c.js} +1 -1
- package/dist/kolibri/prop.validators-4fa47ba8.js +4 -0
- package/dist/kolibri/{tab-index-0b0ee76b.js → tab-index-d4f41cd5.js} +1 -1
- package/dist/kolibri/{validation-1b0ac934.js → validation-b778326a.js} +1 -1
- package/dist/kolibri/{validation-b0cccd61.js → validation-f79f1927.js} +1 -1
- package/dist/loader/index.d.ts +9 -0
- package/dist/types/components/@deprecated/input/controller.d.ts +1 -1
- package/dist/types/components/@deprecated/input/types.d.ts +1 -1
- package/dist/types/components/@else/all/component.d.ts +1 -1
- package/dist/types/components/abbr/component.d.ts +5 -5
- package/dist/types/components/accordion/component.d.ts +1 -1
- package/dist/types/components/alert/component.d.ts +1 -1
- package/dist/types/components/badge/component.d.ts +3 -2
- package/dist/types/components/breadcrumb/component.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +5 -5
- package/dist/types/components/button/controller.d.ts +1 -1
- package/dist/types/components/button/shadow.d.ts +4 -4
- package/dist/types/components/button-group/component.d.ts +1 -1
- package/dist/types/components/button-link/component.d.ts +3 -3
- package/dist/types/components/card/component.d.ts +1 -1
- package/dist/types/components/details/component.d.ts +1 -1
- package/dist/types/components/form/component.d.ts +1 -1
- package/dist/types/components/heading/component.d.ts +1 -1
- package/dist/types/components/heading/validation.d.ts +1 -1
- package/dist/types/components/icon/component.d.ts +1 -1
- package/dist/types/components/icon-font-awesome/component.d.ts +1 -1
- package/dist/types/components/icon-icofont/component.d.ts +1 -1
- package/dist/types/components/indented-text/component.d.ts +1 -1
- package/dist/types/components/input/types.d.ts +1 -1
- package/dist/types/components/input-adapter-leanup/controller.d.ts +1 -1
- package/dist/types/components/input-adapter-leanup/types.d.ts +1 -1
- package/dist/types/components/input-checkbox/controller.d.ts +1 -1
- package/dist/types/components/input-checkbox/types.d.ts +1 -1
- package/dist/types/components/input-color/controller.d.ts +1 -1
- package/dist/types/components/input-color/types.d.ts +1 -1
- package/dist/types/components/input-date/types.d.ts +1 -1
- package/dist/types/components/input-email/controller.d.ts +1 -1
- package/dist/types/components/input-email/types.d.ts +1 -1
- package/dist/types/components/input-file/controller.d.ts +1 -1
- package/dist/types/components/input-file/types.d.ts +1 -1
- package/dist/types/components/input-number/controller.d.ts +1 -1
- package/dist/types/components/input-number/types.d.ts +1 -1
- package/dist/types/components/input-password/controller.d.ts +1 -1
- package/dist/types/components/input-password/types.d.ts +1 -1
- package/dist/types/components/input-radio/controller.d.ts +1 -1
- package/dist/types/components/input-radio/types.d.ts +1 -1
- package/dist/types/components/input-range/controller.d.ts +1 -1
- package/dist/types/components/input-range/types.d.ts +1 -1
- package/dist/types/components/input-text/controller.d.ts +1 -1
- package/dist/types/components/input-text/types.d.ts +1 -1
- package/dist/types/components/kolibri/component.d.ts +1 -1
- package/dist/types/components/link/component.d.ts +5 -11
- package/dist/types/components/link/shadow.d.ts +4 -7
- package/dist/types/components/link-button/component.d.ts +3 -3
- package/dist/types/components/link-group/component.d.ts +1 -1
- package/dist/types/components/logo/component.d.ts +1 -1
- package/dist/types/components/modal/component.d.ts +1 -1
- package/dist/types/components/nav/component.d.ts +1 -1
- package/dist/types/components/nav/validation.d.ts +1 -1
- package/dist/types/components/pagination/component.d.ts +6 -6
- package/dist/types/components/progress/component.d.ts +1 -1
- package/dist/types/components/select/controller.d.ts +1 -1
- package/dist/types/components/select/types.d.ts +1 -1
- package/dist/types/components/skip-nav/component.d.ts +1 -1
- package/dist/types/components/span/component.d.ts +1 -1
- package/dist/types/components/spin/component.d.ts +1 -1
- package/dist/types/components/symbol/component.d.ts +1 -1
- package/dist/types/components/table/component.d.ts +1 -1
- package/dist/types/components/tabs/component.d.ts +1 -1
- package/dist/types/components/textarea/controller.d.ts +1 -1
- package/dist/types/components/textarea/types.d.ts +1 -1
- package/dist/types/components/toast/component.d.ts +1 -1
- package/dist/types/components/tooltip/component.d.ts +5 -5
- package/dist/types/components/version/component.d.ts +1 -1
- package/dist/types/components.d.ts +24 -84
- package/dist/types/i18n.d.ts +13 -0
- package/dist/types/index.d.ts +1 -8
- package/dist/types/stencil-public-runtime.d.ts +20 -0
- package/dist/types/types/button-link.d.ts +6 -12
- package/dist/types/types/icon.d.ts +0 -1
- package/dist/types/types/table.d.ts +1 -1
- package/dist/types/utils/prop.validators.d.ts +1 -1
- package/dist/types/utils/validators/alignment.d.ts +1 -1
- package/dist/types/utils/validators/icon.d.ts +3 -2
- package/dist/types/utils/validators/label.d.ts +1 -1
- package/dist/types/utils/validators/tab-index.d.ts +1 -1
- package/dist/types/utils/validators/window.d.ts +0 -0
- package/doc/badge.md +2 -2
- package/doc/button.md +1 -1
- package/doc/form.md +13 -9
- package/doc/icon-font-awesome.md +1 -1
- package/doc/icon-icofont.md +1 -1
- package/doc/input-color.md +18 -18
- package/doc/input-date.md +38 -31
- package/doc/input-email.md +25 -25
- package/doc/input-file.md +19 -19
- package/doc/input-number.md +40 -36
- package/doc/input-password.md +23 -23
- package/doc/input-text.md +25 -25
- package/doc/link-button.md +20 -20
- package/doc/link.md +22 -25
- package/doc/select.md +20 -20
- package/doc/span.md +17 -1
- package/doc/table.md +7 -7
- package/doc/tabs.md +1 -1
- package/jest-test-results.json +1 -1
- package/package.json +1 -2
- package/vscode-custom-data.json +85 -79
- package/dist/cjs/button-link-53dceb58.js +0 -4
- package/dist/cjs/index-4befe569.js +0 -5
- package/dist/cjs/index-adbf25b5.js +0 -4
- package/dist/esm/button-link-7b1c4be0.js +0 -4
- package/dist/esm/index-a398b9f4.js +0 -5
- package/dist/esm/index-d870d3e1.js +0 -4
- package/dist/kolibri/app-globals-c08c9f2f.js +0 -4
- package/dist/kolibri/button-link-7b1c4be0.js +0 -4
- package/dist/kolibri/index-a398b9f4.js +0 -5
- package/dist/kolibri/index-d870d3e1.js +0 -4
- package/dist/kolibri/prop.validators-4cac744a.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{p as e,a as t}from"./index-fe68f44e.js";import{s as n,f as r}from"./index.m-86dc8c44.js";import{d as o}from"./a11y.tipps-ff5a1a99.js";import{L as a,g as i,a as l,b as s}from"./dev.utils-daaf2f39.js";const c=(e,t)=>{t.forEach((t=>{!1===e.has(t)&&e.add(t)}))},u=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){const o=new Set;c(o,t.querySelectorAll(e));const r=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<r.length;t++){const n=r[t].shadowRoot;c(o,u(e,"object"==typeof n&&null!==n?n:r[t]))}return Array.from(o)}throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")},f=(e,t=document)=>{if(t instanceof Document||t instanceof HTMLElement||t instanceof ShadowRoot){let o=t.querySelector(e);if(null===o){const r=t.querySelectorAll('[class*="hydrated"]');for(let t=0;t<r.length;t++){const n=r[t].shadowRoot;if(o=f(e,"object"==typeof n&&null!==n?n:r[t]),null!==o)break}}return o}throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};var d=m;function m(e){var t=h(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function h(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),o=t.length;if(3==o||4==o){var r=p(t[0]),n=p(t[1]),a=p(t[2]),l=3==o?255:p(t[3]);if(isNaN(r)||isNaN(n)||isNaN(a)||isNaN(l))return;return[r,n,a,l]}}(e)||function(e){var t=e.replace(/^#/,""),o=t.length;if(6==o||8==o){var r=p(t.slice(0,2)),n=p(t.slice(2,4)),a=p(t.slice(4,6)),l=6==o?255:p(t.slice(6,8));if(isNaN(r)||isNaN(n)||isNaN(a)||isNaN(l))return;return[r,n,a,l]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=y(t[0],!0),r=y(t[1],!0),n=y(t[2],!0);if(-1!=o&&-1!=r&&-1!=n)return[o,r,n,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),o=y(t[0],!0),r=y(t[1],!0),n=y(t[2],!0),a=y(255*t[3]);if(-1!=o&&-1!=r&&-1!=n&&-1!=a)return[o,r,n,a]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=y(null!=e.r?e.r:null!=e.red?e.red:0,!0),o=y(null!=e.g?e.g:null!=e.green?e.green:0,!0),r=y(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),n=y(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=o&&-1!=r&&-1!=n)return[t,o,r,n]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=y(e[0],!0),o=y(e[1],!0),r=y(e[2],!0),n=y(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=o&&-1!=r&&-1!=n)return[t,o,r,n]}}(e)||function(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var t}function v(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function p(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function y(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}d.arr=m,d.obj=function(e){var t=h(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}},d.css=function(e){var t=h(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"},d.hex=function(e){3==(a=h(e)).length&&a.push(255);var t=255==a[3],o=v(a[0]),r=v(a[1]),n=v(a[2]),a=v(Math.round(a[3])),l=function(e,t,o,r){var n=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=n.indexOf(e)&&-1!=n.indexOf(t)&&-1!=n.indexOf(o)&&-1!=n.indexOf(r)}(o,r,n,a);return t?l?"#"+o.charAt(0)+r.charAt(0)+n.charAt(0):"#"+o+r+n:l?"#"+o.charAt(0)+r.charAt(0)+n.charAt(0)+a.charAt(0):"#"+o+r+n+a},d.num=function(e){var t=h(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0};const g=/\[object Object\]/,b=(e,t)=>{"string"==typeof e&&g.test(e)||t()},w=(e,t)=>{"string"==typeof e&&""===e||t()},S=(e,t)=>{s()&&(console.log(e,t),o("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},N=(e,t,o,r={})=>{var n,a;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextState.get(t)!==o&&(e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),"function"==typeof r.afterPatch&&(null===(n=e.nextHooks.get(t))||void 0===n||n.set("afterPatch",r.afterPatch)),"function"==typeof r.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",r.beforePatch)),e.nextState.set(t,o),(e=>{var t,o,r;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,o)=>{var r;const n=t.get("beforePatch");"function"==typeof n&&n(null===(r=e.nextState)||void 0===r?void 0:r.get(o),e.nextState,e,o)})),(null===(o=e.nextState)||void 0===o?void 0:o.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(r=e.nextHooks)||void 0===r||r.forEach(((t,o)=>{const r=t.get("afterPatch");"function"==typeof r&&r(e.state[o],e.state,e,o)}))),delete e.nextHooks})(e))},M=(e,t,r,n,a,l={})=>{r(a)?N(e,t,a,null==l?void 0:l.hooks):void 0===a||null===a&&(void 0===(null==l?void 0:l.required)||!1===(null==l?void 0:l.required))?N(e,t,null==l?void 0:l.defaultValue,null==l?void 0:l.hooks):(void 0!==(null==l?void 0:l.required)&&!1!==(null==l?void 0:l.required)||n.add(null),((e,t,r,n)=>{o(`[${e.constructor.name}] Der Property-Wert (${r}) für '${t}' ist nicht valide. Folgende Werte sind erlaubt: ${Array.from(n).join(", ")}`)})(e,t,a,n))},E=(e,t,o,r)=>{M(e,t,(e=>"boolean"==typeof e),new Set(["Boolean {true, false}"]),o,r)},j=(e,t,o,r={})=>{const n="number"==typeof r.minLength?null==r?void 0:r.minLength:0;M(e,t,(e=>"string"==typeof e&&e.length>=n),new Set([`String (Mindestlänge ${n})`]),o,r)},O=(e,t,o,r)=>{M(e,t,(e=>"number"==typeof e&&(void 0===(null==r?void 0:r.min)||"number"==typeof(null==r?void 0:r.min)&&e>=r.min)&&(void 0===(null==r?void 0:r.max)||"number"==typeof(null==r?void 0:r.max)&&e<=r.max)),new Set(["Number"]),o,r)},$=(e,t,r,n,a=(e=>e==e),l={})=>{w(n,(()=>{b(n,(()=>{void 0===n&&(n=[]);try{try{n=P(n)}catch(e){}if(Array.isArray(n)){const o=n.find((e=>!r(e)));void 0===o&&a(n)?N(e,t,n,l.hooks):b(o,(()=>{throw console.log(o),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}else b(n,(()=>{throw console.log(n),new Error("↑ Das Schema für das Property (_options) ist nicht valide. Der Wert wird nicht geändert.")}))}catch(e){o("Known bug: Zeichenkettenliste (string[])")}}))}))},k=/^(true|false)$/,D=/^-?(0|[1-9]\d*)$/,T=/^-?(0.|[1-9]\d*.)\d*[1-9]$/,H=e=>{const t=typeof e,r=`${e}`;if("string"==typeof e)if(k.test(e))e="true"===e;else if(D.test(e))e=parseInt(e);else if(T.test(e))e=parseFloat(e);else if(C.test(e))try{e=P(e)}catch(e){}return t!==typeof e&&o(`You have used a stringified property value (${r} to ${JSON.stringify(e)}) which type switched from ${t} to ${typeof e}!`),e},L=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw a.warn(["stringifyJson",e]),a.error("↑ Das JSON konnte nicht in einen String umgewandelt werden. Es wird ein stringifizierbares JSON erwartet."),new Error}},C=/^[{[]/,P=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(C.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){a.warn(["parseJson",e]),a.error("↑ Der JSON-String konnte nicht geparsed werden. Achten Sie darauf, dass einfache Anführungszeichen im Text maskiert werden (‘).")}}throw new Error},A=e=>"boolean"==typeof e?!0===e?"true":"false":void 0,J=e=>"string"==typeof e?e:A(e),q=(e,t)=>f(e,t||i()),x=(e,t)=>u(e,t||i());let z=null;const B=()=>(z=z||{backgroundColor:"#00000000",color:"#00000000",domNode:i().body,level:"Fail",score:1},z),K=/(\d+, ){3}0\)/,R=(e,t=B())=>{const o=getComputedStyle(e),l=K.test(o.backgroundColor)?t.backgroundColor:d.hex(o.backgroundColor),s=K.test(o.color)?t.color:d.hex(o.color),i=n(l,s),c={backgroundColor:l,color:s,domNode:e,level:r(i),score:i};return i<4.5&&a.error(["Color-Contrast-Error",{backgroundColor:c.backgroundColor,color:c.color,level:c.level,score:c.score},c.domNode]),c},W=(e,t=B())=>{t.domNode instanceof HTMLElement&&(t=R(t.domNode,t));const o=t.domNode.querySelector(e);if(null===o){const o=t.domNode.querySelectorAll('[class="hydrated"]');for(let r=0;r<o.length&&(t.domNode=o[r],null===(t=W(e,t)).domNode);r++);return t}return R(o,t)},F=(e,t=window)=>{e instanceof HTMLElement?(t.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top+l().pageYOffset-50}),e.focus()):o("Das HTMLElement ist nicht valide, zu dem gescrollt werden soll.")},I=(e,t)=>{if((e instanceof Document||e instanceof HTMLElement||e instanceof ShadowRoot)&&"string"==typeof t){o("Bei der Methode querySelectorAll wurden die Parameter document, selector in selector, document getauscht, da der Parameter selector nicht, allerdings der Parameter document optional sein kann.");const r=`${t}`;t=e,e=r}if("string"==typeof e){const r=q(e,t);r instanceof HTMLElement?F(r):o(`Es konnte kein HTMLElement mit dem Selector (${e}) gefunden werden, zu dem gescrollt werden soll.`)}else o("Der Selector ist nicht valide, zu dem gescrollt werden soll.")};class U{static queryHtmlElementColors(e,t,o=!1,r=!0){let n=null;if(!0===o||!1===U.executionLock)if(!1===o&&(U.cache.clear(),U.cache.set(t.domNode,t),U.executionLock=!0,!0===r&&a.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)n=t;else{const o=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)o.add(e[t])}const r=t.domNode;if("function"==typeof r.assignedNodes){const e=r.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&o.add(e[t])}const a=t.domNode.children;for(let e=0;e<a.length;e++)o.add(a[e]);const l=Array.from(o);for(let o=0;o<l.length;o++){let r=U.cache.get(l[o]);void 0===r&&(r=R(l[o],t)),U.cache.set(l[o],r);const a=U.queryHtmlElementColors(e,r,!0,!1);if(null!==a){n=a;break}}}else a.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===o&&(!0===r&&a.debug(`[KoliBriUtils] Color contrast analysis finished (${U.cache.size} DOM elements are analysed).`),U.executionLock=!1,U.cache.clear()),n}}U.executionLock=!1,U.cache=new Map;class _{}_.patchTheme=e,_.patchThemeTag=t,_.querySelector=q,_.querySelectorAll=x,_.scrollByHTMLElement=F,_.scrollBySelector=I,_.stringifyJson=L;export{_ as K,M as a,E as b,$ as c,O as d,S as e,w as f,A as g,I as h,J as i,U as j,q as k,R as l,H as m,x as n,b as o,P as p,W as q,d as r,N as s,L as t,j as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{b as o,e as i}from"./a11y.tipps-ff5a1a99.js";import{o as t,p as n,a as e,d as a}from"./prop.validators-
|
|
4
|
+
import{b as o,e as i}from"./a11y.tipps-ff5a1a99.js";import{o as t,p as n,a as e,d as a}from"./prop.validators-4fa47ba8.js";import{a as l,b as r,i as s}from"./validator-8ee8737c.js";const c=(t,o,e)=>{s(e)?t[o]=e:l(e,1)&&(t[o]={icon:e})},d=t=>{var o,e,i,n,a,r,s;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icon")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icon"),a=(null===(i=t.nextState)||void 0===i?void 0:i.get("_iconAlign"))||t.state._iconAlign;null===(n=t.nextState)||void 0===n||n.set("_icon",((t,o)=>{let e={};return l(t,1)?e="right"===o?{right:{icon:t}}:{left:{icon:t}}:"object"==typeof t&&null!==t&&(c(e,"top",t.top),c(e,"right",t.right),c(e,"bottom",t.bottom),c(e,"left",t.left)),e})(o,a))}else if(null===(a=t.nextState)||void 0===a?void 0:a.has("_iconAlign")){const o=t.state._iconAlign;null===(r=t.nextState)||void 0===r||r.set("_icon",{[o]:void 0,[null===(s=t.nextState)||void 0===s?void 0:s.get("_iconAlign")]:t.state._icon[o]})}},h=t=>"object"==typeof t&&null!==t&&(void 0===t.style||r(t.style))&&l(t.icon,1),p=(o,i)=>{t(i,(()=>{try{i=n(i)}catch(t){}e(o,"_icon",(t=>null===t||l(t,1)||"object"==typeof t&&null!==t&&(l(t.left,1)||h(t.left)||l(t.right,1)||h(t.right)||l(t.top,1)||h(t.top)||l(t.bottom,1)||h(t.bottom))),new Set(["KoliBriIcon"]),i,{hooks:{beforePatch:(t,e)=>{null===t&&e.set("_icon",{}),d(o)}},required:!0})}))},u=(t,i)=>{o("Das Property _icon-align bzw. _iconAlign ist veraltet. Die Ausrichtung der Icon's kann jetzt direkt über das _icon-Property vorgenommen werden. (v1.1.10: https://public-ui.github.io/?path=/story/backlog-und-changelog--page)"),e(t,"_iconAlign",(t=>"left"===t||"right"===t),new Set(["Alignment {left, right, top, bottom}"]),i,{hooks:{beforePatch:()=>{d(t)}}})},v={hooks:{afterPatch:t=>{-1!==t&&0!==t&&i("Don’t Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html")}}},g=(t,o)=>{a(t,"_tabIndex",o,v)};export{p as a,h as i,g as v,u as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{u as o}from"./a11y.tipps-ff5a1a99.js";import{c as a}from"./prop.validators-
|
|
4
|
+
import{u as o}from"./a11y.tipps-ff5a1a99.js";import{c as a}from"./prop.validators-4fa47ba8.js";const s=(s,t,p)=>{a(t,"_links",(a=>"object"==typeof a&&"string"==typeof a._label),p),o(s,t.state._links.length)};export{s as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as e}from"./prop.validators-
|
|
4
|
+
import{a as e}from"./prop.validators-4fa47ba8.js";const a=(a,r)=>{e(a,"_level",(e=>"number"==typeof e&&1<=e&&e<=6),new Set(["Number {1, 2, 3, 4, 5, 6}"]),r,{defaultValue:1,required:!0})};export{a as w};
|
package/dist/loader/index.d.ts
CHANGED
|
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
18
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
19
|
+
* will result in the same behavior.
|
|
20
|
+
*/
|
|
21
|
+
export declare function setNonce(nonce: string): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { JSX } from '../../stencil-public-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { Alignment } from '../../types/props/alignment';
|
|
4
4
|
type RequiredProps = {
|
|
5
5
|
title: string;
|
|
6
6
|
};
|
|
7
7
|
type OptionalProps = {
|
|
8
|
-
tooltipAlign:
|
|
8
|
+
tooltipAlign: Alignment;
|
|
9
9
|
};
|
|
10
10
|
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
11
11
|
type RequiredStates = RequiredProps & OptionalProps;
|
|
@@ -14,11 +14,11 @@ type States = Generic.Element.Members<RequiredStates, OptionalStates>;
|
|
|
14
14
|
export declare class KolAbbr implements Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates> {
|
|
15
15
|
private readonly nonce;
|
|
16
16
|
render(): JSX.Element;
|
|
17
|
-
_tooltipAlign?:
|
|
17
|
+
_tooltipAlign?: Alignment;
|
|
18
18
|
_title: string;
|
|
19
19
|
state: States;
|
|
20
20
|
validateTitle(value?: string): void;
|
|
21
|
-
validateTooltipAlign(value?:
|
|
21
|
+
validateTooltipAlign(value?: Alignment): void;
|
|
22
22
|
componentWillLoad(): void;
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlertType, AlertVariant, KoliBriAlertEventCallbacks } from '../../types/alert';
|
|
4
4
|
import { HeadingLevel } from '../../types/heading-level';
|
|
5
5
|
type RequiredProps = unknown;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
3
|
-
import {
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
|
+
import { KoliBriIconProp } from '../../types/icon';
|
|
4
|
+
import { Alignment } from '../../types/props/alignment';
|
|
4
5
|
import { Stringified } from '../../types/common';
|
|
5
6
|
import { ButtonProps } from '../../types/button-link';
|
|
6
7
|
export type KoliBriColor = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlternativButtonLinkRole, AriaCurrent, ButtonStates, KoliBriButtonCallbacks, KoliBriButtonType, KoliBriButtonVariant, OptionalButtonProps, OptionalButtonStates, RequiredButtonProps, RequiredButtonStates } from '../../types/button-link';
|
|
4
4
|
import { Stringified } from '../../types/common';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { KoliBriIconProp } from '../../types/icon';
|
|
6
|
+
import { Alignment } from '../../types/props/alignment';
|
|
7
7
|
export declare class KolButtonWc implements Generic.Element.ComponentApi<RequiredButtonProps, OptionalButtonProps, RequiredButtonStates, OptionalButtonStates> {
|
|
8
8
|
private readonly host?;
|
|
9
9
|
private readonly nonce;
|
|
@@ -27,7 +27,7 @@ export declare class KolButtonWc implements Generic.Element.ComponentApi<Require
|
|
|
27
27
|
_on?: KoliBriButtonCallbacks<unknown>;
|
|
28
28
|
_role?: AlternativButtonLinkRole;
|
|
29
29
|
_tabIndex?: number;
|
|
30
|
-
_tooltipAlign?:
|
|
30
|
+
_tooltipAlign?: Alignment;
|
|
31
31
|
_type?: KoliBriButtonType;
|
|
32
32
|
_value?: Stringified<unknown>;
|
|
33
33
|
_variant?: KoliBriButtonVariant;
|
|
@@ -48,7 +48,7 @@ export declare class KolButtonWc implements Generic.Element.ComponentApi<Require
|
|
|
48
48
|
validateOn(value?: KoliBriButtonCallbacks<unknown>): void;
|
|
49
49
|
validateRole(value?: AlternativButtonLinkRole): void;
|
|
50
50
|
validateTabIndex(value?: number): void;
|
|
51
|
-
validateTooltipAlign(value?:
|
|
51
|
+
validateTooltipAlign(value?: Alignment): void;
|
|
52
52
|
validateType(value?: KoliBriButtonType): void;
|
|
53
53
|
validateValue(value?: Stringified<unknown>): void;
|
|
54
54
|
validateVariant(value?: KoliBriButtonVariant): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { KoliBriButtonType, KoliBriButtonVariant } from '../../types/button-link';
|
|
3
3
|
export declare const watchButtonType: (component: Generic.Element.Component, propName: string, value?: KoliBriButtonType) => void;
|
|
4
4
|
export declare const watchButtonVariant: (component: Generic.Element.Component, propName: string, value?: KoliBriButtonVariant) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlternativButtonLinkRole, AriaCurrent, KoliBriButtonCallbacks, KoliBriButtonType, KoliBriButtonVariant, OptionalButtonProps, RequiredButtonProps } from '../../types/button-link';
|
|
4
4
|
import { Stringified } from '../../types/common';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { KoliBriIconProp } from '../../types/icon';
|
|
6
|
+
import { Alignment } from '../../types/props/alignment';
|
|
7
7
|
export declare class KolButton implements Generic.Element.Members<RequiredButtonProps, OptionalButtonProps> {
|
|
8
8
|
private readonly host?;
|
|
9
9
|
private ref?;
|
|
@@ -25,7 +25,7 @@ export declare class KolButton implements Generic.Element.Members<RequiredButton
|
|
|
25
25
|
_on?: KoliBriButtonCallbacks<unknown>;
|
|
26
26
|
_role?: AlternativButtonLinkRole;
|
|
27
27
|
_tabIndex?: number;
|
|
28
|
-
_tooltipAlign?:
|
|
28
|
+
_tooltipAlign?: Alignment;
|
|
29
29
|
_type?: KoliBriButtonType;
|
|
30
30
|
_value?: Stringified<unknown>;
|
|
31
31
|
_variant?: KoliBriButtonVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
type RequiredProps = unknown;
|
|
4
4
|
type OptionalProps = unknown;
|
|
5
5
|
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlternativButtonLinkRole, AriaCurrent, KoliBriButtonCallbacks, KoliBriButtonType, OptionalButtonLinkProps, RequiredButtonLinkProps } from '../../types/button-link';
|
|
4
4
|
import { Stringified } from '../../types/common';
|
|
5
5
|
import { KoliBriIconProp } from '../../types/icon';
|
|
6
|
-
import {
|
|
6
|
+
import { Alignment } from '../../types/props/alignment';
|
|
7
7
|
export declare class KolButtonLink implements Generic.Element.Members<RequiredButtonLinkProps, OptionalButtonLinkProps> {
|
|
8
8
|
private readonly host?;
|
|
9
9
|
private ref?;
|
|
@@ -23,7 +23,7 @@ export declare class KolButtonLink implements Generic.Element.Members<RequiredBu
|
|
|
23
23
|
_on?: KoliBriButtonCallbacks<unknown>;
|
|
24
24
|
_role?: AlternativButtonLinkRole;
|
|
25
25
|
_tabIndex?: number;
|
|
26
|
-
_tooltipAlign?:
|
|
26
|
+
_tooltipAlign?: Alignment;
|
|
27
27
|
_type?: KoliBriButtonType;
|
|
28
28
|
_value?: Stringified<unknown>;
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { Events } from '../../enums/events';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
import { EventCallback } from '../../types/callbacks';
|
|
5
5
|
import { Stringified } from '../../types/common';
|
|
6
6
|
export type KoliBriFormCallbacks = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
export declare const watchHeadingLevel: (component: Generic.Element.Component, value?: number) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { FontAwesome, FontAwesomeOssPrefix } from '../../enums/font-awesome';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
import { AriaLabel } from '../../types/aria-label';
|
|
5
5
|
type RequiredProps = AriaLabel & {
|
|
6
6
|
icon: FontAwesome;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AriaLabel } from '../../types/aria-label';
|
|
4
4
|
import { Icofont } from '../../types/icofont';
|
|
5
5
|
type RequiredProps = AriaLabel & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
type RequiredProps = unknown;
|
|
4
4
|
type OptionalProps = unknown;
|
|
5
5
|
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { InputCheckboxRadioController } from '../input-radio/controller';
|
|
3
3
|
import { InputCheckboxVariant, Props, Watches } from './types';
|
|
4
4
|
export declare class InputCheckboxController extends InputCheckboxRadioController implements Watches {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { InputDateType, OptionalInputProps } from '../../types/input/control/number';
|
|
3
3
|
import { Iso8601 } from '../../types/input/iso8601';
|
|
4
4
|
import { InputRequiredProps } from '../input-text/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { InputTextEmailController } from '../input-text/controller';
|
|
3
3
|
import { Props, Watches } from './types';
|
|
4
4
|
export declare class InputEmailController extends InputTextEmailController implements Watches {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { InputController } from '../@deprecated/input/controller';
|
|
3
3
|
import { Props, Watches } from './types';
|
|
4
4
|
export declare class InputFileController extends InputController implements Watches {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { InputNumberType, OptionalInputProps } from '../../types/input/control/number';
|
|
4
4
|
import { Iso8601 } from '../../types/input/iso8601';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { ButtonProps } from '../../types/button-link';
|
|
3
3
|
import { Stringified } from '../../types/common';
|
|
4
4
|
import { InputTypeOnDefault, InputTypeOnOff } from '../../types/input/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { Stringified } from '../../types/common';
|
|
3
3
|
import { InputTypeOnOff, Option } from '../../types/input/types';
|
|
4
4
|
import { InputController } from '../@deprecated/input/controller';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { Stringified } from '../../types/common';
|
|
3
3
|
import { InputTypeOnDefault, InputTypeOnOff, Option } from '../../types/input/types';
|
|
4
4
|
import { InputRequiredProps, KoliBriInputIcon } from '../input-text/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputPasswordController } from '../input-password/controller';
|
|
2
2
|
import { Props as InputTextProps, Watches as InputTextWatches } from './types';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
import { InputTextType } from '../../types/input/control/text';
|
|
5
5
|
import { Stringified } from '../../types/common';
|
|
6
6
|
type RequiredProps = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlternativButtonLinkRole, AriaCurrent, LinkOnCallbacks, LinkStates, LinkTarget, LinkUseCase, OptionalLinkProps, OptionalLinkStates, RequiredLinkProps, RequiredLinkStates } from '../../types/button-link';
|
|
4
|
-
import { Alignment, KoliBriIconProp } from '../../types/icon';
|
|
5
|
-
import { TooltipAlignment } from '../tooltip/component';
|
|
6
4
|
import { Stringified } from '../../types/common';
|
|
5
|
+
import { KoliBriIconProp } from '../../types/icon';
|
|
6
|
+
import { Alignment } from '../../types/props/alignment';
|
|
7
7
|
type RequiredNavLinkProps = RequiredLinkProps;
|
|
8
8
|
type OptionalNavLinkProps = OptionalLinkProps & {
|
|
9
9
|
active: boolean;
|
|
@@ -23,22 +23,19 @@ export declare class KolLinkWc implements Generic.Element.ComponentApi<RequiredL
|
|
|
23
23
|
_ariaLabel?: string;
|
|
24
24
|
_ariaSelected?: boolean;
|
|
25
25
|
_disabled?: boolean;
|
|
26
|
-
_fill?: boolean;
|
|
27
26
|
_href: string;
|
|
28
27
|
_icon?: Stringified<KoliBriIconProp>;
|
|
29
28
|
_iconAlign?: Alignment;
|
|
30
29
|
_iconOnly?: boolean;
|
|
31
30
|
_label: string;
|
|
32
31
|
_on?: LinkOnCallbacks;
|
|
33
|
-
_part?: string;
|
|
34
32
|
_role?: AlternativButtonLinkRole;
|
|
35
33
|
_selector?: string;
|
|
36
34
|
_stealth?: boolean;
|
|
37
35
|
_tabIndex?: number;
|
|
38
36
|
_target?: LinkTarget;
|
|
39
37
|
_targetDescription?: string;
|
|
40
|
-
_tooltipAlign?:
|
|
41
|
-
_underline?: boolean;
|
|
38
|
+
_tooltipAlign?: Alignment;
|
|
42
39
|
_useCase?: LinkUseCase;
|
|
43
40
|
state: LinkStates;
|
|
44
41
|
validateAriaControls(value?: string): void;
|
|
@@ -47,22 +44,19 @@ export declare class KolLinkWc implements Generic.Element.ComponentApi<RequiredL
|
|
|
47
44
|
validateAriaLabel(value?: string): void;
|
|
48
45
|
validateAriaSelected(value?: boolean): void;
|
|
49
46
|
validateDisabled(value?: boolean): void;
|
|
50
|
-
validateFill(value?: boolean): void;
|
|
51
47
|
validateHref(value?: string): void;
|
|
52
48
|
validateIcon(value?: KoliBriIconProp): void;
|
|
53
49
|
validateIconAlign(value?: Alignment): void;
|
|
54
50
|
validateIconOnly(value?: boolean): void;
|
|
55
51
|
validateLabel(value?: string): void;
|
|
56
52
|
validateOn(value?: LinkOnCallbacks): void;
|
|
57
|
-
validatePart(value?: string): void;
|
|
58
53
|
validateRole(value?: AlternativButtonLinkRole): void;
|
|
59
54
|
validateSelector(value?: string): void;
|
|
60
55
|
validateStealth(value?: boolean): void;
|
|
61
56
|
validateTabIndex(value?: number): void;
|
|
62
57
|
validateTarget(value?: LinkTarget): void;
|
|
63
58
|
validateTargetDescription(value?: string): void;
|
|
64
|
-
validateTooltipAlign(value?:
|
|
65
|
-
validateUnderline(value?: boolean): void;
|
|
59
|
+
validateTooltipAlign(value?: Alignment): void;
|
|
66
60
|
validateUseCase(value?: LinkUseCase): void;
|
|
67
61
|
componentWillLoad(): void;
|
|
68
62
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
1
2
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { Alignment, KoliBriIconProp } from '../../types/icon';
|
|
3
|
-
import { Generic } from '@public-ui/core';
|
|
4
3
|
import { AlternativButtonLinkRole, AriaCurrent, LinkOnCallbacks, LinkTarget, LinkUseCase, OptionalLinkProps, RequiredLinkProps } from '../../types/button-link';
|
|
5
|
-
import { TooltipAlignment } from '../tooltip/component';
|
|
6
4
|
import { Stringified } from '../../types/common';
|
|
5
|
+
import { KoliBriIconProp } from '../../types/icon';
|
|
6
|
+
import { Alignment } from '../../types/props/alignment';
|
|
7
7
|
export declare class KolLink implements Generic.Element.Members<RequiredLinkProps, OptionalLinkProps> {
|
|
8
8
|
private readonly host?;
|
|
9
9
|
private ref?;
|
|
@@ -15,21 +15,18 @@ export declare class KolLink implements Generic.Element.Members<RequiredLinkProp
|
|
|
15
15
|
_ariaLabel?: string;
|
|
16
16
|
_ariaSelected?: boolean;
|
|
17
17
|
_disabled?: boolean;
|
|
18
|
-
_fill?: boolean;
|
|
19
18
|
_href: string;
|
|
20
19
|
_icon?: Stringified<KoliBriIconProp>;
|
|
21
20
|
_iconAlign?: Alignment;
|
|
22
21
|
_iconOnly?: boolean;
|
|
23
22
|
_label: string;
|
|
24
23
|
_on?: LinkOnCallbacks;
|
|
25
|
-
_part?: string;
|
|
26
24
|
_role?: AlternativButtonLinkRole;
|
|
27
25
|
_selector?: string;
|
|
28
26
|
_stealth?: boolean;
|
|
29
27
|
_tabIndex?: number;
|
|
30
28
|
_target?: LinkTarget;
|
|
31
29
|
_targetDescription?: string;
|
|
32
|
-
_tooltipAlign?:
|
|
33
|
-
_underline?: boolean;
|
|
30
|
+
_tooltipAlign?: Alignment;
|
|
34
31
|
_useCase?: LinkUseCase;
|
|
35
32
|
}
|