@cloudscape-design/components 3.0.1303 → 3.0.1305

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 (123) hide show
  1. package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +29 -27
  2. package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +115 -46
  3. package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +29 -27
  4. package/app-layout/visual-refresh-toolbar/state/props-merger.js +3 -3
  5. package/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
  6. package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
  7. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +2 -1
  8. package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
  9. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
  10. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +5 -0
  11. package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
  12. package/calendar/styles.css.js +21 -21
  13. package/calendar/styles.scoped.css +44 -44
  14. package/calendar/styles.selectors.js +21 -21
  15. package/collection-preferences/content-display/index.d.ts.map +1 -1
  16. package/collection-preferences/content-display/index.js +1 -1
  17. package/collection-preferences/content-display/index.js.map +1 -1
  18. package/container/interfaces.d.ts +0 -1
  19. package/container/interfaces.d.ts.map +1 -1
  20. package/container/interfaces.js.map +1 -1
  21. package/date-range-picker/calendar/grids/styles.css.js +30 -30
  22. package/date-range-picker/calendar/grids/styles.scoped.css +56 -56
  23. package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
  24. package/dropdown/index.d.ts +0 -3
  25. package/dropdown/index.d.ts.map +1 -1
  26. package/dropdown/index.js +0 -3
  27. package/dropdown/index.js.map +1 -1
  28. package/i18n/messages/all.all.js +1 -1
  29. package/i18n/messages/all.all.json +1 -1
  30. package/i18n/messages/all.ar.js +1 -1
  31. package/i18n/messages/all.ar.json +1 -1
  32. package/i18n/messages/all.de.js +1 -1
  33. package/i18n/messages/all.de.json +1 -1
  34. package/i18n/messages/all.en-GB.js +1 -1
  35. package/i18n/messages/all.en-GB.json +1 -1
  36. package/i18n/messages/all.en.js +1 -1
  37. package/i18n/messages/all.en.json +1 -1
  38. package/i18n/messages/all.es.js +1 -1
  39. package/i18n/messages/all.es.json +1 -1
  40. package/i18n/messages/all.fr.js +1 -1
  41. package/i18n/messages/all.fr.json +1 -1
  42. package/i18n/messages/all.id.js +1 -1
  43. package/i18n/messages/all.id.json +1 -1
  44. package/i18n/messages/all.it.js +1 -1
  45. package/i18n/messages/all.it.json +1 -1
  46. package/i18n/messages/all.ja.js +1 -1
  47. package/i18n/messages/all.ja.json +1 -1
  48. package/i18n/messages/all.ko.js +1 -1
  49. package/i18n/messages/all.ko.json +1 -1
  50. package/i18n/messages/all.pt-BR.js +1 -1
  51. package/i18n/messages/all.pt-BR.json +1 -1
  52. package/i18n/messages/all.zh-CN.js +1 -1
  53. package/i18n/messages/all.zh-CN.json +1 -1
  54. package/i18n/messages/all.zh-TW.js +1 -1
  55. package/i18n/messages/all.zh-TW.json +1 -1
  56. package/icon-provider/index.d.ts +0 -3
  57. package/icon-provider/index.d.ts.map +1 -1
  58. package/icon-provider/index.js +0 -3
  59. package/icon-provider/index.js.map +1 -1
  60. package/index.d.ts +1 -0
  61. package/index.d.ts.map +1 -1
  62. package/index.js +1 -0
  63. package/index.js.map +1 -1
  64. package/internal/base-component/styles.scoped.css +13 -2
  65. package/internal/components/drag-handle/button.d.ts.map +1 -1
  66. package/internal/components/drag-handle/button.js +1 -1
  67. package/internal/components/drag-handle/button.js.map +1 -1
  68. package/internal/components/sortable-area/index.d.ts.map +1 -1
  69. package/internal/components/sortable-area/index.js +1 -0
  70. package/internal/components/sortable-area/index.js.map +1 -1
  71. package/internal/environment.d.ts +2 -1
  72. package/internal/environment.js +4 -3
  73. package/internal/environment.json +4 -3
  74. package/internal/generated/styles/tokens.d.ts +2 -0
  75. package/internal/generated/styles/tokens.js +2 -0
  76. package/internal/generated/theming/index.cjs +68 -0
  77. package/internal/generated/theming/index.cjs.d.ts +27 -0
  78. package/internal/generated/theming/index.d.ts +27 -0
  79. package/internal/generated/theming/index.js +68 -0
  80. package/internal/manifest.json +1 -1
  81. package/manifest.json +2 -2
  82. package/navigable-group/index.d.ts +0 -3
  83. package/navigable-group/index.d.ts.map +1 -1
  84. package/navigable-group/index.js +0 -3
  85. package/navigable-group/index.js.map +1 -1
  86. package/package.json +2 -1
  87. package/radio-button/index.d.ts +0 -3
  88. package/radio-button/index.d.ts.map +1 -1
  89. package/radio-button/index.js +0 -3
  90. package/radio-button/index.js.map +1 -1
  91. package/test-utils/dom/index.d.ts +28 -0
  92. package/test-utils/dom/index.js +20 -1
  93. package/test-utils/dom/index.js.map +1 -1
  94. package/test-utils/dom/truncated-text/index.d.ts +6 -0
  95. package/test-utils/dom/truncated-text/index.js +17 -0
  96. package/test-utils/dom/truncated-text/index.js.map +1 -0
  97. package/test-utils/selectors/index.d.ts +18 -0
  98. package/test-utils/selectors/index.js +15 -1
  99. package/test-utils/selectors/index.js.map +1 -1
  100. package/test-utils/selectors/truncated-text/index.d.ts +6 -0
  101. package/test-utils/selectors/truncated-text/index.js +17 -0
  102. package/test-utils/selectors/truncated-text/index.js.map +1 -0
  103. package/toggle-button/styles.css.js +3 -3
  104. package/toggle-button/styles.scoped.css +6 -2
  105. package/toggle-button/styles.selectors.js +3 -3
  106. package/truncated-text/index.d.ts +7 -0
  107. package/truncated-text/index.d.ts.map +1 -0
  108. package/truncated-text/index.js +18 -0
  109. package/truncated-text/index.js.map +1 -0
  110. package/truncated-text/interfaces.d.ts +16 -0
  111. package/truncated-text/interfaces.d.ts.map +1 -0
  112. package/truncated-text/interfaces.js +2 -0
  113. package/truncated-text/interfaces.js.map +1 -0
  114. package/truncated-text/internal.d.ts +10 -0
  115. package/truncated-text/internal.d.ts.map +1 -0
  116. package/truncated-text/internal.js +47 -0
  117. package/truncated-text/internal.js.map +1 -0
  118. package/truncated-text/styles.css.js +6 -0
  119. package/truncated-text/styles.scoped.css +177 -0
  120. package/truncated-text/styles.selectors.js +7 -0
  121. package/truncated-text/test-classes/styles.css.js +6 -0
  122. package/truncated-text/test-classes/styles.scoped.css +7 -0
  123. package/truncated-text/test-classes/styles.selectors.js +7 -0
