@porsche-design-system/components-react 3.29.0-rc.2 → 3.29.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
  3. package/cjs/lib/components/input-email.wrapper.cjs +29 -0
  4. package/cjs/public-api.cjs +2 -0
  5. package/esm/lib/components/index.d.ts +1 -0
  6. package/esm/lib/components/input-email.wrapper.d.ts +200 -0
  7. package/esm/lib/components/input-email.wrapper.mjs +27 -0
  8. package/esm/lib/components/input-number.wrapper.d.ts +31 -31
  9. package/esm/lib/components/input-password.wrapper.d.ts +35 -35
  10. package/esm/lib/components/input-search.wrapper.d.ts +31 -31
  11. package/esm/lib/components/input-text.wrapper.d.ts +35 -35
  12. package/esm/lib/components/textarea.wrapper.d.ts +37 -37
  13. package/esm/lib/types.d.ts +4 -27
  14. package/esm/public-api.mjs +1 -0
  15. package/package.json +2 -2
  16. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +77 -56
  17. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.cjs +40 -0
  18. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +2 -2
  19. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +43 -0
  20. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -2
  21. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +2 -0
  22. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +49 -29
  23. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.mjs +38 -0
  24. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
  25. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
  26. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
  27. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
  28. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
  29. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
  30. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
  31. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  32. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +2 -2
  33. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +2 -2
  34. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
  35. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
  36. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
  37. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
  38. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  39. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
  40. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
  41. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
  42. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
  43. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
  44. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
  45. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
  46. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
  47. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
  48. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
  49. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
  50. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
  51. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
  52. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +2 -2
  53. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +41 -0
  54. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +1 -2
  55. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +1 -0
  56. package/ssr/esm/lib/components/index.d.ts +1 -0
  57. package/ssr/esm/lib/components/input-email.wrapper.d.ts +200 -0
  58. package/ssr/esm/lib/components/input-number.wrapper.d.ts +31 -31
  59. package/ssr/esm/lib/components/input-password.wrapper.d.ts +35 -35
  60. package/ssr/esm/lib/components/input-search.wrapper.d.ts +31 -31
  61. package/ssr/esm/lib/components/input-text.wrapper.d.ts +35 -35
  62. package/ssr/esm/lib/components/textarea.wrapper.d.ts +37 -37
  63. package/ssr/esm/lib/dsr-components/input-base.d.ts +2 -0
  64. package/ssr/esm/lib/dsr-components/input-email.d.ts +19 -0
  65. package/ssr/esm/lib/types.d.ts +4 -27
