@instructure/ui-number-input 8.13.1-snapshot.48 → 8.14.0

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.
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { Component } from 'react';
2
+ import React, { Component } from 'react';
3
3
  import { jsx } from '@instructure/emotion';
4
4
  import type { NumberInputProps, NumberInputState, NumberInputStyleProps } from './props';
5
5
  /**
@@ -7,11 +7,12 @@ import type { NumberInputProps, NumberInputState, NumberInputStyleProps } from '
7
7
  category: components
8
8
  id: NumberInput
9
9
  ---
10
+ @tsProps
10
11
  **/
11
12
  declare class NumberInput extends Component<NumberInputProps, NumberInputState> {
12
13
  static readonly componentId = "NumberInput";
13
14
  static allowedProps: readonly (keyof {
14
- renderLabel: import("react").ReactNode | ((...args: any[]) => any);
15
+ renderLabel: React.ReactNode | (() => React.ReactNode);
15
16
  id?: string | undefined;
16
17
  interaction?: import("@instructure/ui-react-utils").InteractionType | undefined;
17
18
  messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
@@ -22,18 +23,18 @@ declare class NumberInput extends Component<NumberInputProps, NumberInputState>
22
23
  value?: string | number | undefined;
23
24
  width?: string | undefined;
24
25
  display?: "inline-block" | "block" | undefined;
25
- inputRef?: ((...args: any[]) => any) | undefined;
26
- onFocus?: ((...args: any[]) => any) | undefined;
27
- onBlur?: ((...args: any[]) => any) | undefined;
28
- onChange?: ((...args: any[]) => any) | undefined;
29
- onDecrement?: ((...args: any[]) => any) | undefined;
30
- onIncrement?: ((...args: any[]) => any) | undefined;
31
- onKeyDown?: ((...args: any[]) => any) | undefined;
26
+ inputRef?: ((element: HTMLInputElement | null) => void) | undefined;
27
+ onFocus?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
28
+ onBlur?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
29
+ onChange?: ((event: React.ChangeEvent<HTMLInputElement>, value: string) => void) | undefined;
30
+ onDecrement?: ((event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
31
+ onIncrement?: ((event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
32
+ onKeyDown?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
32
33
  inputMode?: "numeric" | "decimal" | "tel" | undefined;
33
34
  textAlign?: "start" | "center" | undefined;
34
35
  })[];
35
36
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
36
- renderLabel: import("react").ReactNode | ((...args: any[]) => any);
37
+ renderLabel: React.ReactNode | (() => React.ReactNode);
37
38
  id?: string | undefined;
38
39
  interaction?: import("@instructure/ui-react-utils").InteractionType | undefined;
39
40
  messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
@@ -44,53 +45,45 @@ declare class NumberInput extends Component<NumberInputProps, NumberInputState>
44
45
  value?: string | number | undefined;
45
46
  width?: string | undefined;
46
47
  display?: "inline-block" | "block" | undefined;
47
- inputRef?: ((...args: any[]) => any) | undefined;
48
- onFocus?: ((...args: any[]) => any) | undefined;
49
- onBlur?: ((...args: any[]) => any) | undefined;
50
- onChange?: ((...args: any[]) => any) | undefined;
51
- onDecrement?: ((...args: any[]) => any) | undefined;
52
- onIncrement?: ((...args: any[]) => any) | undefined;
53
- onKeyDown?: ((...args: any[]) => any) | undefined;
48
+ inputRef?: ((element: HTMLInputElement | null) => void) | undefined;
49
+ onFocus?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
50
+ onBlur?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
51
+ onChange?: ((event: React.ChangeEvent<HTMLInputElement>, value: string) => void) | undefined;
52
+ onDecrement?: ((event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
53
+ onIncrement?: ((event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
54
+ onKeyDown?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
54
55
  inputMode?: "numeric" | "decimal" | "tel" | undefined;
55
56
  textAlign?: "start" | "center" | undefined;
56
57
  }>;
57
58
  static defaultProps: {
58
- id: null;
59
59
  interaction: undefined;
60
60
  messages: never[];
61
- placeholder: null;
62
61
  isRequired: boolean;
63
62
  showArrows: boolean;
64
63
  size: string;
65
64
  display: string;
66
65
  textAlign: string;
67
- inputRef: (event: any) => void;
68
- onFocus: (event: any) => void;
69
- onBlur: (event: any) => void;
70
- onChange: (event: any, value: any) => void;
71
- onDecrement: (event: any) => void;
72
- onIncrement: (event: any) => void;
73
- onKeyDown: (event: any) => void;
74
66
  inputMode: string;
75
67
  };
76
68
  state: NumberInputState;
77
- _input: null;
78
69
  ref: Element | null;
70
+ private _input;
71
+ private _id?;
79
72
  handleRef: (el: Element | null) => void;
80
- get id(): any;
73
+ get id(): string;
81
74
  get invalid(): boolean;
82
75
  get interaction(): import("@instructure/ui-react-utils").InteractionType;
83
76
  componentDidMount(): void;
84
77
  componentDidUpdate(): void;
85
78
  get makeStyleVariables(): NumberInputStyleProps;
86
- handleInputRef: (element: any) => void;
87
- handleFocus: (event: any) => void;
88
- handleBlur: (event: any) => void;
89
- handleChange: (event: any) => void;
90
- handleKeyDown: (event: any) => void;
91
- handleClickUpArrow: (event: any) => void;
92
- handleClickDownArrow: (event: any) => void;
93
- arrowClicked(event: any, callback: any): void;
79
+ handleInputRef: (element: HTMLInputElement | null) => void;
80
+ handleFocus: (event: React.FocusEvent<HTMLInputElement>) => void;
81
+ handleBlur: (event: React.FocusEvent<HTMLInputElement>) => void;
82
+ handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
83
+ handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
84
+ handleClickUpArrow: (event: React.MouseEvent<HTMLButtonElement>) => void;
85
+ handleClickDownArrow: (event: React.MouseEvent<HTMLButtonElement>) => void;
86
+ arrowClicked(event: React.MouseEvent<HTMLButtonElement>, callback: NumberInputProps['onIncrement'] | NumberInputProps['onDecrement']): void;
94
87
  renderArrows(): jsx.JSX.Element;
95
88
  render(): jsx.JSX.Element;
96
89
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/NumberInput/index.tsx"],"names":[],"mappings":"AAuBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAiBjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,SAAS,CAAA;AAGhB;;;;;GAKG;AACH,cAEM,WAAY,SAAQ,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACrE,MAAM,CAAC,QAAQ,CAAC,WAAW,iBAAgB;IAC3C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;MA0BlB;IAED,KAAK,EAAE,gBAAgB,CAAsB;IAC7C,MAAM,OAAO;IACb,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,IAAI,EAAE,QAWL;IAED,IAAI,OAAO,YAKV;IAED,IAAI,WAAW,0DAEd;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,kBAAkB,IAAI,qBAAqB,CAM9C;IAGD,cAAc,yBAIb;IAGD,WAAW,uBAIV;IAGD,UAAU,uBAIT;IAGD,YAAY,uBAGX;IAGD,aAAa,uBAaZ;IAGD,kBAAkB,uBAEjB;IAGD,oBAAoB,uBAEnB;IAGD,YAAY,CAAC,KAAK,KAAA,EAAE,QAAQ,KA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B,CAAC,gBAAgB,CAAC,UAkB5D;IAED,kBAAkB,UAAW,gBAAgB,CAAC,iBAAiB,CAAC,UAE/D;IAED,oBAAoB,UAAW,gBAAgB,CAAC,iBAAiB,CAAC,UAEjE;IAED,YAAY,CACV,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAC1C,QAAQ,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC,aAAa,CAAC;IAc7E,YAAY;IAyBZ,MAAM;CAqDP;AAED,eAAe,WAAW,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,28 +1,100 @@
1
+ import React from 'react';
2
+ import type { InputHTMLAttributes } from 'react';
1
3
  import type { PropValidators, NumberInputTheme, OtherHTMLAttributes } from '@instructure/shared-types';
2
- import type { FormMessage } from '@instructure/ui-form-field';
4
+ import type { FormFieldOwnProps, FormMessage } from '@instructure/ui-form-field';
3
5
  import type { InteractionType } from '@instructure/ui-react-utils';
4
6
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
5
- import { InputHTMLAttributes } from 'react';
6
7
  declare type NumberInputOwnProps = {
7
- renderLabel: React.ReactNode | ((...args: any[]) => any);
8
+ /**
9
+ * The form field label.
10
+ */
11
+ renderLabel: React.ReactNode | (() => React.ReactNode);
12
+ /**
13
+ * The id of the input. One is generated if not supplied.
14
+ */
8
15
  id?: string;
16
+ /**
17
+ * Specifies if interaction with the input is enabled, disabled, or readonly.
18
+ * When "disabled", the input changes visibly to indicate that it cannot
19
+ * receive user interactions. When "readonly" the input still cannot receive
20
+ * user interactions but it keeps the same styles as if it were enabled.
21
+ */
9
22
  interaction?: InteractionType;
23
+ /**
24
+ * Array of objects with shape: `{
25
+ * text: ReactNode,
26
+ * type: One of: ['error', 'hint', 'success', 'screenreader-only']
27
+ * }`
28
+ */
10
29
  messages?: FormMessage[];
30
+ /**
31
+ * Html placeholder text to display when the input has no value. This
32
+ * should be hint text, not a label replacement.
33
+ */
11
34
  placeholder?: string;
35
+ /**
36
+ * Whether or not the text input is required.
37
+ */
12
38
  isRequired?: boolean;
39
+ /**
40
+ * Whether or not to display the up/down arrow buttons.
41
+ */
13
42
  showArrows?: boolean;
43
+ /**
44
+ * The size of the input.
45
+ */
14
46
  size?: 'medium' | 'large';
47
+ /**
48
+ * The value of the input (should be accompanied by an `onChange` prop).
49
+ */
15
50
  value?: string | number;
51
+ /**
52
+ * The width of the input.
53
+ */
16
54
  width?: string;
55
+ /**
56
+ * The display of the root element.
57
+ */
17
58
  display?: 'inline-block' | 'block';
18
- inputRef?: (...args: any[]) => any;
19
- onFocus?: (...args: any[]) => any;
20
- onBlur?: (...args: any[]) => any;
21
- onChange?: (...args: any[]) => any;
22
- onDecrement?: (...args: any[]) => any;
23
- onIncrement?: (...args: any[]) => any;
24
- onKeyDown?: (...args: any[]) => any;
59
+ /**
60
+ * A function that provides a reference to the actual input element.
61
+ */
62
+ inputRef?: (element: HTMLInputElement | null) => void;
63
+ /**
64
+ * Callback fired when input receives focus.
65
+ */
66
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
67
+ /**
68
+ * Callback fired when the input loses focus.
69
+ */
70
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
71
+ /**
72
+ * Callback executed when the input fires a change event.
73
+ * @param {Object} event - the event object
74
+ * @param {string} value - the string value of the input
75
+ */
76
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
77
+ /**
78
+ * Called when the down arrow button is clicked, or the down arrow key is
79
+ * pressed.
80
+ */
81
+ onDecrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
82
+ /**
83
+ * Called when the up arrow button is clicked, or the up arrow key is
84
+ * pressed.
85
+ */
86
+ onIncrement?: (event: React.KeyboardEvent<HTMLInputElement> | React.MouseEvent<HTMLButtonElement>) => void;
87
+ /**
88
+ * Callback fired when a key is pressed.
89
+ */
90
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
91
+ /**
92
+ * The inputMode attribute of the underlying `input` element can be one of ['numeric', 'decimal', 'tel']
93
+ */
25
94
  inputMode?: 'numeric' | 'decimal' | 'tel';
95
+ /**
96
+ * The text alignment of the input.
97
+ */
26
98
  textAlign?: 'start' | 'center';
27
99
  };
28
100
  declare type NumberInputState = {
@@ -34,7 +106,7 @@ declare type NumberInputStyleProps = NumberInputState & {
34
106
  };
35
107
  declare type PropKeys = keyof NumberInputOwnProps;
36
108
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
37
- declare type NumberInputProps = NumberInputOwnProps & WithStyleProps<NumberInputTheme, NumberInputStyle> & OtherHTMLAttributes<NumberInputOwnProps, InputHTMLAttributes<NumberInputOwnProps>>;
109
+ declare type NumberInputProps = Omit<FormFieldOwnProps, 'label' | 'inline' | 'id' | 'elementRef'> & NumberInputOwnProps & WithStyleProps<NumberInputTheme, NumberInputStyle> & OtherHTMLAttributes<NumberInputOwnProps, InputHTMLAttributes<NumberInputOwnProps>>;
38
110
  declare type NumberInputStyle = ComponentStyle<'numberInput' | 'arrowContainer' | 'arrow' | 'inputWidth' | 'inputContainer' | 'input'>;
39
111
  declare const propTypes: PropValidators<PropKeys>;
40
112
  declare const allowedProps: AllowedPropKeys;
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/NumberInput/props.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAE3C,aAAK,mBAAmB,GAAG;IACzB,WA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,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EACjB,CAAA;AACD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
package/LICENSE.md DELETED
@@ -1,27 +0,0 @@
1
- ---
2
- title: The MIT License (MIT)
3
- category: Getting Started
4
- order: 9
5
- ---
6
-
7
- # The MIT License (MIT)
8
-
9
- Copyright (c) 2015 Instructure, Inc.
10
-
11
- **Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions.**
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.