@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,121 +1,115 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { isToday as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { jsx as l, jsxs as Q, Fragment as se } from "react/jsx-runtime";
|
|
2
|
+
import { c as le } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { ThemeRadiusToken as U } from "../../theme/theme-tokens.js";
|
|
4
|
+
import { useRecipe as ie, Box as b, Stack as re, Button as ae } from "@chakra-ui/react";
|
|
5
|
+
import { isToday as Z } from "../../node_modules/date-fns/isToday.js";
|
|
6
|
+
import { format as ne } from "../../node_modules/date-fns/format.js";
|
|
7
|
+
import { ThemeColorVariable as k, ThemeSpaceVariable as _ } from "../../theme/theme-types.js";
|
|
8
|
+
const ge = (ee) => {
|
|
9
|
+
const e = le.c(63), {
|
|
10
|
+
gridColumn: w,
|
|
11
|
+
gridRow: B,
|
|
12
|
+
gridIndex: te,
|
|
13
|
+
day: s,
|
|
14
|
+
handleDateChange: v,
|
|
15
|
+
variant: o,
|
|
16
|
+
isDisabled: oe,
|
|
17
|
+
isStrikeThrough: x,
|
|
18
|
+
hasBlueDot: E,
|
|
19
|
+
hasYellowDot: V,
|
|
20
|
+
hasGreenDot: j,
|
|
21
|
+
hasGreyDot: G,
|
|
22
|
+
hasRedDot: H,
|
|
23
|
+
selectWeek: D,
|
|
24
|
+
isHoliday: K
|
|
25
|
+
} = ee, I = D ? "dateCellWeek" : "dateCell";
|
|
26
|
+
let y;
|
|
27
|
+
e[0] !== I ? (y = {
|
|
28
|
+
key: I
|
|
29
|
+
}, e[0] = I, e[1] = y) : y = e[1];
|
|
30
|
+
const M = ie(y);
|
|
31
|
+
let C;
|
|
32
|
+
e[2] !== M || e[3] !== o ? (C = M({
|
|
33
|
+
variant: o
|
|
34
|
+
}), e[2] = M, e[3] = o, e[4] = C) : C = e[4];
|
|
35
|
+
const O = C, i = oe || x, X = (o === "selectedDay" || o === "startDateRange" || o === "endDateRange") && !D, F = te % 7 === 6;
|
|
36
|
+
let R;
|
|
37
|
+
e[5] !== F || e[6] !== D || e[7] !== o ? (R = D && o === "selectedDay" && F ? {
|
|
38
|
+
borderTopRightRadius: U.Medium,
|
|
39
|
+
borderBottomRightRadius: U.Medium
|
|
40
|
+
} : {}, e[5] = F, e[6] = D, e[7] = o, e[8] = R) : R = e[8];
|
|
41
|
+
const L = R, N = X ? "solid 1.5px white" : "", P = X ? "7.5px" : "6px", Y = X ? "7.5px" : "6px";
|
|
42
|
+
let S;
|
|
43
|
+
e[9] !== N || e[10] !== P || e[11] !== Y ? (S = {
|
|
28
44
|
borderRadius: "50%",
|
|
29
|
-
border:
|
|
30
|
-
width:
|
|
31
|
-
height:
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
{
|
|
97
|
-
css: {
|
|
98
|
-
...s,
|
|
99
|
-
backgroundColor: r.Neutral
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
),
|
|
103
|
-
S && /* @__PURE__ */ e(
|
|
104
|
-
t,
|
|
105
|
-
{
|
|
106
|
-
css: {
|
|
107
|
-
...s,
|
|
108
|
-
backgroundColor: r.Error
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
)
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
) });
|
|
45
|
+
border: N,
|
|
46
|
+
width: P,
|
|
47
|
+
height: Y
|
|
48
|
+
}, e[9] = N, e[10] = P, e[11] = Y, e[12] = S) : S = e[12];
|
|
49
|
+
const t = S;
|
|
50
|
+
let T;
|
|
51
|
+
e[13] !== s || e[14] !== i || e[15] !== v ? (T = () => {
|
|
52
|
+
i || v(s);
|
|
53
|
+
}, e[13] = s, e[14] = i, e[15] = v, e[16] = T) : T = e[16];
|
|
54
|
+
const $ = T;
|
|
55
|
+
let r;
|
|
56
|
+
e[17] !== L || e[18] !== O ? (r = {
|
|
57
|
+
...O,
|
|
58
|
+
...L
|
|
59
|
+
}, e[17] = L, e[18] = O, e[19] = r) : r = e[19];
|
|
60
|
+
const q = K ? "holiday" : void 0, z = K ? k.Error : "inherit";
|
|
61
|
+
let a;
|
|
62
|
+
e[20] !== z ? (a = {
|
|
63
|
+
lineHeight: "1.5",
|
|
64
|
+
color: z
|
|
65
|
+
}, e[20] = z, e[21] = a) : a = e[21];
|
|
66
|
+
const A = Z(s) ? "bold" : "normal", J = Z(s) ? "underline" : "none";
|
|
67
|
+
let n;
|
|
68
|
+
e[22] !== s ? (n = ne(s, "d"), e[22] = s, e[23] = n) : n = e[23];
|
|
69
|
+
let c;
|
|
70
|
+
e[24] !== q || e[25] !== a || e[26] !== A || e[27] !== J || e[28] !== n ? (c = /* @__PURE__ */ l(b, { "data-testid": q, css: a, fontWeight: A, textDecoration: J, children: n }), e[24] = q, e[25] = a, e[26] = A, e[27] = J, e[28] = n, e[29] = c) : c = e[29];
|
|
71
|
+
let d;
|
|
72
|
+
e[30] !== x ? (d = x && /* @__PURE__ */ l("span", {}), e[30] = x, e[31] = d) : d = e[31];
|
|
73
|
+
let f;
|
|
74
|
+
e[32] !== t || e[33] !== E ? (f = E && /* @__PURE__ */ l(b, { css: {
|
|
75
|
+
...t,
|
|
76
|
+
backgroundColor: k.Info
|
|
77
|
+
} }), e[32] = t, e[33] = E, e[34] = f) : f = e[34];
|
|
78
|
+
let m;
|
|
79
|
+
e[35] !== t || e[36] !== j ? (m = j && /* @__PURE__ */ l(b, { css: {
|
|
80
|
+
...t,
|
|
81
|
+
backgroundColor: k.Success
|
|
82
|
+
} }), e[35] = t, e[36] = j, e[37] = m) : m = e[37];
|
|
83
|
+
let h;
|
|
84
|
+
e[38] !== t || e[39] !== V ? (h = V && /* @__PURE__ */ l(b, { css: {
|
|
85
|
+
...t,
|
|
86
|
+
backgroundColor: k.Warning
|
|
87
|
+
} }), e[38] = t, e[39] = V, e[40] = h) : h = e[40];
|
|
88
|
+
let p;
|
|
89
|
+
e[41] !== t || e[42] !== G ? (p = G && /* @__PURE__ */ l(b, { css: {
|
|
90
|
+
...t,
|
|
91
|
+
backgroundColor: k.Neutral
|
|
92
|
+
} }), e[41] = t, e[42] = G, e[43] = p) : p = e[43];
|
|
93
|
+
let u;
|
|
94
|
+
e[44] !== t || e[45] !== H ? (u = H && /* @__PURE__ */ l(b, { css: {
|
|
95
|
+
...t,
|
|
96
|
+
backgroundColor: k.Error
|
|
97
|
+
} }), e[44] = t, e[45] = H, e[46] = u) : u = e[46];
|
|
98
|
+
let g;
|
|
99
|
+
e[47] !== f || e[48] !== m || e[49] !== h || e[50] !== p || e[51] !== u ? (g = /* @__PURE__ */ Q(re, { position: "absolute", bottom: _.XSmall, direction: "row", gap: _.XSmall, children: [
|
|
100
|
+
f,
|
|
101
|
+
m,
|
|
102
|
+
h,
|
|
103
|
+
p,
|
|
104
|
+
u
|
|
105
|
+
] }), e[47] = f, e[48] = m, e[49] = h, e[50] = p, e[51] = u, e[52] = g) : g = e[52];
|
|
106
|
+
let W;
|
|
107
|
+
return e[53] !== i || e[54] !== w || e[55] !== B || e[56] !== $ || e[57] !== r || e[58] !== c || e[59] !== d || e[60] !== g || e[61] !== o ? (W = /* @__PURE__ */ l(se, { children: /* @__PURE__ */ Q(ae, { css: r, type: "button", disabled: i, onClick: $, gridColumn: w, gridRow: B, display: "flex", "data-testid": "date-picker-date-cell", "data-variant": o, children: [
|
|
108
|
+
c,
|
|
109
|
+
d,
|
|
110
|
+
g
|
|
111
|
+
] }) }), e[53] = i, e[54] = w, e[55] = B, e[56] = $, e[57] = r, e[58] = c, e[59] = d, e[60] = g, e[61] = o, e[62] = W) : W = e[62], W;
|
|
118
112
|
};
|
|
119
113
|
export {
|
|
120
|
-
|
|
114
|
+
ge as DatePickerDateCell
|
|
121
115
|
};
|
|
@@ -15,6 +15,6 @@ type DatePickerHeaderProps = {
|
|
|
15
15
|
dateRange?: DateRange;
|
|
16
16
|
onRangeChange?: (dateRange: DateRange) => void;
|
|
17
17
|
};
|
|
18
|
-
export declare const DatePickerHeader: ({ onMonthChange, selectedMonth, month, selectWeek, locale, selectedDate, onDateChange, isExpanded, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, dateRange, onRangeChange, }: DatePickerHeaderProps) => import("react
|
|
18
|
+
export declare const DatePickerHeader: ({ onMonthChange, selectedMonth, month, selectWeek, locale, selectedDate, onDateChange, isExpanded, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, dateRange, onRangeChange, }: DatePickerHeaderProps) => import("react").JSX.Element;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=date-picker-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker-header.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-header.tsx"],"names":[],"mappings":"AAKA,OAAO,EAeN,KAAK,MAAM,EACX,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,qBAAqB,GAAG;IAC5B,aAAa,EAAE,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,wBAAwB,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,wMAc9B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"date-picker-header.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-header.tsx"],"names":[],"mappings":"AAKA,OAAO,EAeN,KAAK,MAAM,EACX,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,qBAAqB,GAAG;IAC5B,aAAa,EAAE,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,wBAAwB,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,wMAc9B,qBAAqB,gCAiJvB,CAAC"}
|
|
@@ -1,139 +1,172 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
import { jsx as v, jsxs as N } from "react/jsx-runtime";
|
|
2
|
+
import { c as ce } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Text as fe, Flex as A } from "@chakra-ui/react";
|
|
4
|
+
import { firstLetterUpperCase as X } from "./helper.js";
|
|
5
|
+
import { startOfMonth as G } from "../../node_modules/date-fns/startOfMonth.js";
|
|
6
|
+
import { isBefore as de } from "../../node_modules/date-fns/isBefore.js";
|
|
7
|
+
import { isSameMonth as ue } from "../../node_modules/date-fns/isSameMonth.js";
|
|
8
|
+
import { startOfDay as pe } from "../../node_modules/date-fns/startOfDay.js";
|
|
9
|
+
import { Button as he } from "../button/button.js";
|
|
10
|
+
import { enGB as Y } from "../../node_modules/date-fns/locale/en-GB.js";
|
|
11
|
+
import { enUS as q } from "../../node_modules/date-fns/locale/en-US.js";
|
|
12
|
+
import { nlBE as Z } from "../../node_modules/date-fns/locale/nl-BE.js";
|
|
13
|
+
import { fr as ee } from "../../node_modules/date-fns/locale/fr.js";
|
|
14
|
+
import { sv as te } from "../../node_modules/date-fns/locale/sv.js";
|
|
15
|
+
import { da as re } from "../../node_modules/date-fns/locale/da.js";
|
|
16
|
+
import { nb as ae } from "../../node_modules/date-fns/locale/nb.js";
|
|
17
|
+
import { isSameYear as ge } from "../../node_modules/date-fns/isSameYear.js";
|
|
18
|
+
import { getISOWeek as De } from "../../node_modules/date-fns/getISOWeek.js";
|
|
19
|
+
import { subMonths as ke } from "../../node_modules/date-fns/subMonths.js";
|
|
20
|
+
import { subWeeks as be } from "../../node_modules/date-fns/subWeeks.js";
|
|
21
|
+
import { subDays as J } from "../../node_modules/date-fns/subDays.js";
|
|
22
|
+
import { addMonths as Me } from "../../node_modules/date-fns/addMonths.js";
|
|
23
|
+
import { addWeeks as Se } from "../../node_modules/date-fns/addWeeks.js";
|
|
24
|
+
import { addDays as K } from "../../node_modules/date-fns/addDays.js";
|
|
25
|
+
import { IconButton as oe } from "../icon-button/icon-button.js";
|
|
26
|
+
import { isSameDay as ye } from "../../node_modules/date-fns/isSameDay.js";
|
|
27
|
+
import { ThemeFontSizeVariable as xe, ThemeFontVariable as we, ThemeSpaceVariable as ie } from "../../theme/theme-types.js";
|
|
28
|
+
import { format as Q } from "../../node_modules/date-fns/format.js";
|
|
29
|
+
import { BackIcon as Ce } from "../icon/icons/back-icon.js";
|
|
30
|
+
import { ForwardIcon as Te } from "../icon/icons/forward-icon.js";
|
|
31
|
+
const ot = (ne) => {
|
|
32
|
+
const e = ce.c(67), {
|
|
33
|
+
onMonthChange: u,
|
|
34
|
+
selectedMonth: n,
|
|
35
|
+
month: S,
|
|
36
|
+
selectWeek: s,
|
|
37
|
+
locale: a,
|
|
38
|
+
selectedDate: t,
|
|
39
|
+
onDateChange: o,
|
|
40
|
+
isExpanded: m,
|
|
41
|
+
disablePastMonths: H,
|
|
42
|
+
disableBackwardNavigation: I,
|
|
43
|
+
disableForwardNavigation: _,
|
|
44
|
+
dateRange: r,
|
|
45
|
+
onRangeChange: f
|
|
46
|
+
} = ne;
|
|
47
|
+
let y;
|
|
48
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = function(i) {
|
|
49
|
+
switch (i) {
|
|
50
|
+
case ae:
|
|
48
51
|
return "Uke";
|
|
49
|
-
case
|
|
52
|
+
case re:
|
|
50
53
|
return "Uge";
|
|
51
|
-
case
|
|
54
|
+
case te:
|
|
52
55
|
return "Vecka";
|
|
53
|
-
case
|
|
56
|
+
case ee:
|
|
54
57
|
return "Semaine";
|
|
55
|
-
case
|
|
56
|
-
case
|
|
57
|
-
case
|
|
58
|
+
case Z:
|
|
59
|
+
case q:
|
|
60
|
+
case Y:
|
|
58
61
|
default:
|
|
59
62
|
return "Week";
|
|
60
63
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
case
|
|
64
|
+
}, e[0] = y) : y = e[0];
|
|
65
|
+
const se = y;
|
|
66
|
+
let x;
|
|
67
|
+
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = function(i) {
|
|
68
|
+
switch (i) {
|
|
69
|
+
case ae:
|
|
70
|
+
case re:
|
|
71
|
+
case te:
|
|
67
72
|
return "I dag";
|
|
68
|
-
case
|
|
73
|
+
case ee:
|
|
69
74
|
return "Aujourd'hui";
|
|
70
|
-
case
|
|
75
|
+
case Z:
|
|
71
76
|
return "Vandaag";
|
|
72
|
-
case
|
|
73
|
-
case
|
|
77
|
+
case q:
|
|
78
|
+
case Y:
|
|
74
79
|
default:
|
|
75
80
|
return "Today";
|
|
76
81
|
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
}, e[1] = x) : x = e[1];
|
|
83
|
+
const le = x;
|
|
84
|
+
let w;
|
|
85
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = function(i) {
|
|
86
|
+
return !!i?.startDate && !!i?.endDate;
|
|
87
|
+
}, e[2] = w) : w = e[2];
|
|
88
|
+
const c = !s && w(r) && f;
|
|
89
|
+
let C;
|
|
90
|
+
e[3] !== a ? (C = function(i) {
|
|
91
|
+
return ge(i.startDate, i.endDate) ? a === Y || a === q ? "MMM d" : "d MMM" : "PP";
|
|
92
|
+
}, e[3] = a, e[4] = C) : C = e[4];
|
|
93
|
+
const $ = C;
|
|
94
|
+
let T;
|
|
95
|
+
e[5] !== r || e[6] !== $ || e[7] !== c || e[8] !== m || e[9] !== a || e[10] !== S || e[11] !== s || e[12] !== t ? (T = () => {
|
|
88
96
|
if (m)
|
|
89
|
-
return
|
|
97
|
+
return X(S);
|
|
98
|
+
if (s)
|
|
99
|
+
return `${se(a)} ${De(t)}`;
|
|
90
100
|
if (c) {
|
|
91
|
-
const
|
|
92
|
-
|
|
101
|
+
const l = $(r), i = Q(r.startDate, l, {
|
|
102
|
+
locale: a
|
|
103
|
+
}), me = Q(r.endDate, l, {
|
|
104
|
+
locale: a
|
|
105
|
+
});
|
|
106
|
+
return `${i} - ${me}`.replace(/\./g, "");
|
|
93
107
|
}
|
|
94
|
-
return t ?
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
startDate:
|
|
103
|
-
endDate:
|
|
104
|
-
}) :
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
] });
|
|
108
|
+
return t ? Q(t, "dd MMMM", {
|
|
109
|
+
locale: a
|
|
110
|
+
}) : X(S);
|
|
111
|
+
}, e[5] = r, e[6] = $, e[7] = c, e[8] = m, e[9] = a, e[10] = S, e[11] = s, e[12] = t, e[13] = T) : T = e[13];
|
|
112
|
+
const j = T;
|
|
113
|
+
let F;
|
|
114
|
+
e[14] !== r || e[15] !== c || e[16] !== m || e[17] !== o || e[18] !== u || e[19] !== f || e[20] !== s || e[21] !== t || e[22] !== n ? (F = () => {
|
|
115
|
+
m ? u(ke(G(n))) : s ? o(be(t)) : c ? f({
|
|
116
|
+
startDate: J(r.startDate),
|
|
117
|
+
endDate: J(r.endDate)
|
|
118
|
+
}) : o(J(t));
|
|
119
|
+
}, e[14] = r, e[15] = c, e[16] = m, e[17] = o, e[18] = u, e[19] = f, e[20] = s, e[21] = t, e[22] = n, e[23] = F) : F = e[23];
|
|
120
|
+
const U = F;
|
|
121
|
+
let B;
|
|
122
|
+
e[24] !== r || e[25] !== c || e[26] !== m || e[27] !== o || e[28] !== u || e[29] !== f || e[30] !== s || e[31] !== t || e[32] !== n ? (B = () => {
|
|
123
|
+
m ? u(Me(G(n), 1)) : s ? o(Se(t, 1)) : c ? f({
|
|
124
|
+
startDate: K(r.startDate, 1),
|
|
125
|
+
endDate: K(r.endDate, 1)
|
|
126
|
+
}) : o(K(t, 1));
|
|
127
|
+
}, e[24] = r, e[25] = c, e[26] = m, e[27] = o, e[28] = u, e[29] = f, e[30] = s, e[31] = t, e[32] = n, e[33] = B) : B = e[33];
|
|
128
|
+
const z = B;
|
|
129
|
+
let P;
|
|
130
|
+
if (e[34] !== I || e[35] !== H || e[36] !== n) {
|
|
131
|
+
const l = G(/* @__PURE__ */ new Date());
|
|
132
|
+
P = I || H && (de(n, l) || ue(n, l)), e[34] = I, e[35] = H, e[36] = n, e[37] = P;
|
|
133
|
+
} else
|
|
134
|
+
P = e[37];
|
|
135
|
+
const E = P;
|
|
136
|
+
let R, d;
|
|
137
|
+
e[38] !== t ? (d = pe(/* @__PURE__ */ new Date()), R = ye(t, d), e[38] = t, e[39] = R, e[40] = d) : (R = e[39], d = e[40]);
|
|
138
|
+
const L = !R;
|
|
139
|
+
let V;
|
|
140
|
+
e[41] !== o || e[42] !== d ? (V = () => {
|
|
141
|
+
o(d);
|
|
142
|
+
}, e[41] = o, e[42] = d, e[43] = V) : V = e[43];
|
|
143
|
+
const O = V;
|
|
144
|
+
let p;
|
|
145
|
+
e[44] !== j ? (p = j(), e[44] = j, e[45] = p) : p = e[45];
|
|
146
|
+
let h;
|
|
147
|
+
e[46] !== p ? (h = /* @__PURE__ */ v(fe, { fontWeight: "500", fontFamily: we.SubHeader, fontSize: xe.Large, children: p }), e[46] = p, e[47] = h) : h = e[47];
|
|
148
|
+
let g;
|
|
149
|
+
e[48] !== a || e[49] !== L || e[50] !== O ? (g = L && /* @__PURE__ */ v(he, { variant: "ghost", size: "sm", onClick: O, children: le(a) }), e[48] = a, e[49] = L, e[50] = O, e[51] = g) : g = e[51];
|
|
150
|
+
let D;
|
|
151
|
+
e[52] !== U || e[53] !== E ? (D = /* @__PURE__ */ v(oe, { icon: Ce, "aria-label": "Back", variant: "ghost", onClick: U, isDisabled: E }), e[52] = U, e[53] = E, e[54] = D) : D = e[54];
|
|
152
|
+
let k;
|
|
153
|
+
e[55] !== _ || e[56] !== z ? (k = /* @__PURE__ */ v(oe, { icon: Te, "aria-label": "Forward", variant: "ghost", onClick: z, isDisabled: _ }), e[55] = _, e[56] = z, e[57] = k) : k = e[57];
|
|
154
|
+
let b;
|
|
155
|
+
e[58] !== D || e[59] !== k ? (b = /* @__PURE__ */ N(A, { align: "center", children: [
|
|
156
|
+
D,
|
|
157
|
+
k
|
|
158
|
+
] }), e[58] = D, e[59] = k, e[60] = b) : b = e[60];
|
|
159
|
+
let M;
|
|
160
|
+
e[61] !== g || e[62] !== b ? (M = /* @__PURE__ */ N(A, { align: "center", gap: ie.Small, children: [
|
|
161
|
+
g,
|
|
162
|
+
b
|
|
163
|
+
] }), e[61] = g, e[62] = b, e[63] = M) : M = e[63];
|
|
164
|
+
let W;
|
|
165
|
+
return e[64] !== h || e[65] !== M ? (W = /* @__PURE__ */ N(A, { justify: "space-between", align: "center", mb: ie.Small, children: [
|
|
166
|
+
h,
|
|
167
|
+
M
|
|
168
|
+
] }), e[64] = h, e[65] = M, e[66] = W) : W = e[66], W;
|
|
136
169
|
};
|
|
137
170
|
export {
|
|
138
|
-
|
|
171
|
+
ot as DatePickerHeader
|
|
139
172
|
};
|
|
@@ -7,6 +7,6 @@ type DatePickerWeekCellProps = {
|
|
|
7
7
|
selectWeek: boolean;
|
|
8
8
|
isDisabled: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const DatePickerWeekCell: ({ gridIndex, handleWeekChange, variant, date, selectWeek, isDisabled, }: DatePickerWeekCellProps) => import("react
|
|
10
|
+
export declare const DatePickerWeekCell: ({ gridIndex, handleWeekChange, variant, date, selectWeek, isDisabled, }: DatePickerWeekCellProps) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=date-picker-week-cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker-week-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-week-cell.tsx"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,CAAC;AAExE,KAAK,uBAAuB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,yEAOhC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"date-picker-week-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-week-cell.tsx"],"names":[],"mappings":"AAIA,KAAK,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,cAAc,CAAC;AAExE,KAAK,uBAAuB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,yEAOhC,uBAAuB,gCA2BzB,CAAC"}
|