@caspeco/casper-ui-library 9.13.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/components/accordion/accordion-item.d.ts +3 -2
- package/dist/components/accordion/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/accordion-item.js +36 -19
- package/dist/components/accordion/accordion-panel.d.ts +1 -1
- package/dist/components/accordion/accordion-panel.d.ts.map +1 -1
- package/dist/components/accordion/accordion-panel.js +13 -5
- package/dist/components/accordion/accordion.composition.d.ts +3 -3
- package/dist/components/accordion/accordion.composition.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +18 -6
- package/dist/components/alert/alert.composition.d.ts +5 -5
- package/dist/components/alert/alert.composition.d.ts.map +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +58 -74
- package/dist/components/alert/helper.d.ts +1 -1
- package/dist/components/alert/helper.d.ts.map +1 -1
- package/dist/components/alert/helper.js +10 -15
- package/dist/components/badge/badge-recipe.js +13 -19
- package/dist/components/badge/badge.composition.d.ts +3 -3
- package/dist/components/badge/badge.composition.d.ts.map +1 -1
- package/dist/components/badge/badge.js +70 -31
- package/dist/components/box/box.composition.d.ts +6 -6
- package/dist/components/box/box.composition.d.ts.map +1 -1
- package/dist/components/box/box.js +10 -5
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.js +16 -5
- package/dist/components/breadcrumbs/breadcrumb-link.js +19 -17
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +82 -80
- package/dist/components/button/button-recipe.js +6 -2
- package/dist/components/button/button.composition.d.ts +5 -5
- package/dist/components/button/button.composition.d.ts.map +1 -1
- package/dist/components/button/button.js +38 -42
- package/dist/components/checkbox/checkbox-icon.d.ts +2 -1
- package/dist/components/checkbox/checkbox-icon.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.composition.d.ts +3 -3
- package/dist/components/checkbox/checkbox.composition.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.js +34 -53
- package/dist/components/checkbox/icons/check.js +1 -6
- package/dist/components/checkbox/icons/minus.js +1 -6
- package/dist/components/checkbox/icons/plus.js +1 -6
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +13 -4
- package/dist/components/collapsible/collapsible.composition.d.ts +3 -3
- package/dist/components/collapsible/collapsible.composition.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.js +93 -108
- package/dist/components/combobox/combobox-button.d.ts +1 -1
- package/dist/components/combobox/combobox-button.d.ts.map +1 -1
- package/dist/components/combobox/combobox-button.js +131 -174
- package/dist/components/combobox/combobox-item.d.ts +1 -1
- package/dist/components/combobox/combobox-item.d.ts.map +1 -1
- package/dist/components/combobox/combobox-item.js +18 -11
- package/dist/components/combobox/combobox-menu.d.ts +2 -2
- package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
- package/dist/components/combobox/combobox-menu.js +171 -270
- package/dist/components/combobox/combobox.composition.d.ts +9 -9
- package/dist/components/combobox/combobox.composition.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +286 -209
- package/dist/components/combobox/types.d.ts +7 -7
- package/dist/components/combobox/types.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.d.ts +2 -1
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +244 -262
- package/dist/components/date-picker/date-multi-picker.d.ts +1 -1
- package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-multi-picker.js +25 -49
- package/dist/components/date-picker/date-picker-date-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-date-cell.js +111 -117
- package/dist/components/date-picker/date-picker-header.d.ts +1 -1
- package/dist/components/date-picker/date-picker-header.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-header.js +153 -120
- package/dist/components/date-picker/date-picker-week-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-week-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-week-cell.js +41 -36
- package/dist/components/date-picker/date-picker.composition.d.ts +5 -5
- package/dist/components/date-picker/date-picker.composition.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.js +24 -45
- package/dist/components/date-picker/date-range-picker.d.ts +1 -1
- package/dist/components/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-range-picker.js +23 -41
- package/dist/components/date-picker/date-week-picker.d.ts +1 -1
- package/dist/components/date-picker/date-week-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-week-picker.js +18 -36
- package/dist/components/date-picker/helper.js +1 -1
- package/dist/components/divider/divider.composition.d.ts +2 -2
- package/dist/components/divider/divider.composition.d.ts.map +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +16 -19
- package/dist/components/drawer/drawer-recipe.js +25 -5
- package/dist/components/drawer/drawer.composition.d.ts +5 -5
- package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +38 -36
- package/dist/components/drawer/inline-drawer.d.ts +1 -1
- package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
- package/dist/components/drawer/inline-drawer.js +62 -57
- package/dist/components/drawer/use-drawer-key-down.js +15 -8
- package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-error-text.js +13 -5
- package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-helper-text.js +13 -5
- package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
- package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-legend.js +13 -5
- package/dist/components/fieldset/fieldset.d.ts +1 -1
- package/dist/components/fieldset/fieldset.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.js +15 -5
- package/dist/components/flex/flex.composition.d.ts +2 -2
- package/dist/components/flex/flex.composition.d.ts.map +1 -1
- package/dist/components/flex/flex.d.ts +1 -1
- package/dist/components/flex/flex.d.ts.map +1 -1
- package/dist/components/flex/flex.js +13 -5
- package/dist/components/form-control/form-control.composition.d.ts +6 -6
- package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
- package/dist/components/form-control/form-control.d.ts +1 -1
- package/dist/components/form-control/form-control.d.ts.map +1 -1
- package/dist/components/form-control/form-control.js +17 -22
- package/dist/components/form-control/form-error-message.d.ts +1 -1
- package/dist/components/form-control/form-error-message.d.ts.map +1 -1
- package/dist/components/form-control/form-error-message.js +13 -5
- package/dist/components/form-control/form-helper-text.d.ts +1 -1
- package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
- package/dist/components/form-control/form-helper-text.js +13 -5
- package/dist/components/form-control/form-label.d.ts +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/form-control/form-label.js +24 -11
- package/dist/components/grid/grid-item.d.ts +1 -1
- package/dist/components/grid/grid-item.d.ts.map +1 -1
- package/dist/components/grid/grid-item.js +12 -4
- package/dist/components/grid/grid.composition.d.ts +2 -2
- package/dist/components/grid/grid.composition.d.ts.map +1 -1
- package/dist/components/grid/grid.d.ts +1 -1
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/grid/grid.js +13 -5
- package/dist/components/heading/heading.composition.d.ts +3 -3
- package/dist/components/heading/heading.composition.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +21 -29
- package/dist/components/highlight/highlight.composition.d.ts +2 -2
- package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
- package/dist/components/highlight/highlight.d.ts +1 -1
- package/dist/components/highlight/highlight.d.ts.map +1 -1
- package/dist/components/highlight/highlight.js +19 -15
- package/dist/components/icon/create-icon.js +24 -15
- package/dist/components/icon/icon.composition.d.ts +1 -1
- package/dist/components/icon/icon.composition.d.ts.map +1 -1
- package/dist/components/icon/icons/absence-icon.js +1 -4
- package/dist/components/icon/icons/accessibility-icon.js +1 -4
- package/dist/components/icon/icons/add-absence-icon.js +1 -4
- package/dist/components/icon/icons/add-emoji-icon.js +1 -4
- package/dist/components/icon/icons/add-icon.js +1 -4
- package/dist/components/icon/icons/apple-icon.js +1 -4
- package/dist/components/icon/icons/apps-icon.js +1 -4
- package/dist/components/icon/icons/archive-icon.js +4 -5
- package/dist/components/icon/icons/area-icon.js +1 -4
- package/dist/components/icon/icons/at-icon.js +1 -4
- package/dist/components/icon/icons/attachment-icon.js +1 -4
- package/dist/components/icon/icons/baby-icon.js +1 -4
- package/dist/components/icon/icons/back-icon.js +1 -4
- package/dist/components/icon/icons/backspace-icon.js +1 -4
- package/dist/components/icon/icons/bank-icon.js +1 -4
- package/dist/components/icon/icons/bank-id-icon.js +1 -4
- package/dist/components/icon/icons/barcode-icon.js +1 -4
- package/dist/components/icon/icons/bell-icon.js +1 -4
- package/dist/components/icon/icons/bolt-icon.js +4 -5
- package/dist/components/icon/icons/calendar-icon.js +1 -4
- package/dist/components/icon/icons/camera-icon.js +1 -4
- package/dist/components/icon/icons/cancel-icon.js +1 -4
- package/dist/components/icon/icons/card-icon.js +1 -4
- package/dist/components/icon/icons/cart-icon.js +1 -4
- package/dist/components/icon/icons/caspeco-icon.js +4 -5
- package/dist/components/icon/icons/channels-icon.js +1 -4
- package/dist/components/icon/icons/chart-icon.js +1 -4
- package/dist/components/icon/icons/chart-line-icon.js +1 -4
- package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
- package/dist/components/icon/icons/chart-pie-icon.js +1 -4
- package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
- package/dist/components/icon/icons/check-icon.js +1 -4
- package/dist/components/icon/icons/checkbox-icon.js +1 -4
- package/dist/components/icon/icons/chevron-left-icon.js +1 -4
- package/dist/components/icon/icons/chevron-right-icon.js +1 -4
- package/dist/components/icon/icons/child-icon.js +1 -4
- package/dist/components/icon/icons/circle-info-icon.js +1 -4
- package/dist/components/icon/icons/circle-parking-icon.js +1 -4
- package/dist/components/icon/icons/circle-question-icon.js +1 -4
- package/dist/components/icon/icons/circle-select-icon.js +1 -4
- package/dist/components/icon/icons/circle-success-icon.js +1 -4
- package/dist/components/icon/icons/circle-user-icon.js +1 -4
- package/dist/components/icon/icons/clear-icon.js +1 -4
- package/dist/components/icon/icons/close-icon.js +1 -4
- package/dist/components/icon/icons/closed-icon.js +1 -4
- package/dist/components/icon/icons/collapse-icon.js +1 -4
- package/dist/components/icon/icons/color-icon.js +1 -4
- package/dist/components/icon/icons/columns-icon.js +1 -4
- package/dist/components/icon/icons/comment-add-icon.js +1 -4
- package/dist/components/icon/icons/comment-icon.js +1 -4
- package/dist/components/icon/icons/cookies-icon.js +1 -4
- package/dist/components/icon/icons/copy-icon.js +1 -4
- package/dist/components/icon/icons/date-icon.js +1 -4
- package/dist/components/icon/icons/decrease-icon.js +1 -4
- package/dist/components/icon/icons/delete-icon.js +1 -4
- package/dist/components/icon/icons/deliverect-icon.js +1 -4
- package/dist/components/icon/icons/delivery-icon.js +1 -4
- package/dist/components/icon/icons/description-icon.js +1 -4
- package/dist/components/icon/icons/discount-icon.js +1 -4
- package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
- package/dist/components/icon/icons/door-closed-icon.js +1 -4
- package/dist/components/icon/icons/door-open-icon.js +1 -4
- package/dist/components/icon/icons/down-icon.js +1 -4
- package/dist/components/icon/icons/eat-in-icon.js +1 -4
- package/dist/components/icon/icons/edit-icon.js +1 -4
- package/dist/components/icon/icons/email-icon.js +1 -4
- package/dist/components/icon/icons/error-icon.js +1 -4
- package/dist/components/icon/icons/expand-icon.js +1 -4
- package/dist/components/icon/icons/export-icon.js +1 -4
- package/dist/components/icon/icons/extract-icon.js +1 -4
- package/dist/components/icon/icons/facebook-icon.js +1 -4
- package/dist/components/icon/icons/failed-print-icon.js +1 -4
- package/dist/components/icon/icons/file-icon.js +1 -4
- package/dist/components/icon/icons/filter-icon.js +1 -4
- package/dist/components/icon/icons/folder-icon.js +1 -4
- package/dist/components/icon/icons/foodora-icon.js +1 -4
- package/dist/components/icon/icons/forward-icon.js +1 -4
- package/dist/components/icon/icons/glovo-icon.js +4 -5
- package/dist/components/icon/icons/goal-icon.js +1 -4
- package/dist/components/icon/icons/google-icon.js +1 -4
- package/dist/components/icon/icons/grip-more-icon.js +1 -4
- package/dist/components/icon/icons/hash-icon.js +1 -4
- package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
- package/dist/components/icon/icons/hide-icon.js +1 -4
- package/dist/components/icon/icons/history-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
- package/dist/components/icon/icons/image-icon.js +1 -4
- package/dist/components/icon/icons/import-icon.js +1 -4
- package/dist/components/icon/icons/inbox-icon.js +1 -4
- package/dist/components/icon/icons/increase-icon.js +1 -4
- package/dist/components/icon/icons/indeterminate-icon.js +1 -4
- package/dist/components/icon/icons/info-icon.js +1 -4
- package/dist/components/icon/icons/inheritance-icon.js +1 -4
- package/dist/components/icon/icons/just-eat-icon.js +1 -4
- package/dist/components/icon/icons/karma-icon.js +1 -4
- package/dist/components/icon/icons/key-command-icon.js +1 -4
- package/dist/components/icon/icons/key-enter-icon.js +1 -4
- package/dist/components/icon/icons/key-icon.js +1 -4
- package/dist/components/icon/icons/key-option-icon.js +1 -4
- package/dist/components/icon/icons/language-icon.js +1 -4
- package/dist/components/icon/icons/link-broken-icon.js +1 -4
- package/dist/components/icon/icons/link-external-icon.js +1 -4
- package/dist/components/icon/icons/link-icon.js +1 -4
- package/dist/components/icon/icons/list-ol-icon.js +1 -4
- package/dist/components/icon/icons/list-ul-icon.js +1 -4
- package/dist/components/icon/icons/loading-icon.js +1 -4
- package/dist/components/icon/icons/location-icon.js +1 -4
- package/dist/components/icon/icons/lock-icon.js +1 -4
- package/dist/components/icon/icons/log-in-icon.js +1 -4
- package/dist/components/icon/icons/log-out-icon.js +1 -4
- package/dist/components/icon/icons/map-icon.js +1 -4
- package/dist/components/icon/icons/maximize-icon.js +1 -4
- package/dist/components/icon/icons/members-icon.js +1 -4
- package/dist/components/icon/icons/menu-hide-icon.js +1 -4
- package/dist/components/icon/icons/menu-icon.js +1 -4
- package/dist/components/icon/icons/menu-show-icon.js +1 -4
- package/dist/components/icon/icons/message-add-icon.js +1 -4
- package/dist/components/icon/icons/message-icon.js +1 -4
- package/dist/components/icon/icons/message-lines-icon.js +1 -4
- package/dist/components/icon/icons/minimize-icon.js +1 -4
- package/dist/components/icon/icons/minimize-window-icon.js +1 -4
- package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
- package/dist/components/icon/icons/module-accounting-icon.js +1 -4
- package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
- package/dist/components/icon/icons/module-app-icon.js +1 -4
- package/dist/components/icon/icons/module-articles-icon.js +1 -4
- package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
- package/dist/components/icon/icons/module-booking-icon.js +1 -4
- package/dist/components/icon/icons/module-cai-icon.js +1 -4
- package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
- package/dist/components/icon/icons/module-cashier-icon.js +1 -4
- package/dist/components/icon/icons/module-communication-icon.js +1 -4
- package/dist/components/icon/icons/module-copilot-icon.js +1 -4
- package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
- package/dist/components/icon/icons/module-document-icon.js +1 -4
- package/dist/components/icon/icons/module-employees-icon.js +1 -4
- package/dist/components/icon/icons/module-feed-icon.js +1 -4
- package/dist/components/icon/icons/module-history-icon.js +1 -4
- package/dist/components/icon/icons/module-home-icon.js +1 -4
- package/dist/components/icon/icons/module-insights-icon.js +1 -4
- package/dist/components/icon/icons/module-kds-icon.js +1 -4
- package/dist/components/icon/icons/module-members-icon.js +1 -4
- package/dist/components/icon/icons/module-menus-icon.js +1 -4
- package/dist/components/icon/icons/module-my-city-icon.js +1 -4
- package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
- package/dist/components/icon/icons/module-online-order-icon.js +1 -4
- package/dist/components/icon/icons/module-organisation-icon.js +1 -4
- package/dist/components/icon/icons/module-pos-icon.js +1 -4
- package/dist/components/icon/icons/module-pulse-icon.js +1 -4
- package/dist/components/icon/icons/module-result-icon.js +1 -4
- package/dist/components/icon/icons/module-salary-icon.js +1 -4
- package/dist/components/icon/icons/module-schedule-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-icon.js +1 -4
- package/dist/components/icon/icons/module-support-icon.js +1 -4
- package/dist/components/icon/icons/module-survey-icon.js +1 -4
- package/dist/components/icon/icons/module-table-map-icon.js +4 -5
- package/dist/components/icon/icons/module-tablet-icon.js +1 -4
- package/dist/components/icon/icons/module-time-icon.js +1 -4
- package/dist/components/icon/icons/module-timeline-icon.js +1 -4
- package/dist/components/icon/icons/module-tip-icon.js +1 -4
- package/dist/components/icon/icons/module-to-do-icon.js +1 -4
- package/dist/components/icon/icons/module-tools-icon.js +1 -4
- package/dist/components/icon/icons/module-top-list-icon.js +1 -4
- package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
- package/dist/components/icon/icons/module-web-icon.js +1 -4
- package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
- package/dist/components/icon/icons/more-vertical-icon.js +1 -4
- package/dist/components/icon/icons/nfc-icon.js +1 -4
- package/dist/components/icon/icons/no-cart-icon.js +1 -4
- package/dist/components/icon/icons/note-icon.js +1 -4
- package/dist/components/icon/icons/number-icon.js +4 -5
- package/dist/components/icon/icons/open-modal-icon.js +1 -4
- package/dist/components/icon/icons/parking-icon.js +1 -4
- package/dist/components/icon/icons/party-horn-icon.js +1 -4
- package/dist/components/icon/icons/pause-icon.js +1 -4
- package/dist/components/icon/icons/payment-card-icon.js +1 -4
- package/dist/components/icon/icons/payment-cash-icon.js +1 -4
- package/dist/components/icon/icons/payment-generic-icon.js +1 -4
- package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
- package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
- package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
- package/dist/components/icon/icons/percentage-icon.js +1 -4
- package/dist/components/icon/icons/phone-icon.js +1 -4
- package/dist/components/icon/icons/pin-icon.js +1 -4
- package/dist/components/icon/icons/pin-map-icon.js +1 -4
- package/dist/components/icon/icons/play-icon.js +1 -4
- package/dist/components/icon/icons/preview-icon.js +1 -4
- package/dist/components/icon/icons/print-icon.js +1 -4
- package/dist/components/icon/icons/privacy-icon.js +1 -4
- package/dist/components/icon/icons/product-admin-icon.js +1 -4
- package/dist/components/icon/icons/product-analytics-icon.js +1 -4
- package/dist/components/icon/icons/product-booking-icon.js +1 -4
- package/dist/components/icon/icons/product-checkout-icon.js +1 -4
- package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
- package/dist/components/icon/icons/product-staff-icon.js +1 -4
- package/dist/components/icon/icons/puck-icon.js +1 -4
- package/dist/components/icon/icons/qr-code-icon.js +1 -4
- package/dist/components/icon/icons/question-icon.js +1 -4
- package/dist/components/icon/icons/radio-icon.js +1 -4
- package/dist/components/icon/icons/receipt-icon.js +1 -4
- package/dist/components/icon/icons/redo-icon.js +1 -4
- package/dist/components/icon/icons/refund-icon.js +1 -4
- package/dist/components/icon/icons/remove-icon.js +1 -4
- package/dist/components/icon/icons/replace-icon.js +1 -4
- package/dist/components/icon/icons/schedule-icon.js +1 -4
- package/dist/components/icon/icons/search-icon.js +1 -4
- package/dist/components/icon/icons/select-icon.js +1 -4
- package/dist/components/icon/icons/send-icon.js +1 -4
- package/dist/components/icon/icons/share-icon.js +1 -4
- package/dist/components/icon/icons/show-icon.js +1 -4
- package/dist/components/icon/icons/shuffle-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
- package/dist/components/icon/icons/sliders-icon.js +1 -4
- package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
- package/dist/components/icon/icons/smile-icon.js +1 -4
- package/dist/components/icon/icons/sort-asc-icon.js +1 -4
- package/dist/components/icon/icons/sort-desc-icon.js +1 -4
- package/dist/components/icon/icons/split-icon.js +1 -4
- package/dist/components/icon/icons/status-icon.js +1 -4
- package/dist/components/icon/icons/stop-icon.js +1 -4
- package/dist/components/icon/icons/submenu-icon.js +1 -4
- package/dist/components/icon/icons/success-icon.js +1 -4
- package/dist/components/icon/icons/swap-icon.js +1 -4
- package/dist/components/icon/icons/swatch-icon.js +1 -4
- package/dist/components/icon/icons/sweat-icon.js +1 -4
- package/dist/components/icon/icons/table-icon.js +1 -4
- package/dist/components/icon/icons/table-map-icon.js +1 -4
- package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
- package/dist/components/icon/icons/take-away-icon.js +1 -4
- package/dist/components/icon/icons/talk-icon.js +1 -4
- package/dist/components/icon/icons/thumbtack-icon.js +1 -4
- package/dist/components/icon/icons/time-icon.js +1 -4
- package/dist/components/icon/icons/timeline-icon.js +1 -4
- package/dist/components/icon/icons/tip-icon.js +1 -4
- package/dist/components/icon/icons/title-icon.js +1 -4
- package/dist/components/icon/icons/translate-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
- package/dist/components/icon/icons/trend-down-icon.js +1 -4
- package/dist/components/icon/icons/trend-up-icon.js +1 -4
- package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
- package/dist/components/icon/icons/trivec-icon.js +4 -5
- package/dist/components/icon/icons/uber-eats-icon.js +1 -4
- package/dist/components/icon/icons/undo-icon.js +1 -4
- package/dist/components/icon/icons/unlock-icon.js +1 -4
- package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
- package/dist/components/icon/icons/up-icon.js +1 -4
- package/dist/components/icon/icons/user-group-icon.js +1 -4
- package/dist/components/icon/icons/user-icon.js +1 -4
- package/dist/components/icon/icons/user-permissions-icon.js +1 -4
- package/dist/components/icon/icons/user-wait-icon.js +1 -4
- package/dist/components/icon/icons/users-icon.js +1 -4
- package/dist/components/icon/icons/version-control-icon.js +1 -4
- package/dist/components/icon/icons/volume-high-icon.js +1 -4
- package/dist/components/icon/icons/volume-icon.js +1 -4
- package/dist/components/icon/icons/volume-low-icon.js +1 -4
- package/dist/components/icon/icons/volume-off-icon.js +1 -4
- package/dist/components/icon/icons/warning-icon.js +1 -4
- package/dist/components/icon/icons/waste-icon.js +1 -4
- package/dist/components/icon/icons/wifi-icon.js +1 -4
- package/dist/components/icon/icons/wifi-off-icon.js +1 -4
- package/dist/components/icon/icons/wolt-icon.js +1 -4
- package/dist/components/icon/icons/wrap-content-icon.js +1 -4
- package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
- package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +38 -32
- package/dist/components/image/image.composition.d.ts +1 -1
- package/dist/components/image/image.composition.d.ts.map +1 -1
- package/dist/components/image/image.d.ts +1 -1
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/image/image.js +12 -5
- package/dist/components/image-upload/image-cropper.d.ts +2 -1
- package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.js +38 -40
- package/dist/components/image-upload/image-cropper.js +63 -73
- package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
- package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +102 -72
- package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
- package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-icons.js +19 -26
- package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +54 -95
- package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
- package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.d.ts +1 -1
- package/dist/components/image-upload/image-upload.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.js +69 -78
- package/dist/components/input/input.composition.d.ts +9 -9
- package/dist/components/input/input.composition.d.ts.map +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +54 -58
- package/dist/components/input/types.d.ts +5 -4
- package/dist/components/input/types.d.ts.map +1 -1
- package/dist/components/link/link.composition.d.ts +2 -2
- package/dist/components/link/link.composition.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/link.js +11 -3
- package/dist/components/list/list-item.d.ts +1 -1
- package/dist/components/list/list-item.d.ts.map +1 -1
- package/dist/components/list/list-item.js +13 -5
- package/dist/components/list/list.composition.d.ts +1 -1
- package/dist/components/list/list.composition.d.ts.map +1 -1
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +17 -11
- package/dist/components/menu/menu-box-button.js +16 -8
- package/dist/components/menu/menu-button.d.ts +1 -1
- package/dist/components/menu/menu-button.d.ts.map +1 -1
- package/dist/components/menu/menu-button.js +15 -5
- package/dist/components/menu/menu-divider.d.ts +2 -1
- package/dist/components/menu/menu-divider.d.ts.map +1 -1
- package/dist/components/menu/menu-divider.js +21 -12
- package/dist/components/menu/menu-group.d.ts +3 -2
- package/dist/components/menu/menu-group.d.ts.map +1 -1
- package/dist/components/menu/menu-group.js +131 -129
- package/dist/components/menu/menu-icon-button.d.ts +1 -1
- package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
- package/dist/components/menu/menu-icon-button.js +10 -5
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item.js +43 -32
- package/dist/components/menu/menu-list.d.ts +1 -1
- package/dist/components/menu/menu-list.d.ts.map +1 -1
- package/dist/components/menu/menu-list.js +14 -4
- package/dist/components/menu/menu-recipe.js +6 -2
- package/dist/components/menu/menu.composition.d.ts +10 -10
- package/dist/components/menu/menu.composition.d.ts.map +1 -1
- package/dist/components/menu/menu.js +36 -19
- package/dist/components/message/message.composition.d.ts +1 -1
- package/dist/components/message/message.composition.d.ts.map +1 -1
- package/dist/components/message/message.d.ts +1 -1
- package/dist/components/message/message.d.ts.map +1 -1
- package/dist/components/message/message.js +36 -58
- package/dist/components/modal/modal-body.d.ts +1 -1
- package/dist/components/modal/modal-body.d.ts.map +1 -1
- package/dist/components/modal/modal-body.js +15 -7
- package/dist/components/modal/modal-close-button.d.ts +1 -1
- package/dist/components/modal/modal-close-button.d.ts.map +1 -1
- package/dist/components/modal/modal-close-button.js +16 -16
- package/dist/components/modal/modal-footer.d.ts +1 -1
- package/dist/components/modal/modal-footer.d.ts.map +1 -1
- package/dist/components/modal/modal-footer.js +29 -18
- package/dist/components/modal/modal-header.d.ts +1 -1
- package/dist/components/modal/modal-header.d.ts.map +1 -1
- package/dist/components/modal/modal-header.js +15 -5
- package/dist/components/modal/modal.composition.d.ts +11 -11
- package/dist/components/modal/modal.composition.d.ts.map +1 -1
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +53 -43
- package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
- package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list-item.js +54 -67
- package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
- package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.js +15 -5
- package/dist/components/paginator/paginator.composition.d.ts +2 -2
- package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
- package/dist/components/paginator/paginator.d.ts +1 -1
- package/dist/components/paginator/paginator.d.ts.map +1 -1
- package/dist/components/paginator/paginator.js +67 -51
- package/dist/components/quantity-button/minus-button.d.ts +1 -1
- package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/minus-button.js +14 -16
- package/dist/components/quantity-button/plus-button.d.ts +1 -1
- package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/plus-button.js +14 -16
- package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
- package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.js +38 -74
- package/dist/components/radio/check-icon.js +1 -6
- package/dist/components/radio/radio-group-context.js +2 -2
- package/dist/components/radio/radio-group.composition.d.ts +5 -5
- package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
- package/dist/components/radio/radio-group.d.ts +1 -1
- package/dist/components/radio/radio-group.d.ts.map +1 -1
- package/dist/components/radio/radio-group.js +26 -33
- package/dist/components/radio/radio.composition.d.ts +2 -2
- package/dist/components/radio/radio.composition.d.ts.map +1 -1
- package/dist/components/radio/radio.js +53 -49
- package/dist/components/radio-card/radio-card-group.d.ts +1 -1
- package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card-group.js +23 -31
- package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
- package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card.js +64 -81
- package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
- package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/boolean-control.js +50 -30
- package/dist/components/rich-text-editor/extensions.js +15 -17
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
- package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
- package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control-item.js +23 -25
- package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
- package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +38 -38
- package/dist/components/segmented-control/types.d.ts +2 -1
- package/dist/components/segmented-control/types.d.ts.map +1 -1
- package/dist/components/select/select.composition.d.ts +3 -3
- package/dist/components/select/select.composition.d.ts.map +1 -1
- package/dist/components/select/select.js +27 -12
- package/dist/components/skeleton/skeleton-text.d.ts +1 -1
- package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton-text.js +17 -12
- package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
- package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +18 -13
- package/dist/components/spinner/spinner.composition.d.ts +2 -2
- package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +26 -49
- package/dist/components/stack/stack.composition.d.ts +3 -3
- package/dist/components/stack/stack.composition.d.ts.map +1 -1
- package/dist/components/stack/stack.js +17 -7
- package/dist/components/stepper/check-icon.js +1 -6
- package/dist/components/stepper/step-context.d.ts +2 -1
- package/dist/components/stepper/step-context.d.ts.map +1 -1
- package/dist/components/stepper/step.d.ts +1 -1
- package/dist/components/stepper/step.d.ts.map +1 -1
- package/dist/components/stepper/step.js +89 -69
- package/dist/components/stepper/stepper.composition.d.ts +6 -6
- package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
- package/dist/components/stepper/stepper.d.ts +1 -1
- package/dist/components/stepper/stepper.d.ts.map +1 -1
- package/dist/components/stepper/stepper.js +41 -21
- package/dist/components/stepper/times-icon.js +1 -6
- package/dist/components/stepper/types.d.ts +2 -1
- package/dist/components/stepper/types.d.ts.map +1 -1
- package/dist/components/switch/switch.composition.d.ts +2 -2
- package/dist/components/switch/switch.composition.d.ts.map +1 -1
- package/dist/components/switch/switch.js +29 -33
- package/dist/components/table/table-cell.d.ts +1 -1
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +67 -92
- package/dist/components/table/table-content.d.ts +1 -1
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +26 -76
- package/dist/components/table/table-context-provider.d.ts +1 -1
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +28 -49
- package/dist/components/table/table-context.d.ts.map +1 -1
- package/dist/components/table/table-filter.d.ts +1 -1
- package/dist/components/table/table-filter.d.ts.map +1 -1
- package/dist/components/table/table-filter.js +68 -96
- package/dist/components/table/table-header-dropdown.d.ts +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +65 -113
- package/dist/components/table/table-header-row.d.ts +1 -1
- package/dist/components/table/table-header-row.d.ts.map +1 -1
- package/dist/components/table/table-header-row.js +53 -106
- package/dist/components/table/table-recipe.js +6 -2
- package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
- package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
- package/dist/components/table/table-row-expand-toggle-button.js +26 -23
- package/dist/components/table/table-row.d.ts +1 -1
- package/dist/components/table/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row.js +8 -26
- package/dist/components/table/table-toolbar-actions.d.ts +1 -1
- package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-actions.js +4 -10
- package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
- package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.d.ts +1 -1
- package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.js +6 -11
- package/dist/components/table/table-toolbar-settings.d.ts +1 -1
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +75 -144
- package/dist/components/table/table-toolbar.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +28 -34
- package/dist/components/table/table.composition.d.ts +5 -4
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +1 -34
- package/dist/components/tabs/tab-list.d.ts +1 -1
- package/dist/components/tabs/tab-list.d.ts.map +1 -1
- package/dist/components/tabs/tab-list.js +15 -5
- package/dist/components/tabs/tab-panel.d.ts +1 -1
- package/dist/components/tabs/tab-panel.d.ts.map +1 -1
- package/dist/components/tabs/tab-panel.js +13 -5
- package/dist/components/tabs/tab-panels.d.ts +1 -1
- package/dist/components/tabs/tab-panels.d.ts.map +1 -1
- package/dist/components/tabs/tab-panels.js +12 -4
- package/dist/components/tabs/tab-with-image.d.ts +1 -1
- package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
- package/dist/components/tabs/tab-with-image.js +51 -32
- package/dist/components/tabs/tab.d.ts +1 -1
- package/dist/components/tabs/tab.d.ts.map +1 -1
- package/dist/components/tabs/tab.js +21 -16
- package/dist/components/tabs/tabs-recipe.js +3 -1
- package/dist/components/tabs/tabs.composition.d.ts +6 -6
- package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tabs/tabs.js +22 -16
- package/dist/components/tag/tag-recipe.js +6 -1
- package/dist/components/tag/tag.composition.d.ts +4 -4
- package/dist/components/tag/tag.composition.d.ts.map +1 -1
- package/dist/components/tag/tag.d.ts +20 -20
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.js +41 -35
- package/dist/components/tag/types.d.ts +3 -2
- package/dist/components/tag/types.d.ts.map +1 -1
- package/dist/components/text/text.composition.d.ts +4 -4
- package/dist/components/text/text.composition.d.ts.map +1 -1
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +25 -35
- package/dist/components/textarea/textarea.composition.d.ts +3 -3
- package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +16 -16
- package/dist/components/toaster/toast-store.d.ts +2 -1
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toast-store.js +19 -12
- package/dist/components/toaster/toaster.composition.d.ts +6 -6
- package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
- package/dist/components/toaster/toaster.d.ts +1 -1
- package/dist/components/toaster/toaster.d.ts.map +1 -1
- package/dist/components/toaster/toaster.js +33 -18
- package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
- package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.js +23 -17
- package/dist/components/toggle-button/use-button-children.js +33 -24
- package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
- package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +44 -32
- package/dist/hooks/use-color-mode.js +20 -11
- package/dist/hooks/use-disclosure.js +8 -2
- package/dist/hooks/use-remove-attributes.js +20 -12
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/theme/theme-provider-context.composition.d.ts +9 -9
- package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
- package/dist/theme/theme-provider.d.ts +1 -1
- package/dist/theme/theme-provider.d.ts.map +1 -1
- package/dist/theme/theme-provider.js +32 -28
- package/dist/theme/theme.js +6 -2
- package/package.json +7 -6
|
@@ -1,77 +1,41 @@
|
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
i,
|
|
39
|
-
{
|
|
40
|
-
justify: "center",
|
|
41
|
-
align: "center",
|
|
42
|
-
userSelect: "none",
|
|
43
|
-
zIndex: -1,
|
|
44
|
-
left: "0",
|
|
45
|
-
right: "0",
|
|
46
|
-
ml: "auto",
|
|
47
|
-
mr: "auto",
|
|
48
|
-
position: "absolute",
|
|
49
|
-
h: "100%",
|
|
50
|
-
children: /* @__PURE__ */ e(
|
|
51
|
-
B,
|
|
52
|
-
{
|
|
53
|
-
fontFamily: V.SubHeader,
|
|
54
|
-
fontWeight: "normal",
|
|
55
|
-
fontSize: g,
|
|
56
|
-
color: t.OnSurface,
|
|
57
|
-
children: r
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
),
|
|
62
|
-
/* @__PURE__ */ e(
|
|
63
|
-
L,
|
|
64
|
-
{
|
|
65
|
-
isDisabled: r >= h || a,
|
|
66
|
-
onClick: m,
|
|
67
|
-
ariaLabel: b,
|
|
68
|
-
buttonSize: l
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
] })
|
|
72
|
-
}
|
|
73
|
-
) });
|
|
1
|
+
import { jsx as u, jsxs as X } from "react/jsx-runtime";
|
|
2
|
+
import { c as q } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Flex as T, Text as D, Box as I } from "@chakra-ui/react";
|
|
4
|
+
import { MinusButton as M } from "./minus-button.js";
|
|
5
|
+
import { PlusButton as O } from "./plus-button.js";
|
|
6
|
+
import { ThemeFontSizeVariable as w, ThemeColorVariable as V, ThemeFontVariable as P, ThemeRadiusVariable as E, ThemeBorderVariable as H } from "../../theme/theme-types.js";
|
|
7
|
+
function N(L) {
|
|
8
|
+
const e = q.c(33);
|
|
9
|
+
let t, o, i, d, m, b, f, p, h, x;
|
|
10
|
+
e[0] !== L ? ({
|
|
11
|
+
size: d,
|
|
12
|
+
quantity: m,
|
|
13
|
+
onClickPlus: o,
|
|
14
|
+
onClickMinus: t,
|
|
15
|
+
minusButtonAriaLabel: b,
|
|
16
|
+
plusButtonAriaLabel: f,
|
|
17
|
+
min: p,
|
|
18
|
+
max: h,
|
|
19
|
+
disabled: x,
|
|
20
|
+
...i
|
|
21
|
+
} = L, e[0] = L, e[1] = t, e[2] = o, e[3] = i, e[4] = d, e[5] = m, e[6] = b, e[7] = f, e[8] = p, e[9] = h, e[10] = x) : (t = e[1], o = e[2], i = e[3], d = e[4], m = e[5], b = e[6], f = e[7], p = e[8], h = e[9], x = e[10]);
|
|
22
|
+
const A = d === void 0 ? "sm" : d, g = m === void 0 ? 0 : m, S = b === void 0 ? "decrease" : b, v = f === void 0 ? "increase" : f, F = p === void 0 ? 0 : p, R = h === void 0 ? 99 : h, j = x === void 0 ? !1 : x, z = A === "lg", l = z ? "160px" : "120px", r = z ? "lg" : "md", y = z ? w.XLarge : w.Large, C = g <= F || j;
|
|
23
|
+
let n;
|
|
24
|
+
e[11] !== r || e[12] !== S || e[13] !== t || e[14] !== C ? (n = /* @__PURE__ */ u(M, { onClick: t, ariaLabel: S, buttonSize: r, isDisabled: C }), e[11] = r, e[12] = S, e[13] = t, e[14] = C, e[15] = n) : n = e[15];
|
|
25
|
+
let a;
|
|
26
|
+
e[16] !== g || e[17] !== y ? (a = /* @__PURE__ */ u(T, { justify: "center", align: "center", userSelect: "none", zIndex: -1, left: "0", right: "0", ml: "auto", mr: "auto", position: "absolute", h: "100%", children: /* @__PURE__ */ u(D, { fontFamily: P.SubHeader, fontWeight: "normal", fontSize: y, color: V.OnSurface, children: g }) }), e[16] = g, e[17] = y, e[18] = a) : a = e[18];
|
|
27
|
+
const k = g >= R || j;
|
|
28
|
+
let s;
|
|
29
|
+
e[19] !== r || e[20] !== o || e[21] !== v || e[22] !== k ? (s = /* @__PURE__ */ u(O, { isDisabled: k, onClick: o, ariaLabel: v, buttonSize: r }), e[19] = r, e[20] = o, e[21] = v, e[22] = k, e[23] = s) : s = e[23];
|
|
30
|
+
let c;
|
|
31
|
+
e[24] !== a || e[25] !== s || e[26] !== n || e[27] !== l ? (c = /* @__PURE__ */ u(I, { border: H.XSmall, borderColor: V.OnBackgroundBorder, borderRadius: E.XLarge, backgroundColor: V.Surface, opacity: 0.88, children: /* @__PURE__ */ X(T, { justify: "space-between", position: "relative", zIndex: 1, w: l, children: [
|
|
32
|
+
n,
|
|
33
|
+
a,
|
|
34
|
+
s
|
|
35
|
+
] }) }), e[24] = a, e[25] = s, e[26] = n, e[27] = l, e[28] = c) : c = e[28];
|
|
36
|
+
let B;
|
|
37
|
+
return e[29] !== i || e[30] !== c || e[31] !== l ? (B = /* @__PURE__ */ u(T, { w: l, ...i, children: c }), e[29] = i, e[30] = c, e[31] = l, e[32] = B) : B = e[32], B;
|
|
74
38
|
}
|
|
75
39
|
export {
|
|
76
|
-
|
|
40
|
+
N as QuantityButton
|
|
77
41
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createCasperIcon as o } from "../icon/create-icon.js";
|
|
2
|
-
const c = o(
|
|
3
|
-
"RadioCheckIcon",
|
|
4
|
-
"M20.4375 6.52344C20.8281 6.91406 20.8281 7.5 20.4375 7.85156L10.125 18.1641C9.77344 18.5547 9.1875 18.5547 8.83594 18.1641L3.52344 12.8516C3.13281 12.5 3.13281 11.9141 3.52344 11.5234C3.875 11.1719 4.46094 11.1719 4.8125 11.5234L9.5 16.2109L19.1484 6.52344C19.5 6.17188 20.0859 6.17188 20.4375 6.52344Z",
|
|
5
|
-
{},
|
|
6
|
-
"0 0 24 24"
|
|
7
|
-
);
|
|
2
|
+
const c = o("RadioCheckIcon", "M20.4375 6.52344C20.8281 6.91406 20.8281 7.5 20.4375 7.85156L10.125 18.1641C9.77344 18.5547 9.1875 18.5547 8.83594 18.1641L3.52344 12.8516C3.13281 12.5 3.13281 11.9141 3.52344 11.5234C3.875 11.1719 4.46094 11.1719 4.8125 11.5234L9.5 16.2109L19.1484 6.52344C19.5 6.17188 20.0859 6.17188 20.4375 6.52344Z", {}, "0 0 24 24");
|
|
8
3
|
export {
|
|
9
4
|
c as CheckIcon
|
|
10
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const BasicGroup: () => import("react
|
|
2
|
-
export declare const BasicDisabledGroup: () => import("react
|
|
3
|
-
export declare const CustomAddonGroup: () => import("react
|
|
4
|
-
export declare const DisabledAddonGroup: () => import("react
|
|
5
|
-
export declare const CustomAddonExample: () => import("react
|
|
1
|
+
export declare const BasicGroup: () => import("react").JSX.Element;
|
|
2
|
+
export declare const BasicDisabledGroup: () => import("react").JSX.Element;
|
|
3
|
+
export declare const CustomAddonGroup: () => import("react").JSX.Element;
|
|
4
|
+
export declare const DisabledAddonGroup: () => import("react").JSX.Element;
|
|
5
|
+
export declare const CustomAddonExample: () => import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=radio-group.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio-group.composition.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"radio-group.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio-group.composition.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,mCAQtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAQ9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAY5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAY9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,mCAoC9B,CAAC"}
|
|
@@ -12,6 +12,6 @@ export type RadioGroupProps = ChakraRadioGroupProperties & ThemeStyleProps & {
|
|
|
12
12
|
*
|
|
13
13
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/radio
|
|
14
14
|
*/
|
|
15
|
-
export declare function RadioGroup({ children, name, isDisabled, isRequired, defaultValue, value, onValueChange, variant, display, flexDirection, ...props }: RadioGroupProps): import("react
|
|
15
|
+
export declare function RadioGroup({ children, name, isDisabled, isRequired, defaultValue, value, onValueChange, variant, display, flexDirection, ...props }: RadioGroupProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzF,KAAK,0BAA0B,GAAG,IAAI,CACrC,gBAAgB,CAAC,SAAS,EAC1B,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,eAAe,CAChE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,0BAA0B,GACvD,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAC1B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,OAAiB,EACjB,OAAgB,EAChB,aAAwB,EACxB,GAAG,KAAK,EACR,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEzF,KAAK,0BAA0B,GAAG,IAAI,CACrC,gBAAgB,CAAC,SAAS,EAC1B,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,eAAe,CAChE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,0BAA0B,GACvD,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAC1B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,OAAiB,EACjB,OAAgB,EAChB,aAAwB,EACxB,GAAG,KAAK,EACR,EAAE,eAAe,+BAmBjB"}
|
|
@@ -1,36 +1,29 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
f
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
display: m,
|
|
27
|
-
flexDirection: l,
|
|
28
|
-
required: t,
|
|
29
|
-
...n,
|
|
30
|
-
children: i
|
|
31
|
-
}
|
|
32
|
-
) });
|
|
1
|
+
import { jsx as G } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { RadioGroup as D } from "@chakra-ui/react";
|
|
4
|
+
import { RadioGroupVariantContext as V } from "./radio-group-context.js";
|
|
5
|
+
function $(v) {
|
|
6
|
+
const e = h.c(27);
|
|
7
|
+
let t, o, i, l, r, a, n, u, c, f, d;
|
|
8
|
+
e[0] !== v ? ({
|
|
9
|
+
children: t,
|
|
10
|
+
name: r,
|
|
11
|
+
isDisabled: i,
|
|
12
|
+
isRequired: l,
|
|
13
|
+
defaultValue: o,
|
|
14
|
+
value: d,
|
|
15
|
+
onValueChange: a,
|
|
16
|
+
variant: u,
|
|
17
|
+
display: c,
|
|
18
|
+
flexDirection: f,
|
|
19
|
+
...n
|
|
20
|
+
} = v, e[0] = v, e[1] = t, e[2] = o, e[3] = i, e[4] = l, e[5] = r, e[6] = a, e[7] = n, e[8] = u, e[9] = c, e[10] = f, e[11] = d) : (t = e[1], o = e[2], i = e[3], l = e[4], r = e[5], a = e[6], n = e[7], u = e[8], c = e[9], f = e[10], d = e[11]);
|
|
21
|
+
const s = u === void 0 ? "solid" : u, x = c === void 0 ? "flex" : c, R = f === void 0 ? "column" : f;
|
|
22
|
+
let p;
|
|
23
|
+
e[12] !== t || e[13] !== o || e[14] !== x || e[15] !== R || e[16] !== i || e[17] !== l || e[18] !== r || e[19] !== a || e[20] !== n || e[21] !== d || e[22] !== s ? (p = /* @__PURE__ */ G(D.Root, { name: r, disabled: i, defaultValue: o, value: d, onValueChange: a, variant: s, display: x, flexDirection: R, required: l, ...n, children: t }), e[12] = t, e[13] = o, e[14] = x, e[15] = R, e[16] = i, e[17] = l, e[18] = r, e[19] = a, e[20] = n, e[21] = d, e[22] = s, e[23] = p) : p = e[23];
|
|
24
|
+
let m;
|
|
25
|
+
return e[24] !== p || e[25] !== s ? (m = /* @__PURE__ */ G(V.Provider, { value: s, children: p }), e[24] = p, e[25] = s, e[26] = m) : m = e[26], m;
|
|
33
26
|
}
|
|
34
27
|
export {
|
|
35
|
-
|
|
28
|
+
$ as RadioGroup
|
|
36
29
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Default: () => import("react
|
|
2
|
-
export declare const Addon: () => import("react
|
|
1
|
+
export declare const Default: () => import("react").JSX.Element;
|
|
2
|
+
export declare const Addon: () => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=radio.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"radio.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio/radio.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,mCAiBnB,CAAC;AAEF,eAAO,MAAM,KAAK,mCAiBjB,CAAC"}
|
|
@@ -1,53 +1,57 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
_disabled: {
|
|
36
|
-
borderColor: `${e.OnBackground}`,
|
|
37
|
-
_checked: {
|
|
38
|
-
background: `${e.Accent}`,
|
|
39
|
-
borderColor: `${e.Accent}`
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
),
|
|
45
|
-
t && /* @__PURE__ */ r(o.ItemText, { width: "100%", children: t })
|
|
46
|
-
]
|
|
1
|
+
import { jsx as r, jsxs as I, Fragment as v } from "react/jsx-runtime";
|
|
2
|
+
import { c as x } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { RadioGroup as u, Flex as A } from "@chakra-ui/react";
|
|
4
|
+
import k from "react";
|
|
5
|
+
import { CheckIcon as $ } from "./check-icon.js";
|
|
6
|
+
import { hoverStyles as R } from "./hover-styles.js";
|
|
7
|
+
import { useRadioGroupVariant as g } from "./radio-group-context.js";
|
|
8
|
+
import { ThemeColorVariable as t, ThemeIconSizeVariable as w } from "../../theme/theme-types.js";
|
|
9
|
+
const O = k.forwardRef((b, _) => {
|
|
10
|
+
const e = x.c(26);
|
|
11
|
+
let o, c, l, d, n, a, m, i;
|
|
12
|
+
e[0] !== b ? ({
|
|
13
|
+
value: i,
|
|
14
|
+
children: o,
|
|
15
|
+
defaultChecked: c,
|
|
16
|
+
isInvalid: n,
|
|
17
|
+
isDisabled: d,
|
|
18
|
+
id: l,
|
|
19
|
+
name: a,
|
|
20
|
+
...m
|
|
21
|
+
} = b, e[0] = b, e[1] = o, e[2] = c, e[3] = l, e[4] = d, e[5] = n, e[6] = a, e[7] = m, e[8] = i) : (o = e[1], c = e[2], l = e[3], d = e[4], n = e[5], a = e[6], m = e[7], i = e[8]);
|
|
22
|
+
const C = g();
|
|
23
|
+
let s;
|
|
24
|
+
e[9] !== l || e[10] !== a || e[11] !== _ ? (s = /* @__PURE__ */ r(u.ItemHiddenInput, { ref: _, id: l, name: a }), e[9] = l, e[10] = a, e[11] = _, e[12] = s) : s = e[12];
|
|
25
|
+
let f;
|
|
26
|
+
e[13] !== C ? (f = C === "addon" ? /* @__PURE__ */ r(u.ItemControl, { className: "radio__item-indicator", children: /* @__PURE__ */ r(u.ItemContext, { children: E }) }) : /* @__PURE__ */ r(u.ItemIndicator, { className: "radio__item-indicator", _invalid: {
|
|
27
|
+
borderColor: t.Error,
|
|
28
|
+
boxShadow: `0 0 0 4px ${t.ErrorContainer}`
|
|
29
|
+
}, _active: {
|
|
30
|
+
borderColor: `${t.AccentActive}`,
|
|
31
|
+
_checked: {
|
|
32
|
+
background: `${t.AccentActive}`,
|
|
33
|
+
borderColor: `${t.AccentActive}`
|
|
47
34
|
},
|
|
48
|
-
|
|
49
|
-
|
|
35
|
+
_disabled: {
|
|
36
|
+
borderColor: `${t.OnBackground}`,
|
|
37
|
+
_checked: {
|
|
38
|
+
background: `${t.Accent}`,
|
|
39
|
+
borderColor: `${t.Accent}`
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
} }), e[13] = C, e[14] = f) : f = e[14];
|
|
43
|
+
let h;
|
|
44
|
+
e[15] !== o ? (h = o && /* @__PURE__ */ r(u.ItemText, { width: "100%", children: o }), e[15] = o, e[16] = h) : h = e[16];
|
|
45
|
+
let p;
|
|
46
|
+
return e[17] !== c || e[18] !== d || e[19] !== n || e[20] !== m || e[21] !== s || e[22] !== f || e[23] !== h || e[24] !== i ? (p = /* @__PURE__ */ r(A, { css: R, children: /* @__PURE__ */ I(u.Item, { value: i, defaultChecked: c, invalid: n, disabled: d, w: "100%", ...m, children: [
|
|
47
|
+
s,
|
|
48
|
+
f,
|
|
49
|
+
h
|
|
50
|
+
] }, i) }), e[17] = c, e[18] = d, e[19] = n, e[20] = m, e[21] = s, e[22] = f, e[23] = h, e[24] = i, e[25] = p) : p = e[25], p;
|
|
50
51
|
});
|
|
52
|
+
function E(b) {
|
|
53
|
+
return /* @__PURE__ */ r(v, { children: b.checked && /* @__PURE__ */ r($, { color: t.OnAccent, size: w.Medium }) });
|
|
54
|
+
}
|
|
51
55
|
export {
|
|
52
|
-
|
|
56
|
+
O as Radio
|
|
53
57
|
};
|
|
@@ -9,6 +9,6 @@ export type RadioCardGroupProps = ChakraRadioCardProperties & ThemeStyleProps &
|
|
|
9
9
|
*
|
|
10
10
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/radio-card
|
|
11
11
|
*/
|
|
12
|
-
export declare function RadioCardGroup({ children, name, isDisabled, defaultValue, value, onValueChange, display, flexDirection, gap, ...props }: RadioCardGroupProps): import("react
|
|
12
|
+
export declare function RadioCardGroup({ children, name, isDisabled, defaultValue, value, onValueChange, display, flexDirection, gap, ...props }: RadioCardGroupProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=radio-card-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-card-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,KAAK,yBAAyB,GAAG,IAAI,CACpC,eAAe,CAAC,SAAS,EACzB,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,eAAe,CAChE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GAC1D,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,OAAgB,EAChB,aAAwB,EACxB,GAA+B,EAC/B,GAAG,KAAK,EACR,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"radio-card-group.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,KAAK,yBAAyB,GAAG,IAAI,CACpC,eAAe,CAAC,SAAS,EACzB,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,eAAe,CAChE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,GAC1D,eAAe,GAAG;IAEjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,KAAK,EACL,aAAa,EACb,OAAgB,EAChB,aAAwB,EACxB,GAA+B,EAC/B,GAAG,KAAK,EACR,EAAE,mBAAmB,+BAgBrB"}
|
|
@@ -1,34 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
onValueChange: a,
|
|
24
|
-
display: d,
|
|
25
|
-
flexDirection: t,
|
|
26
|
-
gap: p,
|
|
27
|
-
...f,
|
|
28
|
-
children: o
|
|
29
|
-
}
|
|
30
|
-
);
|
|
1
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { c as R } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { RadioCard as b } from "@chakra-ui/react";
|
|
4
|
+
import { ThemeSpaceVariable as g } from "../../theme/theme-types.js";
|
|
5
|
+
function y(c) {
|
|
6
|
+
const e = R.c(22);
|
|
7
|
+
let t, o, l, i, r, a, n, p, s, d;
|
|
8
|
+
e[0] !== c ? ({
|
|
9
|
+
children: t,
|
|
10
|
+
name: i,
|
|
11
|
+
isDisabled: l,
|
|
12
|
+
defaultValue: o,
|
|
13
|
+
value: d,
|
|
14
|
+
onValueChange: r,
|
|
15
|
+
display: n,
|
|
16
|
+
flexDirection: p,
|
|
17
|
+
gap: s,
|
|
18
|
+
...a
|
|
19
|
+
} = c, e[0] = c, e[1] = t, e[2] = o, e[3] = l, e[4] = i, e[5] = r, e[6] = a, e[7] = n, e[8] = p, e[9] = s, e[10] = d) : (t = e[1], o = e[2], l = e[3], i = e[4], r = e[5], a = e[6], n = e[7], p = e[8], s = e[9], d = e[10]);
|
|
20
|
+
const f = n === void 0 ? "flex" : n, u = p === void 0 ? "column" : p, x = s === void 0 ? g.Medium : s;
|
|
21
|
+
let m;
|
|
22
|
+
return e[11] !== t || e[12] !== o || e[13] !== f || e[14] !== u || e[15] !== x || e[16] !== l || e[17] !== i || e[18] !== r || e[19] !== a || e[20] !== d ? (m = /* @__PURE__ */ v(b.Root, { name: i, disabled: l, defaultValue: o, value: d, onValueChange: r, display: f, flexDirection: u, gap: x, ...a, children: t }), e[11] = t, e[12] = o, e[13] = f, e[14] = u, e[15] = x, e[16] = l, e[17] = i, e[18] = r, e[19] = a, e[20] = d, e[21] = m) : m = e[21], m;
|
|
31
23
|
}
|
|
32
24
|
export {
|
|
33
|
-
|
|
25
|
+
y as RadioCardGroup
|
|
34
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Default: () => import("react
|
|
2
|
-
export declare const CardGroup: () => import("react
|
|
3
|
-
export declare const DisabledCardGroup: () => import("react
|
|
4
|
-
export declare const CardGridExample: () => import("react
|
|
1
|
+
export declare const Default: () => import("react").JSX.Element;
|
|
2
|
+
export declare const CardGroup: () => import("react").JSX.Element;
|
|
3
|
+
export declare const DisabledCardGroup: () => import("react").JSX.Element;
|
|
4
|
+
export declare const CardGridExample: () => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=radio-card.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-card.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"radio-card.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/radio-card/radio-card.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,mCAanB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAYrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAY7B,CAAC;AAEF,eAAO,MAAM,eAAe,mCA8B3B,CAAC"}
|
|
@@ -1,85 +1,68 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import A from "react";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
bg: e.Surface,
|
|
38
|
-
borderRadius: g.Small,
|
|
39
|
-
px: c.Medium,
|
|
40
|
-
py: c.Small,
|
|
41
|
-
color: e.OnSurface,
|
|
42
|
-
border: a.XSmall,
|
|
43
|
-
borderColor: e.OnSurfaceBorder,
|
|
44
|
-
cursor: "pointer",
|
|
45
|
-
textAlign: "center",
|
|
46
|
-
w: "100%",
|
|
47
|
-
_checked: {
|
|
48
|
-
color: e.OnAccent,
|
|
49
|
-
bg: e.Accent,
|
|
50
|
-
borderColor: e.Accent
|
|
51
|
-
},
|
|
52
|
-
_disabled: {
|
|
53
|
-
opacity: 0.48,
|
|
54
|
-
_checked: {
|
|
55
|
-
bg: e.Accent,
|
|
56
|
-
color: e.OnAccent
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
_active: {
|
|
60
|
-
background: e.AccentActiveAlpha,
|
|
61
|
-
_checked: {
|
|
62
|
-
background: e.AccentActive
|
|
63
|
-
},
|
|
64
|
-
_disabled: {
|
|
65
|
-
background: e.Surface,
|
|
66
|
-
_checked: {
|
|
67
|
-
background: e.Accent
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
_invalid: {
|
|
72
|
-
border: a.XSmall,
|
|
73
|
-
borderColor: e.Error,
|
|
74
|
-
boxShadow: `0 0 0 4px ${e.ErrorContainer}`
|
|
75
|
-
},
|
|
76
|
-
children: /* @__PURE__ */ r(o.ItemContent, { alignContent: p, alignItems: u, children: i })
|
|
77
|
-
}
|
|
78
|
-
)
|
|
79
|
-
]
|
|
1
|
+
import { jsx as g, jsxs as w } from "react/jsx-runtime";
|
|
2
|
+
import { c as T } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { RadioCard as A, Box as V } from "@chakra-ui/react";
|
|
4
|
+
import B from "react";
|
|
5
|
+
import { hoverStylesCard as O } from "./hover-styles.js";
|
|
6
|
+
import { ThemeColorVariable as t, ThemeBorderVariable as I, ThemeSpaceVariable as R, ThemeRadiusVariable as E, ThemeFontSizeVariable as F, ThemeFontVariable as $ } from "../../theme/theme-types.js";
|
|
7
|
+
const N = B.forwardRef((v, x) => {
|
|
8
|
+
const e = T.c(32);
|
|
9
|
+
let r, o, l, a, c, i, n, b, f, d;
|
|
10
|
+
e[0] !== v ? ({
|
|
11
|
+
children: r,
|
|
12
|
+
id: o,
|
|
13
|
+
name: c,
|
|
14
|
+
value: d,
|
|
15
|
+
isDisabled: l,
|
|
16
|
+
isInvalid: a,
|
|
17
|
+
onChange: i,
|
|
18
|
+
alignItems: b,
|
|
19
|
+
alignContent: f,
|
|
20
|
+
...n
|
|
21
|
+
} = v, e[0] = v, e[1] = r, e[2] = o, e[3] = l, e[4] = a, e[5] = c, e[6] = i, e[7] = n, e[8] = b, e[9] = f, e[10] = d) : (r = e[1], o = e[2], l = e[3], a = e[4], c = e[5], i = e[6], n = e[7], b = e[8], f = e[9], d = e[10]);
|
|
22
|
+
const y = b === void 0 ? "center" : b, k = f === void 0 ? "center" : f;
|
|
23
|
+
let m;
|
|
24
|
+
e[11] !== o || e[12] !== c || e[13] !== i || e[14] !== x ? (m = /* @__PURE__ */ g(A.ItemHiddenInput, { ref: x, id: o, name: c, onChange: i }), e[11] = o, e[12] = c, e[13] = i, e[14] = x, e[15] = m) : m = e[15];
|
|
25
|
+
let h;
|
|
26
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
|
|
27
|
+
color: t.OnAccent,
|
|
28
|
+
bg: t.Accent,
|
|
29
|
+
borderColor: t.Accent
|
|
30
|
+
}, e[16] = h) : h = e[16];
|
|
31
|
+
let _;
|
|
32
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
33
|
+
opacity: 0.48,
|
|
34
|
+
_checked: {
|
|
35
|
+
bg: t.Accent,
|
|
36
|
+
color: t.OnAccent
|
|
80
37
|
}
|
|
81
|
-
)
|
|
38
|
+
}, e[17] = _) : _ = e[17];
|
|
39
|
+
let u;
|
|
40
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
|
|
41
|
+
background: t.AccentActive
|
|
42
|
+
}, e[18] = u) : u = e[18];
|
|
43
|
+
let S, p;
|
|
44
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
|
|
45
|
+
background: t.AccentActiveAlpha,
|
|
46
|
+
_checked: u,
|
|
47
|
+
_disabled: {
|
|
48
|
+
background: t.Surface,
|
|
49
|
+
_checked: {
|
|
50
|
+
background: t.Accent
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, p = {
|
|
54
|
+
border: I.XSmall,
|
|
55
|
+
borderColor: t.Error,
|
|
56
|
+
boxShadow: `0 0 0 4px ${t.ErrorContainer}`
|
|
57
|
+
}, e[19] = S, e[20] = p) : (S = e[19], p = e[20]);
|
|
58
|
+
let s;
|
|
59
|
+
e[21] !== k || e[22] !== y || e[23] !== r ? (s = /* @__PURE__ */ g(A.ItemControl, { className: "radio-card__item-control", whiteSpace: "nowrap", fontFamily: $.Body, fontSize: F.Medium, bg: t.Surface, borderRadius: E.Small, px: R.Medium, py: R.Small, color: t.OnSurface, border: I.XSmall, borderColor: t.OnSurfaceBorder, cursor: "pointer", textAlign: "center", w: "100%", _checked: h, _disabled: _, _active: S, _invalid: p, children: /* @__PURE__ */ g(A.ItemContent, { alignContent: k, alignItems: y, children: r }) }), e[21] = k, e[22] = y, e[23] = r, e[24] = s) : s = e[24];
|
|
60
|
+
let C;
|
|
61
|
+
return e[25] !== l || e[26] !== a || e[27] !== n || e[28] !== m || e[29] !== s || e[30] !== d ? (C = /* @__PURE__ */ g(V, { css: O, children: /* @__PURE__ */ w(A.Item, { value: d, disabled: l, invalid: a, border: "none", w: "100%", ...n, children: [
|
|
62
|
+
m,
|
|
63
|
+
s
|
|
64
|
+
] }) }), e[25] = l, e[26] = a, e[27] = n, e[28] = m, e[29] = s, e[30] = d, e[31] = C) : C = e[31], C;
|
|
82
65
|
});
|
|
83
66
|
export {
|
|
84
|
-
|
|
67
|
+
N as RadioCard
|
|
85
68
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BooleanControlConfig } from './types.js';
|
|
2
|
-
export declare function BooleanControl({ label, icon, command, isActive: isActiveFn, isDisabled: isDisabledFn, }: BooleanControlConfig): import("react
|
|
2
|
+
export declare function BooleanControl({ label, icon, command, isActive: isActiveFn, isDisabled: isDisabledFn, }: BooleanControlConfig): import("react").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=boolean-control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolean-control.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/boolean-control.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,QAAQ,EAAE,UAAU,EACpB,UAAU,EAAE,YAAY,GACxB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"boolean-control.d.ts","sourceRoot":"","sources":["../../../lib/components/rich-text-editor/boolean-control.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,QAAQ,EAAE,UAAU,EACpB,UAAU,EAAE,YAAY,GACxB,EAAE,oBAAoB,sCA6BtB"}
|