@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.
@@ -69,7 +69,4 @@
69
69
  border: none;
70
70
  padding: 0;
71
71
  outline: none;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
72
  }
@@ -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, disableAutocomplete, }: 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,7 +28,7 @@ export interface NumberInputProps {
28
28
  thousandSeparator?: boolean;
29
29
  decimalPlaces?: number;
30
30
  allowNegativeNumbers?: boolean;
31
- disableAutocomplete?: boolean;
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, disableAutocomplete, }: 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;
@@ -11,7 +11,7 @@ export interface PasswordInputProps {
11
11
  className?: string;
12
12
  placeholder?: string;
13
13
  isRequired?: boolean;
14
- disableAutocomplete?: boolean;
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, disableAutocomplete, }: 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,7 +14,7 @@ export interface TextInputProps {
14
14
  placeholder?: string;
15
15
  isRequired?: boolean;
16
16
  endIcon?: `${StellaIconDefinition}`;
17
- disableAutocomplete?: boolean;
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
- disableAutocomplete?: boolean;
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, disableAutocomplete, }: 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;
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
- disableAutocomplete?: boolean;
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, disableAutocomplete, }: 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;
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
- disableAutocomplete?: boolean;
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, disableAutocomplete, }: 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;
226
226
 
227
227
  declare enum TableVariant {
228
228
  PRIMARY = "Primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stella-source/stellasource-dsl",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "Design System owned and operated by Stella Source.",
5
5
  "files": [
6
6
  "dist"