@cloudscape-design/components 3.0.1000 → 3.0.1002

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 (105) hide show
  1. package/alert/styles.scoped.css +2 -4
  2. package/anchor-navigation/styles.scoped.css +1 -2
  3. package/annotation-context/annotation/styles.scoped.css +1 -2
  4. package/app-layout/visual-refresh/styles.scoped.css +2 -4
  5. package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +17 -17
  6. package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +35 -36
  7. package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +17 -17
  8. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +1 -2
  9. package/app-layout/visual-refresh-toolbar/toolbar/index.js +1 -1
  10. package/app-layout/visual-refresh-toolbar/toolbar/index.js.map +1 -1
  11. package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +1 -2
  12. package/attribute-editor/styles.scoped.css +1 -2
  13. package/badge/styles.scoped.css +1 -2
  14. package/breadcrumb-group/styles.scoped.css +2 -4
  15. package/button/styles.scoped.css +1 -2
  16. package/button-dropdown/mobile-expandable-group/styles.scoped.css +1 -2
  17. package/button-group/styles.scoped.css +1 -2
  18. package/calendar/styles.scoped.css +1 -2
  19. package/cards/styles.scoped.css +1 -2
  20. package/checkbox/styles.scoped.css +1 -2
  21. package/code-editor/styles.scoped.css +1 -2
  22. package/collection-preferences/content-display/styles.scoped.css +1 -2
  23. package/collection-preferences/styles.scoped.css +1 -2
  24. package/column-layout/styles.scoped.css +1 -2
  25. package/container/styles.scoped.css +1 -2
  26. package/date-picker/styles.scoped.css +1 -2
  27. package/date-range-picker/styles.scoped.css +1 -2
  28. package/drawer/styles.scoped.css +1 -2
  29. package/expandable-section/styles.scoped.css +1 -2
  30. package/file-token-group/styles.scoped.css +1 -2
  31. package/flashbar/styles.scoped.css +1 -2
  32. package/form/styles.scoped.css +1 -2
  33. package/form-field/styles.scoped.css +1 -2
  34. package/grid/styles.scoped.css +1 -2
  35. package/header/styles.scoped.css +1 -2
  36. package/help-panel/styles.scoped.css +1 -2
  37. package/input/styles.scoped.css +1 -2
  38. package/internal/base-component/styles.scoped.css +3 -0
  39. package/internal/components/button-trigger/styles.scoped.css +1 -2
  40. package/internal/components/chart-filter/styles.scoped.css +1 -2
  41. package/internal/components/chart-legend/styles.scoped.css +1 -2
  42. package/internal/components/chart-popover/styles.scoped.css +1 -2
  43. package/internal/components/chart-series-details/styles.scoped.css +3 -6
  44. package/internal/components/chart-series-marker/styles.scoped.css +1 -2
  45. package/internal/components/chart-wrapper/styles.scoped.css +1 -2
  46. package/internal/components/dropdown/styles.scoped.css +1 -2
  47. package/internal/components/dropdown-footer/styles.scoped.css +1 -2
  48. package/internal/components/dropdown-status/styles.scoped.css +1 -2
  49. package/internal/components/menu-dropdown/styles.scoped.css +1 -2
  50. package/internal/components/option/styles.scoped.css +1 -2
  51. package/internal/components/options-list/styles.scoped.css +1 -2
  52. package/internal/components/token-list/styles.scoped.css +1 -2
  53. package/internal/environment.d.ts +1 -0
  54. package/internal/environment.js +2 -1
  55. package/internal/environment.json +2 -1
  56. package/internal/hooks/use-base-component/index.d.ts.map +1 -1
  57. package/internal/hooks/use-base-component/index.js +2 -0
  58. package/internal/hooks/use-base-component/index.js.map +1 -1
  59. package/internal/hooks/use-base-component/styles-check.d.ts +3 -0
  60. package/internal/hooks/use-base-component/styles-check.d.ts.map +1 -0
  61. package/internal/hooks/use-base-component/styles-check.js +46 -0
  62. package/internal/hooks/use-base-component/styles-check.js.map +1 -0
  63. package/internal/manifest.json +1 -1
  64. package/internal/metrics.d.ts.map +1 -1
  65. package/internal/metrics.js +2 -2
  66. package/internal/metrics.js.map +1 -1
  67. package/key-value-pairs/styles.scoped.css +2 -4
  68. package/link/styles.scoped.css +1 -2
  69. package/modal/styles.scoped.css +2 -4
  70. package/multiselect/styles.scoped.css +2 -4
  71. package/package.json +1 -1
  72. package/pagination/styles.scoped.css +1 -2
  73. package/popover/styles.scoped.css +3 -6
  74. package/progress-bar/styles.scoped.css +1 -2
  75. package/prompt-input/internal.d.ts.map +1 -1
  76. package/prompt-input/internal.js +3 -3
  77. package/prompt-input/internal.js.map +1 -1
  78. package/prompt-input/styles.scoped.css +4 -8
  79. package/property-filter/filtering-token/styles.scoped.css +1 -2
  80. package/property-filter/styles.scoped.css +2 -4
  81. package/radio-group/styles.scoped.css +1 -2
  82. package/segmented-control/interfaces.d.ts +2 -1
  83. package/segmented-control/interfaces.d.ts.map +1 -1
  84. package/segmented-control/interfaces.js.map +1 -1
  85. package/segmented-control/styles.scoped.css +1 -2
  86. package/select/styles.scoped.css +1 -2
  87. package/side-navigation/styles.scoped.css +1 -2
  88. package/slider/styles.scoped.css +1 -2
  89. package/split-panel/styles.scoped.css +1 -2
  90. package/steps/styles.scoped.css +1 -2
  91. package/table/expandable-rows/styles.scoped.css +1 -2
  92. package/table/resizer/styles.scoped.css +1 -2
  93. package/tabs/styles.scoped.css +1 -2
  94. package/text-content/styles.scoped.css +1 -2
  95. package/text-filter/styles.scoped.css +1 -2
  96. package/textarea/styles.scoped.css +1 -2
  97. package/tiles/styles.scoped.css +2 -4
  98. package/toggle/styles.scoped.css +1 -2
  99. package/token-group/styles.scoped.css +1 -2
  100. package/top-navigation/1.0-beta/styles.scoped.css +1 -2
  101. package/top-navigation/styles.scoped.css +3 -6
  102. package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +1 -2
  103. package/tutorial-panel/components/tutorial-list/styles.scoped.css +3 -6
  104. package/tutorial-panel/styles.scoped.css +1 -2
  105. package/wizard/styles.scoped.css +1 -2
