@brandsync/wc 1.8.0 → 1.10.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/custom-elements.json +4493 -3458
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-c4de155c.entry.js → p-0132a2d1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-051d3064.entry.js → p-041776c0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a09e157f.entry.js → p-08c99a60.entry.js} +1 -1
- package/dist/brandsync-wc/{p-70f64b25.entry.js → p-18c3c22c.entry.js} +1 -1
- package/dist/brandsync-wc/p-1c3a43c7.entry.js +1 -0
- package/dist/brandsync-wc/{p-fddc7bd1.entry.js → p-1c427ffb.entry.js} +1 -1
- package/dist/brandsync-wc/p-2181378f.entry.js +1 -0
- package/dist/brandsync-wc/{p-29027559.entry.js → p-2e958566.entry.js} +1 -1
- package/dist/brandsync-wc/{p-235ae012.entry.js → p-301b2455.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8ee0153b.entry.js → p-32cd69f1.entry.js} +1 -1
- package/dist/brandsync-wc/p-4f2c4929.entry.js +1 -0
- package/dist/brandsync-wc/{p-a0d5a620.entry.js → p-50a251a4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0e39b9cc.entry.js → p-5f3cd501.entry.js} +1 -1
- package/dist/brandsync-wc/p-701ebf4a.entry.js +1 -0
- package/dist/brandsync-wc/p-763876f5.entry.js +1 -0
- package/dist/brandsync-wc/{p-f7d47c17.entry.js → p-76e1c295.entry.js} +1 -1
- package/dist/brandsync-wc/p-790db8b3.entry.js +1 -0
- package/dist/brandsync-wc/{p-4e5dcaff.entry.js → p-796a1860.entry.js} +1 -1
- package/dist/brandsync-wc/p-806a5347.entry.js +1 -0
- package/dist/brandsync-wc/{p-6331de9c.entry.js → p-8eba7f90.entry.js} +1 -1
- package/dist/brandsync-wc/p-96ed9386.entry.js +1 -0
- package/dist/brandsync-wc/{p-cfcf3f0a.entry.js → p-9e88f19c.entry.js} +1 -1
- package/dist/brandsync-wc/p-9f6fe37d.entry.js +1 -0
- package/dist/brandsync-wc/{p-de7c946d.entry.js → p-a71d2811.entry.js} +1 -1
- package/dist/brandsync-wc/{p-33e44094.entry.js → p-a8e2a829.entry.js} +1 -1
- package/dist/brandsync-wc/p-addfa0a0.entry.js +1 -0
- package/dist/brandsync-wc/{p-4574a707.entry.js → p-af2bf957.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6bf2f116.entry.js → p-b2074a32.entry.js} +1 -1
- package/dist/brandsync-wc/{p-03b08508.entry.js → p-c3f72584.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7c94e6ae.entry.js → p-c99b6a66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2891d40b.entry.js → p-c9a72416.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9f65f998.entry.js → p-d3f44cb7.entry.js} +1 -1
- package/dist/brandsync-wc/p-d42b1c2b.entry.js +1 -0
- package/dist/brandsync-wc/{p-3ec74d35.entry.js → p-daab6b22.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ee7da23d.entry.js → p-dbcbe682.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3176d1d3.entry.js → p-e8a5b8eb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-062cfa34.entry.js → p-ea4e20ef.entry.js} +1 -1
- package/dist/brandsync-wc/p-f370b8fa.entry.js +1 -0
- package/dist/brandsync-wc/{p-05c7de28.entry.js → p-f89de457.entry.js} +1 -1
- package/dist/brandsync-wc/{p-114d2fd8.entry.js → p-fd254972.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +13 -1
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +15 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +18 -4
- package/dist/cjs/bs-datepicker.cjs.entry.js +410 -0
- package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-inline-tab.cjs.entry.js +5 -1
- package/dist/cjs/{bs-input.cjs.entry.js → bs-input_2.cjs.entry.js} +37 -4
- package/dist/cjs/bs-menu.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +118 -5
- package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
- package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
- package/dist/cjs/bs-progress.cjs.entry.js +2 -2
- package/dist/cjs/bs-radio.cjs.entry.js +1 -1
- package/dist/cjs/bs-slider.cjs.entry.js +1 -1
- package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
- package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bs-switch.cjs.entry.js +1 -1
- package/dist/cjs/bs-tab.cjs.entry.js +5 -1
- package/dist/cjs/bs-tabs.cjs.entry.js +47 -2
- package/dist/cjs/bs-timepicker.cjs.entry.js +209 -0
- package/dist/cjs/bs-toast.cjs.entry.js +1 -1
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bs-a11y.cmp.test.js +4 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +63 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +32 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.cmp.test.js +45 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +30 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +20 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +21 -4
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +3 -2
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.stories.js +10 -0
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +19 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +19 -5
- package/dist/collection/components/bs-data-table/bs-data-table.stories.js +8 -1
- package/dist/collection/components/bs-datepicker/bs-datepicker.cmp.test.js +182 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.css +315 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +782 -0
- package/dist/collection/components/bs-datepicker/bs-datepicker.stories.js +63 -0
- package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
- package/dist/collection/components/bs-input/bs-input.js +7 -4
- package/dist/collection/components/bs-logo/bs-logo.cmp.test.js +52 -3
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu/bs-menu.stories.js +54 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
- package/dist/collection/components/bs-switch/bs-switch.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +24 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +24 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.cmp.test.js +88 -0
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +83 -2
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.stories.js +24 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.cmp.test.js +141 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.css +200 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +509 -0
- package/dist/collection/components/bs-timepicker/bs-timepicker.stories.js +44 -0
- package/dist/collection/components/bs-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +173 -5
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +106 -34
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +181 -5
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.js +48 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +68 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +31 -17
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
- package/dist/components/bs-ai-disclaimer.js +1 -1
- package/dist/components/bs-ai-greeting.js +1 -1
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-attachment-list.js +1 -1
- package/dist/components/bs-attachment.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumb.js +1 -1
- package/dist/components/bs-breadcrumbs.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-carousel.js +1 -1
- package/dist/components/bs-chatbot-feedback.js +1 -1
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-chatbot-response-action.js +1 -1
- package/dist/components/bs-chatbot-sources-drawer.js +1 -1
- package/dist/components/bs-chatbot-suggestion-button.js +1 -1
- package/dist/components/bs-checkbox-skeleton.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-datepicker.d.ts +11 -0
- package/dist/components/bs-datepicker.js +1 -0
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-file-upload-item.js +1 -1
- package/dist/components/bs-file-upload.js +1 -1
- package/dist/components/bs-icon-button.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-navigation-header.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-progress-linear.js +1 -1
- package/dist/components/bs-progress.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-stepper-step.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-switch.js +1 -1
- package/dist/components/bs-tab.js +1 -1
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-timepicker.d.ts +11 -0
- package/dist/components/bs-timepicker.js +1 -0
- package/dist/components/bs-toast.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/{p-BA3c9Rom.js → p-B7Icv1ho.js} +1 -1
- package/dist/components/{p-wei0Ija2.js → p-BTvme8CE.js} +1 -1
- package/dist/components/p-BYR_ZC8v.js +1 -0
- package/dist/components/p-Ba860ej1.js +1 -0
- package/dist/components/p-CPvqZNO8.js +1 -0
- package/dist/components/{p-EtXc94lJ.js → p-DkIVyFOP.js} +1 -1
- package/dist/components/{p-BfEyD6Ku.js → p-ZK8p5zax.js} +1 -1
- package/dist/components/p-jDO25SfF.js +1 -0
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
- package/dist/esm/bs-ai-greeting.entry.js +1 -1
- package/dist/esm/bs-ai-thinking.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +14 -2
- package/dist/esm/bs-breadcrumb.entry.js +16 -2
- package/dist/esm/bs-breadcrumbs.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +18 -4
- package/dist/esm/bs-datepicker.entry.js +408 -0
- package/dist/esm/bs-file-upload-item.entry.js +1 -1
- package/dist/esm/bs-file-upload.entry.js +1 -1
- package/dist/esm/bs-icon-button.entry.js +2 -2
- package/dist/esm/bs-inline-tab.entry.js +5 -1
- package/dist/esm/{bs-input.entry.js → bs-input_2.entry.js} +37 -5
- package/dist/esm/bs-menu.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer.entry.js +119 -6
- package/dist/esm/bs-navigation-header.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +1 -1
- package/dist/esm/bs-progress-linear.entry.js +2 -2
- package/dist/esm/bs-progress.entry.js +2 -2
- package/dist/esm/bs-radio.entry.js +1 -1
- package/dist/esm/bs-slider.entry.js +1 -1
- package/dist/esm/bs-snackbar.entry.js +1 -1
- package/dist/esm/bs-source-link.entry.js +2 -2
- package/dist/esm/bs-stepper-step.entry.js +1 -1
- package/dist/esm/bs-stepper.entry.js +1 -1
- package/dist/esm/bs-switch.entry.js +1 -1
- package/dist/esm/bs-tab.entry.js +5 -1
- package/dist/esm/bs-tabs.entry.js +48 -3
- package/dist/esm/bs-timepicker.entry.js +207 -0
- package/dist/esm/bs-toast.entry.js +1 -1
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.d.ts +10 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.d.ts +8 -0
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +2 -1
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.stories.d.ts +1 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +16 -2
- package/dist/types/components/bs-datepicker/bs-datepicker.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-datepicker/bs-datepicker.d.ts +136 -0
- package/dist/types/components/bs-datepicker/bs-datepicker.stories.d.ts +20 -0
- package/dist/types/components/bs-menu/bs-menu.stories.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +4 -0
- package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +4 -0
- package/dist/types/components/bs-tab/bs-tabs/bs-tabs.d.ts +17 -0
- package/dist/types/components/bs-tab/bs-tabs/bs-tabs.stories.d.ts +1 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.d.ts +101 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.stories.d.ts +14 -0
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.d.ts +50 -1
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.d.ts +2 -0
- package/dist/types/components.d.ts +645 -2
- package/package.json +1 -1
- package/dist/brandsync-wc/p-002d258d.entry.js +0 -1
- package/dist/brandsync-wc/p-153da845.entry.js +0 -1
- package/dist/brandsync-wc/p-2e7a1082.entry.js +0 -1
- package/dist/brandsync-wc/p-612cf79c.entry.js +0 -1
- package/dist/brandsync-wc/p-652d4068.entry.js +0 -1
- package/dist/brandsync-wc/p-7b00dd36.entry.js +0 -1
- package/dist/brandsync-wc/p-ae978c9a.entry.js +0 -1
- package/dist/brandsync-wc/p-bc69a96c.entry.js +0 -1
- package/dist/brandsync-wc/p-bf53ad52.entry.js +0 -1
- package/dist/brandsync-wc/p-c10d2529.entry.js +0 -1
- package/dist/brandsync-wc/p-c7f4c114.entry.js +0 -1
- package/dist/cjs/bs-menu-item.cjs.entry.js +0 -34
- package/dist/components/p-BkHYJIyj.js +0 -1
- package/dist/components/p-Buly0d5G.js +0 -1
- package/dist/esm/bs-menu-item.entry.js +0 -32
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --bs-datepicker-width: Width of the card. 364px, exact match to Figma.
|
|
3
|
+
* @prop --bs-datepicker-bg: Card background. Aliased to --bs-surface-raised.
|
|
4
|
+
* @prop --bs-datepicker-radius: Card corner radius. Aliased to --bs-border-radius-150.
|
|
5
|
+
* @prop --bs-datepicker-padding: Card padding. Aliased to --bs-spacing-200.
|
|
6
|
+
* @prop --bs-datepicker-gap: Vertical gap between the header, nav and grid. Aliased to --bs-spacing-150.
|
|
7
|
+
* @prop --bs-datepicker-shadow: Card shadow. Aliased to --bs-shadow-md.
|
|
8
|
+
* @prop --bs-datepicker-menu-max-height: Max height of the month/year dropdown list before it scrolls. 280px.
|
|
9
|
+
* @prop --bs-datepicker-band-bridge: Horizontal overlap that joins adjacent range-band cells across the column gap. Aliased to --bs-spacing-50 (keep equal to the gap between days).
|
|
10
|
+
* @prop --bs-datepicker-day-size: Width/height of each day button. Aliased to --bs-spacing-550 (44px).
|
|
11
|
+
* @prop --bs-datepicker-day-radius: Corner radius of each day button. Aliased to --bs-border-radius-100.
|
|
12
|
+
* @prop --bs-datepicker-day-gap: Gap between day rows. Aliased to --bs-spacing-50.
|
|
13
|
+
* @prop --bs-datepicker-font-size: Day and title font size. Aliased to --bs-font-size-md.
|
|
14
|
+
* @prop --bs-datepicker-line-height: Day and title line height. Aliased to --bs-line-height-body-md.
|
|
15
|
+
* @prop --bs-datepicker-weekday-font-size: Weekday header font size. Aliased to --bs-font-size-sm.
|
|
16
|
+
* @prop --bs-datepicker-weekday-line-height: Weekday header line height. Aliased to --bs-line-height-body-sm.
|
|
17
|
+
* @prop --bs-datepicker-color: Day number color. Aliased to --bs-text-default.
|
|
18
|
+
* @prop --bs-datepicker-color-muted: Color of days from the adjacent months. Aliased to --bs-text-muted.
|
|
19
|
+
* @prop --bs-datepicker-color-weekday: Weekday header color. Aliased to --bs-text-secondary.
|
|
20
|
+
* @prop --bs-datepicker-color-disabled: Color of disabled days. Aliased to --bs-text-on-disabled.
|
|
21
|
+
* @prop --bs-datepicker-hover: Background of an unselected day on hover. Aliased to --bs-surface-hover.
|
|
22
|
+
* @prop --bs-datepicker-pressed: Background of an unselected day when pressed. Aliased to --bs-surface-pressed.
|
|
23
|
+
* @prop --bs-datepicker-focus-bg: Background of an unselected day when focused. Aliased to --bs-surface-focus.
|
|
24
|
+
* @prop --bs-datepicker-selected-bg: Background of a selected day. Aliased to --bs-color-primary-default.
|
|
25
|
+
* @prop --bs-datepicker-selected-bg-hover: Background of a selected day on hover. Aliased to --bs-color-primary-hover.
|
|
26
|
+
* @prop --bs-datepicker-selected-bg-pressed: Background of a selected day when pressed. Aliased to --bs-color-primary-pressed.
|
|
27
|
+
* @prop --bs-datepicker-selected-bg-focus: Background of a selected day when focused. Aliased to --bs-color-primary-focused.
|
|
28
|
+
* @prop --bs-datepicker-selected-bg-disabled: Background of a selected day when disabled. Aliased to --bs-surface-action-disabled.
|
|
29
|
+
* @prop --bs-datepicker-selected-color: Text color of a selected day. Aliased to --bs-text-on-action.
|
|
30
|
+
* @prop --bs-datepicker-range-bg: Background of the band between range start and end. Aliased to --bs-color-primary-container.
|
|
31
|
+
* @prop --bs-datepicker-today-border: Outline color marking today. Aliased to --bs-border-primary.
|
|
32
|
+
* @prop --bs-datepicker-focus-ring-color: Focus ring color. Aliased to --bs-border-neutral-focus.
|
|
33
|
+
*/
|
|
34
|
+
:host {
|
|
35
|
+
display: inline-block;
|
|
36
|
+
|
|
37
|
+
--bs-datepicker-width: 364px;
|
|
38
|
+
--bs-datepicker-bg: var(--bs-surface-raised);
|
|
39
|
+
--bs-datepicker-radius: var(--bs-border-radius-150);
|
|
40
|
+
--bs-datepicker-padding: var(--bs-spacing-200);
|
|
41
|
+
--bs-datepicker-gap: var(--bs-spacing-150);
|
|
42
|
+
--bs-datepicker-shadow: var(--bs-shadow-md);
|
|
43
|
+
|
|
44
|
+
--bs-datepicker-menu-max-height: 280px;
|
|
45
|
+
--bs-datepicker-day-size: var(--bs-spacing-550);
|
|
46
|
+
--bs-datepicker-day-radius: var(--bs-border-radius-100);
|
|
47
|
+
--bs-datepicker-day-gap: var(--bs-spacing-50);
|
|
48
|
+
--bs-datepicker-band-bridge: var(--bs-spacing-50);
|
|
49
|
+
|
|
50
|
+
--bs-datepicker-font-size: var(--bs-font-size-md);
|
|
51
|
+
--bs-datepicker-line-height: var(--bs-line-height-body-md);
|
|
52
|
+
--bs-datepicker-weekday-font-size: var(--bs-font-size-sm);
|
|
53
|
+
--bs-datepicker-weekday-line-height: var(--bs-line-height-body-sm);
|
|
54
|
+
|
|
55
|
+
--bs-datepicker-color: var(--bs-text-default);
|
|
56
|
+
--bs-datepicker-color-muted: var(--bs-text-muted);
|
|
57
|
+
--bs-datepicker-color-weekday: var(--bs-text-secondary);
|
|
58
|
+
--bs-datepicker-color-disabled: var(--bs-text-on-disabled);
|
|
59
|
+
|
|
60
|
+
--bs-datepicker-hover: var(--bs-surface-hover);
|
|
61
|
+
--bs-datepicker-pressed: var(--bs-surface-pressed);
|
|
62
|
+
--bs-datepicker-focus-bg: var(--bs-surface-focus);
|
|
63
|
+
--bs-datepicker-selected-bg: var(--bs-color-primary-default);
|
|
64
|
+
--bs-datepicker-selected-bg-hover: var(--bs-color-primary-hover);
|
|
65
|
+
--bs-datepicker-selected-bg-pressed: var(--bs-color-primary-pressed);
|
|
66
|
+
--bs-datepicker-selected-bg-focus: var(--bs-color-primary-focused);
|
|
67
|
+
--bs-datepicker-selected-bg-disabled: var(--bs-surface-action-disabled);
|
|
68
|
+
--bs-datepicker-selected-color: var(--bs-text-on-action);
|
|
69
|
+
--bs-datepicker-range-bg: var(--bs-color-primary-container);
|
|
70
|
+
--bs-datepicker-today-border: var(--bs-border-primary);
|
|
71
|
+
--bs-datepicker-focus-ring-color: var(--bs-border-neutral-focus);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.bs-datepicker {
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
gap: var(--bs-datepicker-gap);
|
|
79
|
+
width: var(--bs-datepicker-width);
|
|
80
|
+
max-width: 100%;
|
|
81
|
+
padding: var(--bs-datepicker-padding);
|
|
82
|
+
border-radius: var(--bs-datepicker-radius);
|
|
83
|
+
background: var(--bs-datepicker-bg);
|
|
84
|
+
box-shadow: var(--bs-datepicker-shadow);
|
|
85
|
+
color: var(--bs-datepicker-color);
|
|
86
|
+
font-family: inherit;
|
|
87
|
+
font-size: var(--bs-datepicker-font-size);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bs-datepicker__header {
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: flex-start;
|
|
93
|
+
gap: var(--bs-spacing-100);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.bs-datepicker__header > bs-input {
|
|
97
|
+
flex: 1 1 0;
|
|
98
|
+
min-width: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* The Figma design has no visible label on the month/year dropdowns; bs-input only names its
|
|
102
|
+
field through its label, so keep the label for assistive tech and hide it visually. */
|
|
103
|
+
.bs-datepicker__select::part(label) {
|
|
104
|
+
position: absolute;
|
|
105
|
+
width: 1px;
|
|
106
|
+
height: 1px;
|
|
107
|
+
margin: -1px;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
clip-path: inset(50%);
|
|
110
|
+
white-space: nowrap;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.bs-datepicker__dropdown {
|
|
114
|
+
position: relative;
|
|
115
|
+
flex: 1 1 0;
|
|
116
|
+
min-width: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.bs-datepicker__dropdown bs-input {
|
|
120
|
+
width: 100%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* The scroll box owns the shadow and rounding, so the inner list's own shadow is turned off
|
|
124
|
+
(it would be clipped by the scroll box anyway). */
|
|
125
|
+
.bs-datepicker__menu {
|
|
126
|
+
position: absolute;
|
|
127
|
+
top: calc(100% + var(--bs-spacing-50));
|
|
128
|
+
inset-inline: 0;
|
|
129
|
+
z-index: 2;
|
|
130
|
+
max-height: var(--bs-datepicker-menu-max-height);
|
|
131
|
+
overflow-y: auto;
|
|
132
|
+
border-radius: var(--bs-border-radius-100);
|
|
133
|
+
background: var(--bs-surface-raised);
|
|
134
|
+
box-shadow: var(--bs-shadow-md);
|
|
135
|
+
--bs-menu-shadow: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.bs-datepicker__menu bs-menu-item {
|
|
139
|
+
--bs-menu-item-color: var(--bs-datepicker-color);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.bs-datepicker__menu bs-menu-item::part(label) {
|
|
143
|
+
flex: 1;
|
|
144
|
+
text-align: start;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.bs-datepicker__option {
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: space-between;
|
|
151
|
+
gap: var(--bs-spacing-100);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.bs-datepicker__option svg {
|
|
155
|
+
width: 20px;
|
|
156
|
+
height: 20px;
|
|
157
|
+
flex: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bs-datepicker__nav {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
justify-content: space-between;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bs-datepicker__title {
|
|
167
|
+
font-weight: var(--bs-font-weight-semibold);
|
|
168
|
+
line-height: calc(var(--bs-datepicker-line-height) * 1px);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.bs-datepicker__nav-button {
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
width: var(--bs-spacing-600);
|
|
176
|
+
height: var(--bs-spacing-600);
|
|
177
|
+
padding: 0;
|
|
178
|
+
border: none;
|
|
179
|
+
border-radius: var(--bs-datepicker-day-radius);
|
|
180
|
+
background: transparent;
|
|
181
|
+
color: var(--bs-icon-default);
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.bs-datepicker__nav-button svg {
|
|
186
|
+
width: 24px;
|
|
187
|
+
height: 24px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.bs-datepicker__nav-button:hover {
|
|
191
|
+
background: var(--bs-datepicker-hover);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.bs-datepicker__grid {
|
|
195
|
+
display: flex;
|
|
196
|
+
flex-direction: column;
|
|
197
|
+
gap: var(--bs-datepicker-day-gap);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.bs-datepicker__row {
|
|
201
|
+
display: grid;
|
|
202
|
+
grid-template-columns: repeat(7, var(--bs-datepicker-day-size));
|
|
203
|
+
justify-content: space-between;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.bs-datepicker__weekday {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
height: var(--bs-datepicker-day-size);
|
|
211
|
+
color: var(--bs-datepicker-color-weekday);
|
|
212
|
+
font-size: var(--bs-datepicker-weekday-font-size);
|
|
213
|
+
font-weight: var(--bs-font-weight-semibold);
|
|
214
|
+
line-height: calc(var(--bs-datepicker-weekday-line-height) * 1px);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.bs-datepicker__cell {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* The range band is painted on the cells so it runs unbroken behind the in-between days; a
|
|
223
|
+
cell's shadow bridges the gap to the next in-range cell in the same week. The two end days are
|
|
224
|
+
not part of it (Figma), and its ends are rounded like a day button. */
|
|
225
|
+
.bs-datepicker__cell--in-range {
|
|
226
|
+
background: var(--bs-datepicker-range-bg);
|
|
227
|
+
box-shadow: calc(var(--bs-datepicker-band-bridge) + 1px) 0 0 var(--bs-datepicker-range-bg);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.bs-datepicker__cell--band-start {
|
|
231
|
+
border-start-start-radius: var(--bs-datepicker-day-radius);
|
|
232
|
+
border-end-start-radius: var(--bs-datepicker-day-radius);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.bs-datepicker__cell--band-end {
|
|
236
|
+
border-start-end-radius: var(--bs-datepicker-day-radius);
|
|
237
|
+
border-end-end-radius: var(--bs-datepicker-day-radius);
|
|
238
|
+
box-shadow: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.bs-datepicker__day {
|
|
242
|
+
width: var(--bs-datepicker-day-size);
|
|
243
|
+
height: var(--bs-datepicker-day-size);
|
|
244
|
+
padding: 0;
|
|
245
|
+
border: none;
|
|
246
|
+
border-radius: var(--bs-datepicker-day-radius);
|
|
247
|
+
background: transparent;
|
|
248
|
+
color: var(--bs-datepicker-color);
|
|
249
|
+
font-family: inherit;
|
|
250
|
+
font-size: var(--bs-datepicker-font-size);
|
|
251
|
+
line-height: calc(var(--bs-datepicker-line-height) * 1px);
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.bs-datepicker__day--outside {
|
|
256
|
+
color: var(--bs-datepicker-color-muted);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.bs-datepicker__day--today {
|
|
260
|
+
box-shadow: inset 0 0 0 1px var(--bs-datepicker-today-border);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.bs-datepicker__day:not(:disabled):hover {
|
|
264
|
+
background: var(--bs-datepicker-hover);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.bs-datepicker__day:not(:disabled):active {
|
|
268
|
+
background: var(--bs-datepicker-pressed);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* An in-range day already sits on the range band; hovering it keeps that colour (Figma "In-range,
|
|
272
|
+
Hovered"). */
|
|
273
|
+
.bs-datepicker__day--in-range:not(:disabled):hover,
|
|
274
|
+
.bs-datepicker__day--in-range:not(:disabled):active {
|
|
275
|
+
background: var(--bs-datepicker-range-bg);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.bs-datepicker__day--selected,
|
|
279
|
+
.bs-datepicker__day--selected.bs-datepicker__day--outside {
|
|
280
|
+
background: var(--bs-datepicker-selected-bg);
|
|
281
|
+
color: var(--bs-datepicker-selected-color);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.bs-datepicker__day--selected:not(:disabled):hover {
|
|
285
|
+
background: var(--bs-datepicker-selected-bg-hover);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.bs-datepicker__day--selected:not(:disabled):active {
|
|
289
|
+
background: var(--bs-datepicker-selected-bg-pressed);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.bs-datepicker__day:disabled {
|
|
293
|
+
color: var(--bs-datepicker-color-disabled);
|
|
294
|
+
cursor: not-allowed;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.bs-datepicker__day--selected:disabled {
|
|
298
|
+
background: var(--bs-datepicker-selected-bg-disabled);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Figma focus state: a state-colored fill plus a 2px ring sitting flush against the day's edge. */
|
|
302
|
+
.bs-datepicker__day:focus-visible {
|
|
303
|
+
background: var(--bs-datepicker-focus-bg);
|
|
304
|
+
outline: 2px solid var(--bs-datepicker-focus-ring-color);
|
|
305
|
+
outline-offset: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.bs-datepicker__day--selected:focus-visible {
|
|
309
|
+
background: var(--bs-datepicker-selected-bg-focus);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.bs-datepicker__nav-button:focus-visible {
|
|
313
|
+
outline: 2px solid var(--bs-datepicker-focus-ring-color);
|
|
314
|
+
outline-offset: 2px;
|
|
315
|
+
}
|