@cloudscape-design/components-themeable 3.0.281 → 3.0.283

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 (61) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/collection-preferences/content-display/{sortable-item.scss → content-display-option.scss} +35 -41
  3. package/lib/internal/scss/collection-preferences/content-display/styles.scss +2 -5
  4. package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts +13 -0
  5. package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts.map +1 -0
  6. package/lib/internal/template/collection-preferences/content-display/content-display-option.js +23 -0
  7. package/lib/internal/template/collection-preferences/content-display/content-display-option.js.map +1 -0
  8. package/lib/internal/template/collection-preferences/content-display/{sortable-item.d.ts → draggable-option.d.ts} +2 -2
  9. package/lib/internal/template/collection-preferences/content-display/draggable-option.d.ts.map +1 -0
  10. package/lib/internal/template/collection-preferences/content-display/draggable-option.js +27 -0
  11. package/lib/internal/template/collection-preferences/content-display/draggable-option.js.map +1 -0
  12. package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -1
  13. package/lib/internal/template/collection-preferences/content-display/index.js +10 -3
  14. package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -1
  15. package/lib/internal/template/collection-preferences/content-display/styles.css.js +11 -15
  16. package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +80 -62
  17. package/lib/internal/template/collection-preferences/content-display/styles.selectors.js +11 -15
  18. package/lib/internal/template/collection-preferences/styles.css.js +32 -36
  19. package/lib/internal/template/collection-preferences/styles.scoped.css +102 -84
  20. package/lib/internal/template/collection-preferences/styles.selectors.js +32 -36
  21. package/lib/internal/template/internal/environment.js +1 -1
  22. package/lib/internal/template/property-filter/controller.d.ts +8 -16
  23. package/lib/internal/template/property-filter/controller.d.ts.map +1 -1
  24. package/lib/internal/template/property-filter/controller.js +17 -48
  25. package/lib/internal/template/property-filter/controller.js.map +1 -1
  26. package/lib/internal/template/property-filter/index.d.ts.map +1 -1
  27. package/lib/internal/template/property-filter/index.js +38 -14
  28. package/lib/internal/template/property-filter/index.js.map +1 -1
  29. package/lib/internal/template/property-filter/interfaces.d.ts +18 -2
  30. package/lib/internal/template/property-filter/interfaces.d.ts.map +1 -1
  31. package/lib/internal/template/property-filter/interfaces.js.map +1 -1
  32. package/lib/internal/template/property-filter/property-editor.d.ts +4 -4
  33. package/lib/internal/template/property-filter/property-editor.d.ts.map +1 -1
  34. package/lib/internal/template/property-filter/property-editor.js +1 -1
  35. package/lib/internal/template/property-filter/property-editor.js.map +1 -1
  36. package/lib/internal/template/property-filter/token-editor.d.ts +3 -3
  37. package/lib/internal/template/property-filter/token-editor.d.ts.map +1 -1
  38. package/lib/internal/template/property-filter/token-editor.js +11 -11
  39. package/lib/internal/template/property-filter/token-editor.js.map +1 -1
  40. package/lib/internal/template/property-filter/token.d.ts +3 -3
  41. package/lib/internal/template/property-filter/token.d.ts.map +1 -1
  42. package/lib/internal/template/property-filter/token.js +1 -1
  43. package/lib/internal/template/property-filter/token.js.map +1 -1
  44. package/lib/internal/template/property-filter/use-load-items.d.ts +1 -1
  45. package/lib/internal/template/property-filter/use-load-items.js +1 -1
  46. package/lib/internal/template/property-filter/use-load-items.js.map +1 -1
  47. package/lib/internal/template/property-filter/utils.d.ts +10 -3
  48. package/lib/internal/template/property-filter/utils.d.ts.map +1 -1
  49. package/lib/internal/template/property-filter/utils.js +12 -0
  50. package/lib/internal/template/property-filter/utils.js.map +1 -1
  51. package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js +2 -2
  52. package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -1
  53. package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js +2 -2
  54. package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -1
  55. package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
  56. package/lib/internal/template/top-navigation/interfaces.d.ts +1 -1
  57. package/lib/internal/template/top-navigation/interfaces.js.map +1 -1
  58. package/package.json +1 -1
  59. package/lib/internal/template/collection-preferences/content-display/sortable-item.d.ts.map +0 -1
  60. package/lib/internal/template/collection-preferences/content-display/sortable-item.js +0 -52
  61. package/lib/internal/template/collection-preferences/content-display/sortable-item.js.map +0 -1
