@cloudscape-design/components-themeable 3.0.1022 → 3.0.1024

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 (165) hide show
  1. package/lib/internal/manifest.json +1 -1
  2. package/lib/internal/scss/collection-preferences/content-display/content-display-option.scss +2 -14
  3. package/lib/internal/scss/flashbar/collapsible.scss +20 -8
  4. package/lib/internal/scss/internal/components/drag-handle/styles.scss +2 -6
  5. package/lib/internal/scss/internal/components/sortable-area/styles.scss +1 -0
  6. package/lib/internal/scss/internal/components/structured-item/styles.scss +46 -0
  7. package/lib/internal/scss/internal/components/structured-item/test-classes/styles.scss +11 -0
  8. package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +1 -1
  9. package/lib/internal/scss/list/styles.scss +39 -0
  10. package/lib/internal/scss/list/test-classes/styles.scss +9 -0
  11. package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts +0 -2
  12. package/lib/internal/template/collection-preferences/content-display/content-display-option.d.ts.map +1 -1
  13. package/lib/internal/template/collection-preferences/content-display/content-display-option.js +1 -4
  14. package/lib/internal/template/collection-preferences/content-display/content-display-option.js.map +1 -1
  15. package/lib/internal/template/collection-preferences/content-display/index.d.ts.map +1 -1
  16. package/lib/internal/template/collection-preferences/content-display/index.js +17 -24
  17. package/lib/internal/template/collection-preferences/content-display/index.js.map +1 -1
  18. package/lib/internal/template/collection-preferences/interfaces.d.ts +2 -7
  19. package/lib/internal/template/collection-preferences/interfaces.d.ts.map +1 -1
  20. package/lib/internal/template/collection-preferences/interfaces.js.map +1 -1
  21. package/lib/internal/template/collection-preferences/styles.css.js +36 -38
  22. package/lib/internal/template/collection-preferences/styles.scoped.css +39 -51
  23. package/lib/internal/template/collection-preferences/styles.selectors.js +36 -38
  24. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts +0 -8
  25. package/lib/internal/template/flashbar/collapsible-flashbar.d.ts.map +1 -1
  26. package/lib/internal/template/flashbar/collapsible-flashbar.js +3 -50
  27. package/lib/internal/template/flashbar/collapsible-flashbar.js.map +1 -1
  28. package/lib/internal/template/flashbar/flash.d.ts.map +1 -1
  29. package/lib/internal/template/flashbar/flash.js +5 -27
  30. package/lib/internal/template/flashbar/flash.js.map +1 -1
  31. package/lib/internal/template/flashbar/interfaces.d.ts +51 -9
  32. package/lib/internal/template/flashbar/interfaces.d.ts.map +1 -1
  33. package/lib/internal/template/flashbar/interfaces.js.map +1 -1
  34. package/lib/internal/template/flashbar/style.d.ts +36 -0
  35. package/lib/internal/template/flashbar/style.d.ts.map +1 -0
  36. package/lib/internal/template/flashbar/style.js +105 -0
  37. package/lib/internal/template/flashbar/style.js.map +1 -0
  38. package/lib/internal/template/flashbar/styles.css.js +50 -50
  39. package/lib/internal/template/flashbar/styles.scoped.css +153 -152
  40. package/lib/internal/template/flashbar/styles.selectors.js +50 -50
  41. package/lib/internal/template/i18n/messages/all.all.js +1 -1
  42. package/lib/internal/template/i18n/messages/all.all.json +1 -1
  43. package/lib/internal/template/i18n/messages/all.ar.js +1 -1
  44. package/lib/internal/template/i18n/messages/all.ar.json +1 -1
  45. package/lib/internal/template/i18n/messages/all.de.js +1 -1
  46. package/lib/internal/template/i18n/messages/all.de.json +1 -1
  47. package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
  48. package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
  49. package/lib/internal/template/i18n/messages/all.en.js +1 -1
  50. package/lib/internal/template/i18n/messages/all.en.json +1 -1
  51. package/lib/internal/template/i18n/messages/all.es.js +1 -1
  52. package/lib/internal/template/i18n/messages/all.es.json +1 -1
  53. package/lib/internal/template/i18n/messages/all.fr.js +1 -1
  54. package/lib/internal/template/i18n/messages/all.fr.json +1 -1
  55. package/lib/internal/template/i18n/messages/all.id.js +1 -1
  56. package/lib/internal/template/i18n/messages/all.id.json +1 -1
  57. package/lib/internal/template/i18n/messages/all.it.js +1 -1
  58. package/lib/internal/template/i18n/messages/all.it.json +1 -1
  59. package/lib/internal/template/i18n/messages/all.ja.js +1 -1
  60. package/lib/internal/template/i18n/messages/all.ja.json +1 -1
  61. package/lib/internal/template/i18n/messages/all.ko.js +1 -1
  62. package/lib/internal/template/i18n/messages/all.ko.json +1 -1
  63. package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
  64. package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
  65. package/lib/internal/template/i18n/messages/all.th.js +1 -1
  66. package/lib/internal/template/i18n/messages/all.th.json +1 -1
  67. package/lib/internal/template/i18n/messages/all.tr.js +1 -1
  68. package/lib/internal/template/i18n/messages/all.tr.json +1 -1
  69. package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
  70. package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
  71. package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
  72. package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
  73. package/lib/internal/template/i18n/messages-types.d.ts +20 -0
  74. package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
  75. package/lib/internal/template/i18n/messages-types.js.map +1 -1
  76. package/lib/internal/template/index.d.ts +1 -0
  77. package/lib/internal/template/index.d.ts.map +1 -1
  78. package/lib/internal/template/index.js +1 -0
  79. package/lib/internal/template/index.js.map +1 -1
  80. package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
  81. package/lib/internal/template/internal/components/drag-handle/button.d.ts.map +1 -1
  82. package/lib/internal/template/internal/components/drag-handle/button.js +2 -2
  83. package/lib/internal/template/internal/components/drag-handle/button.js.map +1 -1
  84. package/lib/internal/template/internal/components/drag-handle/index.d.ts.map +1 -1
  85. package/lib/internal/template/internal/components/drag-handle/index.js +2 -2
  86. package/lib/internal/template/internal/components/drag-handle/index.js.map +1 -1
  87. package/lib/internal/template/internal/components/drag-handle/interfaces.d.ts +1 -0
  88. package/lib/internal/template/internal/components/drag-handle/interfaces.d.ts.map +1 -1
  89. package/lib/internal/template/internal/components/drag-handle/interfaces.js.map +1 -1
  90. package/lib/internal/template/internal/components/drag-handle/styles.css.js +13 -12
  91. package/lib/internal/template/internal/components/drag-handle/styles.scoped.css +18 -21
  92. package/lib/internal/template/internal/components/drag-handle/styles.selectors.js +13 -12
  93. package/lib/internal/template/internal/components/sortable-area/index.d.ts.map +1 -1
  94. package/lib/internal/template/internal/components/sortable-area/index.js +5 -1
  95. package/lib/internal/template/internal/components/sortable-area/index.js.map +1 -1
  96. package/lib/internal/template/internal/components/sortable-area/interfaces.d.ts +1 -0
  97. package/lib/internal/template/internal/components/sortable-area/interfaces.d.ts.map +1 -1
  98. package/lib/internal/template/internal/components/sortable-area/interfaces.js.map +1 -1
  99. package/lib/internal/template/internal/components/sortable-area/styles.css.js +8 -8
  100. package/lib/internal/template/internal/components/sortable-area/styles.scoped.css +18 -17
  101. package/lib/internal/template/internal/components/sortable-area/styles.selectors.js +8 -8
  102. package/lib/internal/template/internal/components/sortable-area/use-live-announcements.d.ts +5 -0
  103. package/lib/internal/template/internal/components/sortable-area/use-live-announcements.d.ts.map +1 -1
  104. package/lib/internal/template/internal/components/sortable-area/use-live-announcements.js +8 -0
  105. package/lib/internal/template/internal/components/sortable-area/use-live-announcements.js.map +1 -1
  106. package/lib/internal/template/internal/components/structured-item/index.d.ts +5 -0
  107. package/lib/internal/template/internal/components/structured-item/index.d.ts.map +1 -0
  108. package/lib/internal/template/internal/components/structured-item/index.js +16 -0
  109. package/lib/internal/template/internal/components/structured-item/index.js.map +1 -0
  110. package/lib/internal/template/internal/components/structured-item/interfaces.d.ts +9 -0
  111. package/lib/internal/template/internal/components/structured-item/interfaces.d.ts.map +1 -0
  112. package/lib/internal/template/internal/components/structured-item/interfaces.js +4 -0
  113. package/lib/internal/template/internal/components/structured-item/interfaces.js.map +1 -0
  114. package/lib/internal/template/internal/components/structured-item/styles.css.js +11 -0
  115. package/lib/internal/template/internal/components/structured-item/styles.scoped.css +212 -0
  116. package/lib/internal/template/internal/components/structured-item/styles.selectors.js +12 -0
  117. package/lib/internal/template/internal/components/structured-item/test-classes/styles.css.js +9 -0
  118. package/lib/internal/template/internal/components/structured-item/test-classes/styles.scoped.css +10 -0
  119. package/lib/internal/template/internal/components/structured-item/test-classes/styles.selectors.js +10 -0
  120. package/lib/internal/template/internal/environment.js +2 -2
  121. package/lib/internal/template/internal/environment.json +2 -2
  122. package/lib/internal/template/list/index.d.ts +5 -0
  123. package/lib/internal/template/list/index.d.ts.map +1 -0
  124. package/lib/internal/template/list/index.js +12 -0
  125. package/lib/internal/template/list/index.js.map +1 -0
  126. package/lib/internal/template/list/interfaces.d.ts +83 -0
  127. package/lib/internal/template/list/interfaces.d.ts.map +1 -0
  128. package/lib/internal/template/list/interfaces.js +4 -0
  129. package/lib/internal/template/list/interfaces.js.map +1 -0
  130. package/lib/internal/template/list/internal.d.ts +7 -0
  131. package/lib/internal/template/list/internal.d.ts.map +1 -0
  132. package/lib/internal/template/list/internal.js +62 -0
  133. package/lib/internal/template/list/internal.js.map +1 -0
  134. package/lib/internal/template/list/styles.css.js +10 -0
  135. package/lib/internal/template/list/styles.scoped.css +202 -0
  136. package/lib/internal/template/list/styles.selectors.js +11 -0
  137. package/lib/internal/template/list/test-classes/styles.css.js +7 -0
  138. package/lib/internal/template/list/test-classes/styles.scoped.css +8 -0
  139. package/lib/internal/template/list/test-classes/styles.selectors.js +8 -0
  140. package/lib/internal/template/package.json +1 -0
  141. package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.d.ts +2 -0
  142. package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js +17 -6
  143. package/lib/internal/template/test-utils/dom/collection-preferences/content-display-preference.js.map +1 -1
  144. package/lib/internal/template/test-utils/dom/index.d.ts +20 -0
  145. package/lib/internal/template/test-utils/dom/index.js +13 -2
  146. package/lib/internal/template/test-utils/dom/index.js.map +1 -1
  147. package/lib/internal/template/test-utils/dom/internal/structured-item.d.ts +8 -0
  148. package/lib/internal/template/test-utils/dom/internal/structured-item.js +23 -0
  149. package/lib/internal/template/test-utils/dom/internal/structured-item.js.map +1 -0
  150. package/lib/internal/template/test-utils/dom/list/index.d.ts +23 -0
  151. package/lib/internal/template/test-utils/dom/list/index.js +41 -0
  152. package/lib/internal/template/test-utils/dom/list/index.js.map +1 -0
  153. package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.d.ts +2 -0
  154. package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js +13 -6
  155. package/lib/internal/template/test-utils/selectors/collection-preferences/content-display-preference.js.map +1 -1
  156. package/lib/internal/template/test-utils/selectors/index.d.ts +18 -0
  157. package/lib/internal/template/test-utils/selectors/index.js +13 -2
  158. package/lib/internal/template/test-utils/selectors/index.js.map +1 -1
  159. package/lib/internal/template/test-utils/selectors/internal/structured-item.d.ts +8 -0
  160. package/lib/internal/template/test-utils/selectors/internal/structured-item.js +23 -0
  161. package/lib/internal/template/test-utils/selectors/internal/structured-item.js.map +1 -0
  162. package/lib/internal/template/test-utils/selectors/list/index.d.ts +23 -0
  163. package/lib/internal/template/test-utils/selectors/list/index.js +41 -0
  164. package/lib/internal/template/test-utils/selectors/list/index.js.map +1 -0
  165. package/package.json +1 -1
@@ -0,0 +1,105 @@
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import customCssProps from '../internal/generated/custom-css-properties';
4
+ export function getCollapsibleFlashStyles(style, type = 'info') {
5
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
6
+ const background = ((_b = (_a = style === null || style === void 0 ? void 0 : style.item) === null || _a === void 0 ? void 0 : _a.root) === null || _b === void 0 ? void 0 : _b.background) &&
7
+ (type === 'in-progress'
8
+ ? (_d = (_c = style === null || style === void 0 ? void 0 : style.item) === null || _c === void 0 ? void 0 : _c.root) === null || _d === void 0 ? void 0 : _d.background.inProgress
9
+ : (_f = (_e = style === null || style === void 0 ? void 0 : style.item) === null || _e === void 0 ? void 0 : _e.root) === null || _f === void 0 ? void 0 : _f.background[type]);
10
+ const borderColor = ((_h = (_g = style === null || style === void 0 ? void 0 : style.item) === null || _g === void 0 ? void 0 : _g.root) === null || _h === void 0 ? void 0 : _h.borderColor) &&
11
+ (type === 'in-progress'
12
+ ? (_k = (_j = style === null || style === void 0 ? void 0 : style.item) === null || _j === void 0 ? void 0 : _j.root) === null || _k === void 0 ? void 0 : _k.borderColor.inProgress
13
+ : (_m = (_l = style === null || style === void 0 ? void 0 : style.item) === null || _l === void 0 ? void 0 : _l.root) === null || _m === void 0 ? void 0 : _m.borderColor[type]);
14
+ const borderRadius = (_p = (_o = style === null || style === void 0 ? void 0 : style.item) === null || _o === void 0 ? void 0 : _o.root) === null || _p === void 0 ? void 0 : _p.borderRadius;
15
+ const borderWidth = (_r = (_q = style === null || style === void 0 ? void 0 : style.item) === null || _q === void 0 ? void 0 : _q.root) === null || _r === void 0 ? void 0 : _r.borderWidth;
16
+ const borderStyle = ((_t = (_s = style === null || style === void 0 ? void 0 : style.item) === null || _s === void 0 ? void 0 : _s.root) === null || _t === void 0 ? void 0 : _t.borderWidth) && 'solid';
17
+ const color = ((_v = (_u = style === null || style === void 0 ? void 0 : style.item) === null || _u === void 0 ? void 0 : _u.root) === null || _v === void 0 ? void 0 : _v.color) &&
18
+ (type === 'in-progress'
19
+ ? (_x = (_w = style === null || style === void 0 ? void 0 : style.item) === null || _w === void 0 ? void 0 : _w.root) === null || _x === void 0 ? void 0 : _x.color.inProgress
20
+ : (_z = (_y = style === null || style === void 0 ? void 0 : style.item) === null || _y === void 0 ? void 0 : _y.root) === null || _z === void 0 ? void 0 : _z.color[type]);
21
+ return {
22
+ background,
23
+ borderColor,
24
+ borderRadius,
25
+ borderStyle,
26
+ borderWidth,
27
+ color,
28
+ };
29
+ }
30
+ export function getFlashStyles(style, type = 'info') {
31
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
32
+ const focusRingBorderColor = ((_c = (_b = (_a = style === null || style === void 0 ? void 0 : style.item) === null || _a === void 0 ? void 0 : _a.root) === null || _b === void 0 ? void 0 : _b.focusRing) === null || _c === void 0 ? void 0 : _c.borderColor) &&
33
+ (type === 'in-progress'
34
+ ? style.item.root.focusRing.borderColor.inProgress
35
+ : style.item.root.focusRing.borderColor[type]);
36
+ return Object.assign(Object.assign(Object.assign({}, (style && getCollapsibleFlashStyles(style, type))), (((_e = (_d = style === null || style === void 0 ? void 0 : style.item) === null || _d === void 0 ? void 0 : _d.root) === null || _e === void 0 ? void 0 : _e.focusRing) && {
37
+ [customCssProps.styleFocusRingBorderColor]: focusRingBorderColor,
38
+ [customCssProps.styleFocusRingBorderRadius]: (_f = style.item.root.focusRing) === null || _f === void 0 ? void 0 : _f.borderRadius,
39
+ [customCssProps.styleFocusRingBorderWidth]: (_g = style.item.root.focusRing) === null || _g === void 0 ? void 0 : _g.borderWidth,
40
+ })), (((_k = (_j = (_h = style === null || style === void 0 ? void 0 : style.item) === null || _h === void 0 ? void 0 : _h.root) === null || _j === void 0 ? void 0 : _j.focusRing) === null || _k === void 0 ? void 0 : _k.borderRadius) && {
41
+ [customCssProps.styleFocusRingBorderRadius]: style.item.root.focusRing.borderRadius,
42
+ }));
43
+ }
44
+ export function getDismissButtonStyles(style, type = 'info') {
45
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
46
+ const activeColor = ((_c = (_b = (_a = style === null || style === void 0 ? void 0 : style.item) === null || _a === void 0 ? void 0 : _a.dismissButton) === null || _b === void 0 ? void 0 : _b.color) === null || _c === void 0 ? void 0 : _c.active) &&
47
+ (type === 'in-progress'
48
+ ? style.item.dismissButton.color.active.inProgress
49
+ : style.item.dismissButton.color.active[type]);
50
+ const defaultColor = ((_f = (_e = (_d = style === null || style === void 0 ? void 0 : style.item) === null || _d === void 0 ? void 0 : _d.dismissButton) === null || _e === void 0 ? void 0 : _e.color) === null || _f === void 0 ? void 0 : _f.default) &&
51
+ (type === 'in-progress'
52
+ ? style.item.dismissButton.color.default.inProgress
53
+ : style.item.dismissButton.color.default[type]);
54
+ const hoverColor = ((_j = (_h = (_g = style === null || style === void 0 ? void 0 : style.item) === null || _g === void 0 ? void 0 : _g.dismissButton) === null || _h === void 0 ? void 0 : _h.color) === null || _j === void 0 ? void 0 : _j.hover) &&
55
+ (type === 'in-progress'
56
+ ? style.item.dismissButton.color.hover.inProgress
57
+ : style.item.dismissButton.color.hover[type]);
58
+ const focusRingBorderColor = ((_m = (_l = (_k = style === null || style === void 0 ? void 0 : style.item) === null || _k === void 0 ? void 0 : _k.dismissButton) === null || _l === void 0 ? void 0 : _l.focusRing) === null || _m === void 0 ? void 0 : _m.borderColor) &&
59
+ (type === 'in-progress'
60
+ ? style.item.dismissButton.focusRing.borderColor.inProgress
61
+ : style.item.dismissButton.focusRing.borderColor[type]);
62
+ return {
63
+ root: {
64
+ color: {
65
+ active: activeColor,
66
+ default: defaultColor,
67
+ hover: hoverColor,
68
+ },
69
+ focusRing: {
70
+ borderColor: focusRingBorderColor,
71
+ borderRadius: (_q = (_p = (_o = style === null || style === void 0 ? void 0 : style.item) === null || _o === void 0 ? void 0 : _o.dismissButton) === null || _p === void 0 ? void 0 : _p.focusRing) === null || _q === void 0 ? void 0 : _q.borderRadius,
72
+ borderWidth: (_t = (_s = (_r = style === null || style === void 0 ? void 0 : style.item) === null || _r === void 0 ? void 0 : _r.dismissButton) === null || _s === void 0 ? void 0 : _s.focusRing) === null || _t === void 0 ? void 0 : _t.borderWidth,
73
+ },
74
+ },
75
+ };
76
+ }
77
+ export function getNotificationBarStyles(style) {
78
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20;
79
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ borderRadius: (_b = (_a = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _a === void 0 ? void 0 : _a.root) === null || _b === void 0 ? void 0 : _b.borderRadius, borderWidth: (_d = (_c = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _c === void 0 ? void 0 : _c.root) === null || _d === void 0 ? void 0 : _d.borderWidth }, (((_g = (_f = (_e = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _e === void 0 ? void 0 : _e.root) === null || _f === void 0 ? void 0 : _f.background) === null || _g === void 0 ? void 0 : _g.active) && {
80
+ [customCssProps.styleBackgroundActive]: style.notificationBar.root.background.active,
81
+ })), (((_k = (_j = (_h = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _h === void 0 ? void 0 : _h.root) === null || _j === void 0 ? void 0 : _j.background) === null || _k === void 0 ? void 0 : _k.default) && {
82
+ [customCssProps.styleBackgroundDefault]: style.notificationBar.root.background.default,
83
+ })), (((_o = (_m = (_l = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _l === void 0 ? void 0 : _l.root) === null || _m === void 0 ? void 0 : _m.background) === null || _o === void 0 ? void 0 : _o.hover) && {
84
+ [customCssProps.styleBackgroundHover]: style.notificationBar.root.background.hover,
85
+ })), (((_r = (_q = (_p = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _p === void 0 ? void 0 : _p.root) === null || _q === void 0 ? void 0 : _q.borderColor) === null || _r === void 0 ? void 0 : _r.active) && {
86
+ [customCssProps.styleBorderColorActive]: style.notificationBar.root.borderColor.active,
87
+ })), (((_u = (_t = (_s = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _s === void 0 ? void 0 : _s.root) === null || _t === void 0 ? void 0 : _t.borderColor) === null || _u === void 0 ? void 0 : _u.default) && {
88
+ [customCssProps.styleBorderColorDefault]: style.notificationBar.root.borderColor.default,
89
+ })), (((_x = (_w = (_v = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _v === void 0 ? void 0 : _v.root) === null || _w === void 0 ? void 0 : _w.borderColor) === null || _x === void 0 ? void 0 : _x.hover) && {
90
+ [customCssProps.styleBorderColorHover]: style.notificationBar.root.borderColor.hover,
91
+ })), (((_0 = (_z = (_y = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _y === void 0 ? void 0 : _y.root) === null || _z === void 0 ? void 0 : _z.color) === null || _0 === void 0 ? void 0 : _0.active) && {
92
+ [customCssProps.styleColorActive]: style.notificationBar.root.color.active,
93
+ })), (((_3 = (_2 = (_1 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _1 === void 0 ? void 0 : _1.root) === null || _2 === void 0 ? void 0 : _2.color) === null || _3 === void 0 ? void 0 : _3.default) && {
94
+ [customCssProps.styleColorDefault]: style.notificationBar.root.color.default,
95
+ })), (((_6 = (_5 = (_4 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _4 === void 0 ? void 0 : _4.root) === null || _5 === void 0 ? void 0 : _5.color) === null || _6 === void 0 ? void 0 : _6.hover) && {
96
+ [customCssProps.styleColorHover]: style.notificationBar.root.color.hover,
97
+ })), (((_8 = (_7 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _7 === void 0 ? void 0 : _7.expandButton) === null || _8 === void 0 ? void 0 : _8.focusRing) && {
98
+ [customCssProps.styleFocusRingBorderColor]: (_11 = (_10 = (_9 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _9 === void 0 ? void 0 : _9.expandButton) === null || _10 === void 0 ? void 0 : _10.focusRing) === null || _11 === void 0 ? void 0 : _11.borderColor,
99
+ [customCssProps.styleFocusRingBorderRadius]: (_14 = (_13 = (_12 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _12 === void 0 ? void 0 : _12.expandButton) === null || _13 === void 0 ? void 0 : _13.focusRing) === null || _14 === void 0 ? void 0 : _14.borderRadius,
100
+ [customCssProps.styleFocusRingBorderWidth]: (_17 = (_16 = (_15 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _15 === void 0 ? void 0 : _15.expandButton) === null || _16 === void 0 ? void 0 : _16.focusRing) === null || _17 === void 0 ? void 0 : _17.borderWidth,
101
+ })), (((_20 = (_19 = (_18 = style === null || style === void 0 ? void 0 : style.notificationBar) === null || _18 === void 0 ? void 0 : _18.expandButton) === null || _19 === void 0 ? void 0 : _19.focusRing) === null || _20 === void 0 ? void 0 : _20.borderRadius) && {
102
+ [customCssProps.styleFocusRingBorderRadius]: style.notificationBar.expandButton.focusRing.borderRadius,
103
+ }));
104
+ }
105
+ //# sourceMappingURL=style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/flashbar/style.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,cAAc,MAAM,6CAA6C,CAAC;AAGzE,MAAM,UAAU,yBAAyB,CAAC,KAA0B,EAAE,OAAe,MAAM;;IACzF,MAAM,UAAU,GACd,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,IAAI,0CAAE,UAAU;QAC7B,CAAC,IAAI,KAAK,aAAa;YACrB,CAAC,CAAC,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,IAAI,0CAAE,UAAU,CAAC,UAAU;YAC1C,CAAC,CAAC,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,IAAI,0CAAE,UAAU,CAAC,IAA+C,CAAC,CAAC,CAAC;IAEtF,MAAM,WAAW,GACf,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,IAAI,0CAAE,WAAW;QAC9B,CAAC,IAAI,KAAK,aAAa;YACrB,CAAC,CAAC,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,IAAI,0CAAE,WAAW,CAAC,UAAU;YAC3C,CAAC,CAAC,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CA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K,0CAAE,KAAK,KAAI;QAChD,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;KACzE,CAAC,GACC,CAAC,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,0CAAE,YAAY,0CAAE,SAAS,KAAI;QACrD,CAAC,cAAc,CAAC,yBAAyB,CAAC,EAAE,OAAA,OAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,0CAAE,YAAY,4CAAE,SAAS,4CAAE,WAAW;QACxG,CAAC,cAAc,CAAC,0BAA0B,CAAC,EAAE,OAAA,OAAA,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,4CAAE,YAAY,4CAAE,SAAS,4CAAE,YAAY;QAC1G,CAAC,cAAc,CAAC,yBAAyB,CAAC,EAAE,OAAA,OAAA,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,4CAAE,YAAY,4CAAE,SAAS,4CAAE,WAAW;KACzG,CAAC,GACC,CAAC,CAAA,OAAA,OAAA,OAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,eAAe,4CAAE,YAAY,4CAAE,SAAS,4CAAE,YAAY,KAAI;QACnE,CAAC,cAAc,CAAC,0BAA0B,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY;KACvG,CAAC,EACF;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport customCssProps from '../internal/generated/custom-css-properties';\nimport { FlashbarProps } from './interfaces';\n\nexport function getCollapsibleFlashStyles(style: FlashbarProps.Style, type: string = 'info') {\n const background =\n style?.item?.root?.background &&\n (type === 'in-progress'\n ? style?.item?.root?.background.inProgress\n : style?.item?.root?.background[type as keyof typeof style.item.root.background]);\n\n const borderColor =\n style?.item?.root?.borderColor &&\n (type === 'in-progress'\n ? style?.item?.root?.borderColor.inProgress\n : style?.item?.root?.borderColor[type as keyof typeof style.item.root.borderColor]);\n\n const borderRadius = style?.item?.root?.borderRadius;\n\n const borderWidth = style?.item?.root?.borderWidth;\n\n const borderStyle = style?.item?.root?.borderWidth && 'solid';\n\n const color =\n style?.item?.root?.color &&\n (type === 'in-progress'\n ? style?.item?.root?.color.inProgress\n : style?.item?.root?.color[type as keyof typeof style.item.root.color]);\n\n return {\n background,\n borderColor,\n borderRadius,\n borderStyle,\n borderWidth,\n color,\n };\n}\n\nexport function getFlashStyles(style: FlashbarProps.Style, type: string = 'info') {\n const focusRingBorderColor =\n style?.item?.root?.focusRing?.borderColor &&\n (type === 'in-progress'\n ? style.item.root.focusRing.borderColor.inProgress\n : style.item.root.focusRing.borderColor[type as keyof typeof style.item.root.focusRing.borderColor]);\n\n return {\n ...(style && getCollapsibleFlashStyles(style, type)),\n ...(style?.item?.root?.focusRing && {\n [customCssProps.styleFocusRingBorderColor]: focusRingBorderColor,\n [customCssProps.styleFocusRingBorderRadius]: style.item.root.focusRing?.borderRadius,\n [customCssProps.styleFocusRingBorderWidth]: style.item.root.focusRing?.borderWidth,\n }),\n ...(style?.item?.root?.focusRing?.borderRadius && {\n [customCssProps.styleFocusRingBorderRadius]: style.item.root.focusRing.borderRadius,\n }),\n };\n}\n\nexport function getDismissButtonStyles(style: FlashbarProps.Style, type: string = 'info') {\n const activeColor =\n style?.item?.dismissButton?.color?.active &&\n (type === 'in-progress'\n ? style.item.dismissButton.color.active.inProgress\n : style.item.dismissButton.color.active[type as keyof typeof style.item.dismissButton.color.active]);\n\n const defaultColor =\n style?.item?.dismissButton?.color?.default &&\n (type === 'in-progress'\n ? style.item.dismissButton.color.default.inProgress\n : style.item.dismissButton.color.default[type as keyof typeof style.item.dismissButton.color.default]);\n\n const hoverColor =\n style?.item?.dismissButton?.color?.hover &&\n (type === 'in-progress'\n ? style.item.dismissButton.color.hover.inProgress\n : style.item.dismissButton.color.hover[type as keyof typeof style.item.dismissButton.color.hover]);\n\n const focusRingBorderColor =\n style?.item?.dismissButton?.focusRing?.borderColor &&\n (type === 'in-progress'\n ? style.item.dismissButton.focusRing.borderColor.inProgress\n : style.item.dismissButton.focusRing.borderColor[\n type as keyof typeof style.item.dismissButton.focusRing.borderColor\n ]);\n\n return {\n root: {\n color: {\n active: activeColor,\n default: defaultColor,\n hover: hoverColor,\n },\n focusRing: {\n borderColor: focusRingBorderColor,\n borderRadius: style?.item?.dismissButton?.focusRing?.borderRadius,\n borderWidth: style?.item?.dismissButton?.focusRing?.borderWidth,\n },\n },\n };\n}\n\nexport function getNotificationBarStyles(style: FlashbarProps.Style) {\n return {\n borderRadius: style?.notificationBar?.root?.borderRadius,\n borderWidth: style?.notificationBar?.root?.borderWidth,\n ...(style?.notificationBar?.root?.background?.active && {\n [customCssProps.styleBackgroundActive]: style.notificationBar.root.background.active,\n }),\n ...(style?.notificationBar?.root?.background?.default && {\n [customCssProps.styleBackgroundDefault]: style.notificationBar.root.background.default,\n }),\n ...(style?.notificationBar?.root?.background?.hover && {\n [customCssProps.styleBackgroundHover]: style.notificationBar.root.background.hover,\n }),\n ...(style?.notificationBar?.root?.borderColor?.active && {\n [customCssProps.styleBorderColorActive]: style.notificationBar.root.borderColor.active,\n }),\n ...(style?.notificationBar?.root?.borderColor?.default && {\n [customCssProps.styleBorderColorDefault]: style.notificationBar.root.borderColor.default,\n }),\n ...(style?.notificationBar?.root?.borderColor?.hover && {\n [customCssProps.styleBorderColorHover]: style.notificationBar.root.borderColor.hover,\n }),\n ...(style?.notificationBar?.root?.color?.active && {\n [customCssProps.styleColorActive]: style.notificationBar.root.color.active,\n }),\n ...(style?.notificationBar?.root?.color?.default && {\n [customCssProps.styleColorDefault]: style.notificationBar.root.color.default,\n }),\n ...(style?.notificationBar?.root?.color?.hover && {\n [customCssProps.styleColorHover]: style.notificationBar.root.color.hover,\n }),\n ...(style?.notificationBar?.expandButton?.focusRing && {\n [customCssProps.styleFocusRingBorderColor]: style?.notificationBar?.expandButton?.focusRing?.borderColor,\n [customCssProps.styleFocusRingBorderRadius]: style?.notificationBar?.expandButton?.focusRing?.borderRadius,\n [customCssProps.styleFocusRingBorderWidth]: style?.notificationBar?.expandButton?.focusRing?.borderWidth,\n }),\n ...(style?.notificationBar?.expandButton?.focusRing?.borderRadius && {\n [customCssProps.styleFocusRingBorderRadius]: style.notificationBar.expandButton.focusRing.borderRadius,\n }),\n };\n}\n"]}
@@ -1,55 +1,55 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "flash-with-motion": "awsui_flash-with-motion_1q84n_1smjk_157",
5
- "enter": "awsui_enter_1q84n_1smjk_157",
6
- "flash-body": "awsui_flash-body_1q84n_1smjk_171",
7
- "flash-message": "awsui_flash-message_1q84n_1smjk_171",
8
- "flash-header": "awsui_flash-header_1q84n_1smjk_171",
9
- "flash-content": "awsui_flash-content_1q84n_1smjk_172",
10
- "action-button-wrapper": "awsui_action-button-wrapper_1q84n_1smjk_173",
11
- "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1smjk_174",
12
- "flash-icon": "awsui_flash-icon_1q84n_1smjk_197",
13
- "entering": "awsui_entering_1q84n_1smjk_210",
14
- "entered": "awsui_entered_1q84n_1smjk_231",
15
- "exiting": "awsui_exiting_1q84n_1smjk_336",
16
- "stack": "awsui_stack_1q84n_1smjk_370",
17
- "animation-running": "awsui_animation-running_1q84n_1smjk_370",
18
- "item": "awsui_item_1q84n_1smjk_370",
19
- "flash-list-item": "awsui_flash-list-item_1q84n_1smjk_371",
20
- "notification-bar": "awsui_notification-bar_1q84n_1smjk_372",
21
- "collapsed": "awsui_collapsed_1q84n_1smjk_392",
22
- "animation-ready": "awsui_animation-ready_1q84n_1smjk_392",
23
- "expanded-only": "awsui_expanded-only_1q84n_1smjk_392",
24
- "expanded": "awsui_expanded_1q84n_1smjk_392",
25
- "flash": "awsui_flash_1q84n_1smjk_157",
26
- "collapsible": "awsui_collapsible_1q84n_1smjk_448",
27
- "short-list": "awsui_short-list_1q84n_1smjk_454",
28
- "visual-refresh": "awsui_visual-refresh_1q84n_1smjk_454",
29
- "status": "awsui_status_1q84n_1smjk_601",
30
- "header": "awsui_header_1q84n_1smjk_601",
31
- "item-count": "awsui_item-count_1q84n_1smjk_602",
32
- "button": "awsui_button_1q84n_1smjk_603",
33
- "type-count": "awsui_type-count_1q84n_1smjk_636",
34
- "count-number": "awsui_count-number_1q84n_1smjk_636",
35
- "icon": "awsui_icon_1q84n_1smjk_673",
36
- "floating": "awsui_floating_1q84n_1smjk_714",
37
- "flashbar": "awsui_flashbar_1q84n_1smjk_718",
38
- "initial-hidden": "awsui_initial-hidden_1q84n_1smjk_777",
39
- "flash-list": "awsui_flash-list_1q84n_1smjk_371",
40
- "flash-focus-container": "awsui_flash-focus-container_1q84n_1smjk_801",
41
- "flash-text": "awsui_flash-text_1q84n_1smjk_831",
42
- "hidden": "awsui_hidden_1q84n_1smjk_850",
43
- "header-replacement": "awsui_header-replacement_1q84n_1smjk_855",
44
- "content-replacement": "awsui_content-replacement_1q84n_1smjk_860",
45
- "dismiss-button": "awsui_dismiss-button_1q84n_1smjk_174",
46
- "action-wrapped": "awsui_action-wrapped_1q84n_1smjk_878",
47
- "action-button": "awsui_action-button_1q84n_1smjk_173",
48
- "action-slot": "awsui_action-slot_1q84n_1smjk_885",
49
- "flash-type-success": "awsui_flash-type-success_1q84n_1smjk_889",
50
- "flash-type-error": "awsui_flash-type-error_1q84n_1smjk_893",
51
- "flash-type-info": "awsui_flash-type-info_1q84n_1smjk_897",
52
- "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_1smjk_898",
53
- "flash-type-warning": "awsui_flash-type-warning_1q84n_1smjk_902"
4
+ "flash-with-motion": "awsui_flash-with-motion_1q84n_qsfxj_157",
5
+ "enter": "awsui_enter_1q84n_qsfxj_157",
6
+ "flash-body": "awsui_flash-body_1q84n_qsfxj_171",
7
+ "flash-message": "awsui_flash-message_1q84n_qsfxj_171",
8
+ "flash-header": "awsui_flash-header_1q84n_qsfxj_171",
9
+ "flash-content": "awsui_flash-content_1q84n_qsfxj_172",
10
+ "action-button-wrapper": "awsui_action-button-wrapper_1q84n_qsfxj_173",
11
+ "dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_qsfxj_174",
12
+ "flash-icon": "awsui_flash-icon_1q84n_qsfxj_197",
13
+ "entering": "awsui_entering_1q84n_qsfxj_210",
14
+ "entered": "awsui_entered_1q84n_qsfxj_231",
15
+ "exiting": "awsui_exiting_1q84n_qsfxj_336",
16
+ "stack": "awsui_stack_1q84n_qsfxj_370",
17
+ "animation-running": "awsui_animation-running_1q84n_qsfxj_370",
18
+ "item": "awsui_item_1q84n_qsfxj_370",
19
+ "flash-list-item": "awsui_flash-list-item_1q84n_qsfxj_371",
20
+ "notification-bar": "awsui_notification-bar_1q84n_qsfxj_372",
21
+ "collapsed": "awsui_collapsed_1q84n_qsfxj_392",
22
+ "animation-ready": "awsui_animation-ready_1q84n_qsfxj_392",
23
+ "expanded-only": "awsui_expanded-only_1q84n_qsfxj_392",
24
+ "expanded": "awsui_expanded_1q84n_qsfxj_392",
25
+ "flash": "awsui_flash_1q84n_qsfxj_157",
26
+ "collapsible": "awsui_collapsible_1q84n_qsfxj_448",
27
+ "short-list": "awsui_short-list_1q84n_qsfxj_454",
28
+ "visual-refresh": "awsui_visual-refresh_1q84n_qsfxj_454",
29
+ "status": "awsui_status_1q84n_qsfxj_601",
30
+ "header": "awsui_header_1q84n_qsfxj_601",
31
+ "item-count": "awsui_item-count_1q84n_qsfxj_602",
32
+ "button": "awsui_button_1q84n_qsfxj_603",
33
+ "type-count": "awsui_type-count_1q84n_qsfxj_636",
34
+ "count-number": "awsui_count-number_1q84n_qsfxj_636",
35
+ "icon": "awsui_icon_1q84n_qsfxj_674",
36
+ "floating": "awsui_floating_1q84n_qsfxj_715",
37
+ "flashbar": "awsui_flashbar_1q84n_qsfxj_719",
38
+ "initial-hidden": "awsui_initial-hidden_1q84n_qsfxj_778",
39
+ "flash-list": "awsui_flash-list_1q84n_qsfxj_371",
40
+ "flash-focus-container": "awsui_flash-focus-container_1q84n_qsfxj_802",
41
+ "flash-text": "awsui_flash-text_1q84n_qsfxj_832",
42
+ "hidden": "awsui_hidden_1q84n_qsfxj_851",
43
+ "header-replacement": "awsui_header-replacement_1q84n_qsfxj_856",
44
+ "content-replacement": "awsui_content-replacement_1q84n_qsfxj_861",
45
+ "dismiss-button": "awsui_dismiss-button_1q84n_qsfxj_174",
46
+ "action-wrapped": "awsui_action-wrapped_1q84n_qsfxj_879",
47
+ "action-button": "awsui_action-button_1q84n_qsfxj_173",
48
+ "action-slot": "awsui_action-slot_1q84n_qsfxj_886",
49
+ "flash-type-success": "awsui_flash-type-success_1q84n_qsfxj_890",
50
+ "flash-type-error": "awsui_flash-type-error_1q84n_qsfxj_894",
51
+ "flash-type-info": "awsui_flash-type-info_1q84n_qsfxj_898",
52
+ "flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_qsfxj_899",
53
+ "flash-type-warning": "awsui_flash-type-warning_1q84n_qsfxj_903"
54
54
  };
55
55