@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
|
@@ -4,5 +4,5 @@ import { SkeletonTextProps } from './types.js';
|
|
|
4
4
|
*
|
|
5
5
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/skeleton
|
|
6
6
|
*/
|
|
7
|
-
export declare function SkeletonText({ backgroundColor, variant, isLoaded, ...props }: SkeletonTextProps): import("react
|
|
7
|
+
export declare function SkeletonText({ backgroundColor, variant, isLoaded, ...props }: SkeletonTextProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=skeleton-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton-text.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton-text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,EAC5B,eAAuD,EACvD,OAAiB,EACjB,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"skeleton-text.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton-text.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,EAC5B,eAAuD,EACvD,OAAiB,EACjB,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,iBAAiB,+BAKnB"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { SkeletonText as u } from "@chakra-ui/react";
|
|
4
|
+
import { ThemeColorVariable as f } from "../../theme/theme-types.js";
|
|
5
|
+
function b(a) {
|
|
6
|
+
const o = p.c(10);
|
|
7
|
+
let n, e, t, r;
|
|
8
|
+
o[0] !== a ? ({
|
|
9
|
+
backgroundColor: t,
|
|
10
|
+
variant: r,
|
|
11
|
+
isLoaded: n,
|
|
12
|
+
...e
|
|
13
|
+
} = a, o[0] = a, o[1] = n, o[2] = e, o[3] = t, o[4] = r) : (n = o[1], e = o[2], t = o[3], r = o[4]);
|
|
14
|
+
const d = t === void 0 ? f.OnBackgroundBorder : t, s = r === void 0 ? "pulse" : r, i = !n, c = i ? d : void 0;
|
|
15
|
+
let l;
|
|
16
|
+
return o[5] !== c || o[6] !== i || o[7] !== e || o[8] !== s ? (l = /* @__PURE__ */ m(u, { loading: i, background: c, variant: s, ...e }), o[5] = c, o[6] = i, o[7] = e, o[8] = s, o[9] = l) : l = o[9], l;
|
|
12
17
|
}
|
|
13
18
|
export {
|
|
14
|
-
|
|
19
|
+
b as SkeletonText
|
|
15
20
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const BasicSkeleton: () => import("react
|
|
2
|
-
export declare const BasicSkeletonText: () => import("react
|
|
1
|
+
export declare const BasicSkeleton: () => import("react").JSX.Element;
|
|
2
|
+
export declare const BasicSkeletonText: () => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=skeleton.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"skeleton.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,mCAEzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAM7B,CAAC"}
|
|
@@ -4,5 +4,5 @@ import { SkeletonProps } from './types.js';
|
|
|
4
4
|
*
|
|
5
5
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/skeleton
|
|
6
6
|
*/
|
|
7
|
-
export declare function Skeleton({ backgroundColor, variant, isLoaded, children, ...props }: SkeletonProps): import("react
|
|
7
|
+
export declare function Skeleton({ backgroundColor, variant, isLoaded, children, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACxB,eAAuD,EACvD,OAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../lib/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACxB,eAAuD,EACvD,OAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,aAAa,+BASf"}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Skeleton as f } from "@chakra-ui/react";
|
|
4
|
+
import { ThemeColorVariable as k } from "../../theme/theme-types.js";
|
|
5
|
+
function C(c) {
|
|
6
|
+
const o = u.c(12);
|
|
7
|
+
let e, l, r, t, n;
|
|
8
|
+
o[0] !== c ? ({
|
|
9
|
+
backgroundColor: t,
|
|
10
|
+
variant: n,
|
|
11
|
+
isLoaded: l,
|
|
12
|
+
children: e,
|
|
13
|
+
...r
|
|
14
|
+
} = c, o[0] = c, o[1] = e, o[2] = l, o[3] = r, o[4] = t, o[5] = n) : (e = o[1], l = o[2], r = o[3], t = o[4], n = o[5]);
|
|
15
|
+
const m = t === void 0 ? k.OnBackgroundBorder : t, s = n === void 0 ? "pulse" : n, i = !l, d = i ? m : void 0;
|
|
16
|
+
let a;
|
|
17
|
+
return o[6] !== d || o[7] !== e || o[8] !== i || o[9] !== r || o[10] !== s ? (a = /* @__PURE__ */ p(f, { loading: i, background: d, variant: s, ...r, children: e }), o[6] = d, o[7] = e, o[8] = i, o[9] = r, o[10] = s, o[11] = a) : a = o[11], a;
|
|
13
18
|
}
|
|
14
19
|
export {
|
|
15
|
-
|
|
20
|
+
C as Skeleton
|
|
16
21
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SpinnerSizes: () => import("react
|
|
2
|
-
export declare const SpinnerColors: () => import("react
|
|
1
|
+
export declare const SpinnerSizes: () => import("react").JSX.Element;
|
|
2
|
+
export declare const SpinnerColors: () => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=spinner.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"spinner.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,mCAQxB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAWzB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SpinnerProps } from './types.js';
|
|
2
|
-
export declare function Spinner({ size, color, ...props }: SpinnerProps): import("react
|
|
2
|
+
export declare function Spinner({ size, color, ...props }: SpinnerProps): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAazD,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAAkC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../lib/components/spinner/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,SAAS,CAAC;AAazD,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAAkC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,+BAgClG"}
|
|
@@ -1,52 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
cy: "24",
|
|
27
|
-
r: o,
|
|
28
|
-
fill: "none",
|
|
29
|
-
stroke: n.SurfaceDisabled,
|
|
30
|
-
strokeWidth: t
|
|
31
|
-
}
|
|
32
|
-
),
|
|
33
|
-
/* @__PURE__ */ i(
|
|
34
|
-
"circle",
|
|
35
|
-
{
|
|
36
|
-
cx: "24",
|
|
37
|
-
cy: "24",
|
|
38
|
-
r: o,
|
|
39
|
-
fill: "none",
|
|
40
|
-
stroke: "currentColor",
|
|
41
|
-
strokeWidth: t,
|
|
42
|
-
strokeLinecap: "round",
|
|
43
|
-
strokeDasharray: `${p} ${a}`
|
|
44
|
-
}
|
|
45
|
-
)
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
);
|
|
1
|
+
import { jsx as f, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { c as g } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { chakra as C } from "@chakra-ui/react";
|
|
4
|
+
import { ThemeColorVariable as h, ThemeIconSizeVariable as m } from "../../theme/theme-types.js";
|
|
5
|
+
const R = {
|
|
6
|
+
sm: m.XLarge,
|
|
7
|
+
md: m.X2Large,
|
|
8
|
+
lg: m.X3Large
|
|
9
|
+
}, p = 20, d = 4, k = 2 * Math.PI * p, S = k * 0.5;
|
|
10
|
+
function b(l) {
|
|
11
|
+
const e = g.c(10);
|
|
12
|
+
let o, r, t;
|
|
13
|
+
e[0] !== l ? ({
|
|
14
|
+
size: r,
|
|
15
|
+
color: t,
|
|
16
|
+
...o
|
|
17
|
+
} = l, e[0] = l, e[1] = o, e[2] = r, e[3] = t) : (o = e[1], r = e[2], t = e[3]);
|
|
18
|
+
const u = r === void 0 ? "md" : r, a = t === void 0 ? h.Primary : t, i = R[u];
|
|
19
|
+
let s, n;
|
|
20
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ f("circle", { cx: "24", cy: "24", r: p, fill: "none", stroke: h.SurfaceDisabled, strokeWidth: d }), n = /* @__PURE__ */ f("circle", { cx: "24", cy: "24", r: p, fill: "none", stroke: "currentColor", strokeWidth: d, strokeLinecap: "round", strokeDasharray: `${S} ${k}` }), e[4] = s, e[5] = n) : (s = e[4], n = e[5]);
|
|
21
|
+
let c;
|
|
22
|
+
return e[6] !== a || e[7] !== i || e[8] !== o ? (c = /* @__PURE__ */ x(C.svg, { viewBox: "0 0 48 48", width: i, height: i, color: a, animation: "spin", animationDuration: "0.7s", ...o, children: [
|
|
23
|
+
s,
|
|
24
|
+
n
|
|
25
|
+
] }), e[6] = a, e[7] = i, e[8] = o, e[9] = c) : c = e[9], c;
|
|
49
26
|
}
|
|
50
27
|
export {
|
|
51
|
-
|
|
28
|
+
b as Spinner
|
|
52
29
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StackColumnDirection: () => import("react
|
|
2
|
-
export declare const StackRowDirection: () => import("react
|
|
3
|
-
export declare const WithDivider: () => import("react
|
|
1
|
+
export declare const StackColumnDirection: () => import("react").JSX.Element;
|
|
2
|
+
export declare const StackRowDirection: () => import("react").JSX.Element;
|
|
3
|
+
export declare const WithDivider: () => import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=stack.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/stack/stack.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"stack.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/stack/stack.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,mCAYhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAY7B,CAAC;AAEF,eAAO,MAAM,WAAW,mCAYvB,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
);
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Stack as l } from "@chakra-ui/react";
|
|
4
|
+
import { forwardRef as f } from "react";
|
|
5
|
+
const S = f((s, a) => {
|
|
6
|
+
const r = m.c(11);
|
|
7
|
+
let t, o, e, i;
|
|
8
|
+
r[0] !== s ? ({
|
|
9
|
+
children: t,
|
|
10
|
+
divider: o,
|
|
11
|
+
spacing: i,
|
|
12
|
+
...e
|
|
13
|
+
} = s, r[0] = s, r[1] = t, r[2] = o, r[3] = e, r[4] = i) : (t = r[1], o = r[2], e = r[3], i = r[4]);
|
|
14
|
+
let p;
|
|
15
|
+
return r[5] !== t || r[6] !== o || r[7] !== e || r[8] !== a || r[9] !== i ? (p = /* @__PURE__ */ c(l, { ref: a, separator: o, gap: i, ...e, children: t }), r[5] = t, r[6] = o, r[7] = e, r[8] = a, r[9] = i, r[10] = p) : p = r[10], p;
|
|
16
|
+
});
|
|
7
17
|
export {
|
|
8
|
-
|
|
18
|
+
S as Stack
|
|
9
19
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createCasperIcon as c } from "../icon/create-icon.js";
|
|
2
|
-
const e = c(
|
|
3
|
-
"CheckIcon",
|
|
4
|
-
"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z",
|
|
5
|
-
{},
|
|
6
|
-
"0 0 512 512"
|
|
7
|
-
);
|
|
2
|
+
const e = c("CheckIcon", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z", {}, "0 0 512 512");
|
|
8
3
|
export {
|
|
9
4
|
e as CheckIcon
|
|
10
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ThemeColorVariable } from '../../theme/index.js';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
import { StepIcon } from './types.js';
|
|
3
4
|
export type StepContextValues = {
|
|
4
5
|
/** Orientation provided from Stepper parent. */
|
|
@@ -8,7 +9,7 @@ export type StepContextValues = {
|
|
|
8
9
|
/** Step is active step */
|
|
9
10
|
isActiveStep: boolean;
|
|
10
11
|
/** Label to display next to/below step circle */
|
|
11
|
-
label:
|
|
12
|
+
label: ReactNode;
|
|
12
13
|
/** Step icon */
|
|
13
14
|
icon?: StepIcon;
|
|
14
15
|
/** Step circle color */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-context.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"step-context.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,gDAAgD;IAChD,WAAW,EAAE,UAAU,GAAG,YAAY,CAAC;IACvC,+CAA+C;IAC/C,WAAW,EAAE,OAAO,CAAC;IACrB,0BAA0B;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,KAAK,EAAE,SAAS,CAAC;IACjB,gBAAgB;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,wBAAwB;IACxB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,sBAAsB;IACtB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,yBAAyB;IACzB,YAAY,EAAE,kBAAkB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,WAAW,4CAA4D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step.tsx"],"names":[],"mappings":"AAgGA;;GAEG;AACH,wBAAgB,IAAI,
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/step.tsx"],"names":[],"mappings":"AAgGA;;GAEG;AACH,wBAAgB,IAAI,gCA2BnB"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { jsx as m, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as S } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Text as y, Box as h, Flex as C, Spinner as I } from "@chakra-ui/react";
|
|
4
|
+
import { useContext as x } from "react";
|
|
5
|
+
import { CheckIcon as H } from "./check-icon.js";
|
|
6
|
+
import { StepContext as b } from "./step-context.js";
|
|
7
|
+
import { TimesIcon as R } from "./times-icon.js";
|
|
8
|
+
import { ThemeColorVariable as k, ThemeFontSizeVariable as B, ThemeFontVariable as F, ThemeRadiusVariable as w, ThemeSpaceVariable as z, ThemeIconSizeVariable as g } from "../../theme/theme-types.js";
|
|
9
|
+
const T = (e, i) => {
|
|
9
10
|
switch (!0) {
|
|
10
11
|
case e:
|
|
11
12
|
return "32px";
|
|
12
|
-
case !!
|
|
13
|
+
case !!i:
|
|
13
14
|
return "24px";
|
|
14
15
|
default:
|
|
15
16
|
return "13px";
|
|
16
17
|
}
|
|
17
18
|
};
|
|
18
|
-
function
|
|
19
|
-
if (!
|
|
19
|
+
function _(e, i) {
|
|
20
|
+
if (!i) return "0px";
|
|
20
21
|
switch (e) {
|
|
21
22
|
case "32px":
|
|
22
23
|
return "4px";
|
|
@@ -26,67 +27,86 @@ function I(e, r) {
|
|
|
26
27
|
return "0px";
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
),
|
|
54
|
-
n === "times" && /* @__PURE__ */ i(z, { size: c })
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
);
|
|
30
|
+
function V() {
|
|
31
|
+
const e = S.c(19), {
|
|
32
|
+
isActiveStep: i,
|
|
33
|
+
iconColor: l,
|
|
34
|
+
color: o,
|
|
35
|
+
icon: t
|
|
36
|
+
} = x(b);
|
|
37
|
+
let r;
|
|
38
|
+
e[0] !== t || e[1] !== i ? (r = T(i, t), e[0] = t, e[1] = i, e[2] = r) : r = e[2];
|
|
39
|
+
const n = r, c = i ? g.Small : g.XSmall;
|
|
40
|
+
let s;
|
|
41
|
+
e[3] !== t || e[4] !== c ? (s = t === "check" && /* @__PURE__ */ m(H, { size: c }), e[3] = t, e[4] = c, e[5] = s) : s = e[5];
|
|
42
|
+
let p;
|
|
43
|
+
e[6] !== t || e[7] !== i ? (p = t === "spinner" && /* @__PURE__ */ m(I, { css: {
|
|
44
|
+
"--spinner-size": i ? g.XSmall : "0.75rem"
|
|
45
|
+
} }), e[6] = t, e[7] = i, e[8] = p) : p = e[8];
|
|
46
|
+
let f;
|
|
47
|
+
e[9] !== t || e[10] !== c ? (f = t === "times" && /* @__PURE__ */ m(R, { size: c }), e[9] = t, e[10] = c, e[11] = f) : f = e[11];
|
|
48
|
+
let a;
|
|
49
|
+
return e[12] !== n || e[13] !== o || e[14] !== l || e[15] !== s || e[16] !== p || e[17] !== f ? (a = /* @__PURE__ */ d(h, { backgroundColor: o, borderRadius: "full", w: n, minW: n, h: n, minH: n, display: "flex", alignItems: "center", justifyContent: "center", color: l, children: [
|
|
50
|
+
s,
|
|
51
|
+
p,
|
|
52
|
+
f
|
|
53
|
+
] }), e[12] = n, e[13] = o, e[14] = l, e[15] = s, e[16] = p, e[17] = f, e[18] = a) : a = e[18], a;
|
|
58
54
|
}
|
|
59
|
-
function
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
function $() {
|
|
56
|
+
const e = S.c(6), {
|
|
57
|
+
showDivider: i,
|
|
58
|
+
dividerColor: l
|
|
59
|
+
} = x(b);
|
|
60
|
+
let o;
|
|
61
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ m(V, {}), e[0] = o) : o = e[0];
|
|
62
|
+
let t;
|
|
63
|
+
e[1] !== l || e[2] !== i ? (t = i && /* @__PURE__ */ m(h, { width: "3px", minH: "46px", bg: l, borderRadius: w.Small }), e[1] = l, e[2] = i, e[3] = t) : t = e[3];
|
|
64
|
+
let r;
|
|
65
|
+
return e[4] !== t ? (r = /* @__PURE__ */ d(C, { direction: "column", alignItems: "center", w: "48px", gap: z.Small, children: [
|
|
66
|
+
o,
|
|
67
|
+
t
|
|
68
|
+
] }), e[4] = t, e[5] = r) : r = e[5], r;
|
|
65
69
|
}
|
|
66
|
-
function
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
function j() {
|
|
71
|
+
const e = S.c(6), {
|
|
72
|
+
showDivider: i,
|
|
73
|
+
dividerColor: l
|
|
74
|
+
} = x(b);
|
|
75
|
+
let o;
|
|
76
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ m(V, {}), e[0] = o) : o = e[0];
|
|
77
|
+
let t;
|
|
78
|
+
e[1] !== l || e[2] !== i ? (t = i && /* @__PURE__ */ m(h, { w: "100%", h: "3px", bg: l, borderRadius: w.Small }), e[1] = l, e[2] = i, e[3] = t) : t = e[3];
|
|
79
|
+
let r;
|
|
80
|
+
return e[4] !== t ? (r = /* @__PURE__ */ d(C, { direction: "row", alignItems: "center", h: "48px", gap: z.Small, children: [
|
|
81
|
+
o,
|
|
82
|
+
t
|
|
83
|
+
] }), e[4] = t, e[5] = r) : r = e[5], r;
|
|
72
84
|
}
|
|
73
|
-
function
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
] });
|
|
85
|
+
function q() {
|
|
86
|
+
const e = S.c(13), {
|
|
87
|
+
isActiveStep: i,
|
|
88
|
+
orientation: l,
|
|
89
|
+
label: o,
|
|
90
|
+
icon: t
|
|
91
|
+
} = x(b), r = l === "vertical";
|
|
92
|
+
let n;
|
|
93
|
+
if (e[0] !== t || e[1] !== i || e[2] !== r) {
|
|
94
|
+
const v = T(i, t);
|
|
95
|
+
n = _(v, r), e[0] = t, e[1] = i, e[2] = r, e[3] = n;
|
|
96
|
+
} else
|
|
97
|
+
n = e[3];
|
|
98
|
+
const c = n;
|
|
99
|
+
let s;
|
|
100
|
+
e[4] !== o || e[5] !== c ? (s = typeof o == "string" ? /* @__PURE__ */ m(y, { mt: c, fontFamily: F.SubHeader, fontSize: B.Medium, color: k.OnBackgroundHeader, fontWeight: "medium", children: o }) : /* @__PURE__ */ m(h, { mt: c, children: o }), e[4] = o, e[5] = c, e[6] = s) : s = e[6];
|
|
101
|
+
const p = s, f = r ? "row" : "column";
|
|
102
|
+
let a;
|
|
103
|
+
e[7] !== r ? (a = r ? /* @__PURE__ */ m($, {}) : /* @__PURE__ */ m(j, {}), e[7] = r, e[8] = a) : a = e[8];
|
|
104
|
+
let u;
|
|
105
|
+
return e[9] !== p || e[10] !== f || e[11] !== a ? (u = /* @__PURE__ */ d(C, { w: "100%", h: "100%", direction: f, children: [
|
|
106
|
+
a,
|
|
107
|
+
p
|
|
108
|
+
] }), e[9] = p, e[10] = f, e[11] = a, e[12] = u) : u = e[12], u;
|
|
89
109
|
}
|
|
90
110
|
export {
|
|
91
|
-
|
|
111
|
+
q as Step
|
|
92
112
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const HorizontalOrientation: () => import("react
|
|
2
|
-
export declare const VerticalOrientation: () => import("react
|
|
3
|
-
export declare const ActiveStep: () => import("react
|
|
4
|
-
export declare const StepIcons: () => import("react
|
|
5
|
-
export declare const CustomColorsExampleOne: () => import("react
|
|
6
|
-
export declare const CustomColorsExampleTwo: () => import("react
|
|
1
|
+
export declare const HorizontalOrientation: () => import("react").JSX.Element;
|
|
2
|
+
export declare const VerticalOrientation: () => import("react").JSX.Element;
|
|
3
|
+
export declare const ActiveStep: () => import("react").JSX.Element;
|
|
4
|
+
export declare const StepIcons: () => import("react").JSX.Element;
|
|
5
|
+
export declare const CustomColorsExampleOne: () => import("react").JSX.Element;
|
|
6
|
+
export declare const CustomColorsExampleTwo: () => import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=stepper.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/stepper.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"stepper.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/stepper.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,mCAejC,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAc/B,CAAC;AAEF,eAAO,MAAM,UAAU,mCAetB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAgBrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAwBlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAmBlC,CAAC"}
|
|
@@ -4,5 +4,5 @@ import { StepperProps } from './types.js';
|
|
|
4
4
|
*
|
|
5
5
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/stepper
|
|
6
6
|
*/
|
|
7
|
-
export declare function Stepper({ activeStep, orientation, steps, ...props }: StepperProps): import("react
|
|
7
|
+
export declare function Stepper({ activeStep, orientation, steps, ...props }: StepperProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/stepper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EAAE,UAAU,EAAE,WAAwB,EAAE,KAAU,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../lib/components/stepper/stepper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EAAE,UAAU,EAAE,WAAwB,EAAE,KAAU,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,+BA2BnG"}
|
|
@@ -1,24 +1,44 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { c as B } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Stack as k } from "@chakra-ui/react";
|
|
4
|
+
import { Step as x } from "./step.js";
|
|
5
|
+
import { StepContext as O } from "./step-context.js";
|
|
6
|
+
import { ThemeSpaceVariable as V, ThemeColorVariable as h } from "../../theme/theme-types.js";
|
|
7
|
+
function P(d) {
|
|
8
|
+
const o = B.c(19);
|
|
9
|
+
let e, r, c, t;
|
|
10
|
+
o[0] !== d ? ({
|
|
11
|
+
activeStep: e,
|
|
12
|
+
orientation: c,
|
|
13
|
+
steps: t,
|
|
14
|
+
...r
|
|
15
|
+
} = d, o[0] = d, o[1] = e, o[2] = r, o[3] = c, o[4] = t) : (e = o[1], r = o[2], c = o[3], t = o[4]);
|
|
16
|
+
const i = c === void 0 ? "vertical" : c;
|
|
17
|
+
let a;
|
|
18
|
+
o[5] !== t ? (a = t === void 0 ? [] : t, o[5] = t, o[6] = a) : a = o[6];
|
|
19
|
+
const l = a, g = i === "vertical";
|
|
20
|
+
let s;
|
|
21
|
+
if (o[7] !== e || o[8] !== i || o[9] !== l) {
|
|
22
|
+
let p;
|
|
23
|
+
o[11] !== e || o[12] !== i || o[13] !== l.length ? (p = (n, C) => {
|
|
24
|
+
const S = C + 1, b = {
|
|
25
|
+
orientation: i,
|
|
26
|
+
isActiveStep: e === S,
|
|
27
|
+
showDivider: C !== l.length - 1,
|
|
28
|
+
label: n.label,
|
|
29
|
+
icon: n.icon,
|
|
30
|
+
color: n.color ?? h.OnBackgroundBorder,
|
|
31
|
+
iconColor: n.iconColor ?? h.OnBackground,
|
|
32
|
+
dividerColor: (n.dividerColor || n.color) ?? h.OnBackgroundBorder
|
|
33
|
+
};
|
|
34
|
+
return /* @__PURE__ */ u(O.Provider, { value: b, children: /* @__PURE__ */ u(x, {}) }, S);
|
|
35
|
+
}, o[11] = e, o[12] = i, o[13] = l.length, o[14] = p) : p = o[14], s = l.map(p), o[7] = e, o[8] = i, o[9] = l, o[10] = s;
|
|
36
|
+
} else
|
|
37
|
+
s = o[10];
|
|
38
|
+
const f = s, v = g ? "column" : "row";
|
|
39
|
+
let m;
|
|
40
|
+
return o[15] !== r || o[16] !== f || o[17] !== v ? (m = /* @__PURE__ */ u(k, { gap: V.Small, direction: v, ...r, children: f }), o[15] = r, o[16] = f, o[17] = v, o[18] = m) : m = o[18], m;
|
|
21
41
|
}
|
|
22
42
|
export {
|
|
23
|
-
|
|
43
|
+
P as Stepper
|
|
24
44
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createCasperIcon as c } from "../icon/create-icon.js";
|
|
2
|
-
const o = c(
|
|
3
|
-
"TimesIcon",
|
|
4
|
-
"M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z",
|
|
5
|
-
{},
|
|
6
|
-
"0 0 320 512"
|
|
7
|
-
);
|
|
2
|
+
const o = c("TimesIcon", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z", {}, "0 0 320 512");
|
|
8
3
|
export {
|
|
9
4
|
o as TimesIcon
|
|
10
5
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CustomChakraBoxProps, LayoutProps, MarginProps, PaddingProps, ThemeColorVariable } from '../../theme/index.js';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
export type StepIcon = "times" | "check" | "spinner";
|
|
3
4
|
export type StepCircleSize = "13px" | "24px" | "32px";
|
|
4
5
|
export type TStep = {
|
|
5
6
|
/** Label to be displayed next to step. Can be both a string and an element */
|
|
6
|
-
label:
|
|
7
|
+
label: ReactNode;
|
|
7
8
|
/** The color of the step. */
|
|
8
9
|
color?: ThemeColorVariable;
|
|
9
10
|
/** Color of any icon displayed for step. */
|