@instructure/ui-number-input 11.6.0 → 11.6.1-snapshot-129

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 (56) hide show
  1. package/CHANGELOG.md +40 -299
  2. package/es/NumberInput/{index.js → v1/index.js} +2 -2
  3. package/es/NumberInput/v2/index.js +292 -0
  4. package/es/NumberInput/v2/props.js +26 -0
  5. package/es/NumberInput/v2/styles.js +208 -0
  6. package/es/{index.js → exports/a.js} +1 -1
  7. package/{src/index.ts → es/exports/b.js} +1 -2
  8. package/lib/NumberInput/{index.js → v1/index.js} +7 -7
  9. package/lib/NumberInput/v2/index.js +301 -0
  10. package/lib/NumberInput/v2/props.js +31 -0
  11. package/lib/NumberInput/v2/styles.js +214 -0
  12. package/lib/{index.js → exports/a.js} +2 -2
  13. package/lib/exports/b.js +12 -0
  14. package/package.json +41 -19
  15. package/src/NumberInput/{index.tsx → v1/index.tsx} +2 -2
  16. package/src/NumberInput/{props.ts → v1/props.ts} +4 -1
  17. package/src/NumberInput/v2/README.md +205 -0
  18. package/src/NumberInput/v2/index.tsx +382 -0
  19. package/src/NumberInput/v2/props.ts +240 -0
  20. package/src/NumberInput/v2/styles.ts +219 -0
  21. package/src/exports/a.ts +25 -0
  22. package/src/exports/b.ts +25 -0
  23. package/tsconfig.build.tsbuildinfo +1 -1
  24. package/types/NumberInput/{index.d.ts → v1/index.d.ts} +1 -1
  25. package/types/NumberInput/v1/index.d.ts.map +1 -0
  26. package/types/NumberInput/{props.d.ts → v1/props.d.ts} +1 -1
  27. package/types/NumberInput/v1/props.d.ts.map +1 -0
  28. package/types/NumberInput/v1/styles.d.ts.map +1 -0
  29. package/types/NumberInput/v1/theme.d.ts.map +1 -0
  30. package/types/NumberInput/v2/index.d.ts +104 -0
  31. package/types/NumberInput/v2/index.d.ts.map +1 -0
  32. package/types/NumberInput/v2/props.d.ts +127 -0
  33. package/types/NumberInput/v2/props.d.ts.map +1 -0
  34. package/types/NumberInput/v2/styles.d.ts +22 -0
  35. package/types/NumberInput/v2/styles.d.ts.map +1 -0
  36. package/types/exports/a.d.ts +3 -0
  37. package/types/exports/a.d.ts.map +1 -0
  38. package/types/exports/b.d.ts +3 -0
  39. package/types/exports/b.d.ts.map +1 -0
  40. package/types/NumberInput/index.d.ts.map +0 -1
  41. package/types/NumberInput/props.d.ts.map +0 -1
  42. package/types/NumberInput/styles.d.ts.map +0 -1
  43. package/types/NumberInput/theme.d.ts.map +0 -1
  44. package/types/index.d.ts +0 -3
  45. package/types/index.d.ts.map +0 -1
  46. /package/es/NumberInput/{props.js → v1/props.js} +0 -0
  47. /package/es/NumberInput/{styles.js → v1/styles.js} +0 -0
  48. /package/es/NumberInput/{theme.js → v1/theme.js} +0 -0
  49. /package/lib/NumberInput/{props.js → v1/props.js} +0 -0
  50. /package/lib/NumberInput/{styles.js → v1/styles.js} +0 -0
  51. /package/lib/NumberInput/{theme.js → v1/theme.js} +0 -0
  52. /package/src/NumberInput/{README.md → v1/README.md} +0 -0
  53. /package/src/NumberInput/{styles.ts → v1/styles.ts} +0 -0
  54. /package/src/NumberInput/{theme.ts → v1/theme.ts} +0 -0
  55. /package/types/NumberInput/{styles.d.ts → v1/styles.d.ts} +0 -0
  56. /package/types/NumberInput/{theme.d.ts → v1/theme.d.ts} +0 -0
@@ -13,7 +13,7 @@ declare class NumberInput extends Component<NumberInputProps, NumberInputState>
13
13
  renderLabel: Renderable;
14
14
  id?: string;
15
15
  interaction?: import("@instructure/ui-react-utils").InteractionType;
16
- messages?: import("@instructure/ui-form-field").FormMessage[];
16
+ messages?: import("@instructure/ui-form-field/v11_6").FormMessage[];
17
17
  placeholder?: string;
18
18
  isRequired?: boolean;
