@porsche-design-system/components-react 3.0.0-alpha.4 → 3.0.0-alpha.6

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 (197) hide show
  1. package/CHANGELOG.md +161 -16
  2. package/esm/lib/components/accordion.wrapper.js +2 -2
  3. package/esm/lib/components/banner.wrapper.js +3 -3
  4. package/esm/lib/components/carousel.wrapper.js +2 -2
  5. package/esm/lib/components/crest.wrapper.js +22 -0
  6. package/esm/lib/components/inline-notification.wrapper.js +3 -3
  7. package/esm/lib/components/marque.wrapper.js +1 -0
  8. package/esm/lib/components/pagination.wrapper.js +2 -2
  9. package/esm/lib/components/segmented-control.wrapper.js +2 -2
  10. package/esm/lib/components/stepper-horizontal.wrapper.js +2 -2
  11. package/esm/lib/components/switch.wrapper.js +2 -2
  12. package/esm/lib/components/table.wrapper.js +2 -2
  13. package/esm/lib/components/tabs-bar.wrapper.js +2 -2
  14. package/esm/lib/components/tabs.wrapper.js +2 -2
  15. package/esm/lib/components/wordmark.wrapper.js +22 -0
  16. package/esm/public-api.js +2 -0
  17. package/lib/components/accordion.wrapper.d.ts +7 -7
  18. package/lib/components/accordion.wrapper.js +2 -2
  19. package/lib/components/banner.wrapper.d.ts +18 -2
  20. package/lib/components/banner.wrapper.js +3 -3
  21. package/lib/components/carousel.wrapper.d.ts +7 -7
  22. package/lib/components/carousel.wrapper.js +2 -2
  23. package/lib/components/crest.wrapper.d.ts +30 -0
  24. package/lib/components/crest.wrapper.js +24 -0
  25. package/lib/components/index.d.ts +2 -0
  26. package/lib/components/inline-notification.wrapper.d.ts +10 -2
  27. package/lib/components/inline-notification.wrapper.js +3 -3
  28. package/lib/components/marque.wrapper.d.ts +1 -0
  29. package/lib/components/marque.wrapper.js +1 -0
  30. package/lib/components/pagination.wrapper.d.ts +9 -9
  31. package/lib/components/pagination.wrapper.js +2 -2
  32. package/lib/components/segmented-control.wrapper.d.ts +9 -9
  33. package/lib/components/segmented-control.wrapper.js +2 -2
  34. package/lib/components/stepper-horizontal.wrapper.d.ts +9 -9
  35. package/lib/components/stepper-horizontal.wrapper.js +2 -2
  36. package/lib/components/switch.wrapper.d.ts +9 -9
  37. package/lib/components/switch.wrapper.js +2 -2
  38. package/lib/components/table.wrapper.d.ts +9 -9
  39. package/lib/components/table.wrapper.js +2 -2
  40. package/lib/components/tabs-bar.wrapper.d.ts +9 -9
  41. package/lib/components/tabs-bar.wrapper.js +2 -2
  42. package/lib/components/tabs.wrapper.d.ts +9 -9
  43. package/lib/components/tabs.wrapper.js +2 -2
  44. package/lib/components/wordmark.wrapper.d.ts +46 -0
  45. package/lib/components/wordmark.wrapper.js +24 -0
  46. package/lib/types.d.ts +35 -19
  47. package/package.json +2 -2
  48. package/public-api.js +4 -0
  49. package/ssr/components/dist/styles/esm/styles-entry.js +275 -273
  50. package/ssr/components/dist/utils/esm/utils-entry.js +69 -41
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/accordion.wrapper.js +2 -2
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.js +4 -4
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +2 -2
  54. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +37 -0
  55. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/inline-notification.wrapper.js +4 -4
  56. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  57. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/pagination.wrapper.js +2 -2
  58. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.js +2 -2
  59. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +2 -2
  60. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/switch.wrapper.js +2 -2
  61. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +2 -2
  62. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.js +2 -2
  63. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.js +2 -2
  64. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +37 -0
  65. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -0
  66. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +7 -2
  67. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -0
  68. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +2 -0
  69. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +3 -1
  70. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +2 -0
  71. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +18 -0
  72. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +7 -2
  73. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +2 -0
  74. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -0
  75. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +2 -0
  76. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -0
  77. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -0
  78. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +1 -0
  79. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +2 -0
  80. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +2 -0
  81. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -0
  82. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -0
  83. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -0
  84. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -0
  85. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  86. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -0
  87. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +2 -0
  88. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -0
  89. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -0
  90. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +2 -0
  91. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -0
  92. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +3 -1
  93. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -0
  94. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -0
  95. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -0
  96. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +19 -0
  97. package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +4 -0
  98. package/ssr/esm/components/dist/styles/esm/styles-entry.js +216 -216
  99. package/ssr/esm/components/dist/utils/esm/utils-entry.js +67 -41
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/accordion.wrapper.js +2 -2
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.js +4 -4
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +2 -2
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +35 -0
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/inline-notification.wrapper.js +4 -4
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/pagination.wrapper.js +2 -2
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.js +2 -2
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +2 -2
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/switch.wrapper.js +2 -2
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +2 -2
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.js +2 -2
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.js +2 -2
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +35 -0
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +4 -2
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +8 -3
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -2
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +4 -2
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +6 -4
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -2
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +16 -0
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
  127. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +2 -2
  128. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
  129. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
  130. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
  131. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
  132. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
  133. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
  134. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
  135. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +8 -3
  136. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -2
  137. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +4 -2
  138. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +4 -2
  139. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +4 -2
  140. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +4 -2
  141. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +3 -2
  142. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +4 -2
  143. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +2 -2
  144. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +4 -2
  145. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +4 -2
  146. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +2 -2
  147. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +4 -2
  148. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +4 -2
  149. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +2 -2
  150. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -2
  151. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +2 -2
  152. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  153. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +4 -2
  154. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +4 -2
  155. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +4 -2
  156. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -2
  157. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -2
  158. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +4 -2
  159. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -2
  160. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -2
  161. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -2
  162. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +4 -2
  163. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +4 -2
  164. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -2
  165. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +5 -3
  166. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +4 -2
  167. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +4 -2
  168. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +4 -2
  169. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -2
  170. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +2 -2
  171. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -2
  172. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +2 -2
  173. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +2 -2
  174. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +17 -0
  175. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
  176. package/ssr/lib/components/accordion.wrapper.d.ts +7 -7
  177. package/ssr/lib/components/banner.wrapper.d.ts +18 -2
  178. package/ssr/lib/components/carousel.wrapper.d.ts +7 -7
  179. package/ssr/lib/components/crest.wrapper.d.ts +30 -0
  180. package/ssr/lib/components/index.d.ts +2 -0
  181. package/ssr/lib/components/inline-notification.wrapper.d.ts +10 -2
  182. package/ssr/lib/components/marque.wrapper.d.ts +1 -0
  183. package/ssr/lib/components/pagination.wrapper.d.ts +9 -9
  184. package/ssr/lib/components/segmented-control.wrapper.d.ts +9 -9
  185. package/ssr/lib/components/stepper-horizontal.wrapper.d.ts +9 -9
  186. package/ssr/lib/components/switch.wrapper.d.ts +9 -9
  187. package/ssr/lib/components/table.wrapper.d.ts +9 -9
  188. package/ssr/lib/components/tabs-bar.wrapper.d.ts +9 -9
  189. package/ssr/lib/components/tabs.wrapper.d.ts +9 -9
  190. package/ssr/lib/components/wordmark.wrapper.d.ts +46 -0
  191. package/ssr/lib/dsr-components/banner.d.ts +2 -0
  192. package/ssr/lib/dsr-components/crest.d.ts +5 -0
  193. package/ssr/lib/dsr-components/inline-notification.d.ts +1 -0
  194. package/ssr/lib/dsr-components/marque.d.ts +1 -0
  195. package/ssr/lib/dsr-components/switch.d.ts +0 -3
  196. package/ssr/lib/dsr-components/wordmark.d.ts +5 -0
  197. package/ssr/lib/types.d.ts +35 -19
@@ -17,8 +17,6 @@ hasWindow &&
17
17
  .forEach((mutation) => { var _a; return (_a = attributeMutationMap.get(mutation.target)) === null || _a === void 0 ? void 0 : _a(); });
18
18
  });
19
19
 
