@caspeco/casper-ui-library 9.13.0 → 10.0.0
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/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/components/accordion/accordion-item.d.ts +3 -2
- package/dist/components/accordion/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/accordion-item.js +36 -19
- package/dist/components/accordion/accordion-panel.d.ts +1 -1
- package/dist/components/accordion/accordion-panel.d.ts.map +1 -1
- package/dist/components/accordion/accordion-panel.js +13 -5
- package/dist/components/accordion/accordion.composition.d.ts +3 -3
- package/dist/components/accordion/accordion.composition.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +18 -6
- package/dist/components/alert/alert.composition.d.ts +5 -5
- package/dist/components/alert/alert.composition.d.ts.map +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +58 -74
- package/dist/components/alert/helper.d.ts +1 -1
- package/dist/components/alert/helper.d.ts.map +1 -1
- package/dist/components/alert/helper.js +10 -15
- package/dist/components/badge/badge-recipe.js +13 -19
- package/dist/components/badge/badge.composition.d.ts +3 -3
- package/dist/components/badge/badge.composition.d.ts.map +1 -1
- package/dist/components/badge/badge.js +70 -31
- package/dist/components/box/box.composition.d.ts +6 -6
- package/dist/components/box/box.composition.d.ts.map +1 -1
- package/dist/components/box/box.js +10 -5
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.js +16 -5
- package/dist/components/breadcrumbs/breadcrumb-link.js +19 -17
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +82 -80
- package/dist/components/button/button-recipe.js +6 -2
- package/dist/components/button/button.composition.d.ts +5 -5
- package/dist/components/button/button.composition.d.ts.map +1 -1
- package/dist/components/button/button.js +38 -42
- package/dist/components/checkbox/checkbox-icon.d.ts +2 -1
- package/dist/components/checkbox/checkbox-icon.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.composition.d.ts +3 -3
- package/dist/components/checkbox/checkbox.composition.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.js +34 -53
- package/dist/components/checkbox/icons/check.js +1 -6
- package/dist/components/checkbox/icons/minus.js +1 -6
- package/dist/components/checkbox/icons/plus.js +1 -6
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +13 -4
- package/dist/components/collapsible/collapsible.composition.d.ts +3 -3
- package/dist/components/collapsible/collapsible.composition.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.js +93 -108
- package/dist/components/combobox/combobox-button.d.ts +1 -1
- package/dist/components/combobox/combobox-button.d.ts.map +1 -1
- package/dist/components/combobox/combobox-button.js +131 -174
- package/dist/components/combobox/combobox-item.d.ts +1 -1
- package/dist/components/combobox/combobox-item.d.ts.map +1 -1
- package/dist/components/combobox/combobox-item.js +18 -11
- package/dist/components/combobox/combobox-menu.d.ts +2 -2
- package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
- package/dist/components/combobox/combobox-menu.js +171 -270
- package/dist/components/combobox/combobox.composition.d.ts +9 -9
- package/dist/components/combobox/combobox.composition.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +286 -209
- package/dist/components/combobox/types.d.ts +7 -7
- package/dist/components/combobox/types.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.d.ts +2 -1
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +244 -262
- package/dist/components/date-picker/date-multi-picker.d.ts +1 -1
- package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-multi-picker.js +25 -49
- package/dist/components/date-picker/date-picker-date-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-date-cell.js +111 -117
- package/dist/components/date-picker/date-picker-header.d.ts +1 -1
- package/dist/components/date-picker/date-picker-header.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-header.js +153 -120
- package/dist/components/date-picker/date-picker-week-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-week-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-week-cell.js +41 -36
- package/dist/components/date-picker/date-picker.composition.d.ts +5 -5
- package/dist/components/date-picker/date-picker.composition.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.js +24 -45
- package/dist/components/date-picker/date-range-picker.d.ts +1 -1
- package/dist/components/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-range-picker.js +23 -41
- package/dist/components/date-picker/date-week-picker.d.ts +1 -1
- package/dist/components/date-picker/date-week-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-week-picker.js +18 -36
- package/dist/components/date-picker/helper.js +1 -1
- package/dist/components/divider/divider.composition.d.ts +2 -2
- package/dist/components/divider/divider.composition.d.ts.map +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +16 -19
- package/dist/components/drawer/drawer-recipe.js +25 -5
- package/dist/components/drawer/drawer.composition.d.ts +5 -5
- package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +38 -36
- package/dist/components/drawer/inline-drawer.d.ts +1 -1
- package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
- package/dist/components/drawer/inline-drawer.js +62 -57
- package/dist/components/drawer/use-drawer-key-down.js +15 -8
- package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-error-text.js +13 -5
- package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-helper-text.js +13 -5
- package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
- package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-legend.js +13 -5
- package/dist/components/fieldset/fieldset.d.ts +1 -1
- package/dist/components/fieldset/fieldset.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.js +15 -5
- package/dist/components/flex/flex.composition.d.ts +2 -2
- package/dist/components/flex/flex.composition.d.ts.map +1 -1
- package/dist/components/flex/flex.d.ts +1 -1
- package/dist/components/flex/flex.d.ts.map +1 -1
- package/dist/components/flex/flex.js +13 -5
- package/dist/components/form-control/form-control.composition.d.ts +6 -6
- package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
- package/dist/components/form-control/form-control.d.ts +1 -1
- package/dist/components/form-control/form-control.d.ts.map +1 -1
- package/dist/components/form-control/form-control.js +17 -22
- package/dist/components/form-control/form-error-message.d.ts +1 -1
- package/dist/components/form-control/form-error-message.d.ts.map +1 -1
- package/dist/components/form-control/form-error-message.js +13 -5
- package/dist/components/form-control/form-helper-text.d.ts +1 -1
- package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
- package/dist/components/form-control/form-helper-text.js +13 -5
- package/dist/components/form-control/form-label.d.ts +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/form-control/form-label.js +24 -11
- package/dist/components/grid/grid-item.d.ts +1 -1
- package/dist/components/grid/grid-item.d.ts.map +1 -1
- package/dist/components/grid/grid-item.js +12 -4
- package/dist/components/grid/grid.composition.d.ts +2 -2
- package/dist/components/grid/grid.composition.d.ts.map +1 -1
- package/dist/components/grid/grid.d.ts +1 -1
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/grid/grid.js +13 -5
- package/dist/components/heading/heading.composition.d.ts +3 -3
- package/dist/components/heading/heading.composition.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +21 -29
- package/dist/components/highlight/highlight.composition.d.ts +2 -2
- package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
- package/dist/components/highlight/highlight.d.ts +1 -1
- package/dist/components/highlight/highlight.d.ts.map +1 -1
- package/dist/components/highlight/highlight.js +19 -15
- package/dist/components/icon/create-icon.js +24 -15
- package/dist/components/icon/icon.composition.d.ts +1 -1
- package/dist/components/icon/icon.composition.d.ts.map +1 -1
- package/dist/components/icon/icons/absence-icon.js +1 -4
- package/dist/components/icon/icons/accessibility-icon.js +1 -4
- package/dist/components/icon/icons/add-absence-icon.js +1 -4
- package/dist/components/icon/icons/add-emoji-icon.js +1 -4
- package/dist/components/icon/icons/add-icon.js +1 -4
- package/dist/components/icon/icons/apple-icon.js +1 -4
- package/dist/components/icon/icons/apps-icon.js +1 -4
- package/dist/components/icon/icons/archive-icon.js +4 -5
- package/dist/components/icon/icons/area-icon.js +1 -4
- package/dist/components/icon/icons/at-icon.js +1 -4
- package/dist/components/icon/icons/attachment-icon.js +1 -4
- package/dist/components/icon/icons/baby-icon.js +1 -4
- package/dist/components/icon/icons/back-icon.js +1 -4
- package/dist/components/icon/icons/backspace-icon.js +1 -4
- package/dist/components/icon/icons/bank-icon.js +1 -4
- package/dist/components/icon/icons/bank-id-icon.js +1 -4
- package/dist/components/icon/icons/barcode-icon.js +1 -4
- package/dist/components/icon/icons/bell-icon.js +1 -4
- package/dist/components/icon/icons/bolt-icon.js +4 -5
- package/dist/components/icon/icons/calendar-icon.js +1 -4
- package/dist/components/icon/icons/camera-icon.js +1 -4
- package/dist/components/icon/icons/cancel-icon.js +1 -4
- package/dist/components/icon/icons/card-icon.js +1 -4
- package/dist/components/icon/icons/cart-icon.js +1 -4
- package/dist/components/icon/icons/caspeco-icon.js +4 -5
- package/dist/components/icon/icons/channels-icon.js +1 -4
- package/dist/components/icon/icons/chart-icon.js +1 -4
- package/dist/components/icon/icons/chart-line-icon.js +1 -4
- package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
- package/dist/components/icon/icons/chart-pie-icon.js +1 -4
- package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
- package/dist/components/icon/icons/check-icon.js +1 -4
- package/dist/components/icon/icons/checkbox-icon.js +1 -4
- package/dist/components/icon/icons/chevron-left-icon.js +1 -4
- package/dist/components/icon/icons/chevron-right-icon.js +1 -4
- package/dist/components/icon/icons/child-icon.js +1 -4
- package/dist/components/icon/icons/circle-info-icon.js +1 -4
- package/dist/components/icon/icons/circle-parking-icon.js +1 -4
- package/dist/components/icon/icons/circle-question-icon.js +1 -4
- package/dist/components/icon/icons/circle-select-icon.js +1 -4
- package/dist/components/icon/icons/circle-success-icon.js +1 -4
- package/dist/components/icon/icons/circle-user-icon.js +1 -4
- package/dist/components/icon/icons/clear-icon.js +1 -4
- package/dist/components/icon/icons/close-icon.js +1 -4
- package/dist/components/icon/icons/closed-icon.js +1 -4
- package/dist/components/icon/icons/collapse-icon.js +1 -4
- package/dist/components/icon/icons/color-icon.js +1 -4
- package/dist/components/icon/icons/columns-icon.js +1 -4
- package/dist/components/icon/icons/comment-add-icon.js +1 -4
- package/dist/components/icon/icons/comment-icon.js +1 -4
- package/dist/components/icon/icons/cookies-icon.js +1 -4
- package/dist/components/icon/icons/copy-icon.js +1 -4
- package/dist/components/icon/icons/date-icon.js +1 -4
- package/dist/components/icon/icons/decrease-icon.js +1 -4
- package/dist/components/icon/icons/delete-icon.js +1 -4
- package/dist/components/icon/icons/deliverect-icon.js +1 -4
- package/dist/components/icon/icons/delivery-icon.js +1 -4
- package/dist/components/icon/icons/description-icon.js +1 -4
- package/dist/components/icon/icons/discount-icon.js +1 -4
- package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
- package/dist/components/icon/icons/door-closed-icon.js +1 -4
- package/dist/components/icon/icons/door-open-icon.js +1 -4
- package/dist/components/icon/icons/down-icon.js +1 -4
- package/dist/components/icon/icons/eat-in-icon.js +1 -4
- package/dist/components/icon/icons/edit-icon.js +1 -4
- package/dist/components/icon/icons/email-icon.js +1 -4
- package/dist/components/icon/icons/error-icon.js +1 -4
- package/dist/components/icon/icons/expand-icon.js +1 -4
- package/dist/components/icon/icons/export-icon.js +1 -4
- package/dist/components/icon/icons/extract-icon.js +1 -4
- package/dist/components/icon/icons/facebook-icon.js +1 -4
- package/dist/components/icon/icons/failed-print-icon.js +1 -4
- package/dist/components/icon/icons/file-icon.js +1 -4
- package/dist/components/icon/icons/filter-icon.js +1 -4
- package/dist/components/icon/icons/folder-icon.js +1 -4
- package/dist/components/icon/icons/foodora-icon.js +1 -4
- package/dist/components/icon/icons/forward-icon.js +1 -4
- package/dist/components/icon/icons/glovo-icon.js +4 -5
- package/dist/components/icon/icons/goal-icon.js +1 -4
- package/dist/components/icon/icons/google-icon.js +1 -4
- package/dist/components/icon/icons/grip-more-icon.js +1 -4
- package/dist/components/icon/icons/hash-icon.js +1 -4
- package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
- package/dist/components/icon/icons/hide-icon.js +1 -4
- package/dist/components/icon/icons/history-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
- package/dist/components/icon/icons/image-icon.js +1 -4
- package/dist/components/icon/icons/import-icon.js +1 -4
- package/dist/components/icon/icons/inbox-icon.js +1 -4
- package/dist/components/icon/icons/increase-icon.js +1 -4
- package/dist/components/icon/icons/indeterminate-icon.js +1 -4
- package/dist/components/icon/icons/info-icon.js +1 -4
- package/dist/components/icon/icons/inheritance-icon.js +1 -4
- package/dist/components/icon/icons/just-eat-icon.js +1 -4
- package/dist/components/icon/icons/karma-icon.js +1 -4
- package/dist/components/icon/icons/key-command-icon.js +1 -4
- package/dist/components/icon/icons/key-enter-icon.js +1 -4
- package/dist/components/icon/icons/key-icon.js +1 -4
- package/dist/components/icon/icons/key-option-icon.js +1 -4
- package/dist/components/icon/icons/language-icon.js +1 -4
- package/dist/components/icon/icons/link-broken-icon.js +1 -4
- package/dist/components/icon/icons/link-external-icon.js +1 -4
- package/dist/components/icon/icons/link-icon.js +1 -4
- package/dist/components/icon/icons/list-ol-icon.js +1 -4
- package/dist/components/icon/icons/list-ul-icon.js +1 -4
- package/dist/components/icon/icons/loading-icon.js +1 -4
- package/dist/components/icon/icons/location-icon.js +1 -4
- package/dist/components/icon/icons/lock-icon.js +1 -4
- package/dist/components/icon/icons/log-in-icon.js +1 -4
- package/dist/components/icon/icons/log-out-icon.js +1 -4
- package/dist/components/icon/icons/map-icon.js +1 -4
- package/dist/components/icon/icons/maximize-icon.js +1 -4
- package/dist/components/icon/icons/members-icon.js +1 -4
- package/dist/components/icon/icons/menu-hide-icon.js +1 -4
- package/dist/components/icon/icons/menu-icon.js +1 -4
- package/dist/components/icon/icons/menu-show-icon.js +1 -4
- package/dist/components/icon/icons/message-add-icon.js +1 -4
- package/dist/components/icon/icons/message-icon.js +1 -4
- package/dist/components/icon/icons/message-lines-icon.js +1 -4
- package/dist/components/icon/icons/minimize-icon.js +1 -4
- package/dist/components/icon/icons/minimize-window-icon.js +1 -4
- package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
- package/dist/components/icon/icons/module-accounting-icon.js +1 -4
- package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
- package/dist/components/icon/icons/module-app-icon.js +1 -4
- package/dist/components/icon/icons/module-articles-icon.js +1 -4
- package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
- package/dist/components/icon/icons/module-booking-icon.js +1 -4
- package/dist/components/icon/icons/module-cai-icon.js +1 -4
- package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
- package/dist/components/icon/icons/module-cashier-icon.js +1 -4
- package/dist/components/icon/icons/module-communication-icon.js +1 -4
- package/dist/components/icon/icons/module-copilot-icon.js +1 -4
- package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
- package/dist/components/icon/icons/module-document-icon.js +1 -4
- package/dist/components/icon/icons/module-employees-icon.js +1 -4
- package/dist/components/icon/icons/module-feed-icon.js +1 -4
- package/dist/components/icon/icons/module-history-icon.js +1 -4
- package/dist/components/icon/icons/module-home-icon.js +1 -4
- package/dist/components/icon/icons/module-insights-icon.js +1 -4
- package/dist/components/icon/icons/module-kds-icon.js +1 -4
- package/dist/components/icon/icons/module-members-icon.js +1 -4
- package/dist/components/icon/icons/module-menus-icon.js +1 -4
- package/dist/components/icon/icons/module-my-city-icon.js +1 -4
- package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
- package/dist/components/icon/icons/module-online-order-icon.js +1 -4
- package/dist/components/icon/icons/module-organisation-icon.js +1 -4
- package/dist/components/icon/icons/module-pos-icon.js +1 -4
- package/dist/components/icon/icons/module-pulse-icon.js +1 -4
- package/dist/components/icon/icons/module-result-icon.js +1 -4
- package/dist/components/icon/icons/module-salary-icon.js +1 -4
- package/dist/components/icon/icons/module-schedule-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-icon.js +1 -4
- package/dist/components/icon/icons/module-support-icon.js +1 -4
- package/dist/components/icon/icons/module-survey-icon.js +1 -4
- package/dist/components/icon/icons/module-table-map-icon.js +4 -5
- package/dist/components/icon/icons/module-tablet-icon.js +1 -4
- package/dist/components/icon/icons/module-time-icon.js +1 -4
- package/dist/components/icon/icons/module-timeline-icon.js +1 -4
- package/dist/components/icon/icons/module-tip-icon.js +1 -4
- package/dist/components/icon/icons/module-to-do-icon.js +1 -4
- package/dist/components/icon/icons/module-tools-icon.js +1 -4
- package/dist/components/icon/icons/module-top-list-icon.js +1 -4
- package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
- package/dist/components/icon/icons/module-web-icon.js +1 -4
- package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
- package/dist/components/icon/icons/more-vertical-icon.js +1 -4
- package/dist/components/icon/icons/nfc-icon.js +1 -4
- package/dist/components/icon/icons/no-cart-icon.js +1 -4
- package/dist/components/icon/icons/note-icon.js +1 -4
- package/dist/components/icon/icons/number-icon.js +4 -5
- package/dist/components/icon/icons/open-modal-icon.js +1 -4
- package/dist/components/icon/icons/parking-icon.js +1 -4
- package/dist/components/icon/icons/party-horn-icon.js +1 -4
- package/dist/components/icon/icons/pause-icon.js +1 -4
- package/dist/components/icon/icons/payment-card-icon.js +1 -4
- package/dist/components/icon/icons/payment-cash-icon.js +1 -4
- package/dist/components/icon/icons/payment-generic-icon.js +1 -4
- package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
- package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
- package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
- package/dist/components/icon/icons/percentage-icon.js +1 -4
- package/dist/components/icon/icons/phone-icon.js +1 -4
- package/dist/components/icon/icons/pin-icon.js +1 -4
- package/dist/components/icon/icons/pin-map-icon.js +1 -4
- package/dist/components/icon/icons/play-icon.js +1 -4
- package/dist/components/icon/icons/preview-icon.js +1 -4
- package/dist/components/icon/icons/print-icon.js +1 -4
- package/dist/components/icon/icons/privacy-icon.js +1 -4
- package/dist/components/icon/icons/product-admin-icon.js +1 -4
- package/dist/components/icon/icons/product-analytics-icon.js +1 -4
- package/dist/components/icon/icons/product-booking-icon.js +1 -4
- package/dist/components/icon/icons/product-checkout-icon.js +1 -4
- package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
- package/dist/components/icon/icons/product-staff-icon.js +1 -4
- package/dist/components/icon/icons/puck-icon.js +1 -4
- package/dist/components/icon/icons/qr-code-icon.js +1 -4
- package/dist/components/icon/icons/question-icon.js +1 -4
- package/dist/components/icon/icons/radio-icon.js +1 -4
- package/dist/components/icon/icons/receipt-icon.js +1 -4
- package/dist/components/icon/icons/redo-icon.js +1 -4
- package/dist/components/icon/icons/refund-icon.js +1 -4
- package/dist/components/icon/icons/remove-icon.js +1 -4
- package/dist/components/icon/icons/replace-icon.js +1 -4
- package/dist/components/icon/icons/schedule-icon.js +1 -4
- package/dist/components/icon/icons/search-icon.js +1 -4
- package/dist/components/icon/icons/select-icon.js +1 -4
- package/dist/components/icon/icons/send-icon.js +1 -4
- package/dist/components/icon/icons/share-icon.js +1 -4
- package/dist/components/icon/icons/show-icon.js +1 -4
- package/dist/components/icon/icons/shuffle-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
- package/dist/components/icon/icons/sliders-icon.js +1 -4
- package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
- package/dist/components/icon/icons/smile-icon.js +1 -4
- package/dist/components/icon/icons/sort-asc-icon.js +1 -4
- package/dist/components/icon/icons/sort-desc-icon.js +1 -4
- package/dist/components/icon/icons/split-icon.js +1 -4
- package/dist/components/icon/icons/status-icon.js +1 -4
- package/dist/components/icon/icons/stop-icon.js +1 -4
- package/dist/components/icon/icons/submenu-icon.js +1 -4
- package/dist/components/icon/icons/success-icon.js +1 -4
- package/dist/components/icon/icons/swap-icon.js +1 -4
- package/dist/components/icon/icons/swatch-icon.js +1 -4
- package/dist/components/icon/icons/sweat-icon.js +1 -4
- package/dist/components/icon/icons/table-icon.js +1 -4
- package/dist/components/icon/icons/table-map-icon.js +1 -4
- package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
- package/dist/components/icon/icons/take-away-icon.js +1 -4
- package/dist/components/icon/icons/talk-icon.js +1 -4
- package/dist/components/icon/icons/thumbtack-icon.js +1 -4
- package/dist/components/icon/icons/time-icon.js +1 -4
- package/dist/components/icon/icons/timeline-icon.js +1 -4
- package/dist/components/icon/icons/tip-icon.js +1 -4
- package/dist/components/icon/icons/title-icon.js +1 -4
- package/dist/components/icon/icons/translate-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
- package/dist/components/icon/icons/trend-down-icon.js +1 -4
- package/dist/components/icon/icons/trend-up-icon.js +1 -4
- package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
- package/dist/components/icon/icons/trivec-icon.js +4 -5
- package/dist/components/icon/icons/uber-eats-icon.js +1 -4
- package/dist/components/icon/icons/undo-icon.js +1 -4
- package/dist/components/icon/icons/unlock-icon.js +1 -4
- package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
- package/dist/components/icon/icons/up-icon.js +1 -4
- package/dist/components/icon/icons/user-group-icon.js +1 -4
- package/dist/components/icon/icons/user-icon.js +1 -4
- package/dist/components/icon/icons/user-permissions-icon.js +1 -4
- package/dist/components/icon/icons/user-wait-icon.js +1 -4
- package/dist/components/icon/icons/users-icon.js +1 -4
- package/dist/components/icon/icons/version-control-icon.js +1 -4
- package/dist/components/icon/icons/volume-high-icon.js +1 -4
- package/dist/components/icon/icons/volume-icon.js +1 -4
- package/dist/components/icon/icons/volume-low-icon.js +1 -4
- package/dist/components/icon/icons/volume-off-icon.js +1 -4
- package/dist/components/icon/icons/warning-icon.js +1 -4
- package/dist/components/icon/icons/waste-icon.js +1 -4
- package/dist/components/icon/icons/wifi-icon.js +1 -4
- package/dist/components/icon/icons/wifi-off-icon.js +1 -4
- package/dist/components/icon/icons/wolt-icon.js +1 -4
- package/dist/components/icon/icons/wrap-content-icon.js +1 -4
- package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
- package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +38 -32
- package/dist/components/image/image.composition.d.ts +1 -1
- package/dist/components/image/image.composition.d.ts.map +1 -1
- package/dist/components/image/image.d.ts +1 -1
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/image/image.js +12 -5
- package/dist/components/image-upload/image-cropper.d.ts +2 -1
- package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.js +38 -40
- package/dist/components/image-upload/image-cropper.js +63 -73
- package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
- package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +102 -72
- package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
- package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-icons.js +19 -26
- package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +54 -95
- package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
- package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.d.ts +1 -1
- package/dist/components/image-upload/image-upload.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.js +69 -78
- package/dist/components/input/input.composition.d.ts +9 -9
- package/dist/components/input/input.composition.d.ts.map +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +54 -58
- package/dist/components/input/types.d.ts +5 -4
- package/dist/components/input/types.d.ts.map +1 -1
- package/dist/components/link/link.composition.d.ts +2 -2
- package/dist/components/link/link.composition.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/link.js +11 -3
- package/dist/components/list/list-item.d.ts +1 -1
- package/dist/components/list/list-item.d.ts.map +1 -1
- package/dist/components/list/list-item.js +13 -5
- package/dist/components/list/list.composition.d.ts +1 -1
- package/dist/components/list/list.composition.d.ts.map +1 -1
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +17 -11
- package/dist/components/menu/menu-box-button.js +16 -8
- package/dist/components/menu/menu-button.d.ts +1 -1
- package/dist/components/menu/menu-button.d.ts.map +1 -1
- package/dist/components/menu/menu-button.js +15 -5
- package/dist/components/menu/menu-divider.d.ts +2 -1
- package/dist/components/menu/menu-divider.d.ts.map +1 -1
- package/dist/components/menu/menu-divider.js +21 -12
- package/dist/components/menu/menu-group.d.ts +3 -2
- package/dist/components/menu/menu-group.d.ts.map +1 -1
- package/dist/components/menu/menu-group.js +131 -129
- package/dist/components/menu/menu-icon-button.d.ts +1 -1
- package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
- package/dist/components/menu/menu-icon-button.js +10 -5
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item.js +43 -32
- package/dist/components/menu/menu-list.d.ts +1 -1
- package/dist/components/menu/menu-list.d.ts.map +1 -1
- package/dist/components/menu/menu-list.js +14 -4
- package/dist/components/menu/menu-recipe.js +6 -2
- package/dist/components/menu/menu.composition.d.ts +10 -10
- package/dist/components/menu/menu.composition.d.ts.map +1 -1
- package/dist/components/menu/menu.js +36 -19
- package/dist/components/message/message.composition.d.ts +1 -1
- package/dist/components/message/message.composition.d.ts.map +1 -1
- package/dist/components/message/message.d.ts +1 -1
- package/dist/components/message/message.d.ts.map +1 -1
- package/dist/components/message/message.js +36 -58
- package/dist/components/modal/modal-body.d.ts +1 -1
- package/dist/components/modal/modal-body.d.ts.map +1 -1
- package/dist/components/modal/modal-body.js +15 -7
- package/dist/components/modal/modal-close-button.d.ts +1 -1
- package/dist/components/modal/modal-close-button.d.ts.map +1 -1
- package/dist/components/modal/modal-close-button.js +16 -16
- package/dist/components/modal/modal-footer.d.ts +1 -1
- package/dist/components/modal/modal-footer.d.ts.map +1 -1
- package/dist/components/modal/modal-footer.js +29 -18
- package/dist/components/modal/modal-header.d.ts +1 -1
- package/dist/components/modal/modal-header.d.ts.map +1 -1
- package/dist/components/modal/modal-header.js +15 -5
- package/dist/components/modal/modal.composition.d.ts +11 -11
- package/dist/components/modal/modal.composition.d.ts.map +1 -1
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +53 -43
- package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
- package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list-item.js +54 -67
- package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
- package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.js +15 -5
- package/dist/components/paginator/paginator.composition.d.ts +2 -2
- package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
- package/dist/components/paginator/paginator.d.ts +1 -1
- package/dist/components/paginator/paginator.d.ts.map +1 -1
- package/dist/components/paginator/paginator.js +67 -51
- package/dist/components/quantity-button/minus-button.d.ts +1 -1
- package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/minus-button.js +14 -16
- package/dist/components/quantity-button/plus-button.d.ts +1 -1
- package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/plus-button.js +14 -16
- package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
- package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.js +38 -74
- package/dist/components/radio/check-icon.js +1 -6
- package/dist/components/radio/radio-group-context.js +2 -2
- package/dist/components/radio/radio-group.composition.d.ts +5 -5
- package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
- package/dist/components/radio/radio-group.d.ts +1 -1
- package/dist/components/radio/radio-group.d.ts.map +1 -1
- package/dist/components/radio/radio-group.js +26 -33
- package/dist/components/radio/radio.composition.d.ts +2 -2
- package/dist/components/radio/radio.composition.d.ts.map +1 -1
- package/dist/components/radio/radio.js +53 -49
- package/dist/components/radio-card/radio-card-group.d.ts +1 -1
- package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card-group.js +23 -31
- package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
- package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card.js +64 -81
- package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
- package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/boolean-control.js +50 -30
- package/dist/components/rich-text-editor/extensions.js +15 -17
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
- package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
- package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control-item.js +23 -25
- package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
- package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +38 -38
- package/dist/components/segmented-control/types.d.ts +2 -1
- package/dist/components/segmented-control/types.d.ts.map +1 -1
- package/dist/components/select/select.composition.d.ts +3 -3
- package/dist/components/select/select.composition.d.ts.map +1 -1
- package/dist/components/select/select.js +27 -12
- package/dist/components/skeleton/skeleton-text.d.ts +1 -1
- package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton-text.js +17 -12
- package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
- package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +18 -13
- package/dist/components/spinner/spinner.composition.d.ts +2 -2
- package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +26 -49
- package/dist/components/stack/stack.composition.d.ts +3 -3
- package/dist/components/stack/stack.composition.d.ts.map +1 -1
- package/dist/components/stack/stack.js +17 -7
- package/dist/components/stepper/check-icon.js +1 -6
- package/dist/components/stepper/step-context.d.ts +2 -1
- package/dist/components/stepper/step-context.d.ts.map +1 -1
- package/dist/components/stepper/step.d.ts +1 -1
- package/dist/components/stepper/step.d.ts.map +1 -1
- package/dist/components/stepper/step.js +89 -69
- package/dist/components/stepper/stepper.composition.d.ts +6 -6
- package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
- package/dist/components/stepper/stepper.d.ts +1 -1
- package/dist/components/stepper/stepper.d.ts.map +1 -1
- package/dist/components/stepper/stepper.js +41 -21
- package/dist/components/stepper/times-icon.js +1 -6
- package/dist/components/stepper/types.d.ts +2 -1
- package/dist/components/stepper/types.d.ts.map +1 -1
- package/dist/components/switch/switch.composition.d.ts +2 -2
- package/dist/components/switch/switch.composition.d.ts.map +1 -1
- package/dist/components/switch/switch.js +29 -33
- package/dist/components/table/table-cell.d.ts +1 -1
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +67 -92
- package/dist/components/table/table-content.d.ts +1 -1
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +26 -76
- package/dist/components/table/table-context-provider.d.ts +1 -1
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +28 -49
- package/dist/components/table/table-context.d.ts.map +1 -1
- package/dist/components/table/table-filter.d.ts +1 -1
- package/dist/components/table/table-filter.d.ts.map +1 -1
- package/dist/components/table/table-filter.js +68 -96
- package/dist/components/table/table-header-dropdown.d.ts +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +65 -113
- package/dist/components/table/table-header-row.d.ts +1 -1
- package/dist/components/table/table-header-row.d.ts.map +1 -1
- package/dist/components/table/table-header-row.js +53 -106
- package/dist/components/table/table-recipe.js +6 -2
- package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
- package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
- package/dist/components/table/table-row-expand-toggle-button.js +26 -23
- package/dist/components/table/table-row.d.ts +1 -1
- package/dist/components/table/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row.js +8 -26
- package/dist/components/table/table-toolbar-actions.d.ts +1 -1
- package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-actions.js +4 -10
- package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
- package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.d.ts +1 -1
- package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.js +6 -11
- package/dist/components/table/table-toolbar-settings.d.ts +1 -1
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +75 -144
- package/dist/components/table/table-toolbar.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +28 -34
- package/dist/components/table/table.composition.d.ts +5 -4
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +1 -34
- package/dist/components/tabs/tab-list.d.ts +1 -1
- package/dist/components/tabs/tab-list.d.ts.map +1 -1
- package/dist/components/tabs/tab-list.js +15 -5
- package/dist/components/tabs/tab-panel.d.ts +1 -1
- package/dist/components/tabs/tab-panel.d.ts.map +1 -1
- package/dist/components/tabs/tab-panel.js +13 -5
- package/dist/components/tabs/tab-panels.d.ts +1 -1
- package/dist/components/tabs/tab-panels.d.ts.map +1 -1
- package/dist/components/tabs/tab-panels.js +12 -4
- package/dist/components/tabs/tab-with-image.d.ts +1 -1
- package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
- package/dist/components/tabs/tab-with-image.js +51 -32
- package/dist/components/tabs/tab.d.ts +1 -1
- package/dist/components/tabs/tab.d.ts.map +1 -1
- package/dist/components/tabs/tab.js +21 -16
- package/dist/components/tabs/tabs-recipe.js +3 -1
- package/dist/components/tabs/tabs.composition.d.ts +6 -6
- package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tabs/tabs.js +22 -16
- package/dist/components/tag/tag-recipe.js +6 -1
- package/dist/components/tag/tag.composition.d.ts +4 -4
- package/dist/components/tag/tag.composition.d.ts.map +1 -1
- package/dist/components/tag/tag.d.ts +20 -20
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.js +41 -35
- package/dist/components/tag/types.d.ts +3 -2
- package/dist/components/tag/types.d.ts.map +1 -1
- package/dist/components/text/text.composition.d.ts +4 -4
- package/dist/components/text/text.composition.d.ts.map +1 -1
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +25 -35
- package/dist/components/textarea/textarea.composition.d.ts +3 -3
- package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +16 -16
- package/dist/components/toaster/toast-store.d.ts +2 -1
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toast-store.js +19 -12
- package/dist/components/toaster/toaster.composition.d.ts +6 -6
- package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
- package/dist/components/toaster/toaster.d.ts +1 -1
- package/dist/components/toaster/toaster.d.ts.map +1 -1
- package/dist/components/toaster/toaster.js +33 -18
- package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
- package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.js +23 -17
- package/dist/components/toggle-button/use-button-children.js +33 -24
- package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
- package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +44 -32
- package/dist/hooks/use-color-mode.js +20 -11
- package/dist/hooks/use-disclosure.js +8 -2
- package/dist/hooks/use-remove-attributes.js +20 -12
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/theme/theme-provider-context.composition.d.ts +9 -9
- package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
- package/dist/theme/theme-provider.d.ts +1 -1
- package/dist/theme/theme-provider.d.ts.map +1 -1
- package/dist/theme/theme-provider.js +32 -28
- package/dist/theme/theme.js +6 -2
- package/package.json +7 -6
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
1
|
+
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../_virtual/compiler-runtime.js";
|
|
2
3
|
import { Flex as f } from "@chakra-ui/react";
|
|
3
|
-
import { Box as
|
|
4
|
-
import { Highlight as
|
|
5
|
-
import { Tag as
|
|
6
|
-
import { ThemeSpaceVariable as
|
|
7
|
-
function
|
|
8
|
-
const
|
|
9
|
-
|
|
4
|
+
import { Box as a } from "../box/box.js";
|
|
5
|
+
import { Highlight as m } from "../highlight/highlight.js";
|
|
6
|
+
import { Tag as x } from "../tag/tag.js";
|
|
7
|
+
import { ThemeSpaceVariable as w } from "../../theme/theme-types.js";
|
|
8
|
+
function j(s) {
|
|
9
|
+
const e = h.c(8), {
|
|
10
|
+
item: r,
|
|
11
|
+
asPlainText: o,
|
|
12
|
+
isDeleting: d,
|
|
13
|
+
highlightQuery: l
|
|
14
|
+
} = s, n = d ? "primary" : r.variant ?? "neutral", t = d || (r.solid ?? !1);
|
|
15
|
+
let p;
|
|
16
|
+
return e[0] !== o || e[1] !== l || e[2] !== r.append || e[3] !== r.label || e[4] !== r.prepend || e[5] !== t || e[6] !== n ? (p = o ? /* @__PURE__ */ c(f, { gap: w.XSmall, overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: [
|
|
10
17
|
r.prepend,
|
|
11
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ i(a, { children: /* @__PURE__ */ i(m, { query: l ?? "", children: r.label }) }),
|
|
12
19
|
r.append
|
|
13
|
-
] }) : /* @__PURE__ */
|
|
20
|
+
] }) : /* @__PURE__ */ i(a, { overflow: "hidden", children: /* @__PURE__ */ i(x, { variant: n, solid: t, prepend: r.prepend, append: r.append, children: /* @__PURE__ */ i(a, { display: "block", overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", children: /* @__PURE__ */ i(m, { query: l ?? "", children: r.label }) }) }) }), e[0] = o, e[1] = l, e[2] = r.append, e[3] = r.label, e[4] = r.prepend, e[5] = t, e[6] = n, e[7] = p) : p = e[7], p;
|
|
14
21
|
}
|
|
15
22
|
export {
|
|
16
|
-
|
|
23
|
+
j as ComboboxItem
|
|
17
24
|
};
|
|
@@ -3,7 +3,7 @@ type CheckboxOrRadioButtonProps = {
|
|
|
3
3
|
isSingleSelect: boolean;
|
|
4
4
|
isChecked: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare function CheckboxOrRadioButton({ isSingleSelect, isChecked }: CheckboxOrRadioButtonProps): import("react
|
|
7
|
-
export declare function ComboboxMenu(props: ComboboxInnerProps): import("react
|
|
6
|
+
export declare function CheckboxOrRadioButton({ isSingleSelect, isChecked }: CheckboxOrRadioButtonProps): import("react").JSX.Element;
|
|
7
|
+
export declare function ComboboxMenu(props: ComboboxInnerProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=combobox-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox-menu.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-menu.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACX,kBAAkB,EAIlB,MAAM,SAAS,CAAC;AAyCjB,KAAK,0BAA0B,GAAG;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AAElF,wBAAgB,qBAAqB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"combobox-menu.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox-menu.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACX,kBAAkB,EAIlB,MAAM,SAAS,CAAC;AAyCjB,KAAK,0BAA0B,GAAG;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC;AAElF,wBAAgB,qBAAqB,CAAC,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,0BAA0B,+BAQ9F;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,+BAoGrD"}
|
|
@@ -1,294 +1,195 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { Text as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as s, jsxs as w, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { c as z } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Flex as V, Box as T } from "@chakra-ui/react";
|
|
4
|
+
import { autoUpdate as G, computePosition as Q, flip as U } from "../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
5
|
+
import { useState as Y, useEffect as q, Fragment as A } from "react";
|
|
6
|
+
import { ComboboxItem as _ } from "./combobox-item.js";
|
|
7
|
+
import { interpolate as J } from "./translations.js";
|
|
8
|
+
import { Text as D } from "../text/text.js";
|
|
9
|
+
import { ThemeColorVariable as x, ThemeSpaceVariable as m, ThemeFontSizeVariable as K, ThemeBorderVariable as Z, ThemeShadowVariable as N, ThemeRadiusVariable as R, ThemeIconSizeVariable as X } from "../../theme/theme-types.js";
|
|
10
|
+
import { BackIcon as ee } from "../icon/icons/back-icon.js";
|
|
11
|
+
import { ForwardIcon as te } from "../icon/icons/forward-icon.js";
|
|
12
|
+
import { Checkbox as E } from "../checkbox/checkbox.js";
|
|
13
|
+
import { RadioGroup as ne } from "../radio/radio-group.js";
|
|
14
|
+
import { Radio as oe } from "../radio/radio.js";
|
|
15
|
+
const re = (i, e, c, o, a) => {
|
|
16
|
+
const t = z.c(8);
|
|
17
|
+
let h;
|
|
18
|
+
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
|
|
16
19
|
transform: "translate(0, 0)",
|
|
17
20
|
minWidth: 0
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
}, t[0] = h) : h = t[0];
|
|
22
|
+
const [g, f] = Y(h);
|
|
23
|
+
let p, k;
|
|
24
|
+
return t[1] !== c || t[2] !== i || t[3] !== a || t[4] !== o || t[5] !== e ? (p = () => {
|
|
25
|
+
if (!i.current || !e.current || !c)
|
|
26
|
+
return ce;
|
|
27
|
+
const $ = async () => {
|
|
28
|
+
if (i.current && e.current && c) {
|
|
29
|
+
const {
|
|
30
|
+
width: n
|
|
31
|
+
} = i.current.getBoundingClientRect(), {
|
|
32
|
+
x: r,
|
|
33
|
+
y: l
|
|
34
|
+
} = await Q(i.current, e.current, {
|
|
25
35
|
placement: a || "bottom-start",
|
|
26
|
-
middleware: [
|
|
36
|
+
middleware: [U()]
|
|
27
37
|
});
|
|
28
|
-
|
|
29
|
-
transform: `translate(${
|
|
30
|
-
minWidth:
|
|
38
|
+
f({
|
|
39
|
+
transform: `translate(${r}px, ${l}px)`,
|
|
40
|
+
minWidth: o || n
|
|
31
41
|
});
|
|
32
42
|
}
|
|
33
|
-
},
|
|
34
|
-
|
|
43
|
+
}, d = () => {
|
|
44
|
+
$().catch(console.error);
|
|
35
45
|
};
|
|
36
|
-
return
|
|
37
|
-
}, [
|
|
46
|
+
return G(i.current, e.current, d);
|
|
47
|
+
}, k = [i, e, c, a, o], t[1] = c, t[2] = i, t[3] = a, t[4] = o, t[5] = e, t[6] = p, t[7] = k) : (p = t[6], k = t[7]), q(p, k), g;
|
|
38
48
|
};
|
|
39
|
-
function
|
|
40
|
-
|
|
49
|
+
function j(i) {
|
|
50
|
+
const e = z.c(3), {
|
|
51
|
+
isSingleSelect: c,
|
|
52
|
+
isChecked: o
|
|
53
|
+
} = i;
|
|
54
|
+
let a;
|
|
55
|
+
return e[0] !== o || e[1] !== c ? (a = c ? /* @__PURE__ */ s(ne, { value: o ? "true" : "false", children: /* @__PURE__ */ s(oe, { value: "true" }) }) : /* @__PURE__ */ s(E, { isChecked: o }), e[0] = o, e[1] = c, e[2] = a) : a = e[2], a;
|
|
41
56
|
}
|
|
42
|
-
function
|
|
43
|
-
const {
|
|
44
|
-
inputValue:
|
|
45
|
-
displayItems:
|
|
46
|
-
highlightState:
|
|
47
|
-
openState:
|
|
48
|
-
isSingleSelect:
|
|
49
|
-
isSearching:
|
|
50
|
-
isHidingItems:
|
|
51
|
-
popoverWidth:
|
|
52
|
-
popoverPlacement:
|
|
53
|
-
parentRef:
|
|
54
|
-
popupRef:
|
|
55
|
-
footerContent:
|
|
56
|
-
translation:
|
|
57
|
-
folderStyle:
|
|
58
|
-
} =
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
a.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
function we(i) {
|
|
58
|
+
const e = z.c(32), {
|
|
59
|
+
inputValue: c,
|
|
60
|
+
displayItems: o,
|
|
61
|
+
highlightState: a,
|
|
62
|
+
openState: t,
|
|
63
|
+
isSingleSelect: h,
|
|
64
|
+
isSearching: g,
|
|
65
|
+
isHidingItems: f,
|
|
66
|
+
popoverWidth: p,
|
|
67
|
+
popoverPlacement: k,
|
|
68
|
+
parentRef: $,
|
|
69
|
+
popupRef: d,
|
|
70
|
+
footerContent: n,
|
|
71
|
+
translation: r,
|
|
72
|
+
folderStyle: l
|
|
73
|
+
} = i, O = re($, d, t.isOpen, p, k);
|
|
74
|
+
let C;
|
|
75
|
+
e[0] !== a ? (C = (H) => {
|
|
76
|
+
a.set(H);
|
|
77
|
+
}, e[0] = a, e[1] = C) : C = e[1];
|
|
78
|
+
const y = C, I = t.isOpen ? "block" : "none";
|
|
79
|
+
let S;
|
|
80
|
+
e[2] !== h || e[3] !== t ? (S = (H) => {
|
|
81
|
+
H.preventDefault(), H.stopPropagation(), h && t.close();
|
|
82
|
+
}, e[2] = h, e[3] = t, e[4] = S) : S = e[4];
|
|
83
|
+
const b = !h;
|
|
84
|
+
let v;
|
|
85
|
+
e[5] !== o || e[6] !== c || e[7] !== g || e[8] !== r ? (v = g && o.length === 0 && c.length > 0 && /* @__PURE__ */ s(D, { px: m.Small, color: x.OnSurfaceSubdued, children: `${r.noMatchFor} "${c}"` }), e[5] = o, e[6] = c, e[7] = g, e[8] = r, e[9] = v) : v = e[9];
|
|
86
|
+
let P;
|
|
87
|
+
e[10] !== l || e[11] !== y || e[12] !== i ? (P = l === "stacked" ? /* @__PURE__ */ s(ie, { ...i, onHover: y }) : /* @__PURE__ */ s(le, { ...i, onHover: y }), e[10] = l, e[11] = y, e[12] = i, e[13] = P) : P = e[13];
|
|
88
|
+
let u;
|
|
89
|
+
e[14] !== o || e[15] !== f || e[16] !== r ? (u = f && /* @__PURE__ */ s(D, { px: m.Small, py: m.Small, color: x.OnSurfaceSubdued, fontSize: K.Small, children: J(r.showMaxItems, {
|
|
90
|
+
count: o.length
|
|
91
|
+
}) }), e[14] = o, e[15] = f, e[16] = r, e[17] = u) : u = e[17];
|
|
92
|
+
let B;
|
|
93
|
+
e[18] !== b || e[19] !== v || e[20] !== P || e[21] !== u ? (B = /* @__PURE__ */ w(V, { as: "ul", flexDirection: "column", maxHeight: "300px", overflowY: "auto", overflowX: "hidden", role: "listbox", "aria-multiselectable": b, padding: `${m.Small} 0`, children: [
|
|
68
94
|
v,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
overflow: "hidden",
|
|
80
|
-
style: o,
|
|
81
|
-
ref: u,
|
|
82
|
-
maxW: "90%",
|
|
83
|
-
onClick: (m) => {
|
|
84
|
-
m.preventDefault(), m.stopPropagation(), b && a.close();
|
|
85
|
-
},
|
|
86
|
-
children: [
|
|
87
|
-
/* @__PURE__ */ g(
|
|
88
|
-
y,
|
|
89
|
-
{
|
|
90
|
-
as: "ul",
|
|
91
|
-
flexDirection: "column",
|
|
92
|
-
maxHeight: "300px",
|
|
93
|
-
overflowY: "auto",
|
|
94
|
-
overflowX: "hidden",
|
|
95
|
-
role: "listbox",
|
|
96
|
-
"aria-multiselectable": !b,
|
|
97
|
-
padding: `${c.Small} 0`,
|
|
98
|
-
children: [
|
|
99
|
-
x && s.length === 0 && t.length > 0 && /* @__PURE__ */ r(
|
|
100
|
-
V,
|
|
101
|
-
{
|
|
102
|
-
px: c.Small,
|
|
103
|
-
color: d.OnSurfaceSubdued,
|
|
104
|
-
children: `${e.noMatchFor} "${t}"`
|
|
105
|
-
}
|
|
106
|
-
),
|
|
107
|
-
i === "stacked" ? /* @__PURE__ */ r(oe, { ...n, onHover: C }) : /* @__PURE__ */ r(te, { ...n, onHover: C }),
|
|
108
|
-
k && /* @__PURE__ */ r(
|
|
109
|
-
V,
|
|
110
|
-
{
|
|
111
|
-
px: c.Small,
|
|
112
|
-
py: c.Small,
|
|
113
|
-
color: d.OnSurfaceSubdued,
|
|
114
|
-
fontSize: K.Small,
|
|
115
|
-
children: Y(e.showMaxItems, {
|
|
116
|
-
count: s.length
|
|
117
|
-
})
|
|
118
|
-
}
|
|
119
|
-
)
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
),
|
|
123
|
-
l && /* @__PURE__ */ r(
|
|
124
|
-
v,
|
|
125
|
-
{
|
|
126
|
-
position: "sticky",
|
|
127
|
-
bottom: "0",
|
|
128
|
-
backgroundColor: d.Surface,
|
|
129
|
-
padding: `${c.Small} ${c.Medium}`,
|
|
130
|
-
borderTop: `${Z.XSmall} ${d.OnSurfaceBorder}`,
|
|
131
|
-
tabIndex: -1,
|
|
132
|
-
children: l
|
|
133
|
-
}
|
|
134
|
-
)
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
);
|
|
95
|
+
P,
|
|
96
|
+
u
|
|
97
|
+
] }), e[18] = b, e[19] = v, e[20] = P, e[21] = u, e[22] = B) : B = e[22];
|
|
98
|
+
let M;
|
|
99
|
+
e[23] !== n ? (M = n && /* @__PURE__ */ s(T, { position: "sticky", bottom: "0", backgroundColor: x.Surface, padding: `${m.Small} ${m.Medium}`, borderTop: `${Z.XSmall} ${x.OnSurfaceBorder}`, tabIndex: -1, children: n }), e[23] = n, e[24] = M) : M = e[24];
|
|
100
|
+
let F;
|
|
101
|
+
return e[25] !== O || e[26] !== d || e[27] !== I || e[28] !== S || e[29] !== B || e[30] !== M ? (F = /* @__PURE__ */ w(T, { display: I, inset: "0 auto auto 0", position: "fixed", zIndex: "50", visibility: "visible", backgroundColor: x.Surface, borderRadius: R.Medium, boxShadow: N.Medium, color: x.OnSurface, overflow: "hidden", style: O, ref: d, maxW: "90%", onClick: S, children: [
|
|
102
|
+
B,
|
|
103
|
+
M
|
|
104
|
+
] }), e[25] = O, e[26] = d, e[27] = I, e[28] = S, e[29] = B, e[30] = M, e[31] = F) : F = e[31], F;
|
|
138
105
|
}
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
gap: c.Medium,
|
|
155
|
-
textDecoration: "none",
|
|
156
|
-
backgroundColor: h ? d.AccentHoverAlpha : "",
|
|
157
|
-
onClick: s,
|
|
158
|
-
tabIndex: -1,
|
|
159
|
-
onMouseEnter: a,
|
|
160
|
-
"data-is-active-index": h,
|
|
161
|
-
"aria-selected": t,
|
|
162
|
-
children: n
|
|
163
|
-
}
|
|
164
|
-
), oe = ({
|
|
165
|
-
displayItems: n,
|
|
166
|
-
selectedItems: t,
|
|
167
|
-
toggleItem: s,
|
|
168
|
-
onHover: h,
|
|
106
|
+
const L = (i) => {
|
|
107
|
+
const e = z.c(7), {
|
|
108
|
+
children: c,
|
|
109
|
+
isChecked: o,
|
|
110
|
+
onClick: a,
|
|
111
|
+
isActive: t,
|
|
112
|
+
onHover: h
|
|
113
|
+
} = i, g = t ? x.AccentHoverAlpha : "";
|
|
114
|
+
let f;
|
|
115
|
+
return e[0] !== c || e[1] !== t || e[2] !== o || e[3] !== a || e[4] !== h || e[5] !== g ? (f = /* @__PURE__ */ s(V, { as: "li", role: "option", width: "100%", flexDirection: "row", justifyContent: "space-between", padding: `${m.Small} ${m.Medium}`, gap: m.Medium, textDecoration: "none", backgroundColor: g, onClick: a, tabIndex: -1, onMouseEnter: h, "data-is-active-index": t, "aria-selected": o, children: c }), e[0] = c, e[1] = t, e[2] = o, e[3] = a, e[4] = h, e[5] = g, e[6] = f) : f = e[6], f;
|
|
116
|
+
}, ie = ({
|
|
117
|
+
displayItems: i,
|
|
118
|
+
selectedItems: e,
|
|
119
|
+
toggleItem: c,
|
|
120
|
+
onHover: o,
|
|
169
121
|
parentSelectsChildren: a,
|
|
170
|
-
highlightState:
|
|
171
|
-
inputValue:
|
|
172
|
-
isSingleSelect:
|
|
122
|
+
highlightState: t,
|
|
123
|
+
inputValue: h,
|
|
124
|
+
isSingleSelect: g
|
|
173
125
|
}) => {
|
|
174
|
-
const
|
|
175
|
-
let
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
|
|
126
|
+
const f = (d, n) => d.children && d.children.length > 0 ? d.children.every((r) => f(r, n)) : n.some((r) => r.id === d.id), p = (d) => d.children && d.children.length > 0 ? d.children.some((n) => p(n)) : e.some((n) => n.id === d.id);
|
|
127
|
+
let k = 0;
|
|
128
|
+
const $ = (d, n, r = []) => d.map((l) => {
|
|
129
|
+
const O = (b) => {
|
|
130
|
+
b.stopPropagation(), b.preventDefault(), c(l);
|
|
179
131
|
};
|
|
180
|
-
|
|
181
|
-
const
|
|
182
|
-
let
|
|
183
|
-
return a &&
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
minW: c.Medium,
|
|
200
|
-
alignItems: "center",
|
|
201
|
-
my: "-0.5rem",
|
|
202
|
-
h: "2.5rem",
|
|
203
|
-
children: [
|
|
204
|
-
j && /* @__PURE__ */ r(
|
|
205
|
-
v,
|
|
206
|
-
{
|
|
207
|
-
w: "1px",
|
|
208
|
-
h: A ? "52%" : "100%",
|
|
209
|
-
backgroundColor: d.OnSurface,
|
|
210
|
-
mb: "auto"
|
|
211
|
-
}
|
|
212
|
-
),
|
|
213
|
-
f && /* @__PURE__ */ r(
|
|
214
|
-
v,
|
|
215
|
-
{
|
|
216
|
-
w: "inherit",
|
|
217
|
-
height: "1px",
|
|
218
|
-
backgroundColor: d.OnSurface,
|
|
219
|
-
mr: c.XSmall
|
|
220
|
-
}
|
|
221
|
-
)
|
|
222
|
-
]
|
|
223
|
-
},
|
|
224
|
-
`${o.id}_${O}`
|
|
225
|
-
);
|
|
226
|
-
}),
|
|
227
|
-
/* @__PURE__ */ r(z, { item: o, asPlainText: !0, highlightQuery: x })
|
|
228
|
-
] }),
|
|
229
|
-
B ? /* @__PURE__ */ r(H, { isSingleSelect: k, isChecked: $ }) : a && !k && /* @__PURE__ */ r(D, { isIndeterminate: p(o), isChecked: $ })
|
|
230
|
-
]
|
|
231
|
-
}
|
|
232
|
-
),
|
|
233
|
-
o.children && u(o.children, e, [...i, o.children.length])
|
|
234
|
-
] }, o.id);
|
|
132
|
+
r.length > 0 && (r[r.length - 1] -= 1);
|
|
133
|
+
const C = k++, y = l.children && l.children.length > 0, I = !y || l.isSelectableParent;
|
|
134
|
+
let S = n.some((b) => b.id === l.id);
|
|
135
|
+
return a && y && !l.isSelectableParent && f(l, n) && (S = !0), /* @__PURE__ */ w(A, { children: [
|
|
136
|
+
/* @__PURE__ */ w(L, { isActive: t.index === C, isChecked: S, onClick: O, onHover: () => o(C), children: [
|
|
137
|
+
/* @__PURE__ */ w(V, { alignItems: "center", whiteSpace: "nowrap", minW: 0, children: [
|
|
138
|
+
r.map((b, v, P) => {
|
|
139
|
+
const u = P.length === v + 1, B = b > 0, M = b === 0, F = B || u;
|
|
140
|
+
return /* @__PURE__ */ w(V, { w: m.Medium, minW: m.Medium, alignItems: "center", my: "-0.5rem", h: "2.5rem", children: [
|
|
141
|
+
F && /* @__PURE__ */ s(T, { w: "1px", h: M ? "52%" : "100%", backgroundColor: x.OnSurface, mb: "auto" }),
|
|
142
|
+
u && /* @__PURE__ */ s(T, { w: "inherit", height: "1px", backgroundColor: x.OnSurface, mr: m.XSmall })
|
|
143
|
+
] }, `${l.id}_${v}`);
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ s(_, { item: l, asPlainText: !0, highlightQuery: h })
|
|
146
|
+
] }),
|
|
147
|
+
I ? /* @__PURE__ */ s(j, { isSingleSelect: g, isChecked: S }) : a && !g && /* @__PURE__ */ s(E, { isIndeterminate: p(l), isChecked: S })
|
|
148
|
+
] }),
|
|
149
|
+
l.children && $(l.children, n, [...r, l.children.length])
|
|
150
|
+
] }, l.id);
|
|
235
151
|
});
|
|
236
|
-
return
|
|
237
|
-
},
|
|
238
|
-
displayItems:
|
|
239
|
-
selectedItems:
|
|
240
|
-
toggleItem:
|
|
241
|
-
onHover:
|
|
152
|
+
return $(i, e);
|
|
153
|
+
}, le = ({
|
|
154
|
+
displayItems: i,
|
|
155
|
+
selectedItems: e,
|
|
156
|
+
toggleItem: c,
|
|
157
|
+
onHover: o,
|
|
242
158
|
highlightState: a,
|
|
243
|
-
isSingleSelect:
|
|
244
|
-
subMenuState:
|
|
245
|
-
parentStrings:
|
|
246
|
-
asPlainText:
|
|
159
|
+
isSingleSelect: t,
|
|
160
|
+
subMenuState: h,
|
|
161
|
+
parentStrings: g,
|
|
162
|
+
asPlainText: f,
|
|
247
163
|
isSearching: p,
|
|
248
|
-
isReadOnly:
|
|
249
|
-
previousSelectedItems:
|
|
164
|
+
isReadOnly: k,
|
|
165
|
+
previousSelectedItems: $
|
|
250
166
|
}) => {
|
|
251
|
-
const
|
|
252
|
-
|
|
167
|
+
const d = (n, r) => {
|
|
168
|
+
n.stopPropagation(), n.preventDefault(), c(r);
|
|
253
169
|
};
|
|
254
|
-
return
|
|
255
|
-
const
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
258
|
-
] }) : /* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
/* @__PURE__ */
|
|
263
|
-
] },
|
|
264
|
-
/* @__PURE__ */
|
|
170
|
+
return i.map((n, r) => {
|
|
171
|
+
const l = e.some((u) => u.id === n.id), O = n.children?.length, C = n.id === "_back", y = h.opened[h.opened.length - 1], I = n.id === y?.id, S = C ? /* @__PURE__ */ w(V, { gap: m.XSmall, alignItems: "center", children: [
|
|
172
|
+
/* @__PURE__ */ s(ee, { size: X.Small }),
|
|
173
|
+
n.label
|
|
174
|
+
] }) : /* @__PURE__ */ w(W, { children: [
|
|
175
|
+
/* @__PURE__ */ w(V, { gap: m.XSmall, alignItems: "center", whiteSpace: "nowrap", children: [
|
|
176
|
+
g[n.id]?.map((u) => /* @__PURE__ */ w(A, { children: [
|
|
177
|
+
/* @__PURE__ */ s(T, { color: x.OnSurfaceSubdued, children: u }),
|
|
178
|
+
/* @__PURE__ */ s(T, { color: x.OnSurfaceSubdued, children: "/" })
|
|
179
|
+
] }, u)),
|
|
180
|
+
/* @__PURE__ */ s(_, { item: n, asPlainText: f })
|
|
265
181
|
] }),
|
|
266
|
-
|
|
267
|
-
] }),
|
|
268
|
-
return /* @__PURE__ */
|
|
269
|
-
/* @__PURE__ */ r(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
isActive: a.index === i,
|
|
273
|
-
isChecked: o,
|
|
274
|
-
onClick: (f) => l(f, e),
|
|
275
|
-
onHover: () => h(i),
|
|
276
|
-
children: $
|
|
277
|
-
}
|
|
278
|
-
),
|
|
279
|
-
M && /* @__PURE__ */ r(
|
|
280
|
-
v,
|
|
281
|
-
{
|
|
282
|
-
margin: `${c.Small} ${m ? 0 : c.Medium}`,
|
|
283
|
-
height: "1px",
|
|
284
|
-
flexShrink: 0,
|
|
285
|
-
backgroundColor: d.OnBackgroundBorder
|
|
286
|
-
}
|
|
287
|
-
)
|
|
288
|
-
] }, e.id);
|
|
182
|
+
k ? void 0 : O && !I && !p ? /* @__PURE__ */ s(te, { size: X.Small, color: x.OnBackgroundSubdued }) : /* @__PURE__ */ s(j, { isSingleSelect: t, isChecked: l })
|
|
183
|
+
] }), b = $.length > 0 && $.length - 1 === r && $.length < i.length, P = !k && !p && (b || (C || I));
|
|
184
|
+
return /* @__PURE__ */ w(A, { children: [
|
|
185
|
+
/* @__PURE__ */ s(L, { isActive: a.index === r, isChecked: l, onClick: (u) => d(u, n), onHover: () => o(r), children: S }),
|
|
186
|
+
P && /* @__PURE__ */ s(T, { margin: `${m.Small} ${C ? 0 : m.Medium}`, height: "1px", flexShrink: 0, backgroundColor: x.OnBackgroundBorder })
|
|
187
|
+
] }, n.id);
|
|
289
188
|
});
|
|
290
189
|
};
|
|
190
|
+
function ce() {
|
|
191
|
+
}
|
|
291
192
|
export {
|
|
292
|
-
|
|
293
|
-
|
|
193
|
+
j as CheckboxOrRadioButton,
|
|
194
|
+
we as ComboboxMenu
|
|
294
195
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const SingleSelect: () => import("react
|
|
2
|
-
export declare const MultiSelect: () => import("react
|
|
3
|
-
export declare const Disabled: () => import("react
|
|
4
|
-
export declare const Invalid: () => import("react
|
|
5
|
-
export declare const Sizes: () => import("react
|
|
6
|
-
export declare const GhostVariant: () => import("react
|
|
7
|
-
export declare const WithItemsAsPlainText: () => import("react
|
|
8
|
-
export declare const WithFooterContent: () => import("react
|
|
9
|
-
export declare const WithFolderStyleStacked: () => import("react
|
|
1
|
+
export declare const SingleSelect: () => import("react").JSX.Element;
|
|
2
|
+
export declare const MultiSelect: () => import("react").JSX.Element;
|
|
3
|
+
export declare const Disabled: () => import("react").JSX.Element;
|
|
4
|
+
export declare const Invalid: () => import("react").JSX.Element;
|
|
5
|
+
export declare const Sizes: () => import("react").JSX.Element;
|
|
6
|
+
export declare const GhostVariant: () => import("react").JSX.Element;
|
|
7
|
+
export declare const WithItemsAsPlainText: () => import("react").JSX.Element;
|
|
8
|
+
export declare const WithFooterContent: () => import("react").JSX.Element;
|
|
9
|
+
export declare const WithFolderStyleStacked: () => import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=combobox.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.composition.tsx"],"names":[],"mappings":"AAsOA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"combobox.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.composition.tsx"],"names":[],"mappings":"AAsOA,eAAO,MAAM,YAAY,mCAoBxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAmBvB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAmDpB,CAAC;AAEF,eAAO,MAAM,OAAO,mCAqBnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAyEjB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAoBxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,mCAyBhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAyB7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCA8BlC,CAAC"}
|
|
@@ -6,5 +6,5 @@ import { ComboboxProps } from './types.js';
|
|
|
6
6
|
*
|
|
7
7
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/combobox
|
|
8
8
|
*/
|
|
9
|
-
export declare function Combobox({ id, label, isSingleSelect, selectedItems, locale, size, variant, asPlainText, onSearch, items, maxVisibleItems, onChange, onBlur, isDisabled, isReadOnly, isRequired, placeholder, footerContent, popoverWidth, popoverPlacement, collapsed, folderStyle, parentSelectsChildren, ...props }: ComboboxProps): import("react
|
|
9
|
+
export declare function Combobox({ id, label, isSingleSelect, selectedItems, locale, size, variant, asPlainText, onSearch, items, maxVisibleItems, onChange, onBlur, isDisabled, isReadOnly, isRequired, placeholder, footerContent, popoverWidth, popoverPlacement, collapsed, folderStyle, parentSelectsChildren, ...props }: ComboboxProps): import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=combobox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../lib/components/combobox/combobox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAIX,aAAa,EAGb,MAAM,SAAS,CAAC;AAgGjB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACxB,EAAE,EACF,KAAU,EACV,cAAsB,EACtB,aAAkB,EAClB,MAAgB,EAChB,IAAW,EACX,OAAmB,EACnB,WAAmB,EACnB,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,SAAiB,EACjB,WAAuB,EACvB,qBAAqB,EACrB,GAAG,KAAK,EACR,EAAE,aAAa,+BA2Tf"}
|