19
19
  showArrows?: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v1/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAuB3C,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AC,EAC1C,QAAQ,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC,aAAa,CAAC;IAc7E,YAAY,CAAC,WAAW,CAAC,EAAE;QAAE,QAAQ,EAAE,UAAU,CAAC;QAAC,QAAQ,EAAE,UAAU,CAAA;KAAE;IAiCzE,MAAM;CA6EP;AAED,eAAe,WAAW,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { InputHTMLAttributes } from 'react';
3
3
  import type { NumberInputTheme, OtherHTMLAttributes, PickPropsWithExceptions } from '@instructure/shared-types';
4
4
  import type { WithStyleProps, ComponentStyle, Spacing } from '@instructure/emotion';
5
- import type { FormFieldOwnProps, FormMessage } from '@instructure/ui-form-field';
5
+ import type { FormFieldOwnProps, FormMessage } from '@instructure/ui-form-field/v11_6';
6
6
  import type { InteractionType, WithDeterministicIdProps } from '@instructure/ui-react-utils';
7
7
  import { Renderable } from '@instructure/shared-types';
8
8
  type NumberInputOwnProps = {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v1/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,OAAO,EACR,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACZ,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;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gBAAgB,GAChB,OAAO,GACP,iBAAiB,CACpB,CAAA;AACD,QAAA,MAAM,YAAY,EAAE,eAwBnB,CAAA;AAED,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EACjB,CAAA;AACD,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v1/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,gBAAgB,EAChC,OAAO,gBAAgB,EACvB,OAAO,qBAAqB,KAC3B,gBA8IF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v1/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,gBAsD9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -0,0 +1,104 @@
1
+ import { getInteraction } from '@instructure/ui-react-utils';
2
+ import { Renderable } from '@instructure/shared-types';
3
+ /**
4
+ ---
5
+ category: components
6
+ id: NumberInput
7
+ ---
8
+ **/
9
+ declare const NumberInput: import("react").ForwardRefExoticComponent<import("@instructure/shared-types").PickPropsWithExceptions<import("@instructure/ui-form-field/latest").FormFieldOwnProps, "id" | "label" | "inline" | "elementRef"> & {
10
+ renderLabel: Renderable;
11
+ id?: string;
12
+ interaction?: import("@instructure/ui-react-utils").InteractionType;
13
+ messages?: import("@instructure/ui-form-field/latest").FormMessage[];
14
+ placeholder?: string;
15
+ isRequired?: boolean;
16
+ showArrows?: boolean;
17
+ size?: "medium" | "large";
18
+ value?: string | number;
19
+ width?: string;
20
+ display?: "inline-block" | "block";
21
+ inputRef?: (element: HTMLInputElement | null) => void;
22
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
23
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
24
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
25
+ onDecrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
26
+ onIncrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
27
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
28
+ inputMode?: "numeric" | "decimal" | "tel";
29
+ textAlign?: "start" | "center";
30
+ allowStringValue?: boolean;
31
+ renderIcons?: {
32
+ increase: Renderable;
33
+ decrease: Renderable;
34
+ };
35
+ margin?: import("@instructure/emotion").Spacing;
36
+ } & {
37
+ themeOverride?: import("@instructure/emotion").ThemeOverrideValue;
38
+ } & Omit<import("react").InputHTMLAttributes<{
39
+ renderLabel: Renderable;
40
+ id?: string;
41
+ interaction?: import("@instructure/ui-react-utils").InteractionType;
42
+ messages?: import("@instructure/ui-form-field/latest").FormMessage[];
43
+ placeholder?: string;
44
+ isRequired?: boolean;
45
+ showArrows?: boolean;
46
+ size?: "medium" | "large";
47
+ value?: string | number;
48
+ width?: string;
49
+ display?: "inline-block" | "block";
50
+ inputRef?: (element: HTMLInputElement | null) => void;
51
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
52
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
53
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
54
+ onDecrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
55
+ onIncrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
56
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
57
+ inputMode?: "numeric" | "decimal" | "tel";
58
+ textAlign?: "start" | "center";
59
+ allowStringValue?: boolean;
60
+ renderIcons?: {
61
+ increase: Renderable;
62
+ decrease: Renderable;
63
+ };
64
+ margin?: import("@instructure/emotion").Spacing;
65
+ } & Element>, "dir" | keyof {
66
+ renderLabel: Renderable;
67
+ id?: string;
68
+ interaction?: import("@instructure/ui-react-utils").InteractionType;
69
+ messages?: import("@instructure/ui-form-field/latest").FormMessage[];
70
+ placeholder?: string;
71
+ isRequired?: boolean;
72
+ showArrows?: boolean;
73
+ size?: "medium" | "large";
74
+ value?: string | number;
75
+ width?: string;
76
+ display?: "inline-block" | "block";
77
+ inputRef?: (element: HTMLInputElement | null) => void;
78
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
79
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
80
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
81
+ onDecrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
82
+ onIncrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
83
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
84
+ inputMode?: "numeric" | "decimal" | "tel";
85
+ textAlign?: "start" | "center";
86
+ allowStringValue?: boolean;
87
+ renderIcons?: {
88
+ increase: Renderable;
89
+ decrease: Renderable;
90
+ };
91
+ margin?: import("@instructure/emotion").Spacing;
92
+ }> & {
93
+ dir?: "ltr" | "rtl";
94
+ } & import("@instructure/ui-react-utils").WithDeterministicIdProps & import("react").RefAttributes<NumberInputHandle>>;
95
+ export interface NumberInputHandle {
96
+ focus: () => void;
97
+ readonly id: string | undefined;
98
+ readonly invalid: boolean;
99
+ readonly interaction: ReturnType<typeof getInteraction>;
100
+ readonly value: string | undefined;
101
+ }
102
+ export default NumberInput;
103
+ export { NumberInput };
104
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v2/index.tsx"],"names":[],"mappings":"AAuCA,OAAO,EAGL,cAAc,EAGf,MAAM,6BAA6B,CAAA;AAOpC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD;;;;;GAKG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sHAoThB,CAAA;AAID,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;IACvD,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CACnC;AAED,eAAe,WAAW,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,127 @@
1
+ import React from 'react';
2
+ import type { InputHTMLAttributes } from 'react';
3
+ import type { OtherHTMLAttributes, PickPropsWithExceptions } from '@instructure/shared-types';
4
+ import type { ComponentStyle, Spacing, ThemeOverrideValue } from '@instructure/emotion';
5
+ import type { FormFieldOwnProps, FormMessage } from '@instructure/ui-form-field/latest';
6
+ import type { InteractionType, WithDeterministicIdProps } from '@instructure/ui-react-utils';
7
+ import { Renderable } from '@instructure/shared-types';
8
+ type NumberInputOwnProps = {
9
+ /**
10
+ * The form field label.
11
+ */
12
+ renderLabel: Renderable;
13
+ /**
14
+ * The id of the input. One is generated if not supplied.
15
+ */
16
+ id?: string;
17
+ /**
18
+ * Specifies if interaction with the input is enabled, disabled, or readonly.
19
+ * When "disabled", the input changes visibly to indicate that it cannot
20
+ * receive user interactions. When "readonly" the input still cannot receive
21
+ * user interactions but it keeps the same styles as if it were enabled.
22
+ */
23
+ interaction?: InteractionType;
24
+ /**
25
+ * Array of objects with shape: `{
26
+ * text: ReactNode,
27
+ * type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
28
+ * }`
29
+ */
30
+ messages?: FormMessage[];
31
+ /**
32
+ * HTML placeholder text to display when the input has no value. This
33
+ * should be hint text, not a label replacement.
34
+ * Not visible when `disabled` or `readonly`
35
+ */
36
+ placeholder?: string;
37
+ /**
38
+ * Whether or not the text input is required.
39
+ */
40
+ isRequired?: boolean;
41
+ /**
42
+ * Whether or not to display the up/down arrow buttons.
43
+ * They are not visible when `readonly`
44
+ */
45
+ showArrows?: boolean;
46
+ /**
47
+ * The size of the input.
48
+ */
49
+ size?: 'medium' | 'large';
50
+ /**
51
+ * The value of the input (should be accompanied by an `onChange` prop).
52
+ */
53
+ value?: string | number;
54
+ /**
55
+ * The width of the input.
56
+ */
57
+ width?: string;
58
+ /**
59
+ * The display of the root element.
60
+ */
61
+ display?: 'inline-block' | 'block';
62
+ /**
63
+ * A function that provides a reference to the actual input element.
64
+ */
65
+ inputRef?: (element: HTMLInputElement | null) => void;
66
+ /**
67
+ * Callback fired when input receives focus.
68
+ */
69
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
70
+ /**
71
+ * Callback fired when the input loses focus.
72
+ */
73
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
74
+ /**
75
+ * Callback executed when the input fires a change event.
76
+ * @param {Object} event - the event object
77
+ * @param {string} value - the string value of the input
78
+ */
79
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
80
+ /**
81
+ * Called when the down arrow button is clicked, or the down arrow key is
82
+ * pressed.
83
+ */
84
+ onDecrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
85
+ /**
86
+ * Called when the up arrow button is clicked, or the up arrow key is
87
+ * pressed.
88
+ */
89
+ onIncrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
90
+ /**
91
+ * Callback fired when a key is pressed.
92
+ */
93
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
94
+ /**
95
+ * The inputMode attribute of the underlying `input` element can be one of ['numeric', 'decimal', 'tel']
96
+ */
97
+ inputMode?: 'numeric' | 'decimal' | 'tel';
98
+ /**
99
+ * The text alignment of the input.
100
+ */
101
+ textAlign?: 'start' | 'center';
102
+ /**
103
+ * sets the input type to string and allows string as value
104
+ */
105
+ allowStringValue?: boolean;
106
+ /**
107
+ * Sets the icons to be rendered for increase and decrease buttons
108
+ */
109
+ renderIcons?: {
110
+ increase: Renderable;
111
+ decrease: Renderable;
112
+ };
113
+ /**
114
+ * Margin around the component. Accepts a `Spacing` token. See token values and example usage in [this guide](https://instructure.design/#layout-spacing).
115
+ */
116
+ margin?: Spacing;
117
+ };
118
+ type PropKeys = keyof NumberInputOwnProps;
119
+ type AllowedPropKeys = Readonly<Array<PropKeys>>;
120
+ type NumberInputProps = PickPropsWithExceptions<FormFieldOwnProps, 'label' | 'inline' | 'id' | 'elementRef'> & NumberInputOwnProps & {
121
+ themeOverride?: ThemeOverrideValue;
122
+ } & OtherHTMLAttributes<NumberInputOwnProps, InputHTMLAttributes<NumberInputOwnProps & Element>> & WithDeterministicIdProps;
123
+ type NumberInputStyle = ComponentStyle<'numberInput' | 'arrowContainer' | 'arrow' | 'inputWidth' | 'inputContainer' | 'input'>;
124
+ declare const allowedProps: AllowedPropKeys;
125
+ export type { NumberInputProps, NumberInputStyle };
126
+ export { allowedProps };
127
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/NumberIn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AAuB,CACrB,iBAAiB,EACjB,OAAO,GAAG,QAAQ,GAAG,IAAI,GAAG,YAAY,CACzC,GACC,mBAAmB,GAAG;IACpB,aAAa,CAAC,EAAE,kBAAkB,CAAA;CACnC,GAAG,mBAAmB,CACrB,mBAAmB,EACnB,mBAAmB,CAAC,mBAAmB,GAAG,OAAO,CAAC,CACnD,GACD,wBAAwB,CAAA;AAE5B,KAAK,gBAAgB,GAAG,cAAc,CAClC,aAAa,GACb,gBAAgB,GAChB,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,OAAO,CACV,CAAA;AACD,QAAA,MAAM,YAAY,EAAE,eAwBnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,22 @@
1
+ import type { NumberInputProps, NumberInputStyle } from './props';
2
+ import type { NewComponentTypes, SharedTokens } from '@instructure/ui-themes';
3
+ type StyleParams = {
4
+ size: NumberInputProps['size'];
5
+ textAlign: NumberInputProps['textAlign'];
6
+ interaction: NumberInputProps['interaction'];
7
+ invalid: boolean;
8
+ success: boolean;
9
+ };
10
+ /**
11
+ * ---
12
+ * private: true
13
+ * ---
14
+ * Generates the style object from the theme and provided additional information
15
+ * @param componentTheme The theme variable object.
16
+ * @param params Additional parameters to customize the style.
17
+ * @param sharedTokens Shared token object that stores common values for the theme.
18
+ * @return The final style object, which will be used in the component
19
+ */
20
+ declare const generateStyle: (componentTheme: NewComponentTypes["TextInput"], params: StyleParams, sharedTokens: SharedTokens) => NumberInputStyle;
21
+ export default generateStyle;
22
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/NumberInput/v2/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAG7E,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;IAC9B,SAAS,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACxC,WAAW,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,iBAAiB,CAAC,WAAW,CAAC,EAC9C,QAAQ,WAAW,EACnB,cAAc,YAAY,KACzB,gBAsKF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { NumberInput } from '../NumberInput/v1';
2
+ export type { NumberInputProps } from '../NumberInput/v1/props';
3
+ //# sourceMappingURL=a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../../src/exports/a.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { NumberInput } from '../NumberInput/v2';
2
+ export type { NumberInputProps } from '../NumberInput/v2/props';
3
+ //# sourceMappingURL=b.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b.d.ts","sourceRoot":"","sources":["../../src/exports/b.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/NumberInput/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAuB3C,OAAO,KAA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AChB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,GACjB,gBAAgB,gBAAgB,EAChC,OAAO,gBAAgB,EACvB,OAAO,qBAAqB,KAC3B,gBA8IF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/NumberInput/theme.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,KAAK,EAAsB,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D;;;;GAIG;AACH,QAAA,MAAM,sBAAsB,GAAI,OAAO,KAAK,KAAG,gBAsD9C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
package/types/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export { NumberInput } from './NumberInput';
2
- export type { NumberInputProps } from './NumberInput/props';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes