@porsche-design-system/components-react 3.0.0-alpha.4 → 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 (128) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/esm/lib/components/crest.wrapper.js +22 -0
  3. package/esm/lib/components/marque.wrapper.js +1 -0
  4. package/esm/lib/components/wordmark.wrapper.js +22 -0
  5. package/esm/public-api.js +2 -0
  6. package/lib/components/crest.wrapper.d.ts +30 -0
  7. package/lib/components/crest.wrapper.js +24 -0
  8. package/lib/components/index.d.ts +2 -0
  9. package/lib/components/marque.wrapper.d.ts +1 -0
  10. package/lib/components/marque.wrapper.js +1 -0
  11. package/lib/components/wordmark.wrapper.d.ts +46 -0
  12. package/lib/components/wordmark.wrapper.js +24 -0
  13. package/lib/types.d.ts +15 -0
  14. package/package.json +2 -2
  15. package/public-api.js +4 -0
  16. package/ssr/components/dist/styles/esm/styles-entry.js +201 -191
  17. package/ssr/components/dist/utils/esm/utils-entry.js +66 -33
  18. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +37 -0
  19. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  20. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +37 -0
  21. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -0
  22. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +2 -0
  23. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -0
  24. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +2 -0
  25. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -0
  26. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +2 -0
  27. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +18 -0
  28. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +2 -0
  29. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +2 -0
  30. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -0
  31. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +2 -0
  32. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -0
  33. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -0
  34. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +1 -0
  35. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +2 -0
  36. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +2 -0
  37. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -0
  38. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -0
  39. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -0
  40. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -0
  41. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  42. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -0
  43. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +2 -0
  44. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -0
  45. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -0
  46. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +2 -0
  47. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -0
  48. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +2 -0
  49. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -0
  50. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -0
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -0
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +19 -0
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +4 -0
  54. package/ssr/esm/components/dist/styles/esm/styles-entry.js +142 -134
  55. package/ssr/esm/components/dist/utils/esm/utils-entry.js +64 -34
  56. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +35 -0
  57. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  58. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +35 -0
  59. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +4 -2
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +4 -2
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -2
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +4 -2
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +4 -2
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -2
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +16 -0
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +2 -2
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +4 -2
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -2
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +4 -2
  83. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +4 -2
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +4 -2
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +4 -2
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +3 -2
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +4 -2
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +2 -2
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +4 -2
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +4 -2
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +2 -2
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +4 -2
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +4 -2
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +2 -2
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -2
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +2 -2
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +4 -2
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +4 -2
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +4 -2
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -2
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -2
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +4 -2
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -2
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -2
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -2
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +4 -2
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +4 -2
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -2
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +4 -2
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +4 -2
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +4 -2
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +4 -2
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -2
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +2 -2
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -2
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +2 -2
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +2 -2
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +17 -0
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
  121. package/ssr/lib/components/crest.wrapper.d.ts +30 -0
  122. package/ssr/lib/components/index.d.ts +2 -0
  123. package/ssr/lib/components/marque.wrapper.d.ts +1 -0
  124. package/ssr/lib/components/wordmark.wrapper.d.ts +46 -0
  125. package/ssr/lib/dsr-components/crest.d.ts +5 -0
  126. package/ssr/lib/dsr-components/marque.d.ts +1 -0
  127. package/ssr/lib/dsr-components/wordmark.d.ts +5 -0
  128. package/ssr/lib/types.d.ts +15 -0
@@ -55,6 +55,8 @@ const dropShadowHighStyle = {
55
55
  filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
56
56
  };
57
57
 
58
+ const themeLightStateFocus = '#1A44EA';
59
+
58
60
  const fontFamily = "'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
59
61
 
