@porsche-design-system/components-react 3.24.0 → 3.25.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/cjs/lib/components/button-pure.wrapper.cjs +3 -3
- package/cjs/lib/components/button.wrapper.cjs +3 -3
- package/cjs/lib/components/sheet.wrapper.cjs +29 -0
- package/cjs/public-api.cjs +2 -0
- package/esm/lib/components/button-pure.wrapper.d.ts +8 -0
- package/esm/lib/components/button-pure.wrapper.mjs +3 -3
- package/esm/lib/components/button.wrapper.d.ts +8 -0
- package/esm/lib/components/button.wrapper.mjs +3 -3
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/components/sheet.wrapper.d.ts +72 -0
- package/esm/lib/components/sheet.wrapper.mjs +27 -0
- package/esm/lib/types.d.ts +7 -0
- package/esm/public-api.mjs +1 -0
- package/package.json +2 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +163 -109
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +39 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.cjs +3 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +3 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +2 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +113 -60
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-multilevel-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-multilevel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/optgroup.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-option.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +37 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +1 -0
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/button.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/index.d.ts +1 -0
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +72 -0
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/button.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/sheet.d.ts +14 -0
- package/ssr/esm/lib/types.d.ts +7 -0
|
@@ -3940,7 +3940,7 @@ const formatObjectOutput = (value) => {
|
|
|
3940
3940
|
};
|
|
3941
3941
|
`value, ${formatObjectOutput(breakpoints.reduce((prev, key) => ({ ...prev, [key + (key !== 'base' ? '?' : '')]: 'value' }), {})).replace(/"/g, '')}`;
|
|
3942
3942
|
|
|
3943
|
-
const getComponentCss$
|
|
3943
|
+
const getComponentCss$1a = (size, compact, open, theme, sticky) => {
|
|
3944
3944
|
const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
|
|
3945
3945
|
const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
|
|
3946
3946
|
const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
|
|
@@ -4109,7 +4109,7 @@ const cssVariableTop = '--p-banner-position-top';
|
|
|
4109
4109
|
const cssVariableBottom = '--p-banner-position-bottom';
|
|
4110
4110
|
const cssVariableZIndex = '--p-internal-banner-z-index';
|
|
4111
4111
|
const topBottomFallback = '56px';
|
|
4112
|
-
const getComponentCss$
|
|
4112
|
+
const getComponentCss$19 = (isOpen) => {
|
|
4113
4113
|
return getCss({
|
|
4114
4114
|
'@global': {
|
|
4115
4115
|
':host': {
|
|
@@ -4181,7 +4181,7 @@ const getGroupDirectionJssStyles = (direction) => {
|
|
|
4181
4181
|
return groupDirectionJssStyles[direction];
|
|
4182
4182
|
};
|
|
4183
4183
|
|
|
4184
|
-
const getComponentCss$
|
|
4184
|
+
const getComponentCss$18 = (direction) => {
|
|
4185
4185
|
return getCss({
|
|
4186
4186
|
'@global': {
|
|
4187
4187
|
':host': {
|
|
@@ -4334,7 +4334,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
|
|
|
4334
4334
|
};
|
|
4335
4335
|
};
|
|
4336
4336
|
|
|
4337
|
-
const getComponentCss$
|
|
4337
|
+
const getComponentCss$17 = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
|
|
4338
4338
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
4339
4339
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
|
|
4340
4340
|
root: {
|
|
@@ -4372,7 +4372,7 @@ const getFontWeight = (weight) => {
|
|
|
4372
4372
|
return fontWeightMap[weight];
|
|
4373
4373
|
};
|
|
4374
4374
|
|
|
4375
|
-
const getComponentCss$
|
|
4375
|
+
const getComponentCss$16 = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, isDisabled) => {
|
|
4376
4376
|
const isTopAligned = align === 'top';
|
|
4377
4377
|
return getCss({
|
|
4378
4378
|
'@global': {
|
|
@@ -4642,7 +4642,7 @@ const getDisabledColors = (variant, loading, theme) => {
|
|
|
4642
4642
|
};
|
|
4643
4643
|
return colors[variant === 'tertiary' ? 'secondary' : variant];
|
|
4644
4644
|
};
|
|
4645
|
-
const getComponentCss$
|
|
4645
|
+
const getComponentCss$15 = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
|
|
4646
4646
|
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
4647
4647
|
const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
|
|
4648
4648
|
const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
|
|
@@ -4718,7 +4718,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
|
|
|
4718
4718
|
const mediaQueryM = getMediaQueryMin('m');
|
|
4719
4719
|
// others
|
|
4720
4720
|
const spacingBase = gridGap.replace('36px', '24px');
|
|
4721
|
-
const getComponentCss$
|
|
4721
|
+
const getComponentCss$14 = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
|
|
4722
4722
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
|
|
4723
4723
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
|
|
4724
4724
|
return getCss({
|
|
@@ -5091,7 +5091,7 @@ const getGradient$1 = (theme, gradientColorTheme) => {
|
|
|
5091
5091
|
`rgba(${gradientColor},0.3) 68%,` +
|
|
5092
5092
|
`rgba(${gradientColor},0)`);
|
|
5093
5093
|
};
|
|
5094
|
-
const getComponentCss$
|
|
5094
|
+
const getComponentCss$13 = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation) => {
|
|
5095
5095
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
5096
5096
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
|
|
5097
5097
|
const { canvasTextColor } = getHighContrastColors();
|
|
@@ -5547,7 +5547,7 @@ const getCheckedSVGBackgroundImage$2 = (fill) => {
|
|
|
5547
5547
|
const getIndeterminateSVGBackgroundImage$1 = (fill) => {
|
|
5548
5548
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
|
|
5549
5549
|
};
|
|
5550
|
-
const getComponentCss$
|
|
5550
|
+
const getComponentCss$12 = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
5551
5551
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
5552
5552
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
5553
5553
|
const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
|
|
@@ -5650,7 +5650,7 @@ const getIndeterminateSVGBackgroundImage = (fill) => {
|
|
|
5650
5650
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
|
|
5651
5651
|
};
|
|
5652
5652
|
const cssVarInternalCheckboxScaling = '--p-internal-checkbox-scaling';
|
|
5653
|
-
const getComponentCss$
|
|
5653
|
+
const getComponentCss$11 = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
|
|
5654
5654
|
const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
5655
5655
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
|
|
5656
5656
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -5891,7 +5891,7 @@ const widthMap = {
|
|
|
5891
5891
|
basic: gridBasicOffset,
|
|
5892
5892
|
extended: gridExtendedOffset,
|
|
5893
5893
|
};
|
|
5894
|
-
const getComponentCss
|
|
5894
|
+
const getComponentCss$10 = (width) => {
|
|
5895
5895
|
return getCss({
|
|
5896
5896
|
'@global': {
|
|
5897
5897
|
':host': {
|
|
@@ -5933,7 +5933,7 @@ const getDimensionStyle = {
|
|
|
5933
5933
|
width: 'inherit',
|
|
5934
5934
|
height: 'inherit',
|
|
5935
5935
|
};
|
|
5936
|
-
const getComponentCss
|
|
5936
|
+
const getComponentCss$$ = () => {
|
|
5937
5937
|
return getCss({
|
|
5938
5938
|
'@global': {
|
|
5939
5939
|
':host': {
|
|
@@ -6032,7 +6032,7 @@ const sizeMap$4 = {
|
|
|
6032
6032
|
medium: fontSizeDisplayMedium,
|
|
6033
6033
|
large: fontSizeDisplayLarge,
|
|
6034
6034
|
};
|
|
6035
|
-
const getComponentCss$
|
|
6035
|
+
const getComponentCss$_ = (size, align, color, ellipsis, theme) => {
|
|
6036
6036
|
return getCss({
|
|
6037
6037
|
'@global': {
|
|
6038
6038
|
':host': {
|
|
@@ -6050,7 +6050,7 @@ const getComponentCss$Z = (size, align, color, ellipsis, theme) => {
|
|
|
6050
6050
|
});
|
|
6051
6051
|
};
|
|
6052
6052
|
|
|
6053
|
-
const getComponentCss$
|
|
6053
|
+
const getComponentCss$Z = (color, orientation, theme) => {
|
|
6054
6054
|
const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
6055
6055
|
const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
|
|
6056
6056
|
const colorMap = {
|
|
@@ -6093,7 +6093,7 @@ const getComponentCss$Y = (color, orientation, theme) => {
|
|
|
6093
6093
|
});
|
|
6094
6094
|
};
|
|
6095
6095
|
|
|
6096
|
-
const getComponentCss$
|
|
6096
|
+
const getComponentCss$Y = (state, labelSize, hasLabel, theme) => {
|
|
6097
6097
|
return getCss({
|
|
6098
6098
|
'@global': {
|
|
6099
6099
|
':host': {
|
|
@@ -6130,7 +6130,7 @@ const getComponentCss$X = (state, labelSize, hasLabel, theme) => {
|
|
|
6130
6130
|
});
|
|
6131
6131
|
};
|
|
6132
6132
|
|
|
6133
|
-
const getComponentCss$
|
|
6133
|
+
const getComponentCss$X = (state, labelSize, hasLabel, theme) => {
|
|
6134
6134
|
return getCss({
|
|
6135
6135
|
'@global': {
|
|
6136
6136
|
':host': {
|
|
@@ -6177,7 +6177,7 @@ const flexItemWidths = {
|
|
|
6177
6177
|
full: 100,
|
|
6178
6178
|
auto: 'auto',
|
|
6179
6179
|
};
|
|
6180
|
-
const getComponentCss$
|
|
6180
|
+
const getComponentCss$W = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
6181
6181
|
return getCss({
|
|
6182
6182
|
'@global': {
|
|
6183
6183
|
':host': addImportantToEachRule({
|
|
@@ -6199,7 +6199,7 @@ const getComponentCss$V = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
|
6199
6199
|
});
|
|
6200
6200
|
};
|
|
6201
6201
|
|
|
6202
|
-
const getComponentCss$
|
|
6202
|
+
const getComponentCss$V = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
|
|
6203
6203
|
return getCss({
|
|
6204
6204
|
'@global': {
|
|
6205
6205
|
':host': {
|
|
@@ -6235,7 +6235,7 @@ const scrollerBackground = {
|
|
|
6235
6235
|
dark: 'rgba(0,0,0,.01)',
|
|
6236
6236
|
auto: 'rgba(255,255,255,.01)',
|
|
6237
6237
|
};
|
|
6238
|
-
const getComponentCss$
|
|
6238
|
+
const getComponentCss$U = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
|
|
6239
6239
|
const { backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
|
|
6240
6240
|
const { backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
|
|
6241
6241
|
return getCss({
|
|
@@ -6489,7 +6489,7 @@ const getComponentCss$T = (isOpen, isPrimary, isSecondaryScrollerVisible, theme)
|
|
|
6489
6489
|
});
|
|
6490
6490
|
};
|
|
6491
6491
|
|
|
6492
|
-
const getComponentCss$
|
|
6492
|
+
const getComponentCss$T = (isPrimary, isSecondary, isCascade, theme) => {
|
|
6493
6493
|
const { primaryColor, backgroundColor } = getThemedColors(theme);
|
|
6494
6494
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark } = getThemedColors('dark');
|
|
6495
6495
|
return getCss({
|
|
@@ -6881,7 +6881,7 @@ const getDialogStickyAreaJssStyle = (area, theme) => {
|
|
|
6881
6881
|
const cssVariableWidth$2 = '--p-flyout-width';
|
|
6882
6882
|
// TODO: we shouldn't expose --p-flyout-max-width
|
|
6883
6883
|
const cssVariableMaxWidth = '--p-flyout-max-width';
|
|
6884
|
-
const getComponentCss$
|
|
6884
|
+
const getComponentCss$S = (isOpen, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
|
|
6885
6885
|
const isPositionStart = position === 'start' || position === 'left';
|
|
6886
6886
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
6887
6887
|
return getCss({
|
|
@@ -6991,7 +6991,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
|
|
|
6991
6991
|
const gridItemWidths = [
|
|
6992
6992
|
0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
|
|
6993
6993
|
];
|
|
6994
|
-
const getComponentCss$
|
|
6994
|
+
const getComponentCss$R = (size, offset) => {
|
|
6995
6995
|
return getCss({
|
|
6996
6996
|
'@global': {
|
|
6997
6997
|
':host': addImportantToEachRule({
|
|
@@ -7011,7 +7011,7 @@ const getComponentCss$Q = (size, offset) => {
|
|
|
7011
7011
|
};
|
|
7012
7012
|
|
|
7013
7013
|
const gutter = `calc(${gridGap} / -2)`;
|
|
7014
|
-
const getComponentCss$
|
|
7014
|
+
const getComponentCss$Q = (direction, wrap) => {
|
|
7015
7015
|
return getCss({
|
|
7016
7016
|
'@global': {
|
|
7017
7017
|
':host': {
|
|
@@ -7037,7 +7037,7 @@ const sizeMap$3 = {
|
|
|
7037
7037
|
'x-large': fontSizeHeadingXLarge,
|
|
7038
7038
|
'xx-large': fontSizeHeadingXXLarge,
|
|
7039
7039
|
};
|
|
7040
|
-
const getComponentCss$
|
|
7040
|
+
const getComponentCss$P = (size, align, color, ellipsis, theme) => {
|
|
7041
7041
|
return getCss({
|
|
7042
7042
|
'@global': {
|
|
7043
7043
|
':host': {
|
|
@@ -7097,7 +7097,7 @@ const getTextSizeJssStyle = (textSize) => {
|
|
|
7097
7097
|
fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
|
|
7098
7098
|
};
|
|
7099
7099
|
};
|
|
7100
|
-
const getComponentCss$
|
|
7100
|
+
const getComponentCss$O = (variant, align, color, ellipsis, theme) => {
|
|
7101
7101
|
return getCss({
|
|
7102
7102
|
'@global': {
|
|
7103
7103
|
':host': {
|
|
@@ -7205,7 +7205,7 @@ const isFlippableIcon = (name, source) => {
|
|
|
7205
7205
|
name === 'logout' ||
|
|
7206
7206
|
name === 'send'));
|
|
7207
7207
|
};
|
|
7208
|
-
const getComponentCss$
|
|
7208
|
+
const getComponentCss$N = (name, source, color, size, theme) => {
|
|
7209
7209
|
const isColorInherit = color === 'inherit';
|
|
7210
7210
|
const isSizeInherit = size === 'inherit';
|
|
7211
7211
|
const isDark = isThemeDark(theme);
|
|
@@ -7324,7 +7324,7 @@ const getHeadingJssStyle = (theme) => ({
|
|
|
7324
7324
|
...headingSmallStyle,
|
|
7325
7325
|
...getTextJssStyle(theme),
|
|
7326
7326
|
});
|
|
7327
|
-
const getComponentCss$
|
|
7327
|
+
const getComponentCss$M = (state, hasAction, hasClose, theme) => {
|
|
7328
7328
|
return getCss({
|
|
7329
7329
|
'@global': {
|
|
7330
7330
|
':host': {
|
|
@@ -7364,7 +7364,7 @@ const getComponentCss$L = (state, hasAction, hasClose, theme) => {
|
|
|
7364
7364
|
});
|
|
7365
7365
|
};
|
|
7366
7366
|
|
|
7367
|
-
const getComponentCss$
|
|
7367
|
+
const getComponentCss$L = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
|
|
7368
7368
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme), hasSlottedAnchor && {
|
|
7369
7369
|
'@global': addImportantToEachRule({
|
|
7370
7370
|
'::slotted': {
|
|
@@ -7393,7 +7393,7 @@ const getComponentCss$K = (icon, iconSource, active, stretch, size, hideLabel, a
|
|
|
7393
7393
|
};
|
|
7394
7394
|
|
|
7395
7395
|
const cssVariableInternalLinkScaling = '--p-internal-link-scaling';
|
|
7396
|
-
const getComponentCss$
|
|
7396
|
+
const getComponentCss$K = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, compact, theme) => {
|
|
7397
7397
|
const { linkColor } = getHighContrastColors();
|
|
7398
7398
|
const isPrimary = variant === 'primary';
|
|
7399
7399
|
return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, compact, cssVariableInternalLinkScaling, theme), {
|
|
@@ -7435,7 +7435,7 @@ const getComponentCss$J = (icon, iconSource, variant, hideLabel, hasSlottedAncho
|
|
|
7435
7435
|
}));
|
|
7436
7436
|
};
|
|
7437
7437
|
|
|
7438
|
-
const getComponentCss$
|
|
7438
|
+
const getComponentCss$J = (aspectRatio, weight, // to get deprecated semibold typed
|
|
7439
7439
|
direction, hasDescription) => {
|
|
7440
7440
|
return getCss({
|
|
7441
7441
|
'@global': {
|
|
@@ -7569,7 +7569,7 @@ const getMultilineEllipsis = (lineClamp) => {
|
|
|
7569
7569
|
overflow: 'hidden',
|
|
7570
7570
|
};
|
|
7571
7571
|
};
|
|
7572
|
-
const getComponentCss$
|
|
7572
|
+
const getComponentCss$I = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, hasDescription, aspectRatio, theme) => {
|
|
7573
7573
|
const { primaryColor, contrastHighColor, contrastMediumColor, backgroundSurfaceColor } = getThemedColors(theme);
|
|
7574
7574
|
const { primaryColor: primaryColorDark, contrastHighColor: contrastHighColorDark, contrastMediumColor: contrastMediumColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
|
|
7575
7575
|
return getCss({
|
|
@@ -7708,7 +7708,7 @@ const getComponentCss$H = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, ha
|
|
|
7708
7708
|
});
|
|
7709
7709
|
};
|
|
7710
7710
|
|
|
7711
|
-
const getComponentCss$
|
|
7711
|
+
const getComponentCss$H = (aspectRatio, size, weight, // to get deprecated semibold typed
|
|
7712
7712
|
background, align, compact, hasGradient, isDisabled) => {
|
|
7713
7713
|
const isTopAligned = align === 'top';
|
|
7714
7714
|
return getCss({
|
|
@@ -7849,7 +7849,7 @@ const baseSizes = {
|
|
|
7849
7849
|
height: '72px',
|
|
7850
7850
|
},
|
|
7851
7851
|
};
|
|
7852
|
-
const getComponentCss$
|
|
7852
|
+
const getComponentCss$G = (size) => {
|
|
7853
7853
|
return getCss({
|
|
7854
7854
|
'@global': {
|
|
7855
7855
|
':host': {
|
|
@@ -7899,7 +7899,7 @@ const cssVariableSpacingBottom = '--p-modal-spacing-bottom'; // TODO: maybe --p-
|
|
|
7899
7899
|
const safeZoneVertical = `calc(${spacingFluidSmall} + ${spacingFluidMedium})`;
|
|
7900
7900
|
const safeZoneHorizontal = `${spacingFluidLarge}`;
|
|
7901
7901
|
const cssClassNameStretchToFullModalWidth = 'stretch-to-full-modal-width';
|
|
7902
|
-
const getComponentCss$
|
|
7902
|
+
const getComponentCss$F = (isOpen, backdrop, fullscreen, hasDismissButton, hasHeader, hasFooter, theme) => {
|
|
7903
7903
|
return getCss({
|
|
7904
7904
|
'@global': {
|
|
7905
7905
|
':host': {
|
|
@@ -8037,7 +8037,7 @@ const getThemedColor = (color, themedColors) => {
|
|
|
8037
8037
|
};
|
|
8038
8038
|
return colorMap[color];
|
|
8039
8039
|
};
|
|
8040
|
-
const getComponentCss$
|
|
8040
|
+
const getComponentCss$E = (model, safeZone, size, color, theme) => {
|
|
8041
8041
|
const { width, height } = MODEL_SIGNATURES_MANIFEST[model];
|
|
8042
8042
|
const isSizeInherit = size === 'inherit';
|
|
8043
8043
|
return getCss({
|
|
@@ -8082,7 +8082,7 @@ const getComponentCss$D = (model, safeZone, size, color, theme) => {
|
|
|
8082
8082
|
};
|
|
8083
8083
|
|
|
8084
8084
|
const cssVariableMultiSelectPaddingInlineStart = '--p-internal-multi-select-option-padding-left';
|
|
8085
|
-
const getComponentCss$
|
|
8085
|
+
const getComponentCss$D = (theme) => {
|
|
8086
8086
|
const { primaryColor, contrastHighColor, backgroundSurfaceColor, disabledColor, contrastLowColor } = getThemedColors(theme);
|
|
8087
8087
|
const { primaryColor: primaryColorDark, disabledColor: disabledColorDark, contrastHighColor: contrastHighColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
|
|
8088
8088
|
const { highlightColor } = getHighContrastColors();
|
|
@@ -8274,8 +8274,8 @@ const getCalculatedFormElementPaddingHorizontal = (buttonOrIconAmount) => {
|
|
|
8274
8274
|
return `calc(${formElementLayeredGap} + ${formElementPaddingHorizontal} / 2 + (${fontLineHeight} + ${formButtonOrIconPadding} * 2) * ${buttonOrIconAmount})`;
|
|
8275
8275
|
};
|
|
8276
8276
|
// TODO: re-use in textarea-wrapper not only in text-field-wrapper
|
|
8277
|
-
const getUnitCounterJssStyle = (isDisabled, theme) => {
|
|
8278
|
-
const { disabledColor, contrastMediumColor } = getThemedColors(theme);
|
|
8277
|
+
const getUnitCounterJssStyle = (isDisabled, isReadonly, theme) => {
|
|
8278
|
+
const { disabledColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
8279
8279
|
const { disabledColor: disabledColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
|
|
8280
8280
|
return {
|
|
8281
8281
|
pointerEvents: 'none',
|
|
@@ -8295,10 +8295,13 @@ const getUnitCounterJssStyle = (isDisabled, theme) => {
|
|
|
8295
8295
|
color: disabledColorDark,
|
|
8296
8296
|
}),
|
|
8297
8297
|
}),
|
|
8298
|
+
...(isReadonly && {
|
|
8299
|
+
color: contrastHighColor,
|
|
8300
|
+
})
|
|
8298
8301
|
};
|
|
8299
8302
|
};
|
|
8300
8303
|
|
|
8301
|
-
const getComponentCss$
|
|
8304
|
+
const getComponentCss$C = (direction, isOpen, isDisabled, hideLabel, state, isNativePopoverCase, theme) => {
|
|
8302
8305
|
const { contrastHighColor } = getThemedColors(theme);
|
|
8303
8306
|
const { contrastHighColor: contrastHighColorDark } = getThemedColors('dark');
|
|
8304
8307
|
return getCss({
|
|
@@ -8485,7 +8488,7 @@ const getListStyles$2 = (isOpen, direction, theme) => {
|
|
|
8485
8488
|
|
|
8486
8489
|
const cssVariableSelectPaddingInlineStart = '--p-internal-select-option-padding-left';
|
|
8487
8490
|
// TODO: Enforce order of slotted text, img
|
|
8488
|
-
const getComponentCss$
|
|
8491
|
+
const getComponentCss$B = (theme) => {
|
|
8489
8492
|
return getCss({
|
|
8490
8493
|
'@global': {
|
|
8491
8494
|
...addImportantToEachRule({
|
|
@@ -8576,7 +8579,7 @@ const getOptionStyles = (theme) => {
|
|
|
8576
8579
|
};
|
|
8577
8580
|
};
|
|
8578
8581
|
|
|
8579
|
-
const getComponentCss$
|
|
8582
|
+
const getComponentCss$A = (isDisabled, theme) => getCss({
|
|
8580
8583
|
'@global': {
|
|
8581
8584
|
':host': addImportantToEachRule({
|
|
8582
8585
|
...colorSchemeStyles,
|
|
@@ -8627,7 +8630,7 @@ const disabledCursorStyle = {
|
|
|
8627
8630
|
pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
|
|
8628
8631
|
};
|
|
8629
8632
|
const hiddenStyle = { display: 'none' };
|
|
8630
|
-
const getComponentCss$
|
|
8633
|
+
const getComponentCss$z = (activePage, pageTotal, showLastPage, theme) => {
|
|
8631
8634
|
const { primaryColor, disabledColor, hoverColor } = getThemedColors(theme);
|
|
8632
8635
|
const { primaryColor: primaryColorDark, disabledColor: disabledColorDark, hoverColor: hoverColorDark, } = getThemedColors('dark');
|
|
8633
8636
|
return getCss({
|
|
@@ -8763,7 +8766,7 @@ const removeStyles = (selector, styles) => Object.fromEntries(Object.entries(sty
|
|
|
8763
8766
|
return [key, value];
|
|
8764
8767
|
}));
|
|
8765
8768
|
|
|
8766
|
-
const getComponentCss$
|
|
8769
|
+
const getComponentCss$y = (hideLabel, state, isDisabled, isLoading, length, theme) => {
|
|
8767
8770
|
const inputSize = `calc(${fontLineHeight} + 10px + ${borderWidthBase} * 2 + ${spacingStaticSmall} * 2)`; // equivalent to calculation of input height within form-styles
|
|
8768
8771
|
const inputStyles = removeStyles('input[readonly]', removeSlottedSelector(getSlottedTextFieldTextareaSelectStyles('input', state, isLoading, theme, {
|
|
8769
8772
|
// TODO: move into getSlottedTextFieldTextareaSelectStyles()
|
|
@@ -8939,7 +8942,7 @@ const getDirectionArrowMap = (theme) => {
|
|
|
8939
8942
|
},
|
|
8940
8943
|
};
|
|
8941
8944
|
};
|
|
8942
|
-
const getComponentCss$
|
|
8945
|
+
const getComponentCss$x = (direction, isNativePopoverCase, theme) => {
|
|
8943
8946
|
const { hoverColor, backgroundColor, primaryColor, backgroundSurfaceColor } = getThemedColors(theme);
|
|
8944
8947
|
const { hoverColor: hoverColorDark, primaryColor: primaryColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
|
|
8945
8948
|
const shadowColor = 'rgba(0,0,0,0.3)';
|
|
@@ -9049,7 +9052,7 @@ const getComponentCss$w = (direction, isNativePopoverCase, theme) => {
|
|
|
9049
9052
|
const getCheckedSVGBackgroundImage = (fill) => {
|
|
9050
9053
|
return getInlineSVGBackgroundImage(`<circle fill="${fill}" cx="12" cy="12" r="6"/>`);
|
|
9051
9054
|
};
|
|
9052
|
-
const getComponentCss$
|
|
9055
|
+
const getComponentCss$w = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
9053
9056
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
9054
9057
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
9055
9058
|
return getCss({
|
|
@@ -9151,7 +9154,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
9151
9154
|
`rgba(${gradientColor},0)`);
|
|
9152
9155
|
};
|
|
9153
9156
|
const prevNextWrapperWidth = `calc(${fontLineHeight} + 24px)`;
|
|
9154
|
-
const getComponentCss$
|
|
9157
|
+
const getComponentCss$v = (gradientColor, isNextHidden, isPrevHidden, scrollIndicatorPosition, hasScrollbar, theme) => {
|
|
9155
9158
|
const actionPrevNextStyles = {
|
|
9156
9159
|
position: 'absolute',
|
|
9157
9160
|
top: 0,
|
|
@@ -9284,7 +9287,7 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
|
9284
9287
|
};
|
|
9285
9288
|
};
|
|
9286
9289
|
const getItemPadding = (hasIconAndSlottedContent) => hasIconAndSlottedContent ? `13px ${ITEM_PADDING} 13px 13px` : `13px ${ITEM_PADDING}`;
|
|
9287
|
-
const getComponentCss$
|
|
9290
|
+
const getComponentCss$u = (isDisabled, isSelected, hasIcon, hasSlottedContent, theme) => {
|
|
9288
9291
|
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
|
|
9289
9292
|
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, 'dark');
|
|
9290
9293
|
return getCss({
|
|
@@ -9355,7 +9358,7 @@ const getComponentCss$t = (isDisabled, isSelected, hasIcon, hasSlottedContent, t
|
|
|
9355
9358
|
}),
|
|
9356
9359
|
});
|
|
9357
9360
|
};
|
|
9358
|
-
const getComponentCss$
|
|
9361
|
+
const getComponentCss$t = (maxWidth, columns) => {
|
|
9359
9362
|
return getCss({
|
|
9360
9363
|
'@global': {
|
|
9361
9364
|
':host': {
|
|
@@ -9659,7 +9662,7 @@ const getListStyles$1 = (direction, theme) => {
|
|
|
9659
9662
|
},
|
|
9660
9663
|
};
|
|
9661
9664
|
};
|
|
9662
|
-
const getComponentCss$
|
|
9665
|
+
const getComponentCss$s = (direction, isOpen, state, disabled, filter, isNativePopoverCase, theme) => {
|
|
9663
9666
|
return getCss(
|
|
9664
9667
|
// merge because of global styles
|
|
9665
9668
|
mergeDeep({
|
|
@@ -9683,7 +9686,7 @@ const getComponentCss$r = (direction, isOpen, state, disabled, filter, isNativeP
|
|
|
9683
9686
|
: getButtonStyles$1(direction, isOpen, state, theme), isOpen && getListStyles$1(direction, theme)));
|
|
9684
9687
|
};
|
|
9685
9688
|
|
|
9686
|
-
const getComponentCss$
|
|
9689
|
+
const getComponentCss$r = (isDisabled, hasCustomDropdown, hideLabel, state, theme) => {
|
|
9687
9690
|
return getCss({
|
|
9688
9691
|
'@global': {
|
|
9689
9692
|
':host': {
|
|
@@ -9747,7 +9750,7 @@ const cssVarBorderColor = '--p-select-border-color';
|
|
|
9747
9750
|
const cssVarIconFilter = '--p-select-icon-filter';
|
|
9748
9751
|
const cssVarBackgroundColorFocus = '--p-select-focus-background-color';
|
|
9749
9752
|
const cssVarBorderColorFocus = '--p-select-focus-border-color';
|
|
9750
|
-
const getComponentCss$
|
|
9753
|
+
const getComponentCss$q = (direction, isOpen, isDisabled, hideLabel, state, isNativePopoverCase, theme, hasSlottedImage) => {
|
|
9751
9754
|
return getCss({
|
|
9752
9755
|
'@global': {
|
|
9753
9756
|
':host': {
|
|
@@ -9947,6 +9950,51 @@ const getListStyles = (isOpen, direction, theme) => {
|
|
|
9947
9950
|
};
|
|
9948
9951
|
};
|
|
9949
9952
|
|
|
9953
|
+
const getComponentCss$p = (isOpen, hasDismissButton, theme) => {
|
|
9954
|
+
return getCss({
|
|
9955
|
+
'@global': {
|
|
9956
|
+
':host': {
|
|
9957
|
+
display: 'block',
|
|
9958
|
+
...addImportantToEachRule({
|
|
9959
|
+
...dialogHostJssStyle,
|
|
9960
|
+
...colorSchemeStyles,
|
|
9961
|
+
...hostHiddenStyles,
|
|
9962
|
+
}),
|
|
9963
|
+
},
|
|
9964
|
+
...preventFoucOfNestedElementsStyles,
|
|
9965
|
+
slot: {
|
|
9966
|
+
display: 'block',
|
|
9967
|
+
gridColumn: '2/3',
|
|
9968
|
+
zIndex: 0, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
9969
|
+
},
|
|
9970
|
+
dialog: getDialogJssStyle(isOpen, theme, 'shading'),
|
|
9971
|
+
},
|
|
9972
|
+
scroller: getScrollerJssStyle('fullscreen', theme),
|
|
9973
|
+
sheet: {
|
|
9974
|
+
...dialogGridJssStyle,
|
|
9975
|
+
...getDialogColorJssStyle(theme),
|
|
9976
|
+
...getDialogTransitionJssStyle(isOpen, '^'),
|
|
9977
|
+
width: '100%',
|
|
9978
|
+
alignSelf: 'flex-end',
|
|
9979
|
+
marginBlockStart: spacingFluidLarge, // ensures minimal space at the top to visualize paper sheet like border top radius in case sheet becomes scrollable
|
|
9980
|
+
borderTopLeftRadius: borderRadiusLarge,
|
|
9981
|
+
borderTopRightRadius: borderRadiusLarge,
|
|
9982
|
+
},
|
|
9983
|
+
...(hasDismissButton && {
|
|
9984
|
+
dismiss: {
|
|
9985
|
+
...dismissButtonJssStyle,
|
|
9986
|
+
gridArea: '1/3',
|
|
9987
|
+
zIndex: 2, // ensures dismiss button is above header and content
|
|
9988
|
+
position: 'sticky',
|
|
9989
|
+
insetBlockStart: spacingFluidSmall,
|
|
9990
|
+
marginBlockStart: `calc(${spacingFluidMedium} * -1)`,
|
|
9991
|
+
marginInlineEnd: spacingFluidSmall,
|
|
9992
|
+
placeSelf: 'flex-start flex-end',
|
|
9993
|
+
},
|
|
9994
|
+
}),
|
|
9995
|
+
});
|
|
9996
|
+
};
|
|
9997
|
+
|
|
9950
9998
|
const sizeSmall = '48px';
|
|
9951
9999
|
const sizeMedium = '72px';
|
|
9952
10000
|
const sizeLarge = '104px';
|
|
@@ -10338,6 +10386,7 @@ const isSortable = (active, direction) => {
|
|
|
10338
10386
|
|
|
10339
10387
|
const cssVariableTableHoverColor = '--p-internal-table-hover-color';
|
|
10340
10388
|
const cssVariableTableBorderColor = '--p-internal-table-border-color';
|
|
10389
|
+
const cssVariableTableBorderWidth = '--p-internal-table-border-width';
|
|
10341
10390
|
const cssVariableTableHeadCellIconFilter = '--p-internal-table-head-cell-icon-filter';
|
|
10342
10391
|
const getComponentCss$i = (theme) => {
|
|
10343
10392
|
const { primaryColor, hoverColor, contrastLowColor } = doGetThemedColors(theme);
|
|
@@ -10490,6 +10539,10 @@ const getComponentCss$f = () => {
|
|
|
10490
10539
|
...hostHiddenStyles,
|
|
10491
10540
|
}),
|
|
10492
10541
|
},
|
|
10542
|
+
'::slotted(*)': addImportantToEachRule({
|
|
10543
|
+
[cssVariableTableBorderWidth]: '0px',
|
|
10544
|
+
[cssVariableTableHoverColor]: 'none',
|
|
10545
|
+
}),
|
|
10493
10546
|
},
|
|
10494
10547
|
});
|
|
10495
10548
|
};
|
|
@@ -10500,8 +10553,8 @@ const getComponentCss$e = () => {
|
|
|
10500
10553
|
':host': {
|
|
10501
10554
|
display: 'table-row',
|
|
10502
10555
|
...addImportantToEachRule({
|
|
10503
|
-
borderTop: `1px solid var(${cssVariableTableBorderColor})`,
|
|
10504
|
-
borderBottom: `1px solid var(${cssVariableTableBorderColor})`,
|
|
10556
|
+
borderTop: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10557
|
+
borderBottom: `var(${cssVariableTableBorderWidth},1px) solid var(${cssVariableTableBorderColor})`,
|
|
10505
10558
|
transition: getTransition('background'),
|
|
10506
10559
|
...hostHiddenStyles,
|
|
10507
10560
|
...hoverMediaQuery({
|
|
@@ -10896,7 +10949,7 @@ const showCustomCalendarOrTimeIndicator = (isCalendar, isTime) => {
|
|
|
10896
10949
|
|
|
10897
10950
|
const cssVariableInputPaddingStart = '--p-internal-text-field-input-padding-start';
|
|
10898
10951
|
const cssVariableInputPaddingEnd = '--p-internal-text-field-input-padding-end';
|
|
10899
|
-
const getComponentCss$8 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, showPasswordToggle, isWithinForm, hasSubmitButton, theme, unitLength) => {
|
|
10952
|
+
const getComponentCss$8 = (isDisabled, isReadonly, hideLabel, state, hasUnitOrVisibleCounter, unitPosition, inputType, showPasswordToggle, isWithinForm, hasSubmitButton, theme, unitLength) => {
|
|
10900
10953
|
const isSearch = isType(inputType, 'search');
|
|
10901
10954
|
const isPassword = isType(inputType, 'password');
|
|
10902
10955
|
const isNumber = isType(inputType, 'number');
|
|
@@ -10995,7 +11048,7 @@ const getComponentCss$8 = (isDisabled, hideLabel, state, hasUnitOrVisibleCounter
|
|
|
10995
11048
|
}),
|
|
10996
11049
|
...(hasUnitOrVisibleCounter && {
|
|
10997
11050
|
'unit-counter': {
|
|
10998
|
-
...getUnitCounterJssStyle(isDisabled, theme),
|
|
11051
|
+
...getUnitCounterJssStyle(isDisabled, isReadonly, theme),
|
|
10999
11052
|
gridArea: `1/${unitPosition === 'suffix' ? 5 : 1}/1/${unitPosition === 'suffix' ? 7 : 3}`,
|
|
11000
11053
|
placeSelf: 'center',
|
|
11001
11054
|
paddingInline: unitPosition === 'suffix'
|
|
@@ -11125,7 +11178,7 @@ const getComponentCss$5 = (size, weight, align, color, ellipsis, theme) => {
|
|
|
11125
11178
|
});
|
|
11126
11179
|
};
|
|
11127
11180
|
|
|
11128
|
-
const getComponentCss$4 = (isDisabled, hideLabel, state, hasCounter, theme) => {
|
|
11181
|
+
const getComponentCss$4 = (isDisabled, isReadonly, hideLabel, state, hasCounter, theme) => {
|
|
11129
11182
|
return getCss({
|
|
11130
11183
|
'@global': {
|
|
11131
11184
|
':host': {
|
|
@@ -11165,7 +11218,7 @@ const getComponentCss$4 = (isDisabled, hideLabel, state, hasCounter, theme) => {
|
|
|
11165
11218
|
},
|
|
11166
11219
|
...(hasCounter && {
|
|
11167
11220
|
counter: {
|
|
11168
|
-
...getUnitCounterJssStyle(isDisabled, theme),
|
|
11221
|
+
...getUnitCounterJssStyle(isDisabled, isReadonly, theme),
|
|
11169
11222
|
gridArea: '1/1',
|
|
11170
11223
|
placeSelf: 'flex-end',
|
|
11171
11224
|
padding: `6px calc(${formElementPaddingHorizontal} + ${borderWidthBase})`,
|
|
@@ -11180,7 +11233,7 @@ const getComponentCss$4 = (isDisabled, hideLabel, state, hasCounter, theme) => {
|
|
|
11180
11233
|
});
|
|
11181
11234
|
};
|
|
11182
11235
|
|
|
11183
|
-
const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, resize, theme) => {
|
|
11236
|
+
const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, hasCounter, resize, theme) => {
|
|
11184
11237
|
const { primaryColor, contrastLowColor, contrastMediumColor, disabledColor } = getThemedColors(theme);
|
|
11185
11238
|
const { primaryColor: primaryColorDark, contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, disabledColor: disabledColorDark, } = getThemedColors('dark');
|
|
11186
11239
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -11268,7 +11321,7 @@ const getComponentCss$3 = (isDisabled, hideLabel, state, hasCounter, resize, the
|
|
|
11268
11321
|
},
|
|
11269
11322
|
...(hasCounter && {
|
|
11270
11323
|
counter: {
|
|
11271
|
-
...getUnitCounterJssStyle(isDisabled, theme),
|
|
11324
|
+
...getUnitCounterJssStyle(isDisabled, isReadonly, theme),
|
|
11272
11325
|
gridArea: '1/1',
|
|
11273
11326
|
placeSelf: 'flex-end',
|
|
11274
11327
|
padding: `6px calc(${formElementPaddingHorizontal} + ${borderWidthBase})`,
|
|
@@ -11391,60 +11444,61 @@ const getComponentCss = (size, theme) => {
|
|
|
11391
11444
|
});
|
|
11392
11445
|
};
|
|
11393
11446
|
|
|
11394
|
-
exports.getAccordionCss = getComponentCss$
|
|
11395
|
-
exports.getBannerCss = getComponentCss$
|
|
11396
|
-
exports.getButtonCss = getComponentCss$
|
|
11397
|
-
exports.getButtonGroupCss = getComponentCss$
|
|
11398
|
-
exports.getButtonPureCss = getComponentCss$
|
|
11399
|
-
exports.getButtonTileCss = getComponentCss$
|
|
11400
|
-
exports.getCanvasCss = getComponentCss$
|
|
11401
|
-
exports.getCarouselCss = getComponentCss$
|
|
11402
|
-
exports.getCheckboxCss = getComponentCss$
|
|
11403
|
-
exports.getCheckboxWrapperCss = getComponentCss$
|
|
11404
|
-
exports.getContentWrapperCss = getComponentCss
|
|
11405
|
-
exports.getCrestCss = getComponentCss
|
|
11406
|
-
exports.getDisplayCss = getComponentCss$
|
|
11407
|
-
exports.getDividerCss = getComponentCss$
|
|
11408
|
-
exports.getFieldsetCss = getComponentCss$
|
|
11409
|
-
exports.getFieldsetWrapperCss = getComponentCss$
|
|
11410
|
-
exports.getFlexCss = getComponentCss$
|
|
11411
|
-
exports.getFlexItemCss = getComponentCss$
|
|
11412
|
-
exports.getFlyoutCss = getComponentCss$
|
|
11413
|
-
exports.getFlyoutMultilevelCss = getComponentCss$
|
|
11414
|
-
exports.getFlyoutMultilevelItemCss = getComponentCss$
|
|
11447
|
+
exports.getAccordionCss = getComponentCss$1a;
|
|
11448
|
+
exports.getBannerCss = getComponentCss$19;
|
|
11449
|
+
exports.getButtonCss = getComponentCss$15;
|
|
11450
|
+
exports.getButtonGroupCss = getComponentCss$18;
|
|
11451
|
+
exports.getButtonPureCss = getComponentCss$17;
|
|
11452
|
+
exports.getButtonTileCss = getComponentCss$16;
|
|
11453
|
+
exports.getCanvasCss = getComponentCss$14;
|
|
11454
|
+
exports.getCarouselCss = getComponentCss$13;
|
|
11455
|
+
exports.getCheckboxCss = getComponentCss$11;
|
|
11456
|
+
exports.getCheckboxWrapperCss = getComponentCss$12;
|
|
11457
|
+
exports.getContentWrapperCss = getComponentCss$10;
|
|
11458
|
+
exports.getCrestCss = getComponentCss$$;
|
|
11459
|
+
exports.getDisplayCss = getComponentCss$_;
|
|
11460
|
+
exports.getDividerCss = getComponentCss$Z;
|
|
11461
|
+
exports.getFieldsetCss = getComponentCss$X;
|
|
11462
|
+
exports.getFieldsetWrapperCss = getComponentCss$Y;
|
|
11463
|
+
exports.getFlexCss = getComponentCss$V;
|
|
11464
|
+
exports.getFlexItemCss = getComponentCss$W;
|
|
11465
|
+
exports.getFlyoutCss = getComponentCss$S;
|
|
11466
|
+
exports.getFlyoutMultilevelCss = getComponentCss$U;
|
|
11467
|
+
exports.getFlyoutMultilevelItemCss = getComponentCss$T;
|
|
11415
11468
|
exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
|
|
11416
11469
|
exports.getFunctionalComponentLoadingMessageStyles = getFunctionalComponentLoadingMessageStyles;
|
|
11417
11470
|
exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
|
|
11418
11471
|
exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
|
|
11419
|
-
exports.getGridCss = getComponentCss$
|
|
11420
|
-
exports.getGridItemCss = getComponentCss$
|
|
11421
|
-
exports.getHeadingCss = getComponentCss$
|
|
11422
|
-
exports.getHeadlineCss = getComponentCss$
|
|
11423
|
-
exports.getIconCss = getComponentCss$
|
|
11424
|
-
exports.getInlineNotificationCss = getComponentCss$
|
|
11425
|
-
exports.getLinkCss = getComponentCss$
|
|
11426
|
-
exports.getLinkPureCss = getComponentCss$
|
|
11427
|
-
exports.getLinkSocialCss = getComponentCss$
|
|
11428
|
-
exports.getLinkTileCss = getComponentCss$
|
|
11429
|
-
exports.getLinkTileModelSignatureCss = getComponentCss$
|
|
11430
|
-
exports.getLinkTileProductCss = getComponentCss$
|
|
11431
|
-
exports.getMarqueCss = getComponentCss$
|
|
11432
|
-
exports.getModalCss = getComponentCss$
|
|
11433
|
-
exports.getModelSignatureCss = getComponentCss$
|
|
11434
|
-
exports.getMultiSelectCss = getComponentCss$
|
|
11435
|
-
exports.getMultiSelectOptionCss = getComponentCss$
|
|
11436
|
-
exports.getOptgroupCss = getComponentCss$
|
|
11437
|
-
exports.getPaginationCss = getComponentCss$
|
|
11438
|
-
exports.getPinCodeCss = getComponentCss$
|
|
11439
|
-
exports.getPopoverCss = getComponentCss$
|
|
11440
|
-
exports.getRadioButtonWrapperCss = getComponentCss$
|
|
11441
|
-
exports.getScrollerCss = getComponentCss$
|
|
11442
|
-
exports.getSegmentedControlCss = getComponentCss$
|
|
11443
|
-
exports.getSegmentedControlItemCss = getComponentCss$
|
|
11444
|
-
exports.getSelectCss = getComponentCss$
|
|
11445
|
-
exports.getSelectOptionCss = getComponentCss$
|
|
11446
|
-
exports.getSelectWrapperCss = getComponentCss$
|
|
11447
|
-
exports.getSelectWrapperDropdownCss = getComponentCss$
|
|
11472
|
+
exports.getGridCss = getComponentCss$Q;
|
|
11473
|
+
exports.getGridItemCss = getComponentCss$R;
|
|
11474
|
+
exports.getHeadingCss = getComponentCss$P;
|
|
11475
|
+
exports.getHeadlineCss = getComponentCss$O;
|
|
11476
|
+
exports.getIconCss = getComponentCss$N;
|
|
11477
|
+
exports.getInlineNotificationCss = getComponentCss$M;
|
|
11478
|
+
exports.getLinkCss = getComponentCss$K;
|
|
11479
|
+
exports.getLinkPureCss = getComponentCss$L;
|
|
11480
|
+
exports.getLinkSocialCss = getComponentCss$K;
|
|
11481
|
+
exports.getLinkTileCss = getComponentCss$H;
|
|
11482
|
+
exports.getLinkTileModelSignatureCss = getComponentCss$J;
|
|
11483
|
+
exports.getLinkTileProductCss = getComponentCss$I;
|
|
11484
|
+
exports.getMarqueCss = getComponentCss$G;
|
|
11485
|
+
exports.getModalCss = getComponentCss$F;
|
|
11486
|
+
exports.getModelSignatureCss = getComponentCss$E;
|
|
11487
|
+
exports.getMultiSelectCss = getComponentCss$C;
|
|
11488
|
+
exports.getMultiSelectOptionCss = getComponentCss$D;
|
|
11489
|
+
exports.getOptgroupCss = getComponentCss$A;
|
|
11490
|
+
exports.getPaginationCss = getComponentCss$z;
|
|
11491
|
+
exports.getPinCodeCss = getComponentCss$y;
|
|
11492
|
+
exports.getPopoverCss = getComponentCss$x;
|
|
11493
|
+
exports.getRadioButtonWrapperCss = getComponentCss$w;
|
|
11494
|
+
exports.getScrollerCss = getComponentCss$v;
|
|
11495
|
+
exports.getSegmentedControlCss = getComponentCss$t;
|
|
11496
|
+
exports.getSegmentedControlItemCss = getComponentCss$u;
|
|
11497
|
+
exports.getSelectCss = getComponentCss$q;
|
|
11498
|
+
exports.getSelectOptionCss = getComponentCss$B;
|
|
11499
|
+
exports.getSelectWrapperCss = getComponentCss$r;
|
|
11500
|
+
exports.getSelectWrapperDropdownCss = getComponentCss$s;
|
|
11501
|
+
exports.getSheetCss = getComponentCss$p;
|
|
11448
11502
|
exports.getSpinnerCss = getComponentCss$o;
|
|
11449
11503
|
exports.getStepperHorizontalCss = getComponentCss$m;
|
|
11450
11504
|
exports.getStepperHorizontalItemCss = getComponentCss$n;
|