@cloudscape-design/components-themeable 3.0.1405 → 3.0.1406
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/action-card/styles.scss +7 -13
- package/lib/internal/scss/autosuggest/styles.scss +1 -1
- package/lib/internal/scss/button/styles.scss +5 -1
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +1 -0
- package/lib/internal/scss/button-dropdown/styles.scss +1 -1
- package/lib/internal/scss/button-group/styles.scss +1 -1
- package/lib/internal/scss/container/styles.scss +3 -25
- package/lib/internal/scss/dropdown/styles.scss +1 -11
- package/lib/internal/scss/flashbar/collapsible.scss +1 -5
- package/lib/internal/scss/flashbar/styles.scss +2 -10
- package/lib/internal/scss/input/styles.scss +2 -3
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
- package/lib/internal/scss/item-card/styles.scss +4 -21
- package/lib/internal/scss/multiselect/styles.scss +2 -5
- package/lib/internal/scss/panel-layout/styles.scss +9 -6
- package/lib/internal/scss/progress-bar/styles.scss +1 -1
- package/lib/internal/scss/prompt-input/styles.scss +3 -21
- package/lib/internal/scss/radio-button/styles.scss +9 -1
- package/lib/internal/scss/radio-group/styles.scss +1 -1
- package/lib/internal/scss/segmented-control/segment.scss +3 -3
- package/lib/internal/scss/segmented-control/styles.scss +7 -7
- package/lib/internal/scss/select/styles.scss +2 -5
- package/lib/internal/scss/slider/styles.scss +1 -1
- package/lib/internal/scss/table/styles.scss +7 -41
- package/lib/internal/scss/tabs/tab-header-bar.scss +3 -30
- package/lib/internal/scss/text-filter/styles.scss +1 -8
- package/lib/internal/scss/textarea/styles.scss +1 -1
- package/lib/internal/scss/toggle/styles.scss +4 -4
- package/lib/internal/template/action-card/index.d.ts.map +1 -1
- package/lib/internal/template/action-card/index.js +3 -2
- package/lib/internal/template/action-card/index.js.map +1 -1
- package/lib/internal/template/action-card/interfaces.d.ts +8 -0
- package/lib/internal/template/action-card/interfaces.d.ts.map +1 -1
- package/lib/internal/template/action-card/interfaces.js.map +1 -1
- package/lib/internal/template/action-card/internal.d.ts.map +1 -1
- package/lib/internal/template/action-card/internal.js +2 -2
- package/lib/internal/template/action-card/internal.js.map +1 -1
- package/lib/internal/template/action-card/styles.css.js +19 -18
- package/lib/internal/template/action-card/styles.scoped.css +116 -116
- package/lib/internal/template/action-card/styles.selectors.js +19 -18
- package/lib/internal/template/annotation-context/annotation/annotation-trigger.d.ts.map +1 -1
- package/lib/internal/template/annotation-context/annotation/annotation-trigger.js +1 -1
- package/lib/internal/template/annotation-context/annotation/annotation-trigger.js.map +1 -1
- package/lib/internal/template/autosuggest/styles.css.js +3 -3
- package/lib/internal/template/autosuggest/styles.scoped.css +4 -4
- package/lib/internal/template/autosuggest/styles.selectors.js +3 -3
- package/lib/internal/template/button/styles.css.js +24 -24
- package/lib/internal/template/button/styles.scoped.css +81 -81
- package/lib/internal/template/button/styles.selectors.js +24 -24
- package/lib/internal/template/button-dropdown/internal.js +1 -1
- package/lib/internal/template/button-dropdown/internal.js.map +1 -1
- package/lib/internal/template/button-dropdown/styles.css.js +23 -23
- package/lib/internal/template/button-dropdown/styles.scoped.css +32 -32
- package/lib/internal/template/button-dropdown/styles.selectors.js +23 -23
- package/lib/internal/template/button-group/internal-interfaces.d.ts +3 -2
- package/lib/internal/template/button-group/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-group/internal-interfaces.js.map +1 -1
- package/lib/internal/template/button-group/item-element.d.ts.map +1 -1
- package/lib/internal/template/button-group/item-element.js +2 -1
- package/lib/internal/template/button-group/item-element.js.map +1 -1
- package/lib/internal/template/button-group/styles.css.js +4 -4
- package/lib/internal/template/button-group/styles.scoped.css +5 -5
- package/lib/internal/template/button-group/styles.selectors.js +4 -4
- package/lib/internal/template/cards/index.js +1 -1
- package/lib/internal/template/cards/index.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +33 -33
- package/lib/internal/template/container/styles.scoped.css +67 -70
- package/lib/internal/template/container/styles.selectors.js +33 -33
- package/lib/internal/template/dropdown/internal.d.ts +1 -1
- package/lib/internal/template/dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/dropdown/internal.js +1 -1
- package/lib/internal/template/dropdown/internal.js.map +1 -1
- package/lib/internal/template/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +38 -40
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/collapsible-flashbar.js +3 -2
- package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/internal-interfaces.d.ts +3 -2
- package/lib/internal/template/flashbar/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/flashbar/internal-interfaces.js.map +1 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.js +2 -1
- package/lib/internal/template/flashbar/non-collapsible-flashbar.js.map +1 -1
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +148 -151
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/input/styles.css.js +45 -45
- package/lib/internal/template/input/styles.scoped.css +91 -91
- package/lib/internal/template/input/styles.selectors.js +45 -45
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/index.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/use-listbox.d.ts +2 -2
- package/lib/internal/template/internal/components/listbox/use-listbox.d.ts.map +1 -1
- package/lib/internal/template/internal/components/listbox/use-listbox.js +10 -1
- package/lib/internal/template/internal/components/listbox/use-listbox.js.map +1 -1
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/utils/style-slot.d.ts +3 -0
- package/lib/internal/template/internal/utils/style-slot.d.ts.map +1 -0
- package/lib/internal/template/internal/utils/style-slot.js +6 -0
- package/lib/internal/template/internal/utils/style-slot.js.map +1 -0
- package/lib/internal/template/item-card/index.d.ts +1 -1
- package/lib/internal/template/item-card/index.d.ts.map +1 -1
- package/lib/internal/template/item-card/index.js +3 -2
- package/lib/internal/template/item-card/index.js.map +1 -1
- package/lib/internal/template/item-card/interfaces.d.ts +8 -0
- package/lib/internal/template/item-card/interfaces.d.ts.map +1 -1
- package/lib/internal/template/item-card/interfaces.js.map +1 -1
- package/lib/internal/template/item-card/internal-interfaces.d.ts +0 -4
- package/lib/internal/template/item-card/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/item-card/internal-interfaces.js.map +1 -1
- package/lib/internal/template/item-card/internal.d.ts +1 -1
- package/lib/internal/template/item-card/internal.d.ts.map +1 -1
- package/lib/internal/template/item-card/internal.js +2 -2
- package/lib/internal/template/item-card/internal.js.map +1 -1
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +61 -66
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/multiselect/internal.js +1 -1
- package/lib/internal/template/multiselect/internal.js.map +1 -1
- package/lib/internal/template/multiselect/styles.css.js +5 -5
- package/lib/internal/template/multiselect/styles.scoped.css +7 -9
- package/lib/internal/template/multiselect/styles.selectors.js +5 -5
- package/lib/internal/template/option-list/use-option-list.d.ts +2 -2
- package/lib/internal/template/option-list/use-option-list.d.ts.map +1 -1
- package/lib/internal/template/option-list/use-option-list.js +5 -22
- package/lib/internal/template/option-list/use-option-list.js.map +1 -1
- package/lib/internal/template/panel-layout/index.d.ts.map +1 -1
- package/lib/internal/template/panel-layout/index.js +3 -3
- package/lib/internal/template/panel-layout/index.js.map +1 -1
- package/lib/internal/template/panel-layout/interfaces.d.ts +9 -2
- package/lib/internal/template/panel-layout/interfaces.d.ts.map +1 -1
- package/lib/internal/template/panel-layout/interfaces.js.map +1 -1
- package/lib/internal/template/panel-layout/internal.d.ts.map +1 -1
- package/lib/internal/template/panel-layout/internal.js +3 -3
- package/lib/internal/template/panel-layout/internal.js.map +1 -1
- package/lib/internal/template/panel-layout/styles.css.js +8 -7
- package/lib/internal/template/panel-layout/styles.scoped.css +20 -16
- package/lib/internal/template/panel-layout/styles.selectors.js +8 -7
- package/lib/internal/template/progress-bar/internal.d.ts +1 -1
- package/lib/internal/template/progress-bar/internal.js +1 -1
- package/lib/internal/template/progress-bar/internal.js.map +1 -1
- package/lib/internal/template/progress-bar/styles.css.js +20 -20
- package/lib/internal/template/progress-bar/styles.scoped.css +32 -32
- package/lib/internal/template/progress-bar/styles.selectors.js +20 -20
- package/lib/internal/template/prompt-input/components/token-mode.js +1 -1
- package/lib/internal/template/prompt-input/components/token-mode.js.map +1 -1
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +55 -57
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/radio-button/styles.css.js +1 -1
- package/lib/internal/template/radio-button/styles.scoped.css +2 -1
- package/lib/internal/template/radio-button/styles.selectors.js +1 -1
- package/lib/internal/template/radio-group/internal.d.ts +1 -1
- package/lib/internal/template/radio-group/internal.d.ts.map +1 -1
- package/lib/internal/template/radio-group/internal.js +1 -1
- package/lib/internal/template/radio-group/internal.js.map +1 -1
- package/lib/internal/template/radio-group/styles.css.js +5 -5
- package/lib/internal/template/radio-group/styles.scoped.css +7 -7
- package/lib/internal/template/radio-group/styles.selectors.js +5 -5
- package/lib/internal/template/segmented-control/styles.css.js +31 -31
- package/lib/internal/template/segmented-control/styles.scoped.css +75 -77
- package/lib/internal/template/segmented-control/styles.selectors.js +31 -31
- package/lib/internal/template/select/internal.js +1 -1
- package/lib/internal/template/select/internal.js.map +1 -1
- package/lib/internal/template/select/styles.css.js +3 -3
- package/lib/internal/template/select/styles.scoped.css +5 -7
- package/lib/internal/template/select/styles.selectors.js +3 -3
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +78 -78
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/styling/button.scss +7 -1
- package/lib/internal/template/styling/dropdown.scss +2 -2
- package/lib/internal/template/styling/progress-bar.scss +2 -2
- package/lib/internal/template/styling/segmented-control.scss +4 -4
- package/lib/internal/template/styling/table.scss +1 -3
- package/lib/internal/template/styling/toggle.scss +2 -2
- package/lib/internal/template/table/body-cell/disabled-inline-editor.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/disabled-inline-editor.js +1 -1
- package/lib/internal/template/table/body-cell/disabled-inline-editor.js.map +1 -1
- package/lib/internal/template/table/body-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/index.js +1 -1
- package/lib/internal/template/table/body-cell/index.js.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js.map +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +1 -1
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +1 -1
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/selection/selection-cell.d.ts.map +1 -1
- package/lib/internal/template/table/selection/selection-cell.js +1 -1
- package/lib/internal/template/table/selection/selection-cell.js.map +1 -1
- package/lib/internal/template/table/style-api.d.ts +1 -3
- package/lib/internal/template/table/style-api.d.ts.map +1 -1
- package/lib/internal/template/table/style-api.js +1 -3
- package/lib/internal/template/table/style-api.js.map +1 -1
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +49 -59
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/tabs/styles.css.js +30 -30
- package/lib/internal/template/tabs/styles.scoped.css +50 -57
- package/lib/internal/template/tabs/styles.selectors.js +30 -30
- package/lib/internal/template/tabs/tab-header-bar.d.ts +3 -2
- package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
- package/lib/internal/template/tabs/tab-header-bar.js +2 -1
- package/lib/internal/template/tabs/tab-header-bar.js.map +1 -1
- package/lib/internal/template/text-filter/styles.css.js +3 -3
- package/lib/internal/template/text-filter/styles.scoped.css +3 -4
- package/lib/internal/template/text-filter/styles.selectors.js +3 -3
- package/lib/internal/template/textarea/styles.css.js +9 -9
- package/lib/internal/template/textarea/styles.scoped.css +18 -18
- package/lib/internal/template/textarea/styles.selectors.js +9 -9
- package/lib/internal/template/toggle/internal.d.ts.map +1 -1
- package/lib/internal/template/toggle/internal.js +1 -1
- package/lib/internal/template/toggle/internal.js.map +1 -1
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +26 -26
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js +2 -2
- package/lib/internal/template/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,23 +21,13 @@ $tokens: mixins.$tokens;
|
|
|
21
21
|
$tokens,
|
|
22
22
|
$properties: (background),
|
|
23
23
|
$descriptions: (
|
|
24
|
-
slot:
|
|
25
|
-
'This is NOT a semantic button element. Use `:has(:hover)` or `:has(:active)` to target semantic button states. `disabled` is set by you: pass a different class when it is true.',
|
|
24
|
+
slot: 'Not a button element: use `:has(:hover)` and `:has(:active)` for interaction states.',
|
|
26
25
|
tokens: (
|
|
27
|
-
border-
|
|
28
|
-
border-width: 'The border is drawn over the card edges and takes no space.',
|
|
29
|
-
border-radius: 'Also rounds the header corners that meet the card corners.',
|
|
26
|
+
border-width: 'Drawn over the card edges; takes no space.',
|
|
30
27
|
)
|
|
31
28
|
)
|
|
32
29
|
);
|
|
33
|
-
@include style-api.docs(
|
|
34
|
-
'header',
|
|
35
|
-
$properties: (background, border),
|
|
36
|
-
$descriptions: (
|
|
37
|
-
slot:
|
|
38
|
-
'Rendered when `header` or `description` is set. The block-end border is the divider between the header and the content. With a top-aligned `icon`, the header spans the full card width, icon included. With a centered `icon`, the icon column stays outside the header.'
|
|
39
|
-
)
|
|
40
|
-
);
|
|
30
|
+
@include style-api.docs('header', $properties: (background, border));
|
|
41
31
|
.header {
|
|
42
32
|
border-block-end: 0 solid transparent;
|
|
43
33
|
&-inner {
|
|
@@ -188,6 +178,10 @@ $tokens: mixins.$tokens;
|
|
|
188
178
|
}
|
|
189
179
|
}
|
|
190
180
|
|
|
181
|
+
&.fit-height {
|
|
182
|
+
block-size: 100%;
|
|
183
|
+
}
|
|
184
|
+
|
|
191
185
|
&.icon-vertical-align-center > .icon {
|
|
192
186
|
align-self: center;
|
|
193
187
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@use '../internal/styles/style-api' as style-api;
|
|
7
7
|
|
|
8
8
|
@include style-api.docs-forward('input', 'input');
|
|
9
|
-
@include style-api.docs-forward('dropdown', 'dropdown', '
|
|
9
|
+
@include style-api.docs-forward('dropdown', 'dropdown', 'root');
|
|
10
10
|
|
|
11
11
|
.root {
|
|
12
12
|
inline-size: 100%;
|
|
@@ -15,7 +15,11 @@
|
|
|
15
15
|
|
|
16
16
|
$tokens: style-api.resolve(style-api.$focus-ring, carrier);
|
|
17
17
|
@include style-api.register($tokens);
|
|
18
|
-
@include style-api.docs(
|
|
18
|
+
@include style-api.docs(
|
|
19
|
+
'root',
|
|
20
|
+
$tokens,
|
|
21
|
+
$properties: (color, background, border, border-radius, padding, box-shadow, font-family, font-size, font-weight)
|
|
22
|
+
);
|
|
19
23
|
|
|
20
24
|
@mixin adjust-for-variant($variant) {
|
|
21
25
|
background: var(#{custom-props.$styleBackgroundDefault}, map.get($variant, 'default-background'));
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
@include style-api.docs-forward('trigger', 'button', 'root');
|
|
12
12
|
@include style-api.docs-forward('mainAction', 'button', 'root');
|
|
13
|
-
@include style-api.docs-forward('dropdown', 'dropdown', '
|
|
13
|
+
@include style-api.docs-forward('dropdown', 'dropdown', 'root');
|
|
14
14
|
|
|
15
15
|
$dropdown-trigger-icon-offset: 2px;
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ $divider-tokens: style-api.resolve((line-color, line-width), carrier);
|
|
|
10
10
|
@include style-api.register($divider-tokens);
|
|
11
11
|
@include style-api.docs('divider', $divider-tokens);
|
|
12
12
|
@include style-api.docs-forward('item', 'button', 'root');
|
|
13
|
-
@include style-api.docs-forward('dropdown', 'dropdown', '
|
|
13
|
+
@include style-api.docs-forward('dropdown', 'dropdown', 'root');
|
|
14
14
|
|
|
15
15
|
.root {
|
|
16
16
|
@include styles.styles-reset;
|
|
@@ -14,31 +14,9 @@
|
|
|
14
14
|
// root's non-inheriting public token: it is re-anchored as a carrier on the root.
|
|
15
15
|
$tokens: style-api.resolve((border-radius), carrier);
|
|
16
16
|
@include style-api.register($tokens);
|
|
17
|
-
@include style-api.docs(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$properties: (background, border, box-shadow),
|
|
21
|
-
$descriptions: (
|
|
22
|
-
tokens: (
|
|
23
|
-
border-radius:
|
|
24
|
-
'Also rounds the header, footer and media corners. Adjoining corners of stacked containers stay square.',
|
|
25
|
-
)
|
|
26
|
-
)
|
|
27
|
-
);
|
|
28
|
-
@include style-api.docs(
|
|
29
|
-
'header',
|
|
30
|
-
$properties: (background, border),
|
|
31
|
-
$descriptions: (
|
|
32
|
-
slot: 'Rendered when `header` is set. The block-end border is the divider between the header and the content.'
|
|
33
|
-
)
|
|
34
|
-
);
|
|
35
|
-
@include style-api.docs(
|
|
36
|
-
'footer',
|
|
37
|
-
$properties: (background, border),
|
|
38
|
-
$descriptions: (
|
|
39
|
-
slot: 'Rendered when `footer` is set. The block-start border is the divider between the content and the footer.'
|
|
40
|
-
)
|
|
41
|
-
);
|
|
17
|
+
@include style-api.docs('root', $tokens, $properties: (background, border, box-shadow));
|
|
18
|
+
@include style-api.docs('header', $properties: (background, border));
|
|
19
|
+
@include style-api.docs('footer', $properties: (background, border));
|
|
42
20
|
|
|
43
21
|
// Style API token, then the `style.root.borderRadius` custom property, then the design token.
|
|
44
22
|
$border-radius: style-api.value(
|
|
@@ -11,17 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
$tokens: style-api.resolve((outline-color, outline-width), carrier);
|
|
13
13
|
@include style-api.register($tokens);
|
|
14
|
-
@include style-api.docs(
|
|
15
|
-
'container',
|
|
16
|
-
$tokens,
|
|
17
|
-
$properties: (background, border-radius, box-shadow),
|
|
18
|
-
$descriptions: (
|
|
19
|
-
tokens: (
|
|
20
|
-
outline-color: 'Color of the line drawn over the dropdown edges. Unlike a border, it takes no space.',
|
|
21
|
-
outline-width: 'Width of the line drawn over the dropdown edges. Unlike a border, it takes no space.',
|
|
22
|
-
)
|
|
23
|
-
)
|
|
24
|
-
);
|
|
14
|
+
@include style-api.docs('root', $tokens, $properties: (background, border-radius, box-shadow));
|
|
25
15
|
|
|
26
16
|
.root {
|
|
27
17
|
@include styles.styles-reset;
|
|
@@ -17,11 +17,7 @@ $_bar-tokens: style-api.resolve(style-api.$focus-ring, carrier);
|
|
|
17
17
|
@include style-api.docs(
|
|
18
18
|
'notificationBar',
|
|
19
19
|
$_bar-tokens,
|
|
20
|
-
$properties: (color, background, border, border-radius, box-shadow, padding)
|
|
21
|
-
$descriptions: (
|
|
22
|
-
slot:
|
|
23
|
-
'The bar under the stacked messages that expands and collapses the stack. Rendered for `stackItems` with more than one message; use `:hover` and `:active` for interaction states.'
|
|
24
|
-
)
|
|
20
|
+
$properties: (color, background, border, border-radius, box-shadow, padding)
|
|
25
21
|
);
|
|
26
22
|
|
|
27
23
|
$notification-bar-top-overlap: (
|
|
@@ -19,17 +19,9 @@ $_item-tokens: style-api.resolve(style-api.$focus-ring, carrier);
|
|
|
19
19
|
@include style-api.docs(
|
|
20
20
|
'item',
|
|
21
21
|
$_item-tokens,
|
|
22
|
-
$properties: (color, background, border, border-radius, box-shadow, padding)
|
|
23
|
-
$descriptions: (
|
|
24
|
-
slot:
|
|
25
|
-
'One flash message: its box and focus ring. Accepts a class name, or a function of `{ item }` that returns one, so each `type` can take its own class.'
|
|
26
|
-
)
|
|
27
|
-
);
|
|
28
|
-
@include style-api.docs(
|
|
29
|
-
'icon',
|
|
30
|
-
$properties: (color),
|
|
31
|
-
$descriptions: (slot: 'The status icon, or the spinner for `loading`.')
|
|
22
|
+
$properties: (color, background, border, border-radius, box-shadow, padding)
|
|
32
23
|
);
|
|
24
|
+
@include style-api.docs('icon', $properties: (color));
|
|
33
25
|
@include style-api.docs-forward('dismissButton', 'button', 'root');
|
|
34
26
|
|
|
35
27
|
.flashbar {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
$properties: (background, border, border-radius, box-shadow),
|
|
16
16
|
$descriptions: (
|
|
17
17
|
properties: (
|
|
18
|
-
box-shadow: 'Also draws the focus ring
|
|
18
|
+
box-shadow: 'Also draws the focus ring.',
|
|
19
19
|
)
|
|
20
20
|
)
|
|
21
21
|
);
|
|
@@ -33,8 +33,7 @@ $input-tokens: style-api.resolve(
|
|
|
33
33
|
$properties: (color, padding, font-family, font-size, font-weight),
|
|
34
34
|
$descriptions: (
|
|
35
35
|
properties: (
|
|
36
|
-
padding:
|
|
37
|
-
'Replaces the inline padding reserved for the search icon and the clear button; include that room when styling search inputs.',
|
|
36
|
+
padding: 'Replaces the padding reserved for the search icon and the clear button.',
|
|
38
37
|
)
|
|
39
38
|
)
|
|
40
39
|
);
|
|
@@ -21,30 +21,13 @@ $radius-tokens: style-api.resolve((border-radius), carrier);
|
|
|
21
21
|
map.merge($border-tokens, $radius-tokens),
|
|
22
22
|
$properties: (background, box-shadow),
|
|
23
23
|
$descriptions: (
|
|
24
|
-
slot:
|
|
25
|
-
'The card box. The header, content and footer contents are your own elements; use `disableHeaderPaddings`, `disableContentPaddings` and `disableFooterPaddings` to let them fill their section.',
|
|
26
24
|
tokens: (
|
|
27
|
-
border-
|
|
28
|
-
border-width: 'The border is drawn over the card edges and takes no space.',
|
|
29
|
-
border-radius: 'Also rounds the header and footer corners.',
|
|
25
|
+
border-width: 'Drawn over the card edges; takes no space.',
|
|
30
26
|
)
|
|
31
27
|
)
|
|
32
28
|
);
|
|
33
|
-
@include style-api.docs(
|
|
34
|
-
|
|
35
|
-
$properties: (background, border),
|
|
36
|
-
$descriptions: (
|
|
37
|
-
slot:
|
|
38
|
-
'Rendered when `header`, `description`, `icon` or `actions` is set. The block-end border is the divider between the header and the content.'
|
|
39
|
-
)
|
|
40
|
-
);
|
|
41
|
-
@include style-api.docs(
|
|
42
|
-
'footer',
|
|
43
|
-
$properties: (background, border),
|
|
44
|
-
$descriptions: (
|
|
45
|
-
slot: 'Rendered when `footer` is set. The block-start border is the divider between the content and the footer.'
|
|
46
|
-
)
|
|
47
|
-
);
|
|
29
|
+
@include style-api.docs('header', $properties: (background, border));
|
|
30
|
+
@include style-api.docs('footer', $properties: (background, border));
|
|
48
31
|
|
|
49
32
|
// Variant configuration maps — adjust values here for easy customization
|
|
50
33
|
$variant-border-radius: (
|
|
@@ -246,7 +229,7 @@ $action-padding-horizontal: awsui.$space-xxs;
|
|
|
246
229
|
}
|
|
247
230
|
}
|
|
248
231
|
|
|
249
|
-
.
|
|
232
|
+
.fit-height {
|
|
250
233
|
block-size: 100%;
|
|
251
234
|
}
|
|
252
235
|
|
|
@@ -15,17 +15,14 @@ $trigger-tokens: style-api.resolve((placeholder-color), carrier);
|
|
|
15
15
|
$trigger-tokens,
|
|
16
16
|
$properties: (color, background, border, border-radius, box-shadow, padding, font-family, font-size, font-weight),
|
|
17
17
|
$descriptions: (
|
|
18
|
-
slot:
|
|
19
|
-
'The trigger button, which is also the field box. Pass a different class for the states you control (`invalid`, `warning`, `disabled`, `readOnly`); use `:hover` and `:focus` for interaction states.',
|
|
20
18
|
properties: (
|
|
21
|
-
|
|
22
|
-
box-shadow: 'Also draws the focus ring under `:focus`.',
|
|
19
|
+
box-shadow: 'Also draws the focus ring.',
|
|
23
20
|
)
|
|
24
21
|
)
|
|
25
22
|
);
|
|
26
23
|
@include style-api.docs('inlineLabel', $properties: (color, background, font-family, font-size, font-weight));
|
|
27
24
|
@include style-api.docs-forward('filter', 'input');
|
|
28
|
-
@include style-api.docs-forward('dropdown', 'dropdown', '
|
|
25
|
+
@include style-api.docs-forward('dropdown', 'dropdown', 'root');
|
|
29
26
|
@include style-api.docs-forward('token', 'token');
|
|
30
27
|
|
|
31
28
|
.root {
|
|
@@ -23,10 +23,17 @@
|
|
|
23
23
|
.root {
|
|
24
24
|
@include styles.styles-reset;
|
|
25
25
|
block-size: 100%;
|
|
26
|
-
overflow: hidden;
|
|
27
26
|
display: flex;
|
|
28
27
|
}
|
|
29
28
|
|
|
29
|
+
.panel-content,
|
|
30
|
+
.content {
|
|
31
|
+
min-inline-size: 0;
|
|
32
|
+
&.scrollable {
|
|
33
|
+
overflow-y: auto;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
30
37
|
.panel {
|
|
31
38
|
display: flex;
|
|
32
39
|
flex-shrink: 0;
|
|
@@ -35,8 +42,6 @@
|
|
|
35
42
|
align-items: center;
|
|
36
43
|
}
|
|
37
44
|
> .panel-content {
|
|
38
|
-
overflow-y: auto;
|
|
39
|
-
overflow-x: visible;
|
|
40
45
|
flex-grow: 1;
|
|
41
46
|
@include focus-visible.when-visible {
|
|
42
47
|
@include container-inner-focus-ring;
|
|
@@ -47,13 +52,11 @@
|
|
|
47
52
|
}
|
|
48
53
|
.display-panel-only > & {
|
|
49
54
|
flex: 1;
|
|
50
|
-
|
|
51
|
-
overflow-x: visible;
|
|
55
|
+
min-inline-size: 0;
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
.content {
|
|
56
|
-
overflow-y: auto;
|
|
57
60
|
flex-grow: 1;
|
|
58
61
|
flex-shrink: 1;
|
|
59
62
|
.display-panel-only > & {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$progress-bar-tokens: style-api.resolve((track-color, value-color, bar-block-size, bar-border-radius), carrier);
|
|
13
13
|
@include style-api.register($progress-bar-tokens);
|
|
14
14
|
@include style-api.docs('root', $progress-bar-tokens);
|
|
15
|
-
@include style-api.docs('
|
|
15
|
+
@include style-api.docs('valueLabel', $properties: (color, font-family, font-size, font-weight));
|
|
16
16
|
|
|
17
17
|
$progress-height: style-api.value(
|
|
18
18
|
$progress-bar-tokens,
|
|
@@ -12,17 +12,7 @@
|
|
|
12
12
|
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
|
|
13
13
|
@use '../internal/styles/style-api' as style-api;
|
|
14
14
|
|
|
15
|
-
@include style-api.docs(
|
|
16
|
-
'root',
|
|
17
|
-
$properties: (background, border, border-radius, box-shadow),
|
|
18
|
-
$descriptions: (
|
|
19
|
-
slot:
|
|
20
|
-
'The field box which contains the text element, the secondary content, the secondary actions and the action button. Pass a different class for the states you control (`invalid`, `warning`, `disabled`, `readOnly`); use `:hover` and `:focus-within` for interaction states, as shown for Input.root.',
|
|
21
|
-
properties: (
|
|
22
|
-
box-shadow: 'Also draws the focus ring under `:focus-within`.',
|
|
23
|
-
)
|
|
24
|
-
)
|
|
25
|
-
);
|
|
15
|
+
@include style-api.docs('root', $properties: (background, border, border-radius, box-shadow), $descriptions: (properties: (box-shadow: 'Also draws the focus ring.',)));
|
|
26
16
|
|
|
27
17
|
// Carriers: the placeholder pseudo-elements read these tokens by inheritance, which non-inheriting public tokens do not allow.
|
|
28
18
|
$textarea-tokens: style-api.resolve(
|
|
@@ -30,19 +20,11 @@ $textarea-tokens: style-api.resolve(
|
|
|
30
20
|
carrier
|
|
31
21
|
);
|
|
32
22
|
@include style-api.register($textarea-tokens);
|
|
33
|
-
@include style-api.docs(
|
|
34
|
-
'textarea',
|
|
35
|
-
$textarea-tokens,
|
|
36
|
-
$properties: (color, padding, font-family, font-size, font-weight),
|
|
37
|
-
$descriptions: (
|
|
38
|
-
slot:
|
|
39
|
-
'The text element: the native textarea, or the editable element when `tokens` is set. Use `:hover` and `:focus` for interaction states; pass a different class for `disabled` and `readOnly`.'
|
|
40
|
-
)
|
|
41
|
-
);
|
|
23
|
+
@include style-api.docs('textarea', $textarea-tokens, $properties: (color, padding, font-family, font-size, font-weight));
|
|
42
24
|
|
|
43
25
|
@include style-api.docs-forward('actionButton', 'button', 'root');
|
|
44
26
|
@include style-api.docs-forward('token', 'token', 'root');
|
|
45
|
-
@include style-api.docs-forward('menu', 'dropdown', '
|
|
27
|
+
@include style-api.docs-forward('menu', 'dropdown', 'root');
|
|
46
28
|
|
|
47
29
|
$send-icon-right-spacing: awsui.$space-static-xxs;
|
|
48
30
|
$invalid-border-offset: constants.$invalid-control-left-padding;
|
|
@@ -9,7 +9,15 @@
|
|
|
9
9
|
// The control slot is painted by the shared internal radio button, which reads the same token map and registers it.
|
|
10
10
|
$control-props: style-api.combine((fill-color, border-color, indicator-color), style-api.$focus-ring);
|
|
11
11
|
$control-tokens: style-api.resolve($control-props, carrier);
|
|
12
|
-
@include style-api.docs(
|
|
12
|
+
@include style-api.docs(
|
|
13
|
+
'control',
|
|
14
|
+
$control-tokens,
|
|
15
|
+
$descriptions: (
|
|
16
|
+
tokens: (
|
|
17
|
+
fill-color: 'The inside of the circle; the ring when checked.',
|
|
18
|
+
)
|
|
19
|
+
)
|
|
20
|
+
);
|
|
13
21
|
|
|
14
22
|
.radio-button {
|
|
15
23
|
@include styles.styles-reset;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@use '../internal/styles/tokens' as awsui;
|
|
8
8
|
@use '../internal/styles/style-api' as style-api;
|
|
9
9
|
|
|
10
|
-
@include style-api.docs-forward('
|
|
10
|
+
@include style-api.docs-forward('item', 'radio-button');
|
|
11
11
|
|
|
12
12
|
.radio-group {
|
|
13
13
|
@include styles.styles-reset;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// focus ring and the divider (the ::after of the segment) read carriers re-anchored on the segment.
|
|
16
16
|
$root-tokens: style-api.resolve((border-radius), carrier);
|
|
17
17
|
$segment-tokens: style-api.resolve(style-api.$focus-ring, carrier);
|
|
18
|
-
$divider-tokens: style-api.resolve((color, width), carrier);
|
|
18
|
+
$divider-tokens: style-api.resolve((line-color, line-width), carrier);
|
|
19
19
|
@include style-api.register($segment-tokens, $divider-tokens);
|
|
20
20
|
|
|
21
21
|
$default-background: var(#{custom-props.$styleBackgroundDefault}, awsui.$color-background-segment-default);
|
|
@@ -110,8 +110,8 @@ $segment-radius: calc($root-radius - (#{awsui.$border-width-field} + #{awsui.$bo
|
|
|
110
110
|
inset-inline-end: calc(-1 * ($segment-gap + $segment-divider-width));
|
|
111
111
|
block-size: calc(100% - (($segment-gap + awsui.$space-static-xxxs) * 2));
|
|
112
112
|
min-block-size: calc(awsui.$line-height-body-m - $segment-gap * 2);
|
|
113
|
-
inline-size: style-api.value($divider-tokens, width, $segment-divider-width);
|
|
114
|
-
background: style-api.value($divider-tokens, color, awsui.$color-border-segment-divider);
|
|
113
|
+
inline-size: style-api.value($divider-tokens, line-width, $segment-divider-width);
|
|
114
|
+
background: style-api.value($divider-tokens, line-color, awsui.$color-border-segment-divider);
|
|
115
115
|
z-index: 1;
|
|
116
116
|
}
|
|
117
117
|
&:not(.refresh):not(:last-child)::after {
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
'root',
|
|
18
18
|
seg.$root-tokens,
|
|
19
19
|
$properties: (background, border),
|
|
20
|
-
$descriptions: (
|
|
20
|
+
$descriptions: (
|
|
21
|
+
tokens: (
|
|
22
|
+
border-radius: 'Also applies to the segments.',
|
|
23
|
+
)
|
|
24
|
+
)
|
|
21
25
|
);
|
|
22
26
|
@include style-api.docs(
|
|
23
27
|
'segment',
|
|
24
28
|
seg.$segment-tokens,
|
|
25
|
-
$properties: (color, background, border, border-radius, box-shadow, padding, font-family, font-size, font-weight)
|
|
26
|
-
$descriptions: (
|
|
27
|
-
slot:
|
|
28
|
-
'Every segment button. Target the selected segment with `[aria-pressed=true]`, a disabled segment with `:disabled` or `[aria-disabled=true]`, and the hover state with `:hover`.'
|
|
29
|
-
)
|
|
29
|
+
$properties: (color, background, border, border-radius, box-shadow, padding, font-family, font-size, font-weight)
|
|
30
30
|
);
|
|
31
|
-
@include style-api.docs('divider', seg.$divider-tokens
|
|
31
|
+
@include style-api.docs('divider', seg.$divider-tokens);
|
|
32
32
|
@include style-api.docs-forward('select', 'select');
|
|
33
33
|
|
|
34
34
|
@function repeatValue($value, $times) {
|
|
@@ -13,17 +13,14 @@ $trigger-tokens: style-api.resolve((placeholder-color), carrier);
|
|
|
13
13
|
$trigger-tokens,
|
|
14
14
|
$properties: (color, background, border, border-radius, box-shadow, padding, font-family, font-size, font-weight),
|
|
15
15
|
$descriptions: (
|
|
16
|
-
slot:
|
|
17
|
-
'The trigger button, which is also the field box. Pass a different class for the states you control (`invalid`, `warning`, `disabled`, `readOnly`); use `:hover` and `:focus` for interaction states.',
|
|
18
16
|
properties: (
|
|
19
|
-
|
|
20
|
-
box-shadow: 'Also draws the focus ring under `:focus`.',
|
|
17
|
+
box-shadow: 'Also draws the focus ring.',
|
|
21
18
|
)
|
|
22
19
|
)
|
|
23
20
|
);
|
|
24
21
|
@include style-api.docs('inlineLabel', $properties: (color, background, font-family, font-size, font-weight));
|
|
25
22
|
@include style-api.docs-forward('filter', 'input');
|
|
26
|
-
@include style-api.docs-forward('dropdown', 'dropdown', '
|
|
23
|
+
@include style-api.docs-forward('dropdown', 'dropdown', 'root');
|
|
27
24
|
|
|
28
25
|
.root {
|
|
29
26
|
@include styles.styles-reset;
|
|
@@ -18,7 +18,7 @@ $root-tokens: style-api.resolve((track-color, value-color), carrier);
|
|
|
18
18
|
mixins.$handle-tokens,
|
|
19
19
|
$descriptions: (
|
|
20
20
|
tokens: (
|
|
21
|
-
halo-color: '
|
|
21
|
+
halo-color: 'Defaults to the fill color.',
|
|
22
22
|
)
|
|
23
23
|
)
|
|
24
24
|
);
|
|
@@ -26,61 +26,27 @@
|
|
|
26
26
|
table-style-api.$root-tokens,
|
|
27
27
|
$descriptions: (
|
|
28
28
|
tokens: (
|
|
29
|
-
|
|
30
|
-
selected-row-outline-radius: 'Corner radius of the outline around selected rows.',
|
|
31
|
-
sticky-header-shadow:
|
|
32
|
-
'Shadow below the header while it is stuck. Its first layer draws the line below the header.',
|
|
29
|
+
sticky-header-shadow: 'Its first layer draws the line below the header.',
|
|
33
30
|
)
|
|
34
31
|
)
|
|
35
32
|
);
|
|
36
33
|
@include style-api.docs(
|
|
37
34
|
'headerCell',
|
|
38
35
|
table-style-api.$header-cell-tokens,
|
|
39
|
-
$properties: (background, color, font-family, font-size, font-weight
|
|
36
|
+
$properties: (background, color, font-family, font-size, font-weight),
|
|
40
37
|
$descriptions: (
|
|
41
|
-
slot: 'Column, column group and selection header cells.',
|
|
42
38
|
tokens: (
|
|
43
39
|
border-color: 'Line below the cell.',
|
|
44
|
-
divider-color: 'Line at the inline end of the cell
|
|
45
|
-
focus-ring-color: 'Keyboard navigation focus ring of the cell and its resize handle.',
|
|
40
|
+
divider-color: 'Line at the inline end of the cell.',
|
|
46
41
|
)
|
|
47
42
|
)
|
|
48
43
|
);
|
|
49
|
-
@include style-api.docs(
|
|
50
|
-
|
|
51
|
-
$properties: (color),
|
|
52
|
-
$descriptions: (
|
|
53
|
-
slot:
|
|
54
|
-
'Sort button of sortable column header cells. Inherits the header cell color; use `:hover` for the interaction state.'
|
|
55
|
-
)
|
|
56
|
-
);
|
|
57
|
-
@include style-api.docs(
|
|
58
|
-
'sortingIndicator',
|
|
59
|
-
$properties: (color),
|
|
60
|
-
$descriptions: (slot: 'Sorting indicator of column header cells, including the multi-column sort priority.')
|
|
61
|
-
);
|
|
44
|
+
@include style-api.docs('sortingButton', $properties: (color));
|
|
45
|
+
@include style-api.docs('sortingIndicator', $properties: (color));
|
|
62
46
|
@include style-api.docs-forward('sortingMenu', 'button-dropdown');
|
|
63
47
|
@include style-api.docs-forward('clearSortButton', 'button', 'root');
|
|
64
|
-
@include style-api.docs(
|
|
65
|
-
|
|
66
|
-
table-style-api.$row-tokens,
|
|
67
|
-
$descriptions: (
|
|
68
|
-
tokens: (
|
|
69
|
-
background-color: 'Background of every cell in the row, including sticky cells.',
|
|
70
|
-
divider-color: 'Line below the row.',
|
|
71
|
-
)
|
|
72
|
-
)
|
|
73
|
-
);
|
|
74
|
-
@include style-api.docs(
|
|
75
|
-
'cell',
|
|
76
|
-
map.merge(table-style-api.$cell-tokens, table-style-api.$cell-focus-ring-tokens),
|
|
77
|
-
$descriptions: (
|
|
78
|
-
slot: 'Body cells, including selection cells.',
|
|
79
|
-
tokens: (
|
|
80
|
-
focus-ring-color: 'Keyboard navigation focus ring. Focusable cell content keeps its own focus ring.',
|
|
81
|
-
)
|
|
82
|
-
)
|
|
83
|
-
);
|
|
48
|
+
@include style-api.docs('row', table-style-api.$row-tokens);
|
|
49
|
+
@include style-api.docs('cell', map.merge(table-style-api.$cell-tokens, table-style-api.$cell-focus-ring-tokens));
|
|
84
50
|
@include style-api.docs-forward('selectionCheckbox', 'checkbox');
|
|
85
51
|
@include style-api.docs-forward('selectionRadio', 'radio-button');
|
|
86
52
|
|
|
@@ -26,41 +26,14 @@ $content-tokens: style-api.resolve(style-api.$focus-ring, carrier);
|
|
|
26
26
|
$header-tokens,
|
|
27
27
|
$properties: (border),
|
|
28
28
|
$descriptions: (
|
|
29
|
-
slot:
|
|
30
|
-
'The bar with all tabs, the scroll buttons and `actions`. The block-end border is the divider between the tabs and the content.',
|
|
31
29
|
tokens: (
|
|
32
30
|
divider-color: 'The line between two tabs.',
|
|
33
31
|
)
|
|
34
32
|
)
|
|
35
33
|
);
|
|
36
|
-
@include style-api.docs(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$properties: (background, border, border-radius),
|
|
40
|
-
$descriptions: (
|
|
41
|
-
slot:
|
|
42
|
-
'One tab: the box around the link, the `action` and the dismiss button, and the underline of the active tab. Accepts a class name or a function of the tab returning one. Pass a different class for `disabled`, and for the active tab when you control `activeTabId`.',
|
|
43
|
-
tokens: (
|
|
44
|
-
active-indicator-color: 'The underline of the active tab.',
|
|
45
|
-
active-indicator-width: 'Thickness of the underline.',
|
|
46
|
-
active-indicator-border-radius: 'Corner radius of the underline, one length.',
|
|
47
|
-
)
|
|
48
|
-
)
|
|
49
|
-
);
|
|
50
|
-
@include style-api.docs(
|
|
51
|
-
'tabLink',
|
|
52
|
-
$link-tokens,
|
|
53
|
-
$properties: (color, padding, font-family, font-size, font-weight),
|
|
54
|
-
$descriptions: (
|
|
55
|
-
slot:
|
|
56
|
-
"The clickable element of a tab, a `button` or an `a` with `href`: its text, padding and focus ring. Use `:hover` for the interaction state; style the link of an active or disabled tab through that tab's class, for example `.my-active-tab .my-link`."
|
|
57
|
-
)
|
|
58
|
-
);
|
|
59
|
-
@include style-api.docs(
|
|
60
|
-
'content',
|
|
61
|
-
$content-tokens,
|
|
62
|
-
$descriptions: (slot: 'The panel of each tab. The focus ring shows on the active panel on keyboard focus.')
|
|
63
|
-
);
|
|
34
|
+
@include style-api.docs('tab', $tab-tokens, $properties: (background, border, border-radius));
|
|
35
|
+
@include style-api.docs('tabLink', $link-tokens, $properties: (color, padding, font-family, font-size, font-weight));
|
|
36
|
+
@include style-api.docs('content', $content-tokens);
|
|
64
37
|
@include style-api.docs-forward('dismissButton', 'button', 'root');
|
|
65
38
|
|
|
66
39
|
.tabs-header {
|
|
@@ -8,14 +8,7 @@
|
|
|
8
8
|
@use '../internal/styles/style-api' as style-api;
|
|
9
9
|
|
|
10
10
|
@include style-api.docs-forward('input', 'input');
|
|
11
|
-
@include style-api.docs(
|
|
12
|
-
'countText',
|
|
13
|
-
$properties: (color, font-family, font-size, font-weight),
|
|
14
|
-
$descriptions: (
|
|
15
|
-
slot:
|
|
16
|
-
'The results count rendered after the input. It is shown while `filteringText` and `countText` are set and the filter is not disabled.'
|
|
17
|
-
)
|
|
18
|
-
);
|
|
11
|
+
@include style-api.docs('countText', $properties: (color, font-family, font-size, font-weight));
|
|
19
12
|
|
|
20
13
|
.root {
|
|
21
14
|
@include styles.styles-reset;
|
|
@@ -22,7 +22,7 @@ $tokens: style-api.resolve(
|
|
|
22
22
|
$properties: (color, background, border, border-radius, box-shadow, padding, font-family, font-size, font-weight),
|
|
23
23
|
$descriptions: (
|
|
24
24
|
properties: (
|
|
25
|
-
box-shadow: 'Also draws the focus ring
|
|
25
|
+
box-shadow: 'Also draws the focus ring.',
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
);
|