@porsche-design-system/components-react 3.0.0-alpha.3 → 3.0.0-alpha.5

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 (210) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/esm/lib/components/button-tile.wrapper.js +22 -0
  3. package/esm/lib/components/carousel.wrapper.js +3 -3
  4. package/esm/lib/components/crest.wrapper.js +22 -0
  5. package/esm/lib/components/fieldset-wrapper.wrapper.js +1 -0
  6. package/esm/lib/components/fieldset.wrapper.js +22 -0
  7. package/esm/lib/components/link-tile-model-signature.wrapper.js +22 -0
  8. package/esm/lib/components/marque.wrapper.js +1 -0
  9. package/esm/lib/components/scroller.wrapper.js +3 -3
  10. package/esm/lib/components/table.wrapper.js +5 -3
  11. package/esm/lib/components/wordmark.wrapper.js +22 -0
  12. package/esm/public-api.js +5 -0
  13. package/lib/components/banner.wrapper.d.ts +4 -2
  14. package/lib/components/button-tile.wrapper.d.ts +120 -0
  15. package/lib/components/button-tile.wrapper.js +24 -0
  16. package/lib/components/carousel.wrapper.d.ts +12 -4
  17. package/lib/components/carousel.wrapper.js +3 -3
  18. package/lib/components/crest.wrapper.d.ts +30 -0
  19. package/lib/components/crest.wrapper.js +24 -0
  20. package/lib/components/fieldset-wrapper.wrapper.d.ts +1 -0
  21. package/lib/components/fieldset-wrapper.wrapper.js +1 -0
  22. package/lib/components/fieldset.wrapper.d.ts +56 -0
  23. package/lib/components/fieldset.wrapper.js +24 -0
  24. package/lib/components/index.d.ts +5 -0
  25. package/lib/components/link-tile-model-signature.wrapper.d.ts +64 -0
  26. package/lib/components/link-tile-model-signature.wrapper.js +24 -0
  27. package/lib/components/link-tile.wrapper.d.ts +2 -2
  28. package/lib/components/marque.wrapper.d.ts +1 -0
  29. package/lib/components/marque.wrapper.js +1 -0
  30. package/lib/components/scroller.wrapper.d.ts +8 -0
  31. package/lib/components/scroller.wrapper.js +3 -3
  32. package/lib/components/table.wrapper.d.ts +9 -1
  33. package/lib/components/table.wrapper.js +5 -3
  34. package/lib/components/wordmark.wrapper.d.ts +46 -0
  35. package/lib/components/wordmark.wrapper.js +24 -0
  36. package/lib/types.d.ts +89 -43
  37. package/package.json +2 -2
  38. package/public-api.js +10 -0
  39. package/ssr/components/dist/styles/esm/styles-entry.js +558 -476
  40. package/ssr/components/dist/utils/esm/utils-entry.js +74 -41
  41. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/button-tile.wrapper.js +38 -0
  42. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
  43. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +37 -0
  44. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset-wrapper.wrapper.js +1 -0
  45. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset.wrapper.js +38 -0
  46. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile-model-signature.wrapper.js +38 -0
  47. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  48. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
  49. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +6 -4
  50. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +37 -0
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +6 -1
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +7 -2
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +1 -1
  54. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +6 -1
  55. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +90 -0
  56. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +6 -1
  57. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +7 -1
  58. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +1 -1
  59. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +1 -1
  60. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +18 -0
  61. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +1 -1
  62. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +1 -1
  63. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -1
  64. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +22 -0
  65. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +1 -1
  66. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +1 -1
  67. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +1 -1
  68. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +1 -1
  69. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +1 -1
  70. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +1 -1
  71. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +1 -1
  72. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +6 -1
  73. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +6 -1
  74. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +6 -1
  75. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +97 -0
  76. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +9 -3
  77. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +6 -1
  78. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +2 -1
  79. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +6 -1
  80. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +1 -1
  81. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +6 -1
  82. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +6 -1
  83. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +1 -1
  84. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +7 -2
  85. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +6 -1
  86. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +1 -1
  87. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +6 -1
  88. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +1 -1
  89. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +5 -0
  90. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +6 -1
  91. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +6 -1
  92. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +6 -1
  93. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +1 -1
  94. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +1 -1
  95. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +6 -1
  96. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +1 -1
  97. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +1 -1
  98. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +1 -1
  99. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +9 -10
  100. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +6 -1
  101. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +1 -1
  102. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +6 -1
  103. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +6 -1
  104. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +6 -1
  105. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +6 -1
  106. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +1 -1
  107. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +1 -1
  108. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +1 -1
  109. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +1 -1
  110. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +1 -1
  111. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +19 -0
  112. package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +10 -0
  113. package/ssr/esm/components/dist/styles/esm/styles-entry.js +503 -426
  114. package/ssr/esm/components/dist/utils/esm/utils-entry.js +72 -42
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-tile.wrapper.js +36 -0
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +35 -0
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset-wrapper.wrapper.js +1 -0
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset.wrapper.js +36 -0
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile-model-signature.wrapper.js +36 -0
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +6 -4
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +35 -0
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +8 -3
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +8 -3
  127. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +3 -3
  128. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +8 -3
  129. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +88 -0
  130. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +8 -3
  131. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +9 -3
  132. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +3 -3
  133. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +3 -3
  134. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +16 -0
  135. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +3 -3
  136. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +3 -3
  137. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +4 -3
  138. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +20 -0
  139. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +3 -3
  140. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +3 -3
  141. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +3 -3
  142. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +3 -3
  143. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +3 -3
  144. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +3 -3
  145. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +3 -3
  146. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +8 -3
  147. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +8 -3
  148. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +8 -3
  149. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +95 -0
  150. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +11 -5
  151. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +8 -3
  152. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +4 -3
  153. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +8 -3
  154. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +3 -3
  155. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +8 -3
  156. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +8 -3
  157. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +3 -3
  158. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +8 -3
  159. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +8 -3
  160. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +3 -3
  161. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +8 -3
  162. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +3 -3
  163. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +5 -0
  164. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +8 -3
  165. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +8 -3
  166. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +8 -3
  167. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +3 -3
  168. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +3 -3
  169. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +6 -1
  170. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +1 -1
  171. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +1 -1
  172. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +1 -1
  173. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +10 -11
  174. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +8 -3
  175. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +3 -3
  176. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +8 -3
  177. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +8 -3
  178. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +8 -3
  179. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +8 -3
  180. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +3 -3
  181. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +3 -3
  182. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +3 -3
  183. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +3 -3
  184. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +3 -3
  185. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +17 -0
  186. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +5 -0
  187. package/ssr/lib/components/banner.wrapper.d.ts +4 -2
  188. package/ssr/lib/components/button-tile.wrapper.d.ts +120 -0
  189. package/ssr/lib/components/carousel.wrapper.d.ts +12 -4
  190. package/ssr/lib/components/crest.wrapper.d.ts +30 -0
  191. package/ssr/lib/components/fieldset-wrapper.wrapper.d.ts +1 -0
  192. package/ssr/lib/components/fieldset.wrapper.d.ts +56 -0
  193. package/ssr/lib/components/index.d.ts +5 -0
  194. package/ssr/lib/components/link-tile-model-signature.wrapper.d.ts +64 -0
  195. package/ssr/lib/components/link-tile.wrapper.d.ts +2 -2
  196. package/ssr/lib/components/marque.wrapper.d.ts +1 -0
  197. package/ssr/lib/components/scroller.wrapper.d.ts +8 -0
  198. package/ssr/lib/components/table.wrapper.d.ts +9 -1
  199. package/ssr/lib/components/wordmark.wrapper.d.ts +46 -0
  200. package/ssr/lib/dsr-components/button-tile.d.ts +5 -0
  201. package/ssr/lib/dsr-components/crest.d.ts +5 -0
  202. package/ssr/lib/dsr-components/fieldset-wrapper.d.ts +1 -0
  203. package/ssr/lib/dsr-components/fieldset.d.ts +5 -0
  204. package/ssr/lib/dsr-components/link-tile-model-signature.d.ts +5 -0
  205. package/ssr/lib/dsr-components/marque.d.ts +1 -0
  206. package/ssr/lib/dsr-components/table.d.ts +0 -6
  207. package/ssr/lib/dsr-components/wordmark.d.ts +5 -0
  208. package/ssr/lib/types.d.ts +89 -43
  209. package/styles/_index.scss +1 -0
  210. package/styles/scss.scss +0 -1
@@ -51,6 +51,12 @@ const dropShadowLowStyle = {
51
51
  filter: `drop-shadow(0px 3px 8px ${_dropShadowBackgroundColor})`,
52
52
  };
53
53
 
54
+ const dropShadowHighStyle = {
55
+ filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
56
+ };
57
+
58
+ const themeLightStateFocus = '#1A44EA';
59
+
54
60
  const fontFamily = "'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
55
61
 
