@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
@@ -15,8 +15,6 @@ hasWindow &&
15
15
  .forEach((mutation) => { var _a; return (_a = attributeMutationMap.get(mutation.target)) === null || _a === void 0 ? void 0 : _a(); });
16
16
  });
17
17
 
18
- // TODO: resolve overlap with Breakpoint type from utilities package
19
- const BREAKPOINTS = ['base', 'xs', 's', 'm', 'l', 'xl'];
20
18
  const parseJSON = (prop) => {
21
19
  if (typeof prop === 'string') {
22
20
  try {
@@ -53,6 +51,8 @@ const dropShadowHighStyle = {
53
51
  filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
54
52
  };
55
53
 
54
+ const themeLightStateFocus = '#1A44EA';
55
+
56
56
  const fontFamily = "'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
57
57
 
58
58
  const fontHyphenationStyle = {
@@ -231,14 +231,12 @@ const gridNarrowOffset = {
231
231
  xxl: gridNarrowOffsetXXL,
232
232
  };
233
233
 
234
+ const breakpoints = ['base', 'xs', 's', 'm', 'l', 'xl', 'xxl'];
235
+
234
236
  function getMediaQueryMax(max) {
235
237
  return `@media(max-width:${breakpoint[max] - 1}px)`;
236
238
  }
237
239
 
238
- function getMediaQueryMinMax(min, max) {
239
- return `@media(min-width:${breakpoint[min]}px) and (max-width:${breakpoint[max] - 1}px)`;
240
- }
241
-
242
240
  const spacingStaticXSmall = '4px';
243
241
 
244
242
  const spacingStaticSmall = '8px';
@@ -307,10 +305,7 @@ const textLargeStyle = {
307
305
  ...fontHyphenationStyle,
308
306
  };
309
307
 
310
- // TODO: we shouldn't exclude xxl breakpoint
311
- const mediaQueries = Object.entries(breakpoint)
312
- .filter(([key]) => key !== 'xxl')
313
- .map(([, val]) => `(min-width:${val}px)`);
308
+ const mediaQueries = Object.values(breakpoint).map((v) => `(min-width:${v}px)`);
314
309
  hasWindow && window.matchMedia ? mediaQueries.map(window.matchMedia) : [];
315
310
 
316
311
  Object.entries(breakpoint).reduce((result, [key, val]) => (Object.assign(Object.assign({}, result), { [`${val}px`]: key })), {});
@@ -3711,7 +3706,7 @@ const themeLight = {
3711
3706
  backgroundSurfaceColorDarken: '#CBCED7',
3712
3707
  backgroundSurfaceColorLighten: '#FFFFFF',
3713
3708
  contrastLowColor: '#D8D8DB',
3714
- contrastMediumColor: '#949598',
3709
+ contrastMediumColor: '#6B6D70',
3715
3710
  contrastHighColor: '#535457',
3716
3711
  contrastHighColorDarken: '#353638',
3717
3712
  contrastHighColorLighten: '#717276',
@@ -3720,24 +3715,24 @@ const themeLight = {
3720
3715
  activeColor: 'rgba(148, 149, 152, 0.20)',
3721
3716
  focusColor: '#1A44EA',
3722
3717
  disabledColor: '#949598',
3723
- errorColor: '#E7323B',
3724
- errorColorDarken: '#C51720',
3725
- errorSoftColor: '#FCE8E9',
3726
- errorSoftColorDarken: '#EED7D9',
3718
+ errorColor: '#CC1922',
3719
+ errorColorDarken: '#951219',
3720
+ errorSoftColor: '#FFE2E4',
3721
+ errorSoftColorDarken: '#F4CED1',
3727
3722
  errorSoftColorLighten: '#FFFFFF',
3728
- successColor: '#32B85B',
3729
- successColorDarken: '#258843',
3730
- successSoftColor: '#EBFAF0',
3731
- successSoftColorDarken: '#DDEAE1',
3723
+ successColor: '#197E10',
3724
+ successColorDarken: '#0E4809',
3725
+ successSoftColor: '#E4FFEC',
3726
+ successSoftColorDarken: '#D0F4DB',
3732
3727
  successSoftColorLighten: '#FFFFFF',
3733
- warningColor: '#FECC1B',
3734
- warningSoftColor: '#FFF9E6',
3735
- warningSoftColorDarken: '#F5ECD2',
3736
- warningSoftColorLighten: '#FFFFFF',
3737
- infoColor: '#1E5BEB',
3738
- infoSoftColor: '#E8EEFD',
3739
- infoSoftColorDarken: '#D6DEF0',
3740
- infoSoftColorLighten: '#FFFFFF'
3728
+ warningColor: '#F3BE00',
3729
+ warningSoftColor: '#FFF4D2',
3730
+ warningSoftColorDarken: '#F1E5C1',
3731
+ warningSoftColorLighten: '#FCFAF3',
3732
+ infoColor: '#2762EC',
3733
+ infoSoftColor: '#D3E1FF',
3734
+ infoSoftColorDarken: '#C2D1F1',
3735
+ infoSoftColorLighten: '#F4F7FD'
3741
3736
  };
3742
3737
  const themeDark = {
3743
3738
  primaryColor: '#FBFCFF',
@@ -3749,7 +3744,7 @@ const themeDark = {
3749
3744
  backgroundSurfaceColorDarken: '#040405',
3750
3745
  backgroundSurfaceColorLighten: '#3E4045',
3751
3746
  contrastLowColor: '#404044',
3752
- contrastMediumColor: '#7E7F82',
3747
+ contrastMediumColor: '#88898C',
3753
3748
  contrastHighColor: '#AFB0B3',
3754
3749
  contrastHighColorDarken: '#909195',
3755
3750
  contrastHighColorLighten: '#CECFD1',
@@ -3758,24 +3753,24 @@ const themeDark = {
3758
3753
  activeColor: 'rgba(126, 127, 130, 0.20)',
3759
3754
  focusColor: '#1A44EA',
3760
3755
  disabledColor: '#7E7F82',
3761
- errorColor: '#CB3333',
3762
- errorColorDarken: '#9A2727',
3763
- errorSoftColor: '#290A0A',
3764
- errorSoftColorDarken: '#0D0808',
3765
- errorSoftColorLighten: '#331F1F',
3766
- successColor: '#00C77E',
3767
- successColorDarken: '#008A57',
3756
+ errorColor: '#FC4040',
3757
+ errorColorDarken: '#FB0404',
3758
+ errorSoftColor: '#3A0F0F',
3759
+ errorSoftColorDarken: '#1A1111',
3760
+ errorSoftColorLighten: '#3F2828',
3761
+ successColor: '#09D087',
3762
+ successColorDarken: '#069561',
3768
3763
  successSoftColor: '#003320',
3769
3764
  successSoftColorDarken: '#04110C',
3770
3765
  successSoftColorLighten: '#0F432F',
3771
- warningColor: '#DDB84B',
3772
- warningSoftColor: '#2B2208',
3773
- warningSoftColorDarken: '#0D0C07',
3774
- warningSoftColorLighten: '#362F1C',
3775
- infoColor: '#027FFC',
3776
- infoSoftColor: '#001A33',
3777
- infoSoftColorDarken: '#040A11',
3778
- infoSoftColorLighten: '#0F2943'
3766
+ warningColor: '#F7CB47',
3767
+ warningSoftColor: '#362B0A',
3768
+ warningSoftColorDarken: '#16130B',
3769
+ warningSoftColorLighten: '#3E3720',
3770
+ infoColor: '#178BFF',
3771
+ infoSoftColor: '#04294E',
3772
+ infoSoftColorDarken: '#0C1A27',
3773
+ infoSoftColorLighten: '#1A3856'
3779
3774
  };
3780
3775
  const themes = {
3781
3776
  'light': themeLight,
@@ -3823,35 +3818,12 @@ const getResetInitialStylesForSlottedAnchor = {
3823
3818
  borderRadius: 0,
3824
3819
  background: 'transparent',
3825
3820
  };
3826
- const getFocusJssStyle = (opts) => {
3827
- const { pseudo, offset: outlineOffset, color: outlineColor, } = Object.assign({ color: 'currentColor', offset: 2 }, opts);
3828
- return pseudo
3829
- ? {
3830
- outline: 0,
3831
- '&::-moz-focus-inner': {
3832
- border: 0,
3833
- },
3834
- [`&${pseudo}`]: Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { outline: '1px solid transparent', outlineOffset: `${outlineOffset}px` }),
3835
- [`&:focus${pseudo}`]: {
3836
- outlineColor,
3837
- },
3838
- [`&:focus:not(:focus-visible)${pseudo}`]: {
3839
- outlineColor: 'transparent',
3840
- },
3841
- }
3842
- : {
3843
- outline: '1px solid transparent',
3844
- outlineOffset: `${outlineOffset}px`,
3845
- '&::-moz-focus-inner': {
3846
- border: 0,
3847
- },
3848
- '&:focus': {
3849
- outlineColor,
3850
- },
3851
- '&:focus:not(:focus-visible)': {
3852
- outlineColor: 'transparent',
3853
- },
3854
- };
3821
+ const focusPseudoJssStyle = {
3822
+ outline: 0,
3823
+ '&:focus::before': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { borderRadius: '1px', outline: `${borderWidthBase} solid ${themeLightStateFocus}`, outlineOffset: '2px' }),
3824
+ '&:focus:not(:focus-visible)::before': {
3825
+ outline: 0,
3826
+ },
3855
3827
  };
3856
3828
  const getTextHiddenJssStyle = (isHidden) => isHidden
3857
3829
  ? getScreenReaderOnlyJssStyle()
@@ -3975,11 +3947,11 @@ const formatObjectOutput = (value) => {
3975
3947
  .replace(/^"(.+)"$/, '$1'); // remove wrapping double quotes
3976
3948
  };
3977
3949
  'value, ' +
3978
- formatObjectOutput(BREAKPOINTS.reduce((prev, key) => (Object.assign(Object.assign({}, prev), { [key + (key !== 'base' ? '?' : '')]: 'value' })), {})).replace(/"/g, '');
3950
+ formatObjectOutput(breakpoints.reduce((prev, key) => (Object.assign(Object.assign({}, prev), { [key + (key !== 'base' ? '?' : '')]: 'value' })), {})).replace(/"/g, '');
3979
3951
 
3980
3952
  const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
3981
3953
 
3982
- const getComponentCss$W = (size, compact, open, theme) => {
3954
+ const getComponentCss$Y = (size, compact, open, theme) => {
3983
3955
  const { primaryColor, hoverColor, focusColor, contrastLowColor } = getThemedColors(theme);
3984
3956
  const border = `1px solid ${contrastLowColor}`;
3985
3957
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -4048,35 +4020,6 @@ const getComponentCss$W = (size, compact, open, theme) => {
4048
4020
  } }));
4049
4021
  };
4050
4022
 
4051
- const easeInQuad = 'cubic-bezier(0.45,0,0.55,1)';
4052
- const easeOutQuad = 'cubic-bezier(0.5,1,0.89,1)';
4053
- const ANIMATION_DURATION = 600;
4054
- const getAnimationIn = (keyframesName, durationVar) => {
4055
- const duration = durationVar ? `var(${durationVar},${ANIMATION_DURATION}ms)` : `${ANIMATION_DURATION}ms`;
4056
- return {
4057
- animation: `${duration} $${keyframesName} ${easeInQuad} forwards`,
4058
- };
4059
- };
4060
- const getAnimationOut = (keyframesName) => ({
4061
- animation: addImportantToRule(`${ANIMATION_DURATION}ms $${keyframesName} ${easeOutQuad} forwards`),
4062
- });
4063
- const getKeyframes = (direction, outsideStyle) => {
4064
- const insideStyle = { opacity: 1, transform: 'translate3d(0,0,0)' };
4065
- return direction === 'in'
4066
- ? {
4067
- from: outsideStyle,
4068
- to: insideStyle,
4069
- }
4070
- : {
4071
- from: insideStyle,
4072
- to: outsideStyle,
4073
- };
4074
- };
4075
- const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
4076
- opacity: 0,
4077
- transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
4078
- });
4079
-
4080
4023
  const TOAST_Z_INDEX = 999999;
4081
4024
  const MODAL_Z_INDEX = 99999;
4082
4025
  const POPOVER_Z_INDEX = 9999;
@@ -4086,35 +4029,31 @@ const cssVariableTop = '--p-banner-position-top';
4086
4029
  const cssVariableBottom = '--p-banner-position-bottom';
4087
4030
  const cssVariableAnimationDuration = '--p-animation-duration';
4088
4031
  const cssVariableZIndex = '--p-internal-banner-z-index';
4089
- const mediaQueryBaseToS = getMediaQueryMinMax('base', 's');
4090
- const mediaQueryS$1 = getMediaQueryMin('s');
4091
- const mediaQueryXXL$1 = getMediaQueryMin('xxl');
4092
- const getKeyframesDesktop = (direction, topVar) => getKeyframes(direction, {
4093
- opacity: 0,
4094
- transform: `translate3d(0,calc(-100% - var(${topVar})),0)`, // space before and after "-" is crucial
4095
- });
4096
- const getComponentCss$V = () => {
4032
+ const ANIMATION_DURATION$1 = 600;
4033
+ const duration$1 = `var(${cssVariableAnimationDuration},${ANIMATION_DURATION$1}ms)`;
4034
+ const easeInQuad$1 = 'cubic-bezier(0.45,0,0.55,1)';
4035
+ const easeOutQuad$1 = 'cubic-bezier(0.5,1,0.89,1)';
4036
+ const getComponentCss$X = (isOpen) => {
4097
4037
  return getCss({
4098
4038
  '@global': {
4099
- ':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]: {
4100
- top: `var(${cssVariableTop})`,
4101
- bottom: 'auto',
4102
- left: gridExtendedOffsetS,
4103
- right: gridExtendedOffsetS,
4104
- }, [mediaQueryXXL$1]: {
4039
+ ':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
4040
+ ? {
4041
+ opacity: 1,
4042
+ visibility: 'inherit',
4043
+ transform: 'translate3d(0,0,0)',
4044
+ transition: `opacity ${duration$1} ${easeInQuad$1}, transform ${duration$1} ${easeInQuad$1}`,
4045
+ }
4046
+ : {
4047
+ opacity: 0,
4048
+ visibility: 'hidden',
4049
+ transform: `translate3d(0,calc(var(${cssVariableBottom}) + 100%),0)`,
4050
+ '&(.hydrated),&(.ssr)': {
4051
+ transition: `visibility 0s linear ${duration$1}, opacity ${duration$1} ${easeOutQuad$1}, transform ${duration$1} ${easeOutQuad$1}`,
4052
+ },
4053
+ })), { [getMediaQueryMin('s')]: Object.assign({ top: `var(${cssVariableTop})`, bottom: 'auto', left: gridExtendedOffsetS, right: gridExtendedOffsetS }, (!isOpen && { transform: `translate3d(0,calc(-100% - var(${cssVariableTop})),0)` })), [getMediaQueryMin('xxl')]: {
4105
4054
  left: gridExtendedOffsetXXL,
4106
4055
  right: gridExtendedOffsetXXL,
4107
- } }), hostHiddenStyles))), { '&(.hydrated),&(.ssr)': {
4108
- [mediaQueryBaseToS]: getAnimationIn('mobileIn', cssVariableAnimationDuration),
4109
- [mediaQueryS$1]: getAnimationIn('desktopIn', cssVariableAnimationDuration),
4110
- }, '&(.banner--close)': {
4111
- [mediaQueryBaseToS]: getAnimationOut('mobileOut'),
4112
- [mediaQueryS$1]: getAnimationOut('desktopOut'),
4113
- } }),
4114
- '@keyframes mobileIn': getKeyframesMobile('in', cssVariableBottom),
4115
- '@keyframes mobileOut': getKeyframesMobile('out', cssVariableBottom),
4116
- '@keyframes desktopIn': getKeyframesDesktop('in', cssVariableTop),
4117
- '@keyframes desktopOut': getKeyframesDesktop('out', cssVariableTop),
4056
+ } }), hostHiddenStyles)),
4118
4057
  },