@@ -1,41 +1,37 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "visible-content": "awsui_visible-content_tc96w_8lz94_185",
5
- "visible-content-toggle": "awsui_visible-content-toggle_tc96w_8lz94_186",
6
- "visible-content-groups": "awsui_visible-content-groups_tc96w_8lz94_187",
7
- "visible-content-group": "awsui_visible-content-group_tc96w_8lz94_187",
8
- "visible-content-title": "awsui_visible-content-title_tc96w_8lz94_192",
9
- "visible-content-group-label": "awsui_visible-content-group-label_tc96w_8lz94_201",
10
- "visible-content-option": "awsui_visible-content-option_tc96w_8lz94_207",
11
- "visible-content-option-label": "awsui_visible-content-option-label_tc96w_8lz94_218",
12
- "sortable-item-toggle": "awsui_sortable-item-toggle_tc96w_8lz94_409",
13
- "sortable-item": "awsui_sortable-item_tc96w_8lz94_409",
14
- "sortable-item-placeholder": "awsui_sortable-item-placeholder_tc96w_8lz94_417",
15
- "sortable-item-content": "awsui_sortable-item-content_tc96w_8lz94_427",
16
- "draggable": "awsui_draggable_tc96w_8lz94_437",
17
- "active": "awsui_active_tc96w_8lz94_446",
18
- "sorting": "awsui_sorting_tc96w_8lz94_452",
19
- "sortable-item-label": "awsui_sortable-item-label_tc96w_8lz94_495",
20
- "content-display": "awsui_content-display_tc96w_8lz94_500",
21
- "content-display-groups": "awsui_content-display-groups_tc96w_8lz94_501",
22
- "content-display-group": "awsui_content-display-group_tc96w_8lz94_501",
23
- "content-display-option": "awsui_content-display-option_tc96w_8lz94_503",
24
- "content-display-title": "awsui_content-display-title_tc96w_8lz94_507",
25
- "content-display-description": "awsui_content-display-description_tc96w_8lz94_515",
26
- "content-display-option-list": "awsui_content-display-option-list_tc96w_8lz94_523",
27
- "root": "awsui_root_tc96w_8lz94_529",
28
- "modal-root": "awsui_modal-root_tc96w_8lz94_530",
29
- "trigger-button": "awsui_trigger-button_tc96w_8lz94_531",
30
- "cancel-button": "awsui_cancel-button_tc96w_8lz94_532",
31
- "confirm-button": "awsui_confirm-button_tc96w_8lz94_533",
32
- "custom": "awsui_custom_tc96w_8lz94_534",
33
- "second-column-small": "awsui_second-column-small_tc96w_8lz94_538",
34
- "wrap-lines": "awsui_wrap-lines_tc96w_8lz94_542",
35
- "striped-rows": "awsui_striped-rows_tc96w_8lz94_543",
36
- "content-density": "awsui_content-density_tc96w_8lz94_544",
37
- "page-size": "awsui_page-size_tc96w_8lz94_545",
38
- "page-size-form-field": "awsui_page-size-form-field_tc96w_8lz94_546",
39
- "page-size-radio-group": "awsui_page-size-radio-group_tc96w_8lz94_547"
4
+ "visible-content": "awsui_visible-content_tc96w_p0ipj_185",
5
+ "visible-content-toggle": "awsui_visible-content-toggle_tc96w_p0ipj_186",
6
+ "visible-content-groups": "awsui_visible-content-groups_tc96w_p0ipj_187",
7
+ "visible-content-group": "awsui_visible-content-group_tc96w_p0ipj_187",
8
+ "visible-content-title": "awsui_visible-content-title_tc96w_p0ipj_192",
9
+ "visible-content-group-label": "awsui_visible-content-group-label_tc96w_p0ipj_201",
10
+ "visible-content-option": "awsui_visible-content-option_tc96w_p0ipj_207",
11
+ "visible-content-option-label": "awsui_visible-content-option-label_tc96w_p0ipj_218",
12
+ "content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_p0ipj_409",
13
+ "content-display-option-content": "awsui_content-display-option-content_tc96w_p0ipj_413",
14
+ "content-display-option": "awsui_content-display-option_tc96w_p0ipj_409",
15
+ "placeholder": "awsui_placeholder_tc96w_p0ipj_436",
16
+ "sorting": "awsui_sorting_tc96w_p0ipj_436",
17
+ "content-display-option-label": "awsui_content-display-option-label_tc96w_p0ipj_464",
18
+ "drag-overlay": "awsui_drag-overlay_tc96w_p0ipj_472",
19
+ "content-display": "awsui_content-display_tc96w_p0ipj_409",
20
+ "content-display-title": "awsui_content-display-title_tc96w_p0ipj_499",
21
+ "content-display-description": "awsui_content-display-description_tc96w_p0ipj_507",
22
+ "content-display-option-list": "awsui_content-display-option-list_tc96w_p0ipj_515",
23
+ "root": "awsui_root_tc96w_p0ipj_521",
24
+ "modal-root": "awsui_modal-root_tc96w_p0ipj_522",
25
+ "trigger-button": "awsui_trigger-button_tc96w_p0ipj_523",
26
+ "cancel-button": "awsui_cancel-button_tc96w_p0ipj_524",
27
+ "confirm-button": "awsui_confirm-button_tc96w_p0ipj_525",
28
+ "custom": "awsui_custom_tc96w_p0ipj_526",
29
+ "second-column-small": "awsui_second-column-small_tc96w_p0ipj_530",
30
+ "wrap-lines": "awsui_wrap-lines_tc96w_p0ipj_534",
31
+ "striped-rows": "awsui_striped-rows_tc96w_p0ipj_535",
32
+ "content-density": "awsui_content-density_tc96w_p0ipj_536",
33
+ "page-size": "awsui_page-size_tc96w_p0ipj_537",
34
+ "page-size-form-field": "awsui_page-size-form-field_tc96w_p0ipj_538",
35
+ "page-size-radio-group": "awsui_page-size-radio-group_tc96w_p0ipj_539"
40
36
  };
41
37
 
@@ -182,14 +182,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
182
182
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
183
183
  SPDX-License-Identifier: Apache-2.0
184
184
  */
