@caspeco/casper-ui-library 9.12.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/compiler-runtime.js +5 -0
- package/dist/_virtual/compiler-runtime2.js +4 -0
- package/dist/_virtual/react-compiler-runtime.development.js +4 -0
- package/dist/_virtual/react-compiler-runtime.production.js +4 -0
- package/dist/components/accordion/accordion-item.d.ts +3 -2
- package/dist/components/accordion/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/accordion-item.js +36 -19
- package/dist/components/accordion/accordion-panel.d.ts +1 -1
- package/dist/components/accordion/accordion-panel.d.ts.map +1 -1
- package/dist/components/accordion/accordion-panel.js +13 -5
- package/dist/components/accordion/accordion.composition.d.ts +3 -3
- package/dist/components/accordion/accordion.composition.d.ts.map +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +18 -6
- package/dist/components/alert/alert.composition.d.ts +5 -5
- package/dist/components/alert/alert.composition.d.ts.map +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +58 -74
- package/dist/components/alert/helper.d.ts +1 -1
- package/dist/components/alert/helper.d.ts.map +1 -1
- package/dist/components/alert/helper.js +10 -15
- package/dist/components/badge/badge-recipe.js +13 -19
- package/dist/components/badge/badge.composition.d.ts +3 -3
- package/dist/components/badge/badge.composition.d.ts.map +1 -1
- package/dist/components/badge/badge.js +70 -31
- package/dist/components/box/box.composition.d.ts +6 -6
- package/dist/components/box/box.composition.d.ts.map +1 -1
- package/dist/components/box/box.js +10 -5
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumb-item.js +16 -5
- package/dist/components/breadcrumbs/breadcrumb-link.js +19 -17
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.composition.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +82 -80
- package/dist/components/button/button-recipe.js +6 -2
- package/dist/components/button/button.composition.d.ts +5 -5
- package/dist/components/button/button.composition.d.ts.map +1 -1
- package/dist/components/button/button.js +38 -42
- package/dist/components/checkbox/checkbox-icon.d.ts +2 -1
- package/dist/components/checkbox/checkbox-icon.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.composition.d.ts +3 -3
- package/dist/components/checkbox/checkbox.composition.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.js +34 -53
- package/dist/components/checkbox/icons/check.js +1 -6
- package/dist/components/checkbox/icons/minus.js +1 -6
- package/dist/components/checkbox/icons/plus.js +1 -6
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts +2 -2
- package/dist/components/checkbox-group/checkbox-group.composition.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +13 -4
- package/dist/components/collapsible/collapsible.composition.d.ts +3 -3
- package/dist/components/collapsible/collapsible.composition.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/collapsible.js +93 -108
- package/dist/components/combobox/combobox-button.d.ts +1 -1
- package/dist/components/combobox/combobox-button.d.ts.map +1 -1
- package/dist/components/combobox/combobox-button.js +131 -174
- package/dist/components/combobox/combobox-item.d.ts +1 -1
- package/dist/components/combobox/combobox-item.d.ts.map +1 -1
- package/dist/components/combobox/combobox-item.js +18 -11
- package/dist/components/combobox/combobox-menu.d.ts +2 -2
- package/dist/components/combobox/combobox-menu.d.ts.map +1 -1
- package/dist/components/combobox/combobox-menu.js +171 -270
- package/dist/components/combobox/combobox.composition.d.ts +9 -9
- package/dist/components/combobox/combobox.composition.d.ts.map +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/combobox.js +286 -209
- package/dist/components/combobox/types.d.ts +7 -7
- package/dist/components/combobox/types.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.d.ts +2 -1
- package/dist/components/date-picker/base-date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/base-date-picker.js +242 -240
- package/dist/components/date-picker/date-multi-picker.d.ts +8 -0
- package/dist/components/date-picker/date-multi-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-multi-picker.js +30 -0
- package/dist/components/date-picker/date-picker-date-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-date-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-date-cell.js +111 -117
- package/dist/components/date-picker/date-picker-header.d.ts +1 -1
- package/dist/components/date-picker/date-picker-header.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-header.js +153 -120
- package/dist/components/date-picker/date-picker-week-cell.d.ts +1 -1
- package/dist/components/date-picker/date-picker-week-cell.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker-week-cell.js +41 -36
- package/dist/components/date-picker/date-picker.composition.d.ts +7 -4
- package/dist/components/date-picker/date-picker.composition.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.js +24 -45
- package/dist/components/date-picker/date-range-picker.d.ts +1 -1
- package/dist/components/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-range-picker.js +23 -41
- package/dist/components/date-picker/date-week-picker.d.ts +1 -1
- package/dist/components/date-picker/date-week-picker.d.ts.map +1 -1
- package/dist/components/date-picker/date-week-picker.js +18 -36
- package/dist/components/date-picker/helper.js +1 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.d.ts.map +1 -1
- package/dist/components/date-picker/types.d.ts +16 -0
- package/dist/components/date-picker/types.d.ts.map +1 -1
- package/dist/components/divider/divider.composition.d.ts +2 -2
- package/dist/components/divider/divider.composition.d.ts.map +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/divider/divider.js +16 -19
- package/dist/components/drawer/drawer-recipe.js +25 -5
- package/dist/components/drawer/drawer.composition.d.ts +5 -5
- package/dist/components/drawer/drawer.composition.d.ts.map +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +38 -36
- package/dist/components/drawer/inline-drawer.d.ts +1 -1
- package/dist/components/drawer/inline-drawer.d.ts.map +1 -1
- package/dist/components/drawer/inline-drawer.js +62 -57
- package/dist/components/drawer/use-drawer-key-down.js +15 -8
- package/dist/components/fieldset/fieldset-error-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-error-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-error-text.js +13 -5
- package/dist/components/fieldset/fieldset-helper-text.d.ts +1 -1
- package/dist/components/fieldset/fieldset-helper-text.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-helper-text.js +13 -5
- package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
- package/dist/components/fieldset/fieldset-legend.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset-legend.js +13 -5
- package/dist/components/fieldset/fieldset.d.ts +1 -1
- package/dist/components/fieldset/fieldset.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.js +15 -5
- package/dist/components/flex/flex.composition.d.ts +2 -2
- package/dist/components/flex/flex.composition.d.ts.map +1 -1
- package/dist/components/flex/flex.d.ts +1 -1
- package/dist/components/flex/flex.d.ts.map +1 -1
- package/dist/components/flex/flex.js +13 -5
- package/dist/components/form-control/form-control.composition.d.ts +6 -6
- package/dist/components/form-control/form-control.composition.d.ts.map +1 -1
- package/dist/components/form-control/form-control.d.ts +1 -1
- package/dist/components/form-control/form-control.d.ts.map +1 -1
- package/dist/components/form-control/form-control.js +17 -22
- package/dist/components/form-control/form-error-message.d.ts +1 -1
- package/dist/components/form-control/form-error-message.d.ts.map +1 -1
- package/dist/components/form-control/form-error-message.js +13 -5
- package/dist/components/form-control/form-helper-text.d.ts +1 -1
- package/dist/components/form-control/form-helper-text.d.ts.map +1 -1
- package/dist/components/form-control/form-helper-text.js +13 -5
- package/dist/components/form-control/form-label.d.ts +1 -1
- package/dist/components/form-control/form-label.d.ts.map +1 -1
- package/dist/components/form-control/form-label.js +24 -11
- package/dist/components/grid/grid-item.d.ts +1 -1
- package/dist/components/grid/grid-item.d.ts.map +1 -1
- package/dist/components/grid/grid-item.js +12 -4
- package/dist/components/grid/grid.composition.d.ts +2 -2
- package/dist/components/grid/grid.composition.d.ts.map +1 -1
- package/dist/components/grid/grid.d.ts +1 -1
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/grid/grid.js +13 -5
- package/dist/components/heading/heading.composition.d.ts +3 -3
- package/dist/components/heading/heading.composition.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/heading/heading.js +21 -29
- package/dist/components/highlight/highlight.composition.d.ts +2 -2
- package/dist/components/highlight/highlight.composition.d.ts.map +1 -1
- package/dist/components/highlight/highlight.d.ts +1 -1
- package/dist/components/highlight/highlight.d.ts.map +1 -1
- package/dist/components/highlight/highlight.js +19 -15
- package/dist/components/icon/create-icon.js +24 -15
- package/dist/components/icon/icon.composition.d.ts +1 -1
- package/dist/components/icon/icon.composition.d.ts.map +1 -1
- package/dist/components/icon/icons/absence-icon.js +1 -4
- package/dist/components/icon/icons/accessibility-icon.js +1 -4
- package/dist/components/icon/icons/add-absence-icon.js +1 -4
- package/dist/components/icon/icons/add-emoji-icon.js +1 -4
- package/dist/components/icon/icons/add-icon.js +1 -4
- package/dist/components/icon/icons/apple-icon.js +1 -4
- package/dist/components/icon/icons/apps-icon.js +1 -4
- package/dist/components/icon/icons/archive-icon.js +4 -5
- package/dist/components/icon/icons/area-icon.js +1 -4
- package/dist/components/icon/icons/at-icon.js +1 -4
- package/dist/components/icon/icons/attachment-icon.js +1 -4
- package/dist/components/icon/icons/baby-icon.js +1 -4
- package/dist/components/icon/icons/back-icon.js +1 -4
- package/dist/components/icon/icons/backspace-icon.js +1 -4
- package/dist/components/icon/icons/bank-icon.js +1 -4
- package/dist/components/icon/icons/bank-id-icon.js +1 -4
- package/dist/components/icon/icons/barcode-icon.js +1 -4
- package/dist/components/icon/icons/bell-icon.js +1 -4
- package/dist/components/icon/icons/bolt-icon.js +4 -5
- package/dist/components/icon/icons/calendar-icon.js +1 -4
- package/dist/components/icon/icons/camera-icon.js +1 -4
- package/dist/components/icon/icons/cancel-icon.js +1 -4
- package/dist/components/icon/icons/card-icon.js +1 -4
- package/dist/components/icon/icons/cart-icon.js +1 -4
- package/dist/components/icon/icons/caspeco-icon.js +4 -5
- package/dist/components/icon/icons/channels-icon.js +1 -4
- package/dist/components/icon/icons/chart-icon.js +1 -4
- package/dist/components/icon/icons/chart-line-icon.js +1 -4
- package/dist/components/icon/icons/chart-mixed-icon.js +1 -4
- package/dist/components/icon/icons/chart-pie-icon.js +1 -4
- package/dist/components/icon/icons/chart-scatter-icon.js +1 -4
- package/dist/components/icon/icons/check-icon.js +1 -4
- package/dist/components/icon/icons/checkbox-icon.js +1 -4
- package/dist/components/icon/icons/chevron-left-icon.js +1 -4
- package/dist/components/icon/icons/chevron-right-icon.js +1 -4
- package/dist/components/icon/icons/child-icon.js +1 -4
- package/dist/components/icon/icons/circle-info-icon.js +1 -4
- package/dist/components/icon/icons/circle-parking-icon.js +1 -4
- package/dist/components/icon/icons/circle-question-icon.js +1 -4
- package/dist/components/icon/icons/circle-select-icon.js +1 -4
- package/dist/components/icon/icons/circle-success-icon.js +1 -4
- package/dist/components/icon/icons/circle-user-icon.js +1 -4
- package/dist/components/icon/icons/clear-icon.js +1 -4
- package/dist/components/icon/icons/close-icon.js +1 -4
- package/dist/components/icon/icons/closed-icon.js +1 -4
- package/dist/components/icon/icons/collapse-icon.js +1 -4
- package/dist/components/icon/icons/color-icon.js +1 -4
- package/dist/components/icon/icons/columns-icon.js +1 -4
- package/dist/components/icon/icons/comment-add-icon.js +1 -4
- package/dist/components/icon/icons/comment-icon.js +1 -4
- package/dist/components/icon/icons/cookies-icon.js +1 -4
- package/dist/components/icon/icons/copy-icon.js +1 -4
- package/dist/components/icon/icons/date-icon.js +1 -4
- package/dist/components/icon/icons/decrease-icon.js +1 -4
- package/dist/components/icon/icons/delete-icon.js +1 -4
- package/dist/components/icon/icons/deliverect-icon.js +1 -4
- package/dist/components/icon/icons/delivery-icon.js +1 -4
- package/dist/components/icon/icons/description-icon.js +1 -4
- package/dist/components/icon/icons/discount-icon.js +1 -4
- package/dist/components/icon/icons/distribute-evenly-icon.js +1 -4
- package/dist/components/icon/icons/door-closed-icon.js +1 -4
- package/dist/components/icon/icons/door-open-icon.js +1 -4
- package/dist/components/icon/icons/down-icon.js +1 -4
- package/dist/components/icon/icons/eat-in-icon.js +1 -4
- package/dist/components/icon/icons/edit-icon.js +1 -4
- package/dist/components/icon/icons/email-icon.js +1 -4
- package/dist/components/icon/icons/error-icon.js +1 -4
- package/dist/components/icon/icons/expand-icon.js +1 -4
- package/dist/components/icon/icons/export-icon.js +1 -4
- package/dist/components/icon/icons/extract-icon.js +1 -4
- package/dist/components/icon/icons/facebook-icon.js +1 -4
- package/dist/components/icon/icons/failed-print-icon.js +1 -4
- package/dist/components/icon/icons/file-icon.js +1 -4
- package/dist/components/icon/icons/filter-icon.js +1 -4
- package/dist/components/icon/icons/folder-icon.js +1 -4
- package/dist/components/icon/icons/foodora-icon.js +1 -4
- package/dist/components/icon/icons/forward-icon.js +1 -4
- package/dist/components/icon/icons/glovo-icon.js +4 -5
- package/dist/components/icon/icons/goal-icon.js +1 -4
- package/dist/components/icon/icons/google-icon.js +1 -4
- package/dist/components/icon/icons/grip-more-icon.js +1 -4
- package/dist/components/icon/icons/hash-icon.js +1 -4
- package/dist/components/icon/icons/hexagon-error-icon.js +1 -4
- package/dist/components/icon/icons/hide-icon.js +1 -4
- package/dist/components/icon/icons/history-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-anchor-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-asterisk-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-beer-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bicycle-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-binoculars-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-bomb-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-car-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-cocktail-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-gem-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-heart-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-magnet-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-money-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-moon-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-music-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-full-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-half-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-star-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tint-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-tree-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-utensils-icon.js +1 -4
- package/dist/components/icon/icons/icon-picker-wheelchair-icon.js +1 -4
- package/dist/components/icon/icons/image-icon.js +1 -4
- package/dist/components/icon/icons/import-icon.js +1 -4
- package/dist/components/icon/icons/inbox-icon.js +1 -4
- package/dist/components/icon/icons/increase-icon.js +1 -4
- package/dist/components/icon/icons/indeterminate-icon.js +1 -4
- package/dist/components/icon/icons/info-icon.js +1 -4
- package/dist/components/icon/icons/inheritance-icon.js +1 -4
- package/dist/components/icon/icons/just-eat-icon.js +1 -4
- package/dist/components/icon/icons/karma-icon.js +1 -4
- package/dist/components/icon/icons/key-command-icon.js +1 -4
- package/dist/components/icon/icons/key-enter-icon.js +1 -4
- package/dist/components/icon/icons/key-icon.js +1 -4
- package/dist/components/icon/icons/key-option-icon.js +1 -4
- package/dist/components/icon/icons/language-icon.js +1 -4
- package/dist/components/icon/icons/link-broken-icon.js +1 -4
- package/dist/components/icon/icons/link-external-icon.js +1 -4
- package/dist/components/icon/icons/link-icon.js +1 -4
- package/dist/components/icon/icons/list-ol-icon.js +1 -4
- package/dist/components/icon/icons/list-ul-icon.js +1 -4
- package/dist/components/icon/icons/loading-icon.js +1 -4
- package/dist/components/icon/icons/location-icon.js +1 -4
- package/dist/components/icon/icons/lock-icon.js +1 -4
- package/dist/components/icon/icons/log-in-icon.js +1 -4
- package/dist/components/icon/icons/log-out-icon.js +1 -4
- package/dist/components/icon/icons/map-icon.js +1 -4
- package/dist/components/icon/icons/maximize-icon.js +1 -4
- package/dist/components/icon/icons/members-icon.js +1 -4
- package/dist/components/icon/icons/menu-hide-icon.js +1 -4
- package/dist/components/icon/icons/menu-icon.js +1 -4
- package/dist/components/icon/icons/menu-show-icon.js +1 -4
- package/dist/components/icon/icons/message-add-icon.js +1 -4
- package/dist/components/icon/icons/message-icon.js +1 -4
- package/dist/components/icon/icons/message-lines-icon.js +1 -4
- package/dist/components/icon/icons/minimize-icon.js +1 -4
- package/dist/components/icon/icons/minimize-window-icon.js +1 -4
- package/dist/components/icon/icons/mobile-rotate-icon.js +1 -4
- package/dist/components/icon/icons/module-accounting-icon.js +1 -4
- package/dist/components/icon/icons/module-ai-forecast-icon.js +1 -4
- package/dist/components/icon/icons/module-app-icon.js +1 -4
- package/dist/components/icon/icons/module-articles-icon.js +1 -4
- package/dist/components/icon/icons/module-benchmark-icon.js +1 -4
- package/dist/components/icon/icons/module-booking-icon.js +1 -4
- package/dist/components/icon/icons/module-cai-icon.js +1 -4
- package/dist/components/icon/icons/module-campaigns-icon.js +1 -4
- package/dist/components/icon/icons/module-cashier-icon.js +1 -4
- package/dist/components/icon/icons/module-communication-icon.js +1 -4
- package/dist/components/icon/icons/module-copilot-icon.js +1 -4
- package/dist/components/icon/icons/module-dashboard-icon.js +1 -4
- package/dist/components/icon/icons/module-document-icon.js +1 -4
- package/dist/components/icon/icons/module-employees-icon.js +1 -4
- package/dist/components/icon/icons/module-feed-icon.js +1 -4
- package/dist/components/icon/icons/module-history-icon.js +1 -4
- package/dist/components/icon/icons/module-home-icon.js +1 -4
- package/dist/components/icon/icons/module-insights-icon.js +1 -4
- package/dist/components/icon/icons/module-kds-icon.js +1 -4
- package/dist/components/icon/icons/module-members-icon.js +1 -4
- package/dist/components/icon/icons/module-menus-icon.js +1 -4
- package/dist/components/icon/icons/module-my-city-icon.js +1 -4
- package/dist/components/icon/icons/module-notification-center-icon.js +1 -4
- package/dist/components/icon/icons/module-online-order-icon.js +1 -4
- package/dist/components/icon/icons/module-organisation-icon.js +1 -4
- package/dist/components/icon/icons/module-pos-icon.js +1 -4
- package/dist/components/icon/icons/module-pulse-icon.js +1 -4
- package/dist/components/icon/icons/module-result-icon.js +1 -4
- package/dist/components/icon/icons/module-salary-icon.js +1 -4
- package/dist/components/icon/icons/module-schedule-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-alt-icon.js +1 -4
- package/dist/components/icon/icons/module-settings-icon.js +1 -4
- package/dist/components/icon/icons/module-support-icon.js +1 -4
- package/dist/components/icon/icons/module-survey-icon.js +1 -4
- package/dist/components/icon/icons/module-table-map-icon.js +4 -5
- package/dist/components/icon/icons/module-tablet-icon.js +1 -4
- package/dist/components/icon/icons/module-time-icon.js +1 -4
- package/dist/components/icon/icons/module-timeline-icon.js +1 -4
- package/dist/components/icon/icons/module-tip-icon.js +1 -4
- package/dist/components/icon/icons/module-to-do-icon.js +1 -4
- package/dist/components/icon/icons/module-tools-icon.js +1 -4
- package/dist/components/icon/icons/module-top-list-icon.js +1 -4
- package/dist/components/icon/icons/module-web-charts-icon.js +1 -4
- package/dist/components/icon/icons/module-web-icon.js +1 -4
- package/dist/components/icon/icons/more-horizontal-icon.js +1 -4
- package/dist/components/icon/icons/more-vertical-icon.js +1 -4
- package/dist/components/icon/icons/nfc-icon.js +1 -4
- package/dist/components/icon/icons/no-cart-icon.js +1 -4
- package/dist/components/icon/icons/note-icon.js +1 -4
- package/dist/components/icon/icons/number-icon.js +4 -5
- package/dist/components/icon/icons/open-modal-icon.js +1 -4
- package/dist/components/icon/icons/parking-icon.js +1 -4
- package/dist/components/icon/icons/party-horn-icon.js +1 -4
- package/dist/components/icon/icons/pause-icon.js +1 -4
- package/dist/components/icon/icons/payment-card-icon.js +1 -4
- package/dist/components/icon/icons/payment-cash-icon.js +1 -4
- package/dist/components/icon/icons/payment-generic-icon.js +1 -4
- package/dist/components/icon/icons/payment-giftcard-icon.js +1 -4
- package/dist/components/icon/icons/payment-hotel-icon.js +1 -4
- package/dist/components/icon/icons/payment-invoice-icon.js +1 -4
- package/dist/components/icon/icons/percentage-icon.js +1 -4
- package/dist/components/icon/icons/phone-icon.js +1 -4
- package/dist/components/icon/icons/pin-icon.js +1 -4
- package/dist/components/icon/icons/pin-map-icon.js +1 -4
- package/dist/components/icon/icons/play-icon.js +1 -4
- package/dist/components/icon/icons/preview-icon.js +1 -4
- package/dist/components/icon/icons/print-icon.js +1 -4
- package/dist/components/icon/icons/privacy-icon.js +1 -4
- package/dist/components/icon/icons/product-admin-icon.js +1 -4
- package/dist/components/icon/icons/product-analytics-icon.js +1 -4
- package/dist/components/icon/icons/product-booking-icon.js +1 -4
- package/dist/components/icon/icons/product-checkout-icon.js +1 -4
- package/dist/components/icon/icons/product-my-pages-icon.js +1 -4
- package/dist/components/icon/icons/product-staff-icon.js +1 -4
- package/dist/components/icon/icons/puck-icon.js +1 -4
- package/dist/components/icon/icons/qr-code-icon.js +1 -4
- package/dist/components/icon/icons/question-icon.js +1 -4
- package/dist/components/icon/icons/radio-icon.js +1 -4
- package/dist/components/icon/icons/receipt-icon.js +1 -4
- package/dist/components/icon/icons/redo-icon.js +1 -4
- package/dist/components/icon/icons/refund-icon.js +1 -4
- package/dist/components/icon/icons/remove-icon.js +1 -4
- package/dist/components/icon/icons/replace-icon.js +1 -4
- package/dist/components/icon/icons/schedule-icon.js +1 -4
- package/dist/components/icon/icons/search-icon.js +1 -4
- package/dist/components/icon/icons/select-icon.js +1 -4
- package/dist/components/icon/icons/send-icon.js +1 -4
- package/dist/components/icon/icons/share-icon.js +1 -4
- package/dist/components/icon/icons/show-icon.js +1 -4
- package/dist/components/icon/icons/shuffle-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-hide-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-left-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-right-icon.js +1 -4
- package/dist/components/icon/icons/sidebar-show-icon.js +1 -4
- package/dist/components/icon/icons/sliders-icon.js +1 -4
- package/dist/components/icon/icons/slightly-sad-icon.js +1 -4
- package/dist/components/icon/icons/smile-icon.js +1 -4
- package/dist/components/icon/icons/sort-asc-icon.js +1 -4
- package/dist/components/icon/icons/sort-desc-icon.js +1 -4
- package/dist/components/icon/icons/split-icon.js +1 -4
- package/dist/components/icon/icons/status-icon.js +1 -4
- package/dist/components/icon/icons/stop-icon.js +1 -4
- package/dist/components/icon/icons/submenu-icon.js +1 -4
- package/dist/components/icon/icons/success-icon.js +1 -4
- package/dist/components/icon/icons/swap-icon.js +1 -4
- package/dist/components/icon/icons/swatch-icon.js +1 -4
- package/dist/components/icon/icons/sweat-icon.js +1 -4
- package/dist/components/icon/icons/table-icon.js +1 -4
- package/dist/components/icon/icons/table-map-icon.js +1 -4
- package/dist/components/icon/icons/take-away-dot-com-icon.js +1 -4
- package/dist/components/icon/icons/take-away-icon.js +1 -4
- package/dist/components/icon/icons/talk-icon.js +1 -4
- package/dist/components/icon/icons/thumbtack-icon.js +1 -4
- package/dist/components/icon/icons/time-icon.js +1 -4
- package/dist/components/icon/icons/timeline-icon.js +1 -4
- package/dist/components/icon/icons/tip-icon.js +1 -4
- package/dist/components/icon/icons/title-icon.js +1 -4
- package/dist/components/icon/icons/translate-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-collapse-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-expand-icon.js +1 -4
- package/dist/components/icon/icons/tree-view-last-icon.js +1 -4
- package/dist/components/icon/icons/trend-down-icon.js +1 -4
- package/dist/components/icon/icons/trend-up-icon.js +1 -4
- package/dist/components/icon/icons/triangle-warning-icon.js +1 -4
- package/dist/components/icon/icons/trivec-icon.js +4 -5
- package/dist/components/icon/icons/uber-eats-icon.js +1 -4
- package/dist/components/icon/icons/undo-icon.js +1 -4
- package/dist/components/icon/icons/unlock-icon.js +1 -4
- package/dist/components/icon/icons/unwrap-content-icon.js +1 -4
- package/dist/components/icon/icons/up-icon.js +1 -4
- package/dist/components/icon/icons/user-group-icon.js +1 -4
- package/dist/components/icon/icons/user-icon.js +1 -4
- package/dist/components/icon/icons/user-permissions-icon.js +1 -4
- package/dist/components/icon/icons/user-wait-icon.js +1 -4
- package/dist/components/icon/icons/users-icon.js +1 -4
- package/dist/components/icon/icons/version-control-icon.js +1 -4
- package/dist/components/icon/icons/volume-high-icon.js +1 -4
- package/dist/components/icon/icons/volume-icon.js +1 -4
- package/dist/components/icon/icons/volume-low-icon.js +1 -4
- package/dist/components/icon/icons/volume-off-icon.js +1 -4
- package/dist/components/icon/icons/warning-icon.js +1 -4
- package/dist/components/icon/icons/waste-icon.js +1 -4
- package/dist/components/icon/icons/wifi-icon.js +1 -4
- package/dist/components/icon/icons/wifi-off-icon.js +1 -4
- package/dist/components/icon/icons/wolt-icon.js +1 -4
- package/dist/components/icon/icons/wrap-content-icon.js +1 -4
- package/dist/components/icon-button/icon-button.composition.d.ts +4 -4
- package/dist/components/icon-button/icon-button.composition.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js +38 -32
- package/dist/components/image/image.composition.d.ts +1 -1
- package/dist/components/image/image.composition.d.ts.map +1 -1
- package/dist/components/image/image.d.ts +1 -1
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/image/image.js +12 -5
- package/dist/components/image-upload/image-cropper.d.ts +2 -1
- package/dist/components/image-upload/image-cropper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts +1 -1
- package/dist/components/image-upload/image-cropper.helper.d.ts.map +1 -1
- package/dist/components/image-upload/image-cropper.helper.js +38 -40
- package/dist/components/image-upload/image-cropper.js +63 -73
- package/dist/components/image-upload/image-upload-dropzone.d.ts +2 -1
- package/dist/components/image-upload/image-upload-dropzone.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-dropzone.js +102 -72
- package/dist/components/image-upload/image-upload-icons.d.ts +5 -5
- package/dist/components/image-upload/image-upload-icons.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-icons.js +19 -26
- package/dist/components/image-upload/image-upload-modal.d.ts +1 -1
- package/dist/components/image-upload/image-upload-modal.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload-modal.js +54 -95
- package/dist/components/image-upload/image-upload.composition.d.ts +3 -3
- package/dist/components/image-upload/image-upload.composition.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.d.ts +1 -1
- package/dist/components/image-upload/image-upload.d.ts.map +1 -1
- package/dist/components/image-upload/image-upload.js +69 -78
- package/dist/components/input/input.composition.d.ts +9 -9
- package/dist/components/input/input.composition.d.ts.map +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +54 -58
- package/dist/components/input/types.d.ts +5 -4
- package/dist/components/input/types.d.ts.map +1 -1
- package/dist/components/link/link.composition.d.ts +2 -2
- package/dist/components/link/link.composition.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/link.js +11 -3
- package/dist/components/list/list-item.d.ts +1 -1
- package/dist/components/list/list-item.d.ts.map +1 -1
- package/dist/components/list/list-item.js +13 -5
- package/dist/components/list/list.composition.d.ts +1 -1
- package/dist/components/list/list.composition.d.ts.map +1 -1
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/list/list.d.ts.map +1 -1
- package/dist/components/list/list.js +17 -11
- package/dist/components/menu/menu-box-button.js +16 -8
- package/dist/components/menu/menu-button.d.ts +1 -1
- package/dist/components/menu/menu-button.d.ts.map +1 -1
- package/dist/components/menu/menu-button.js +15 -5
- package/dist/components/menu/menu-divider.d.ts +2 -1
- package/dist/components/menu/menu-divider.d.ts.map +1 -1
- package/dist/components/menu/menu-divider.js +21 -12
- package/dist/components/menu/menu-group.d.ts +3 -2
- package/dist/components/menu/menu-group.d.ts.map +1 -1
- package/dist/components/menu/menu-group.js +131 -129
- package/dist/components/menu/menu-icon-button.d.ts +1 -1
- package/dist/components/menu/menu-icon-button.d.ts.map +1 -1
- package/dist/components/menu/menu-icon-button.js +10 -5
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-item.d.ts.map +1 -1
- package/dist/components/menu/menu-item.js +43 -32
- package/dist/components/menu/menu-list.d.ts +1 -1
- package/dist/components/menu/menu-list.d.ts.map +1 -1
- package/dist/components/menu/menu-list.js +14 -4
- package/dist/components/menu/menu-recipe.js +6 -2
- package/dist/components/menu/menu.composition.d.ts +10 -10
- package/dist/components/menu/menu.composition.d.ts.map +1 -1
- package/dist/components/menu/menu.js +36 -19
- package/dist/components/message/message.composition.d.ts +1 -1
- package/dist/components/message/message.composition.d.ts.map +1 -1
- package/dist/components/message/message.d.ts +1 -1
- package/dist/components/message/message.d.ts.map +1 -1
- package/dist/components/message/message.js +36 -58
- package/dist/components/modal/modal-body.d.ts +1 -1
- package/dist/components/modal/modal-body.d.ts.map +1 -1
- package/dist/components/modal/modal-body.js +15 -7
- package/dist/components/modal/modal-close-button.d.ts +1 -1
- package/dist/components/modal/modal-close-button.d.ts.map +1 -1
- package/dist/components/modal/modal-close-button.js +16 -16
- package/dist/components/modal/modal-footer.d.ts +1 -1
- package/dist/components/modal/modal-footer.d.ts.map +1 -1
- package/dist/components/modal/modal-footer.js +29 -18
- package/dist/components/modal/modal-header.d.ts +1 -1
- package/dist/components/modal/modal-header.d.ts.map +1 -1
- package/dist/components/modal/modal-header.js +15 -5
- package/dist/components/modal/modal.composition.d.ts +11 -11
- package/dist/components/modal/modal.composition.d.ts.map +1 -1
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +53 -43
- package/dist/components/navigation-list/navigation-list-item.d.ts +2 -2
- package/dist/components/navigation-list/navigation-list-item.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list-item.js +54 -67
- package/dist/components/navigation-list/navigation-list.composition.d.ts +6 -5
- package/dist/components/navigation-list/navigation-list.composition.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts +1 -1
- package/dist/components/navigation-list/navigation-list.d.ts.map +1 -1
- package/dist/components/navigation-list/navigation-list.js +15 -5
- package/dist/components/paginator/paginator.composition.d.ts +2 -2
- package/dist/components/paginator/paginator.composition.d.ts.map +1 -1
- package/dist/components/paginator/paginator.d.ts +1 -1
- package/dist/components/paginator/paginator.d.ts.map +1 -1
- package/dist/components/paginator/paginator.js +67 -51
- package/dist/components/quantity-button/minus-button.d.ts +1 -1
- package/dist/components/quantity-button/minus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/minus-button.js +14 -16
- package/dist/components/quantity-button/plus-button.d.ts +1 -1
- package/dist/components/quantity-button/plus-button.d.ts.map +1 -1
- package/dist/components/quantity-button/plus-button.js +14 -16
- package/dist/components/quantity-button/quantity-button.composition.d.ts +3 -3
- package/dist/components/quantity-button/quantity-button.composition.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts +1 -1
- package/dist/components/quantity-button/quantity-button.d.ts.map +1 -1
- package/dist/components/quantity-button/quantity-button.js +38 -74
- package/dist/components/radio/check-icon.js +1 -6
- package/dist/components/radio/radio-group-context.js +2 -2
- package/dist/components/radio/radio-group.composition.d.ts +5 -5
- package/dist/components/radio/radio-group.composition.d.ts.map +1 -1
- package/dist/components/radio/radio-group.d.ts +1 -1
- package/dist/components/radio/radio-group.d.ts.map +1 -1
- package/dist/components/radio/radio-group.js +26 -33
- package/dist/components/radio/radio.composition.d.ts +2 -2
- package/dist/components/radio/radio.composition.d.ts.map +1 -1
- package/dist/components/radio/radio.js +53 -49
- package/dist/components/radio-card/radio-card-group.d.ts +1 -1
- package/dist/components/radio-card/radio-card-group.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card-group.js +23 -31
- package/dist/components/radio-card/radio-card.composition.d.ts +4 -4
- package/dist/components/radio-card/radio-card.composition.d.ts.map +1 -1
- package/dist/components/radio-card/radio-card.js +64 -81
- package/dist/components/rich-text-editor/boolean-control.d.ts +1 -1
- package/dist/components/rich-text-editor/boolean-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/boolean-control.js +50 -30
- package/dist/components/rich-text-editor/extensions.js +15 -17
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts +10 -10
- package/dist/components/rich-text-editor/rich-text-editor-control.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor-control.js +273 -166
- package/dist/components/rich-text-editor/rich-text-editor-recipe.js +36 -10
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.composition.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +4 -4
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.js +68 -54
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.d.ts.map +1 -1
- package/dist/components/rich-text-editor/rich-text-renderer.js +30 -17
- package/dist/components/rich-text-editor/use-rich-text-editor.js +27 -14
- package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control-item.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control-item.js +23 -25
- package/dist/components/segmented-control/segmented-control.composition.d.ts +5 -5
- package/dist/components/segmented-control/segmented-control.composition.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts +1 -1
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.js +38 -38
- package/dist/components/segmented-control/types.d.ts +2 -1
- package/dist/components/segmented-control/types.d.ts.map +1 -1
- package/dist/components/select/select.composition.d.ts +3 -3
- package/dist/components/select/select.composition.d.ts.map +1 -1
- package/dist/components/select/select.js +27 -12
- package/dist/components/skeleton/skeleton-text.d.ts +1 -1
- package/dist/components/skeleton/skeleton-text.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton-text.js +17 -12
- package/dist/components/skeleton/skeleton.composition.d.ts +2 -2
- package/dist/components/skeleton/skeleton.composition.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.js +18 -13
- package/dist/components/spinner/spinner.composition.d.ts +2 -2
- package/dist/components/spinner/spinner.composition.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/spinner/spinner.js +26 -49
- package/dist/components/stack/stack.composition.d.ts +3 -3
- package/dist/components/stack/stack.composition.d.ts.map +1 -1
- package/dist/components/stack/stack.js +17 -7
- package/dist/components/stepper/check-icon.js +1 -6
- package/dist/components/stepper/step-context.d.ts +2 -1
- package/dist/components/stepper/step-context.d.ts.map +1 -1
- package/dist/components/stepper/step.d.ts +1 -1
- package/dist/components/stepper/step.d.ts.map +1 -1
- package/dist/components/stepper/step.js +89 -69
- package/dist/components/stepper/stepper.composition.d.ts +6 -6
- package/dist/components/stepper/stepper.composition.d.ts.map +1 -1
- package/dist/components/stepper/stepper.d.ts +1 -1
- package/dist/components/stepper/stepper.d.ts.map +1 -1
- package/dist/components/stepper/stepper.js +41 -21
- package/dist/components/stepper/times-icon.js +1 -6
- package/dist/components/stepper/types.d.ts +2 -1
- package/dist/components/stepper/types.d.ts.map +1 -1
- package/dist/components/switch/switch.composition.d.ts +2 -2
- package/dist/components/switch/switch.composition.d.ts.map +1 -1
- package/dist/components/switch/switch.js +29 -33
- package/dist/components/table/table-cell.d.ts +1 -1
- package/dist/components/table/table-cell.d.ts.map +1 -1
- package/dist/components/table/table-cell.js +67 -92
- package/dist/components/table/table-content.d.ts +1 -1
- package/dist/components/table/table-content.d.ts.map +1 -1
- package/dist/components/table/table-content.js +26 -76
- package/dist/components/table/table-context-provider.d.ts +1 -1
- package/dist/components/table/table-context-provider.d.ts.map +1 -1
- package/dist/components/table/table-context-provider.js +28 -49
- package/dist/components/table/table-context.d.ts.map +1 -1
- package/dist/components/table/table-filter.d.ts +1 -1
- package/dist/components/table/table-filter.d.ts.map +1 -1
- package/dist/components/table/table-filter.js +68 -96
- package/dist/components/table/table-header-dropdown.d.ts +1 -1
- package/dist/components/table/table-header-dropdown.d.ts.map +1 -1
- package/dist/components/table/table-header-dropdown.js +65 -113
- package/dist/components/table/table-header-row.d.ts +1 -1
- package/dist/components/table/table-header-row.d.ts.map +1 -1
- package/dist/components/table/table-header-row.js +53 -106
- package/dist/components/table/table-recipe.js +6 -2
- package/dist/components/table/table-row-expand-toggle-button.d.ts +1 -1
- package/dist/components/table/table-row-expand-toggle-button.d.ts.map +1 -1
- package/dist/components/table/table-row-expand-toggle-button.js +26 -23
- package/dist/components/table/table-row.d.ts +1 -1
- package/dist/components/table/table-row.d.ts.map +1 -1
- package/dist/components/table/table-row.js +8 -26
- package/dist/components/table/table-toolbar-actions.d.ts +1 -1
- package/dist/components/table/table-toolbar-actions.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-actions.js +4 -10
- package/dist/components/table/table-toolbar-add-button.d.ts +1 -1
- package/dist/components/table/table-toolbar-add-button.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.d.ts +1 -1
- package/dist/components/table/table-toolbar-search.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-search.js +6 -11
- package/dist/components/table/table-toolbar-settings.d.ts +1 -1
- package/dist/components/table/table-toolbar-settings.d.ts.map +1 -1
- package/dist/components/table/table-toolbar-settings.js +75 -144
- package/dist/components/table/table-toolbar.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts.map +1 -1
- package/dist/components/table/table-toolbar.js +28 -34
- package/dist/components/table/table.composition.d.ts +5 -4
- package/dist/components/table/table.composition.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +1 -34
- package/dist/components/tabs/tab-list.d.ts +1 -1
- package/dist/components/tabs/tab-list.d.ts.map +1 -1
- package/dist/components/tabs/tab-list.js +15 -5
- package/dist/components/tabs/tab-panel.d.ts +1 -1
- package/dist/components/tabs/tab-panel.d.ts.map +1 -1
- package/dist/components/tabs/tab-panel.js +13 -5
- package/dist/components/tabs/tab-panels.d.ts +1 -1
- package/dist/components/tabs/tab-panels.d.ts.map +1 -1
- package/dist/components/tabs/tab-panels.js +12 -4
- package/dist/components/tabs/tab-with-image.d.ts +1 -1
- package/dist/components/tabs/tab-with-image.d.ts.map +1 -1
- package/dist/components/tabs/tab-with-image.js +51 -32
- package/dist/components/tabs/tab.d.ts +1 -1
- package/dist/components/tabs/tab.d.ts.map +1 -1
- package/dist/components/tabs/tab.js +21 -16
- package/dist/components/tabs/tabs-recipe.js +3 -1
- package/dist/components/tabs/tabs.composition.d.ts +6 -6
- package/dist/components/tabs/tabs.composition.d.ts.map +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/tabs/tabs.js +22 -16
- package/dist/components/tag/tag-recipe.js +6 -1
- package/dist/components/tag/tag.composition.d.ts +4 -4
- package/dist/components/tag/tag.composition.d.ts.map +1 -1
- package/dist/components/tag/tag.d.ts +20 -20
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.js +41 -35
- package/dist/components/tag/types.d.ts +3 -2
- package/dist/components/tag/types.d.ts.map +1 -1
- package/dist/components/text/text.composition.d.ts +4 -4
- package/dist/components/text/text.composition.d.ts.map +1 -1
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/text/text.js +25 -35
- package/dist/components/textarea/textarea.composition.d.ts +3 -3
- package/dist/components/textarea/textarea.composition.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +16 -16
- package/dist/components/toaster/toast-store.d.ts +2 -1
- package/dist/components/toaster/toast-store.d.ts.map +1 -1
- package/dist/components/toaster/toast-store.js +19 -12
- package/dist/components/toaster/toaster.composition.d.ts +6 -6
- package/dist/components/toaster/toaster.composition.d.ts.map +1 -1
- package/dist/components/toaster/toaster.d.ts +1 -1
- package/dist/components/toaster/toaster.d.ts.map +1 -1
- package/dist/components/toaster/toaster.js +33 -18
- package/dist/components/toggle-button/toggle-button.composition.d.ts +2 -2
- package/dist/components/toggle-button/toggle-button.composition.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.js +23 -17
- package/dist/components/toggle-button/use-button-children.js +33 -24
- package/dist/components/tooltip/tooltip.composition.d.ts +4 -4
- package/dist/components/tooltip/tooltip.composition.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.js +44 -32
- package/dist/hooks/use-color-mode.js +20 -11
- package/dist/hooks/use-disclosure.js +8 -2
- package/dist/hooks/use-remove-attributes.js +20 -12
- package/dist/index.js +664 -662
- package/dist/node_modules/@tiptap/core/dist/index.js +541 -525
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +1464 -27
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +26 -9
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +314 -250
- package/dist/node_modules/@tiptap/extensions/dist/index.js +205 -182
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +21 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +14 -0
- package/dist/node_modules/react/compiler-runtime.js +10 -0
- package/dist/theme/theme-provider-context.composition.d.ts +9 -9
- package/dist/theme/theme-provider-context.composition.d.ts.map +1 -1
- package/dist/theme/theme-provider.d.ts +1 -1
- package/dist/theme/theme-provider.d.ts.map +1 -1
- package/dist/theme/theme-provider.js +32 -28
- package/dist/theme/theme.js +6 -2
- package/package.json +15 -14
|
@@ -1,123 +1,82 @@
|
|
|
1
|
-
import { jsxs as t, jsx as e, Fragment as
|
|
2
|
-
import { ButtonGroup as
|
|
3
|
-
import { useState as u,
|
|
4
|
-
import { ImageCropper as
|
|
5
|
-
import
|
|
6
|
-
import { sanitizeFilename as
|
|
7
|
-
import { RemoveIcon as
|
|
1
|
+
import { jsxs as t, jsx as e, Fragment as k } from "react/jsx-runtime";
|
|
2
|
+
import { ButtonGroup as D } from "@chakra-ui/react";
|
|
3
|
+
import { useState as u, useEffect as H } from "react";
|
|
4
|
+
import { ImageCropper as L } from "./image-cropper.js";
|
|
5
|
+
import R from "./image-upload-dropzone.js";
|
|
6
|
+
import { sanitizeFilename as V } from "./image-upload-helper.js";
|
|
7
|
+
import { RemoveIcon as j } from "./image-upload-icons.js";
|
|
8
8
|
import { translations as s } from "./translations.js";
|
|
9
|
-
import { Modal as
|
|
10
|
-
import { ModalHeader as
|
|
11
|
-
import { Text as
|
|
12
|
-
import { ModalCloseButton as
|
|
13
|
-
import { ModalBody as
|
|
9
|
+
import { Modal as O } from "../modal/modal.js";
|
|
10
|
+
import { ModalHeader as $ } from "../modal/modal-header.js";
|
|
11
|
+
import { Text as w } from "../text/text.js";
|
|
12
|
+
import { ModalCloseButton as U } from "../modal/modal-close-button.js";
|
|
13
|
+
import { ModalBody as W } from "../modal/modal-body.js";
|
|
14
14
|
import { Button as p } from "../button/button.js";
|
|
15
|
-
import { ModalFooter as
|
|
16
|
-
import { ThemeSpaceVariable as
|
|
17
|
-
function
|
|
15
|
+
import { ModalFooter as X } from "../modal/modal-footer.js";
|
|
16
|
+
import { ThemeSpaceVariable as o, ThemeFontSizeVariable as A, ThemeFontVariable as E, ThemeColorVariable as g } from "../../theme/theme-types.js";
|
|
17
|
+
function de({
|
|
18
18
|
title: b,
|
|
19
|
-
src:
|
|
20
|
-
savedCrop:
|
|
21
|
-
isOpen:
|
|
19
|
+
src: r,
|
|
20
|
+
savedCrop: S,
|
|
21
|
+
isOpen: C,
|
|
22
22
|
aspectRatio: x,
|
|
23
23
|
crop: c,
|
|
24
|
-
locale:
|
|
24
|
+
locale: i,
|
|
25
25
|
onClose: y,
|
|
26
26
|
handleSaveImage: I,
|
|
27
|
-
setPreviewImage:
|
|
27
|
+
setPreviewImage: n,
|
|
28
28
|
setCrop: l
|
|
29
29
|
}) {
|
|
30
|
-
const [M, F] = u(!1), [
|
|
30
|
+
const [M, F] = u(!1), [a, m] = u({
|
|
31
31
|
data: "",
|
|
32
32
|
fileName: ""
|
|
33
|
-
}), d =
|
|
33
|
+
}), d = () => {
|
|
34
34
|
(async () => {
|
|
35
|
-
if (!
|
|
35
|
+
if (!r)
|
|
36
36
|
return;
|
|
37
|
-
const
|
|
38
|
-
f.readAsDataURL(
|
|
39
|
-
const B = f.result;
|
|
37
|
+
const B = await (await fetch(r)).blob(), f = new FileReader();
|
|
38
|
+
f.readAsDataURL(B), f.onloadend = () => {
|
|
40
39
|
m({
|
|
41
|
-
data:
|
|
42
|
-
fileName:
|
|
40
|
+
data: f.result,
|
|
41
|
+
fileName: V(r)
|
|
43
42
|
});
|
|
44
43
|
};
|
|
45
44
|
})().catch(console.error);
|
|
46
|
-
}
|
|
47
|
-
|
|
45
|
+
};
|
|
46
|
+
H(() => {
|
|
48
47
|
d();
|
|
49
48
|
}, [d]);
|
|
50
49
|
const T = () => {
|
|
51
|
-
I(
|
|
52
|
-
}, N = (!
|
|
53
|
-
m({
|
|
54
|
-
|
|
50
|
+
I(a, c, M);
|
|
51
|
+
}, N = (!a.data || !a.fileName) && !r, v = (!a.data || !a.fileName) && r, h = () => {
|
|
52
|
+
m({
|
|
53
|
+
data: "",
|
|
54
|
+
fileName: ""
|
|
55
|
+
}), n(""), r && (d(), n(r)), l(S || null), y();
|
|
56
|
+
}, z = () => {
|
|
55
57
|
m({
|
|
56
58
|
data: "",
|
|
57
59
|
fileName: ""
|
|
58
|
-
}),
|
|
60
|
+
}), n(""), l(null);
|
|
59
61
|
};
|
|
60
|
-
return /* @__PURE__ */ t(
|
|
61
|
-
/* @__PURE__ */ t(
|
|
62
|
-
|
|
63
|
-
{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
children: b
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
/* @__PURE__ */ e(X, {})
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ e(
|
|
84
|
-
A,
|
|
85
|
-
{
|
|
86
|
-
display: "flex",
|
|
87
|
-
flexDirection: "column",
|
|
88
|
-
p: `${r.Large} ${r.Medium}`,
|
|
89
|
-
children: o.data && o.fileName ? /* @__PURE__ */ t(D, { children: [
|
|
90
|
-
/* @__PURE__ */ e(
|
|
91
|
-
V,
|
|
92
|
-
{
|
|
93
|
-
src: o.data,
|
|
94
|
-
crop: c,
|
|
95
|
-
onCropCallback: l,
|
|
96
|
-
aspectRatio: x,
|
|
97
|
-
setPreviewImage: i
|
|
98
|
-
}
|
|
99
|
-
),
|
|
100
|
-
/* @__PURE__ */ e(H, { gap: r.Small, mt: r.Large, flexWrap: "wrap", children: /* @__PURE__ */ t(p, { variant: "ghost", onClick: k, gap: r.XSmall, children: [
|
|
101
|
-
/* @__PURE__ */ e($, {}),
|
|
102
|
-
"Ta bort bild"
|
|
103
|
-
] }) })
|
|
104
|
-
] }) : /* @__PURE__ */ e(j, { locale: n, setFileItem: m, setHasImageChanged: F })
|
|
105
|
-
}
|
|
106
|
-
),
|
|
107
|
-
/* @__PURE__ */ t(
|
|
108
|
-
E,
|
|
109
|
-
{
|
|
110
|
-
p: r.Medium,
|
|
111
|
-
gap: r.Medium,
|
|
112
|
-
borderTop: `1px solid ${g.OnSurfaceBorder}`,
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ e(p, { variant: "ghost", onClick: h, children: s[n].secondary }),
|
|
115
|
-
/* @__PURE__ */ e(p, { variant: "primary", onClick: T, isDisabled: N, children: v ? s[n].remove : s[n].primary })
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
)
|
|
62
|
+
return /* @__PURE__ */ t(O, { isOpen: C, onClose: h, size: "md", children: [
|
|
63
|
+
/* @__PURE__ */ t($, { display: "flex", alignItems: "center", justifyContent: "space-between", p: o.Medium, children: [
|
|
64
|
+
/* @__PURE__ */ e(w, { color: g.OnSurfaceHeader, fontFamily: E.SubHeader, fontWeight: "medium", fontSize: A.XLarge, children: b }),
|
|
65
|
+
/* @__PURE__ */ e(U, {})
|
|
66
|
+
] }),
|
|
67
|
+
/* @__PURE__ */ e(W, { display: "flex", flexDirection: "column", p: `${o.Large} ${o.Medium}`, children: a.data && a.fileName ? /* @__PURE__ */ t(k, { children: [
|
|
68
|
+
/* @__PURE__ */ e(L, { src: a.data, crop: c, onCropCallback: l, aspectRatio: x, setPreviewImage: n }),
|
|
69
|
+
/* @__PURE__ */ e(D, { gap: o.Small, mt: o.Large, flexWrap: "wrap", children: /* @__PURE__ */ t(p, { variant: "ghost", onClick: z, gap: o.XSmall, children: [
|
|
70
|
+
/* @__PURE__ */ e(j, {}),
|
|
71
|
+
"Ta bort bild"
|
|
72
|
+
] }) })
|
|
73
|
+
] }) : /* @__PURE__ */ e(R, { locale: i, setFileItem: m, setHasImageChanged: F }) }),
|
|
74
|
+
/* @__PURE__ */ t(X, { p: o.Medium, gap: o.Medium, borderTop: `1px solid ${g.OnSurfaceBorder}`, children: [
|
|
75
|
+
/* @__PURE__ */ e(p, { variant: "ghost", onClick: h, children: s[i].secondary }),
|
|
76
|
+
/* @__PURE__ */ e(p, { variant: "primary", onClick: T, isDisabled: N, children: v ? s[i].remove : s[i].primary })
|
|
77
|
+
] })
|
|
119
78
|
] });
|
|
120
79
|
}
|
|
121
80
|
export {
|
|
122
|
-
|
|
81
|
+
de as ImageUploadModal
|
|
123
82
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ImageUploadOneOne: () => import("react
|
|
2
|
-
export declare const ImageUploadSixteenNine: () => import("react
|
|
3
|
-
export declare const ImageUploadThirtyTwoNine: () => import("react
|
|
1
|
+
export declare const ImageUploadOneOne: () => import("react").JSX.Element;
|
|
2
|
+
export declare const ImageUploadSixteenNine: () => import("react").JSX.Element;
|
|
3
|
+
export declare const ImageUploadThirtyTwoNine: () => import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=image-upload.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-upload.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"image-upload.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload.composition.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,mCAY7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAYlC,CAAC;AAEF,eAAO,MAAM,wBAAwB,mCAWpC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ImageUploadProps } from './types.js';
|
|
2
|
-
export declare function ImageUpload({ title, savedImageUrl, savedCrop, aspectRatio, isLoading, locale, onSave, }: ImageUploadProps): import("react
|
|
2
|
+
export declare function ImageUpload({ title, savedImageUrl, savedCrop, aspectRatio, isLoading, locale, onSave, }: ImageUploadProps): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=image-upload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-upload.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload.tsx"],"names":[],"mappings":"AASA,OAAO,EAAqD,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEnG,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAgB,EAChB,MAAM,GACN,EAAE,gBAAgB
|
|
1
|
+
{"version":3,"file":"image-upload.d.ts","sourceRoot":"","sources":["../../../lib/components/image-upload/image-upload.tsx"],"names":[],"mappings":"AASA,OAAO,EAAqD,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEnG,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAgB,EAChB,MAAM,GACN,EAAE,gBAAgB,+BAgGlB"}
|
|
@@ -1,96 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { jsx as s, jsxs as L, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { c as X } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { useDisclosure as $ } from "../../hooks/use-disclosure.js";
|
|
4
|
+
import { Box as q, Spinner as G } from "@chakra-ui/react";
|
|
5
|
+
import { useState as N } from "react";
|
|
6
|
+
import { ImageIcon as H } from "./image-upload-icons.js";
|
|
7
|
+
import { ImageUploadModal as J } from "./image-upload-modal.js";
|
|
8
|
+
import { ImageUploadAspectRatio as l } from "./types.js";
|
|
9
|
+
import { Text as K } from "../text/text.js";
|
|
10
|
+
import { Image as Q } from "../image/image.js";
|
|
11
|
+
import { ThemeRadiusVariable as k, ThemeColorVariable as D, ThemeSpaceVariable as Y } from "../../theme/theme-types.js";
|
|
12
|
+
function ce(j) {
|
|
13
|
+
const e = X.c(32), {
|
|
14
|
+
title: B,
|
|
15
|
+
savedImageUrl: c,
|
|
16
|
+
savedCrop: m,
|
|
17
|
+
aspectRatio: t,
|
|
18
|
+
isLoading: w,
|
|
19
|
+
locale: R,
|
|
20
|
+
onSave: p
|
|
21
|
+
} = j, I = R === void 0 ? "en-US" : R, {
|
|
22
|
+
isOpen: b,
|
|
23
|
+
onOpen: S,
|
|
24
|
+
onClose: r
|
|
25
|
+
} = $(), [d, F] = N(c || ""), [v, M] = N(m || null);
|
|
26
|
+
let u;
|
|
27
|
+
e[0] !== r || e[1] !== p ? (u = (U, P, z) => {
|
|
28
|
+
const E = {
|
|
29
|
+
crop: P,
|
|
23
30
|
file: {
|
|
24
|
-
imageFilename:
|
|
25
|
-
imageUploadData:
|
|
31
|
+
imageFilename: U.fileName,
|
|
32
|
+
imageUploadData: U.data
|
|
26
33
|
}
|
|
27
34
|
};
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
p && (p(E, z), r());
|
|
36
|
+
}, e[0] = r, e[1] = p, e[2] = u) : u = e[2];
|
|
37
|
+
const y = u;
|
|
38
|
+
let f;
|
|
39
|
+
e[3] !== t ? (f = () => {
|
|
40
|
+
switch (t) {
|
|
41
|
+
case l.OneByOne:
|
|
32
42
|
return "102px";
|
|
33
|
-
case
|
|
43
|
+
case l.SixteenByNine:
|
|
34
44
|
return "178px";
|
|
35
|
-
case
|
|
45
|
+
case l.ThirtyTwoByNine:
|
|
36
46
|
return "360px";
|
|
37
47
|
default:
|
|
38
48
|
return "102px";
|
|
39
49
|
}
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
|
|
50
|
+
}, e[3] = t, e[4] = f) : f = e[4];
|
|
51
|
+
const V = f;
|
|
52
|
+
let g;
|
|
53
|
+
e[5] !== t ? (g = () => {
|
|
54
|
+
switch (t) {
|
|
55
|
+
case l.OneByOne:
|
|
43
56
|
return "1:1";
|
|
44
|
-
case
|
|
57
|
+
case l.SixteenByNine:
|
|
45
58
|
return "16:9";
|
|
46
|
-
case
|
|
59
|
+
case l.ThirtyTwoByNine:
|
|
47
60
|
return "32:9";
|
|
48
61
|
default:
|
|
49
62
|
return "";
|
|
50
63
|
}
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
h: "102px",
|
|
72
|
-
children: /* @__PURE__ */ e(O, {})
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ e(A, { mt: R.XSmall, color: t.OnBackground, children: I() }),
|
|
76
|
-
/* @__PURE__ */ e(
|
|
77
|
-
V,
|
|
78
|
-
{
|
|
79
|
-
locale: g,
|
|
80
|
-
title: p,
|
|
81
|
-
src: n,
|
|
82
|
-
savedCrop: i,
|
|
83
|
-
aspectRatio: o,
|
|
84
|
-
isOpen: f,
|
|
85
|
-
onClose: m,
|
|
86
|
-
handleSaveImage: b,
|
|
87
|
-
setPreviewImage: x,
|
|
88
|
-
crop: B,
|
|
89
|
-
setCrop: w
|
|
90
|
-
}
|
|
91
|
-
)
|
|
92
|
-
] });
|
|
64
|
+
}, e[5] = t, e[6] = g) : g = e[6];
|
|
65
|
+
const A = g;
|
|
66
|
+
let h;
|
|
67
|
+
e[7] !== w || e[8] !== d ? (h = () => w ? /* @__PURE__ */ s(G, { color: D.OnBackgroundBorder, size: "lg", animationDuration: "0.825s" }) : d ? /* @__PURE__ */ s(Q, { alt: "Preview Image", src: d, borderRadius: k.Medium, objectFit: "fill", h: "100%", w: "100%" }) : /* @__PURE__ */ s(H, {}), e[7] = w, e[8] = d, e[9] = h) : h = e[9];
|
|
68
|
+
const O = h, T = V();
|
|
69
|
+
let o;
|
|
70
|
+
e[10] !== O ? (o = O(), e[10] = O, e[11] = o) : o = e[11];
|
|
71
|
+
let i;
|
|
72
|
+
e[12] !== S || e[13] !== o || e[14] !== T ? (i = /* @__PURE__ */ s(q, { as: "button", onClick: S, bg: D.BackgroundDisabled, borderRadius: k.Medium, w: T, h: "102px", children: o }), e[12] = S, e[13] = o, e[14] = T, e[15] = i) : i = e[15];
|
|
73
|
+
const C = A();
|
|
74
|
+
let n;
|
|
75
|
+
e[16] !== C ? (n = /* @__PURE__ */ s(K, { mt: Y.XSmall, color: D.OnBackground, children: C }), e[16] = C, e[17] = n) : n = e[17];
|
|
76
|
+
let a;
|
|
77
|
+
e[18] !== t || e[19] !== v || e[20] !== y || e[21] !== b || e[22] !== I || e[23] !== r || e[24] !== m || e[25] !== c || e[26] !== B ? (a = /* @__PURE__ */ s(J, { locale: I, title: B, src: c, savedCrop: m, aspectRatio: t, isOpen: b, onClose: r, handleSaveImage: y, setPreviewImage: F, crop: v, setCrop: M }), e[18] = t, e[19] = v, e[20] = y, e[21] = b, e[22] = I, e[23] = r, e[24] = m, e[25] = c, e[26] = B, e[27] = a) : a = e[27];
|
|
78
|
+
let x;
|
|
79
|
+
return e[28] !== a || e[29] !== i || e[30] !== n ? (x = /* @__PURE__ */ L(W, { children: [
|
|
80
|
+
i,
|
|
81
|
+
n,
|
|
82
|
+
a
|
|
83
|
+
] }), e[28] = a, e[29] = i, e[30] = n, e[31] = x) : x = e[31], x;
|
|
93
84
|
}
|
|
94
85
|
export {
|
|
95
|
-
|
|
86
|
+
ce as ImageUpload
|
|
96
87
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const Sizes: () => import("react
|
|
2
|
-
export declare const Disabled: () => import("react
|
|
3
|
-
export declare const Readonly: () => import("react
|
|
4
|
-
export declare const Invalid: () => import("react
|
|
5
|
-
export declare const Success: () => import("react
|
|
6
|
-
export declare const Warning: () => import("react
|
|
7
|
-
export declare const InputAddons: () => import("react
|
|
8
|
-
export declare const InputElements: () => import("react
|
|
9
|
-
export declare const GhostVariant: () => import("react
|
|
1
|
+
export declare const Sizes: () => import("react").JSX.Element;
|
|
2
|
+
export declare const Disabled: () => import("react").JSX.Element;
|
|
3
|
+
export declare const Readonly: () => import("react").JSX.Element;
|
|
4
|
+
export declare const Invalid: () => import("react").JSX.Element;
|
|
5
|
+
export declare const Success: () => import("react").JSX.Element;
|
|
6
|
+
export declare const Warning: () => import("react").JSX.Element;
|
|
7
|
+
export declare const InputAddons: () => import("react").JSX.Element;
|
|
8
|
+
export declare const InputElements: () => import("react").JSX.Element;
|
|
9
|
+
export declare const GhostVariant: () => import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=input.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/input/input.composition.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"input.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/input/input.composition.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK,mCAMjB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAA2C,CAAC;AACjE,eAAO,MAAM,QAAQ,mCAA2C,CAAC;AACjE,eAAO,MAAM,OAAO,mCAInB,CAAC;AACF,eAAO,MAAM,OAAO,mCAA6D,CAAC;AAClF,eAAO,MAAM,OAAO,mCAA6D,CAAC;AAElF,eAAO,MAAM,WAAW,mCAUvB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAUzB,CAAC;AAEF,eAAO,MAAM,YAAY,mCAIxB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const Input: React.ForwardRefExoticComponent<import('./types.js')
|
|
|
11
11
|
type?: React.HTMLInputTypeAttribute | undefined;
|
|
12
12
|
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
13
13
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
14
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
14
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement, HTMLInputElement> | undefined;
|
|
15
15
|
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
16
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
17
|
autoFocus?: boolean | undefined | undefined;
|
|
@@ -1,65 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as z } from "react/jsx-runtime";
|
|
2
|
+
import { c as j } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Input as C, InputGroup as D } from "@chakra-ui/react";
|
|
4
|
+
import G from "react";
|
|
5
|
+
import { getVisualStateStyle as H } from "./helper.js";
|
|
6
|
+
import { ThemeSpaceVariable as T, ThemeColorVariable as $ } from "../../theme/theme-types.js";
|
|
7
|
+
const K = G.forwardRef((b, E) => {
|
|
8
|
+
const e = j.c(40);
|
|
9
|
+
let o, n, d, s, t, r, a, l, v, h, i;
|
|
10
|
+
e[0] !== b ? ({
|
|
11
|
+
size: v,
|
|
12
|
+
visualState: i,
|
|
13
|
+
leftAddon: s,
|
|
14
|
+
rightAddon: a,
|
|
12
15
|
leftElement: t,
|
|
13
|
-
rightElement:
|
|
14
|
-
variant:
|
|
15
|
-
isDisabled:
|
|
16
|
-
isReadOnly:
|
|
17
|
-
isRequired:
|
|
18
|
-
...
|
|
19
|
-
} =
|
|
20
|
-
|
|
16
|
+
rightElement: l,
|
|
17
|
+
variant: h,
|
|
18
|
+
isDisabled: o,
|
|
19
|
+
isReadOnly: n,
|
|
20
|
+
isRequired: d,
|
|
21
|
+
...r
|
|
22
|
+
} = b, e[0] = b, e[1] = o, e[2] = n, e[3] = d, e[4] = s, e[5] = t, e[6] = r, e[7] = a, e[8] = l, e[9] = v, e[10] = h, e[11] = i) : (o = e[1], n = e[2], d = e[3], s = e[4], t = e[5], r = e[6], a = e[7], l = e[8], v = e[9], h = e[10], i = e[11]);
|
|
23
|
+
const m = v === void 0 ? "md" : v, I = h === void 0 ? "outline" : h;
|
|
24
|
+
let S;
|
|
25
|
+
e[12] !== i ? (S = i ? H(i) : void 0, e[12] = i, e[13] = S) : S = e[13];
|
|
26
|
+
const R = S, x = m === "lg" ? T.Medium : T.Small, V = m === "lg" ? "3rem" : m === "md" ? "2.5rem" : "2rem";
|
|
27
|
+
let g;
|
|
28
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
|
|
29
|
+
color: $.OnSurface,
|
|
21
30
|
_disabled: {
|
|
22
31
|
opacity: 1,
|
|
23
|
-
color:
|
|
32
|
+
color: $.OnSurfaceSubdued
|
|
24
33
|
}
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
ref: p,
|
|
51
|
-
css: y,
|
|
52
|
-
size: e,
|
|
53
|
-
variant: f,
|
|
54
|
-
disabled: g,
|
|
55
|
-
readOnly: h,
|
|
56
|
-
required: v,
|
|
57
|
-
...S
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
);
|
|
34
|
+
}, e[14] = g) : g = e[14];
|
|
35
|
+
const q = g, _ = t ? x : void 0, w = t ? V : void 0;
|
|
36
|
+
let c;
|
|
37
|
+
e[15] !== _ || e[16] !== w ? (c = {
|
|
38
|
+
paddingInline: _,
|
|
39
|
+
width: w,
|
|
40
|
+
...q
|
|
41
|
+
}, e[15] = _, e[16] = w, e[17] = c) : c = e[17];
|
|
42
|
+
const A = l ? x : void 0, O = l ? V : void 0;
|
|
43
|
+
let f;
|
|
44
|
+
e[18] !== A || e[19] !== O ? (f = {
|
|
45
|
+
paddingInline: A,
|
|
46
|
+
width: O,
|
|
47
|
+
...q
|
|
48
|
+
}, e[18] = A, e[19] = O, e[20] = f) : f = e[20];
|
|
49
|
+
let u;
|
|
50
|
+
e[21] !== c || e[22] !== f ? (u = {
|
|
51
|
+
"& > div:first-of-type": c,
|
|
52
|
+
"& > div:last-of-type": f
|
|
53
|
+
}, e[21] = c, e[22] = f, e[23] = u) : u = e[23];
|
|
54
|
+
let p;
|
|
55
|
+
e[24] !== R || e[25] !== o || e[26] !== n || e[27] !== d || e[28] !== E || e[29] !== r || e[30] !== m || e[31] !== I ? (p = /* @__PURE__ */ z(C, { ref: E, css: R, size: m, variant: I, disabled: o, readOnly: n, required: d, ...r }), e[24] = R, e[25] = o, e[26] = n, e[27] = d, e[28] = E, e[29] = r, e[30] = m, e[31] = I, e[32] = p) : p = e[32];
|
|
56
|
+
let y;
|
|
57
|
+
return e[33] !== s || e[34] !== t || e[35] !== a || e[36] !== l || e[37] !== u || e[38] !== p ? (y = /* @__PURE__ */ z(D, { startElement: t, endElement: l, startAddon: s, endAddon: a, width: "100%", css: u, children: p }), e[33] = s, e[34] = t, e[35] = a, e[36] = l, e[37] = u, e[38] = p, e[39] = y) : y = e[39], y;
|
|
62
58
|
});
|
|
63
59
|
export {
|
|
64
|
-
|
|
60
|
+
K as Input
|
|
65
61
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { CustomChakraBoxProps, LayoutProps, MarginProps, PaddingProps, TypographyProps } from '../../theme/index.js';
|
|
2
2
|
import { InputProps as ChakraInputProps, ConditionalValue } from '@chakra-ui/react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
3
4
|
export type VisualInputState = "success" | "warning";
|
|
4
5
|
export type CustomProperties = {
|
|
5
6
|
/** Size of input. Defaults to medium / 'md'. */
|
|
6
7
|
size?: ConditionalValue<"sm" | "md" | "lg">;
|
|
7
8
|
/** Element to append to the right of input */
|
|
8
|
-
rightAddon?:
|
|
9
|
+
rightAddon?: ReactNode;
|
|
9
10
|
/** Element to append to the left of input */
|
|
10
|
-
leftAddon?:
|
|
11
|
+
leftAddon?: ReactNode;
|
|
11
12
|
/** Element to display inside input, to the right of the input value */
|
|
12
|
-
rightElement?:
|
|
13
|
+
rightElement?: ReactNode;
|
|
13
14
|
/** Element to display inside input, to the left of the input value */
|
|
14
|
-
leftElement?:
|
|
15
|
+
leftElement?: ReactNode;
|
|
15
16
|
/** Custom "visual state" of input, used to indicate "warning" or "success" appearance.
|
|
16
17
|
* Not semantic html, just visual effect. For invalid/error state of input, use 'isInvalid'. */
|
|
17
18
|
visualState?: VisualInputState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,IAAI,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/components/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC7G,OAAO,KAAK,EAAE,UAAU,IAAI,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAC;AAErD,MAAM,MAAM,gBAAgB,GAAG;IAC9B,gDAAgD;IAChD,IAAI,CAAC,EAAE,gBAAgB,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;IAC5C,8CAA8C;IAC9C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uEAAuE;IACvE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,sEAAsE;IACtE,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;mGAC+F;IAC/F,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAG9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,qBAAqB,GAAG,IAAI,CAChC,gBAAgB,EACd,IAAI,GACJ,MAAM,GACN,OAAO,GACP,aAAa,GACb,UAAU,GACV,QAAQ,GACR,SAAS,GACT,WAAW,GACX,MAAM,GACN,cAAc,GACd,WAAW,GACX,SAAS,GACT,WAAW,GACX,cAAc,CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,gBAAgB,GACxC,qBAAqB,GACrB,oBAAoB,GACpB,WAAW,GACX,WAAW,GACX,YAAY,GACZ,eAAe,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const BasicLink: () => import("react
|
|
2
|
-
export declare const InlineLink: () => import("react
|
|
1
|
+
export declare const BasicLink: () => import("react").JSX.Element;
|
|
2
|
+
export declare const InlineLink: () => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=link.composition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"link.composition.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.composition.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,mCAMrB,CAAC;AAEF,eAAO,MAAM,UAAU,mCAStB,CAAC"}
|
|
@@ -9,5 +9,5 @@ export type LinkProps = ThemeStyleProps & Pick<ChakraLinkProps, "children" | "hr
|
|
|
9
9
|
* @see Docs https://caspeco.github.io/casper-ui-library/components/link
|
|
10
10
|
* @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/link/
|
|
11
11
|
*/
|
|
12
|
-
export declare function Link({ children, ...props }: LinkProps): import("react
|
|
12
|
+
export declare function Link({ children, ...props }: LinkProps): import("react").JSX.Element;
|
|
13
13
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,MAAM,MAAM,SAAS,GAAG,eAAe,GACtC,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;AAE5E;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../lib/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAsB,KAAK,SAAS,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEzF,MAAM,MAAM,SAAS,GAAG,eAAe,GACtC,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAC;AAE5E;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAErD"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { c as m } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Link as p } from "@chakra-ui/react";
|
|
4
|
+
function f(t) {
|
|
5
|
+
const r = m.c(6);
|
|
6
|
+
let e, i;
|
|
7
|
+
r[0] !== t ? ({
|
|
8
|
+
children: e,
|
|
9
|
+
...i
|
|
10
|
+
} = t, r[0] = t, r[1] = e, r[2] = i) : (e = r[1], i = r[2]);
|
|
11
|
+
let o;
|
|
12
|
+
return r[3] !== e || r[4] !== i ? (o = /* @__PURE__ */ n(p, { ...i, children: e }), r[3] = e, r[4] = i, r[5] = o) : o = r[5], o;
|
|
5
13
|
}
|
|
6
14
|
export {
|
|
7
15
|
f as Link
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeStyleProps } from '../../theme/index.js';
|
|
2
2
|
import { ListItemProps as ChakraListItemProps } from '@chakra-ui/react';
|
|
3
3
|
export type ListItemProps = Pick<ChakraListItemProps, "children"> & ThemeStyleProps;
|
|
4
|
-
export declare function ListItem({ children, ...props }: ListItemProps): import("react
|
|
4
|
+
export declare function ListItem({ children, ...props }: ListItemProps): import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=list-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAA8B,KAAK,aAAa,IAAI,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEzG,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAEpF,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../lib/components/list/list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAA8B,KAAK,aAAa,IAAI,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEzG,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,eAAe,CAAC;AAEpF,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAE7D"}
|