@cloudscape-design/components 3.0.184 → 3.0.186

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 (45) hide show
  1. package/flashbar/collapsible-flashbar.d.ts +4 -0
  2. package/flashbar/collapsible-flashbar.d.ts.map +1 -0
  3. package/flashbar/collapsible-flashbar.js +209 -0
  4. package/flashbar/collapsible-flashbar.js.map +1 -0
  5. package/flashbar/common.d.ts +19 -0
  6. package/flashbar/common.d.ts.map +1 -0
  7. package/flashbar/common.js +63 -0
  8. package/flashbar/common.js.map +1 -0
  9. package/flashbar/flash.d.ts.map +1 -1
  10. package/flashbar/flash.js +8 -3
  11. package/flashbar/flash.js.map +1 -1
  12. package/flashbar/index.d.ts +2 -2
  13. package/flashbar/index.d.ts.map +1 -1
  14. package/flashbar/index.js +14 -159
  15. package/flashbar/index.js.map +1 -1
  16. package/flashbar/interfaces.d.ts +14 -7
  17. package/flashbar/interfaces.d.ts.map +1 -1
  18. package/flashbar/interfaces.js.map +1 -1
  19. package/flashbar/internal/analytics.d.ts +5 -0
  20. package/flashbar/internal/analytics.d.ts.map +1 -0
  21. package/flashbar/internal/analytics.js +29 -0
  22. package/flashbar/internal/analytics.js.map +1 -0
  23. package/flashbar/non-collapsible-flashbar.d.ts +4 -0
  24. package/flashbar/non-collapsible-flashbar.d.ts.map +1 -0
  25. package/flashbar/non-collapsible-flashbar.js +70 -0
  26. package/flashbar/non-collapsible-flashbar.js.map +1 -0
  27. package/flashbar/styles.css.js +43 -33
  28. package/flashbar/styles.scoped.css +329 -225
  29. package/flashbar/styles.selectors.js +43 -33
  30. package/flashbar/utils.d.ts +17 -0
  31. package/flashbar/utils.d.ts.map +1 -0
  32. package/flashbar/utils.js +95 -0
  33. package/flashbar/utils.js.map +1 -0
  34. package/internal/animate.d.ts +11 -0
  35. package/internal/animate.d.ts.map +1 -0
  36. package/internal/animate.js +104 -0
  37. package/internal/animate.js.map +1 -0
  38. package/internal/base-component/styles.scoped.css +12 -0
  39. package/internal/environment.js +1 -1
  40. package/internal/generated/styles/tokens.d.ts +4 -1
  41. package/internal/generated/styles/tokens.js +4 -1
  42. package/internal/generated/theming/index.cjs +72 -1
  43. package/internal/generated/theming/index.js +72 -1
  44. package/internal/manifest.json +1 -1
  45. package/package.json +1 -1
