@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,248 +1,250 @@
|
|
|
1
|
-
import { jsxs as
|
|
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 {
|
|
1
|
+
import { jsxs as ke, Fragment as gt, jsx as w } from "react/jsx-runtime";
|
|
2
|
+
import { c as ut } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { Box as pt, Grid as Ke, GridItem as Ye } from "@chakra-ui/react";
|
|
4
|
+
import yt, { useState as we } from "react";
|
|
5
|
+
import { DatePickerDateCell as qe } from "./date-picker-date-cell.js";
|
|
6
|
+
import { DatePickerHeader as St } from "./date-picker-header.js";
|
|
7
|
+
import { DatePickerWeekCell as bt } from "./date-picker-week-cell.js";
|
|
8
|
+
import { firstLetterUpperCase as kt, hasDatePassed as wt, hasDotOnDate as L, isDateStrikeThrough as Ct, getWeekCellVariant as Mt, getDateCellVariant as Je } from "./helper.js";
|
|
9
|
+
import { lv as vt } from "../../node_modules/date-fns/locale/lv.js";
|
|
10
|
+
import { lt as Ot } from "../../node_modules/date-fns/locale/lt.js";
|
|
11
|
+
import { et as Rt } from "../../node_modules/date-fns/locale/et.js";
|
|
12
|
+
import { es as xt } from "../../node_modules/date-fns/locale/es.js";
|
|
13
|
+
import { fi as Wt } from "../../node_modules/date-fns/locale/fi.js";
|
|
14
|
+
import { nl as Bt } from "../../node_modules/date-fns/locale/nl.js";
|
|
15
|
+
import { endOfMonth as Qe } from "../../node_modules/date-fns/endOfMonth.js";
|
|
16
|
+
import { startOfWeek as Et } from "../../node_modules/date-fns/startOfWeek.js";
|
|
17
|
+
import { nlBE as It } from "../../node_modules/date-fns/locale/nl-BE.js";
|
|
18
|
+
import { fr as Xe } from "../../node_modules/date-fns/locale/fr.js";
|
|
19
|
+
import { sv as Ft } from "../../node_modules/date-fns/locale/sv.js";
|
|
19
20
|
import { da as Nt } from "../../node_modules/date-fns/locale/da.js";
|
|
20
|
-
import { nb as
|
|
21
|
-
import { enGB as
|
|
22
|
-
import { enUS as
|
|
23
|
-
import { format as
|
|
24
|
-
import { startOfMonth as
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
21
|
+
import { nb as $t } from "../../node_modules/date-fns/locale/nb.js";
|
|
22
|
+
import { enGB as Pt } from "../../node_modules/date-fns/locale/en-GB.js";
|
|
23
|
+
import { enUS as Tt } from "../../node_modules/date-fns/locale/en-US.js";
|
|
24
|
+
import { format as Ze } from "../../node_modules/date-fns/format.js";
|
|
25
|
+
import { startOfMonth as Ce } from "../../node_modules/date-fns/startOfMonth.js";
|
|
26
|
+
import { ThemeSpaceVariable as _e, ThemeColorVariable as et, ThemeFontSizeVariable as Vt, ThemeFontVariable as Gt } from "../../theme/theme-types.js";
|
|
27
|
+
import { isSameDay as b } from "../../node_modules/date-fns/isSameDay.js";
|
|
28
|
+
import { addDays as tt } from "../../node_modules/date-fns/addDays.js";
|
|
29
|
+
import { isSameMonth as at } from "../../node_modules/date-fns/isSameMonth.js";
|
|
28
30
|
import { getISOWeek as ot } from "../../node_modules/date-fns/getISOWeek.js";
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
31
|
+
const Lt = {
|
|
32
|
+
"en-US": {
|
|
33
|
+
locale: Tt
|
|
34
|
+
},
|
|
35
|
+
"en-GB": {
|
|
36
|
+
locale: Pt
|
|
37
|
+
},
|
|
38
|
+
"nb-NO": {
|
|
39
|
+
locale: $t
|
|
40
|
+
},
|
|
41
|
+
"da-DK": {
|
|
42
|
+
locale: Nt
|
|
43
|
+
},
|
|
44
|
+
"sv-SE": {
|
|
45
|
+
locale: Ft
|
|
46
|
+
},
|
|
47
|
+
"nl-NL": {
|
|
48
|
+
locale: Bt
|
|
49
|
+
},
|
|
50
|
+
"fi-FI": {
|
|
51
|
+
locale: Wt
|
|
52
|
+
},
|
|
53
|
+
"es-ES": {
|
|
54
|
+
locale: xt
|
|
55
|
+
},
|
|
56
|
+
"et-EE": {
|
|
57
|
+
locale: Rt
|
|
58
|
+
},
|
|
59
|
+
"lt-LT": {
|
|
60
|
+
locale: Ot
|
|
61
|
+
},
|
|
62
|
+
"lv-LV": {
|
|
63
|
+
locale: vt
|
|
64
|
+
},
|
|
65
|
+
"fr-FR": {
|
|
66
|
+
locale: Xe
|
|
67
|
+
},
|
|
68
|
+
"fr-BE": {
|
|
69
|
+
locale: Xe
|
|
70
|
+
},
|
|
71
|
+
"nl-BE": {
|
|
72
|
+
locale: It
|
|
73
|
+
}
|
|
45
74
|
};
|
|
46
|
-
function
|
|
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
|
-
|
|
75
|
+
function ya(st) {
|
|
76
|
+
const e = ut.c(128), {
|
|
77
|
+
selectedDate: r,
|
|
78
|
+
onDateChange: A,
|
|
79
|
+
selectedDates: i,
|
|
80
|
+
onDatesChange: z,
|
|
81
|
+
isMultiSelect: Me,
|
|
82
|
+
onMonthChange: U,
|
|
83
|
+
markSundayRed: C,
|
|
84
|
+
strikeThroughDates: M,
|
|
85
|
+
showDaysOutsideMonth: ve,
|
|
86
|
+
localeString: rt,
|
|
87
|
+
canSelectPastDates: B,
|
|
88
|
+
isExpanded: Oe,
|
|
89
|
+
dots: t,
|
|
90
|
+
weekNumbers: Re,
|
|
91
|
+
selectWeek: xe,
|
|
92
|
+
shouldDisableDate: x,
|
|
93
|
+
selectedMonth: S,
|
|
94
|
+
dateRange: a,
|
|
95
|
+
isRangeDate: We,
|
|
96
|
+
onRangeChange: D,
|
|
97
|
+
isDisabled: Be,
|
|
98
|
+
redDays: H,
|
|
99
|
+
disablePastMonths: Ee,
|
|
100
|
+
disableBackwardNavigation: Ie,
|
|
101
|
+
disableForwardNavigation: Fe
|
|
102
|
+
} = st, y = Me === void 0 ? !1 : Me, v = ve === void 0 ? !1 : ve, u = Oe === void 0 ? !0 : Oe, n = Re === void 0 ? !1 : Re, f = xe === void 0 ? !1 : xe, De = We === void 0 ? !1 : We, O = Be === void 0 ? !1 : Be;
|
|
103
|
+
let j;
|
|
104
|
+
e[0] !== H ? (j = H === void 0 ? [] : H, e[0] = H, e[1] = j) : j = e[1];
|
|
105
|
+
const R = j, E = Ee === void 0 ? !1 : Ee, I = Ie === void 0 ? !1 : Ie, F = Fe === void 0 ? !1 : Fe;
|
|
106
|
+
let K;
|
|
107
|
+
e[2] !== S || e[3] !== r ? (K = S || r || /* @__PURE__ */ new Date(), e[2] = S, e[3] = r, e[4] = K) : K = e[4];
|
|
108
|
+
const [s, Ne] = we(K);
|
|
109
|
+
let Y;
|
|
110
|
+
e[5] !== S || e[6] !== u || e[7] !== r ? (Y = {
|
|
111
|
+
initialMonth: S,
|
|
112
|
+
isExpanded: u,
|
|
113
|
+
selectedDate: r
|
|
114
|
+
}, e[5] = S, e[6] = u, e[7] = r, e[8] = Y) : Y = e[8];
|
|
115
|
+
const [fe, lt] = we(Y);
|
|
116
|
+
r && (fe.initialMonth !== S || fe.isExpanded !== u || fe.selectedDate !== r) && (lt({
|
|
117
|
+
initialMonth: S,
|
|
118
|
+
isExpanded: u,
|
|
119
|
+
selectedDate: r
|
|
120
|
+
}), Ne(S || r));
|
|
121
|
+
const [ce, de] = we(!0), {
|
|
122
|
+
locale: c
|
|
123
|
+
} = Lt[rt];
|
|
124
|
+
let q;
|
|
125
|
+
e[9] !== U ? (q = (p) => {
|
|
126
|
+
Ne(p), U && U(p);
|
|
127
|
+
}, e[9] = U, e[10] = q) : q = e[10];
|
|
128
|
+
const N = q;
|
|
129
|
+
let J;
|
|
130
|
+
e[11] !== a || e[12] !== ce || e[13] !== y || e[14] !== De || e[15] !== A || e[16] !== z || e[17] !== D || e[18] !== i ? (J = (p) => {
|
|
131
|
+
const T = (m) => {
|
|
132
|
+
if (ce)
|
|
133
|
+
D && D({
|
|
134
|
+
startDate: m,
|
|
135
|
+
endDate: null
|
|
136
|
+
}), de(!1);
|
|
137
|
+
else if (a?.startDate && a.startDate > m)
|
|
138
|
+
D && D({
|
|
139
|
+
startDate: m,
|
|
140
|
+
endDate: null
|
|
141
|
+
}), de(!1);
|
|
142
|
+
else {
|
|
143
|
+
if (a?.startDate && b(m, a.startDate))
|
|
144
|
+
return;
|
|
145
|
+
if (a?.startDate && D) {
|
|
146
|
+
const h = {
|
|
147
|
+
startDate: a.startDate,
|
|
148
|
+
endDate: m
|
|
149
|
+
};
|
|
150
|
+
D(h);
|
|
91
151
|
}
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
[S, $, E, e?.startDate, s]
|
|
95
|
-
);
|
|
96
|
-
function yt() {
|
|
97
|
-
const o = Qt(/* @__PURE__ */ new Date(), { locale: D });
|
|
98
|
-
return Array.from({ length: 7 }, (r, t) => tt(rt(o, t), "eee", { locale: D }));
|
|
99
|
-
}
|
|
100
|
-
const St = tt(F(n), "MMMM yyyy", {
|
|
101
|
-
locale: D
|
|
102
|
-
}), Ct = N(n).getDate(), Mt = [a ? "v." : void 0, ...yt()], Ot = D.options?.weekStartsOn || 0, T = (F(n).getDay() - Ot + 7) % 7, kt = (7 - N(n).getDay()) % 7, gt = ["auto", "auto", "100%"], Bt = ["auto", "auto", "100%"], It = (o) => !ct && zt(o) ? !0 : W ? W(o) : !1, vt = Array.from({ length: Ct + T + kt }, (o, r) => {
|
|
103
|
-
const t = rt(F(n), r - T), k = et(t, n), g = f(t, /* @__PURE__ */ new Date()), u = It(t) || mt, G = p(t, c?.yellowDotDates), L = p(t, c?.greenDotDates), P = p(t, c?.blueDotDates), U = p(t, c?.redDotDates), _ = p(t, c?.greyDotDates), z = Ut(t, nt) && !u;
|
|
104
|
-
let B = !1;
|
|
105
|
-
l && (B = f(t, l));
|
|
106
|
-
const wt = t.getDay() === 0, A = Dt.some((Wt) => f(Wt, t)) || (st ?? !1) && wt, I = ot(t);
|
|
107
|
-
let d = !1;
|
|
108
|
-
m && l && (d = ot(l) === I);
|
|
109
|
-
const H = !et(t, n), j = !!(e?.startDate && e?.endDate && t > e.startDate && t < e.endDate);
|
|
110
|
-
let v = !1;
|
|
111
|
-
e?.startDate && (v = f(t, e?.startDate));
|
|
112
|
-
let w = !1, K = !1;
|
|
113
|
-
e?.endDate && (w = f(t, e?.endDate), K = !0);
|
|
114
|
-
const xt = Z(
|
|
115
|
-
B || d,
|
|
116
|
-
g,
|
|
117
|
-
H,
|
|
118
|
-
j,
|
|
119
|
-
v,
|
|
120
|
-
w,
|
|
121
|
-
K
|
|
122
|
-
), Ft = At(d, g), Vt = Z(
|
|
123
|
-
B || d,
|
|
124
|
-
g,
|
|
125
|
-
H,
|
|
126
|
-
j,
|
|
127
|
-
v,
|
|
128
|
-
w
|
|
129
|
-
), Y = Math.floor(r / 7) + 1, y = r % 7 + 1;
|
|
130
|
-
return a ? /* @__PURE__ */ x(Et.Fragment, { children: [
|
|
131
|
-
a && r % 7 === 0 && /* @__PURE__ */ i(
|
|
132
|
-
q,
|
|
133
|
-
{
|
|
134
|
-
gridColumn: 1,
|
|
135
|
-
gridRow: "1 / span 7",
|
|
136
|
-
opacity: "0.24",
|
|
137
|
-
borderRight: "1px solid",
|
|
138
|
-
borderColor: at.OnSurfaceBorder
|
|
139
|
-
},
|
|
140
|
-
`grid-${r}-${t.toUTCString()}`
|
|
141
|
-
),
|
|
142
|
-
a && r % 7 === 0 && /* @__PURE__ */ i(
|
|
143
|
-
Pt,
|
|
144
|
-
{
|
|
145
|
-
handleWeekChange: h,
|
|
146
|
-
date: t,
|
|
147
|
-
gridIndex: r,
|
|
148
|
-
variant: Ft,
|
|
149
|
-
selectWeek: m,
|
|
150
|
-
isDisabled: u
|
|
151
|
-
},
|
|
152
|
-
`week-${r}-${I}`
|
|
153
|
-
),
|
|
154
|
-
/* @__PURE__ */ i(
|
|
155
|
-
X,
|
|
156
|
-
{
|
|
157
|
-
hasBlueDot: P,
|
|
158
|
-
hasGreenDot: L,
|
|
159
|
-
hasYellowDot: G,
|
|
160
|
-
hasRedDot: U,
|
|
161
|
-
hasGreyDot: _,
|
|
162
|
-
gridIndex: r,
|
|
163
|
-
gridColumn: a ? y + 2 : y,
|
|
164
|
-
gridRow: Y,
|
|
165
|
-
day: t,
|
|
166
|
-
handleDateChange: h,
|
|
167
|
-
variant: Vt,
|
|
168
|
-
isDisabled: u,
|
|
169
|
-
isStrikeThrough: z,
|
|
170
|
-
selectWeek: m,
|
|
171
|
-
isHoliday: A
|
|
172
|
-
},
|
|
173
|
-
t.toString() + r
|
|
174
|
-
)
|
|
175
|
-
] }, `fragment-${r}-${I}`) : k || it ? /* @__PURE__ */ i(
|
|
176
|
-
X,
|
|
177
|
-
{
|
|
178
|
-
hasBlueDot: P,
|
|
179
|
-
hasGreenDot: L,
|
|
180
|
-
hasYellowDot: G,
|
|
181
|
-
hasRedDot: U,
|
|
182
|
-
hasGreyDot: _,
|
|
183
|
-
gridIndex: r,
|
|
184
|
-
gridColumn: a ? y + 1 : y,
|
|
185
|
-
gridRow: Y,
|
|
186
|
-
day: t,
|
|
187
|
-
handleDateChange: h,
|
|
188
|
-
variant: xt,
|
|
189
|
-
isDisabled: u,
|
|
190
|
-
isStrikeThrough: z,
|
|
191
|
-
selectWeek: m,
|
|
192
|
-
isHoliday: A
|
|
193
|
-
},
|
|
194
|
-
`${t.toString()}-${r}`
|
|
195
|
-
) : null;
|
|
196
|
-
});
|
|
197
|
-
return /* @__PURE__ */ x(bt, { w: Bt, h: gt, children: [
|
|
198
|
-
/* @__PURE__ */ i(
|
|
199
|
-
Lt,
|
|
200
|
-
{
|
|
201
|
-
selectedDate: l || /* @__PURE__ */ new Date(),
|
|
202
|
-
onDateChange: h,
|
|
203
|
-
isExpanded: C,
|
|
204
|
-
onMonthChange: dt,
|
|
205
|
-
selectedMonth: n,
|
|
206
|
-
month: St,
|
|
207
|
-
locale: D,
|
|
208
|
-
selectWeek: m,
|
|
209
|
-
disablePastMonths: pt,
|
|
210
|
-
disableBackwardNavigation: ht,
|
|
211
|
-
disableForwardNavigation: ut,
|
|
212
|
-
dateRange: e,
|
|
213
|
-
onRangeChange: s
|
|
152
|
+
de(!0);
|
|
214
153
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
154
|
+
};
|
|
155
|
+
if (De)
|
|
156
|
+
T(p);
|
|
157
|
+
else if (y) {
|
|
158
|
+
if (z) {
|
|
159
|
+
const h = i?.some((k) => b(k, p)) ? (i ?? []).filter((k) => !b(k, p)) : [...i ?? [], p];
|
|
160
|
+
z(h);
|
|
161
|
+
}
|
|
162
|
+
} else
|
|
163
|
+
A && A(p);
|
|
164
|
+
}, e[11] = a, e[12] = ce, e[13] = y, e[14] = De, e[15] = A, e[16] = z, e[17] = D, e[18] = i, e[19] = J) : J = e[19];
|
|
165
|
+
const d = J;
|
|
166
|
+
let Q;
|
|
167
|
+
e[20] !== c ? (Q = function() {
|
|
168
|
+
const T = Et(/* @__PURE__ */ new Date(), {
|
|
169
|
+
locale: c
|
|
170
|
+
});
|
|
171
|
+
return Array.from({
|
|
172
|
+
length: 7
|
|
173
|
+
}, (m, h) => Ze(tt(T, h), "eee", {
|
|
174
|
+
locale: c
|
|
175
|
+
}));
|
|
176
|
+
}, e[20] = c, e[21] = Q) : Q = e[21];
|
|
177
|
+
const me = Q;
|
|
178
|
+
let X;
|
|
179
|
+
e[22] !== c || e[23] !== s ? (X = Ze(Ce(s), "MMMM yyyy", {
|
|
180
|
+
locale: c
|
|
181
|
+
}), e[22] = c, e[23] = s, e[24] = X) : X = e[24];
|
|
182
|
+
const $ = X;
|
|
183
|
+
let Z;
|
|
184
|
+
e[25] !== s ? (Z = Qe(s).getDate(), e[25] = s, e[26] = Z) : Z = e[26];
|
|
185
|
+
const P = Z, he = n ? "v." : void 0;
|
|
186
|
+
let _;
|
|
187
|
+
if (e[27] !== B || e[28] !== a || e[29] !== I || e[30] !== F || e[31] !== E || e[32] !== t?.blueDotDates || e[33] !== t?.greenDotDates || e[34] !== t?.greyDotDates || e[35] !== t?.redDotDates || e[36] !== t?.yellowDotDates || e[37] !== me || e[38] !== d || e[39] !== N || e[40] !== O || e[41] !== u || e[42] !== y || e[43] !== c || e[44] !== C || e[45] !== $ || e[46] !== P || e[47] !== D || e[48] !== R || e[49] !== f || e[50] !== r || e[51] !== i || e[52] !== s || e[53] !== x || e[54] !== v || e[55] !== M || e[56] !== he || e[57] !== n) {
|
|
188
|
+
const p = [he, ...me()], T = c.options?.weekStartsOn || 0;
|
|
189
|
+
let m;
|
|
190
|
+
e[59] !== s ? (m = Ce(s).getDay(), e[59] = s, e[60] = m) : m = e[60];
|
|
191
|
+
const h = (m - T + 7) % 7;
|
|
192
|
+
let k;
|
|
193
|
+
e[61] !== s ? (k = Qe(s).getDay(), e[61] = s, e[62] = k) : k = e[62];
|
|
194
|
+
const ge = (7 - k) % 7;
|
|
195
|
+
let ee;
|
|
196
|
+
e[63] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = ["auto", "auto", "100%"], e[63] = ee) : ee = e[63];
|
|
197
|
+
const nt = ee;
|
|
198
|
+
let te;
|
|
199
|
+
e[64] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = ["auto", "auto", "100%"], e[64] = te) : te = e[64];
|
|
200
|
+
const it = te;
|
|
201
|
+
let ae;
|
|
202
|
+
e[65] !== B || e[66] !== x ? (ae = (g) => !B && wt(g) ? !0 : x ? x(g) : !1, e[65] = B, e[66] = x, e[67] = ae) : ae = e[67];
|
|
203
|
+
const V = ae;
|
|
204
|
+
let oe;
|
|
205
|
+
if (e[68] !== V || e[69] !== a || e[70] !== ge || e[71] !== t?.blueDotDates || e[72] !== t?.greenDotDates || e[73] !== t?.greyDotDates || e[74] !== t?.redDotDates || e[75] !== t?.yellowDotDates || e[76] !== h || e[77] !== d || e[78] !== O || e[79] !== y || e[80] !== C || e[81] !== P || e[82] !== R || e[83] !== f || e[84] !== r || e[85] !== i || e[86] !== s || e[87] !== v || e[88] !== M || e[89] !== n) {
|
|
206
|
+
let g;
|
|
207
|
+
e[91] !== V || e[92] !== a || e[93] !== t?.blueDotDates || e[94] !== t?.greenDotDates || e[95] !== t?.greyDotDates || e[96] !== t?.redDotDates || e[97] !== t?.yellowDotDates || e[98] !== h || e[99] !== d || e[100] !== O || e[101] !== y || e[102] !== C || e[103] !== R || e[104] !== f || e[105] !== r || e[106] !== i || e[107] !== s || e[108] !== v || e[109] !== M || e[110] !== n ? (g = (G, l) => {
|
|
208
|
+
const o = tt(Ce(s), l - h), ft = at(o, s), ue = b(o, /* @__PURE__ */ new Date()), re = V(o) || O, $e = L(o, t?.yellowDotDates), Pe = L(o, t?.greenDotDates), Te = L(o, t?.blueDotDates), Ve = L(o, t?.redDotDates), Ge = L(o, t?.greyDotDates), Le = Ct(o, M) && !re;
|
|
209
|
+
let le = !1;
|
|
210
|
+
r && (le = b(o, r)), y && i && (le = i.some((be) => b(be, o)));
|
|
211
|
+
const ct = o.getDay() === 0, Ae = R.some((be) => b(be, o)) || (C ?? !1) && ct, pe = ot(o);
|
|
212
|
+
let ne = !1;
|
|
213
|
+
f && r && (ne = ot(r) === pe);
|
|
214
|
+
const ze = !at(o, s), Ue = !!(a?.startDate && a?.endDate && o > a.startDate && o < a.endDate);
|
|
215
|
+
let ye = !1;
|
|
216
|
+
a?.startDate && (ye = b(o, a?.startDate));
|
|
217
|
+
let Se = !1, He = !1;
|
|
218
|
+
a?.endDate && (Se = b(o, a?.endDate), He = !0);
|
|
219
|
+
const dt = Je(le || ne, ue, ze, Ue, ye, Se, He), mt = Mt(ne, ue), ht = Je(le || ne, ue, ze, Ue, ye, Se), je = Math.floor(l / 7) + 1, ie = l % 7 + 1;
|
|
220
|
+
return n ? /* @__PURE__ */ ke(yt.Fragment, { children: [
|
|
221
|
+
n && l % 7 === 0 && /* @__PURE__ */ w(Ye, { gridColumn: 1, gridRow: "1 / span 7", opacity: "0.24", borderRight: "1px solid", borderColor: et.OnSurfaceBorder }, `grid-${l}-${o.toUTCString()}`),
|
|
222
|
+
n && l % 7 === 0 && /* @__PURE__ */ w(bt, { handleWeekChange: d, date: o, gridIndex: l, variant: mt, selectWeek: f, isDisabled: re }, `week-${l}-${pe}`),
|
|
223
|
+
/* @__PURE__ */ w(qe, { hasBlueDot: Te, hasGreenDot: Pe, hasYellowDot: $e, hasRedDot: Ve, hasGreyDot: Ge, gridIndex: l, gridColumn: n ? ie + 2 : ie, gridRow: je, day: o, handleDateChange: d, variant: ht, isDisabled: re, isStrikeThrough: Le, selectWeek: f, isHoliday: Ae }, o.toString() + l)
|
|
224
|
+
] }, `fragment-${l}-${pe}`) : ft || v ? /* @__PURE__ */ w(qe, { hasBlueDot: Te, hasGreenDot: Pe, hasYellowDot: $e, hasRedDot: Ve, hasGreyDot: Ge, gridIndex: l, gridColumn: n ? ie + 1 : ie, gridRow: je, day: o, handleDateChange: d, variant: dt, isDisabled: re, isStrikeThrough: Le, selectWeek: f, isHoliday: Ae }, `${o.toString()}-${l}`) : null;
|
|
225
|
+
}, e[91] = V, e[92] = a, e[93] = t?.blueDotDates, e[94] = t?.greenDotDates, e[95] = t?.greyDotDates, e[96] = t?.redDotDates, e[97] = t?.yellowDotDates, e[98] = h, e[99] = d, e[100] = O, e[101] = y, e[102] = C, e[103] = R, e[104] = f, e[105] = r, e[106] = i, e[107] = s, e[108] = v, e[109] = M, e[110] = n, e[111] = g) : g = e[111], oe = Array.from({
|
|
226
|
+
length: P + h + ge
|
|
227
|
+
}, g), e[68] = V, e[69] = a, e[70] = ge, e[71] = t?.blueDotDates, e[72] = t?.greenDotDates, e[73] = t?.greyDotDates, e[74] = t?.redDotDates, e[75] = t?.yellowDotDates, e[76] = h, e[77] = d, e[78] = O, e[79] = y, e[80] = C, e[81] = P, e[82] = R, e[83] = f, e[84] = r, e[85] = i, e[86] = s, e[87] = v, e[88] = M, e[89] = n, e[90] = oe;
|
|
228
|
+
} else
|
|
229
|
+
oe = e[90];
|
|
230
|
+
const Dt = oe;
|
|
231
|
+
let W;
|
|
232
|
+
e[112] !== r ? (W = r || /* @__PURE__ */ new Date(), e[112] = r, e[113] = W) : W = e[113];
|
|
233
|
+
let se;
|
|
234
|
+
e[114] !== a || e[115] !== I || e[116] !== F || e[117] !== E || e[118] !== d || e[119] !== N || e[120] !== u || e[121] !== c || e[122] !== $ || e[123] !== D || e[124] !== f || e[125] !== s || e[126] !== W ? (se = /* @__PURE__ */ w(St, { selectedDate: W, onDateChange: d, isExpanded: u, onMonthChange: N, selectedMonth: s, month: $, locale: c, selectWeek: f, disablePastMonths: E, disableBackwardNavigation: I, disableForwardNavigation: F, dateRange: a, onRangeChange: D }), e[114] = a, e[115] = I, e[116] = F, e[117] = E, e[118] = d, e[119] = N, e[120] = u, e[121] = c, e[122] = $, e[123] = D, e[124] = f, e[125] = s, e[126] = W, e[127] = se) : se = e[127], _ = /* @__PURE__ */ ke(pt, { w: it, h: nt, children: [
|
|
235
|
+
se,
|
|
236
|
+
u && /* @__PURE__ */ ke(gt, { children: [
|
|
237
|
+
/* @__PURE__ */ w(Ke, { templateColumns: n ? "48px 1px 1fr 1fr 1fr 1fr 1fr 1fr 1fr" : "repeat(7, 1fr)", children: p.map((g, G) => {
|
|
238
|
+
let l;
|
|
239
|
+
return n && G === 0 ? l = 1 : n ? l = G + 2 : l = G, g ? /* @__PURE__ */ w(Ye, { textAlign: "center", fontWeight: "500", fontFamily: Gt.Body, fontSize: Vt.Small, gridColumn: l, borderRight: n && G === 0 ? `1px solid ${et.OnSurfaceBorder}` : "", pb: _e.Small, children: kt(g).slice(0, 2) }, g) : null;
|
|
240
|
+
}) }),
|
|
241
|
+
/* @__PURE__ */ w(Ke, { templateColumns: n ? "48px 1px 1fr 1fr 1fr 1fr 1fr 1fr 1fr" : "repeat(7, 1fr)", rowGap: _e.Small, flexShrink: 1, children: Dt })
|
|
242
|
+
] })
|
|
243
|
+
] }), e[27] = B, e[28] = a, e[29] = I, e[30] = F, e[31] = E, e[32] = t?.blueDotDates, e[33] = t?.greenDotDates, e[34] = t?.greyDotDates, e[35] = t?.redDotDates, e[36] = t?.yellowDotDates, e[37] = me, e[38] = d, e[39] = N, e[40] = O, e[41] = u, e[42] = y, e[43] = c, e[44] = C, e[45] = $, e[46] = P, e[47] = D, e[48] = R, e[49] = f, e[50] = r, e[51] = i, e[52] = s, e[53] = x, e[54] = v, e[55] = M, e[56] = he, e[57] = n, e[58] = _;
|
|
244
|
+
} else
|
|
245
|
+
_ = e[58];
|
|
246
|
+
return _;
|
|
245
247
|
}
|
|
246
248
|
export {
|
|
247
|
-
|
|
249
|
+
ya as BaseDatePicker
|
|
248
250
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DateMultiPickerProps } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* A datepicker that selects multiple specific dates
|
|
4
|
+
*
|
|
5
|
+
* @see Docs https://caspeco.github.io/casper-ui-library/components/date-picker#datemultipicker
|
|
6
|
+
*/
|
|
7
|
+
export declare const DateMultiPicker: ({ localeString, canSelectPastDates, dots, isExpanded, markSundayRed, onMonthChange, weekNumbers, showDaysOutsideMonth, selectedMonth, onDatesChange, selectedDates, shouldDisableDate, strikeThroughDates, isDisabled, redDays, disablePastMonths, disableBackwardNavigation, disableForwardNavigation, }: DateMultiPickerProps) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=date-multi-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-multi-picker.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-multi-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;GAIG;AAEH,eAAO,MAAM,eAAe,GAAI,2SAmB7B,oBAAoB,gCA8BtB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as M } from "react/jsx-runtime";
|
|
2
|
+
import { c as R } from "../../_virtual/compiler-runtime.js";
|
|
3
|
+
import { BaseDatePicker as w } from "./base-date-picker.js";
|
|
4
|
+
const S = (v) => {
|
|
5
|
+
const e = R.c(19), {
|
|
6
|
+
localeString: a,
|
|
7
|
+
canSelectPastDates: s,
|
|
8
|
+
dots: o,
|
|
9
|
+
isExpanded: i,
|
|
10
|
+
markSundayRed: n,
|
|
11
|
+
onMonthChange: r,
|
|
12
|
+
weekNumbers: d,
|
|
13
|
+
showDaysOutsideMonth: l,
|
|
14
|
+
selectedMonth: c,
|
|
15
|
+
onDatesChange: D,
|
|
16
|
+
selectedDates: h,
|
|
17
|
+
shouldDisableDate: g,
|
|
18
|
+
strikeThroughDates: m,
|
|
19
|
+
isDisabled: u,
|
|
20
|
+
redDays: k,
|
|
21
|
+
disablePastMonths: p,
|
|
22
|
+
disableBackwardNavigation: b,
|
|
23
|
+
disableForwardNavigation: f
|
|
24
|
+
} = v;
|
|
25
|
+
let t;
|
|
26
|
+
return e[0] !== s || e[1] !== b || e[2] !== f || e[3] !== p || e[4] !== o || e[5] !== u || e[6] !== i || e[7] !== a || e[8] !== n || e[9] !== D || e[10] !== r || e[11] !== k || e[12] !== h || e[13] !== c || e[14] !== g || e[15] !== l || e[16] !== m || e[17] !== d ? (t = /* @__PURE__ */ M(w, { isMultiSelect: !0, localeString: a, canSelectPastDates: s, dots: o, isExpanded: i, markSundayRed: n, onMonthChange: r, weekNumbers: d, showDaysOutsideMonth: l, selectedMonth: c, onDatesChange: D, selectedDates: h, shouldDisableDate: g, strikeThroughDates: m, redDays: k, isRangeDate: !1, selectWeek: !1, isDisabled: u, selectedDate: void 0, onDateChange: void 0, dateRange: void 0, onRangeChange: void 0, disablePastMonths: p, disableBackwardNavigation: b, disableForwardNavigation: f }), e[0] = s, e[1] = b, e[2] = f, e[3] = p, e[4] = o, e[5] = u, e[6] = i, e[7] = a, e[8] = n, e[9] = D, e[10] = r, e[11] = k, e[12] = h, e[13] = c, e[14] = g, e[15] = l, e[16] = m, e[17] = d, e[18] = t) : t = e[18], t;
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
S as DateMultiPicker
|
|
30
|
+
};
|
|
@@ -16,6 +16,6 @@ type DatePickerHeaderProps = {
|
|
|
16
16
|
selectWeek: boolean;
|
|
17
17
|
isHoliday: boolean;
|
|
18
18
|
};
|
|
19
|
-
export declare const DatePickerDateCell: ({ gridColumn, gridRow, gridIndex, day, handleDateChange, variant, isDisabled, isStrikeThrough, hasBlueDot, hasYellowDot, hasGreenDot, hasGreyDot, hasRedDot, selectWeek, isHoliday, }: DatePickerHeaderProps) => import("react
|
|
19
|
+
export declare const DatePickerDateCell: ({ gridColumn, gridRow, gridIndex, day, handleDateChange, variant, isDisabled, isStrikeThrough, hasBlueDot, hasYellowDot, hasGreenDot, hasGreyDot, hasRedDot, selectWeek, isHoliday, }: DatePickerHeaderProps) => import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=date-picker-date-cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker-date-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-date-cell.tsx"],"names":[],"mappings":"AAKA,KAAK,OAAO,GACT,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,CAAC;AAElB,KAAK,qBAAqB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,IAAI,CAAC;IACV,gBAAgB,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,uLAgBhC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"date-picker-date-cell.d.ts","sourceRoot":"","sources":["../../../lib/components/date-picker/date-picker-date-cell.tsx"],"names":[],"mappings":"AAKA,KAAK,OAAO,GACT,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,CAAC;AAElB,KAAK,qBAAqB,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,IAAI,CAAC;IACV,gBAAgB,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,uLAgBhC,qBAAqB,gCAoGvB,CAAC"}
|