@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.
- package/CHANGELOG.md +16 -0
- package/esm/lib/components/crest.wrapper.js +22 -0
- package/esm/lib/components/marque.wrapper.js +1 -0
- package/esm/lib/components/wordmark.wrapper.js +22 -0
- package/esm/public-api.js +2 -0
- package/lib/components/crest.wrapper.d.ts +30 -0
- package/lib/components/crest.wrapper.js +24 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/marque.wrapper.d.ts +1 -0
- package/lib/components/marque.wrapper.js +1 -0
- package/lib/components/wordmark.wrapper.d.ts +46 -0
- package/lib/components/wordmark.wrapper.js +24 -0
- package/lib/types.d.ts +15 -0
- package/package.json +2 -2
- package/public-api.js +4 -0
- package/ssr/components/dist/styles/esm/styles-entry.js +201 -191
- package/ssr/components/dist/utils/esm/utils-entry.js +66 -33
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +37 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +37 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +18 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +19 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +4 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.js +142 -134
- package/ssr/esm/components/dist/utils/esm/utils-entry.js +64 -34
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +35 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +35 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +16 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +17 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
- package/ssr/lib/components/crest.wrapper.d.ts +30 -0
- package/ssr/lib/components/index.d.ts +2 -0
- package/ssr/lib/components/marque.wrapper.d.ts +1 -0
- package/ssr/lib/components/wordmark.wrapper.d.ts +46 -0
- package/ssr/lib/dsr-components/crest.d.ts +5 -0
- package/ssr/lib/dsr-components/marque.d.ts +1 -0
- package/ssr/lib/dsr-components/wordmark.d.ts +5 -0
- package/ssr/lib/types.d.ts +15 -0
|
@@ -53,6 +53,8 @@ const dropShadowHighStyle = {
|
|
|
53
53
|
filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
+
const themeLightStateFocus = '#1A44EA';
|
|
57
|
+
|
|
56
58
|
const fontFamily = "'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
57
59
|
|
|
58
60
|
const fontHyphenationStyle = {
|
|
@@ -3711,7 +3713,7 @@ const themeLight = {
|
|
|
3711
3713
|
backgroundSurfaceColorDarken: '#CBCED7',
|
|
3712
3714
|
backgroundSurfaceColorLighten: '#FFFFFF',
|
|
3713
3715
|
contrastLowColor: '#D8D8DB',
|
|
3714
|
-
contrastMediumColor: '#
|
|
3716
|
+
contrastMediumColor: '#6B6D70',
|
|
3715
3717
|
contrastHighColor: '#535457',
|
|
3716
3718
|
contrastHighColorDarken: '#353638',
|
|
3717
3719
|
contrastHighColorLighten: '#717276',
|
|
@@ -3720,24 +3722,24 @@ const themeLight = {
|
|
|
3720
3722
|
activeColor: 'rgba(148, 149, 152, 0.20)',
|
|
3721
3723
|
focusColor: '#1A44EA',
|
|
3722
3724
|
disabledColor: '#949598',
|
|
3723
|
-
errorColor: '#
|
|
3724
|
-
errorColorDarken: '#
|
|
3725
|
-
errorSoftColor: '#
|
|
3726
|
-
errorSoftColorDarken: '#
|
|
3725
|
+
errorColor: '#CC1922',
|
|
3726
|
+
errorColorDarken: '#951219',
|
|
3727
|
+
errorSoftColor: '#FFE2E4',
|
|
3728
|
+
errorSoftColorDarken: '#F4CED1',
|
|
3727
3729
|
errorSoftColorLighten: '#FFFFFF',
|
|
3728
|
-
successColor: '#
|
|
3729
|
-
successColorDarken: '#
|
|
3730
|
-
successSoftColor: '#
|
|
3731
|
-
successSoftColorDarken: '#
|
|
3730
|
+
successColor: '#197E10',
|
|
3731
|
+
successColorDarken: '#0E4809',
|
|
3732
|
+
successSoftColor: '#E4FFEC',
|
|
3733
|
+
successSoftColorDarken: '#D0F4DB',
|
|
3732
3734
|
successSoftColorLighten: '#FFFFFF',
|
|
3733
|
-
warningColor: '#
|
|
3734
|
-
warningSoftColor: '#
|
|
3735
|
-
warningSoftColorDarken: '#
|
|
3736
|
-
warningSoftColorLighten: '#
|
|
3737
|
-
infoColor: '#
|
|
3738
|
-
infoSoftColor: '#
|
|
3739
|
-
infoSoftColorDarken: '#
|
|
3740
|
-
infoSoftColorLighten: '#
|
|
3735
|
+
warningColor: '#F3BE00',
|
|
3736
|
+
warningSoftColor: '#FFF4D2',
|
|
3737
|
+
warningSoftColorDarken: '#F1E5C1',
|
|
3738
|
+
warningSoftColorLighten: '#FCFAF3',
|
|
3739
|
+
infoColor: '#2762EC',
|
|
3740
|
+
infoSoftColor: '#D3E1FF',
|
|
3741
|
+
infoSoftColorDarken: '#C2D1F1',
|
|
3742
|
+
infoSoftColorLighten: '#F4F7FD'
|
|
3741
3743
|
};
|
|
3742
3744
|
const themeDark = {
|
|
3743
3745
|
primaryColor: '#FBFCFF',
|
|
@@ -3749,7 +3751,7 @@ const themeDark = {
|
|
|
3749
3751
|
backgroundSurfaceColorDarken: '#040405',
|
|
3750
3752
|
backgroundSurfaceColorLighten: '#3E4045',
|
|
3751
3753
|
contrastLowColor: '#404044',
|
|
3752
|
-
contrastMediumColor: '#
|
|
3754
|
+
contrastMediumColor: '#88898C',
|
|
3753
3755
|
contrastHighColor: '#AFB0B3',
|
|
3754
3756
|
contrastHighColorDarken: '#909195',
|
|
3755
3757
|
contrastHighColorLighten: '#CECFD1',
|
|
@@ -3758,24 +3760,24 @@ const themeDark = {
|
|
|
3758
3760
|
activeColor: 'rgba(126, 127, 130, 0.20)',
|
|
3759
3761
|
focusColor: '#1A44EA',
|
|
3760
3762
|
disabledColor: '#7E7F82',
|
|
3761
|
-
errorColor: '#
|
|
3762
|
-
errorColorDarken: '#
|
|
3763
|
-
errorSoftColor: '#
|
|
3764
|
-
errorSoftColorDarken: '#
|
|
3765
|
-
errorSoftColorLighten: '#
|
|
3766
|
-
successColor: '#
|
|
3767
|
-
successColorDarken: '#
|
|
3763
|
+
errorColor: '#FC4040',
|
|
3764
|
+
errorColorDarken: '#FB0404',
|
|
3765
|
+
errorSoftColor: '#3A0F0F',
|
|
3766
|
+
errorSoftColorDarken: '#1A1111',
|
|
3767
|
+
errorSoftColorLighten: '#3F2828',
|
|
3768
|
+
successColor: '#09D087',
|
|
3769
|
+
successColorDarken: '#069561',
|
|
3768
3770
|
successSoftColor: '#003320',
|
|
3769
3771
|
successSoftColorDarken: '#04110C',
|
|
3770
3772
|
successSoftColorLighten: '#0F432F',
|
|
3771
|
-
warningColor: '#
|
|
3772
|
-
warningSoftColor: '#
|
|
3773
|
-
warningSoftColorDarken: '#
|
|
3774
|
-
warningSoftColorLighten: '#
|
|
3775
|
-
infoColor: '#
|
|
3776
|
-
infoSoftColor: '#
|
|
3777
|
-
infoSoftColorDarken: '#
|
|
3778
|
-
infoSoftColorLighten: '#
|
|
3773
|
+
warningColor: '#F7CB47',
|
|
3774
|
+
warningSoftColor: '#362B0A',
|
|
3775
|
+
warningSoftColorDarken: '#16130B',
|
|
3776
|
+
warningSoftColorLighten: '#3E3720',
|
|
3777
|
+
infoColor: '#178BFF',
|
|
3778
|
+
infoSoftColor: '#04294E',
|
|
3779
|
+
infoSoftColorDarken: '#0C1A27',
|
|
3780
|
+
infoSoftColorLighten: '#1A3856'
|
|
3779
3781
|
};
|
|
3780
3782
|
const themes = {
|
|
3781
3783
|
'light': themeLight,
|
|
@@ -3823,35 +3825,12 @@ const getResetInitialStylesForSlottedAnchor = {
|
|
|
3823
3825
|
borderRadius: 0,
|
|
3824
3826
|
background: 'transparent',
|
|
3825
3827
|
};
|
|
3826
|
-
const
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
border: 0,
|
|
3833
|
-
},
|
|
3834
|
-
[`&${pseudo}`]: Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { outline: '1px solid transparent', outlineOffset: `${outlineOffset}px` }),
|
|
3835
|
-
[`&:focus${pseudo}`]: {
|
|
3836
|
-
outlineColor,
|
|
3837
|
-
},
|
|
3838
|
-
[`&:focus:not(:focus-visible)${pseudo}`]: {
|
|
3839
|
-
outlineColor: 'transparent',
|
|
3840
|
-
},
|
|
3841
|
-
}
|
|
3842
|
-
: {
|
|
3843
|
-
outline: '1px solid transparent',
|
|
3844
|
-
outlineOffset: `${outlineOffset}px`,
|
|
3845
|
-
'&::-moz-focus-inner': {
|
|
3846
|
-
border: 0,
|
|
3847
|
-
},
|
|
3848
|
-
'&:focus': {
|
|
3849
|
-
outlineColor,
|
|
3850
|
-
},
|
|
3851
|
-
'&:focus:not(:focus-visible)': {
|
|
3852
|
-
outlineColor: 'transparent',
|
|
3853
|
-
},
|
|
3854
|
-
};
|
|
3828
|
+
const focusPseudoJssStyle = {
|
|
3829
|
+
outline: 0,
|
|
3830
|
+
'&:focus::before': Object.assign(Object.assign({ content: '""', position: 'absolute' }, getInsetJssStyle()), { borderRadius: '1px', outline: `${borderWidthBase} solid ${themeLightStateFocus}`, outlineOffset: '2px' }),
|
|
3831
|
+
'&:focus:not(:focus-visible)::before': {
|
|
3832
|
+
outline: 0,
|
|
3833
|
+
},
|
|
3855
3834
|
};
|
|
3856
3835
|
const getTextHiddenJssStyle = (isHidden) => isHidden
|
|
3857
3836
|
? getScreenReaderOnlyJssStyle()
|
|
@@ -3979,7 +3958,7 @@ const formatObjectOutput = (value) => {
|
|
|
3979
3958
|
|
|
3980
3959
|
const HEADING_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
|
|
3981
3960
|
|
|
3982
|
-
const getComponentCss$
|
|
3961
|
+
const getComponentCss$Y = (size, compact, open, theme) => {
|
|
3983
3962
|
const { primaryColor, hoverColor, focusColor, contrastLowColor } = getThemedColors(theme);
|
|
3984
3963
|
const border = `1px solid ${contrastLowColor}`;
|
|
3985
3964
|
return getCss(Object.assign(Object.assign({ '@global': {
|
|
@@ -4093,7 +4072,7 @@ const getKeyframesDesktop = (direction, topVar) => getKeyframes(direction, {
|
|
|
4093
4072
|
opacity: 0,
|
|
4094
4073
|
transform: `translate3d(0,calc(-100% - var(${topVar})),0)`, // space before and after "-" is crucial
|
|
4095
4074
|
});
|
|
4096
|
-
const getComponentCss$
|
|
4075
|
+
const getComponentCss$X = () => {
|
|
4097
4076
|
return getCss({
|
|
4098
4077
|
'@global': {
|
|
4099
4078
|
':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]: {
|
|
@@ -4133,7 +4112,7 @@ const getGroupDirectionJssStyles = (direction) => {
|
|
|
4133
4112
|
return groupDirectionJssStyles[direction];
|
|
4134
4113
|
};
|
|
4135
4114
|
|
|
4136
|
-
const getComponentCss$
|
|
4115
|
+
const getComponentCss$W = (direction) => {
|
|
4137
4116
|
return getCss({
|
|
4138
4117
|
'@global': {
|
|
4139
4118
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -4200,7 +4179,7 @@ const getLinkButtonPureStyles = (icon, iconSource, active, isDisabledOrLoading,
|
|
|
4200
4179
|
}));
|
|
4201
4180
|
};
|
|
4202
4181
|
|
|
4203
|
-
const getComponentCss$
|
|
4182
|
+
const getComponentCss$V = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, theme) => {
|
|
4204
4183
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
4205
4184
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, false, theme), Object.assign({ root: {
|
|
4206
4185
|
appearance: 'none',
|
|
@@ -4323,7 +4302,7 @@ align, compact, hasGradient, isDisabled) => {
|
|
|
4323
4302
|
}));
|
|
4324
4303
|
};
|
|
4325
4304
|
|
|
4326
|
-
const getComponentCss$
|
|
4305
|
+
const getComponentCss$U = (isDisabledOrLoading, ...args) => {
|
|
4327
4306
|
const buttonLinkTileStyles = getButtonLinkTileStyles(...args);
|
|
4328
4307
|
return getCss(Object.assign(Object.assign({}, buttonLinkTileStyles), { root: Object.assign(Object.assign({}, buttonLinkTileStyles.root), { cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer' }) }));
|
|
4329
4308
|
};
|
|
@@ -4403,7 +4382,7 @@ const getDisabledColors = (variant, loading, theme) => {
|
|
|
4403
4382
|
};
|
|
4404
4383
|
return colors[variant === 'tertiary' ? 'secondary' : variant];
|
|
4405
4384
|
};
|
|
4406
|
-
const getComponentCss$
|
|
4385
|
+
const getComponentCss$T = (icon, iconSource, variant, hideLabel, disabled, loading, theme) => {
|
|
4407
4386
|
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
4408
4387
|
const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
|
|
4409
4388
|
const isPrimary = variant === 'primary';
|
|
@@ -4442,7 +4421,7 @@ const spacingMap = {
|
|
|
4442
4421
|
basic: gridBasicOffset,
|
|
4443
4422
|
extended: gridExtendedOffset,
|
|
4444
4423
|
};
|
|
4445
|
-
const getComponentCss$
|
|
4424
|
+
const getComponentCss$S = (width, hasPagination, alignHeader, theme) => {
|
|
4446
4425
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
4447
4426
|
const isHeaderAlignCenter = alignHeader === 'center';
|
|
4448
4427
|
return getCss(Object.assign({ '@global': {
|
|
@@ -4596,7 +4575,7 @@ const getInlineSVGBackgroundImage = (path) => {
|
|
|
4596
4575
|
return `url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">${path}</svg>')`;
|
|
4597
4576
|
};
|
|
4598
4577
|
|
|
4599
|
-
const getComponentCss$
|
|
4578
|
+
const getComponentCss$R = (hideLabel, state, isDisabled, theme) => {
|
|
4600
4579
|
const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
|
|
4601
4580
|
const indeterminateIconColor = getThemedColors(theme).primaryColor.replace(/#/g, '%23');
|
|
4602
4581
|
return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
|
|
@@ -4621,7 +4600,7 @@ const widthMap = {
|
|
|
4621
4600
|
basic: gridBasicOffset,
|
|
4622
4601
|
extended: gridExtendedOffset,
|
|
4623
4602
|
};
|
|
4624
|
-
const getComponentCss$
|
|
4603
|
+
const getComponentCss$Q = (width) => {
|
|
4625
4604
|
return getCss({
|
|
4626
4605
|
'@global': {
|
|
4627
4606
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -4642,6 +4621,25 @@ const getComponentCss$O = (width) => {
|
|
|
4642
4621
|
});
|
|
4643
4622
|
};
|
|
4644
4623
|
|
|
4624
|
+
const getComponentCss$P = () => {
|
|
4625
|
+
return getCss({
|
|
4626
|
+
'@global': {
|
|
4627
|
+
':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
|
|
4628
|
+
a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
|
|
4629
|
+
picture: {
|
|
4630
|
+
display: 'block',
|
|
4631
|
+
width: '30px',
|
|
4632
|
+
height: '40px',
|
|
4633
|
+
},
|
|
4634
|
+
img: {
|
|
4635
|
+
display: 'block',
|
|
4636
|
+
width: '100%',
|
|
4637
|
+
height: 'auto',
|
|
4638
|
+
},
|
|
4639
|
+
},
|
|
4640
|
+
});
|
|
4641
|
+
};
|
|
4642
|
+
|
|
4645
4643
|
const DISPLAY_TAGS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
|
|
4646
4644
|
|
|
4647
4645
|
const getTypographyRootJssStyle = (baseTextStyle, responsiveStyle, align, color, ellipsis, theme) => {
|
|
@@ -4677,7 +4675,7 @@ const sizeMap$4 = {
|
|
|
4677
4675
|
medium: fontSizeDisplayMedium,
|
|
4678
4676
|
large: fontSizeDisplayLarge,
|
|
4679
4677
|
};
|
|
4680
|
-
const getComponentCss$
|
|
4678
|
+
const getComponentCss$O = (size, align, color, ellipsis, theme) => {
|
|
4681
4679
|
return getCss({
|
|
4682
4680
|
'@global': {
|
|
4683
4681
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -4691,7 +4689,7 @@ const getComponentCss$N = (size, align, color, ellipsis, theme) => {
|
|
|
4691
4689
|
});
|
|
4692
4690
|
};
|
|
4693
4691
|
|
|
4694
|
-
const getComponentCss$
|
|
4692
|
+
const getComponentCss$N = (color, orientation, theme) => {
|
|
4695
4693
|
const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
4696
4694
|
const colorMap = {
|
|
4697
4695
|
'contrast-low': contrastLowColor,
|
|
@@ -4706,7 +4704,7 @@ const getComponentCss$M = (color, orientation, theme) => {
|
|
|
4706
4704
|
});
|
|
4707
4705
|
};
|
|
4708
4706
|
|
|
4709
|
-
const getComponentCss$
|
|
4707
|
+
const getComponentCss$M = (state, labelSize, hasLabel, theme) => {
|
|
4710
4708
|
return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
|
|
4711
4709
|
margin: 0,
|
|
4712
4710
|
padding: 0,
|
|
@@ -4720,7 +4718,7 @@ const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
|
|
|
4720
4718
|
})));
|
|
4721
4719
|
};
|
|
4722
4720
|
|
|
4723
|
-
const getComponentCss$
|
|
4721
|
+
const getComponentCss$L = (state, labelSize, hasLabel, theme) => {
|
|
4724
4722
|
return getCss(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)), fieldset: {
|
|
4725
4723
|
margin: 0,
|
|
4726
4724
|
padding: 0,
|
|
@@ -4744,7 +4742,7 @@ const flexItemWidths = {
|
|
|
4744
4742
|
full: 100,
|
|
4745
4743
|
auto: 'auto',
|
|
4746
4744
|
};
|
|
4747
|
-
const getComponentCss$
|
|
4745
|
+
const getComponentCss$K = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
4748
4746
|
return getCss({
|
|
4749
4747
|
'@global': {
|
|
4750
4748
|
':host': addImportantToEachRule(Object.assign(Object.assign({ boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(width, (widthResponsive) => ({
|
|
@@ -4762,7 +4760,7 @@ const getComponentCss$J = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
|
4762
4760
|
});
|
|
4763
4761
|
};
|
|
4764
4762
|
|
|
4765
|
-
const getComponentCss$
|
|
4763
|
+
const getComponentCss$J = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
|
|
4766
4764
|
return getCss({
|
|
4767
4765
|
'@global': {
|
|
4768
4766
|
':host': addImportantToEachRule(mergeDeep(hostHiddenStyles, buildResponsiveStyles(inline, (inlineResponsive) => ({
|
|
@@ -4784,7 +4782,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
|
|
|
4784
4782
|
const gridItemWidths = [
|
|
4785
4783
|
0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
|
|
4786
4784
|
];
|
|
4787
|
-
const getComponentCss$
|
|
4785
|
+
const getComponentCss$I = (size, offset) => {
|
|
4788
4786
|
return getCss({
|
|
4789
4787
|
'@global': {
|
|
4790
4788
|
':host': addImportantToEachRule(Object.assign(Object.assign({ paddingLeft: gutter$1, paddingRight: gutter$1, boxSizing: 'border-box' }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(size, (sizeResponsive) => ({
|
|
@@ -4798,7 +4796,7 @@ const getComponentCss$H = (size, offset) => {
|
|
|
4798
4796
|
};
|
|
4799
4797
|
|
|
4800
4798
|
const gutter = `calc(${gridGap} / -2)`;
|
|
4801
|
-
const getComponentCss$
|
|
4799
|
+
const getComponentCss$H = (direction, wrap) => {
|
|
4802
4800
|
return getCss({
|
|
4803
4801
|
'@global': {
|
|
4804
4802
|
':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'flex', flex: 'auto', width: 'auto', marginLeft: gutter, marginRight: gutter }, hostHiddenStyles), mergeDeep(buildResponsiveStyles(direction, (flexDirection) => ({ flexDirection })), buildResponsiveStyles(wrap, (flexWrap) => ({ flexWrap }))))),
|
|
@@ -4813,7 +4811,7 @@ const sizeMap$3 = {
|
|
|
4813
4811
|
'x-large': fontSizeHeadingXLarge,
|
|
4814
4812
|
'xx-large': fontSizeHeadingXXLarge,
|
|
4815
4813
|
};
|
|
4816
|
-
const getComponentCss$
|
|
4814
|
+
const getComponentCss$G = (size, align, color, ellipsis, theme) => {
|
|
4817
4815
|
return getCss({
|
|
4818
4816
|
'@global': {
|
|
4819
4817
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -4867,7 +4865,7 @@ const getTextSizeJssStyle = (textSize) => {
|
|
|
4867
4865
|
fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
|
|
4868
4866
|
};
|
|
4869
4867
|
};
|
|
4870
|
-
const getComponentCss$
|
|
4868
|
+
const getComponentCss$F = (variant, align, color, ellipsis, theme) => {
|
|
4871
4869
|
return getCss({
|
|
4872
4870
|
'@global': {
|
|
4873
4871
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -4884,23 +4882,23 @@ const getComponentCss$E = (variant, align, color, ellipsis, theme) => {
|
|
|
4884
4882
|
const toFilter = (values) => `invert(${values[0]}%) sepia(${values[1]}%) saturate(${values[2]}%) hue-rotate(${values[3]}deg) brightness(${values[4]}%) contrast(${values[5]}%)`;
|
|
4885
4883
|
|
|
4886
4884
|
const filterLightContrastLow = toFilter([93, 11, 36, 201, 89, 102]);
|
|
4887
|
-
const filterLightContrastMedium = toFilter([
|
|
4885
|
+
const filterLightContrastMedium = toFilter([45, 6, 235, 177, 91, 85]);
|
|
4888
4886
|
const filterLightContrastHigh = toFilter([40, 2, 686, 187, 80, 94]);
|
|
4889
4887
|
const filterDarkContrastLow = toFilter([20, 7, 421, 202, 97, 82]);
|
|
4890
|
-
const filterDarkContrastMedium = toFilter([
|
|
4888
|
+
const filterDarkContrastMedium = toFilter([66, 3, 333, 187, 82, 86]);
|
|
4891
4889
|
const filterDarkContrastHigh = toFilter([68, 6, 108, 187, 104, 88]);
|
|
4892
4890
|
|
|
4893
|
-
const filterLightNotificationSuccess = toFilter([
|
|
4894
|
-
const filterLightNotificationWarning = toFilter([
|
|
4895
|
-
const filterLightNotificationError = toFilter([
|
|
4891
|
+
const filterLightNotificationSuccess = toFilter([28, 89, 572, 71, 111, 98]);
|
|
4892
|
+
const filterLightNotificationWarning = toFilter([58, 53, 820, 12, 112, 103]);
|
|
4893
|
+
const filterLightNotificationError = toFilter([14, 75, 4140, 347, 100, 97]);
|
|
4896
4894
|
const filterLightNotificationInfo = toFilter([44, 100, 492, 195, 86, 221]);
|
|
4897
|
-
const filterDarkNotificationSuccess = toFilter([
|
|
4898
|
-
const filterDarkNotificationWarning = toFilter([
|
|
4899
|
-
const filterDarkNotificationError = toFilter([
|
|
4895
|
+
const filterDarkNotificationSuccess = toFilter([60, 71, 512, 106, 91, 97]);
|
|
4896
|
+
const filterDarkNotificationWarning = toFilter([75, 39, 759, 350, 109, 94]);
|
|
4897
|
+
const filterDarkNotificationError = toFilter([64, 91, 5857, 336, 98, 102]);
|
|
4900
4898
|
const filterDarkNotificationInfo = toFilter([56, 77, 4175, 198, 104, 98]);
|
|
4901
4899
|
|
|
4902
4900
|
const filterLightPrimary = toFilter([3, 7, 2930, 188, 91, 103]);
|
|
4903
|
-
const filterDarkPrimary = toFilter([
|
|
4901
|
+
const filterDarkPrimary = toFilter([100, 91, 38, 254, 110, 110]);
|
|
4904
4902
|
|
|
4905
4903
|
const sizeMap$2 = {
|
|
4906
4904
|
'xx-small': fontSizeTextXXSmall,
|
|
@@ -4944,7 +4942,7 @@ const forceRerenderAnimationStyle = {
|
|
|
4944
4942
|
};
|
|
4945
4943
|
const keyFramesLight = 'rerender-light';
|
|
4946
4944
|
const keyFramesDark = 'rerender-dark';
|
|
4947
|
-
const getComponentCss$
|
|
4945
|
+
const getComponentCss$E = (color, size, theme) => {
|
|
4948
4946
|
const isColorInherit = color === 'inherit';
|
|
4949
4947
|
const isSizeInherit = size === 'inherit';
|
|
4950
4948
|
const isDark = isThemeDark(theme);
|
|
@@ -5011,7 +5009,7 @@ const getNotificationContentJssStyle = () => ({
|
|
|
5011
5009
|
});
|
|
5012
5010
|
|
|
5013
5011
|
const mediaQueryMaxS = getMediaQueryMax('s');
|
|
5014
|
-
const getComponentCss$
|
|
5012
|
+
const getComponentCss$D = (state, hasAction, hasClose, theme) => {
|
|
5015
5013
|
return getCss(Object.assign({ '@global': {
|
|
5016
5014
|
':host': addImportantToEachRule(Object.assign(Object.assign({}, getNotificationRootJssStyle(state, hasAction, hasClose, theme)), hostHiddenStyles)),
|
|
5017
5015
|
h5: headingSmallStyle,
|
|
@@ -5029,7 +5027,7 @@ const getComponentCss$C = (state, hasAction, hasClose, theme) => {
|
|
|
5029
5027
|
})));
|
|
5030
5028
|
};
|
|
5031
5029
|
|
|
5032
|
-
const getComponentCss$
|
|
5030
|
+
const getComponentCss$C = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
|
|
5033
5031
|
const { focusColor } = getThemedColors(theme);
|
|
5034
5032
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
5035
5033
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, hasSlottedAnchor, theme), Object.assign(Object.assign({}, (hasSlottedAnchor && {
|
|
@@ -5056,7 +5054,7 @@ const getComponentCss$B = (icon, iconSource, active, stretch, size, hideLabel, a
|
|
|
5056
5054
|
} })));
|
|
5057
5055
|
};
|
|
5058
5056
|
|
|
5059
|
-
const getComponentCss$
|
|
5057
|
+
const getComponentCss$B = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, theme) => {
|
|
5060
5058
|
const { focusColor } = getThemedColors(theme);
|
|
5061
5059
|
return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, theme), Object.assign({}, (hasSlottedAnchor && {
|
|
5062
5060
|
'@global': addImportantToEachRule({
|
|
@@ -5083,7 +5081,7 @@ const getComponentCss$A = (icon, iconSource, variant, hideLabel, hasSlottedAncho
|
|
|
5083
5081
|
|
|
5084
5082
|
const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS = ['h2', 'h3', 'h4', 'h5', 'h6'];
|
|
5085
5083
|
|
|
5086
|
-
const getComponentCss$
|
|
5084
|
+
const getComponentCss$A = (aspectRatio, weight, direction, hasDescription) => {
|
|
5087
5085
|
const tileBaseStyles = getTileBaseStyles(aspectRatio);
|
|
5088
5086
|
return getCss(Object.assign(Object.assign(Object.assign(Object.assign({}, tileBaseStyles), { '@global': Object.assign(Object.assign({}, tileBaseStyles['@global']), { [LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS.join(',')]: {
|
|
5089
5087
|
margin: addImportantToRule(0),
|
|
@@ -5098,7 +5096,7 @@ const getComponentCss$z = (aspectRatio, weight, direction, hasDescription) => {
|
|
|
5098
5096
|
position: 'fixed' }, getInsetJssStyle()) }));
|
|
5099
5097
|
};
|
|
5100
5098
|
|
|
5101
|
-
const getComponentCss$
|
|
5099
|
+
const getComponentCss$z = (...args) => {
|
|
5102
5100
|
return getCss(Object.assign(Object.assign({}, getButtonLinkTileStyles(...args)), { 'link-overlay': Object.assign({
|
|
5103
5101
|
// covers entire tile, used for expanded click-area only
|
|
5104
5102
|
position: 'fixed' }, getInsetJssStyle()) }));
|
|
@@ -5114,15 +5112,11 @@ const baseSizes = {
|
|
|
5114
5112
|
height: '72px',
|
|
5115
5113
|
},
|
|
5116
5114
|
};
|
|
5117
|
-
const getComponentCss$
|
|
5115
|
+
const getComponentCss$y = (size) => {
|
|
5118
5116
|
return getCss({
|
|
5119
5117
|
'@global': {
|
|
5120
5118
|
':host': Object.assign({ position: 'relative', display: 'inline-flex', verticalAlign: 'top' }, addImportantToEachRule(Object.assign({ outline: 0 }, hostHiddenStyles))),
|
|
5121
|
-
a: Object.assign({ display: 'block', textDecoration: 'none' },
|
|
5122
|
-
color: getThemedColors('light').primaryColor,
|
|
5123
|
-
offset: 0,
|
|
5124
|
-
pseudo: '::before',
|
|
5125
|
-
})),
|
|
5119
|
+
a: Object.assign({ display: 'block', textDecoration: 'none' }, focusPseudoJssStyle),
|
|
5126
5120
|
picture: Object.assign({ display: 'block' }, (size === 'responsive'
|
|
5127
5121
|
? Object.assign(Object.assign({}, baseSizes.small), { [getMediaQueryMin('l')]: baseSizes.medium }) : baseSizes[size])),
|
|
5128
5122
|
img: {
|
|
@@ -5182,7 +5176,7 @@ const getSlottedJssStyle = (marginValue, hasHeader, hasDismissButton) => {
|
|
|
5182
5176
|
marginBottom: marginPx,
|
|
5183
5177
|
} });
|
|
5184
5178
|
};
|
|
5185
|
-
const getComponentCss$
|
|
5179
|
+
const getComponentCss$x = (open, fullscreen, hasDismissButton, hasHeader) => {
|
|
5186
5180
|
const isFullscreenForXlAndXxl = isFullscreenForXl(fullscreen);
|
|
5187
5181
|
return getCss(Object.assign(Object.assign({ '@global': {
|
|
5188
5182
|
':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
|
|
@@ -5250,7 +5244,7 @@ const colorToFilterMap = {
|
|
|
5250
5244
|
'contrast-high': filterDarkContrastHigh,
|
|
5251
5245
|
},
|
|
5252
5246
|
};
|
|
5253
|
-
const getComponentCss$
|
|
5247
|
+
const getComponentCss$w = (size, color, theme) => {
|
|
5254
5248
|
const isSizeInherit = size === 'inherit';
|
|
5255
5249
|
const isColorInherit = color === 'inherit';
|
|
5256
5250
|
return getCss({
|
|
@@ -5269,7 +5263,7 @@ const disabledCursorStyle = {
|
|
|
5269
5263
|
cursor: 'default',
|
|
5270
5264
|
pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
|
|
5271
5265
|
};
|
|
5272
|
-
const getComponentCss$
|
|
5266
|
+
const getComponentCss$v = (maxNumberOfPageLinks, theme) => {
|
|
5273
5267
|
const { primaryColor, disabledColor, hoverColor, focusColor } = getThemedColors(theme);
|
|
5274
5268
|
return getCss({
|
|
5275
5269
|
'@global': {
|
|
@@ -5386,7 +5380,7 @@ const directionArrowMap = {
|
|
|
5386
5380
|
},
|
|
5387
5381
|
},
|
|
5388
5382
|
};
|
|
5389
|
-
const getComponentCss$
|
|
5383
|
+
const getComponentCss$u = (direction, theme) => {
|
|
5390
5384
|
const spacerBox = '-16px';
|
|
5391
5385
|
const { hoverColor, focusColor } = getThemedColors(theme);
|
|
5392
5386
|
return getCss({
|
|
@@ -5435,7 +5429,7 @@ const getComponentCss$t = (direction, theme) => {
|
|
|
5435
5429
|
});
|
|
5436
5430
|
};
|
|
5437
5431
|
|
|
5438
|
-
const getComponentCss$
|
|
5432
|
+
const getComponentCss$t = (hideLabel, state, isDisabled, theme) => {
|
|
5439
5433
|
const checkedIconColor = getThemedColors(theme === 'light' ? 'dark' : 'light').primaryColor.replace(/#/g, '%23');
|
|
5440
5434
|
return getCss(mergeDeep(getCheckboxRadioJssStyle(hideLabel, state, isDisabled, theme), {
|
|
5441
5435
|
'@global': {
|
|
@@ -5469,7 +5463,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
5469
5463
|
`rgba(${gradientColor},0.3) 68%,` +
|
|
5470
5464
|
`rgba(${gradientColor},0)`);
|
|
5471
5465
|
};
|
|
5472
|
-
const getComponentCss$
|
|
5466
|
+
const getComponentCss$s = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
|
|
5473
5467
|
const { backgroundColor, backgroundSurfaceColor, focusColor, hoverColor } = getThemedColors(theme);
|
|
5474
5468
|
const isDarkTheme = isThemeDark(theme);
|
|
5475
5469
|
const backgroundColorMap = {
|
|
@@ -5562,7 +5556,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
|
5562
5556
|
hoverBorderColor: primaryColor,
|
|
5563
5557
|
};
|
|
5564
5558
|
};
|
|
5565
|
-
const getComponentCss$
|
|
5559
|
+
const getComponentCss$r = (isDisabled, isSelected, hasIcon, theme) => {
|
|
5566
5560
|
const { focusColor } = getThemedColors(theme);
|
|
5567
5561
|
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
|
|
5568
5562
|
return getCss({
|
|
@@ -5596,7 +5590,7 @@ const getComponentCss$q = (isDisabled, isSelected, hasIcon, theme) => {
|
|
|
5596
5590
|
|
|
5597
5591
|
const MIN_ITEM_WIDTH = 46;
|
|
5598
5592
|
const MAX_ITEM_WIDTH = 220;
|
|
5599
|
-
const getComponentCss$
|
|
5593
|
+
const getComponentCss$q = (maxWidth) => {
|
|
5600
5594
|
maxWidth = (maxWidth > MAX_ITEM_WIDTH && MAX_ITEM_WIDTH) || (maxWidth < MIN_ITEM_WIDTH && MIN_ITEM_WIDTH) || maxWidth;
|
|
5601
5595
|
return getCss({
|
|
5602
5596
|
'@global': {
|
|
@@ -5655,7 +5649,7 @@ const getLabelStyles = (child, isDisabled, hideLabel, state, theme, counterOrUni
|
|
|
5655
5649
|
}));
|
|
5656
5650
|
};
|
|
5657
5651
|
const ICON_SPACE = `${24 + 13 * 2 + 2}px`; // 24px = icon width, 13px * 2 = padding, 2px = border
|
|
5658
|
-
const getComponentCss$
|
|
5652
|
+
const getComponentCss$p = (isDisabled, hideLabel, state, theme) => {
|
|
5659
5653
|
return getCss(Object.assign(Object.assign(Object.assign({ '@global': addImportantToEachRule(Object.assign({ ':host': Object.assign({ display: 'block' }, hostHiddenStyles) }, getBaseChildStyles('select', state, theme, {
|
|
5660
5654
|
position: 'static',
|
|
5661
5655
|
zIndex: 0,
|
|
@@ -5687,7 +5681,7 @@ const sizeMap$1 = {
|
|
|
5687
5681
|
large: { height: sizeLarge, width: sizeLarge },
|
|
5688
5682
|
inherit: { height: 'inherit', width: 'inherit' },
|
|
5689
5683
|
};
|
|
5690
|
-
const getComponentCss$
|
|
5684
|
+
const getComponentCss$n = (size, theme) => {
|
|
5691
5685
|
const strokeDasharray = '57'; // C = 2πR
|
|
5692
5686
|
const animationDuration = 'var(--p-animation-duration, 2s)';
|
|
5693
5687
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
@@ -5765,7 +5759,7 @@ const getSVGPath = (stepCount, numberedCircleColors, isStateCurrent) => {
|
|
|
5765
5759
|
];
|
|
5766
5760
|
return svgNumberedCirclePaths[stepCount];
|
|
5767
5761
|
};
|
|
5768
|
-
const getComponentCss$
|
|
5762
|
+
const getComponentCss$m = (state, disabled, theme) => {
|
|
5769
5763
|
const { primaryColor, hoverColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
5770
5764
|
const isStateCurrent = state === 'current';
|
|
5771
5765
|
const isStateCurrentOrUndefined = !state || isStateCurrent;
|
|
@@ -5805,7 +5799,7 @@ const getComponentCss$l = (state, disabled, theme) => {
|
|
|
5805
5799
|
})), { 'sr-only': getScreenReaderOnlyJssStyle() }));
|
|
5806
5800
|
};
|
|
5807
5801
|
|
|
5808
|
-
const getComponentCss$
|
|
5802
|
+
const getComponentCss$l = (size) => {
|
|
5809
5803
|
return getCss({
|
|
5810
5804
|
'@global': {
|
|
5811
5805
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -5831,7 +5825,7 @@ const getColors$1 = (checked, disabled, loading, theme) => {
|
|
|
5831
5825
|
textColor: disabledOrLoadingColor || primaryColor,
|
|
5832
5826
|
};
|
|
5833
5827
|
};
|
|
5834
|
-
const getComponentCss$
|
|
5828
|
+
const getComponentCss$k = (alignLabel, hideLabel, stretch, checked, disabled, loading, theme) => {
|
|
5835
5829
|
const { buttonBorderColor, buttonBorderColorHover, buttonBackgroundColor, buttonBackgroundColorHover, toggleBackgroundColor, toggleBackgroundColorHover, textColor, } = getColors$1(checked, disabled, loading, theme);
|
|
5836
5830
|
const { focusColor } = getThemedColors(theme);
|
|
5837
5831
|
return getCss(Object.assign(Object.assign({ '@global': {
|
|
@@ -5884,7 +5878,7 @@ const getComponentCss$j = (alignLabel, hideLabel, stretch, checked, disabled, lo
|
|
|
5884
5878
|
})), buildResponsiveStyles(hideLabel, getTextHiddenJssStyle))) }));
|
|
5885
5879
|
};
|
|
5886
5880
|
|
|
5887
|
-
const getComponentCss$
|
|
5881
|
+
const getComponentCss$j = () => {
|
|
5888
5882
|
return getCss({
|
|
5889
5883
|
'@global': {
|
|
5890
5884
|
':host': addImportantToEachRule(Object.assign({ display: 'table-row-group' }, hostHiddenStyles)),
|
|
@@ -5892,7 +5886,7 @@ const getComponentCss$i = () => {
|
|
|
5892
5886
|
});
|
|
5893
5887
|
};
|
|
5894
5888
|
|
|
5895
|
-
const getComponentCss$
|
|
5889
|
+
const getComponentCss$i = (multiline) => {
|
|
5896
5890
|
return getCss({
|
|
5897
5891
|
'@global': {
|
|
5898
5892
|
':host': Object.assign(Object.assign({}, addImportantToEachRule(Object.assign({ display: 'table-cell', padding: spacingFluidSmall, margin: 0, whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles))), { verticalAlign: 'middle' }),
|
|
@@ -5908,7 +5902,7 @@ const isSortable = (active, direction) => {
|
|
|
5908
5902
|
const cssVariableTableHoverColor = '--p-internal-table-hover-color';
|
|
5909
5903
|
const cssVariableTableBorderColor = '--p-internal-table-border-color';
|
|
5910
5904
|
const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
|
|
5911
|
-
const getComponentCss$
|
|
5905
|
+
const getComponentCss$h = (theme) => {
|
|
5912
5906
|
const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
|
|
5913
5907
|
return getCss({
|
|
5914
5908
|
'@global': {
|
|
@@ -5934,7 +5928,7 @@ const getComponentCss$g = (theme) => {
|
|
|
5934
5928
|
const { hoverColor, focusColor } = getThemedColors('light'); // hover color and focus color are the same for light and dark
|
|
5935
5929
|
const buttonBeforeOffsetVertical = '-2px';
|
|
5936
5930
|
const buttonBeforeOffsetHorizontal = '-4px';
|
|
5937
|
-
const getComponentCss$
|
|
5931
|
+
const getComponentCss$g = (active, direction, hideLabel, multiline) => {
|
|
5938
5932
|
const sortable = isSortable(active, direction);
|
|
5939
5933
|
return getCss(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'table-cell', padding: `2px ${spacingFluidSmall} ${spacingFluidSmall}`, verticalAlign: 'bottom', whiteSpace: multiline ? 'normal' : 'nowrap' }, hostHiddenStyles)) }, (sortable
|
|
5940
5934
|
? {
|
|
@@ -5974,7 +5968,7 @@ const getComponentCss$f = (active, direction, hideLabel, multiline) => {
|
|
|
5974
5968
|
})));
|
|
5975
5969
|
};
|
|
5976
5970
|
|
|
5977
|
-
const getComponentCss$
|
|
5971
|
+
const getComponentCss$f = () => {
|
|
5978
5972
|
return getCss({
|
|
5979
5973
|
'@global': {
|
|
5980
5974
|
':host': addImportantToEachRule(Object.assign({ display: 'table-row' }, hostHiddenStyles)),
|
|
@@ -5982,7 +5976,7 @@ const getComponentCss$e = () => {
|
|
|
5982
5976
|
});
|
|
5983
5977
|
};
|
|
5984
5978
|
|
|
5985
|
-
const getComponentCss$
|
|
5979
|
+
const getComponentCss$e = () => {
|
|
5986
5980
|
return getCss({
|
|
5987
5981
|
'@global': {
|
|
5988
5982
|
':host': addImportantToEachRule(Object.assign({ display: 'table-header-group', fontSize: fontSizeTextXSmall, lineHeight: fontLineHeight, fontWeight: fontWeightSemiBold }, hostHiddenStyles)),
|
|
@@ -5990,7 +5984,7 @@ const getComponentCss$d = () => {
|
|
|
5990
5984
|
});
|
|
5991
5985
|
};
|
|
5992
5986
|
|
|
5993
|
-
const getComponentCss$
|
|
5987
|
+
const getComponentCss$d = () => {
|
|
5994
5988
|
return getCss({
|
|
5995
5989
|
'@global': {
|
|
5996
5990
|
':host': addImportantToEachRule(Object.assign(Object.assign({ display: 'table-row', borderTop: `1px solid var(${cssVariableTableBorderColor})`, borderBottom: `1px solid var(${cssVariableTableBorderColor})`, transition: getTransition('background') }, hostHiddenStyles), hoverMediaQuery({
|
|
@@ -6005,7 +5999,7 @@ const getComponentCss$c = () => {
|
|
|
6005
5999
|
|
|
6006
6000
|
const tabsTransitionDuration = '.4s';
|
|
6007
6001
|
const transformSelector = (selector) => ['a', 'button'].map((tag) => selector.replace(/\[role]/g, tag)).join();
|
|
6008
|
-
const getComponentCss$
|
|
6002
|
+
const getComponentCss$c = (size, weight, theme) => {
|
|
6009
6003
|
const { primaryColor, hoverColor, focusColor } = getThemedColors(theme);
|
|
6010
6004
|
return getCss({
|
|
6011
6005
|
'@global': Object.assign({ ':host': Object.assign({ display: 'block' }, addImportantToEachRule(Object.assign({ position: 'relative',
|
|
@@ -6044,7 +6038,7 @@ const getComponentCss$b = (size, weight, theme) => {
|
|
|
6044
6038
|
});
|
|
6045
6039
|
};
|
|
6046
6040
|
|
|
6047
|
-
const getComponentCss$
|
|
6041
|
+
const getComponentCss$b = (theme) => {
|
|
6048
6042
|
const { primaryColor, focusColor } = getThemedColors(theme);
|
|
6049
6043
|
return getCss({
|
|
6050
6044
|
'@global': {
|
|
@@ -6058,7 +6052,7 @@ const getComponentCss$a = (theme) => {
|
|
|
6058
6052
|
});
|
|
6059
6053
|
};
|
|
6060
6054
|
|
|
6061
|
-
const getComponentCss$
|
|
6055
|
+
const getComponentCss$a = () => {
|
|
6062
6056
|
return getCss({
|
|
6063
6057
|
'@global': {
|
|
6064
6058
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -6090,7 +6084,7 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
|
|
|
6090
6084
|
return colorMap[tagColor];
|
|
6091
6085
|
};
|
|
6092
6086
|
|
|
6093
|
-
const getComponentCss$
|
|
6087
|
+
const getComponentCss$9 = (color, hasLabel, theme) => {
|
|
6094
6088
|
const themedColors = getThemedColors(theme);
|
|
6095
6089
|
const { primaryColor, hoverColor, contrastHighColor } = themedColors;
|
|
6096
6090
|
const backgroundColor = getThemedBackgroundColor(color, themedColors);
|
|
@@ -6140,7 +6134,7 @@ const getColors = (themedColors, tagColor, theme) => {
|
|
|
6140
6134
|
backgroundHoverColor: getThemedBackgroundHoverColor(tagColor, themedColors, theme),
|
|
6141
6135
|
};
|
|
6142
6136
|
};
|
|
6143
|
-
const getComponentCss$
|
|
6137
|
+
const getComponentCss$8 = (tagColor, isFocusable, theme) => {
|
|
6144
6138
|
const themedColors = getThemedColors(theme);
|
|
6145
6139
|
const { primaryColor, backgroundColor, backgroundHoverColor } = getColors(themedColors, tagColor, theme);
|
|
6146
6140
|
return getCss({
|
|
@@ -6197,7 +6191,7 @@ const getButtonOrIconOffsetHorizontal = (buttonOrIconAmount) => {
|
|
|
6197
6191
|
const multiplier = buttonOrIconAmount > 1 ? ` + ${buttonOrIconSize} * ${buttonOrIconAmount - 1}` : '';
|
|
6198
6192
|
return `calc(${buttonOrIconOffset} + ${borderWidthBase}${multiplier})`;
|
|
6199
6193
|
};
|
|
6200
|
-
const getComponentCss$
|
|
6194
|
+
const getComponentCss$7 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, isWithinForm, theme) => {
|
|
6201
6195
|
const { contrastMediumColor } = getThemedColors(theme);
|
|
6202
6196
|
const isSearch = isType(inputType, 'search');
|
|
6203
6197
|
const isPassword = isType(inputType, 'password');
|
|
@@ -6253,7 +6247,7 @@ const cssVariableUnorderedPaddingLeft = '--p-internal-text-list-unordered-paddin
|
|
|
6253
6247
|
const cssVariableOrderedPaddingLeft = '--p-internal-text-list-ordered-padding-left';
|
|
6254
6248
|
const cssVariableListStyleType = '--p-internal-text-list-list-style-type';
|
|
6255
6249
|
const counter = 'p-text-list-counter';
|
|
6256
|
-
const getComponentCss$
|
|
6250
|
+
const getComponentCss$6 = (type, theme) => {
|
|
6257
6251
|
const isOrderedList = isListTypeOrdered(type);
|
|
6258
6252
|
return getCss({
|
|
6259
6253
|
'@global': {
|
|
@@ -6279,7 +6273,7 @@ const getComponentCss$5 = (type, theme) => {
|
|
|
6279
6273
|
});
|
|
6280
6274
|
};
|
|
6281
6275
|
|
|
6282
|
-
const getComponentCss$
|
|
6276
|
+
const getComponentCss$5 = () => {
|
|
6283
6277
|
return getCss({
|
|
6284
6278
|
'@global': addImportantToEachRule({
|
|
6285
6279
|
':host': Object.assign({ display: 'list-item', position: 'relative', font: 'inherit', color: 'inherit', listStyleType: 'inherit', paddingLeft: spacingStaticMedium }, hostHiddenStyles),
|
|
@@ -6300,7 +6294,7 @@ const sizeMap = {
|
|
|
6300
6294
|
large: fontSizeTextLarge,
|
|
6301
6295
|
'x-large': fontSizeTextXLarge,
|
|
6302
6296
|
};
|
|
6303
|
-
const getComponentCss$
|
|
6297
|
+
const getComponentCss$4 = (size, weight, align, color, ellipsis, theme) => {
|
|
6304
6298
|
return getCss({
|
|
6305
6299
|
'@global': {
|
|
6306
6300
|
':host': Object.assign({ display: 'block' }, addImportantToEachRule(hostHiddenStyles)),
|
|
@@ -6315,7 +6309,7 @@ const getComponentCss$3 = (size, weight, align, color, ellipsis, theme) => {
|
|
|
6315
6309
|
});
|
|
6316
6310
|
};
|
|
6317
6311
|
|
|
6318
|
-
const getComponentCss$
|
|
6312
|
+
const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, theme) => {
|
|
6319
6313
|
const { contrastMediumColor } = getThemedColors(theme);
|
|
6320
6314
|
return getCss(Object.assign(Object.assign(Object.assign(Object.assign({ '@global': Object.assign({ ':host': addImportantToEachRule(Object.assign({ display: 'block' }, hostHiddenStyles)) }, mergeDeep(addImportantToEachRule(getBaseChildStyles('textarea', state, theme, {
|
|
6321
6315
|
font: textSmallStyle.font,
|
|
@@ -6343,7 +6337,7 @@ const getComponentCss$2 = (isDisabled, hideLabel, state, hasCounter, theme) => {
|
|
|
6343
6337
|
const cssVariablePositionBottom = '--p-toast-position-bottom'; // CSS custom property exposed as public interface
|
|
6344
6338
|
const cssVariablePositionBottomInternal = '--p-internal-toast-position-bottom';
|
|
6345
6339
|
const toastCloseClassName = 'close';
|
|
6346
|
-
const getComponentCss = () => {
|
|
6340
|
+
const getComponentCss$1 = () => {
|
|
6347
6341
|
return getCss({
|
|
6348
6342
|
'@global': {
|
|
6349
6343
|
':host': addImportantToEachRule(Object.assign({ position: 'fixed', left: gridExtendedOffsetBase, right: gridExtendedOffsetBase,
|
|
@@ -6363,4 +6357,18 @@ const getComponentCss = () => {
|
|
|
6363
6357
|
});
|
|
6364
6358
|
};
|
|
6365
6359
|
|
|
6366
|
-
|
|
6360
|
+
const getComponentCss = (size, theme) => {
|
|
6361
|
+
return getCss({
|
|
6362
|
+
'@global': {
|
|
6363
|
+
':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))),
|
|
6364
|
+
a: Object.assign({ display: 'block', textDecoration: 'none', height: 'inherit' }, focusPseudoJssStyle),
|
|
6365
|
+
svg: {
|
|
6366
|
+
display: 'block',
|
|
6367
|
+
height: 'inherit',
|
|
6368
|
+
fill: getThemedColors(theme).primaryColor,
|
|
6369
|
+
},
|
|
6370
|
+
},
|
|
6371
|
+
});
|
|
6372
|
+
};
|
|
6373
|
+
|
|
6374
|
+
export { getComponentCss$Y as getAccordionCss, getComponentCss$X as getBannerCss, getComponentCss$T as getButtonCss, getComponentCss$W as getButtonGroupCss, getComponentCss$V as getButtonPureCss, getComponentCss$U as getButtonTileCss, getComponentCss$S as getCarouselCss, getComponentCss$R as getCheckboxWrapperCss, getComponentCss$Q as getContentWrapperCss, getComponentCss$P as getCrestCss, getComponentCss$O as getDisplayCss, getComponentCss$N as getDividerCss, getComponentCss$L as getFieldsetCss, getComponentCss$M as getFieldsetWrapperCss, getComponentCss$J as getFlexCss, getComponentCss$K as getFlexItemCss, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$H as getGridCss, getComponentCss$I as getGridItemCss, getComponentCss$G as getHeadingCss, getComponentCss$F as getHeadlineCss, getComponentCss$E as getIconCss, getComponentCss$D as getInlineNotificationCss, getComponentCss$B as getLinkCss, getComponentCss$C as getLinkPureCss, getComponentCss$B as getLinkSocialCss, getComponentCss$z as getLinkTileCss, getComponentCss$A as getLinkTileModelSignatureCss, getComponentCss$y as getMarqueCss, getComponentCss$x as getModalCss, getComponentCss$w as getModelSignatureCss, getComponentCss$v as getPaginationCss, getComponentCss$u as getPopoverCss, getComponentCss$t as getRadioButtonWrapperCss, getComponentCss$s as getScrollerCss, getComponentCss$q as getSegmentedControlCss, getComponentCss$r as getSegmentedControlItemCss, getComponentCss$p as getSelectWrapperCss, getComponentCss$n as getSpinnerCss, getComponentCss$l as getStepperHorizontalCss, getComponentCss$m as getStepperHorizontalItemCss, getComponentCss$k as getSwitchCss, getComponentCss$j as getTableBodyCss, getComponentCss$i as getTableCellCss, getComponentCss$h as getTableCss, getComponentCss$g as getTableHeadCellCss, getComponentCss$e as getTableHeadCss, getComponentCss$f as getTableHeadRowCss, getComponentCss$d as getTableRowCss, getComponentCss$c as getTabsBarCss, getComponentCss$a as getTabsCss, getComponentCss$b as getTabsItemCss, getComponentCss$8 as getTagCss, getComponentCss$9 as getTagDismissibleCss, getComponentCss$4 as getTextCss, getComponentCss$7 as getTextFieldWrapperCss, getComponentCss$6 as getTextListCss, getComponentCss$5 as getTextListItemCss, getComponentCss$3 as getTextareaWrapperCss, getComponentCss$1 as getToastCss, getComponentCss as getWordmarkCss };
|