@cloudscape-design/board-components 3.0.24 → 3.0.26

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.
@@ -2,7 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  import clsx from "clsx";
5
+ import { useVisualRefresh } from "../internal/base-component/use-visual-refresh.js";
5
6
  import styles from "./styles.css.js";
6
7
  export default function WidgetContainerHeader({ handle, children, settings }) {
7
- return (_jsxs("div", { className: styles.header, children: [_jsx("div", { className: clsx(styles.fixed, styles.handle), children: handle }), _jsx("div", { className: clsx(styles.flexible, styles["header-content"]), children: children }), settings ? _jsx("div", { className: clsx(styles.fixed, styles.settings), children: settings }) : null] }));
8
+ const isVisualRefresh = useVisualRefresh();
9
+ return (_jsxs("div", { className: clsx(styles.header, isVisualRefresh && styles.refresh), children: [_jsx("div", { className: clsx(styles.fixed, styles.handle), children: handle }), _jsx("div", { className: clsx(styles.flexible, styles["header-content"]), children: children }), settings ? _jsx("div", { className: clsx(styles.fixed, styles.settings), children: settings }) : null] }));
8
10
  }
@@ -1,15 +1,16 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_9ckv7_tgeft_1",
5
- "container-override": "awsui_container-override_9ckv7_tgeft_6",
6
- "active": "awsui_active_9ckv7_tgeft_6",
7
- "header": "awsui_header_9ckv7_tgeft_31",
8
- "flexible": "awsui_flexible_9ckv7_tgeft_37",
9
- "handle": "awsui_handle_9ckv7_tgeft_41",
10
- "header-content": "awsui_header-content_9ckv7_tgeft_45",
11
- "settings": "awsui_settings_9ckv7_tgeft_49",
12
- "fixed": "awsui_fixed_9ckv7_tgeft_54",
13
- "resizer": "awsui_resizer_9ckv7_tgeft_58"
4
+ "root": "awsui_root_9ckv7_h85wa_1",
5
+ "container-override": "awsui_container-override_9ckv7_h85wa_6",
6
+ "active": "awsui_active_9ckv7_h85wa_6",
7
+ "header": "awsui_header_9ckv7_h85wa_31",
8
+ "flexible": "awsui_flexible_9ckv7_h85wa_37",
9
+ "handle": "awsui_handle_9ckv7_h85wa_41",
10
+ "refresh": "awsui_refresh_9ckv7_h85wa_44",
11
+ "header-content": "awsui_header-content_9ckv7_h85wa_48",
12
+ "settings": "awsui_settings_9ckv7_h85wa_52",
13
+ "fixed": "awsui_fixed_9ckv7_h85wa_60",
14
+ "resizer": "awsui_resizer_9ckv7_h85wa_64"
14
15
  };
15
16
 
