@cloudscape-design/components-themeable 3.0.943 → 3.0.944

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "407c869a4f89f7c76f990e50361282c410e90e30"
2
+ "commit": "1ec4cef12ef2e0290a1d2dd4edfd4085c42c2053"
3
3
  }
@@ -31,12 +31,22 @@ $cell-offset: calc(#{awsui.$space-m} + #{awsui.$space-xs});
31
31
  // Ensuring enough space for absolute-positioned focus outlines of focus-able cell content elements.
32
32
  $cell-negative-space-vertical: 2px;
33
33
 
34
+ @mixin safe-focus-highlight($params) {
35
+ @include styles.focus-highlight($params);
36
+
37
+ // @mixin focus-highlight sets cell's position to "relative".
38
+ // Reinforcing sticky position for it to take precedence.
39
+ &.sticky-cell {
40
+ position: sticky;
41
+ }
42
+ }
43
+
34
44
  @mixin cell-focus-outline {
35
- @include styles.focus-highlight(calc(-1 * #{awsui.$space-scaled-xxs}));
45
+ @include safe-focus-highlight(calc(-1 * #{awsui.$space-scaled-xxs}));
36
46
 
37
47
  // Give extra space on the left (inline start) to compensate for missing body cell padding.
38
48
  &.is-visual-refresh:first-child {
39
- @include styles.focus-highlight(
49
+ @include safe-focus-highlight(
40
50
  (
41
51
  'vertical': calc(-1 * #{awsui.$space-scaled-xxs}),
42
52
  'horizontal': (
@@ -46,12 +56,6 @@ $cell-negative-space-vertical: 2px;
46
56
  )
47
57
  );
48
58
  }
49
-
50
- // @mixin focus-highlight sets cell's position to "relative".
51
- // Reinforcing sticky position for it to take precedence.
52
- &.sticky-cell {
53
- position: sticky;
54
- }
55
59
  }
56
60
 
57
61
  .expandable-toggle-wrapper {
@@ -396,7 +400,7 @@ $cell-negative-space-vertical: 2px;
396
400
  &-focusable {
397
401
  @include focus-visible.when-visible {
398
402
  // Making focus outline slightly smaller to not intersect with the success indicator.
399
- @include styles.focus-highlight(-1px);
403
+ @include safe-focus-highlight(-1px);
400
404
  }
401
405
  }
402
406
  }
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (407c869a)";
2
+ export var PACKAGE_VERSION = "3.0.0 (1ec4cef1)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (407c869a)",
3
+ "PACKAGE_VERSION": "3.0.0 (1ec4cef1)",
4
4
  "THEME": "default",
5
5
  "ALWAYS_VISUAL_REFRESH": false
6
6
  }
@@ -1,51 +1,51 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "expandable-toggle-wrapper": "awsui_expandable-toggle-wrapper_c6tup_5htl5_145",
5
- "body-cell": "awsui_body-cell_c6tup_5htl5_152",
6
- "body-cell-content": "awsui_body-cell-content_c6tup_5htl5_160",
7
- "expandable-level-0": "awsui_expandable-level-0_c6tup_5htl5_166",
8
- "expandable-level-1": "awsui_expandable-level-1_c6tup_5htl5_173",
9
- "expandable-level-2": "awsui_expandable-level-2_c6tup_5htl5_180",
10
- "expandable-level-3": "awsui_expandable-level-3_c6tup_5htl5_187",
11
- "expandable-level-4": "awsui_expandable-level-4_c6tup_5htl5_194",
12
- "expandable-level-5": "awsui_expandable-level-5_c6tup_5htl5_201",
13
- "expandable-level-6": "awsui_expandable-level-6_c6tup_5htl5_208",
14
- "expandable-level-7": "awsui_expandable-level-7_c6tup_5htl5_215",
15
- "expandable-level-8": "awsui_expandable-level-8_c6tup_5htl5_222",
16
- "expandable-level-9": "awsui_expandable-level-9_c6tup_5htl5_229",
17
- "expandable-level-next": "awsui_expandable-level-next_c6tup_5htl5_236",
18
- "body-cell-align-top": "awsui_body-cell-align-top_c6tup_5htl5_254",
19
- "body-cell-wrap": "awsui_body-cell-wrap_c6tup_5htl5_260",
20
- "is-visual-refresh": "awsui_is-visual-refresh_c6tup_5htl5_357",
21
- "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_5htl5_447",
22
- "body-cell-expandable": "awsui_body-cell-expandable_c6tup_5htl5_447",
23
- "body-cell-editable": "awsui_body-cell-editable_c6tup_5htl5_447",
24
- "has-striped-rows": "awsui_has-striped-rows_c6tup_5htl5_530",
25
- "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_c6tup_5htl5_696",
26
- "has-selection": "awsui_has-selection_c6tup_5htl5_862",
27
- "body-cell-first-row": "awsui_body-cell-first-row_c6tup_5htl5_1031",
28
- "body-cell-last-row": "awsui_body-cell-last-row_c6tup_5htl5_1034",
29
- "body-cell-selected": "awsui_body-cell-selected_c6tup_5htl5_1034",
30
- "has-footer": "awsui_has-footer_c6tup_5htl5_1034",
31
- "body-cell-shaded": "awsui_body-cell-shaded_c6tup_5htl5_1044",
32
- "sticky-cell": "awsui_sticky-cell_c6tup_5htl5_696",
33
- "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_c6tup_5htl5_1106",
34
- "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_c6tup_5htl5_1115",
35
- "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_5htl5_1137",
36
- "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_5htl5_1144",
37
- "body-cell-editor-wrapper": "awsui_body-cell-editor-wrapper_c6tup_5htl5_1170",
38
- "body-cell-success": "awsui_body-cell-success_c6tup_5htl5_1175",
39
- "body-cell-editor": "awsui_body-cell-editor_c6tup_5htl5_1170",
40
- "body-cell-editor-disabled": "awsui_body-cell-editor-disabled_c6tup_5htl5_1200",
41
- "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_5htl5_1209",
42
- "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_5htl5_1219",
43
- "body-cell-editor-row-editor": "awsui_body-cell-editor-row-editor_c6tup_5htl5_1222",
44
- "body-cell-editor-focusable": "awsui_body-cell-editor-focusable_c6tup_5htl5_1225",
45
- "body-cell-editor-icon": "awsui_body-cell-editor-icon_c6tup_5htl5_1246",
46
- "resizable-columns": "awsui_resizable-columns_c6tup_5htl5_1358",
47
- "expandable-cell-content": "awsui_expandable-cell-content_c6tup_5htl5_1361",
48
- "body-cell-edit-disabled-popover": "awsui_body-cell-edit-disabled-popover_c6tup_5htl5_1409",
49
- "body-cell-has-success": "awsui_body-cell-has-success_c6tup_5htl5_1412"
4
+ "expandable-toggle-wrapper": "awsui_expandable-toggle-wrapper_c6tup_274a9_145",
5
+ "body-cell": "awsui_body-cell_c6tup_274a9_152",
6
+ "body-cell-content": "awsui_body-cell-content_c6tup_274a9_160",
7
+ "expandable-level-0": "awsui_expandable-level-0_c6tup_274a9_166",
8
+ "expandable-level-1": "awsui_expandable-level-1_c6tup_274a9_173",
9
+ "expandable-level-2": "awsui_expandable-level-2_c6tup_274a9_180",
10
+ "expandable-level-3": "awsui_expandable-level-3_c6tup_274a9_187",
11
+ "expandable-level-4": "awsui_expandable-level-4_c6tup_274a9_194",
12
+ "expandable-level-5": "awsui_expandable-level-5_c6tup_274a9_201",
13
+ "expandable-level-6": "awsui_expandable-level-6_c6tup_274a9_208",
14
+ "expandable-level-7": "awsui_expandable-level-7_c6tup_274a9_215",
15
+ "expandable-level-8": "awsui_expandable-level-8_c6tup_274a9_222",
16
+ "expandable-level-9": "awsui_expandable-level-9_c6tup_274a9_229",
17
+ "expandable-level-next": "awsui_expandable-level-next_c6tup_274a9_236",
18
+ "body-cell-align-top": "awsui_body-cell-align-top_c6tup_274a9_254",
19
+ "body-cell-wrap": "awsui_body-cell-wrap_c6tup_274a9_260",
20
+ "is-visual-refresh": "awsui_is-visual-refresh_c6tup_274a9_357",
21
+ "body-cell-edit-active": "awsui_body-cell-edit-active_c6tup_274a9_447",
22
+ "body-cell-expandable": "awsui_body-cell-expandable_c6tup_274a9_447",
23
+ "body-cell-editable": "awsui_body-cell-editable_c6tup_274a9_447",
24
+ "has-striped-rows": "awsui_has-striped-rows_c6tup_274a9_530",
25
+ "sticky-cell-pad-inline-start": "awsui_sticky-cell-pad-inline-start_c6tup_274a9_696",
26
+ "has-selection": "awsui_has-selection_c6tup_274a9_862",
27
+ "body-cell-first-row": "awsui_body-cell-first-row_c6tup_274a9_1031",
28
+ "body-cell-last-row": "awsui_body-cell-last-row_c6tup_274a9_1034",
29
+ "body-cell-selected": "awsui_body-cell-selected_c6tup_274a9_1034",
30
+ "has-footer": "awsui_has-footer_c6tup_274a9_1034",
31
+ "body-cell-shaded": "awsui_body-cell-shaded_c6tup_274a9_1044",
32
+ "sticky-cell": "awsui_sticky-cell_c6tup_274a9_696",
33
+ "sticky-cell-last-inline-end": "awsui_sticky-cell-last-inline-end_c6tup_274a9_1106",
34
+ "sticky-cell-last-inline-start": "awsui_sticky-cell-last-inline-start_c6tup_274a9_1115",
35
+ "body-cell-next-selected": "awsui_body-cell-next-selected_c6tup_274a9_1137",
36
+ "body-cell-prev-selected": "awsui_body-cell-prev-selected_c6tup_274a9_1144",
37
+ "body-cell-editor-wrapper": "awsui_body-cell-editor-wrapper_c6tup_274a9_1170",
38
+ "body-cell-success": "awsui_body-cell-success_c6tup_274a9_1175",
39
+ "body-cell-editor": "awsui_body-cell-editor_c6tup_274a9_1170",
40
+ "body-cell-editor-disabled": "awsui_body-cell-editor-disabled_c6tup_274a9_1200",
41
+ "body-cell-editor-row": "awsui_body-cell-editor-row_c6tup_274a9_1209",
42
+ "body-cell-editor-controls": "awsui_body-cell-editor-controls_c6tup_274a9_1219",
43
+ "body-cell-editor-row-editor": "awsui_body-cell-editor-row-editor_c6tup_274a9_1222",
44
+ "body-cell-editor-focusable": "awsui_body-cell-editor-focusable_c6tup_274a9_1225",
45
+ "body-cell-editor-icon": "awsui_body-cell-editor-icon_c6tup_274a9_1249",
46
+ "resizable-columns": "awsui_resizable-columns_c6tup_274a9_1361",
47
+ "expandable-cell-content": "awsui_expandable-cell-content_c6tup_274a9_1364",
48
+ "body-cell-edit-disabled-popover": "awsui_body-cell-edit-disabled-popover_c6tup_274a9_1415",
49
+ "body-cell-has-success": "awsui_body-cell-has-success_c6tup_274a9_1418"
50
50
  };
51
51