60
62
  const fontHyphenationStyle = {
@@ -3713,7 +3715,7 @@ const themeLight = {
3713
3715
  backgroundSurfaceColorDarken: '#CBCED7',
3714
3716
  backgroundSurfaceColorLighten: '#FFFFFF',
3715
3717
  contrastLowColor: '#D8D8DB',
3716
- contrastMediumColor: '#949598',
3718
+ contrastMediumColor: '#6B6D70',
3717
3719
  contrastHighColor: '#535457',
3718
3720
  contrastHighColorDarken: '#353638',
3719
3721
  contrastHighColorLighten: '#717276',
@@ -3722,24 +3724,24 @@ const themeLight = {
3722
3724
  activeColor: 'rgba(148, 149, 152, 0.20)',
3723
3725
  focusColor: '#1A44EA',
3724
3726
  disabledColor: '#949598',
3725
- errorColor: '#E7323B',
3726
- errorColorDarken: '#C51720',
3727
- errorSoftColor: '#FCE8E9',
3728
- errorSoftColorDarken: '#EED7D9',
3727
+ errorColor: '#CC1922',
3728
+ errorColorDarken: '#951219',
3729
+ errorSoftColor: '#FFE2E4',
3730
+ errorSoftColorDarken: '#F4CED1',
3729
3731
  errorSoftColorLighten: '#FFFFFF',
3730
- successColor: '#32B85B',
3731
- successColorDarken: '#258843',
3732
- successSoftColor: '#EBFAF0',
3733
- successSoftColorDarken: '#DDEAE1',
3732
+ successColor: '#197E10',
3733
+ successColorDarken: '#0E4809',
3734
+ successSoftColor: '#E4FFEC',
3735
+ successSoftColorDarken: '#D0F4DB',
3734
3736
  successSoftColorLighten: '#FFFFFF',
3735
- warningColor: '#FECC1B',
3736
- warningSoftColor: '#FFF9E6',
3737
- warningSoftColorDarken: '#F5ECD2',
3738
- warningSoftColorLighten: '#FFFFFF',
3739
- infoColor: '#1E5BEB',
3740
- infoSoftColor: '#E8EEFD',
3741
- infoSoftColorDarken: '#D6DEF0',
3742
- infoSoftColorLighten: '#FFFFFF'
3737
+ warningColor: '#F3BE00',
3738
+ warningSoftColor: '#FFF4D2',
3739
+ warningSoftColorDarken: '#F1E5C1',
3740
+ warningSoftColorLighten: '#FCFAF3',
3741
+ infoColor: '#2762EC',
3742
+ infoSoftColor: '#D3E1FF',
3743
+ infoSoftColorDarken: '#C2D1F1',
3744
+ infoSoftColorLighten: '#F4F7FD'
3743
3745
  };
3744
3746
  const themeDark = {
3745
3747
  primaryColor: '#FBFCFF',
@@ -3751,7 +3753,7 @@ const themeDark = {
3751
3753
  backgroundSurfaceColorDarken: '#040405',
3752
3754
  backgroundSurfaceColorLighten: '#3E4045',
3753
3755
  contrastLowColor: '#404044',
3754
- contrastMediumColor: '#7E7F82',
3756
+ contrastMediumColor: '#88898C',
3755
3757
  contrastHighColor: '#AFB0B3',
3756
3758
  contrastHighColorDarken: '#909195',
3757
3759
  contrastHighColorLighten: '#CECFD1',
@@ -3760,24 +3762,24 @@ const themeDark = {
3760
3762
  activeColor: 'rgba(126, 127, 130, 0.20)',
3761
3763
  focusColor: '#1A44EA',
3762
3764
  disabledColor: '#7E7F82',
3763
- errorColor: '#CB3333',
3764
- errorColorDarken: '#9A2727',
3765
- errorSoftColor: '#290A0A',
3766
- errorSoftColorDarken: '#0D0808',
3767
- errorSoftColorLighten: '#331F1F',
3768
- successColor: '#00C77E',
3769
- successColorDarken: '#008A57',
3765
+ errorColor: '#FC4040',
3766
+ errorColorDarken: '#FB0404',
3767
+ errorSoftColor: '#3A0F0F',
3768
+ errorSoftColorDarken: '#1A1111',
3769
+ errorSoftColorLighten: '#3F2828',
3770
+ successColor: '#09D087',
3771
+ successColorDarken: '#069561',
3770
3772
  successSoftColor: '#003320',
3771
3773
  successSoftColorDarken: '#04110C',
3772
3774
  successSoftColorLighten: '#0F432F',
3773
- warningColor: '#DDB84B',
3774
- warningSoftColor: '#2B2208',
3775
- warningSoftColorDarken: '#0D0C07',
3776
- warningSoftColorLighten: '#362F1C',
3777
- infoColor: '#027FFC',
3778
- infoSoftColor: '#001A33',
3779
- infoSoftColorDarken: '#040A11',
3780
- infoSoftColorLighten: '#0F2943'
3775
+ warningColor: '#F7CB47',
3776
+ warningSoftColor: '#362B0A',
3777
+ warningSoftColorDarken: '#16130B',
3778
+ warningSoftColorLighten: '#3E3720',
3779
+ infoColor: '#178BFF',
3780
+ infoSoftColor: '#04294E',
3781
+ infoSoftColorDarken: '#0C1A27',
3782
+ infoSoftColorLighten: '#1A3856'
3781
3783
  };
3782
3784
  const themes = {
3783
3785
  'light': themeLight,
@@ -3825,35 +3827,12 @@ const getResetInitialStylesForSlottedAnchor = {
3825
3827
  borderRadius: 0,
3826
3828
  background: 'transparent',
3827
3829
  };
3828
- const getFocusJssStyle = (opts) => {
3829
- const { pseudo, offset: outlineOffset, color: outlineColor, } = Object.assign({ color: 'currentColor', offset: 2 }, opts);
3830
- return pseudo
3831
- ? {
3832
- outline: 0,
3833
- '&::-moz-focus-inner': {
3834
- border: 0,
3835
- },
3836
- [`&${pseudo}`]: Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { outline: '1px solid transparent', outlineOffset: `${outlineOffset}px` }),
3837
- [`&:focus${pseudo}`]: {
3838
- outlineColor,
3839
- },
3840
- [`&:focus:not(:focus-visible)${pseudo}`]: {
3841
- outlineColor: 'transparent',
3842
- },
3843
- }
3844
- : {
3845
- outline: '1px solid transparent',
3846
- outlineOffset: `${outlineOffset}px`,
3847
- '&::-moz-focus-inner': {
3848
- border: 0,
3849
- },
3850
- '&:focus': {
3851
- outlineColor,
3852
- },
3853
- '&:focus:not(:focus-visible)': {
3854
- outlineColor: 'transparent',
3855
- },
3856
- };
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
+ },
3857
3836
  };
3858
3837
  const getTextHiddenJssStyle = (isHidden) => isHidden
3859
3838
  ? getScreenReaderOnlyJssStyle()
@@ -3981,7 +3960,7 @@ const formatObjectOutput = (value) => {
3981
3960
 
3982
3961
  const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
3983
3962
 
3984
- const getComponentCss$W = (size, compact, open, theme) => {
3963
+ const getComponentCss$Y = (size, compact, open, theme) => {
3985
3964
  const { primaryColor, hoverColor, focusColor, contrastLowColor } = getThemedColors(theme);
3986
3965
  const border = `1px solid ${contrastLowColor}`;
3987
3966
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -4095,7 +4074,7 @@ const getKeyframesDesktop = (direction, topVar) => getKeyframes(direction, {
4095
4074
  opacity: 0,
4096
4075
  transform: `translate3d(0,calc(-100% - var(${topVar})),0)`, // space before and after "-" is crucial
4097
4076
  });
4098
- const getComponentCss$V = () => {
4077
+ const getComponentCss$X = () => {
4099
4078
  return getCss({
4100
4079
  '@global': {
4101
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]: {
@@ -4135,7 +4114,7 @@ const getGroupDirectionJssStyles = (direction) => {
4135
4114
  return groupDirectionJssStyles[direction];
4136
4115
  };
4137
4116
 
4138
- const getComponentCss$U = (direction) => {
4117
+ const getComponentCss$W = (direction) => {
4139
4118
  return getCss({
4140
4119
  '@global': {
4141
4120
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4202,7 +4181,7 @@ const getLinkButtonPureStyles = (icon, iconSource, active, isDisabledOrLoading,
4202
4181
  }));
4203
4182
  };
4204
4183
 
4205
- const getComponentCss$T = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4184
+ const getComponentCss$V = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
4206
4185
  const hasIcon = hasVisibleIcon(icon, iconSource);
4207
4186
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, false, theme), Object.assign({ root: {
4208
4187
  appearance: 'none',
@@ -4325,7 +4304,7 @@ align, compact, hasGradient, isDisabled) => {
4325
4304
  }));
4326
4305
  };
4327
4306
 
4328
- const getComponentCss$S = (isDisabledOrLoading, ...args) => {
4307
+ const getComponentCss$U = (isDisabledOrLoading, ...args) => {
4329
4308
  const buttonLinkTileStyles = getButtonLinkTileStyles(...args);
4330
4309
  return getCss(Object.assign(Object.assign({}, buttonLinkTileStyles), { root: Object.assign(Object.assign({}, buttonLinkTileStyles.root), { cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer' }) }));
4331
4310
  };
@@ -4405,7 +4384,7 @@ const getDisabledColors = (variant, loading, theme) => {
4405
4384
  };
4406
4385
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4407
4386
  };
4408
- const getComponentCss$R = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4387
+ const getComponentCss$T = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
4409
4388
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4410
4389
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4411
4390
  const isPrimary = variant === 'primary';
@@ -4444,7 +4423,7 @@ const spacingMap = {
4444
4423
  basic: gridBasicOffset,
4445
4424
  extended: gridExtendedOffset,
4446
4425
  };
4447
- const getComponentCss$Q = (width, hasPagination, alignHeader, theme) => {
4426
+ const getComponentCss$S = (width, hasPagination, alignHeader, theme) => {
4448
4427
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
4449
4428
  const isHeaderAlignCenter = alignHeader === 'center';
4450
4429
  return getCss(Object.assign({ '@global': {
@@ -4598,7 +4577,7 @@ const getInlineSVGBackgroundImage = (path) => {
4598
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>')`;
4599
4578
  };
4600
4579
 
4601
- const getComponentCss$P = (hideLabel, state, isDisabled, theme) => {
4580
+ const getComponentCss$R = (hideLabel, state, isDisabled, theme) => {
4602
4581
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
4603
4582
  const indeterminateIconColor = getThemedColors(theme).primaryColor.replace(/#/g, '%23');
4604
4583
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
@@ -4623,7 +4602,7 @@ const widthMap = {
4623
4602
  basic: gridBasicOffset,
4624
4603
  extended: gridExtendedOffset,
4625
4604
  };
4626
- const getComponentCss$O = (width) => {
4605
+ const getComponentCss$Q = (width) => {
4627
4606
  return getCss({
4628
4607
  '@global': {
4629
4608
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4644,6 +4623,25 @@ const getComponentCss$O = (width) => {
4644
4623
  });
4645
4624
  };
4646
4625
 
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
+ });
4643
+ };
4644
+
4647
4645
  const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
4648
4646
 
4649
4647
  const getTypographyRootJssStyle = (baseTextStyle, responsiveStyle, align, color, ellipsis, theme) => {
@@ -4679,7 +4677,7 @@ const sizeMap$4 = {
4679
4677
  medium: fontSizeDisplayMedium,
4680
4678
  large: fontSizeDisplayLarge,
4681
4679
  };
4682
- const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4680
+ const getComponentCss$O = (size, align, color, ellipsis, theme) => {
4683
4681
  return getCss({
4684
4682
  '@global': {
4685
4683
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4693,7 +4691,7 @@ const getComponentCss$N = (size, align, color, ellipsis, theme) => {
4693
4691
  });
4694
4692
  };
4695
4693
 
4696
- const getComponentCss$M = (color, orientation, theme) => {
4694
+ const getComponentCss$N = (color, orientation, theme) => {
4697
4695
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
4698
4696
  const colorMap = {
4699
4697
  'contrast-low': contrastLowColor,
@@ -4708,7 +4706,7 @@ const getComponentCss$M = (color, orientation, theme) => {
4708
4706
  });
4709
4707
  };
4710
4708
 
4711
- const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4709
+ const getComponentCss$M = (state, labelSize, hasLabel, theme) => {
4712
4710
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4713
4711
  margin: 0,
4714
4712
  padding: 0,
@@ -4722,7 +4720,7 @@ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4722
4720
  })));
4723
4721
  };
4724
4722
 
4725
- const getComponentCss$K = (state, labelSize, hasLabel, theme) => {
4723
+ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
4726
4724
  return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
4727
4725
  margin: 0,
4728
4726
  padding: 0,
@@ -4746,7 +4744,7 @@ const flexItemWidths = {
4746
4744
  full: 100,
4747
4745
  auto: 'auto',
4748
4746
  };
4749
- const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4747
+ const getComponentCss$K = (width, offset, alignSelf, grow, shrink, flex) => {
4750
4748
  return getCss({
4751
4749
  '@global': {
4752
4750
  ':host': addImportantToEachRule(Object.assign(Object.assign({ boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(width, (widthResponsive) => ({
@@ -4764,7 +4762,7 @@ const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
4764
4762
  });
4765
4763
  };
4766
4764
 
4767
- const getComponentCss$I = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4765
+ const getComponentCss$J = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
4768
4766
  return getCss({
4769
4767
  '@global': {
4770
4768
  ':host': addImportantToEachRule(mergeDeep(hostHiddenStyles, buildResponsiveStyles(inline, (inlineResponsive) => ({
@@ -4786,7 +4784,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
4786
4784
  const gridItemWidths = [
4787
4785
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
4788
4786
  ];
4789
- const getComponentCss$H = (size, offset) => {
4787
+ const getComponentCss$I = (size, offset) => {
4790
4788
  return getCss({
4791
4789
  '@global': {
4792
4790
  ':host': addImportantToEachRule(Object.assign(Object.assign({ paddingLeft: gutter$1, paddingRight: gutter$1, boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(size, (sizeResponsive) => ({
@@ -4800,7 +4798,7 @@ const getComponentCss$H = (size, offset) => {
4800
4798
  };
4801
4799
 
4802
4800
  const gutter = `calc(${gridGap} / -2)`;
4803
- const getComponentCss$G = (direction, wrap) => {
4801
+ const getComponentCss$H = (direction, wrap) => {
4804
4802
  return getCss({
4805
4803
  '@global': {
4806
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 }))))),
@@ -4815,7 +4813,7 @@ const sizeMap$3 = {
4815
4813
  'x-large': fontSizeHeadingXLarge,
4816
4814
  'xx-large': fontSizeHeadingXXLarge,
4817
4815
  };
4818
- const getComponentCss$F = (size, align, color, ellipsis, theme) => {
4816
+ const getComponentCss$G = (size, align, color, ellipsis, theme) => {
4819
4817
  return getCss({
4820
4818
  '@global': {
4821
4819
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4869,7 +4867,7 @@ const getTextSizeJssStyle = (textSize) => {
4869
4867
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
4870
4868
  };
4871
4869
  };
4872
- const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4870
+ const getComponentCss$F = (variant, align, color, ellipsis, theme) => {
4873
4871
  return getCss({
4874
4872
  '@global': {
4875
4873
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -4886,23 +4884,23 @@ const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
4886
4884
  const toFilter = (values) => `invert(${values[0]}%) sepia(${values[1]}%) saturate(${values[2]}%) hue-rotate(${values[3]}deg) brightness(${values[4]}%) contrast(${values[5]}%)`;
4887
4885
 
4888
4886
  const filterLightContrastLow = toFilter([93, 11, 36, 201, 89, 102]);
4889
- const filterLightContrastMedium = toFilter([65, 6, 119, 187, 90, 92]);
4887
+ const filterLightContrastMedium = toFilter([45, 6, 235, 177, 91, 85]);
4890
4888
  const filterLightContrastHigh = toFilter([40, 2, 686, 187, 80, 94]);
4891
4889
  const filterDarkContrastLow = toFilter([20, 7, 421, 202, 97, 82]);
4892
- const filterDarkContrastMedium = toFilter([54, 4, 229, 187, 91, 84]);
4890
+ const filterDarkContrastMedium = toFilter([66, 3, 333, 187, 82, 86]);
4893
4891
  const filterDarkContrastHigh = toFilter([68, 6, 108, 187, 104, 88]);
4894
4892
 
4895
- const filterLightNotificationSuccess = toFilter([62, 61, 551, 86, 86, 80]);
4896
- const filterLightNotificationWarning = toFilter([74, 91, 343, 348, 92, 86]);
4897
- const filterLightNotificationError = toFilter([25, 62, 2003, 335, 100, 97]);
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]);
4898
4896
  const filterLightNotificationInfo = toFilter([44, 100, 492, 195, 86, 221]);
4899
- const filterDarkNotificationSuccess = toFilter([59, 22, 1342, 86, 96, 88]);
4900
- const filterDarkNotificationWarning = toFilter([72, 94, 303, 354, 89, 94]);
4901
- const filterDarkNotificationError = toFilter([28, 34, 3133, 333, 95, 100]);
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]);
4902
4900
  const filterDarkNotificationInfo = toFilter([56, 77, 4175, 198, 104, 98]);
4903
4901
 
4904
4902
  const filterLightPrimary = toFilter([3, 7, 2930, 188, 91, 103]);
4905
- const filterDarkPrimary = toFilter([97, 55, 2840, 180, 114, 103]);
4903
+ const filterDarkPrimary = toFilter([100, 91, 38, 254, 110, 110]);
4906
4904
 
4907
4905
  const sizeMap$2 = {
4908
4906
  'xx-small': fontSizeTextXXSmall,
@@ -4946,7 +4944,7 @@ const forceRerenderAnimationStyle = {
4946
4944
  };
4947
4945
  const keyFramesLight = 'rerender-light';
4948
4946
  const keyFramesDark = 'rerender-dark';
4949
- const getComponentCss$D = (color, size, theme) => {
4947
+ const getComponentCss$E = (color, size, theme) => {
4950
4948
  const isColorInherit = color === 'inherit';
4951
4949
  const isSizeInherit = size === 'inherit';
4952
4950
  const isDark = isThemeDark(theme);
@@ -5013,7 +5011,7 @@ const getNotificationContentJssStyle = () => ({
5013
5011
  });
5014
5012
 
5015
5013
  const mediaQueryMaxS = getMediaQueryMax('s');
5016
- const getComponentCss$C = (state, hasAction, hasClose, theme) => {
5014
+ const getComponentCss$D = (state, hasAction, hasClose, theme) => {
5017
5015
  return getCss(Object.assign({ '@global': {
5018
5016
  ':host': addImportantToEachRule(Object.assign(Object.assign({}, getNotificationRootJssStyle(state, hasAction, hasClose, theme)), hostHiddenStyles)),
5019
5017
  h5: headingSmallStyle,
@@ -5031,7 +5029,7 @@ const getComponentCss$C = (state, hasAction, hasClose, theme) => {
5031
5029
  })));
5032
5030
  };
5033
5031
 
5034
- const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
5032
+ const getComponentCss$C = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
5035
5033
  const { focusColor } = getThemedColors(theme);
5036
5034
  const hasIcon = hasVisibleIcon(icon, iconSource);
5037
5035
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, hasSlottedAnchor, theme), Object.assign(Object.assign({}, (hasSlottedAnchor && {
@@ -5058,7 +5056,7 @@ const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, a
5058
5056
  } })));
5059
5057
  };
5060
5058
 
5061
- const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5059
+ const getComponentCss$B = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
5062
5060
  const { focusColor } = getThemedColors(theme);
5063
5061
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, theme), Object.assign({}, (hasSlottedAnchor && {
5064
5062
  '@global': addImportantToEachRule({
@@ -5085,7 +5083,7 @@ const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAncho
5085
5083
 
5086
5084
  const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS = ['h2', 'h3', 'h4', 'h5', 'h6'];
5087
5085
 
5088
- const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5086
+ const getComponentCss$A = (aspectRatio, weight, direction, hasDescription) => {
5089
5087
  const tileBaseStyles = getTileBaseStyles(aspectRatio);
5090
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(',')]: {
5091
5089
  margin: addImportantToRule(0),
@@ -5100,7 +5098,7 @@ const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
5100
5098
  position: 'fixed' }, getInsetJssStyle()) }));
5101
5099
  };
5102
5100
 
5103
- const getComponentCss$y = (...args) => {
5101
+ const getComponentCss$z = (...args) => {
5104
5102
  return getCss(Object.assign(Object.assign({}, getButtonLinkTileStyles(...args)), { 'link-overlay': Object.assign({
5105
5103
  // covers entire tile, used for expanded click-area only
5106
5104
  position: 'fixed' }, getInsetJssStyle()) }));
@@ -5116,15 +5114,11 @@ const baseSizes = {
5116
5114
  height: '72px',
5117
5115
  },
5118
5116
  };
5119
- const getComponentCss$x = (size) => {
5117
+ const getComponentCss$y = (size) => {
5120
5118
  return getCss({
5121
5119
  '@global': {
5122
5120
  ':host': Object.assign({ position: 'relative', display: 'inline-flex', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
5123
- a: Object.assign({ display: 'block', textDecoration: 'none' }, getFocusJssStyle({
5124
- color: getThemedColors('light').primaryColor,
5125
- offset: 0,
5126
- pseudo: '::before',
5127
- })),
5121
+ a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
5128
5122
  picture: Object.assign({ display: 'block' }, (size === 'responsive'
5129
5123
  ? Object.assign(Object.assign({}, baseSizes.small), { [getMediaQueryMin('l')]: baseSizes.medium }) : baseSizes[size])),
5130
5124
  img: {
@@ -5184,7 +5178,7 @@ const getSlottedJssStyle = (marginValue, hasHeader, hasDismissButton) => {
5184
5178
  marginBottom: marginPx,
5185
5179
  } });
5186
5180
  };
5187
- const getComponentCss$w = (open, fullscreen, hasDismissButton, hasHeader) => {
5181
+ const getComponentCss$x = (open, fullscreen, hasDismissButton, hasHeader) => {
5188
5182
  const isFullscreenForXlAndXxl = isFullscreenForXl(fullscreen);
5189
5183
  return getCss(Object.assign(Object.assign({ '@global': {
5190
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
@@ -5252,7 +5246,7 @@ const colorToFilterMap = {
5252
5246
  'contrast-high': filterDarkContrastHigh,
5253
5247
  },
5254
5248
  };
5255
- const getComponentCss$v = (size, color, theme) => {
5249
+ const getComponentCss$w = (size, color, theme) => {
5256
5250
  const isSizeInherit = size === 'inherit';
5257
5251
  const isColorInherit = color === 'inherit';
5258
5252
  return getCss({
@@ -5271,7 +5265,7 @@ const disabledCursorStyle = {
5271
5265
  cursor: 'default',
5272
5266
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
5273
5267
  };
5274
- const getComponentCss$u = (maxNumberOfPageLinks, theme) => {
5268
+ const getComponentCss$v = (maxNumberOfPageLinks, theme) => {
5275
5269
  const { primaryColor, disabledColor, hoverColor, focusColor } = getThemedColors(theme);
5276
5270
  return getCss({
5277
5271
  '@global': {
@@ -5388,7 +5382,7 @@ const directionArrowMap = {
5388
5382
  },
5389
5383
  },
5390
5384
  };
5391
- const getComponentCss$t = (direction, theme) => {
5385
+ const getComponentCss$u = (direction, theme) => {
5392
5386
  const spacerBox = '-16px';
5393
5387
  const { hoverColor, focusColor } = getThemedColors(theme);
5394
5388
  return getCss({
@@ -5437,7 +5431,7 @@ const getComponentCss$t = (direction, theme) => {
5437
5431
  });
5438
5432
  };
5439
5433
 
5440
- const getComponentCss$s = (hideLabel, state, isDisabled, theme) => {
5434
+ const getComponentCss$t = (hideLabel, state, isDisabled, theme) => {
5441
5435
  const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
5442
5436
  return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
5443
5437
  '@global': {
@@ -5471,7 +5465,7 @@ const getGradient = (theme, gradientColorTheme) => {
5471
5465
  `rgba(${gradientColor},0.3) 68%,` +
5472
5466
  `rgba(${gradientColor},0)`);
5473
5467
  };
5474
- const getComponentCss$r = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5468
+ const getComponentCss$s = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
5475
5469
  const { backgroundColor, backgroundSurfaceColor, focusColor, hoverColor } = getThemedColors(theme);
5476
5470
  const isDarkTheme = isThemeDark(theme);
5477
5471
  const backgroundColorMap = {
@@ -5564,7 +5558,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
5564
5558
  hoverBorderColor: primaryColor,
5565
5559
  };
5566
5560
  };
5567
- const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5561
+ const getComponentCss$r = (isDisabled, isSelected, hasIcon, theme) => {
5568
5562
  const { focusColor } = getThemedColors(theme);
5569
5563
  const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
5570
5564
  return getCss({
@@ -5598,7 +5592,7 @@ const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
5598
5592
 
5599
5593
  const MIN_ITEM_WIDTH = 46;
5600
5594
  const MAX_ITEM_WIDTH = 220;
5601
- const getComponentCss$p = (maxWidth) => {
5595
+ const getComponentCss$q = (maxWidth) => {
5602
5596
  maxWidth = (maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && MIN_ITEM_WIDTH) || maxWidth;
5603
5597
  return getCss({
5604
5598
  '@global': {
@@ -5657,7 +5651,7 @@ const getLabelStyles = (child, isDisabled, hideLabel, state, theme, counterOrUni
5657
5651
  }));
5658
5652
  };
5659
5653
  const ICON_SPACE = `${24 + 13 * 2 + 2}px`; // 24px = icon width, 13px * 2 = padding, 2px = border
5660
- const getComponentCss$o = (isDisabled, hideLabel, state, theme) => {
5654
+ const getComponentCss$p = (isDisabled, hideLabel, state, theme) => {
5661
5655
  return getCss(Object.assign(Object.assign(Object.assign({ '@global': addImportantToEachRule(Object.assign({ ':host': Object.assign({ display: 'block' }, hostHiddenStyles) }, getBaseChildStyles('select', state, theme, {
5662
5656
  position: 'static',
5663
5657
  zIndex: 0,
@@ -5689,7 +5683,7 @@ const sizeMap$1 = {
5689
5683
  large: { height: sizeLarge, width: sizeLarge },
5690
5684
  inherit: { height: 'inherit', width: 'inherit' },
5691
5685
  };
5692
- const getComponentCss$m = (size, theme) => {
5686
+ const getComponentCss$n = (size, theme) => {
5693
5687
  const strokeDasharray = '57'; // C = 2πR
5694
5688
  const animationDuration = 'var(--p-animation-duration, 2s)';
5695
5689
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
@@ -5767,7 +5761,7 @@ const getSVGPath = (stepCount, numberedCircleColors, isStateCurrent) => {
5767
5761
  ];
5768
5762
  return svgNumberedCirclePaths[stepCount];
5769
5763
  };
5770
- const getComponentCss$l = (state, disabled, theme) => {
5764
+ const getComponentCss$m = (state, disabled, theme) => {
5771
5765
  const { primaryColor, hoverColor, disabledColor, focusColor } = getThemedColors(theme);
5772
5766
  const isStateCurrent = state === 'current';
5773
5767
  const isStateCurrentOrUndefined = !state || isStateCurrent;
@@ -5807,7 +5801,7 @@ const getComponentCss$l = (state, disabled, theme) => {
5807
5801
  })), { 'sr-only': getScreenReaderOnlyJssStyle() }));
5808
5802
  };
5809
5803
 
5810
- const getComponentCss$k = (size) => {
5804
+ const getComponentCss$l = (size) => {
5811
5805
  return getCss({
5812
5806
  '@global': {
5813
5807
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -5833,7 +5827,7 @@ const getColors$1 = (checked, disabled, loading, theme) => {
5833
5827
  textColor: disabledOrLoadingColor || primaryColor,
5834
5828
  };
5835
5829
  };
5836
- const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5830
+ const getComponentCss$k = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
5837
5831
  const { buttonBorderColor, buttonBorderColorHover, buttonBackgroundColor, buttonBackgroundColorHover, toggleBackgroundColor, toggleBackgroundColorHover, textColor, } = getColors$1(checked, disabled, loading, theme);
5838
5832
  const { focusColor } = getThemedColors(theme);
5839
5833
  return getCss(Object.assign(Object.assign({ '@global': {
@@ -5886,7 +5880,7 @@ const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, lo
5886
5880
  })), buildResponsiveStyles(hideLabel, getTextHiddenJssStyle))) }));
5887
5881
  };
5888
5882
 
5889
- const getComponentCss$i = () => {
5883
+ const getComponentCss$j = () => {
5890
5884
  return getCss({
5891
5885
  '@global': {
5892
5886
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row-group' }, hostHiddenStyles)),
@@ -5894,7 +5888,7 @@ const getComponentCss$i = () => {
5894
5888
  });
5895
5889
  };
5896
5890
 
5897
- const getComponentCss$h = (multiline) => {
5891
+ const getComponentCss$i = (multiline) => {
5898
5892
  return getCss({
5899
5893
  '@global': {
5900
5894
  ':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: spacingFluidSmall, margin: 0, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
@@ -5910,7 +5904,7 @@ const isSortable = (active, direction) => {
5910
5904
  const cssVariableTableHoverColor = '--p-internal-table-hover-color';
5911
5905
  const cssVariableTableBorderColor = '--p-internal-table-border-color';
5912
5906
  const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
5913
- const getComponentCss$g = (theme) => {
5907
+ const getComponentCss$h = (theme) => {
5914
5908
  const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
5915
5909
  return getCss({
5916
5910
  '@global': {
@@ -5936,7 +5930,7 @@ const getComponentCss$g = (theme) => {
5936
5930
  const { hoverColor, focusColor } = getThemedColors('light'); // hover color and focus color are the same for light and dark
5937
5931
  const buttonBeforeOffsetVertical = '-2px';
5938
5932
  const buttonBeforeOffsetHorizontal = '-4px';
5939
- const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5933
+ const getComponentCss$g = (active, direction, hideLabel, multiline) => {
5940
5934
  const sortable = isSortable(active, direction);
5941
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
5942
5936
  ? {
@@ -5976,7 +5970,7 @@ const getComponentCss$f = (active, direction, hideLabel, multiline) => {
5976
5970
  })));
5977
5971
  };
5978
5972
 
5979
- const getComponentCss$e = () => {
5973
+ const getComponentCss$f = () => {
5980
5974
  return getCss({
5981
5975
  '@global': {
5982
5976
  ':host': addImportantToEachRule(Object.assign({ display: 'table-row' }, hostHiddenStyles)),
@@ -5984,7 +5978,7 @@ const getComponentCss$e = () => {
5984
5978
  });
5985
5979
  };
5986
5980
 
5987
- const getComponentCss$d = () => {
5981
+ const getComponentCss$e = () => {
5988
5982
  return getCss({
5989
5983
  '@global': {
5990
5984
  ':host': addImportantToEachRule(Object.assign({ display: 'table-header-group', fontSize: fontSizeTextXSmall, lineHeight: fontLineHeight, fontWeight: fontWeightSemiBold }, hostHiddenStyles)),
@@ -5992,7 +5986,7 @@ const getComponentCss$d = () => {
5992
5986
  });
5993
5987
  };
5994
5988
 
5995
- const getComponentCss$c = () => {
5989
+ const getComponentCss$d = () => {
5996
5990
  return getCss({
5997
5991
  '@global': {
5998
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({
@@ -6007,7 +6001,7 @@ const getComponentCss$c = () => {
6007
6001
 
6008
6002
  const tabsTransitionDuration = '.4s';
6009
6003
  const transformSelector = (selector) => ['a', 'button'].map((tag) => selector.replace(/\[role]/g, tag)).join();
6010
- const getComponentCss$b = (size, weight, theme) => {
6004
+ const getComponentCss$c = (size, weight, theme) => {
6011
6005
  const { primaryColor, hoverColor, focusColor } = getThemedColors(theme);
6012
6006
  return getCss({
6013
6007
  '@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(Object.assign({ position: 'relative',
@@ -6046,7 +6040,7 @@ const getComponentCss$b = (size, weight, theme) => {
6046
6040
  });
6047
6041
  };
6048
6042
 
6049
- const getComponentCss$a = (theme) => {
6043
+ const getComponentCss$b = (theme) => {
6050
6044
  const { primaryColor, focusColor } = getThemedColors(theme);
6051
6045
  return getCss({
6052
6046
  '@global': {
@@ -6060,7 +6054,7 @@ const getComponentCss$a = (theme) => {
6060
6054
  });
6061
6055
  };
6062
6056
 
6063
- const getComponentCss$9 = () => {
6057
+ const getComponentCss$a = () => {
6064
6058
  return getCss({
6065
6059
  '@global': {
6066
6060
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6092,7 +6086,7 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
6092
6086
  return colorMap[tagColor];
6093
6087
  };
6094
6088
 
6095
- const getComponentCss$8 = (color, hasLabel, theme) => {
6089
+ const getComponentCss$9 = (color, hasLabel, theme) => {
6096
6090
  const themedColors = getThemedColors(theme);
6097
6091
  const { primaryColor, hoverColor, contrastHighColor } = themedColors;
6098
6092
  const backgroundColor = getThemedBackgroundColor(color, themedColors);
@@ -6142,7 +6136,7 @@ const getColors = (themedColors, tagColor, theme) => {
6142
6136
  backgroundHoverColor: getThemedBackgroundHoverColor(tagColor, themedColors, theme),
6143
6137
  };
6144
6138
  };
6145
- const getComponentCss$7 = (tagColor, isFocusable, theme) => {
6139
+ const getComponentCss$8 = (tagColor, isFocusable, theme) => {
6146
6140
  const themedColors = getThemedColors(theme);
6147
6141
  const { primaryColor, backgroundColor, backgroundHoverColor } = getColors(themedColors, tagColor, theme);
6148
6142
  return getCss({
@@ -6199,7 +6193,7 @@ const getButtonOrIconOffsetHorizontal = (buttonOrIconAmount) => {
6199
6193
  const multiplier = buttonOrIconAmount > 1 ? ` + ${buttonOrIconSize} * ${buttonOrIconAmount - 1}` : '';
6200
6194
  return `calc(${buttonOrIconOffset} + ${borderWidthBase}${multiplier})`;
6201
6195
  };
6202
- const getComponentCss$6 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6196
+ const getComponentCss$7 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
6203
6197
  const { contrastMediumColor } = getThemedColors(theme);
6204
6198
  const isSearch = isType(inputType, 'search');
6205
6199
  const isPassword = isType(inputType, 'password');
@@ -6255,7 +6249,7 @@ const cssVariableUnorderedPaddingLeft = '--p-internal-text-list-unordered-paddin
6255
6249
  const cssVariableOrderedPaddingLeft = '--p-internal-text-list-ordered-padding-left';
6256
6250
  const cssVariableListStyleType = '--p-internal-text-list-list-style-type';
6257
6251
  const counter = 'p-text-list-counter';
6258
- const getComponentCss$5 = (type, theme) => {
6252
+ const getComponentCss$6 = (type, theme) => {
6259
6253
  const isOrderedList = isListTypeOrdered(type);
6260
6254
  return getCss({
6261
6255
  '@global': {
@@ -6281,7 +6275,7 @@ const getComponentCss$5 = (type, theme) => {
6281
6275
  });
6282
6276
  };
6283
6277
 
6284
- const getComponentCss$4 = () => {
6278
+ const getComponentCss$5 = () => {
6285
6279
  return getCss({
6286
6280
  '@global': addImportantToEachRule({
6287
6281
  ':host': Object.assign({ display: 'list-item', position: 'relative', font: 'inherit', color: 'inherit', listStyleType: 'inherit', paddingLeft: spacingStaticMedium }, hostHiddenStyles),
@@ -6302,7 +6296,7 @@ const sizeMap = {
6302
6296
  large: fontSizeTextLarge,
6303
6297
  'x-large': fontSizeTextXLarge,
6304
6298
  };
6305
- const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6299
+ const getComponentCss$4 = (size, weight, align, color, ellipsis, theme) => {
6306
6300
  return getCss({
6307
6301
  '@global': {
6308
6302
  ':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
@@ -6317,7 +6311,7 @@ const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
6317
6311
  });
6318
6312
  };
6319
6313
 
6320
- const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6314
+ const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6321
6315
  const { contrastMediumColor } = getThemedColors(theme);
6322
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, {
6323
6317
  font: textSmallStyle.font,
@@ -6345,7 +6339,7 @@ const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
6345
6339
  const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
6346
6340
  const cssVariablePositionBottomInternal = '--p-internal-toast-position-bottom';
6347
6341
  const toastCloseClassName = 'close';
6348
- const getComponentCss = () => {
6342
+ const getComponentCss$1 = () => {
6349
6343
  return getCss({
6350
6344
  '@global': {
6351
6345
  ':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridExtendedOffsetBase, right: gridExtendedOffsetBase,
@@ -6365,63 +6359,79 @@ const getComponentCss = () => {
6365
6359
  });
6366
6360
  };
6367
6361
 
6368
- exports.getAccordionCss = getComponentCss$W;
6369
- exports.getBannerCss = getComponentCss$V;
6370
- exports.getButtonCss = getComponentCss$R;
6371
- exports.getButtonGroupCss = getComponentCss$U;
6372
- exports.getButtonPureCss = getComponentCss$T;
6373
- exports.getButtonTileCss = getComponentCss$S;
6374
- exports.getCarouselCss = getComponentCss$Q;
6375
- exports.getCheckboxWrapperCss = getComponentCss$P;
6376
- exports.getContentWrapperCss = getComponentCss$O;
6377
- exports.getDisplayCss = getComponentCss$N;
6378
- exports.getDividerCss = getComponentCss$M;
6379
- exports.getFieldsetCss = getComponentCss$K;
6380
- exports.getFieldsetWrapperCss = getComponentCss$L;
6381
- exports.getFlexCss = getComponentCss$I;
6382
- exports.getFlexItemCss = getComponentCss$J;
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;
6383
6392
  exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
6384
6393
  exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
6385
- exports.getGridCss = getComponentCss$G;
6386
- exports.getGridItemCss = getComponentCss$H;
6387
- exports.getHeadingCss = getComponentCss$F;
6388
- exports.getHeadlineCss = getComponentCss$E;
6389
- exports.getIconCss = getComponentCss$D;
6390
- exports.getInlineNotificationCss = getComponentCss$C;
6391
- exports.getLinkCss = getComponentCss$A;
6392
- exports.getLinkPureCss = getComponentCss$B;
6393
- exports.getLinkSocialCss = getComponentCss$A;
6394
- exports.getLinkTileCss = getComponentCss$y;
6395
- exports.getLinkTileModelSignatureCss = getComponentCss$z;
6396
- exports.getMarqueCss = getComponentCss$x;
6397
- exports.getModalCss = getComponentCss$w;
6398
- exports.getModelSignatureCss = getComponentCss$v;
6399
- exports.getPaginationCss = getComponentCss$u;
6400
- exports.getPopoverCss = getComponentCss$t;
6401
- exports.getRadioButtonWrapperCss = getComponentCss$s;
6402
- exports.getScrollerCss = getComponentCss$r;
6403
- exports.getSegmentedControlCss = getComponentCss$p;
6404
- exports.getSegmentedControlItemCss = getComponentCss$q;
6405
- exports.getSelectWrapperCss = getComponentCss$o;
6406
- exports.getSpinnerCss = getComponentCss$m;
6407
- exports.getStepperHorizontalCss = getComponentCss$k;
6408
- exports.getStepperHorizontalItemCss = getComponentCss$l;
6409
- exports.getSwitchCss = getComponentCss$j;
6410
- exports.getTableBodyCss = getComponentCss$i;
6411
- exports.getTableCellCss = getComponentCss$h;
6412
- exports.getTableCss = getComponentCss$g;
6413
- exports.getTableHeadCellCss = getComponentCss$f;
6414
- exports.getTableHeadCss = getComponentCss$d;
6415
- exports.getTableHeadRowCss = getComponentCss$e;
6416
- exports.getTableRowCss = getComponentCss$c;
6417
- exports.getTabsBarCss = getComponentCss$b;
6418
- exports.getTabsCss = getComponentCss$9;
6419
- exports.getTabsItemCss = getComponentCss$a;
6420
- exports.getTagCss = getComponentCss$7;
6421
- exports.getTagDismissibleCss = getComponentCss$8;
6422
- exports.getTextCss = getComponentCss$3;
6423
- exports.getTextFieldWrapperCss = getComponentCss$6;
6424
- exports.getTextListCss = getComponentCss$5;
6425
- exports.getTextListItemCss = getComponentCss$4;
6426
- exports.getTextareaWrapperCss = getComponentCss$2;
6427
- exports.getToastCss = getComponentCss;
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;
6422
+ exports.getTableHeadCellCss = getComponentCss$g;
6423
+ exports.getTableHeadCss = getComponentCss$e;
6424
+ exports.getTableHeadRowCss = getComponentCss$f;
6425
+ exports.getTableRowCss = getComponentCss$d;
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;