@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
|
@@ -39,7 +39,9 @@ const d = {
|
|
|
39
39
|
"&:has(input):not(:has(input[type='checkbox']))": {
|
|
40
40
|
padding: "0px !important"
|
|
41
41
|
},
|
|
42
|
-
"&:has(textarea)": {
|
|
42
|
+
"&:has(textarea)": {
|
|
43
|
+
padding: "0px !important"
|
|
44
|
+
}
|
|
43
45
|
},
|
|
44
46
|
"& tr": {
|
|
45
47
|
borderColor: o.OnBackgroundBorder
|
|
@@ -65,7 +67,9 @@ const d = {
|
|
|
65
67
|
},
|
|
66
68
|
_hover: {
|
|
67
69
|
// Show action menu button on row hover
|
|
68
|
-
"& .action-menu-button": {
|
|
70
|
+
"& .action-menu-button": {
|
|
71
|
+
opacity: 1
|
|
72
|
+
},
|
|
69
73
|
'&[data-allow-hovered="true"]': {
|
|
70
74
|
backgroundColor: o.AccentHoverAlpha
|
|
71
75
|
}
|
|
@@ -7,6 +7,6 @@ interface TableRowExpandToggleButtonProps {
|
|
|
7
7
|
rowIsExpanded: boolean;
|
|
8
8
|
hidden?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const TableRowExpandToggleButton: import('react').MemoExoticComponent<({ row, localeString, rowIsExpanded, hidden }: TableRowExpandToggleButtonProps) => import("react
|
|
10
|
+
export declare const TableRowExpandToggleButton: import('react').MemoExoticComponent<({ row, localeString, rowIsExpanded, hidden }: TableRowExpandToggleButtonProps) => import("react").JSX.Element>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=table-row-expand-toggle-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-row-expand-toggle-button.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-row-expand-toggle-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-row-expand-toggle-button.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-row-expand-toggle-button.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,KAAK,OAAO,EAAgB,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,UAAU,+BAA+B;IACxC,GAAG,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,0BAA0B,qFACS,+BAA+B,iCAkC9E,CAAC"}
|
|
@@ -5,29 +5,32 @@ import { IconButton as d } from "../icon-button/icon-button.js";
|
|
|
5
5
|
import { TreeViewCollapseIcon as x } from "../icon/icons/tree-view-collapse-icon.js";
|
|
6
6
|
import { TreeViewExpandIcon as g } from "../icon/icons/tree-view-expand-icon.js";
|
|
7
7
|
import { ThemeSpaceVariable as f } from "../../theme/theme-types.js";
|
|
8
|
-
const V = s(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
8
|
+
const V = s(({
|
|
9
|
+
row: o,
|
|
10
|
+
localeString: a,
|
|
11
|
+
rowIsExpanded: n,
|
|
12
|
+
hidden: t
|
|
13
|
+
}) => {
|
|
14
|
+
const r = c[a], i = o.getToggleExpandedHandler(), l = (e) => {
|
|
15
|
+
e.stopPropagation(), i();
|
|
16
|
+
}, m = () => n ? `${r.collapseRow} ${o.index + 1}` : `${r.expandRow} ${o.index + 1}`;
|
|
17
|
+
return /* @__PURE__ */ p(
|
|
18
|
+
d,
|
|
19
|
+
{
|
|
20
|
+
size: "xs",
|
|
21
|
+
mr: f.XSmall,
|
|
22
|
+
variant: "ghost",
|
|
23
|
+
"aria-label": m(),
|
|
24
|
+
icon: n ? x : g,
|
|
25
|
+
onClick: l,
|
|
26
|
+
onKeyDown: (e) => e.stopPropagation(),
|
|
27
|
+
visibility: t ? "hidden" : "initial",
|
|
28
|
+
"aria-hidden": t,
|
|
29
|
+
tabIndex: t ? -1 : 0,
|
|
30
|
+
borderRadius: "0"
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
});
|
|
31
34
|
export {
|
|
32
35
|
V as TableRowExpandToggleButton
|
|
33
36
|
};
|
|
@@ -7,7 +7,7 @@ type TableRowProps<TData extends TableData> = {
|
|
|
7
7
|
showRowHoverStyle?: boolean;
|
|
8
8
|
onRowClickIndication?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const TableRowInner: <TData extends TableData>({ row, visibleCells, onClickRow, showRowHoverStyle, onRowClickIndication, }: TableRowProps<TData>) => import("react
|
|
10
|
+
declare const TableRowInner: <TData extends TableData>({ row, visibleCells, onClickRow, showRowHoverStyle, onRowClickIndication, }: TableRowProps<TData>) => import("react").JSX.Element;
|
|
11
11
|
export declare const TableRow: typeof TableRowInner;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=table-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-row.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-row.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAIvD,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAEnE,KAAK,aAAa,CAAC,KAAK,SAAS,SAAS,IAAI;IAC7C,GAAG,EAAE,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;IACnD,UAAU,CAAC,EAAE,CACZ,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,EACxB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,KACnF,IAAI,CAAC;IACV,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,QAAA,MAAM,aAAa,GAAI,KAAK,SAAS,SAAS,EAAE,6EAM7C,aAAa,CAAC,KAAK,CAAC,gCA0EtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAA0B,OAAO,aAAa,CAAC"}
|
|
@@ -10,17 +10,13 @@ const T = ({
|
|
|
10
10
|
showRowHoverStyle: d,
|
|
11
11
|
onRowClickIndication: i
|
|
12
12
|
}) => {
|
|
13
|
-
const a = I(), c = r(
|
|
14
|
-
(t)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
t.stopPropagation(), e.getToggleSelectedHandler(), o && o(e.original, t), i && a.setRowHighlight({ [t.currentTarget.id]: !0 });
|
|
21
|
-
},
|
|
22
|
-
[e, o, i, a]
|
|
23
|
-
), u = S(() => e.getIsSelected() || a.selectedRowIds?.includes(e.id), [e, a.rowHighlight, a.selectedRowIds]), b = a.getRowActions?.(e.original), m = (t) => a.disableSelectionCheckbox?.(t) ?? !1;
|
|
13
|
+
const a = I(), c = r((t) => {
|
|
14
|
+
o && (t.key === "Enter" || t.key === " ") && (t.preventDefault(), o(e.original, t));
|
|
15
|
+
}, [o, e.original]), g = r((t) => {
|
|
16
|
+
t.stopPropagation(), e.getToggleSelectedHandler(), o && o(e.original, t), i && a.setRowHighlight({
|
|
17
|
+
[t.currentTarget.id]: !0
|
|
18
|
+
});
|
|
19
|
+
}, [e, o, i, a]), u = S(() => e.getIsSelected() || a.selectedRowIds?.includes(e.id), [e, a.rowHighlight, a.selectedRowIds]), b = a.getRowActions?.(e.original), m = (t) => a.disableSelectionCheckbox?.(t) ?? !1;
|
|
24
20
|
return /* @__PURE__ */ l(
|
|
25
21
|
h.Row,
|
|
26
22
|
{
|
|
@@ -34,21 +30,7 @@ const T = ({
|
|
|
34
30
|
"data-is-root-level": e.depth === 0,
|
|
35
31
|
children: n.map((t, p) => {
|
|
36
32
|
const s = p === 0;
|
|
37
|
-
return /* @__PURE__ */ l(
|
|
38
|
-
x,
|
|
39
|
-
{
|
|
40
|
-
cell: t,
|
|
41
|
-
visibleCells: n,
|
|
42
|
-
row: e,
|
|
43
|
-
rowIsExpanded: e.getIsExpanded(),
|
|
44
|
-
breakingContentState: a.breakingContentState,
|
|
45
|
-
localeString: a.localeString,
|
|
46
|
-
actionMenu: s ? b : void 0,
|
|
47
|
-
canSelectRows: a.canSelectRows && s,
|
|
48
|
-
isCheckboxDisabled: m(e)
|
|
49
|
-
},
|
|
50
|
-
t.id
|
|
51
|
-
);
|
|
33
|
+
return /* @__PURE__ */ l(x, { cell: t, visibleCells: n, row: e, rowIsExpanded: e.getIsExpanded(), breakingContentState: a.breakingContentState, localeString: a.localeString, actionMenu: s ? b : void 0, canSelectRows: a.canSelectRows && s, isCheckboxDisabled: m(e) }, t.id);
|
|
52
34
|
})
|
|
53
35
|
},
|
|
54
36
|
e.id
|
|
@@ -6,7 +6,7 @@ export type TableToolbarActionsProps = {
|
|
|
6
6
|
*/
|
|
7
7
|
children: ReactElement<ComponentProps<typeof MenuList>, typeof MenuList>;
|
|
8
8
|
};
|
|
9
|
-
declare const TableToolbarActionsInner: ({ children }: TableToolbarActionsProps) => import("react
|
|
9
|
+
declare const TableToolbarActionsInner: ({ children }: TableToolbarActionsProps) => import("react").JSX.Element;
|
|
10
10
|
/**
|
|
11
11
|
* Custom action menu for table operations. Accepts MenuList as children. Use inside TableToolbar.
|
|
12
12
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-actions.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-actions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar-actions.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-actions.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAwB,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAQ,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrE,MAAM,MAAM,wBAAwB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,OAAO,QAAQ,CAAC,CAAC;CACzE,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAAI,cAAc,wBAAwB,gCAevE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAqC,OAAO,wBAAwB,CAAC"}
|
|
@@ -5,18 +5,12 @@ import { translations as m } from "./translations.js";
|
|
|
5
5
|
import { Menu as s } from "../menu/menu.js";
|
|
6
6
|
import { MenuIconButton as l } from "../menu/menu-icon-button.js";
|
|
7
7
|
import { MoreVerticalIcon as c } from "../icon/icons/more-vertical-icon.js";
|
|
8
|
-
const b = ({
|
|
8
|
+
const b = ({
|
|
9
|
+
children: o
|
|
10
|
+
}) => {
|
|
9
11
|
const t = e(), r = m[t.localeString];
|
|
10
12
|
return /* @__PURE__ */ n(s, { children: [
|
|
11
|
-
/* @__PURE__ */ a(
|
|
12
|
-
l,
|
|
13
|
-
{
|
|
14
|
-
icon: c,
|
|
15
|
-
variant: "ghost",
|
|
16
|
-
size: "md",
|
|
17
|
-
"aria-label": r.toolbarActions
|
|
18
|
-
}
|
|
19
|
-
),
|
|
13
|
+
/* @__PURE__ */ a(l, { icon: c, variant: "ghost", size: "md", "aria-label": r.toolbarActions }),
|
|
20
14
|
o
|
|
21
15
|
] });
|
|
22
16
|
}, M = i(b);
|
|
@@ -2,7 +2,7 @@ import { IconButtonProps } from '../icon-button/index.js';
|
|
|
2
2
|
export type TableToolbarAddButtonProps = Omit<IconButtonProps, "icon" | "aria-label"> & {
|
|
3
3
|
"aria-label"?: string;
|
|
4
4
|
};
|
|
5
|
-
declare const TableToolbarAddButtonInner: (props: TableToolbarAddButtonProps) => import("react
|
|
5
|
+
declare const TableToolbarAddButtonInner: (props: TableToolbarAddButtonProps) => import("react").JSX.Element;
|
|
6
6
|
/**
|
|
7
7
|
* Add button with icon for creating new items. Use inside TableToolbar.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-add-button.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-add-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar-add-button.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-add-button.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAK5E,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,YAAY,CAAC,GAAG;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,0BAA0B,GAAI,OAAO,0BAA0B,gCAMpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAuC,OAAO,0BAA0B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputProps } from '../input/index.js';
|
|
2
2
|
export type TableToolbarSearchProps = InputProps;
|
|
3
|
-
declare const TableToolbarSearchInner: ({ ...props }: TableToolbarSearchProps) => import("react
|
|
3
|
+
declare const TableToolbarSearchInner: ({ ...props }: TableToolbarSearchProps) => import("react").JSX.Element;
|
|
4
4
|
/**
|
|
5
5
|
* Search input with icon for filtering table data. Use inside TableToolbar.
|
|
6
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-search.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-search.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar-search.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-search.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAG5D,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAEjD,QAAA,MAAM,uBAAuB,GAAI,cAAc,uBAAuB,gCAWrE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAoC,OAAO,uBAAuB,CAAC"}
|
|
@@ -2,17 +2,12 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo as o } from "react";
|
|
3
3
|
import { Input as t } from "../input/input.js";
|
|
4
4
|
import { SearchIcon as m } from "../icon/icons/search-icon.js";
|
|
5
|
-
const a = ({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
w: { base: "100%", md: "170px" },
|
|
12
|
-
"data-testid": "filterInput",
|
|
13
|
-
...e
|
|
14
|
-
}
|
|
15
|
-
), l = o(a);
|
|
5
|
+
const a = ({
|
|
6
|
+
...e
|
|
7
|
+
}) => /* @__PURE__ */ r(t, { leftElement: /* @__PURE__ */ r(m, {}), size: "md", type: "search", w: {
|
|
8
|
+
base: "100%",
|
|
9
|
+
md: "170px"
|
|
10
|
+
}, "data-testid": "filterInput", ...e }), l = o(a);
|
|
16
11
|
export {
|
|
17
12
|
l as TableToolbarSearch
|
|
18
13
|
};
|
|
@@ -16,6 +16,6 @@ type TableToolbarSettingsProps = {
|
|
|
16
16
|
*
|
|
17
17
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/table#column-visibility-and-how-to-store-it
|
|
18
18
|
*/
|
|
19
|
-
export declare const TableToolbarSettings: import('react').MemoExoticComponent<({ pageSize, onPageSizeChange }: TableToolbarSettingsProps) => import("react
|
|
19
|
+
export declare const TableToolbarSettings: import('react').MemoExoticComponent<({ pageSize, onPageSizeChange }: TableToolbarSettingsProps) => import("react").JSX.Element>;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=table-toolbar-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar-settings.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-settings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar-settings.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar-settings.tsx"],"names":[],"mappings":"AAyBA,KAAK,yBAAyB,GAAG;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,CAAC;AA6OF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,uEAxNkC,yBAAyB,iCAwNzB,CAAC"}
|
|
@@ -9,138 +9,96 @@ import { flushSync as Y } from "react-dom";
|
|
|
9
9
|
import { getColumnLabel as O } from "./helper.js";
|
|
10
10
|
import { useTableContext as j } from "./table-context.js";
|
|
11
11
|
import { DEFAULT_PAGE_SIZE_OPTIONS as N } from "./table.constants.js";
|
|
12
|
-
import { translations as
|
|
13
|
-
import { Menu as
|
|
14
|
-
import { MenuButton as
|
|
15
|
-
import { SlidersIcon as
|
|
16
|
-
import { MenuList as
|
|
12
|
+
import { translations as z } from "./translations.js";
|
|
13
|
+
import { Menu as H } from "../menu/menu.js";
|
|
14
|
+
import { MenuButton as U } from "../menu/menu-button.js";
|
|
15
|
+
import { SlidersIcon as K } from "../icon/icons/sliders-icon.js";
|
|
16
|
+
import { MenuList as X } from "../menu/menu-list.js";
|
|
17
17
|
import { Text as C } from "../text/text.js";
|
|
18
18
|
import { MenuDivider as k } from "../menu/menu-divider.js";
|
|
19
19
|
import { MenuItem as b } from "../menu/menu-item.js";
|
|
20
20
|
import { Checkbox as D } from "../checkbox/checkbox.js";
|
|
21
|
-
import { RadioGroup as
|
|
22
|
-
import { Radio as
|
|
23
|
-
import { Switch as
|
|
24
|
-
import { GripMoreIcon as
|
|
25
|
-
import { ThemeIconSizeVariable as B, ThemeSpaceVariable as u, ThemeColorVariable as f, ThemeShadowVariable as
|
|
26
|
-
const
|
|
21
|
+
import { RadioGroup as Z } from "../radio/radio-group.js";
|
|
22
|
+
import { Radio as q } from "../radio/radio.js";
|
|
23
|
+
import { Switch as J } from "../switch/switch.js";
|
|
24
|
+
import { GripMoreIcon as Q } from "../icon/icons/grip-more-icon.js";
|
|
25
|
+
import { ThemeIconSizeVariable as B, ThemeSpaceVariable as u, ThemeColorVariable as f, ThemeShadowVariable as W } from "../../theme/theme-types.js";
|
|
26
|
+
const $ = (i, l, r, o) => {
|
|
27
27
|
if (!o || o.sourceId === i) return "none";
|
|
28
28
|
const s = r.findIndex((a) => a.id === o.sourceId), d = r.findIndex((a) => a.id === o.targetId);
|
|
29
29
|
return s < 0 || d < 0 || s === d ? "none" : s < d && l > s && l <= d ? "translateY(-100%)" : s > d && l >= d && l < s ? "translateY(100%)" : "none";
|
|
30
30
|
}, v = (i) => {
|
|
31
31
|
if (!E(i)) return null;
|
|
32
|
-
const {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
const {
|
|
33
|
+
source: l,
|
|
34
|
+
target: r
|
|
35
|
+
} = i;
|
|
36
|
+
return l && r ? {
|
|
37
|
+
source: l,
|
|
38
|
+
target: r
|
|
39
|
+
} : null;
|
|
40
|
+
}, _ = ({
|
|
41
|
+
pageSize: i,
|
|
42
|
+
onPageSizeChange: l
|
|
43
|
+
}) => {
|
|
44
|
+
const r = j(), o = z[r.localeString], s = !!l && Number.isInteger(i), [d, a] = F(null), g = r.table.getAllLeafColumns().filter((e) => e.getCanHide()), p = g.filter((e) => e.getIsVisible()), T = g.filter((e) => !e.getIsVisible()).sort((e, n) => {
|
|
36
45
|
const m = O(e.columnDef.header, e.id), S = O(n.columnDef.header, n.id);
|
|
37
|
-
return m.localeCompare(S, r.localeString, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/* @__PURE__ */ t(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
color: f.OnSurfaceSubdued,
|
|
54
|
-
py: u.Small,
|
|
55
|
-
px: u.Medium,
|
|
56
|
-
children: o.shownInTable
|
|
57
|
-
}
|
|
58
|
-
),
|
|
46
|
+
return m.localeCompare(S, r.localeString, {
|
|
47
|
+
sensitivity: "base"
|
|
48
|
+
});
|
|
49
|
+
}), M = x(() => r.table.getAllColumns().length === Object.keys(r.breakingContentState).length && !Object.values(r.breakingContentState).includes(!1), [r.breakingContentState, r.table]), V = x(({
|
|
50
|
+
checked: e
|
|
51
|
+
}) => {
|
|
52
|
+
const n = {};
|
|
53
|
+
r.table.getAllColumns().forEach((m) => {
|
|
54
|
+
n[m.id] = e;
|
|
55
|
+
}), r.setBreakingContentState(n), r.onBreakingContentChange?.(n);
|
|
56
|
+
}, [r]);
|
|
57
|
+
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ c(H, { closeOnSelect: !1, isLazy: !0, children: [
|
|
58
|
+
/* @__PURE__ */ t(U, { "aria-label": o.presets, variant: "ghost", p: "unset", w: "40px", h: "40px", children: /* @__PURE__ */ t(K, { size: B.Medium }) }),
|
|
59
|
+
/* @__PURE__ */ t(w, { children: /* @__PURE__ */ c(X, { children: [
|
|
60
|
+
/* @__PURE__ */ t(C, { color: f.OnSurfaceSubdued, py: u.Small, px: u.Medium, children: o.shownInTable }),
|
|
59
61
|
/* @__PURE__ */ c(I, { maxHeight: "400px", overflowY: "auto", children: [
|
|
60
|
-
/* @__PURE__ */ t(
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Y(() => {
|
|
73
|
-
a(null), n && r.handleDragEnd(String(n.source.id), String(n.target.id));
|
|
74
|
-
});
|
|
75
|
-
},
|
|
76
|
-
children: p.map((e, n) => /* @__PURE__ */ t(
|
|
77
|
-
re,
|
|
78
|
-
{
|
|
79
|
-
column: e,
|
|
80
|
-
index: n,
|
|
81
|
-
isDisabled: p.length === 1,
|
|
82
|
-
translateY: W(e.id, n, p, d)
|
|
83
|
-
},
|
|
84
|
-
e.id
|
|
85
|
-
))
|
|
86
|
-
}
|
|
87
|
-
),
|
|
62
|
+
/* @__PURE__ */ t(A, { onDragOver: (e) => {
|
|
63
|
+
const n = v(e.operation);
|
|
64
|
+
n && a({
|
|
65
|
+
sourceId: String(n.source.id),
|
|
66
|
+
targetId: String(n.target.id)
|
|
67
|
+
});
|
|
68
|
+
}, onDragEnd: (e) => {
|
|
69
|
+
const n = v(e.operation);
|
|
70
|
+
Y(() => {
|
|
71
|
+
a(null), n && r.handleDragEnd(String(n.source.id), String(n.target.id));
|
|
72
|
+
});
|
|
73
|
+
}, children: p.map((e, n) => /* @__PURE__ */ t(re, { column: e, index: n, isDisabled: p.length === 1, translateY: $(e.id, n, p, d) }, e.id)) }),
|
|
88
74
|
T.length > 0 && /* @__PURE__ */ c(h, { children: [
|
|
89
75
|
/* @__PURE__ */ t(k, {}),
|
|
90
|
-
/* @__PURE__ */ t(
|
|
91
|
-
C,
|
|
92
|
-
{
|
|
93
|
-
color: f.OnSurfaceSubdued,
|
|
94
|
-
py: u.Small,
|
|
95
|
-
px: u.Medium,
|
|
96
|
-
children: o.hiddenInTable
|
|
97
|
-
}
|
|
98
|
-
),
|
|
76
|
+
/* @__PURE__ */ t(C, { color: f.OnSurfaceSubdued, py: u.Small, px: u.Medium, children: o.hiddenInTable }),
|
|
99
77
|
T.map((e) => /* @__PURE__ */ c(b, { itemType: "checkbox", value: e.id, children: [
|
|
100
78
|
/* @__PURE__ */ t(h, { children: e.columnDef.header }),
|
|
101
|
-
/* @__PURE__ */ t(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
const m = r.columnOrder.filter((S) => S !== e.id);
|
|
108
|
-
m.push(e.id), r.setColumnOrder(m);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
79
|
+
/* @__PURE__ */ t(D, { isChecked: e.getIsVisible(), onCheckedChange: ({
|
|
80
|
+
checked: n
|
|
81
|
+
}) => {
|
|
82
|
+
if (e.toggleVisibility(!!n), n) {
|
|
83
|
+
const m = r.columnOrder.filter((S) => S !== e.id);
|
|
84
|
+
m.push(e.id), r.setColumnOrder(m);
|
|
111
85
|
}
|
|
112
|
-
)
|
|
86
|
+
} })
|
|
113
87
|
] }, e.id))
|
|
114
88
|
] })
|
|
115
89
|
] }),
|
|
116
90
|
/* @__PURE__ */ t(k, {}),
|
|
117
91
|
s && /* @__PURE__ */ c(h, { children: [
|
|
118
|
-
/* @__PURE__ */ t(
|
|
119
|
-
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
px: u.Medium,
|
|
124
|
-
children: o.rowsPerPage
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
/* @__PURE__ */ t(
|
|
128
|
-
X,
|
|
129
|
-
{
|
|
130
|
-
gap: "unset",
|
|
131
|
-
value: String(i),
|
|
132
|
-
onValueChange: (e) => l?.(Number(e.value)),
|
|
133
|
-
children: N.map((e) => /* @__PURE__ */ c(b, { itemType: "radio", value: String(e), children: [
|
|
134
|
-
o.numberOfRows.replace("{count}", String(e)),
|
|
135
|
-
/* @__PURE__ */ t(Z, { value: String(e) })
|
|
136
|
-
] }, e))
|
|
137
|
-
}
|
|
138
|
-
),
|
|
92
|
+
/* @__PURE__ */ t(C, { color: f.OnSurfaceSubdued, py: u.Small, px: u.Medium, children: o.rowsPerPage }),
|
|
93
|
+
/* @__PURE__ */ t(Z, { gap: "unset", value: String(i), onValueChange: (e) => l?.(Number(e.value)), children: N.map((e) => /* @__PURE__ */ c(b, { itemType: "radio", value: String(e), children: [
|
|
94
|
+
o.numberOfRows.replace("{count}", String(e)),
|
|
95
|
+
/* @__PURE__ */ t(q, { value: String(e) })
|
|
96
|
+
] }, e)) }),
|
|
139
97
|
/* @__PURE__ */ t(k, {})
|
|
140
98
|
] }),
|
|
141
99
|
/* @__PURE__ */ c(b, { itemType: "switch", value: "breakingContent", children: [
|
|
142
100
|
o.breakingContent,
|
|
143
|
-
/* @__PURE__ */ t(
|
|
101
|
+
/* @__PURE__ */ t(J, { onCheckedChange: V, isChecked: M() })
|
|
144
102
|
] })
|
|
145
103
|
] }) })
|
|
146
104
|
] }) });
|
|
@@ -160,43 +118,16 @@ const W = (i, l, r, o) => {
|
|
|
160
118
|
collisionDetector: P,
|
|
161
119
|
plugins: ee
|
|
162
120
|
});
|
|
163
|
-
return /* @__PURE__ */ t(
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
children: /* @__PURE__ */ c(b, { itemType: "checkbox", value: i.id, children: [
|
|
174
|
-
/* @__PURE__ */ c(y, { alignItems: "center", gap: u.XSmall, children: [
|
|
175
|
-
/* @__PURE__ */ t(
|
|
176
|
-
I,
|
|
177
|
-
{
|
|
178
|
-
ref: d,
|
|
179
|
-
cursor: a ? "grabbing" : "grab",
|
|
180
|
-
display: "inline-flex",
|
|
181
|
-
alignItems: "center",
|
|
182
|
-
flexShrink: 0,
|
|
183
|
-
children: /* @__PURE__ */ t(J, { size: B.Medium })
|
|
184
|
-
}
|
|
185
|
-
),
|
|
186
|
-
/* @__PURE__ */ t(h, { children: i.columnDef.header })
|
|
187
|
-
] }),
|
|
188
|
-
!a && /* @__PURE__ */ t(
|
|
189
|
-
D,
|
|
190
|
-
{
|
|
191
|
-
isDisabled: r,
|
|
192
|
-
isChecked: i.getIsVisible(),
|
|
193
|
-
onCheckedChange: ({ checked: g }) => i.toggleVisibility(!!g)
|
|
194
|
-
}
|
|
195
|
-
)
|
|
196
|
-
] })
|
|
197
|
-
}
|
|
198
|
-
);
|
|
199
|
-
}, De = R($);
|
|
121
|
+
return /* @__PURE__ */ t(I, { ref: s, role: "none", opacity: a ? 0.95 : 1, backgroundColor: f.Background, transform: o, transition: a ? void 0 : "transform 200ms ease", boxShadow: a ? W.Medium : void 0, children: /* @__PURE__ */ c(b, { itemType: "checkbox", value: i.id, children: [
|
|
122
|
+
/* @__PURE__ */ c(y, { alignItems: "center", gap: u.XSmall, children: [
|
|
123
|
+
/* @__PURE__ */ t(I, { ref: d, cursor: a ? "grabbing" : "grab", display: "inline-flex", alignItems: "center", flexShrink: 0, children: /* @__PURE__ */ t(Q, { size: B.Medium }) }),
|
|
124
|
+
/* @__PURE__ */ t(h, { children: i.columnDef.header })
|
|
125
|
+
] }),
|
|
126
|
+
!a && /* @__PURE__ */ t(D, { isDisabled: r, isChecked: i.getIsVisible(), onCheckedChange: ({
|
|
127
|
+
checked: g
|
|
128
|
+
}) => i.toggleVisibility(!!g) })
|
|
129
|
+
] }) });
|
|
130
|
+
}, De = R(_);
|
|
200
131
|
export {
|
|
201
132
|
De as TableToolbarSettings
|
|
202
133
|
};
|
|
@@ -10,7 +10,7 @@ export type TableToolbarProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
declare const TableToolbarInner: ({ title, children, ...props }: TableToolbarProps & ThemeStyleProps) => import("react
|
|
13
|
+
declare const TableToolbarInner: ({ title, children, ...props }: TableToolbarProps & ThemeStyleProps) => import("react").JSX.Element;
|
|
14
14
|
/**
|
|
15
15
|
* Composable toolbar for tables. Accepts title prop and renders subcomponents in a responsive layout.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-toolbar.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-toolbar.d.ts","sourceRoot":"","sources":["../../../lib/components/table/table-toolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAKN,KAAK,eAAe,EACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOnF,MAAM,MAAM,iBAAiB,GAAG;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,+BAA+B,iBAAiB,GAAG,eAAe,gCAqF5F,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAA8B,OAAO,iBAAiB,CAAC"}
|
|
@@ -8,48 +8,42 @@ import { TableToolbarSearch as F } from "./table-toolbar-search.js";
|
|
|
8
8
|
import { TableToolbarSettings as V } from "./table-toolbar-settings.js";
|
|
9
9
|
import { Text as I } from "../text/text.js";
|
|
10
10
|
import { ThemeFontVariable as z, ThemeColorVariable as A, ThemeFontSizeVariable as H, ThemeSpaceVariable as r } from "../../theme/theme-types.js";
|
|
11
|
-
const k = ({
|
|
11
|
+
const k = ({
|
|
12
|
+
title: m,
|
|
13
|
+
children: c,
|
|
14
|
+
...T
|
|
15
|
+
}) => {
|
|
12
16
|
const d = B(), [h] = M(["(min-width: 48em)"]), g = d.id ? `${d.id}-toolbar` : void 0, e = l(() => {
|
|
13
17
|
let u = null, b = null, p = null, f = null;
|
|
14
18
|
return j.forEach(c, (a) => {
|
|
15
19
|
if (!a || typeof a != "object" || !("type" in a)) return;
|
|
16
20
|
const t = a;
|
|
17
21
|
t.type === F ? u = t : t.type === V ? b = t : t.type === L ? p = t : t.type === w && (f = t);
|
|
18
|
-
}), {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
}), {
|
|
23
|
+
search: u,
|
|
24
|
+
settings: b,
|
|
25
|
+
actions: p,
|
|
26
|
+
addButton: f
|
|
27
|
+
};
|
|
28
|
+
}, [c]), i = l(() => m ? /* @__PURE__ */ s(I, { fontSize: H.X2Large, color: A.OnBackgroundHeader, fontWeight: "bold", fontFamily: z.Header, children: m }) : null, [m]), y = l(() => /* @__PURE__ */ s(o, { direction: "column", gap: r.Medium, mb: r.Medium, children: /* @__PURE__ */ n(o, { justifyContent: "space-between", alignItems: "center", children: [
|
|
29
|
+
i,
|
|
30
|
+
/* @__PURE__ */ n(o, { gap: r.Medium, children: [
|
|
31
|
+
e.search,
|
|
32
|
+
e.settings,
|
|
33
|
+
e.actions,
|
|
34
|
+
e.addButton
|
|
35
|
+
] })
|
|
36
|
+
] }) }), [i, e]), x = l(() => /* @__PURE__ */ n(o, { direction: "column", gap: r.Medium, mb: r.Medium, children: [
|
|
37
|
+
/* @__PURE__ */ n(o, { justifyContent: "space-between", children: [
|
|
30
38
|
i,
|
|
31
|
-
|
|
32
|
-
e.search,
|
|
33
|
-
e.settings,
|
|
34
|
-
e.actions,
|
|
35
|
-
e.addButton
|
|
36
|
-
] })
|
|
37
|
-
] }) }),
|
|
38
|
-
[i, e]
|
|
39
|
-
), x = l(
|
|
40
|
-
() => /* @__PURE__ */ n(o, { direction: "column", gap: r.Medium, mb: r.Medium, children: [
|
|
41
|
-
/* @__PURE__ */ n(o, { justifyContent: "space-between", children: [
|
|
42
|
-
i,
|
|
43
|
-
e.addButton
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ n(o, { justifyContent: "space-between", gap: r.Medium, children: [
|
|
46
|
-
e.search,
|
|
47
|
-
e.actions,
|
|
48
|
-
e.settings
|
|
49
|
-
] })
|
|
39
|
+
e.addButton
|
|
50
40
|
] }),
|
|
51
|
-
|
|
52
|
-
|
|
41
|
+
/* @__PURE__ */ n(o, { justifyContent: "space-between", gap: r.Medium, children: [
|
|
42
|
+
e.search,
|
|
43
|
+
e.actions,
|
|
44
|
+
e.settings
|
|
45
|
+
] })
|
|
46
|
+
] }), [i, e]);
|
|
53
47
|
return /* @__PURE__ */ s(S, { id: g, ...T, children: h ? y : x });
|
|
54
48
|
}, J = C(k);
|
|
55
49
|
export {
|