@@ -198,8 +198,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
198
198
  font-style: normal;
199
199
  font-variant: normal;
200
200
  font-stretch: normal;
201
- -webkit-hyphens: none;
202
- hyphens: none;
201
+ hyphens: none;
203
202
  letter-spacing: normal;
204
203
  list-style: disc outside none;
205
204
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -185,8 +185,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
185
185
  font-style: normal;
186
186
  font-variant: normal;
187
187
  font-stretch: normal;
188
- -webkit-hyphens: none;
189
- hyphens: none;
188
+ hyphens: none;
190
189
  letter-spacing: normal;
191
190
  list-style: disc outside none;
192
191
  tab-size: 8;
@@ -198,8 +198,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
198
198
  font-style: normal;
199
199
  font-variant: normal;
200
200
  font-stretch: normal;
201
- -webkit-hyphens: none;
202
- hyphens: none;
201
+ hyphens: none;
203
202
  letter-spacing: normal;
204
203
  list-style: disc outside none;
205
204
  tab-size: 8;
@@ -220,8 +220,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
220
220
  font-style: normal;
221
221
  font-variant: normal;
222
222
  font-stretch: normal;
223
- -webkit-hyphens: none;
224
- hyphens: none;
223
+ hyphens: none;
225
224
  letter-spacing: normal;
226
225
  list-style: disc outside none;