185
- .awsui_visible-content_tc96w_8lz94_185:not(#\9),
186
- .awsui_visible-content-toggle_tc96w_8lz94_186:not(#\9),
187
- .awsui_visible-content-groups_tc96w_8lz94_187:not(#\9),
188
- .awsui_visible-content-group_tc96w_8lz94_187:not(#\9) {
185
+ .awsui_visible-content_tc96w_p0ipj_185:not(#\9),
186
+ .awsui_visible-content-toggle_tc96w_p0ipj_186:not(#\9),
187
+ .awsui_visible-content-groups_tc96w_p0ipj_187:not(#\9),
188
+ .awsui_visible-content-group_tc96w_p0ipj_187:not(#\9) {
189
189
  /* used in test-utils */
190
190
  }
191
191
 
192
- .awsui_visible-content-title_tc96w_8lz94_192:not(#\9) {
192
+ .awsui_visible-content-title_tc96w_p0ipj_192:not(#\9) {
193
193
  font-size: var(--font-body-m-size-sregvd, 14px);
194
194
  line-height: var(--font-body-m-line-height-i7xxvv, 22px);
195
195
  font-weight: var(--font-display-label-weight-tjy9e4, 400);
@@ -198,24 +198,24 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
198
198
  margin-bottom: var(--space-scaled-l-t03y3z, 20px);
199
199
  }
200
200
 
201
- .awsui_visible-content-group-label_tc96w_8lz94_201:not(#\9) {
201
+ .awsui_visible-content-group-label_tc96w_p0ipj_201:not(#\9) {
202
202
  color: var(--color-text-group-label-5rxtyp, #545b64);
203
203
  padding-bottom: var(--space-xs-rsr2qu, 8px);
204
204
  border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
205
205
  }
206
206
 
207
- .awsui_visible-content-option_tc96w_8lz94_207:not(#\9) {
207
+ .awsui_visible-content-option_tc96w_p0ipj_207:not(#\9) {
208
208
  display: flex;
209
209
  flex-wrap: nowrap;
210
210
  justify-content: space-between;
211
211
  padding: var(--space-xs-rsr2qu, 8px) 0px var(--space-xs-rsr2qu, 8px) var(--space-scaled-l-t03y3z, 20px);
212
212
  border-bottom: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
213
213
  }
214
- .awsui_visible-content-option_tc96w_8lz94_207:not(#\9):last-child {
214
+ .awsui_visible-content-option_tc96w_p0ipj_207:not(#\9):last-child {
215
215
  border-bottom: none;
216
216
  }
217
217
 
218
- .awsui_visible-content-option-label_tc96w_8lz94_218:not(#\9) {
218
+ .awsui_visible-content-option-label_tc96w_p0ipj_218:not(#\9) {
219
219
  overflow: hidden;
220
220
  text-overflow: ellipsis;
221
221
  padding-right: var(--space-l-4vl6xu, 20px);
@@ -406,81 +406,107 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
406
406
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
407
407
  SPDX-License-Identifier: Apache-2.0
408
408
  */
409
- .awsui_sortable-item-toggle_tc96w_8lz94_409:not(#\9) {
409
+ .awsui_content-display-option-toggle_tc96w_p0ipj_409:not(#\9) {
410
410
  /* used in test-utils */
411
411
  }
412
412
 
413
- .awsui_sortable-item_tc96w_8lz94_409:not(#\9) {
414
- position: relative;
415
- }
416
-
417
- .awsui_sortable-item-placeholder_tc96w_8lz94_417:not(#\9) {
418
- position: absolute;
419
- top: 0;
420
- bottom: 0;
421
- left: 0;
422
- right: 0;
423
- background: var(--color-drag-placeholder-hover-brp0p3, #99cbe4);
424
- border-radius: var(--border-radius-item-wjpc1f, 0px);
425
- }
426
-
427
- .awsui_sortable-item-content_tc96w_8lz94_427:not(#\9) {
428
- border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
413
+ .awsui_content-display-option-content_tc96w_p0ipj_413:not(#\9) {
414
+ /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
415
+ border-collapse: separate;
416
+ border-spacing: 0;
417
+ caption-side: top;
418
+ cursor: auto;
419
+ direction: ltr;
420
+ empty-cells: show;
421
+ font-family: serif;
422
+ font-size: medium;
423
+ font-style: normal;
424
+ font-variant: normal;
425
+ font-weight: normal;
426
+ font-stretch: normal;
427
+ line-height: normal;
428
+ -webkit-hyphens: none;
429
+ hyphens: none;
430
+ letter-spacing: normal;
431
+ list-style: disc outside none;
432
+ tab-size: 8;
433
+ text-align: left;
434
+ text-align-last: auto;
435
+ text-indent: 0;
436
+ text-shadow: none;
437
+ text-transform: none;
438
+ visibility: visible;
439
+ white-space: normal;
440
+ widows: 2;
441
+ word-spacing: normal;
442
+ box-sizing: border-box;
443
+ font-size: var(--font-body-m-size-sregvd, 14px);
444
+ line-height: var(--font-body-m-line-height-i7xxvv, 22px);
445
+ color: var(--color-text-body-default-7m2b3r, #16191f);
446
+ font-weight: 400;
447
+ font-family: var(--font-family-base-mylvzb, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
448
+ -webkit-font-smoothing: auto;
449
+ -moz-osx-font-smoothing: auto;
429
450
  display: flex;
430
- flex-wrap: nowrap;
431
- justify-content: space-between;
432
451
  align-items: flex-start;
433
- padding-top: var(--space-xs-rsr2qu, 8px);
434
- padding-bottom: var(--space-xs-rsr2qu, 8px);
435
- padding-right: 0;
436
- }
437
- .awsui_sortable-item-content_tc96w_8lz94_427:not(#\9):not(.awsui_draggable_tc96w_8lz94_437) {
438
- padding-left: var(--space-scaled-l-t03y3z, 20px);
439
- }
440
- .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437:not(#\9) {
441
- padding-left: 0;
442
- padding-right: var(--space-scaled-xs-6859qs, 8px);
452
+ padding: var(--space-xs-rsr2qu, 8px) var(--space-scaled-xs-6859qs, 8px) var(--space-xs-rsr2qu, 8px) 0;
443
453
  background-color: var(--color-background-container-content-o88wxm, #ffffff);
444
- z-index: 1;
454
+ border-radius: var(--border-radius-item-wjpc1f, 0px);
445
455
  }
446
- .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9) {
456
+
457
+ .awsui_content-display-option_tc96w_p0ipj_409:not(#\9) {
458
+ list-style: none;
447
459
  position: relative;
448
- z-index: 2;
449
- box-shadow: var(--shadow-container-active-h4jsj2, 0px 4px 8px rgba(0, 28, 36, 0.45));
450
- border-radius: var(--border-radius-item-wjpc1f, 0px);
460
+ border-top: var(--border-divider-list-width-hacikr, 1px) solid var(--color-border-divider-default-k96bks, #eaeded);
451
461
  }
452
- .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437:not(#\9):not(.awsui_active_tc96w_8lz94_446).awsui_sorting_tc96w_8lz94_452 {
462
+ .awsui_content-display-option_tc96w_p0ipj_409:not(#\9):not(.awsui_placeholder_tc96w_p0ipj_436).awsui_sorting_tc96w_p0ipj_436 {
453
463
  transition: transform var(--motion-duration-transition-quick-x85tae, 90ms) var(--motion-easing-transition-quick-lukbd8, linear);
464
+ z-index: 1;
454
465
  }
455
466
  @media (prefers-reduced-motion: reduce) {
456
- .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437:not(#\9):not(.awsui_active_tc96w_8lz94_446).awsui_sorting_tc96w_8lz94_452 {
467
+ .awsui_content-display-option_tc96w_p0ipj_409:not(#\9):not(.awsui_placeholder_tc96w_p0ipj_436).awsui_sorting_tc96w_p0ipj_436 {
457
468
  animation: none;
458
469
  transition: none;
459
470
  }
460
471
  }
461
- .awsui-motion-disabled .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437:not(#\9):not(.awsui_active_tc96w_8lz94_446).awsui_sorting_tc96w_8lz94_452, .awsui-mode-entering .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437:not(#\9):not(.awsui_active_tc96w_8lz94_446).awsui_sorting_tc96w_8lz94_452 {
472
+ .awsui-motion-disabled .awsui_content-display-option_tc96w_p0ipj_409:not(#\9):not(.awsui_placeholder_tc96w_p0ipj_436).awsui_sorting_tc96w_p0ipj_436, .awsui-mode-entering .awsui_content-display-option_tc96w_p0ipj_409:not(#\9):not(.awsui_placeholder_tc96w_p0ipj_436).awsui_sorting_tc96w_p0ipj_436 {
462
473
  animation: none;
463
474
  transition: none;
464
475
  }
465
- body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9) {
466
- transition: transform var(--motion-duration-transition-quick-x85tae, 90ms) var(--motion-easing-transition-quick-lukbd8, linear);
476
+ .awsui_content-display-option_tc96w_p0ipj_409.awsui_placeholder_tc96w_p0ipj_436 > .awsui_content-display-option-content_tc96w_p0ipj_413:not(#\9) {
467
477
  position: relative;
468
478
  }
469
- @media (prefers-reduced-motion: reduce) {
470
- body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9) {
471
- animation: none;
472
- transition: none;
473
- }
479
+ .awsui_content-display-option_tc96w_p0ipj_409.awsui_placeholder_tc96w_p0ipj_436 > .awsui_content-display-option-content_tc96w_p0ipj_413:not(#\9):after {
480
+ content: " ";
481
+ position: absolute;
482
+ top: 0;
483
+ bottom: 0;
484
+ left: 0;
485
+ right: 0;
486
+ background: var(--color-drag-placeholder-hover-brp0p3, #99cbe4);
487
+ border-radius: var(--border-radius-item-wjpc1f, 0px);
474
488
  }
475
- .awsui-motion-disabled body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9), .awsui-mode-entering body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9) {
476
- animation: none;
477
- transition: none;
489
+
490
+ .awsui_content-display-option-label_tc96w_p0ipj_464:not(#\9) {
491
+ flex-grow: 1;
492
+ min-width: 0;
493
+ -ms-word-break: break-all;
494
+ word-break: break-word;
495
+ padding-right: var(--space-l-4vl6xu, 20px);
496
+ }
497
+
498
+ .awsui_drag-overlay_tc96w_p0ipj_472:not(#\9) {
499
+ box-shadow: var(--shadow-container-active-h4jsj2, 0px 4px 8px rgba(0, 28, 36, 0.45));
500
+ border-radius: var(--border-radius-item-wjpc1f, 0px);
478
501
  }
479
- body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9) {
502
+ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_p0ipj_472:not(#\9) {
503
+ position: relative;
504
+ }
505
+ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_p0ipj_472:not(#\9) {
480
506
  outline: 2px dotted transparent;
481
507
  outline-offset: calc(0px - 1px);
482
508
  }
483
- body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427.awsui_draggable_tc96w_8lz94_437.awsui_active_tc96w_8lz94_446:not(#\9)::before {
509
+ body[data-awsui-focus-visible=true] .awsui_drag-overlay_tc96w_p0ipj_472:not(#\9)::before {
484
510
  content: " ";
485
511
  display: block;
486
512
  position: absolute;
@@ -488,23 +514,15 @@ body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427
488
514
  top: calc(-1 * 0px);
489
515
  width: calc(100% + 2 * 0px);
490
516
  height: calc(100% + 2 * 0px);
491
- border-radius: var(--border-radius-control-default-focus-ring-hekmgc, 2px);
517
+ border-radius: var(--border-radius-item-wjpc1f, 0px);
492
518
  box-shadow: 0 0 0 2px var(--color-border-item-focused-n5kd8g, #0073bb);
493
519
  }
494
520
 
495
- .awsui_sortable-item-label_tc96w_8lz94_495:not(#\9) {
496
- padding-right: var(--space-l-4vl6xu, 20px);
497
- flex-grow: 1;
498
- }
499
-
500
- .awsui_content-display_tc96w_8lz94_500:not(#\9),
501
- .awsui_content-display-groups_tc96w_8lz94_501:not(#\9),
502
- .awsui_content-display-group_tc96w_8lz94_501:not(#\9),
503
- .awsui_content-display-option_tc96w_8lz94_503:not(#\9) {
521
+ .awsui_content-display_tc96w_p0ipj_409:not(#\9) {
504
522
  /* used in test-utils */
505
523
  }
506
524
 
507
- .awsui_content-display-title_tc96w_8lz94_507:not(#\9) {
525
+ .awsui_content-display-title_tc96w_p0ipj_499:not(#\9) {
508
526
  font-size: var(--font-body-m-size-sregvd, 14px);
509
527
  line-height: var(--font-body-m-line-height-i7xxvv, 22px);
510
528
  font-weight: var(--font-display-label-weight-tjy9e4, 400);
@@ -512,7 +530,7 @@ body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427
512
530
  margin: 0;
513
531
  }
514
532
 
515
- .awsui_content-display-description_tc96w_8lz94_515:not(#\9) {
533
+ .awsui_content-display-description_tc96w_p0ipj_507:not(#\9) {
516
534
  color: var(--color-text-form-secondary-1c3szk, #687078);
517
535
  font-size: var(--font-body-s-size-ukw2p9, 12px);
518
536
  line-height: var(--font-body-s-line-height-kdsbrl, 16px);
@@ -520,30 +538,30 @@ body[data-awsui-focus-visible=true] .awsui_sortable-item-content_tc96w_8lz94_427
520
538
  margin-top: var(--space-scaled-xxxs-lo883m, 2px);
521
539
  }
522
540
 
523
- .awsui_content-display-option-list_tc96w_8lz94_523:not(#\9) {
541
+ .awsui_content-display-option-list_tc96w_p0ipj_515:not(#\9) {
524
542
  position: relative;
525
543
  list-style: none;
526
544
  padding: 0;
527
545
  }
528
546
 
529
- .awsui_root_tc96w_8lz94_529:not(#\9),
530
- .awsui_modal-root_tc96w_8lz94_530:not(#\9),
531
- .awsui_trigger-button_tc96w_8lz94_531:not(#\9),
532
- .awsui_cancel-button_tc96w_8lz94_532:not(#\9),
533
- .awsui_confirm-button_tc96w_8lz94_533:not(#\9),
534
- .awsui_custom_tc96w_8lz94_534:not(#\9) {
547
+ .awsui_root_tc96w_p0ipj_521:not(#\9),
548
+ .awsui_modal-root_tc96w_p0ipj_522:not(#\9),
549
+ .awsui_trigger-button_tc96w_p0ipj_523:not(#\9),
550
+ .awsui_cancel-button_tc96w_p0ipj_524:not(#\9),
551
+ .awsui_confirm-button_tc96w_p0ipj_525:not(#\9),
552
+ .awsui_custom_tc96w_p0ipj_526:not(#\9) {
535
553
  /* used in test-utils */
536
554
  }
537
555
 
538
- .awsui_second-column-small_tc96w_8lz94_538:not(#\9) {
556
+ .awsui_second-column-small_tc96w_p0ipj_530:not(#\9) {
539
557
  padding-top: calc(2 * var(--space-scaled-l-t03y3z, 20px));
540
558
  }
541
559
 
542
- .awsui_wrap-lines_tc96w_8lz94_542:not(#\9),
543
- .awsui_striped-rows_tc96w_8lz94_543:not(#\9),
544
- .awsui_content-density_tc96w_8lz94_544:not(#\9),
545
- .awsui_page-size_tc96w_8lz94_545:not(#\9),
546
- .awsui_page-size-form-field_tc96w_8lz94_546:not(#\9),
547
- .awsui_page-size-radio-group_tc96w_8lz94_547:not(#\9) {
560
+ .awsui_wrap-lines_tc96w_p0ipj_534:not(#\9),
561
+ .awsui_striped-rows_tc96w_p0ipj_535:not(#\9),
562
+ .awsui_content-density_tc96w_p0ipj_536:not(#\9),
563
+ .awsui_page-size_tc96w_p0ipj_537:not(#\9),
564
+ .awsui_page-size-form-field_tc96w_p0ipj_538:not(#\9),
565
+ .awsui_page-size-radio-group_tc96w_p0ipj_539:not(#\9) {
548
566
  /* used in test-utils */
549
567
  }
@@ -2,41 +2,37 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "visible-content": "awsui_visible-content_tc96w_8lz94_185",
6
- "visible-content-toggle": "awsui_visible-content-toggle_tc96w_8lz94_186",
7
- "visible-content-groups": "awsui_visible-content-groups_tc96w_8lz94_187",
8
- "visible-content-group": "awsui_visible-content-group_tc96w_8lz94_187",
9
- "visible-content-title": "awsui_visible-content-title_tc96w_8lz94_192",
10
- "visible-content-group-label": "awsui_visible-content-group-label_tc96w_8lz94_201",
11
- "visible-content-option": "awsui_visible-content-option_tc96w_8lz94_207",
12
- "visible-content-option-label": "awsui_visible-content-option-label_tc96w_8lz94_218",
13
- "sortable-item-toggle": "awsui_sortable-item-toggle_tc96w_8lz94_409",
14
- "sortable-item": "awsui_sortable-item_tc96w_8lz94_409",
15
- "sortable-item-placeholder": "awsui_sortable-item-placeholder_tc96w_8lz94_417",
16
- "sortable-item-content": "awsui_sortable-item-content_tc96w_8lz94_427",
17
- "draggable": "awsui_draggable_tc96w_8lz94_437",
18
- "active": "awsui_active_tc96w_8lz94_446",
19
- "sorting": "awsui_sorting_tc96w_8lz94_452",
20
- "sortable-item-label": "awsui_sortable-item-label_tc96w_8lz94_495",
21
- "content-display": "awsui_content-display_tc96w_8lz94_500",
22
- "content-display-groups": "awsui_content-display-groups_tc96w_8lz94_501",
23
- "content-display-group": "awsui_content-display-group_tc96w_8lz94_501",
24
- "content-display-option": "awsui_content-display-option_tc96w_8lz94_503",
25
- "content-display-title": "awsui_content-display-title_tc96w_8lz94_507",
26
- "content-display-description": "awsui_content-display-description_tc96w_8lz94_515",
27
- "content-display-option-list": "awsui_content-display-option-list_tc96w_8lz94_523",
28
- "root": "awsui_root_tc96w_8lz94_529",
29
- "modal-root": "awsui_modal-root_tc96w_8lz94_530",
30
- "trigger-button": "awsui_trigger-button_tc96w_8lz94_531",
31
- "cancel-button": "awsui_cancel-button_tc96w_8lz94_532",
32
- "confirm-button": "awsui_confirm-button_tc96w_8lz94_533",
33
- "custom": "awsui_custom_tc96w_8lz94_534",
34
- "second-column-small": "awsui_second-column-small_tc96w_8lz94_538",
35
- "wrap-lines": "awsui_wrap-lines_tc96w_8lz94_542",
36
- "striped-rows": "awsui_striped-rows_tc96w_8lz94_543",
37
- "content-density": "awsui_content-density_tc96w_8lz94_544",
38
- "page-size": "awsui_page-size_tc96w_8lz94_545",
39
- "page-size-form-field": "awsui_page-size-form-field_tc96w_8lz94_546",
40
- "page-size-radio-group": "awsui_page-size-radio-group_tc96w_8lz94_547"
5
+ "visible-content": "awsui_visible-content_tc96w_p0ipj_185",
6
+ "visible-content-toggle": "awsui_visible-content-toggle_tc96w_p0ipj_186",
7
+ "visible-content-groups": "awsui_visible-content-groups_tc96w_p0ipj_187",
8
+ "visible-content-group": "awsui_visible-content-group_tc96w_p0ipj_187",
9
+ "visible-content-title": "awsui_visible-content-title_tc96w_p0ipj_192",
10
+ "visible-content-group-label": "awsui_visible-content-group-label_tc96w_p0ipj_201",
11
+ "visible-content-option": "awsui_visible-content-option_tc96w_p0ipj_207",
12
+ "visible-content-option-label": "awsui_visible-content-option-label_tc96w_p0ipj_218",
13
+ "content-display-option-toggle": "awsui_content-display-option-toggle_tc96w_p0ipj_409",
14
+ "content-display-option-content": "awsui_content-display-option-content_tc96w_p0ipj_413",
15
+ "content-display-option": "awsui_content-display-option_tc96w_p0ipj_409",
16
+ "placeholder": "awsui_placeholder_tc96w_p0ipj_436",
17
+ "sorting": "awsui_sorting_tc96w_p0ipj_436",
18
+ "content-display-option-label": "awsui_content-display-option-label_tc96w_p0ipj_464",
19
+ "drag-overlay": "awsui_drag-overlay_tc96w_p0ipj_472",
20
+ "content-display": "awsui_content-display_tc96w_p0ipj_409",
21
+ "content-display-title": "awsui_content-display-title_tc96w_p0ipj_499",
22
+ "content-display-description": "awsui_content-display-description_tc96w_p0ipj_507",
23
+ "content-display-option-list": "awsui_content-display-option-list_tc96w_p0ipj_515",
24
+ "root": "awsui_root_tc96w_p0ipj_521",
25
+ "modal-root": "awsui_modal-root_tc96w_p0ipj_522",
26
+ "trigger-button": "awsui_trigger-button_tc96w_p0ipj_523",
27
+ "cancel-button": "awsui_cancel-button_tc96w_p0ipj_524",
28
+ "confirm-button": "awsui_confirm-button_tc96w_p0ipj_525",
29
+ "custom": "awsui_custom_tc96w_p0ipj_526",
30
+ "second-column-small": "awsui_second-column-small_tc96w_p0ipj_530",
31
+ "wrap-lines": "awsui_wrap-lines_tc96w_p0ipj_534",
32
+ "striped-rows": "awsui_striped-rows_tc96w_p0ipj_535",
33
+ "content-density": "awsui_content-density_tc96w_p0ipj_536",
34
+ "page-size": "awsui_page-size_tc96w_p0ipj_537",
35
+ "page-size-form-field": "awsui_page-size-form-field_tc96w_p0ipj_538",
36
+ "page-size-radio-group": "awsui_page-size-radio-group_tc96w_p0ipj_539"
41
37
  };
42
38
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  export var PACKAGE_SOURCE = 'components';
3
- export var PACKAGE_VERSION = '3.0.0 (d741109)';
3
+ export var PACKAGE_VERSION = '3.0.0 (b26c768)';
4
4
  export var THEME = 'open-source-visual-refresh';
5
5
  export var ALWAYS_VISUAL_REFRESH = true;
6
6
 
@@ -1,4 +1,4 @@
1
- import { ComparisonOperator, FilteringOption, FilteringProperty, GroupText, I18nStrings, JoinOperation, ParsedText, Query, Token } from './interfaces';
1
+ import { ComparisonOperator, GroupText, I18nStrings, InternalFilteringOption, InternalFilteringProperty, JoinOperation, ParsedText, Query, Token } from './interfaces';
2
2
  import { NonCancelableEventHandler } from '../internal/events';
3
3
  import { AutosuggestInputRef } from '../internal/components/autosuggest-input';
4
4
  export declare const getQueryActions: (query: Query, onChange: NonCancelableEventHandler<Query>, inputRef: React.RefObject<AutosuggestInputRef>) => {
@@ -8,19 +8,17 @@ export declare const getQueryActions: (query: Query, onChange: NonCancelableEven
8
8
  addToken: (newToken: Token) => void;
9
9
  setOperation: (newOperation: JoinOperation) => void;
10
10
  };
11
- export declare const getAllowedOperators: (property: FilteringProperty) => ComparisonOperator[];
12
- export declare const parseText: (filteringText: string, filteringProperties: readonly import("./interfaces").PropertyFilterProps.FilteringProperty[] | undefined, disableFreeTextFiltering: boolean) => ParsedText;
13
- export declare const getPropertyOptions: (filteringProperty: FilteringProperty, filteringOptions: readonly FilteringOption[]) => import("@cloudscape-design/collection-hooks").PropertyFilterOption[];
11
+ export declare const getAllowedOperators: (property: InternalFilteringProperty) => ComparisonOperator[];
12
+ export declare const parseText: (filteringText: string, filteringProperties: readonly InternalFilteringProperty<any>[] | undefined, disableFreeTextFiltering: boolean) => ParsedText;
13
+ export declare const getPropertyOptions: (filteringProperty: InternalFilteringProperty, filteringOptions: readonly InternalFilteringOption[]) => InternalFilteringOption[];
14
14
  interface OptionGroup<T> {
15
15
  label: string;
16
16
  options: T[];
17
17
  }
18
- export declare const getAllValueSuggestions: (filteringOptions: readonly FilteringOption[], filteringProperties: readonly FilteringProperty[], operator: ComparisonOperator | undefined, i18nStrings: I18nStrings, customGroupsText: readonly GroupText[]) => OptionGroup<import("../internal/components/option/interfaces").OptionDefinition>[];
19
- export declare const getPropertyByKey: (filteringProperties: readonly FilteringProperty[], key: string) => import("./interfaces").PropertyFilterProps.FilteringProperty | undefined;
20
- export declare function getExtendedOperator(filteringProperties: readonly FilteringProperty[], property: string, operator: ComparisonOperator): import("@cloudscape-design/collection-hooks").PropertyFilterOperatorExtended<any> | null;
21
- export declare function createPropertiesCompatibilityMap(filteringProperties: readonly FilteringProperty[]): (propertyA: string, propertyB: string) => boolean;
22
- export declare function getPropertySuggestions<T>(filteringProperties: readonly FilteringProperty[], customGroupsText: readonly GroupText[], i18nStrings: I18nStrings, filteringPropertyToOption: (filteringProperty: FilteringProperty) => T): OptionGroup<T>[];
23
- export declare const getAutosuggestOptions: (parsedText: ParsedText, filteringOptions: readonly FilteringOption[], filteringProperties: readonly FilteringProperty[], customGroupsText: readonly GroupText[], i18nStrings: I18nStrings) => {
18
+ export declare const getAllValueSuggestions: (filteringOptions: readonly InternalFilteringOption[], filteringProperties: readonly InternalFilteringProperty[], operator: ComparisonOperator | undefined, i18nStrings: I18nStrings, customGroupsText: readonly GroupText[]) => OptionGroup<import("../internal/components/option/interfaces").OptionDefinition>[];
19
+ export declare function createPropertiesCompatibilityMap(filteringProperties: readonly InternalFilteringProperty[]): (propertyA: string, propertyB: string) => boolean;
20
+ export declare function getPropertySuggestions<T>(filteringProperties: readonly InternalFilteringProperty[], customGroupsText: readonly GroupText[], i18nStrings: I18nStrings, filteringPropertyToOption: (filteringProperty: InternalFilteringProperty) => T): OptionGroup<T>[];
21
+ export declare const getAutosuggestOptions: (parsedText: ParsedText, filteringOptions: readonly InternalFilteringOption[], filteringProperties: readonly InternalFilteringProperty[], customGroupsText: readonly GroupText[], i18nStrings: I18nStrings) => {
24
22
  filterText: string;
25
23
  options: {
26
24
  options: {
@@ -54,11 +52,5 @@ export declare const getAutosuggestOptions: (parsedText: ParsedText, filteringOp
54
52
  }>)[];
55
53
  };
56
54
  export declare const operatorToDescription: (operator: ComparisonOperator, i18nStrings: I18nStrings) => string | undefined;
57
- export declare function getFormattedToken(filteringProperties: readonly FilteringProperty[], token: Token): {
58
- property: string | undefined;
59
- operator: import("@cloudscape-design/collection-hooks").PropertyFilterOperator;
60
- value: any;
61
- label: string;
62
- };
63
55
  export {};
64
56
  //# sourceMappingURL=controller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"lib/default/","sources":["property-filter/controller.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAElB,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,aAAa,EACb,UAAU,EACV,KAAK,EACL,KAAK,EACN,MAAM,cAAc,CAAC;AACtB,OAAO,EAA0B,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,eAAO,MAAM,eAAe,UACnB,KAAK,YACF,0BAA0B,KAAK,CAAC,YAChC,MAAM,SAAS,CAAC,mBAAmB,CAAC;sBAKrB,MAAM,YAAY,KAAK;yBAOpB,MAAM;;yBASN,KAAK;iCAKG,aAAa;CAUlD,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,iBAAiB,KAAG,kBAAkB,EAQnF,CAAC;AAQF,eAAO,MAAM,SAAS,kBACL,MAAM,sIAEK,OAAO,KAChC,UAyCF,CAAC;AAEF,eAAO,MAAM,kBAAkB,sBACV,iBAAiB,oBAClB,SAAS,eAAe,EAAE,yEAG7C,CAAC;AAEF,UAAU,WAAW,CAAC,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;CACd;AAED,eAAO,MAAM,sBAAsB,qBACf,SAAS,eAAe,EAAE,uBACvB,SAAS,iBAAiB,EAAE,YACvC,kBAAkB,GAAG,SAAS,eAC3B,WAAW,oBACN,SAAS,SAAS,EAAE,uFAmCvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBAAyB,SAAS,iBAAiB,EAAE,OAAO,MAAM,6EAM9F,CAAC;AAEF,wBAAgB,mBAAmB,CACjC,mBAAmB,EAAE,SAAS,iBAAiB,EAAE,EACjD,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,kBAAkB,4FAS7B;AAED,wBAAgB,gCAAgC,CAC9C,mBAAmB,EAAE,SAAS,iBAAiB,EAAE,GAChD,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CA6BnD;AAQD,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,mBAAmB,EAAE,SAAS,iBAAiB,EAAE,EACjD,gBAAgB,EAAE,SAAS,SAAS,EAAE,EACtC,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,CAAC,oBA0BvE;AAED,eAAO,MAAM,qBAAqB,eACpB,UAAU,oBACJ,SAAS,eAAe,EAAE,uBACvB,SAAS,iBAAiB,EAAE,oBAC/B,SAAS,SAAS,EAAE,eACzB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,kBAAkB,eAAe,WAAW,uBAY3F,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,mBAAmB,EAAE,SAAS,iBAAiB,EAAE,EAAE,KAAK,EAAE,KAAK;;;;;EAQhG"}
1
+ {"version":3,"file":"controller.d.ts","sourceRoot":"lib/default/","sources":["property-filter/controller.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAElB,SAAS,EACT,WAAW,EACX,uBAAuB,EACvB,yBAAyB,EACzB,aAAa,EACb,UAAU,EACV,KAAK,EACL,KAAK,EACN,MAAM,cAAc,CAAC;AACtB,OAAO,EAA0B,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAUvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,eAAO,MAAM,eAAe,UACnB,KAAK,YACF,0BAA0B,KAAK,CAAC,YAChC,MAAM,SAAS,CAAC,mBAAmB,CAAC;sBAKrB,MAAM,YAAY,KAAK;yBAOpB,MAAM;;yBASN,KAAK;iCAKG,aAAa;CAUlD,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,yBAAyB,KAAG,kBAAkB,EAK3F,CAAC;AAQF,eAAO,MAAM,SAAS,kBACL,MAAM,wGAEK,OAAO,KAChC,UA0CF,CAAC;AAEF,eAAO,MAAM,kBAAkB,sBACV,yBAAyB,oBAC1B,SAAS,uBAAuB,EAAE,8BAGrD,CAAC;AAEF,UAAU,WAAW,CAAC,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,EAAE,CAAC;CACd;AAED,eAAO,MAAM,sBAAsB,qBACf,SAAS,uBAAuB,EAAE,uBAC/B,SAAS,yBAAyB,EAAE,YAC/C,kBAAkB,GAAG,SAAS,eAC3B,WAAW,oBACN,SAAS,SAAS,EAAE,uFAmCvC,CAAC;AAEF,wBAAgB,gCAAgC,CAC9C,mBAAmB,EAAE,SAAS,yBAAyB,EAAE,GACxD,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAyBnD;AAQD,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,mBAAmB,EAAE,SAAS,yBAAyB,EAAE,EACzD,gBAAgB,EAAE,SAAS,SAAS,EAAE,EACtC,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,CAAC,iBAAiB,EAAE,yBAAyB,KAAK,CAAC,oBA0B/E;AAED,eAAO,MAAM,qBAAqB,eACpB,UAAU,oBACJ,SAAS,uBAAuB,EAAE,uBAC/B,SAAS,yBAAyB,EAAE,oBACvC,SAAS,SAAS,EAAE,eACzB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,kBAAkB,eAAe,WAAW,uBAY3F,CAAC"}