@porsche-design-system/components-react 4.0.0-rc.1 → 4.0.0

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 (161) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/OSS_NOTICE +195 -855
  3. package/README.md +0 -5
  4. package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
  5. package/cjs/lib/components/segmented-control.wrapper.cjs +3 -3
  6. package/esm/hooks.mjs +1 -1
  7. package/esm/lib/components/segmented-control.wrapper.d.ts +10 -0
  8. package/esm/lib/components/segmented-control.wrapper.mjs +3 -3
  9. package/esm/lib/types.d.ts +29 -25
  10. package/global-styles/cn/index.css +42 -39
  11. package/global-styles/color-scheme.css +24 -24
  12. package/global-styles/index.css +42 -39
  13. package/global-styles/variables.css +18 -15
  14. package/package.json +3 -3
  15. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +497 -249
  16. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +47 -12
  17. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.cjs +4 -4
  18. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
  19. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +14 -9
  20. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
  21. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
  22. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +3 -2
  23. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
  24. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
  25. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  26. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +13 -9
  27. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +3 -1
  28. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -1
  29. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +4 -5
  30. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/notification-base.cjs +10 -0
  31. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +5 -2
  32. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
  33. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -2
  34. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +4 -2
  35. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
  36. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +8 -4
  37. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +6 -5
  38. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +1 -1
  39. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -3
  40. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
  41. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
  42. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
  43. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +4 -24
  44. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
  45. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +4 -2
  46. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +497 -250
  47. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +45 -13
  48. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
  49. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.mjs +4 -4
  50. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
  51. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +14 -9
  52. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
  53. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
  54. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
  55. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +5 -4
  56. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
  57. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
  58. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
  59. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +13 -9
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +4 -2
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -1
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +5 -6
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/notification-base.mjs +8 -0
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +6 -3
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -2
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +5 -3
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +10 -6
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +7 -6
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +1 -1
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +1 -3
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +4 -24
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +5 -3
  83. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +10 -0
  84. package/ssr/esm/lib/dsr-components/accordion.d.ts +1 -0
  85. package/ssr/esm/lib/dsr-components/banner.d.ts +6 -2
  86. package/ssr/esm/lib/dsr-components/button-pure.d.ts +1 -0
  87. package/ssr/esm/lib/dsr-components/button-tile.d.ts +1 -0
  88. package/ssr/esm/lib/dsr-components/button.d.ts +1 -0
  89. package/ssr/esm/lib/dsr-components/canvas.d.ts +1 -0
  90. package/ssr/esm/lib/dsr-components/carousel.d.ts +1 -0
  91. package/ssr/esm/lib/dsr-components/checkbox.d.ts +1 -0
  92. package/ssr/esm/lib/dsr-components/crest.d.ts +1 -0
  93. package/ssr/esm/lib/dsr-components/display.d.ts +1 -0
  94. package/ssr/esm/lib/dsr-components/divider.d.ts +1 -0
  95. package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +1 -0
  96. package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +1 -0
  97. package/ssr/esm/lib/dsr-components/drilldown.d.ts +1 -0
  98. package/ssr/esm/lib/dsr-components/fieldset.d.ts +1 -0
  99. package/ssr/esm/lib/dsr-components/flag.d.ts +1 -0
  100. package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -0
  101. package/ssr/esm/lib/dsr-components/heading.d.ts +1 -0
  102. package/ssr/esm/lib/dsr-components/icon.d.ts +1 -0
  103. package/ssr/esm/lib/dsr-components/inline-notification.d.ts +4 -2
  104. package/ssr/esm/lib/dsr-components/input-base.d.ts +1 -0
  105. package/ssr/esm/lib/dsr-components/input-date.d.ts +1 -0
  106. package/ssr/esm/lib/dsr-components/input-email.d.ts +1 -0
  107. package/ssr/esm/lib/dsr-components/input-month.d.ts +1 -0
  108. package/ssr/esm/lib/dsr-components/input-number.d.ts +1 -0
  109. package/ssr/esm/lib/dsr-components/input-password.d.ts +1 -0
  110. package/ssr/esm/lib/dsr-components/input-search.d.ts +1 -0
  111. package/ssr/esm/lib/dsr-components/input-tel.d.ts +1 -0
  112. package/ssr/esm/lib/dsr-components/input-text.d.ts +1 -0
  113. package/ssr/esm/lib/dsr-components/input-time.d.ts +1 -0
  114. package/ssr/esm/lib/dsr-components/input-url.d.ts +1 -0
  115. package/ssr/esm/lib/dsr-components/input-week.d.ts +1 -0
  116. package/ssr/esm/lib/dsr-components/label.d.ts +1 -0
  117. package/ssr/esm/lib/dsr-components/link-pure.d.ts +1 -0
  118. package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +1 -0
  119. package/ssr/esm/lib/dsr-components/link-tile.d.ts +1 -0
  120. package/ssr/esm/lib/dsr-components/link.d.ts +1 -0
  121. package/ssr/esm/lib/dsr-components/modal.d.ts +1 -0
  122. package/ssr/esm/lib/dsr-components/model-signature.d.ts +1 -0
  123. package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +1 -0
  124. package/ssr/esm/lib/dsr-components/multi-select.d.ts +1 -0
  125. package/ssr/esm/lib/dsr-components/notification-base.d.ts +14 -0
  126. package/ssr/esm/lib/dsr-components/optgroup.d.ts +1 -0
  127. package/ssr/esm/lib/dsr-components/pagination.d.ts +1 -0
  128. package/ssr/esm/lib/dsr-components/pin-code.d.ts +1 -0
  129. package/ssr/esm/lib/dsr-components/popover.d.ts +1 -0
  130. package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +1 -0
  131. package/ssr/esm/lib/dsr-components/radio-group.d.ts +1 -0
  132. package/ssr/esm/lib/dsr-components/scroller.d.ts +1 -0
  133. package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +1 -0
  134. package/ssr/esm/lib/dsr-components/segmented-control.d.ts +1 -0
  135. package/ssr/esm/lib/dsr-components/select-option.d.ts +1 -0
  136. package/ssr/esm/lib/dsr-components/select.d.ts +1 -0
  137. package/ssr/esm/lib/dsr-components/sheet.d.ts +1 -0
  138. package/ssr/esm/lib/dsr-components/spinner.d.ts +1 -0
  139. package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +1 -0
  140. package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +1 -0
  141. package/ssr/esm/lib/dsr-components/switch.d.ts +1 -0
  142. package/ssr/esm/lib/dsr-components/table-body.d.ts +1 -0
  143. package/ssr/esm/lib/dsr-components/table-cell.d.ts +1 -0
  144. package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +1 -0
  145. package/ssr/esm/lib/dsr-components/table-head-row.d.ts +1 -0
  146. package/ssr/esm/lib/dsr-components/table-head.d.ts +1 -0
  147. package/ssr/esm/lib/dsr-components/table-row.d.ts +1 -0
  148. package/ssr/esm/lib/dsr-components/table.d.ts +1 -0
  149. package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +1 -0
  150. package/ssr/esm/lib/dsr-components/tabs-item.d.ts +1 -0
  151. package/ssr/esm/lib/dsr-components/tabs.d.ts +1 -0
  152. package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +1 -0
  153. package/ssr/esm/lib/dsr-components/tag.d.ts +1 -0
  154. package/ssr/esm/lib/dsr-components/text-list-item.d.ts +1 -0
  155. package/ssr/esm/lib/dsr-components/text-list.d.ts +1 -0
  156. package/ssr/esm/lib/dsr-components/text.d.ts +1 -0
  157. package/ssr/esm/lib/dsr-components/textarea.d.ts +1 -0
  158. package/ssr/esm/lib/dsr-components/toast.d.ts +1 -0
  159. package/ssr/esm/lib/dsr-components/wordmark.d.ts +1 -0
  160. package/ssr/esm/lib/types.d.ts +29 -25
  161. package/tailwindcss/index.css +277 -78
@@ -62,6 +62,8 @@ const colorInfo = 'var(--p-color-info)';
62
62
 
63
63
  const colorInfoFrosted = 'var(--p-color-info-frosted)';
64
64
 
65
+ const colorInfoFrostedSoft = 'var(--p-color-info-frosted-soft)';
66
+
65
67
  const colorInfoMedium = 'var(--p-color-info-medium)';
66
68
 
67
69
  const colorSuccess = 'var(--p-color-success)';
@@ -78,6 +80,8 @@ const colorWarning = 'var(--p-color-warning)';
78
80
 
79
81
  const colorWarningFrosted = 'var(--p-color-warning-frosted)';
80
82
 
83
+ const colorWarningFrostedSoft = 'var(--p-color-warning-frosted-soft)';
84
+
81
85
  const colorWarningMedium = 'var(--p-color-warning-medium)';
82
86
 
83
87
  const fontPorscheNext$1 = 'var(--p-font-porsche-next)';
@@ -134,6 +138,8 @@ const spacingFluidSm = 'var(--p-spacing-fluid-sm)';
134
138
 
135
139
  const spacingFluidXs = 'var(--p-spacing-fluid-xs)';
136
140
 
141
+ const spacingStatic2Xs = 'var(--p-spacing-static-2xs)';
142
+
137
143
  const spacingStaticMd = 'var(--p-spacing-static-md)';
138
144
 
139
145
  const spacingStaticSm$1 = 'var(--p-spacing-static-sm)';
@@ -3767,7 +3773,7 @@ const OPTION_LIST_SAFE_ZONE = 6;
3767
3773
 
3768
3774
  const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
3769
3775
 
3770
- const prefix = `[Porsche Design System v${"4.0.0-rc.1"}]` // this part isn't covered by unit tests
3776
+ const prefix = `[Porsche Design System v${"4.0.0"}]` // this part isn't covered by unit tests
3771
3777
  ;