@@ -1,48 +1,48 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { TextareaAutoComplete, BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
2
+ import type { BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
3
3
  export type PTextareaProps = BaseProps & {
4
4
  /**
5
- * Specifies whether the input can be autofilled by the browser
5
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
6
6
  */
7
- autoComplete?: TextareaAutoComplete;
7
+ autoComplete?: string;
8
8
  /**
9
9
  * Show or hide the character counter.
10
10
  */
11
11
  counter?: boolean;
12
12
  /**
13
- * The description text.
13
+ * Supplementary text providing more context or explanation for the textarea.
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * Marks the textarea as disabled.
17
+ * A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
21
- * The id of a form element the textarea should be associated with.
21
+ * Specifies the id of the <form> element that the textarea belongs to (useful if the textarea is not a direct descendant of the form).
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Show or hide label. For better accessibility, it is recommended to show the label.
25
+ * Controls the visibility of the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
29
- * The label text.
29
+ * Text content for a user-facing label.
30
30
  */
31
31
  label?: string;
32
32
  /**
33
- * The max length of the textarea.
33
+ * A non-negative integer specifying the maximum number of characters the user can enter into the textarea.
34
34
  */
35
35
  maxLength?: number;
36
36
  /**
37
- * The message styled depending on validation state.
37
+ * Dynamic feedback text for validation or status.
38
38
  */
39
39
  message?: string;
40
40
  /**
41
- * The min length of the textarea.
41
+ * A non-negative integer specifying the minimum number of characters required for the textarea's value to be considered valid.
42
42
  */
43
43
  minLength?: number;
44
44
  /**
45
- * The name of the textarea.
45
+ * The name of the textarea, used when submitting the form data.
46
46
  */
47
47
  name: string;
48
48
  /**
@@ -58,15 +58,15 @@ export type PTextareaProps = BaseProps & {
58
58
  */
59
59
  onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
60
60
  /**
61
- * The placeholder text.
61
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Write your message here...'). This text is displayed when the textarea is empty.
62
62
  */
63
63
  placeholder?: string;
64
64
  /**
65
- * Specifies whether the textarea should be read-only.
65
+ * A boolean value that, if present, makes the textarea uneditable by the user, but its value will still be submitted with the form.
66
66
  */
67
67
  readOnly?: boolean;
68
68
  /**
69
- * Marks the textarea as required.
69
+ * A boolean value that, if present, indicates that the textarea must be filled out before the form can be submitted.
70
70
  */
71
71
  required?: boolean;
72
72
  /**
@@ -78,15 +78,15 @@ export type PTextareaProps = BaseProps & {
78
78
  */
79
79
  rows?: number;
80
80
  /**
81
- * Specifies whether the input should have its spelling and grammar checked
81
+ * Specifies whether the textarea should have its spelling and grammar checked
82
82
  */
83
83
  spellCheck?: boolean;
84
84
  /**
85
- * The validation state.
85
+ * Indicates the validation or overall status of the textarea component.
86
86
  */
87
87
  state?: TextareaState;
88
88
  /**
89
- * Adapts the color depending on the theme.
89
+ * Controls the visual appearance of the component.
90
90
  */
91
91
  theme?: Theme;
92
92
  /**
@@ -94,53 +94,53 @@ export type PTextareaProps = BaseProps & {
94
94
  */
95
95
  value?: string;
96
96
  /**
97
- * Handles wrapping behaviour of elements.
97
+ * Handles wrapping behavior of elements.
98
98
  */
99
99
  wrap?: TextareaWrap;
100
100
  };
101
101
  export declare const PTextarea: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
102
102
  /**
103
- * Specifies whether the input can be autofilled by the browser
103
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
104
104
  */
105
- autoComplete?: TextareaAutoComplete;
105
+ autoComplete?: string;
106
106
  /**
107
107
  * Show or hide the character counter.
108
108
  */
109
109
  counter?: boolean;
110
110
  /**
111
- * The description text.
111
+ * Supplementary text providing more context or explanation for the textarea.
112
112
  */
113
113
  description?: string;
114
114
  /**
115
- * Marks the textarea as disabled.
115
+ * A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
116
116
  */
117
117
  disabled?: boolean;
118
118
  /**
119
- * The id of a form element the textarea should be associated with.
119
+ * Specifies the id of the <form> element that the textarea belongs to (useful if the textarea is not a direct descendant of the form).
120
120
  */
121
121
  form?: string;
122
122
  /**
123
- * Show or hide label. For better accessibility, it is recommended to show the label.
123
+ * Controls the visibility of the label.
124
124
  */
125
125
  hideLabel?: BreakpointCustomizable<boolean>;
126
126
  /**
127
- * The label text.
127
+ * Text content for a user-facing label.
128
128
  */
129
129
  label?: string;
130
130
  /**
131
- * The max length of the textarea.
131
+ * A non-negative integer specifying the maximum number of characters the user can enter into the textarea.
132
132
  */
133
133
  maxLength?: number;
134
134
  /**
135
- * The message styled depending on validation state.
135
+ * Dynamic feedback text for validation or status.
136
136
  */
137
137
  message?: string;
138
138
  /**
139
- * The min length of the textarea.
139
+ * A non-negative integer specifying the minimum number of characters required for the textarea's value to be considered valid.
140
140
  */
141
141
  minLength?: number;
142
142
  /**
143
- * The name of the textarea.
143
+ * The name of the textarea, used when submitting the form data.
144
144
  */
145
145
  name: string;
146
146
  /**
@@ -156,15 +156,15 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
156
156
  */
157
157
  onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
158
158
  /**
159
- * The placeholder text.
159
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Write your message here...'). This text is displayed when the textarea is empty.
160
160
  */
161
161
  placeholder?: string;
162
162
  /**
163
- * Specifies whether the textarea should be read-only.
163
+ * A boolean value that, if present, makes the textarea uneditable by the user, but its value will still be submitted with the form.
164
164
  */
165
165
  readOnly?: boolean;
166
166
  /**
167
- * Marks the textarea as required.
167
+ * A boolean value that, if present, indicates that the textarea must be filled out before the form can be submitted.
168
168
  */
169
169
  required?: boolean;
170
170
  /**
@@ -176,15 +176,15 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
176
176
  */
177
177
  rows?: number;
178
178
  /**
179
- * Specifies whether the input should have its spelling and grammar checked
179
+ * Specifies whether the textarea should have its spelling and grammar checked
180
180
  */
181
181
  spellCheck?: boolean;
182
182
  /**
183
- * The validation state.
183
+ * Indicates the validation or overall status of the textarea component.
184
184
  */
185
185
  state?: TextareaState;
186
186
  /**
187
- * Adapts the color depending on the theme.
187
+ * Controls the visual appearance of the component.
188
188
  */
189
189
  theme?: Theme;
190
190
  /**
@@ -192,7 +192,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
192
192
  */
193
193
  value?: string;
194
194
  /**
195
- * Handles wrapping behaviour of elements.
195
+ * Handles wrapping behavior of elements.
196
196
  */
197
197
  wrap?: TextareaWrap;
198
198
  } & {
@@ -1090,41 +1090,23 @@ declare const ICON_COLORS: readonly [
1090
1090
  "state-disabled"
1091
1091
  ];
1092
1092
  export type IconColor = (typeof ICON_COLORS)[number];
1093
+ export type InputEmailState = FormState;
1094
+ export type InputEmailChangeEventDetail = Event;
1095
+ export type InputEmailBlurEventDetail = Event;
1096
+ export type InputEmailInputEventDetail = InputEvent;
1093
1097
  export type InputNumberState = FormState;
1094
- declare const INPUT_NUMBER_AUTO_COMPLETE: readonly [
1095
- "off",
1096
- "on"
1097
- ];
1098
- export type InputNumberAutoComplete = (typeof INPUT_NUMBER_AUTO_COMPLETE)[number];
1099
1098
  export type InputNumberChangeEventDetail = Event;
1100
1099
  export type InputNumberBlurEventDetail = Event;
1101
1100
  export type InputNumberInputEventDetail = InputEvent;
1102
1101
  export type InputPasswordState = FormState;
1103
- declare const INPUT_PASSWORD_AUTO_COMPLETE: readonly [
1104
- "off",
1105
- "on",
1106
- "current-password",
1107
- "new-password"
1108
- ];
1109
- export type InputPasswordAutoComplete = (typeof INPUT_PASSWORD_AUTO_COMPLETE)[number];
1110
1102
  export type InputPasswordChangeEventDetail = Event;
1111
1103
  export type InputPasswordBlurEventDetail = Event;
1112
1104
  export type InputPasswordInputEventDetail = InputEvent;
1113
1105
  export type InputSearchState = FormState;
1114
- declare const INPUT_SEARCH_AUTO_COMPLETE: readonly [
1115
- "off",
1116
- "on"
1117
- ];
1118
- export type InputSearchAutoComplete = (typeof INPUT_SEARCH_AUTO_COMPLETE)[number];
1119
1106
  export type InputSearchChangeEventDetail = Event;
1120
1107
  export type InputSearchBlurEventDetail = Event;
1121
1108
  export type InputSearchInputEventDetail = InputEvent;
1122
1109
  export type InputTextState = FormState;
1123
- declare const INPUT_TEXT_AUTO_COMPLETE: readonly [
1124
- "off",
1125
- "on"
1126
- ];
1127
- export type InputTextAutoComplete = (typeof INPUT_TEXT_AUTO_COMPLETE)[number];
1128
1110
  export type InputTextChangeEventDetail = Event;
1129
1111
  export type InputTextBlurEventDetail = Event;
1130
1112
  export type InputTextInputEventDetail = InputEvent;
@@ -1516,11 +1498,6 @@ declare const TEXT_LIST_TYPES: readonly [
1516
1498
  ];
1517
1499
  export type TextListType = (typeof TEXT_LIST_TYPES)[number];
1518
1500
  export type TextareaState = FormState;
1519
- declare const AUTO_COMPLETE: readonly [
1520
- "off",
1521
- "on"
1522
- ];
1523
- export type TextareaAutoComplete = (typeof AUTO_COMPLETE)[number];
1524
1501
  declare const TEXTAREA_WRAPS: readonly [
1525
1502
  "hard",
1526
1503
  "soft",
@@ -27,6 +27,7 @@ export { PHeading } from './lib/components/heading.wrapper.mjs';
27
27
  export { PHeadline } from './lib/components/headline.wrapper.mjs';
28
28
  export { PIcon } from './lib/components/icon.wrapper.mjs';
29
29
  export { PInlineNotification } from './lib/components/inline-notification.wrapper.mjs';
30
+ export { PInputEmail } from './lib/components/input-email.wrapper.mjs';
30
31
  export { PInputNumber } from './lib/components/input-number.wrapper.mjs';
31
32
  export { PInputPassword } from './lib/components/input-password.wrapper.mjs';
32
33
  export { PInputSearch } from './lib/components/input-search.wrapper.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-react",
3
- "version": "3.29.0-rc.2",
3
+ "version": "3.29.0-rc.3",
4
4
  "description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
5
5
  "keywords": [
6
6
  "porsche",
@@ -17,7 +17,7 @@
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "homepage": "https://designsystem.porsche.com",
19
19
  "dependencies": {
20
- "@porsche-design-system/components-js": "3.29.0-rc.2"
20
+ "@porsche-design-system/components-js": "3.29.0-rc.3"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "ag-grid-community": ">= 33.0.0 <35.0.0",
@@ -3923,7 +3923,7 @@ const formatObjectOutput = (value) => {
3923
3923
 
3924
3924
  const OPTION_LIST_SAFE_ZONE = 6;
3925
3925
 
3926
- const getComponentCss$1f = (size, compact, open, theme, sticky) => {
3926
+ const getComponentCss$1g = (size, compact, open, theme, sticky) => {
3927
3927
  const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
3928
3928
  const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
3929
3929
  const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
@@ -4095,7 +4095,7 @@ const cssVariableTop = '--p-banner-position-top';
4095
4095
  const cssVariableBottom = '--p-banner-position-bottom';
4096
4096
  const cssVariableZIndex = '--p-internal-banner-z-index';
4097
4097
  const topBottomFallback = '56px';
4098
- const getComponentCss$1e = (isOpen) => {
4098
+ const getComponentCss$1f = (isOpen) => {
4099
4099
  return getCss({
4100
4100
  '@global': {
4101
4101
  ':host': {
@@ -4167,7 +4167,7 @@ const getGroupDirectionJssStyles = (direction) => {
4167
4167
  return groupDirectionJssStyles[direction];
4168
4168
  };
4169
4169
 
4170
- const getComponentCss$1d = (direction) => {
4170
+ const getComponentCss$1e = (direction) => {
4171
4171
  return getCss({
4172
4172
  '@global': {
4173
4173
  ':host': {
@@ -4320,7 +4320,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
4320
4320
  };
4321
4321
  };
4322
4322
 
4323
- const getComponentCss$1c = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
4323
+ const getComponentCss$1d = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
4324
4324
  const hasIcon = hasVisibleIcon(icon, iconSource);
4325
4325
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
4326
4326
  root: {
@@ -4358,7 +4358,7 @@ const getFontWeight = (weight) => {
4358
4358
  return fontWeightMap[weight];
4359
4359
  };
4360
4360
 
4361
- const getComponentCss$1b = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, isDisabled) => {
4361
+ const getComponentCss$1c = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, isDisabled) => {
4362
4362
  const isTopAligned = align === 'top';
4363
4363
  return getCss({
4364
4364
  '@global': {
@@ -4628,7 +4628,7 @@ const getDisabledColors = (variant, loading, theme) => {
4628
4628
  };
4629
4629
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4630
4630
  };
4631
- const getComponentCss$1a = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
4631
+ const getComponentCss$1b = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
4632
4632
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4633
4633
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4634
4634
  const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
@@ -4704,7 +4704,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
4704
4704
  const mediaQueryM = getMediaQueryMin('m');
4705
4705
  // others
4706
4706
  const spacingBase = gridGap.replace('36px', '24px');
4707
- const getComponentCss$19 = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
4707
+ const getComponentCss$1a = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
4708
4708
  const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
4709
4709
  const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
4710
4710
  return getCss({
@@ -5083,7 +5083,7 @@ const getGradient$1 = (theme, gradientColorTheme) => {
5083
5083
  `rgba(${gradientColor},0.3) 68%,` +
5084
5084
  `rgba(${gradientColor},0)`);
5085
5085
  };
5086
- const getComponentCss$18 = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
5086
+ const getComponentCss$19 = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
5087
5087
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
5088
5088
  const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
5089
5089
  const { canvasTextColor } = getHighContrastColors();
@@ -5541,7 +5541,7 @@ const getCheckedSVGBackgroundImage$2 = (fill) => {
5541
5541
  const getIndeterminateSVGBackgroundImage$1 = (fill) => {
5542
5542
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
5543
5543
  };
5544
- const getComponentCss$17 = (hideLabel, state, isDisabled, isLoading, theme) => {
5544
+ const getComponentCss$18 = (hideLabel, state, isDisabled, isLoading, theme) => {
5545
5545
  const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
5546
5546
  const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
5547
5547
  const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
@@ -5743,7 +5743,7 @@ const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
5743
5743
  const getIndeterminateSVGBackgroundImage = (fill) => {
5744
5744
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
5745
5745
  };
5746
- const getComponentCss$16 = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
5746
+ const getComponentCss$17 = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
5747
5747
  const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
5748
5748
  const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
5749
5749
  const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
@@ -6167,7 +6167,7 @@ const widthMap = {
6167
6167
  basic: gridBasicOffset,
6168
6168
  extended: gridExtendedOffset,
6169
6169
  };
6170
- const getComponentCss$15 = (width) => {
6170
+ const getComponentCss$16 = (width) => {
6171
6171
  return getCss({
6172
6172
  '@global': {
6173
6173
  ':host': {
@@ -6209,7 +6209,7 @@ const getDimensionStyle = {
6209
6209
  width: 'inherit',
6210
6210
  height: 'inherit',
6211
6211
  };
6212
- const getComponentCss$14 = () => {
6212
+ const getComponentCss$15 = () => {
6213
6213
  return getCss({
6214
6214
  '@global': {
6215
6215
  ':host': {
@@ -6308,7 +6308,7 @@ const sizeMap$4 = {
6308
6308
  medium: fontSizeDisplayMedium,
6309
6309
  large: fontSizeDisplayLarge,
6310
6310
  };
6311
- const getComponentCss$13 = (size, align, color, ellipsis, theme) => {
6311
+ const getComponentCss$14 = (size, align, color, ellipsis, theme) => {
6312
6312
  return getCss({
6313
6313
  '@global': {
6314
6314
  ':host': {
@@ -6326,7 +6326,7 @@ const getComponentCss$13 = (size, align, color, ellipsis, theme) => {
6326
6326
  });
6327
6327
  };
6328
6328
 
6329
- const getComponentCss$12 = (color, orientation, theme) => {
6329
+ const getComponentCss$13 = (color, orientation, theme) => {
6330
6330
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
6331
6331
  const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
6332
6332
  const colorMap = {
@@ -6387,7 +6387,7 @@ const easingOpen = 'in';
6387
6387
  const dialogDurationClose = 'short';
6388
6388
  const backdropDurationClose = 'moderate';
6389
6389
  const easingClose = 'out';
6390
- const getComponentCss$11 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
6390
+ const getComponentCss$12 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
6391
6391
  const { primaryColor, backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
6392
6392
  const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
6393
6393
  return getCss({
@@ -6634,7 +6634,7 @@ const getComponentCss$11 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme
6634
6634
  });
6635
6635
  };
6636
6636
 
6637
- const getComponentCss$10 = (isPrimary, isSecondary, isCascade) => {
6637
+ const getComponentCss$11 = (isPrimary, isSecondary, isCascade) => {
6638
6638
  return getCss({
6639
6639
  '@global': {
6640
6640
  '@keyframes slide-up-mobile': {
@@ -6865,7 +6865,7 @@ const getComponentCss$10 = (isPrimary, isSecondary, isCascade) => {
6865
6865
  });
6866
6866
  };
6867
6867
 
6868
- const getComponentCss$$ = (hasSlottedAnchor, isActive) => {
6868
+ const getComponentCss$10 = (hasSlottedAnchor, isActive) => {
6869
6869
  const anchorJssStyle = {
6870
6870
  all: 'unset',
6871
6871
  padding: `calc(${spacingFluidSmall} + 2px) calc(${spacingFluidSmall} + 4px)`, // aligned with link-pure
@@ -6917,7 +6917,7 @@ const getComponentCss$$ = (hasSlottedAnchor, isActive) => {
6917
6917
  });
6918
6918
  };
6919
6919
 
6920
- const getComponentCss$_ = (state, labelSize, hasLabel, theme) => {
6920
+ const getComponentCss$$ = (state, labelSize, hasLabel, theme) => {
6921
6921
  return getCss({
6922
6922
  '@global': {
6923
6923
  ':host': {
@@ -6954,7 +6954,7 @@ const getComponentCss$_ = (state, labelSize, hasLabel, theme) => {
6954
6954
  });
6955
6955
  };
6956
6956
 
6957
- const getComponentCss$Z = (state, labelSize, hasLabel, theme) => {
6957
+ const getComponentCss$_ = (state, labelSize, hasLabel, theme) => {
6958
6958
  return getCss({
6959
6959
  '@global': {
6960
6960
  ':host': {
@@ -7001,7 +7001,7 @@ const flexItemWidths = {
7001
7001
  full: 100,
7002
7002
  auto: 'auto',
7003
7003
  };
7004
- const getComponentCss$Y = (width, offset, alignSelf, grow, shrink, flex) => {
7004
+ const getComponentCss$Z = (width, offset, alignSelf, grow, shrink, flex) => {
7005
7005
  return getCss({
7006
7006
  '@global': {
7007
7007
  ':host': addImportantToEachRule({
@@ -7023,7 +7023,7 @@ const getComponentCss$Y = (width, offset, alignSelf, grow, shrink, flex) => {
7023
7023
  });
7024
7024
  };
7025
7025
 
7026
- const getComponentCss$X = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
7026
+ const getComponentCss$Y = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
7027
7027
  return getCss({
7028
7028
  '@global': {
7029
7029
  ':host': {
@@ -7220,7 +7220,7 @@ const cssVarRefPaddingTop = '--ref-p-flyout-pt';
7220
7220
  const cssVarRefPaddingInline = '--ref-p-flyout-px';
7221
7221
  // TODO: we shouldn't expose --p-flyout-max-width
7222
7222
  const cssVariableMaxWidth = '--p-flyout-max-width';
7223
- const getComponentCss$W = (isOpen, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
7223
+ const getComponentCss$X = (isOpen, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
7224
7224
  const isPositionStart = position === 'start' || position === 'left';
7225
7225
  const isFooterFixed = footerBehavior === 'fixed';
7226
7226
  return getCss({
@@ -7332,7 +7332,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
7332
7332
  const gridItemWidths = [
7333
7333
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
7334
7334
  ];
7335
- const getComponentCss$V = (size, offset) => {
7335
+ const getComponentCss$W = (size, offset) => {
7336
7336
  return getCss({
7337
7337
  '@global': {
7338
7338
  ':host': addImportantToEachRule({
@@ -7352,7 +7352,7 @@ const getComponentCss$V = (size, offset) => {
7352
7352
  };
7353
7353
 
7354
7354
  const gutter = `calc(${gridGap} / -2)`;
7355
- const getComponentCss$U = (direction, wrap) => {
7355
+ const getComponentCss$V = (direction, wrap) => {
7356
7356
  return getCss({
7357
7357
  '@global': {
7358
7358
  ':host': {
@@ -7378,7 +7378,7 @@ const sizeMap$3 = {
7378
7378
  'x-large': fontSizeHeadingXLarge,
7379
7379
  'xx-large': fontSizeHeadingXXLarge,
7380
7380
  };
7381
- const getComponentCss$T = (size, align, color, ellipsis, theme) => {
7381
+ const getComponentCss$U = (size, align, color, ellipsis, theme) => {
7382
7382
  return getCss({
7383
7383
  '@global': {
7384
7384
  ':host': {
@@ -7438,7 +7438,7 @@ const getTextSizeJssStyle = (textSize) => {
7438
7438
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
7439
7439
  };
7440
7440
  };
7441
- const getComponentCss$S = (variant, align, color, ellipsis, theme) => {
7441
+ const getComponentCss$T = (variant, align, color, ellipsis, theme) => {
7442
7442
  return getCss({
7443
7443
  '@global': {
7444
7444
  ':host': {
@@ -7549,7 +7549,7 @@ const isFlippableIcon = (name, source) => {
7549
7549
  name === 'return' ||
7550
7550
  name === 'send'));
7551
7551
  };
7552
- const getComponentCss$R = (name, source, color, size, theme) => {
7552
+ const getComponentCss$S = (name, source, color, size, theme) => {
7553
7553
  const isColorInherit = color === 'inherit';
7554
7554
  const isSizeInherit = size === 'inherit';
7555
7555
  const isDark = isThemeDark(theme);
@@ -7668,7 +7668,7 @@ const getHeadingJssStyle = (theme) => ({
7668
7668
  ...headingSmallStyle,
7669
7669
  ...getTextJssStyle(theme),
7670
7670
  });
7671
- const getComponentCss$Q = (state, hasAction, hasClose, theme) => {
7671
+ const getComponentCss$R = (state, hasAction, hasClose, theme) => {
7672
7672
  return getCss({
7673
7673
  '@global': {
7674
7674
  ':host': {
@@ -7708,6 +7708,26 @@ const getComponentCss$Q = (state, hasAction, hasClose, theme) => {
7708
7708
  });
7709
7709
  };
7710
7710
 
7711
+ // CSS Variables defined in base input
7712
+ /**
7713
+ * @css-variable {"name": "--ref-p-input-slotted-padding", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `padding` in oder to adjust the alignment correctly."}
7714
+ */
7715
+ /**
7716
+ * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
7717
+ */
7718
+ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
7719
+ return getCss({
7720
+ ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
7721
+ textOverflow: 'ellipsis',
7722
+ MozAppearance: 'textfield',
7723
+ '&::-webkit-inner-spin-button, &::-webkit-outer-spin-button': {
7724
+ WebkitAppearance: 'none',
7725
+ },
7726
+ }),
7727
+ 'sr-only': getHiddenTextJssStyle(),
7728
+ });
7729
+ };
7730
+
7711
7731
  // CSS Variables defined in base input
7712
7732
  /**
7713
7733
  * @css-variable {"name": "--ref-p-input-slotted-padding", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `padding` in oder to adjust the alignment correctly."}
@@ -11493,39 +11513,40 @@ const getComponentCss = (size, theme) => {
11493
11513
  exports.cssVarButtonPureMargin = cssVarButtonPureMargin;
11494
11514
  exports.cssVarButtonPurePadding = cssVarButtonPurePadding;
11495
11515
  exports.cssVarInternalInputBaseScaling = cssVarInternalInputBaseScaling;
11496
- exports.getAccordionCss = getComponentCss$1f;
11497
- exports.getBannerCss = getComponentCss$1e;
11498
- exports.getButtonCss = getComponentCss$1a;
11499
- exports.getButtonGroupCss = getComponentCss$1d;
11500
- exports.getButtonPureCss = getComponentCss$1c;
11501
- exports.getButtonTileCss = getComponentCss$1b;
11502
- exports.getCanvasCss = getComponentCss$19;
11503
- exports.getCarouselCss = getComponentCss$18;
11504
- exports.getCheckboxCss = getComponentCss$16;
11505
- exports.getCheckboxWrapperCss = getComponentCss$17;
11506
- exports.getContentWrapperCss = getComponentCss$15;
11507
- exports.getCrestCss = getComponentCss$14;
11508
- exports.getDisplayCss = getComponentCss$13;
11509
- exports.getDividerCss = getComponentCss$12;
11510
- exports.getDrilldownCss = getComponentCss$11;
11511
- exports.getDrilldownItemCss = getComponentCss$10;
11512
- exports.getDrilldownLinkCss = getComponentCss$$;
11513
- exports.getFieldsetCss = getComponentCss$Z;
11514
- exports.getFieldsetWrapperCss = getComponentCss$_;
11515
- exports.getFlexCss = getComponentCss$X;
11516
- exports.getFlexItemCss = getComponentCss$Y;
11517
- exports.getFlyoutCss = getComponentCss$W;
11516
+ exports.getAccordionCss = getComponentCss$1g;
11517
+ exports.getBannerCss = getComponentCss$1f;
11518
+ exports.getButtonCss = getComponentCss$1b;
11519
+ exports.getButtonGroupCss = getComponentCss$1e;
11520
+ exports.getButtonPureCss = getComponentCss$1d;
11521
+ exports.getButtonTileCss = getComponentCss$1c;
11522
+ exports.getCanvasCss = getComponentCss$1a;
11523
+ exports.getCarouselCss = getComponentCss$19;
11524
+ exports.getCheckboxCss = getComponentCss$17;
11525
+ exports.getCheckboxWrapperCss = getComponentCss$18;
11526
+ exports.getContentWrapperCss = getComponentCss$16;
11527
+ exports.getCrestCss = getComponentCss$15;
11528
+ exports.getDisplayCss = getComponentCss$14;
11529
+ exports.getDividerCss = getComponentCss$13;
11530
+ exports.getDrilldownCss = getComponentCss$12;
11531
+ exports.getDrilldownItemCss = getComponentCss$11;
11532
+ exports.getDrilldownLinkCss = getComponentCss$10;
11533
+ exports.getFieldsetCss = getComponentCss$_;
11534
+ exports.getFieldsetWrapperCss = getComponentCss$$;
11535
+ exports.getFlexCss = getComponentCss$Y;
11536
+ exports.getFlexItemCss = getComponentCss$Z;
11537
+ exports.getFlyoutCss = getComponentCss$X;
11518
11538
  exports.getFunctionalComponentInputBaseStyles = getFunctionalComponentInputBaseStyles;
11519
11539
  exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
11520
11540
  exports.getFunctionalComponentLoadingMessageStyles = getFunctionalComponentLoadingMessageStyles;
11521
11541
  exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
11522
11542
  exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
11523
- exports.getGridCss = getComponentCss$U;
11524
- exports.getGridItemCss = getComponentCss$V;
11525
- exports.getHeadingCss = getComponentCss$T;
11526
- exports.getHeadlineCss = getComponentCss$S;
11527
- exports.getIconCss = getComponentCss$R;
11528
- exports.getInlineNotificationCss = getComponentCss$Q;
11543
+ exports.getGridCss = getComponentCss$V;
11544
+ exports.getGridItemCss = getComponentCss$W;
11545
+ exports.getHeadingCss = getComponentCss$U;
11546
+ exports.getHeadlineCss = getComponentCss$T;
11547
+ exports.getIconCss = getComponentCss$S;
11548
+ exports.getInlineNotificationCss = getComponentCss$R;
11549
+ exports.getInputEmailCss = getComponentCss$Q;
11529
11550
  exports.getInputNumberCss = getComponentCss$P;
11530
11551
  exports.getInputPasswordCss = getComponentCss$O;
11531
11552
  exports.getInputSearchCss = getComponentCss$N;