227
226
  tab-size: 8;
@@ -218,8 +218,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
218
218
  font-style: normal;
219
219
  font-variant: normal;
220
220
  font-stretch: normal;
221
- -webkit-hyphens: none;
222
- hyphens: none;
221
+ hyphens: none;
223
222
  letter-spacing: normal;
224
223
  list-style: disc outside none;
225
224
  tab-size: 8;
@@ -710,8 +710,7 @@ body[data-awsui-focus-visible=true] .awsui_stack_1q84n_12e9t_370 > .awsui_notifi
710
710
  font-style: normal;
711
711
  font-variant: normal;
712
712
  font-stretch: normal;
713
- -webkit-hyphens: none;
714
- hyphens: none;
713
+ hyphens: none;
715
714
  letter-spacing: normal;
716
715
  list-style: disc outside none;
717
716
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -239,8 +239,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
239
239
  font-style: normal;
240
240
  font-variant: normal;
241
241
  font-stretch: normal;
242
- -webkit-hyphens: none;
243
- hyphens: none;
242
+ hyphens: none;
244
243
  letter-spacing: normal;
245
244
  list-style: disc outside none;
246
245
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -190,8 +190,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  font-style: normal;
191
191
  font-variant: normal;
192
192
  font-stretch: normal;
193
- -webkit-hyphens: none;
194
- hyphens: none;
193
+ hyphens: none;
195
194
  letter-spacing: normal;
196
195
  list-style: disc outside none;
197
196
  tab-size: 8;
@@ -190,8 +190,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  font-style: normal;
191
191
  font-variant: normal;
192
192
  font-stretch: normal;
193
- -webkit-hyphens: none;
194
- hyphens: none;
193
+ hyphens: none;
195
194
  letter-spacing: normal;
196
195
  list-style: disc outside none;
197
196
  tab-size: 8;
@@ -158,8 +158,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
158
158
  font-style: normal;
159
159
  font-variant: normal;
160
160
  font-stretch: normal;
161
- -webkit-hyphens: none;
162
- hyphens: none;
161
+ hyphens: none;
163
162
  letter-spacing: normal;
164
163
  list-style: disc outside none;
165
164
  tab-size: 8;
@@ -2035,4 +2035,7 @@
2035
2035
  100% {
2036
2036
  transform: scale(1);
2037
2037
  }
2038
+ }
2039
+ :root {
2040
+ --awsui-version-info-f06998b8: true;
2038
2041
  }
@@ -184,8 +184,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
184
184
  font-style: normal;
185
185
  font-variant: normal;
186
186
  font-stretch: normal;
187
- -webkit-hyphens: none;
188
- hyphens: none;
187
+ hyphens: none;
189
188
  letter-spacing: normal;
190
189
  list-style: disc outside none;
191
190
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -176,8 +176,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
176
176
  font-style: normal;
177
177
  font-variant: normal;
178
178
  font-stretch: normal;
179
- -webkit-hyphens: none;
180
- hyphens: none;
179
+ hyphens: none;
181
180
  letter-spacing: normal;
182
181
  list-style: disc outside none;
183
182
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -162,8 +162,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
162
162
  font-style: normal;
163
163
  font-variant: normal;
164
164
  font-stretch: normal;
165
- -webkit-hyphens: none;
166
- hyphens: none;
165
+ hyphens: none;
167
166
  letter-spacing: normal;
168
167
  list-style: disc outside none;
169
168
  tab-size: 8;
@@ -215,8 +214,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
215
214
  font-style: normal;
216
215
  font-variant: normal;
217
216
  font-stretch: normal;
218
- -webkit-hyphens: none;
219
- hyphens: none;
217
+ hyphens: none;
220
218
  letter-spacing: normal;
221
219
  list-style: disc outside none;
222
220
  tab-size: 8;
@@ -302,8 +300,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
302
300
  font-style: normal;
303
301
  font-variant: normal;
304
302
  font-stretch: normal;
