@cloudscape-design/components 3.0.1408 → 3.0.1410

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 (204) 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-dropdown/filter.d.ts +1 -1
  12. package/button-dropdown/filter.d.ts.map +1 -1
  13. package/cards/index.js +1 -1
  14. package/cards/index.js.map +1 -1
  15. package/container/internal.d.ts +3 -2
  16. package/container/internal.d.ts.map +1 -1
  17. package/container/internal.js +2 -2
  18. package/container/internal.js.map +1 -1
  19. package/container/use-sticky-header.d.ts +0 -14
  20. package/container/use-sticky-header.d.ts.map +1 -1
  21. package/container/use-sticky-header.js +9 -92
  22. package/container/use-sticky-header.js.map +1 -1
  23. package/copy-to-clipboard/internal.d.ts.map +1 -1
  24. package/copy-to-clipboard/internal.js +2 -16
  25. package/copy-to-clipboard/internal.js.map +1 -1
  26. package/copy-to-clipboard/styles.css.js +10 -10
  27. package/copy-to-clipboard/styles.scoped.css +19 -19
  28. package/copy-to-clipboard/styles.selectors.js +10 -10
  29. package/flashbar/collapsible-flashbar.d.ts +1 -0
  30. package/flashbar/collapsible-flashbar.d.ts.map +1 -1
  31. package/flashbar/collapsible-flashbar.js +10 -4
  32. package/flashbar/collapsible-flashbar.js.map +1 -1
  33. package/flashbar/flash.d.ts +6 -0
  34. package/flashbar/flash.d.ts.map +1 -1
  35. package/flashbar/flash.js +6 -6
  36. package/flashbar/flash.js.map +1 -1
  37. package/flashbar/internal-interfaces.d.ts +11 -1
  38. package/flashbar/internal-interfaces.d.ts.map +1 -1
  39. package/flashbar/internal-interfaces.js.map +1 -1
  40. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
  41. package/flashbar/non-collapsible-flashbar.js +8 -1
  42. package/flashbar/non-collapsible-flashbar.js.map +1 -1
  43. package/flashbar/styles.css.js +50 -50
  44. package/flashbar/styles.scoped.css +184 -161
  45. package/flashbar/styles.selectors.js +50 -50
  46. package/icon/generated/icons.d.ts +4 -0
  47. package/icon/generated/icons.d.ts.map +1 -1
  48. package/icon/generated/icons.js +14 -0
  49. package/icon/generated/icons.js.map +1 -1
  50. package/icon/styles.css.js +44 -43
  51. package/icon/styles.scoped.css +109 -107
  52. package/icon/styles.selectors.js +44 -43
  53. package/icon-provider/interfaces.d.ts +1 -1
  54. package/icon-provider/interfaces.d.ts.map +1 -1
  55. package/icon-provider/interfaces.js.map +1 -1
  56. package/input/internal.d.ts +1 -1
  57. package/input/internal.d.ts.map +1 -1
  58. package/input/internal.js +4 -2
  59. package/input/internal.js.map +1 -1
  60. package/input/styles.css.js +45 -44
  61. package/input/styles.scoped.css +102 -94
  62. package/input/styles.selectors.js +45 -44
  63. package/internal/base-component/styles.scoped.css +1 -1
  64. package/internal/components/autosuggest-input/index.d.ts +5 -0
  65. package/internal/components/autosuggest-input/index.d.ts.map +1 -1
  66. package/internal/components/autosuggest-input/index.js +22 -61
  67. package/internal/components/autosuggest-input/index.js.map +1 -1
  68. package/internal/components/autosuggest-input/inline-tokens.d.ts +1 -0
  69. package/internal/components/autosuggest-input/inline-tokens.d.ts.map +1 -1
  70. package/internal/components/autosuggest-input/inline-tokens.js +4 -2
  71. package/internal/components/autosuggest-input/inline-tokens.js.map +1 -1
  72. package/internal/components/autosuggest-input/styles.css.js +11 -33
  73. package/internal/components/autosuggest-input/styles.scoped.css +15 -233
  74. package/internal/components/autosuggest-input/styles.selectors.js +11 -33
  75. package/internal/components/autosuggest-input/use-token-overflow.d.ts +7 -11
  76. package/internal/components/autosuggest-input/use-token-overflow.d.ts.map +1 -1
  77. package/internal/components/autosuggest-input/use-token-overflow.js +16 -29
  78. package/internal/components/autosuggest-input/use-token-overflow.js.map +1 -1
  79. package/internal/components/option/index.d.ts.map +1 -1
  80. package/internal/components/option/index.js +2 -2
  81. package/internal/components/option/index.js.map +1 -1
  82. package/internal/components/option/styles.css.js +19 -18
  83. package/internal/components/option/styles.scoped.css +39 -33
  84. package/internal/components/option/styles.selectors.js +19 -18
  85. package/internal/components/radio-button/index.d.ts +1 -1
  86. package/internal/components/radio-button/index.d.ts.map +1 -1
  87. package/internal/components/radio-button/index.js.map +1 -1
  88. package/internal/components/radio-button/styles.css.js +7 -7
  89. package/internal/components/radio-button/styles.scoped.css +36 -12
  90. package/internal/components/radio-button/styles.selectors.js +7 -7
  91. package/internal/components/sortable-area/index.d.ts.map +1 -1
  92. package/internal/components/sortable-area/index.js +34 -4
  93. package/internal/components/sortable-area/index.js.map +1 -1
  94. package/internal/components/sortable-area/keyboard-sensor/index.js +1 -1
  95. package/internal/components/sortable-area/keyboard-sensor/index.js.map +1 -1
  96. package/{table → internal/components/sticky-header}/sticky-scrolling.d.ts +1 -6
  97. package/internal/components/sticky-header/sticky-scrolling.d.ts.map +1 -0
  98. package/{table → internal/components/sticky-header}/sticky-scrolling.js +2 -7
  99. package/internal/components/sticky-header/sticky-scrolling.js.map +1 -0
  100. package/internal/components/sticky-header/use-cells-resize-observer.d.ts +1 -0
  101. package/internal/components/sticky-header/use-cells-resize-observer.d.ts.map +1 -0
  102. package/internal/components/sticky-header/use-cells-resize-observer.js +39 -0
  103. package/internal/components/sticky-header/use-cells-resize-observer.js.map +1 -0
  104. package/internal/components/sticky-header/use-header-stuck.d.ts +7 -0
  105. package/internal/components/sticky-header/use-header-stuck.d.ts.map +1 -0
  106. package/internal/components/sticky-header/use-header-stuck.js +35 -0
  107. package/internal/components/sticky-header/use-header-stuck.js.map +1 -0
  108. package/internal/components/sticky-header/use-sticky-header-copy.d.ts +19 -0
  109. package/internal/components/sticky-header/use-sticky-header-copy.d.ts.map +1 -0
  110. package/{table/use-sticky-header.js → internal/components/sticky-header/use-sticky-header-copy.js} +7 -8
  111. package/internal/components/sticky-header/use-sticky-header-copy.js.map +1 -0
  112. package/internal/components/sticky-header/use-sticky-position.d.ts +27 -0
  113. package/internal/components/sticky-header/use-sticky-position.d.ts.map +1 -0
  114. package/internal/components/sticky-header/use-sticky-position.js +57 -0
  115. package/internal/components/sticky-header/use-sticky-position.js.map +1 -0
  116. package/internal/environment.js +2 -2
  117. package/internal/environment.json +2 -2
  118. package/internal/manifest.json +1 -1
  119. package/manifest.json +2 -2
  120. package/multiselect/index.d.ts.map +1 -1
  121. package/multiselect/index.js +1 -1
  122. package/multiselect/index.js.map +1 -1
  123. package/multiselect/internal.d.ts +12 -1
  124. package/multiselect/internal.d.ts.map +1 -1
  125. package/multiselect/internal.js +10 -6
  126. package/multiselect/internal.js.map +1 -1
  127. package/multiselect/styles.css.js +5 -5
  128. package/multiselect/styles.scoped.css +17 -5
  129. package/multiselect/styles.selectors.js +5 -5
  130. package/package.json +1 -1
  131. package/radio-button/styles.css.js +1 -1
  132. package/radio-button/styles.scoped.css +1 -25
  133. package/radio-button/styles.selectors.js +1 -1
  134. package/radio-group/internal.d.ts +7 -1
  135. package/radio-group/internal.d.ts.map +1 -1
  136. package/radio-group/internal.js +2 -2
  137. package/radio-group/internal.js.map +1 -1
  138. package/radio-group/styles.css.js +5 -5
  139. package/radio-group/styles.scoped.css +7 -6
  140. package/radio-group/styles.selectors.js +5 -5
  141. package/segmented-control/internal-segmented-control.d.ts +4 -1
  142. package/segmented-control/internal-segmented-control.d.ts.map +1 -1
  143. package/segmented-control/internal-segmented-control.js +3 -3
  144. package/segmented-control/internal-segmented-control.js.map +1 -1
  145. package/segmented-control/internal.d.ts +11 -1
  146. package/segmented-control/internal.d.ts.map +1 -1
  147. package/segmented-control/internal.js +3 -2
  148. package/segmented-control/internal.js.map +1 -1
  149. package/segmented-control/segment.d.ts +2 -0
  150. package/segmented-control/segment.d.ts.map +1 -1
  151. package/segmented-control/segment.js +4 -2
  152. package/segmented-control/segment.js.map +1 -1
  153. package/segmented-control/styles.css.js +31 -31
  154. package/segmented-control/styles.scoped.css +119 -82
  155. package/segmented-control/styles.selectors.js +31 -31
  156. package/select/index.d.ts.map +1 -1
  157. package/select/index.js +1 -1
  158. package/select/index.js.map +1 -1
  159. package/select/internal.d.ts +8 -0
  160. package/select/internal.d.ts.map +1 -1
  161. package/select/internal.js +5 -5
  162. package/select/internal.js.map +1 -1
  163. package/select/parts/filter.d.ts +1 -1
  164. package/select/parts/filter.d.ts.map +1 -1
  165. package/select/parts/styles.css.js +22 -21
  166. package/select/parts/styles.scoped.css +28 -24
  167. package/select/parts/styles.selectors.js +22 -21
  168. package/select/parts/trigger.d.ts +6 -0
  169. package/select/parts/trigger.d.ts.map +1 -1
  170. package/select/parts/trigger.js +4 -4
  171. package/select/parts/trigger.js.map +1 -1
  172. package/select/styles.css.js +3 -3
  173. package/select/styles.scoped.css +14 -3
  174. package/select/styles.selectors.js +3 -3
  175. package/styling/autosuggest.scss +1 -0
  176. package/styling/flashbar.scss +127 -0
  177. package/styling/multiselect.scss +80 -0
  178. package/styling/radio-group.scss +1 -0
  179. package/styling/segmented-control.scss +111 -0
  180. package/styling/select.scss +80 -0
  181. package/table/resizer/styles.css.js +17 -17
  182. package/table/resizer/styles.scoped.css +30 -29
  183. package/table/resizer/styles.selectors.js +17 -17
  184. package/table/sticky-header.d.ts.map +1 -1
  185. package/table/sticky-header.js +8 -2
  186. package/table/sticky-header.js.map +1 -1
  187. package/table/styles.css.js +37 -37
  188. package/table/styles.scoped.css +47 -47
  189. package/table/styles.selectors.js +37 -37
  190. package/table/use-column-widths.d.ts.map +1 -1
  191. package/table/use-column-widths.js +4 -16
  192. package/table/use-column-widths.js.map +1 -1
  193. package/toggle/internal.d.ts.map +1 -1
  194. package/toggle/internal.js +1 -1
  195. package/toggle/internal.js.map +1 -1
  196. package/token-group/internal.d.ts +5 -0
  197. package/token-group/internal.d.ts.map +1 -1
  198. package/token-group/internal.js +2 -2
  199. package/token-group/internal.js.map +1 -1
  200. package/table/sticky-scrolling.d.ts.map +0 -1
  201. package/table/sticky-scrolling.js.map +0 -1
  202. package/table/use-sticky-header.d.ts +0 -5
  203. package/table/use-sticky-header.d.ts.map +0 -1
  204. package/table/use-sticky-header.js.map +0 -1
