@brandsync/wc 1.9.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 +4520 -3613
- 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-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-fc240aa0.entry.js → p-701ebf4a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0eed6813.entry.js → p-763876f5.entry.js} +1 -1
- 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-36bf37d9.entry.js → p-806a5347.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6331de9c.entry.js → p-8eba7f90.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6fd7dd6a.entry.js → p-96ed9386.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cfcf3f0a.entry.js → p-9e88f19c.entry.js} +1 -1
- 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-3b64e3cd.entry.js → p-addfa0a0.entry.js} +1 -1
- 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-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-107b1c5d.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-27bbed83.entry.js → p-f370b8fa.entry.js} +1 -1
- 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-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-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 +1 -1
- package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -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 +2 -2
- package/dist/cjs/bs-navigation-header.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/bs-tabs.cjs.entry.js +1 -1
- 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-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
- 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-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-menu/bs-menu.js +1 -1
- 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 +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- 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.js +2 -2
- 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.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-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-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-BoeorHNv.js → p-BYR_ZC8v.js} +1 -1
- 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-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-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 +1 -1
- package/dist/esm/bs-inline-tab.entry.js +1 -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 +2 -2
- package/dist/esm/bs-navigation-header.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/bs-tabs.entry.js +1 -1
- 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-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-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.d.ts +515 -0
- package/package.json +1 -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-c10d2529.entry.js +0 -1
- package/dist/cjs/bs-menu-item.cjs.entry.js +0 -34
- package/dist/components/p-Buly0d5G.js +0 -1
- package/dist/esm/bs-menu-item.entry.js +0 -32
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prop --bs-timepicker-width: Width of the card. 294px, exact match to Figma.
|
|
3
|
+
* @prop --bs-timepicker-bg: Card background. Aliased to --bs-surface-raised.
|
|
4
|
+
* @prop --bs-timepicker-radius: Card corner radius. Aliased to --bs-border-radius-100.
|
|
5
|
+
* @prop --bs-timepicker-padding-y: Vertical padding of the card. Aliased to --bs-spacing-200.
|
|
6
|
+
* @prop --bs-timepicker-padding-x: Horizontal padding of each section. Aliased to --bs-spacing-200.
|
|
7
|
+
* @prop --bs-timepicker-gap: Vertical gap between sections. Aliased to --bs-spacing-200.
|
|
8
|
+
* @prop --bs-timepicker-shadow: Card shadow. Aliased to --bs-shadow-md.
|
|
9
|
+
* @prop --bs-timepicker-title-size: Heading font size. Aliased to --bs-font-size-2xl.
|
|
10
|
+
* @prop --bs-timepicker-title-line-height: Heading line height. Aliased to --bs-line-height-heading-h6.
|
|
11
|
+
* @prop --bs-timepicker-color: Heading and value color. Aliased to --bs-text-default.
|
|
12
|
+
* @prop --bs-timepicker-color-secondary: Color of the 24h label and the step carets. Aliased to --bs-text-secondary.
|
|
13
|
+
* @prop --bs-timepicker-divider: Divider color. Aliased to --bs-border-neutral-container.
|
|
14
|
+
* @prop --bs-timepicker-cell-size: Width/height of a step button and a value. Aliased to --bs-spacing-550 (44px).
|
|
15
|
+
* @prop --bs-timepicker-cell-radius: Corner radius of a step button. Aliased to --bs-border-radius-100.
|
|
16
|
+
* @prop --bs-timepicker-value-radius: Corner radius of the focus ring on a value. Aliased to --bs-border-radius-50.
|
|
17
|
+
* @prop --bs-timepicker-hover: Background of a step button or value on hover. Aliased to --bs-surface-hover.
|
|
18
|
+
* @prop --bs-timepicker-pressed: Background of a step button or value when pressed. Aliased to --bs-surface-pressed.
|
|
19
|
+
* @prop --bs-timepicker-focus-ring-color: Focus ring color. Aliased to --bs-border-neutral-container-focused.
|
|
20
|
+
*/
|
|
21
|
+
:host {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
|
|
24
|
+
--bs-timepicker-width: 294px;
|
|
25
|
+
--bs-timepicker-bg: var(--bs-surface-raised);
|
|
26
|
+
--bs-timepicker-radius: var(--bs-border-radius-100);
|
|
27
|
+
--bs-timepicker-padding-y: var(--bs-spacing-200);
|
|
28
|
+
--bs-timepicker-padding-x: var(--bs-spacing-200);
|
|
29
|
+
--bs-timepicker-gap: var(--bs-spacing-200);
|
|
30
|
+
--bs-timepicker-shadow: var(--bs-shadow-md);
|
|
31
|
+
|
|
32
|
+
--bs-timepicker-title-size: var(--bs-font-size-2xl);
|
|
33
|
+
--bs-timepicker-title-line-height: var(--bs-line-height-heading-h6);
|
|
34
|
+
--bs-timepicker-color: var(--bs-text-default);
|
|
35
|
+
--bs-timepicker-color-secondary: var(--bs-text-secondary);
|
|
36
|
+
--bs-timepicker-divider: var(--bs-border-neutral-container);
|
|
37
|
+
|
|
38
|
+
--bs-timepicker-cell-size: var(--bs-spacing-550);
|
|
39
|
+
--bs-timepicker-cell-radius: var(--bs-border-radius-100);
|
|
40
|
+
--bs-timepicker-value-radius: var(--bs-border-radius-50);
|
|
41
|
+
--bs-timepicker-hover: var(--bs-surface-hover);
|
|
42
|
+
--bs-timepicker-pressed: var(--bs-surface-pressed);
|
|
43
|
+
--bs-timepicker-focus-ring-color: var(--bs-border-neutral-container-focused);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bs-timepicker {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
gap: var(--bs-timepicker-gap);
|
|
51
|
+
width: var(--bs-timepicker-width);
|
|
52
|
+
max-width: 100%;
|
|
53
|
+
padding: var(--bs-timepicker-padding-y) 0;
|
|
54
|
+
border-radius: var(--bs-timepicker-radius);
|
|
55
|
+
background: var(--bs-timepicker-bg);
|
|
56
|
+
box-shadow: var(--bs-timepicker-shadow);
|
|
57
|
+
color: var(--bs-timepicker-color);
|
|
58
|
+
font-family: inherit;
|
|
59
|
+
font-size: var(--bs-font-size-md);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.bs-timepicker__header {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--bs-spacing-100);
|
|
66
|
+
padding: 0 var(--bs-timepicker-padding-x);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.bs-timepicker__title {
|
|
70
|
+
flex: 1 1 0;
|
|
71
|
+
min-width: 0;
|
|
72
|
+
font-size: var(--bs-timepicker-title-size);
|
|
73
|
+
font-weight: var(--bs-font-weight-bold);
|
|
74
|
+
line-height: calc(var(--bs-timepicker-title-line-height) * 1px);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bs-timepicker__format {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: var(--bs-spacing-50);
|
|
81
|
+
color: var(--bs-timepicker-color-secondary);
|
|
82
|
+
line-height: calc(var(--bs-line-height-body-md) * 1px);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Full-bleed: the divider ignores the section padding, like the Figma's. */
|
|
86
|
+
.bs-timepicker__divider {
|
|
87
|
+
height: 1px;
|
|
88
|
+
background: var(--bs-timepicker-divider);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.bs-timepicker__selector {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
gap: var(--bs-spacing-200);
|
|
96
|
+
padding: 0 var(--bs-timepicker-padding-x);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.bs-timepicker__spinner {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: var(--bs-spacing-100);
|
|
104
|
+
width: var(--bs-timepicker-cell-size);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.bs-timepicker__step,
|
|
108
|
+
.bs-timepicker__value {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
box-sizing: border-box;
|
|
113
|
+
width: var(--bs-timepicker-cell-size);
|
|
114
|
+
height: var(--bs-timepicker-cell-size);
|
|
115
|
+
padding: 0;
|
|
116
|
+
border: none;
|
|
117
|
+
background: transparent;
|
|
118
|
+
font-family: inherit;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.bs-timepicker__step {
|
|
122
|
+
border-radius: var(--bs-timepicker-cell-radius);
|
|
123
|
+
color: var(--bs-timepicker-color-secondary);
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.bs-timepicker__step svg {
|
|
128
|
+
width: 24px;
|
|
129
|
+
height: 24px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.bs-timepicker__value {
|
|
133
|
+
border-radius: var(--bs-timepicker-value-radius);
|
|
134
|
+
color: var(--bs-timepicker-color);
|
|
135
|
+
font-size: var(--bs-timepicker-title-size);
|
|
136
|
+
font-weight: var(--bs-font-weight-bold);
|
|
137
|
+
line-height: calc(var(--bs-timepicker-title-line-height) * 1px);
|
|
138
|
+
font-variant-numeric: tabular-nums;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
user-select: none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.bs-timepicker__step:hover,
|
|
144
|
+
.bs-timepicker__value:hover {
|
|
145
|
+
background: var(--bs-timepicker-hover);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.bs-timepicker__step:active,
|
|
149
|
+
.bs-timepicker__value:active {
|
|
150
|
+
background: var(--bs-timepicker-pressed);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Figma focus state: a 2px ring flush against the block's edge. */
|
|
154
|
+
.bs-timepicker__step:focus-visible,
|
|
155
|
+
.bs-timepicker__value:focus-visible {
|
|
156
|
+
outline: 2px solid var(--bs-timepicker-focus-ring-color);
|
|
157
|
+
outline-offset: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bs-timepicker__separator {
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
color: var(--bs-timepicker-color);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bs-timepicker__separator svg {
|
|
167
|
+
width: 4px;
|
|
168
|
+
height: 32px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* The Figma has no visible label on the AM/PM field; bs-input only names its field through its
|
|
172
|
+
label, so keep the label for assistive tech and hide it visually. */
|
|
173
|
+
.bs-timepicker__period::part(label) {
|
|
174
|
+
position: absolute;
|
|
175
|
+
width: 1px;
|
|
176
|
+
height: 1px;
|
|
177
|
+
margin: -1px;
|
|
178
|
+
overflow: hidden;
|
|
179
|
+
clip-path: inset(50%);
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.bs-timepicker__period {
|
|
184
|
+
width: 112px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* bs-input's dropdown trigger is a read-only text input: no text caret, and a pointer cursor. */
|
|
188
|
+
.bs-timepicker__period::part(control) {
|
|
189
|
+
caret-color: transparent;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
text-overflow: clip;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.bs-timepicker__footer {
|
|
195
|
+
display: flex;
|
|
196
|
+
align-items: flex-start;
|
|
197
|
+
justify-content: flex-end;
|
|
198
|
+
gap: var(--bs-spacing-100);
|
|
199
|
+
padding: 0 var(--bs-timepicker-padding-x);
|
|
200
|
+
}
|