@nldd/design-system 0.8.43 → 0.8.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/button.d.ts +19 -1
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +25 -1
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +28 -28
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +7 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
- package/dist/components/actions/button-group/button-group.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +28 -7
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +36 -9
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +25 -25
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +9 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -5
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +19 -15
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +14 -12
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +0 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +20 -17
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
- package/dist/components/actions/toolbar/toolbar.template.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +13 -5
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +5 -5
- package/dist/components/content/code/code.styles.js +3 -3
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +15 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +11 -5
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +6 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -6
- package/dist/components/content/title/title.styles.js +2 -2
- package/dist/components/content/tooltip/tooltip.styles.js +8 -8
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js +6 -6
- package/dist/components/{index-By2jYHEw.js → index-1v33GjGX.js} +2950 -2632
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
- package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +15 -14
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +11 -9
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +23 -17
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +12 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +16 -15
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.d.ts +8 -8
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +16 -16
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +18 -17
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +3 -3
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +17 -16
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +37 -67
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.styles.js +13 -13
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +17 -16
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +12 -12
- package/dist/components/inputs/token/token.styles.js +5 -5
- package/dist/components/inputs/token/token.template.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +4 -4
- package/dist/components/layout/box/box.styles.js +2 -2
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/collection/collection.styles.js +6 -6
- package/dist/components/layout/divider/divider.styles.js +2 -2
- package/dist/components/layout/page/page.styles.js +9 -9
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +15 -14
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +6 -6
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +6 -6
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +14 -14
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +6 -6
- package/dist/components/layout/popover/popover.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.d.ts +17 -4
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +40 -6
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +28 -35
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
- package/dist/components/layout/window/window.styles.js +8 -8
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/list/list.styles.js +13 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
- package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +534 -102
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
- package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +11 -9
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.js.map +1 -0
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
- package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -0
- package/dist/components/navigation/link/link.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +79 -34
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +16 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +22 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +19 -19
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +2 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +12 -0
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +19 -0
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +47 -77
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +23 -16
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +28 -51
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +57 -70
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +15 -15
- package/dist/components/{prism-typescript-BlIir5CV.js → prism-typescript-D2EqsCqV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -7
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
- package/dist/css/rich-text.css +85 -58
- package/dist/css/settings.css +36 -33
- package/dist/utilities/os.d.ts +27 -0
- package/dist/utilities/os.d.ts.map +1 -0
- package/dist/utilities/os.js +60 -0
- package/dist/utilities/os.js.map +1 -0
- package/package.json +5 -5
- package/dist/components/actions/link/link.d.ts.map +0 -1
- package/dist/components/actions/link/link.js.map +0 -1
- package/dist/components/actions/link/link.styles.d.ts.map +0 -1
- package/dist/components/actions/link/link.styles.js.map +0 -1
- package/dist/components/actions/link/link.template.d.ts.map +0 -1
- package/dist/components/actions/link/link.template.js.map +0 -1
- /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.js +0 -0
- /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
|
@@ -6,14 +6,15 @@ export const segmentedControlStyles = css `
|
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
8
|
--_width: auto;
|
|
9
|
-
--
|
|
10
|
-
--_segmented-control-sm-item-indicator-inset: var(--primitives-space-3);
|
|
9
|
+
--_gap: var(--primitives-space-2);
|
|
11
10
|
|
|
12
11
|
display: inline-grid;
|
|
12
|
+
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
13
|
+
width: var(--_width);
|
|
14
|
+
max-width: 100%;
|
|
13
15
|
grid-auto-columns: 1fr;
|
|
14
16
|
grid-auto-flow: column;
|
|
15
|
-
|
|
16
|
-
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
17
|
+
gap: var(--_gap);
|
|
17
18
|
isolation: isolate;
|
|
18
19
|
-webkit-tap-highlight-color: transparent;
|
|
19
20
|
}
|
|
@@ -23,8 +24,9 @@ export const segmentedControlStyles = css `
|
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
:host([width="full"]) {
|
|
26
|
-
display: grid;
|
|
27
27
|
--_width: 100%;
|
|
28
|
+
|
|
29
|
+
display: grid;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
:host([width="fit-content"]) {
|
|
@@ -39,12 +41,10 @@ export const segmentedControlStyles = css `
|
|
|
39
41
|
:host([size='md']),
|
|
40
42
|
:host(:not([size])) {
|
|
41
43
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
42
|
-
padding-inline: var(--primitives-space-2);
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
:host([size='sm']) {
|
|
46
47
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
47
|
-
padding-inline: var(--primitives-space-2);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
@@ -62,8 +62,8 @@ export const segmentedControlItemStyles = css `
|
|
|
62
62
|
|
|
63
63
|
:host {
|
|
64
64
|
display: flex;
|
|
65
|
-
min-width: 0;
|
|
66
65
|
position: relative;
|
|
66
|
+
min-width: 0;
|
|
67
67
|
-webkit-tap-highlight-color: transparent;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -75,70 +75,84 @@ export const segmentedControlItemStyles = css `
|
|
|
75
75
|
/* # Item */
|
|
76
76
|
|
|
77
77
|
.segmented-control__item {
|
|
78
|
-
|
|
78
|
+
box-sizing: border-box;
|
|
79
79
|
display: flex;
|
|
80
|
+
position: relative;
|
|
81
|
+
cursor: default;
|
|
82
|
+
width: 100%;
|
|
80
83
|
align-items: center;
|
|
81
84
|
justify-content: center;
|
|
82
|
-
width: 100%;
|
|
83
|
-
box-sizing: border-box;
|
|
84
85
|
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
85
|
-
cursor: default;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:host([size='md']) .segmented-control__item,
|
|
89
89
|
:host(:not([size])) .segmented-control__item {
|
|
90
|
+
border-radius: var(--semantics-controls-md-corner-radius);
|
|
91
|
+
min-width: var(--semantics-controls-md-min-size);
|
|
90
92
|
height: var(--semantics-controls-md-min-size);
|
|
91
|
-
padding-inline:
|
|
93
|
+
padding-inline: var(--primitives-space-12);
|
|
92
94
|
font: var(--semantics-buttons-md-font);
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
:host([size='sm']) .segmented-control__item {
|
|
98
|
+
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
99
|
+
min-width: var(--semantics-controls-sm-min-size);
|
|
96
100
|
height: var(--semantics-controls-sm-min-size);
|
|
97
|
-
padding-inline:
|
|
101
|
+
padding-inline: var(--primitives-space-8);
|
|
98
102
|
font: var(--semantics-buttons-sm-font);
|
|
99
103
|
}
|
|
100
104
|
|
|
101
105
|
:host([variant='icon'][size='md']) .segmented-control__item,
|
|
102
106
|
:host([variant='icon']:not([size])) .segmented-control__item {
|
|
103
|
-
width: calc(var(--semantics-controls-md-min-size) - var(--_segmented-control-md-item-indicator-inset));
|
|
104
107
|
padding: 0;
|
|
105
108
|
}
|
|
106
109
|
|
|
107
110
|
:host([variant='icon'][size='sm']) .segmented-control__item {
|
|
108
|
-
width: calc(var(--semantics-controls-sm-min-size) - var(--_segmented-control-sm-item-indicator-inset));
|
|
109
111
|
padding: 0;
|
|
110
112
|
}
|
|
111
113
|
|
|
112
114
|
:host([selected]) .segmented-control__item {
|
|
115
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
113
116
|
color: var(--semantics-buttons-neutral-tinted-is-selected-content-color);
|
|
114
117
|
}
|
|
115
118
|
|
|
119
|
+
@media (hover: hover) {
|
|
120
|
+
:host(:not([selected])) .segmented-control__item:hover {
|
|
121
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
116
125
|
:host([disabled]) .segmented-control__item {
|
|
117
126
|
opacity: var(--primitives-opacity-disabled);
|
|
118
127
|
}
|
|
119
128
|
|
|
129
|
+
.segmented-control__item:has(:focus-visible) {
|
|
130
|
+
outline: var(--semantics-focus-ring-outline);
|
|
131
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
132
|
+
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
133
|
+
}
|
|
134
|
+
|
|
120
135
|
|
|
121
136
|
/* # Input */
|
|
122
137
|
|
|
123
138
|
.segmented-control__item-input {
|
|
124
139
|
position: absolute;
|
|
125
140
|
inset: 0;
|
|
126
|
-
width: 100%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
margin: 0;
|
|
129
141
|
opacity: 0;
|
|
130
142
|
z-index: 1;
|
|
143
|
+
margin: 0;
|
|
144
|
+
width: 100%;
|
|
145
|
+
height: 100%;
|
|
131
146
|
}
|
|
132
147
|
|
|
133
148
|
|
|
134
149
|
/* # Text */
|
|
135
150
|
|
|
136
151
|
.segmented-control__item-text {
|
|
152
|
+
pointer-events: none;
|
|
137
153
|
overflow: hidden;
|
|
138
154
|
text-overflow: ellipsis;
|
|
139
155
|
white-space: nowrap;
|
|
140
|
-
z-index: 2;
|
|
141
|
-
pointer-events: none;
|
|
142
156
|
}
|
|
143
157
|
|
|
144
158
|
:host([variant='icon']) .segmented-control__item-text {
|
|
@@ -146,15 +160,14 @@ export const segmentedControlItemStyles = css `
|
|
|
146
160
|
}
|
|
147
161
|
|
|
148
162
|
|
|
149
|
-
/* # Icon
|
|
163
|
+
/* # Icon */
|
|
150
164
|
|
|
151
165
|
.segmented-control__item-icon {
|
|
152
166
|
display: flex;
|
|
167
|
+
pointer-events: none;
|
|
153
168
|
flex-shrink: 0;
|
|
154
169
|
align-items: center;
|
|
155
170
|
justify-content: center;
|
|
156
|
-
z-index: 2;
|
|
157
|
-
pointer-events: none;
|
|
158
171
|
}
|
|
159
172
|
|
|
160
173
|
:host([size='md']) .segmented-control__item-icon,
|
|
@@ -177,48 +190,5 @@ export const segmentedControlItemStyles = css `
|
|
|
177
190
|
width: 100%;
|
|
178
191
|
height: 100%;
|
|
179
192
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
/* # Indicator */
|
|
183
|
-
|
|
184
|
-
.segmented-control__item::before {
|
|
185
|
-
content: '';
|
|
186
|
-
position: absolute;
|
|
187
|
-
inset: 0;
|
|
188
|
-
pointer-events: none;
|
|
189
|
-
background-color: transparent;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
:host([size='md']) .segmented-control__item::before,
|
|
193
|
-
:host(:not([size])) .segmented-control__item::before {
|
|
194
|
-
inset-block: var(--_segmented-control-md-item-indicator-inset);
|
|
195
|
-
inset-inline: calc(var(--_segmented-control-md-item-indicator-inset) / 2);
|
|
196
|
-
border-radius: calc(var(--semantics-controls-md-corner-radius) - (var(--_segmented-control-md-item-indicator-inset) / 2));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
:host([size='sm']) .segmented-control__item::before {
|
|
200
|
-
inset-block: var(--_segmented-control-sm-item-indicator-inset);
|
|
201
|
-
inset-inline: calc(var(--_segmented-control-sm-item-indicator-inset) / 2);
|
|
202
|
-
border-radius: calc(var(--semantics-controls-sm-corner-radius) - (var(--_segmented-control-sm-item-indicator-inset) / 2));
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
:host([selected]) .segmented-control__item::before {
|
|
206
|
-
background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@media (hover: hover) {
|
|
210
|
-
:host(:not([selected])) .segmented-control__item:hover::before {
|
|
211
|
-
background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
/* # Focus */
|
|
217
|
-
|
|
218
|
-
.segmented-control__item:has(:focus-visible)::before {
|
|
219
|
-
outline: var(--semantics-focus-ring-outline);
|
|
220
|
-
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
221
|
-
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
222
|
-
}
|
|
223
193
|
`;
|
|
224
194
|
//# sourceMappingURL=segmented-control.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDxC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"segmented-control.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDxC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuI5C,CAAC"}
|
|
@@ -28,9 +28,9 @@ export const stepperStyles = css `
|
|
|
28
28
|
|
|
29
29
|
.stepper {
|
|
30
30
|
display: inline-flex;
|
|
31
|
+
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
31
32
|
flex-direction: row;
|
|
32
33
|
align-items: center;
|
|
33
|
-
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:host([size='xs']) .stepper {
|
|
@@ -56,9 +56,9 @@ export const stepperStyles = css `
|
|
|
56
56
|
/* # Divider */
|
|
57
57
|
|
|
58
58
|
.stepper__divider {
|
|
59
|
+
background-color: var(--semantics-buttons-neutral-tinted-divider-color);
|
|
59
60
|
width: var(--semantics-dividers-thickness);
|
|
60
61
|
flex-shrink: 0;
|
|
61
|
-
background-color: var(--semantics-buttons-neutral-tinted-divider-color);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
:host([size='xs']) .stepper__divider {
|
|
@@ -19,7 +19,7 @@ export function stepperTemplate(component) {
|
|
|
19
19
|
size=${component.size}
|
|
20
20
|
icon="minus"
|
|
21
21
|
text=${component._t('components.stepper.decrement-action')}
|
|
22
|
-
|
|
22
|
+
tooltip-timing="never"
|
|
23
23
|
?disabled=${component.disabled || atMin}
|
|
24
24
|
aria-hidden="true"
|
|
25
25
|
tabindex="-1"
|
|
@@ -33,7 +33,7 @@ export function stepperTemplate(component) {
|
|
|
33
33
|
size=${component.size}
|
|
34
34
|
icon="plus"
|
|
35
35
|
text=${component._t('components.stepper.increment-action')}
|
|
36
|
-
|
|
36
|
+
tooltip-timing="never"
|
|
37
37
|
?disabled=${component.disabled || atMax}
|
|
38
38
|
aria-hidden="true"
|
|
39
39
|
tabindex="-1"
|
|
@@ -46,10 +46,10 @@ export const switchStyles = css `
|
|
|
46
46
|
position: absolute;
|
|
47
47
|
inset: 0;
|
|
48
48
|
z-index: 1;
|
|
49
|
+
opacity: 0;
|
|
50
|
+
margin: 0;
|
|
49
51
|
width: 100%;
|
|
50
52
|
height: 100%;
|
|
51
|
-
margin: 0;
|
|
52
|
-
opacity: 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|
|
@@ -58,13 +58,13 @@ export const switchStyles = css `
|
|
|
58
58
|
.switch__track {
|
|
59
59
|
position: relative;
|
|
60
60
|
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
61
|
box-sizing: border-box;
|
|
62
|
+
border: var(--components-switch-border-thickness) solid var(--components-switch-border-color);
|
|
63
|
+
background-color: var(--components-switch-background-color);
|
|
63
64
|
width: 100%;
|
|
64
65
|
height: 100%;
|
|
65
66
|
padding: var(--_switch-padding);
|
|
66
|
-
|
|
67
|
-
border: var(--components-switch-border-thickness) solid var(--components-switch-border-color);
|
|
67
|
+
align-items: center;
|
|
68
68
|
transition: background-color var(--_transition-duration) ease, border-color var(--_transition-duration) ease;
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -78,8 +78,8 @@ export const switchStyles = css `
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.switch__input:checked ~ .switch__track {
|
|
81
|
-
background-color: var(--components-switch-is-selected-background-color);
|
|
82
81
|
border-color: var(--components-switch-is-selected-background-color);
|
|
82
|
+
background-color: var(--components-switch-is-selected-background-color);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.switch__input:focus-visible ~ .switch__track {
|
|
@@ -96,8 +96,8 @@ export const switchStyles = css `
|
|
|
96
96
|
left: var(--_switch-padding);
|
|
97
97
|
box-sizing: border-box;
|
|
98
98
|
border-radius: 50%;
|
|
99
|
-
background-color: var(--components-switch-thumb-background-color);
|
|
100
99
|
border: var(--components-switch-thumb-border-thickness) solid var(--components-switch-thumb-border-color);
|
|
100
|
+
background-color: var(--components-switch-thumb-background-color);
|
|
101
101
|
transition: width var(--_transition-duration) ease, height var(--_transition-duration) ease, left var(--_transition-duration) ease, background-color var(--_transition-duration) ease, border-color var(--_transition-duration) ease;
|
|
102
102
|
will-change: width, height, left;
|
|
103
103
|
}
|
|
@@ -114,8 +114,8 @@ export const switchStyles = css `
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.switch__input:checked ~ .switch__track .switch__thumb {
|
|
117
|
-
background-color: var(--components-switch-is-selected-thumb-background-color);
|
|
118
117
|
border-color: var(--components-switch-is-selected-thumb-background-color);
|
|
118
|
+
background-color: var(--components-switch-is-selected-thumb-background-color);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
:host([size='xs']) .switch__input:checked ~ .switch__track .switch__thumb {
|
|
@@ -138,15 +138,15 @@ export const switchStyles = css `
|
|
|
138
138
|
position: absolute;
|
|
139
139
|
top: 50%;
|
|
140
140
|
left: 50%;
|
|
141
|
-
transform: translate(-50%, -50%);
|
|
142
141
|
display: flex;
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
opacity: 0;
|
|
143
|
+
pointer-events: none;
|
|
145
144
|
width: calc(100% + var(--components-switch-thumb-border-thickness) * 2);
|
|
146
145
|
height: calc(100% + var(--components-switch-thumb-border-thickness) * 2);
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
147
148
|
color: var(--components-switch-is-selected-background-color);
|
|
148
|
-
|
|
149
|
-
pointer-events: none;
|
|
149
|
+
transform: translate(-50%, -50%);
|
|
150
150
|
transition: opacity var(--_transition-duration) ease;
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -17,10 +17,10 @@ export const switchFieldStyles = css `
|
|
|
17
17
|
|
|
18
18
|
.switch-field {
|
|
19
19
|
display: flex;
|
|
20
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
20
21
|
flex-direction: row;
|
|
21
22
|
align-items: flex-start;
|
|
22
23
|
gap: var(--primitives-space-8);
|
|
23
|
-
min-height: var(--semantics-controls-md-min-size);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
|
|
@@ -28,8 +28,8 @@ export const switchFieldStyles = css `
|
|
|
28
28
|
|
|
29
29
|
.switch-field__control {
|
|
30
30
|
display: flex;
|
|
31
|
-
flex-shrink: 0;
|
|
32
31
|
min-height: var(--semantics-controls-md-min-size);
|
|
32
|
+
flex-shrink: 0;
|
|
33
33
|
align-items: center;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -37,12 +37,12 @@ export const switchFieldStyles = css `
|
|
|
37
37
|
/* # Label */
|
|
38
38
|
|
|
39
39
|
.switch-field__label {
|
|
40
|
-
padding-top: calc((var(--semantics-controls-md-min-size) - 1em * var(--primitives-line-height-snug)) / 2);
|
|
41
40
|
display: flex;
|
|
41
|
+
cursor: default;
|
|
42
|
+
padding-top: calc((var(--semantics-controls-md-min-size) - 1em * var(--primitives-line-height-snug)) / 2);
|
|
42
43
|
flex-grow: 1;
|
|
43
44
|
font: var(--primitives-font-body-md-regular-snug);
|
|
44
45
|
color: var(--semantics-content-color);
|
|
45
|
-
cursor: default;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
:host([disabled]) .switch-field__label {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,yBAyL3B,CAAC"}
|
|
@@ -10,6 +10,7 @@ export const textFieldStyles = css `
|
|
|
10
10
|
|
|
11
11
|
display: block;
|
|
12
12
|
width: var(--_width);
|
|
13
|
+
max-width: 100%;
|
|
13
14
|
-webkit-tap-highlight-color: transparent;
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -22,25 +23,25 @@ export const textFieldStyles = css `
|
|
|
22
23
|
|
|
23
24
|
.text-field {
|
|
24
25
|
display: flex;
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
align-items: center;
|
|
27
|
-
overflow: hidden;
|
|
28
26
|
box-sizing: border-box;
|
|
29
27
|
border: var(--semantics-input-fields-border);
|
|
30
28
|
background-color: var(--_background-color);
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
align-items: center;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
:host([size='sm']) .text-field {
|
|
34
|
-
padding-left: calc(var(--semantics-controls-sm-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
35
|
-
min-height: var(--semantics-controls-sm-min-size);
|
|
36
35
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
36
|
+
min-height: var(--semantics-controls-sm-min-size);
|
|
37
|
+
padding-left: calc(var(--semantics-controls-sm-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
:host([size='md']) .text-field,
|
|
40
41
|
:host(:not([size])) .text-field {
|
|
41
|
-
padding-left: calc(var(--semantics-controls-md-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
42
|
-
min-height: var(--semantics-controls-md-min-size);
|
|
43
42
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
43
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
44
|
+
padding-left: calc(var(--semantics-controls-md-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
:host([valid]) .text-field {
|
|
@@ -75,16 +76,16 @@ export const textFieldStyles = css `
|
|
|
75
76
|
/* # Input */
|
|
76
77
|
|
|
77
78
|
.text-field__input {
|
|
78
|
-
flex-grow: 1;
|
|
79
|
-
min-width: 0;
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
box-sizing: border-box;
|
|
82
|
-
padding: 0;
|
|
83
80
|
margin: 0;
|
|
84
|
-
color: var(--semantics-content-color);
|
|
85
|
-
background: transparent;
|
|
86
81
|
border: none;
|
|
87
82
|
outline: none;
|
|
83
|
+
background: transparent;
|
|
84
|
+
min-width: 0;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
padding: 0;
|
|
87
|
+
flex-grow: 1;
|
|
88
|
+
color: var(--semantics-content-color);
|
|
88
89
|
appearance: none;
|
|
89
90
|
}
|
|
90
91
|
|
|
@@ -117,9 +118,9 @@ export const textFieldStyles = css `
|
|
|
117
118
|
|
|
118
119
|
.text-field__input-fade {
|
|
119
120
|
position: relative;
|
|
121
|
+
width: 0;
|
|
120
122
|
flex-shrink: 0;
|
|
121
123
|
align-self: stretch;
|
|
122
|
-
width: 0;
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
.text-field__input-fade::after {
|
|
@@ -128,9 +129,9 @@ export const textFieldStyles = css `
|
|
|
128
129
|
top: 0;
|
|
129
130
|
bottom: 0;
|
|
130
131
|
right: 0;
|
|
131
|
-
width: var(--primitives-space-8);
|
|
132
132
|
background: linear-gradient(90deg, color-mix(in oklch, var(--_background-color) 0%, transparent) 0%, var(--_background-color) 100%);
|
|
133
133
|
pointer-events: none;
|
|
134
|
+
width: var(--primitives-space-8);
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
:host([size='sm']) .text-field__input-fade::after {
|
|
@@ -147,10 +148,10 @@ export const textFieldStyles = css `
|
|
|
147
148
|
|
|
148
149
|
.text-field__validation-icon-area {
|
|
149
150
|
display: flex;
|
|
151
|
+
height: 100%;
|
|
150
152
|
align-items: center;
|
|
151
153
|
justify-content: center;
|
|
152
154
|
flex-shrink: 0;
|
|
153
|
-
height: 100%;
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
:host([size='sm']) .text-field__validation-icon-area {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLjC,CAAC"}
|
|
@@ -23,12 +23,12 @@ export const toggleButtonStyles = css `
|
|
|
23
23
|
|
|
24
24
|
.toggle-button {
|
|
25
25
|
/* Reset */
|
|
26
|
-
appearance: none;
|
|
27
|
-
border: none;
|
|
28
26
|
margin: 0;
|
|
29
|
-
|
|
27
|
+
border: none;
|
|
30
28
|
background: none;
|
|
29
|
+
padding: 0;
|
|
31
30
|
font: inherit;
|
|
31
|
+
appearance: none;
|
|
32
32
|
|
|
33
33
|
/* Layout */
|
|
34
34
|
position: relative;
|
|
@@ -47,28 +47,28 @@ export const toggleButtonStyles = css `
|
|
|
47
47
|
/* ## Sizes */
|
|
48
48
|
|
|
49
49
|
:host([size="xs"]) .toggle-button {
|
|
50
|
+
border-radius: var(--semantics-controls-xs-corner-radius);
|
|
50
51
|
min-height: var(--semantics-controls-xs-min-size);
|
|
51
52
|
padding: var(--semantics-controls-xs-block-padding) var(--semantics-controls-xs-inline-padding);
|
|
52
|
-
font: var(--semantics-buttons-xs-font);
|
|
53
|
-
border-radius: var(--semantics-controls-xs-corner-radius);
|
|
54
53
|
gap: var(--semantics-buttons-xs-gap);
|
|
54
|
+
font: var(--semantics-buttons-xs-font);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
:host([size="sm"]) .toggle-button {
|
|
58
|
+
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
58
59
|
min-height: var(--semantics-controls-sm-min-size);
|
|
59
60
|
padding: var(--semantics-controls-sm-block-padding) var(--semantics-controls-sm-inline-padding);
|
|
60
|
-
font: var(--semantics-buttons-sm-font);
|
|
61
|
-
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
62
61
|
gap: var(--semantics-buttons-sm-gap);
|
|
62
|
+
font: var(--semantics-buttons-sm-font);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
:host([size="md"]) .toggle-button,
|
|
66
66
|
:host(:not([size])) .toggle-button {
|
|
67
|
+
border-radius: var(--semantics-controls-md-corner-radius);
|
|
67
68
|
min-height: var(--semantics-controls-md-min-size);
|
|
68
69
|
padding: var(--semantics-controls-md-block-padding) var(--semantics-controls-md-inline-padding);
|
|
69
|
-
font: var(--semantics-buttons-md-font);
|
|
70
|
-
border-radius: var(--semantics-controls-md-corner-radius);
|
|
71
70
|
gap: var(--semantics-buttons-md-gap);
|
|
71
|
+
font: var(--semantics-buttons-md-font);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* ## Icon-only sizes */
|
|
@@ -182,11 +182,11 @@ export const toggleButtonStyles = css `
|
|
|
182
182
|
.toggle-button__input {
|
|
183
183
|
position: absolute;
|
|
184
184
|
inset: 0;
|
|
185
|
-
width: 100%;
|
|
186
|
-
height: 100%;
|
|
187
|
-
margin: 0;
|
|
188
185
|
opacity: 0;
|
|
189
186
|
z-index: 1;
|
|
187
|
+
margin: 0;
|
|
188
|
+
width: 100%;
|
|
189
|
+
height: 100%;
|
|
190
190
|
}
|
|
191
191
|
`;
|
|
192
192
|
//# sourceMappingURL=toggle-button.styles.js.map
|
|
@@ -23,18 +23,18 @@ export const tokenStyles = css `
|
|
|
23
23
|
|
|
24
24
|
.token {
|
|
25
25
|
/* Reset (for menu button) */
|
|
26
|
-
appearance: none;
|
|
27
|
-
border: none;
|
|
28
26
|
margin: 0;
|
|
27
|
+
border: none;
|
|
29
28
|
background: none;
|
|
30
29
|
font: inherit;
|
|
30
|
+
appearance: none;
|
|
31
31
|
|
|
32
32
|
/* Layout */
|
|
33
33
|
display: inline-flex;
|
|
34
|
-
align-items: center;
|
|
35
34
|
box-sizing: border-box;
|
|
36
35
|
height: var(--semantics-controls-sm-min-size);
|
|
37
36
|
padding: 0 var(--primitives-space-6);
|
|
37
|
+
align-items: center;
|
|
38
38
|
|
|
39
39
|
/* Appearance */
|
|
40
40
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
@@ -57,8 +57,8 @@ export const tokenStyles = css `
|
|
|
57
57
|
|
|
58
58
|
.token__text {
|
|
59
59
|
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
60
|
padding: 0 var(--primitives-space-2);
|
|
61
|
+
align-items: center;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
@@ -66,9 +66,9 @@ export const tokenStyles = css `
|
|
|
66
66
|
|
|
67
67
|
.token__icon {
|
|
68
68
|
display: block;
|
|
69
|
-
flex-shrink: 0;
|
|
70
69
|
width: var(--primitives-space-16);
|
|
71
70
|
height: var(--primitives-space-16);
|
|
71
|
+
flex-shrink: 0;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
|
|
@@ -26,7 +26,7 @@ export function tokenTemplate(component) {
|
|
|
26
26
|
icon="dismiss-small"
|
|
27
27
|
text=${component.dismissText}
|
|
28
28
|
accessible-label=${component.dismissText}
|
|
29
|
-
|
|
29
|
+
tooltip-timing="never"
|
|
30
30
|
?disabled=${component.disabled}
|
|
31
31
|
@click=${component._handleDismiss}
|
|
32
32
|
></nldd-icon-button>
|
|
@@ -9,9 +9,9 @@ export const appViewStyles = css `
|
|
|
9
9
|
--_background-color: var(--context-parent-background-color);
|
|
10
10
|
|
|
11
11
|
display: flex;
|
|
12
|
+
background-color: var(--_background-color);
|
|
12
13
|
width: 100%;
|
|
13
14
|
height: 100%;
|
|
14
|
-
background-color: var(--_background-color);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -29,16 +29,16 @@ export const appViewStyles = css `
|
|
|
29
29
|
|
|
30
30
|
.app-view {
|
|
31
31
|
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
flex: 1;
|
|
34
32
|
min-height: 0;
|
|
35
33
|
min-width: 0;
|
|
36
34
|
overflow: hidden;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
flex: 1;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
::slotted(*) {
|
|
40
|
-
flex: 1;
|
|
41
40
|
min-height: 0;
|
|
41
|
+
flex: 1;
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
44
|
//# sourceMappingURL=app-view.styles.js.map
|
|
@@ -16,10 +16,10 @@ export const boxStyles = css `
|
|
|
16
16
|
/* # Block */
|
|
17
17
|
|
|
18
18
|
.box {
|
|
19
|
-
|
|
19
|
+
box-sizing: border-box;
|
|
20
20
|
border-radius: var(--components-box-corner-radius);
|
|
21
|
+
background-color: var(--components-box-background-color);
|
|
21
22
|
padding: var(--components-box-padding);
|
|
22
|
-
box-sizing: border-box;
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
25
|
//# sourceMappingURL=box.styles.js.map
|
|
@@ -18,12 +18,12 @@ export const cardStyles = css `
|
|
|
18
18
|
|
|
19
19
|
.card {
|
|
20
20
|
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
flex-grow: 1;
|
|
23
|
-
background-color: var(--components-card-background-color);
|
|
24
21
|
border-radius: var(--components-card-corner-radius);
|
|
25
22
|
box-shadow: var(--components-card-box-shadow);
|
|
23
|
+
background-color: var(--components-card-background-color);
|
|
26
24
|
overflow: hidden;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
flex-grow: 1;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
|
|
@@ -42,9 +42,9 @@ export const cardStyles = css `
|
|
|
42
42
|
|
|
43
43
|
.card__main {
|
|
44
44
|
display: flex;
|
|
45
|
+
min-height: 0;
|
|
45
46
|
flex-direction: column;
|
|
46
47
|
flex-grow: 1;
|
|
47
|
-
min-height: 0;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|