@getflip/swirl-components 0.12.0 → 0.13.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/components.json +425 -84
- package/dist/cjs/balancetext-7a0bdee3.js +763 -0
- package/dist/cjs/{floating-ui.dom.esm-75453e4e.js → floating-ui.dom.esm-35943202.js} +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-action-list-item.cjs.entry.js +1 -1
- package/dist/cjs/swirl-action-list.cjs.entry.js +1 -1
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +1 -1
- package/dist/cjs/swirl-autocomplete.cjs.entry.js +3 -3
- package/dist/cjs/swirl-banner.cjs.entry.js +1 -1
- package/dist/cjs/swirl-button.cjs.entry.js +1 -1
- package/dist/cjs/swirl-chip.cjs.entry.js +1 -1
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-console-layout.cjs.entry.js +1 -1
- package/dist/cjs/swirl-date-input.cjs.entry.js +9 -3
- package/dist/cjs/swirl-date-picker_2.cjs.entry.js +14 -81
- package/dist/cjs/swirl-file-viewer_7.cjs.entry.js +1 -1
- package/dist/cjs/swirl-form-control.cjs.entry.js +15 -1
- package/dist/cjs/swirl-heading.cjs.entry.js +15 -1
- package/dist/cjs/swirl-icon-check-small_4.cjs.entry.js +3440 -0
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +1 -1
- package/dist/cjs/swirl-lightbox.cjs.entry.js +1 -1
- package/dist/cjs/swirl-pdf-reader.cjs.entry.js +1 -1
- package/dist/cjs/swirl-popover.cjs.entry.js +2 -2
- package/dist/cjs/swirl-resource-list-file-item.cjs.entry.js +1 -1
- package/dist/cjs/swirl-search.cjs.entry.js +1 -1
- package/dist/cjs/swirl-select.cjs.entry.js +3 -2
- package/dist/cjs/swirl-table.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text-input.cjs.entry.js +3 -2
- package/dist/cjs/swirl-text.cjs.entry.js +16 -2
- package/dist/cjs/swirl-toast.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{utils-9c9476b4.js → utils-a07ee0db.js} +18 -0
- package/dist/cjs/wc-datepicker.cjs.entry.js +471 -0
- package/dist/collection/collection-manifest.json +9 -1
- package/dist/collection/components/swirl-autocomplete/swirl-autocomplete.js +35 -18
- package/dist/collection/components/swirl-date-input/swirl-date-input.css +11 -0
- package/dist/collection/components/swirl-date-input/swirl-date-input.js +77 -21
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.css +168 -121
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.js +28 -104
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.stories.js +0 -5
- package/dist/collection/components/swirl-form-control/swirl-form-control.css +22 -0
- package/dist/collection/components/swirl-form-control/swirl-form-control.js +33 -0
- package/dist/collection/components/swirl-heading/swirl-heading.js +41 -2
- package/dist/collection/components/swirl-heading/swirl-heading.stories.js +6 -1
- package/dist/collection/components/swirl-icon/icons/swirl-icon-drag-handle.js +67 -0
- package/dist/collection/components/swirl-option-list/swirl-option-list.js +236 -13
- package/dist/collection/components/swirl-option-list/swirl-option-list.stories.js +6 -8
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.css +64 -1
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.js +106 -3
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.stories.js +8 -0
- package/dist/collection/components/swirl-select/swirl-select.css +4 -0
- package/dist/collection/components/swirl-select/swirl-select.js +23 -5
- package/dist/collection/components/swirl-table/swirl-table.js +0 -1
- package/dist/collection/components/swirl-text/swirl-text.js +41 -3
- package/dist/collection/components/swirl-text/swirl-text.stories.js +5 -0
- package/dist/collection/components/swirl-text-input/swirl-text-input.css +21 -0
- package/dist/collection/components/swirl-text-input/swirl-text-input.js +18 -0
- package/dist/collection/utils.js +17 -0
- package/dist/components/balancetext.js +761 -0
- package/dist/components/file-manager.js +34 -28
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +35 -2
- package/dist/components/swirl-autocomplete.js +15 -8
- package/dist/components/swirl-date-input.js +25 -11
- package/dist/components/swirl-date-picker2.js +22 -85
- package/dist/components/swirl-file-viewer-csv2.js +1 -1
- package/dist/components/swirl-file-viewer-pdf2.js +1 -1
- package/dist/components/swirl-file-viewer2.js +1 -1
- package/dist/components/swirl-form-control.js +16 -1
- package/dist/components/swirl-heading2.js +17 -2
- package/dist/components/swirl-icon-drag-handle.d.ts +11 -0
- package/dist/components/swirl-icon-drag-handle.js +6 -0
- package/dist/components/swirl-icon-drag-handle2.js +37 -0
- package/dist/components/swirl-option-list-item2.js +30 -9
- package/dist/components/swirl-option-list2.js +3177 -15
- package/dist/components/swirl-select.js +18 -10
- package/dist/components/swirl-text-input2.js +3 -1
- package/dist/components/swirl-text2.js +19 -5
- package/dist/components/utils.js +18 -1
- package/dist/components/wc-datepicker.js +6 -0
- package/dist/components/wc-datepicker2.js +505 -0
- package/dist/esm/{_commonjsHelpers-44457d8d.js → _commonjsHelpers-10467d11.js} +1 -1
- package/dist/esm/balancetext-31f1ec68.js +761 -0
- package/dist/esm/{floating-ui.dom.esm-1a4e8b8a.js → floating-ui.dom.esm-b9f28f6d.js} +0 -0
- package/dist/esm/{index-c3028f7d.js → index-47862d62.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-action-list-item.entry.js +3 -3
- package/dist/esm/swirl-action-list.entry.js +1 -1
- package/dist/esm/swirl-app-layout_5.entry.js +3 -3
- package/dist/esm/swirl-autocomplete.entry.js +5 -5
- package/dist/esm/swirl-avatar-group.entry.js +2 -2
- package/dist/esm/swirl-avatar.entry.js +2 -2
- package/dist/esm/swirl-badge.entry.js +2 -2
- package/dist/esm/swirl-banner.entry.js +3 -3
- package/dist/esm/swirl-button-group.entry.js +2 -2
- package/dist/esm/swirl-button.entry.js +3 -3
- package/dist/esm/swirl-card.entry.js +2 -2
- package/dist/esm/swirl-checkbox.entry.js +2 -2
- package/dist/esm/swirl-chip.entry.js +3 -3
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-console-layout.entry.js +3 -3
- package/dist/esm/swirl-date-input.entry.js +10 -4
- package/dist/esm/swirl-date-picker_2.entry.js +16 -83
- package/dist/esm/swirl-dialog.entry.js +2 -2
- package/dist/esm/swirl-file-uploader.entry.js +2 -2
- package/dist/esm/swirl-file-viewer_7.entry.js +2 -2
- package/dist/esm/swirl-form-control.entry.js +17 -3
- package/dist/esm/swirl-form-group.entry.js +2 -2
- package/dist/esm/swirl-heading.entry.js +17 -3
- package/dist/esm/swirl-icon-add-photo.entry.js +2 -2
- package/dist/esm/swirl-icon-add_4.entry.js +2 -2
- package/dist/esm/swirl-icon-admin-panel-settings.entry.js +2 -2
- package/dist/esm/swirl-icon-arrow-back.entry.js +2 -2
- package/dist/esm/swirl-icon-arrow-downward_2.entry.js +2 -2
- package/dist/esm/swirl-icon-arrow-forward.entry.js +2 -2
- package/dist/esm/swirl-icon-arrow-left_3.entry.js +2 -2
- package/dist/esm/swirl-icon-arrow-right-small.entry.js +2 -2
- package/dist/esm/swirl-icon-attachment.entry.js +2 -2
- package/dist/esm/swirl-icon-block.entry.js +2 -2
- package/dist/esm/swirl-icon-cancel_4.entry.js +2 -2
- package/dist/esm/swirl-icon-chat-bubble.entry.js +2 -2
- package/dist/esm/swirl-icon-chats-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-chats-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-check-circle.entry.js +2 -2
- package/dist/esm/swirl-icon-check-small_4.entry.js +3433 -0
- package/dist/esm/swirl-icon-check-strong.entry.js +2 -2
- package/dist/esm/swirl-icon-check.entry.js +2 -2
- package/dist/esm/swirl-icon-chevron-left.entry.js +2 -2
- package/dist/esm/swirl-icon-chevron-right.entry.js +2 -2
- package/dist/esm/swirl-icon-close-small.entry.js +2 -2
- package/dist/esm/swirl-icon-close.entry.js +2 -2
- package/dist/esm/swirl-icon-cloud-upload.entry.js +2 -2
- package/dist/esm/swirl-icon-column.entry.js +2 -2
- package/dist/esm/swirl-icon-comment.entry.js +2 -2
- package/dist/esm/swirl-icon-copy.entry.js +2 -2
- package/dist/esm/swirl-icon-date-range.entry.js +2 -2
- package/dist/esm/swirl-icon-delete.entry.js +2 -2
- package/dist/esm/swirl-icon-description.entry.js +2 -2
- package/dist/esm/swirl-icon-edit.entry.js +2 -2
- package/dist/esm/swirl-icon-emoji-mood.entry.js +2 -2
- package/dist/esm/swirl-icon-emoji-satisfied.entry.js +2 -2
- package/dist/esm/swirl-icon-error_3.entry.js +3 -3
- package/dist/esm/swirl-icon-expand-more.entry.js +2 -2
- package/dist/esm/swirl-icon-file.entry.js +2 -2
- package/dist/esm/swirl-icon-filter.entry.js +2 -2
- package/dist/esm/swirl-icon-folder-shared.entry.js +2 -2
- package/dist/esm/swirl-icon-group-assign.entry.js +2 -2
- package/dist/esm/swirl-icon-groups-custom.entry.js +2 -2
- package/dist/esm/swirl-icon-groups-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-groups-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-groups.entry.js +2 -2
- package/dist/esm/swirl-icon-help.entry.js +2 -2
- package/dist/esm/swirl-icon-image.entry.js +2 -2
- package/dist/esm/swirl-icon-info.entry.js +2 -2
- package/dist/esm/swirl-icon-inventory.entry.js +2 -2
- package/dist/esm/swirl-icon-like.entry.js +2 -2
- package/dist/esm/swirl-icon-link.entry.js +2 -2
- package/dist/esm/swirl-icon-lock.entry.js +2 -2
- package/dist/esm/swirl-icon-logout.entry.js +2 -2
- package/dist/esm/swirl-icon-mail.entry.js +2 -2
- package/dist/esm/swirl-icon-manage-accounts.entry.js +2 -2
- package/dist/esm/swirl-icon-mention.entry.js +2 -2
- package/dist/esm/swirl-icon-menu-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-menu-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-menu.entry.js +2 -2
- package/dist/esm/swirl-icon-message.entry.js +2 -2
- package/dist/esm/swirl-icon-more-horizontal.entry.js +2 -2
- package/dist/esm/swirl-icon-more-vertikal.entry.js +2 -2
- package/dist/esm/swirl-icon-news-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-news-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-notifications-active.entry.js +2 -2
- package/dist/esm/swirl-icon-notifications-off.entry.js +2 -2
- package/dist/esm/swirl-icon-notifications.entry.js +2 -2
- package/dist/esm/swirl-icon-open-in-new.entry.js +2 -2
- package/dist/esm/swirl-icon-people-alt.entry.js +2 -2
- package/dist/esm/swirl-icon-person-off.entry.js +2 -2
- package/dist/esm/swirl-icon-person.entry.js +2 -2
- package/dist/esm/swirl-icon-phone.entry.js +2 -2
- package/dist/esm/swirl-icon-poll.entry.js +2 -2
- package/dist/esm/swirl-icon-print.entry.js +2 -2
- package/dist/esm/swirl-icon-recieved.entry.js +2 -2
- package/dist/esm/swirl-icon-search-strong.entry.js +2 -2
- package/dist/esm/swirl-icon-search.entry.js +2 -2
- package/dist/esm/swirl-icon-send.entry.js +2 -2
- package/dist/esm/swirl-icon-settings.entry.js +2 -2
- package/dist/esm/swirl-icon-sync.entry.js +2 -2
- package/dist/esm/swirl-icon-tasks-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-tasks-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-time-filled.entry.js +2 -2
- package/dist/esm/swirl-icon-time-outlined.entry.js +2 -2
- package/dist/esm/swirl-icon-user-assign.entry.js +2 -2
- package/dist/esm/swirl-icon-video-camera.entry.js +2 -2
- package/dist/esm/swirl-icon-warning.entry.js +2 -2
- package/dist/esm/swirl-lightbox.entry.js +3 -3
- package/dist/esm/swirl-modal.entry.js +2 -2
- package/dist/esm/swirl-pagination.entry.js +2 -2
- package/dist/esm/swirl-pdf-reader.entry.js +3 -3
- package/dist/esm/swirl-popover.entry.js +4 -4
- package/dist/esm/swirl-progress-indicator.entry.js +2 -2
- package/dist/esm/swirl-radio.entry.js +2 -2
- package/dist/esm/swirl-resource-list-file-item.entry.js +3 -3
- package/dist/esm/swirl-search.entry.js +3 -3
- package/dist/esm/swirl-select.entry.js +5 -4
- package/dist/esm/swirl-stack.entry.js +2 -2
- package/dist/esm/swirl-switch.entry.js +2 -2
- package/dist/esm/swirl-tab.entry.js +2 -2
- package/dist/esm/swirl-table-row.entry.js +2 -2
- package/dist/esm/swirl-table.entry.js +1 -1
- package/dist/esm/swirl-tabs.entry.js +2 -2
- package/dist/esm/swirl-tag.entry.js +2 -2
- package/dist/esm/swirl-text-input.entry.js +5 -4
- package/dist/esm/swirl-text.entry.js +19 -5
- package/dist/esm/swirl-thumbnail.entry.js +2 -2
- package/dist/esm/swirl-toast.entry.js +3 -3
- package/dist/esm/swirl-tooltip.entry.js +1 -1
- package/dist/esm/swirl-tree-navigation-item.entry.js +2 -2
- package/dist/esm/{utils-7efaa1c6.js → utils-33d31b58.js} +18 -1
- package/dist/esm/wc-datepicker.entry.js +467 -0
- package/dist/swirl-components/{p-17e7ea80.entry.js → p-02266563.entry.js} +1 -1
- package/dist/swirl-components/{p-31943bc0.entry.js → p-02781ffc.entry.js} +1 -1
- package/dist/swirl-components/{p-33e363ed.entry.js → p-033168e0.entry.js} +1 -1
- package/dist/swirl-components/{p-968adc69.entry.js → p-0385eb63.entry.js} +1 -1
- package/dist/swirl-components/{p-ebc078da.entry.js → p-07c4ec61.entry.js} +1 -1
- package/dist/swirl-components/{p-98827f45.entry.js → p-07e6bd5a.entry.js} +1 -1
- package/dist/swirl-components/{p-7c514ca1.entry.js → p-0855060e.entry.js} +1 -1
- package/dist/swirl-components/p-085518e9.entry.js +7 -0
- package/dist/swirl-components/{p-6043df71.entry.js → p-08a271c1.entry.js} +1 -1
- package/dist/swirl-components/{p-0924336d.entry.js → p-0ed20748.entry.js} +1 -1
- package/dist/swirl-components/p-0f33e5f9.entry.js +1 -0
- package/dist/swirl-components/p-1009db9b.entry.js +1 -0
- package/dist/swirl-components/{p-a76e4ffc.entry.js → p-1028d75e.entry.js} +1 -1
- package/dist/swirl-components/{p-ab7a08a6.entry.js → p-1586b6d7.entry.js} +1 -1
- package/dist/swirl-components/{p-67626481.entry.js → p-165b789f.entry.js} +1 -1
- package/dist/swirl-components/{p-86bd3473.js → p-16e63a98.js} +1 -1
- package/dist/swirl-components/{p-d16f5f72.entry.js → p-17df9c65.entry.js} +1 -1
- package/dist/swirl-components/{p-8cabe3e0.entry.js → p-191c1d21.entry.js} +1 -1
- package/dist/swirl-components/{p-c63c0897.entry.js → p-19def4b3.entry.js} +1 -1
- package/dist/swirl-components/{p-29e918f4.entry.js → p-1a89f98d.entry.js} +1 -1
- package/dist/swirl-components/p-1de6c923.entry.js +1 -0
- package/dist/swirl-components/p-1fa4cad9.entry.js +1 -0
- package/dist/swirl-components/{p-3991c596.entry.js → p-22eb8331.entry.js} +1 -1
- package/dist/swirl-components/{p-d46f437e.entry.js → p-252067c8.entry.js} +1 -1
- package/dist/swirl-components/{p-ffe7373d.entry.js → p-2667afa2.entry.js} +1 -1
- package/dist/swirl-components/{p-6c620f94.entry.js → p-26db1190.entry.js} +1 -1
- package/dist/swirl-components/{p-8f3d1f73.entry.js → p-26f538a6.entry.js} +1 -1
- package/dist/swirl-components/{p-659b4fcb.entry.js → p-2a973f5c.entry.js} +1 -1
- package/dist/swirl-components/{p-297800ad.entry.js → p-2ab5a45c.entry.js} +1 -1
- package/dist/swirl-components/{p-1bff5707.entry.js → p-2ce152e6.entry.js} +1 -1
- package/dist/swirl-components/{p-898341d1.entry.js → p-2e34f705.entry.js} +1 -1
- package/dist/swirl-components/{p-a61783f1.entry.js → p-30a6b367.entry.js} +1 -1
- package/dist/swirl-components/{p-409900a9.entry.js → p-322f0adb.entry.js} +1 -1
- package/dist/swirl-components/{p-f17a9780.entry.js → p-33f36ef4.entry.js} +1 -1
- package/dist/swirl-components/{p-634e09ad.entry.js → p-35cafad6.entry.js} +1 -1
- package/dist/swirl-components/{p-21267175.entry.js → p-3817b462.entry.js} +1 -1
- package/dist/swirl-components/{p-745ae10f.entry.js → p-3884afc6.entry.js} +1 -1
- package/dist/swirl-components/{p-fb50f7b6.entry.js → p-3918570b.entry.js} +1 -1
- package/dist/swirl-components/{p-f8b0f92a.entry.js → p-3f536626.entry.js} +1 -1
- package/dist/swirl-components/{p-91039432.entry.js → p-3fb70da1.entry.js} +1 -1
- package/dist/swirl-components/{p-96ac53d5.entry.js → p-4054dc61.entry.js} +1 -1
- package/dist/swirl-components/{p-5e45f6dc.entry.js → p-40ee5d5c.entry.js} +1 -1
- package/dist/swirl-components/p-40ef764d.entry.js +1 -0
- package/dist/swirl-components/p-4114d875.entry.js +1 -0
- package/dist/swirl-components/{p-733abfbd.entry.js → p-413371ca.entry.js} +1 -1
- package/dist/swirl-components/{p-ed56aa85.entry.js → p-465934b5.entry.js} +1 -1
- package/dist/swirl-components/{p-294983c3.entry.js → p-48d6ac1d.entry.js} +1 -1
- package/dist/swirl-components/{p-4268041a.entry.js → p-4ba456d3.entry.js} +1 -1
- package/dist/swirl-components/p-4ef99de5.js +1 -0
- package/dist/swirl-components/{p-f09a3f4e.entry.js → p-50b406ed.entry.js} +1 -1
- package/dist/swirl-components/{p-8157c96f.entry.js → p-51f56295.entry.js} +1 -1
- package/dist/swirl-components/{p-5612f03c.entry.js → p-5b0671a7.entry.js} +1 -1
- package/dist/swirl-components/{p-d15994cb.entry.js → p-5bea4bb0.entry.js} +1 -1
- package/dist/swirl-components/{p-4f04a176.entry.js → p-5df552ca.entry.js} +1 -1
- package/dist/swirl-components/{p-0ed40682.entry.js → p-5e639fbe.entry.js} +1 -1
- package/dist/swirl-components/{p-4a16e7e1.entry.js → p-5e7a16ad.entry.js} +1 -1
- package/dist/swirl-components/p-627c1474.entry.js +1 -0
- package/dist/swirl-components/{p-4e08d391.entry.js → p-64889756.entry.js} +1 -1
- package/dist/swirl-components/{p-e8bb09e8.js → p-6526bf3e.js} +0 -0
- package/dist/swirl-components/{p-4d7dcfee.entry.js → p-6542ad23.entry.js} +1 -1
- package/dist/swirl-components/{p-0d66f638.entry.js → p-68ae564c.entry.js} +1 -1
- package/dist/swirl-components/{p-027eabd9.entry.js → p-68ebab79.entry.js} +1 -1
- package/dist/swirl-components/{p-d69a0a99.entry.js → p-6a3e0ea9.entry.js} +1 -1
- package/dist/swirl-components/{p-170a2b48.entry.js → p-6e6e8e46.entry.js} +1 -1
- package/dist/swirl-components/{p-1391e221.entry.js → p-6ed9ab51.entry.js} +1 -1
- package/dist/swirl-components/{p-38d67d0e.entry.js → p-6ef0d4f9.entry.js} +1 -1
- package/dist/swirl-components/{p-3335383c.entry.js → p-714ad338.entry.js} +1 -1
- package/dist/swirl-components/{p-8ee094ca.entry.js → p-71732b9a.entry.js} +1 -1
- package/dist/swirl-components/{p-acd8fa1d.entry.js → p-766a7c18.entry.js} +1 -1
- package/dist/swirl-components/{p-88abc2db.entry.js → p-76b6b5e3.entry.js} +1 -1
- package/dist/swirl-components/{p-a2a3e866.entry.js → p-7825d1c5.entry.js} +1 -1
- package/dist/swirl-components/{p-70805149.entry.js → p-78e68acc.entry.js} +1 -1
- package/dist/swirl-components/{p-e8618da9.entry.js → p-7a240cf1.entry.js} +1 -1
- package/dist/swirl-components/p-7b0adf16.js +7 -0
- package/dist/swirl-components/{p-0dd24ec2.entry.js → p-7be538a8.entry.js} +1 -1
- package/dist/swirl-components/{p-d2311589.entry.js → p-7f4b8227.entry.js} +1 -1
- package/dist/swirl-components/{p-d9760e10.entry.js → p-7fa60f01.entry.js} +1 -1
- package/dist/swirl-components/{p-5af19090.entry.js → p-825c1a14.entry.js} +1 -1
- package/dist/swirl-components/{p-6e4135eb.entry.js → p-85bb5e81.entry.js} +1 -1
- package/dist/swirl-components/{p-c45a50a2.entry.js → p-86183269.entry.js} +1 -1
- package/dist/swirl-components/{p-5d0acbf4.entry.js → p-891371a2.entry.js} +1 -1
- package/dist/swirl-components/{p-708ea5cf.entry.js → p-89c23241.entry.js} +1 -1
- package/dist/swirl-components/{p-d78eb6d8.entry.js → p-89fde1cc.entry.js} +1 -1
- package/dist/swirl-components/{p-9f45803b.entry.js → p-8a590a8c.entry.js} +1 -1
- package/dist/swirl-components/{p-7a1181b5.entry.js → p-8c7bb6bc.entry.js} +1 -1
- package/dist/swirl-components/{p-0206d806.entry.js → p-8e61ba5c.entry.js} +1 -1
- package/dist/swirl-components/{p-2aaeb1e6.entry.js → p-8f9b3dda.entry.js} +1 -1
- package/dist/swirl-components/p-9142e03b.js +1 -0
- package/dist/swirl-components/{p-7602ab40.entry.js → p-920803e1.entry.js} +1 -1
- package/dist/swirl-components/p-9bf40265.entry.js +8 -0
- package/dist/swirl-components/{p-dbd1b662.entry.js → p-9c691a7b.entry.js} +1 -1
- package/dist/swirl-components/{p-32c2d812.entry.js → p-9d9088b6.entry.js} +1 -1
- package/dist/swirl-components/{p-49abf88c.entry.js → p-9e963d88.entry.js} +1 -1
- package/dist/swirl-components/{p-e7c325b7.entry.js → p-a2da04e6.entry.js} +1 -1
- package/dist/swirl-components/{p-96ee66e7.entry.js → p-a452a75d.entry.js} +1 -1
- package/dist/swirl-components/{p-e419a9cb.entry.js → p-a80a32e8.entry.js} +1 -1
- package/dist/swirl-components/{p-1253d22b.entry.js → p-aa7ea196.entry.js} +1 -1
- package/dist/swirl-components/{p-cd8446b2.entry.js → p-abc8f079.entry.js} +1 -1
- package/dist/swirl-components/p-af1ffdfc.entry.js +1 -0
- package/dist/swirl-components/{p-6baff764.entry.js → p-b0625526.entry.js} +1 -1
- package/dist/swirl-components/{p-20ac0472.entry.js → p-b1956111.entry.js} +1 -1
- package/dist/swirl-components/{p-e3293a79.entry.js → p-b590bcba.entry.js} +1 -1
- package/dist/swirl-components/{p-2bcb979a.entry.js → p-bdfb7b88.entry.js} +1 -1
- package/dist/swirl-components/{p-8d998974.entry.js → p-c34e0d50.entry.js} +1 -1
- package/dist/swirl-components/{p-043d093e.entry.js → p-c3a7a4bc.entry.js} +1 -1
- package/dist/swirl-components/{p-582364ee.entry.js → p-c467d912.entry.js} +1 -1
- package/dist/swirl-components/{p-5028921b.entry.js → p-c6578cd1.entry.js} +1 -1
- package/dist/swirl-components/{p-d730ab29.entry.js → p-cfb78d4d.entry.js} +1 -1
- package/dist/swirl-components/p-d1315bab.entry.js +1 -0
- package/dist/swirl-components/{p-c6b1fe02.entry.js → p-d30b3b0a.entry.js} +1 -1
- package/dist/swirl-components/{p-a0a3e5d3.entry.js → p-d31e7e68.entry.js} +1 -1
- package/dist/swirl-components/{p-a5497705.entry.js → p-d370621c.entry.js} +1 -1
- package/dist/swirl-components/{p-99244721.entry.js → p-d3bae550.entry.js} +1 -1
- package/dist/swirl-components/{p-0cb291d0.entry.js → p-d6de86fd.entry.js} +1 -1
- package/dist/swirl-components/{p-f06a85d3.entry.js → p-d86dbbfc.entry.js} +1 -1
- package/dist/swirl-components/{p-90559cbf.entry.js → p-df0c1b6d.entry.js} +1 -1
- package/dist/swirl-components/{p-4307ddfe.entry.js → p-e1d74bed.entry.js} +1 -1
- package/dist/swirl-components/{p-2fa4c633.entry.js → p-e43e9dc9.entry.js} +1 -1
- package/dist/swirl-components/{p-474f4c76.entry.js → p-e66cfaa4.entry.js} +1 -1
- package/dist/swirl-components/{p-692e4e5c.entry.js → p-e9c0e313.entry.js} +1 -1
- package/dist/swirl-components/{p-15b398b3.entry.js → p-eea09884.entry.js} +1 -1
- package/dist/swirl-components/{p-c9307120.entry.js → p-f18a29cb.entry.js} +1 -1
- package/dist/swirl-components/{p-c215db6a.entry.js → p-f2683c24.entry.js} +1 -1
- package/dist/swirl-components/{p-0a5d1a8f.entry.js → p-f286106d.entry.js} +1 -1
- package/dist/swirl-components/{p-13295f24.entry.js → p-f300c8c0.entry.js} +1 -1
- package/dist/swirl-components/{p-eac6d46d.entry.js → p-f575ce1b.entry.js} +1 -1
- package/dist/swirl-components/{p-06e76536.entry.js → p-f62b9110.entry.js} +1 -1
- package/dist/swirl-components/{p-92709d5b.entry.js → p-f88bf73d.entry.js} +1 -1
- package/dist/swirl-components/{p-5f461f84.entry.js → p-f8ebfb67.entry.js} +1 -1
- package/dist/swirl-components/{p-4181aa7a.entry.js → p-f95cc7e0.entry.js} +1 -1
- package/dist/swirl-components/{p-38d22e69.entry.js → p-f9f776e3.entry.js} +1 -1
- package/dist/swirl-components/{p-941e7960.entry.js → p-fa26ba4a.entry.js} +1 -1
- package/dist/swirl-components/{p-6f039422.entry.js → p-fbc2a9eb.entry.js} +1 -1
- package/dist/swirl-components/{p-1339648a.entry.js → p-fc578f42.entry.js} +1 -1
- package/dist/swirl-components/{p-f2763bd6.entry.js → p-fed1e05b.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.css +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-autocomplete/swirl-autocomplete.d.ts +2 -1
- package/dist/types/components/swirl-date-input/swirl-date-input.d.ts +6 -3
- package/dist/types/components/swirl-date-picker/swirl-date-picker.d.ts +6 -10
- package/dist/types/components/swirl-date-picker/swirl-date-picker.stories.d.ts +0 -7
- package/dist/types/components/swirl-form-control/swirl-form-control.d.ts +2 -0
- package/dist/types/components/swirl-heading/swirl-heading.d.ts +5 -0
- package/dist/types/components/swirl-heading/swirl-heading.stories.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-drag-handle.d.ts +5 -0
- package/dist/types/components/swirl-option-list/swirl-option-list.d.ts +21 -0
- package/dist/types/components/swirl-option-list-item/swirl-option-list-item.d.ts +8 -0
- package/dist/types/components/swirl-option-list-item/swirl-option-list-item.stories.d.ts +8 -0
- package/dist/types/components/swirl-select/swirl-select.d.ts +2 -1
- package/dist/types/components/swirl-text/swirl-text.d.ts +6 -0
- package/dist/types/components/swirl-text/swirl-text.stories.d.ts +5 -0
- package/dist/types/components/swirl-text-input/swirl-text-input.d.ts +1 -0
- package/dist/types/components.d.ts +62 -9
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils.d.ts +1 -0
- package/dist/typings.d.ts +1 -0
- package/package.json +23 -14
- package/vscode-data.json +85 -0
- package/dist/cjs/swirl-icon-check-small_3.cjs.entry.js +0 -261
- package/dist/components/_commonjsHelpers.js +0 -36
- package/dist/esm/swirl-icon-check-small_3.entry.js +0 -255
- package/dist/swirl-components/p-0dcba8b2.entry.js +0 -1
- package/dist/swirl-components/p-36573727.entry.js +0 -1
- package/dist/swirl-components/p-51097641.entry.js +0 -1
- package/dist/swirl-components/p-6272f11a.entry.js +0 -1
- package/dist/swirl-components/p-76e4350f.entry.js +0 -1
- package/dist/swirl-components/p-9a74850d.entry.js +0 -1
- package/dist/swirl-components/p-cbd8f173.entry.js +0 -1
- package/dist/swirl-components/p-d09dc70d.entry.js +0 -7
- package/dist/swirl-components/p-d3d722dc.js +0 -7
- package/dist/swirl-components/p-d97d183f.js +0 -1
- package/dist/swirl-components/p-e0aca739.entry.js +0 -1
- package/dist/swirl-components/p-ea5e12d7.entry.js +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component, Event, h, Host, Prop, State, Watch, } from "@stencil/core";
|
|
2
|
+
import classnames from "classnames";
|
|
2
3
|
import { format, isValid, parse } from "date-fns";
|
|
3
4
|
import { create as createMask } from "maska/dist/es6/maska";
|
|
4
5
|
import { getDesktopMediaQuery } from "../../utils";
|
|
@@ -6,7 +7,9 @@ const internalDateFormat = "yyyy-MM-dd";
|
|
|
6
7
|
export class SwirlDateInput {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.datePickerLabel = "Date picker";
|
|
10
|
+
this.datePickerTriggerLabel = "Open date picker";
|
|
9
11
|
this.format = "yyyy-MM-dd";
|
|
12
|
+
this.locale = "en-US";
|
|
10
13
|
this.placeholder = "yyyy-mm-dd";
|
|
11
14
|
this.iconSize = 24;
|
|
12
15
|
this.desktopMediaQuery = getDesktopMediaQuery();
|
|
@@ -89,13 +92,16 @@ export class SwirlDateInput {
|
|
|
89
92
|
const displayValue = isValid(dateValue)
|
|
90
93
|
? format(dateValue, this.format)
|
|
91
94
|
: undefined;
|
|
95
|
+
const className = classnames("date-input", {
|
|
96
|
+
"date-input--inline": this.inline,
|
|
97
|
+
});
|
|
92
98
|
return (h(Host, null,
|
|
93
|
-
h("div", { class:
|
|
99
|
+
h("div", { class: className },
|
|
94
100
|
h("input", { "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : undefined, "aria-invalid": ariaInvalid, autoFocus: this.autoFocus, class: "date-input__input", disabled: this.disabled, id: this.id, onClick: this.onClick, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, required: this.required, type: "text", value: displayValue }),
|
|
95
|
-
h("button", { "aria-
|
|
101
|
+
h("button", { "aria-label": this.datePickerTriggerLabel, class: "date-input__date-picker-button", disabled: this.disabled, id: `${this.id}-trigger`, type: "button" },
|
|
96
102
|
h("swirl-icon-today", { size: this.iconSize }))),
|
|
97
103
|
!this.disabled && (h("swirl-popover", { label: this.datePickerLabel, placement: "bottom-end", popoverId: "popover", ref: (el) => (this.pickerPopover = el), trigger: `${this.id}-trigger` },
|
|
98
|
-
h("swirl-date-picker", { locale: this.locale, onValueChange: this.onPickDate, value: dateValue })))));
|
|
104
|
+
h("swirl-date-picker", { labels: this.labels, locale: this.locale, onValueChange: this.onPickDate, value: dateValue })))));
|
|
99
105
|
}
|
|
100
106
|
static get is() { return "swirl-date-input"; }
|
|
101
107
|
static get encapsulation() { return "scoped"; }
|
|
@@ -158,6 +164,24 @@ export class SwirlDateInput {
|
|
|
158
164
|
"reflect": false,
|
|
159
165
|
"defaultValue": "\"Date picker\""
|
|
160
166
|
},
|
|
167
|
+
"datePickerTriggerLabel": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"mutable": false,
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "string",
|
|
172
|
+
"resolved": "string",
|
|
173
|
+
"references": {}
|
|
174
|
+
},
|
|
175
|
+
"required": false,
|
|
176
|
+
"optional": true,
|
|
177
|
+
"docs": {
|
|
178
|
+
"tags": [],
|
|
179
|
+
"text": ""
|
|
180
|
+
},
|
|
181
|
+
"attribute": "date-picker-trigger-label",
|
|
182
|
+
"reflect": false,
|
|
183
|
+
"defaultValue": "\"Open date picker\""
|
|
184
|
+
},
|
|
161
185
|
"disabled": {
|
|
162
186
|
"type": "boolean",
|
|
163
187
|
"mutable": false,
|
|
@@ -175,7 +199,7 @@ export class SwirlDateInput {
|
|
|
175
199
|
"attribute": "disabled",
|
|
176
200
|
"reflect": false
|
|
177
201
|
},
|
|
178
|
-
"
|
|
202
|
+
"format": {
|
|
179
203
|
"type": "string",
|
|
180
204
|
"mutable": false,
|
|
181
205
|
"complexType": {
|
|
@@ -189,15 +213,16 @@ export class SwirlDateInput {
|
|
|
189
213
|
"tags": [],
|
|
190
214
|
"text": ""
|
|
191
215
|
},
|
|
192
|
-
"attribute": "
|
|
193
|
-
"reflect": false
|
|
216
|
+
"attribute": "format",
|
|
217
|
+
"reflect": false,
|
|
218
|
+
"defaultValue": "\"yyyy-MM-dd\""
|
|
194
219
|
},
|
|
195
|
-
"
|
|
196
|
-
"type": "
|
|
220
|
+
"inline": {
|
|
221
|
+
"type": "boolean",
|
|
197
222
|
"mutable": false,
|
|
198
223
|
"complexType": {
|
|
199
|
-
"original": "
|
|
200
|
-
"resolved": "
|
|
224
|
+
"original": "boolean",
|
|
225
|
+
"resolved": "boolean",
|
|
201
226
|
"references": {}
|
|
202
227
|
},
|
|
203
228
|
"required": false,
|
|
@@ -206,9 +231,8 @@ export class SwirlDateInput {
|
|
|
206
231
|
"tags": [],
|
|
207
232
|
"text": ""
|
|
208
233
|
},
|
|
209
|
-
"attribute": "
|
|
210
|
-
"reflect": false
|
|
211
|
-
"defaultValue": "\"yyyy-MM-dd\""
|
|
234
|
+
"attribute": "inline",
|
|
235
|
+
"reflect": false
|
|
212
236
|
},
|
|
213
237
|
"invalid": {
|
|
214
238
|
"type": "boolean",
|
|
@@ -227,19 +251,16 @@ export class SwirlDateInput {
|
|
|
227
251
|
"attribute": "invalid",
|
|
228
252
|
"reflect": false
|
|
229
253
|
},
|
|
230
|
-
"
|
|
254
|
+
"labels": {
|
|
231
255
|
"type": "unknown",
|
|
232
256
|
"mutable": false,
|
|
233
257
|
"complexType": {
|
|
234
|
-
"original": "
|
|
235
|
-
"resolved": "{
|
|
258
|
+
"original": "WCDatepickerLabels",
|
|
259
|
+
"resolved": "{ clearButton: string; monthSelect: string; nextMonthButton: string; nextYearButton: string; picker: string; previousMonthButton: string; previousYearButton: string; todayButton: string; yearSelect: string; }",
|
|
236
260
|
"references": {
|
|
237
|
-
"
|
|
238
|
-
"location": "global"
|
|
239
|
-
},
|
|
240
|
-
"AirDatepickerLocale": {
|
|
261
|
+
"WCDatepickerLabels": {
|
|
241
262
|
"location": "import",
|
|
242
|
-
"path": "
|
|
263
|
+
"path": "wc-datepicker/dist/types/components/wc-datepicker/wc-datepicker"
|
|
243
264
|
}
|
|
244
265
|
}
|
|
245
266
|
},
|
|
@@ -250,6 +271,24 @@ export class SwirlDateInput {
|
|
|
250
271
|
"text": ""
|
|
251
272
|
}
|
|
252
273
|
},
|
|
274
|
+
"locale": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "string",
|
|
279
|
+
"resolved": "string",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": true,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [],
|
|
286
|
+
"text": ""
|
|
287
|
+
},
|
|
288
|
+
"attribute": "locale",
|
|
289
|
+
"reflect": false,
|
|
290
|
+
"defaultValue": "\"en-US\""
|
|
291
|
+
},
|
|
253
292
|
"placeholder": {
|
|
254
293
|
"type": "string",
|
|
255
294
|
"mutable": false,
|
|
@@ -285,6 +324,23 @@ export class SwirlDateInput {
|
|
|
285
324
|
"attribute": "required",
|
|
286
325
|
"reflect": false
|
|
287
326
|
},
|
|
327
|
+
"swirlAriaDescribedby": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"mutable": false,
|
|
330
|
+
"complexType": {
|
|
331
|
+
"original": "string",
|
|
332
|
+
"resolved": "string",
|
|
333
|
+
"references": {}
|
|
334
|
+
},
|
|
335
|
+
"required": false,
|
|
336
|
+
"optional": true,
|
|
337
|
+
"docs": {
|
|
338
|
+
"tags": [],
|
|
339
|
+
"text": ""
|
|
340
|
+
},
|
|
341
|
+
"attribute": "swirl-aria-describedby",
|
|
342
|
+
"reflect": false
|
|
343
|
+
},
|
|
288
344
|
"value": {
|
|
289
345
|
"type": "string",
|
|
290
346
|
"mutable": true,
|
|
@@ -21,88 +21,165 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
25
|
-
display:
|
|
24
|
+
.date-picker__header {
|
|
25
|
+
display: flex;
|
|
26
|
+
margin-bottom: var(--s-space-8);
|
|
27
|
+
align-items: center;
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
.
|
|
30
|
+
.date-picker__current-month {
|
|
29
31
|
display: flex;
|
|
30
|
-
|
|
32
|
+
padding: var(--s-space-8);
|
|
33
|
+
flex-grow: 1;
|
|
31
34
|
align-items: center;
|
|
35
|
+
order: 1;
|
|
36
|
+
gap: var(--s-space-4);
|
|
32
37
|
}
|
|
33
38
|
|
|
34
|
-
.
|
|
39
|
+
.date-picker__next-month-button,
|
|
40
|
+
.date-picker__previous-month-button {
|
|
35
41
|
position: relative;
|
|
36
42
|
display: inline-flex;
|
|
37
43
|
width: 2.5rem;
|
|
38
44
|
height: 2.5rem;
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: 0;
|
|
47
|
+
flex-shrink: 0;
|
|
39
48
|
justify-content: center;
|
|
40
49
|
align-items: center;
|
|
50
|
+
border: none;
|
|
41
51
|
border-radius: 50%;
|
|
42
52
|
color: var(--s-icon-highlight);
|
|
53
|
+
background-color: transparent;
|
|
43
54
|
cursor: pointer;
|
|
44
|
-
order: 2;
|
|
45
55
|
}
|
|
46
56
|
|
|
47
|
-
.
|
|
57
|
+
.date-picker__next-month-button:after, .date-picker__previous-month-button:after {
|
|
58
|
+
position: absolute;
|
|
59
|
+
background-color: currentColor;
|
|
60
|
+
content: "";
|
|
61
|
+
inset: 0;
|
|
62
|
+
-webkit-mask-position: center center;
|
|
63
|
+
mask-position: center center;
|
|
64
|
+
-webkit-mask-repeat: no-repeat;
|
|
65
|
+
mask-repeat: no-repeat;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.date-picker__next-month-button:hover, .date-picker__previous-month-button:hover {
|
|
48
69
|
background-color: var(--s-surface-overlay-hovered);
|
|
49
70
|
}
|
|
50
71
|
|
|
51
|
-
.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
72
|
+
.date-picker__next-month-button:focus:not(:focus-visible), .date-picker__previous-month-button:focus:not(:focus-visible) {
|
|
73
|
+
outline: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.date-picker__next-month-button:focus-visible, .date-picker__previous-month-button:focus-visible {
|
|
77
|
+
outline-color: var(--s-focus-default);
|
|
78
|
+
outline-offset: var(--s-space-2);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.date-picker__next-month-button > svg, .date-picker__previous-month-button > svg {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.date-picker__next-month-button {
|
|
86
|
+
order: 3;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.date-picker__next-month-button:after {
|
|
90
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
|
|
91
|
+
mask-image: url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.date-picker__previous-month-button {
|
|
95
|
+
order: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.date-picker__previous-month-button:after {
|
|
99
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
|
|
100
|
+
mask-image: url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.date-picker__month-select,
|
|
104
|
+
.date-picker__year-select {
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
border: none;
|
|
108
|
+
background-color: var(--s-surface-overlay-default);
|
|
109
|
+
font: inherit;
|
|
55
110
|
font-size: var(--s-font-size-base);
|
|
56
111
|
font-weight: var(--s-font-weight-medium);
|
|
57
112
|
line-height: var(--s-line-height-base);
|
|
58
113
|
text-align: left;
|
|
59
114
|
cursor: pointer;
|
|
60
|
-
order: 0;
|
|
61
115
|
}
|
|
62
116
|
|
|
63
|
-
.
|
|
64
|
-
|
|
117
|
+
.date-picker__month-select:focus:not(:focus-visible), .date-picker__year-select:focus:not(:focus-visible) {
|
|
118
|
+
outline: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.date-picker__month-select:focus-visible, .date-picker__year-select:focus-visible {
|
|
122
|
+
outline-color: var(--s-focus-default);
|
|
123
|
+
outline-offset: var(--s-space-2);
|
|
65
124
|
}
|
|
66
125
|
|
|
67
126
|
@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px) {
|
|
68
127
|
|
|
69
|
-
.
|
|
128
|
+
.date-picker__month-select,
|
|
129
|
+
.date-picker__year-select {
|
|
70
130
|
font-size: var(--s-font-size-sm);
|
|
71
131
|
line-height: var(--s-line-height-sm)
|
|
72
132
|
}
|
|
73
133
|
}
|
|
74
134
|
|
|
75
|
-
.
|
|
135
|
+
.date-picker__month-select {
|
|
136
|
+
-webkit-appearance: none;
|
|
137
|
+
-moz-appearance: none;
|
|
138
|
+
appearance: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.date-picker__year-select {
|
|
142
|
+
max-width: 4rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.date-picker__calendar {
|
|
146
|
+
display: block;
|
|
147
|
+
width: 100%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.date-picker__calendar tbody {
|
|
151
|
+
display: block;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.date-picker__calendar-header {
|
|
155
|
+
display: block;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.date-picker__weekday-row,
|
|
159
|
+
.date-picker__calendar-row {
|
|
76
160
|
display: flex;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.date-picker__weekday-row {
|
|
77
164
|
margin-bottom: var(--s-space-8);
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
align-items: center;
|
|
80
165
|
}
|
|
81
166
|
|
|
82
|
-
.
|
|
167
|
+
.date-picker__weekday {
|
|
83
168
|
display: inline-flex;
|
|
169
|
+
min-width: 2.25rem;
|
|
84
170
|
flex-basis: calc(100 / 7 * 1%);
|
|
85
171
|
justify-content: center;
|
|
86
172
|
align-items: center;
|
|
87
173
|
color: var(--s-text-subdued);
|
|
174
|
+
font-weight: var(--s-font-weight-regular);
|
|
88
175
|
aspect-ratio: 1;
|
|
89
176
|
}
|
|
90
177
|
|
|
91
|
-
.
|
|
178
|
+
.date-picker__date {
|
|
92
179
|
position: relative;
|
|
93
180
|
z-index: 1;
|
|
94
|
-
display: flex;
|
|
95
|
-
flex-wrap: wrap;
|
|
96
|
-
justify-content: space-between;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.air-datepicker-body--cells.-months- {
|
|
100
|
-
gap: var(--s-space-2);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.air-datepicker-cell {
|
|
104
|
-
position: relative;
|
|
105
181
|
display: inline-flex;
|
|
182
|
+
min-width: 2.25rem;
|
|
106
183
|
flex-basis: calc(100 / 7 * 1%);
|
|
107
184
|
justify-content: center;
|
|
108
185
|
align-items: center;
|
|
@@ -111,136 +188,106 @@
|
|
|
111
188
|
aspect-ratio: 1;
|
|
112
189
|
}
|
|
113
190
|
|
|
114
|
-
.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
191
|
+
.date-picker__date:before {
|
|
192
|
+
position: absolute;
|
|
193
|
+
z-index: -1;
|
|
194
|
+
border-radius: 50%;
|
|
195
|
+
background-color: transparent;
|
|
196
|
+
content: "";
|
|
197
|
+
inset: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.date-picker__date:hover:before {
|
|
118
201
|
background-color: var(--s-surface-overlay-hovered);
|
|
119
|
-
content: "";
|
|
120
|
-
inset: 0;
|
|
121
202
|
}
|
|
122
203
|
|
|
123
|
-
.
|
|
124
|
-
|
|
125
|
-
height: 2.5rem;
|
|
126
|
-
flex-basis: calc(100 / 3 * 1% - var(--s-space-2) * 2);
|
|
127
|
-
border-radius: var(--s-border-radius-s);
|
|
128
|
-
aspect-ratio: auto;
|
|
204
|
+
.date-picker__date--current:before {
|
|
205
|
+
background-color: var(--s-surface-overlay-hovered);
|
|
129
206
|
}
|
|
130
207
|
|
|
131
|
-
.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
.air-datepicker-cell.-month-:hover:not(.-in-range-):not(.-selected-), .air-datepicker-cell.-year-:hover:not(.-in-range-):not(.-selected-) {
|
|
136
|
-
background-color: var(--s-surface-overlay-hovered);
|
|
137
|
-
}
|
|
208
|
+
.date-picker__date--current:focus:not(:focus-visible) {
|
|
209
|
+
outline: none;
|
|
210
|
+
}
|
|
138
211
|
|
|
139
|
-
.
|
|
140
|
-
color: var(--s-
|
|
212
|
+
.date-picker__date--current:focus-visible {
|
|
213
|
+
outline-color: var(--s-focus-default);
|
|
214
|
+
outline-offset: var(--s-space-2);
|
|
141
215
|
}
|
|
142
216
|
|
|
143
|
-
.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
217
|
+
.date-picker__date--selected {
|
|
218
|
+
color: var(--s-text-on-surface-highlight);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.date-picker__date--selected:before {
|
|
222
|
+
background-color: var(--s-surface-highlight-default);
|
|
223
|
+
}
|
|
151
224
|
|
|
152
|
-
.
|
|
225
|
+
.date-picker__date--selected:hover {
|
|
153
226
|
color: var(--s-text-on-surface-highlight);
|
|
154
227
|
}
|
|
155
228
|
|
|
156
|
-
.
|
|
157
|
-
.air-datepicker-cell.-selected-.-month- {
|
|
229
|
+
.date-picker__date--selected:hover:before {
|
|
158
230
|
background-color: var(--s-surface-highlight-default);
|
|
159
231
|
}
|
|
160
232
|
|
|
161
|
-
.
|
|
162
|
-
|
|
163
|
-
z-index: -1;
|
|
164
|
-
border-radius: 50%;
|
|
165
|
-
background-color: var(--s-surface-highlight-default);
|
|
166
|
-
content: "";
|
|
167
|
-
inset: 0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.air-datepicker-cell.-disabled- {
|
|
171
|
-
color: var(--s-text-subdued);
|
|
172
|
-
cursor: default;
|
|
233
|
+
.date-picker__date--selected > strong {
|
|
234
|
+
font-weight: var(--s-font-weight-medium);
|
|
173
235
|
}
|
|
174
236
|
|
|
175
|
-
.
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
right: 0;
|
|
184
|
-
bottom: 0.0625rem;
|
|
185
|
-
left: 0;
|
|
186
|
-
border-radius: 0;
|
|
187
|
-
background-color: var(--s-surface-highlight-default);
|
|
188
|
-
content: "";
|
|
189
|
-
opacity: 0.2;
|
|
190
|
-
}
|
|
237
|
+
.date-picker__date--in-range:not(.date-picker__date--selected):after {
|
|
238
|
+
position: absolute;
|
|
239
|
+
border-radius: 0px;
|
|
240
|
+
background-color: var(--s-surface-highlight-default);
|
|
241
|
+
content: "";
|
|
242
|
+
opacity: 0.2;
|
|
243
|
+
inset: 0.0625rem 0px;
|
|
244
|
+
}
|
|
191
245
|
|
|
192
|
-
.
|
|
193
|
-
|
|
194
|
-
|
|
246
|
+
.date-picker__date--start:not(.date-picker__date--end) {
|
|
247
|
+
color: var(--s-text-on-surface-highlight);
|
|
248
|
+
}
|
|
195
249
|
|
|
196
|
-
.
|
|
197
|
-
position: absolute;
|
|
198
|
-
z-index: -1;
|
|
199
|
-
border-radius: 50%;
|
|
250
|
+
.date-picker__date--start:not(.date-picker__date--end):before {
|
|
200
251
|
background-color: var(--s-surface-highlight-default);
|
|
201
|
-
content: "";
|
|
202
|
-
inset: 0;
|
|
203
252
|
}
|
|
204
253
|
|
|
205
|
-
.
|
|
254
|
+
.date-picker__date--start:not(.date-picker__date--end):after {
|
|
206
255
|
position: absolute;
|
|
207
256
|
z-index: -1;
|
|
208
|
-
top: 0.0625rem;
|
|
209
|
-
right: 0;
|
|
210
|
-
bottom: 0.0625rem;
|
|
211
|
-
left: 50%;
|
|
212
257
|
border-radius: 0;
|
|
213
258
|
background-color: var(--s-surface-highlight-default);
|
|
214
259
|
content: "";
|
|
215
260
|
opacity: 0.2;
|
|
261
|
+
inset: 0.0625rem 0 0.0625rem 50%;
|
|
216
262
|
}
|
|
217
263
|
|
|
218
|
-
.
|
|
219
|
-
|
|
220
|
-
|
|
264
|
+
.date-picker__date--end:not(.date-picker__date--start) {
|
|
265
|
+
color: var(--s-text-on-surface-highlight);
|
|
266
|
+
}
|
|
221
267
|
|
|
222
|
-
.
|
|
223
|
-
position: absolute;
|
|
224
|
-
z-index: -1;
|
|
225
|
-
border-radius: 50%;
|
|
268
|
+
.date-picker__date--end:not(.date-picker__date--start):before {
|
|
226
269
|
background-color: var(--s-surface-highlight-default);
|
|
227
|
-
content: "";
|
|
228
|
-
inset: 0;
|
|
229
270
|
}
|
|
230
271
|
|
|
231
|
-
.
|
|
272
|
+
.date-picker__date--end:not(.date-picker__date--start):after {
|
|
232
273
|
position: absolute;
|
|
233
274
|
z-index: -1;
|
|
234
|
-
top: 0.0625rem;
|
|
235
|
-
right: 50%;
|
|
236
|
-
bottom: 0.0625rem;
|
|
237
|
-
left: 0;
|
|
238
275
|
border-radius: 0;
|
|
239
276
|
background-color: var(--s-surface-highlight-default);
|
|
240
277
|
content: "";
|
|
241
278
|
opacity: 0.2;
|
|
279
|
+
inset: 0.0625rem 50% 0.0625rem 0;
|
|
242
280
|
}
|
|
243
281
|
|
|
244
|
-
|
|
245
|
-
|
|
282
|
+
.date-picker__date--overflowing {
|
|
283
|
+
color: var(--s-text-subdued);
|
|
246
284
|
}
|
|
285
|
+
|
|
286
|
+
.date-picker__date--today:before {
|
|
287
|
+
box-shadow: inset 0 0 0 var(--s-border-width-default)
|
|
288
|
+
var(--s-border-highlight);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.date-picker__date--today > em {
|
|
292
|
+
font-style: normal;
|
|
293
|
+
}
|