305
- -webkit-hyphens: none;
306
- hyphens: none;
303
+ hyphens: none;
307
304
  letter-spacing: normal;
308
305
  list-style: disc outside none;
309
306
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -190,8 +190,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  font-style: normal;
191
191
  font-variant: normal;
192
192
  font-stretch: normal;
193
- -webkit-hyphens: none;
194
- hyphens: none;
193
+ hyphens: none;
195
194
  letter-spacing: normal;
196
195
  list-style: disc outside none;
197
196
  tab-size: 8;
@@ -208,8 +208,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
208
208
  font-style: normal;
209
209
  font-variant: normal;
210
210
  font-stretch: normal;
211
- -webkit-hyphens: none;
212
- hyphens: none;
211
+ hyphens: none;
213
212
  letter-spacing: normal;
214
213
  list-style: disc outside none;
215
214
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -162,8 +162,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
162
162
  font-style: normal;
163
163
  font-variant: normal;
164
164
  font-stretch: normal;
165
- -webkit-hyphens: none;
166
- hyphens: none;
165
+ hyphens: none;
167
166
  letter-spacing: normal;
168
167
  list-style: disc outside none;
169
168
  tab-size: 8;
@@ -161,8 +161,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
161
161
  font-style: normal;
162
162
  font-variant: normal;
163
163
  font-stretch: normal;
164
- -webkit-hyphens: none;
165
- hyphens: none;
164
+ hyphens: none;
166
165
  letter-spacing: normal;
167
166
  list-style: disc outside none;
168
167
  tab-size: 8;
@@ -260,8 +260,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
260
260
  font-style: normal;
261
261
  font-variant: normal;
262
262
  font-stretch: normal;
263
- -webkit-hyphens: none;
264
- hyphens: none;
263
+ hyphens: none;
265
264
  letter-spacing: normal;
266
265
  list-style: disc outside none;
267
266
  tab-size: 8;
@@ -1,4 +1,5 @@
1
1
  export const PACKAGE_SOURCE: string;
2
2
  export const PACKAGE_VERSION: string;
3
+ export const GIT_SHA: string;
3
4
  export const THEME: string;
4
5
  export const ALWAYS_VISUAL_REFRESH: string;
@@ -1,4 +1,5 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (69c8d30d)";
2
+ export var PACKAGE_VERSION = "3.0.0 (f06998b8)";
3
+ export var GIT_SHA = "f06998b8";
3
4
  export var THEME = "open-source-visual-refresh";
4
5
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (69c8d30d)",
3
+ "PACKAGE_VERSION": "3.0.0 (f06998b8)",
4
+ "GIT_SHA": "f06998b8",
4
5
  "THEME": "open-source-visual-refresh",
5
6
  "ALWAYS_VISUAL_REFRESH": true
6
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EACL,sBAAsB,EAIvB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAK/D,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAC9C,aAAa,EAAE,MAAM,EACrB,MAAM,CAAC,EAAE,sBAAsB,EAC/B,iBAAiB,CAAC,EAAE,iBAAiB;;EAYtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EACL,sBAAsB,EAIvB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAM/D,MAAM,WAAW,0BAA0B,CAAC,CAAC,GAAG,GAAG;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CACvD;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAC9C,aAAa,EAAE,MAAM,EACrB,MAAM,CAAC,EAAE,sBAAsB,EAC/B,iBAAiB,CAAC,EAAE,iBAAiB;;EAatC"}
@@ -2,6 +2,7 @@ import { useComponentMetadata, useComponentMetrics, useFocusVisible, } from '@cl
2
2
  import { PACKAGE_SOURCE, PACKAGE_VERSION, THEME } from '../../environment';
3
3
  import { getVisualTheme } from '../../utils/get-visual-theme';
4
4
  import { useVisualRefresh } from '../use-visual-mode';