@@ -2,38 +2,48 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "flash-refresh": "awsui_flash-refresh_1q84n_15lwx_93",
6
- "enter": "awsui_enter_1q84n_15lwx_93",
7
- "flash-body": "awsui_flash-body_1q84n_15lwx_108",
8
- "flash-message": "awsui_flash-message_1q84n_15lwx_108",
9
- "flash-header": "awsui_flash-header_1q84n_15lwx_108",
10
- "flash-content": "awsui_flash-content_1q84n_15lwx_109",
11
- "action-button-wrapper": "awsui_action-button-wrapper_1q84n_15lwx_110",
12
- "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_15lwx_111",
13
- "flash-icon": "awsui_flash-icon_1q84n_15lwx_134",
14
- "entering": "awsui_entering_1q84n_15lwx_147",
15
- "entered": "awsui_entered_1q84n_15lwx_168",
16
- "exiting": "awsui_exiting_1q84n_15lwx_273",
17
- "flashbar": "awsui_flashbar_1q84n_15lwx_295",
18
- "flash": "awsui_flash_1q84n_15lwx_93",
19
- "flash-list": "awsui_flash-list_1q84n_15lwx_352",
20
- "flash-focus-container": "awsui_flash-focus-container_1q84n_15lwx_388",
21
- "flash-text": "awsui_flash-text_1q84n_15lwx_394",
22
- "dismiss-button": "awsui_dismiss-button_1q84n_15lwx_111",
23
- "breakpoint-default": "awsui_breakpoint-default_1q84n_15lwx_435",
24
- "flash-list-item": "awsui_flash-list-item_1q84n_15lwx_435",
25
- "action-button": "awsui_action-button_1q84n_15lwx_110",
26
- "flash-type-success": "awsui_flash-type-success_1q84n_15lwx_448",
27
- "flash-type-error": "awsui_flash-type-error_1q84n_15lwx_452",
28
- "flash-type-warning": "awsui_flash-type-warning_1q84n_15lwx_456",
29
- "flash-type-info": "awsui_flash-type-info_1q84n_15lwx_460",
30
- "stack": "awsui_stack_1q84n_15lwx_464",
31
- "expanded": "awsui_expanded_1q84n_15lwx_469",
32
- "collapsed": "awsui_collapsed_1q84n_15lwx_483",
33
- "item": "awsui_item_1q84n_15lwx_489",
34
- "visual-refresh": "awsui_visual-refresh_1q84n_15lwx_499",
35
- "flash-items": "awsui_flash-items_1q84n_15lwx_505",
36
- "toggle": "awsui_toggle_1q84n_15lwx_512",
37
- "icon": "awsui_icon_1q84n_15lwx_575"
5
+ "flash-with-motion": "awsui_flash-with-motion_1q84n_1sqql_93",
6
+ "enter": "awsui_enter_1q84n_1sqql_93",
7
+ "flash-body": "awsui_flash-body_1q84n_1sqql_107",
8
+ "flash-message": "awsui_flash-message_1q84n_1sqql_107",
9
+ "flash-header": "awsui_flash-header_1q84n_1sqql_107",
10
+ "flash-content": "awsui_flash-content_1q84n_1sqql_108",
11
+ "action-button-wrapper": "awsui_action-button-wrapper_1q84n_1sqql_109",
12
+ "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1sqql_110",
13
+ "flash-icon": "awsui_flash-icon_1q84n_1sqql_133",
14
+ "entering": "awsui_entering_1q84n_1sqql_146",
15
+ "entered": "awsui_entered_1q84n_1sqql_167",
16
+ "exiting": "awsui_exiting_1q84n_1sqql_272",
17
+ "stack": "awsui_stack_1q84n_1sqql_294",
18
+ "animation-running": "awsui_animation-running_1q84n_1sqql_294",
19
+ "item": "awsui_item_1q84n_1sqql_294",
20
+ "flash-list-item": "awsui_flash-list-item_1q84n_1sqql_295",
21
+ "toggle": "awsui_toggle_1q84n_1sqql_296",
22
+ "collapsed": "awsui_collapsed_1q84n_1sqql_316",
23
+ "animation-ready": "awsui_animation-ready_1q84n_1sqql_316",
24
+ "expanded-only": "awsui_expanded-only_1q84n_1sqql_316",
25
+ "expanded": "awsui_expanded_1q84n_1sqql_316",
26
+ "flash": "awsui_flash_1q84n_1sqql_93",
27
+ "status": "awsui_status_1q84n_1sqql_401",
28
+ "header": "awsui_header_1q84n_1sqql_401",
29
+ "item-count": "awsui_item-count_1q84n_1sqql_402",
30
+ "button": "awsui_button_1q84n_1sqql_403",
31
+ "type-count": "awsui_type-count_1q84n_1sqql_424",
32
+ "count-number": "awsui_count-number_1q84n_1sqql_427",
33
+ "visual-refresh": "awsui_visual-refresh_1q84n_1sqql_437",
34
+ "icon": "awsui_icon_1q84n_1sqql_486",
35
+ "spaced-bottom": "awsui_spaced-bottom_1q84n_1sqql_524",
36
+ "flashbar": "awsui_flashbar_1q84n_1sqql_532",
37
+ "flash-refresh": "awsui_flash-refresh_1q84n_1sqql_572",
38
+ "flash-list": "awsui_flash-list_1q84n_1sqql_295",
39
+ "flash-focus-container": "awsui_flash-focus-container_1q84n_1sqql_604",
40
+ "flash-text": "awsui_flash-text_1q84n_1sqql_631",
41
+ "dismiss-button": "awsui_dismiss-button_1q84n_1sqql_110",
42
+ "breakpoint-default": "awsui_breakpoint-default_1q84n_1sqql_672",
43
+ "action-button": "awsui_action-button_1q84n_1sqql_109",
44
+ "flash-type-success": "awsui_flash-type-success_1q84n_1sqql_685",
45
+ "flash-type-error": "awsui_flash-type-error_1q84n_1sqql_689",
46
+ "flash-type-warning": "awsui_flash-type-warning_1q84n_1sqql_693",
47
+ "flash-type-info": "awsui_flash-type-info_1q84n_1sqql_697"
38
48
  };
39
49
 