@@ -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,22 +1,22 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "resize-active": "awsui_resize-active_x7peu_1y14w_9",
5
- "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1y14w_9",
6
- "resizer-wrapper": "awsui_resizer-wrapper_x7peu_1y14w_14",
7
- "divider-interactive": "awsui_divider-interactive_x7peu_1y14w_22",
8
- "is-borderless": "awsui_is-borderless_x7peu_1y14w_22",
9
- "resizer-button-wrapper": "awsui_resizer-button-wrapper_x7peu_1y14w_26",
10
- "divider": "awsui_divider_x7peu_1y14w_22",
11
- "divider-grouped": "awsui_divider-grouped_x7peu_1y14w_49",
12
- "divider-position-top": "awsui_divider-position-top_x7peu_1y14w_53",
13
- "divider-position-bottom": "awsui_divider-position-bottom_x7peu_1y14w_59",
14
- "divider-position-full": "awsui_divider-position-full_x7peu_1y14w_65",
15
- "divider-active": "awsui_divider-active_x7peu_1y14w_75",
16
- "visual-refresh": "awsui_visual-refresh_x7peu_1y14w_79",
17
- "is-last": "awsui_is-last_x7peu_1y14w_79",
18
- "resizer": "awsui_resizer_x7peu_1y14w_14",
19
- "has-focus": "awsui_has-focus_x7peu_1y14w_128",
20
- "tracker": "awsui_tracker_x7peu_1y14w_150"
4
+ "resize-active": "awsui_resize-active_x7peu_6aabd_9",
5
+ "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_6aabd_9",
6
+ "resizer-wrapper": "awsui_resizer-wrapper_x7peu_6aabd_14",
7
+ "resizer-button-wrapper": "awsui_resizer-button-wrapper_x7peu_6aabd_23",
8
+ "divider": "awsui_divider_x7peu_6aabd_27",
9
+ "divider-interactive": "awsui_divider-interactive_x7peu_6aabd_28",
10
+ "divider-grouped": "awsui_divider-grouped_x7peu_6aabd_46",
11
+ "divider-position-top": "awsui_divider-position-top_x7peu_6aabd_50",
12
+ "divider-position-bottom": "awsui_divider-position-bottom_x7peu_6aabd_56",
13
+ "divider-position-full": "awsui_divider-position-full_x7peu_6aabd_62",
14
+ "divider-active": "awsui_divider-active_x7peu_6aabd_72",
15
+ "is-borderless": "awsui_is-borderless_x7peu_6aabd_76",
16
+ "is-last": "awsui_is-last_x7peu_6aabd_76",
17
+ "visual-refresh": "awsui_visual-refresh_x7peu_6aabd_80",
18
+ "resizer": "awsui_resizer_x7peu_6aabd_14",
19
+ "has-focus": "awsui_has-focus_x7peu_6aabd_129",
20
+ "tracker": "awsui_tracker_x7peu_6aabd_151"
21
21
  };
22
22
 
@@ -6,13 +6,13 @@
6
6
  /* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
7
7
  /* Style used for links in slots/components that are text heavy, to help links stand out among
8
8
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
9
- .awsui_resize-active_x7peu_1y14w_9:not(#\9):not(.awsui_resize-active-with-focus_x7peu_1y14w_9) * {
9
+ .awsui_resize-active_x7peu_6aabd_9:not(#\9):not(.awsui_resize-active-with-focus_x7peu_6aabd_9) * {
10
10
  cursor: col-resize;
11
11
  -webkit-user-select: none;
12
12
  user-select: none;
13
13
  }
14
14
 
15
- .awsui_resizer-wrapper_x7peu_1y14w_14:not(#\9) {
15
+ .awsui_resizer-wrapper_x7peu_6aabd_14:not(#\9) {
16
16
  inset-block: 0;
17
17
  position: absolute;
18
18
  inset-inline-end: calc(-1 * var(--space-xl-i9l2ag, 24px) / 2);
@@ -20,16 +20,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
20
20
  overflow: hidden;
21
21
  z-index: 10;
22
22
  }
23
- th:not(#\9):last-child > .awsui_resizer-wrapper_x7peu_1y14w_14:has(.awsui_divider-interactive_x7peu_1y14w_22).awsui_is-borderless_x7peu_1y14w_22 {
24
- inset-inline-end: 0;
25
- }
26
23
 
27
- .awsui_resizer-button-wrapper_x7peu_1y14w_26:not(#\9) {
24
+ .awsui_resizer-button-wrapper_x7peu_6aabd_23:not(#\9) {
28
25
  block-size: 100%;
29
26
  }
30
27
 
31
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22,
32
- .awsui_divider-interactive_x7peu_1y14w_22:not(#\9) {
28
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27,
29
+ .awsui_divider-interactive_x7peu_6aabd_28:not(#\9) {
33
30
  position: absolute;
34
31
  outline: none;
35
32
  pointer-events: none;
@@ -43,45 +40,49 @@ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22,
43
40
  border-inline-start: var(--border-divider-list-width-q8ujlb, 1px) solid var(--color-border-divider-default-8vuq97, #c6c6cd);
44
41
  box-sizing: border-box;
45
42
  }
46
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-interactive_x7peu_1y14w_22,
47
- .awsui_divider-interactive_x7peu_1y14w_22.awsui_divider-interactive_x7peu_1y14w_22:not(#\9) {
43
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27.awsui_divider-interactive_x7peu_6aabd_28,
44
+ .awsui_divider-interactive_x7peu_6aabd_28.awsui_divider-interactive_x7peu_6aabd_28:not(#\9) {
48
45
  border-inline-start: var(--border-divider-list-width-q8ujlb, 1px) solid var(--color-border-divider-interactive-default-8sptgp, #8c8c94);
49
46
  }
50
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-grouped_x7peu_1y14w_49,
51
- .awsui_divider-interactive_x7peu_1y14w_22.awsui_divider-grouped_x7peu_1y14w_49:not(#\9) {
47
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27.awsui_divider-grouped_x7peu_6aabd_46,
48
+ .awsui_divider-interactive_x7peu_6aabd_28.awsui_divider-grouped_x7peu_6aabd_46:not(#\9) {
52
49
  border-inline-start-color: var(--color-border-divider-table-group-4w6lbw, #8c8c94);
53
50
  }
54
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-position-top_x7peu_1y14w_53,
55
- .awsui_divider-interactive_x7peu_1y14w_22.awsui_divider-position-top_x7peu_1y14w_53:not(#\9) {
51
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27.awsui_divider-position-top_x7peu_6aabd_50,
52
+ .awsui_divider-interactive_x7peu_6aabd_28.awsui_divider-position-top_x7peu_6aabd_50:not(#\9) {
56
53
  margin-block-start: 0;
57
54
  margin-block-end: auto;
58
55
  max-block-size: calc(100% - calc(2 * var(--space-xs-3yjatw, 8px) + var(--space-xxxs-elf9ja, 2px)) / 2);
59
56
  }
60
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-position-bottom_x7peu_1y14w_59,
61
- .awsui_divider-interactive_x7peu_1y14w_22.awsui_divider-position-bottom_x7peu_1y14w_59:not(#\9) {
57
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27.awsui_divider-position-bottom_x7peu_6aabd_56,
58
+ .awsui_divider-interactive_x7peu_6aabd_28.awsui_divider-position-bottom_x7peu_6aabd_56:not(#\9) {
62
59
  margin-block-start: auto;
63
60
  margin-block-end: 0;
64
61
  max-block-size: calc(100% - calc(2 * var(--space-xs-3yjatw, 8px) + var(--space-xxxs-elf9ja, 2px)) / 2);
65
62
  }
66
- th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-position-full_x7peu_1y14w_65,
67
- .awsui_divider-interactive_x7peu_1y14w_22.awsui_divider-position-full_x7peu_1y14w_65:not(#\9) {
63
+ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_6aabd_27.awsui_divider-position-full_x7peu_6aabd_62,
64
+ .awsui_divider-interactive_x7peu_6aabd_28.awsui_divider-position-full_x7peu_6aabd_62:not(#\9) {
68
65
  margin-block: 0;
69
66
  max-block-size: 100%;
70
67
  }
71
68
 
72
- .awsui_divider-interactive_x7peu_1y14w_22:not(#\9) {
69
+ .awsui_divider-interactive_x7peu_6aabd_28:not(#\9) {
73
70
  inset-inline-end: calc(var(--space-xl-i9l2ag, 24px) / 2);
74
71
  }
75
72
 
76
- .awsui_divider-active_x7peu_1y14w_75:not(#\9) {
73
+ .awsui_divider-active_x7peu_6aabd_72:not(#\9) {
77
74
  /* used in test-utils */
