@cloudscape-design/components-themeable 3.0.264 → 3.0.266

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": "c95120a2acca52461e18575eda3aee4b34e2b937"
2
+ "commit": "b30cd3440f5eda4f506377dbec40acd42b48d84d"
3
3
  }
@@ -113,6 +113,7 @@
113
113
  > .drawer-close-button {
114
114
  grid-column: 2;
115
115
  grid-row: 2;
116
+ z-index: 1;
116
117
  }
117
118
 
118
119
  > .drawer-content {
@@ -5,7 +5,6 @@
5
5
 
6
6
  @use '../../internal/styles' as styles;
7
7
  @use '../../internal/styles/tokens' as awsui;
8
- @use '../../internal/hooks/focus-visible' as focus-visible;
9
8
 
10
9
  $cell-vertical-padding: awsui.$space-scaled-xs;
11
10
  // Calculate padding to prevent a shift in content after selection due to the difference
@@ -206,6 +205,19 @@ $border-placeholder: awsui.$border-item-width solid transparent;
206
205
  & > .body-cell-editor {
207
206
  opacity: 0;
208
207
  }
208
+ // We don't use our focus-visible polyfill here because it doesn't work properly with screen readers.
209
+ // These edit buttons are special because they are visually hidden (opacity: 0), but exposed to assistive technology.
210
+ // It's therefore important to display the focus outline, even when a keyboard user wasn't detected.
211
+ // For example, when an edit button is selected from the VoiceOver rotor menu.
212
+ &:focus-within {
213
+ @include focused-editor-styles;
214
+ @include styles.focus-highlight(
215
+ (
216
+ 'vertical': calc(-1 * #{awsui.$space-scaled-xxs}),
217
+ 'horizontal': calc(-1 * #{awsui.$space-scaled-xxs}),
218
+ )
219
+ );
220
+ }
209
221
  &:hover {
210
222
  position: relative;
211
223
  background-color: awsui.$color-background-dropdown-item-hover;
@@ -233,16 +245,6 @@ $border-placeholder: awsui.$border-item-width solid transparent;
233
245
  padding-bottom: calc(#{$cell-vertical-padding} - calc(#{awsui.$border-divider-list-width}));
234
246
  }
235
247
  }
236
- // stylelint-disable-next-line selector-combinator-disallowed-list
237
- body[data-awsui-focus-visible='true'] &:focus-within {
238
- @include focused-editor-styles;
239
- @include styles.focus-highlight(
240
- (
241
- 'vertical': calc(-1 * #{awsui.$space-scaled-xxs}),
242
- 'horizontal': calc(-1 * #{awsui.$space-scaled-xxs}),
243
- )
244
- );
245
- }
246
248
  }
247
249
  }
248
250
  &-editable.is-visual-refresh:not(.body-cell-edit-active):hover {
@@ -1,76 +1,76 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "appbar": "awsui_appbar_hyvsj_ttvdf_93",
5
- "appbar-nav": "awsui_appbar-nav_hyvsj_ttvdf_117",
6
- "breadcrumbs": "awsui_breadcrumbs_hyvsj_ttvdf_121",
7
- "appbar-tools": "awsui_appbar-tools_hyvsj_ttvdf_125",
8
- "drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_ttvdf_126",
9
- "has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_ttvdf_167",
10
- "has-notifications-content": "awsui_has-notifications-content_hyvsj_ttvdf_175",
11
- "has-header": "awsui_has-header_hyvsj_ttvdf_181",
12
- "has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_ttvdf_181",
13
- "content-type-wizard": "awsui_content-type-wizard_hyvsj_ttvdf_182",
14
- "content-type-cards": "awsui_content-type-cards_hyvsj_ttvdf_185",
15
- "content-type-table": "awsui_content-type-table_hyvsj_ttvdf_186",
16
- "has-sticky-background": "awsui_has-sticky-background_hyvsj_ttvdf_189",
17
- "background": "awsui_background_hyvsj_ttvdf_224",
18
- "notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_ttvdf_227",
19
- "sticky-notifications": "awsui_sticky-notifications_hyvsj_ttvdf_240",
20
- "overlap": "awsui_overlap_hyvsj_ttvdf_246",
21
- "drawers-container": "awsui_drawers-container_hyvsj_ttvdf_270",
22
- "has-open-drawer": "awsui_has-open-drawer_hyvsj_ttvdf_282",
23
- "drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_ttvdf_312",
24
- "has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_ttvdf_330",
25
- "drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_ttvdf_362",
26
- "drawer": "awsui_drawer_hyvsj_ttvdf_126",
27
- "drawer-close-button": "awsui_drawer-close-button_hyvsj_ttvdf_406",
28
- "drawer-content": "awsui_drawer-content_hyvsj_ttvdf_410",
29
- "is-drawer-open": "awsui_is-drawer-open_hyvsj_ttvdf_415",
30
- "content": "awsui_content_hyvsj_ttvdf_182",
31
- "layout": "awsui_layout_hyvsj_ttvdf_517",
32
- "has-max-content-width": "awsui_has-max-content-width_hyvsj_ttvdf_600",
33
- "content-type-dashboard": "awsui_content-type-dashboard_hyvsj_ttvdf_615",
34
- "is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_ttvdf_642",
35
- "disable-body-scroll": "awsui_disable-body-scroll_hyvsj_ttvdf_645",
36
- "has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_ttvdf_649",
37
- "has-split-panel": "awsui_has-split-panel_hyvsj_ttvdf_663",
38
- "split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_ttvdf_663",
39
- "has-content-gap-left": "awsui_has-content-gap-left_hyvsj_ttvdf_675",
40
- "has-content-gap-right": "awsui_has-content-gap-right_hyvsj_ttvdf_678",
41
- "block-body-scroll": "awsui_block-body-scroll_hyvsj_ttvdf_693",
42
- "container": "awsui_container_hyvsj_ttvdf_701",
43
- "disable-content-paddings": "awsui_disable-content-paddings_hyvsj_ttvdf_727",
44
- "is-navigation-open": "awsui_is-navigation-open_hyvsj_ttvdf_732",
45
- "is-tools-open": "awsui_is-tools-open_hyvsj_ttvdf_735",
46
- "is-split-panel-open": "awsui_is-split-panel-open_hyvsj_ttvdf_735",
47
- "split-panel-position-side": "awsui_split-panel-position-side_hyvsj_ttvdf_735",
48
- "content-type-default": "awsui_content-type-default_hyvsj_ttvdf_755",
49
- "content-type-form": "awsui_content-type-form_hyvsj_ttvdf_755",
50
- "unfocusable": "awsui_unfocusable_hyvsj_ttvdf_796",
51
- "navigation-container": "awsui_navigation-container_hyvsj_ttvdf_806",
52
- "show-navigation": "awsui_show-navigation_hyvsj_ttvdf_841",
53
- "animating": "awsui_animating_hyvsj_ttvdf_863",
54
- "showButtons": "awsui_showButtons_hyvsj_ttvdf_1",
55
- "navigation": "awsui_navigation_hyvsj_ttvdf_806",
56
- "openNavigation": "awsui_openNavigation_hyvsj_ttvdf_1",
57
- "animated-content": "awsui_animated-content_hyvsj_ttvdf_924",
58
- "hide-navigation": "awsui_hide-navigation_hyvsj_ttvdf_933",
59
- "notifications": "awsui_notifications_hyvsj_ttvdf_227",
60
- "split-panel-bottom": "awsui_split-panel-bottom_hyvsj_ttvdf_1000",
61
- "position-bottom": "awsui_position-bottom_hyvsj_ttvdf_1046",
62
- "openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_ttvdf_1",
63
- "split-panel-side": "awsui_split-panel-side_hyvsj_ttvdf_1075",
64
- "position-side": "awsui_position-side_hyvsj_ttvdf_1103",
65
- "openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_ttvdf_1",
66
- "tools-container": "awsui_tools-container_hyvsj_ttvdf_1140",
67
- "tools": "awsui_tools_hyvsj_ttvdf_1140",
68
- "openTools": "awsui_openTools_hyvsj_ttvdf_1",
69
- "has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_ttvdf_1225",
70
- "hide-tools": "awsui_hide-tools_hyvsj_ttvdf_1235",
71
- "show-tools": "awsui_show-tools_hyvsj_ttvdf_1247",
72
- "has-tools-form": "awsui_has-tools-form_hyvsj_ttvdf_1225",
73
- "trigger": "awsui_trigger_hyvsj_ttvdf_1314",
74
- "selected": "awsui_selected_hyvsj_ttvdf_1353"
4
+ "appbar": "awsui_appbar_hyvsj_wxk9v_93",
5
+ "appbar-nav": "awsui_appbar-nav_hyvsj_wxk9v_117",
6
+ "breadcrumbs": "awsui_breadcrumbs_hyvsj_wxk9v_121",
7
+ "appbar-tools": "awsui_appbar-tools_hyvsj_wxk9v_125",
8
+ "drawers-mobile-triggers-container": "awsui_drawers-mobile-triggers-container_hyvsj_wxk9v_126",
9
+ "has-breadcrumbs": "awsui_has-breadcrumbs_hyvsj_wxk9v_167",
10
+ "has-notifications-content": "awsui_has-notifications-content_hyvsj_wxk9v_175",
11
+ "has-header": "awsui_has-header_hyvsj_wxk9v_181",
12
+ "has-dynamic-overlap-height": "awsui_has-dynamic-overlap-height_hyvsj_wxk9v_181",
13
+ "content-type-wizard": "awsui_content-type-wizard_hyvsj_wxk9v_182",
14
+ "content-type-cards": "awsui_content-type-cards_hyvsj_wxk9v_185",
15
+ "content-type-table": "awsui_content-type-table_hyvsj_wxk9v_186",
16
+ "has-sticky-background": "awsui_has-sticky-background_hyvsj_wxk9v_189",
17
+ "background": "awsui_background_hyvsj_wxk9v_224",
18
+ "notifications-appbar-header": "awsui_notifications-appbar-header_hyvsj_wxk9v_227",
19
+ "sticky-notifications": "awsui_sticky-notifications_hyvsj_wxk9v_240",
20
+ "overlap": "awsui_overlap_hyvsj_wxk9v_246",
21
+ "drawers-container": "awsui_drawers-container_hyvsj_wxk9v_270",
22
+ "has-open-drawer": "awsui_has-open-drawer_hyvsj_wxk9v_282",
23
+ "drawers-desktop-triggers-container": "awsui_drawers-desktop-triggers-container_hyvsj_wxk9v_312",
24
+ "has-multiple-triggers": "awsui_has-multiple-triggers_hyvsj_wxk9v_330",
25
+ "drawers-trigger-content": "awsui_drawers-trigger-content_hyvsj_wxk9v_362",
26
+ "drawer": "awsui_drawer_hyvsj_wxk9v_126",
27
+ "drawer-close-button": "awsui_drawer-close-button_hyvsj_wxk9v_406",
28
+ "drawer-content": "awsui_drawer-content_hyvsj_wxk9v_411",
29
+ "is-drawer-open": "awsui_is-drawer-open_hyvsj_wxk9v_416",
30
+ "content": "awsui_content_hyvsj_wxk9v_182",
31
+ "layout": "awsui_layout_hyvsj_wxk9v_518",
32
+ "has-max-content-width": "awsui_has-max-content-width_hyvsj_wxk9v_601",
33
+ "content-type-dashboard": "awsui_content-type-dashboard_hyvsj_wxk9v_616",
34
+ "is-overlap-disabled": "awsui_is-overlap-disabled_hyvsj_wxk9v_643",
35
+ "disable-body-scroll": "awsui_disable-body-scroll_hyvsj_wxk9v_646",
36
+ "has-sticky-notifications": "awsui_has-sticky-notifications_hyvsj_wxk9v_650",
37
+ "has-split-panel": "awsui_has-split-panel_hyvsj_wxk9v_664",
38
+ "split-panel-position-bottom": "awsui_split-panel-position-bottom_hyvsj_wxk9v_664",
39
+ "has-content-gap-left": "awsui_has-content-gap-left_hyvsj_wxk9v_676",
40
+ "has-content-gap-right": "awsui_has-content-gap-right_hyvsj_wxk9v_679",
41
+ "block-body-scroll": "awsui_block-body-scroll_hyvsj_wxk9v_694",
42
+ "container": "awsui_container_hyvsj_wxk9v_702",
43
+ "disable-content-paddings": "awsui_disable-content-paddings_hyvsj_wxk9v_728",
44
+ "is-navigation-open": "awsui_is-navigation-open_hyvsj_wxk9v_733",
45
+ "is-tools-open": "awsui_is-tools-open_hyvsj_wxk9v_736",
46
+ "is-split-panel-open": "awsui_is-split-panel-open_hyvsj_wxk9v_736",
47
+ "split-panel-position-side": "awsui_split-panel-position-side_hyvsj_wxk9v_736",
48
+ "content-type-default": "awsui_content-type-default_hyvsj_wxk9v_756",
49
+ "content-type-form": "awsui_content-type-form_hyvsj_wxk9v_756",
50
+ "unfocusable": "awsui_unfocusable_hyvsj_wxk9v_797",
51
+ "navigation-container": "awsui_navigation-container_hyvsj_wxk9v_807",
52
+ "show-navigation": "awsui_show-navigation_hyvsj_wxk9v_842",
53
+ "animating": "awsui_animating_hyvsj_wxk9v_864",
54
+ "showButtons": "awsui_showButtons_hyvsj_wxk9v_1",
55
+ "navigation": "awsui_navigation_hyvsj_wxk9v_807",
56
+ "openNavigation": "awsui_openNavigation_hyvsj_wxk9v_1",
57
+ "animated-content": "awsui_animated-content_hyvsj_wxk9v_925",
58
+ "hide-navigation": "awsui_hide-navigation_hyvsj_wxk9v_934",
59
+ "notifications": "awsui_notifications_hyvsj_wxk9v_227",
60
+ "split-panel-bottom": "awsui_split-panel-bottom_hyvsj_wxk9v_1001",
61
+ "position-bottom": "awsui_position-bottom_hyvsj_wxk9v_1047",
62
+ "openSplitPanelBottom": "awsui_openSplitPanelBottom_hyvsj_wxk9v_1",
63
+ "split-panel-side": "awsui_split-panel-side_hyvsj_wxk9v_1076",
64
+ "position-side": "awsui_position-side_hyvsj_wxk9v_1104",
65
+ "openSplitPanelSide": "awsui_openSplitPanelSide_hyvsj_wxk9v_1",
66
+ "tools-container": "awsui_tools-container_hyvsj_wxk9v_1141",
67
+ "tools": "awsui_tools_hyvsj_wxk9v_1141",
68
+ "openTools": "awsui_openTools_hyvsj_wxk9v_1",
69
+ "has-tools-form-persistence": "awsui_has-tools-form-persistence_hyvsj_wxk9v_1226",
70
+ "hide-tools": "awsui_hide-tools_hyvsj_wxk9v_1236",
71
+ "show-tools": "awsui_show-tools_hyvsj_wxk9v_1248",
72
+ "has-tools-form": "awsui_has-tools-form_hyvsj_wxk9v_1226",
73
+ "trigger": "awsui_trigger_hyvsj_wxk9v_1315",
74
+ "selected": "awsui_selected_hyvsj_wxk9v_1354"
75
75
  };
76
76