20
- // TODO: resolve overlap with Breakpoint type from utilities package
21
- const BREAKPOINTS = ['base', 'xs', 's', 'm', 'l', 'xl'];
22
20
  const parseJSON = (prop) => {
23
21
  if (typeof prop === 'string') {
24
22
  try {
@@ -55,6 +53,8 @@ const dropShadowHighStyle = {
55
53
  filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
56
54
  };
57
55
 
56
+ const themeLightStateFocus = '#1A44EA';
57
+
58
58
  const fontFamily = "'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
59
59
 
60
60
  const fontHyphenationStyle = {
@@ -233,14 +233,12 @@ const gridNarrowOffset = {
233
233
  xxl: gridNarrowOffsetXXL,
234
234
  };
235
235
 
236
+ const breakpoints = ['base', 'xs', 's', 'm', 'l', 'xl', 'xxl'];
237
+
236
238
  function getMediaQueryMax(max) {
237
239
  return `@media(max-width:${breakpoint[max] - 1}px)`;
238
240
  }
239
241
 
240
- function getMediaQueryMinMax(min, max) {
241
- return `@media(min-width:${breakpoint[min]}px) and (max-width:${breakpoint[max] - 1}px)`;
242
- }
243
-
244
242
  const spacingStaticXSmall = '4px';
245
243
 
246
244
  const spacingStaticSmall = '8px';
@@ -309,10 +307,7 @@ const textLargeStyle = {
309
307
  ...fontHyphenationStyle,
310
308
  };
311
309
 
312
- // TODO: we shouldn't exclude xxl breakpoint
313
- const mediaQueries = Object.entries(breakpoint)
314
- .filter(([key]) => key !== 'xxl')
315
- .map(([, val]) => `(min-width:${val}px)`);
310
+ const mediaQueries = Object.values(breakpoint).map((v) => `(min-width:${v}px)`);
316
311
  hasWindow && window.matchMedia ? mediaQueries.map(window.matchMedia) : [];
317
312
 
318
313
  Object.entries(breakpoint).reduce((result, [key, val]) => (Object.assign(Object.assign({}, result), { [`${val}px`]: key })), {});
@@ -3713,7 +3708,7 @@ const themeLight = {
3713
3708
  backgroundSurfaceColorDarken: '#CBCED7',
3714
3709
  backgroundSurfaceColorLighten: '#FFFFFF',
3715
3710
  contrastLowColor: '#D8D8DB',
3716
- contrastMediumColor: '#949598',
3711
+ contrastMediumColor: '#6B6D70',
3717
3712
  contrastHighColor: '#535457',
3718
3713
  contrastHighColorDarken: '#353638',
3719
3714
  contrastHighColorLighten: '#717276',
@@ -3722,24 +3717,24 @@ const themeLight = {
3722
3717
  activeColor: 'rgba(148, 149, 152, 0.20)',
3723
3718
  focusColor: '#1A44EA',
3724
3719
  disabledColor: '#949598',
3725
- errorColor: '#E7323B',
3726
- errorColorDarken: '#C51720',
3727
- errorSoftColor: '#FCE8E9',
3728
- errorSoftColorDarken: '#EED7D9',
3720
+ errorColor: '#CC1922',
3721
+ errorColorDarken: '#951219',
3722
+ errorSoftColor: '#FFE2E4',
3723
+ errorSoftColorDarken: '#F4CED1',
3729
3724
  errorSoftColorLighten: '#FFFFFF',
3730
- successColor: '#32B85B',
3731
- successColorDarken: '#258843',
3732
- successSoftColor: '#EBFAF0',
3733
- successSoftColorDarken: '#DDEAE1',
3725
+ successColor: '#197E10',
3726
+ successColorDarken: '#0E4809',
3727
+ successSoftColor: '#E4FFEC',
3728
+ successSoftColorDarken: '#D0F4DB',
3734
3729
  successSoftColorLighten: '#FFFFFF',
3735
- warningColor: '#FECC1B',
3736
- warningSoftColor: '#FFF9E6',
3737
- warningSoftColorDarken: '#F5ECD2',
3738
- warningSoftColorLighten: '#FFFFFF',
3739
- infoColor: '#1E5BEB',
3740
- infoSoftColor: '#E8EEFD',
3741
- infoSoftColorDarken: '#D6DEF0',
3742
- infoSoftColorLighten: '#FFFFFF'
3730
+ warningColor: '#F3BE00',
3731
+ warningSoftColor: '#FFF4D2',
3732
+ warningSoftColorDarken: '#F1E5C1',
3733
+ warningSoftColorLighten: '#FCFAF3',
3734
+ infoColor: '#2762EC',
3735
+ infoSoftColor: '#D3E1FF',
3736
+ infoSoftColorDarken: '#C2D1F1',
3737
+ infoSoftColorLighten: '#F4F7FD'
3743
3738
  };
3744
3739
  const themeDark = {
3745
3740
  primaryColor: '#FBFCFF',
@@ -3751,7 +3746,7 @@ const themeDark = {
3751
3746
  backgroundSurfaceColorDarken: '#040405',
3752
3747
  backgroundSurfaceColorLighten: '#3E4045',
3753
3748
  contrastLowColor: '#404044',
3754
- contrastMediumColor: '#7E7F82',
3749
+ contrastMediumColor: '#88898C',
3755
3750
  contrastHighColor: '#AFB0B3',
3756
3751
  contrastHighColorDarken: '#909195',
3757
3752
  contrastHighColorLighten: '#CECFD1',
@@ -3760,24 +3755,24 @@ const themeDark = {
3760
3755
  activeColor: 'rgba(126, 127, 130, 0.20)',
3761
3756
  focusColor: '#1A44EA',
3762
3757
  disabledColor: '#7E7F82',
3763
- errorColor: '#CB3333',
3764
- errorColorDarken: '#9A2727',
3765
- errorSoftColor: '#290A0A',
3766
- errorSoftColorDarken: '#0D0808',
3767
- errorSoftColorLighten: '#331F1F',
3768
- successColor: '#00C77E',
3769
- successColorDarken: '#008A57',
3758
+ errorColor: '#FC4040',
3759
+ errorColorDarken: '#FB0404',
3760
+ errorSoftColor: '#3A0F0F',
3761
+ errorSoftColorDarken: '#1A1111',
3762
+ errorSoftColorLighten: '#3F2828',
3763
+ successColor: '#09D087',
3764
+ successColorDarken: '#069561',
3770
3765
  successSoftColor: '#003320',
3771
3766
  successSoftColorDarken: '#04110C',
3772
3767
  successSoftColorLighten: '#0F432F',
3773
- warningColor: '#DDB84B',
3774
- warningSoftColor: '#2B2208',
3775
- warningSoftColorDarken: '#0D0C07',
3776
- warningSoftColorLighten: '#362F1C',
3777
- infoColor: '#027FFC',
3778
- infoSoftColor: '#001A33',
3779
- infoSoftColorDarken: '#040A11',
3780
- infoSoftColorLighten: '#0F2943'
3768
+ warningColor: '#F7CB47',
3769
+ warningSoftColor: '#362B0A',
3770
+ warningSoftColorDarken: '#16130B',
3771
+ warningSoftColorLighten: '#3E3720',
3772
+ infoColor: '#178BFF',
3773
+ infoSoftColor: '#04294E',
3774
+ infoSoftColorDarken: '#0C1A27',
3775
+ infoSoftColorLighten: '#1A3856'
3781
3776
  };
3782
3777
  const themes = {
3783
3778
  'light': themeLight,
@@ -3825,35 +3820,12 @@ const getResetInitialStylesForSlottedAnchor = {
3825
3820
  borderRadius: 0,
3826
3821
  background: 'transparent',
3827
3822
  };
3828
- const getFocusJssStyle = (opts) => {
3829
- const { pseudo, offset: outlineOffset, color: outlineColor, } = Object.assign({ color: 'currentColor', offset: 2 }, opts);
3830
- return pseudo
3831
- ? {
3832
- outline: 0,
3833
- '&::-moz-focus-inner': {
3834
- border: 0,
3835
- },
3836
- [`&${pseudo}`]: Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { outline: '1px solid transparent', outlineOffset: `${outlineOffset}px` }),
3837
- [`&:focus${pseudo}`]: {
3838
- outlineColor,
3839
- },
3840
- [`&:focus:not(:focus-visible)${pseudo}`]: {
3841
- outlineColor: 'transparent',
3842
- },
3843
- }
3844
- : {
3845
- outline: '1px solid transparent',
3846
- outlineOffset: `${outlineOffset}px`,
3847
- '&::-moz-focus-inner': {
3848
- border: 0,
3849
- },
3850
- '&:focus': {
3851
- outlineColor,
3852
- },
3853
- '&:focus:not(:focus-visible)': {
3854
- outlineColor: 'transparent',
3855
- },
3856
- };
3823
+ const focusPseudoJssStyle = {
3824
+ outline: 0,
3825
+ '&:focus::before': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { borderRadius: '1px', outline: `${borderWidthBase} solid ${themeLightStateFocus}`, outlineOffset: '2px' }),
3826
+ '&:focus:not(:focus-visible)::before': {
3827
+ outline: 0,
3828
+ },
3857
3829
  };
3858
3830
  const getTextHiddenJssStyle = (isHidden) => isHidden
3859
3831
  ? getScreenReaderOnlyJssStyle()
@@ -3977,11 +3949,11 @@ const formatObjectOutput = (value) => {
3977
3949
  .replace(/^"(.+)"$/, '$1'); // remove wrapping double quotes
3978
3950
  };
3979
3951
  'value, ' +
3980
- formatObjectOutput(BREAKPOINTS.reduce((prev, key) => (Object.assign(Object.assign({}, prev), { [key + (key !== 'base' ? '?' : '')]: 'value' })), {})).replace(/"/g, '');
3952
+ formatObjectOutput(breakpoints.reduce((prev, key) => (Object.assign(Object.assign({}, prev), { [key + (key !== 'base' ? '?' : '')]: 'value' })), {})).replace(/"/g, '');
3981
3953
 
3982
3954
  const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
3983
3955
 
3984
- const getComponentCss$W = (size, compact, open, theme) => {
3956
+ const getComponentCss$Y = (size, compact, open, theme) => {
3985
3957
  const { primaryColor, hoverColor, focusColor, contrastLowColor } = getThemedColors(theme);
3986
3958
  const border = `1px solid ${contrastLowColor}`;
3987
3959
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -4050,35 +4022,6 @@ const getComponentCss$W = (size, compact, open, theme) => {
4050
4022
  } }));
4051
4023
  };
4052
4024
 
4053
- const easeInQuad = 'cubic-bezier(0.45,0,0.55,1)';
4054
- const easeOutQuad = 'cubic-bezier(0.5,1,0.89,1)';
4055
- const ANIMATION_DURATION = 600;
4056
- const getAnimationIn = (keyframesName, durationVar) => {
4057
- const duration = durationVar ? `var(${durationVar},${ANIMATION_DURATION}ms)` : `${ANIMATION_DURATION}ms`;
4058
- return {
4059
- animation: `${duration} $${keyframesName} ${easeInQuad} forwards`,
4060
- };
4061
- };
4062
- const getAnimationOut = (keyframesName) => ({
4063
- animation: addImportantToRule(`${ANIMATION_DURATION}ms $${keyframesName} ${easeOutQuad} forwards`),
4064
- });
4065
- const getKeyframes = (direction, outsideStyle) => {
4066
- const insideStyle = { opacity: 1, transform: 'translate3d(0,0,0)' };
4067
- return direction === 'in'
4068
- ? {
4069
- from: outsideStyle,
4070
- to: insideStyle,
4071
- }
4072
- : {
4073
- from: insideStyle,
4074
- to: outsideStyle,
4075
- };
4076
- };
4077
- const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
4078
- opacity: 0,
4079
- transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
4080
- });
4081
-
4082
4025
  const TOAST_Z_INDEX = 999999;
4083
4026
  const MODAL_Z_INDEX = 99999;
4084
4027
  const POPOVER_Z_INDEX = 9999;
@@ -4088,35 +4031,31 @@ const cssVariableTop = '--p-banner-position-top';
4088
4031
  const cssVariableBottom = '--p-banner-position-bottom';
4089
4032
  const cssVariableAnimationDuration = '--p-animation-duration';
4090
4033
  const cssVariableZIndex = '--p-internal-banner-z-index';
4091
- const mediaQueryBaseToS = getMediaQueryMinMax('base', 's');
4092
- const mediaQueryS$1 = getMediaQueryMin('s');
4093
- const mediaQueryXXL$1 = getMediaQueryMin('xxl');
4094
- const getKeyframesDesktop = (direction, topVar) => getKeyframes(direction, {
4095
- opacity: 0,
4096
- transform: `translate3d(0,calc(-100% - var(${topVar})),0)`, // space before and after "-" is crucial
4097
- });
4098
- const getComponentCss$V = () => {
4034
+ const ANIMATION_DURATION$1 = 600;
4035
+ const duration$1 = `var(${cssVariableAnimationDuration},${ANIMATION_DURATION$1}ms)`;
4036
+ const easeInQuad$1 = 'cubic-bezier(0.45,0,0.55,1)';
4037
+ const easeOutQuad$1 = 'cubic-bezier(0.5,1,0.89,1)';
4038
+ const getComponentCss$X = (isOpen) => {
4099
4039
  return getCss({
4100
4040
  '@global': {
4101
- ':host': Object.assign(Object.assign({ opacity: 0 }, addImportantToEachRule(Object.assign(Object.assign(Object.assign({ [cssVariableTop]: '56px', [cssVariableBottom]: '56px', position: 'fixed', top: 'auto', bottom: `var(${cssVariableBottom})`, left: gridExtendedOffsetBase, right: gridExtendedOffsetBase, margin: 0, padding: 0, width: 'auto', zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})`, willChange: 'opacity,transform' }, dropShadowHighStyle), { [mediaQueryS$1]: {
4102
- top: `var(${cssVariableTop})`,
4103
- bottom: 'auto',
4104
- left: gridExtendedOffsetS,
4105
- right: gridExtendedOffsetS,
4106
- }, [mediaQueryXXL$1]: {
4041
+ ':host': addImportantToEachRule(Object.assign(Object.assign(Object.assign(Object.assign({ [cssVariableTop]: '56px', [cssVariableBottom]: '56px', position: 'fixed', top: 'auto', bottom: `var(${cssVariableBottom})`, left: gridExtendedOffsetBase, right: gridExtendedOffsetBase, margin: 0, padding: 0, width: 'auto', maxWidth: '100%', zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})` }, dropShadowHighStyle), (isOpen
4042
+ ? {
4043
+ opacity: 1,
4044
+ visibility: 'inherit',
4045
+ transform: 'translate3d(0,0,0)',
4046
+ transition: `opacity ${duration$1} ${easeInQuad$1}, transform ${duration$1} ${easeInQuad$1}`,
4047
+ }
4048
+ : {
4049
+ opacity: 0,
4050
+ visibility: 'hidden',
4051
+ transform: `translate3d(0,calc(var(${cssVariableBottom}) + 100%),0)`,
4052
+ '&(.hydrated),&(.ssr)': {
4053
+ transition: `visibility 0s linear ${duration$1}, opacity ${duration$1} ${easeOutQuad$1}, transform ${duration$1} ${easeOutQuad$1}`,
4054
+ },
4055
+ })), { [getMediaQueryMin('s')]: Object.assign({ top: `var(${cssVariableTop})`, bottom: 'auto', left: gridExtendedOffsetS, right: gridExtendedOffsetS }, (!isOpen && { transform: `translate3d(0,calc(-100% - var(${cssVariableTop})),0)` })), [getMediaQueryMin('xxl')]: {
4107
4056
  left: gridExtendedOffsetXXL,
4108
4057
  right: gridExtendedOffsetXXL,
4109
- } }), hostHiddenStyles))), { '&(.hydrated),&(.ssr)': {
4110
- [mediaQueryBaseToS]: getAnimationIn('mobileIn', cssVariableAnimationDuration),
4111
- [mediaQueryS$1]: getAnimationIn('desktopIn', cssVariableAnimationDuration),
4112
- }, '&(.banner--close)': {
4113
- [mediaQueryBaseToS]: getAnimationOut('mobileOut'),
4114
- [mediaQueryS$1]: getAnimationOut('desktopOut'),
4115
- } }),
4116
- '@keyframes mobileIn': getKeyframesMobile('in', cssVariableBottom),
4117
- '@keyframes mobileOut': getKeyframesMobile('out', cssVariableBottom),
4118
- '@keyframes desktopIn': getKeyframesDesktop('in', cssVariableTop),
4119
- '@keyframes desktopOut': getKeyframesDesktop('out', cssVariableTop),
4058
+ } }), hostHiddenStyles)),
4120
4059
  },
4121
4060
  });