@@ -0,0 +1,17 @@
1
+ import { FlashbarProps, FlashType } from './interfaces';
2
+ import { IconProps } from '../icon/interfaces';
3
+ export declare const FOCUS_THROTTLE_DELAY = 2000;
4
+ export interface StackableItem extends FlashbarProps.MessageDefinition {
5
+ expandedIndex: number;
6
+ collapsedIndex?: number;
7
+ }
8
+ export declare function getItemType(item: FlashbarProps.MessageDefinition): "progress" | FlashbarProps.Type;
9
+ export declare function getVisibleCollapsedItems(items: ReadonlyArray<FlashbarProps.MessageDefinition>, desiredLength: number): ReadonlyArray<StackableItem>;
10
+ export declare function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number>;
11
+ export type LabelName = 'errorCountAriaLabel' | 'warningCountAriaLabel' | 'successCountAriaLabel' | 'infoCountAriaLabel' | 'inProgressCountAriaLabel';
12
+ export declare const counterTypes: {
13
+ type: FlashType;
14
+ labelName: LabelName;
15
+ iconName: IconProps.Name;
16
+ }[];
17
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAKzC,MAAM,WAAW,aAAc,SAAQ,aAAa,CAAC,iBAAiB;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAeD,wBAAgB,WAAW,CAAC,IAAI,EAAE,aAAa,CAAC,iBAAiB,mCAMhE;AAWD,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,aAAa,CAAC,aAAa,CAAC,iBAAiB,CAAC,EACrD,aAAa,EAAE,MAAM,GACpB,aAAa,CAAC,aAAa,CAAC,CAgD9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,aAAa,CAAC,iBAAiB,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAO9G;AAED,MAAM,MAAM,SAAS,GACjB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,GACvB,oBAAoB,GACpB,0BAA0B,CAAC;AAE/B,eAAO,MAAM,YAAY,EAAE;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC;CAC1B,EAMA,CAAC"}
@@ -0,0 +1,95 @@
1
+ import { __assign } from "tslib";
2
+ export var FOCUS_THROTTLE_DELAY = 2000;
3
+ var typesToColors = {
4
+ error: 'red',
5
+ info: 'blue',
6
+ progress: 'blue',
7
+ success: 'green',
8
+ warning: 'blue'
9
+ };
10
+ function getColorFromType(type) {
11
+ var defaultColor = 'blue';
12
+ return type ? typesToColors[type] || defaultColor : defaultColor;
13
+ }
14
+ export function getItemType(item) {
15
+ if (item.loading) {
16
+ return 'progress';
17
+ }
18
+ else {
19
+ return item.type || 'info';
20
+ }
21
+ }
22
+ function getItemColor(item) {
23
+ return getColorFromType(getItemType(item));
24
+ }
25
+ /*
26
+ Returns a selection of notifications, preserving the order when possible but making sure that all different colors in
27
+ the stack are represented in the returned array.
28
+ The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).
29
+ */
30
+ export function getVisibleCollapsedItems(items, desiredLength) {
31
+ // First `desiredLength` items in the original array,
32
+ // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary
33
+ var itemsOnTop = [];
34
+ // Items that fall outside `desiredIndexLength` but need to be "promoted" if possible
35
+ // because they are of a different color which otherwise wouldn't be represented
36
+ var itemsToPromote = [];
37
+ var addedColors = new Set();
38
+ var allPossibleColors = Object.keys(typesToColors).length;
39
+ var finalLength = Math.min(items.length, desiredLength);
40
+ for (var i = 0; i < items.length; i++) {
41
+ var item = items[i];
42
+ var color = getItemColor(item);
43
+ var isColorRepeated = addedColors.has(color);
44
+ if (i < finalLength) {
45
+ itemsOnTop.push({ item: __assign(__assign({}, item), { expandedIndex: i }), isColorRepeated: isColorRepeated });
46
+ }
47
+ else {
48
+ if (addedColors.size === allPossibleColors) {
49
+ // No need to keep looking for unrepresented colors, we can stop looping
50
+ break;
51
+ }
52
+ else if (!isColorRepeated) {
53
+ itemsToPromote.push(__assign(__assign({}, item), { expandedIndex: i }));
54
+ }
55
+ }
56
+ addedColors.add(color);
57
+ }
58
+ // Generate the new array with the selected items, by picking from both arrays.
59
+ // First, from the non-repeated items within the desired length...
60
+ // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones
61
+ var reversedInitialSelection = [];
62
+ var slotsReservedForPromotions = 0;
63
+ for (var j = itemsOnTop.length - 1; j >= 0; j--) {
64
+ var item = itemsOnTop[j];
65
+ if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {
66
+ slotsReservedForPromotions += 1;
67
+ }
68
+ else {
69
+ reversedInitialSelection.push(item.item);
70
+ }
71
+ }
72
+ var selectedItems = reversedInitialSelection.reverse();
73
+ // ...and then complete the selection with as many promotable items as we can fit in the rest of the array
74
+ for (var k = 0; selectedItems.length < desiredLength; k++) {
75
+ selectedItems.push(itemsToPromote[k]);
76
+ }
77
+ return selectedItems;
78
+ }
79
+ export function getFlashTypeCount(items) {
80
+ var count = { error: 0, info: 0, progress: 0, success: 0, warning: 0 };
81
+ for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {
82
+ var item = items_1[_i];
83
+ var type = getItemType(item);
84
+ count[type] += 1;
85
+ }
86
+ return count;
87
+ }
88
+ export var counterTypes = [
89
+ { type: 'error', labelName: 'errorCountAriaLabel', iconName: 'status-negative' },
90
+ { type: 'warning', labelName: 'warningCountAriaLabel', iconName: 'status-warning' },
91
+ { type: 'success', labelName: 'successCountAriaLabel', iconName: 'status-positive' },
92
+ { type: 'info', labelName: 'infoCountAriaLabel', iconName: 'status-info' },
93
+ { type: 'progress', labelName: 'inProgressCountAriaLabel', iconName: 'status-in-progress' },
94
+ ];
95
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":";AAKA,MAAM,CAAC,IAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,IAAM,aAAa,GAA8B;IAC/C,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,OAAO;IAChB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E,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACzE,KAAmB,UAAK,EAAL,eAAK,EAAL,mBAAK,EAAL,IAAK,EAAE;QAArB,IAAM,IAAI,cAAA;QACb,IAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AASD,MAAM,CAAC,IAAM,YAAY,GAInB;IACJ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAChF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,uBAAuB,EAAE,QAAQ,EAAE,gBAAgB,EAAE;IACnF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,uBAAuB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACpF,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,aAAa,EAAE;IAC1E,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,0BAA0B,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC5F,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps, FlashType } from './interfaces';\nimport { IconProps } from '../icon/interfaces';\n\nexport const FOCUS_THROTTLE_DELAY = 2000;\n\n// Since the position of a notification changes when the Flashbar is collapsed,\n// it is useful on some situations (e.g, for animating) to know the original position of the item\n// in the non-collapsed state.\nexport interface StackableItem extends FlashbarProps.MessageDefinition {\n expandedIndex: number;\n collapsedIndex?: number;\n}\n\nconst typesToColors: Record<FlashType, string> = {\n error: 'red',\n info: 'blue',\n progress: 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashType): string {\n const defaultColor = 'blue';\n return type ? typesToColors[type] || defaultColor : defaultColor;\n}\n\nexport function getItemType(item: FlashbarProps.MessageDefinition) {\n if (item.loading) {\n return 'progress';\n } else {\n return item.type || 'info';\n }\n}\n\nfunction getItemColor(item: FlashbarProps.MessageDefinition) {\n return getColorFromType(getItemType(item));\n}\n\n/*\n Returns a selection of notifications, preserving the order when possible but making sure that all different colors in\n the stack are represented in the returned array.\n The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).\n */\nexport function getVisibleCollapsedItems(\n items: ReadonlyArray<FlashbarProps.MessageDefinition>,\n desiredLength: number\n): ReadonlyArray<StackableItem> {\n // First `desiredLength` items in the original array,\n // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary\n const itemsOnTop: { item: StackableItem; isColorRepeated: boolean }[] = [];\n\n // Items that fall outside `desiredIndexLength` but need to be \"promoted\" if possible\n // because they are of a different color which otherwise wouldn't be represented\n const itemsToPromote: StackableItem[] = [];\n\n const addedColors: Set<string> = new Set();\n const allPossibleColors = Object.keys(typesToColors).length;\n const finalLength = Math.min(items.length, desiredLength);\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const color = getItemColor(item);\n const isColorRepeated = addedColors.has(color);\n if (i < finalLength) {\n itemsOnTop.push({ item: { ...item, expandedIndex: i }, isColorRepeated });\n } else {\n if (addedColors.size === allPossibleColors) {\n // No need to keep looking for unrepresented colors, we can stop looping\n break;\n } else if (!isColorRepeated) {\n itemsToPromote.push({ ...item, expandedIndex: i });\n }\n }\n addedColors.add(color);\n }\n // Generate the new array with the selected items, by picking from both arrays.\n // First, from the non-repeated items within the desired length...\n // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones\n const reversedInitialSelection = [];\n let slotsReservedForPromotions = 0;\n for (let j = itemsOnTop.length - 1; j >= 0; j--) {\n const item = itemsOnTop[j];\n if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {\n slotsReservedForPromotions += 1;\n } else {\n reversedInitialSelection.push(item.item);\n }\n }\n const selectedItems = reversedInitialSelection.reverse();\n // ...and then complete the selection with as many promotable items as we can fit in the rest of the array\n for (let k = 0; selectedItems.length < desiredLength; k++) {\n selectedItems.push(itemsToPromote[k]);\n }\n return selectedItems;\n}\n\nexport function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number> {\n const count = { error: 0, info: 0, progress: 0, success: 0, warning: 0 };\n for (const item of items) {\n const type = getItemType(item);\n count[type] += 1;\n }\n return count;\n}\n\nexport type LabelName =\n | 'errorCountAriaLabel'\n | 'warningCountAriaLabel'\n | 'successCountAriaLabel'\n | 'infoCountAriaLabel'\n | 'inProgressCountAriaLabel';\n\nexport const counterTypes: {\n type: FlashType;\n labelName: LabelName;\n iconName: IconProps.Name;\n}[] = [\n { type: 'error', labelName: 'errorCountAriaLabel', iconName: 'status-negative' },\n { type: 'warning', labelName: 'warningCountAriaLabel', iconName: 'status-warning' },\n { type: 'success', labelName: 'successCountAriaLabel', iconName: 'status-positive' },\n { type: 'info', labelName: 'infoCountAriaLabel', iconName: 'status-info' },\n { type: 'progress', labelName: 'inProgressCountAriaLabel', iconName: 'status-in-progress' },\n];\n"]}
@@ -0,0 +1,11 @@
1
+ export declare function getDOMRects(elements: Record<string | number, HTMLElement | null>): Record<string, DOMRect>;
2
+ export declare function animate({ oldState, elements, onTransitionsEnd, newElementInitialState, }: {
3
+ elements: Record<string | number, HTMLElement | null>;
4
+ oldState: Record<string | number, DOMRect>;
5
+ onTransitionsEnd?: () => void;
6
+ newElementInitialState?: (newRect: DOMRect) => {
7
+ scale?: number;
8
+ y?: number;
9
+ };
10
+ }): void;
11
+ //# sourceMappingURL=animate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animate.d.ts","sourceRoot":"","sources":["../../../src/internal/animate.ts"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC,2BAShF;AAaD,wBAAgB,OAAO,CAAC,EACtB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,sBAAsB,GACvB,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC,CAAC;IACtD,QAAQ,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/E,QA0EA"}
@@ -0,0 +1,104 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { __assign } from "tslib";
4
+ export function getDOMRects(elements) {
5
+ var rects = {};
6
+ for (var id in elements) {
7
+ var element = elements[id];
8
+ if (element) {
9
+ rects[id] = element.getBoundingClientRect();
10
+ }
11
+ }
12
+ return rects;
13
+ }
14
+ /*
15
+ Animate DOM elements based on the FLIP technique
16
+ - https://aerotwist.com/blog/flip-your-animations/
17
+ - https://css-tricks.com/animating-layouts-with-the-flip-technique/
18
+
19
+ This can be useful when the initial dimensions or position of the element is not known,
20
+ so the initial offset or scaling needs to be retrieved via JS.
21
+
22
+ Caveat: this currently does not support elements having CSS transforms in the end state.
23
+ These would be overridden in the animation instead of combined.
24
+ */
25
+ export function animate(_a) {
26
+ var oldState = _a.oldState, elements = _a.elements, onTransitionsEnd = _a.onTransitionsEnd, newElementInitialState = _a.newElementInitialState;
27
+ // First, apply the transform that will make the elements "look like" in the start position
28
+ for (var id in elements) {
29
+ var element = elements[id];
30
+ var oldRect = oldState[id];
31
+ if (element) {
32
+ var newRect = element.getBoundingClientRect();
33
+ var noOpTransform = { scale: 1, x: 0, y: 0 };
34
+ // Calculate initial position.
35
+ // If the element didn't exist previously, use the newElementInitialState function if provided.
36
+ // If not, default to no transitions (scale: 1, y: 0)
37
+ var calculatedInverseTransform = oldRect
38
+ ? {
39
+ scale: oldRect.width / newRect.width,
40
+ x: (oldRect.left + oldRect.right) / 2 - (newRect.left + newRect.right) / 2,
41
+ y: (oldRect.top + oldRect.bottom) / 2 - (newRect.top + newRect.bottom) / 2
42
+ }
43
+ : newElementInitialState
44
+ ? newElementInitialState(newRect)
45
+ : {};
46
+ var inverseTransform = __assign(__assign({}, noOpTransform), calculatedInverseTransform);
47
+ // Apply this initial change, without animating
48
+ element.style.transitionProperty = 'none';
49
+ element.style.transform = "scale(".concat(inverseTransform.scale, ") translate(").concat(inverseTransform.x, "px, ").concat(inverseTransform.y, "px)");
50
+ if (!oldRect) {
51
+ // If the element didn't exist, then fade it in
52
+ // (besides any other possibly defined transitions based on `newElementInitialState`)
53
+ element.style.opacity = '0';
54
+ }
55
+ }
56
+ }
57
+ // Animate from the initial state to the end state
58
+ requestAnimationFrame(function () {
59
+ var ongoingAnimations = new Set();
60
+ var _loop_1 = function (id) {
61
+ var element = elements[id];
62
+ if (element) {
63
+ var oldRect = oldState[id];
64
+ if (oldRect) {
65
+ // Animate from here on
66
+ element.style.transitionProperty = "transform";
67
+ // Unset inline CSS transforms so that the final state is applied
68
+ element.style.transform = '';
69
+ }
70
+ else {
71
+ // If the element didn't exist previously, fade in as well
72
+ element.style.transitionProperty = "transform, opacity";
73
+ element.style.transform = '';
74
+ element.style.opacity = '';
75
+ }
76
+ var onTransitionStart_1 = function (event) {
77
+ if (event.target === element) {
78
+ ongoingAnimations.add(id);
79
+ element.removeEventListener('transitionstart', onTransitionStart_1);
80
+ }
81
+ };
82
+ var onTransitionEnd_1 = function (event) {
83
+ if (event.target === element) {
84
+ // Clean up remaining inline styles
85
+ element.style.transitionProperty = '';
86
+ element.removeEventListener('transitionstart', onTransitionEnd_1);
87
+ if (onTransitionsEnd) {
88
+ ongoingAnimations["delete"](id);
89
+ if (ongoingAnimations.size === 0) {
90
+ onTransitionsEnd();
91
+ }
92
+ }
93
+ }
94
+ };
95
+ element.addEventListener('transitionstart', onTransitionStart_1);
96
+ element.addEventListener('transitionend', onTransitionEnd_1);
97
+ }
98
+ };
99
+ for (var id in elements) {
100
+ _loop_1(id);
101
+ }
102
+ });
103
+ }
104
+ //# sourceMappingURL=animate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animate.js","sourceRoot":"","sources":["../../../src/internal/animate.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,MAAM,UAAU,WAAW,CAAC,QAAqD;IAC/E,IAAM,KAAK,GAA4B,EAAE,CAAC;IAC1C,KAAK,IAAM,EAAE,IAAI,QAAQ,EAAE;QACzB,IAAM,OAAO,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAI,OAAO,EAAE;YACX,KAAK,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;SAC7C;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,OAAO,CAAC,EAUvB;QATC,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,gBAAgB,sBAAA,EAChB,sBAAsB,4BAAA;IAOtB,2FAA2F;IAC3F,KAAK,IAAM,EAAE,IAAI,QAAQ,EAAE;QACzB,IAAM,OAAO,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAM,OAAO,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC7B,IAAI,OAAO,EAAE;YACX,IAAM,OAAO,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;YAChD,IAAM,aAAa,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;YAC/C,8BAA8B;YAC9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H,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport function getDOMRects(elements: Record<string | number, HTMLElement | null>) {\n const rects: Record<string, DOMRect> = {};\n for (const id in elements) {\n const element = elements[id];\n if (element) {\n rects[id] = element.getBoundingClientRect();\n }\n }\n return rects;\n}\n\n/*\n Animate DOM elements based on the FLIP technique\n - https://aerotwist.com/blog/flip-your-animations/\n - https://css-tricks.com/animating-layouts-with-the-flip-technique/\n\n This can be useful when the initial dimensions or position of the element is not known,\n so the initial offset or scaling needs to be retrieved via JS.\n\n Caveat: this currently does not support elements having CSS transforms in the end state.\n These would be overridden in the animation instead of combined.\n */\nexport function animate({\n oldState,\n elements,\n onTransitionsEnd,\n newElementInitialState,\n}: {\n elements: Record<string | number, HTMLElement | null>;\n oldState: Record<string | number, DOMRect>;\n onTransitionsEnd?: () => void;\n newElementInitialState?: (newRect: DOMRect) => { scale?: number; y?: number };\n}) {\n // First, apply the transform that will make the elements \"look like\" in the start position\n for (const id in elements) {\n const element = elements[id];\n const oldRect = oldState[id];\n if (element) {\n const newRect = element.getBoundingClientRect();\n const noOpTransform = { scale: 1, x: 0, y: 0 };\n // Calculate initial position.\n // If the element didn't exist previously, use the newElementInitialState function if provided.\n // If not, default to no transitions (scale: 1, y: 0)\n const calculatedInverseTransform = oldRect\n ? {\n scale: oldRect.width / newRect.width,\n x: (oldRect.left + oldRect.right) / 2 - (newRect.left + newRect.right) / 2,\n y: (oldRect.top + oldRect.bottom) / 2 - (newRect.top + newRect.bottom) / 2,\n }\n : newElementInitialState\n ? newElementInitialState(newRect)\n : {};\n const inverseTransform = { ...noOpTransform, ...calculatedInverseTransform };\n // Apply this initial change, without animating\n element.style.transitionProperty = 'none';\n element.style.transform = `scale(${inverseTransform.scale}) translate(${inverseTransform.x}px, ${inverseTransform.y}px)`;\n if (!oldRect) {\n // If the element didn't exist, then fade it in\n // (besides any other possibly defined transitions based on `newElementInitialState`)\n element.style.opacity = '0';\n }\n }\n }\n\n // Animate from the initial state to the end state\n requestAnimationFrame(() => {\n const ongoingAnimations = new Set();\n for (const id in elements) {\n const element = elements[id];\n if (element) {\n const oldRect = oldState[id];\n if (oldRect) {\n // Animate from here on\n element.style.transitionProperty = `transform`;\n // Unset inline CSS transforms so that the final state is applied\n element.style.transform = '';\n } else {\n // If the element didn't exist previously, fade in as well\n element.style.transitionProperty = `transform, opacity`;\n element.style.transform = '';\n element.style.opacity = '';\n }\n const onTransitionStart = (event: TransitionEvent) => {\n if (event.target === element) {\n ongoingAnimations.add(id);\n element.removeEventListener('transitionstart', onTransitionStart);\n }\n };\n const onTransitionEnd = (event: TransitionEvent) => {\n if (event.target === element) {\n // Clean up remaining inline styles\n element.style.transitionProperty = '';\n element.removeEventListener('transitionstart', onTransitionEnd);\n if (onTransitionsEnd) {\n ongoingAnimations.delete(id);\n if (ongoingAnimations.size === 0) {\n onTransitionsEnd();\n }\n }\n }\n };\n element.addEventListener('transitionstart', onTransitionStart);\n element.addEventListener('transitionend', onTransitionEnd);\n }\n }\n });\n}\n"]}
@@ -351,6 +351,8 @@
351
351
  --color-text-status-success-0fzhv9:#037f0c;
