@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.
Files changed (230) hide show
  1. package/autosuggest/index.d.ts.map +1 -1
  2. package/autosuggest/index.js +1 -1
  3. package/autosuggest/index.js.map +1 -1
  4. package/autosuggest/internal.d.ts +8 -1
  5. package/autosuggest/internal.d.ts.map +1 -1
  6. package/autosuggest/internal.js +2 -2
  7. package/autosuggest/internal.js.map +1 -1
  8. package/autosuggest/styles.css.js +3 -3
  9. package/autosuggest/styles.scoped.css +5 -3
  10. package/autosuggest/styles.selectors.js +3 -3
  11. package/button/styles.css.js +24 -24
  12. package/button/styles.scoped.css +83 -79
  13. package/button/styles.selectors.js +24 -24
  14. package/cards/index.js +1 -1
  15. package/cards/index.js.map +1 -1
  16. package/container/internal.d.ts +3 -2
  17. package/container/internal.d.ts.map +1 -1
  18. package/container/internal.js +2 -2
  19. package/container/internal.js.map +1 -1
  20. package/container/use-sticky-header.d.ts +0 -14
  21. package/container/use-sticky-header.d.ts.map +1 -1
  22. package/container/use-sticky-header.js +9 -92
  23. package/container/use-sticky-header.js.map +1 -1
  24. package/copy-to-clipboard/internal.d.ts.map +1 -1
  25. package/copy-to-clipboard/internal.js +16 -50
  26. package/copy-to-clipboard/internal.js.map +1 -1
  27. package/copy-to-clipboard/styles.css.js +5 -10
  28. package/copy-to-clipboard/styles.scoped.css +6 -38
  29. package/copy-to-clipboard/styles.selectors.js +5 -10
  30. package/flashbar/collapsible-flashbar.d.ts +1 -0
  31. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  32. package/flashbar/collapsible-flashbar.js +10 -4
  33. package/flashbar/collapsible-flashbar.js.map +1 -1
  34. package/flashbar/flash.d.ts +6 -0
  35. package/flashbar/flash.d.ts.map +1 -1
  36. package/flashbar/flash.js +6 -6
  37. package/flashbar/flash.js.map +1 -1
  38. package/flashbar/internal-interfaces.d.ts +11 -1
  39. package/flashbar/internal-interfaces.d.ts.map +1 -1
  40. package/flashbar/internal-interfaces.js.map +1 -1
  41. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  42. package/flashbar/non-collapsible-flashbar.js +8 -1
  43. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  44. package/flashbar/styles.css.js +50 -50
  45. package/flashbar/styles.scoped.css +184 -161
  46. package/flashbar/styles.selectors.js +50 -50
  47. package/icon/generated/icons.d.ts +4 -0
  48. package/icon/generated/icons.d.ts.map +1 -1
  49. package/icon/generated/icons.js +14 -0
  50. package/icon/generated/icons.js.map +1 -1
  51. package/icon/styles.css.js +44 -43
  52. package/icon/styles.scoped.css +109 -107
  53. package/icon/styles.selectors.js +44 -43
  54. package/icon-provider/interfaces.d.ts +1 -1
  55. package/icon-provider/interfaces.d.ts.map +1 -1
  56. package/icon-provider/interfaces.js.map +1 -1
  57. package/internal/base-component/styles.scoped.css +1 -1
  58. package/internal/base-theme/styles.scoped.css +1 -0
  59. package/internal/components/autosuggest-input/index.d.ts +5 -0
  60. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  61. package/internal/components/autosuggest-input/index.js +2 -2
  62. package/internal/components/autosuggest-input/index.js.map +1 -1
  63. package/internal/components/option/index.d.ts.map +1 -1
  64. package/internal/components/option/index.js +2 -2
  65. package/internal/components/option/index.js.map +1 -1
  66. package/internal/components/option/styles.css.js +19 -18
  67. package/internal/components/option/styles.scoped.css +39 -33
  68. package/internal/components/option/styles.selectors.js +19 -18
  69. package/internal/components/radio-button/index.d.ts +1 -1
  70. package/internal/components/radio-button/index.d.ts.map +1 -1
  71. package/internal/components/radio-button/index.js.map +1 -1
  72. package/internal/components/radio-button/styles.css.js +7 -7
  73. package/internal/components/radio-button/styles.scoped.css +36 -12
  74. package/internal/components/radio-button/styles.selectors.js +7 -7
  75. package/internal/components/sortable-area/index.d.ts.map +1 -1
  76. package/internal/components/sortable-area/index.js +34 -4
  77. package/internal/components/sortable-area/index.js.map +1 -1
  78. package/internal/components/sortable-area/keyboard-sensor/index.js +1 -1
  79. package/internal/components/sortable-area/keyboard-sensor/index.js.map +1 -1
  80. package/{table → internal/components/sticky-header}/sticky-scrolling.d.ts +1 -6
  81. package/internal/components/sticky-header/sticky-scrolling.d.ts.map +1 -0
  82. package/{table → internal/components/sticky-header}/sticky-scrolling.js +2 -7
  83. package/internal/components/sticky-header/sticky-scrolling.js.map +1 -0
  84. package/internal/components/sticky-header/use-cells-resize-observer.d.ts +1 -0
  85. package/internal/components/sticky-header/use-cells-resize-observer.d.ts.map +1 -0
  86. package/internal/components/sticky-header/use-cells-resize-observer.js +39 -0
  87. package/internal/components/sticky-header/use-cells-resize-observer.js.map +1 -0
  88. package/internal/components/sticky-header/use-header-stuck.d.ts +7 -0
  89. package/internal/components/sticky-header/use-header-stuck.d.ts.map +1 -0
  90. package/internal/components/sticky-header/use-header-stuck.js +35 -0
  91. package/internal/components/sticky-header/use-header-stuck.js.map +1 -0
  92. package/internal/components/sticky-header/use-sticky-header-copy.d.ts +19 -0
  93. package/internal/components/sticky-header/use-sticky-header-copy.d.ts.map +1 -0
  94. package/{table/use-sticky-header.js → internal/components/sticky-header/use-sticky-header-copy.js} +7 -8
  95. package/internal/components/sticky-header/use-sticky-header-copy.js.map +1 -0
  96. package/internal/components/sticky-header/use-sticky-position.d.ts +27 -0
  97. package/internal/components/sticky-header/use-sticky-position.d.ts.map +1 -0
  98. package/internal/components/sticky-header/use-sticky-position.js +57 -0
  99. package/internal/components/sticky-header/use-sticky-position.js.map +1 -0
  100. package/internal/components/sticky-scrollbar/index.d.ts.map +1 -0
  101. package/internal/components/sticky-scrollbar/index.js.map +1 -0
  102. package/{table → internal/components}/sticky-scrollbar/sticky-scrollbar.d.ts +2 -1
  103. package/internal/components/sticky-scrollbar/sticky-scrollbar.d.ts.map +1 -0
  104. package/{table → internal/components}/sticky-scrollbar/sticky-scrollbar.js +8 -5
  105. package/internal/components/sticky-scrollbar/sticky-scrollbar.js.map +1 -0
  106. package/internal/components/sticky-scrollbar/styles.css.js +11 -0
  107. package/{table → internal/components}/sticky-scrollbar/styles.scoped.css +8 -8
  108. package/internal/components/sticky-scrollbar/styles.selectors.js +12 -0
  109. package/{table → internal/components}/sticky-scrollbar/use-sticky-scrollbar.d.ts +11 -2
  110. package/internal/components/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -0
  111. package/{table → internal/components}/sticky-scrollbar/use-sticky-scrollbar.js +17 -16
  112. package/internal/components/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -0
  113. package/internal/environment.js +2 -2
  114. package/internal/environment.json +2 -2
  115. package/internal/generated/styles/tokens.d.ts +1 -0
  116. package/internal/generated/styles/tokens.js +1 -0
  117. package/internal/generated/theming/index.cjs +4 -0
  118. package/internal/generated/theming/index.d.cts +9 -0
  119. package/internal/generated/theming/index.d.ts +9 -0
  120. package/internal/generated/theming/index.js +4 -0
  121. package/internal/manifest.json +1 -1
  122. package/manifest.json +2 -2
  123. package/multiselect/index.d.ts.map +1 -1
  124. package/multiselect/index.js +1 -1
  125. package/multiselect/index.js.map +1 -1
  126. package/multiselect/internal.d.ts +12 -1
  127. package/multiselect/internal.d.ts.map +1 -1
  128. package/multiselect/internal.js +9 -5
  129. package/multiselect/internal.js.map +1 -1
  130. package/multiselect/styles.css.js +5 -5
  131. package/multiselect/styles.scoped.css +17 -5
  132. package/multiselect/styles.selectors.js +5 -5
  133. package/package.json +1 -1
  134. package/radio-button/styles.css.js +1 -1
  135. package/radio-button/styles.scoped.css +1 -25
  136. package/radio-button/styles.selectors.js +1 -1
  137. package/radio-group/internal.d.ts +7 -1
  138. package/radio-group/internal.d.ts.map +1 -1
  139. package/radio-group/internal.js +2 -2
  140. package/radio-group/internal.js.map +1 -1
  141. package/radio-group/styles.css.js +5 -5
  142. package/radio-group/styles.scoped.css +7 -6
  143. package/radio-group/styles.selectors.js +5 -5
  144. package/segmented-control/internal-segmented-control.d.ts +4 -1
  145. package/segmented-control/internal-segmented-control.d.ts.map +1 -1
  146. package/segmented-control/internal-segmented-control.js +3 -3
  147. package/segmented-control/internal-segmented-control.js.map +1 -1
  148. package/segmented-control/internal.d.ts +11 -1
  149. package/segmented-control/internal.d.ts.map +1 -1
  150. package/segmented-control/internal.js +3 -2
  151. package/segmented-control/internal.js.map +1 -1
  152. package/segmented-control/segment.d.ts +2 -0
  153. package/segmented-control/segment.d.ts.map +1 -1
  154. package/segmented-control/segment.js +4 -2
  155. package/segmented-control/segment.js.map +1 -1
  156. package/segmented-control/styles.css.js +31 -31
  157. package/segmented-control/styles.scoped.css +119 -82
  158. package/segmented-control/styles.selectors.js +31 -31
  159. package/select/index.d.ts.map +1 -1
  160. package/select/index.js +1 -1
  161. package/select/index.js.map +1 -1
  162. package/select/internal.d.ts +8 -0
  163. package/select/internal.d.ts.map +1 -1
  164. package/select/internal.js +4 -4
  165. package/select/internal.js.map +1 -1
  166. package/select/parts/styles.css.js +22 -21
  167. package/select/parts/styles.scoped.css +28 -24
  168. package/select/parts/styles.selectors.js +22 -21
  169. package/select/parts/trigger.d.ts +6 -0
  170. package/select/parts/trigger.d.ts.map +1 -1
  171. package/select/parts/trigger.js +4 -4
  172. package/select/parts/trigger.js.map +1 -1
  173. package/select/styles.css.js +3 -3
  174. package/select/styles.scoped.css +14 -3
  175. package/select/styles.selectors.js +3 -3
  176. package/styling/autosuggest.scss +1 -0
  177. package/styling/flashbar.scss +127 -0
  178. package/styling/multiselect.scss +80 -0
  179. package/styling/radio-group.scss +1 -0
  180. package/styling/segmented-control.scss +111 -0
  181. package/styling/select.scss +80 -0
  182. package/table/internal.d.ts.map +1 -1
  183. package/table/internal.js +1 -1
  184. package/table/internal.js.map +1 -1
  185. package/table/resizer/styles.css.js +17 -17
  186. package/table/resizer/styles.scoped.css +30 -29
  187. package/table/resizer/styles.selectors.js +17 -17
  188. package/table/sticky-header.d.ts.map +1 -1
  189. package/table/sticky-header.js +8 -2
  190. package/table/sticky-header.js.map +1 -1
  191. package/table/styles.css.js +37 -37
  192. package/table/styles.scoped.css +47 -47
  193. package/table/styles.selectors.js +37 -37
  194. package/table/use-column-widths.d.ts.map +1 -1
  195. package/table/use-column-widths.js +4 -16
  196. package/table/use-column-widths.js.map +1 -1
  197. package/table-root/internal.d.ts.map +1 -1
  198. package/table-root/internal.js +17 -3
  199. package/table-root/internal.js.map +1 -1
  200. package/table-root/styles.css.js +5 -5
  201. package/table-root/styles.scoped.css +10 -6
  202. package/table-root/styles.selectors.js +5 -5
  203. package/tabs/styles.css.js +30 -31
  204. package/tabs/styles.scoped.css +51 -67
  205. package/tabs/styles.selectors.js +30 -31
  206. package/tabs/tab-header-bar.d.ts.map +1 -1
  207. package/tabs/tab-header-bar.js +5 -54
  208. package/tabs/tab-header-bar.js.map +1 -1
  209. package/token/styles.css.js +14 -14
  210. package/token/styles.scoped.css +25 -24
  211. package/token/styles.selectors.js +14 -14
  212. package/token-group/internal.d.ts +5 -0
  213. package/token-group/internal.d.ts.map +1 -1
  214. package/token-group/internal.js +2 -2
  215. package/token-group/internal.js.map +1 -1
  216. package/table/sticky-scrollbar/index.d.ts.map +0 -1
  217. package/table/sticky-scrollbar/index.js.map +0 -1
  218. package/table/sticky-scrollbar/sticky-scrollbar.d.ts.map +0 -1
  219. package/table/sticky-scrollbar/sticky-scrollbar.js.map +0 -1
  220. package/table/sticky-scrollbar/styles.css.js +0 -11
  221. package/table/sticky-scrollbar/styles.selectors.js +0 -12
  222. package/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +0 -1
  223. package/table/sticky-scrollbar/use-sticky-scrollbar.js.map +0 -1
  224. package/table/sticky-scrolling.d.ts.map +0 -1
  225. package/table/sticky-scrolling.js.map +0 -1
  226. package/table/use-sticky-header.d.ts +0 -5
  227. package/table/use-sticky-header.d.ts.map +0 -1
  228. package/table/use-sticky-header.js.map +0 -1
  229. /package/{table → internal/components}/sticky-scrollbar/index.d.ts +0 -0
  230. /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
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/table/internal.tsx"],"names":[],"mappings":"AA6CA,OAAO,EAAE,mBAAmB,EAAwB,MAAM,cAAc,CAAC;AA+CzE,eAAO,MAAM,sBAAsB,EAW9B,mBAAmB,CAAC;AAEzB,QAAA,MAAM,aAAa,EAozBd,mBAAmB,CAAC;AAEzB,eAAe,aAAa,CAAC"}
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';