56
62
  const fontHyphenationStyle = {
@@ -99,13 +105,13 @@ const fontSizeDisplayLarge = 'clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem)';
99
105
 
100
106
  const fontWeightRegular = 400;
101
107
 
102
- const fontWeightSemiBold$1 = 600;
108
+ const fontWeightSemiBold = 600;
103
109
 
104
110
  const fontWeightBold = 700;
105
111
 
106
112
  const fontWeight = {
107
113
  regular: fontWeightRegular,
108
- semiBold: fontWeightSemiBold$1,
114
+ semiBold: fontWeightSemiBold,
109
115
  bold: fontWeightBold,
110
116
  };
111
117
 
@@ -174,15 +180,60 @@ const spacingFluidMedium = 'clamp(16px, 1.25vw + 12px, 36px)';
174
180
 
175
181
  const gridGap = spacingFluidMedium;
176
182
 
177
- const gridWidthMax = '2560px';
178
-
183
+ const _gridWidthMax = '2560px';
179
184
  // fluid sizing calculated by https://fluidtypography.com/#app-get-started
180
- // gridSafeZoneBase: Viewport Width Range = 320 - 1920px / Size Range = 22 - 192px
181
- const gridSafeZoneBase = 'clamp(22px, 10.625vw - 12px, 192px)';
185
+ const _gridSafeZoneBase = 'max(22px, 10.625vw - 12px)'; // viewport-width range = 320 - 760px / size range = 22 - 68.75px
186
+ const _gridSafeZoneS = 'calc(5vw - 16px)'; // viewport-width range = 760 - 1920px / size range = 22(22.75) - 80(79.71)px
187
+ const _gridSafeZoneXXL = 'min(50vw - 880px, 400px)'; // viewport-width range = 1920 - 2560px / size range = 80(79.71)px - 400(399.71)px
182
188
 
183
- // fluid sizing calculated by https://fluidtypography.com/#app-get-started
184
- // gridSafeZoneXXL: Viewport Width Range = 1920 - 2560px / Size Range = 192 - 512px
185
- const gridSafeZoneXXL = 'clamp(192px, 50vw - 768px, 512px)';
189
+ const columnMap = {
190
+ narrow: 4,
191
+ basic: 2,
192
+ extended: 1,
193
+ };
194
+ const gridColumnWidthS = `calc((100vw - ${_gridSafeZoneS} * 2 - ${gridGap} * 15) / 16)`;
195
+ const gridColumnWidthXXL = `calc((min(100vw, ${_gridWidthMax}) - ${_gridSafeZoneXXL} * 2 - ${gridGap} * 15) / 16)`;
196
+ const _gridPadding = `max(0px, 50vw - ${_gridWidthMax} / 2)`;
197
+ const _getGridOffsetS = (width) => `calc(${_gridSafeZoneS} + (${gridGap} + ${gridColumnWidthS}) * ${columnMap[width]})`;
198
+ const _getGridOffsetXXL = (width) => `calc(${_gridPadding} + ${_gridSafeZoneXXL} + (${gridGap} + ${gridColumnWidthXXL}) * ${columnMap[width]})`;
199
+
200
+ const gridFullOffset = _gridPadding;
201
+
202
+ const gridExtendedOffsetBase = _gridSafeZoneBase;
203
+
204
+ const gridExtendedOffsetS = _getGridOffsetS('extended');
205
+
206
+ const gridExtendedOffsetXXL = _getGridOffsetXXL('extended');
207
+
208
+ const gridExtendedOffset = {
209
+ base: gridExtendedOffsetBase,
210
+ s: gridExtendedOffsetS,
211
+ xxl: gridExtendedOffsetXXL,
212
+ };
213
+
214
+ const gridBasicOffsetBase = _gridSafeZoneBase;
215
+
216
+ const gridBasicOffsetS = _getGridOffsetS('basic');
217
+
218
+ const gridBasicOffsetXXL = _getGridOffsetXXL('basic');
219
+
220
+ const gridBasicOffset = {
221
+ base: gridBasicOffsetBase,
222
+ s: gridBasicOffsetS,
223
+ xxl: gridBasicOffsetXXL,
224
+ };
225
+
226
+ const gridNarrowOffsetBase = _gridSafeZoneBase;
227
+
228
+ const gridNarrowOffsetS = _getGridOffsetS('narrow');
229
+
230
+ const gridNarrowOffsetXXL = _getGridOffsetXXL('narrow');
231
+
232
+ const gridNarrowOffset = {
233
+ base: gridNarrowOffsetBase,
234
+ s: gridNarrowOffsetS,
235
+ xxl: gridNarrowOffsetXXL,
236
+ };
186
237
 
187
238
  function getMediaQueryMax(max) {
188
239
  return `@media(max-width:${breakpoint[max] - 1}px)`;
@@ -219,7 +270,7 @@ const displayLargeStyle = {
219
270
  font: `${_displayFontPartA}${fontSizeDisplayLarge}${_displayFontPartB}`,
220
271
  };
221
272
 
222
- const _headingFontPartA = `${fontStyleNormal} ${fontVariant} ${fontWeightSemiBold$1} `;
273
+ const _headingFontPartA = `${fontStyleNormal} ${fontVariant} ${fontWeightSemiBold} `;
223
274
  const _headingFontPartB = `/${fontLineHeight} ${fontFamily}`;
224
275
 
225
276
  const headingSmallStyle = {
@@ -3664,7 +3715,7 @@ const themeLight = {
3664
3715
  backgroundSurfaceColorDarken: '#CBCED7',
3665
3716
  backgroundSurfaceColorLighten: '#FFFFFF',
3666
3717
  contrastLowColor: '#D8D8DB',
3667
- contrastMediumColor: '#949598',
3718
+ contrastMediumColor: '#6B6D70',
3668
3719
  contrastHighColor: '#535457',
3669
3720
  contrastHighColorDarken: '#353638',
3670
3721
  contrastHighColorLighten: '#717276',
@@ -3673,24 +3724,24 @@ const themeLight = {
3673
3724
  activeColor: 'rgba(148, 149, 152, 0.20)',
3674
3725
  focusColor: '#1A44EA',
3675
3726
  disabledColor: '#949598',
3676
- errorColor: '#E7323B',
3677
- errorColorDarken: '#C51720',
3678
- errorSoftColor: '#FCE8E9',
3679
- errorSoftColorDarken: '#EED7D9',
3727
+ errorColor: '#CC1922',
3728
+ errorColorDarken: '#951219',
3729
+ errorSoftColor: '#FFE2E4',
3730
+ errorSoftColorDarken: '#F4CED1',
3680
3731
  errorSoftColorLighten: '#FFFFFF',
3681
- successColor: '#32B85B',
3682
- successColorDarken: '#258843',
3683
- successSoftColor: '#EBFAF0',
3684
- successSoftColorDarken: '#DDEAE1',
3732
+ successColor: '#197E10',
3733
+ successColorDarken: '#0E4809',
3734
+ successSoftColor: '#E4FFEC',
3735
+ successSoftColorDarken: '#D0F4DB',
3685
3736
  successSoftColorLighten: '#FFFFFF',
3686
- warningColor: '#FECC1B',
3687
- warningSoftColor: '#FFF9E6',
3688
- warningSoftColorDarken: '#F5ECD2',
3689
- warningSoftColorLighten: '#FFFFFF',
3690
- infoColor: '#1E5BEB',
3691
- infoSoftColor: '#E8EEFD',
3692
- infoSoftColorDarken: '#D6DEF0',
3693
- infoSoftColorLighten: '#FFFFFF'
3737
+ warningColor: '#F3BE00',
3738
+ warningSoftColor: '#FFF4D2',
3739
+ warningSoftColorDarken: '#F1E5C1',
3740
+ warningSoftColorLighten: '#FCFAF3',
3741
+ infoColor: '#2762EC',
3742
+ infoSoftColor: '#D3E1FF',
3743
+ infoSoftColorDarken: '#C2D1F1',
3744
+ infoSoftColorLighten: '#F4F7FD'
3694
3745
  };
3695
3746
  const themeDark = {
3696
3747
  primaryColor: '#FBFCFF',
@@ -3702,7 +3753,7 @@ const themeDark = {
3702
3753
  backgroundSurfaceColorDarken: '#040405',
3703
3754
  backgroundSurfaceColorLighten: '#3E4045',
3704
3755
  contrastLowColor: '#404044',
3705
- contrastMediumColor: '#7E7F82',
3756
+ contrastMediumColor: '#88898C',
3706
3757
  contrastHighColor: '#AFB0B3',
3707
3758
  contrastHighColorDarken: '#909195',
3708
3759
  contrastHighColorLighten: '#CECFD1',
@@ -3711,24 +3762,24 @@ const themeDark = {
3711
3762
  activeColor: 'rgba(126, 127, 130, 0.20)',
3712
3763
  focusColor: '#1A44EA',
3713
3764
  disabledColor: '#7E7F82',
3714
- errorColor: '#CB3333',
3715
- errorColorDarken: '#9A2727',
3716
- errorSoftColor: '#290A0A',
3717
- errorSoftColorDarken: '#0D0808',
3718
- errorSoftColorLighten: '#331F1F',
3719
- successColor: '#00C77E',
3720
- successColorDarken: '#008A57',
3765
+ errorColor: '#FC4040',
3766
+ errorColorDarken: '#FB0404',
3767
+ errorSoftColor: '#3A0F0F',
3768
+ errorSoftColorDarken: '#1A1111',
3769
+ errorSoftColorLighten: '#3F2828',
3770
+ successColor: '#09D087',
3771
+ successColorDarken: '#069561',
3721
3772
  successSoftColor: '#003320',
3722
3773
  successSoftColorDarken: '#04110C',
3723
3774
  successSoftColorLighten: '#0F432F',
3724
- warningColor: '#DDB84B',
3725
- warningSoftColor: '#2B2208',
3726
- warningSoftColorDarken: '#0D0C07',
3727
- warningSoftColorLighten: '#362F1C',
3728
- infoColor: '#027FFC',
3729
- infoSoftColor: '#001A33',
3730
- infoSoftColorDarken: '#040A11',
3731
- infoSoftColorLighten: '#0F2943'
3775
+ warningColor: '#F7CB47',
3776
+ warningSoftColor: '#362B0A',
3777
+ warningSoftColorDarken: '#16130B',
3778
+ warningSoftColorLighten: '#3E3720',
3779
+ infoColor: '#178BFF',
3780
+ infoSoftColor: '#04294E',
3781
+ infoSoftColorDarken: '#0C1A27',
3782
+ infoSoftColorLighten: '#1A3856'
3732
3783
  };
3733
3784
  const themes = {
3734
3785
  'light': themeLight,
@@ -3754,13 +3805,10 @@ const addImportantToEachRule = (input) => {
3754
3805
  typeof value === 'object' ? addImportantToEachRule(value) : addImportantToRule(value)),
3755
3806
  result), {});
3756
3807
  };
3757
- const getHoverJssStyle = ({ theme } = { theme: 'light' }) => {
3758
- return {
3759
- transition: getTransition('color'),
3760
- '&:hover': {
3761
- color: getThemedColors(theme).hoverColor,
3762
- },
3763
- };
3808
+ // TODO: this is workaround, in order the colors to be bundled in the main bundle, we need to have at least one function here, which is used in project and which calls "getThemedColors"
3809
+ // TODO: This mechanism needs to be investigated as part of refactoring
3810
+ const doGetThemedColors = (theme = 'light') => {
3811
+ return getThemedColors(theme);
3764
3812
  };
3765
3813
  const getInsetJssStyle = (value = 0) => {
3766
3814
  value = value === 0 || value === 'auto' ? value : `${value}px`;
@@ -3779,35 +3827,12 @@ const getResetInitialStylesForSlottedAnchor = {
3779
3827
  borderRadius: 0,
3780
3828
  background: 'transparent',
3781
3829
  };
3782
- const getFocusJssStyle = (opts) => {
3783
- const { pseudo, offset: outlineOffset, color: outlineColor, } = Object.assign({ color: 'currentColor', offset: 2 }, opts);
3784
- return pseudo
3785
- ? {
3786
- outline: 0,
3787
- '&::-moz-focus-inner': {
3788
- border: 0,
3789
- },
3790
- [`&${pseudo}`]: Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { outline: '1px solid transparent', outlineOffset: `${outlineOffset}px` }),
3791
- [`&:focus${pseudo}`]: {
3792
- outlineColor,
3793
- },
3794
- [`&:focus:not(:focus-visible)${pseudo}`]: {
3795
- outlineColor: 'transparent',
3796
- },
3797
- }
3798
- : {
3799
- outline: '1px solid transparent',
3800
- outlineOffset: `${outlineOffset}px`,
3801
- '&::-moz-focus-inner': {
3802
- border: 0,
3803
- },
3804
- '&:focus': {
3805
- outlineColor,
3806
- },
3807
- '&:focus:not(:focus-visible)': {
3808
- outlineColor: 'transparent',
3809
- },
3810
- };
3830
+ const focusPseudoJssStyle = {
3831
+ outline: 0,
3832
+ '&:focus::before': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { borderRadius: '1px', outline: `${borderWidthBase} solid ${themeLightStateFocus}`, outlineOffset: '2px' }),
3833
+ '&:focus:not(:focus-visible)::before': {
3834
+ outline: 0,
3835
+ },
3811
3836
  };
3812
3837
  const getTextHiddenJssStyle = (isHidden) => isHidden
3813
3838
  ? getScreenReaderOnlyJssStyle()
@@ -3915,14 +3940,14 @@ const mergeDeep = (...objects) => {
3915
3940
  }, {});
3916
3941
  };
3917
3942
 
3918
- const hasDocument = typeof document !== 'undefined';
3919
-
3920
- hasDocument && 'scrollBehavior' in document.documentElement.style;
3921
-
3922
3943
  const isThemeDark = (theme) => {
3923
3944
  return theme === 'dark';
3924
3945
  };
3925
3946
 
3947
+ const hasDocument = typeof document !== 'undefined';
3948
+
3949
+ hasDocument && 'scrollBehavior' in document.documentElement.style;
3950
+
3926
3951
  const formatObjectOutput = (value) => {
3927
3952
  return JSON.stringify(value)
3928
3953
  .replace(/"([a-zA-Z?]+)":/g, '$1:') // remove double quotes from keys
@@ -3935,7 +3960,7 @@ const formatObjectOutput = (value) => {
3935
3960
 
3936
3961
  const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
3937
3962
 
3938
- const getComponentCss$T = (size, compact, open, theme) => {
3963
+ const getComponentCss$Y = (size, compact, open, theme) => {
3939
3964
  const { primaryColor, hoverColor, focusColor, contrastLowColor } = getThemedColors(theme);
3940
3965
  const border = `1px solid ${contrastLowColor}`;
3941
3966
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -4004,50 +4029,9 @@ const getComponentCss$T = (size, compact, open, theme) => {
4004
4029
  } }));
4005
4030
  };
4006
4031
 
4007
- const TOAST_Z_INDEX = 999999;
4008
- const MODAL_Z_INDEX = 99999;
4009
- const POPOVER_Z_INDEX = 9999;
4010
- const BANNER_Z_INDEX = 99;
4011
-
4012
- const oneColumnWidthS = `calc((100% - ${gridSafeZoneBase} * 2 - ${gridGap} * 13) / 14)`;
4013
- const oneColumnWidthXXL = `calc((min(100%, ${gridWidthMax}) - ${gridSafeZoneXXL} * 2 - ${gridGap} * 13) / 14)`;
4014
- const offsetHorizontalXXL = `max(0px, (100% - ${gridWidthMax}) / 2)`;
4015
- const widthMap$1 = {
4016
- narrow: {
4017
- padding: `0 ${gridSafeZoneBase}`,
4018
- [getMediaQueryMin('s')]: {
4019
- padding: `0 calc(${gridSafeZoneBase} + ${gridGap} * 3 + ${oneColumnWidthS} * 3)`,
4020
- },
4021
- [getMediaQueryMin('xxl')]: {
4022
- padding: `0 calc(${offsetHorizontalXXL} + ${gridSafeZoneXXL} + ${gridGap} * 3 + ${oneColumnWidthXXL} * 3)`,
4023
- },
4024
- },
4025
- basic: {
4026
- padding: `0 ${gridSafeZoneBase}`,
4027
- [getMediaQueryMin('s')]: {
4028
- padding: `0 calc(${gridSafeZoneBase} + ${gridGap} + ${oneColumnWidthS})`,
4029
- },
4030
- [getMediaQueryMin('xxl')]: {
4031
- padding: `0 calc(${offsetHorizontalXXL} + ${gridSafeZoneXXL} + ${gridGap} + ${oneColumnWidthXXL})`,
4032
- },
4033
- },
4034
- extended: {
4035
- padding: `0 ${gridSafeZoneBase}`,
4036
- [getMediaQueryMin('xxl')]: {
4037
- padding: `0 calc(${offsetHorizontalXXL} + ${gridSafeZoneXXL})`,
4038
- },
4039
- },
4040
- };
4041
- const getContentWrapperStyle = (width) => {
4042
- return Object.assign({ display: 'block', margin: 0, padding: `0 ${offsetHorizontalXXL}`, width: 'auto', minWidth: 0, maxWidth: gridWidthMax }, widthMap$1[width]);
4043
- };
4044
-
4045
4032
  const easeInQuad = 'cubic-bezier(0.45,0,0.55,1)';
4046
4033
  const easeOutQuad = 'cubic-bezier(0.5,1,0.89,1)';
4047
4034
  const ANIMATION_DURATION = 600;
4048
- const getBoxShadow = () => ({
4049
- boxShadow: '0 2px 4px 0 rgba(0,0,0,0.05),0 15px 20px 0 rgba(0,0,0,0.2)',
4050
- });
4051
4035
  const getAnimationIn = (keyframesName, durationVar) => {
4052
4036
  const duration = durationVar ? `var(${durationVar},${ANIMATION_DURATION}ms)` : `${ANIMATION_DURATION}ms`;
4053
4037
  return {
@@ -4074,69 +4058,67 @@ const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
4074
4058
  transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
4075
4059
  });
4076
4060
 
4077
- const bannerPositionTypeVar = '--p-banner-position-type';
4078
- const bannerPositionTopVar = '--p-banner-position-top';
4079
- const bannerPositionBottomVar = '--p-banner-position-bottom';
4080
- const bannerZIndexVar = '--p-internal-banner-z-index';
4081
- const bannerAnimationDurationVar = '--p-animation-duration';
4082
- const bannerOffset = '56px';
4083
- const mediaQueryBase = getMediaQueryMinMax('base', 's');
4061
+ const TOAST_Z_INDEX = 999999;
4062
+ const MODAL_Z_INDEX = 99999;
4063
+ const POPOVER_Z_INDEX = 9999;
4064
+ const BANNER_Z_INDEX = 99;
4065
+
4066
+ const cssVariableTop = '--p-banner-position-top';
4067
+ const cssVariableBottom = '--p-banner-position-bottom';
4068
+ const cssVariableAnimationDuration = '--p-animation-duration';
4069
+ const cssVariableZIndex = '--p-internal-banner-z-index';
4070
+ const mediaQueryBaseToS = getMediaQueryMinMax('base', 's');
4084
4071
  const mediaQueryS$1 = getMediaQueryMin('s');
4072
+ const mediaQueryXXL$1 = getMediaQueryMin('xxl');
4085
4073
  const getKeyframesDesktop = (direction, topVar) => getKeyframes(direction, {
4086
4074
  opacity: 0,
4087
4075
  transform: `translate3d(0,calc(-100% - var(${topVar})),0)`, // space before and after "-" is crucial
4088
4076
  });
4089
- const widthMap = {
4090
- fluid: 'extended',
4091
- extended: 'extended',
4092
- basic: 'basic',
4093
- };
4094
- const getComponentCss$S = (width) => {
4077
+ const getComponentCss$X = () => {
4095
4078
  return getCss({
4096
4079
  '@global': {
4097
- ':host': Object.assign(Object.assign({
4098
- // TODO: Why is nothing set as important here?
4099
- [bannerPositionTopVar]: bannerOffset, [bannerPositionBottomVar]: bannerOffset, position: `var(${bannerPositionTypeVar},fixed)`, zIndex: `var(${bannerZIndexVar},${BANNER_Z_INDEX})`, opacity: 0, left: 0, right: 0, willChange: 'opacity,transform' }, mergeDeep(addImportantToEachRule(Object.assign(Object.assign({}, getContentWrapperStyle(widthMap[width])), hostHiddenStyles)), {
4100
- [mediaQueryBase]: {
4101
- bottom: `var(${bannerPositionBottomVar})`,
4102
- },
4103
- [mediaQueryS$1]: {
4104
- top: `var(${bannerPositionTopVar})`,
4105
- },
4106
- })), { '&(.hydrated),&(.ssr)': {
4107
- [mediaQueryBase]: getAnimationIn('mobileIn', bannerAnimationDurationVar),
4108
- [mediaQueryS$1]: getAnimationIn('desktopIn', bannerAnimationDurationVar),
4080
+ ':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]: {
4081
+ top: `var(${cssVariableTop})`,
4082
+ bottom: 'auto',
4083
+ left: gridExtendedOffsetS,
4084
+ right: gridExtendedOffsetS,
4085
+ }, [mediaQueryXXL$1]: {
4086
+ left: gridExtendedOffsetXXL,
4087
+ right: gridExtendedOffsetXXL,
4088
+ } }), hostHiddenStyles))), { '&(.hydrated),&(.ssr)': {
4089
+ [mediaQueryBaseToS]: getAnimationIn('mobileIn', cssVariableAnimationDuration),
4090
+ [mediaQueryS$1]: getAnimationIn('desktopIn', cssVariableAnimationDuration),
4109
4091
  }, '&(.banner--close)': {
4110
- [mediaQueryBase]: getAnimationOut('mobileOut'),
4092
+ [mediaQueryBaseToS]: getAnimationOut('mobileOut'),
4111
4093
  [mediaQueryS$1]: getAnimationOut('desktopOut'),
4112
4094
  } }),
4113
- '@keyframes mobileIn': getKeyframesMobile('in', bannerPositionBottomVar),
4114
- '@keyframes mobileOut': getKeyframesMobile('out', bannerPositionBottomVar),
4115
- '@keyframes desktopIn': getKeyframesDesktop('in', bannerPositionTopVar),
4116
- '@keyframes desktopOut': getKeyframesDesktop('out', bannerPositionTopVar),
4095
+ '@keyframes mobileIn': getKeyframesMobile('in', cssVariableBottom),
4096
+ '@keyframes mobileOut': getKeyframesMobile('out', cssVariableBottom),
4097
+ '@keyframes desktopIn': getKeyframesDesktop('in', cssVariableTop),
4098
+ '@keyframes desktopOut': getKeyframesDesktop('out', cssVariableTop),
4117
4099
  },
4118
- root: getBoxShadow(),
4119
4100
  });
4120
4101
  };