4119
4058
  });
4120
4059
  };
@@ -4133,7 +4072,7 @@ const getGroupDirectionJssStyles = (direction) => {
4133
4072
  return groupDirectionJssStyles[direction];
4134
4073
  };
4135
4074
 
4136
- const getComponentCss$U = (direction) => {
4075
+ const getComponentCss$W = (direction) => {
4137
4076
  return getCss({
4138
4077
  '@global': {
4139
4078
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4200,7 +4139,7 @@ const getLinkButtonPureStyles = (icon, iconSource, active, isDisabledOrLoading,
4200
4139
  }));
4201
4140
  };
4202
4141
 
4203
- const getComponentCss$T = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4142
+ const getComponentCss$V = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4204
4143
  const hasIcon = hasVisibleIcon(icon, iconSource);
4205
4144
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, false, theme), Object.assign({ root: {
4206
4145
  appearance: 'none',
@@ -4323,7 +4262,7 @@ align, compact, hasGradient, isDisabled) => {
4323
4262
  }));
4324
4263
  };
4325
4264
 
4326
- const getComponentCss$S = (isDisabledOrLoading, ...args) => {
4265
+ const getComponentCss$U = (isDisabledOrLoading, ...args) => {
4327
4266
  const buttonLinkTileStyles = getButtonLinkTileStyles(...args);
4328
4267
  return getCss(Object.assign(Object.assign({}, buttonLinkTileStyles), { root: Object.assign(Object.assign({}, buttonLinkTileStyles.root), { cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer' }) }));
4329
4268
  };
@@ -4403,7 +4342,7 @@ const getDisabledColors = (variant, loading, theme) => {
4403
4342
  };
4404
4343
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4405
4344
  };
4406
- const getComponentCss$R = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4345
+ const getComponentCss$T = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4407
4346
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4408
4347
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4409
4348
  const isPrimary = variant === 'primary';
@@ -4411,7 +4350,7 @@ const getComponentCss$R = (icon, iconSource, variant, hideLabel, disabled, loadi
4411
4350
  backgroundColor,
4412
4351
  borderColor,
4413
4352
  color: textColor,
4414
- })), ((loading && !isPrimary) && frostedGlassStyle)) }, (loading && {
4353
+ })), (loading && !isPrimary && frostedGlassStyle)) }, (loading && {
4415
4354
  spinner: {
4416
4355
  width: fontLineHeight,
4417
4356
  height: fontLineHeight,
@@ -4442,7 +4381,7 @@ const spacingMap = {
4442
4381
  basic: gridBasicOffset,
4443
4382
  extended: gridExtendedOffset,
4444
4383
  };
4445
- const getComponentCss$Q = (width, hasPagination, alignHeader, theme) => {
4384
+ const getComponentCss$S = (width, hasPagination, alignHeader, theme) => {
4446
4385
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
4447
4386
  const isHeaderAlignCenter = alignHeader === 'center';
4448
4387
  return getCss(Object.assign({ '@global': {
@@ -4596,7 +4535,7 @@ const getInlineSVGBackgroundImage = (path) => {
4596
4535
  return `url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">${path}</svg>')`;
4597
4536
  };
4598
4537
 
4599
- const getComponentCss$P = (hideLabel, state, isDisabled, theme) => {
4538
+ const getComponentCss$R = (hideLabel, state, isDisabled, theme) => {
4600
4539
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
4601
4540
  const indeterminateIconColor = getThemedColors(theme).primaryColor.replace(/#/g, '%23');
4602
4541
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
@@ -4621,7 +4560,7 @@ const widthMap = {
4621
4560
  basic: gridBasicOffset,
4622
4561
  extended: gridExtendedOffset,
4623
4562
  };
4624
- const getComponentCss$O = (width) => {
4563
+ const getComponentCss$Q = (width) => {
4625
4564
  return getCss({
4626
4565
  '@global': {
4627
4566
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4642,6 +4581,25 @@ const getComponentCss$O = (width) => {
4642
4581
  });
4643
4582
  };
4644
4583
 
4584
+ const getComponentCss$P = () => {
4585
+ return getCss({
4586
+ '@global': {
4587
+ ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
4588
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
4589
+ picture: {
4590
+ display: 'block',
4591
+ width: '30px',
4592
+ height: '40px',
4593
+ },
4594
+ img: {
4595
+ display: 'block',
4596
+ width: '100%',
4597
+ height: 'auto',
4598
+ },
4599
+ },
4600
+ });
4601
+ };
4602
+
4645
4603
  const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
4646
4604
 
4647
4605
  const getTypographyRootJssStyle = (baseTextStyle, responsiveStyle, align, color, ellipsis, theme) => {
@@ -4677,7 +4635,7 @@ const sizeMap$4 = {
4677
4635
  medium: fontSizeDisplayMedium,
4678
4636
  large: fontSizeDisplayLarge,
4679
4637
  };
4680
- const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4638
+ const getComponentCss$O = (size, align, color, ellipsis, theme) => {
4681
4639
  return getCss({
4682
4640
  '@global': {
4683
4641
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4691,7 +4649,7 @@ const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4691
4649
  });
4692
4650
  };
4693
4651
 
4694
- const getComponentCss$M = (color, orientation, theme) => {
4652
+ const getComponentCss$N = (color, orientation, theme) => {
4695
4653
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
4696
4654
  const colorMap = {
4697
4655
  'contrast-low': contrastLowColor,
@@ -4706,7 +4664,7 @@ const getComponentCss$M = (color, orientation, theme) => {
4706
4664
  });
4707
4665
  };
4708
4666
 
4709
- const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4667
+ const getComponentCss$M = (state, labelSize, hasLabel, theme) => {
4710
4668
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4711
4669
  margin: 0,
4712
4670
  padding: 0,
@@ -4720,7 +4678,7 @@ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4720
4678
  })));
4721
4679
  };
4722
4680
 
4723
- const getComponentCss$K = (state, labelSize, hasLabel, theme) => {
4681
+ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4724
4682
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4725
4683
  margin: 0,
4726
4684
  padding: 0,
@@ -4744,7 +4702,7 @@ const flexItemWidths = {
4744
4702
  full: 100,
4745
4703
  auto: 'auto',
4746
4704
  };
4747
- const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4705
+ const getComponentCss$K = (width, offset, alignSelf, grow, shrink, flex) => {
4748
4706
  return getCss({
4749
4707
  '@global': {
4750
4708
  ':host': addImportantToEachRule(Object.assign(Object.assign({ boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(width, (widthResponsive) => ({
@@ -4762,7 +4720,7 @@ const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4762
4720
  });
4763
4721
  };
4764
4722
 
4765
- const getComponentCss$I = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4723
+ const getComponentCss$J = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4766
4724
  return getCss({
4767
4725
  '@global': {
4768
4726
  ':host': addImportantToEachRule(mergeDeep(hostHiddenStyles, buildResponsiveStyles(inline, (inlineResponsive) => ({
@@ -4784,7 +4742,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
4784
4742
  const gridItemWidths = [
4785
4743
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
4786
4744
  ];
4787
- const getComponentCss$H = (size, offset) => {
4745
+ const getComponentCss$I = (size, offset) => {
4788
4746
  return getCss({
4789
4747
  '@global': {
4790
4748
  ':host': addImportantToEachRule(Object.assign(Object.assign({ paddingLeft: gutter$1, paddingRight: gutter$1, boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(size, (sizeResponsive) => ({
@@ -4798,7 +4756,7 @@ const getComponentCss$H = (size, offset) => {
4798
4756
  };
4799
4757
 
4800
4758
  const gutter = `calc(${gridGap} / -2)`;
4801
- const getComponentCss$G = (direction, wrap) => {
4759
+ const getComponentCss$H = (direction, wrap) => {
4802
4760
  return getCss({
4803
4761
  '@global': {
4804
4762
  ':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 }))))),
@@ -4813,7 +4771,7 @@ const sizeMap$3 = {
4813
4771
  'x-large': fontSizeHeadingXLarge,
4814
4772
  'xx-large': fontSizeHeadingXXLarge,
4815
4773
  };
4816
- const getComponentCss$F = (size, align, color, ellipsis, theme) => {
4774
+ const getComponentCss$G = (size, align, color, ellipsis, theme) => {
4817
4775
  return getCss({
4818
4776
  '@global': {
4819
4777
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4867,7 +4825,7 @@ const getTextSizeJssStyle = (textSize) => {
4867
4825
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
4868
4826
  };
4869
4827
  };
4870
- const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4828
+ const getComponentCss$F = (variant, align, color, ellipsis, theme) => {
4871
4829
  return getCss({
4872
4830
  '@global': {
4873
4831
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4884,23 +4842,26 @@ const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4884
4842
  const toFilter = (values) => `invert(${values[0]}%) sepia(${values[1]}%) saturate(${values[2]}%) hue-rotate(${values[3]}deg) brightness(${values[4]}%) contrast(${values[5]}%)`;
4885
4843
 
4886
4844
  const filterLightContrastLow = toFilter([93, 11, 36, 201, 89, 102]);
4887
- const filterLightContrastMedium = toFilter([65, 6, 119, 187, 90, 92]);
4845
+ const filterLightContrastMedium = toFilter([45, 6, 235, 177, 91, 85]);
4888
4846
  const filterLightContrastHigh = toFilter([40, 2, 686, 187, 80, 94]);
4889
4847
  const filterDarkContrastLow = toFilter([20, 7, 421, 202, 97, 82]);
4890
- const filterDarkContrastMedium = toFilter([54, 4, 229, 187, 91, 84]);
4848
+ const filterDarkContrastMedium = toFilter([66, 3, 333, 187, 82, 86]);
4891
4849
  const filterDarkContrastHigh = toFilter([68, 6, 108, 187, 104, 88]);
4892
4850
 
4893
- const filterLightNotificationSuccess = toFilter([62, 61, 551, 86, 86, 80]);
4894
- const filterLightNotificationWarning = toFilter([74, 91, 343, 348, 92, 86]);
4895
- const filterLightNotificationError = toFilter([25, 62, 2003, 335, 100, 97]);
4851
+ const filterLightDisabled = toFilter([63, 8, 108, 188, 94, 86]);
4852
+ const filterDarkDisabled = toFilter([52, 6, 135, 187, 94, 89]);
4853
+
4854
+ const filterLightNotificationSuccess = toFilter([28, 89, 572, 71, 111, 98]);
4855
+ const filterLightNotificationWarning = toFilter([58, 53, 820, 12, 112, 103]);
4856
+ const filterLightNotificationError = toFilter([14, 75, 4140, 347, 100, 97]);
4896
4857
  const filterLightNotificationInfo = toFilter([44, 100, 492, 195, 86, 221]);
4897
- const filterDarkNotificationSuccess = toFilter([59, 22, 1342, 86, 96, 88]);
4898
- const filterDarkNotificationWarning = toFilter([72, 94, 303, 354, 89, 94]);
4899
- const filterDarkNotificationError = toFilter([28, 34, 3133, 333, 95, 100]);
4858
+ const filterDarkNotificationSuccess = toFilter([60, 71, 512, 106, 91, 97]);
4859
+ const filterDarkNotificationWarning = toFilter([75, 39, 759, 350, 109, 94]);
4860
+ const filterDarkNotificationError = toFilter([64, 91, 5857, 336, 98, 102]);
4900
4861
  const filterDarkNotificationInfo = toFilter([56, 77, 4175, 198, 104, 98]);
4901
4862
 
4902
4863
  const filterLightPrimary = toFilter([3, 7, 2930, 188, 91, 103]);
4903
- const filterDarkPrimary = toFilter([97, 55, 2840, 180, 114, 103]);
4864
+ const filterDarkPrimary = toFilter([100, 91, 38, 254, 110, 110]);
4904
4865
 
4905
4866
  const sizeMap$2 = {
4906
4867
  'xx-small': fontSizeTextXXSmall,
@@ -4913,7 +4874,7 @@ const sizeMap$2 = {
4913
4874
  const filter = {
4914
4875
  light: {
4915
4876
  primary: filterLightPrimary,
4916
- 'state-disabled': filterLightContrastMedium,
4877
+ 'state-disabled': filterLightDisabled,
4917
4878
  'contrast-low': filterLightContrastLow,
4918
4879
  'contrast-medium': filterLightContrastMedium,
4919
4880
  'contrast-high': filterLightContrastHigh,
@@ -4924,7 +4885,7 @@ const filter = {
4924
4885
  },
4925
4886
  dark: {
4926
4887
  primary: filterDarkPrimary,
4927
- 'state-disabled': filterDarkContrastMedium,
4888
+ 'state-disabled': filterDarkDisabled,
4928
4889
  'contrast-low': filterDarkContrastLow,
4929
4890
  'contrast-medium': filterDarkContrastMedium,
4930
4891
  'contrast-high': filterDarkContrastHigh,
@@ -4944,7 +4905,7 @@ const forceRerenderAnimationStyle = {
4944
4905
  };
4945
4906
  const keyFramesLight = 'rerender-light';
4946
4907
  const keyFramesDark = 'rerender-dark';
4947
- const getComponentCss$D = (color, size, theme) => {
4908
+ const getComponentCss$E = (color, size, theme) => {
4948
4909
  const isColorInherit = color === 'inherit';
4949
4910
  const isSizeInherit = size === 'inherit';
4950
4911
  const isDark = isThemeDark(theme);
@@ -5011,7 +4972,7 @@ const getNotificationContentJssStyle = () => ({
5011
4972
  });
5012
4973
 
5013
4974
  const mediaQueryMaxS = getMediaQueryMax('s');
5014
- const getComponentCss$C = (state, hasAction, hasClose, theme) => {
4975
+ const getComponentCss$D = (state, hasAction, hasClose, theme) => {
5015
4976
  return getCss(Object.assign({ '@global': {
5016
4977
  ':host': addImportantToEachRule(Object.assign(Object.assign({}, getNotificationRootJssStyle(state, hasAction, hasClose, theme)), hostHiddenStyles)),
5017
4978
  h5: headingSmallStyle,
@@ -5029,7 +4990,7 @@ const getComponentCss$C = (state, hasAction, hasClose, theme) => {
5029
4990
  })));
5030
4991
  };
5031
4992
 
5032
- const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
4993
+ const getComponentCss$C = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
5033
4994
  const { focusColor } = getThemedColors(theme);
5034
4995
  const hasIcon = hasVisibleIcon(icon, iconSource);
5035
4996
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, hasSlottedAnchor, theme), Object.assign(Object.assign({}, (hasSlottedAnchor && {
@@ -5056,7 +5017,7 @@ const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, a
5056
5017
  } })));
5057
5018
  };
5058
5019
 
5059
- const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5020
+ const getComponentCss$B = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5060
5021
  const { focusColor } = getThemedColors(theme);
5061
5022
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, theme), Object.assign({}, (hasSlottedAnchor && {
5062
5023
  '@global': addImportantToEachRule({
@@ -5083,7 +5044,7 @@ const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAncho
5083
5044
 
5084
5045
  const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS = ['h2', 'h3', 'h4', 'h5', 'h6'];
5085
5046
 
5086
- const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5047
+ const getComponentCss$A = (aspectRatio, weight, direction, hasDescription) => {
5087
5048
  const tileBaseStyles = getTileBaseStyles(aspectRatio);
5088
5049
  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(',')]: {
5089
5050
  margin: addImportantToRule(0),
@@ -5098,7 +5059,7 @@ const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5098
5059
  position: 'fixed' }, getInsetJssStyle()) }));
5099
5060
  };
5100
5061
 
5101
- const getComponentCss$y = (...args) => {
5062
+ const getComponentCss$z = (...args) => {
5102
5063
  return getCss(Object.assign(Object.assign({}, getButtonLinkTileStyles(...args)), { 'link-overlay': Object.assign({
5103
5064
  // covers entire tile, used for expanded click-area only
5104
5065
  position: 'fixed' }, getInsetJssStyle()) }));
@@ -5114,15 +5075,11 @@ const baseSizes = {
5114
5075
  height: '72px',
5115
5076
  },
5116
5077
  };
5117
- const getComponentCss$x = (size) => {
5078
+ const getComponentCss$y = (size) => {
5118
5079
  return getCss({
5119
5080
  '@global': {
5120
5081
  ':host': Object.assign({ position: 'relative', display: 'inline-flex', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
5121
- a: Object.assign({ display: 'block', textDecoration: 'none' }, getFocusJssStyle({
5122
- color: getThemedColors('light').primaryColor,
5123
- offset: 0,
5124
- pseudo: '::before',
5125
- })),
5082
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
5126
5083
  picture: Object.assign({ display: 'block' }, (size === 'responsive'
5127
5084
  ? Object.assign(Object.assign({}, baseSizes.small), { [getMediaQueryMin('l')]: baseSizes.medium }) : baseSizes[size])),
5128
5085
  img: {
@@ -5165,38 +5122,42 @@ const isFullscreenForXl = (fullscreen) => {
5165
5122
  const entries = Object.entries(fullscreenParsed);
5166
5123
  const [lastTrueBreakpoint] = entries.filter(([, val]) => val).pop() || [];
5167
5124
  const [lastFalseBreakpoint] = entries.filter(([, val]) => !val).pop() || [];
5168
- return BREAKPOINTS.indexOf(lastTrueBreakpoint) > BREAKPOINTS.indexOf(lastFalseBreakpoint);
5125
+ return breakpoints.indexOf(lastTrueBreakpoint) > breakpoints.indexOf(lastFalseBreakpoint);
5169
5126
  }
5170
5127
  };
5171
5128
  const getSlottedJssStyle = (marginValue, hasHeader, hasDismissButton) => {
5172
5129
  const marginPx = `${-marginValue}px`;
5173
- const marginRem = pxToRemWithUnit(-marginValue);
5174
5130
  return Object.assign(Object.assign({ [`&(.${stretchToFullModalWidthClassName})`]: {
5175
5131
  width: `calc(100% + ${marginValue * 2}px)`,
5176
5132
  margin: `0 ${marginPx}`,
5177
5133
  } }, (!hasHeader && {
5178
5134
  [`&(.${stretchToFullModalWidthClassName}:first-child)`]: {
5179
- marginTop: hasDismissButton ? marginRem : marginPx,
5135
+ marginTop: hasDismissButton ? pxToRemWithUnit(-marginValue) : marginPx,
5180
5136
  },
5181
5137
  })), { [`&(.${stretchToFullModalWidthClassName}:last-child)`]: {
5182
5138
  marginBottom: marginPx,
5183
5139
  } });
5184
5140
  };
5185
- const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5186
- const isFullscreenForXlAndXxl = isFullscreenForXl(fullscreen);
5141
+ const getComponentCss$x = (isOpen, isFullscreen, hasDismissButton, hasHeader) => {
5142
+ const isFullscreenForXlAndXxl = isFullscreenForXl(isFullscreen);
5143
+ const duration = isOpen ? '.6s' : '.2s';
5187
5144
  return getCss(Object.assign(Object.assign({ '@global': {
5188
- ':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
5145
+ ':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
5189
5146
  ? {
5190
- opacity: 1,
5191
5147
  visibility: 'inherit',
5192
5148
  }
5193
5149
  : {
5194
- opacity: 0,
5195
5150
  visibility: 'hidden',
5151
+ transition: 'visibility 0s linear .2s',
5196
5152
  })), hostHiddenStyles), {
5197
5153
  // workaround via pseudo element to fix stacking (black) background in safari
5198
- '&::before': Object.assign(Object.assign(Object.assign(Object.assign({ content: '""', position: 'fixed' }, getInsetJssStyle()), { background: themeDarkBackgroundShading }), frostedGlassStyle), { pointerEvents: 'none' }) }))), { overflowY: 'auto' }),
5199
- '::slotted': addImportantToEachRule(Object.assign({}, mergeDeep(getSlottedJssStyle(32, hasHeader, hasDismissButton), buildResponsiveStyles(fullscreen, (fullscreenValue) => ({
5154
+ '&::before': Object.assign(Object.assign(Object.assign(Object.assign({ content: '""', position: 'fixed' }, getInsetJssStyle()), { background: themeDarkBackgroundShading, pointerEvents: 'none' }), (isOpen
5155
+ ? Object.assign({ opacity: 1 }, frostedGlassStyle) : {
5156
+ opacity: 0,
5157
+ backdropFilter: 'blur(0px)',
5158
+ WebkitBackdropFilter: 'blur(0px)',
5159
+ })), { transition: `opacity ${duration} ${transitionTimingFunction}, backdrop-filter ${duration} ${transitionTimingFunction},--webkit-backdrop-filter ${duration} ${transitionTimingFunction}` }) }))), { overflowY: 'auto' }),
5160
+ '::slotted': addImportantToEachRule(Object.assign({}, mergeDeep(getSlottedJssStyle(32, hasHeader, hasDismissButton), buildResponsiveStyles(isFullscreen, (fullscreenValue) => ({
5200
5161
  [`&(.${stretchToFullModalWidthClassName}`]: {
5201
5162
  '&:first-child)': {
5202
5163
  borderRadius: fullscreenValue ? 0 : '8px 8px 0 0',
@@ -5210,19 +5171,20 @@ const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5210
5171
  }, root: mergeDeep({
5211
5172
  position: 'relative',
5212
5173
  boxSizing: 'border-box',
5213
- transition: `transform .6s ${transitionTimingFunction}`,
5214
- transform: open ? 'scale3d(1,1,1)' : 'scale3d(.9,.9,1)',
5174
+ transform: isOpen ? 'scale3d(1,1,1)' : 'scale3d(.9,.9,1)',
5175
+ opacity: isOpen ? 1 : 0,
5176
+ transition: `opacity ${duration} ${transitionTimingFunction},transform ${duration} ${transitionTimingFunction}`,
5215
5177
  padding: hasDismissButton ? `${pxToRemWithUnit(32)} 32px 32px 32px` : '32px',
5216
5178
  background: backgroundColor,
5217
5179
  outline: 0,
5218
- '&: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))))),
5180
+ '&: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))))),
5219
5181
  '&:not(:focus-visible)::before': {
5220
5182
  border: 0,
5221
5183
  },
5222
5184
  [mediaQueryXl]: {
5223
5185
  margin: isFullscreenForXlAndXxl ? 0 : `min(192px, 10vh) ${gridExtendedOffsetBase}`,
5224
5186
  },
5225
- }, buildResponsiveStyles(fullscreen, getFullscreenJssStyles)) }, (hasHeader && {
5187
+ }, buildResponsiveStyles(isFullscreen, getFullscreenJssStyles)) }, (hasHeader && {
5226
5188
  header: {
5227
5189
  padding: '0 0 8px',
5228
5190
  },
@@ -5250,7 +5212,7 @@ const colorToFilterMap = {
5250
5212
  'contrast-high': filterDarkContrastHigh,
5251
5213
  },
5252
5214
  };
5253
- const getComponentCss$v = (size, color, theme) => {
5215
+ const getComponentCss$w = (size, color, theme) => {
5254
5216
  const isSizeInherit = size === 'inherit';
5255
5217
  const isColorInherit = color === 'inherit';
5256
5218
  return getCss({
@@ -5269,7 +5231,7 @@ const disabledCursorStyle = {
5269
5231
  cursor: 'default',
5270
5232
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
5271
5233
  };
5272
- const getComponentCss$u = (maxNumberOfPageLinks, theme) => {
5234
+ const getComponentCss$v = (maxNumberOfPageLinks, theme) => {
5273
5235
  const { primaryColor, disabledColor, hoverColor, focusColor } = getThemedColors(theme);
5274
5236
  return getCss({
5275
5237
  '@global': {
@@ -5386,7 +5348,7 @@ const directionArrowMap = {
5386
5348
  },
5387
5349
  },
5388
5350
  };
5389
- const getComponentCss$t = (direction, theme) => {
5351
+ const getComponentCss$u = (direction, theme) => {
5390
5352
  const spacerBox = '-16px';
5391
5353
  const { hoverColor, focusColor } = getThemedColors(theme);
5392
5354
  return getCss({
@@ -5435,7 +5397,7 @@ const getComponentCss$t = (direction, theme) => {
5435
5397
  });
5436
5398
  };
5437
5399
 
5438
- const getComponentCss$s = (hideLabel, state, isDisabled, theme) => {
5400
+ const getComponentCss$t = (hideLabel, state, isDisabled, theme) => {
5439
5401
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
5440
5402
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
5441
5403
  '@global': {
@@ -5469,7 +5431,7 @@ const getGradient = (theme, gradientColorTheme) => {
5469
5431
  `rgba(${gradientColor},0.3) 68%,` +
5470
5432
  `rgba(${gradientColor},0)`);
5471
5433
  };
5472
- const getComponentCss$r = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5434
+ const getComponentCss$s = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5473
5435
  const { backgroundColor, backgroundSurfaceColor, focusColor, hoverColor } = getThemedColors(theme);
5474
5436
  const isDarkTheme = isThemeDark(theme);
5475
5437
  const backgroundColorMap = {
@@ -5562,7 +5524,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
5562
5524
  hoverBorderColor: primaryColor,
5563
5525
  };
5564
5526
  };
5565
- const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5527
+ const getComponentCss$r = (isDisabled, isSelected, hasIcon, theme) => {
5566
5528
  const { focusColor } = getThemedColors(theme);
5567
5529
  const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
5568
5530
  return getCss({
@@ -5596,7 +5558,7 @@ const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5596
5558
 
5597
5559
  const MIN_ITEM_WIDTH = 46;
5598
5560
  const MAX_ITEM_WIDTH = 220;
5599
- const getComponentCss$p = (maxWidth) => {
5561
+ const getComponentCss$q = (maxWidth) => {
5600
5562
  maxWidth = (maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && MIN_ITEM_WIDTH) || maxWidth;
5601
5563
  return getCss({
5602
5564
  '@global': {
@@ -5655,7 +5617,7 @@ const getLabelStyles = (child, isDisabled, hideLabel, state, theme, counterOrUni
5655
5617
  }));
5656
5618
  };
5657
5619
  const ICON_SPACE = `${24 + 13 * 2 + 2}px`; // 24px = icon width, 13px * 2 = padding, 2px = border
5658
- const getComponentCss$o = (isDisabled, hideLabel, state, theme) => {
5620
+ const getComponentCss$p = (isDisabled, hideLabel, state, theme) => {
5659
5621
  return getCss(Object.assign(Object.assign(Object.assign({ '@global': addImportantToEachRule(Object.assign({ ':host': Object.assign({ display: 'block' }, hostHiddenStyles) }, getBaseChildStyles('select', state, theme, {
5660
5622
  position: 'static',
5661
5623
  zIndex: 0,
@@ -5687,7 +5649,7 @@ const sizeMap$1 = {
5687
5649
  large: { height: sizeLarge, width: sizeLarge },
5688
5650
  inherit: { height: 'inherit', width: 'inherit' },
5689
5651
  };
5690
- const getComponentCss$m = (size, theme) => {
5652
+ const getComponentCss$n = (size, theme) => {
5691
5653
  const strokeDasharray = '57'; // C = 2πR
5692
5654
  const animationDuration = 'var(--p-animation-duration, 2s)';
5693
5655
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
@@ -5765,7 +5727,7 @@ const getSVGPath = (stepCount, numberedCircleColors, isStateCurrent) => {
5765
5727
  ];
5766
5728
  return svgNumberedCirclePaths[stepCount];
5767
5729
  };
5768
- const getComponentCss$l = (state, disabled, theme) => {
5730
+ const getComponentCss$m = (state, disabled, theme) => {
5769
5731
  const { primaryColor, hoverColor, disabledColor, focusColor } = getThemedColors(theme);
5770
5732
  const isStateCurrent = state === 'current';
5771
5733
  const isStateCurrentOrUndefined = !state || isStateCurrent;
@@ -5805,7 +5767,7 @@ const getComponentCss$l = (state, disabled, theme) => {
5805
5767
  })), { 'sr-only': getScreenReaderOnlyJssStyle() }));
5806
5768
  };
5807
5769
 
5808
- const getComponentCss$k = (size) => {
5770
+ const getComponentCss$l = (size) => {
5809
5771
  return getCss({
5810
5772
  '@global': {
5811
5773
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -5831,7 +5793,7 @@ const getColors$1 = (checked, disabled, loading, theme) => {
5831
5793
  textColor: disabledOrLoadingColor || primaryColor,
5832
5794
  };
5833
5795
  };
5834
- const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5796
+ const getComponentCss$k = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5835
5797
  const { buttonBorderColor, buttonBorderColorHover, buttonBackgroundColor, buttonBackgroundColorHover, toggleBackgroundColor, toggleBackgroundColorHover, textColor, } = getColors$1(checked, disabled, loading, theme);
5836
5798
  const { focusColor } = getThemedColors(theme);
5837
5799
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -5884,7 +5846,7 @@ const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, lo
5884
5846
  })), buildResponsiveStyles(hideLabel, getTextHiddenJssStyle))) }));
5885
5847
  };
5886
5848
 
5887
- const getComponentCss$i = () => {
5849
+ const getComponentCss$j = () => {
5888
5850
  return getCss({
5889
5851
  '@global': {
5890
5852
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row-group' }, hostHiddenStyles)),
@@ -5892,7 +5854,7 @@ const getComponentCss$i = () => {
5892
5854
  });
5893
5855
  };
5894
5856
 
5895
- const getComponentCss$h = (multiline) => {
5857
+ const getComponentCss$i = (multiline) => {
5896
5858
  return getCss({
5897
5859
  '@global': {
5898
5860
  ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: spacingFluidSmall, margin: 0, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
@@ -5908,7 +5870,7 @@ const isSortable = (active, direction) => {
5908
5870
  const cssVariableTableHoverColor = '--p-internal-table-hover-color';
5909
5871
  const cssVariableTableBorderColor = '--p-internal-table-border-color';
5910
5872
  const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
5911
- const getComponentCss$g = (theme) => {
5873
+ const getComponentCss$h = (theme) => {
5912
5874
  const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
5913
5875
  return getCss({
5914
5876
  '@global': {
@@ -5934,7 +5896,7 @@ const getComponentCss$g = (theme) => {
5934
5896
  const { hoverColor, focusColor } = getThemedColors('light'); // hover color and focus color are the same for light and dark
5935
5897
  const buttonBeforeOffsetVertical = '-2px';
5936
5898
  const buttonBeforeOffsetHorizontal = '-4px';
5937
- const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5899
+ const getComponentCss$g = (active, direction, hideLabel, multiline) => {
5938
5900
  const sortable = isSortable(active, direction);
5939
5901
  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
5940
5902
  ? {
@@ -5974,7 +5936,7 @@ const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5974
5936
  })));
5975
5937
  };
5976
5938
 
5977
- const getComponentCss$e = () => {
5939
+ const getComponentCss$f = () => {
5978
5940
  return getCss({
5979
5941
  '@global': {
5980
5942
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row' }, hostHiddenStyles)),
@@ -5982,7 +5944,7 @@ const getComponentCss$e = () => {
5982
5944
  });
5983
5945
  };
5984
5946
 
5985
- const getComponentCss$d = () => {
5947
+ const getComponentCss$e = () => {
5986
5948
  return getCss({
5987
5949
  '@global': {
5988
5950
  ':host': addImportantToEachRule(Object.assign({ display: 'table-header-group', fontSize: fontSizeTextXSmall, lineHeight: fontLineHeight, fontWeight: fontWeightSemiBold }, hostHiddenStyles)),
@@ -5990,7 +5952,7 @@ const getComponentCss$d = () => {
5990
5952
  });
5991
5953
  };
5992
5954
 
5993
- const getComponentCss$c = () => {
5955
+ const getComponentCss$d = () => {
5994
5956
  return getCss({
5995
5957
  '@global': {
5996
5958
  ':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'table-row', borderTop: `1px solid var(${cssVariableTableBorderColor})`, borderBottom: `1px solid var(${cssVariableTableBorderColor})`, transition: getTransition('background') }, hostHiddenStyles), hoverMediaQuery({
@@ -6005,7 +5967,7 @@ const getComponentCss$c = () => {
6005
5967
 
6006
5968
  const tabsTransitionDuration = '.4s';
6007
5969
  const transformSelector = (selector) => ['a', 'button'].map((tag) => selector.replace(/\[role]/g, tag)).join();
6008
- const getComponentCss$b = (size, weight, theme) => {
5970
+ const getComponentCss$c = (size, weight, theme) => {
6009
5971
  const { primaryColor, hoverColor, focusColor } = getThemedColors(theme);
6010
5972
  return getCss({
6011
5973
  '@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(Object.assign({ position: 'relative',
@@ -6044,7 +6006,7 @@ const getComponentCss$b = (size, weight, theme) => {
6044
6006
  });
6045
6007
  };
6046
6008
 
6047
- const getComponentCss$a = (theme) => {
6009
+ const getComponentCss$b = (theme) => {
6048
6010
  const { primaryColor, focusColor } = getThemedColors(theme);
6049
6011
  return getCss({
6050
6012
  '@global': {
@@ -6058,7 +6020,7 @@ const getComponentCss$a = (theme) => {
6058
6020
  });
6059
6021
  };
6060
6022
 
6061
- const getComponentCss$9 = () => {
6023
+ const getComponentCss$a = () => {
6062
6024
  return getCss({
6063
6025
  '@global': {
6064
6026
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6090,7 +6052,7 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
6090
6052
  return colorMap[tagColor];
6091
6053
  };
6092
6054
 
6093
- const getComponentCss$8 = (color, hasLabel, theme) => {
6055
+ const getComponentCss$9 = (color, hasLabel, theme) => {
6094
6056
  const themedColors = getThemedColors(theme);
6095
6057
  const { primaryColor, hoverColor, contrastHighColor } = themedColors;
6096
6058
  const backgroundColor = getThemedBackgroundColor(color, themedColors);
@@ -6140,7 +6102,7 @@ const getColors = (themedColors, tagColor, theme) => {
6140
6102
  backgroundHoverColor: getThemedBackgroundHoverColor(tagColor, themedColors, theme),
6141
6103
  };
6142
6104
  };
6143
- const getComponentCss$7 = (tagColor, isFocusable, theme) => {
6105
+ const getComponentCss$8 = (tagColor, isFocusable, theme) => {
6144
6106
  const themedColors = getThemedColors(theme);
6145
6107
  const { primaryColor, backgroundColor, backgroundHoverColor } = getColors(themedColors, tagColor, theme);
6146
6108
  return getCss({
@@ -6197,7 +6159,7 @@ const getButtonOrIconOffsetHorizontal = (buttonOrIconAmount) => {
6197
6159
  const multiplier = buttonOrIconAmount > 1 ? ` + ${buttonOrIconSize} * ${buttonOrIconAmount - 1}` : '';
6198
6160
  return `calc(${buttonOrIconOffset} + ${borderWidthBase}${multiplier})`;
6199
6161
  };
6200
- const getComponentCss$6 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6162
+ const getComponentCss$7 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6201
6163
  const { contrastMediumColor } = getThemedColors(theme);
6202
6164
  const isSearch = isType(inputType, 'search');
6203
6165
  const isPassword = isType(inputType, 'password');
@@ -6253,7 +6215,7 @@ const cssVariableUnorderedPaddingLeft = '--p-internal-text-list-unordered-paddin
6253
6215
  const cssVariableOrderedPaddingLeft = '--p-internal-text-list-ordered-padding-left';
6254
6216
  const cssVariableListStyleType = '--p-internal-text-list-list-style-type';
6255
6217
  const counter = 'p-text-list-counter';
6256
- const getComponentCss$5 = (type, theme) => {
6218
+ const getComponentCss$6 = (type, theme) => {
6257
6219
  const isOrderedList = isListTypeOrdered(type);
6258
6220
  return getCss({
6259
6221
  '@global': {
@@ -6279,7 +6241,7 @@ const getComponentCss$5 = (type, theme) => {
6279
6241
  });
6280
6242
  };
6281
6243
 
6282
- const getComponentCss$4 = () => {
6244
+ const getComponentCss$5 = () => {
6283
6245
  return getCss({
6284
6246
  '@global': addImportantToEachRule({
6285
6247
  ':host': Object.assign({ display: 'list-item', position: 'relative', font: 'inherit', color: 'inherit', listStyleType: 'inherit', paddingLeft: spacingStaticMedium }, hostHiddenStyles),
@@ -6300,7 +6262,7 @@ const sizeMap = {
6300
6262
  large: fontSizeTextLarge,
6301
6263
  'x-large': fontSizeTextXLarge,
6302
6264
  };
6303
- const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6265
+ const getComponentCss$4 = (size, weight, align, color, ellipsis, theme) => {
6304
6266
  return getCss({
6305
6267
  '@global': {
6306
6268
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6315,7 +6277,7 @@ const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6315
6277
  });
6316
6278
  };
6317
6279
 
6318
- const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6280
+ const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6319
6281
  const { contrastMediumColor } = getThemedColors(theme);
6320
6282
  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, {
6321
6283
  font: textSmallStyle.font,
@@ -6342,8 +6304,28 @@ const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6342
6304
 
6343
6305
  const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
6344
6306
  const cssVariablePositionBottomInternal = '--p-internal-toast-position-bottom';
6307
+ const easeInQuad = 'cubic-bezier(0.45,0,0.55,1)';
6308
+ const easeOutQuad = 'cubic-bezier(0.5,1,0.89,1)';
6309
+ const ANIMATION_DURATION = 600;
6310
+ const duration = `${ANIMATION_DURATION}ms`;
6311
+ const getKeyframes = (direction, outsideStyle) => {
6312
+ const insideStyle = { opacity: 1, transform: 'translate3d(0,0,0)' };
6313
+ return direction === 'in'
6314
+ ? {
6315
+ from: outsideStyle,
6316
+ to: insideStyle,
6317
+ }
6318
+ : {
6319
+ from: insideStyle,
6320
+ to: outsideStyle,
6321
+ };
6322
+ };
6323
+ const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
6324
+ opacity: 0,
6325
+ transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
6326
+ });
6345
6327
  const toastCloseClassName = 'close';
6346
- const getComponentCss = () => {
6328
+ const getComponentCss$1 = () => {
6347
6329
  return getCss({
6348
6330
  '@global': {
6349
6331
  ':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridExtendedOffsetBase, right: gridExtendedOffsetBase,
@@ -6358,9 +6340,27 @@ const getComponentCss = () => {
6358
6340
  '@keyframes in': getKeyframesMobile('in', cssVariablePositionBottomInternal),
6359
6341
  '@keyframes out': getKeyframesMobile('out', cssVariablePositionBottomInternal),
6360
6342
  },
6361
- hydrated: getAnimationIn('in', "production" !== 'production' ),
6362
- [toastCloseClassName]: getAnimationOut('out'),
6343
+ hydrated: {
6344
+ animation: `${duration} $in ${easeInQuad} forwards`,
6345
+ },
6346
+ [toastCloseClassName]: {
6347
+ animation: addImportantToRule(`${ANIMATION_DURATION}ms $out ${easeOutQuad} forwards`),
6348
+ },
6349
+ });
6350
+ };
6351
+
6352
+ const getComponentCss = (size, theme) => {
6353
+ return getCss({
6354
+ '@global': {
6355
+ ':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))),
6356
+ a: Object.assign({ display: 'block', textDecoration: 'none', height: 'inherit' }, focusPseudoJssStyle),
6357
+ svg: {
6358
+ display: 'block',
6359
+ height: 'inherit',
6360
+ fill: getThemedColors(theme).primaryColor,
6361
+ },
6362
+ },
6363
6363
  });
6364
6364
  };
6365
6365
 
6366
- export { getComponentCss$W as getAccordionCss, getComponentCss$V as getBannerCss, getComponentCss$R as getButtonCss, getComponentCss$U as getButtonGroupCss, getComponentCss$T as getButtonPureCss, getComponentCss$S as getButtonTileCss, getComponentCss$Q as getCarouselCss, getComponentCss$P as getCheckboxWrapperCss, getComponentCss$O as getContentWrapperCss, getComponentCss$N as getDisplayCss, getComponentCss$M as getDividerCss, getComponentCss$K as getFieldsetCss, getComponentCss$L as getFieldsetWrapperCss, getComponentCss$I as getFlexCss, getComponentCss$J as getFlexItemCss, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$G as getGridCss, getComponentCss$H as getGridItemCss, getComponentCss$F as getHeadingCss, getComponentCss$E as getHeadlineCss, getComponentCss$D as getIconCss, getComponentCss$C as getInlineNotificationCss, getComponentCss$A as getLinkCss, getComponentCss$B as getLinkPureCss, getComponentCss$A as getLinkSocialCss, getComponentCss$y as getLinkTileCss, getComponentCss$z as getLinkTileModelSignatureCss, getComponentCss$x as getMarqueCss, getComponentCss$w as getModalCss, getComponentCss$v as getModelSignatureCss, getComponentCss$u as getPaginationCss, getComponentCss$t as getPopoverCss, getComponentCss$s as getRadioButtonWrapperCss, getComponentCss$r as getScrollerCss, getComponentCss$p as getSegmentedControlCss, getComponentCss$q as getSegmentedControlItemCss, getComponentCss$o as getSelectWrapperCss, getComponentCss$m as getSpinnerCss, getComponentCss$k as getStepperHorizontalCss, getComponentCss$l as getStepperHorizontalItemCss, getComponentCss$j as getSwitchCss, getComponentCss$i as getTableBodyCss, getComponentCss$h as getTableCellCss, getComponentCss$g as getTableCss, getComponentCss$f as getTableHeadCellCss, getComponentCss$d as getTableHeadCss, getComponentCss$e as getTableHeadRowCss, getComponentCss$c as getTableRowCss, getComponentCss$b as getTabsBarCss, getComponentCss$9 as getTabsCss, getComponentCss$a as getTabsItemCss, getComponentCss$7 as getTagCss, getComponentCss$8 as getTagDismissibleCss, getComponentCss$3 as getTextCss, getComponentCss$6 as getTextFieldWrapperCss, getComponentCss$5 as getTextListCss, getComponentCss$4 as getTextListItemCss, getComponentCss$2 as getTextareaWrapperCss, getComponentCss as getToastCss };
6366
+ export { getComponentCss$Y as getAccordionCss, getComponentCss$X as getBannerCss, getComponentCss$T as getButtonCss, getComponentCss$W as getButtonGroupCss, getComponentCss$V as getButtonPureCss, getComponentCss$U as getButtonTileCss, getComponentCss$S as getCarouselCss, getComponentCss$R as getCheckboxWrapperCss, getComponentCss$Q as getContentWrapperCss, getComponentCss$P as getCrestCss, getComponentCss$O as getDisplayCss, getComponentCss$N as getDividerCss, getComponentCss$L as getFieldsetCss, getComponentCss$M as getFieldsetWrapperCss, getComponentCss$J as getFlexCss, getComponentCss$K as getFlexItemCss, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$H as getGridCss, getComponentCss$I as getGridItemCss, getComponentCss$G as getHeadingCss, getComponentCss$F as getHeadlineCss, getComponentCss$E as getIconCss, getComponentCss$D as getInlineNotificationCss, getComponentCss$B as getLinkCss, getComponentCss$C as getLinkPureCss, getComponentCss$B as getLinkSocialCss, getComponentCss$z as getLinkTileCss, getComponentCss$A as getLinkTileModelSignatureCss, getComponentCss$y as getMarqueCss, getComponentCss$x as getModalCss, getComponentCss$w as getModelSignatureCss, getComponentCss$v as getPaginationCss, getComponentCss$u as getPopoverCss, getComponentCss$t as getRadioButtonWrapperCss, getComponentCss$s as getScrollerCss, getComponentCss$q as getSegmentedControlCss, getComponentCss$r as getSegmentedControlItemCss, getComponentCss$p as getSelectWrapperCss, getComponentCss$n as getSpinnerCss, getComponentCss$l as getStepperHorizontalCss, getComponentCss$m as getStepperHorizontalItemCss, getComponentCss$k as getSwitchCss, getComponentCss$j as getTableBodyCss, getComponentCss$i as getTableCellCss, getComponentCss$h as getTableCss, getComponentCss$g as getTableHeadCellCss, getComponentCss$e as getTableHeadCss, getComponentCss$f as getTableHeadRowCss, getComponentCss$d as getTableRowCss, getComponentCss$c as getTabsBarCss, getComponentCss$a as getTabsCss, getComponentCss$b as getTabsItemCss, getComponentCss$8 as getTagCss, getComponentCss$9 as getTagDismissibleCss, getComponentCss$4 as getTextCss, getComponentCss$7 as getTextFieldWrapperCss, getComponentCss$6 as getTextListCss, getComponentCss$5 as getTextListItemCss, getComponentCss$3 as getTextareaWrapperCss, getComponentCss$1 as getToastCss, getComponentCss as getWordmarkCss };