@@ -1203,6 +1203,10 @@ export var preset = {
1203
1203
  "light": "{colorPrimary100}",
1204
1204
  "dark": "{colorNeutral700}"
1205
1205
  },
1206
+ "colorBackgroundToggleButtonNormalDefault": {
1207
+ "light": "{colorBackgroundButtonNormalDefault}",
1208
+ "dark": "{colorBackgroundButtonNormalDefault}"
1209
+ },
1206
1210
  "colorBackgroundButtonPrimaryActive": {
1207
1211
  "light": "{colorPrimary900}",
1208
1212
  "dark": "{colorPrimary400}"
@@ -2011,6 +2015,10 @@ export var preset = {
2011
2015
  "light": "{colorTextDropdownItemDefault}",
2012
2016
  "dark": "{colorTextDropdownItemDefault}"
2013
2017
  },
2018
+ "colorTextCalendarDateSelected": {
2019
+ "light": "{colorBackgroundControlDefault}",
2020
+ "dark": "{colorBackgroundControlDefault}"
2021
+ },
2014
2022
  "colorTextCalendarMonth": {
2015
2023
  "light": "{colorNeutral600}",
2016
2024
  "dark": "{colorNeutral450}"
@@ -3897,6 +3905,10 @@ export var preset = {
3897
3905
  "light": "{colorNeutral700}",
3898
3906
  "dark": "{colorNeutral700}"
3899
3907
  },
3908
+ "colorBackgroundToggleButtonNormalDefault": {
3909
+ "light": "{colorBackgroundButtonNormalDefault}",
3910
+ "dark": "{colorBackgroundButtonNormalDefault}"
3911
+ },
3900
3912
  "colorBackgroundButtonPrimaryActive": {
3901
3913
  "light": "{colorPrimary400}",
3902
3914
  "dark": "{colorPrimary400}"
@@ -4705,6 +4717,10 @@ export var preset = {
4705
4717
  "light": "{colorTextDropdownItemDefault}",
4706
4718
  "dark": "{colorTextDropdownItemDefault}"
4707
4719
  },
4720
+ "colorTextCalendarDateSelected": {
4721
+ "light": "{colorBackgroundControlDefault}",
4722
+ "dark": "{colorBackgroundControlDefault}"
4723
+ },
4708
4724
  "colorTextCalendarMonth": {
4709
4725
  "light": "{colorNeutral450}",
4710
4726
  "dark": "{colorNeutral450}"
@@ -5406,6 +5422,10 @@ export var preset = {
5406
5422
  "light": "{colorNeutral700}",
5407
5423
  "dark": "{colorNeutral700}"
5408
5424
  },
5425
+ "colorBackgroundToggleButtonNormalDefault": {
5426
+ "light": "{colorBackgroundButtonNormalDefault}",
5427
+ "dark": "{colorBackgroundButtonNormalDefault}"
5428
+ },
5409
5429
  "colorBackgroundButtonPrimaryActive": {
5410
5430
  "light": "{colorPrimary400}",
5411
5431
  "dark": "{colorPrimary400}"
@@ -6214,6 +6234,10 @@ export var preset = {
6214
6234
  "light": "{colorTextDropdownItemDefault}",
6215
6235
  "dark": "{colorTextDropdownItemDefault}"
6216
6236
  },
6237
+ "colorTextCalendarDateSelected": {
6238
+ "light": "{colorBackgroundControlDefault}",
6239
+ "dark": "{colorBackgroundControlDefault}"
6240
+ },
6217
6241
  "colorTextCalendarMonth": {
6218
6242
  "light": "{colorNeutral450}",
6219
6243
  "dark": "{colorNeutral450}"
@@ -6843,6 +6867,10 @@ export var preset = {
6843
6867
  "light": "{colorPrimary100}",
6844
6868
  "dark": "{colorNeutral700}"
6845
6869
  },
6870
+ "colorBackgroundToggleButtonNormalDefault": {
6871
+ "light": "{colorBackgroundButtonNormalDefault}",
6872
+ "dark": "{colorBackgroundButtonNormalDefault}"
6873
+ },
6846
6874
  "colorBackgroundButtonPrimaryActive": {
6847
6875
  "light": "{colorPrimary900}",
6848
6876
  "dark": "{colorPrimary400}"
@@ -7651,6 +7679,10 @@ export var preset = {
7651
7679
  "light": "{colorTextDropdownItemDefault}",
7652
7680
  "dark": "{colorTextDropdownItemDefault}"
7653
7681
  },
7682
+ "colorTextCalendarDateSelected": {
7683
+ "light": "{colorBackgroundControlDefault}",
7684
+ "dark": "{colorBackgroundControlDefault}"
7685
+ },
7654
7686
  "colorTextCalendarMonth": {
7655
7687
  "light": "{colorNeutral600}",
7656
7688
  "dark": "{colorNeutral450}"
@@ -8165,6 +8197,10 @@ export var preset = {
8165
8197
  "light": "{colorPrimary100}",
8166
8198
  "dark": "{colorNeutral700}"
8167
8199
  },
8200
+ "colorBackgroundToggleButtonNormalDefault": {
8201
+ "light": "{colorBackgroundButtonNormalDefault}",
8202
+ "dark": "{colorBackgroundButtonNormalDefault}"
8203
+ },
8168
8204
  "colorBackgroundButtonPrimaryActive": {
8169
8205
  "light": "{colorPrimary900}",
8170
8206
  "dark": "{colorPrimary400}"
@@ -8973,6 +9009,10 @@ export var preset = {
8973
9009
  "light": "{colorTextDropdownItemDefault}",
8974
9010
  "dark": "{colorTextDropdownItemDefault}"
8975
9011
  },
9012
+ "colorTextCalendarDateSelected": {
9013
+ "light": "{colorBackgroundControlDefault}",
9014
+ "dark": "{colorBackgroundControlDefault}"
9015
+ },
8976
9016
  "colorTextCalendarMonth": {
8977
9017
  "light": "{colorNeutral600}",
8978
9018
  "dark": "{colorNeutral450}"
@@ -9487,6 +9527,10 @@ export var preset = {
9487
9527
  "light": "{colorPrimary100}",
9488
9528
  "dark": "{colorNeutral700}"
9489
9529
  },
9530
+ "colorBackgroundToggleButtonNormalDefault": {
9531
+ "light": "{colorBackgroundButtonNormalDefault}",
9532
+ "dark": "{colorBackgroundButtonNormalDefault}"
9533
+ },
9490
9534
  "colorBackgroundButtonPrimaryActive": {
9491
9535
  "light": "{colorPrimary900}",
9492
9536
  "dark": "{colorPrimary400}"
@@ -10295,6 +10339,10 @@ export var preset = {
10295
10339
  "light": "{colorTextDropdownItemDefault}",
10296
10340
  "dark": "{colorTextDropdownItemDefault}"
10297
10341
  },
10342
+ "colorTextCalendarDateSelected": {
10343
+ "light": "{colorBackgroundControlDefault}",
10344
+ "dark": "{colorBackgroundControlDefault}"
10345
+ },
10298
10346
  "colorTextCalendarMonth": {
10299
10347
  "light": "{colorNeutral600}",
10300
10348
  "dark": "{colorNeutral450}"
@@ -10811,6 +10859,10 @@ export var preset = {
10811
10859
  "light": "{colorNeutral700}",
10812
10860
  "dark": "{colorNeutral700}"
10813
10861
  },
10862
+ "colorBackgroundToggleButtonNormalDefault": {
10863
+ "light": "{colorBackgroundButtonNormalDefault}",
10864
+ "dark": "{colorBackgroundButtonNormalDefault}"
10865
+ },
10814
10866
  "colorBackgroundButtonPrimaryActive": {
10815
10867
  "light": "{colorPrimary400}",
10816
10868
  "dark": "{colorPrimary400}"
@@ -11619,6 +11671,10 @@ export var preset = {
11619
11671
  "light": "{colorTextDropdownItemDefault}",
11620
11672
  "dark": "{colorTextDropdownItemDefault}"
11621
11673
  },
11674
+ "colorTextCalendarDateSelected": {
11675
+ "light": "{colorBackgroundControlDefault}",
11676
+ "dark": "{colorBackgroundControlDefault}"
11677
+ },
11622
11678
  "colorTextCalendarMonth": {
11623
11679
  "light": "{colorNeutral450}",
11624
11680
  "dark": "{colorNeutral450}"
@@ -12352,6 +12408,7 @@ export var preset = {
12352
12408
  "colorBackgroundButtonNormalDisabled": "color",
12353
12409
  "colorBackgroundButtonNormalHover": "color",
12354
12410
  "colorBackgroundToggleButtonNormalPressed": "color",
12411
+ "colorBackgroundToggleButtonNormalDefault": "color",
12355
12412
  "colorBackgroundButtonPrimaryActive": "color",
12356
12413
  "colorBackgroundButtonPrimaryDefault": "color",
12357
12414
  "colorBackgroundButtonPrimaryDisabled": "color",
@@ -12554,6 +12611,7 @@ export var preset = {
12554
12611
  "colorTextButtonPrimaryDefault": "color",
12555
12612
  "colorTextButtonPrimaryHover": "color",
12556
12613
  "colorTextCalendarDateHover": "color",
12614
+ "colorTextCalendarDateSelected": "color",
12557
12615
  "colorTextCalendarMonth": "color",
12558
12616
  "colorTextCodeEditorGutterActiveLine": "color",
12559
12617
  "colorTextCodeEditorGutterDefault": "color",
@@ -13149,6 +13207,7 @@ export var preset = {
13149
13207
  "colorBackgroundButtonNormalDisabled",
13150
13208
  "colorBackgroundButtonNormalHover",
13151
13209
  "colorBackgroundToggleButtonNormalPressed",
13210
+ "colorBackgroundToggleButtonNormalDefault",
13152
13211
  "colorBackgroundButtonPrimaryActive",
13153
13212
  "colorBackgroundButtonPrimaryDefault",
13154
13213
  "colorBackgroundButtonPrimaryDisabled",
@@ -13200,6 +13259,7 @@ export var preset = {
13200
13259
  "colorBackgroundStatusSuccess",
13201
13260
  "colorBackgroundStatusWarning",
13202
13261
  "colorBackgroundToggleCheckedDisabled",
13262
+ "colorBackgroundToggleDefault",
13203
13263
  "colorBackgroundStatusIndicatorError",
13204
13264
  "colorBackgroundStatusIndicatorWarning",
13205
13265
  "colorBackgroundStatusIndicatorSuccess",
@@ -13271,6 +13331,7 @@ export var preset = {
13271
13331
  "colorTextButtonPrimaryActive",
13272
13332
  "colorTextButtonPrimaryDefault",
13273
13333
  "colorTextButtonPrimaryHover",
13334
+ "colorTextCalendarDateSelected",
13274
13335
  "colorTextCounter",
13275
13336
  "colorTextDropdownItemDefault",
13276
13337
  "colorTextDropdownItemDisabled",
@@ -13626,6 +13687,7 @@ export var preset = {
13626
13687
  "colorBackgroundButtonNormalDisabled",
13627
13688
  "colorBackgroundButtonNormalHover",
13628
13689
  "colorBackgroundToggleButtonNormalPressed",
13690
+ "colorBackgroundToggleButtonNormalDefault",
13629
13691
  "colorBackgroundButtonPrimaryActive",
13630
13692
  "colorBackgroundButtonPrimaryDefault",
13631
13693
  "colorBackgroundButtonPrimaryDisabled",
@@ -13677,6 +13739,7 @@ export var preset = {
13677
13739
  "colorBackgroundStatusSuccess",
13678
13740
  "colorBackgroundStatusWarning",
13679
13741
  "colorBackgroundToggleCheckedDisabled",
13742
+ "colorBackgroundToggleDefault",
13680
13743
  "colorBackgroundAvatarGenAi",
13681
13744
  "colorBackgroundAvatarDefault",
13682
13745
  "colorTextAvatar",
@@ -13743,6 +13806,7 @@ export var preset = {
13743
13806
  "colorTextButtonPrimaryActive",
13744
13807
  "colorTextButtonPrimaryDefault",
13745
13808
  "colorTextButtonPrimaryHover",
13809
+ "colorTextCalendarDateSelected",
13746
13810
  "colorTextCounter",
13747
13811
  "colorTextDropdownItemDefault",
13748
13812
  "colorTextDropdownItemDisabled",
@@ -14242,6 +14306,7 @@ export var preset = {
14242
14306
  "colorBackgroundButtonNormalDisabled": "color-background-button-normal-disabled",
14243
14307
  "colorBackgroundButtonNormalHover": "color-background-button-normal-hover",
14244
14308
  "colorBackgroundToggleButtonNormalPressed": "color-background-toggle-button-normal-pressed",
14309
+ "colorBackgroundToggleButtonNormalDefault": "color-background-toggle-button-normal-default",
14245
14310
  "colorBackgroundButtonPrimaryActive": "color-background-button-primary-active",
14246
14311
  "colorBackgroundButtonPrimaryDefault": "color-background-button-primary-default",
14247
14312
  "colorBackgroundButtonPrimaryDisabled": "color-background-button-primary-disabled",
@@ -14444,6 +14509,7 @@ export var preset = {
14444
14509
  "colorTextButtonPrimaryDefault": "color-text-button-primary-default",
14445
14510
  "colorTextButtonPrimaryHover": "color-text-button-primary-hover",
14446
14511
  "colorTextCalendarDateHover": "color-text-calendar-date-hover",
14512
+ "colorTextCalendarDateSelected": "color-text-calendar-date-selected",
14447
14513
  "colorTextCalendarMonth": "color-text-calendar-month",
14448
14514
  "colorTextCodeEditorGutterActiveLine": "color-text-code-editor-gutter-active-line",
14449
14515
  "colorTextCodeEditorGutterDefault": "color-text-code-editor-gutter-default",
@@ -15169,6 +15235,7 @@ export var preset = {
15169
15235
  "colorBackgroundButtonNormalDisabled": "--color-background-button-normal-disabled-hl039l",
15170
15236
  "colorBackgroundButtonNormalHover": "--color-background-button-normal-hover-53op9s",
15171
15237
  "colorBackgroundToggleButtonNormalPressed": "--color-background-toggle-button-normal-pressed-4khex7",
15238
+ "colorBackgroundToggleButtonNormalDefault": "--color-background-toggle-button-normal-default-ipnqr5",
15172
15239
  "colorBackgroundButtonPrimaryActive": "--color-background-button-primary-active-5cqoqt",
15173
15240
  "colorBackgroundButtonPrimaryDefault": "--color-background-button-primary-default-vdt0fu",
15174
15241
  "colorBackgroundButtonPrimaryDisabled": "--color-background-button-primary-disabled-sgo4zo",
@@ -15371,6 +15438,7 @@ export var preset = {
15371
15438
  "colorTextButtonPrimaryDefault": "--color-text-button-primary-default-mwl31m",
15372
15439
  "colorTextButtonPrimaryHover": "--color-text-button-primary-hover-pw12ep",
15373
15440
  "colorTextCalendarDateHover": "--color-text-calendar-date-hover-3fcriv",
15441
+ "colorTextCalendarDateSelected": "--color-text-calendar-date-selected-m18pgv",
15374
15442
  "colorTextCalendarMonth": "--color-text-calendar-month-ea0e93",
15375
15443
  "colorTextCodeEditorGutterActiveLine": "--color-text-code-editor-gutter-active-line-2addhd",
15376
15444
  "colorTextCodeEditorGutterDefault": "--color-text-code-editor-gutter-default-nlshs8",
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "d6bd1774f1b73d8aa783d78ccc52c4ee6f6d9b2b"
2
+ "commit": "5325301ed5da4fd33f728f111dc61aad6f68724e"
3
3
  }
package/manifest.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactId": "7158682639",
2
+ "artifactId": "7337715621",
3
3
  "repoName": "components",
4
- "commitSha": "d6bd1774f1b73d8aa783d78ccc52c4ee6f6d9b2b"
4
+ "commitSha": "5325301ed5da4fd33f728f111dc61aad6f68724e"
5
5
  }
@@ -2,7 +2,4 @@ import React from 'react';
2
2
  import { NavigableGroupProps } from './interfaces';
3
3
  export { NavigableGroupProps };
4
4
  declare const NavigableGroup: React.ForwardRefExoticComponent<NavigableGroupProps & React.RefAttributes<NavigableGroupProps.Ref>>;
5
- /**
6
- * @awsuiSystem core
7
- */
8
5
  export default NavigableGroup;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/navigable-group/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,QAAA,MAAM,cAAc,qGAMlB,CAAC;AAIH;;GAEG;AACH,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/navigable-group/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,QAAA,MAAM,cAAc,qGAMlB,CAAC;AAIH,eAAe,cAAc,CAAC"}
@@ -14,8 +14,5 @@ const NavigableGroup = React.forwardRef(({ ...rest }, ref) => {
14
14
  return React.createElement(InternalNavigableGroup, { ...baseProps, ...baseComponentProps, ...externalProps, ref: ref });
15
15
  });
16
16
  applyDisplayName(NavigableGroup, 'NavigableGroup');
17
- /**
18
- * @awsuiSystem core
19
- */
20
17
  export default NavigableGroup;
21
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/navigable-group/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,sBAAsB,MAAM,YAAY,CAAC;AAIhD,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,GAAG,IAAI,EAAuB,EAAE,GAAuC,EAAE,EAAE;IACpH,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAE7C,OAAO,oBAAC,sBAAsB,OAAK,SAAS,KAAM,kBAAkB,KAAM,aAAa,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACxG,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAEnD;;GAEG;AACH,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { getBaseProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { getExternalProps } from '../internal/utils/external-props';\nimport { NavigableGroupProps } from './interfaces';\nimport InternalNavigableGroup from './internal';\n\nexport { NavigableGroupProps };\n\nconst NavigableGroup = React.forwardRef(({ ...rest }: NavigableGroupProps, ref: React.Ref<NavigableGroupProps.Ref>) => {\n const baseProps = getBaseProps(rest);\n const baseComponentProps = useBaseComponent('NavigableGroup');\n const externalProps = getExternalProps(rest);\n\n return <InternalNavigableGroup {...baseProps} {...baseComponentProps} {...externalProps} ref={ref} />;\n});\n\napplyDisplayName(NavigableGroup, 'NavigableGroup');\n\n/**\n * @awsuiSystem core\n */\nexport default NavigableGroup;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/navigable-group/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,sBAAsB,MAAM,YAAY,CAAC;AAIhD,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,GAAG,IAAI,EAAuB,EAAE,GAAuC,EAAE,EAAE;IACpH,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAE7C,OAAO,oBAAC,sBAAsB,OAAK,SAAS,KAAM,kBAAkB,KAAM,aAAa,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACxG,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAEnD,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\n\nimport { getBaseProps } from '../internal/base-component';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { getExternalProps } from '../internal/utils/external-props';\nimport { NavigableGroupProps } from './interfaces';\nimport InternalNavigableGroup from './internal';\n\nexport { NavigableGroupProps };\n\nconst NavigableGroup = React.forwardRef(({ ...rest }: NavigableGroupProps, ref: React.Ref<NavigableGroupProps.Ref>) => {\n const baseProps = getBaseProps(rest);\n const baseComponentProps = useBaseComponent('NavigableGroup');\n const externalProps = getExternalProps(rest);\n\n return <InternalNavigableGroup {...baseProps} {...baseComponentProps} {...externalProps} ref={ref} />;\n});\n\napplyDisplayName(NavigableGroup, 'NavigableGroup');\n\nexport default NavigableGroup;\n"]}
package/package.json CHANGED
@@ -125,6 +125,7 @@
125
125
  "./tooltip": "./tooltip/index.js",
126
126
  "./top-navigation": "./top-navigation/index.js",
127
127
  "./tree-view": "./tree-view/index.js",
128
+ "./truncated-text": "./truncated-text/index.js",
128
129
  "./tutorial-panel": "./tutorial-panel/index.js",
129
130
  "./wizard": "./wizard/index.js",
130
131
  "./i18n": "./i18n/index.js",
@@ -166,7 +167,7 @@
166
167
  "./internal/base-component/index.js",
167
168
  "./internal/base-component/styles.css.js"
168
169
  ],
169
- "version": "3.0.1303",
170
+ "version": "3.0.1305",
170
171
  "repository": {
171
172
  "type": "git",
172
173
  "url": "https://github.com/cloudscape-design/components.git"
@@ -2,7 +2,4 @@ import React from 'react';
2
2
  import { RadioButtonProps } from './interfaces';
3
3
  export { RadioButtonProps };
4
4
  declare const RadioButton: React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
5
- /**
6
- * @awsuiSystem core
7
- */
8
5
  export default RadioButton;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radio-button/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,QAAA,MAAM,WAAW,2FAYf,CAAC;AAIH;;GAEG;AACH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radio-button/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,QAAA,MAAM,WAAW,2FAYf,CAAC;AAIH,eAAe,WAAW,CAAC"}
@@ -14,8 +14,5 @@ const RadioButton = React.forwardRef((props, ref) => {
14
14
  return (React.createElement(InternalRadioButton, { ...props, ...baseComponentProps, className: clsx(props.className, styles['radio-button']), ref: ref }));
15
15
  });
16
16
  applyDisplayName(RadioButton, 'RadioButton');
17
- /**
18
- * @awsuiSystem core
19
- */
20
17
  export default RadioButton;
21
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/radio-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,mBAAmB,MAAM,qCAAqC,CAAC;AACtE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGxE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAuB,EAAE,GAAgC,EAAE,EAAE;IACjG,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,aAAa,EAAE;QACzD,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;KAChF,CAAC,CAAC;IACH,OAAO,CACL,oBAAC,mBAAmB,OACd,KAAK,KACL,kBAAkB,EACtB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,EACxD,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AAE7C;;GAEG;AACH,eAAe,WAAW,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport InternalRadioButton from '../internal/components/radio-button';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { RadioButtonProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport { RadioButtonProps };\n\nconst RadioButton = React.forwardRef((props: RadioButtonProps, ref: React.Ref<HTMLInputElement>) => {\n const baseComponentProps = useBaseComponent('RadioButton', {\n props: { readOnly: Boolean(props.readOnly), disabled: Boolean(props.disabled) },\n });\n return (\n <InternalRadioButton\n {...props}\n {...baseComponentProps}\n className={clsx(props.className, styles['radio-button'])}\n ref={ref}\n />\n );\n});\n\napplyDisplayName(RadioButton, 'RadioButton');\n\n/**\n * @awsuiSystem core\n */\nexport default RadioButton;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/radio-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,mBAAmB,MAAM,qCAAqC,CAAC;AACtE,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGxE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAuB,EAAE,GAAgC,EAAE,EAAE;IACjG,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,aAAa,EAAE;QACzD,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;KAChF,CAAC,CAAC;IACH,OAAO,CACL,oBAAC,mBAAmB,OACd,KAAK,KACL,kBAAkB,EACtB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,EACxD,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;AAE7C,eAAe,WAAW,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n'use client';\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport InternalRadioButton from '../internal/components/radio-button';\nimport useBaseComponent from '../internal/hooks/use-base-component';\nimport { applyDisplayName } from '../internal/utils/apply-display-name';\nimport { RadioButtonProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport { RadioButtonProps };\n\nconst RadioButton = React.forwardRef((props: RadioButtonProps, ref: React.Ref<HTMLInputElement>) => {\n const baseComponentProps = useBaseComponent('RadioButton', {\n props: { readOnly: Boolean(props.readOnly), disabled: Boolean(props.disabled) },\n });\n return (\n <InternalRadioButton\n {...props}\n {...baseComponentProps}\n className={clsx(props.className, styles['radio-button'])}\n ref={ref}\n />\n );\n});\n\napplyDisplayName(RadioButton, 'RadioButton');\n\nexport default RadioButton;\n"]}
@@ -91,6 +91,7 @@ import TokenGroupWrapper from './token-group';
91
91
  import TooltipWrapper from './tooltip';
92
92
  import TopNavigationWrapper from './top-navigation';
93
93
  import TreeViewWrapper from './tree-view';
94
+ import TruncatedTextWrapper from './truncated-text';
94
95
  import TutorialPanelWrapper from './tutorial-panel';
95
96
  import WizardWrapper from './wizard';
96
97
  export { ActionCardWrapper };
@@ -184,6 +185,7 @@ export { TokenGroupWrapper };
184
185
  export { TooltipWrapper };
185
186
  export { TopNavigationWrapper };
186
187
  export { TreeViewWrapper };
188
+ export { TruncatedTextWrapper };
187
189
  export { TutorialPanelWrapper };
188
190
  export { WizardWrapper };
189
191
  declare module '@cloudscape-design/test-utils-core/dist/dom' {
@@ -2554,6 +2556,32 @@ declare module '@cloudscape-design/test-utils-core/dist/dom' {
2554
2556
  * @returns {TreeViewWrapper | null}
2555
2557
  */
2556
2558
  findClosestTreeView(): TreeViewWrapper | null;
2559
+ /**
2560
+ * Returns the wrapper of the first TruncatedText that matches the specified CSS selector.
2561
+ * If no CSS selector is specified, returns the wrapper of the first TruncatedText.
2562
+ * If no matching TruncatedText is found, returns `null`.
2563
+ *
2564
+ * @param {string} [selector] CSS Selector
2565
+ * @returns {TruncatedTextWrapper | null}
2566
+ */
2567
+ findTruncatedText(selector?: string): TruncatedTextWrapper | null;
2568
+ /**
2569
+ * Returns an array of TruncatedText wrapper that matches the specified CSS selector.
2570
+ * If no CSS selector is specified, returns all of the TruncatedTexts inside the current wrapper.
2571
+ * If no matching TruncatedText is found, returns an empty array.
2572
+ *
2573
+ * @param {string} [selector] CSS Selector
2574
+ * @returns {Array<TruncatedTextWrapper>}
2575
+ */
2576
+ findAllTruncatedTexts(selector?: string): Array<TruncatedTextWrapper>;
2577
+ /**
2578
+ * Returns the wrapper of the closest parent TruncatedText for the current element,
2579
+ * or the element itself if it is an instance of TruncatedText.
2580
+ * If no TruncatedText is found, returns `null`.
2581
+ *
2582
+ * @returns {TruncatedTextWrapper | null}
2583
+ */
2584
+ findClosestTruncatedText(): TruncatedTextWrapper | null;
2557
2585
  /**
2558
2586
  * Returns the wrapper of the first TutorialPanel that matches the specified CSS selector.
2559
2587
  * If no CSS selector is specified, returns the wrapper of the first TutorialPanel.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LineChartWrapper = exports.KeyValuePairsWrapper = exports.ItemCardWrapper = exports.InputWrapper = exports.IconWrapper = exports.HotspotWrapper = exports.HelpPanelWrapper = exports.HeaderWrapper = exports.GridWrapper = exports.FormFieldWrapper = exports.FormWrapper = exports.FlashbarWrapper = exports.FileUploadWrapper = exports.FileTokenGroupWrapper = exports.FileInputWrapper = exports.FileDropzoneWrapper = exports.ExpandableSectionWrapper = exports.ErrorBoundaryWrapper = exports.DropdownWrapper = exports.DrawerWrapper = exports.DividerWrapper = exports.DateRangePickerWrapper = exports.DatePickerWrapper = exports.DateInputWrapper = exports.CopyToClipboardWrapper = exports.ContentLayoutWrapper = exports.ContainerWrapper = exports.ColumnLayoutWrapper = exports.CollectionPreferencesWrapper = exports.CodeEditorWrapper = exports.CheckboxWrapper = exports.CardsWrapper = exports.CalendarWrapper = exports.ButtonGroupWrapper = exports.ButtonDropdownWrapper = exports.ButtonWrapper = exports.BreadcrumbGroupWrapper = exports.BoxWrapper = exports.BarChartWrapper = exports.BadgeWrapper = exports.AutosuggestWrapper = exports.AttributeEditorWrapper = exports.AreaChartWrapper = exports.AppLayoutToolbarWrapper = exports.AppLayoutWrapper = exports.AnnotationWrapper = exports.AnchorNavigationWrapper = exports.AlertWrapper = exports.ActionCardWrapper = exports.ElementWrapper = void 0;
4
- exports.WizardWrapper = exports.TutorialPanelWrapper = exports.TreeViewWrapper = exports.TopNavigationWrapper = exports.TooltipWrapper = exports.TokenGroupWrapper = exports.TokenWrapper = exports.ToggleButtonWrapper = exports.ToggleWrapper = exports.TimeInputWrapper = exports.TilesWrapper = exports.TextareaWrapper = exports.TextFilterWrapper = exports.TextContentWrapper = exports.TagEditorWrapper = exports.TabsWrapper = exports.TableWrapper = exports.StepsWrapper = exports.StatusIndicatorWrapper = exports.SplitPanelWrapper = exports.SpinnerWrapper = exports.SpaceBetweenWrapper = exports.SliderWrapper = exports.SkeletonWrapper = exports.SideNavigationWrapper = exports.SelectWrapper = exports.SegmentedControlWrapper = exports.S3ResourceSelectorWrapper = exports.RadioGroupWrapper = exports.RadioButtonWrapper = exports.PropertyFilterWrapper = exports.PromptInputWrapper = exports.ProgressBarWrapper = exports.PopoverWrapper = exports.PieChartWrapper = exports.PanelLayoutWrapper = exports.PaginationWrapper = exports.NavigableGroupWrapper = exports.MultiselectWrapper = exports.ModalWrapper = exports.MixedLineBarChartWrapper = exports.LiveRegionWrapper = exports.ListWrapper = exports.LinkWrapper = void 0;
4
+ exports.WizardWrapper = exports.TutorialPanelWrapper = exports.TruncatedTextWrapper = exports.TreeViewWrapper = exports.TopNavigationWrapper = exports.TooltipWrapper = exports.TokenGroupWrapper = exports.TokenWrapper = exports.ToggleButtonWrapper = exports.ToggleWrapper = exports.TimeInputWrapper = exports.TilesWrapper = exports.TextareaWrapper = exports.TextFilterWrapper = exports.TextContentWrapper = exports.TagEditorWrapper = exports.TabsWrapper = exports.TableWrapper = exports.StepsWrapper = exports.StatusIndicatorWrapper = exports.SplitPanelWrapper = exports.SpinnerWrapper = exports.SpaceBetweenWrapper = exports.SliderWrapper = exports.SkeletonWrapper = exports.SideNavigationWrapper = exports.SelectWrapper = exports.SegmentedControlWrapper = exports.S3ResourceSelectorWrapper = exports.RadioGroupWrapper = exports.RadioButtonWrapper = exports.PropertyFilterWrapper = exports.PromptInputWrapper = exports.ProgressBarWrapper = exports.PopoverWrapper = exports.PieChartWrapper = exports.PanelLayoutWrapper = exports.PaginationWrapper = exports.NavigableGroupWrapper = exports.MultiselectWrapper = exports.ModalWrapper = exports.MixedLineBarChartWrapper = exports.LiveRegionWrapper = exports.ListWrapper = exports.LinkWrapper = void 0;
5
5
  exports.default = wrapper;
6
6
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
7
  // SPDX-License-Identifier: Apache-2.0
@@ -190,6 +190,8 @@ const top_navigation_1 = require("./top-navigation");
190
190
  exports.TopNavigationWrapper = top_navigation_1.default;
191
191
  const tree_view_1 = require("./tree-view");
192
192
  exports.TreeViewWrapper = tree_view_1.default;
193
+ const truncated_text_1 = require("./truncated-text");
194
+ exports.TruncatedTextWrapper = truncated_text_1.default;
193
195
  const tutorial_panel_1 = require("./tutorial-panel");
194
196
  exports.TutorialPanelWrapper = tutorial_panel_1.default;
195
197
  const wizard_1 = require("./wizard");
@@ -1286,6 +1288,18 @@ dom_1.ElementWrapper.prototype.findTreeView = function (selector) {
1286
1288
  dom_1.ElementWrapper.prototype.findAllTreeViews = function (selector) {
1287
1289
  return this.findAllComponents(tree_view_1.default, selector);
1288
1290
  };
1291
+ dom_1.ElementWrapper.prototype.findTruncatedText = function (selector) {
1292
+ let rootSelector = `.${truncated_text_1.default.rootSelector}`;
1293
+ if ("legacyRootSelector" in truncated_text_1.default && truncated_text_1.default.legacyRootSelector) {
1294
+ rootSelector = `:is(.${truncated_text_1.default.rootSelector}, .${truncated_text_1.default.legacyRootSelector})`;
1295
+ }
1296
+ // casting to 'any' is needed to avoid this issue with generics
1297
+ // https://github.com/microsoft/TypeScript/issues/29132
1298
+ return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, truncated_text_1.default);
1299
+ };
1300
+ dom_1.ElementWrapper.prototype.findAllTruncatedTexts = function (selector) {
1301
+ return this.findAllComponents(truncated_text_1.default, selector);
1302
+ };
1289
1303
  dom_1.ElementWrapper.prototype.findTutorialPanel = function (selector) {
1290
1304
  let rootSelector = `.${tutorial_panel_1.default.rootSelector}`;
1291
1305
  if ("legacyRootSelector" in tutorial_panel_1.default && tutorial_panel_1.default.legacyRootSelector) {
@@ -1765,6 +1779,11 @@ dom_1.ElementWrapper.prototype.findClosestTreeView = function () {
1765
1779
  // https://github.com/microsoft/TypeScript/issues/29132
1766
1780
  return this.findClosestComponent(tree_view_1.default);
1767
1781
  };
1782
+ dom_1.ElementWrapper.prototype.findClosestTruncatedText = function () {
1783
+ // casting to 'any' is needed to avoid this issue with generics
1784
+ // https://github.com/microsoft/TypeScript/issues/29132
1785
+ return this.findClosestComponent(truncated_text_1.default);
1786
+ };
1768
1787
  dom_1.ElementWrapper.prototype.findClosestTutorialPanel = function () {
1769
1788
  // casting to 'any' is needed to avoid this issue with generics
1770
1789
  // https://github.com/microsoft/TypeScript/issues/29132