5
+ import { useMissingStylesCheck } from './styles-check';
5
6
  /**
6
7
  * This hook is used for components which are exported to customers. The returned __internalRootRef needs to be
7
8
  * attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this
@@ -12,6 +13,7 @@ export default function useBaseComponent(componentName, config, analyticsMetadat
12
13
  const theme = getVisualTheme(THEME, isVisualRefresh);
13
14
  useComponentMetrics(componentName, { packageSource: PACKAGE_SOURCE, packageVersion: PACKAGE_VERSION, theme }, config);
14
15
  useFocusVisible();
16
+ useMissingStylesCheck();
15
17
  const elementRef = useComponentMetadata(componentName, { packageName: PACKAGE_SOURCE, version: PACKAGE_VERSION, theme }, analyticsMetadata);
16
18
  return { __internalRootRef: elementRef };
17
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,GAChB,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAMtD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,aAAqB,EACrB,MAA+B,EAC/B,iBAAqC;IAErC,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACrD,mBAAmB,CAAC,aAAa,EAAE,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;IACtH,eAAe,EAAE,CAAC;IAClB,MAAM,UAAU,GAAG,oBAAoB,CACrC,aAAa,EACb,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,EAChE,iBAAwB,CACzB,CAAC;IACF,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { MutableRefObject } from 'react';\n\nimport {\n ComponentConfiguration,\n useComponentMetadata,\n useComponentMetrics,\n useFocusVisible,\n} from '@cloudscape-design/component-toolkit/internal';\n\nimport { AnalyticsMetadata } from '../../analytics/interfaces';\nimport { PACKAGE_SOURCE, PACKAGE_VERSION, THEME } from '../../environment';\nimport { getVisualTheme } from '../../utils/get-visual-theme';\nimport { useVisualRefresh } from '../use-visual-mode';\n\nexport interface InternalBaseComponentProps<T = any> {\n __internalRootRef?: MutableRefObject<T | null> | null;\n}\n\n/**\n * This hook is used for components which are exported to customers. The returned __internalRootRef needs to be\n * attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this\n * root DOM node and emits the telemetry for this component.\n */\nexport default function useBaseComponent<T = any>(\n componentName: string,\n config?: ComponentConfiguration,\n analyticsMetadata?: AnalyticsMetadata\n) {\n const isVisualRefresh = useVisualRefresh();\n const theme = getVisualTheme(THEME, isVisualRefresh);\n useComponentMetrics(componentName, { packageSource: PACKAGE_SOURCE, packageVersion: PACKAGE_VERSION, theme }, config);\n useFocusVisible();\n const elementRef = useComponentMetadata<T>(\n componentName,\n { packageName: PACKAGE_SOURCE, version: PACKAGE_VERSION, theme },\n analyticsMetadata as any\n );\n return { __internalRootRef: elementRef };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,GAChB,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAMvD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,aAAqB,EACrB,MAA+B,EAC/B,iBAAqC;IAErC,MAAM,eAAe,GAAG,gBAAgB,EAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IACrD,mBAAmB,CAAC,aAAa,EAAE,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;IACtH,eAAe,EAAE,CAAC;IAClB,qBAAqB,EAAE,CAAC;IACxB,MAAM,UAAU,GAAG,oBAAoB,CACrC,aAAa,EACb,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,EAChE,iBAAwB,CACzB,CAAC;IACF,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3C,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { MutableRefObject } from 'react';\n\nimport {\n ComponentConfiguration,\n useComponentMetadata,\n useComponentMetrics,\n useFocusVisible,\n} from '@cloudscape-design/component-toolkit/internal';\n\nimport { AnalyticsMetadata } from '../../analytics/interfaces';\nimport { PACKAGE_SOURCE, PACKAGE_VERSION, THEME } from '../../environment';\nimport { getVisualTheme } from '../../utils/get-visual-theme';\nimport { useVisualRefresh } from '../use-visual-mode';\nimport { useMissingStylesCheck } from './styles-check';\n\nexport interface InternalBaseComponentProps<T = any> {\n __internalRootRef?: MutableRefObject<T | null> | null;\n}\n\n/**\n * This hook is used for components which are exported to customers. The returned __internalRootRef needs to be\n * attached to the (internal) component's root DOM node. The hook takes care of attaching the metadata to this\n * root DOM node and emits the telemetry for this component.\n */\nexport default function useBaseComponent<T = any>(\n componentName: string,\n config?: ComponentConfiguration,\n analyticsMetadata?: AnalyticsMetadata\n) {\n const isVisualRefresh = useVisualRefresh();\n const theme = getVisualTheme(THEME, isVisualRefresh);\n useComponentMetrics(componentName, { packageSource: PACKAGE_SOURCE, packageVersion: PACKAGE_VERSION, theme }, config);\n useFocusVisible();\n useMissingStylesCheck();\n const elementRef = useComponentMetadata<T>(\n componentName,\n { packageName: PACKAGE_SOURCE, version: PACKAGE_VERSION, theme },\n analyticsMetadata as any\n );\n return { __internalRootRef: elementRef };\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export declare function checkMissingStyles(): void;
2
+ export declare function idleWithDelay(cb: () => void): (() => void) | undefined;
3
+ export declare function useMissingStylesCheck(): void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles-check.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/styles-check.ts"],"names":[],"mappings":"AAOA,wBAAgB,kBAAkB,SAMjC;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,IAAI,4BAsB3C;AAUD,wBAAgB,qBAAqB,SAIpC"}
@@ -0,0 +1,46 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { useEffect } from 'react';
4
+ import { GIT_SHA, PACKAGE_VERSION, THEME } from '../../environment';
5
+ import { metrics } from '../../metrics';
6
+ export function checkMissingStyles() {
7
+ const result = getComputedStyle(document.body).getPropertyValue(`--awsui-version-info-${GIT_SHA}`);
8
+ if (!result) {
9
+ console.error(`Missing AWS-UI CSS for theme "${THEME}", version "${PACKAGE_VERSION}", and git sha "${GIT_SHA}".`);
10
+ metrics.sendOpsMetricObject('awsui-missing-css-asset', {});
11
+ }
12
+ }
13
+ export function idleWithDelay(cb) {
14
+ // if idle callbacks not supported, we simply do not collect the metric
15
+ if (typeof requestIdleCallback !== 'function') {
16
+ return;
17
+ }
18
+ let aborted = false;
19
+ setTimeout(() => {
20
+ if (aborted) {
21
+ return;
22
+ }
23
+ requestIdleCallback(() => {
24
+ if (aborted) {
25
+ return;
26
+ }
27
+ cb();
28
+ });
29
+ }, 1000);
30
+ return () => {
31
+ aborted = true;
32
+ };
33
+ }
34
+ let checked = false;
35
+ const checkMissingStylesOnce = () => {
36
+ if (!checked) {
37
+ checkMissingStyles();
38
+ checked = true;
39
+ }
40
+ };
41
+ export function useMissingStylesCheck() {
42
+ useEffect(() => {
43
+ return idleWithDelay(() => checkMissingStylesOnce());
44
+ }, []);
45
+ }
46
+ //# sourceMappingURL=styles-check.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles-check.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-base-component/styles-check.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,UAAU,kBAAkB;IAChC,MAAM,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,wBAAwB,OAAO,EAAE,CAAC,CAAC;IACnG,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,CAAC,KAAK,CAAC,iCAAiC,KAAK,eAAe,eAAe,mBAAmB,OAAO,IAAI,CAAC,CAAC;QAClH,OAAO,CAAC,mBAAmB,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC;KAC5D;AACH,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,EAAc;IAC1C,uEAAuE;IACvE,IAAI,OAAO,mBAAmB,KAAK,UAAU,EAAE;QAC7C,OAAO;KACR;IACD,IAAI,OAAO,GAAG,KAAK,CAAC;IAEpB,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,OAAO,EAAE;YACX,OAAO;SACR;QACD,mBAAmB,CAAC,GAAG,EAAE;YACvB,IAAI,OAAO,EAAE;gBACX,OAAO;aACR;YACD,EAAE,EAAE,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,IAAI,CAAC,CAAC;IAET,OAAO,GAAG,EAAE;QACV,OAAO,GAAG,IAAI,CAAC;IACjB,CAAC,CAAC;AACJ,CAAC;AAED,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,MAAM,sBAAsB,GAAG,GAAG,EAAE;IAClC,IAAI,CAAC,OAAO,EAAE;QACZ,kBAAkB,EAAE,CAAC;QACrB,OAAO,GAAG,IAAI,CAAC;KAChB;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,qBAAqB;IACnC,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,aAAa,CAAC,GAAG,EAAE,CAAC,sBAAsB,EAAE,CAAC,CAAC;IACvD,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useEffect } from 'react';\n\nimport { GIT_SHA, PACKAGE_VERSION, THEME } from '../../environment';\nimport { metrics } from '../../metrics';\n\nexport function checkMissingStyles() {\n const result = getComputedStyle(document.body).getPropertyValue(`--awsui-version-info-${GIT_SHA}`);\n if (!result) {\n console.error(`Missing AWS-UI CSS for theme \"${THEME}\", version \"${PACKAGE_VERSION}\", and git sha \"${GIT_SHA}\".`);\n metrics.sendOpsMetricObject('awsui-missing-css-asset', {});\n }\n}\n\nexport function idleWithDelay(cb: () => void) {\n // if idle callbacks not supported, we simply do not collect the metric\n if (typeof requestIdleCallback !== 'function') {\n return;\n }\n let aborted = false;\n\n setTimeout(() => {\n if (aborted) {\n return;\n }\n requestIdleCallback(() => {\n if (aborted) {\n return;\n }\n cb();\n });\n }, 1000);\n\n return () => {\n aborted = true;\n };\n}\n\nlet checked = false;\nconst checkMissingStylesOnce = () => {\n if (!checked) {\n checkMissingStyles();\n checked = true;\n }\n};\n\nexport function useMissingStylesCheck() {\n useEffect(() => {\n return idleWithDelay(() => checkMissingStylesOnce());\n }, []);\n}\n"]}
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "69c8d30dc3fe54ba489aa9602cc456528ab16cfa"
2
+ "commit": "f06998b8cae07766b6e6af104f801928cfec0c90"
3
3
  }
@@ -1 +1 @@
1
- {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/internal/metrics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAIxE,eAAO,MAAM,OAAO,SAA+C,CAAC"}
1
+ {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/internal/metrics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAIxE,eAAO,MAAM,OAAO,SAAgG,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { Metrics } from '@cloudscape-design/component-toolkit/internal';
4
- import { PACKAGE_SOURCE, PACKAGE_VERSION } from './environment';
5
- export const metrics = new Metrics(PACKAGE_SOURCE, PACKAGE_VERSION);
4
+ import { PACKAGE_SOURCE, PACKAGE_VERSION, THEME } from './environment';
5
+ export const metrics = new Metrics({ packageSource: PACKAGE_SOURCE, packageVersion: PACKAGE_VERSION, theme: THEME });
6
6
  //# sourceMappingURL=metrics.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../src/internal/metrics.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Metrics } from '@cloudscape-design/component-toolkit/internal';\n\nimport { PACKAGE_SOURCE, PACKAGE_VERSION } from './environment';\n\nexport const metrics = new Metrics(PACKAGE_SOURCE, PACKAGE_VERSION);\n"]}
1
+ {"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../src/internal/metrics.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEvE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Metrics } from '@cloudscape-design/component-toolkit/internal';\n\nimport { PACKAGE_SOURCE, PACKAGE_VERSION, THEME } from './environment';\n\nexport const metrics = new Metrics({ packageSource: PACKAGE_SOURCE, packageVersion: PACKAGE_VERSION, theme: THEME });\n"]}
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -222,8 +221,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
222
221
  font-style: normal;
223
222
  font-variant: normal;
224
223
  font-stretch: normal;
225
- -webkit-hyphens: none;
226
- hyphens: none;
224
+ hyphens: none;
227
225
  letter-spacing: normal;
228
226
  list-style: disc outside none;
229
227
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -270,8 +270,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
270
270
  font-style: normal;
271
271
  font-variant: normal;
272
272
  font-stretch: normal;
273
- -webkit-hyphens: none;
274
- hyphens: none;
273
+ hyphens: none;
275
274
  letter-spacing: normal;
276
275
  list-style: disc outside none;
277
276
  tab-size: 8;
@@ -351,8 +350,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
351
350
  font-style: normal;
352
351
  font-variant: normal;
353
352
  font-stretch: normal;
354
- -webkit-hyphens: none;
355
- hyphens: none;
353
+ hyphens: none;
356
354
  letter-spacing: normal;
357
355
  list-style: disc outside none;
358
356
  tab-size: 8;
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -187,8 +186,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
187
186
  font-style: normal;
188
187
  font-variant: normal;
189
188
  font-stretch: normal;
190
- -webkit-hyphens: none;
191
- hyphens: none;
189
+ hyphens: none;
192
190
  letter-spacing: normal;
193
191
  list-style: disc outside none;
194
192
  tab-size: 8;
package/package.json CHANGED
@@ -149,7 +149,7 @@
149
149
  "./internal/base-component/index.js",
150
150
  "./internal/base-component/styles.css.js"
151
151
  ],
152
- "version": "3.0.1000",
152
+ "version": "3.0.1002",
153
153
  "repository": {
154
154
  "type": "git",
155
155
  "url": "https://github.com/cloudscape-design/components.git"
@@ -154,8 +154,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
154
154
  font-style: normal;
155
155
  font-variant: normal;
156
156
  font-stretch: normal;
157
- -webkit-hyphens: none;
158
- hyphens: none;
157
+ hyphens: none;
159
158
  letter-spacing: normal;
160
159
  list-style: disc outside none;
161
160
  tab-size: 8;
@@ -501,8 +501,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
501
501
  font-style: normal;
502
502
  font-variant: normal;
503
503
  font-stretch: normal;
504
- -webkit-hyphens: none;
505
- hyphens: none;
504
+ hyphens: none;
506
505
  letter-spacing: normal;
507
506
  list-style: disc outside none;
508
507
  tab-size: 8;
@@ -776,8 +775,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
776
775
  font-style: normal;
777
776
  font-variant: normal;
778
777
  font-stretch: normal;
779
- -webkit-hyphens: none;
780
- hyphens: none;
778
+ hyphens: none;
781
779
  letter-spacing: normal;
782
780
  list-style: disc outside none;
783
781
  tab-size: 8;
@@ -1102,8 +1100,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
1102
1100
  font-style: normal;
1103
1101
  font-variant: normal;
1104
1102
  font-stretch: normal;
1105
- -webkit-hyphens: none;
1106
- hyphens: none;
1103
+ hyphens: none;
1107
1104
  letter-spacing: normal;
1108
1105
  list-style: disc outside none;
1109
1106
  tab-size: 8;
@@ -409,8 +409,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
409
409
  font-style: normal;
410
410
  font-variant: normal;
411
411
  font-stretch: normal;
412
- -webkit-hyphens: none;
413
- hyphens: none;
412
+ hyphens: none;
414
413
  letter-spacing: normal;
415
414
  list-style: disc outside none;
416
415
  tab-size: 8;
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/prompt-input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmE,MAAM,OAAO,CAAC;AAWxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKhD,UAAU,wBACR,SAAQ,YAAY,CAAC,gBAAgB,EAAE,SAAS,GAAG,SAAS,CAAC,EAC3D,0BAA0B;CAAG;AAEjC,QAAA,MAAM,mBAAmB,uGAmNxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/prompt-input/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmE,MAAM,OAAO,CAAC;AAWxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAKhD,UAAU,wBACR,SAAQ,YAAY,CAAC,gBAAgB,EAAE,SAAS,GAAG,SAAS,CAAC,EAC3D,0BAA0B;CAAG;AAEjC,QAAA,MAAM,mBAAmB,uGAkNxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}