@stella-source/stellasource-dsl 3.1.0 → 3.1.2
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/dist/cjs/index.js +7 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/TextField/NumberInput/NumberInput.d.ts +1 -1
- package/dist/cjs/types/components/TextField/NumberInput/types.d.ts +1 -0
- package/dist/cjs/types/components/TextField/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/cjs/types/components/TextField/PasswordInput/types.d.ts +1 -0
- package/dist/cjs/types/components/TextField/TextInput/TextInput.d.ts +1 -1
- package/dist/cjs/types/components/TextField/TextInput/types.d.ts +1 -0
- package/dist/esm/index.esm.js +7 -7
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/types/components/TextField/NumberInput/NumberInput.d.ts +1 -1
- package/dist/esm/types/components/TextField/NumberInput/types.d.ts +1 -0
- package/dist/esm/types/components/TextField/PasswordInput/PasswordInput.d.ts +1 -1
- package/dist/esm/types/components/TextField/PasswordInput/types.d.ts +1 -0
- package/dist/esm/types/components/TextField/TextInput/TextInput.d.ts +1 -1
- package/dist/esm/types/components/TextField/TextInput/types.d.ts +1 -0
- package/dist/index.d.ts +6 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NumberInputProps } from "./types";
|
|
3
|
-
declare const NumberInput: ({ id, className, htmlProps, leftCategory, rightCategory, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, isTruncated, helperTextAffectLayout, hideLabel, disabled, isLoading, hasError, thousandSeparator, decimalPlaces, allowNegativeNumbers, ariaDescribedBy, }: NumberInputProps) => React.JSX.Element;
|
|
3
|
+
declare const NumberInput: ({ id, className, htmlProps, leftCategory, rightCategory, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, isTruncated, helperTextAffectLayout, hideLabel, disabled, isLoading, hasError, thousandSeparator, decimalPlaces, allowNegativeNumbers, ariaDescribedBy, enableAutocomplete, }: NumberInputProps) => React.JSX.Element;
|
|
4
4
|
export default NumberInput;
|
|
@@ -28,6 +28,7 @@ export interface NumberInputProps {
|
|
|
28
28
|
thousandSeparator?: boolean;
|
|
29
29
|
decimalPlaces?: number;
|
|
30
30
|
allowNegativeNumbers?: boolean;
|
|
31
|
+
enableAutocomplete?: boolean;
|
|
31
32
|
/** for any extra text elements that need to be associated */
|
|
32
33
|
ariaDescribedBy?: string;
|
|
33
34
|
htmlProps?: HTMLAttributes<HTMLInputElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PasswordInputProps } from "./types";
|
|
3
|
-
declare const PasswordInput: ({ id, className, htmlProps, label, placeholder, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, textAlign, isHidden, helperTextAffectLayout, hideLabel, disabled, hasError, ariaDescribedBy, }: PasswordInputProps) => React.JSX.Element;
|
|
3
|
+
declare const PasswordInput: ({ id, className, htmlProps, label, placeholder, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, textAlign, isHidden, helperTextAffectLayout, hideLabel, disabled, hasError, ariaDescribedBy, enableAutocomplete, }: PasswordInputProps) => React.JSX.Element;
|
|
4
4
|
export default PasswordInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TextInputProps } from "./types";
|
|
3
|
-
declare const TextInput: ({ id, className, htmlProps, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, helperTextAffectLayout, hideLabel, disabled, hasError, isLoading, ariaDescribedBy, }: TextInputProps) => React.JSX.Element;
|
|
3
|
+
declare const TextInput: ({ id, className, htmlProps, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, helperTextAffectLayout, hideLabel, disabled, hasError, isLoading, ariaDescribedBy, enableAutocomplete, }: TextInputProps) => React.JSX.Element;
|
|
4
4
|
export default TextInput;
|
|
@@ -14,6 +14,7 @@ export interface TextInputProps {
|
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
isRequired?: boolean;
|
|
16
16
|
endIcon?: `${StellaIconDefinition}`;
|
|
17
|
+
enableAutocomplete?: boolean;
|
|
17
18
|
/** passing in disabled + value creates a readOnly look */
|
|
18
19
|
disabled?: boolean;
|
|
19
20
|
maxLength?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ interface TextInputProps {
|
|
|
145
145
|
placeholder?: string;
|
|
146
146
|
isRequired?: boolean;
|
|
147
147
|
endIcon?: `${StellaIconDefinition}`;
|
|
148
|
+
enableAutocomplete?: boolean;
|
|
148
149
|
/** passing in disabled + value creates a readOnly look */
|
|
149
150
|
disabled?: boolean;
|
|
150
151
|
maxLength?: number;
|
|
@@ -158,7 +159,7 @@ interface TextInputProps {
|
|
|
158
159
|
htmlProps?: HTMLAttributes<HTMLInputElement>;
|
|
159
160
|
}
|
|
160
161
|
|
|
161
|
-
declare const TextInput: ({ id, className, htmlProps, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, helperTextAffectLayout, hideLabel, disabled, hasError, isLoading, ariaDescribedBy, }: TextInputProps) => React$1.JSX.Element;
|
|
162
|
+
declare const TextInput: ({ id, className, htmlProps, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, helperTextAffectLayout, hideLabel, disabled, hasError, isLoading, ariaDescribedBy, enableAutocomplete, }: TextInputProps) => React$1.JSX.Element;
|
|
162
163
|
|
|
163
164
|
interface PasswordInputProps {
|
|
164
165
|
id: string;
|
|
@@ -171,6 +172,7 @@ interface PasswordInputProps {
|
|
|
171
172
|
className?: string;
|
|
172
173
|
placeholder?: string;
|
|
173
174
|
isRequired?: boolean;
|
|
175
|
+
enableAutocomplete?: boolean;
|
|
174
176
|
/** passing in disabled + value creates a readOnly look */
|
|
175
177
|
disabled?: boolean;
|
|
176
178
|
maxLength?: number;
|
|
@@ -185,7 +187,7 @@ interface PasswordInputProps {
|
|
|
185
187
|
htmlProps?: HTMLAttributes<HTMLInputElement>;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
declare const PasswordInput: ({ id, className, htmlProps, label, placeholder, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, textAlign, isHidden, helperTextAffectLayout, hideLabel, disabled, hasError, ariaDescribedBy, }: PasswordInputProps) => React$1.JSX.Element;
|
|
190
|
+
declare const PasswordInput: ({ id, className, htmlProps, label, placeholder, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, textAlign, isHidden, helperTextAffectLayout, hideLabel, disabled, hasError, ariaDescribedBy, enableAutocomplete, }: PasswordInputProps) => React$1.JSX.Element;
|
|
189
191
|
|
|
190
192
|
interface NumberInputProps {
|
|
191
193
|
id: string;
|
|
@@ -214,12 +216,13 @@ interface NumberInputProps {
|
|
|
214
216
|
thousandSeparator?: boolean;
|
|
215
217
|
decimalPlaces?: number;
|
|
216
218
|
allowNegativeNumbers?: boolean;
|
|
219
|
+
enableAutocomplete?: boolean;
|
|
217
220
|
/** for any extra text elements that need to be associated */
|
|
218
221
|
ariaDescribedBy?: string;
|
|
219
222
|
htmlProps?: HTMLAttributes<HTMLInputElement>;
|
|
220
223
|
}
|
|
221
224
|
|
|
222
|
-
declare const NumberInput: ({ id, className, htmlProps, leftCategory, rightCategory, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, isTruncated, helperTextAffectLayout, hideLabel, disabled, isLoading, hasError, thousandSeparator, decimalPlaces, allowNegativeNumbers, ariaDescribedBy, }: NumberInputProps) => React$1.JSX.Element;
|
|
225
|
+
declare const NumberInput: ({ id, className, htmlProps, leftCategory, rightCategory, label, onChange, onBlur, onFocus, value, isRequired, maxLength, tooltipText, helperText, endIcon, placeholder, textAlign, isTruncated, helperTextAffectLayout, hideLabel, disabled, isLoading, hasError, thousandSeparator, decimalPlaces, allowNegativeNumbers, ariaDescribedBy, enableAutocomplete, }: NumberInputProps) => React$1.JSX.Element;
|
|
223
226
|
|
|
224
227
|
declare enum TableVariant {
|
|
225
228
|
PRIMARY = "Primary",
|