3772
3778
  const consoleError = (...messages) => {
3773
3779
  console.error(prefix, ...messages);
@@ -4133,105 +4139,33 @@ const weightMap = {
4133
4139
  bold: fontWeightBold,
4134
4140
  };
4135
4141
 
4136
- /**
4137
- * @css-variable {"name": "--p-banner-max-w", "description": "Defines the maximum width of the Banner.", "defaultValue": "100ch"}
4138
- */
4139
- const cssVarMaxWidth = '--p-banner-max-w';
4140
- /**
4141
- * @css-variable {"name": "--p-banner-top", "description": "Defines the distance from the top of the viewport. Only takes effect when the `position` property is set to `top` (at the respective breakpoint).", "defaultValue": "56px"}
4142
- */
4143
- const cssVarTop = '--p-banner-top';
4144
- /**
4145
- * @css-variable {"name": "--p-banner-bottom", "description": "Defines the distance from the bottom of the viewport. Only takes effect when the `position` property is set to `bottom` (at the respective breakpoint).", "defaultValue": "56px"}
4146
- */
4147
- const cssVarBottom = '--p-banner-bottom';
4148
- /**
4149
- * @css-variable {"name": "--p-banner-inset-x", "description": "Defines the horizontal offset of the Banner from the edges of the viewport.", "defaultValue": "max(22px, 10.625vw - 12px)"}
4150
- */
4151
- const cssVarInsetX = '--p-banner-inset-x';
4152
- const cssVarPositionTop = '--p-banner-position-top'; // deprecated (aliased)
4153
- const cssVarPositionBottom = '--p-banner-position-bottom'; // deprecated (aliased)
4154
- const topBottomFallback = '56px';
4155
- const cssVariableZIndex = '--p-internal-banner-z-index';
4156
- const getComponentCss$18 = (isOpen, position, state, hasDismissButton) => {
4157
- const duration = isOpen ? 'moderate' : 'short';
4158
- const easing = isOpen ? 'in' : 'out';
4159
- const transition = `visibility 0s linear var(${cssVariableTransitionDuration},${isOpen ? '0s' : motionDurationMap[duration]}),${getTransition('transform', duration, easing)}`;
4160
- return getCss({
4142
+ const getFunctionalComponentNotificationBaseStyles = (state, hasAction, hasDismissButton, hasHeadingOrHeadingSlot) => {
4143
+ return {
4161
4144
  '@global': {
4162
- ':host': {
4163
- display: 'contents',
4164
- ...addImportantToEachRule({
4165
- ...hostHiddenStyles,
4166
- }),
4167
- },
4168
- ...preventFoucOfNestedElementsStyles,
4169
- 'slot[name="heading"],h1,h2,h3,h4,h5,h6': {
4170
- all: 'unset',
4171
- display: 'block',
4172
- gridArea: '1/2',
4173
- font: `${fontWeightSemibold} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
4174
- color: colorPrimary,
4175
- },
4176
- 'slot[name="description"],p': {
4145
+ ...(hasHeadingOrHeadingSlot && {
4146
+ 'slot[name="heading"],h1,h2,h3,h4,h5,h6': {
4147
+ all: 'unset',
4148
+ gridArea: '1/2',
4149
+ font: `${fontWeightSemibold} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
4150
+ color: colorPrimary,
4151
+ },
4152
+ }),
4153
+ 'slot:not([name]),slot[name="description"],p': {
4177
4154
  all: 'unset',
4178
- display: 'block',
4179
- gridArea: '2/2',
4180
- marginTop: spacingStaticXs$1,
4155
+ gridArea: hasHeadingOrHeadingSlot ? '2/2' : '1/2',
4156
+ marginTop: hasHeadingOrHeadingSlot ? spacingStaticXs$1 : '0px',
4181
4157
  font: `${fontWeightNormal$1} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
4182
4158
  color: colorPrimary,
4183
4159
  },
4184
- '[popover]': {
4185
- all: 'unset',
4186
- position: 'fixed',
4187
- zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})`, // Fallback for browsers lacking `transition-behavior: allow-discrete` — keeps the banner visible during fade-out after leaving the top layer.
4188
- ...buildResponsiveStyles(position, (v) => ({
4189
- ...(v === 'top' && {
4190
- insetBlock: `var(${cssVarTop},var(${cssVarPositionTop},${topBottomFallback})) auto`,
4191
- ...(!isOpen && {
4192
- transform: `translate3d(-50%,calc(-100% - var(${cssVarTop},var(${cssVarPositionTop},${topBottomFallback}))),0)`,
4193
- }),
4194
- }),
4195
- ...(v === 'bottom' && {
4196
- insetBlock: `auto var(${cssVarBottom},var(${cssVarPositionBottom},${topBottomFallback}))`,
4197
- ...(!isOpen && {
4198
- transform: `translate3d(-50%,calc(var(${cssVarBottom},var(${cssVarPositionBottom},${topBottomFallback})) + 100%),0)`,
4199
- }),
4200
- }),
4201
- })),
4202
- left: '50vw',
4203
- width: `min(calc(100vw - 2 * var(${cssVarInsetX},${gridExtendedOffsetBase})),var(${cssVarMaxWidth},100ch))`,
4204
- '&:popover-open': {
4205
- overlay: 'auto',
4206
- },
4207
- '&::backdrop': {
4208
- display: 'none',
4209
- },
4210
- visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
4211
- pointerEvents: 'none', // element can't be interacted with mouse
4212
- ...(isOpen && {
4213
- visibility: 'inherit',
4214
- pointerEvents: 'inherit',
4215
- transform: 'translate3d(-50%,0,0)',
4216
- }),
4217
- transition,
4218
- // during transition the element will be removed from top-layer immediately, resulting in other elements laying over (as of Mai 2024 only Chrome is fixed by this)
4219
- '@supports (transition-behavior: allow-discrete)': {
4220
- transition: `${transition},${getTransition('overlay', duration, easing)} allow-discrete`,
4221
- },
4222
- },
4223
4160
  },
4224
- banner: {
4161
+ notification: {
4225
4162
  display: 'grid',
4226
- gridTemplateColumns: `auto minmax(0, 1fr) auto auto`,
4227
- padding: spacingStaticMd,
4163
+ gridTemplate: `repeat(3, auto) / auto minmax(0, 1fr) repeat(2, auto)`,
4164
+ padding: `calc(${spacingStaticSm$1} + ${spacingFluidSm})`,
4228
4165
  borderRadius: `var(${legacyRadiusMedium}, ${radius2Xl})`,
4229
4166
  background: notificationBackgroundMap[state],
4230
4167
  WebkitBackdropFilter: blurFrosted,
4231
4168
  backdropFilter: blurFrosted,
4232
- boxShadow: shadowLg,
4233
- opacity: isOpen ? 1 : 0, // it's necessary to spit up opacity transition from [popover], otherwise frosted effect won't render
4234
- transition: getTransition('opacity', duration, easing),
4235
4169
  ...forcedColorsMediaQuery({
4236
4170
  outline: '2px solid CanvasText',
4237
4171
  outlineOffset: '-2px',
@@ -4239,7 +4173,7 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton) => {
4239
4173
  '&::before': {
4240
4174
  [getMediaQueryMin('s')]: {
4241
4175
  gridArea: '1/1',
4242
- placeSelf: 'center',
4176
+ placeSelf: hasHeadingOrHeadingSlot ? 'center' : 'flex-start',
4243
4177
  content: '""',
4244
4178
  width: '1.5rem',
4245
4179
  height: '1.5rem',
@@ -4255,12 +4189,107 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton) => {
4255
4189
  },
4256
4190
  ...(hasDismissButton && {
4257
4191
  dismiss: {
4258
- gridArea: `1/4/3`,
4259
- marginTop: `calc(-1 * ${spacingStaticXs$1})`,
4260
- marginInlineEnd: `calc(-1 * ${spacingStaticXs$1})`,
4261
- marginInlineStart: spacingStaticMd,
4192
+ gridArea: `1/4/-1`,
4193
+ alignSelf: 'flex-start',
4194
+ marginBlock: `calc(-6 * ${spacingStatic2Xs})`,
4195
+ marginInline: `${spacingStaticMd} calc(-6 * ${spacingStatic2Xs})`,
4262
4196
  },
4263
4197
  }),
4198
+ ...(hasAction && {
4199
+ action: {
4200
+ gridArea: '3/1/auto/-1',
4201
+ marginTop: spacingStaticMd,
4202
+ [getMediaQueryMin('s')]: {
4203
+ gridArea: '1/3',
4204
+ marginTop: '0px',
4205
+ marginInlineStart: spacingStaticMd,
4206
+ },
4207
+ },
4208
+ }),
4209
+ };
4210
+ };
4211
+
4212
+ /**
4213
+ * @css-variable {"name": "--p-banner-max-w", "description": "Defines the maximum width of the Banner.", "defaultValue": "100ch"}
4214
+ */
4215
+ const cssVarMaxWidth = '--p-banner-max-w';
4216
+ /**
4217
+ * @css-variable {"name": "--p-banner-top", "description": "Defines the distance from the top of the viewport. Only takes effect when the `position` property is set to `top` (at the respective breakpoint).", "defaultValue": "56px"}
4218
+ */
4219
+ const cssVarTop = '--p-banner-top';
4220
+ /**
4221
+ * @css-variable {"name": "--p-banner-bottom", "description": "Defines the distance from the bottom of the viewport. Only takes effect when the `position` property is set to `bottom` (at the respective breakpoint).", "defaultValue": "56px"}
4222
+ */
4223
+ const cssVarBottom = '--p-banner-bottom';
4224
+ /**
4225
+ * @css-variable {"name": "--p-banner-inset-x", "description": "Defines the horizontal offset of the Banner from the edges of the viewport.", "defaultValue": "max(22px, 10.625vw - 12px)"}
4226
+ */
4227
+ const cssVarInsetX = '--p-banner-inset-x';
4228
+ const cssVarPositionTop = '--p-banner-position-top'; // deprecated (aliased)
4229
+ const cssVarPositionBottom = '--p-banner-position-bottom'; // deprecated (aliased)
4230
+ const topBottomFallback = '56px';
4231
+ const cssVariableZIndex = '--_p-banner-a';
4232
+ const getComponentCss$18 = (isOpen, position, state, hasDismissButton, hasHeadingOrHeadingSlot) => {
4233
+ const duration = isOpen ? 'moderate' : 'short';
4234
+ const easing = isOpen ? 'in' : 'out';
4235
+ const transition = `visibility 0s linear var(${cssVariableTransitionDuration},${isOpen ? '0s' : motionDurationMap[duration]}),${getTransition('transform', duration, easing)}`;
4236
+ return getCss({
4237
+ ...mergeDeep({
4238
+ '@global': {
4239
+ ':host': {
4240
+ display: 'contents',
4241
+ ...addImportantToEachRule({
4242
+ ...hostHiddenStyles,
4243
+ }),
4244
+ },
4245
+ ...preventFoucOfNestedElementsStyles,
4246
+ '[popover]': {
4247
+ all: 'unset',
4248
+ position: 'fixed',
4249
+ zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})`, // Fallback for browsers lacking `transition-behavior: allow-discrete` — keeps the banner visible during fade-out after leaving the top layer.
4250
+ ...buildResponsiveStyles(position, (v) => ({
4251
+ ...(v === 'top' && {
4252
+ insetBlock: `var(${cssVarTop},var(${cssVarPositionTop},${topBottomFallback})) auto`,
4253
+ ...(!isOpen && {
4254
+ transform: `translate3d(-50%,calc(-100% - var(${cssVarTop},var(${cssVarPositionTop},${topBottomFallback}))),0)`,
4255
+ }),
4256
+ }),
4257
+ ...(v === 'bottom' && {
4258
+ insetBlock: `auto var(${cssVarBottom},var(${cssVarPositionBottom},${topBottomFallback}))`,
4259
+ ...(!isOpen && {
4260
+ transform: `translate3d(-50%,calc(var(${cssVarBottom},var(${cssVarPositionBottom},${topBottomFallback})) + 100%),0)`,
4261
+ }),
4262
+ }),
4263
+ })),
4264
+ left: '50vw',
4265
+ width: `min(calc(100vw - 2 * var(${cssVarInsetX},${gridExtendedOffsetBase})),var(${cssVarMaxWidth},100ch))`,
4266
+ '&:popover-open': {
4267
+ overlay: 'auto',
4268
+ },
4269
+ '&::backdrop': {
4270
+ display: 'none',
4271
+ },
4272
+ visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
4273
+ pointerEvents: 'none', // element can't be interacted with mouse
4274
+ ...(isOpen && {
4275
+ visibility: 'inherit',
4276
+ pointerEvents: 'inherit',
4277
+ transform: 'translate3d(-50%,0,0)',
4278
+ }),
4279
+ transition,
4280
+ // during transition the element will be removed from top-layer immediately, resulting in other elements laying over (as of Mai 2024 only Chrome is fixed by this)
4281
+ '@supports (transition-behavior: allow-discrete)': {
4282
+ transition: `${transition},${getTransition('overlay', duration, easing)} allow-discrete`,
4283
+ },
4284
+ },
4285
+ },
4286
+ }, {
4287
+ notification: {
4288
+ boxShadow: shadowLg,
4289
+ opacity: isOpen ? 1 : 0, // it's necessary to spit up opacity transition from [popover], otherwise frosted effect won't render
4290
+ transition: getTransition('opacity', duration, easing),
4291
+ },
4292
+ }, getFunctionalComponentNotificationBaseStyles(state, false, hasDismissButton, hasHeadingOrHeadingSlot)),
4264
4293
  });
4265
4294
  };
4266
4295
 
@@ -4572,9 +4601,9 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
4572
4601
  verticalAlign: 'top',
4573
4602
  ...mergeDeep(buildResponsiveStyles(isCompact, (compactValue) => ({
4574
4603
  [`${cssVariableInternalScaling}`]: compactValue ? 0.64285714 : 1,
4575
- '--p-internal-border-radius': compactValue ? radiusLg : radiusXl,
4604
+ '--_p-link-button-a': compactValue ? radiusLg : radiusXl,
4576
4605
  })), buildResponsiveStyles(hideLabel, (hideLabelValue) => ({
4577
- borderRadius: addImportantToRule(`var(${legacyRadiusSmall}, ${hideLabelValue ? radiusFull : 'var(--p-internal-border-radius)'})`),
4606
+ borderRadius: addImportantToRule(`var(${legacyRadiusSmall}, ${hideLabelValue ? radiusFull : 'var(--_p-link-button-a)'})`),
4578
4607
  }))),
4579
4608
  ...addImportantToEachRule({
4580
4609
  ...hostHiddenStyles,
@@ -4639,7 +4668,7 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
4639
4668
  };
4640
4669
  };
4641
4670
 
4642
- const cssVariableInternalButtonScaling = '--p-internal-button-scaling';
4671
+ const cssVariableInternalButtonScaling = '--_p-button-a';
4643
4672
  const getComponentCss$15 = (icon, iconSource, variant, hideLabel, isDisabled, isLoading, isCompact) => {
4644
4673
  const disabledOrLoading = isDisabledOrLoading(isDisabled, isLoading);
4645
4674
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, disabledOrLoading, false, isCompact, cssVariableInternalButtonScaling), {
@@ -4690,11 +4719,249 @@ const getComponentCss$15 = (icon, iconSource, variant, hideLabel, isDisabled, is
4690
4719
  };
4691
4720
 
4692
4721
  const palette = {
4722
+ light: {
4723
+ green: {
4724
+ '50': 'hsl(115 29.7% 92.7%)',
4725
+ '100': 'hsl(114 30.3% 87.1%)',
4726
+ '200': 'hsl(116 29.2% 81.2%)',
4727
+ '300': 'hsl(115 29.6% 75.5%)',
4728
+ '400': 'hsl(116 29.9% 69.8%)',
4729
+ '500': 'hsl(116 30.1% 64.1%)',
4730
+ '600': 'hsl(115 30% 56.9%)',
4731
+ '700': 'hsl(115 30.4% 49.6%)',
4732
+ '800': 'hsl(115 40.7% 42.4%)',
4733
+ '900': 'hsl(115 55.3% 35.1%)',
4734
+ '950': 'hsl(115 77.5% 27.8%)',
4735
+ '50a': 'hsl(115 77.5% 27.8% / 0.1)',
4736
+ '100a': 'hsl(115 77.5% 27.8% / 0.18)',
4737
+ '200a': 'hsl(115 77.5% 27.8% / 0.26)',
4738
+ '300a': 'hsl(115 77.5% 27.8% / 0.34)',
4739
+ '400a': 'hsl(115 77.5% 27.8% / 0.42)',
4740
+ '500a': 'hsl(115 77.5% 27.8% / 0.5)',
4741
+ '600a': 'hsl(115 77.5% 27.8% / 0.6)',
4742
+ '700a': 'hsl(115 77.5% 27.8% / 0.7)',
4743
+ '800a': 'hsl(115 77.5% 27.8% / 0.8)',
4744
+ '900a': 'hsl(115 77.5% 27.8% / 0.9)',
4745
+ '950a': 'hsl(115 77.5% 27.8%)',
4746
+ },
4747
+ red: {
4748
+ '50': 'hsl(0 53.3% 94.1%)',
4749
+ '100': 'hsl(358 55.6% 89.4%)',
4750
+ '200': 'hsl(359 53.8% 84.7%)',
4751
+ '300': 'hsl(358 54.9% 80%)',
4752
+ '400': 'hsl(358 54% 75.3%)',
4753
+ '500': 'hsl(357 54.7% 70.6%)',
4754
+ '600': 'hsl(358 54.4% 64.7%)',
4755
+ '700': 'hsl(357 54.3% 58.8%)',
4756
+ '800': 'hsl(357 54.4% 52.7%)',
4757
+ '900': 'hsl(357 61.5% 46.9%)',
4758
+ '950': 'hsl(357 78% 41%)',
4759
+ '50a': 'hsl(357 78% 41% / 0.1)',
4760
+ '100a': 'hsl(357 78% 41% / 0.18)',
4761
+ '200a': 'hsl(357 78% 41% / 0.26)',
4762
+ '300a': 'hsl(357 78% 41% / 0.34)',
4763
+ '400a': 'hsl(357 78% 41% / 0.42)',
4764
+ '500a': 'hsl(357 78% 41% / 0.5)',
4765
+ '600a': 'hsl(357 78% 41% / 0.6)',
4766
+ '700a': 'hsl(357 78% 41% / 0.7)',
4767
+ '800a': 'hsl(357 78% 41% / 0.8)',
4768
+ '900a': 'hsl(357 78% 41% / 0.9)',
4769
+ '950a': 'hsl(357 78% 41%)',
4770
+ },
4771
+ yellow: {
4772
+ '50': 'hsl(25 51.5% 93.5%)',
4773
+ '100': 'hsl(27 50.8% 88%)',
4774
+ '200': 'hsl(27 50% 82.7%)',
4775
+ '300': 'hsl(27 50.9% 77.6%)',
4776
+ '400': 'hsl(27 50.4% 72.4%)',
4777
+ '500': 'hsl(28 50.9% 67.3%)',
4778
+ '600': 'hsl(28 50.5% 60.4%)',
4779
+ '700': 'hsl(28 50.6% 53.9%)',
4780
+ '800': 'hsl(27 56.2% 47.5%)',
4781
+ '900': 'hsl(28 73.9% 40.6%)',
4782
+ '950': 'hsl(28 97.7% 34.1%)',
4783
+ '50a': 'hsl(28 97.7% 34.1% / 0.1)',
4784
+ '100a': 'hsl(28 97.7% 34.1% / 0.18)',
4785
+ '200a': 'hsl(28 97.7% 34.1% / 0.26)',
4786
+ '300a': 'hsl(28 97.7% 34.1% / 0.34)',
4787
+ '400a': 'hsl(28 97.7% 34.1% / 0.42)',
4788
+ '500a': 'hsl(28 97.7% 34.1% / 0.5)',
4789
+ '600a': 'hsl(28 97.7% 34.1% / 0.6)',
4790
+ '700a': 'hsl(28 97.7% 34.1% / 0.7)',
4791
+ '800a': 'hsl(28 97.7% 34.1% / 0.8)',
4792
+ '900a': 'hsl(28 97.7% 34.1% / 0.9)',
4793
+ '950a': 'hsl(28 97.7% 34.1%)',
4794
+ },
4795
+ blue: {
4796
+ '50': 'hsl(229 84% 95.1%)',
4797
+ '100': 'hsl(229 82.2% 91.2%)',
4798
+ '200': 'hsl(228 84.6% 87.3%)',
4799
+ '300': 'hsl(228 83.5% 83.3%)',
4800
+ '400': 'hsl(228 82.9% 79.4%)',
4801
+ '500': 'hsl(228 83.9% 75.7%)',
4802
+ '600': 'hsl(228 82.7% 70.6%)',
4803
+ '700': 'hsl(228 82.9% 65.7%)',
4804
+ '800': 'hsl(228 83% 60.8%)',
4805
+ '900': 'hsl(228 83.1% 55.9%)',
4806
+ '950': 'hsl(228 83.2% 51%)',
4807
+ '50a': 'hsl(228 83.2% 51% / 0.1)',
4808
+ '100a': 'hsl(228 83.2% 51% / 0.18)',
4809
+ '200a': 'hsl(228 83.2% 51% / 0.26)',
4810
+ '300a': 'hsl(228 83.2% 51% / 0.34)',
4811
+ '400a': 'hsl(228 83.2% 51% / 0.42)',
4812
+ '500a': 'hsl(228 83.2% 51% / 0.5)',
4813
+ '600a': 'hsl(228 83.2% 51% / 0.6)',
4814
+ '700a': 'hsl(228 83.2% 51% / 0.7)',
4815
+ '800a': 'hsl(228 83.2% 51% / 0.8)',
4816
+ '900a': 'hsl(228 83.2% 51% / 0.9)',
4817
+ '950a': 'hsl(228 83.2% 51%)',
4818
+ },
4819
+ grey: {
4820
+ '50': 'hsl(240 10% 95%)',
4821
+ '100': 'hsl(240 8.1% 92.7%)',
4822
+ '200': 'hsl(225 5.7% 86.3%)',
4823
+ '300': 'hsl(240 2.7% 78.2%)',
4824
+ '400': 'hsl(240 1.9% 68.8%)',
4825
+ '500': 'hsl(240 0.9% 57.6%)',
4826
+ '600': 'hsl(240 0.8% 47.8%)',
4827
+ '700': 'hsl(240 1.6% 37.8%)',
4828
+ '800': 'hsl(240 2.2% 27.3%)',
4829
+ '900': 'hsl(240 4.8% 16.5%)',
4830
+ '950': 'hsl(225 66.7% 1.2%)',
4831
+ '50a': 'hsl(234 9.8% 60% / 0.06)',
4832
+ '100a': 'hsl(240 5% 70% / 0.148)',
4833
+ '200a': 'hsl(236 6.5% 42% / 0.236)',
4834
+ '300a': 'hsl(234 6% 32.9% / 0.324)',
4835
+ '400a': 'hsl(233 6.6% 23.9% / 0.412)',
4836
+ '500a': 'hsl(240 5.3% 14.9% / 0.5)',
4837
+ '600a': 'hsl(240 6.1% 7% / 0.6)',
4838
+ '700a': 'hsl(240 7.1% 11% / 0.7)',
4839
+ '800a': 'hsl(240 8.7% 9% / 0.8)',
4840
+ '900a': 'hsl(240 11.1% 7.1% / 0.9)',
4841
+ '950a': 'hsl(240 15.4% 5.1%)',
4842
+ },
4843
+ },
4693
4844
  dark: {
4845
+ green: {
4846
+ '50': 'hsl(157 33.3% 10.6%)',
4847
+ '100': 'hsl(158 47.1% 13.3%)',
4848
+ '200': 'hsl(157 58% 15.9%)',
4849
+ '300': 'hsl(157 64.6% 18.8%)',
4850
+ '400': 'hsl(157 69.1% 21.6%)',
4851
+ '500': 'hsl(157 72.6% 24.3%)',
4852
+ '600': 'hsl(157 76.1% 27.8%)',
4853
+ '700': 'hsl(157 78.7% 31.4%)',
4854
+ '800': 'hsl(157 81.8% 34.5%)',
4855
+ '900': 'hsl(157 83.5% 38%)',
4856
+ '950': 'hsl(157 84.9% 41.6%)',
4857
+ '50a': 'hsl(157 84.9% 41.6% / 0.1)',
4858
+ '100a': 'hsl(157 84.9% 41.6% / 0.18)',
4859
+ '200a': 'hsl(157 84.9% 41.6% / 0.26)',
4860
+ '300a': 'hsl(157 84.9% 41.6% / 0.34)',
4861
+ '400a': 'hsl(157 84.9% 41.6% / 0.42)',
4862
+ '500a': 'hsl(157 84.9% 41.6% / 0.5)',
4863
+ '600a': 'hsl(157 84.9% 41.6% / 0.6)',
4864
+ '700a': 'hsl(157 84.9% 41.6% / 0.7)',
4865
+ '800a': 'hsl(157 84.9% 41.6% / 0.8)',
4866
+ '900a': 'hsl(157 84.9% 41.6% / 0.9)',
4867
+ '950a': 'hsl(157 84.9% 41.6%)',
4868
+ },
4869
+ red: {
4870
+ '50': 'hsl(0 28.1% 12.5%)',
4871
+ '100': 'hsl(0 39.5% 16.9%)',
4872
+ '200': 'hsl(0 45% 21.4%)',
4873
+ '300': 'hsl(0 48.5% 25.9%)',
4874
+ '400': 'hsl(0 51.6% 30%)',
4875
+ '500': 'hsl(0 53.4% 34.5%)',
4876
+ '600': 'hsl(0 54.9% 40%)',
4877
+ '700': 'hsl(0 56.9% 45.5%)',
4878
+ '800': 'hsl(0 60% 51%)',
4879
+ '900': 'hsl(0 76.6% 56.5%)',
4880
+ '950': 'hsl(0 96.9% 62%)',
4881
+ '50a': 'hsl(0 96.9% 62% / 0.1)',
4882
+ '100a': 'hsl(0 96.9% 62% / 0.18)',
4883
+ '200a': 'hsl(0 96.9% 62% / 0.26)',
4884
+ '300a': 'hsl(0 96.9% 62% / 0.34)',
4885
+ '400a': 'hsl(0 96.9% 62% / 0.42)',
4886
+ '500a': 'hsl(0 96.9% 62% / 0.5)',
4887
+ '600a': 'hsl(0 96.9% 62% / 0.6)',
4888
+ '700a': 'hsl(0 96.9% 62% / 0.7)',
4889
+ '800a': 'hsl(0 96.9% 62% / 0.8)',
4890
+ '900a': 'hsl(0 96.9% 62% / 0.9)',
4891
+ '950a': 'hsl(0 96.9% 62%)',
4892
+ },
4893
+ yellow: {
4894
+ '50': 'hsl(29 34.4% 12%)',
4895
+ '100': 'hsl(28 45.7% 15.9%)',
4896
+ '200': 'hsl(28 52.5% 19.8%)',
4897
+ '300': 'hsl(28 57% 23.7%)',
4898
+ '400': 'hsl(28 60.3% 27.6%)',
4899
+ '500': 'hsl(28 62.7% 31.6%)',
4900
+ '600': 'hsl(28 65.6% 36.5%)',
4901
+ '700': 'hsl(28 66.8% 41.4%)',
4902
+ '800': 'hsl(28 68.6% 46.3%)',
4903
+ '900': 'hsl(28 72.7% 51.2%)',
4904
+ '950': 'hsl(28 90.2% 56.1%)',
4905
+ '50a': 'hsl(28 90.2% 56.1% / 0.1)',
4906
+ '100a': 'hsl(28 90.2% 56.1% / 0.18)',
4907
+ '200a': 'hsl(28 90.2% 56.1% / 0.26)',
4908
+ '300a': 'hsl(28 90.2% 56.1% / 0.34)',
4909
+ '400a': 'hsl(28 90.2% 56.1% / 0.42)',
4910
+ '500a': 'hsl(28 90.2% 56.1% / 0.5)',
4911
+ '600a': 'hsl(28 90.2% 56.1% / 0.6)',
4912
+ '700a': 'hsl(28 90.2% 56.1% / 0.7)',
4913
+ '800a': 'hsl(28 90.2% 56.1% / 0.8)',
4914
+ '900a': 'hsl(28 90.2% 56.1% / 0.9)',
4915
+ '950a': 'hsl(28 90.2% 56.1%)',
4916
+ },
4917
+ blue: {
4918
+ '50': 'hsl(211 37.7% 12%)',
4919
+ '100': 'hsl(210 52.5% 15.7%)',
4920
+ '200': 'hsl(210 61.6% 19.4%)',
4921
+ '300': 'hsl(210 66.4% 23.3%)',
4922
+ '400': 'hsl(210 71% 27.1%)',
4923
+ '500': 'hsl(210 73.4% 31%)',
4924
+ '600': 'hsl(210 76.8% 35.5%)',
4925
+ '700': 'hsl(210 78.6% 40.4%)',
4926
+ '800': 'hsl(210 80.9% 45.1%)',
4927
+ '900': 'hsl(210 81.9% 49.8%)',
4928
+ '950': 'hsl(210 100% 54.5%)',
4929
+ '50a': 'hsl(210 100% 54.5% / 0.1)',
4930
+ '100a': 'hsl(210 100% 54.5% / 0.18)',
4931
+ '200a': 'hsl(210 100% 54.5% / 0.26)',
4932
+ '300a': 'hsl(210 100% 54.5% / 0.34)',
4933
+ '400a': 'hsl(210 100% 54.5% / 0.42)',
4934
+ '500a': 'hsl(210 100% 54.5% / 0.5)',
4935
+ '600a': 'hsl(210 100% 54.5% / 0.6)',
4936
+ '700a': 'hsl(210 100% 54.5% / 0.7)',
4937
+ '800a': 'hsl(210 100% 54.5% / 0.8)',
4938
+ '900a': 'hsl(210 100% 54.5% / 0.9)',
4939
+ '950a': 'hsl(210 100% 54.5%)',
4940
+ },
4694
4941
  grey: {
4942
+ '50': 'hsl(225 66.7% 1.2%)',
4943
+ '100': 'hsl(240 2% 10%)',
4944
+ '200': 'hsl(240 1.3% 15.5%)',
4945
+ '300': 'hsl(240 0.8% 23.7%)',
4946
+ '400': 'hsl(240 0.6% 34.3%)',
4947
+ '500': 'hsl(240 0.4% 47.6%)',
4948
+ '600': 'hsl(240 0.5% 57.5%)',
4949
+ '700': 'hsl(240 0.6% 67.3%)',
4950
+ '800': 'hsl(240 0.9% 77.1%)',
4951
+ '900': 'hsl(240 3% 87.1%)',
4695
4952
  '950': 'hsl(225 100% 99%)',
4953
+ '50a': 'hsl(225 66.7% 1.2% / 0.08)',
4696
4954
  '100a': 'hsl(240 3.7% 26.5% / 0.154)',
4697
- '200a': 'hsl(240 2% 43% / 0.228)'},
4955
+ '200a': 'hsl(240 2% 43% / 0.228)',
4956
+ '300a': 'hsl(240 1.5% 61.8% / 0.302)',
4957
+ '400a': 'hsl(240 2.9% 79.4% / 0.376)',
4958
+ '500a': 'hsl(240 12.5% 96.9% / 0.45)',
4959
+ '600a': 'hsl(240 12.5% 96.9% / 0.56)',
4960
+ '700a': 'hsl(240 12.5% 96.9% / 0.67)',
4961
+ '800a': 'hsl(240 12.5% 96.9% / 0.78)',
4962
+ '900a': 'hsl(240 12.5% 96.9% / 0.89)',
4963
+ '950a': 'hsl(225 100% 99%)',
4964
+ },
4698
4965
  },
4699
4966
  };
4700
4967
 
@@ -5030,6 +5297,10 @@ const cssVarPaddingInlineStart = '--p-carousel-ps';
5030
5297
  * @css-variable {"name": "--p-carousel-pe", "description": "Defines the logical inline end padding of the carousel, the extra space is used to show parts of the next/previous slide. Needs to be used in combination with `--p-carousel-px` or `--p-carousel-ps`. When used then the prop `width` has no effect anymore.", "defaultValue": ""}
5031
5298
  */
5032
5299
  const cssVarPaddingInlineEnd = '--p-carousel-pe';
5300
+ /**
5301
+ * @css-variable {"name": "--p-carousel-prev-next-color-scheme", "description": "Color Scheme applied to the navigation (prev/next buttons)"}
5302
+ */
5303
+ const cssVariablePrevNextColorScheme = '--p-carousel-prev-next-color-scheme';
5033
5304
  const cssVariableGradientColorWidth = '--p-gradient-color-width';
5034
5305
  const carouselTransitionDuration = motionDurationModerate;
5035
5306
  const paginationInfiniteStartCaseClass = 'pagination--infinite';
@@ -5155,6 +5426,7 @@ const getComponentCss$13 = (gradient, hasHeading, hasDescription, hasControlsSlo
5155
5426
  gap: spacingStaticXs$1,
5156
5427
  alignSelf: 'flex-start', // relevant in case slot="header" becomes higher than nav group
5157
5428
  },
5429
+ colorScheme: `var(${cssVariablePrevNextColorScheme})`,
5158
5430
  },
5159
5431
  btn: {
5160
5432
  padding: spacingStaticSm$1,
@@ -5358,7 +5630,7 @@ const cssVarCheckboxIconColor = '--p-checkbox-icon-color';
5358
5630
  /**
5359
5631
  * Internal CSS variables
5360
5632
  */
5361
- const cssVarInternalCheckboxScaling = '--__p-checkbox-scaling';
5633
+ const cssVarInternalCheckboxScaling = '--_p-checkbox-scaling';
5362
5634
 
5363
5635
  const getCheckboxBaseStyles = (isDisabled, isLoading, isCompact, state) => {
5364
5636
  const { formStateBackgroundColor, formStateBorderColor, formStateBorderHoverColor } = getThemedFormStateColors(state);
@@ -5507,6 +5779,11 @@ const getFunctionalComponentLabelStyles = (isDisabled, isLoading, hideLabel, add
5507
5779
  ...buildResponsiveStyles(hideLabel, (isHidden) => getHiddenTextJssStyle(isHidden, { marginTop: `calc(-1 * ${spacingStaticXs$1})` })),
5508
5780
  marginTop: `calc(-1 * ${spacingStaticXs$1})`,
5509
5781
  },
5782
+ '& > slot[name="label"]::slotted(*)': {
5783
+ ...addImportantToEachRule({
5784
+ display: 'inline',
5785
+ }),
5786
+ },
5510
5787
  ...additionalDefaultJssStyle,
5511
5788
  },
5512
5789
  // .required
@@ -5609,7 +5886,7 @@ const cssVarButtonPurePadding = '--ref-p-input-slotted-padding';
5609
5886
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
5610
5887
  */
5611
5888
  const cssVarButtonPureMargin = '--ref-p-input-slotted-margin';
5612
- const cssVarInternalInputBaseScaling = '--p-internal-input-base-scaling';
5889
+ const cssVarInternalInputBaseScaling = '--_p-input-base-a';
5613
5890
  const getFunctionalComponentInputBaseStyles = (isDisabled, isLoading, hideLabel, state, isCompact, readOnly, additionalInputJssStyle, additionalHostJssStyle) => {
5614
5891
  const wrapperBorderWidth = '1px';
5615
5892
  const wrapperHeight = `calc(var(${cssVarInternalInputBaseScaling}) * 3.5rem)`;
@@ -5783,7 +6060,7 @@ const getIconJssStyle = (isOpen) => {
5783
6060
  const getOptionJssStyle = (componentName, cssVarScalingName) => {
5784
6061
  const gap = `calc(11.2px * (var(${cssVarScalingName}) - 0.64285714) + 4px)`;
5785
6062
  const paddingBlock = `calc(11.2px * (var(${cssVarScalingName}) - 0.64285714) + 4px)`;
5786
- const paddingInline = `var(--p-internal-${componentName}-padding-left, calc(16.8px * (var(${cssVarScalingName}) - 0.64285714) + 6px)) calc(16.8px * (var(${cssVarScalingName}) - 0.64285714) + 6px)`;
6063
+ const paddingInline = `var(--_p-${componentName}-b, calc(16.8px * (var(${cssVarScalingName}) - 0.64285714) + 6px)) calc(16.8px * (var(${cssVarScalingName}) - 0.64285714) + 6px)`;
5787
6064
  return {
5788
6065
  display: 'flex',
5789
6066
  gap,
@@ -6020,11 +6297,11 @@ const getComponentCss$$ = (color, orientation) => {
6020
6297
  const cssVariableGridTemplate = '--p-drilldown-grid-template';
6021
6298
  const cssVariableGap = '--p-drilldown-gap';
6022
6299
  // private css variables
6023
- const cssVarColorPrimary = '--_p-a';
6024
- const cssVarColorBackgroundBase = '--_p-b';
6025
- const cssVarColorBackgroundSurface = '--_p-c';
6026
- const cssVarColorBackgroundShading = '--_p-d';
6027
- const cssVarColorBackgroundScroller = '--_p-f';
6300
+ const cssVarColorPrimary = '--_p-drilldown-a';
6301
+ const cssVarColorBackgroundBase = '--_p-drilldown-b';
6302
+ const cssVarColorBackgroundSurface = '--_p-drilldown-c';
6303
+ const cssVarColorBackgroundShading = '--_p-drilldown-d';
6304
+ const cssVarColorBackgroundScroller = '--_p-drilldown-f';
6028
6305
  const scrollerWidthDesktop = 'clamp(338px, 210px + 18vw, 640px)';
6029
6306
  const mediaQueryMobile = getMediaQueryMax('s');
6030
6307
  const mediaQueryDesktop = getMediaQueryMin('s');
@@ -6619,7 +6896,7 @@ const getComponentCss$W = (size) => {
6619
6896
  });
6620
6897
  };
6621
6898
 
6622
- const cssVarBackgroundColor = '--_a';
6899
+ const cssVarBackgroundColor = '--_p-dialog-a';
6623
6900
  const dialogHostJssStyle = (background) => {
6624
6901
  return {
6625
6902
  '--pds-internal-grid-outer-column': `calc(${spacingFluidLg} - ${gridGap})`,
@@ -6686,8 +6963,12 @@ const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
6686
6963
  const getScrollerJssStyle = (position) => {
6687
6964
  // ensures scrollbar color is set correctly (e.g. when scrollbar is shown on backdrop, on flyout/modal surface or with Auto Dark Mode)
6688
6965
  const backgroundLight = 'rgba(255,255,255,.01)';
6966
+ const backgroundDark = 'rgba(0,0,0,.01)';
6689
6967
  const background = {
6690
- light: backgroundLight};
6968
+ light: backgroundLight,
6969
+ dark: backgroundDark,
6970
+ auto: backgroundLight,
6971
+ };
6691
6972
  return {
6692
6973
  position: 'absolute',
6693
6974
  isolation: 'isolate', // creates new stacking context to show scrollbars on top of header/footer areas (on iOS/iPadOS)
@@ -6719,7 +7000,6 @@ const dialogGridJssStyle = () => {
6719
7000
  paddingTop: dialogPaddingTop,
6720
7001
  paddingBottom: dialogPaddingBottom,
6721
7002
  alignContent: 'flex-start',
6722
- overflow: 'clip',
6723
7003
  };
6724
7004
  };
6725
7005
  const getDialogColorJssStyle = () => {
@@ -6758,15 +7038,7 @@ const getDialogDismissButtonJssStyle = () => {
6758
7038
  marginTop: `calc(-1 * ${dialogPaddingTop} + ${spacingFluidSm})`,
6759
7039
  marginInlineEnd: spacingFluidSm,
6760
7040
  placeSelf: 'flex-start flex-end',
6761
- '&::after': {
6762
- content: '""',
6763
- display: 'block',
6764
- position: 'absolute',
6765
- inset: `calc(-1 * ${spacingFluidSm}) calc(-1 * ${spacingFluidSm}) -50px -50px`,
6766
- pointerEvents: 'none',
6767
- zIndex: -1,
6768
- background: `radial-gradient(circle at top right, hsla(from var(${cssVarBackgroundColor}) h s l / 0.35) 0%, transparent 70%)`,
6769
- },
7041
+ boxShadow: `0px 0px 30px hsla(from var(${cssVarBackgroundColor}) h s l / 0.35)`
6770
7042
  };
6771
7043
  };
6772
7044
  const getSlotJssStyle = () => {
@@ -7052,8 +7324,8 @@ const getComponentCss$T = (name, source, color, size) => {
7052
7324
  });
7053
7325
  };
7054
7326
 
7055
- const getComponentCss$S = (state, hasAction, hasDismissButton) => {
7056
- return getCss({
7327
+ const getComponentCss$S = (state, hasAction, hasDismissButton, hasHeadingOrHeadingSlot) => {
7328
+ return getCss(mergeDeep({
7057
7329
  '@global': {
7058
7330
  ':host': {
7059
7331
  display: 'block',
@@ -7062,71 +7334,8 @@ const getComponentCss$S = (state, hasAction, hasDismissButton) => {
7062
7334
  }),
7063
7335
  },
7064
7336
  ...preventFoucOfNestedElementsStyles,
7065
- 'slot[name="heading"],h1,h2,h3,h4,h5,h6': {
7066
- all: 'unset',
7067
- display: 'block',
7068
- gridArea: '1/2',
7069
- font: `${fontWeightSemibold} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
7070
- color: colorPrimary,
7071
- },
7072
- 'slot:not([name]),p': {
7073
- all: 'unset',
7074
- display: 'block',
7075
- gridArea: '2/2',
7076
- marginTop: spacingStaticXs$1,
7077
- font: `${fontWeightNormal$1} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
7078
- color: colorPrimary,
7079
- },
7080
7337
  },
7081
- notification: {
7082
- display: 'grid',
7083
- gridTemplateColumns: `auto minmax(0, 1fr) auto auto`,
7084
- padding: spacingStaticMd,
7085
- borderRadius: `var(${legacyRadiusMedium}, ${radiusXl})`,
7086
- background: notificationBackgroundMap[state],
7087
- WebkitBackdropFilter: blurFrosted,
7088
- backdropFilter: blurFrosted,
7089
- ...forcedColorsMediaQuery({
7090
- outline: '2px solid CanvasText',
7091
- outlineOffset: '-2px',
7092
- }),
7093
- '&::before': {
7094
- [getMediaQueryMin('s')]: {
7095
- gridArea: '1/1',
7096
- placeSelf: 'center',
7097
- content: '""',
7098
- width: '1.5rem',
7099
- height: '1.5rem',
7100
- marginInlineEnd: spacingStaticSm$1,
7101
- background: notificationColorMap[state],
7102
- WebkitMask: `${notificationIconMap[state]} center/contain no-repeat`, // necessary for Sogou browser support :-)
7103
- mask: `${notificationIconMap[state]} center/contain no-repeat`,
7104
- ...forcedColorsMediaQuery({
7105
- background: 'CanvasText',
7106
- }),
7107
- },
7108
- },
7109
- },
7110
- ...(hasDismissButton && {
7111
- dismiss: {
7112
- gridArea: `1/4/3`,
7113
- marginTop: `calc(-1 * ${spacingStaticXs$1})`,
7114
- marginInlineEnd: `calc(-1 * ${spacingStaticXs$1})`,
7115
- marginInlineStart: spacingStaticMd,
7116
- },
7117
- }),
7118
- ...(hasAction && {
7119
- action: {
7120
- gridArea: '3/1/auto/-1',
7121
- marginTop: spacingStaticMd,
7122
- [getMediaQueryMin('s')]: {
7123
- gridArea: '1/3',
7124
- marginTop: 0,
7125
- marginInlineStart: spacingStaticMd,
7126
- },
7127
- },
7128
- }),
7129
- });
7338
+ }, getFunctionalComponentNotificationBaseStyles(state, hasAction, hasDismissButton, hasHeadingOrHeadingSlot)));
7130
7339
  };
7131
7340
 
7132
7341
  // CSS Variables defined in base input
@@ -7394,9 +7603,9 @@ const getComponentCss$G = (icon, iconSource, active, stretch, size, color, hideL
7394
7603
  content: '""',
7395
7604
  position: 'fixed',
7396
7605
  insetBlock: offsetVertical,
7397
- borderRadius: `var(${legacyRadiusSmall}, ${radiusSm})`,
7398
7606
  ...buildResponsiveStyles(hideLabel, (hideLabelValue) => ({
7399
7607
  insetInline: hideLabelValue ? offsetVertical : offsetHorizontal,
7608
+ borderRadius: `var(${legacyRadiusSmall}, ${hideLabelValue ? radiusFull : radiusLg})`,
7400
7609
  })),
7401
7610
  },
7402
7611
  '&(a:focus-visible)::before': getFocusBaseStyles(),
@@ -7690,7 +7899,7 @@ const getComponentCss$E = (aspectRatio, size, weight, align, compact, hasGradien
7690
7899
  });
7691
7900
  };
7692
7901
 
7693
- const cssVariableInternalLinkScaling = '--p-internal-link-scaling';
7902
+ const cssVariableInternalLinkScaling = '--_p-link-a';
7694
7903
  const getComponentCss$D = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, isCompact) => {
7695
7904
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, isCompact, cssVariableInternalLinkScaling), {
7696
7905
  label: {
@@ -7856,7 +8065,7 @@ const getComponentCss$B = (model, safeZone, size, color) => {
7856
8065
  });
7857
8066
  };
7858
8067
 
7859
- const cssVarInternalMultiSelectOptionScaling = '--p-internal-multi-select-option-scaling';
8068
+ const cssVarInternalMultiSelectOptionScaling = '--_p-multi-select-option-a';
7860
8069
  const getComponentCss$A = (isDisabled, selected) => {
7861
8070
  const checkboxDimension = `calc(var(${cssVarInternalCheckboxScaling}) * 1.75rem)`;
7862
8071
  const labelPaddingTop = `max(0px, calc((${checkboxDimension} - ${leadingNormal$1}) / 2))`;
@@ -7884,7 +8093,7 @@ const getComponentCss$A = (isDisabled, selected) => {
7884
8093
  });
7885
8094
  };
7886
8095
 
7887
- const cssVarInternalOptgroupScaling = '--p-internal-optgroup-scaling';
8096
+ const cssVarInternalOptgroupScaling = '--_p-optgroup-a';
7888
8097
  const paddingBlock = `calc(11.2px * (var(${cssVarInternalOptgroupScaling}) - 0.64285714) + 4px)`;
7889
8098
  const paddingInline = `calc(16.8px * (var(${cssVarInternalOptgroupScaling}) - 0.64285714) + 6px)`;
7890
8099
  const gap = `calc(11.2px * (var(${cssVarInternalOptgroupScaling}) - 0.64285714) + 4px)`;
@@ -7896,8 +8105,8 @@ const getComponentCss$z = (isDisabled) => {
7896
8105
  ...hostHiddenStyles,
7897
8106
  }),
7898
8107
  '::slotted(*)': {
7899
- '--p-internal-select-option-padding-left': paddingSlottedInlineStart,
7900
- '--p-internal-multi-select-option-padding-left': paddingSlottedInlineStart,
8108
+ '--_p-select-option-b': paddingSlottedInlineStart,
8109
+ '--_p-multi-select-option-b': paddingSlottedInlineStart,
7901
8110
  },
7902
8111
  '[role="group"]': {
7903
8112
  display: 'flex',
@@ -7915,7 +8124,7 @@ const getComponentCss$z = (isDisabled) => {
7915
8124
  });
7916
8125
  };
7917
8126
 
7918
- const cssVarInternalMultiSelectScaling = '--p-internal-multi-select-scaling';
8127
+ const cssVarInternalMultiSelectScaling = '--_p-multi-select-a';
7919
8128
  const getComponentCss$y = (isOpen, isDisabled, hideLabel, state, isCompact) => {
7920
8129
  return getCss({
7921
8130
  '@global': {
@@ -7958,8 +8167,8 @@ const getComponentCss$y = (isOpen, isDisabled, hideLabel, state, isCompact) => {
7958
8167
  });
7959
8168
  };
7960
8169
 
7961
- const mediaQueryMinS$1 = getMediaQueryMin('s');
7962
- const mediaQueryMaxS$1 = getMediaQueryMax('s');
8170
+ const mediaQueryMinS = getMediaQueryMin('s');
8171
+ const mediaQueryMaxS = getMediaQueryMax('s');
7963
8172
  const disabledCursorStyle = {
7964
8173
  cursor: 'default',
7965
8174
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
@@ -7985,7 +8194,7 @@ const getComponentCss$x = (activePage, pageTotal, showLastPage) => {
7985
8194
  gap: spacingStaticXs$1,
7986
8195
  margin: 0,
7987
8196
  padding: 0,
7988
- [mediaQueryMinS$1]: {
8197
+ [mediaQueryMinS]: {
7989
8198
  gap: spacingStaticSm$1,
7990
8199
  },
7991
8200
  },
@@ -7993,7 +8202,7 @@ const getComponentCss$x = (activePage, pageTotal, showLastPage) => {
7993
8202
  listStyleType: 'none',
7994
8203
  ...(pageTotal > 5 && {
7995
8204
  // max 5 items including ellipsis at the same time on mobile
7996
- [mediaQueryMaxS$1]: {
8205
+ [mediaQueryMaxS]: {
7997
8206
  [activePage < 4
7998
8207
  ? // we are at the start, so let's hide start ellipsis and 2 items before end ellipsis
7999
8208
  '&.ellip-start,&:nth-child(6),&:nth-child(7),&:not(.ellip):nth-child(8)'
@@ -8012,7 +8221,7 @@ const getComponentCss$x = (activePage, pageTotal, showLastPage) => {
8012
8221
  })),
8013
8222
  },
8014
8223
  }),
8015
- [mediaQueryMinS$1]: {
8224
+ [mediaQueryMinS]: {
8016
8225
  ...(pageTotal < 8
8017
8226
  ? { '&.ellip': hiddenStyle }
8018
8227
  : // max 7 items including ellipsis at the same time on tablet
@@ -8079,7 +8288,7 @@ const getComponentCss$x = (activePage, pageTotal, showLastPage) => {
8079
8288
  });
8080
8289
  };
8081
8290
 
8082
- const cssVarInternalPinCodeScaling = '--p-internal-pin-code-scaling';
8291
+ const cssVarInternalPinCodeScaling = '--_p-pin-code-a';
8083
8292
  const getComponentCss$w = (hideLabel, state, isDisabled, isLoading, length, isCompact) => {
8084
8293
  const { formStateBackgroundColor, formStateBorderColor, formStateBorderHoverColor } = getThemedFormStateColors(state);
8085
8294
  const gap = `calc(11.2px * (var(${cssVarInternalPinCodeScaling}) - 0.64285714) + 4px)`;
@@ -8252,7 +8461,7 @@ const getComponentCss$v = () => {
8252
8461
  });
8253
8462
  };
8254
8463
 
8255
- const cssVarInternalRadioGroupOptionScaling = '--p-internal-radio-group-option-scaling';
8464
+ const cssVarInternalRadioGroupOptionScaling = '--_p-radio-group-option-a';
8256
8465
  const checkedIcon = getInlineSVGBackgroundImage(`<circle cx="12" cy="12" r="6"/>`);
8257
8466
  const getComponentCss$u = (disabled, loading, state) => {
8258
8467
  const { formStateBackgroundColor, formStateBorderColor, formStateBorderHoverColor } = getThemedFormStateColors(state);
@@ -8356,7 +8565,7 @@ const getComponentCss$u = (disabled, loading, state) => {
8356
8565
  });
8357
8566
  };
8358
8567
 
8359
- const cssVarInternalRadioGroupScaling = '--p-internal-radio-group-scaling';
8568
+ const cssVarInternalRadioGroupScaling = '--_p-radio-group-a';
8360
8569
  const groupRadioGroupDirectionJssStyles = {
8361
8570
  column: {
8362
8571
  flexFlow: 'column nowrap',
@@ -8603,7 +8812,7 @@ isSticky, hasScrollbar, isCompact) => {
8603
8812
  });
8604
8813
  };
8605
8814
 
8606
- const cssVarInternalSegmentedControlScaling = '--p-internal-segmented-control-scaling';
8815
+ const cssVarInternalSegmentedControlScaling = '--_p-segmented-control-a';
8607
8816
  const getScalingVar = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
8608
8817
  const ICON_OFFSET = '4px';
8609
8818
  const ICON_SIZE = '1.5rem';
@@ -8688,7 +8897,10 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
8688
8897
  }),
8689
8898
  });
8690
8899
  };
8691
- const getComponentCss$q = (minWidth, maxWidth, columns, disabled, hideLabel, state) => {
8900
+
8901
+ const MIN_ITEM_WIDTH = 46;
8902
+ const MAX_ITEM_WIDTH = 220;
8903
+ const getComponentCss$q = (minWidth, maxWidth, columns, disabled, hideLabel, state, noWrap) => {
8692
8904
  return getCss({
8693
8905
  '@global': {
8694
8906
  ':host': {
@@ -8701,11 +8913,13 @@ const getComponentCss$q = (minWidth, maxWidth, columns, disabled, hideLabel, sta
8701
8913
  'slot:not([name])': {
8702
8914
  display: 'grid',
8703
8915
  gridAutoRows: '1fr', // for equal height
8704
- ...buildResponsiveStyles(columns, (col) => ({
8705
- gridTemplateColumns: col === 'auto'
8706
- ? `repeat(auto-fit, ${maxWidth}px)`
8707
- : `repeat(${col}, minmax(0, 1fr))`,
8708
- })),
8916
+ ...(noWrap
8917
+ ? { gridAutoFlow: 'column', gridAutoColumns: 'max-content' }
8918
+ : buildResponsiveStyles(columns, (col) => ({
8919
+ gridTemplateColumns: col === 'auto'
8920
+ ? `repeat(auto-fit, ${(maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && minWidth) || maxWidth}px)`
8921
+ : `repeat(${col}, minmax(0, 1fr))`,
8922
+ }))),
8709
8923
  gap: '6px',
8710
8924
  },
8711
8925
  },
@@ -8720,10 +8934,15 @@ const getComponentCss$q = (minWidth, maxWidth, columns, disabled, hideLabel, sta
8720
8934
  }),
8721
8935
  // .message
8722
8936
  ...getFunctionalComponentStateMessageStyles(state),
8937
+ ...(noWrap && {
8938
+ scroller: {
8939
+ margin: `-${spacingStaticXs$1} 0`,
8940
+ },
8941
+ }),
8723
8942
  });
8724
8943
  };
8725
8944
 
8726
- const cssVarInternalSelectOptionScaling = '--p-internal-select-option-scaling';
8945
+ const cssVarInternalSelectOptionScaling = '--_p-select-option-a';
8727
8946
  const getComponentCss$p = (isDisabled) => {
8728
8947
  return getCss({
8729
8948
  '@global': {
@@ -8748,7 +8967,7 @@ const getComponentCss$p = (isDisabled) => {
8748
8967
  });
8749
8968
  };
8750
8969
 
8751
- const cssVarInternalSelectScaling = '--p-internal-select-scaling';
8970
+ const cssVarInternalSelectScaling = '--_p-select-a';
8752
8971
  const getComponentCss$o = (isOpen, isDisabled, hideLabel, state, isCompact) => {
8753
8972
  return getCss({
8754
8973
  '@global': {
@@ -9047,7 +9266,7 @@ const getComponentCss$k = (size) => {
9047
9266
  });
9048
9267
  };
9049
9268
 
9050
- const cssVarInternalSwitchScaling = '--p-internal-switch-scaling';
9269
+ const cssVarInternalSwitchScaling = '--_p-switch-a';
9051
9270
  const getColors$1 = (checked, loading) => {
9052
9271
  return {
9053
9272
  buttonBorderColor: checked ? colorSuccessLow : colorContrastLow,
@@ -9188,10 +9407,10 @@ const cssVarScrollIndicatorTop = '--p-table-scroll-indicator-top';
9188
9407
  * @css-variable {"name": "--p-table-scroll-indicator-bottom", "description": "Defines the distance from the bottom of the viewport at which the scroll indicator sticks when scrolling up and `sticky` is enabled.", "defaultValue": "0px"}
9189
9408
  */
9190
9409
  const cssVarScrollIndicatorBottom = '--p-table-scroll-indicator-bottom';
9191
- const cssVariableTablePadding = '--_a';
9192
- const cssVariableTableHoverColor = '--_b';
9193
- const cssVariableTableBorderColor = '--_c';
9194
- const cssVariableTableBorderWidth = '--_d';
9410
+ const cssVariableTablePadding = '--_p-table-a';
9411
+ const cssVariableTableHoverColor = '--_p-table-b';
9412
+ const cssVariableTableBorderColor = '--_p-table-c';
9413
+ const cssVariableTableBorderWidth = '--_p-table-d';
9195
9414
  const getComponentCss$h = (isCompact, layout) => {
9196
9415
  return getCss({
9197
9416
  '@global': {
@@ -9202,9 +9421,8 @@ const getComponentCss$h = (isCompact, layout) => {
9202
9421
  '--p-scroller-indicator-bottom': `var(${cssVarScrollIndicatorBottom},0px)`,
9203
9422
  [cssVariableTableHoverColor]: colorFrosted,
9204
9423
  [cssVariableTableBorderColor]: colorContrastLow,
9205
- ...(isCompact && {
9206
- [cssVariableTablePadding]: spacingStaticSm$1,
9207
- }),
9424
+ [cssVariableTablePadding]: isCompact ? spacingStaticSm$1 : spacingFluidSm,
9425
+ [cssVariableTableBorderWidth]: '1px',
9208
9426
  ...hostHiddenStyles,
9209
9427
  font: `${fontWeightNormal$1} ${typescaleSm$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
9210
9428
  color: colorPrimary,
@@ -9239,7 +9457,7 @@ const getComponentCss$g = (multiline) => {
9239
9457
  display: 'table-cell',
9240
9458
  verticalAlign: 'middle',
9241
9459
  ...addImportantToEachRule({
9242
- padding: `var(${cssVariableTablePadding}, ${spacingFluidSm})`,
9460
+ padding: `var(${cssVariableTablePadding})`,
9243
9461
  margin: 0,
9244
9462
  whiteSpace: multiline ? 'normal' : 'nowrap',
9245
9463
  ...hostHiddenStyles,
@@ -9371,7 +9589,7 @@ const getComponentCss$c = () => {
9371
9589
  ':host': {
9372
9590
  display: 'table-row',
9373
9591
  ...addImportantToEachRule({
9374
- borderBottom: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
9592
+ borderBottom: `var(${cssVariableTableBorderWidth}) solid var(${cssVariableTableBorderColor})`,
9375
9593
  transition: getTransition('background'),
9376
9594
  ...hostHiddenStyles,
9377
9595
  ...hoverMediaQuery({
@@ -9386,7 +9604,8 @@ const getComponentCss$c = () => {
9386
9604
  });
9387
9605
  };
9388
9606
 
9389
- const delayTabStyleAttribute = 'data-delay';
9607
+ const animatingAttribute = 'data-animating';
9608
+
9390
9609
  const backgroundMap = {
9391
9610
  canvas: colorCanvas,
9392
9611
  surface: colorSurface,
@@ -9396,7 +9615,14 @@ const fontSizeText = {
9396
9615
  small: typescaleSm$1,
9397
9616
  medium: typescaleMd,
9398
9617
  };
9399
- const getComponentCss$b = (background, size, isCompact) => {
9618
+ const getComponentCss$b = (background, size, isCompact, activeTabIndex) => {
9619
+ const hasActive = activeTabIndex !== undefined;
9620
+ // :nth-child is 1-based
9621
+ const nth = hasActive ? activeTabIndex + 1 : 0;
9622
+ const activeSelector = `&(a:nth-child(${nth})),&(button:nth-child(${nth}))`;
9623
+ const notActiveHoverSelector = hasActive
9624
+ ? `&(a:not(:nth-child(${nth})):hover),&(button:not(:nth-child(${nth})):hover)`
9625
+ : '&(a:hover),&(button:hover)';
9400
9626
  return getCss({
9401
9627
  '@global': {
9402
9628
  ':host': {
@@ -9426,20 +9652,25 @@ const getComponentCss$b = (background, size, isCompact) => {
9426
9652
  },
9427
9653
  '&(a:focus-visible),&(button:focus-visible)': getFocusBaseStyles(),
9428
9654
  ...hoverMediaQuery({
9429
- '&(a:not([aria-current="true"]):hover),&(button:not([aria-selected="true"]):hover)': {
9655
+ [notActiveHoverSelector]: {
9430
9656
  // Only applied on hover since applying it globally causes the active tab to visually flash when navigating in SPAs (where the tabs-bar persist across routes but the children tabs change).
9431
9657
  transition: `${getTransition('color', 'moderate')}, ${getTransition('background-color')}`,
9432
9658
  background: colorFrostedStrong,
9433
9659
  },
9434
9660
  }),
9435
- // The data attribute is applied before the tabs switching animation runs in the utils to delay the selected tab styles until the animation is finished
9436
- [`&(a[${delayTabStyleAttribute}]),&(button[${delayTabStyleAttribute}])`]: {
9437
- transition: `${getTransition('color', 'moderate')}, background-color 0s linear ${durationMd$1}`, // the background shall be changed immediately after the bar transition has finished
9438
- },
9439
- '&(a[aria-current="true"]),&(button[aria-selected="true"])': {
9440
- color: colorCanvas,
9441
- background: colorPrimary,
9442
- },
9661
+ ...(hasActive && {
9662
+ [activeSelector]: {
9663
+ color: colorCanvas,
9664
+ },
9665
+ // Transition color and background when animation is playing
9666
+ [`&(a:nth-child(${nth})[${animatingAttribute}]),&(button:nth-child(${nth})[${animatingAttribute}])`]: {
9667
+ transition: `${getTransition('color', 'moderate')}, background-color 0s linear ${durationMd$1}`,
9668
+ },
9669
+ // Apply background only when no active animation is playing
9670
+ [`&(a:nth-child(${nth}):not([${animatingAttribute}])),&(button:nth-child(${nth}):not([${animatingAttribute}]))`]: {
9671
+ background: colorPrimary,
9672
+ },
9673
+ }),
9443
9674
  ...forcedColorsMediaQuery({
9444
9675
  '&(a),&(button)': {
9445
9676
  forcedColorAdjust: 'none',
@@ -9453,9 +9684,11 @@ const getComponentCss$b = (background, size, isCompact) => {
9453
9684
  color: 'ButtonText',
9454
9685
  boxShadow: 'inset 0 0 0 2px ButtonBorder',
9455
9686
  },
9456
- '&(a[aria-current="true"]),&(button[aria-selected="true"])': {
9457
- transition: 'unset',
9458
- },
9687
+ ...(hasActive && {
9688
+ [activeSelector]: {
9689
+ transition: 'unset',
9690
+ },
9691
+ }),
9459
9692
  }),
9460
9693
  },
9461
9694
  }),
@@ -9522,7 +9755,7 @@ const getComponentCss$9 = () => {
9522
9755
  });
9523
9756
  };
9524
9757
 
9525
- const cssVarInternalTagDismissibleScaling = '--p-internal-tag-dismissible-scaling';
9758
+ const cssVarInternalTagDismissibleScaling = '--_p-tag-dismissible-a';
9526
9759
  const getComponentCss$8 = (hasLabel, isCompact) => {
9527
9760
  const buttonPaddingBlock = hasLabel
9528
9761
  ? `calc(16.8px * (var(${cssVarInternalTagDismissibleScaling}) - 0.64285714))`
@@ -9589,25 +9822,37 @@ const colorTextMap = {
9589
9822
  primary: colorCanvas,
9590
9823
  secondary: colorPrimary,
9591
9824
  info: colorCanvas,
9825
+ 'info-frosted': colorPrimary,
9592
9826
  success: colorCanvas,
9827
+ 'success-frosted': colorPrimary,
9593
9828
  warning: colorCanvas,
9829
+ 'warning-frosted': colorPrimary,
9594
9830
  error: colorCanvas,
9831
+ 'error-frosted': colorPrimary,
9595
9832
  };
9596
9833
  const colorBackgroundMap = {
9597
9834
  primary: colorPrimary,
9598
9835
  secondary: colorFrostedStrong,
9599
9836
  info: colorInfo,
9837
+ 'info-frosted': colorInfoFrosted,
9600
9838
  success: colorSuccess,
9839
+ 'success-frosted': colorSuccessFrosted,
9601
9840
  warning: colorWarning,
9841
+ 'warning-frosted': colorWarningFrosted,
9602
9842
  error: colorError,
9843
+ 'error-frosted': colorErrorFrosted,
9603
9844
  };
9604
9845
  const colorBackgroundHoverMap = {
9605
9846
  primary: colorContrastHigh,
9606
9847
  secondary: colorFrosted,
9607
9848
  info: colorInfoMedium,
9849
+ 'info-frosted': colorInfoFrostedSoft,
9608
9850
  success: colorSuccessMedium,
9851
+ 'success-frosted': colorSuccessFrostedSoft,
9609
9852
  warning: colorWarningMedium,
9853
+ 'warning-frosted': colorWarningFrostedSoft,
9610
9854
  error: colorErrorMedium,
9855
+ 'error-frosted': colorErrorFrostedSoft,
9611
9856
  };
9612
9857
  const getColors = (variant) => {
9613
9858
  return {
@@ -9633,10 +9878,16 @@ const getComponentCss$7 = (variant, compact, isFocusable, hasIcon) => {
9633
9878
  position: 'relative', // necessary as relative anchor to ensure click area of optional slotted focusable element is in sync
9634
9879
  display: 'flex',
9635
9880
  gap: '2px',
9636
- padding: compact ? '1px 6px' : `${spacingStaticXs} 9px`,
9881
+ padding: compact
9882
+ ? `${spacingStatic2Xs} ${spacingStaticSm$1}`
9883
+ : `${spacingStaticXs} calc(12 * ${spacingStatic2Xs})`,
9637
9884
  borderRadius: `var(${legacyRadiusSmall}, calc(${compact ? '1px' : spacingStaticXs} + (${leadingNormal$1} / 2)))`, // ensures pill shape has a maximum border radius to support multiline.
9638
9885
  font: `${fontWeightNormal$1} ${typescaleXs$1} / ${leadingNormal$1} ${fontPorscheNext$1}`,
9639
- ...(variant === 'secondary' && {
9886
+ ...((variant === 'secondary' ||
9887
+ variant === 'info-frosted' ||
9888
+ variant === 'success-frosted' ||
9889
+ variant === 'warning-frosted' ||
9890
+ variant === 'error-frosted') && {
9640
9891
  WebkitBackdropFilter: blurFrosted,
9641
9892
  backdropFilter: blurFrosted,
9642
9893
  }),
@@ -9691,13 +9942,13 @@ const isListTypeNumbered = (type) => {
9691
9942
  return type === 'numbered';
9692
9943
  };
9693
9944
 
9694
- const cssVariablePaddingTop = '--p-internal-text-list-padding-top';
9695
- const cssVariablePaddingBottom = '--p-internal-text-list-padding-bottom';
9696
- const cssVariablePseudoSpace = '--p-internal-text-list-pseudo-space';
9697
- const cssVariableUnorderedGridColumn = '--p-internal-text-list-unordered-grid-column';
9698
- const cssVariableUnorderedPseudoContent = '--p-internal-text-list-unordered-pseudo-content';
9699
- const cssVariableOrderedGridColumn = '--p-internal-text-list-ordered-grid-column';
9700
- const cssVariableOrderedPseudoSuffix = '--p-internal-text-list-ordered-pseudo-suffix';
9945
+ const cssVariableOrderedGridColumn = '--_p-text-list-a';
9946
+ const cssVariableOrderedPseudoSuffix = '--_p-text-list-b';
9947
+ const cssVariablePaddingBottom = '--_p-text-list-c';
9948
+ const cssVariablePaddingTop = '--_p-text-list-d';
9949
+ const cssVariablePseudoSpace = '--_p-text-list-e';
9950
+ const cssVariableUnorderedGridColumn = '--_p-text-list-f';
9951
+ const cssVariableUnorderedPseudoContent = '--_p-text-list-g';
9701
9952
  const counter = 'p-text-list-counter';
9702
9953
  const getComponentCss$6 = (type) => {
9703
9954
  const isOrderedList = isListTypeOrdered(type);
@@ -9808,7 +10059,7 @@ const getComponentCss$4 = (size, weight, align, color, hyphens, ellipsis) => {
9808
10059
  });
9809
10060
  };
9810
10061
 
9811
- const cssVarInternalTextareaScaling = '--p-internal-textarea-scaling';
10062
+ const cssVarInternalTextareaScaling = '--_p-textarea-a';
9812
10063
  /**
9813
10064
  * @css-variable {"name":"--p-textarea-field-sizing","description":"Controls CSS `field-sizing` for textarea.","defaultValue":"unset"}
9814
10065
  * @css-variable {"name":"--p-textarea-min-width","description":"Minimum width of the textarea.","defaultValue":"52px"}
@@ -9898,18 +10149,15 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, isCompact,
9898
10149
  });
9899
10150
  };
9900
10151
 
9901
- getMediaQueryMin('s');
9902
- getMediaQueryMax('s');
9903
-
9904
10152
  /**
9905
10153
  * @css-variable {"name": "--p-toast-position-bottom", "description": "Defines the spacing between the toast and the bottom edge of its container.", "defaultValue": "56px"}
9906
10154
  */
9907
10155
  const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
9908
- const cssVariablePositionBottomInternal = '--_p-a';
10156
+ const cssVariablePositionBottomInternal = '--_p-toast-a';
9909
10157
  const ANIMATION_DURATION = motionDurationModerate;
9910
10158
  const duration = ANIMATION_DURATION;
9911
10159
  const getKeyframes = (direction, outsideStyle) => {
9912
- const insideStyle = { opacity: 1, transform: 'translate3d(0,0,0)' };
10160
+ const insideStyle = { transform: 'translate3d(0,0,0)' };
9913
10161
  return direction === 'in'
9914
10162
  ? {
9915
10163
  from: outsideStyle,
@@ -9921,7 +10169,6 @@ const getKeyframes = (direction, outsideStyle) => {
9921
10169
  };
9922
10170
  };
9923
10171
  const getKeyframesMobile = (direction, bottomVar) => getKeyframes(direction, {
9924
- opacity: 0,
9925
10172
  transform: `translate3d(0,calc(var(${bottomVar}) + 100%),0)`, // space before and after "+" is crucial
9926
10173
  });
9927
10174
  const toastCloseClassName = 'close';
@@ -10006,4 +10253,4 @@ const getComponentCss = (size) => {
10006
10253
  });
10007
10254
  };
10008
10255
 
10009
- export { cssVarButtonPureMargin, cssVarButtonPurePadding, cssVarInternalInputBaseScaling, getComponentCss$19 as getAccordionCss, getComponentCss$18 as getBannerCss, getComponentCss$15 as getButtonCss, getComponentCss$17 as getButtonPureCss, getComponentCss$16 as getButtonTileCss, getComponentCss$14 as getCanvasCss, getComponentCss$13 as getCarouselCss, getComponentCss$12 as getCheckboxCss, getComponentCss$11 as getCrestCss, getComponentCss$10 as getDisplayCss, getComponentCss$$ as getDividerCss, getComponentCss$_ as getDrilldownCss, getComponentCss$Z as getDrilldownItemCss, getComponentCss$Y as getDrilldownLinkCss, getComponentCss$X as getFieldsetCss, getComponentCss$W as getFlagCss, getComponentCss$V as getFlyoutCss, getFunctionalComponentInputBaseStyles, getFunctionalComponentLabelAfterStyles, getFunctionalComponentLabelStyles, getFunctionalComponentLoadingMessageStyles, getFunctionalComponentNoResultsOptionStyles, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$U as getHeadingCss, getComponentCss$T as getIconCss, getComponentCss$S as getInlineNotificationCss, getComponentCss$R as getInputDateCss, getComponentCss$Q as getInputEmailCss, getComponentCss$P as getInputMonthCss, getComponentCss$O as getInputNumberCss, getComponentCss$N as getInputPasswordCss, getComponentCss$M as getInputSearchCss, getComponentCss$L as getInputTelCss, getComponentCss$K as getInputTextCss, getComponentCss$J as getInputTimeCss, getComponentCss$I as getInputUrlCss, getComponentCss$H as getInputWeekCss, getComponentCss$D as getLinkCss, getComponentCss$G as getLinkPureCss, getComponentCss$E as getLinkTileCss, getComponentCss$F as getLinkTileProductCss, getComponentCss$C as getModalCss, getComponentCss$B as getModelSignatureCss, getComponentCss$y as getMultiSelectCss, getComponentCss$A as getMultiSelectOptionCss, getComponentCss$z as getOptgroupCss, getComponentCss$x as getPaginationCss, getComponentCss$w as getPinCodeCss, getComponentCss$v as getPopoverCss, getComponentCss$t as getRadioGroupCss, getComponentCss$u as getRadioGroupOptionCss, getComponentCss$s as getScrollerCss, getComponentCss$q as getSegmentedControlCss, getComponentCss$r as getSegmentedControlItemCss, getComponentCss$o as getSelectCss, getComponentCss$p as getSelectOptionCss, getComponentCss$n as getSheetCss, getComponentCss$m as getSpinnerCss, getComponentCss$k as getStepperHorizontalCss, getComponentCss$l as getStepperHorizontalItemCss, getComponentCss$j as getSwitchCss, getComponentCss$i as getTableBodyCss, getComponentCss$g as getTableCellCss, getComponentCss$h as getTableCss, getComponentCss$f as getTableHeadCellCss, getComponentCss$d as getTableHeadCss, getComponentCss$e as getTableHeadRowCss, getComponentCss$c as getTableRowCss, getComponentCss$b as getTabsBarCss, getComponentCss$9 as getTabsCss, getComponentCss$a as getTabsItemCss, getComponentCss$7 as getTagCss, getComponentCss$8 as getTagDismissibleCss, getComponentCss$4 as getTextCss, getComponentCss$6 as getTextListCss, getComponentCss$5 as getTextListItemCss, getComponentCss$3 as getTextareaCss, getComponentCss$1 as getToastCss, getComponentCss as getWordmarkCss };
10256
+ export { cssVarButtonPureMargin, cssVarButtonPurePadding, cssVarInternalInputBaseScaling, getComponentCss$19 as getAccordionCss, getComponentCss$18 as getBannerCss, getComponentCss$15 as getButtonCss, getComponentCss$17 as getButtonPureCss, getComponentCss$16 as getButtonTileCss, getComponentCss$14 as getCanvasCss, getComponentCss$13 as getCarouselCss, getComponentCss$12 as getCheckboxCss, getComponentCss$11 as getCrestCss, getComponentCss$10 as getDisplayCss, getComponentCss$$ as getDividerCss, getComponentCss$_ as getDrilldownCss, getComponentCss$Z as getDrilldownItemCss, getComponentCss$Y as getDrilldownLinkCss, getComponentCss$X as getFieldsetCss, getComponentCss$W as getFlagCss, getComponentCss$V as getFlyoutCss, getFunctionalComponentInputBaseStyles, getFunctionalComponentLabelAfterStyles, getFunctionalComponentLabelStyles, getFunctionalComponentLoadingMessageStyles, getFunctionalComponentNoResultsOptionStyles, getFunctionalComponentNotificationBaseStyles, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$U as getHeadingCss, getComponentCss$T as getIconCss, getComponentCss$S as getInlineNotificationCss, getComponentCss$R as getInputDateCss, getComponentCss$Q as getInputEmailCss, getComponentCss$P as getInputMonthCss, getComponentCss$O as getInputNumberCss, getComponentCss$N as getInputPasswordCss, getComponentCss$M as getInputSearchCss, getComponentCss$L as getInputTelCss, getComponentCss$K as getInputTextCss, getComponentCss$J as getInputTimeCss, getComponentCss$I as getInputUrlCss, getComponentCss$H as getInputWeekCss, getComponentCss$D as getLinkCss, getComponentCss$G as getLinkPureCss, getComponentCss$E as getLinkTileCss, getComponentCss$F as getLinkTileProductCss, getComponentCss$C as getModalCss, getComponentCss$B as getModelSignatureCss, getComponentCss$y as getMultiSelectCss, getComponentCss$A as getMultiSelectOptionCss, getComponentCss$z as getOptgroupCss, getComponentCss$x as getPaginationCss, getComponentCss$w as getPinCodeCss, getComponentCss$v as getPopoverCss, getComponentCss$t as getRadioGroupCss, getComponentCss$u as getRadioGroupOptionCss, getComponentCss$s as getScrollerCss, getComponentCss$q as getSegmentedControlCss, getComponentCss$r as getSegmentedControlItemCss, getComponentCss$o as getSelectCss, getComponentCss$p as getSelectOptionCss, getComponentCss$n as getSheetCss, getComponentCss$m as getSpinnerCss, getComponentCss$k as getStepperHorizontalCss, getComponentCss$l as getStepperHorizontalItemCss, getComponentCss$j as getSwitchCss, getComponentCss$i as getTableBodyCss, getComponentCss$g as getTableCellCss, getComponentCss$h as getTableCss, getComponentCss$f as getTableHeadCellCss, getComponentCss$d as getTableHeadCss, getComponentCss$e as getTableHeadRowCss, getComponentCss$c as getTableRowCss, getComponentCss$b as getTabsBarCss, getComponentCss$9 as getTabsCss, getComponentCss$a as getTabsItemCss, getComponentCss$7 as getTagCss, getComponentCss$8 as getTagDismissibleCss, getComponentCss$4 as getTextCss, getComponentCss$6 as getTextListCss, getComponentCss$5 as getTextListItemCss, getComponentCss$3 as getTextareaCss, getComponentCss$1 as getToastCss, getComponentCss as getWordmarkCss };