@public-ui/components 1.2.0-rc.2 → 1.2.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/cheat-sheet.html +7 -7
- package/custom-elements.json +5 -5
- package/dist/cjs/{app-globals-d52dfbd8.js → app-globals-b5f9ed21.js} +1 -1
- package/dist/cjs/{button-link-53dceb58.js → button-link-20e45777.js} +1 -1
- package/dist/cjs/{controller-79725777.js → controller-05cf81d5.js} +1 -1
- package/dist/cjs/{controller-1e8b3dba.js → controller-1e7fded2.js} +1 -1
- package/dist/cjs/{controller-52c889e1.js → controller-80542a84.js} +1 -1
- package/dist/cjs/{controller-f18f4805.js → controller-82db9ece.js} +1 -1
- package/dist/cjs/{controller-deac578d.js → controller-8bc782fe.js} +1 -1
- package/dist/cjs/{controller-cd6a889c.js → controller-d49fe656.js} +1 -1
- package/dist/cjs/{devtools-62a24a78.js → devtools-e1da1fdd.js} +1 -1
- package/dist/cjs/i18n-40ea7c33.js +4 -0
- package/dist/cjs/index-079091fe.js +4 -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-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.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-icon.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.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-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-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-928eb9e0.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{prop.validators-8ddaf00e.js → prop.validators-418838b5.js} +1 -1
- package/dist/cjs/{tab-index-7fc7b7f5.js → tab-index-2e283146.js} +1 -1
- package/dist/cjs/{validation-7fc058fe.js → validation-65d6637a.js} +1 -1
- package/dist/cjs/{validation-1d0eba3e.js → validation-96bfc49b.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/i18n.js +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-logo.js +1 -1
- package/dist/components/kol-nav.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/prop.validators.js +1 -1
- package/dist/esm/{app-globals-3f5f451f.js → app-globals-a3ea1c25.js} +1 -1
- package/dist/esm/{button-link-7b1c4be0.js → button-link-12c0f0fc.js} +1 -1
- package/dist/esm/{controller-b89719ab.js → controller-1c182403.js} +1 -1
- package/dist/esm/{controller-476e5aa0.js → controller-881192cb.js} +1 -1
- package/dist/esm/{controller-98097160.js → controller-aa8b7245.js} +1 -1
- package/dist/esm/{controller-ad6bdf65.js → controller-b4f2f439.js} +1 -1
- package/dist/esm/{controller-af756b28.js → controller-b9b5612a.js} +1 -1
- package/dist/esm/{controller-e8ecf94e.js → controller-d1de0fb0.js} +1 -1
- package/dist/esm/{devtools-997ea90f.js → devtools-be185553.js} +1 -1
- package/dist/esm/i18n-0f680f1b.js +4 -0
- package/dist/esm/index-e8f75197.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-wc_2.entry.js +1 -1
- package/dist/esm/kol-card.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-icon.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.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-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-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-5ff0abd3.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{prop.validators-4cac744a.js → prop.validators-aece40e0.js} +1 -1
- package/dist/esm/{tab-index-0b0ee76b.js → tab-index-6f076edf.js} +1 -1
- package/dist/esm/{validation-1b0ac934.js → validation-44db1a43.js} +1 -1
- package/dist/esm/validation-6bb25737.js +4 -0
- package/dist/kolibri/app-globals-a3ea1c25.js +4 -0
- package/dist/kolibri/assets/icofont/demo.html +1 -1
- package/dist/kolibri/button-link-12c0f0fc.js +4 -0
- package/dist/kolibri/{controller-b89719ab.js → controller-1c182403.js} +1 -1
- package/dist/kolibri/{controller-476e5aa0.js → controller-881192cb.js} +1 -1
- package/dist/kolibri/controller-aa8b7245.js +4 -0
- package/dist/kolibri/{controller-ad6bdf65.js → controller-b4f2f439.js} +1 -1
- package/dist/kolibri/{controller-af756b28.js → controller-b9b5612a.js} +1 -1
- package/dist/kolibri/{controller-e8ecf94e.js → controller-d1de0fb0.js} +1 -1
- package/dist/kolibri/devtools-be185553.js +4 -0
- package/dist/kolibri/i18n-0f680f1b.js +4 -0
- package/dist/kolibri/{index-d870d3e1.js → index-e8f75197.js} +1 -1
- 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-wc_2.entry.js +1 -1
- package/dist/kolibri/kol-card.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-icon.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-group.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.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-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-5ff0abd3.js} +1 -1
- package/dist/kolibri/prop.validators-aece40e0.js +4 -0
- package/dist/kolibri/{tab-index-0b0ee76b.js → tab-index-6f076edf.js} +1 -1
- package/dist/kolibri/validation-44db1a43.js +4 -0
- package/dist/kolibri/validation-6bb25737.js +4 -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 +1 -1
- 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 +1 -1
- package/dist/types/components/breadcrumb/component.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +1 -1
- package/dist/types/components/button/controller.d.ts +1 -1
- package/dist/types/components/button/shadow.d.ts +1 -1
- package/dist/types/components/button-group/component.d.ts +1 -1
- package/dist/types/components/button-link/component.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/link/shadow.d.ts +1 -1
- package/dist/types/components/link-button/component.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/types/components/version/component.d.ts +1 -1
- package/dist/types/i18n.d.ts +13 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/button-link.d.ts +1 -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 +1 -1
- package/dist/types/utils/validators/label.d.ts +1 -1
- package/dist/types/utils/validators/tab-index.d.ts +1 -1
- package/doc/form.md +13 -9
- package/doc/icon-font-awesome.md +1 -1
- package/doc/link-button.md +20 -20
- package/doc/span.md +17 -1
- package/jest-test-results.json +1 -1
- package/package.json +1 -1
- package/vscode-custom-data.json +5 -5
- package/dist/cjs/index-adbf25b5.js +0 -4
- package/dist/esm/index-d870d3e1.js +0 -4
- package/dist/esm/validation-b0cccd61.js +0 -4
- package/dist/kolibri/app-globals-3f5f451f.js +0 -4
- package/dist/kolibri/button-link-7b1c4be0.js +0 -4
- package/dist/kolibri/controller-98097160.js +0 -4
- package/dist/kolibri/devtools-997ea90f.js +0 -4
- package/dist/kolibri/prop.validators-4cac744a.js +0 -4
- package/dist/kolibri/validation-1b0ac934.js +0 -4
- package/dist/kolibri/validation-b0cccd61.js +0 -4
|
@@ -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,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 { AlternativButtonLinkRole, AriaCurrent, LinkOnCallbacks, LinkStates, LinkTarget, LinkUseCase, OptionalLinkProps, OptionalLinkStates, RequiredLinkProps, RequiredLinkStates } from '../../types/button-link';
|
|
4
4
|
import { Alignment, KoliBriIconProp } from '../../types/icon';
|
|
5
5
|
import { TooltipAlignment } from '../tooltip/component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { Alignment, KoliBriIconProp } from '../../types/icon';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
import { AlternativButtonLinkRole, AriaCurrent, LinkOnCallbacks, LinkTarget, LinkUseCase, OptionalLinkProps, RequiredLinkProps } from '../../types/button-link';
|
|
5
5
|
import { TooltipAlignment } from '../tooltip/component';
|
|
6
6
|
import { Stringified } from '../../types/common';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX, State } from '../../stencil-public-runtime';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
import { AlternativButtonLinkRole, AriaCurrent, KoliBriButtonVariant, LinkButtonStates, LinkOnCallbacks, LinkTarget, OptionalLinkButtonProps, OptionalLinkButtonStates, RequiredLinkButtonProps, RequiredLinkButtonStates } from '../../types/button-link';
|
|
4
4
|
import { Stringified } from '../../types/common';
|
|
5
5
|
import { KoliBriIconProp } from '../../types/icon';
|
|
@@ -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 { Orientation } from '../../types/orientation';
|
|
4
4
|
import { HeadingLevel } from '../../types/heading-level';
|
|
5
5
|
import { NavLinkProps } from '../link/component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { Bundesamt, Bundesanstalt, Bundesministerium } from '../../enums/bund';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
type RequiredProps = {
|
|
5
5
|
org: Bundesministerium | Bundesamt | Bundesanstalt;
|
|
6
6
|
};
|
|
@@ -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 { KoliBriModalEventCallbacks } from '../../types/modal';
|
|
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
|
import { Orientation } from '../../types/orientation';
|
|
4
4
|
import { NavLinkProps } from '../link/component';
|
|
5
5
|
import { Stringified } from '../../types/common';
|
|
@@ -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 { NavLinkProps } from '../link/component';
|
|
4
4
|
export declare const watchNavLinks: (className: string, component: Generic.Element.Component & {
|
|
@@ -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 { KoliBriButtonVariant, KoliBriButtonVariantCustomClass } from '../../types/button-link';
|
|
4
4
|
import { TooltipAlignment } from '../tooltip/component';
|
|
5
5
|
import { KoliBriPaginationButtonCallbacks } from './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 { Option, SelectOption } 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, SelectOption } from '../../types/input/types';
|
|
4
4
|
import { InputRequiredProps, KoliBriInputIcon } from '../input-text/types';
|
|
@@ -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 { Stringified } from '../../types/common';
|
|
4
4
|
import { KoliBriDataType, KoliBriSortDirection, KoliBriTableHeaders, KoliBriTablePaginationProps, KoliBriTablePaginationStates } from '../../types/table';
|
|
5
5
|
type RequiredProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { Events } from '../../enums/events';
|
|
3
3
|
import { KoliBriIconProp } from '../../types/icon';
|
|
4
|
-
import { Generic } from '@
|
|
4
|
+
import { Generic } from '@a11y-ui/core';
|
|
5
5
|
import { EventCallback, EventValueCallback } from '../../types/callbacks';
|
|
6
6
|
import { Stringified } from '../../types/common';
|
|
7
7
|
import { Alignment } from '../../types/props/alignment';
|
|
@@ -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 { CSSResize, Props, Watches } from './types';
|
|
4
4
|
export declare class TextareaController extends InputController implements Watches {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { InputTypeOnDefault } from '../../types/input/types';
|
|
3
3
|
import { InputRequiredProps } from '../input-text/types';
|
|
4
4
|
export type CSSResize = 'both' | 'horizontal' | 'vertical' | 'none';
|
|
@@ -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 } from '../../types/alert';
|
|
4
4
|
import { HeadingLevel } from '../../types/heading-level';
|
|
5
5
|
import { KoliBriToastEventCallbacks } from '../../types/toast';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
|
+
import locale_de from './locales/de.json';
|
|
3
|
+
type ResourcePrefix = 'Kol';
|
|
4
|
+
type ComponentKeys = keyof typeof locale_de;
|
|
5
|
+
export declare const translations: Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, "Kol", "info" | "success" | "warning" | "error" | "close" | "of" | "characters" | "message" | "form-description" | "new" | "no-entries" | "change-order" | "action-running" | "action-done" | "page-first" | "page-back" | "page-next" | "page-last" | "entries-per-site" | "page-current" | "page-selected" | "page-per-site" | "nav-maximize" | "nav-minimize" | "logo-description" | "open-link-in-tab" | "kolibri-logo">>;
|
|
6
|
+
type Options = {
|
|
7
|
+
count?: number;
|
|
8
|
+
placeholders?: {
|
|
9
|
+
[K: string]: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const translate: (key: `${Lowercase<ResourcePrefix>}-${Lowercase<ComponentKeys>}`, options?: Options) => string;
|
|
13
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from"./components";export*from"./enums/bund";export*from"./kolibri";export{configKoliBri}from"./utils/dev.utils";export{Optgroup,Option,SelectOption}from"./types/input/types";export{KoliBriDevHelper}from"./utils/prop.validators";export{ToasterService}from"./components/toast/toaster";
|
|
1
|
+
export*from"./components";export*from"./enums/bund";export*from"./kolibri";export{configKoliBri}from"./utils/dev.utils";export{Optgroup,Option,SelectOption}from"./types/input/types";export{KoliBriDevHelper}from"./utils/prop.validators";export{ToasterService}from"./components/toast/toaster";export{translations}from"./i18n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TooltipAlignment } from '../components/tooltip/component';
|
|
2
2
|
import { Events } from '../enums/events';
|
|
3
|
-
import { Generic } from '@
|
|
3
|
+
import { Generic } from '@a11y-ui/core';
|
|
4
4
|
import { EventCallback, EventValueCallback } from './callbacks';
|
|
5
5
|
import { Alignment, KoliBriCustomIcon, KoliBriIconProp } from './icon';
|
|
6
6
|
import { Stringified } from './common';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RequiredProps as PaginationRequiredProps, OptionalProps as PaginationOptionalProps } from '../components/pagination/component';
|
|
2
|
-
import { Generic } from '@
|
|
2
|
+
import { Generic } from '@a11y-ui/core';
|
|
3
3
|
type KoliBriTableRender = <T>(domNode: HTMLElement, cell: KoliBriTableCell, tupel: T, data: T[]) => string | void;
|
|
4
4
|
type KoliBriTableSort = <T>(data: T[]) => T[];
|
|
5
5
|
type KoliBriTableCellTextAlign = 'center' | 'left' | 'right' | 'justify';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { Stringified } from '../types/common';
|
|
3
3
|
export declare const objectObjectHandler: (value: unknown, cb: () => void) => void;
|
|
4
4
|
export declare const emptyStringByArrayHandler: (value: unknown, cb: () => void) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
import { Alignment, KoliBriIconProp, KoliBriIconState } from '../../types/icon';
|
|
3
3
|
export declare const mapIconProp2State: (icon: KoliBriIconProp, iconAlign?: Alignment) => KoliBriIconState;
|
|
4
4
|
export declare const isIcon: (value?: unknown) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
export declare const validateAriaLabel: (component: Generic.Element.Component, value?: string) => void;
|
|
3
3
|
export declare const validateLabel: (component: Generic.Element.Component, value?: string) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Generic } from '@
|
|
1
|
+
import { Generic } from '@a11y-ui/core';
|
|
2
2
|
export declare const validateTabIndex: (component: Generic.Element.Component, value?: number) => void;
|
package/doc/form.md
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
# Form
|
|
2
2
|
|
|
3
|
+
Die **Form**-Komponente dient dazu alle Eingabefelder zu umschließen, den Hinweistext für Pflichtfelder korrekt zu positionieren und die Events `submit` und `reset` weiterzuleiten.
|
|
4
|
+
|
|
3
5
|
## Konstruktion
|
|
4
6
|
|
|
5
7
|
### Code
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Best practices
|
|
9
|
+
```html
|
|
10
|
+
<kol-form>
|
|
11
|
+
<kol-input-text _id="firstname">Vorname</kol-input-text>
|
|
12
|
+
<kol-input-text _id="lastname">Nachname</kol-input-text>
|
|
13
|
+
</kol-form>
|
|
14
|
+
```
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
### Beispiel
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
<kol-form>
|
|
19
|
+
<kol-input-text _id="firstname">Vorname</kol-input-text>
|
|
20
|
+
<kol-input-text _id="lastname">Nachname</kol-input-text>
|
|
21
|
+
</kol-form>
|
|
18
22
|
|
|
19
23
|
<!-- Auto Generated Below -->
|
|
20
24
|
|