@@ -1,21 +1,21 @@
1
- .awsui_root_9ckv7_tgeft_1:not(#\9) {
1
+ .awsui_root_9ckv7_h85wa_1:not(#\9) {
2
2
  display: contents;
3
3
  }
4
4
 
5
5
  /* TODO: use container API instead of styles override */
6
- .awsui_container-override_9ckv7_tgeft_6.awsui_active_9ckv7_tgeft_6:not(#\9) {
6
+ .awsui_container-override_9ckv7_h85wa_6.awsui_active_9ckv7_h85wa_6:not(#\9) {
7
7
  box-shadow: var(--shadow-container-active-x0fzbz, 0px 1px 1px 1px #e9ebed, 0px 6px 36px rgba(0, 7, 22, 0.1019607843));
8
8
  }
9
- [data-awsui-focus-visible] .awsui_container-override_9ckv7_tgeft_6.awsui_active_9ckv7_tgeft_6:not(#\9) {
9
+ [data-awsui-focus-visible] .awsui_container-override_9ckv7_h85wa_6.awsui_active_9ckv7_h85wa_6:not(#\9) {
10
10
  position: relative;
11
11
  box-sizing: border-box;
12
12
  outline: none;
13
13
  }
14
- [data-awsui-focus-visible] .awsui_container-override_9ckv7_tgeft_6.awsui_active_9ckv7_tgeft_6:not(#\9) {
14
+ [data-awsui-focus-visible] .awsui_container-override_9ckv7_h85wa_6.awsui_active_9ckv7_h85wa_6:not(#\9) {
15
15
  outline: 2px dotted transparent;
16
16
  outline-offset: -1px;
17
17
  }
18
- [data-awsui-focus-visible] .awsui_container-override_9ckv7_tgeft_6.awsui_active_9ckv7_tgeft_6:not(#\9)::before {
18
+ [data-awsui-focus-visible] .awsui_container-override_9ckv7_h85wa_6.awsui_active_9ckv7_h85wa_6:not(#\9)::before {
19
19
  content: " ";
20
20
  display: block;
21
21
  position: absolute;
@@ -28,34 +28,40 @@
28
28
  border: 2px solid var(--color-border-item-focused-4t19h5, #0972d3);
29
29
  }
30
30
 
31
- .awsui_header_9ckv7_tgeft_31:not(#\9) {
31
+ .awsui_header_9ckv7_h85wa_31:not(#\9) {
32
32
  display: flex;
33
33
  justify-items: center;
34
34
  padding: var(--space-scaled-s-913kwi, 12px) calc(var(--space-container-horizontal-jxdgil, 20px) - var(--space-scaled-xs-wbfgrv, 8px));
35
35
  }
36
36
 
37
- .awsui_flexible_9ckv7_tgeft_37:not(#\9) {
37
+ .awsui_flexible_9ckv7_h85wa_37:not(#\9) {
38
38
  flex: 1 1 min-content;
39
39
  }
40
40
 
41
- .awsui_handle_9ckv7_tgeft_41:not(#\9) {
41
+ .awsui_handle_9ckv7_h85wa_41:not(#\9) {
42
42
  margin-top: calc(var(--space-scaled-xxs-t2t62i, 4px) + 1px);
43
43
  }
44
+ .awsui_refresh_9ckv7_h85wa_44 > .awsui_handle_9ckv7_h85wa_41:not(#\9) {
45
+ margin-top: calc(var(--space-static-xxxs-b6tgp7, 2px) + 1px);
46
+ }
44
47
 
45
- .awsui_header-content_9ckv7_tgeft_45:not(#\9) {
48
+ .awsui_header-content_9ckv7_h85wa_48:not(#\9) {
46
49
  margin-left: var(--space-scaled-xxs-t2t62i, 4px);
47
50
  }
48
51
 
49
- .awsui_settings_9ckv7_tgeft_49:not(#\9) {
52
+ .awsui_settings_9ckv7_h85wa_52:not(#\9) {
50
53
  margin-top: calc(var(--space-scaled-xxxs-jdgipl, 2px) + 1px);
51
54
  margin-left: var(--space-static-xs-zgeph4, 8px);
52
55
  }
56
+ .awsui_refresh_9ckv7_h85wa_44 > .awsui_settings_9ckv7_h85wa_52:not(#\9) {
57
+ margin-top: 0px;
58
+ }
53
59
 
54
- .awsui_fixed_9ckv7_tgeft_54:not(#\9) {
60
+ .awsui_fixed_9ckv7_h85wa_60:not(#\9) {
55
61
  flex: 0 0 auto;
56
62
  }
57
63
 
58
- .awsui_resizer_9ckv7_tgeft_58:not(#\9) {
64
+ .awsui_resizer_9ckv7_h85wa_64:not(#\9) {
59
65
  position: absolute;
60
66
  bottom: calc(var(--space-static-xs-zgeph4, 8px) - var(--space-static-xxxs-b6tgp7, 2px));
61
67
  right: calc(var(--space-static-xs-zgeph4, 8px) - var(--space-static-xxxs-b6tgp7, 2px));
@@ -2,15 +2,16 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_9ckv7_tgeft_1",
6
- "container-override": "awsui_container-override_9ckv7_tgeft_6",
7
- "active": "awsui_active_9ckv7_tgeft_6",
8
- "header": "awsui_header_9ckv7_tgeft_31",
9
- "flexible": "awsui_flexible_9ckv7_tgeft_37",
10
- "handle": "awsui_handle_9ckv7_tgeft_41",
11
- "header-content": "awsui_header-content_9ckv7_tgeft_45",
12
- "settings": "awsui_settings_9ckv7_tgeft_49",
13
- "fixed": "awsui_fixed_9ckv7_tgeft_54",
14
- "resizer": "awsui_resizer_9ckv7_tgeft_58"
5
+ "root": "awsui_root_9ckv7_h85wa_1",
6
+ "container-override": "awsui_container-override_9ckv7_h85wa_6",
7
+ "active": "awsui_active_9ckv7_h85wa_6",
8
+ "header": "awsui_header_9ckv7_h85wa_31",
9
+ "flexible": "awsui_flexible_9ckv7_h85wa_37",
10
+ "handle": "awsui_handle_9ckv7_h85wa_41",
11
+ "refresh": "awsui_refresh_9ckv7_h85wa_44",
12
+ "header-content": "awsui_header-content_9ckv7_h85wa_48",
13
+ "settings": "awsui_settings_9ckv7_h85wa_52",
14
+ "fixed": "awsui_fixed_9ckv7_h85wa_60",
15
+ "resizer": "awsui_resizer_9ckv7_h85wa_64"
15
16
  };
16
17
 
@@ -1,4 +1,4 @@
1
1
  export var PACKAGE_SOURCE = "board-components";
2
- export var PACKAGE_VERSION = "3.0.0 (b5357ea1)";
2
+ export var PACKAGE_VERSION = "3.0.0 (a2fe5f8e)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -3,27 +3,40 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  import { useContainerQuery } from "@cloudscape-design/component-toolkit";
5
5
  import clsx from "clsx";
6
- import { Children } from "react";
6
+ import { Children, useRef } from "react";
7
+ import { useMergeRefs } from "../utils/use-merge-refs";
7
8
  import { zipTwoArrays } from "../utils/zip-arrays";
8
9
  import GridItem from "./item";
9
10
  import styles from "./styles.css.js";
11
+ import { useDensityMode } from "./use-density-mode";
10
12
  /* Matches grid gap in CSS. */
11
- const GRID_GAP = 16;
13
+ const GRID_GAP = {
14
+ comfortable: 20,
15
+ compact: 16,
16
+ };
12
17
  /* Matches grid-auto-rows in CSS. */
13
- const ROWSPAN_HEIGHT = 100;
18
+ const ROWSPAN_HEIGHT = {
19
+ comfortable: 96,
20
+ compact: 76,
21
+ };
14
22
  export default function Grid({ layout, children: render, columns }) {
23
+ const gridRef = useRef(null);
15
24
  const [gridWidth, containerQueryRef] = useContainerQuery((entry) => entry.contentBoxWidth, []);
25
+ const densityMode = useDensityMode(gridRef);
26
+ const gridGap = GRID_GAP[densityMode];
27
+ const rowspanHeight = ROWSPAN_HEIGHT[densityMode];
16
28
  // The below getters translate relative grid units into size/offset values in pixels.
17
29
  const getWidth = (colspan) => {
18
30
  colspan = Math.min(columns, colspan);
19
- const cellWidth = ((gridWidth || 0) - (columns - 1) * GRID_GAP) / columns;
20
- return colspan * cellWidth + (colspan - 1) * GRID_GAP;
31
+ const cellWidth = ((gridWidth || 0) - (columns - 1) * gridGap) / columns;
32
+ return colspan * cellWidth + (colspan - 1) * gridGap;
21
33
  };
22
- const getHeight = (rowspan) => rowspan * ROWSPAN_HEIGHT + (rowspan - 1) * GRID_GAP;
23
- const getColOffset = (x) => getWidth(x) + GRID_GAP;
24
- const getRowOffset = (y) => getHeight(y) + GRID_GAP;
34
+ const getHeight = (rowspan) => rowspan * rowspanHeight + (rowspan - 1) * gridGap;
35
+ const getColOffset = (x) => getWidth(x) + gridGap;
36
+ const getRowOffset = (y) => getHeight(y) + gridGap;
25
37
  const gridContext = { getWidth, getHeight, getColOffset, getRowOffset };
26
38
  const children = render === null || render === void 0 ? void 0 : render(gridContext);
27
39
  const zipped = zipTwoArrays(layout, Children.toArray(children));
28
- return (_jsx("div", { ref: containerQueryRef, className: clsx(styles.grid, styles[`columns-${columns}`]), children: zipped.map(([item, children]) => (_jsx(GridItem, { item: item, children: children }, item.id))) }));
40
+ const ref = useMergeRefs(gridRef, containerQueryRef);
41
+ return (_jsx("div", { ref: ref, className: clsx(styles.grid, styles[`grid-${densityMode}`], styles[`columns-${columns}`]), children: zipped.map(([item, children]) => (_jsx(GridItem, { item: item, children: children }, item.id))) }));
29
42
  }
@@ -1,11 +1,12 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "grid": "awsui_grid_1hw7z_yec0l_1",
5
- "columns-1": "awsui_columns-1_1hw7z_yec0l_10",
6
- "columns-2": "awsui_columns-2_1hw7z_yec0l_14",
7
- "columns-4": "awsui_columns-4_1hw7z_yec0l_18",
8
- "columns-6": "awsui_columns-6_1hw7z_yec0l_22",
9
- "grid__item": "awsui_grid__item_1hw7z_yec0l_26"
4
+ "grid": "awsui_grid_1hw7z_1ywbc_1",
5
+ "grid-compact": "awsui_grid-compact_1hw7z_1ywbc_8",
6
+ "columns-1": "awsui_columns-1_1hw7z_1ywbc_13",
7
+ "columns-2": "awsui_columns-2_1hw7z_1ywbc_17",
8
+ "columns-4": "awsui_columns-4_1hw7z_1ywbc_21",
9
+ "columns-6": "awsui_columns-6_1hw7z_1ywbc_25",
10
+ "grid__item": "awsui_grid__item_1hw7z_1ywbc_29"
10
11
  };
11
12
 
@@ -1,29 +1,32 @@
1
- .awsui_grid_1hw7z_yec0l_1:not(#\9) {
1
+ .awsui_grid_1hw7z_1ywbc_1:not(#\9) {
2
2
  display: grid;
3
3
  /* Matches GRID_GAP constant used for calculations. */
4
- /* TODO: consider using different gaps for comfortable/compact which would require a mode observer. */
5
- gap: 16px;
4
+ gap: 20px;
6
5
  /* Matches ROWSPAN_HEIGHT constant used for calculations. */
7
- grid-auto-rows: 100px;
6
+ grid-auto-rows: 96px;
7
+ }
8
+ .awsui_grid-compact_1hw7z_1ywbc_8:not(#\9) {
9
+ gap: 16px;
10
+ grid-auto-rows: 76px;
8
11
  }
9
12
 
10
- .awsui_grid_1hw7z_yec0l_1.awsui_columns-1_1hw7z_yec0l_10:not(#\9) {
13
+ .awsui_grid_1hw7z_1ywbc_1.awsui_columns-1_1hw7z_1ywbc_13:not(#\9) {
11
14
  grid-template-columns: minmax(0, 1fr);
12
15
  }
13
16
 
14
- .awsui_grid_1hw7z_yec0l_1.awsui_columns-2_1hw7z_yec0l_14:not(#\9) {
17
+ .awsui_grid_1hw7z_1ywbc_1.awsui_columns-2_1hw7z_1ywbc_17:not(#\9) {
15
18
  grid-template-columns: repeat(2, minmax(0, 1fr));
16
19
  }
17
20
 
18
- .awsui_grid_1hw7z_yec0l_1.awsui_columns-4_1hw7z_yec0l_18:not(#\9) {
21
+ .awsui_grid_1hw7z_1ywbc_1.awsui_columns-4_1hw7z_1ywbc_21:not(#\9) {
19
22
  grid-template-columns: repeat(4, minmax(0, 1fr));
20
23
  }
21
24
 
22
- .awsui_grid_1hw7z_yec0l_1.awsui_columns-6_1hw7z_yec0l_22:not(#\9) {
25
+ .awsui_grid_1hw7z_1ywbc_1.awsui_columns-6_1hw7z_1ywbc_25:not(#\9) {
23
26
  grid-template-columns: repeat(6, minmax(0, 1fr));
24
27
  }
25
28
 
26
- .awsui_grid__item_1hw7z_yec0l_26:not(#\9) {
29
+ .awsui_grid__item_1hw7z_1ywbc_29:not(#\9) {
27
30
  display: block;
28
31
  position: relative;
29
32
  }
@@ -2,11 +2,12 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "grid": "awsui_grid_1hw7z_yec0l_1",
6
- "columns-1": "awsui_columns-1_1hw7z_yec0l_10",
7
- "columns-2": "awsui_columns-2_1hw7z_yec0l_14",
8
- "columns-4": "awsui_columns-4_1hw7z_yec0l_18",
9
- "columns-6": "awsui_columns-6_1hw7z_yec0l_22",
10
- "grid__item": "awsui_grid__item_1hw7z_yec0l_26"
5
+ "grid": "awsui_grid_1hw7z_1ywbc_1",
6
+ "grid-compact": "awsui_grid-compact_1hw7z_1ywbc_8",
7
+ "columns-1": "awsui_columns-1_1hw7z_1ywbc_13",
8
+ "columns-2": "awsui_columns-2_1hw7z_1ywbc_17",
9
+ "columns-4": "awsui_columns-4_1hw7z_1ywbc_21",
10
+ "columns-6": "awsui_columns-6_1hw7z_1ywbc_25",
11
+ "grid__item": "awsui_grid__item_1hw7z_1ywbc_29"
11
12
  };
12
13
 
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function useDensityMode(elementRef: React.RefObject<HTMLElement>): "comfortable" | "compact";
@@ -0,0 +1,59 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { findUpUntil } from "@cloudscape-design/component-toolkit/dom";
4
+ import { useEffect, useState } from "react";
5
+ import { unstable_batchedUpdates } from "react-dom";
6
+ import { useStableEventHandler } from "../utils/use-stable-event-handler";
7
+ // Matches: https://github.com/cloudscape-design/components/blob/main/src/internal/hooks/use-visual-mode/index.ts
8
+ export function useDensityMode(elementRef) {
9
+ const [value, setValue] = useState("comfortable");
10
+ useMutationObserver(elementRef, (node) => {
11
+ const compactModeParent = findUpUntil(node, (node) => node.classList.contains("awsui-polaris-compact-mode") || node.classList.contains("awsui-compact-mode"));
12
+ setValue(compactModeParent ? "compact" : "comfortable");
13
+ });
14
+ return value;
15
+ }
16
+ const useMutationSingleton = createSingletonHandler((handler) => {
17
+ const observer = new MutationObserver(() => handler());
18
+ observer.observe(document.body, { attributes: true, subtree: true });
19
+ return () => observer.disconnect();
20
+ });
21
+ function useMutationObserver(elementRef, onChange) {
22
+ const handler = useStableEventHandler(() => {
23
+ if (elementRef.current) {
24
+ onChange(elementRef.current);
25
+ }
26
+ });
27
+ useMutationSingleton(handler);
28
+ useEffect(() => {
29
+ handler();
30
+ }, [handler]);
31
+ }
32
+ function createSingletonHandler(factory) {
33
+ const listeners = [];
34
+ const callback = (value) => {
35
+ unstable_batchedUpdates(() => {
36
+ for (const listener of listeners) {
37
+ listener(value);
38
+ }
39
+ });
40
+ };
41
+ let cleanup;
42
+ return function useSingleton(listener) {
43
+ useEffect(() => {
44
+ if (listeners.length === 0) {
45
+ cleanup = factory(callback);
46
+ }
47
+ listeners.push(listener);
48
+ return () => {
49
+ listeners.splice(listeners.indexOf(listener), 1);
50
+ if (listeners.length === 0) {
51
+ cleanup();
52
+ cleanup = undefined;
53
+ }
54
+ };
55
+ // register handlers only on mount
56
+ // eslint-disable-next-line react-hooks/exhaustive-deps
57
+ }, []);
58
+ };
59
+ }
@@ -99,6 +99,17 @@ function ItemContainerComponent({ item, placed, acquired, inTransition, transfor
99
99
  // draggableApi is not expected to change
100
100
  // eslint-disable-next-line react-hooks/exhaustive-deps
101
101
  }, [item.id, transitionInteractionType, transitionItemId]);
102
+ useEffect(() => {
103
+ if (transitionInteractionType === "keyboard" && transitionItemId === item.id) {
104
+ const onPointerDown = () => draggableApi.submitTransition();
105
+ window.addEventListener("pointerdown", onPointerDown, true);
106
+ return () => {
107
+ window.removeEventListener("pointerdown", onPointerDown, true);
108
+ };
109
+ }
110
+ // draggableApi is not expected to change
111
+ // eslint-disable-next-line react-hooks/exhaustive-deps
112
+ }, [item.id, transitionInteractionType, transitionItemId]);
102
113
  function onKeyboardTransitionToggle(operation) {
103
114
  // The acquired item is a copy and does not have the transition state.
104
115
  // However, pressing "Space" or "Enter" on the acquired item must submit the active transition.
@@ -175,11 +186,11 @@ function ItemContainerComponent({ item, placed, acquired, inTransition, transfor
175
186
  }
176
187
  }
177
188
  function onBlur() {
178
- // When drag- or resize handle loses focus the transition must be discarded with two exceptions:
189
+ // When drag- or resize handle loses focus the transition must be submitted with two exceptions:
179
190
  // 1. If the last interaction is not "keyboard" (the user clicked on another handle issuing a new transition);
180
191
  // 2. If the item is borrowed (in that case the focus moves to the acquired item which is expected).
181
192
  if (transition && transition.interactionType === "keyboard" && !transition.isBorrowed) {
182
- draggableApi.discardTransition();
193
+ draggableApi.submitTransition();
183
194
  }
184
195
  }
185
196
  function onDragHandlePointerDown(event) {
@@ -1,12 +1,12 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_lljvd_udubn_1",
5
- "inTransition": "awsui_inTransition_lljvd_udubn_7",
6
- "transformed": "awsui_transformed_lljvd_udubn_12",
7
- "removed": "awsui_removed_lljvd_udubn_17",
8
- "dragged": "awsui_dragged_lljvd_udubn_21",
9
- "resized": "awsui_resized_lljvd_udubn_26",
10
- "borrowed": "awsui_borrowed_lljvd_udubn_31"
4
+ "root": "awsui_root_lljvd_gj9xm_1",
5
+ "inTransition": "awsui_inTransition_lljvd_gj9xm_7",
6
+ "transformed": "awsui_transformed_lljvd_gj9xm_12",
7
+ "removed": "awsui_removed_lljvd_gj9xm_17",
8
+ "dragged": "awsui_dragged_lljvd_gj9xm_21",
9
+ "resized": "awsui_resized_lljvd_gj9xm_26",
10
+ "borrowed": "awsui_borrowed_lljvd_gj9xm_31"
11
11
  };
12
12
 
@@ -1,33 +1,33 @@
1
- .awsui_root_lljvd_udubn_1:not(#\9) {
1
+ .awsui_root_lljvd_gj9xm_1:not(#\9) {
2
2
  touch-action: none;
3
3
  position: relative;
4
4
  height: 100%;
5
5
  }
6
6
 
7
- .awsui_inTransition_lljvd_udubn_7:not(#\9) {
7
+ .awsui_inTransition_lljvd_gj9xm_7:not(#\9) {
8
8
  transition: transform 200ms;
9
9
  transition-timing-function: ease;
10
10
  }
11
11
 
12
- .awsui_transformed_lljvd_udubn_12:not(#\9) {
12
+ .awsui_transformed_lljvd_gj9xm_12:not(#\9) {
13
13
  position: absolute;
14
14
  z-index: 1;
15
15
  }
16
16
 
17
- .awsui_removed_lljvd_udubn_17:not(#\9) {
17
+ .awsui_removed_lljvd_gj9xm_17:not(#\9) {
18
18
  display: none;
19
19
  }
20
20
 
21
- .awsui_dragged_lljvd_udubn_21:not(#\9) {
21
+ .awsui_dragged_lljvd_gj9xm_21:not(#\9) {
22
22
  z-index: 5000;
23
23
  position: fixed;
24
24
  }
25
25
 
26
- .awsui_resized_lljvd_udubn_26:not(#\9) {
26
+ .awsui_resized_lljvd_gj9xm_26:not(#\9) {
27
27
  z-index: 5000;
28
28
  position: absolute;
29
29
  }
30
30
 
31
- .awsui_borrowed_lljvd_udubn_31:not(#\9) {
32
- opacity: 0.5;
31
+ .awsui_borrowed_lljvd_gj9xm_31:not(#\9) {
32
+ display: none;
33
33
  }
@@ -2,12 +2,12 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "root": "awsui_root_lljvd_udubn_1",
6
- "inTransition": "awsui_inTransition_lljvd_udubn_7",
7
- "transformed": "awsui_transformed_lljvd_udubn_12",
8
- "removed": "awsui_removed_lljvd_udubn_17",
9
- "dragged": "awsui_dragged_lljvd_udubn_21",
10
- "resized": "awsui_resized_lljvd_udubn_26",
11
- "borrowed": "awsui_borrowed_lljvd_udubn_31"
5
+ "root": "awsui_root_lljvd_gj9xm_1",
6
+ "inTransition": "awsui_inTransition_lljvd_gj9xm_7",
7
+ "transformed": "awsui_transformed_lljvd_gj9xm_12",
8
+ "removed": "awsui_removed_lljvd_gj9xm_17",
9
+ "dragged": "awsui_dragged_lljvd_gj9xm_21",
10
+ "resized": "awsui_resized_lljvd_gj9xm_26",
11
+ "borrowed": "awsui_borrowed_lljvd_gj9xm_31"
12
12
  };
13
13
 
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "b5357ea191a05af63c4d1f7ddb50f5b20d5a4864"
2
+ "commit": "a2fe5f8eb68cda2710cf0e62974bbea6e998da30"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/board-components",
3
- "version": "3.0.24",
3
+ "version": "3.0.26",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cloudscape-design/board-components.git"