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