352
352
  --color-text-status-warning-27nlyh:#d91515;
353
353
  --color-text-top-navigation-title-oypxe3:#000716;
354
+ --color-board-placeholder-active-vaxzdf:#e9ebed;
355
+ --color-board-placeholder-hover-v1s7kq:#d3e7f9;
354
356
  --font-body-m-line-height-i7xxvv:22px;
355
357
  --font-body-m-size-sregvd:14px;
356
358
  --font-body-s-letter-spacing-cy0oxj:0.005em;
@@ -565,8 +567,10 @@
565
567
  --space-xxxl-bo9z7f:40px;
566
568
  --shadow-container-7nblnj:0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12);
567
569
  --shadow-container-stacked-lumzae:-1px 1px 1px 0px #e9ebed, 1px 1px 1px 0px #e9ebed, 0px 9px 8px -7px rgb(0 7 22 / 12%), 8px 0px 8px -7px rgb(0 7 22 / 12%), -8px 0px 8px -7px rgb(0 7 22 / 12%);
570
+ --shadow-container-active-l4kuxc:0px 1px 1px 1px #e9ebed, 0px 6px 36px #0007161a;
568
571
  --shadow-dropdown-99h0gz:0px 4px 20px 1px rgba(0, 7, 22, 0.10);
569
572
  --shadow-dropup-11esug:0px 4px 20px 1px rgba(0, 7, 22, 0.10);
