@public-ui/sample-react 5.0.0-alpha.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +287 -0
- package/README.md +11 -5
- package/assets/img_avatar.jpg +0 -0
- package/assets/sample-image.png +0 -0
- package/package.json +37 -55
- package/src/@shared/demo-input-wc.ts +98 -0
- package/src/@shared/demo-table-wc.ts +142 -0
- package/src/App.tsx +139 -82
- package/src/components/FormWrap.tsx +3 -3
- package/src/components/InputEventValueDemo.tsx +46 -0
- package/src/components/Navigation.tsx +76 -18
- package/src/components/SampleBlock.tsx +81 -0
- package/src/components/SampleColumns.tsx +2 -3
- package/src/components/SampleDescription.tsx +3 -3
- package/src/components/SampleGroup.tsx +27 -0
- package/src/components/Sidebar.tsx +110 -13
- package/src/components/abbr/basic.tsx +7 -8
- package/src/components/abbr/routes.ts +1 -1
- package/src/components/accordion/basic.tsx +14 -7
- package/src/components/accordion/headlines.tsx +9 -8
- package/src/components/accordion/multiple.tsx +48 -0
- package/src/components/accordion/routes.ts +3 -1
- package/src/components/alert/basic.tsx +19 -16
- package/src/components/alert/card-msg.tsx +1 -1
- package/src/components/alert/routes.ts +1 -3
- package/src/components/avatar/basic.tsx +11 -6
- package/src/components/avatar/routes.ts +3 -1
- package/src/components/avatar/size.tsx +27 -0
- package/src/components/badge/basic.tsx +48 -7
- package/src/components/badge/routes.ts +1 -5
- package/src/components/breadcrumb/basic.tsx +6 -4
- package/src/components/breadcrumb/json-links.tsx +28 -0
- package/src/components/breadcrumb/routes.ts +3 -1
- package/src/components/button/access-key.tsx +35 -20
- package/src/components/button/aria-description.tsx +15 -7
- package/src/components/button/baselined.tsx +15 -11
- package/src/components/button/basic.tsx +95 -13
- package/src/components/button/buttons-in-fixed-grid.tsx +27 -0
- package/src/components/button/disabled.tsx +42 -0
- package/src/components/button/expert-slot.tsx +50 -11
- package/src/components/button/focus-options.tsx +182 -0
- package/src/components/button/hide-label.tsx +55 -0
- package/src/components/button/icons.tsx +102 -26
- package/src/components/button/pin-toggle.tsx +43 -0
- package/src/components/button/routes.ts +18 -4
- package/src/components/button/row-reverse-tooltip.tsx +10 -10
- package/src/components/button/short-key.tsx +75 -116
- package/src/components/button/spinner.tsx +117 -0
- package/src/components/button/tooltip-align.tsx +30 -0
- package/src/components/button/width.tsx +25 -21
- package/src/components/button-link/aria-description.tsx +4 -3
- package/src/components/button-link/basic.tsx +37 -32
- package/src/components/button-link/icons.tsx +22 -10
- package/src/components/button-link/routes.ts +2 -4
- package/src/components/card/basic.tsx +4 -3
- package/src/components/card/closer-callback.tsx +43 -0
- package/src/components/card/headlines.tsx +47 -0
- package/src/components/card/linked.tsx +27 -0
- package/src/components/card/routes.ts +7 -1
- package/src/components/combobox/basic.tsx +1 -1
- package/src/components/combobox/html.tsx +35 -0
- package/src/components/combobox/lazy-loaded.tsx +56 -0
- package/src/components/combobox/partials/cases.tsx +41 -15
- package/src/components/combobox/partials/variants.tsx +9 -10
- package/src/components/combobox/routes.ts +5 -1
- package/src/components/details/basic.tsx +18 -11
- package/src/components/details/routes.ts +1 -1
- package/src/components/dialog/basic.tsx +71 -0
- package/src/components/dialog/routes.ts +12 -0
- package/src/components/dialog/scroll-lock.tsx +46 -0
- package/src/components/dialog/with-alert.tsx +81 -0
- package/src/components/drawer/basic.tsx +7 -6
- package/src/components/drawer/big-content.tsx +82 -0
- package/src/components/drawer/controlled.tsx +3 -3
- package/src/components/drawer/routes.ts +3 -1
- package/src/components/drawer/scrolled.tsx +1 -1
- package/src/components/form/basic.tsx +25 -15
- package/src/components/form/error-list-scroll.tsx +87 -0
- package/src/components/form/error-list.tsx +56 -42
- package/src/components/form/routes.ts +3 -1
- package/src/components/handout/basic.tsx +100 -110
- package/src/components/handout/routes.ts +1 -1
- package/src/components/heading/badged.tsx +3 -2
- package/src/components/heading/basic.tsx +3 -2
- package/src/components/heading/paragraph.tsx +3 -2
- package/src/components/heading/routes.ts +1 -1
- package/src/components/heading/secondary.tsx +3 -2
- package/src/components/icon/all-kolicons.tsx +59 -0
- package/src/components/icon/basic.tsx +12 -4
- package/src/components/icon/font.tsx +76 -0
- package/src/components/icon/routes.ts +5 -1
- package/src/components/image/basic.tsx +9 -2
- package/src/components/image/events.tsx +51 -0
- package/src/components/image/routes.ts +3 -1
- package/src/components/input-checkbox/basic.tsx +1 -2
- package/src/components/input-checkbox/button.tsx +1 -1
- package/src/components/input-checkbox/focus-events.tsx +46 -0
- package/src/components/input-checkbox/get-value.tsx +17 -0
- package/src/components/input-checkbox/partials/cases.tsx +75 -17
- package/src/components/input-checkbox/partials/variants.tsx +13 -16
- package/src/components/input-checkbox/routes.ts +5 -1
- package/src/components/input-checkbox/switch.tsx +1 -1
- package/src/components/input-color/basic.tsx +1 -1
- package/src/components/input-color/get-value.tsx +17 -0
- package/src/components/input-color/partials/cases.tsx +64 -20
- package/src/components/input-color/partials/variants.tsx +7 -8
- package/src/components/input-color/routes.ts +3 -1
- package/src/components/input-date/basic.tsx +1 -1
- package/src/components/input-date/copy-paste.tsx +5 -3
- package/src/components/input-date/get-value.tsx +17 -0
- package/src/components/input-date/partials/cases.tsx +72 -27
- package/src/components/input-date/partials/minMax.tsx +40 -13
- package/src/components/input-date/partials/variants.tsx +11 -13
- package/src/components/input-date/reset.tsx +1 -1
- package/src/components/input-date/routes.ts +4 -2
- package/src/components/input-email/basic.tsx +1 -1
- package/src/components/input-email/counter.tsx +17 -0
- package/src/components/input-email/get-value.tsx +17 -0
- package/src/components/input-email/partials/cases.tsx +71 -31
- package/src/components/input-email/partials/variants.tsx +7 -8
- package/src/components/input-email/routes.ts +5 -1
- package/src/components/input-file/basic.tsx +1 -1
- package/src/components/input-file/get-value.tsx +17 -0
- package/src/components/input-file/partials/cases.tsx +68 -26
- package/src/components/input-file/partials/variants.tsx +8 -9
- package/src/components/input-file/routes.ts +3 -1
- package/src/components/input-number/basic.tsx +1 -0
- package/src/components/input-number/get-value.tsx +17 -0
- package/src/components/input-number/number-formatter.tsx +216 -0
- package/src/components/input-number/partials/cases.tsx +72 -29
- package/src/components/input-number/partials/variants.tsx +7 -8
- package/src/components/input-number/routes.ts +5 -1
- package/src/components/input-password/basic.tsx +1 -1
- package/src/components/input-password/counter.tsx +17 -0
- package/src/components/input-password/get-value.tsx +17 -0
- package/src/components/input-password/partials/cases.tsx +69 -31
- package/src/components/input-password/partials/variants.tsx +7 -8
- package/src/components/input-password/routes.ts +5 -1
- package/src/components/input-password/show-password.tsx +22 -19
- package/src/components/input-radio/basic.tsx +1 -1
- package/src/components/input-radio/get-value.tsx +29 -0
- package/src/components/input-radio/horizontal.tsx +3 -2
- package/src/components/input-radio/objectValue.tsx +5 -4
- package/src/components/input-radio/option-values.tsx +46 -0
- package/src/components/input-radio/partials/cases.tsx +86 -55
- package/src/components/input-radio/partials/variants.tsx +7 -9
- package/src/components/input-radio/routes.ts +5 -1
- package/src/components/input-range/basic.tsx +1 -1
- package/src/components/input-range/get-value.tsx +17 -0
- package/src/components/input-range/partials/cases.tsx +64 -25
- package/src/components/input-range/partials/variants.tsx +7 -8
- package/src/components/input-range/routes.ts +3 -1
- package/src/components/input-text/access-short-key.tsx +26 -0
- package/src/components/input-text/aria-details.tsx +160 -0
- package/src/components/input-text/background-test.tsx +22 -0
- package/src/components/input-text/basic.tsx +60 -7
- package/src/components/input-text/clear-button.tsx +29 -0
- package/src/components/input-text/counter.tsx +17 -0
- package/src/components/input-text/disabled.tsx +26 -0
- package/src/components/input-text/expert-slot.tsx +49 -7
- package/src/components/input-text/get-value.tsx +17 -0
- package/src/components/input-text/hide-label.tsx +49 -0
- package/src/components/input-text/hide-msg.tsx +6 -5
- package/src/components/input-text/message-types.tsx +29 -0
- package/src/components/input-text/msg-and-counter.tsx +30 -0
- package/src/components/input-text/pattern.tsx +33 -0
- package/src/components/input-text/placeholder.tsx +29 -0
- package/src/components/input-text/readonly.tsx +32 -0
- package/src/components/input-text/routes.ts +33 -3
- package/src/components/input-text/select-range.tsx +37 -0
- package/src/components/input-text/smart-button.tsx +14 -10
- package/src/components/input-text/text-formatter.tsx +247 -108
- package/src/components/input-text/variant.tsx +93 -0
- package/src/components/kolibri/basic.tsx +9 -6
- package/src/components/kolibri/routes.ts +1 -1
- package/src/components/link/access-key.tsx +1 -1
- package/src/components/link/aria-description.tsx +1 -1
- package/src/components/link/basic.tsx +14 -13
- package/src/components/link/icons.tsx +19 -18
- package/src/components/link/image.tsx +10 -4
- package/src/components/link/link-react-router.tsx +3 -3
- package/src/components/link/linked-headline.tsx +79 -0
- package/src/components/link/on-click.tsx +166 -0
- package/src/components/link/routes.ts +11 -5
- package/src/components/link/short-key.tsx +1 -1
- package/src/components/link/target.tsx +6 -5
- package/src/components/link/variant.tsx +35 -0
- package/src/components/link-button/aria-description.tsx +8 -2
- package/src/components/link-button/basic.tsx +57 -20
- package/src/components/link-button/routes.ts +4 -2
- package/src/components/link-button/target.tsx +19 -0
- package/src/components/meter/basic.tsx +23 -0
- package/src/components/meter/clamped.tsx +27 -0
- package/src/components/meter/dynamic.tsx +29 -0
- package/src/components/meter/optimum.tsx +42 -0
- package/src/components/meter/orientation.tsx +34 -0
- package/src/components/meter/routes.ts +16 -0
- package/src/components/modal/basic.tsx +15 -58
- package/src/components/modal/routes.ts +1 -1
- package/src/components/nav/aria-current.tsx +18 -15
- package/src/components/nav/basic.tsx +10 -12
- package/src/components/nav/links.ts +11 -11
- package/src/components/nav/routes.ts +1 -1
- package/src/components/pagination/basic.tsx +82 -9
- package/src/components/pagination/button-visibility.tsx +119 -0
- package/src/components/pagination/routes.ts +5 -1
- package/src/components/pagination/sibling-boundary.tsx +123 -0
- package/src/components/popover-button/align.tsx +31 -0
- package/src/components/popover-button/basic.tsx +28 -21
- package/src/components/popover-button/inline.tsx +35 -0
- package/src/components/popover-button/routes.ts +5 -1
- package/src/components/progress/basic.tsx +9 -4
- package/src/components/progress/changing.tsx +34 -0
- package/src/components/progress/routes.ts +3 -1
- package/src/components/quote/basic.tsx +4 -1
- package/src/components/quote/block.tsx +9 -6
- package/src/components/quote/routes.ts +1 -1
- package/src/components/select/basic.tsx +1 -1
- package/src/components/select/get-value.tsx +30 -0
- package/src/components/select/multiple-dropdown.tsx +36 -0
- package/src/components/select/partials/cases.tsx +77 -33
- package/src/components/select/partials/variants.tsx +7 -8
- package/src/components/select/routes.ts +5 -1
- package/src/components/single-select/basic.tsx +1 -1
- package/src/components/single-select/get-value.tsx +29 -0
- package/src/components/single-select/lazy-loaded.tsx +56 -0
- package/src/components/single-select/option-values.tsx +46 -0
- package/src/components/single-select/partials/cases.tsx +148 -32
- package/src/components/single-select/partials/variants.tsx +8 -9
- package/src/components/single-select/routes.ts +7 -1
- package/src/components/skip-nav/basic.tsx +35 -26
- package/src/components/skip-nav/routes.ts +1 -1
- package/src/components/spin/basic.tsx +34 -3
- package/src/components/spin/routes.ts +1 -7
- package/src/components/split-button/basic.tsx +14 -9
- package/src/components/split-button/routes.ts +1 -1
- package/src/components/split-button/with-context.tsx +0 -2
- package/src/components/table/action-columns-performance.tsx +192 -0
- package/src/components/table/action-columns.tsx +108 -0
- package/src/components/table/action-render.tsx +81 -0
- package/src/components/table/aria-labelledby.tsx +108 -0
- package/src/components/table/big-table.tsx +112 -0
- package/src/components/table/column-alignment.tsx +16 -19
- package/src/components/table/complex-headers.tsx +32 -4
- package/src/components/table/direction-aware-sort.tsx +66 -0
- package/src/components/table/empty.tsx +31 -0
- package/src/components/table/highlight-row.tsx +177 -0
- package/src/components/table/horizontal-scrollbar.tsx +55 -48
- package/src/components/table/interactive-child-elements.tsx +34 -21
- package/src/components/table/multi-sort.tsx +125 -88
- package/src/components/table/non-hidable-columns.tsx +18 -16
- package/src/components/table/pagination-position.tsx +40 -21
- package/src/components/table/predefined-settings.tsx +4 -14
- package/src/components/table/render-cell.tsx +49 -35
- package/src/components/table/routes.ts +38 -2
- package/src/components/table/settings-column-options.tsx +48 -0
- package/src/components/table/sort-data.tsx +25 -23
- package/src/components/table/state-columns.tsx +79 -0
- package/src/components/table/stateful-async.tsx +50 -0
- package/src/components/table/stateful-export.tsx +89 -0
- package/src/components/table/stateful-reset-sort.tsx +73 -0
- package/src/components/table/stateful-settings-persistence.tsx +76 -0
- package/src/components/table/stateful-with-selection.tsx +76 -79
- package/src/components/table/stateful-with-single-selection.tsx +76 -77
- package/src/components/table/stateless-async-paging.tsx +72 -0
- package/src/components/table/stateless-with-selection.tsx +29 -23
- package/src/components/table/stateless-with-settings-menu.tsx +70 -9
- package/src/components/table/stateless-with-single-selection.tsx +35 -29
- package/src/components/table/stateless.tsx +9 -9
- package/src/components/table/sticky-col.tsx +52 -0
- package/src/components/table/sticky-header.tsx +31 -15
- package/src/components/table/test-complex-data.ts +216 -2142
- package/src/components/table/variant.tsx +67 -0
- package/src/components/table/with-footer.tsx +74 -66
- package/src/components/table/with-pagination.tsx +7 -6
- package/src/components/table/with-toolbar.tsx +204 -0
- package/src/components/tabs/align.tsx +5 -5
- package/src/components/tabs/basic.tsx +21 -16
- package/src/components/tabs/behavior.tsx +4 -4
- package/src/components/tabs/create-button.tsx +13 -10
- package/src/components/tabs/icons-only.tsx +22 -14
- package/src/components/tabs/routes.ts +3 -3
- package/src/components/textarea/adjust-height.tsx +8 -4
- package/src/components/textarea/basic.tsx +1 -1
- package/src/components/textarea/get-value.tsx +17 -0
- package/src/components/textarea/partials/cases.tsx +65 -16
- package/src/components/textarea/partials/variants.tsx +7 -8
- package/src/components/textarea/resize.tsx +3 -2
- package/src/components/textarea/routes.ts +4 -2
- package/src/components/textarea/rows.tsx +6 -3
- package/src/components/textarea/with-counter.tsx +3 -2
- package/src/components/toast/basic.tsx +12 -3
- package/src/components/toast/configurator.tsx +9 -2
- package/src/components/toast/routes.ts +1 -1
- package/src/components/toolbar/basic.tsx +32 -8
- package/src/components/toolbar/disabled.tsx +42 -34
- package/src/components/toolbar/routes.ts +1 -1
- package/src/components/tree/basic.tsx +34 -31
- package/src/components/tree/routes.ts +1 -1
- package/src/components/version/basic.tsx +4 -1
- package/src/components/version/context.tsx +8 -5
- package/src/components/version/routes.ts +1 -1
- package/src/hooks/{useToasterService.ts → useAlert.ts} +2 -10
- package/src/hooks/useColorScheme.ts +56 -0
- package/src/hooks/useMobile.ts +3 -5
- package/src/hooks/useVisualBlockOutline.ts +38 -0
- package/src/index.ts +2 -0
- package/src/scenarios/accordionComponentContent.tsx +42 -0
- package/src/scenarios/appointment-form/AppointmentForm.tsx +115 -97
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +83 -75
- package/src/scenarios/appointment-form/DistrictForm.tsx +50 -50
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +111 -145
- package/src/scenarios/appointment-form/Summary.tsx +11 -10
- package/src/scenarios/appointment-form/appointmentService.ts +1 -1
- package/src/scenarios/appointment-form/formUtils.ts +26 -7
- package/src/scenarios/button-shortkey-table.tsx +130 -0
- package/src/scenarios/change-tabindex.tsx +6 -8
- package/src/scenarios/custom-tooltip-css-properties.tsx +36 -0
- package/src/scenarios/date-in-form.tsx +24 -0
- package/src/scenarios/disabled-interactive-elements.tsx +10 -10
- package/src/scenarios/focus-elements.tsx +97 -33
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +11 -22
- package/src/scenarios/input-group-with-error.tsx +3 -3
- package/src/scenarios/inputs-get-value.tsx +6 -6
- package/src/scenarios/label-lang.tsx +156 -0
- package/src/scenarios/performance-test.tsx +85 -13
- package/src/scenarios/react-hook-form/basic.tsx +78 -67
- package/src/scenarios/react-hook-form/disabled.tsx +52 -0
- package/src/scenarios/routes.ts +21 -7
- package/src/scenarios/same-height-of-all-form-elements-with-label.tsx +46 -0
- package/src/scenarios/same-height-of-all-interactive-elements.tsx +18 -18
- package/src/scenarios/skeleton.tsx +199 -0
- package/src/scenarios/static-form.tsx +2 -2
- package/src/scenarios/toolbar-item-order.tsx +18 -25
- package/src/scenarios/tooltip-positioning.tsx +2 -2
- package/src/scenarios/z-index.tsx +51 -0
- package/src/shares/colorScheme.ts +60 -0
- package/src/shares/country.ts +1 -1
- package/src/shares/fetchVariantData.ts +10 -0
- package/src/shares/react-roots.ts +2 -1
- package/src/shares/routes.ts +9 -6
- package/src/shares/sampleAppDataService.ts +58 -0
- package/src/shares/store.ts +39 -9
- package/src/shares/theme.ts +29 -24
- package/src/shares/utils.ts +7 -0
- package/src/shares/visualBlockOutline.ts +75 -0
- package/tsconfig.json +1 -1
- package/dist/.htaccess +0 -3
- package/dist/abgrenzung.jpg +0 -0
- package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js +0 -4
- package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js.map +0 -1
- package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js +0 -4
- package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js.map +0 -1
- package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js.map +0 -1
- package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js +0 -4
- package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js.map +0 -1
- package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js +0 -4
- package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js.map +0 -1
- package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js +0 -4
- package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js.map +0 -1
- package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js +0 -4
- package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js.map +0 -1
- package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js +0 -4
- package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js.map +0 -1
- package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js +0 -4
- package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js.map +0 -1
- package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js +0 -4
- package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js.map +0 -1
- package/dist/assets/README.md +0 -1
- package/dist/assets/Span-4JeabU4v-B4Ic693K.js +0 -4
- package/dist/assets/Span-4JeabU4v-B4Ic693K.js.map +0 -1
- package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js +0 -4
- package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js.map +0 -1
- package/dist/assets/align-CyK0wp7d-DAXTQf4t.js +0 -4
- package/dist/assets/align-CyK0wp7d-DAXTQf4t.js.map +0 -1
- package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js +0 -4
- package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js.map +0 -1
- package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js +0 -4
- package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js.map +0 -1
- package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js +0 -4
- package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js.map +0 -1
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +0 -4
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +0 -1
- package/dist/assets/codicons/LICENSE +0 -395
- package/dist/assets/codicons/LICENSE-CODE +0 -21
- package/dist/assets/codicons/codicon.css +0 -635
- package/dist/assets/codicons/codicon.csv +0 -467
- package/dist/assets/codicons/codicon.svg +0 -1
- package/dist/assets/codicons/codicon.ttf +0 -0
- package/dist/assets/color-C3pYZKV3-Boz82QD1.js +0 -4
- package/dist/assets/color-C3pYZKV3-Boz82QD1.js.map +0 -1
- package/dist/assets/controller-4o5NtKAV-D22HY-_r.js +0 -4
- package/dist/assets/controller-4o5NtKAV-D22HY-_r.js.map +0 -1
- package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js +0 -4
- package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js.map +0 -1
- package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js +0 -4
- package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js.map +0 -1
- package/dist/assets/controller-Dl3IUIE_-BJro71ic.js +0 -4
- package/dist/assets/controller-Dl3IUIE_-BJro71ic.js.map +0 -1
- package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js +0 -4
- package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js.map +0 -1
- package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js +0 -4
- package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js.map +0 -1
- package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js +0 -16
- package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js.map +0 -1
- package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js +0 -16
- package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js.map +0 -1
- package/dist/assets/disabled-BydergHu-DG5LdC-Q.js +0 -4
- package/dist/assets/disabled-BydergHu-DG5LdC-Q.js.map +0 -1
- package/dist/assets/fontawesome-free/LICENSE.txt +0 -165
- package/dist/assets/fontawesome-free/css/all.css +0 -7831
- package/dist/assets/fontawesome-free/css/all.min.css +0 -6
- package/dist/assets/fontawesome-free/css/brands.css +0 -1432
- package/dist/assets/fontawesome-free/css/brands.min.css +0 -6
- package/dist/assets/fontawesome-free/css/fontawesome.css +0 -6338
- package/dist/assets/fontawesome-free/css/fontawesome.min.css +0 -6
- package/dist/assets/fontawesome-free/css/regular.css +0 -19
- package/dist/assets/fontawesome-free/css/regular.min.css +0 -6
- package/dist/assets/fontawesome-free/css/solid.css +0 -19
- package/dist/assets/fontawesome-free/css/solid.min.css +0 -6
- package/dist/assets/fontawesome-free/css/svg-with-js.css +0 -634
- package/dist/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
- package/dist/assets/fontawesome-free/css/v4-font-face.css +0 -26
- package/dist/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
- package/dist/assets/fontawesome-free/css/v4-shims.css +0 -2146
- package/dist/assets/fontawesome-free/css/v4-shims.min.css +0 -6
- package/dist/assets/fontawesome-free/css/v5-font-face.css +0 -22
- package/dist/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
- package/dist/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js +0 -4
- package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js.map +0 -1
- package/dist/assets/hide-label-DRunOux4--dDsrCvo.js +0 -4
- package/dist/assets/hide-label-DRunOux4--dDsrCvo.js.map +0 -1
- package/dist/assets/href-zZq6HYWf-CJRn7KoA.js +0 -4
- package/dist/assets/href-zZq6HYWf-CJRn7KoA.js.map +0 -1
- package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js +0 -4
- package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js.map +0 -1
- package/dist/assets/icofont/demo.html +0 -18939
- package/dist/assets/icofont/fonts/icofont.eot +0 -0
- package/dist/assets/icofont/fonts/icofont.svg +0 -2105
- package/dist/assets/icofont/fonts/icofont.ttf +0 -0
- package/dist/assets/icofont/fonts/icofont.woff +0 -0
- package/dist/assets/icofont/fonts/icofont.woff2 +0 -0
- package/dist/assets/icofont/icofont.css +0 -10757
- package/dist/assets/icofont/icofont.min.css +0 -7
- package/dist/assets/icons-72ER78AW-DpSGILmm.js +0 -4
- package/dist/assets/icons-72ER78AW-DpSGILmm.js.map +0 -1
- package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js.map +0 -1
- package/dist/assets/index-BGOAkFhh.css +0 -1
- package/dist/assets/index-BcWoQyjV.js +0 -14095
- package/dist/assets/index-BcWoQyjV.js.map +0 -1
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js +0 -4
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +0 -1
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +0 -4
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js.map +0 -1
- package/dist/assets/kol-abbr.entry-D1-px79M.js +0 -237
- package/dist/assets/kol-abbr.entry-D1-px79M.js.map +0 -1
- package/dist/assets/kol-accordion.entry-D5TwzVdy.js +0 -249
- package/dist/assets/kol-accordion.entry-D5TwzVdy.js.map +0 -1
- package/dist/assets/kol-alert-wc.entry-BRcerKE9.js +0 -4
- package/dist/assets/kol-alert-wc.entry-BRcerKE9.js.map +0 -1
- package/dist/assets/kol-alert.entry-DjTpHMvm.js +0 -258
- package/dist/assets/kol-alert.entry-DjTpHMvm.js.map +0 -1
- package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js.map +0 -1
- package/dist/assets/kol-avatar.entry-D-Hk8QoG.js +0 -221
- package/dist/assets/kol-avatar.entry-D-Hk8QoG.js.map +0 -1
- package/dist/assets/kol-badge.entry-BmtWYybc.js +0 -248
- package/dist/assets/kol-badge.entry-BmtWYybc.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js +0 -281
- package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js.map +0 -1
- package/dist/assets/kol-button-link.entry-C4RHDvXg.js +0 -267
- package/dist/assets/kol-button-link.entry-C4RHDvXg.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-CO1HKaP-.js +0 -4
- package/dist/assets/kol-button-wc.entry-CO1HKaP-.js.map +0 -1
- package/dist/assets/kol-button.entry-7-wx39q5.js +0 -258
- package/dist/assets/kol-button.entry-7-wx39q5.js.map +0 -1
- package/dist/assets/kol-card-wc.entry-PlaKhF5y.js +0 -4
- package/dist/assets/kol-card-wc.entry-PlaKhF5y.js.map +0 -1
- package/dist/assets/kol-card.entry-CyHtLWIW.js +0 -250
- package/dist/assets/kol-card.entry-CyHtLWIW.js.map +0 -1
- package/dist/assets/kol-combobox.entry-CpmqxpBN.js +0 -343
- package/dist/assets/kol-combobox.entry-CpmqxpBN.js.map +0 -1
- package/dist/assets/kol-details.entry-kQzWhN5P.js +0 -260
- package/dist/assets/kol-details.entry-kQzWhN5P.js.map +0 -1
- package/dist/assets/kol-drawer.entry-DxS7MGCL.js +0 -289
- package/dist/assets/kol-drawer.entry-DxS7MGCL.js.map +0 -1
- package/dist/assets/kol-form.entry-DFy3LYKz.js +0 -283
- package/dist/assets/kol-form.entry-DFy3LYKz.js.map +0 -1
- package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js +0 -197
- package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js.map +0 -1
- package/dist/assets/kol-icon.entry-C4kKMLmM.js +0 -2376
- package/dist/assets/kol-icon.entry-C4kKMLmM.js.map +0 -1
- package/dist/assets/kol-image.entry-DN85gHIY.js +0 -199
- package/dist/assets/kol-image.entry-DN85gHIY.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js +0 -435
- package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js.map +0 -1
- package/dist/assets/kol-input-color.entry-CRrCLnIq.js +0 -331
- package/dist/assets/kol-input-color.entry-CRrCLnIq.js.map +0 -1
- package/dist/assets/kol-input-date.entry-GfOOymhn.js +0 -313
- package/dist/assets/kol-input-date.entry-GfOOymhn.js.map +0 -1
- package/dist/assets/kol-input-email.entry-PV2-V6ea.js +0 -313
- package/dist/assets/kol-input-email.entry-PV2-V6ea.js.map +0 -1
- package/dist/assets/kol-input-file.entry-BV9OeZr8.js +0 -345
- package/dist/assets/kol-input-file.entry-BV9OeZr8.js.map +0 -1
- package/dist/assets/kol-input-number.entry-RTzOX8E_.js +0 -313
- package/dist/assets/kol-input-number.entry-RTzOX8E_.js.map +0 -1
- package/dist/assets/kol-input-password.entry-P1D_zg4A.js +0 -316
- package/dist/assets/kol-input-password.entry-P1D_zg4A.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-dTd41HrI.js +0 -434
- package/dist/assets/kol-input-radio.entry-dTd41HrI.js.map +0 -1
- package/dist/assets/kol-input-range.entry-DcGp-uOd.js +0 -360
- package/dist/assets/kol-input-range.entry-DcGp-uOd.js.map +0 -1
- package/dist/assets/kol-input-text.entry-TOkH_vFE.js +0 -313
- package/dist/assets/kol-input-text.entry-TOkH_vFE.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-vnjBHTkR.js +0 -203
- package/dist/assets/kol-kolibri.entry-vnjBHTkR.js.map +0 -1
- package/dist/assets/kol-link-button.entry-CiZlKz0X.js +0 -258
- package/dist/assets/kol-link-button.entry-CiZlKz0X.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-gCO8GEIA.js +0 -4
- package/dist/assets/kol-link-wc.entry-gCO8GEIA.js.map +0 -1
- package/dist/assets/kol-link.entry-CEbyTLtL.js +0 -264
- package/dist/assets/kol-link.entry-CEbyTLtL.js.map +0 -1
- package/dist/assets/kol-modal.entry-DxkjKvjF.js +0 -265
- package/dist/assets/kol-modal.entry-DxkjKvjF.js.map +0 -1
- package/dist/assets/kol-nav.entry-ETXrkvXL.js +0 -280
- package/dist/assets/kol-nav.entry-ETXrkvXL.js.map +0 -1
- package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js +0 -4
- package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js.map +0 -1
- package/dist/assets/kol-pagination.entry-CFi2-gxM.js +0 -258
- package/dist/assets/kol-pagination.entry-CFi2-gxM.js.map +0 -1
- package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js +0 -4
- package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-DxNtCQp-.js +0 -266
- package/dist/assets/kol-popover-button.entry-DxNtCQp-.js.map +0 -1
- package/dist/assets/kol-popover-wc.entry-DifxtFqF.js +0 -4
- package/dist/assets/kol-popover-wc.entry-DifxtFqF.js.map +0 -1
- package/dist/assets/kol-progress.entry-nca34a3W.js +0 -275
- package/dist/assets/kol-progress.entry-nca34a3W.js.map +0 -1
- package/dist/assets/kol-quote.entry-YXiTZNnm.js +0 -220
- package/dist/assets/kol-quote.entry-YXiTZNnm.js.map +0 -1
- package/dist/assets/kol-select.entry-BH_s2GX5.js +0 -326
- package/dist/assets/kol-select.entry-BH_s2GX5.js.map +0 -1
- package/dist/assets/kol-single-select.entry-DVUfcX_x.js +0 -359
- package/dist/assets/kol-single-select.entry-DVUfcX_x.js.map +0 -1
- package/dist/assets/kol-skip-nav.entry-CMICgsBM.js +0 -213
- package/dist/assets/kol-skip-nav.entry-CMICgsBM.js.map +0 -1
- package/dist/assets/kol-spin.entry-BibNCOH_.js +0 -326
- package/dist/assets/kol-spin.entry-BibNCOH_.js.map +0 -1
- package/dist/assets/kol-split-button.entry-CN1J8gkv.js +0 -299
- package/dist/assets/kol-split-button.entry-CN1J8gkv.js.map +0 -1
- package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js +0 -4
- package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-DC6QZqed.js +0 -478
- package/dist/assets/kol-table-stateful.entry-DC6QZqed.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js.map +0 -1
- package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js +0 -437
- package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js.map +0 -1
- package/dist/assets/kol-tabs.entry-ugHVPvjR.js +0 -285
- package/dist/assets/kol-tabs.entry-ugHVPvjR.js.map +0 -1
- package/dist/assets/kol-textarea.entry-BvcXAwnb.js +0 -312
- package/dist/assets/kol-textarea.entry-BvcXAwnb.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-C3GIT1za.js +0 -267
- package/dist/assets/kol-toast-container.entry-C3GIT1za.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-2hd718Om.js +0 -271
- package/dist/assets/kol-toolbar.entry-2hd718Om.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js.map +0 -1
- package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js +0 -4
- package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js.map +0 -1
- package/dist/assets/kol-tree-item.entry-DmWUWFcB.js +0 -230
- package/dist/assets/kol-tree-item.entry-DmWUWFcB.js.map +0 -1
- package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js +0 -4
- package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js.map +0 -1
- package/dist/assets/kol-tree.entry-DtuEyjDz.js +0 -203
- package/dist/assets/kol-tree.entry-DtuEyjDz.js.map +0 -1
- package/dist/assets/kol-version.entry-BAe12zmq.js +0 -192
- package/dist/assets/kol-version.entry-BAe12zmq.js.map +0 -1
- package/dist/assets/kolibri.ico +0 -0
- package/dist/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
- package/dist/assets/kreon/OFL.txt +0 -93
- package/dist/assets/kreon/README.txt +0 -67
- package/dist/assets/kreon/static/Kreon-Bold.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Light.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Medium.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Regular.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
- package/dist/assets/kreon/style.css +0 -41
- package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js +0 -4
- package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js.map +0 -1
- package/dist/assets/link-variant-H9yefO89-BVbfesoN.js +0 -4
- package/dist/assets/link-variant-H9yefO89-BVbfesoN.js.map +0 -1
- package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js +0 -19
- package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js.map +0 -1
- package/dist/assets/material-icons/LICENSE +0 -202
- package/dist/assets/material-icons/README.md +0 -129
- package/dist/assets/material-icons/_data/versions.json +0 -2124
- package/dist/assets/material-icons/css/_codepoints.scss +0 -2279
- package/dist/assets/material-icons/css/_mixins.scss +0 -13
- package/dist/assets/material-icons/css/_variables.scss +0 -6
- package/dist/assets/material-icons/css/material-icons.css +0 -9208
- package/dist/assets/material-icons/css/material-icons.min.css +0 -1
- package/dist/assets/material-icons/css/material-icons.scss +0 -33
- package/dist/assets/material-icons/iconfont/_mixins.scss +0 -55
- package/dist/assets/material-icons/iconfont/_variables.scss +0 -3
- package/dist/assets/material-icons/iconfont/filled.css +0 -24
- package/dist/assets/material-icons/iconfont/filled.scss +0 -4
- package/dist/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-round.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons.css +0 -124
- package/dist/assets/material-icons/iconfont/material-icons.scss +0 -5
- package/dist/assets/material-icons/iconfont/material-icons.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/outlined.css +0 -24
- package/dist/assets/material-icons/iconfont/outlined.scss +0 -4
- package/dist/assets/material-icons/iconfont/round.css +0 -24
- package/dist/assets/material-icons/iconfont/round.scss +0 -4
- package/dist/assets/material-icons/iconfont/sharp.css +0 -24
- package/dist/assets/material-icons/iconfont/sharp.scss +0 -4
- package/dist/assets/material-icons/iconfont/two-tone.css +0 -24
- package/dist/assets/material-icons/iconfont/two-tone.scss +0 -4
- package/dist/assets/material-icons/index.d.ts +0 -2128
- package/dist/assets/material-icons/package.json +0 -52
- package/dist/assets/material-symbols/LICENSE +0 -202
- package/dist/assets/material-symbols/README.md +0 -114
- package/dist/assets/material-symbols/_core.scss +0 -46
- package/dist/assets/material-symbols/index.css +0 -74
- package/dist/assets/material-symbols/index.d.ts +0 -2809
- package/dist/assets/material-symbols/index.scss +0 -3
- package/dist/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
- package/dist/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
- package/dist/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
- package/dist/assets/material-symbols/outlined.css +0 -24
- package/dist/assets/material-symbols/outlined.scss +0 -3
- package/dist/assets/material-symbols/package.json +0 -41
- package/dist/assets/material-symbols/rounded.css +0 -24
- package/dist/assets/material-symbols/rounded.scss +0 -3
- package/dist/assets/material-symbols/sharp.css +0 -24
- package/dist/assets/material-symbols/sharp.scss +0 -3
- package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js +0 -4
- package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js.map +0 -1
- package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js +0 -4
- package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js.map +0 -1
- package/dist/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/OFL.txt +0 -93
- package/dist/assets/noto-sans/noto-sans.css +0 -11
- package/dist/assets/open-D9q98v46-Bj8Lg8iR.js +0 -4
- package/dist/assets/open-D9q98v46-Bj8Lg8iR.js.map +0 -1
- package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js +0 -4
- package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js.map +0 -1
- package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js +0 -4
- package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js +0 -4
- package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js.map +0 -1
- package/dist/assets/required-G86n77y0-D0bNZ_U9.js +0 -4
- package/dist/assets/required-G86n77y0-D0bNZ_U9.js.map +0 -1
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +0 -4
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js.map +0 -1
- package/dist/assets/roboto/LICENSE.txt +0 -202
- package/dist/assets/roboto/Roboto-Black.ttf +0 -0
- package/dist/assets/roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Bold.ttf +0 -0
- package/dist/assets/roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Italic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Light.ttf +0 -0
- package/dist/assets/roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Medium.ttf +0 -0
- package/dist/assets/roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Regular.ttf +0 -0
- package/dist/assets/roboto/Roboto-Thin.ttf +0 -0
- package/dist/assets/roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/assets/roboto/roboto.css +0 -27
- package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js +0 -4
- package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js.map +0 -1
- package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js +0 -4
- package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js.map +0 -1
- package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js +0 -4
- package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js.map +0 -1
- package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js +0 -4
- package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js.map +0 -1
- package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js +0 -4
- package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js.map +0 -1
- package/dist/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
- package/dist/assets/tabler-icons/tabler-icons.css +0 -16056
- package/dist/assets/tabler-icons/tabler-icons.html +0 -36226
- package/dist/assets/tabler-icons/tabler-icons.min.css +0 -4
- package/dist/assets/tabler-icons/tabler-icons.png +0 -0
- package/dist/assets/tabler-icons/tabler-icons.scss +0 -8058
- package/dist/assets/test-component.entry-XCdkvKax.js +0 -4
- package/dist/assets/test-component.entry-XCdkvKax.js.map +0 -1
- package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js +0 -4
- package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js.map +0 -1
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +0 -4
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +0 -1
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +0 -4
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js.map +0 -1
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js +0 -4
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js.map +0 -1
- package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js +0 -4
- package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js.map +0 -1
- package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js +0 -4
- package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js.map +0 -1
- package/dist/index.html +0 -30
- package/dist/robots.txt +0 -2
- package/index.html +0 -29
- package/public/.htaccess +0 -3
- package/public/abgrenzung.jpg +0 -0
- package/public/assets/README.md +0 -1
- package/public/assets/codicons/LICENSE +0 -395
- package/public/assets/codicons/LICENSE-CODE +0 -21
- package/public/assets/codicons/codicon.css +0 -635
- package/public/assets/codicons/codicon.csv +0 -467
- package/public/assets/codicons/codicon.svg +0 -1
- package/public/assets/codicons/codicon.ttf +0 -0
- package/public/assets/fontawesome-free/LICENSE.txt +0 -165
- package/public/assets/fontawesome-free/css/all.css +0 -7831
- package/public/assets/fontawesome-free/css/all.min.css +0 -6
- package/public/assets/fontawesome-free/css/brands.css +0 -1432
- package/public/assets/fontawesome-free/css/brands.min.css +0 -6
- package/public/assets/fontawesome-free/css/fontawesome.css +0 -6338
- package/public/assets/fontawesome-free/css/fontawesome.min.css +0 -6
- package/public/assets/fontawesome-free/css/regular.css +0 -19
- package/public/assets/fontawesome-free/css/regular.min.css +0 -6
- package/public/assets/fontawesome-free/css/solid.css +0 -19
- package/public/assets/fontawesome-free/css/solid.min.css +0 -6
- package/public/assets/fontawesome-free/css/svg-with-js.css +0 -634
- package/public/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
- package/public/assets/fontawesome-free/css/v4-font-face.css +0 -26
- package/public/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
- package/public/assets/fontawesome-free/css/v4-shims.css +0 -2146
- package/public/assets/fontawesome-free/css/v4-shims.min.css +0 -6
- package/public/assets/fontawesome-free/css/v5-font-face.css +0 -22
- package/public/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
- package/public/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/public/assets/icofont/demo.html +0 -18939
- package/public/assets/icofont/fonts/icofont.eot +0 -0
- package/public/assets/icofont/fonts/icofont.svg +0 -2105
- package/public/assets/icofont/fonts/icofont.ttf +0 -0
- package/public/assets/icofont/fonts/icofont.woff +0 -0
- package/public/assets/icofont/fonts/icofont.woff2 +0 -0
- package/public/assets/icofont/icofont.css +0 -10757
- package/public/assets/icofont/icofont.min.css +0 -7
- package/public/assets/kolibri.ico +0 -0
- package/public/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
- package/public/assets/kreon/OFL.txt +0 -93
- package/public/assets/kreon/README.txt +0 -67
- package/public/assets/kreon/static/Kreon-Bold.ttf +0 -0
- package/public/assets/kreon/static/Kreon-Light.ttf +0 -0
- package/public/assets/kreon/static/Kreon-Medium.ttf +0 -0
- package/public/assets/kreon/static/Kreon-Regular.ttf +0 -0
- package/public/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
- package/public/assets/kreon/style.css +0 -41
- package/public/assets/material-icons/LICENSE +0 -202
- package/public/assets/material-icons/README.md +0 -129
- package/public/assets/material-icons/_data/versions.json +0 -2124
- package/public/assets/material-icons/css/_codepoints.scss +0 -2279
- package/public/assets/material-icons/css/_mixins.scss +0 -13
- package/public/assets/material-icons/css/_variables.scss +0 -6
- package/public/assets/material-icons/css/material-icons.css +0 -9208
- package/public/assets/material-icons/css/material-icons.min.css +0 -1
- package/public/assets/material-icons/css/material-icons.scss +0 -33
- package/public/assets/material-icons/iconfont/_mixins.scss +0 -55
- package/public/assets/material-icons/iconfont/_variables.scss +0 -3
- package/public/assets/material-icons/iconfont/filled.css +0 -24
- package/public/assets/material-icons/iconfont/filled.scss +0 -4
- package/public/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
- package/public/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
- package/public/assets/material-icons/iconfont/material-icons-round.woff +0 -0
- package/public/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
- package/public/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
- package/public/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
- package/public/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
- package/public/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
- package/public/assets/material-icons/iconfont/material-icons.css +0 -124
- package/public/assets/material-icons/iconfont/material-icons.scss +0 -5
- package/public/assets/material-icons/iconfont/material-icons.woff +0 -0
- package/public/assets/material-icons/iconfont/material-icons.woff2 +0 -0
- package/public/assets/material-icons/iconfont/outlined.css +0 -24
- package/public/assets/material-icons/iconfont/outlined.scss +0 -4
- package/public/assets/material-icons/iconfont/round.css +0 -24
- package/public/assets/material-icons/iconfont/round.scss +0 -4
- package/public/assets/material-icons/iconfont/sharp.css +0 -24
- package/public/assets/material-icons/iconfont/sharp.scss +0 -4
- package/public/assets/material-icons/iconfont/two-tone.css +0 -24
- package/public/assets/material-icons/iconfont/two-tone.scss +0 -4
- package/public/assets/material-icons/index.d.ts +0 -2128
- package/public/assets/material-icons/package.json +0 -52
- package/public/assets/material-symbols/LICENSE +0 -202
- package/public/assets/material-symbols/README.md +0 -114
- package/public/assets/material-symbols/_core.scss +0 -46
- package/public/assets/material-symbols/index.css +0 -74
- package/public/assets/material-symbols/index.d.ts +0 -2809
- package/public/assets/material-symbols/index.scss +0 -3
- package/public/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
- package/public/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
- package/public/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
- package/public/assets/material-symbols/outlined.css +0 -24
- package/public/assets/material-symbols/outlined.scss +0 -3
- package/public/assets/material-symbols/package.json +0 -41
- package/public/assets/material-symbols/rounded.css +0 -24
- package/public/assets/material-symbols/rounded.scss +0 -3
- package/public/assets/material-symbols/sharp.css +0 -24
- package/public/assets/material-symbols/sharp.scss +0 -3
- package/public/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
- package/public/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
- package/public/assets/noto-sans/fonts/OFL.txt +0 -93
- package/public/assets/noto-sans/noto-sans.css +0 -11
- package/public/assets/roboto/LICENSE.txt +0 -202
- package/public/assets/roboto/Roboto-Black.ttf +0 -0
- package/public/assets/roboto/Roboto-BlackItalic.ttf +0 -0
- package/public/assets/roboto/Roboto-Bold.ttf +0 -0
- package/public/assets/roboto/Roboto-BoldItalic.ttf +0 -0
- package/public/assets/roboto/Roboto-Italic.ttf +0 -0
- package/public/assets/roboto/Roboto-Light.ttf +0 -0
- package/public/assets/roboto/Roboto-LightItalic.ttf +0 -0
- package/public/assets/roboto/Roboto-Medium.ttf +0 -0
- package/public/assets/roboto/Roboto-MediumItalic.ttf +0 -0
- package/public/assets/roboto/Roboto-Regular.ttf +0 -0
- package/public/assets/roboto/Roboto-Thin.ttf +0 -0
- package/public/assets/roboto/Roboto-ThinItalic.ttf +0 -0
- package/public/assets/roboto/roboto.css +0 -27
- package/public/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
- package/public/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
- package/public/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
- package/public/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
- package/public/assets/tabler-icons/tabler-icons.css +0 -16056
- package/public/assets/tabler-icons/tabler-icons.html +0 -36226
- package/public/assets/tabler-icons/tabler-icons.min.css +0 -4
- package/public/assets/tabler-icons/tabler-icons.png +0 -0
- package/public/assets/tabler-icons/tabler-icons.scss +0 -8058
- package/public/robots.txt +0 -2
- package/src/components/alert/html.tsx +0 -37
- package/src/components/badge/button.tsx +0 -34
- package/src/components/badge/formatted-label.tsx +0 -19
- package/src/components/button/partials/cases.tsx +0 -37
- package/src/components/button/partials/type.ts +0 -4
- package/src/components/button/partials/variants.tsx +0 -25
- package/src/components/button-link/image.tsx +0 -21
- package/src/components/input-text/partials/cases.tsx +0 -54
- package/src/components/input-text/partials/variants.tsx +0 -20
- package/src/components/spin/custom.tsx +0 -23
- package/src/components/spin/cycle.tsx +0 -16
- package/src/components/spin/label.tsx +0 -23
- package/src/main.ts +0 -16
- package/src/react.main.tsx +0 -143
- package/src/scenarios/custom-tooltip-width.tsx +0 -33
- package/src/scenarios/sample-form-with-validation.tsx +0 -192
- package/src/style.scss +0 -99
- package/unocss.config.ts +0 -318
- package/vite.config.ts +0 -42
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { KolCombobox, KolInputText, KolSelect, KolTextarea } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import '../../@shared/demo-input-wc';
|
|
5
|
+
import { SampleBlock } from '../SampleBlock';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
|
|
8
|
+
export const InputTextAriaDetails: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Demonstrates how to use <code>_ariaDetails</code> to reference an external element that provides detailed information about form inputs. All inputs
|
|
13
|
+
below reference the same details box via their <code>_ariaDetails</code> prop.
|
|
14
|
+
</p>
|
|
15
|
+
<p>
|
|
16
|
+
The native inputs above are the control group: the first one declares a plain <code>aria-details</code> IDREF in the same tree, the second one is
|
|
17
|
+
wrapped in a native web component whose shadow input bridges the reference via <code>ariaDetailsElements</code> — the same mechanism KoliBri uses. If a
|
|
18
|
+
native case announces the details in a screen reader while the KoliBri fields do not, the gap is in KoliBri; if the native shadow case is silent too,
|
|
19
|
+
the platform does not support the relation across the boundary yet (Safari/VoiceOver lacks element reflection — verify with NVDA or JAWS on Chromium
|
|
20
|
+
instead).
|
|
21
|
+
</p>
|
|
22
|
+
<p>
|
|
23
|
+
The last example below replicates the{' '}
|
|
24
|
+
<a href="https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-details">
|
|
25
|
+
MDN example for <code>aria-details</code>
|
|
26
|
+
</a>
|
|
27
|
+
: a term references its definition and an explanatory link — the canonical use outside of forms the attribute was designed for.
|
|
28
|
+
</p>
|
|
29
|
+
</SampleDescription>
|
|
30
|
+
|
|
31
|
+
<SampleBlock id="aria-details" className="grid gap-8">
|
|
32
|
+
{/* Native reference implementations — the control group */}
|
|
33
|
+
<div className="grid gap-4 p-4 border border-gray-300 rounded">
|
|
34
|
+
<h2 className="text-lg font-semibold">Native reference implementations</h2>
|
|
35
|
+
|
|
36
|
+
<div>
|
|
37
|
+
<label className="block">
|
|
38
|
+
<span className="block mb-2">Native HTML input (no web component)</span>
|
|
39
|
+
<input aria-details="details-box-native-light" aria-label="Native light input" className="border border-gray-500 p-2" />
|
|
40
|
+
</label>
|
|
41
|
+
<div id="details-box-native-light" className="mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800">
|
|
42
|
+
Details for the plain native input: the IDREF resolves in the same tree — no boundary to cross.
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div>{React.createElement('demo-input-light', { 'aria-details': 'details-box-native-light' })}</div>
|
|
47
|
+
|
|
48
|
+
<div>
|
|
49
|
+
{React.createElement('demo-input-shadow', { 'aria-details': 'details-box-native-shadow' })}
|
|
50
|
+
<div id="details-box-native-shadow" className="mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800">
|
|
51
|
+
Details for the native shadow input: the reference crosses the boundary via <code>ariaDetailsElements</code> on the input.
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
{/* KoliBri form fields */}
|
|
57
|
+
<div className="grid gap-4 p-4 border border-gray-300 rounded">
|
|
58
|
+
<h2 className="text-lg font-semibold">Form Inputs with Shared Details</h2>
|
|
59
|
+
|
|
60
|
+
<KolInputText _label="Email Address" _ariaDetails="details-box" _placeholder="user@example.com" _hint="We'll never share your email" />
|
|
61
|
+
|
|
62
|
+
<KolSelect
|
|
63
|
+
_label="Country"
|
|
64
|
+
_ariaDetails="details-box"
|
|
65
|
+
_options={[
|
|
66
|
+
{ label: 'Germany', value: 'de' },
|
|
67
|
+
{ label: 'Austria', value: 'at' },
|
|
68
|
+
{ label: 'Switzerland', value: 'ch' },
|
|
69
|
+
]}
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
<KolTextarea _label="Message" _ariaDetails="details-box" _placeholder="Enter your message here..." _rows={4} />
|
|
73
|
+
|
|
74
|
+
<KolCombobox _label="Favorite Language" _ariaDetails="details-box" _suggestions={['TypeScript', 'JavaScript', 'Python', 'Go', 'Rust', 'Java']} />
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
{/* Shared details box */}
|
|
78
|
+
<div id="details-box" className="p-4 bg-blue-50 border-l-4 border-blue-400 rounded" role="complementary">
|
|
79
|
+
<h3 className="font-semibold text-blue-900 mb-2">💡 Form Details</h3>
|
|
80
|
+
<ul className="text-sm text-blue-800 space-y-2">
|
|
81
|
+
<li>
|
|
82
|
+
<strong>Email:</strong> Please enter a valid email address. We use this to contact you about your submission.
|
|
83
|
+
</li>
|
|
84
|
+
<li>
|
|
85
|
+
<strong>Country:</strong> Select your country of residence. This helps us provide localized support.
|
|
86
|
+
</li>
|
|
87
|
+
<li>
|
|
88
|
+
<strong>Message:</strong> Provide as much detail as possible. The more information you give, the better we can assist you.
|
|
89
|
+
</li>
|
|
90
|
+
<li>
|
|
91
|
+
<strong>Language:</strong> Choose your preferred programming language. This helps us recommend relevant resources.
|
|
92
|
+
</li>
|
|
93
|
+
</ul>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
{/* MDN example — term & definition (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-details) */}
|
|
97
|
+
<div className="grid gap-4 p-4 border border-gray-300 rounded">
|
|
98
|
+
<h2 className="text-lg font-semibold">MDN example: term & definition</h2>
|
|
99
|
+
|
|
100
|
+
<p>
|
|
101
|
+
The term below references two targets: the definition paragraph and the explanatory image link. Screen reader support for <code>aria-details</code> is
|
|
102
|
+
heavily fragmented — check <a href="https://a11ysupport.io/tech/aria/aria-details_attribute">a11ysupport.io</a> before relying on it.
|
|
103
|
+
</p>
|
|
104
|
+
|
|
105
|
+
<p>
|
|
106
|
+
The <strong>cubic-bezier()</strong> functional notation defines a cubic{' '}
|
|
107
|
+
<span role="term" aria-details="bezier bezImg" className="underline decoration-dotted underline-offset-4">
|
|
108
|
+
Bézier curve
|
|
109
|
+
</span>
|
|
110
|
+
. As these curves are continuous, they are often used to smooth down the start and end of the curve and are therefore sometimes called easing
|
|
111
|
+
functions.
|
|
112
|
+
</p>
|
|
113
|
+
|
|
114
|
+
<p role="definition" id="bezier" className="p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800">
|
|
115
|
+
A <strong>Bézier curve</strong>, (Pronounced \ ˈbe-zē-ˌā \ <i aria-description="English pronunciation">BEH-zee-ay</i>) is a mathematically described
|
|
116
|
+
curve used in computer graphics and animation. The curve is defined by a set of control points with a minimum of two. Web related graphics and
|
|
117
|
+
animations use Cubic Béziers, which are curves with four control points P<sub>0</sub>, P<sub>1</sub>, P<sub>2</sub>, and P<sub>3</sub>.
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
<a
|
|
121
|
+
href="https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function"
|
|
122
|
+
id="bezImg"
|
|
123
|
+
aria-label="Explanation of Bézier curve in CSS easing functions"
|
|
124
|
+
target="_blank"
|
|
125
|
+
rel="noreferrer"
|
|
126
|
+
className="block w-fit"
|
|
127
|
+
>
|
|
128
|
+
<svg
|
|
129
|
+
width="200"
|
|
130
|
+
height="160"
|
|
131
|
+
viewBox="0 0 200 160"
|
|
132
|
+
role="img"
|
|
133
|
+
aria-label="Cubic Bézier curve showing 4 control points."
|
|
134
|
+
className="border border-gray-400 rounded bg-white"
|
|
135
|
+
>
|
|
136
|
+
<path d="M 20 130 C 60 10, 140 150, 180 30" fill="none" stroke="#0075ff" strokeWidth="2" />
|
|
137
|
+
<line x1="20" y1="130" x2="60" y2="10" stroke="#888" strokeDasharray="4 3" />
|
|
138
|
+
<line x1="140" y1="150" x2="180" y2="30" stroke="#888" strokeDasharray="4 3" />
|
|
139
|
+
<circle cx="20" cy="130" r="4" fill="#0075ff" />
|
|
140
|
+
<circle cx="60" cy="10" r="4" fill="#888" />
|
|
141
|
+
<circle cx="140" cy="150" r="4" fill="#888" />
|
|
142
|
+
<circle cx="180" cy="30" r="4" fill="#0075ff" />
|
|
143
|
+
<text x="12" y="148" fontSize="12" fill="#202020">
|
|
144
|
+
P0
|
|
145
|
+
</text>
|
|
146
|
+
<text x="60" y="24" fontSize="12" fill="#202020" textAnchor="middle">
|
|
147
|
+
P1
|
|
148
|
+
</text>
|
|
149
|
+
<text x="140" y="144" fontSize="12" fill="#202020" textAnchor="middle">
|
|
150
|
+
P2
|
|
151
|
+
</text>
|
|
152
|
+
<text x="184" y="20" fontSize="12" fill="#202020" textAnchor="end">
|
|
153
|
+
P3
|
|
154
|
+
</text>
|
|
155
|
+
</svg>
|
|
156
|
+
</a>
|
|
157
|
+
</div>
|
|
158
|
+
</SampleBlock>
|
|
159
|
+
</>
|
|
160
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextBackground: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This story showcases the component placed on a colored background.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="background-default" className="grid gap-4 bg-blue-400 p-4 rounded">
|
|
14
|
+
<strong>Default background:</strong>
|
|
15
|
+
<KolInputText _label="First name" _value="John Doe" />
|
|
16
|
+
</SampleBlock>
|
|
17
|
+
<SampleBlock id="background-unset" className="grid gap-4 bg-blue-400 p-4 rounded">
|
|
18
|
+
<strong>Unset background:</strong>
|
|
19
|
+
<KolInputText style={{ backgroundColor: 'unset' }} _label="First name" _value="John Doe" />
|
|
20
|
+
</SampleBlock>
|
|
21
|
+
</div>
|
|
22
|
+
);
|
|
@@ -1,16 +1,69 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import { InputTextVariants } from './partials/variants';
|
|
4
|
+
import { logKoliBriCallbackEvent, logKoliBriNativeEvent } from '../../shares/utils';
|
|
5
|
+
import { SampleBlock } from '../SampleBlock';
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
|
|
8
8
|
export const InputTextBasic: FC = () => (
|
|
9
|
-
|
|
9
|
+
<div className="grid gap-4">
|
|
10
10
|
<SampleDescription>
|
|
11
|
-
<p>
|
|
11
|
+
<p>
|
|
12
|
+
This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, search with clear button, and with
|
|
13
|
+
icons.
|
|
14
|
+
</p>
|
|
12
15
|
</SampleDescription>
|
|
13
16
|
|
|
14
|
-
<
|
|
15
|
-
|
|
17
|
+
<SampleBlock id="events">
|
|
18
|
+
<KolInputText
|
|
19
|
+
_label="Name"
|
|
20
|
+
_value="Anderson-Clark"
|
|
21
|
+
_on={{
|
|
22
|
+
onBlur: logKoliBriCallbackEvent,
|
|
23
|
+
onChange: logKoliBriCallbackEvent,
|
|
24
|
+
onClick: logKoliBriCallbackEvent,
|
|
25
|
+
onFocus: logKoliBriCallbackEvent,
|
|
26
|
+
onInput: logKoliBriCallbackEvent,
|
|
27
|
+
onKeyDown: logKoliBriCallbackEvent,
|
|
28
|
+
}}
|
|
29
|
+
onBlur={logKoliBriNativeEvent}
|
|
30
|
+
onChange={logKoliBriNativeEvent}
|
|
31
|
+
onClick={logKoliBriNativeEvent}
|
|
32
|
+
onFocus={logKoliBriNativeEvent}
|
|
33
|
+
onInput={logKoliBriNativeEvent}
|
|
34
|
+
onKeyDown={logKoliBriNativeEvent}
|
|
35
|
+
/>
|
|
36
|
+
</SampleBlock>
|
|
37
|
+
<SampleBlock id="error">
|
|
38
|
+
<KolInputText _label="Name" _required _msg={{ _type: 'error', _description: 'Please enter your name' }} _touched />
|
|
39
|
+
</SampleBlock>
|
|
40
|
+
<SampleBlock id="hint">
|
|
41
|
+
<KolInputText _label="Name" _required _hint="Enter your surname" />
|
|
42
|
+
</SampleBlock>
|
|
43
|
+
<SampleBlock id="disabled">
|
|
44
|
+
<KolInputText _label="Name" _value="Anderson-Clark" _disabled />
|
|
45
|
+
</SampleBlock>
|
|
46
|
+
<SampleBlock id="info-popover">
|
|
47
|
+
<KolInputText
|
|
48
|
+
_label="Name"
|
|
49
|
+
_required
|
|
50
|
+
_value="Anderson-Clark"
|
|
51
|
+
_infoPopover={{ _label: 'hint', _content: 'Ich bin ein Hinweis.', _icons: 'kolicon-alert-info' }}
|
|
52
|
+
/>
|
|
53
|
+
</SampleBlock>
|
|
54
|
+
<SampleBlock id="readonly-popover">
|
|
55
|
+
<KolInputText
|
|
56
|
+
_label="Name"
|
|
57
|
+
_readOnly
|
|
58
|
+
_value="Anderson-Clark"
|
|
59
|
+
_infoPopover={{ _label: 'hint', _content: 'Ich bin ein Hinweis.', _icons: 'kolicon-alert-info' }}
|
|
60
|
+
/>
|
|
61
|
+
</SampleBlock>
|
|
62
|
+
<SampleBlock id="icon">
|
|
63
|
+
<KolInputText _label="Name" _icons="kolicon-house" _value="Anderson-Clark" />
|
|
64
|
+
</SampleBlock>
|
|
65
|
+
<SampleBlock id="search">
|
|
66
|
+
<KolInputText _label="Search" _type="search" _value="test" _placeholder="Search with clear button" />
|
|
67
|
+
</SampleBlock>
|
|
68
|
+
</div>
|
|
16
69
|
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextClearButton: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This sample demonstrates the clear button for search type input fields.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="search-empty">
|
|
14
|
+
<KolInputText _label="Search" _type="search" _placeholder="Enter search term" />
|
|
15
|
+
</SampleBlock>
|
|
16
|
+
<SampleBlock id="search-value">
|
|
17
|
+
<KolInputText _label="Search (with value)" _type="search" _value="test" _placeholder="Enter search term" />
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
<SampleBlock id="search-disabled">
|
|
20
|
+
<KolInputText _label="Search (disabled)" _type="search" _disabled _value="test" _placeholder="Disabled search" />
|
|
21
|
+
</SampleBlock>
|
|
22
|
+
<SampleBlock id="search-read-only">
|
|
23
|
+
<KolInputText _label="Search (read only)" _type="search" _readOnly _value="test" />
|
|
24
|
+
</SampleBlock>
|
|
25
|
+
<SampleBlock id="text-no-clear-button">
|
|
26
|
+
<KolInputText _label="Text (no clear button)" _type="text" _value="test" _placeholder="Regular text input" />
|
|
27
|
+
</SampleBlock>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextCounter: FC = () => (
|
|
8
|
+
<>
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This story showcases an input with a counter for the chars in the field. Maximal length is 30.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="counter">
|
|
14
|
+
<KolInputText _label="Name" _icons="kolicon-house" _value="Anderson-Clark" _hasCounter _maxLength={30} />
|
|
15
|
+
</SampleBlock>
|
|
16
|
+
</>
|
|
17
|
+
);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextDisabled: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="placeholder">
|
|
14
|
+
<KolInputText _label="Disabled with placeholder" _placeholder="Placeholder text" _disabled />
|
|
15
|
+
</SampleBlock>
|
|
16
|
+
<SampleBlock id="value">
|
|
17
|
+
<KolInputText _label="Disabled with value" _value="This field is disabled" _disabled />
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
<SampleBlock id="error">
|
|
20
|
+
<KolInputText _label="Disabled with error message" _value="Invalid value" _msg={{ _type: 'error', _description: 'Error message' }} _disabled _touched />
|
|
21
|
+
</SampleBlock>
|
|
22
|
+
<SampleBlock id="enabled">
|
|
23
|
+
<KolInputText _label="Comparison: Enabled" _value="This field is enabled" />
|
|
24
|
+
</SampleBlock>
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
@@ -1,17 +1,59 @@
|
|
|
1
|
+
import { KolBadge, KolIcon, KolInputText, KolPopoverButton } from '@public-ui/react-v19';
|
|
1
2
|
import * as React from 'react';
|
|
3
|
+
import { SampleBlock } from '../SampleBlock';
|
|
2
4
|
import { SampleDescription } from '../SampleDescription';
|
|
3
|
-
import { KolInputText } from '@public-ui/react-v19';
|
|
4
5
|
|
|
5
6
|
export const InputTextExpertSlot = () => {
|
|
6
7
|
return (
|
|
7
|
-
|
|
8
|
+
<div className="grid gap-4">
|
|
8
9
|
<SampleDescription>
|
|
9
|
-
<p>This sample
|
|
10
|
+
<p>This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.</p>
|
|
11
|
+
<p>
|
|
12
|
+
For further information on the expert slot see its <a href="https://public-ui.github.io/docs/concepts/expert-slot">documentation</a>
|
|
13
|
+
</p>
|
|
10
14
|
</SampleDescription>
|
|
11
15
|
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
<SampleBlock id="text">
|
|
17
|
+
<KolInputText _label="" _type="text">
|
|
18
|
+
<span slot="expert">I am more than just a input field</span>
|
|
19
|
+
</KolInputText>
|
|
20
|
+
</SampleBlock>
|
|
21
|
+
<SampleBlock id="badge">
|
|
22
|
+
<KolInputText _label="" _type="text" _value="Complex example">
|
|
23
|
+
<div slot="expert" className="flex items-center gap-2">
|
|
24
|
+
<KolBadge _label="Premium" _color="#1a73e8" />
|
|
25
|
+
<KolIcon _icons="kolicon-check" _label="" />
|
|
26
|
+
<span>Verified account with premium features</span>
|
|
27
|
+
</div>
|
|
28
|
+
</KolInputText>
|
|
29
|
+
</SampleBlock>
|
|
30
|
+
<SampleBlock id="note">
|
|
31
|
+
<KolInputText _label="" _type="text" _placeholder="Enter your email">
|
|
32
|
+
<div slot="expert" style={{ padding: '0.5rem', backgroundColor: '#f0f0f0', borderRadius: '4px' }}>
|
|
33
|
+
<strong>Note:</strong> This email will be used for account recovery and notifications.
|
|
34
|
+
</div>
|
|
35
|
+
</KolInputText>
|
|
36
|
+
</SampleBlock>
|
|
37
|
+
<SampleBlock id="required">
|
|
38
|
+
<KolInputText _label="" _type="text" _required>
|
|
39
|
+
<div slot="expert" className="inline-block">
|
|
40
|
+
<span className="expert-slot-required-label">Username</span>
|
|
41
|
+
<KolPopoverButton _label="Help" _icons="kolicon-alert-info" _variant="ghost" _hideLabel _inline>
|
|
42
|
+
<div className="w-sm p-2 border border-solid border-gray">You have to take care of the asterics on your own!</div>
|
|
43
|
+
</KolPopoverButton>
|
|
44
|
+
</div>
|
|
45
|
+
</KolInputText>
|
|
46
|
+
</SampleBlock>
|
|
47
|
+
<SampleBlock id="readonly">
|
|
48
|
+
<KolInputText _label="" _type="text" _readOnly _value="(read only) is also not appended">
|
|
49
|
+
<div slot="expert" className="inline-block">
|
|
50
|
+
<span className="expert-slot-required-label">Username</span>
|
|
51
|
+
<KolPopoverButton _label="Help" _icons="kolicon-alert-info" _variant="ghost" _hideLabel _inline>
|
|
52
|
+
<div className="w-sm p-2 border border-solid border-gray">Readonly is also not appended</div>
|
|
53
|
+
</KolPopoverButton>
|
|
54
|
+
</div>
|
|
55
|
+
</KolInputText>
|
|
56
|
+
</SampleBlock>
|
|
57
|
+
</div>
|
|
16
58
|
);
|
|
17
59
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { InputEventValueDemo } from '../InputEventValueDemo';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextOnInputOnChange: FC = () => (
|
|
8
|
+
<>
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>
|
|
11
|
+
Shows the callback value from <code>onInput</code> while typing and from <code>onChange</code> after leaving the field.
|
|
12
|
+
</p>
|
|
13
|
+
</SampleDescription>
|
|
14
|
+
|
|
15
|
+
<InputEventValueDemo label="KolInputText" renderInput={(handlers) => <KolInputText _label="Name" _on={handlers} />} />
|
|
16
|
+
</>
|
|
17
|
+
);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { KolAlert, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextHideLabel: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>
|
|
11
|
+
This story demonstrates the <code>_hideLabel</code> feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen
|
|
12
|
+
readers.
|
|
13
|
+
</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
|
|
16
|
+
<SampleBlock id="search">
|
|
17
|
+
<KolInputText _hideLabel _label="Search" _placeholder="Search..." _type="search" />
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
|
|
20
|
+
<SampleBlock id="error">
|
|
21
|
+
<KolInputText _hideLabel _label="Email" _placeholder="Enter email" _msg={{ _type: 'error', _description: 'Invalid email format' }} _touched />
|
|
22
|
+
</SampleBlock>
|
|
23
|
+
|
|
24
|
+
<SampleBlock id="address-group">
|
|
25
|
+
<fieldset className="grid md:grid-cols-2 gap-4">
|
|
26
|
+
<legend>Street Address</legend>
|
|
27
|
+
<KolAlert className="col-span-2" _level={0} _type="error">
|
|
28
|
+
Please complete the address
|
|
29
|
+
</KolAlert>
|
|
30
|
+
<KolInputText
|
|
31
|
+
_hideLabel
|
|
32
|
+
_hideMsg
|
|
33
|
+
_label="Street name"
|
|
34
|
+
_placeholder="Street name"
|
|
35
|
+
_msg={{ _type: 'error', _description: 'Please complete the address' }}
|
|
36
|
+
_touched
|
|
37
|
+
/>
|
|
38
|
+
<KolInputText
|
|
39
|
+
_hideLabel
|
|
40
|
+
_hideMsg
|
|
41
|
+
_label="House number"
|
|
42
|
+
_placeholder="Number"
|
|
43
|
+
_msg={{ _type: 'error', _description: 'Please complete the address' }}
|
|
44
|
+
_touched
|
|
45
|
+
/>
|
|
46
|
+
</fieldset>
|
|
47
|
+
</SampleBlock>
|
|
48
|
+
</div>
|
|
49
|
+
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { KolAlert,
|
|
1
|
+
import { KolAlert, KolInputText } from '@public-ui/react-v19';
|
|
2
2
|
import type { FC } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
4
5
|
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
export const InputTextHideMsg: FC = () => (
|
|
@@ -12,10 +13,10 @@ export const InputTextHideMsg: FC = () => (
|
|
|
12
13
|
</p>
|
|
13
14
|
</SampleDescription>
|
|
14
15
|
|
|
15
|
-
<
|
|
16
|
+
<SampleBlock id="single-error">
|
|
16
17
|
<KolInputText _msg={{ _type: 'error', _description: 'Error message' }} _label="Input with error" _touched />
|
|
17
|
-
</
|
|
18
|
-
<
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
<SampleBlock id="combined-error">
|
|
19
20
|
<fieldset className="grid md:grid-cols-2 gap-4">
|
|
20
21
|
<legend>Combined input field</legend>
|
|
21
22
|
<KolAlert className="col-span-2" _level={0} _type="error">
|
|
@@ -24,6 +25,6 @@ export const InputTextHideMsg: FC = () => (
|
|
|
24
25
|
<KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="First input" _touched />
|
|
25
26
|
<KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="Second input with error" _touched />
|
|
26
27
|
</fieldset>
|
|
27
|
-
</
|
|
28
|
+
</SampleBlock>
|
|
28
29
|
</div>
|
|
29
30
|
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextMessageTypes: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="msg-default">
|
|
14
|
+
<KolInputText _label="Default message" _value="Valid value" _msg={{ _type: 'default', _description: 'This is a default message' }} _touched />
|
|
15
|
+
</SampleBlock>
|
|
16
|
+
<SampleBlock id="msg-error">
|
|
17
|
+
<KolInputText _label="Error message" _value="Invalid value" _msg={{ _type: 'error', _description: 'This is an error message' }} _touched />
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
<SampleBlock id="msg-info">
|
|
20
|
+
<KolInputText _label="Info message" _value="Some value" _msg={{ _type: 'info', _description: 'This is an informational message' }} _touched />
|
|
21
|
+
</SampleBlock>
|
|
22
|
+
<SampleBlock id="msg-success">
|
|
23
|
+
<KolInputText _label="Success message" _value="Valid value" _msg={{ _type: 'success', _description: 'This is a success message' }} _touched />
|
|
24
|
+
</SampleBlock>
|
|
25
|
+
<SampleBlock id="msg-warning">
|
|
26
|
+
<KolInputText _label="Warning message" _value="Valid value" _msg={{ _type: 'warning', _description: 'This is a warning message' }} _touched />
|
|
27
|
+
</SampleBlock>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextMsgAndCounter: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>Regression sample for #9073: when both _msg and _hasCounter are set, aria-describedby must reference both the message and counter elements.</p>
|
|
11
|
+
<p>Open DevTools and inspect each input to confirm aria-describedby contains both IDs.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
|
|
14
|
+
<SampleBlock id="warning">
|
|
15
|
+
<KolInputText _label="Warning + Counter" _msg={{ _type: 'warning', _description: 'Bitte prüfen Sie Ihre Eingabe.' }} _hasCounter _maxLength={30} />
|
|
16
|
+
</SampleBlock>
|
|
17
|
+
<SampleBlock id="error">
|
|
18
|
+
<KolInputText
|
|
19
|
+
_label="Error + Counter (touched)"
|
|
20
|
+
_msg={{ _type: 'error', _description: 'Pflichtfeld – bitte ausfüllen.' }}
|
|
21
|
+
_hasCounter
|
|
22
|
+
_maxLength={30}
|
|
23
|
+
_touched
|
|
24
|
+
/>
|
|
25
|
+
</SampleBlock>
|
|
26
|
+
<SampleBlock id="info">
|
|
27
|
+
<KolInputText _label="Info + Counter" _msg={{ _type: 'info', _description: 'Hinweis: maximal 20 Zeichen.' }} _hasCounter _maxLength={20} />
|
|
28
|
+
</SampleBlock>
|
|
29
|
+
</div>
|
|
30
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
5
|
+
import { SampleBlock } from '../SampleBlock';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
|
|
8
|
+
const PATTERN = '^[A-Za-z]{3}-\\d{3}$';
|
|
9
|
+
|
|
10
|
+
export const InputTextPattern: FC = () => (
|
|
11
|
+
<>
|
|
12
|
+
<SampleDescription>
|
|
13
|
+
<p>This sample demonstrates HTML5 pattern validation for both native input and KolInputText components.</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
<SampleBlock id="pattern">
|
|
16
|
+
<form className="grid gap-4">
|
|
17
|
+
<div className="grid gap-2">
|
|
18
|
+
<label htmlFor="native-input">Native Input (Pattern: AAA-123, case-insensitive)</label>
|
|
19
|
+
<input id="native-input" name="native-input" pattern={PATTERN} type="text" />
|
|
20
|
+
</div>
|
|
21
|
+
<KolInputText
|
|
22
|
+
_label="KoliBri Input (Pattern: AAA-123, case-insensitive)"
|
|
23
|
+
_name="kolibri-input"
|
|
24
|
+
_pattern={PATTERN}
|
|
25
|
+
_hint="Note: This input is not linked to the form element. The validation inside the Shadow DOM is currently not triggered on form submit."
|
|
26
|
+
/>
|
|
27
|
+
<div>
|
|
28
|
+
<button type="submit">Submit</button>
|
|
29
|
+
</div>
|
|
30
|
+
</form>
|
|
31
|
+
</SampleBlock>
|
|
32
|
+
</>
|
|
33
|
+
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleBlock } from '../SampleBlock';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
|
|
7
|
+
export const InputTextPlaceholder: FC = () => (
|
|
8
|
+
<div className="grid gap-4">
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>This story demonstrates the placeholder feature of KolInputText.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
|
|
13
|
+
<SampleBlock id="first-name">
|
|
14
|
+
<KolInputText _label="First name" _placeholder="Enter your first name" />
|
|
15
|
+
</SampleBlock>
|
|
16
|
+
<SampleBlock id="email">
|
|
17
|
+
<KolInputText _label="Email address" _placeholder="user@example.com" />
|
|
18
|
+
</SampleBlock>
|
|
19
|
+
<SampleBlock id="tel">
|
|
20
|
+
<KolInputText _label="Phone number" _placeholder="+49 123 456789" _type="tel" />
|
|
21
|
+
</SampleBlock>
|
|
22
|
+
<SampleBlock id="url">
|
|
23
|
+
<KolInputText _label="Website" _placeholder="https://example.com" _type="url" />
|
|
24
|
+
</SampleBlock>
|
|
25
|
+
<SampleBlock id="search">
|
|
26
|
+
<KolInputText _label="Search" _placeholder="Search..." _type="search" />
|
|
27
|
+
</SampleBlock>
|
|
28
|
+
</div>
|
|
29
|
+
);
|