78
75
  }
79
76
 
80
- .awsui_resizer-wrapper_x7peu_1y14w_14.awsui_visual-refresh_x7peu_1y14w_79.awsui_is-borderless_x7peu_1y14w_22.awsui_is-last_x7peu_1y14w_79 > .awsui_divider-interactive_x7peu_1y14w_22:not(#\9) {
77
+ .awsui_resizer-wrapper_x7peu_6aabd_14.awsui_is-borderless_x7peu_6aabd_76.awsui_is-last_x7peu_6aabd_76:not(#\9) {
78
+ inset-inline-end: 0;
79
+ }
80
+
81
+ .awsui_resizer-wrapper_x7peu_6aabd_14.awsui_visual-refresh_x7peu_6aabd_80.awsui_is-borderless_x7peu_6aabd_76.awsui_is-last_x7peu_6aabd_76 > .awsui_divider-interactive_x7peu_6aabd_28:not(#\9) {
81
82
  inset-inline-end: 0;
82
83
  }
83
84
 
84
- .awsui_resizer_x7peu_1y14w_14:not(#\9) {
85
+ .awsui_resizer_x7peu_6aabd_14:not(#\9) {
85
86
  border-collapse: separate;
86
87
  border-spacing: 0;
87
88
  box-sizing: border-box;
@@ -119,21 +120,21 @@ th:not(#\9):not([data-rightmost]) > .awsui_divider_x7peu_1y14w_22.awsui_divider-
119
120
  block-size: 100%;
120
121
  inline-size: var(--space-xl-i9l2ag, 24px);
121
122
  }
122
- .awsui_resizer_x7peu_1y14w_14:not(#\9):focus {
123
+ .awsui_resizer_x7peu_6aabd_14:not(#\9):focus {
123
124
  outline: none;
124
125
  text-decoration: none;
125
126
  }
126
- .awsui_resize-active_x7peu_1y14w_9 .awsui_resizer_x7peu_1y14w_14:not(#\9) {
127
+ .awsui_resize-active_x7peu_6aabd_9 .awsui_resizer_x7peu_6aabd_14:not(#\9) {
127
128
  pointer-events: none;
128
129
  }
129
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1y14w_14.awsui_has-focus_x7peu_1y14w_128:not(#\9) {
130
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_6aabd_14.awsui_has-focus_x7peu_6aabd_129:not(#\9) {
130
131
  position: relative;
131
132
  }
132
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1y14w_14.awsui_has-focus_x7peu_1y14w_128:not(#\9) {
133
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_6aabd_14.awsui_has-focus_x7peu_6aabd_129:not(#\9) {
133
134
  outline: 2px dotted transparent;
134
135
  outline-offset: calc(calc(var(--space-table-header-focus-outline-gutter-ket92s, 0px) - 2px) - 1px);
135
136
  }
136
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1y14w_14.awsui_has-focus_x7peu_1y14w_128:not(#\9)::before {
137
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_6aabd_14.awsui_has-focus_x7peu_6aabd_129:not(#\9)::before {
137
138
  content: " ";
138
139
  display: block;
139
140
  position: absolute;
@@ -148,13 +149,13 @@ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1y14w_14.awsui_has-focu
148
149
  box-shadow: 0 0 0 2px var(--color-border-item-focused-sb1fs0, #006ce0);
149
150
  }
150
151
 
151
- .awsui_tracker_x7peu_1y14w_150:not(#\9) {
152
+ .awsui_tracker_x7peu_6aabd_151:not(#\9) {
152
153
  display: none;
153
154
  position: absolute;
154
155
  border-inline-start: var(--border-divider-list-width-q8ujlb, 1px) dashed var(--color-border-divider-active-vsrjfj, #0f141a);
155
156
  inline-size: 0;
156
157
  inset-block: 0;
157
158
  }
158
- .awsui_resize-active_x7peu_1y14w_9 .awsui_tracker_x7peu_1y14w_150:not(#\9) {
159
+ .awsui_resize-active_x7peu_6aabd_9 .awsui_tracker_x7peu_6aabd_151:not(#\9) {
159
160
  display: block;
160
161
  }
@@ -2,22 +2,22 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "resize-active": "awsui_resize-active_x7peu_1y14w_9",
6
- "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1y14w_9",
7
- "resizer-wrapper": "awsui_resizer-wrapper_x7peu_1y14w_14",
8
- "divider-interactive": "awsui_divider-interactive_x7peu_1y14w_22",
9
- "is-borderless": "awsui_is-borderless_x7peu_1y14w_22",
10
- "resizer-button-wrapper": "awsui_resizer-button-wrapper_x7peu_1y14w_26",
11
- "divider": "awsui_divider_x7peu_1y14w_22",
12
- "divider-grouped": "awsui_divider-grouped_x7peu_1y14w_49",
13
- "divider-position-top": "awsui_divider-position-top_x7peu_1y14w_53",
14
- "divider-position-bottom": "awsui_divider-position-bottom_x7peu_1y14w_59",
15
- "divider-position-full": "awsui_divider-position-full_x7peu_1y14w_65",
16
- "divider-active": "awsui_divider-active_x7peu_1y14w_75",
17
- "visual-refresh": "awsui_visual-refresh_x7peu_1y14w_79",
18
- "is-last": "awsui_is-last_x7peu_1y14w_79",
19
- "resizer": "awsui_resizer_x7peu_1y14w_14",
20
- "has-focus": "awsui_has-focus_x7peu_1y14w_128",
21
- "tracker": "awsui_tracker_x7peu_1y14w_150"
5
+ "resize-active": "awsui_resize-active_x7peu_6aabd_9",
6
+ "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_6aabd_9",
7
+ "resizer-wrapper": "awsui_resizer-wrapper_x7peu_6aabd_14",
8
+ "resizer-button-wrapper": "awsui_resizer-button-wrapper_x7peu_6aabd_23",
9
+ "divider": "awsui_divider_x7peu_6aabd_27",
10
+ "divider-interactive": "awsui_divider-interactive_x7peu_6aabd_28",
11
+ "divider-grouped": "awsui_divider-grouped_x7peu_6aabd_46",
12
+ "divider-position-top": "awsui_divider-position-top_x7peu_6aabd_50",
13
+ "divider-position-bottom": "awsui_divider-position-bottom_x7peu_6aabd_56",
14
+ "divider-position-full": "awsui_divider-position-full_x7peu_6aabd_62",
15
+ "divider-active": "awsui_divider-active_x7peu_6aabd_72",
16
+ "is-borderless": "awsui_is-borderless_x7peu_6aabd_76",
17
+ "is-last": "awsui_is-last_x7peu_6aabd_76",
18
+ "visual-refresh": "awsui_visual-refresh_x7peu_6aabd_80",
19
+ "resizer": "awsui_resizer_x7peu_6aabd_14",
20
+ "has-focus": "awsui_has-focus_x7peu_6aabd_129",
21
+ "tracker": "awsui_tracker_x7peu_6aabd_151"
22
22
  };
23
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"sticky-header.d.ts","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAM7F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAqB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAK5C,MAAM,WAAW,eAAe;IAC9B,WAAW,IAAI,IAAI,CAAC;IACpB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,UAAU,iBAAiB;IACzB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;IAC/C,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;AAED,wBAAwC"}
1
+ {"version":3,"file":"sticky-header.d.ts","sourceRoot":"","sources":["../../../src/table/sticky-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAO7F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAqB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,eAAe;IAC9B,WAAW,IAAI,IAAI,CAAC;IACpB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,UAAU,iBAAiB;IACzB,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC;IAC/C,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;AAED,wBAAwC"}
@@ -3,11 +3,11 @@
3
3
  import React, { forwardRef, useContext, useImperativeHandle, useRef, useState } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { StickyHeaderContext } from '../container/use-sticky-header';
6
+ import { useStickyHeaderCopy } from '../internal/components/sticky-header/use-sticky-header-copy';
6
7
  import { getVisualContextClassname } from '../internal/components/visual-context';
7
8
  import { TableColGroup } from './column-groups/col-group';
8
9
  import { getTableRoleProps } from './table-role';
9
10
  import Thead from './thead';
10
- import { useStickyHeader } from './use-sticky-header';
11
11
  import styles from './styles.css.js';
12
12
  export default forwardRef(StickyHeader);
13
13
  function StickyHeader({ variant, theadProps, wrapperRef, theadRef, secondaryWrapperRef, tableRef, onScroll, tableHasHeader, contentDensity, tableRole, hasGroupedColumns, columnDefinitions, hasSelection, }, ref) {
@@ -15,7 +15,13 @@ function StickyHeader({ variant, theadProps, wrapperRef, theadRef, secondaryWrap
15
15
  const secondaryTableRef = useRef(null);
16
16
  const { isStuck } = useContext(StickyHeaderContext);
17
17
  const [focusedComponent, setFocusedComponent] = useState(null);
18
- const { scrollToRow, scrollToTop } = useStickyHeader(tableRef, theadRef, secondaryTheadRef, secondaryTableRef, wrapperRef);
18
+ const { scrollToRow, scrollToTop } = useStickyHeaderCopy({
19
+ tableRef,
20
+ theadRef,
21
+ secondaryTheadRef,
22
+ secondaryTableRef,
23
+ tableWrapperRef: wrapperRef,
24
+ });
19
25
  useImperativeHandle(ref, () => ({
20
26
  scrollToTop,
21
27
  scrollToRow,