@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
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { KolButton, KolTree, KolTreeItem } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React, { useContext, useState } from 'react';
|
|
3
|
-
import { KolButton, KolTree, KolTreeItem } from '@public-ui/react-v19';
|
|
4
|
-
import { getRandomEmoji } from '../../shares/randomEmoji';
|
|
5
4
|
import { useParams } from 'react-router';
|
|
6
5
|
import { HideMenusContext } from '../../shares/HideMenusContext';
|
|
6
|
+
import { getRandomEmoji } from '../../shares/randomEmoji';
|
|
7
|
+
import { SampleBlock } from '../SampleBlock';
|
|
7
8
|
import { SampleDescription } from '../SampleDescription';
|
|
8
9
|
|
|
9
10
|
export const TreeBasic: FC = () => {
|
|
@@ -30,38 +31,40 @@ export const TreeBasic: FC = () => {
|
|
|
30
31
|
<p>KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded.</p>
|
|
31
32
|
</SampleDescription>
|
|
32
33
|
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
<KolTreeItem _label="2
|
|
37
|
-
|
|
38
|
-
<KolTreeItem _label="2.1
|
|
39
|
-
|
|
40
|
-
<KolTreeItem _label="2.1.2.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<KolTreeItem _label="2.1.3.1
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
34
|
+
<SampleBlock id="tree" fitContent>
|
|
35
|
+
<KolTree _label="Sitemap" class="block w-fit">
|
|
36
|
+
<KolTreeItem _label={homeLabel} {...getItemProps('home')}></KolTreeItem>
|
|
37
|
+
<KolTreeItem _label="2 About (open initially)" {...getItemProps('about')} _open>
|
|
38
|
+
<KolTreeItem _label="2.0 Legal" {...getItemProps('legal')}></KolTreeItem>
|
|
39
|
+
<KolTreeItem _label="2.1 Team" {...getItemProps('team')}>
|
|
40
|
+
<KolTreeItem _label="2.1.1. Values" {...getItemProps('values')}></KolTreeItem>
|
|
41
|
+
<KolTreeItem _label="2.1.2. Members" {...getItemProps('members')}>
|
|
42
|
+
<KolTreeItem _label="2.1.2.1 Humans" {...getItemProps('humans')}></KolTreeItem>
|
|
43
|
+
{showPets && <KolTreeItem _label="2.1.2.2 Pets" {...getItemProps('pets')}></KolTreeItem>}
|
|
44
|
+
</KolTreeItem>
|
|
45
|
+
<KolTreeItem _label="2.1.3 Locations" {...getItemProps('locations')}>
|
|
46
|
+
{showEurope && (
|
|
47
|
+
<KolTreeItem _label="2.1.3.1 Europe" {...getItemProps('europe')}>
|
|
48
|
+
<KolTreeItem _label="2.1.3.1.1 Denmark" {...getItemProps('denmark')} />
|
|
49
|
+
<KolTreeItem _label="2.1.3.1.2 Netherlands" {...getItemProps('netherlands')} />
|
|
50
|
+
</KolTreeItem>
|
|
51
|
+
)}
|
|
52
|
+
</KolTreeItem>
|
|
50
53
|
</KolTreeItem>
|
|
51
54
|
</KolTreeItem>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
{showProducts && (
|
|
56
|
+
<KolTreeItem _label="3. Products" {...getItemProps('products')}>
|
|
57
|
+
<KolTreeItem _label="3.1 Home" {...getItemProps('home-products')}>
|
|
58
|
+
<KolTreeItem _label="3.1.1 Refrigerators" {...getItemProps('fridges')}></KolTreeItem>
|
|
59
|
+
<KolTreeItem _label="3.1.2 Coffee makers" {...getItemProps('coffee-makers')}></KolTreeItem>
|
|
60
|
+
</KolTreeItem>
|
|
61
|
+
<KolTreeItem _label="3.1 Office" {...getItemProps('office-products')}>
|
|
62
|
+
<KolTreeItem _label="3.2.1 Printers" {...getItemProps('printers')}></KolTreeItem>
|
|
63
|
+
</KolTreeItem>
|
|
61
64
|
</KolTreeItem>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</
|
|
65
|
+
)}
|
|
66
|
+
</KolTree>
|
|
67
|
+
</SampleBlock>
|
|
65
68
|
|
|
66
69
|
<p>Current tree item: {subPage ?? 'none'}</p>
|
|
67
70
|
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { KolVersion } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleBlock } from '../SampleBlock';
|
|
6
7
|
import { SampleDescription } from '../SampleDescription';
|
|
7
8
|
export const VersionBasic: FC = () => (
|
|
8
9
|
<>
|
|
@@ -10,6 +11,8 @@ export const VersionBasic: FC = () => (
|
|
|
10
11
|
<p>KolVersion renders a label showing the given version number.</p>
|
|
11
12
|
</SampleDescription>
|
|
12
13
|
|
|
13
|
-
<
|
|
14
|
+
<SampleBlock id="basic" fitContent>
|
|
15
|
+
<KolVersion _label="1.1.1" />
|
|
16
|
+
</SampleBlock>
|
|
14
17
|
</>
|
|
15
18
|
);
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { KolVersion } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleBlock } from '../SampleBlock';
|
|
6
7
|
import { SampleDescription } from '../SampleDescription';
|
|
7
8
|
|
|
8
9
|
export const VersionContext: FC = () => (
|
|
@@ -11,10 +12,12 @@ export const VersionContext: FC = () => (
|
|
|
11
12
|
<p>This sample shows KolVersion inline with text paragraph content.</p>
|
|
12
13
|
</SampleDescription>
|
|
13
14
|
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
<SampleBlock id="context">
|
|
16
|
+
<p>
|
|
17
|
+
<KolVersion _label="1.0.0" /> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
|
|
18
|
+
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
|
|
19
|
+
ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
20
|
+
</p>
|
|
21
|
+
</SampleBlock>
|
|
19
22
|
</>
|
|
20
23
|
);
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export function useToasterService() {
|
|
4
|
-
const toaster = ToasterService.getInstance(document);
|
|
5
|
-
|
|
1
|
+
export function useAlert() {
|
|
6
2
|
const message = (message?: string) => {
|
|
7
|
-
void
|
|
8
|
-
description: message || 'Hello',
|
|
9
|
-
label: `Hello`,
|
|
10
|
-
type: 'info',
|
|
11
|
-
});
|
|
3
|
+
void alert(message || 'The Element was clicked');
|
|
12
4
|
};
|
|
13
5
|
|
|
14
6
|
const dummyClickEventHandler = () => {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
|
+
import { useSearchParams } from 'react-router';
|
|
3
|
+
|
|
4
|
+
import { applyColorScheme, isColorSchemePreference, persistColorScheme, readStoredColorScheme } from '../shares/colorScheme';
|
|
5
|
+
|
|
6
|
+
import type { ColorSchemePreference } from '../shares/colorScheme';
|
|
7
|
+
|
|
8
|
+
const SEARCH_PARAM = 'colorScheme';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Makes the color scheme (see `shares/colorScheme`) switchable at runtime:
|
|
12
|
+
* - `?colorScheme=dark` opens a route in dark mode right away – combinable with `?hideMenus`,
|
|
13
|
+
* - the Sidebar's select changes it without a reload and remembers the choice for the next visit.
|
|
14
|
+
*
|
|
15
|
+
* Without the URL parameter the remembered choice applies; the parameter always wins.
|
|
16
|
+
*
|
|
17
|
+
* `supportsDark` says whether the active theme ships a dark palette. It does not: the scheme is
|
|
18
|
+
* forced to light, because such a theme would otherwise render light components on a page that
|
|
19
|
+
* follows the scheme. The remembered choice stays untouched and applies again as soon as a theme
|
|
20
|
+
* with a dark palette is selected.
|
|
21
|
+
*
|
|
22
|
+
* Returns the scheme that is actually on the document, which is what the Sidebar's select shows.
|
|
23
|
+
*/
|
|
24
|
+
export const useColorScheme = (supportsDark: boolean): [ColorSchemePreference, (preference: ColorSchemePreference) => void] => {
|
|
25
|
+
const [searchParams] = useSearchParams();
|
|
26
|
+
const param = searchParams.get(SEARCH_PARAM);
|
|
27
|
+
const [preference, setPreference] = useState<ColorSchemePreference>(() => (isColorSchemePreference(param) ? param : readStoredColorScheme()));
|
|
28
|
+
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
/* The URL wins over the stored value but must not overwrite it – reading a link should not
|
|
31
|
+
change what the next visit without a parameter shows. */
|
|
32
|
+
setPreference(isColorSchemePreference(param) ? param : readStoredColorScheme());
|
|
33
|
+
}, [param]);
|
|
34
|
+
|
|
35
|
+
const scheme: ColorSchemePreference = supportsDark ? preference : 'light';
|
|
36
|
+
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
applyColorScheme(scheme);
|
|
39
|
+
}, [scheme]);
|
|
40
|
+
|
|
41
|
+
const schemeRef = useRef(scheme);
|
|
42
|
+
schemeRef.current = scheme;
|
|
43
|
+
|
|
44
|
+
const choose = useCallback((next: ColorSchemePreference) => {
|
|
45
|
+
/* KolSelect emits onChange once while mounting, carrying the value it was given. Ignoring a
|
|
46
|
+
value that is already the active one keeps that echo from persisting a preference the user
|
|
47
|
+
never chose – which matters most while a theme without a dark palette forces light. */
|
|
48
|
+
if (schemeRef.current === next) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
setPreference(next);
|
|
52
|
+
persistColorScheme(next);
|
|
53
|
+
}, []);
|
|
54
|
+
|
|
55
|
+
return [scheme, choose];
|
|
56
|
+
};
|
package/src/hooks/useMobile.ts
CHANGED
|
@@ -4,12 +4,10 @@ export function useMobile(): boolean {
|
|
|
4
4
|
const mediaQuery = matchMedia('(max-width: 1023px)');
|
|
5
5
|
const [matches, setMatches] = useState<boolean>(mediaQuery.matches);
|
|
6
6
|
|
|
7
|
-
const handleChange = () => {
|
|
8
|
-
setMatches(mediaQuery.matches);
|
|
9
|
-
};
|
|
10
|
-
|
|
11
7
|
useEffect(() => {
|
|
12
|
-
handleChange()
|
|
8
|
+
const handleChange = (e: MediaQueryListEvent) => {
|
|
9
|
+
setMatches(e.matches);
|
|
10
|
+
};
|
|
13
11
|
mediaQuery.addEventListener('change', handleChange);
|
|
14
12
|
|
|
15
13
|
return () => {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useEffect } from 'react';
|
|
2
|
+
import { useSearchParams } from 'react-router';
|
|
3
|
+
|
|
4
|
+
import { readStoredVisualBlockOutline, setVisualBlockOutline, toggleVisualBlockOutline } from '../shares/visualBlockOutline';
|
|
5
|
+
|
|
6
|
+
const SEARCH_PARAM = 'visualBlocks';
|
|
7
|
+
const DISABLED_VALUES = ['0', 'false', 'off'];
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Makes the `data-visual-block` outline (see `shares/visualBlockOutline`) switchable at runtime:
|
|
11
|
+
* - `?visualBlocks` enables it for the current URL, `?visualBlocks=0` disables it – combinable with `?hideMenus`,
|
|
12
|
+
* - `Ctrl+Alt+B` toggles it without a reload and remembers the choice for the next visit.
|
|
13
|
+
*
|
|
14
|
+
* Without the URL parameter the remembered choice applies; the parameter always wins.
|
|
15
|
+
*/
|
|
16
|
+
export const useVisualBlockOutline = () => {
|
|
17
|
+
const [searchParams] = useSearchParams();
|
|
18
|
+
const param = searchParams.get(SEARCH_PARAM);
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (param === null) {
|
|
22
|
+
setVisualBlockOutline(readStoredVisualBlockOutline(), false);
|
|
23
|
+
} else {
|
|
24
|
+
setVisualBlockOutline(!DISABLED_VALUES.includes(param.toLowerCase()), false);
|
|
25
|
+
}
|
|
26
|
+
}, [param]);
|
|
27
|
+
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
const handleKeyDown = (event: KeyboardEvent) => {
|
|
30
|
+
if (event.ctrlKey && event.altKey && !event.shiftKey && event.key.toLowerCase() === 'b') {
|
|
31
|
+
event.preventDefault();
|
|
32
|
+
toggleVisualBlockOutline();
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
document.addEventListener('keydown', handleKeyDown);
|
|
36
|
+
return () => document.removeEventListener('keydown', handleKeyDown);
|
|
37
|
+
}, []);
|
|
38
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolAccordion, KolCombobox, KolTableStateful } from '@public-ui/react-v19';
|
|
4
|
+
import { SampleDescription } from '../components/SampleDescription';
|
|
5
|
+
|
|
6
|
+
import type { FC } from 'react';
|
|
7
|
+
|
|
8
|
+
const DATA = [{ left: 'Left Example', center: 'Center Example', right: 'Right Example' }];
|
|
9
|
+
|
|
10
|
+
export const AccordionComponentContent: FC = () => (
|
|
11
|
+
<>
|
|
12
|
+
<SampleDescription>
|
|
13
|
+
<p>KolAccordion can have other KoliBri components as content. Some are shown here.</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
|
|
16
|
+
<div className="grid gap-4">
|
|
17
|
+
<KolAccordion _label="With Combobox" _open>
|
|
18
|
+
<KolCombobox _label="Combobox in Accordion" _suggestions="['Herr','Frau','Firma']" />
|
|
19
|
+
</KolAccordion>
|
|
20
|
+
<KolAccordion _label="With Table" _open>
|
|
21
|
+
<KolTableStateful
|
|
22
|
+
_label="Table for demonstration purposes with different text align properties"
|
|
23
|
+
_headers={{
|
|
24
|
+
horizontal: [
|
|
25
|
+
[
|
|
26
|
+
{ label: 'left', key: 'left', textAlign: 'left', width: 300 },
|
|
27
|
+
{
|
|
28
|
+
label: 'center',
|
|
29
|
+
key: 'center',
|
|
30
|
+
textAlign: 'center',
|
|
31
|
+
width: 300,
|
|
32
|
+
},
|
|
33
|
+
{ label: 'right', key: 'right', textAlign: 'right', width: 300 },
|
|
34
|
+
],
|
|
35
|
+
],
|
|
36
|
+
}}
|
|
37
|
+
_data={DATA}
|
|
38
|
+
/>
|
|
39
|
+
</KolAccordion>
|
|
40
|
+
</div>
|
|
41
|
+
</>
|
|
42
|
+
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React, { useEffect, useState
|
|
3
|
-
import
|
|
1
|
+
import { zodResolver } from '@hookform/resolvers/zod';
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { FormProvider, useForm } from 'react-hook-form';
|
|
4
|
+
import { z } from 'zod';
|
|
4
5
|
|
|
5
6
|
import { KolLink, KolTabs } from '@public-ui/react-v19';
|
|
6
7
|
|
|
@@ -10,20 +11,46 @@ import { DistrictForm } from './DistrictForm';
|
|
|
10
11
|
import { PersonalInformationForm } from './PersonalInformationForm';
|
|
11
12
|
import { Summary } from './Summary';
|
|
12
13
|
|
|
13
|
-
import type { FormikHelpers, FormikProps } from 'formik';
|
|
14
|
-
import type { Iso8601 } from '@public-ui/components';
|
|
15
14
|
import { SampleDescription } from '../../components/SampleDescription';
|
|
15
|
+
|
|
16
|
+
const validationSchema = z
|
|
17
|
+
.object({
|
|
18
|
+
district: z.string().min(1, 'Please select district.'),
|
|
19
|
+
date: z.string().min(1, 'Please enter date.'),
|
|
20
|
+
time: z.string(),
|
|
21
|
+
salutation: z.string().min(1, 'Please select salutation.'),
|
|
22
|
+
name: z.string().min(1, 'Please enter your first and last name.'),
|
|
23
|
+
company: z.string(),
|
|
24
|
+
email: z.string().min(1, 'Please enter your e-mail address.'),
|
|
25
|
+
phone: z.string(),
|
|
26
|
+
})
|
|
27
|
+
.superRefine(async (data, ctx) => {
|
|
28
|
+
// Conditional validation: company is required when salutation is 'Company'
|
|
29
|
+
if (data.salutation === 'Company' && !data.company) {
|
|
30
|
+
ctx.addIssue({
|
|
31
|
+
code: z.ZodIssueCode.custom,
|
|
32
|
+
path: ['company'],
|
|
33
|
+
message: 'Please specify company.',
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Async validation: check time availability when date is set
|
|
38
|
+
if (data.date && data.time) {
|
|
39
|
+
const isAvailable = await checkAppointmentAvailability(data.time);
|
|
40
|
+
if (!isAvailable) {
|
|
41
|
+
ctx.addIssue({
|
|
42
|
+
code: z.ZodIssueCode.custom,
|
|
43
|
+
path: ['time'],
|
|
44
|
+
message: 'Date unfortunately no longer available.',
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export type FormValues = z.infer<typeof validationSchema>;
|
|
16
51
|
// export interface FormProps {}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
date: Iso8601;
|
|
20
|
-
time: Iso8601;
|
|
21
|
-
salutation: string;
|
|
22
|
-
name: string;
|
|
23
|
-
company: string;
|
|
24
|
-
email: string;
|
|
25
|
-
phone: string;
|
|
26
|
-
}
|
|
52
|
+
|
|
53
|
+
export type FormFieldName = keyof FormValues & string;
|
|
27
54
|
|
|
28
55
|
enum FormSection {
|
|
29
56
|
DISTRICT,
|
|
@@ -34,10 +61,17 @@ enum FormSection {
|
|
|
34
61
|
|
|
35
62
|
const formSectionSequence = [FormSection.DISTRICT, FormSection.AVAILABLE_APPOINTMENTS, FormSection.PERSONAL_INFORMATION, FormSection.SUMMARY] as const;
|
|
36
63
|
|
|
64
|
+
const sectionFields: Record<FormSection, FormFieldName[]> = {
|
|
65
|
+
[FormSection.DISTRICT]: ['district'],
|
|
66
|
+
[FormSection.AVAILABLE_APPOINTMENTS]: ['date', 'time'],
|
|
67
|
+
[FormSection.PERSONAL_INFORMATION]: ['salutation', 'company', 'name', 'email', 'phone'],
|
|
68
|
+
[FormSection.SUMMARY]: [],
|
|
69
|
+
};
|
|
70
|
+
|
|
37
71
|
const initialValues: FormValues = {
|
|
38
72
|
district: '',
|
|
39
|
-
date: ''
|
|
40
|
-
time: ''
|
|
73
|
+
date: '',
|
|
74
|
+
time: '',
|
|
41
75
|
salutation: '',
|
|
42
76
|
name: '',
|
|
43
77
|
company: '',
|
|
@@ -45,103 +79,87 @@ const initialValues: FormValues = {
|
|
|
45
79
|
phone: '',
|
|
46
80
|
};
|
|
47
81
|
|
|
48
|
-
const districtSchema = {
|
|
49
|
-
district: Yup.string().required('Please select district.'),
|
|
50
|
-
};
|
|
51
|
-
const personalInformationSchema = {
|
|
52
|
-
salutation: Yup.string().required('Please select salutation.'),
|
|
53
|
-
name: Yup.string().required('Please enter your first and last name.'),
|
|
54
|
-
company: Yup.string().when('salutation', {
|
|
55
|
-
is: (salutation: string) => salutation === 'Company',
|
|
56
|
-
then: (schema) => schema.required('Please specify company.'),
|
|
57
|
-
}),
|
|
58
|
-
email: Yup.string().required('Please enter your e-mail address.'),
|
|
59
|
-
};
|
|
60
|
-
const availableAppointmentsSchema = {
|
|
61
|
-
date: Yup.string().required('Please enter date.'),
|
|
62
|
-
time: Yup.string().when('date', {
|
|
63
|
-
is: (date: string) => Boolean(date), // only validate time when date is already set
|
|
64
|
-
then: (schema) => schema.test('checkTimeAvailability', 'Date unfortunately no longer available.', checkAppointmentAvailability),
|
|
65
|
-
}),
|
|
66
|
-
};
|
|
67
|
-
|
|
68
82
|
export function AppointmentForm() {
|
|
69
83
|
const [activeFormSection, setActiveFormSection] = useState(FormSection.DISTRICT);
|
|
70
84
|
const [selectedTab, setSelectedTab] = useState(activeFormSection);
|
|
71
|
-
const formikRef = useRef<FormikProps<FormValues>>(null);
|
|
72
85
|
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
86
|
+
const formMethods = useForm<FormValues>({
|
|
87
|
+
defaultValues: initialValues,
|
|
88
|
+
mode: 'onTouched',
|
|
89
|
+
reValidateMode: 'onChange',
|
|
90
|
+
resolver: zodResolver(validationSchema),
|
|
91
|
+
shouldFocusError: false,
|
|
77
92
|
});
|
|
78
93
|
|
|
79
94
|
useEffect(() => {
|
|
80
95
|
setSelectedTab(activeFormSection);
|
|
81
96
|
}, [activeFormSection]);
|
|
82
97
|
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
98
|
+
const goToSection = (section: FormSection) => {
|
|
99
|
+
setActiveFormSection(section);
|
|
100
|
+
formMethods.clearErrors();
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const getNextSection = (section: FormSection) => {
|
|
104
|
+
const currentSectionIndex = formSectionSequence.indexOf(section);
|
|
105
|
+
return formSectionSequence[currentSectionIndex + 1];
|
|
90
106
|
};
|
|
91
107
|
|
|
92
108
|
return (
|
|
93
|
-
|
|
109
|
+
<FormProvider {...formMethods}>
|
|
94
110
|
<SampleDescription>
|
|
95
111
|
<p>
|
|
96
|
-
The Appointment Form is a full form example featuring a large variety of KoliBri form components,{' '}
|
|
97
|
-
<KolLink _label="
|
|
98
|
-
<KolLink _label="Yup" _href="https://github.com/jquense/yup" _target="blank" />.
|
|
112
|
+
The Appointment Form is a full form example featuring a large variety of KoliBri form components, React Hook Form and{' '}
|
|
113
|
+
<KolLink _label="Zod" _href="https://github.com/colinhacks/zod" _target="blank" />.
|
|
99
114
|
</p>
|
|
100
115
|
</SampleDescription>
|
|
101
116
|
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</
|
|
144
|
-
|
|
145
|
-
|
|
117
|
+
<KolTabs
|
|
118
|
+
className="w-full"
|
|
119
|
+
_tabs={[
|
|
120
|
+
{
|
|
121
|
+
_label: '1. Choose registration office',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
_label: '2. Available dates',
|
|
125
|
+
_disabled: activeFormSection < FormSection.AVAILABLE_APPOINTMENTS,
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
_label: '3. Personal data',
|
|
129
|
+
_disabled: activeFormSection < FormSection.PERSONAL_INFORMATION,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
_label: 'Summary',
|
|
133
|
+
_disabled: activeFormSection < FormSection.SUMMARY,
|
|
134
|
+
},
|
|
135
|
+
]}
|
|
136
|
+
_label="Form navigation"
|
|
137
|
+
_selected={selectedTab}
|
|
138
|
+
_on={{
|
|
139
|
+
onSelect: (_event, selectedTab) => {
|
|
140
|
+
goToSection(selectedTab);
|
|
141
|
+
},
|
|
142
|
+
}}
|
|
143
|
+
>
|
|
144
|
+
<div>
|
|
145
|
+
<DistrictForm fieldsToValidate={sectionFields[FormSection.DISTRICT]} onComplete={() => goToSection(getNextSection(FormSection.DISTRICT))} />
|
|
146
|
+
</div>
|
|
147
|
+
<div>
|
|
148
|
+
<AvailableAppointmentsForm
|
|
149
|
+
fieldsToValidate={sectionFields[FormSection.AVAILABLE_APPOINTMENTS]}
|
|
150
|
+
onComplete={() => goToSection(getNextSection(FormSection.AVAILABLE_APPOINTMENTS))}
|
|
151
|
+
/>
|
|
152
|
+
</div>
|
|
153
|
+
<div>
|
|
154
|
+
<PersonalInformationForm
|
|
155
|
+
fieldsToValidate={sectionFields[FormSection.PERSONAL_INFORMATION]}
|
|
156
|
+
onComplete={() => goToSection(getNextSection(FormSection.PERSONAL_INFORMATION))}
|
|
157
|
+
/>
|
|
158
|
+
</div>
|
|
159
|
+
<div>
|
|
160
|
+
<Summary />
|
|
161
|
+
</div>
|
|
162
|
+
</KolTabs>
|
|
163
|
+
</FormProvider>
|
|
146
164
|
);
|
|
147
165
|
}
|