573
+ --shadow-flash-collapsed-d4s4kz:0px 4px 4px rgba(0, 0, 0, 0.25);
570
574
  --shadow-flash-sticky-xplpiu:0px 6px 36px rgba(0, 7, 22, 0.10);
571
575
  --shadow-modal-3qhlqt:0px 4px 20px 1px rgba(0, 7, 22, 0.10);
572
576
  --shadow-panel-gp3bf2:0px 1px 1px 1px #e9ebed, 0px 6px 36px rgba(0, 7, 22, 0.10);
@@ -900,8 +904,11 @@
900
904
  --color-text-status-success-0fzhv9:#29ad32;
901
905
  --color-text-status-warning-27nlyh:#eb6f6f;
902
906
  --color-text-top-navigation-title-oypxe3:#fbfbfb;
907
+ --color-board-placeholder-active-vaxzdf:#5f6b7a;
908
+ --color-board-placeholder-hover-v1s7kq:#0972d3;
903
909
  --shadow-container-7nblnj:0px 0px 1px 1px #192534, 0px 1px 8px 2px rgba(0, 7, 22, 1);
904
910
  --shadow-container-stacked-lumzae:-1px 1px 1px 0px #192534, 1px 1px 1px 0px #192534, 0px 9px 8px -7px rgb(0 7 22), 8px 0px 8px -7px rgb(0 7 22), -8px 0px 8px -7px rgb(0 7 22);