4121
4102
 
4122
- const getDirectionJssStyle = (direction) => {
4123
- const style = {
4124
- column: {
4125
- flexFlow: 'column nowrap',
4126
- alignItems: 'stretch',
4127
- },
4128
- row: {
4129
- flexFlow: 'row wrap',
4130
- alignItems: 'center',
4131
- },
4132
- };
4133
- return style[direction];
4103
+ const groupDirectionJssStyles = {
4104
+ column: {
4105
+ flexFlow: 'column nowrap',
4106
+ alignItems: 'stretch',
4107
+ },
4108
+ row: {
4109
+ flexFlow: 'row wrap',
4110
+ alignItems: 'center',
4111
+ },
4134
4112
  };
4135
- const getComponentCss$R = (direction) => {
4113
+ const getGroupDirectionJssStyles = (direction) => {
4114
+ return groupDirectionJssStyles[direction];
4115
+ };
4116
+
4117
+ const getComponentCss$W = (direction) => {
4136
4118
  return getCss({
4137
4119
  '@global': {
4138
4120
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
4139
- div: Object.assign({ display: 'flex', gap: spacingFluidSmall }, buildResponsiveStyles(direction, getDirectionJssStyle)),
4121
+ div: Object.assign({ display: 'flex', gap: spacingFluidSmall }, buildResponsiveStyles(direction, getGroupDirectionJssStyles)),
4140
4122
  },
4141
4123
  });
4142
4124
  };
@@ -4157,7 +4139,7 @@ const getFontSizeText = (size) => {
4157
4139
  // Needed for slotted anchor and hidden label, which then enlarges the hidden label to equal host size and indents the text to be visually hidden.
4158
4140
  const getVisibilityJssStyle = (hideLabel) => {
4159
4141
  return hideLabel
4160
- ? Object.assign(Object.assign({ position: 'absolute' }, getInsetJssStyle(0)), { whiteSpace: 'nowrap', textIndent: '-999999px' }) : Object.assign(Object.assign({ position: 'relative' }, getInsetJssStyle('auto')), { whiteSpace: 'inherit', textIndent: 0 });
4142
+ ? Object.assign(Object.assign({ position: 'absolute' }, getInsetJssStyle()), { whiteSpace: 'nowrap', textIndent: '-999999px' }) : Object.assign(Object.assign({ position: 'relative' }, getInsetJssStyle('auto')), { whiteSpace: 'inherit', textIndent: 0 });
4161
4143
  };
4162
4144
  const offsetVertical = '-2px';
4163
4145
  const offsetHorizontal = '-4px';
@@ -4199,7 +4181,7 @@ const getLinkButtonPureStyles = (icon, iconSource, active, isDisabledOrLoading,
4199
4181
  }));
4200
4182
  };
4201
4183
 
4202
- const getComponentCss$Q = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4184
+ const getComponentCss$V = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4203
4185
  const hasIcon = hasVisibleIcon(icon, iconSource);
4204
4186
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, false, theme), Object.assign({ root: {
4205
4187
  appearance: 'none',
@@ -4222,6 +4204,111 @@ const getComponentCss$Q = (icon, iconSource, active, isLoading, isDisabledOrLoad
4222
4204
  }))));
4223
4205
  };
4224
4206
 
