@cloudscape-design/components 3.0.1409 → 3.0.1411
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/autosuggest/index.d.ts.map +1 -1
- package/autosuggest/index.js +1 -1
- package/autosuggest/index.js.map +1 -1
- package/autosuggest/internal.d.ts +8 -1
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +2 -2
- package/autosuggest/internal.js.map +1 -1
- package/autosuggest/styles.css.js +3 -3
- package/autosuggest/styles.scoped.css +5 -3
- package/autosuggest/styles.selectors.js +3 -3
- package/button/styles.css.js +24 -24
- package/button/styles.scoped.css +83 -79
- package/button/styles.selectors.js +24 -24
- package/cards/index.js +1 -1
- package/cards/index.js.map +1 -1
- package/container/internal.d.ts +3 -2
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +2 -2
- package/container/internal.js.map +1 -1
- package/container/use-sticky-header.d.ts +0 -14
- package/container/use-sticky-header.d.ts.map +1 -1
- package/container/use-sticky-header.js +9 -92
- package/container/use-sticky-header.js.map +1 -1
- package/copy-to-clipboard/internal.d.ts.map +1 -1
- package/copy-to-clipboard/internal.js +16 -50
- package/copy-to-clipboard/internal.js.map +1 -1
- package/copy-to-clipboard/styles.css.js +5 -10
- package/copy-to-clipboard/styles.scoped.css +6 -38
- package/copy-to-clipboard/styles.selectors.js +5 -10
- package/flashbar/collapsible-flashbar.d.ts +1 -0
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +10 -4
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/flash.d.ts +6 -0
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +6 -6
- package/flashbar/flash.js.map +1 -1
- package/flashbar/internal-interfaces.d.ts +11 -1
- package/flashbar/internal-interfaces.d.ts.map +1 -1
- package/flashbar/internal-interfaces.js.map +1 -1
- package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/non-collapsible-flashbar.js +8 -1
- package/flashbar/non-collapsible-flashbar.js.map +1 -1
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +184 -161
- package/flashbar/styles.selectors.js +50 -50
- package/icon/generated/icons.d.ts +4 -0
- package/icon/generated/icons.d.ts.map +1 -1
- package/icon/generated/icons.js +14 -0
- package/icon/generated/icons.js.map +1 -1
- package/icon/styles.css.js +44 -43
- package/icon/styles.scoped.css +109 -107
- package/icon/styles.selectors.js +44 -43
- package/icon-provider/interfaces.d.ts +1 -1
- package/icon-provider/interfaces.d.ts.map +1 -1
- package/icon-provider/interfaces.js.map +1 -1
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/base-theme/styles.scoped.css +1 -0
- package/internal/components/autosuggest-input/index.d.ts +5 -0
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +2 -2
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/option/index.d.ts.map +1 -1
- package/internal/components/option/index.js +2 -2
- package/internal/components/option/index.js.map +1 -1
- package/internal/components/option/styles.css.js +19 -18
- package/internal/components/option/styles.scoped.css +39 -33
- package/internal/components/option/styles.selectors.js +19 -18
- package/internal/components/radio-button/index.d.ts +1 -1
- package/internal/components/radio-button/index.d.ts.map +1 -1
- package/internal/components/radio-button/index.js.map +1 -1
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +36 -12
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/components/sortable-area/index.d.ts.map +1 -1
- package/internal/components/sortable-area/index.js +34 -4
- package/internal/components/sortable-area/index.js.map +1 -1
- package/internal/components/sortable-area/keyboard-sensor/index.js +1 -1
- package/internal/components/sortable-area/keyboard-sensor/index.js.map +1 -1
- package/{table → internal/components/sticky-header}/sticky-scrolling.d.ts +1 -6
- package/internal/components/sticky-header/sticky-scrolling.d.ts.map +1 -0
- package/{table → internal/components/sticky-header}/sticky-scrolling.js +2 -7
- package/internal/components/sticky-header/sticky-scrolling.js.map +1 -0
- package/internal/components/sticky-header/use-cells-resize-observer.d.ts +1 -0
- package/internal/components/sticky-header/use-cells-resize-observer.d.ts.map +1 -0
- package/internal/components/sticky-header/use-cells-resize-observer.js +39 -0
- package/internal/components/sticky-header/use-cells-resize-observer.js.map +1 -0
- package/internal/components/sticky-header/use-header-stuck.d.ts +7 -0
- package/internal/components/sticky-header/use-header-stuck.d.ts.map +1 -0
- package/internal/components/sticky-header/use-header-stuck.js +35 -0
- package/internal/components/sticky-header/use-header-stuck.js.map +1 -0
- package/internal/components/sticky-header/use-sticky-header-copy.d.ts +19 -0
- package/internal/components/sticky-header/use-sticky-header-copy.d.ts.map +1 -0
- package/{table/use-sticky-header.js → internal/components/sticky-header/use-sticky-header-copy.js} +7 -8
- package/internal/components/sticky-header/use-sticky-header-copy.js.map +1 -0
- package/internal/components/sticky-header/use-sticky-position.d.ts +27 -0
- package/internal/components/sticky-header/use-sticky-position.d.ts.map +1 -0
- package/internal/components/sticky-header/use-sticky-position.js +57 -0
- package/internal/components/sticky-header/use-sticky-position.js.map +1 -0
- package/internal/components/sticky-scrollbar/index.d.ts.map +1 -0
- package/internal/components/sticky-scrollbar/index.js.map +1 -0
- package/{table → internal/components}/sticky-scrollbar/sticky-scrollbar.d.ts +2 -1
- package/internal/components/sticky-scrollbar/sticky-scrollbar.d.ts.map +1 -0
- package/{table → internal/components}/sticky-scrollbar/sticky-scrollbar.js +8 -5
- package/internal/components/sticky-scrollbar/sticky-scrollbar.js.map +1 -0
- package/internal/components/sticky-scrollbar/styles.css.js +11 -0
- package/{table → internal/components}/sticky-scrollbar/styles.scoped.css +8 -8
- package/internal/components/sticky-scrollbar/styles.selectors.js +12 -0
- package/{table → internal/components}/sticky-scrollbar/use-sticky-scrollbar.d.ts +11 -2
- package/internal/components/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -0
- package/{table → internal/components}/sticky-scrollbar/use-sticky-scrollbar.js +17 -16
- package/internal/components/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -0
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +1 -0
- package/internal/generated/styles/tokens.js +1 -0
- package/internal/generated/theming/index.cjs +4 -0
- package/internal/generated/theming/index.d.cts +9 -0
- package/internal/generated/theming/index.d.ts +9 -0
- package/internal/generated/theming/index.js +4 -0
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/multiselect/index.d.ts.map +1 -1
- package/multiselect/index.js +1 -1
- package/multiselect/index.js.map +1 -1
- package/multiselect/internal.d.ts +12 -1
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +9 -5
- package/multiselect/internal.js.map +1 -1
- package/multiselect/styles.css.js +5 -5
- package/multiselect/styles.scoped.css +17 -5
- package/multiselect/styles.selectors.js +5 -5
- package/package.json +1 -1
- package/radio-button/styles.css.js +1 -1
- package/radio-button/styles.scoped.css +1 -25
- package/radio-button/styles.selectors.js +1 -1
- package/radio-group/internal.d.ts +7 -1
- package/radio-group/internal.d.ts.map +1 -1
- package/radio-group/internal.js +2 -2
- package/radio-group/internal.js.map +1 -1
- package/radio-group/styles.css.js +5 -5
- package/radio-group/styles.scoped.css +7 -6
- package/radio-group/styles.selectors.js +5 -5
- package/segmented-control/internal-segmented-control.d.ts +4 -1
- package/segmented-control/internal-segmented-control.d.ts.map +1 -1
- package/segmented-control/internal-segmented-control.js +3 -3
- package/segmented-control/internal-segmented-control.js.map +1 -1
- package/segmented-control/internal.d.ts +11 -1
- package/segmented-control/internal.d.ts.map +1 -1
- package/segmented-control/internal.js +3 -2
- package/segmented-control/internal.js.map +1 -1
- package/segmented-control/segment.d.ts +2 -0
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +4 -2
- package/segmented-control/segment.js.map +1 -1
- package/segmented-control/styles.css.js +31 -31
- package/segmented-control/styles.scoped.css +119 -82
- package/segmented-control/styles.selectors.js +31 -31
- package/select/index.d.ts.map +1 -1
- package/select/index.js +1 -1
- package/select/index.js.map +1 -1
- package/select/internal.d.ts +8 -0
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +4 -4
- package/select/internal.js.map +1 -1
- package/select/parts/styles.css.js +22 -21
- package/select/parts/styles.scoped.css +28 -24
- package/select/parts/styles.selectors.js +22 -21
- package/select/parts/trigger.d.ts +6 -0
- package/select/parts/trigger.d.ts.map +1 -1
- package/select/parts/trigger.js +4 -4
- package/select/parts/trigger.js.map +1 -1
- package/select/styles.css.js +3 -3
- package/select/styles.scoped.css +14 -3
- package/select/styles.selectors.js +3 -3
- package/styling/autosuggest.scss +1 -0
- package/styling/flashbar.scss +127 -0
- package/styling/multiselect.scss +80 -0
- package/styling/radio-group.scss +1 -0
- package/styling/segmented-control.scss +111 -0
- package/styling/select.scss +80 -0
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +1 -1
- package/table/internal.js.map +1 -1
- package/table/resizer/styles.css.js +17 -17
- package/table/resizer/styles.scoped.css +30 -29
- package/table/resizer/styles.selectors.js +17 -17
- package/table/sticky-header.d.ts.map +1 -1
- package/table/sticky-header.js +8 -2
- package/table/sticky-header.js.map +1 -1
- package/table/styles.css.js +37 -37
- package/table/styles.scoped.css +47 -47
- package/table/styles.selectors.js +37 -37
- package/table/use-column-widths.d.ts.map +1 -1
- package/table/use-column-widths.js +4 -16
- package/table/use-column-widths.js.map +1 -1
- package/table-root/internal.d.ts.map +1 -1
- package/table-root/internal.js +17 -3
- package/table-root/internal.js.map +1 -1
- package/table-root/styles.css.js +5 -5
- package/table-root/styles.scoped.css +10 -6
- package/table-root/styles.selectors.js +5 -5
- package/tabs/styles.css.js +30 -31
- package/tabs/styles.scoped.css +51 -67
- package/tabs/styles.selectors.js +30 -31
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +5 -54
- package/tabs/tab-header-bar.js.map +1 -1
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +25 -24
- package/token/styles.selectors.js +14 -14
- package/token-group/internal.d.ts +5 -0
- package/token-group/internal.d.ts.map +1 -1
- package/token-group/internal.js +2 -2
- package/token-group/internal.js.map +1 -1
- package/table/sticky-scrollbar/index.d.ts.map +0 -1
- package/table/sticky-scrollbar/index.js.map +0 -1
- package/table/sticky-scrollbar/sticky-scrollbar.d.ts.map +0 -1
- package/table/sticky-scrollbar/sticky-scrollbar.js.map +0 -1
- package/table/sticky-scrollbar/styles.css.js +0 -11
- package/table/sticky-scrollbar/styles.selectors.js +0 -12
- package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +0 -1
- package/table/sticky-scrollbar/use-sticky-scrollbar.js.map +0 -1
- package/table/sticky-scrolling.d.ts.map +0 -1
- package/table/sticky-scrolling.js.map +0 -1
- package/table/use-sticky-header.d.ts +0 -5
- package/table/use-sticky-header.d.ts.map +0 -1
- package/table/use-sticky-header.js.map +0 -1
- /package/{table → internal/components}/sticky-scrollbar/index.d.ts +0 -0
- /package/{table → internal/components}/sticky-scrollbar/index.js +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// GENERATED from the flashbar Style API docs — do not edit.
|
|
2
|
+
@use '@cloudscape-design/component-toolkit/internal/style-api/slot-mixins' as slot-mixins;
|
|
3
|
+
|
|
4
|
+
@mixin notificationBar(
|
|
5
|
+
$focus-ring-color: null,
|
|
6
|
+
$focus-ring-width: null,
|
|
7
|
+
$focus-ring-radius: null,
|
|
8
|
+
$color: null,
|
|
9
|
+
$background: null,
|
|
10
|
+
$border-color: null,
|
|
11
|
+
$border-width: null,
|
|
12
|
+
$border-style: null,
|
|
13
|
+
$border-block-color: null,
|
|
14
|
+
$border-block-width: null,
|
|
15
|
+
$border-block-style: null,
|
|
16
|
+
$border-inline-color: null,
|
|
17
|
+
$border-inline-width: null,
|
|
18
|
+
$border-inline-style: null,
|
|
19
|
+
$border-radius: null,
|
|
20
|
+
$border-start-start-radius: null,
|
|
21
|
+
$border-start-end-radius: null,
|
|
22
|
+
$border-end-start-radius: null,
|
|
23
|
+
$border-end-end-radius: null,
|
|
24
|
+
$box-shadow: null,
|
|
25
|
+
$padding: null,
|
|
26
|
+
$padding-block: null,
|
|
27
|
+
$padding-inline: null
|
|
28
|
+
) {
|
|
29
|
+
@include slot-mixins.apply(
|
|
30
|
+
'flashbar.notificationBar',
|
|
31
|
+
$tokens: (
|
|
32
|
+
'focus-ring-color': $focus-ring-color,
|
|
33
|
+
'focus-ring-width': $focus-ring-width,
|
|
34
|
+
'focus-ring-radius': $focus-ring-radius,
|
|
35
|
+
),
|
|
36
|
+
$properties: (
|
|
37
|
+
'color': $color,
|
|
38
|
+
'background': $background,
|
|
39
|
+
'border-color': $border-color,
|
|
40
|
+
'border-width': $border-width,
|
|
41
|
+
'border-style': $border-style,
|
|
42
|
+
'border-block-color': $border-block-color,
|
|
43
|
+
'border-block-width': $border-block-width,
|
|
44
|
+
'border-block-style': $border-block-style,
|
|
45
|
+
'border-inline-color': $border-inline-color,
|
|
46
|
+
'border-inline-width': $border-inline-width,
|
|
47
|
+
'border-inline-style': $border-inline-style,
|
|
48
|
+
'border-radius': $border-radius,
|
|
49
|
+
'border-start-start-radius': $border-start-start-radius,
|
|
50
|
+
'border-start-end-radius': $border-start-end-radius,
|
|
51
|
+
'border-end-start-radius': $border-end-start-radius,
|
|
52
|
+
'border-end-end-radius': $border-end-end-radius,
|
|
53
|
+
'box-shadow': $box-shadow,
|
|
54
|
+
'padding': $padding,
|
|
55
|
+
'padding-block': $padding-block,
|
|
56
|
+
'padding-inline': $padding-inline,
|
|
57
|
+
),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin item(
|
|
62
|
+
$focus-ring-color: null,
|
|
63
|
+
$focus-ring-width: null,
|
|
64
|
+
$focus-ring-radius: null,
|
|
65
|
+
$color: null,
|
|
66
|
+
$background: null,
|
|
67
|
+
$border-color: null,
|
|
68
|
+
$border-width: null,
|
|
69
|
+
$border-style: null,
|
|
70
|
+
$border-block-color: null,
|
|
71
|
+
$border-block-width: null,
|
|
72
|
+
$border-block-style: null,
|
|
73
|
+
$border-inline-color: null,
|
|
74
|
+
$border-inline-width: null,
|
|
75
|
+
$border-inline-style: null,
|
|
76
|
+
$border-radius: null,
|
|
77
|
+
$border-start-start-radius: null,
|
|
78
|
+
$border-start-end-radius: null,
|
|
79
|
+
$border-end-start-radius: null,
|
|
80
|
+
$border-end-end-radius: null,
|
|
81
|
+
$box-shadow: null,
|
|
82
|
+
$padding: null,
|
|
83
|
+
$padding-block: null,
|
|
84
|
+
$padding-inline: null
|
|
85
|
+
) {
|
|
86
|
+
@include slot-mixins.apply(
|
|
87
|
+
'flashbar.item',
|
|
88
|
+
$tokens: (
|
|
89
|
+
'focus-ring-color': $focus-ring-color,
|
|
90
|
+
'focus-ring-width': $focus-ring-width,
|
|
91
|
+
'focus-ring-radius': $focus-ring-radius,
|
|
92
|
+
),
|
|
93
|
+
$properties: (
|
|
94
|
+
'color': $color,
|
|
95
|
+
'background': $background,
|
|
96
|
+
'border-color': $border-color,
|
|
97
|
+
'border-width': $border-width,
|
|
98
|
+
'border-style': $border-style,
|
|
99
|
+
'border-block-color': $border-block-color,
|
|
100
|
+
'border-block-width': $border-block-width,
|
|
101
|
+
'border-block-style': $border-block-style,
|
|
102
|
+
'border-inline-color': $border-inline-color,
|
|
103
|
+
'border-inline-width': $border-inline-width,
|
|
104
|
+
'border-inline-style': $border-inline-style,
|
|
105
|
+
'border-radius': $border-radius,
|
|
106
|
+
'border-start-start-radius': $border-start-start-radius,
|
|
107
|
+
'border-start-end-radius': $border-start-end-radius,
|
|
108
|
+
'border-end-start-radius': $border-end-start-radius,
|
|
109
|
+
'border-end-end-radius': $border-end-end-radius,
|
|
110
|
+
'box-shadow': $box-shadow,
|
|
111
|
+
'padding': $padding,
|
|
112
|
+
'padding-block': $padding-block,
|
|
113
|
+
'padding-inline': $padding-inline,
|
|
114
|
+
),
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@mixin icon(
|
|
119
|
+
$color: null
|
|
120
|
+
) {
|
|
121
|
+
@include slot-mixins.apply(
|
|
122
|
+
'flashbar.icon',
|
|
123
|
+
$properties: (
|
|
124
|
+
'color': $color,
|
|
125
|
+
),
|
|
126
|
+
);
|
|
127
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// GENERATED from the multiselect Style API docs — do not edit.
|
|
2
|
+
@use '@cloudscape-design/component-toolkit/internal/style-api/slot-mixins' as slot-mixins;
|
|
3
|
+
|
|
4
|
+
@mixin trigger(
|
|
5
|
+
$placeholder-color: null,
|
|
6
|
+
$color: null,
|
|
7
|
+
$background: null,
|
|
8
|
+
$border-color: null,
|
|
9
|
+
$border-width: null,
|
|
10
|
+
$border-style: null,
|
|
11
|
+
$border-block-color: null,
|
|
12
|
+
$border-block-width: null,
|
|
13
|
+
$border-block-style: null,
|
|
14
|
+
$border-inline-color: null,
|
|
15
|
+
$border-inline-width: null,
|
|
16
|
+
$border-inline-style: null,
|
|
17
|
+
$border-radius: null,
|
|
18
|
+
$border-start-start-radius: null,
|
|
19
|
+
$border-start-end-radius: null,
|
|
20
|
+
$border-end-start-radius: null,
|
|
21
|
+
$border-end-end-radius: null,
|
|
22
|
+
$box-shadow: null,
|
|
23
|
+
$padding: null,
|
|
24
|
+
$padding-block: null,
|
|
25
|
+
$padding-inline: null,
|
|
26
|
+
$font-family: null,
|
|
27
|
+
$font-size: null,
|
|
28
|
+
$font-weight: null
|
|
29
|
+
) {
|
|
30
|
+
@include slot-mixins.apply(
|
|
31
|
+
'multiselect.trigger',
|
|
32
|
+
$tokens: (
|
|
33
|
+
'placeholder-color': $placeholder-color,
|
|
34
|
+
),
|
|
35
|
+
$properties: (
|
|
36
|
+
'color': $color,
|
|
37
|
+
'background': $background,
|
|
38
|
+
'border-color': $border-color,
|
|
39
|
+
'border-width': $border-width,
|
|
40
|
+
'border-style': $border-style,
|
|
41
|
+
'border-block-color': $border-block-color,
|
|
42
|
+
'border-block-width': $border-block-width,
|
|
43
|
+
'border-block-style': $border-block-style,
|
|
44
|
+
'border-inline-color': $border-inline-color,
|
|
45
|
+
'border-inline-width': $border-inline-width,
|
|
46
|
+
'border-inline-style': $border-inline-style,
|
|
47
|
+
'border-radius': $border-radius,
|
|
48
|
+
'border-start-start-radius': $border-start-start-radius,
|
|
49
|
+
'border-start-end-radius': $border-start-end-radius,
|
|
50
|
+
'border-end-start-radius': $border-end-start-radius,
|
|
51
|
+
'border-end-end-radius': $border-end-end-radius,
|
|
52
|
+
'box-shadow': $box-shadow,
|
|
53
|
+
'padding': $padding,
|
|
54
|
+
'padding-block': $padding-block,
|
|
55
|
+
'padding-inline': $padding-inline,
|
|
56
|
+
'font-family': $font-family,
|
|
57
|
+
'font-size': $font-size,
|
|
58
|
+
'font-weight': $font-weight,
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin inlineLabel(
|
|
64
|
+
$color: null,
|
|
65
|
+
$background: null,
|
|
66
|
+
$font-family: null,
|
|
67
|
+
$font-size: null,
|
|
68
|
+
$font-weight: null
|
|
69
|
+
) {
|
|
70
|
+
@include slot-mixins.apply(
|
|
71
|
+
'multiselect.inlineLabel',
|
|
72
|
+
$properties: (
|
|
73
|
+
'color': $color,
|
|
74
|
+
'background': $background,
|
|
75
|
+
'font-family': $font-family,
|
|
76
|
+
'font-size': $font-size,
|
|
77
|
+
'font-weight': $font-weight,
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED from the radio-group Style API docs — do not edit.
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// GENERATED from the segmented-control Style API docs — do not edit.
|
|
2
|
+
@use '@cloudscape-design/component-toolkit/internal/style-api/slot-mixins' as slot-mixins;
|
|
3
|
+
|
|
4
|
+
@mixin root(
|
|
5
|
+
$border-radius: null,
|
|
6
|
+
$background: null,
|
|
7
|
+
$border-color: null,
|
|
8
|
+
$border-width: null,
|
|
9
|
+
$border-style: null,
|
|
10
|
+
$border-block-color: null,
|
|
11
|
+
$border-block-width: null,
|
|
12
|
+
$border-block-style: null,
|
|
13
|
+
$border-inline-color: null,
|
|
14
|
+
$border-inline-width: null,
|
|
15
|
+
$border-inline-style: null
|
|
16
|
+
) {
|
|
17
|
+
@include slot-mixins.apply(
|
|
18
|
+
'segmented-control.root',
|
|
19
|
+
$tokens: (
|
|
20
|
+
'border-radius': $border-radius,
|
|
21
|
+
),
|
|
22
|
+
$properties: (
|
|
23
|
+
'background': $background,
|
|
24
|
+
'border-color': $border-color,
|
|
25
|
+
'border-width': $border-width,
|
|
26
|
+
'border-style': $border-style,
|
|
27
|
+
'border-block-color': $border-block-color,
|
|
28
|
+
'border-block-width': $border-block-width,
|
|
29
|
+
'border-block-style': $border-block-style,
|
|
30
|
+
'border-inline-color': $border-inline-color,
|
|
31
|
+
'border-inline-width': $border-inline-width,
|
|
32
|
+
'border-inline-style': $border-inline-style,
|
|
33
|
+
),
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin segment(
|
|
38
|
+
$focus-ring-color: null,
|
|
39
|
+
$focus-ring-width: null,
|
|
40
|
+
$focus-ring-radius: null,
|
|
41
|
+
$color: null,
|
|
42
|
+
$background: null,
|
|
43
|
+
$border-color: null,
|
|
44
|
+
$border-width: null,
|
|
45
|
+
$border-style: null,
|
|
46
|
+
$border-block-color: null,
|
|
47
|
+
$border-block-width: null,
|
|
48
|
+
$border-block-style: null,
|
|
49
|
+
$border-inline-color: null,
|
|
50
|
+
$border-inline-width: null,
|
|
51
|
+
$border-inline-style: null,
|
|
52
|
+
$border-radius: null,
|
|
53
|
+
$border-start-start-radius: null,
|
|
54
|
+
$border-start-end-radius: null,
|
|
55
|
+
$border-end-start-radius: null,
|
|
56
|
+
$border-end-end-radius: null,
|
|
57
|
+
$box-shadow: null,
|
|
58
|
+
$padding: null,
|
|
59
|
+
$padding-block: null,
|
|
60
|
+
$padding-inline: null,
|
|
61
|
+
$font-family: null,
|
|
62
|
+
$font-size: null,
|
|
63
|
+
$font-weight: null
|
|
64
|
+
) {
|
|
65
|
+
@include slot-mixins.apply(
|
|
66
|
+
'segmented-control.segment',
|
|
67
|
+
$tokens: (
|
|
68
|
+
'focus-ring-color': $focus-ring-color,
|
|
69
|
+
'focus-ring-width': $focus-ring-width,
|
|
70
|
+
'focus-ring-radius': $focus-ring-radius,
|
|
71
|
+
),
|
|
72
|
+
$properties: (
|
|
73
|
+
'color': $color,
|
|
74
|
+
'background': $background,
|
|
75
|
+
'border-color': $border-color,
|
|
76
|
+
'border-width': $border-width,
|
|
77
|
+
'border-style': $border-style,
|
|
78
|
+
'border-block-color': $border-block-color,
|
|
79
|
+
'border-block-width': $border-block-width,
|
|
80
|
+
'border-block-style': $border-block-style,
|
|
81
|
+
'border-inline-color': $border-inline-color,
|
|
82
|
+
'border-inline-width': $border-inline-width,
|
|
83
|
+
'border-inline-style': $border-inline-style,
|
|
84
|
+
'border-radius': $border-radius,
|
|
85
|
+
'border-start-start-radius': $border-start-start-radius,
|
|
86
|
+
'border-start-end-radius': $border-start-end-radius,
|
|
87
|
+
'border-end-start-radius': $border-end-start-radius,
|
|
88
|
+
'border-end-end-radius': $border-end-end-radius,
|
|
89
|
+
'box-shadow': $box-shadow,
|
|
90
|
+
'padding': $padding,
|
|
91
|
+
'padding-block': $padding-block,
|
|
92
|
+
'padding-inline': $padding-inline,
|
|
93
|
+
'font-family': $font-family,
|
|
94
|
+
'font-size': $font-size,
|
|
95
|
+
'font-weight': $font-weight,
|
|
96
|
+
),
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@mixin divider(
|
|
101
|
+
$color: null,
|
|
102
|
+
$width: null
|
|
103
|
+
) {
|
|
104
|
+
@include slot-mixins.apply(
|
|
105
|
+
'segmented-control.divider',
|
|
106
|
+
$tokens: (
|
|
107
|
+
'color': $color,
|
|
108
|
+
'width': $width,
|
|
109
|
+
),
|
|
110
|
+
);
|
|
111
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// GENERATED from the select Style API docs — do not edit.
|
|
2
|
+
@use '@cloudscape-design/component-toolkit/internal/style-api/slot-mixins' as slot-mixins;
|
|
3
|
+
|
|
4
|
+
@mixin trigger(
|
|
5
|
+
$placeholder-color: null,
|
|
6
|
+
$color: null,
|
|
7
|
+
$background: null,
|
|
8
|
+
$border-color: null,
|
|
9
|
+
$border-width: null,
|
|
10
|
+
$border-style: null,
|
|
11
|
+
$border-block-color: null,
|
|
12
|
+
$border-block-width: null,
|
|
13
|
+
$border-block-style: null,
|
|
14
|
+
$border-inline-color: null,
|
|
15
|
+
$border-inline-width: null,
|
|
16
|
+
$border-inline-style: null,
|
|
17
|
+
$border-radius: null,
|
|
18
|
+
$border-start-start-radius: null,
|
|
19
|
+
$border-start-end-radius: null,
|
|
20
|
+
$border-end-start-radius: null,
|
|
21
|
+
$border-end-end-radius: null,
|
|
22
|
+
$box-shadow: null,
|
|
23
|
+
$padding: null,
|
|
24
|
+
$padding-block: null,
|
|
25
|
+
$padding-inline: null,
|
|
26
|
+
$font-family: null,
|
|
27
|
+
$font-size: null,
|
|
28
|
+
$font-weight: null
|
|
29
|
+
) {
|
|
30
|
+
@include slot-mixins.apply(
|
|
31
|
+
'select.trigger',
|
|
32
|
+
$tokens: (
|
|
33
|
+
'placeholder-color': $placeholder-color,
|
|
34
|
+
),
|
|
35
|
+
$properties: (
|
|
36
|
+
'color': $color,
|
|
37
|
+
'background': $background,
|
|
38
|
+
'border-color': $border-color,
|
|
39
|
+
'border-width': $border-width,
|
|
40
|
+
'border-style': $border-style,
|
|
41
|
+
'border-block-color': $border-block-color,
|
|
42
|
+
'border-block-width': $border-block-width,
|
|
43
|
+
'border-block-style': $border-block-style,
|
|
44
|
+
'border-inline-color': $border-inline-color,
|
|
45
|
+
'border-inline-width': $border-inline-width,
|
|
46
|
+
'border-inline-style': $border-inline-style,
|
|
47
|
+
'border-radius': $border-radius,
|
|
48
|
+
'border-start-start-radius': $border-start-start-radius,
|
|
49
|
+
'border-start-end-radius': $border-start-end-radius,
|
|
50
|
+
'border-end-start-radius': $border-end-start-radius,
|
|
51
|
+
'border-end-end-radius': $border-end-end-radius,
|
|
52
|
+
'box-shadow': $box-shadow,
|
|
53
|
+
'padding': $padding,
|
|
54
|
+
'padding-block': $padding-block,
|
|
55
|
+
'padding-inline': $padding-inline,
|
|
56
|
+
'font-family': $font-family,
|
|
57
|
+
'font-size': $font-size,
|
|
58
|
+
'font-weight': $font-weight,
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin inlineLabel(
|
|
64
|
+
$color: null,
|
|
65
|
+
$background: null,
|
|
66
|
+
$font-family: null,
|
|
67
|
+
$font-size: null,
|
|
68
|
+
$font-weight: null
|
|
69
|
+
) {
|
|
70
|
+
@include slot-mixins.apply(
|
|
71
|
+
'select.inlineLabel',
|
|
72
|
+
$properties: (
|
|
73
|
+
'color': $color,
|
|
74
|
+
'background': $background,
|
|
75
|
+
'font-family': $font-family,
|
|
76
|
+
'font-size': $font-size,
|
|
77
|
+
'font-weight': $font-weight,
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
}
|
package/table/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA8CzE,eAAO,MAAM,sBAAsB,EAW9B,mBAAmB,CAAC;AAEzB,QAAA,MAAM,aAAa,EAozBd,mBAAmB,CAAC;AAEzB,eAAe,aAAa,CAAC"}
|
package/table/internal.js
CHANGED
|
@@ -8,6 +8,7 @@ import { getAnalyticsMetadataAttribute, } from '@cloudscape-design/component-too
|
|
|
8
8
|
import InternalContainer from '../container/internal';
|
|
9
9
|
import { useFunnelSubStep } from '../internal/analytics/hooks/use-funnel';
|
|
10
10
|
import { getAnalyticsMetadataProps, getBaseProps } from '../internal/base-component';
|
|
11
|
+
import { StickyScrollbar } from '../internal/components/sticky-scrollbar';
|
|
11
12
|
import { getVisualContextClassname } from '../internal/components/visual-context';
|
|
12
13
|
import { CollectionLabelContext } from '../internal/context/collection-label-context';
|
|
13
14
|
import { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';
|
|
@@ -41,7 +42,6 @@ import { useGroupSelection } from './selection/use-group-selection';
|
|
|
41
42
|
import { SkeletonRows } from './skeleton-rows';
|
|
42
43
|
import { useStickyColumns } from './sticky-columns';
|
|
43
44
|
import StickyHeader from './sticky-header';
|
|
44
|
-
import { StickyScrollbar } from './sticky-scrollbar';
|
|
45
45
|
import { getTableRoleProps, getTableRowRoleProps, getTableWrapperRoleProps, GridNavigationProvider, } from './table-role';
|
|
46
46
|
import Thead from './thead';
|
|
47
47
|
import ToolsHeader from './tools-header';
|