4122
4061
  };
@@ -4135,7 +4074,7 @@ const getGroupDirectionJssStyles = (direction) => {
4135
4074
  return groupDirectionJssStyles[direction];
4136
4075
  };
4137
4076
 
4138
- const getComponentCss$U = (direction) => {
4077
+ const getComponentCss$W = (direction) => {
4139
4078
  return getCss({
4140
4079
  '@global': {
4141
4080
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4202,7 +4141,7 @@ const getLinkButtonPureStyles = (icon, iconSource, active, isDisabledOrLoading,
4202
4141
  }));
4203
4142
  };
4204
4143
 
4205
- const getComponentCss$T = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4144
+ const getComponentCss$V = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4206
4145
  const hasIcon = hasVisibleIcon(icon, iconSource);
4207
4146
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, false, theme), Object.assign({ root: {
4208
4147
  appearance: 'none',
@@ -4325,7 +4264,7 @@ align, compact, hasGradient, isDisabled) => {
4325
4264
  }));
4326
4265
  };
4327
4266
 
4328
- const getComponentCss$S = (isDisabledOrLoading, ...args) => {
4267
+ const getComponentCss$U = (isDisabledOrLoading, ...args) => {
4329
4268
  const buttonLinkTileStyles = getButtonLinkTileStyles(...args);
4330
4269
  return getCss(Object.assign(Object.assign({}, buttonLinkTileStyles), { root: Object.assign(Object.assign({}, buttonLinkTileStyles.root), { cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer' }) }));
4331
4270
  };
@@ -4405,7 +4344,7 @@ const getDisabledColors = (variant, loading, theme) => {
4405
4344
  };
4406
4345
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4407
4346
  };
4408
- const getComponentCss$R = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4347
+ const getComponentCss$T = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4409
4348
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4410
4349
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4411
4350
  const isPrimary = variant === 'primary';
@@ -4413,7 +4352,7 @@ const getComponentCss$R = (icon, iconSource, variant, hideLabel, disabled, loadi
4413
4352
  backgroundColor,
4414
4353
  borderColor,
4415
4354
  color: textColor,
4416
- })), ((loading && !isPrimary) && frostedGlassStyle)) }, (loading && {
4355
+ })), (loading && !isPrimary && frostedGlassStyle)) }, (loading && {
4417
4356
  spinner: {
4418
4357
  width: fontLineHeight,
4419
4358
  height: fontLineHeight,
@@ -4444,7 +4383,7 @@ const spacingMap = {
4444
4383
  basic: gridBasicOffset,
4445
4384
  extended: gridExtendedOffset,
4446
4385
  };
4447
- const getComponentCss$Q = (width, hasPagination, alignHeader, theme) => {
4386
+ const getComponentCss$S = (width, hasPagination, alignHeader, theme) => {
4448
4387
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
4449
4388
  const isHeaderAlignCenter = alignHeader === 'center';
4450
4389
  return getCss(Object.assign({ '@global': {
@@ -4598,7 +4537,7 @@ const getInlineSVGBackgroundImage = (path) => {
4598
4537
  return `url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">${path}</svg>')`;
4599
4538
  };
4600
4539
 
4601
- const getComponentCss$P = (hideLabel, state, isDisabled, theme) => {
4540
+ const getComponentCss$R = (hideLabel, state, isDisabled, theme) => {
4602
4541
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
4603
4542
  const indeterminateIconColor = getThemedColors(theme).primaryColor.replace(/#/g, '%23');
4604
4543
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
@@ -4623,7 +4562,7 @@ const widthMap = {
4623
4562
  basic: gridBasicOffset,
4624
4563
  extended: gridExtendedOffset,
4625
4564
  };
4626
- const getComponentCss$O = (width) => {
4565
+ const getComponentCss$Q = (width) => {
4627
4566
  return getCss({
4628
4567
  '@global': {
4629
4568
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4644,6 +4583,25 @@ const getComponentCss$O = (width) => {
4644
4583
  });
4645
4584
  };
4646
4585
 
4586
+ const getComponentCss$P = () => {
4587
+ return getCss({
4588
+ '@global': {
4589
+ ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
4590
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
4591
+ picture: {
4592
+ display: 'block',
4593
+ width: '30px',
4594
+ height: '40px',
4595
+ },
4596
+ img: {
4597
+ display: 'block',
4598
+ width: '100%',
4599
+ height: 'auto',
4600
+ },
4601
+ },
4602
+ });
4603
+ };
4604
+
4647
4605
  const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
4648
4606
 
4649
4607
  const getTypographyRootJssStyle = (baseTextStyle, responsiveStyle, align, color, ellipsis, theme) => {
@@ -4679,7 +4637,7 @@ const sizeMap$4 = {
4679
4637
  medium: fontSizeDisplayMedium,
4680
4638
  large: fontSizeDisplayLarge,
4681
4639
  };
4682
- const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4640
+ const getComponentCss$O = (size, align, color, ellipsis, theme) => {
4683
4641
  return getCss({
4684
4642
  '@global': {
4685
4643
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4693,7 +4651,7 @@ const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4693
4651
  });
4694
4652
  };
4695
4653
 
4696
- const getComponentCss$M = (color, orientation, theme) => {
4654
+ const getComponentCss$N = (color, orientation, theme) => {
4697
4655
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
4698
4656
  const colorMap = {
4699
4657
  'contrast-low': contrastLowColor,
@@ -4708,7 +4666,7 @@ const getComponentCss$M = (color, orientation, theme) => {
4708
4666
  });
4709
4667
  };
4710
4668
 
4711
- const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4669
+ const getComponentCss$M = (state, labelSize, hasLabel, theme) => {
4712
4670
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4713
4671
  margin: 0,
4714
4672
  padding: 0,
@@ -4722,7 +4680,7 @@ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4722
4680
  })));
4723
4681
  };
4724
4682
 
4725
- const getComponentCss$K = (state, labelSize, hasLabel, theme) => {
4683
+ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4726
4684
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4727
4685
  margin: 0,
4728
4686
  padding: 0,
@@ -4746,7 +4704,7 @@ const flexItemWidths = {
4746
4704
  full: 100,
4747
4705
  auto: 'auto',
4748
4706
  };
4749
- const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4707
+ const getComponentCss$K = (width, offset, alignSelf, grow, shrink, flex) => {
4750
4708
  return getCss({
4751
4709
  '@global': {
4752
4710
  ':host': addImportantToEachRule(Object.assign(Object.assign({ boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(width, (widthResponsive) => ({
@@ -4764,7 +4722,7 @@ const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4764
4722
  });
4765
4723
  };
4766
4724
 
4767
- const getComponentCss$I = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4725
+ const getComponentCss$J = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4768
4726
  return getCss({
4769
4727
  '@global': {
4770
4728
  ':host': addImportantToEachRule(mergeDeep(hostHiddenStyles, buildResponsiveStyles(inline, (inlineResponsive) => ({
@@ -4786,7 +4744,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
4786
4744
  const gridItemWidths = [
4787
4745
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
4788
4746
  ];
4789
- const getComponentCss$H = (size, offset) => {
4747
+ const getComponentCss$I = (size, offset) => {
4790
4748
  return getCss({
4791
4749
  '@global': {
4792
4750
  ':host': addImportantToEachRule(Object.assign(Object.assign({ paddingLeft: gutter$1, paddingRight: gutter$1, boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(size, (sizeResponsive) => ({
@@ -4800,7 +4758,7 @@ const getComponentCss$H = (size, offset) => {
4800
4758
  };
4801
4759
 
4802
4760
  const gutter = `calc(${gridGap} / -2)`;
4803
- const getComponentCss$G = (direction, wrap) => {
4761
+ const getComponentCss$H = (direction, wrap) => {
4804
4762
  return getCss({
4805
4763
  '@global': {
4806
4764
  ':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'flex', flex: 'auto', width: 'auto', marginLeft: gutter, marginRight: gutter }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(direction, (flexDirection) => ({ flexDirection })), buildResponsiveStyles(wrap, (flexWrap) => ({ flexWrap }))))),
@@ -4815,7 +4773,7 @@ const sizeMap$3 = {
4815
4773
  'x-large': fontSizeHeadingXLarge,
4816
4774
  'xx-large': fontSizeHeadingXXLarge,
4817
4775
  };
4818
- const getComponentCss$F = (size, align, color, ellipsis, theme) => {
4776
+ const getComponentCss$G = (size, align, color, ellipsis, theme) => {
4819
4777
  return getCss({
4820
4778
  '@global': {
4821
4779
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4869,7 +4827,7 @@ const getTextSizeJssStyle = (textSize) => {
4869
4827
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
4870
4828
  };
4871
4829
  };
4872
- const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4830
+ const getComponentCss$F = (variant, align, color, ellipsis, theme) => {
4873
4831
  return getCss({
4874
4832
  '@global': {
4875
4833
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4886,23 +4844,26 @@ const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4886
4844
  const toFilter = (values) => `invert(${values[0]}%) sepia(${values[1]}%) saturate(${values[2]}%) hue-rotate(${values[3]}deg) brightness(${values[4]}%) contrast(${values[5]}%)`;
4887
4845
 
4888
4846
  const filterLightContrastLow = toFilter([93, 11, 36, 201, 89, 102]);
4889
- const filterLightContrastMedium = toFilter([65, 6, 119, 187, 90, 92]);
4847
+ const filterLightContrastMedium = toFilter([45, 6, 235, 177, 91, 85]);
4890
4848
  const filterLightContrastHigh = toFilter([40, 2, 686, 187, 80, 94]);
4891
4849
  const filterDarkContrastLow = toFilter([20, 7, 421, 202, 97, 82]);
4892
- const filterDarkContrastMedium = toFilter([54, 4, 229, 187, 91, 84]);
4850
+ const filterDarkContrastMedium = toFilter([66, 3, 333, 187, 82, 86]);
4893
4851
  const filterDarkContrastHigh = toFilter([68, 6, 108, 187, 104, 88]);
4894
4852
 
4895
- const filterLightNotificationSuccess = toFilter([62, 61, 551, 86, 86, 80]);
4896
- const filterLightNotificationWarning = toFilter([74, 91, 343, 348, 92, 86]);
4897
- const filterLightNotificationError = toFilter([25, 62, 2003, 335, 100, 97]);
4853
+ const filterLightDisabled = toFilter([63, 8, 108, 188, 94, 86]);
4854
+ const filterDarkDisabled = toFilter([52, 6, 135, 187, 94, 89]);
4855
+
4856
+ const filterLightNotificationSuccess = toFilter([28, 89, 572, 71, 111, 98]);
4857
+ const filterLightNotificationWarning = toFilter([58, 53, 820, 12, 112, 103]);
4858
+ const filterLightNotificationError = toFilter([14, 75, 4140, 347, 100, 97]);
4898
4859
  const filterLightNotificationInfo = toFilter([44, 100, 492, 195, 86, 221]);
4899
- const filterDarkNotificationSuccess = toFilter([59, 22, 1342, 86, 96, 88]);
4900
- const filterDarkNotificationWarning = toFilter([72, 94, 303, 354, 89, 94]);
4901
- const filterDarkNotificationError = toFilter([28, 34, 3133, 333, 95, 100]);
4860
+ const filterDarkNotificationSuccess = toFilter([60, 71, 512, 106, 91, 97]);
4861
+ const filterDarkNotificationWarning = toFilter([75, 39, 759, 350, 109, 94]);
4862
+ const filterDarkNotificationError = toFilter([64, 91, 5857, 336, 98, 102]);
4902
4863
  const filterDarkNotificationInfo = toFilter([56, 77, 4175, 198, 104, 98]);
4903
4864
 
4904
4865
  const filterLightPrimary = toFilter([3, 7, 2930, 188, 91, 103]);
4905
- const filterDarkPrimary = toFilter([97, 55, 2840, 180, 114, 103]);
4866
+ const filterDarkPrimary = toFilter([100, 91, 38, 254, 110, 110]);
4906
4867
 
4907
4868
  const sizeMap$2 = {
4908
4869
  'xx-small': fontSizeTextXXSmall,
@@ -4915,7 +4876,7 @@ const sizeMap$2 = {
4915
4876
  const filter = {
4916
4877
  light: {
4917
4878
  primary: filterLightPrimary,
4918
- 'state-disabled': filterLightContrastMedium,
4879
+ 'state-disabled': filterLightDisabled,
4919
4880
  'contrast-low': filterLightContrastLow,
4920
4881
  'contrast-medium': filterLightContrastMedium,
4921
4882
  'contrast-high': filterLightContrastHigh,
@@ -4926,7 +4887,7 @@ const filter = {
4926
4887
  },
4927
4888
  dark: {
4928
4889
  primary: filterDarkPrimary,
4929
- 'state-disabled': filterDarkContrastMedium,
4890
+ 'state-disabled': filterDarkDisabled,
4930
4891
  'contrast-low': filterDarkContrastLow,
4931
4892
  'contrast-medium': filterDarkContrastMedium,
4932
4893
  'contrast-high': filterDarkContrastHigh,
@@ -4946,7 +4907,7 @@ const forceRerenderAnimationStyle = {
4946
4907
  };
4947
4908
  const keyFramesLight = 'rerender-light';
4948
4909
  const keyFramesDark = 'rerender-dark';
4949
- const getComponentCss$D = (color, size, theme) => {
4910
+ const getComponentCss$E = (color, size, theme) => {
4950
4911
  const isColorInherit = color === 'inherit';
4951
4912
  const isSizeInherit = size === 'inherit';
4952
4913
  const isDark = isThemeDark(theme);
@@ -5013,7 +4974,7 @@ const getNotificationContentJssStyle = () => ({
5013
4974
  });
5014
4975
 
5015
4976
  const mediaQueryMaxS = getMediaQueryMax('s');
5016
- const getComponentCss$C = (state, hasAction, hasClose, theme) => {
4977
+ const getComponentCss$D = (state, hasAction, hasClose, theme) => {
5017
4978
  return getCss(Object.assign({ '@global': {
5018
4979
  ':host': addImportantToEachRule(Object.assign(Object.assign({}, getNotificationRootJssStyle(state, hasAction, hasClose, theme)), hostHiddenStyles)),
5019
4980
  h5: headingSmallStyle,
@@ -5031,7 +4992,7 @@ const getComponentCss$C = (state, hasAction, hasClose, theme) => {
5031
4992
  })));
5032
4993
  };
5033
4994
 
5034
- const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
4995
+ const getComponentCss$C = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
5035
4996
  const { focusColor } = getThemedColors(theme);
5036
4997
  const hasIcon = hasVisibleIcon(icon, iconSource);
5037
4998
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, hasSlottedAnchor, theme), Object.assign(Object.assign({}, (hasSlottedAnchor && {
@@ -5058,7 +5019,7 @@ const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, a
5058
5019
  } })));
5059
5020
  };
5060
5021
 
5061
- const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5022
+ const getComponentCss$B = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5062
5023
  const { focusColor } = getThemedColors(theme);
5063
5024
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, theme), Object.assign({}, (hasSlottedAnchor && {
5064
5025
  '@global': addImportantToEachRule({
@@ -5085,7 +5046,7 @@ const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAncho
5085
5046
 
5086
5047
  const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS = ['h2', 'h3', 'h4', 'h5', 'h6'];
5087
5048
 
5088
- const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5049
+ const getComponentCss$A = (aspectRatio, weight, direction, hasDescription) => {
5089
5050
  const tileBaseStyles = getTileBaseStyles(aspectRatio);
5090
5051
  return getCss(Object.assign(Object.assign(Object.assign(Object.assign({}, tileBaseStyles), { '@global': Object.assign(Object.assign({}, tileBaseStyles['@global']), { [LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS.join(',')]: {
5091
5052
  margin: addImportantToRule(0),
@@ -5100,7 +5061,7 @@ const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5100
5061
  position: 'fixed' }, getInsetJssStyle()) }));
5101
5062
  };
5102
5063
 
5103
- const getComponentCss$y = (...args) => {
5064
+ const getComponentCss$z = (...args) => {
5104
5065
  return getCss(Object.assign(Object.assign({}, getButtonLinkTileStyles(...args)), { 'link-overlay': Object.assign({
5105
5066
  // covers entire tile, used for expanded click-area only
5106
5067
  position: 'fixed' }, getInsetJssStyle()) }));
@@ -5116,15 +5077,11 @@ const baseSizes = {
5116
5077
  height: '72px',
5117
5078
  },
5118
5079
  };
5119
- const getComponentCss$x = (size) => {
5080
+ const getComponentCss$y = (size) => {
5120
5081
  return getCss({
5121
5082
  '@global': {
5122
5083
  ':host': Object.assign({ position: 'relative', display: 'inline-flex', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
5123
- a: Object.assign({ display: 'block', textDecoration: 'none' }, getFocusJssStyle({
5124
- color: getThemedColors('light').primaryColor,
5125
- offset: 0,
5126
- pseudo: '::before',
5127
- })),
5084
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
5128
5085
  picture: Object.assign({ display: 'block' }, (size === 'responsive'
5129
5086
  ? Object.assign(Object.assign({}, baseSizes.small), { [getMediaQueryMin('l')]: baseSizes.medium }) : baseSizes[size])),
5130
5087
  img: {
@@ -5167,38 +5124,42 @@ const isFullscreenForXl = (fullscreen) => {
5167
5124
  const entries = Object.entries(fullscreenParsed);
5168
5125
  const [lastTrueBreakpoint] = entries.filter(([, val]) => val).pop() || [];
5169
5126
  const [lastFalseBreakpoint] = entries.filter(([, val]) => !val).pop() || [];
5170
- return BREAKPOINTS.indexOf(lastTrueBreakpoint) > BREAKPOINTS.indexOf(lastFalseBreakpoint);
5127
+ return breakpoints.indexOf(lastTrueBreakpoint) > breakpoints.indexOf(lastFalseBreakpoint);
5171
5128
  }
5172
5129
  };
5173
5130
  const getSlottedJssStyle = (marginValue, hasHeader, hasDismissButton) => {
5174
5131
  const marginPx = `${-marginValue}px`;
5175
- const marginRem = pxToRemWithUnit(-marginValue);
5176
5132
  return Object.assign(Object.assign({ [`&(.${stretchToFullModalWidthClassName})`]: {
5177
5133
  width: `calc(100% + ${marginValue * 2}px)`,
5178
5134
  margin: `0 ${marginPx}`,
5179
5135
  } }, (!hasHeader && {
5180
5136
  [`&(.${stretchToFullModalWidthClassName}:first-child)`]: {
5181
- marginTop: hasDismissButton ? marginRem : marginPx,
5137
+ marginTop: hasDismissButton ? pxToRemWithUnit(-marginValue) : marginPx,
5182
5138
  },
5183
5139
  })), { [`&(.${stretchToFullModalWidthClassName}:last-child)`]: {
5184
5140
  marginBottom: marginPx,
5185
5141
  } });
5186
5142
  };
5187
- const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5188
- const isFullscreenForXlAndXxl = isFullscreenForXl(fullscreen);
5143
+ const getComponentCss$x = (isOpen, isFullscreen, hasDismissButton, hasHeader) => {
5144
+ const isFullscreenForXlAndXxl = isFullscreenForXl(isFullscreen);
5145
+ const duration = isOpen ? '.6s' : '.2s';
5189
5146
  return getCss(Object.assign(Object.assign({ '@global': {
5190
- ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ position: 'fixed' }, getInsetJssStyle()), { zIndex: MODAL_Z_INDEX, display: 'flex', alignItems: 'center', justifyContent: 'center', flexWrap: 'wrap' }), (open
5147
+ ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ position: 'fixed' }, getInsetJssStyle()), { zIndex: MODAL_Z_INDEX, display: 'flex', alignItems: 'center', justifyContent: 'center', flexWrap: 'wrap' }), (isOpen
5191
5148
  ? {
5192
- opacity: 1,
5193
5149
  visibility: 'inherit',
5194
5150
  }
5195
5151
  : {
5196
- opacity: 0,
5197
5152
  visibility: 'hidden',
5153
+ transition: 'visibility 0s linear .2s',
5198
5154
  })), hostHiddenStyles), {
5199
5155
  // workaround via pseudo element to fix stacking (black) background in safari
5200
- '&::before': Object.assign(Object.assign(Object.assign(Object.assign({ content: '""', position: 'fixed' }, getInsetJssStyle()), { background: themeDarkBackgroundShading }), frostedGlassStyle), { pointerEvents: 'none' }) }))), { overflowY: 'auto' }),
5201
- '::slotted': addImportantToEachRule(Object.assign({}, mergeDeep(getSlottedJssStyle(32, hasHeader, hasDismissButton), buildResponsiveStyles(fullscreen, (fullscreenValue) => ({
5156
+ '&::before': Object.assign(Object.assign(Object.assign(Object.assign({ content: '""', position: 'fixed' }, getInsetJssStyle()), { background: themeDarkBackgroundShading, pointerEvents: 'none' }), (isOpen
5157
+ ? Object.assign({ opacity: 1 }, frostedGlassStyle) : {
5158
+ opacity: 0,
5159
+ backdropFilter: 'blur(0px)',
5160
+ WebkitBackdropFilter: 'blur(0px)',
5161
+ })), { transition: `opacity ${duration} ${transitionTimingFunction}, backdrop-filter ${duration} ${transitionTimingFunction},--webkit-backdrop-filter ${duration} ${transitionTimingFunction}` }) }))), { overflowY: 'auto' }),
5162
+ '::slotted': addImportantToEachRule(Object.assign({}, mergeDeep(getSlottedJssStyle(32, hasHeader, hasDismissButton), buildResponsiveStyles(isFullscreen, (fullscreenValue) => ({
5202
5163
  [`&(.${stretchToFullModalWidthClassName}`]: {
5203
5164
  '&:first-child)': {
5204
5165
  borderRadius: fullscreenValue ? 0 : '8px 8px 0 0',
@@ -5212,19 +5173,20 @@ const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5212
5173
  }, root: mergeDeep({
5213
5174
  position: 'relative',
5214
5175
  boxSizing: 'border-box',
5215
- transition: `transform .6s ${transitionTimingFunction}`,
5216
- transform: open ? 'scale3d(1,1,1)' : 'scale3d(.9,.9,1)',
5176
+ transform: isOpen ? 'scale3d(1,1,1)' : 'scale3d(.9,.9,1)',
5177
+ opacity: isOpen ? 1 : 0,
5178
+ transition: `opacity ${duration} ${transitionTimingFunction},transform ${duration} ${transitionTimingFunction}`,
5217
5179
  padding: hasDismissButton ? `${pxToRemWithUnit(32)} 32px 32px 32px` : '32px',
5218
5180
  background: backgroundColor,
5219
5181
  outline: 0,
5220
- '&:focus::before': Object.assign({ content: '""', position: 'fixed', border: `${borderWidthBase} solid`, pointerEvents: 'none' }, buildResponsiveStyles(fullscreen, (fullscreenValue) => (Object.assign({ borderRadius: fullscreenValue ? 0 : '12px', borderColor: fullscreenValue ? lightThemePrimaryColor : darkThemePrimaryColor }, getInsetJssStyle(fullscreenValue ? 0 : -4))))),
5182
+ '&:focus::before': Object.assign({ content: '""', position: 'fixed', border: `${borderWidthBase} solid`, pointerEvents: 'none' }, buildResponsiveStyles(isFullscreen, (fullscreenValue) => (Object.assign({ borderRadius: fullscreenValue ? 0 : '12px', borderColor: fullscreenValue ? lightThemePrimaryColor : darkThemePrimaryColor }, getInsetJssStyle(fullscreenValue ? 0 : -4))))),
5221
5183
  '&:not(:focus-visible)::before': {
5222
5184
  border: 0,
5223
5185
  },
5224
5186
  [mediaQueryXl]: {
5225
5187
  margin: isFullscreenForXlAndXxl ? 0 : `min(192px, 10vh) ${gridExtendedOffsetBase}`,
5226
5188
  },
5227
- }, buildResponsiveStyles(fullscreen, getFullscreenJssStyles)) }, (hasHeader && {
5189
+ }, buildResponsiveStyles(isFullscreen, getFullscreenJssStyles)) }, (hasHeader && {
5228
5190
  header: {
5229
5191
  padding: '0 0 8px',
5230
5192
  },
@@ -5252,7 +5214,7 @@ const colorToFilterMap = {
5252
5214
  'contrast-high': filterDarkContrastHigh,
5253
5215
  },
5254
5216
  };
5255
- const getComponentCss$v = (size, color, theme) => {
5217
+ const getComponentCss$w = (size, color, theme) => {
5256
5218
  const isSizeInherit = size === 'inherit';
5257
5219
  const isColorInherit = color === 'inherit';
5258
5220
  return getCss({
@@ -5271,7 +5233,7 @@ const disabledCursorStyle = {
5271
5233
  cursor: 'default',
5272
5234
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
5273
5235
  };
5274
- const getComponentCss$u = (maxNumberOfPageLinks, theme) => {
5236
+ const getComponentCss$v = (maxNumberOfPageLinks, theme) => {
5275
5237
  const { primaryColor, disabledColor, hoverColor, focusColor } = getThemedColors(theme);
5276
5238
  return getCss({
5277
5239
  '@global': {
@@ -5388,7 +5350,7 @@ const directionArrowMap = {
5388
5350
  },
5389
5351
  },
5390
5352
  };
5391
- const getComponentCss$t = (direction, theme) => {
5353
+ const getComponentCss$u = (direction, theme) => {
5392
5354
  const spacerBox = '-16px';
5393
5355
  const { hoverColor, focusColor } = getThemedColors(theme);
5394
5356
  return getCss({
@@ -5437,7 +5399,7 @@ const getComponentCss$t = (direction, theme) => {
5437
5399
  });
5438
5400
  };
5439
5401
 
5440
- const getComponentCss$s = (hideLabel, state, isDisabled, theme) => {
5402
+ const getComponentCss$t = (hideLabel, state, isDisabled, theme) => {
5441
5403
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
5442
5404
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
5443
5405
  '@global': {
@@ -5471,7 +5433,7 @@ const getGradient = (theme, gradientColorTheme) => {
5471
5433
  `rgba(${gradientColor},0.3) 68%,` +
5472
5434
  `rgba(${gradientColor},0)`);
5473
5435
  };
5474
- const getComponentCss$r = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5436
+ const getComponentCss$s = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5475
5437
  const { backgroundColor, backgroundSurfaceColor, focusColor, hoverColor } = getThemedColors(theme);
5476
5438
  const isDarkTheme = isThemeDark(theme);
5477
5439
  const backgroundColorMap = {
@@ -5564,7 +5526,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
5564
5526
  hoverBorderColor: primaryColor,
5565
5527
  };
5566
5528
  };
5567
- const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5529
+ const getComponentCss$r = (isDisabled, isSelected, hasIcon, theme) => {
5568
5530
  const { focusColor } = getThemedColors(theme);
5569
5531
  const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
5570
5532
  return getCss({
@@ -5598,7 +5560,7 @@ const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5598
5560
 
5599
5561
  const MIN_ITEM_WIDTH = 46;
5600
5562
  const MAX_ITEM_WIDTH = 220;
5601
- const getComponentCss$p = (maxWidth) => {
5563
+ const getComponentCss$q = (maxWidth) => {
5602
5564
  maxWidth = (maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && MIN_ITEM_WIDTH) || maxWidth;
5603
5565
  return getCss({
5604
5566
  '@global': {
@@ -5657,7 +5619,7 @@ const getLabelStyles = (child, isDisabled, hideLabel, state, theme, counterOrUni
5657
5619
  }));
5658
5620
  };
5659
5621
  const ICON_SPACE = `${24 + 13 * 2 + 2}px`; // 24px = icon width, 13px * 2 = padding, 2px = border
5660
- const getComponentCss$o = (isDisabled, hideLabel, state, theme) => {
5622
+ const getComponentCss$p = (isDisabled, hideLabel, state, theme) => {
5661
5623
  return getCss(Object.assign(Object.assign(Object.assign({ '@global': addImportantToEachRule(Object.assign({ ':host': Object.assign({ display: 'block' }, hostHiddenStyles) }, getBaseChildStyles('select', state, theme, {
5662
5624
  position: 'static',
5663
5625
  zIndex: 0,
@@ -5689,7 +5651,7 @@ const sizeMap$1 = {
5689
5651
  large: { height: sizeLarge, width: sizeLarge },
5690
5652
  inherit: { height: 'inherit', width: 'inherit' },
5691
5653
  };
5692
- const getComponentCss$m = (size, theme) => {
5654
+ const getComponentCss$n = (size, theme) => {
5693
5655
  const strokeDasharray = '57'; // C = 2πR
5694
5656
  const animationDuration = 'var(--p-animation-duration, 2s)';
5695
5657
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
@@ -5767,7 +5729,7 @@ const getSVGPath = (stepCount, numberedCircleColors, isStateCurrent) => {
5767
5729
  ];
5768
5730
  return svgNumberedCirclePaths[stepCount];
5769
5731
  };
5770
- const getComponentCss$l = (state, disabled, theme) => {
5732
+ const getComponentCss$m = (state, disabled, theme) => {
5771
5733
  const { primaryColor, hoverColor, disabledColor, focusColor } = getThemedColors(theme);
5772
5734
  const isStateCurrent = state === 'current';
5773
5735
  const isStateCurrentOrUndefined = !state || isStateCurrent;
@@ -5807,7 +5769,7 @@ const getComponentCss$l = (state, disabled, theme) => {
5807
5769
  })), { 'sr-only': getScreenReaderOnlyJssStyle() }));
5808
5770
  };
5809
5771
 
5810
- const getComponentCss$k = (size) => {
5772
+ const getComponentCss$l = (size) => {
5811
5773
  return getCss({
5812
5774
  '@global': {
5813
5775
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -5833,7 +5795,7 @@ const getColors$1 = (checked, disabled, loading, theme) => {
5833
5795
  textColor: disabledOrLoadingColor || primaryColor,
5834
5796
  };
5835
5797
  };
5836
- const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5798
+ const getComponentCss$k = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5837
5799
  const { buttonBorderColor, buttonBorderColorHover, buttonBackgroundColor, buttonBackgroundColorHover, toggleBackgroundColor, toggleBackgroundColorHover, textColor, } = getColors$1(checked, disabled, loading, theme);
5838
5800
  const { focusColor } = getThemedColors(theme);
5839
5801
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -5886,7 +5848,7 @@ const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, lo
5886
5848
  })), buildResponsiveStyles(hideLabel, getTextHiddenJssStyle))) }));
5887
5849
  };
5888
5850
 
5889
- const getComponentCss$i = () => {
5851
+ const getComponentCss$j = () => {
5890
5852
  return getCss({
5891
5853
  '@global': {
5892
5854
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row-group' }, hostHiddenStyles)),
@@ -5894,7 +5856,7 @@ const getComponentCss$i = () => {
5894
5856
  });
5895
5857
  };
5896
5858
 
5897
- const getComponentCss$h = (multiline) => {
5859
+ const getComponentCss$i = (multiline) => {
5898
5860
  return getCss({
5899
5861
  '@global': {
5900
5862
  ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: spacingFluidSmall, margin: 0, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
@@ -5910,7 +5872,7 @@ const isSortable = (active, direction) => {
5910
5872
  const cssVariableTableHoverColor = '--p-internal-table-hover-color';
5911
5873
  const cssVariableTableBorderColor = '--p-internal-table-border-color';
5912
5874
  const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
5913
- const getComponentCss$g = (theme) => {
5875
+ const getComponentCss$h = (theme) => {
5914
5876
  const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
5915
5877
  return getCss({
5916
5878
  '@global': {
@@ -5936,7 +5898,7 @@ const getComponentCss$g = (theme) => {
5936
5898
  const { hoverColor, focusColor } = getThemedColors('light'); // hover color and focus color are the same for light and dark
5937
5899
  const buttonBeforeOffsetVertical = '-2px';
5938
5900
  const buttonBeforeOffsetHorizontal = '-4px';
5939
- const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5901
+ const getComponentCss$g = (active, direction, hideLabel, multiline) => {
5940
5902
  const sortable = isSortable(active, direction);
5941
5903
  return getCss(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'table-cell', padding: `2px ${spacingFluidSmall} ${spacingFluidSmall}`, verticalAlign: 'bottom', whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles)) }, (sortable
5942
5904
  ? {
@@ -5976,7 +5938,7 @@ const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5976
5938
  })));
5977
5939
  };
5978
5940
 
5979
- const getComponentCss$e = () => {
5941
+ const getComponentCss$f = () => {
5980
5942
  return getCss({
5981
5943
  '@global': {
5982
5944
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row' }, hostHiddenStyles)),
@@ -5984,7 +5946,7 @@ const getComponentCss$e = () => {
5984
5946
  });
5985
5947
  };
5986
5948
 
5987
- const getComponentCss$d = () => {
5949
+ const getComponentCss$e = () => {
5988
5950
  return getCss({
5989
5951
  '@global': {
5990
5952
  ':host': addImportantToEachRule(Object.assign({ display: 'table-header-group', fontSize: fontSizeTextXSmall, lineHeight: fontLineHeight, fontWeight: fontWeightSemiBold }, hostHiddenStyles)),
@@ -5992,7 +5954,7 @@ const getComponentCss$d = () => {
5992
5954
  });
5993
5955
  };
5994
5956
 
5995
- const getComponentCss$c = () => {
5957
+ const getComponentCss$d = () => {
5996
5958
  return getCss({
5997
5959
  '@global': {
5998
5960
  ':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'table-row', borderTop: `1px solid var(${cssVariableTableBorderColor})`, borderBottom: `1px solid var(${cssVariableTableBorderColor})`, transition: getTransition('background') }, hostHiddenStyles), hoverMediaQuery({
@@ -6007,7 +5969,7 @@ const getComponentCss$c = () => {
6007
5969
 
6008
5970
  const tabsTransitionDuration = '.4s';
6009
5971
  const transformSelector = (selector) => ['a', 'button'].map((tag) => selector.replace(/\[role]/g, tag)).join();
6010
- const getComponentCss$b = (size, weight, theme) => {
5972
+ const getComponentCss$c = (size, weight, theme) => {
6011
5973
  const { primaryColor, hoverColor, focusColor } = getThemedColors(theme);
6012
5974
  return getCss({
6013
5975
  '@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(Object.assign({ position: 'relative',
@@ -6046,7 +6008,7 @@ const getComponentCss$b = (size, weight, theme) => {
6046
6008
  });
6047
6009
  };
6048
6010
 
6049
- const getComponentCss$a = (theme) => {
6011
+ const getComponentCss$b = (theme) => {
6050
6012
  const { primaryColor, focusColor } = getThemedColors(theme);
6051
6013
  return getCss({
6052
6014
  '@global': {
@@ -6060,7 +6022,7 @@ const getComponentCss$a = (theme) => {
6060
6022
  });
6061
6023
  };
6062
6024
 
6063
- const getComponentCss$9 = () => {
6025
+ const getComponentCss$a = () => {
6064
6026
  return getCss({
6065
6027
  '@global': {
6066
6028
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6092,7 +6054,7 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
6092
6054
  return colorMap[tagColor];
6093
6055
  };
6094
6056
 
6095
- const getComponentCss$8 = (color, hasLabel, theme) => {
6057
+ const getComponentCss$9 = (color, hasLabel, theme) => {
6096
6058
  const themedColors = getThemedColors(theme);
6097
6059
  const { primaryColor, hoverColor, contrastHighColor } = themedColors;
6098
6060
  const backgroundColor = getThemedBackgroundColor(color, themedColors);
@@ -6142,7 +6104,7 @@ const getColors = (themedColors, tagColor, theme) => {
6142
6104
  backgroundHoverColor: getThemedBackgroundHoverColor(tagColor, themedColors, theme),
6143
6105
  };
6144
6106
  };
6145
- const getComponentCss$7 = (tagColor, isFocusable, theme) => {
6107
+ const getComponentCss$8 = (tagColor, isFocusable, theme) => {
6146
6108
  const themedColors = getThemedColors(theme);
6147
6109
  const { primaryColor, backgroundColor, backgroundHoverColor } = getColors(themedColors, tagColor, theme);
6148
6110
  return getCss({
@@ -6199,7 +6161,7 @@ const getButtonOrIconOffsetHorizontal = (buttonOrIconAmount) => {
6199
6161
  const multiplier = buttonOrIconAmount > 1 ? ` + ${buttonOrIconSize} * ${buttonOrIconAmount - 1}` : '';
6200
6162
  return `calc(${buttonOrIconOffset} + ${borderWidthBase}${multiplier})`;
6201
6163
  };
6202
- const getComponentCss$6 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6164
+ const getComponentCss$7 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6203
6165
  const { contrastMediumColor } = getThemedColors(theme);
6204
6166
  const isSearch = isType(inputType, 'search');
6205
6167
  const isPassword = isType(inputType, 'password');
@@ -6255,7 +6217,7 @@ const cssVariableUnorderedPaddingLeft = '--p-internal-text-list-unordered-paddin
6255
6217
  const cssVariableOrderedPaddingLeft = '--p-internal-text-list-ordered-padding-left';
6256
6218
  const cssVariableListStyleType = '--p-internal-text-list-list-style-type';
6257
6219
  const counter = 'p-text-list-counter';
6258
- const getComponentCss$5 = (type, theme) => {
6220
+ const getComponentCss$6 = (type, theme) => {
6259
6221
  const isOrderedList = isListTypeOrdered(type);
6260
6222
  return getCss({
6261
6223
  '@global': {
@@ -6281,7 +6243,7 @@ const getComponentCss$5 = (type, theme) => {
6281
6243
  });
6282
6244
  };
6283
6245
 
6284
- const getComponentCss$4 = () => {
6246
+ const getComponentCss$5 = () => {
6285
6247
  return getCss({
6286
6248
  '@global': addImportantToEachRule({
6287
6249
  ':host': Object.assign({ display: 'list-item', position: 'relative', font: 'inherit', color: 'inherit', listStyleType: 'inherit', paddingLeft: spacingStaticMedium }, hostHiddenStyles),
@@ -6302,7 +6264,7 @@ const sizeMap = {
6302
6264
  large: fontSizeTextLarge,
6303
6265
  'x-large': fontSizeTextXLarge,
6304
6266
  };
6305
- const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6267
+ const getComponentCss$4 = (size, weight, align, color, ellipsis, theme) => {
6306
6268
  return getCss({
6307
6269
  '@global': {
6308
6270
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6317,7 +6279,7 @@ const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6317
6279
  });
6318
6280
  };
6319
6281
 
6320
- const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6282
+ const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6321
6283
  const { contrastMediumColor } = getThemedColors(theme);
6322
6284
  return getCss(Object.assign(Object.assign(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)) }, mergeDeep(addImportantToEachRule(getBaseChildStyles('textarea', state, theme, {
6323
6285
  font: textSmallStyle.font,
@@ -6344,8 +6306,28 @@ const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6344
6306
 
6345
6307
  const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
6346
6308
  const cssVariablePositionBottomInternal = '--p-internal-toast-position-bottom';
6309
+ const easeInQuad = 'cubic-bezier(0.45,0,0.55,1)';
6310
+ const easeOutQuad = 'cubic-bezier(0.5,1,0.89,1)';
6311
+ const ANIMATION_DURATION = 600;
6312
+ const duration = `${ANIMATION_DURATION}ms`;
6313
+ const getKeyframes = (direction, outsideStyle) => {
6314
+ const insideStyle = { opacity: 1, transform: 'translate3d(0,0,0)' };
6315
+ return direction === 'in'
6316
+ ? {
6317
+ from: outsideStyle,
6318
+ to: insideStyle,
6319
+ }
6320
+ : {
6321
+ from: insideStyle,
6322
+ to: outsideStyle,
6323
+ };
6324
+ };
6325
+ const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
6326
+ opacity: 0,
6327
+ transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
6328
+ });
6347
6329
  const toastCloseClassName = 'close';
6348
- const getComponentCss = () => {
6330
+ const getComponentCss$1 = () => {
6349
6331
  return getCss({
6350
6332
  '@global': {
6351
6333
  ':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridExtendedOffsetBase, right: gridExtendedOffsetBase,
@@ -6360,68 +6342,88 @@ const getComponentCss = () => {
6360
6342
  '@keyframes in': getKeyframesMobile('in', cssVariablePositionBottomInternal),
6361
6343
  '@keyframes out': getKeyframesMobile('out', cssVariablePositionBottomInternal),
6362
6344
  },
6363
- hydrated: getAnimationIn('in', "production" !== 'production' ),
6364
- [toastCloseClassName]: getAnimationOut('out'),
6345
+ hydrated: {
6346
+ animation: `${duration} $in ${easeInQuad} forwards`,
6347
+ },
6348
+ [toastCloseClassName]: {
6349
+ animation: addImportantToRule(`${ANIMATION_DURATION}ms $out ${easeOutQuad} forwards`),
6350
+ },
6351
+ });
6352
+ };
6353
+
6354
+ const getComponentCss = (size, theme) => {
6355
+ return getCss({
6356
+ '@global': {
6357
+ ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign(Object.assign({ outline: 0, boxSizing: 'content-box' }, (!(size === 'inherit') && { height: 'clamp(0.63rem, 0.42vw + 0.5rem, 1rem)' })), hostHiddenStyles))),
6358
+ a: Object.assign({ display: 'block', textDecoration: 'none', height: 'inherit' }, focusPseudoJssStyle),
6359
+ svg: {
6360
+ display: 'block',
6361
+ height: 'inherit',
6362
+ fill: getThemedColors(theme).primaryColor,
6363
+ },
6364
+ },
6365
6365
  });
6366
6366
  };
6367
6367
 
6368
- exports.getAccordionCss = getComponentCss$W;
6369
- exports.getBannerCss = getComponentCss$V;
6370
- exports.getButtonCss = getComponentCss$R;
6371
- exports.getButtonGroupCss = getComponentCss$U;
6372
- exports.getButtonPureCss = getComponentCss$T;
6373
- exports.getButtonTileCss = getComponentCss$S;
6374
- exports.getCarouselCss = getComponentCss$Q;
6375
- exports.getCheckboxWrapperCss = getComponentCss$P;
6376
- exports.getContentWrapperCss = getComponentCss$O;
6377
- exports.getDisplayCss = getComponentCss$N;
6378
- exports.getDividerCss = getComponentCss$M;
6379
- exports.getFieldsetCss = getComponentCss$K;
6380
- exports.getFieldsetWrapperCss = getComponentCss$L;
6381
- exports.getFlexCss = getComponentCss$I;
6382
- exports.getFlexItemCss = getComponentCss$J;
6368
+ exports.getAccordionCss = getComponentCss$Y;
6369
+ exports.getBannerCss = getComponentCss$X;
6370
+ exports.getButtonCss = getComponentCss$T;
6371
+ exports.getButtonGroupCss = getComponentCss$W;
6372
+ exports.getButtonPureCss = getComponentCss$V;
6373
+ exports.getButtonTileCss = getComponentCss$U;
6374
+ exports.getCarouselCss = getComponentCss$S;
6375
+ exports.getCheckboxWrapperCss = getComponentCss$R;
6376
+ exports.getContentWrapperCss = getComponentCss$Q;
6377
+ exports.getCrestCss = getComponentCss$P;
6378
+ exports.getDisplayCss = getComponentCss$O;
6379
+ exports.getDividerCss = getComponentCss$N;
6380
+ exports.getFieldsetCss = getComponentCss$L;
6381
+ exports.getFieldsetWrapperCss = getComponentCss$M;
6382
+ exports.getFlexCss = getComponentCss$J;
6383
+ exports.getFlexItemCss = getComponentCss$K;
6383
6384
  exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
6384
6385
  exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
6385
- exports.getGridCss = getComponentCss$G;
6386
- exports.getGridItemCss = getComponentCss$H;
6387
- exports.getHeadingCss = getComponentCss$F;
6388
- exports.getHeadlineCss = getComponentCss$E;
6389
- exports.getIconCss = getComponentCss$D;
6390
- exports.getInlineNotificationCss = getComponentCss$C;
6391
- exports.getLinkCss = getComponentCss$A;
6392
- exports.getLinkPureCss = getComponentCss$B;
6393
- exports.getLinkSocialCss = getComponentCss$A;
6394
- exports.getLinkTileCss = getComponentCss$y;
6395
- exports.getLinkTileModelSignatureCss = getComponentCss$z;
6396
- exports.getMarqueCss = getComponentCss$x;
6397
- exports.getModalCss = getComponentCss$w;
6398
- exports.getModelSignatureCss = getComponentCss$v;
6399
- exports.getPaginationCss = getComponentCss$u;
6400
- exports.getPopoverCss = getComponentCss$t;
6401
- exports.getRadioButtonWrapperCss = getComponentCss$s;
6402
- exports.getScrollerCss = getComponentCss$r;
6403
- exports.getSegmentedControlCss = getComponentCss$p;
6404
- exports.getSegmentedControlItemCss = getComponentCss$q;
6405
- exports.getSelectWrapperCss = getComponentCss$o;
6406
- exports.getSpinnerCss = getComponentCss$m;
6407
- exports.getStepperHorizontalCss = getComponentCss$k;
6408
- exports.getStepperHorizontalItemCss = getComponentCss$l;
6409
- exports.getSwitchCss = getComponentCss$j;
6410
- exports.getTableBodyCss = getComponentCss$i;
6411
- exports.getTableCellCss = getComponentCss$h;
6412
- exports.getTableCss = getComponentCss$g;
6413
- exports.getTableHeadCellCss = getComponentCss$f;
6414
- exports.getTableHeadCss = getComponentCss$d;
6415
- exports.getTableHeadRowCss = getComponentCss$e;
6416
- exports.getTableRowCss = getComponentCss$c;
6417
- exports.getTabsBarCss = getComponentCss$b;
6418
- exports.getTabsCss = getComponentCss$9;
6419
- exports.getTabsItemCss = getComponentCss$a;
6420
- exports.getTagCss = getComponentCss$7;
6421
- exports.getTagDismissibleCss = getComponentCss$8;
6422
- exports.getTextCss = getComponentCss$3;
6423
- exports.getTextFieldWrapperCss = getComponentCss$6;
6424
- exports.getTextListCss = getComponentCss$5;
6425
- exports.getTextListItemCss = getComponentCss$4;
6426
- exports.getTextareaWrapperCss = getComponentCss$2;
6427
- exports.getToastCss = getComponentCss;
6386
+ exports.getGridCss = getComponentCss$H;
6387
+ exports.getGridItemCss = getComponentCss$I;
6388
+ exports.getHeadingCss = getComponentCss$G;
6389
+ exports.getHeadlineCss = getComponentCss$F;
6390
+ exports.getIconCss = getComponentCss$E;
6391
+ exports.getInlineNotificationCss = getComponentCss$D;
6392
+ exports.getLinkCss = getComponentCss$B;
6393
+ exports.getLinkPureCss = getComponentCss$C;
6394
+ exports.getLinkSocialCss = getComponentCss$B;
6395
+ exports.getLinkTileCss = getComponentCss$z;
6396
+ exports.getLinkTileModelSignatureCss = getComponentCss$A;
6397
+ exports.getMarqueCss = getComponentCss$y;
6398
+ exports.getModalCss = getComponentCss$x;
6399
+ exports.getModelSignatureCss = getComponentCss$w;
6400
+ exports.getPaginationCss = getComponentCss$v;
6401
+ exports.getPopoverCss = getComponentCss$u;
6402
+ exports.getRadioButtonWrapperCss = getComponentCss$t;
6403
+ exports.getScrollerCss = getComponentCss$s;
6404
+ exports.getSegmentedControlCss = getComponentCss$q;
6405
+ exports.getSegmentedControlItemCss = getComponentCss$r;
6406
+ exports.getSelectWrapperCss = getComponentCss$p;
6407
+ exports.getSpinnerCss = getComponentCss$n;
6408
+ exports.getStepperHorizontalCss = getComponentCss$l;
6409
+ exports.getStepperHorizontalItemCss = getComponentCss$m;
6410
+ exports.getSwitchCss = getComponentCss$k;
6411
+ exports.getTableBodyCss = getComponentCss$j;
6412
+ exports.getTableCellCss = getComponentCss$i;
6413
+ exports.getTableCss = getComponentCss$h;
6414
+ exports.getTableHeadCellCss = getComponentCss$g;
6415
+ exports.getTableHeadCss = getComponentCss$e;
6416
+ exports.getTableHeadRowCss = getComponentCss$f;
6417
+ exports.getTableRowCss = getComponentCss$d;
6418
+ exports.getTabsBarCss = getComponentCss$c;
6419
+ exports.getTabsCss = getComponentCss$a;
6420
+ exports.getTabsItemCss = getComponentCss$b;
6421
+ exports.getTagCss = getComponentCss$8;
6422
+ exports.getTagDismissibleCss = getComponentCss$9;
6423
+ exports.getTextCss = getComponentCss$4;
6424
+ exports.getTextFieldWrapperCss = getComponentCss$7;
6425
+ exports.getTextListCss = getComponentCss$6;
6426
+ exports.getTextListItemCss = getComponentCss$5;
6427
+ exports.getTextareaWrapperCss = getComponentCss$3;
6428
+ exports.getToastCss = getComponentCss$1;
6429
+ exports.getWordmarkCss = getComponentCss;