911
+ --shadow-container-active-l4kuxc:0px 1px 1px 1px #192534, 0px 6px 36px #000716;
905
912
  --shadow-dropdown-99h0gz:0px 4px 20px 1px rgba(0, 7, 22, 1);
906
913
  --shadow-dropup-11esug:0px 4px 20px 1px rgba(0, 7, 22, 1);
907
914
  --shadow-flash-sticky-xplpiu:0px 6px 36px rgba(0, 7, 22, 1);
@@ -1137,6 +1144,8 @@
1137
1144
  --color-text-status-success-0fzhv9:#29ad32;
1138
1145
  --color-text-status-warning-27nlyh:#eb6f6f;
1139
1146
  --color-text-top-navigation-title-oypxe3:#fbfbfb;
1147
+ --color-board-placeholder-active-vaxzdf:#5f6b7a;
1148
+ --color-board-placeholder-hover-v1s7kq:#0972d3;
1140
1149
  }
1141
1150
 
1142
1151
  .awsui-context-content-header:not(#\9) {
@@ -1308,8 +1317,11 @@
1308
1317
  --color-text-status-success-0fzhv9:#29ad32;
1309
1318
  --color-text-status-warning-27nlyh:#eb6f6f;
1310
1319
  --color-text-top-navigation-title-oypxe3:#fbfbfb;
1320
+ --color-board-placeholder-active-vaxzdf:#5f6b7a;
1321
+ --color-board-placeholder-hover-v1s7kq:#0972d3;
1311
1322
  --shadow-container-7nblnj:none;
1312
1323
  --shadow-container-stacked-lumzae:-1px 1px 1px 0px #192534, 1px 1px 1px 0px #192534, 0px 9px 8px -7px rgb(0 7 22), 8px 0px 8px -7px rgb(0 7 22), -8px 0px 8px -7px rgb(0 7 22);
1324
+ --shadow-container-active-l4kuxc:0px 1px 1px 1px #192534, 0px 6px 36px #000716;
1313
1325
  --shadow-dropdown-99h0gz:0px 4px 20px 1px rgba(0, 7, 22, 1);
1314
1326
  --shadow-dropup-11esug:0px 4px 20px 1px rgba(0, 7, 22, 1);
1315
1327
  --shadow-modal-3qhlqt:0px 4px 20px 1px rgba(0, 7, 22, 1);
@@ -1,5 +1,5 @@
1
1
 
2
- export var PACKAGE_VERSION = '3.0.0 (ed68979)';
2
+ export var PACKAGE_VERSION = '3.0.0 (02caf0a)';
3
3
  export var THEME = 'open-source-visual-refresh';
4
4
  export var ALWAYS_VISUAL_REFRESH = true;
5
5
 
@@ -230,6 +230,8 @@ export const colorTextStatusInactive: string;
230
230
  export const colorTextStatusInfo: string;
231
231
  export const colorTextStatusSuccess: string;
232
232
  export const colorTextStatusWarning: string;
233
+ export const colorBoardPlaceholderActive: string;
234
+ export const colorBoardPlaceholderHover: string;
233
235
  export const fontFamilyBase: string;
234
236
  export const fontFamilyMonospace: string;
235
237
  export const borderRadiusAlert: string;
@@ -277,4 +279,5 @@ export const spaceStaticM: string;
277
279
  export const spaceStaticL: string;
278
280
  export const spaceStaticXl: string;
279
281
  export const spaceStaticXxl: string;
280
- export const spaceStaticXxxl: string;
282
+ export const spaceStaticXxxl: string;
283
+ export const shadowContainerActive: string;
@@ -230,6 +230,8 @@ export var colorTextStatusInactive = "var(--color-text-status-inactive-5ei55p, #
230
230
  export var colorTextStatusInfo = "var(--color-text-status-info-utupcz, #0972d3)";
231
231
  export var colorTextStatusSuccess = "var(--color-text-status-success-0fzhv9, #037f0c)";
232
232
  export var colorTextStatusWarning = "var(--color-text-status-warning-27nlyh, #d91515)";
233
+ export var colorBoardPlaceholderActive = "var(--color-board-placeholder-active-vaxzdf, #e9ebed)";
234
+ export var colorBoardPlaceholderHover = "var(--color-board-placeholder-hover-v1s7kq, #d3e7f9)";
233
235
  export var fontFamilyBase = "var(--font-family-base-qnistn, 'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif)";
234
236
  export var fontFamilyMonospace = "var(--font-family-monospace-iz223z, Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace)";
235
237
  export var borderRadiusAlert = "var(--border-radius-alert-n0skwy, 12px)";
@@ -277,4 +279,5 @@ export var spaceStaticM = "var(--space-static-m-pc0uz7, 16px)";
277
279
  export var spaceStaticL = "var(--space-static-l-t7yjdj, 20px)";
278
280
  export var spaceStaticXl = "var(--space-static-xl-g2lpmk, 24px)";
279
281
  export var spaceStaticXxl = "var(--space-static-xxl-m6qwv3, 32px)";
280
- export var spaceStaticXxxl = "var(--space-static-xxxl-66ty0h, 40px)";
282
+ export var spaceStaticXxxl = "var(--space-static-xxxl-66ty0h, 40px)";
283
+ export var shadowContainerActive = "var(--shadow-container-active-l4kuxc, 0px 1px 1px 1px #e9ebed, 0px 6px 36px #0007161a)";