4207
+ const fontWeightMap = {
4208
+ regular: fontWeightRegular,
4209
+ 'semi-bold': fontWeightSemiBold,
4210
+ bold: fontWeightBold,
4211
+ };
4212
+ const getFontWeight = (weight) => {
4213
+ return fontWeightMap[weight];
4214
+ };
4215
+
4216
+ const getThemedTypographyColor = (theme, textColor) => {
4217
+ // TODO: don't destructure for better minification
4218
+ const { primaryColor, contrastHighColor, contrastMediumColor, contrastLowColor, successColor, errorColor, warningColor, infoColor, } = getThemedColors(theme);
4219
+ const colorMap = {
4220
+ primary: primaryColor,
4221
+ default: primaryColor,
4222
+ 'contrast-low': contrastLowColor,
4223
+ 'contrast-medium': contrastMediumColor,
4224
+ 'contrast-high': contrastHighColor,
4225
+ 'notification-success': successColor,
4226
+ 'notification-warning': warningColor,
4227
+ 'notification-error': errorColor,
4228
+ 'notification-info': infoColor,
4229
+ inherit: 'currentColor',
4230
+ };
4231
+ return colorMap[textColor];
4232
+ };
4233
+
4234
+ const aspectRatioPaddingMap = {
4235
+ '1:1': '100%',
4236
+ '4:3': '75%',
4237
+ '3:4': '133.33%',
4238
+ '16:9': '56.25%',
4239
+ '9:16': '177.75%',
4240
+ };
4241
+ const getTileBaseStyles = (aspectRatio, isDisabled) => {
4242
+ return {
4243
+ '@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)) }, addImportantToEachRule({
4244
+ '::slotted': {
4245
+ '&(picture)': Object.assign({ position: 'absolute' }, getInsetJssStyle()),
4246
+ '&(img)': {
4247
+ height: '100%',
4248
+ width: '100%',
4249
+ objectFit: 'cover',
4250
+ },
4251
+ },
4252
+ })),
4253
+ root: Object.assign(Object.assign({ position: 'relative', height: 0, overflow: 'hidden', transform: 'translate3d(0,0,0)', borderRadius: borderRadiusMedium, color: getThemedTypographyColor('dark', 'primary') }, buildResponsiveStyles(aspectRatio, (ratio) => ({
4254
+ paddingTop: aspectRatioPaddingMap[ratio],
4255
+ }))), (!isDisabled &&
4256
+ hoverMediaQuery({
4257
+ '&:hover .image-container': {
4258
+ transform: 'scale3d(1.05,1.05,1.05)',
4259
+ },
4260
+ }))),
4261
+ 'image-container': Object.assign({ position: 'absolute', transition: getTransition('transform') }, getInsetJssStyle()),
4262
+ content: {
4263
+ position: 'absolute',
4264
+ left: 0,
4265
+ right: 0,
4266
+ display: 'flex',
4267
+ justifyItems: 'start',
4268
+ gap: spacingStaticMedium,
4269
+ borderRadius: borderRadiusMedium,
4270
+ '@media (forced-colors: active)': {
4271
+ background: 'rgba(0,0,0,0.7)',
4272
+ },
4273
+ },
4274
+ };
4275
+ };
4276
+
4277
+ const sizeMap$5 = {
4278
+ inherit: { fontSize: 'inherit' },
4279
+ default: { fontSize: fontSizeTextMedium },
4280
+ };
4281
+ const getButtonLinkTileStyles = (aspectRatio, size, weight, // to get deprecated semibold typed
4282
+ align, compact, hasGradient, isDisabled) => {
4283
+ const isTopAligned = align === 'top';
4284
+ return Object.assign({}, mergeDeep(getTileBaseStyles(aspectRatio, isDisabled), {
4285
+ '@global': {
4286
+ p: Object.assign(Object.assign({ maxWidth: pxToRemWithUnit(550), margin: 0 }, textLargeStyle), mergeDeep(buildResponsiveStyles(size, (s) => sizeMap$5[s]), buildResponsiveStyles(weight, (w) => ({
4287
+ fontWeight: getFontWeight(w === 'semibold' ? 'semi-bold' : w), // mapping of the deprecated weight semibold
4288
+ })))),
4289
+ },
4290
+ content: Object.assign(Object.assign(Object.assign({ display: 'grid' }, (isTopAligned ? { top: 0 } : { bottom: 0 })), { padding: isTopAligned
4291
+ ? `${spacingFluidMedium} ${spacingFluidMedium} ${spacingFluidLarge}`
4292
+ : `${spacingFluidLarge} ${spacingFluidMedium} ${spacingFluidMedium}` }), mergeDeep(hasGradient &&
4293
+ buildResponsiveStyles(compact, (isCompact) => isCompact && isTopAligned ? gradientToBottomStyle : gradientToTopStyle), buildResponsiveStyles(compact, (isCompact) => isCompact // TODO: use flex
4294
+ ? Object.assign({ alignItems: 'center', gridTemplateColumns: 'auto 24px', gridTemplateRows: 'auto' }, (isTopAligned ? { top: 0 } : { bottom: 0 })) : {
4295
+ gridTemplateRows: 'auto auto',
4296
+ gridTemplateColumns: 'auto',
4297
+ }))),
4298
+ 'link-or-button-pure': buildResponsiveStyles(compact, (isCompact) => ({
4299
+ display: isCompact ? 'inline-block' : 'none',
4300
+ })),
4301
+ 'link-or-button': Object.assign({ minHeight: '54px' }, buildResponsiveStyles(compact, (isCompact) => ({
4302
+ display: isCompact ? 'none' : 'inline-block',
4303
+ }))),
4304
+ }));
4305
+ };
4306
+
4307
+ const getComponentCss$U = (isDisabledOrLoading, ...args) => {
4308
+ const buttonLinkTileStyles = getButtonLinkTileStyles(...args);
4309
+ return getCss(Object.assign(Object.assign({}, buttonLinkTileStyles), { root: Object.assign(Object.assign({}, buttonLinkTileStyles.root), { cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer' }) }));
4310
+ };
4311
+
4225
4312
  const { primaryColor: darkThemePrimaryColor$1 } = getThemedColors('dark');
4226
4313
  const { primaryColor: lightThemePrimaryColor$1 } = getThemedColors('light');
4227
4314
  const getVariantColors = (variant, theme) => {
@@ -4297,7 +4384,7 @@ const getDisabledColors = (variant, loading, theme) => {
4297
4384
  };
4298
4385
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4299
4386
  };
4300
- const getComponentCss$P = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4387
+ const getComponentCss$T = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4301
4388
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4302
4389
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4303
4390
  const isPrimary = variant === 'primary';
@@ -4332,33 +4419,15 @@ const mediaQueryXXL = getMediaQueryMin('xxl');
4332
4419
  const buttonSize$1 = `calc(${spacingStaticSmall} * 2 + ${fontLineHeight})`;
4333
4420
  // + 2px, compensates hover offset of button-pure
4334
4421
  const buttonGroupWidth = `calc(${buttonSize$1} * 2 + ${spacingStaticXSmall} + 2px)`;
4335
- // we don't need to abstract spacing definitions since component content-wrapper is deprecated and will be removed soon
4336
- const gridColumn1FrS = `calc((100% - ${gridSafeZoneBase} * 2 - ${gridGap} * 13) / 14)`;
4337
- const gridColumn1FrXXL = `calc((min(100%, ${gridWidthMax}) - ${gridSafeZoneXXL} * 2 - ${gridGap} * 13) / 14)`;
4338
4422
  const spacingMap = {
4339
- basic: {
4340
- padding: `0 ${gridSafeZoneBase}`,
4341
- [mediaQueryS]: {
4342
- padding: `0 calc(${gridSafeZoneBase} + ${gridGap} + ${gridColumn1FrS})`,
4343
- },
4344
- [mediaQueryXXL]: {
4345
- padding: `0 calc(${gridSafeZoneXXL} + ${gridGap} + ${gridColumn1FrXXL})`,
4346
- },
4347
- },
4348
- extended: {
4349
- padding: `0 ${gridSafeZoneBase}`,
4350
- [mediaQueryXXL]: {
4351
- padding: `0 ${gridSafeZoneXXL}`,
4352
- },
4353
- },
4423
+ basic: gridBasicOffset,
4424
+ extended: gridExtendedOffset,
4354
4425
  };
4355
- const getComponentCss$O = (width, hasPagination, alignHeader, theme) => {
4426
+ const getComponentCss$S = (width, hasPagination, alignHeader, theme) => {
4356
4427
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
4357
4428
  const isHeaderAlignCenter = alignHeader === 'center';
4358
4429
  return getCss(Object.assign({ '@global': {
4359
- ':host': addImportantToEachRule(Object.assign({ display: 'flex', gap: spacingFluidMedium, flexDirection: 'column', maxWidth: gridWidthMax,
4360
- // relevant for viewport width > 2560px
4361
- paddingLeft: `calc(50% - ${gridWidthMax} / 2)`, paddingRight: `calc(50% - ${gridWidthMax} / 2)`, boxSizing: 'content-box' }, hostHiddenStyles)),
4430
+ ':host': addImportantToEachRule(Object.assign({ display: 'flex', gap: spacingFluidMedium, flexDirection: 'column', boxSizing: 'content-box' }, hostHiddenStyles)),
4362
4431
  [selectorHeading]: addImportantToEachRule(Object.assign(Object.assign({}, headingXLargeStyle), { maxWidth: '56.25rem', margin: 0 })),
4363
4432
  [selectorDescription]: addImportantToEachRule(Object.assign(Object.assign({}, textSmallStyle), { maxWidth: '34.375rem', margin: `${spacingFluidXSmall} 0 0` })),
4364
4433
  [`${selectorHeading},${selectorDescription}`]: addImportantToEachRule({
@@ -4372,11 +4441,16 @@ const getComponentCss$O = (width, hasPagination, alignHeader, theme) => {
4372
4441
  gridColumn: '1 / 3',
4373
4442
  },
4374
4443
  }),
4375
- }, header: Object.assign({ display: 'grid' }, mergeDeep(spacingMap[width], {
4376
- [mediaQueryS]: Object.assign({ fontFamily, fontSize: fontSizeTextSmall, columnGap: spacingStaticMedium, gridTemplateColumns: `${buttonGroupWidth} minmax(0px, 1fr) ${buttonGroupWidth}` }, (isHeaderAlignCenter && {
4444
+ }, header: {
4445
+ display: 'grid',
4446
+ padding: `0 ${spacingMap[width].base}`,
4447
+ [mediaQueryS]: Object.assign(Object.assign({ fontFamily, fontSize: fontSizeTextSmall, columnGap: spacingStaticMedium, gridTemplateColumns: `${buttonGroupWidth} minmax(0px, 1fr) ${buttonGroupWidth}` }, (isHeaderAlignCenter && {
4377
4448
  justifyItems: 'center', // relevant when max-width of heading or description is reached
4378
- })),
4379
- })), nav: {
4449
+ })), { padding: `0 ${spacingMap[width].s}` }),
4450
+ [mediaQueryXXL]: {
4451
+ padding: `0 ${spacingMap[width].xxl}`,
4452
+ },
4453
+ }, nav: {
4380
4454
  display: 'none',
4381
4455
  [mediaQueryS]: {
4382
4456
  display: 'flex',
@@ -4389,9 +4463,18 @@ const getComponentCss$O = (width, hasPagination, alignHeader, theme) => {
4389
4463
  }, splide: {
4390
4464
  overflow: 'hidden',
4391
4465
  // visibility: 'hidden',
4392
- '&__track': Object.assign(Object.assign({ cursor: 'grab' }, addImportantToEachRule(Object.assign(Object.assign({}, spacingMap[width]), { [getMediaQueryMax('xs')]: {
4393
- paddingRight: `calc(${gridSafeZoneBase} + ${gridGap})`, // we need to give cut off slides a bit more space on mobile views
4394
- } }))), { '&--draggable': {
4466
+ '&__track': Object.assign(Object.assign({ cursor: 'grab' }, addImportantToEachRule({
4467
+ padding: `0 ${spacingMap[width].base}`,
4468
+ [getMediaQueryMax('xs')]: {
4469
+ paddingRight: `calc(${gridBasicOffsetBase} + ${gridGap})`, // we need to give cut off slides a bit more space on mobile views
4470
+ },
4471
+ [mediaQueryS]: {
4472
+ padding: `0 ${spacingMap[width].s}`,
4473
+ },
4474
+ [mediaQueryXXL]: {
4475
+ padding: `0 ${spacingMap[width].xxl}`,
4476
+ },
4477
+ })), { '&--draggable': {
4395
4478
  userSelect: 'none',
4396
4479
  WebkitUserSelect: 'none',
4397
4480
  WebkitTouchCallout: 'none',
@@ -4494,7 +4577,7 @@ const getInlineSVGBackgroundImage = (path) => {
4494
4577
  return `url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">${path}</svg>')`;
4495
4578
  };
4496
4579
 
4497
- const getComponentCss$N = (hideLabel, state, isDisabled, theme) => {
4580
+ const getComponentCss$R = (hideLabel, state, isDisabled, theme) => {
4498
4581
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
4499
4582
  const indeterminateIconColor = getThemedColors(theme).primaryColor.replace(/#/g, '%23');
4500
4583
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
@@ -4514,34 +4597,53 @@ const getComponentCss$N = (hideLabel, state, isDisabled, theme) => {
4514
4597
  }));
4515
4598
  };
4516
4599
 
4517
- const getComponentCss$M = (width) => {
4600
+ const widthMap = {
4601
+ narrow: gridNarrowOffset,
4602
+ basic: gridBasicOffset,
4603
+ extended: gridExtendedOffset,
4604
+ };
4605
+ const getComponentCss$Q = (width) => {
4518
4606
  return getCss({
4519
4607
  '@global': {
4520
4608
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
4521
4609
  },
4522
- root: getContentWrapperStyle(width),
4610
+ root: Object.assign({ minWidth: 0 }, (['full', 'fluid'].includes(width)
4611
+ ? {
4612
+ padding: `0 ${gridFullOffset}`,
4613
+ }
4614
+ : {
4615
+ padding: `0 ${widthMap[width].base}`,
4616
+ [getMediaQueryMin('s')]: {
4617
+ padding: `0 ${widthMap[width].s}`,
4618
+ },
4619
+ [getMediaQueryMin('xxl')]: {
4620
+ padding: `0 ${widthMap[width].xxl}`,
4621
+ },
4622
+ })),
4523
4623
  });
4524
4624
  };
4525
4625
 
4526
- const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
4527
-
4528
- const getThemedTypographyColor = (theme, textColor) => {
4529
- const { primaryColor, contrastHighColor, contrastMediumColor, contrastLowColor, successColor, errorColor, warningColor, infoColor, } = getThemedColors(theme);
4530
- const colorMap = {
4531
- primary: primaryColor,
4532
- default: primaryColor,
4533
- 'contrast-low': contrastLowColor,
4534
- 'contrast-medium': contrastMediumColor,
4535
- 'contrast-high': contrastHighColor,
4536
- 'notification-success': successColor,
4537
- 'notification-warning': warningColor,
4538
- 'notification-error': errorColor,
4539
- 'notification-info': infoColor,
4540
- inherit: 'currentColor',
4541
- };
4542
- return colorMap[textColor];
4626
+ const getComponentCss$P = () => {
4627
+ return getCss({
4628
+ '@global': {
4629
+ ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
4630
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
4631
+ picture: {
4632
+ display: 'block',
4633
+ width: '30px',
4634
+ height: '40px',
4635
+ },
4636
+ img: {
4637
+ display: 'block',
4638
+ width: '100%',
4639
+ height: 'auto',
4640
+ },
4641
+ },
4642
+ });
4543
4643
  };
4544
4644
 
4645
+ const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
4646
+
4545
4647
  const getTypographyRootJssStyle = (baseTextStyle, responsiveStyle, align, color, ellipsis, theme) => {
4546
4648
  return Object.assign(Object.assign(Object.assign(Object.assign({ margin: 0, padding: 0 }, baseTextStyle), { color: getThemedTypographyColor(theme, color), textAlign: align, letterSpacing: 'normal', listStyleType: 'none', whiteSpace: 'inherit' }), (ellipsis && {
4547
4649
  maxWidth: '100%',
@@ -4570,12 +4672,12 @@ const getTypographySlottedJssStyle = () => {
4570
4672
  };
4571
4673
  };
4572
4674
 
4573
- const sizeMap$5 = {
4675
+ const sizeMap$4 = {
4574
4676
  small: fontSizeDisplaySmall,
4575
4677
  medium: fontSizeDisplayMedium,
4576
4678
  large: fontSizeDisplayLarge,
4577
4679
  };
4578
- const getComponentCss$L = (size, align, color, ellipsis, theme) => {
4680
+ const getComponentCss$O = (size, align, color, ellipsis, theme) => {
4579
4681
  return getCss({
4580
4682
  '@global': {
4581
4683
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4584,12 +4686,12 @@ const getComponentCss$L = (size, align, color, ellipsis, theme) => {
4584
4686
  },
4585
4687
  },
4586
4688
  root: getTypographyRootJssStyle(displayLargeStyle, buildResponsiveStyles(size, (sizeValue) => ({
4587
- fontSize: sizeValue === 'inherit' ? sizeValue : sizeMap$5[sizeValue],
4689
+ fontSize: sizeValue === 'inherit' ? sizeValue : sizeMap$4[sizeValue],
4588
4690
  })), align, color, ellipsis, theme),
4589
4691
  });
4590
4692
  };
4591
4693
 
4592
- const getComponentCss$K = (color, orientation, theme) => {
4694
+ const getComponentCss$N = (color, orientation, theme) => {
4593
4695
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
4594
4696
  const colorMap = {
4595
4697
  'contrast-low': contrastLowColor,
@@ -4604,7 +4706,21 @@ const getComponentCss$K = (color, orientation, theme) => {
4604
4706
  });
4605
4707
  };
4606
4708
 
4607
- const getComponentCss$J = (state, labelSize, hasLabel, theme) => {
4709
+ const getComponentCss$M = (state, labelSize, hasLabel, theme) => {
4710
+ return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4711
+ margin: 0,
4712
+ padding: 0,
4713
+ border: 'none',
4714
+ } }, (hasLabel && {
4715
+ legend: Object.assign({ margin: `0 0 ${spacingStaticMedium}`, padding: 0, color: getThemedColors(theme).primaryColor }, (labelSize === 'small' ? headingSmallStyle : headingMediumStyle)),
4716
+ })) }, getFunctionalComponentRequiredStyles()), mergeDeep(getFunctionalComponentStateMessageStyles(theme, state), {
4717
+ message: {
4718
+ marginTop: spacingStaticMedium,
4719
+ },
4720
+ })));
4721
+ };
4722
+
4723
+ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4608
4724
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4609
4725
  margin: 0,
4610
4726
  padding: 0,
@@ -4628,7 +4744,7 @@ const flexItemWidths = {
4628
4744
  full: 100,
4629
4745
  auto: 'auto',
4630
4746
  };
4631
- const getComponentCss$I = (width, offset, alignSelf, grow, shrink, flex) => {
4747
+ const getComponentCss$K = (width, offset, alignSelf, grow, shrink, flex) => {
4632
4748
  return getCss({
4633
4749
  '@global': {
4634
4750
  ':host': addImportantToEachRule(Object.assign(Object.assign({ boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(width, (widthResponsive) => ({
@@ -4646,7 +4762,7 @@ const getComponentCss$I = (width, offset, alignSelf, grow, shrink, flex) => {
4646
4762
  });
4647
4763
  };
4648
4764
 
4649
- const getComponentCss$H = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4765
+ const getComponentCss$J = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4650
4766
  return getCss({
4651
4767
  '@global': {
4652
4768
  ':host': addImportantToEachRule(mergeDeep(hostHiddenStyles, buildResponsiveStyles(inline, (inlineResponsive) => ({
@@ -4668,7 +4784,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
4668
4784
  const gridItemWidths = [
4669
4785
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
4670
4786
  ];
4671
- const getComponentCss$G = (size, offset) => {
4787
+ const getComponentCss$I = (size, offset) => {
4672
4788
  return getCss({
4673
4789
  '@global': {
4674
4790
  ':host': addImportantToEachRule(Object.assign(Object.assign({ paddingLeft: gutter$1, paddingRight: gutter$1, boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(size, (sizeResponsive) => ({
@@ -4682,7 +4798,7 @@ const getComponentCss$G = (size, offset) => {
4682
4798
  };
4683
4799
 
4684
4800
  const gutter = `calc(${gridGap} / -2)`;
4685
- const getComponentCss$F = (direction, wrap) => {
4801
+ const getComponentCss$H = (direction, wrap) => {
4686
4802
  return getCss({
4687
4803
  '@global': {
4688
4804
  ':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 }))))),
@@ -4690,14 +4806,14 @@ const getComponentCss$F = (direction, wrap) => {
4690
4806
  });
4691
4807
  };
4692
4808
 
4693
- const sizeMap$4 = {
4809
+ const sizeMap$3 = {
4694
4810
  small: fontSizeHeadingSmall,
4695
4811
  medium: fontSizeHeadingMedium,
4696
4812
  large: fontSizeHeadingLarge,
4697
4813
  'x-large': fontSizeHeadingXLarge,
4698
4814
  'xx-large': fontSizeHeadingXXLarge,
4699
4815
  };
4700
- const getComponentCss$E = (size, align, color, ellipsis, theme) => {
4816
+ const getComponentCss$G = (size, align, color, ellipsis, theme) => {
4701
4817
  return getCss({
4702
4818
  '@global': {
4703
4819
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4706,7 +4822,7 @@ const getComponentCss$E = (size, align, color, ellipsis, theme) => {
4706
4822
  },
4707
4823
  },
4708
4824
  root: getTypographyRootJssStyle(headingXXLargeStyle, buildResponsiveStyles(size, (sizeValue) => ({
4709
- fontSize: sizeValue === 'inherit' ? sizeValue : sizeMap$4[sizeValue],
4825
+ fontSize: sizeValue === 'inherit' ? sizeValue : sizeMap$3[sizeValue],
4710
4826
  })), align, color, ellipsis, theme),
4711
4827
  });
4712
4828
  };
@@ -4751,7 +4867,7 @@ const getTextSizeJssStyle = (textSize) => {
4751
4867
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
4752
4868
  };
4753
4869
  };
4754
- const getComponentCss$D = (variant, align, color, ellipsis, theme) => {
4870
+ const getComponentCss$F = (variant, align, color, ellipsis, theme) => {
4755
4871
  return getCss({
4756
4872
  '@global': {
4757
4873
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4768,25 +4884,25 @@ const getComponentCss$D = (variant, align, color, ellipsis, theme) => {
4768
4884
  const toFilter = (values) => `invert(${values[0]}%) sepia(${values[1]}%) saturate(${values[2]}%) hue-rotate(${values[3]}deg) brightness(${values[4]}%) contrast(${values[5]}%)`;
4769
4885
 
4770
4886
  const filterLightContrastLow = toFilter([93, 11, 36, 201, 89, 102]);
4771
- const filterLightContrastMedium = toFilter([65, 6, 119, 187, 90, 92]);
4887
+ const filterLightContrastMedium = toFilter([45, 6, 235, 177, 91, 85]);
4772
4888
  const filterLightContrastHigh = toFilter([40, 2, 686, 187, 80, 94]);
4773
4889
  const filterDarkContrastLow = toFilter([20, 7, 421, 202, 97, 82]);
4774
- const filterDarkContrastMedium = toFilter([54, 4, 229, 187, 91, 84]);
4890
+ const filterDarkContrastMedium = toFilter([66, 3, 333, 187, 82, 86]);
4775
4891
  const filterDarkContrastHigh = toFilter([68, 6, 108, 187, 104, 88]);
4776
4892
 
4777
- const filterLightNotificationSuccess = toFilter([62, 61, 551, 86, 86, 80]);
4778
- const filterLightNotificationWarning = toFilter([74, 91, 343, 348, 92, 86]);
4779
- const filterLightNotificationError = toFilter([25, 62, 2003, 335, 100, 97]);
4780
- const filterLightNotificationInfo = toFilter([31, 32, 5493, 216, 90, 107]);
4781
- const filterDarkNotificationSuccess = toFilter([59, 22, 1342, 86, 96, 88]);
4782
- const filterDarkNotificationWarning = toFilter([72, 94, 303, 354, 89, 94]);
4783
- const filterDarkNotificationError = toFilter([28, 34, 3133, 333, 95, 100]);
4784
- const filterDarkNotificationInfo = toFilter([31, 32, 5493, 216, 90, 107]);
4893
+ const filterLightNotificationSuccess = toFilter([28, 89, 572, 71, 111, 98]);
4894
+ const filterLightNotificationWarning = toFilter([58, 53, 820, 12, 112, 103]);
4895
+ const filterLightNotificationError = toFilter([14, 75, 4140, 347, 100, 97]);
4896
+ const filterLightNotificationInfo = toFilter([44, 100, 492, 195, 86, 221]);
4897
+ const filterDarkNotificationSuccess = toFilter([60, 71, 512, 106, 91, 97]);
4898
+ const filterDarkNotificationWarning = toFilter([75, 39, 759, 350, 109, 94]);
4899
+ const filterDarkNotificationError = toFilter([64, 91, 5857, 336, 98, 102]);
4900
+ const filterDarkNotificationInfo = toFilter([56, 77, 4175, 198, 104, 98]);
4785
4901
 
4786
4902
  const filterLightPrimary = toFilter([3, 7, 2930, 188, 91, 103]);
4787
- const filterDarkPrimary = toFilter([97, 55, 2840, 180, 114, 103]);
4903
+ const filterDarkPrimary = toFilter([100, 91, 38, 254, 110, 110]);
4788
4904
 
4789
- const sizeMap$3 = {
4905
+ const sizeMap$2 = {
4790
4906
  'xx-small': fontSizeTextXXSmall,
4791
4907
  'x-small': fontSizeTextXSmall,
4792
4908
  small: fontSizeTextSmall,
@@ -4828,7 +4944,7 @@ const forceRerenderAnimationStyle = {
4828
4944
  };
4829
4945
  const keyFramesLight = 'rerender-light';
4830
4946
  const keyFramesDark = 'rerender-dark';
4831
- const getComponentCss$C = (color, size, theme) => {
4947
+ const getComponentCss$E = (color, size, theme) => {
4832
4948
  const isColorInherit = color === 'inherit';
4833
4949
  const isSizeInherit = size === 'inherit';
4834
4950
  const isDark = isThemeDark(theme);
@@ -4844,7 +4960,7 @@ const getComponentCss$C = (color, size, theme) => {
4844
4960
  : {
4845
4961
  width: fontLineHeight,
4846
4962
  height: fontLineHeight,
4847
- font: `${sizeMap$3[size]} ${fontFamily}`,
4963
+ font: `${sizeMap$2[size]} ${fontFamily}`,
4848
4964
  })) }, (!isColorInherit && {
4849
4965
  [`@keyframes ${isDark ? keyFramesDark : keyFramesLight}`]: forceRerenderAnimationStyle,
4850
4966
  })),
@@ -4895,7 +5011,7 @@ const getNotificationContentJssStyle = () => ({
4895
5011
  });
4896
5012
 
4897
5013
  const mediaQueryMaxS = getMediaQueryMax('s');
4898
- const getComponentCss$B = (state, hasAction, hasClose, theme) => {
5014
+ const getComponentCss$D = (state, hasAction, hasClose, theme) => {
4899
5015
  return getCss(Object.assign({ '@global': {
4900
5016
  ':host': addImportantToEachRule(Object.assign(Object.assign({}, getNotificationRootJssStyle(state, hasAction, hasClose, theme)), hostHiddenStyles)),
4901
5017
  h5: headingSmallStyle,
@@ -4913,7 +5029,7 @@ const getComponentCss$B = (state, hasAction, hasClose, theme) => {
4913
5029
  })));
4914
5030
  };
4915
5031
 
4916
- const getComponentCss$A = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
5032
+ const getComponentCss$C = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
4917
5033
  const { focusColor } = getThemedColors(theme);
4918
5034
  const hasIcon = hasVisibleIcon(icon, iconSource);
4919
5035
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, hasSlottedAnchor, theme), Object.assign(Object.assign({}, (hasSlottedAnchor && {
@@ -4940,7 +5056,7 @@ const getComponentCss$A = (icon, iconSource, active, stretch, size, hideLabel, a
4940
5056
  } })));
4941
5057
  };
4942
5058
 
4943
- const getComponentCss$z = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5059
+ const getComponentCss$B = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
4944
5060
  const { focusColor } = getThemedColors(theme);
4945
5061
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, theme), Object.assign({}, (hasSlottedAnchor && {
4946
5062
  '@global': addImportantToEachRule({
@@ -4965,67 +5081,27 @@ const getComponentCss$z = (icon, iconSource, variant, hideLabel, hasSlottedAncho
4965
5081
  }))));
4966
5082
  };
4967
5083
 
4968
- const fontWeightMap = {
4969
- regular: fontWeightRegular,
4970
- 'semi-bold': fontWeightSemiBold$1,
4971
- bold: fontWeightBold,
4972
- };
4973
- const getFontWeight = (weight) => {
4974
- return fontWeightMap[weight];
4975
- };
5084
+ const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS = ['h2', 'h3', 'h4', 'h5', 'h6'];
4976
5085
 
4977
- const aspectRatioPaddingTop = {
4978
- '1:1': '100%',
4979
- '4:3': '75%',
4980
- '3:4': '133.33%',
4981
- '16:9': '56.25%',
4982
- '9:16': '177.75%',
4983
- };
4984
- const getGradientBackground = (isCompact, isTopAligned) => {
4985
- return isCompact && isTopAligned ? gradientToBottomStyle : gradientToTopStyle;
4986
- };
4987
- const sizeMap$2 = {
4988
- inherit: { fontSize: 'inherit' },
4989
- default: { fontSize: fontSizeTextMedium },
5086
+ const getComponentCss$A = (aspectRatio, weight, direction, hasDescription) => {
5087
+ const tileBaseStyles = getTileBaseStyles(aspectRatio);
5088
+ 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
+ margin: addImportantToRule(0),
5090
+ } }), content: Object.assign(Object.assign(Object.assign({}, tileBaseStyles.content), { flexDirection: 'column', bottom: 0, padding: `${spacingFluidLarge} ${spacingFluidMedium} ${spacingFluidMedium}` }), gradientToTopStyle), model: {
5091
+ position: 'absolute',
5092
+ top: spacingFluidMedium,
5093
+ left: spacingFluidMedium,
5094
+ }, heading: Object.assign(Object.assign({ margin: 0 }, textLargeStyle), buildResponsiveStyles(weight, (w) => ({ fontWeight: getFontWeight(w) }))) }), (hasDescription && {
5095
+ description: Object.assign({ margin: '-12px 0 0 ' }, textSmallStyle),
5096
+ })), { 'link-group': Object.assign({ display: 'flex', width: '100%', gap: spacingFluidSmall }, buildResponsiveStyles(direction, getGroupDirectionJssStyles)), 'link-overlay': Object.assign({
5097
+ // covers entire tile, used for expanded click-area only
5098
+ position: 'fixed' }, getInsetJssStyle()) }));
4990
5099
  };
4991
- const getComponentCss$y = (aspectRatio, size, weight, align, compact, hasGradient) => {
4992
- const isTopAligned = align === 'top';
4993
- return getCss({
4994
- '@global': Object.assign(Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)) }, addImportantToEachRule({
4995
- '::slotted(picture),::slotted(img)': Object.assign({ transition: getTransition('transform') }, getBackfaceVisibilityJssStyle()),
4996
- '::slotted(picture)': Object.assign({ position: 'absolute' }, getInsetJssStyle(0)),
4997
- '::slotted(img)': {
4998
- height: '100%',
4999
- width: '100%',
5000
- objectFit: 'cover',
5001
- },
5002
- })), { p: Object.assign(Object.assign({ color: getThemedTypographyColor('dark', 'primary'), maxWidth: pxToRemWithUnit(550), margin: 0 }, textLargeStyle), mergeDeep(buildResponsiveStyles(size, (s) => sizeMap$2[s]), buildResponsiveStyles(weight, (w) => ({
5003
- fontWeight: getFontWeight(w === 'semibold' ? 'semi-bold' : w),
5004
- })))) }),
5005
- root: Object.assign(Object.assign({ height: 0, position: 'relative', transform: 'translate3d(0,0,0)' }, hoverMediaQuery({
5006
- '&:hover': {
5007
- '& ::slotted(picture),::slotted(img)': addImportantToEachRule({
5008
- transform: 'scale3d(1.05, 1.05, 1.05)',
5009
- }),
5010
- },
5011
- })), buildResponsiveStyles(aspectRatio, (ratio) => ({
5012
- paddingTop: aspectRatioPaddingTop[ratio],
5013
- }))),
5014
- 'image-container': Object.assign({ position: 'absolute', overflow: 'hidden', borderRadius: borderRadiusMedium }, getInsetJssStyle(0)),
5015
- content: Object.assign(Object.assign(Object.assign(Object.assign({ position: 'absolute' }, (isTopAligned ? { top: 0 } : { bottom: 0 })), { left: 0, right: 0, display: 'grid', justifyItems: 'start', borderRadius: borderRadiusMedium, padding: align === 'bottom'
5016
- ? `${spacingFluidLarge} ${spacingFluidMedium} ${spacingFluidMedium}`
5017
- : `${spacingFluidMedium} ${spacingFluidMedium} ${spacingFluidLarge}`, gap: spacingStaticMedium }), mergeDeep(hasGradient &&
5018
- buildResponsiveStyles(compact, (isCompact) => getGradientBackground(isCompact, isTopAligned)), buildResponsiveStyles(compact, (isCompact) => isCompact
5019
- ? Object.assign({ alignItems: 'center', gridTemplateColumns: 'auto 24px', gridTemplateRows: 'auto' }, (isTopAligned ? { top: 0 } : { bottom: 0 })) : { gridTemplateRows: 'auto auto', gridTemplateColumns: 'auto' }))), { '@media (forced-colors: active)': {
5020
- background: 'rgba(0,0,0,0.7)',
5021
- } }),
5022
- 'link-pure': buildResponsiveStyles(compact, (isCompact) => ({
5023
- display: isCompact ? 'inline-block' : 'none',
5024
- })),
5025
- link: Object.assign({ minHeight: '54px' }, buildResponsiveStyles(compact, (isCompact) => ({ display: isCompact ? 'none' : 'inline-block' }))),
5026
- // is used for expanded click-area only
5027
- 'link-overlay': Object.assign(Object.assign({ position: 'fixed' }, getInsetJssStyle(0)), { outline: 0 }),
5028
- });
5100
+
5101
+ const getComponentCss$z = (...args) => {
5102
+ return getCss(Object.assign(Object.assign({}, getButtonLinkTileStyles(...args)), { 'link-overlay': Object.assign({
5103
+ // covers entire tile, used for expanded click-area only
5104
+ position: 'fixed' }, getInsetJssStyle()) }));
5029
5105
  };
5030
5106
 
5031
5107
  const baseSizes = {
@@ -5038,15 +5114,11 @@ const baseSizes = {
5038
5114
  height: '72px',
5039
5115
  },
5040
5116
  };
5041
- const getComponentCss$x = (size) => {
5117
+ const getComponentCss$y = (size) => {
5042
5118
  return getCss({
5043
5119
  '@global': {
5044
5120
  ':host': Object.assign({ position: 'relative', display: 'inline-flex', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
5045
- a: Object.assign({ display: 'block', textDecoration: 'none' }, getFocusJssStyle({
5046
- color: getThemedColors('light').primaryColor,
5047
- offset: 0,
5048
- pseudo: '::before',
5049
- })),
5121
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
5050
5122
  picture: Object.assign({ display: 'block' }, (size === 'responsive'
5051
5123
  ? Object.assign(Object.assign({}, baseSizes.small), { [getMediaQueryMin('l')]: baseSizes.medium }) : baseSizes[size])),
5052
5124
  img: {
@@ -5073,10 +5145,10 @@ const getFullscreenJssStyles = (fullscreen) => {
5073
5145
  borderRadius: 0,
5074
5146
  }
5075
5147
  : {
5076
- minWidth: pxToRemWithUnit(275.2),
5077
- maxWidth: pxToRemWithUnit(1536),
5148
+ minWidth: '276px',
5149
+ maxWidth: '1535.5px',
5078
5150
  minHeight: 'auto',
5079
- margin: `clamp(16px, 7vh, 192px) ${gridSafeZoneBase}`,
5151
+ margin: `clamp(16px, 7vh, 192px) ${gridExtendedOffsetBase}`,
5080
5152
  borderRadius: borderRadiusMedium,
5081
5153
  };
5082
5154
  };
@@ -5106,7 +5178,7 @@ const getSlottedJssStyle = (marginValue, hasHeader, hasDismissButton) => {
5106
5178
  marginBottom: marginPx,
5107
5179
  } });
5108
5180
  };
5109
- const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5181
+ const getComponentCss$x = (open, fullscreen, hasDismissButton, hasHeader) => {
5110
5182
  const isFullscreenForXlAndXxl = isFullscreenForXl(fullscreen);
5111
5183
  return getCss(Object.assign(Object.assign({ '@global': {
5112
5184
  ':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
@@ -5144,7 +5216,7 @@ const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5144
5216
  border: 0,
5145
5217
  },
5146
5218
  [mediaQueryXl]: {
5147
- margin: isFullscreenForXlAndXxl ? 0 : `min(192px, 10vh) ${gridSafeZoneBase}`,
5219
+ margin: isFullscreenForXlAndXxl ? 0 : `min(192px, 10vh) ${gridExtendedOffsetBase}`,
5148
5220
  },
5149
5221
  }, buildResponsiveStyles(fullscreen, getFullscreenJssStyles)) }, (hasHeader && {
5150
5222
  header: {
@@ -5174,7 +5246,7 @@ const colorToFilterMap = {
5174
5246
  'contrast-high': filterDarkContrastHigh,
5175
5247
  },
5176
5248
  };
5177
- const getComponentCss$v = (size, color, theme) => {
5249
+ const getComponentCss$w = (size, color, theme) => {
5178
5250
  const isSizeInherit = size === 'inherit';
5179
5251
  const isColorInherit = color === 'inherit';
5180
5252
  return getCss({
@@ -5193,7 +5265,7 @@ const disabledCursorStyle = {
5193
5265
  cursor: 'default',
5194
5266
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
5195
5267
  };
5196
- const getComponentCss$u = (maxNumberOfPageLinks, theme) => {
5268
+ const getComponentCss$v = (maxNumberOfPageLinks, theme) => {
5197
5269
  const { primaryColor, disabledColor, hoverColor, focusColor } = getThemedColors(theme);
5198
5270
  return getCss({
5199
5271
  '@global': {
@@ -5310,7 +5382,7 @@ const directionArrowMap = {
5310
5382
  },
5311
5383
  },
5312
5384
  };
5313
- const getComponentCss$t = (direction, theme) => {
5385
+ const getComponentCss$u = (direction, theme) => {
5314
5386
  const spacerBox = '-16px';
5315
5387
  const { hoverColor, focusColor } = getThemedColors(theme);
5316
5388
  return getCss({
@@ -5359,7 +5431,7 @@ const getComponentCss$t = (direction, theme) => {
5359
5431
  });
5360
5432
  };
5361
5433
 
5362
- const getComponentCss$s = (hideLabel, state, isDisabled, theme) => {
5434
+ const getComponentCss$t = (hideLabel, state, isDisabled, theme) => {
5363
5435
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
5364
5436
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
5365
5437
  '@global': {
@@ -5393,7 +5465,7 @@ const getGradient = (theme, gradientColorTheme) => {
5393
5465
  `rgba(${gradientColor},0.3) 68%,` +
5394
5466
  `rgba(${gradientColor},0)`);
5395
5467
  };
5396
- const getComponentCss$r = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, theme) => {
5468
+ const getComponentCss$s = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5397
5469
  const { backgroundColor, backgroundSurfaceColor, focusColor, hoverColor } = getThemedColors(theme);
5398
5470
  const isDarkTheme = isThemeDark(theme);
5399
5471
  const backgroundColorMap = {
@@ -5427,16 +5499,14 @@ const getComponentCss$r = (gradientColor, isNextHidden, isPrevHidden, scrollIndi
5427
5499
  margin: '0 -4px',
5428
5500
  height: 'inherit',
5429
5501
  },
5430
- 'scroll-area': {
5431
- gridArea: '1 / 1 / 1 / -1',
5432
- padding: '4px',
5433
- overflow: 'scroll hidden',
5502
+ 'scroll-area': Object.assign({ gridArea: '1 / 1 / 1 / -1', padding: '4px', overflow: 'auto hidden' }, (!hasScrollbar && {
5503
+ // If scrollbar is disabled - hide scrollbar
5434
5504
  msOverflowStyle: 'none' /* IE and Edge */,
5435
5505
  scrollbarWidth: 'none' /* Firefox */,
5436
5506
  '&::-webkit-scrollbar': {
5437
5507
  display: 'none',
5438
5508
  },
5439
- },
5509
+ })),
5440
5510
  // Extra wrapper needed to compensate different offset parent calculation depending on browser.
5441
5511
  // Needed for position of status bar.
5442
5512
  'scroll-wrapper': {
@@ -5488,7 +5558,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
5488
5558
  hoverBorderColor: primaryColor,
5489
5559
  };
5490
5560
  };
5491
- const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5561
+ const getComponentCss$r = (isDisabled, isSelected, hasIcon, theme) => {
5492
5562
  const { focusColor } = getThemedColors(theme);
5493
5563
  const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
5494
5564
  return getCss({
@@ -5522,7 +5592,7 @@ const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5522
5592
 
5523
5593
  const MIN_ITEM_WIDTH = 46;
5524
5594
  const MAX_ITEM_WIDTH = 220;
5525
- const getComponentCss$p = (maxWidth) => {
5595
+ const getComponentCss$q = (maxWidth) => {
5526
5596
  maxWidth = (maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && MIN_ITEM_WIDTH) || maxWidth;
5527
5597
  return getCss({
5528
5598
  '@global': {
@@ -5581,7 +5651,7 @@ const getLabelStyles = (child, isDisabled, hideLabel, state, theme, counterOrUni
5581
5651
  }));
5582
5652
  };
5583
5653
  const ICON_SPACE = `${24 + 13 * 2 + 2}px`; // 24px = icon width, 13px * 2 = padding, 2px = border
5584
- const getComponentCss$o = (isDisabled, hideLabel, state, theme) => {
5654
+ const getComponentCss$p = (isDisabled, hideLabel, state, theme) => {
5585
5655
  return getCss(Object.assign(Object.assign(Object.assign({ '@global': addImportantToEachRule(Object.assign({ ':host': Object.assign({ display: 'block' }, hostHiddenStyles) }, getBaseChildStyles('select', state, theme, {
5586
5656
  position: 'static',
5587
5657
  zIndex: 0,
@@ -5613,7 +5683,7 @@ const sizeMap$1 = {
5613
5683
  large: { height: sizeLarge, width: sizeLarge },
5614
5684
  inherit: { height: 'inherit', width: 'inherit' },
5615
5685
  };
5616
- const getComponentCss$m = (size, theme) => {
5686
+ const getComponentCss$n = (size, theme) => {
5617
5687
  const strokeDasharray = '57'; // C = 2πR
5618
5688
  const animationDuration = 'var(--p-animation-duration, 2s)';
5619
5689
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
@@ -5691,7 +5761,7 @@ const getSVGPath = (stepCount, numberedCircleColors, isStateCurrent) => {
5691
5761
  ];
5692
5762
  return svgNumberedCirclePaths[stepCount];
5693
5763
  };
5694
- const getComponentCss$l = (state, disabled, theme) => {
5764
+ const getComponentCss$m = (state, disabled, theme) => {
5695
5765
  const { primaryColor, hoverColor, disabledColor, focusColor } = getThemedColors(theme);
5696
5766
  const isStateCurrent = state === 'current';
5697
5767
  const isStateCurrentOrUndefined = !state || isStateCurrent;
@@ -5719,7 +5789,7 @@ const getComponentCss$l = (state, disabled, theme) => {
5719
5789
  height: fontLineHeight,
5720
5790
  width: fontLineHeight,
5721
5791
  },
5722
- })), { '&:focus::after': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle(0)), { border: `${borderWidthBase} solid ${focusColor}`, borderRadius: borderRadiusSmall }), '&:focus:not(:focus-visible)::after': {
5792
+ })), { '&:focus::after': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { border: `${borderWidthBase} solid ${focusColor}`, borderRadius: borderRadiusSmall }), '&:focus:not(:focus-visible)::after': {
5723
5793
  borderColor: 'transparent',
5724
5794
  } }),
5725
5795
  } }, (!isStateCurrentOrUndefined && {
@@ -5731,7 +5801,7 @@ const getComponentCss$l = (state, disabled, theme) => {
5731
5801
  })), { 'sr-only': getScreenReaderOnlyJssStyle() }));
5732
5802
  };
5733
5803
 
5734
- const getComponentCss$k = (size) => {
5804
+ const getComponentCss$l = (size) => {
5735
5805
  return getCss({
5736
5806
  '@global': {
5737
5807
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -5757,7 +5827,7 @@ const getColors$1 = (checked, disabled, loading, theme) => {
5757
5827
  textColor: disabledOrLoadingColor || primaryColor,
5758
5828
  };
5759
5829
  };
5760
- const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5830
+ const getComponentCss$k = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5761
5831
  const { buttonBorderColor, buttonBorderColorHover, buttonBackgroundColor, buttonBackgroundColorHover, toggleBackgroundColor, toggleBackgroundColorHover, textColor, } = getColors$1(checked, disabled, loading, theme);
5762
5832
  const { focusColor } = getThemedColors(theme);
5763
5833
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -5810,7 +5880,7 @@ const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, lo
5810
5880
  })), buildResponsiveStyles(hideLabel, getTextHiddenJssStyle))) }));
5811
5881
  };
5812
5882
 
5813
- const getComponentCss$i = () => {
5883
+ const getComponentCss$j = () => {
5814
5884
  return getCss({
5815
5885
  '@global': {
5816
5886
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row-group' }, hostHiddenStyles)),
@@ -5818,10 +5888,10 @@ const getComponentCss$i = () => {
5818
5888
  });
5819
5889
  };
5820
5890
 
5821
- const getComponentCss$h = (multiline) => {
5891
+ const getComponentCss$i = (multiline) => {
5822
5892
  return getCss({
5823
5893
  '@global': {
5824
- ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: pxToRemWithUnit(12), margin: 0, borderBottom: `1px solid ${getThemedColors('light').contrastLowColor}`, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
5894
+ ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: spacingFluidSmall, margin: 0, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
5825
5895
  },
5826
5896
  });
5827
5897
  };
@@ -5831,26 +5901,71 @@ const isSortable = (active, direction) => {
5831
5901
  return active !== undefined && direction !== undefined;
5832
5902
  };
5833
5903
 
5834
- const { contrastMediumColor, primaryColor: primaryColor$1 } = getThemedColors('light');
5835
- const { semiBold: fontWeightSemiBold } = fontWeight;
5904
+ const cssVariableTableHoverColor = '--p-internal-table-hover-color';
5905
+ const cssVariableTableBorderColor = '--p-internal-table-border-color';
5906
+ const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
5907
+ const getComponentCss$h = (theme) => {
5908
+ const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
5909
+ return getCss({
5910
+ '@global': {
5911
+ ':host': addImportantToEachRule(Object.assign(Object.assign(Object.assign({ display: 'block' }, textSmallStyle), { color: primaryColor, textAlign: 'left' }), hostHiddenStyles)),
5912
+ '::slotted(*)': addImportantToEachRule({
5913
+ [cssVariableTableHoverColor]: hoverColor,
5914
+ [cssVariableTableBorderColor]: contrastLowColor,
5915
+ [cssVariableTableHeadCellIconFilter]: isThemeDark(theme) ? 'invert(100%)' : 'none',
5916
+ }),
5917
+ },
5918
+ caption: {
5919
+ marginBottom: spacingFluidMedium,
5920
+ },
5921
+ table: {
5922
+ display: 'table',
5923
+ borderCollapse: 'collapse',
5924
+ width: '100%',
5925
+ whiteSpace: 'nowrap', // shouldn't be inherited for caption, that's why it's defined here
5926
+ },
5927
+ });
5928
+ };
5929
+
5930
+ const { hoverColor, focusColor } = getThemedColors('light'); // hover color and focus color are the same for light and dark
5931
+ const buttonBeforeOffsetVertical = '-2px';
5932
+ const buttonBeforeOffsetHorizontal = '-4px';
5836
5933
  const getComponentCss$g = (active, direction, hideLabel, multiline) => {
5837
5934
  const sortable = isSortable(active, direction);
5838
- return getCss(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'table-cell', padding: `${pxToRemWithUnit(2)} ${pxToRemWithUnit(12)} ${pxToRemWithUnit(8)}`, borderBottom: `1px solid ${contrastMediumColor}`, verticalAlign: 'bottom', fontWeight: fontWeightSemiBold, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles)) }, (sortable
5935
+ 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
5839
5936
  ? {
5840
- button: Object.assign(Object.assign(Object.assign(Object.assign({ display: 'flex', alignItems: 'flex-end', padding: 0, boxSizing: 'border-box', appearance: 'none', border: 'none' }, textSmallStyle), { fontWeight: fontWeightSemiBold, color: primaryColor$1, textDecoration: 'none', textAlign: 'left', background: 'transparent', cursor: 'pointer' }), getFocusJssStyle({ offset: 1 })), hoverMediaQuery(Object.assign(Object.assign({}, getHoverJssStyle()), { '&:hover, &:focus': {
5937
+ button: Object.assign(Object.assign({ position: 'relative', display: 'flex', gap: spacingStaticXSmall, width: 'auto', margin: 0, padding: 0, font: 'inherit', color: 'inherit', outline: 0, alignItems: 'flex-end', appearance: 'none', background: 'transparent', textAlign: 'left', border: 0, zIndex: 0, cursor: 'pointer', '&::before': {
5938
+ content: '""',
5939
+ position: 'absolute',
5940
+ top: buttonBeforeOffsetVertical,
5941
+ bottom: buttonBeforeOffsetVertical,
5942
+ right: buttonBeforeOffsetHorizontal,
5943
+ left: buttonBeforeOffsetHorizontal,
5944
+ borderRadius: borderRadiusSmall,
5945
+ zIndex: -1,
5946
+ transition: getTransition('background-color'),
5947
+ } }, hoverMediaQuery({
5948
+ '&:hover, &:focus': {
5841
5949
  '& .icon': {
5842
5950
  opacity: 1,
5843
5951
  },
5844
- } }))),
5952
+ },
5953
+ '&:hover::before': Object.assign(Object.assign({}, frostedGlassStyle), { backgroundColor: hoverColor }),
5954
+ })), { '&:focus::before': {
5955
+ border: `${borderWidthBase} solid ${focusColor}`,
5956
+ }, '&:not(:focus-visible)::before': {
5957
+ border: 0,
5958
+ } }),
5845
5959
  }
5846
5960
  : hideLabel && {
5847
5961
  span: Object.assign(Object.assign({}, getTextHiddenJssStyle(true)), { display: 'block', border: 0 }),
5848
5962
  })) }, (sortable && {
5849
5963
  icon: {
5850
- marginLeft: spacingStaticXSmall,
5964
+ transition: getTransition('opacity'),
5851
5965
  opacity: active ? 1 : 0,
5852
5966
  transform: `rotate3d(0,0,1,${isDirectionAsc(direction) ? 0 : 180}deg)`,
5853
- transformOrigin: '50% 50%', // for iOS
5967
+ transformOrigin: '50% 50%',
5968
+ filter: `var(${cssVariableTableHeadCellIconFilter})`,
5854
5969
  },
5855
5970
  })));
5856
5971
  };
@@ -5866,7 +5981,7 @@ const getComponentCss$f = () => {
5866
5981
  const getComponentCss$e = () => {
5867
5982
  return getCss({
5868
5983
  '@global': {
5869
- ':host': addImportantToEachRule(Object.assign({ display: 'table-header-group' }, hostHiddenStyles)),
5984
+ ':host': addImportantToEachRule(Object.assign({ display: 'table-header-group', fontSize: fontSizeTextXSmall, lineHeight: fontLineHeight, fontWeight: fontWeightSemiBold }, hostHiddenStyles)),
5870
5985
  },
5871
5986
  });
5872
5987
  };
@@ -5874,71 +5989,19 @@ const getComponentCss$e = () => {
5874
5989
  const getComponentCss$d = () => {
5875
5990
  return getCss({
5876
5991
  '@global': {
5877
- ':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'table-row' }, hostHiddenStyles), hoverMediaQuery({
5878
- transition: getTransition('background-color'),
5992
+ ':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'table-row', borderTop: `1px solid var(${cssVariableTableBorderColor})`, borderBottom: `1px solid var(${cssVariableTableBorderColor})`, transition: getTransition('background') }, hostHiddenStyles), hoverMediaQuery({
5879
5993
  '&(:hover)': {
5880
- backgroundColor: getThemedColors('light').backgroundSurfaceColor,
5994
+ // ...frostedGlassStyle, // will result in not smooth transition when applied
5995
+ background: `var(${cssVariableTableHoverColor})`,
5881
5996
  },
5882
5997
  }))),
5883
5998
  },
5884
5999
  });
5885
6000
  };
5886
6001
 
5887
- const { primaryColor } = getThemedColors('light');
5888
- const getComponentCss$c = () => {
5889
- return getCss({
5890
- '@global': {
5891
- ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)),
5892
- },
5893
- caption: {
5894
- marginBottom: spacingStaticSmall,
5895
- [getMediaQueryMin('m')]: {
5896
- marginBottom: spacingStaticMedium,
5897
- },
5898
- },
5899
- root: {
5900
- position: 'relative',
5901
- },
5902
- 'scroll-area': Object.assign({ overflow: 'auto visible' }, getFocusJssStyle({ offset: -1 })),
5903
- table: Object.assign(Object.assign({ position: 'relative', width: '100%', display: 'table' }, textSmallStyle), { textAlign: 'left', color: primaryColor, whiteSpace: 'nowrap' }),
5904
- 'scroll-trigger': {
5905
- position: 'absolute',
5906
- top: 0,
5907
- right: '1px',
5908
- width: '1px',
5909
- height: '1px',
5910
- visibility: 'hidden',
5911
- },
5912
- 'scroll-indicator': {
5913
- position: 'absolute',
5914
- top: 0,
5915
- right: 0,
5916
- bottom: 0,
5917
- paddingLeft: spacingStaticLarge,
5918
- pointerEvents: 'none',
5919
- display: 'flex',
5920
- alignItems: 'center',
5921
- background: 'linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%)',
5922
- '&::before': {
5923
- content: '""',
5924
- position: 'absolute',
5925
- top: 0,
5926
- right: 0,
5927
- bottom: 0,
5928
- width: pxToRemWithUnit(48),
5929
- pointerEvents: 'auto',
5930
- },
5931
- },
5932
- 'scroll-button': {
5933
- padding: pxToRemWithUnit(12),
5934
- pointerEvents: 'auto',
5935
- },
5936
- });
5937
- };
5938
-
5939
6002
  const tabsTransitionDuration = '.4s';
5940
6003
  const transformSelector = (selector) => ['a', 'button'].map((tag) => selector.replace(/\[role]/g, tag)).join();
5941
- const getComponentCss$b = (size, weight, theme) => {
6004
+ const getComponentCss$c = (size, weight, theme) => {
5942
6005
  const { primaryColor, hoverColor, focusColor } = getThemedColors(theme);
5943
6006
  return getCss({
5944
6007
  '@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(Object.assign({ position: 'relative',
@@ -5977,7 +6040,7 @@ const getComponentCss$b = (size, weight, theme) => {
5977
6040
  });
5978
6041
  };
5979
6042
 
5980
- const getComponentCss$a = (theme) => {
6043
+ const getComponentCss$b = (theme) => {
5981
6044
  const { primaryColor, focusColor } = getThemedColors(theme);
5982
6045
  return getCss({
5983
6046
  '@global': {
@@ -5991,7 +6054,7 @@ const getComponentCss$a = (theme) => {
5991
6054
  });
5992
6055
  };
5993
6056
 
5994
- const getComponentCss$9 = () => {
6057
+ const getComponentCss$a = () => {
5995
6058
  return getCss({
5996
6059
  '@global': {
5997
6060
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6023,7 +6086,7 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
6023
6086
  return colorMap[tagColor];
6024
6087
  };
6025
6088
 
6026
- const getComponentCss$8 = (color, hasLabel, theme) => {
6089
+ const getComponentCss$9 = (color, hasLabel, theme) => {
6027
6090
  const themedColors = getThemedColors(theme);
6028
6091
  const { primaryColor, hoverColor, contrastHighColor } = themedColors;
6029
6092
  const backgroundColor = getThemedBackgroundColor(color, themedColors);
@@ -6073,7 +6136,7 @@ const getColors = (themedColors, tagColor, theme) => {
6073
6136
  backgroundHoverColor: getThemedBackgroundHoverColor(tagColor, themedColors, theme),
6074
6137
  };
6075
6138
  };
6076
- const getComponentCss$7 = (tagColor, isFocusable, theme) => {
6139
+ const getComponentCss$8 = (tagColor, isFocusable, theme) => {
6077
6140
  const themedColors = getThemedColors(theme);
6078
6141
  const { primaryColor, backgroundColor, backgroundHoverColor } = getColors(themedColors, tagColor, theme);
6079
6142
  return getCss({
@@ -6130,7 +6193,7 @@ const getButtonOrIconOffsetHorizontal = (buttonOrIconAmount) => {
6130
6193
  const multiplier = buttonOrIconAmount > 1 ? ` + ${buttonOrIconSize} * ${buttonOrIconAmount - 1}` : '';
6131
6194
  return `calc(${buttonOrIconOffset} + ${borderWidthBase}${multiplier})`;
6132
6195
  };
6133
- const getComponentCss$6 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6196
+ const getComponentCss$7 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6134
6197
  const { contrastMediumColor } = getThemedColors(theme);
6135
6198
  const isSearch = isType(inputType, 'search');
6136
6199
  const isPassword = isType(inputType, 'password');
@@ -6186,7 +6249,7 @@ const cssVariableUnorderedPaddingLeft = '--p-internal-text-list-unordered-paddin
6186
6249
  const cssVariableOrderedPaddingLeft = '--p-internal-text-list-ordered-padding-left';
6187
6250
  const cssVariableListStyleType = '--p-internal-text-list-list-style-type';
6188
6251
  const counter = 'p-text-list-counter';
6189
- const getComponentCss$5 = (type, theme) => {
6252
+ const getComponentCss$6 = (type, theme) => {
6190
6253
  const isOrderedList = isListTypeOrdered(type);
6191
6254
  return getCss({
6192
6255
  '@global': {
@@ -6212,7 +6275,7 @@ const getComponentCss$5 = (type, theme) => {
6212
6275
  });
6213
6276
  };
6214
6277
 
6215
- const getComponentCss$4 = () => {
6278
+ const getComponentCss$5 = () => {
6216
6279
  return getCss({
6217
6280
  '@global': addImportantToEachRule({
6218
6281
  ':host': Object.assign({ display: 'list-item', position: 'relative', font: 'inherit', color: 'inherit', listStyleType: 'inherit', paddingLeft: spacingStaticMedium }, hostHiddenStyles),
@@ -6233,7 +6296,7 @@ const sizeMap = {
6233
6296
  large: fontSizeTextLarge,
6234
6297
  'x-large': fontSizeTextXLarge,
6235
6298
  };
6236
- const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6299
+ const getComponentCss$4 = (size, weight, align, color, ellipsis, theme) => {
6237
6300
  return getCss({
6238
6301
  '@global': {
6239
6302
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6248,7 +6311,7 @@ const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6248
6311
  });
6249
6312
  };
6250
6313
 
6251
- const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6314
+ const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6252
6315
  const { contrastMediumColor } = getThemedColors(theme);
6253
6316
  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, {
6254
6317
  font: textSmallStyle.font,
@@ -6273,83 +6336,102 @@ const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6273
6336
  })));
6274
6337
  };
6275
6338
 
6276
- const toastPositionBottomVarPublic = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
6277
- const toastPositionBottomVarInternal = '--p-internal-toast-position-bottom';
6339
+ const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
6340
+ const cssVariablePositionBottomInternal = '--p-internal-toast-position-bottom';
6278
6341
  const toastCloseClassName = 'close';
6279
- const getComponentCss = () => {
6342
+ const getComponentCss$1 = () => {
6280
6343
  return getCss({
6281
6344
  '@global': {
6282
- ':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridSafeZoneBase, right: gridSafeZoneBase,
6345
+ ':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridExtendedOffsetBase, right: gridExtendedOffsetBase,
6283
6346
  // Needs a not overridable internal css variable to cover default position depending on viewport size and to handle animation properly.
6284
6347
  // In addition, a public css variable can be passed to overwrite the default position.
6285
- [toastPositionBottomVarInternal]: `var(${toastPositionBottomVarPublic}, 56px)`, bottom: `var(${toastPositionBottomVarInternal})`, maxWidth: '42rem', zIndex: TOAST_Z_INDEX, [getMediaQueryMin('s')]: {
6348
+ [cssVariablePositionBottomInternal]: `var(${cssVariablePositionBottom}, 56px)`, bottom: `var(${cssVariablePositionBottomInternal})`, maxWidth: '42rem', zIndex: TOAST_Z_INDEX, [getMediaQueryMin('s')]: {
6286
6349
  left: '64px',
6287
6350
  right: 'auto',
6288
- [toastPositionBottomVarInternal]: `var(${toastPositionBottomVarPublic}, 64px)`,
6289
- bottom: `var(${toastPositionBottomVarInternal})`,
6351
+ [cssVariablePositionBottomInternal]: `var(${cssVariablePositionBottom}, 64px)`,
6352
+ bottom: `var(${cssVariablePositionBottomInternal})`,
6290
6353
  } }, hostHiddenStyles)),
6291
- '@keyframes in': getKeyframesMobile('in', toastPositionBottomVarInternal),
6292
- '@keyframes out': getKeyframesMobile('out', toastPositionBottomVarInternal),
6354
+ '@keyframes in': getKeyframesMobile('in', cssVariablePositionBottomInternal),
6355
+ '@keyframes out': getKeyframesMobile('out', cssVariablePositionBottomInternal),
6293
6356
  },
6294
6357
  hydrated: getAnimationIn('in', "production" !== 'production' ),
6295
6358
  [toastCloseClassName]: getAnimationOut('out'),
6296
6359
  });
6297
6360
  };
6298
6361
 
6299
- exports.getAccordionCss = getComponentCss$T;
6300
- exports.getBannerCss = getComponentCss$S;
6301
- exports.getButtonCss = getComponentCss$P;
6302
- exports.getButtonGroupCss = getComponentCss$R;
6303
- exports.getButtonPureCss = getComponentCss$Q;
6304
- exports.getCarouselCss = getComponentCss$O;
6305
- exports.getCheckboxWrapperCss = getComponentCss$N;
6306
- exports.getContentWrapperCss = getComponentCss$M;
6307
- exports.getDisplayCss = getComponentCss$L;
6308
- exports.getDividerCss = getComponentCss$K;
6309
- exports.getFieldsetWrapperCss = getComponentCss$J;
6310
- exports.getFlexCss = getComponentCss$H;
6311
- exports.getFlexItemCss = getComponentCss$I;
6362
+ const getComponentCss = (size, theme) => {
6363
+ return getCss({
6364
+ '@global': {
6365
+ ':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))),
6366
+ a: Object.assign({ display: 'block', textDecoration: 'none', height: 'inherit' }, focusPseudoJssStyle),
6367
+ svg: {
6368
+ display: 'block',
6369
+ height: 'inherit',
6370
+ fill: getThemedColors(theme).primaryColor,
6371
+ },
6372
+ },
6373
+ });
6374
+ };
6375
+
6376
+ exports.getAccordionCss = getComponentCss$Y;
6377
+ exports.getBannerCss = getComponentCss$X;
6378
+ exports.getButtonCss = getComponentCss$T;
6379
+ exports.getButtonGroupCss = getComponentCss$W;
6380
+ exports.getButtonPureCss = getComponentCss$V;
6381
+ exports.getButtonTileCss = getComponentCss$U;
6382
+ exports.getCarouselCss = getComponentCss$S;
6383
+ exports.getCheckboxWrapperCss = getComponentCss$R;
6384
+ exports.getContentWrapperCss = getComponentCss$Q;
6385
+ exports.getCrestCss = getComponentCss$P;
6386
+ exports.getDisplayCss = getComponentCss$O;
6387
+ exports.getDividerCss = getComponentCss$N;
6388
+ exports.getFieldsetCss = getComponentCss$L;
6389
+ exports.getFieldsetWrapperCss = getComponentCss$M;
6390
+ exports.getFlexCss = getComponentCss$J;
6391
+ exports.getFlexItemCss = getComponentCss$K;
6312
6392
  exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
6313
6393
  exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
6314
- exports.getGridCss = getComponentCss$F;
6315
- exports.getGridItemCss = getComponentCss$G;
6316
- exports.getHeadingCss = getComponentCss$E;
6317
- exports.getHeadlineCss = getComponentCss$D;
6318
- exports.getIconCss = getComponentCss$C;
6319
- exports.getInlineNotificationCss = getComponentCss$B;
6320
- exports.getLinkCss = getComponentCss$z;
6321
- exports.getLinkPureCss = getComponentCss$A;
6322
- exports.getLinkSocialCss = getComponentCss$z;
6323
- exports.getLinkTileCss = getComponentCss$y;
6324
- exports.getMarqueCss = getComponentCss$x;
6325
- exports.getModalCss = getComponentCss$w;
6326
- exports.getModelSignatureCss = getComponentCss$v;
6327
- exports.getPaginationCss = getComponentCss$u;
6328
- exports.getPopoverCss = getComponentCss$t;
6329
- exports.getRadioButtonWrapperCss = getComponentCss$s;
6330
- exports.getScrollerCss = getComponentCss$r;
6331
- exports.getSegmentedControlCss = getComponentCss$p;
6332
- exports.getSegmentedControlItemCss = getComponentCss$q;
6333
- exports.getSelectWrapperCss = getComponentCss$o;
6334
- exports.getSpinnerCss = getComponentCss$m;
6335
- exports.getStepperHorizontalCss = getComponentCss$k;
6336
- exports.getStepperHorizontalItemCss = getComponentCss$l;
6337
- exports.getSwitchCss = getComponentCss$j;
6338
- exports.getTableBodyCss = getComponentCss$i;
6339
- exports.getTableCellCss = getComponentCss$h;
6340
- exports.getTableCss = getComponentCss$c;
6394
+ exports.getGridCss = getComponentCss$H;
6395
+ exports.getGridItemCss = getComponentCss$I;
6396
+ exports.getHeadingCss = getComponentCss$G;
6397
+ exports.getHeadlineCss = getComponentCss$F;
6398
+ exports.getIconCss = getComponentCss$E;
6399
+ exports.getInlineNotificationCss = getComponentCss$D;
6400
+ exports.getLinkCss = getComponentCss$B;
6401
+ exports.getLinkPureCss = getComponentCss$C;
6402
+ exports.getLinkSocialCss = getComponentCss$B;
6403
+ exports.getLinkTileCss = getComponentCss$z;
6404
+ exports.getLinkTileModelSignatureCss = getComponentCss$A;
6405
+ exports.getMarqueCss = getComponentCss$y;
6406
+ exports.getModalCss = getComponentCss$x;
6407
+ exports.getModelSignatureCss = getComponentCss$w;
6408
+ exports.getPaginationCss = getComponentCss$v;
6409
+ exports.getPopoverCss = getComponentCss$u;
6410
+ exports.getRadioButtonWrapperCss = getComponentCss$t;
6411
+ exports.getScrollerCss = getComponentCss$s;
6412
+ exports.getSegmentedControlCss = getComponentCss$q;
6413
+ exports.getSegmentedControlItemCss = getComponentCss$r;
6414
+ exports.getSelectWrapperCss = getComponentCss$p;
6415
+ exports.getSpinnerCss = getComponentCss$n;
6416
+ exports.getStepperHorizontalCss = getComponentCss$l;
6417
+ exports.getStepperHorizontalItemCss = getComponentCss$m;
6418
+ exports.getSwitchCss = getComponentCss$k;
6419
+ exports.getTableBodyCss = getComponentCss$j;
6420
+ exports.getTableCellCss = getComponentCss$i;
6421
+ exports.getTableCss = getComponentCss$h;
6341
6422
  exports.getTableHeadCellCss = getComponentCss$g;
6342
6423
  exports.getTableHeadCss = getComponentCss$e;
6343
6424
  exports.getTableHeadRowCss = getComponentCss$f;
6344
6425
  exports.getTableRowCss = getComponentCss$d;
6345
- exports.getTabsBarCss = getComponentCss$b;
6346
- exports.getTabsCss = getComponentCss$9;
6347
- exports.getTabsItemCss = getComponentCss$a;
6348
- exports.getTagCss = getComponentCss$7;
6349
- exports.getTagDismissibleCss = getComponentCss$8;
6350
- exports.getTextCss = getComponentCss$3;
6351
- exports.getTextFieldWrapperCss = getComponentCss$6;
6352
- exports.getTextListCss = getComponentCss$5;
6353
- exports.getTextListItemCss = getComponentCss$4;
6354
- exports.getTextareaWrapperCss = getComponentCss$2;
6355
- exports.getToastCss = getComponentCss;
6426
+ exports.getTabsBarCss = getComponentCss$c;
6427
+ exports.getTabsCss = getComponentCss$a;
6428
+ exports.getTabsItemCss = getComponentCss$b;
6429
+ exports.getTagCss = getComponentCss$8;
6430
+ exports.getTagDismissibleCss = getComponentCss$9;
6431
+ exports.getTextCss = getComponentCss$4;
6432
+ exports.getTextFieldWrapperCss = getComponentCss$7;
6433
+ exports.getTextListCss = getComponentCss$6;
6434
+ exports.getTextListItemCss = getComponentCss$5;
6435
+ exports.getTextareaWrapperCss = getComponentCss$3;
6436
+ exports.getToastCss = getComponentCss$1;
6437
+ exports.getWordmarkCss = getComponentCss;