@caspeco/casper-ui-library 9.12.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 +242 -240
- package/dist/components/date-picker/date-multi-picker.d.ts +8 -0
- package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-multi-picker.js +30 -0
- 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 +7 -4
- 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/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.d.ts.map +1 -1
- package/dist/components/date-picker/types.d.ts +16 -0
- package/dist/components/date-picker/types.d.ts.map +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/index.js +664 -662
- package/dist/node_modules/@tiptap/core/dist/index.js +541 -525
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +1464 -27
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +26 -9
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +314 -250
- package/dist/node_modules/@tiptap/extensions/dist/index.js +205 -182
- 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 +15 -14
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { ListItem as p } from "@chakra-ui/react";
|
|
4
|
+
function n(o) {
|
|
5
|
+
const t = s.c(6);
|
|
6
|
+
let e, r;
|
|
7
|
+
t[0] !== o ? ({
|
|
8
|
+
children: e,
|
|
9
|
+
...r
|
|
10
|
+
} = o, t[0] = o, t[1] = e, t[2] = r) : (e = t[1], r = t[2]);
|
|
11
|
+
let i;
|
|
12
|
+
return t[3] !== e || t[4] !== r ? (i = /* @__PURE__ */ m(p, { ...r, children: e }), t[3] = e, t[4] = r, t[5] = i) : i = t[5], i;
|
|
5
13
|
}
|
|
6
14
|
export {
|
|
7
|
-
|
|
15
|
+
n as ListItem
|
|
8
16
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const BasicList: () => import("react
|
|
1
|
+
export declare const BasicList: () => import("react").JSX.Element;
|
|
2
2
|
//# sourceMappingURL=list.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"list.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,mCAOrB,CAAC"}
|
|
@@ -11,6 +11,6 @@ export type ListProps = CustomListProps & ChakraListProps & ThemeStyleProps;
|
|
|
11
11
|
*
|
|
12
12
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/list
|
|
13
13
|
*/
|
|
14
|
-
export declare function List({ fontFamily, listStyleType, spacing, children, ...props }: ListProps): import("react
|
|
14
|
+
export declare function List({ fontFamily, listStyleType, spacing, children, ...props }: ListProps): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,eAAe,GAAG,UAAU,CAAC,CAAC;AAGhF,KAAK,eAAe,GAAG;IACtB,iDAAiD;IACjD,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACpB,UAAmC,EACnC,aAAsB,EACtB,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,SAAS
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,eAAe,GAAG,UAAU,CAAC,CAAC;AAGhF,KAAK,eAAe,GAAG;IACtB,iDAAiD;IACjD,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,IAAI,CAAC,EACpB,UAAmC,EACnC,aAAsB,EACtB,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,SAAS,+BAMX"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as f } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { List as a } from "@chakra-ui/react";
|
|
4
|
+
import { ThemeFontVariable as y } from "../../theme/theme-types.js";
|
|
5
|
+
function L(n) {
|
|
6
|
+
const t = f.c(12);
|
|
7
|
+
let o, e, i, l, r;
|
|
8
|
+
t[0] !== n ? ({
|
|
9
|
+
fontFamily: l,
|
|
10
|
+
listStyleType: r,
|
|
11
|
+
spacing: i,
|
|
12
|
+
children: o,
|
|
13
|
+
...e
|
|
14
|
+
} = n, t[0] = n, t[1] = o, t[2] = e, t[3] = i, t[4] = l, t[5] = r) : (o = t[1], e = t[2], i = t[3], l = t[4], r = t[5]);
|
|
15
|
+
const m = l === void 0 ? y.Body : l, p = r === void 0 ? "none" : r;
|
|
16
|
+
let s;
|
|
17
|
+
return t[6] !== o || t[7] !== m || t[8] !== p || t[9] !== e || t[10] !== i ? (s = /* @__PURE__ */ c(a.Root, { gap: i, fontFamily: m, listStyleType: p, ...e, children: o }), t[6] = o, t[7] = m, t[8] = p, t[9] = e, t[10] = i, t[11] = s) : s = t[11], s;
|
|
12
18
|
}
|
|
13
19
|
export {
|
|
14
20
|
L as List
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
);
|
|
7
|
-
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { MenuTrigger as s, Button as u } from "@chakra-ui/react";
|
|
4
|
+
import { forwardRef as p } from "react";
|
|
5
|
+
const c = p((i, n) => {
|
|
6
|
+
const t = m.c(7);
|
|
7
|
+
let e, o;
|
|
8
|
+
t[0] !== i ? ({
|
|
9
|
+
children: e,
|
|
10
|
+
...o
|
|
11
|
+
} = i, t[0] = i, t[1] = e, t[2] = o) : (e = t[1], o = t[2]);
|
|
12
|
+
let r;
|
|
13
|
+
return t[3] !== e || t[4] !== o || t[5] !== n ? (r = /* @__PURE__ */ l(s, { asChild: !0, children: /* @__PURE__ */ l(u, { ref: n, unstyled: !0, ...o, children: e }) }), t[3] = e, t[4] = o, t[5] = n, t[6] = r) : r = t[6], r;
|
|
14
|
+
});
|
|
15
|
+
c.displayName = "MenuBoxButton";
|
|
8
16
|
export {
|
|
9
|
-
|
|
17
|
+
c as MenuBoxButton
|
|
10
18
|
};
|
|
@@ -3,5 +3,5 @@ import { ButtonProps } from '../button/index.js';
|
|
|
3
3
|
* A Button that acts as a trigger for Menu
|
|
4
4
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
5
5
|
*/
|
|
6
|
-
export declare const MenuButton: ({ children, ...props }: ButtonProps) => import("react
|
|
6
|
+
export declare const MenuButton: ({ children, ...props }: ButtonProps) => import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=menu-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,wBAAwB,WAAW,
|
|
1
|
+
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,wBAAwB,WAAW,gCAM7D,CAAC"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { MenuTrigger as l } from "@chakra-ui/react";
|
|
4
|
+
import { Button as p } from "../button/button.js";
|
|
5
|
+
const d = (i) => {
|
|
6
|
+
const r = n.c(6);
|
|
7
|
+
let e, t;
|
|
8
|
+
r[0] !== i ? ({
|
|
9
|
+
children: e,
|
|
10
|
+
...t
|
|
11
|
+
} = i, r[0] = i, r[1] = e, r[2] = t) : (e = r[1], t = r[2]);
|
|
12
|
+
let o;
|
|
13
|
+
return r[3] !== e || r[4] !== t ? (o = /* @__PURE__ */ m(l, { asChild: !0, children: /* @__PURE__ */ m(p, { ...t, children: e }) }), r[3] = e, r[4] = t, r[5] = o) : o = r[5], o;
|
|
14
|
+
};
|
|
5
15
|
export {
|
|
6
|
-
|
|
16
|
+
d as MenuButton
|
|
7
17
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
export type MenuDividerProps = {
|
|
2
3
|
title?: string;
|
|
3
4
|
};
|
|
4
|
-
export declare const MenuDivider: ({ title }: MenuDividerProps) =>
|
|
5
|
+
export declare const MenuDivider: ({ title }: MenuDividerProps) => React.JSX.Element;
|
|
5
6
|
//# sourceMappingURL=menu-divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-divider.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-divider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu-divider.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-divider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,WAAW,gBAAgB,sBAEtD,CAAC"}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../_virtual/compiler-runtime.js";
|
|
2
3
|
import "react";
|
|
3
|
-
import { ThemeColorVariable as
|
|
4
|
-
const
|
|
5
|
-
margin:
|
|
6
|
-
borderTop: `1px solid ${
|
|
4
|
+
import { ThemeColorVariable as i, ThemeSpaceVariable as n, ThemeFontSizeVariable as s } from "../../theme/theme-types.js";
|
|
5
|
+
const c = {
|
|
6
|
+
margin: n.Medium,
|
|
7
|
+
borderTop: `1px solid ${i.OnBackgroundBorder}`,
|
|
7
8
|
position: "relative",
|
|
8
9
|
textAlign: "center"
|
|
9
|
-
},
|
|
10
|
-
backgroundColor:
|
|
11
|
-
padding: `0 ${
|
|
10
|
+
}, m = {
|
|
11
|
+
backgroundColor: i.Surface,
|
|
12
|
+
padding: `0 ${n.Small}`,
|
|
12
13
|
position: "absolute",
|
|
13
14
|
top: "50%",
|
|
14
15
|
left: "50%",
|
|
15
16
|
transform: "translate(-50%, -50%)",
|
|
16
|
-
color:
|
|
17
|
-
fontSize:
|
|
18
|
-
},
|
|
17
|
+
color: i.OnBackgroundSubdued,
|
|
18
|
+
fontSize: s.XSmall
|
|
19
|
+
}, b = (a) => {
|
|
20
|
+
const e = d.c(4), {
|
|
21
|
+
title: o
|
|
22
|
+
} = a;
|
|
23
|
+
let t;
|
|
24
|
+
e[0] !== o ? (t = o && /* @__PURE__ */ l("span", { style: m, children: o }), e[0] = o, e[1] = t) : t = e[1];
|
|
25
|
+
let r;
|
|
26
|
+
return e[2] !== t ? (r = /* @__PURE__ */ l("div", { style: c, children: t }), e[2] = t, e[3] = r) : r = e[3], r;
|
|
27
|
+
};
|
|
19
28
|
export {
|
|
20
|
-
|
|
29
|
+
b as MenuDivider
|
|
21
30
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
1
2
|
import { MenuItemProps } from './menu-item.js';
|
|
2
3
|
export interface MenuGroupProps extends MenuItemProps {
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export interface MenuGroupProps extends MenuItemProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Element to render to the right of the SubMenu Item contents.
|
|
9
10
|
*/
|
|
10
|
-
rightElement?:
|
|
11
|
+
rightElement?: ReactNode;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* A variant of MenuItem that renders children as nested list of maximum three levels.
|
|
@@ -16,5 +17,5 @@ export interface MenuGroupProps extends MenuItemProps {
|
|
|
16
17
|
* @note Differs from MenuItem in that it renders text via the `text` prop,
|
|
17
18
|
* and can render an element to the right of text via the `rightElement` prop.
|
|
18
19
|
*/
|
|
19
|
-
export declare const MenuGroup: ({ text, children, onClick, as, isDisabled, command, itemType, leftIcon, rightIcon, rightElement, ...props }: MenuGroupProps) =>
|
|
20
|
+
export declare const MenuGroup: ({ text, children, onClick, as, isDisabled, command, itemType, leftIcon, rightIcon, rightElement, ...props }: MenuGroupProps) => React.JSX.Element;
|
|
20
21
|
//# sourceMappingURL=menu-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-group.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"menu-group.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-group.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,cAAe,SAAQ,aAAa;IACpD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,6GAYvB,cAAc,sBAkJhB,CAAC"}
|
|
@@ -1,142 +1,144 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Flex as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
import { jsx as w, jsxs as H, Fragment as le } from "react/jsx-runtime";
|
|
2
|
+
import { c as ie } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Menu as Z, HStack as se, Box as ae } from "@chakra-ui/react";
|
|
4
|
+
import me, { useRef as ee } from "react";
|
|
5
|
+
import { setMenuItemElementType as pe } from "./helper.js";
|
|
6
|
+
import { Flex as ce } from "../flex/flex.js";
|
|
7
|
+
import { IconButton as ue } from "../icon-button/icon-button.js";
|
|
8
|
+
import { ThemeColorVariable as Q, ThemeIconSizeVariable as te, ThemeSpaceVariable as N } from "../../theme/theme-types.js";
|
|
9
|
+
import { TreeViewCollapseIcon as fe } from "../icon/icons/tree-view-collapse-icon.js";
|
|
10
|
+
import { TreeViewExpandIcon as de } from "../icon/icons/tree-view-expand-icon.js";
|
|
11
|
+
const Te = (h) => {
|
|
12
|
+
const e = ie.c(57);
|
|
13
|
+
let o, S, n, I, r, l, i, _, b, x, t;
|
|
14
|
+
e[0] !== h ? ({
|
|
15
|
+
text: t,
|
|
16
|
+
children: S,
|
|
17
|
+
onClick: r,
|
|
18
|
+
as: o,
|
|
19
|
+
isDisabled: b,
|
|
20
|
+
command: n,
|
|
21
|
+
itemType: x,
|
|
22
|
+
leftIcon: I,
|
|
23
|
+
rightIcon: _,
|
|
24
|
+
rightElement: i,
|
|
25
|
+
...l
|
|
26
|
+
} = h, e[0] = h, e[1] = o, e[2] = S, e[3] = n, e[4] = I, e[5] = r, e[6] = l, e[7] = i, e[8] = _, e[9] = b, e[10] = x, e[11] = t) : (o = e[1], S = e[2], n = e[3], I = e[4], r = e[5], l = e[6], i = e[7], _ = e[8], b = e[9], x = e[10], t = e[11]);
|
|
27
|
+
const K = b === void 0 ? !1 : b, O = x === void 0 ? "button" : x, [s, ne] = me.useState(!1), y = ee(null), C = ee(null);
|
|
28
|
+
let v;
|
|
29
|
+
e[12] !== s ? (v = () => {
|
|
30
|
+
ne(!s);
|
|
31
|
+
}, e[12] = s, e[13] = v) : v = e[13];
|
|
32
|
+
const P = v;
|
|
33
|
+
let T;
|
|
34
|
+
e[14] !== o || e[15] !== O ? (T = o ?? pe(O), e[14] = o, e[15] = O, e[16] = T) : T = e[16];
|
|
35
|
+
const W = T, k = I, L = _, X = ge;
|
|
36
|
+
let M, R, z, B, E;
|
|
37
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = {
|
|
38
|
+
paddingLeft: "64px"
|
|
39
|
+
}, R = {
|
|
40
|
+
paddingLeft: "36px"
|
|
41
|
+
}, z = {
|
|
42
|
+
paddingLeft: "58px"
|
|
43
|
+
}, B = {
|
|
44
|
+
paddingLeft: "86px"
|
|
45
|
+
}, E = {
|
|
46
|
+
paddingLeft: "108px"
|
|
47
|
+
}, e[17] = M, e[18] = R, e[19] = z, e[20] = B, e[21] = E) : (M = e[17], R = e[18], z = e[19], B = e[20], E = e[21]);
|
|
48
|
+
let V;
|
|
49
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = {
|
|
50
|
+
"& .menu-item": M,
|
|
51
|
+
"& .menugroup-item": R,
|
|
52
|
+
"& .menugroup-wrapper > .menugroup-item": z,
|
|
53
|
+
"& .menugroup-wrapper > .menu-item": B,
|
|
54
|
+
"& .menugroup-wrapper > .menugroup-wrapper > .menu-item": E,
|
|
52
55
|
position: "relative",
|
|
53
|
-
"&::before":
|
|
56
|
+
"&::before": X("28px"),
|
|
54
57
|
"& .menugroup-wrapper": {
|
|
55
|
-
"&::before":
|
|
58
|
+
"&::before": X("48px")
|
|
56
59
|
},
|
|
57
60
|
"& .menugroup-wrapper > .menugroup-wrapper": {
|
|
58
|
-
"&::before":
|
|
61
|
+
"&::before": X("68px")
|
|
59
62
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
}, e[22] = V) : V = e[22];
|
|
64
|
+
const oe = V;
|
|
65
|
+
let $;
|
|
66
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (Y) => {
|
|
67
|
+
Y.stopPropagation();
|
|
68
|
+
e: switch (Y.key) {
|
|
63
69
|
case "ArrowLeft": {
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
break;
|
|
70
|
+
const J = C.current?.previousSibling;
|
|
71
|
+
y.current = J, y.current?.focus();
|
|
72
|
+
break e;
|
|
67
73
|
}
|
|
68
74
|
case "ArrowRight": {
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
break;
|
|
75
|
+
const J = y.current?.nextSibling;
|
|
76
|
+
C.current = J, C.current?.focus();
|
|
77
|
+
break e;
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
b,
|
|
124
|
-
{
|
|
125
|
-
color: g.OnSurfaceBorder,
|
|
126
|
-
size: S.Small
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
d && /* @__PURE__ */ e(w.ItemCommand, { children: d })
|
|
130
|
-
] })
|
|
131
|
-
]
|
|
132
|
-
}
|
|
133
|
-
)
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
),
|
|
137
|
-
/* @__PURE__ */ e(F, { className: "menugroup-wrapper", css: _, children: n && C })
|
|
138
|
-
] });
|
|
80
|
+
}, e[23] = $) : $ = e[23];
|
|
81
|
+
const re = $;
|
|
82
|
+
let A;
|
|
83
|
+
e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = {
|
|
84
|
+
bg: Q.AccentHoverAlpha,
|
|
85
|
+
transitionProperty: "background",
|
|
86
|
+
transitionDuration: "200ms",
|
|
87
|
+
transitionTimingFunction: "ease-in"
|
|
88
|
+
}, e[24] = A) : A = e[24];
|
|
89
|
+
const G = s ? fe : de, U = s ? `Collapse ${t}` : `Expand ${t}`;
|
|
90
|
+
let a;
|
|
91
|
+
e[25] !== G || e[26] !== U || e[27] !== P ? (a = /* @__PURE__ */ w(ue, { ref: y, onClick: P, variant: "ghost", tabIndex: 0, icon: G, "aria-label": U, size: "xs" }), e[25] = G, e[26] = U, e[27] = P, e[28] = a) : a = e[28];
|
|
92
|
+
let j, D;
|
|
93
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
|
|
94
|
+
bg: "transparent"
|
|
95
|
+
}, D = {
|
|
96
|
+
bg: "transparent"
|
|
97
|
+
}, e[29] = j, e[30] = D) : (j = e[29], D = e[30]);
|
|
98
|
+
let m;
|
|
99
|
+
e[31] !== k ? (m = k && /* @__PURE__ */ w(k, { size: te.Medium }), e[31] = k, e[32] = m) : m = e[32];
|
|
100
|
+
let p;
|
|
101
|
+
e[33] !== L ? (p = L && /* @__PURE__ */ w(L, { color: Q.OnSurfaceBorder, size: te.Small }), e[33] = L, e[34] = p) : p = e[34];
|
|
102
|
+
let c;
|
|
103
|
+
e[35] !== n ? (c = n && /* @__PURE__ */ w(Z.ItemCommand, { children: n }), e[35] = n, e[36] = c) : c = e[36];
|
|
104
|
+
let u;
|
|
105
|
+
e[37] !== i || e[38] !== p || e[39] !== c || e[40] !== t ? (u = /* @__PURE__ */ H(ce, { justifyContent: "space-between", alignItems: "center", gap: N.Small, w: "100%", children: [
|
|
106
|
+
t,
|
|
107
|
+
i,
|
|
108
|
+
p,
|
|
109
|
+
c
|
|
110
|
+
] }), e[37] = i, e[38] = p, e[39] = c, e[40] = t, e[41] = u) : u = e[41];
|
|
111
|
+
let f;
|
|
112
|
+
e[42] !== W || e[43] !== K || e[44] !== r || e[45] !== l || e[46] !== m || e[47] !== u ? (f = /* @__PURE__ */ H(Z.Item, { pl: 0, _groupHover: j, _hover: D, as: W, disabled: K, onClick: r, minWidth: "unset", w: `calc(100% - 24px - ${N.XSmall})`, ref: C, ...l, children: [
|
|
113
|
+
m,
|
|
114
|
+
u
|
|
115
|
+
] }), e[42] = W, e[43] = K, e[44] = r, e[45] = l, e[46] = m, e[47] = u, e[48] = f) : f = e[48];
|
|
116
|
+
let d;
|
|
117
|
+
e[49] !== a || e[50] !== f ? (d = /* @__PURE__ */ H(se, { w: "100%", pl: N.Medium, gap: N.XSmall, className: "group menugroup-item", _hover: A, role: "group", onKeyUp: re, children: [
|
|
118
|
+
a,
|
|
119
|
+
f
|
|
120
|
+
] }), e[49] = a, e[50] = f, e[51] = d) : d = e[51];
|
|
121
|
+
const q = s && S;
|
|
122
|
+
let g;
|
|
123
|
+
e[52] !== q ? (g = /* @__PURE__ */ w(ae, { className: "menugroup-wrapper", css: oe, children: q }), e[52] = q, e[53] = g) : g = e[53];
|
|
124
|
+
let F;
|
|
125
|
+
return e[54] !== d || e[55] !== g ? (F = /* @__PURE__ */ H(le, { children: [
|
|
126
|
+
d,
|
|
127
|
+
g
|
|
128
|
+
] }), e[54] = d, e[55] = g, e[56] = F) : F = e[56], F;
|
|
139
129
|
};
|
|
130
|
+
function ge(h) {
|
|
131
|
+
return {
|
|
132
|
+
content: '""',
|
|
133
|
+
position: "absolute",
|
|
134
|
+
top: 0,
|
|
135
|
+
left: h,
|
|
136
|
+
width: "1px",
|
|
137
|
+
height: "100%",
|
|
138
|
+
backgroundColor: Q.OnSurfaceBorder,
|
|
139
|
+
zIndex: 1
|
|
140
|
+
};
|
|
141
|
+
}
|
|
140
142
|
export {
|
|
141
|
-
|
|
143
|
+
Te as MenuGroup
|
|
142
144
|
};
|
|
@@ -3,5 +3,5 @@ import { IconButtonProps } from '../icon-button/index.js';
|
|
|
3
3
|
* An IconButton that acts as a trigger for Menu
|
|
4
4
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/menu/
|
|
5
5
|
*/
|
|
6
|
-
export declare const MenuIconButton: (props: IconButtonProps) => import("react
|
|
6
|
+
export declare const MenuIconButton: (props: IconButtonProps) => import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=menu-icon-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-icon-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG5E;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,eAAe,
|
|
1
|
+
{"version":3,"file":"menu-icon-button.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG5E;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,eAAe,gCAMpD,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { MenuTrigger as i } from "@chakra-ui/react";
|
|
4
|
+
import { IconButton as m } from "../icon-button/icon-button.js";
|
|
5
|
+
const s = (r) => {
|
|
6
|
+
const t = n.c(2);
|
|
7
|
+
let o;
|
|
8
|
+
return t[0] !== r ? (o = /* @__PURE__ */ e(i, { asChild: !0, children: /* @__PURE__ */ e(m, { ...r }) }), t[0] = r, t[1] = o) : o = t[1], o;
|
|
9
|
+
};
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
s as MenuIconButton
|
|
7
12
|
};
|
|
@@ -37,6 +37,6 @@ type CustomMenuItemProps = {
|
|
|
37
37
|
command?: string;
|
|
38
38
|
};
|
|
39
39
|
export type MenuItemProps = Pick<ChakraMenuItemProps, "children" | "onClick" | "value"> & CustomMenuItemProps;
|
|
40
|
-
export declare const MenuItem: ({ children, onClick, as, isDisabled, itemType, command, leftIcon, rightIcon, ...props }: MenuItemProps) => import("react
|
|
40
|
+
export declare const MenuItem: ({ children, onClick, as, isDisabled, itemType, command, leftIcon, rightIcon, ...props }: MenuItemProps) => import("react").JSX.Element;
|
|
41
41
|
export {};
|
|
42
42
|
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAsB,KAAK,aAAa,IAAI,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,mBAAmB,GAAG;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,GAAG,mBAAmB,CAAC;AAE9G,eAAO,MAAM,QAAQ,GAAI,yFAUtB,aAAa,
|
|
1
|
+
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../lib/components/menu/menu-item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAsB,KAAK,aAAa,IAAI,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,mBAAmB,GAAG;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAGZ,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,GAAG,mBAAmB,CAAC;AAE9G,eAAO,MAAM,QAAQ,GAAI,yFAUtB,aAAa,gCAwBf,CAAC"}
|