@instructure/ui-number-input 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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/CHANGELOG.md +8 -0
- package/LICENSE.md +1 -0
- package/{lib/NumberInput/v2/props.js → babel.config.cjs} +12 -7
- package/es/NumberInput/v1/index.js +4 -4
- package/es/NumberInput/v2/index.js +1 -1
- package/es/exports/a.js +1 -1
- package/es/exports/b.js +1 -1
- package/package.json +14 -19
- package/src/NumberInput/v1/index.tsx +4 -3
- package/src/NumberInput/v2/index.tsx +1 -1
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/NumberInput/v1/index.d.ts +1 -0
- package/types/NumberInput/v1/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +1 -1
- package/lib/NumberInput/v1/index.js +0 -258
- package/lib/NumberInput/v1/props.js +0 -31
- package/lib/NumberInput/v1/styles.js +0 -188
- package/lib/NumberInput/v1/theme.js +0 -85
- package/lib/NumberInput/v2/index.js +0 -281
- package/lib/NumberInput/v2/styles.js +0 -216
- package/lib/exports/a.js +0 -12
- package/lib/exports/b.js +0 -12
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.7.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-number-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -30,9 +30,9 @@ import { IconArrowOpenDownLine, IconArrowOpenUpLine } from '@instructure/ui-icon
|
|
|
30
30
|
import { omitProps, pickProps, callRenderProp, getInteraction, withDeterministicId } from '@instructure/ui-react-utils';
|
|
31
31
|
import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
|
|
32
32
|
import { withStyle } from '@instructure/emotion';
|
|
33
|
-
import generateStyle from
|
|
34
|
-
import generateComponentTheme from
|
|
35
|
-
import { allowedProps } from
|
|
33
|
+
import generateStyle from './styles.js';
|
|
34
|
+
import generateComponentTheme from './theme.js';
|
|
35
|
+
import { allowedProps } from './props.js';
|
|
36
36
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
37
37
|
/**
|
|
38
38
|
---
|
|
@@ -41,7 +41,7 @@ id: NumberInput
|
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
43
|
let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class NumberInput extends Component {
|
|
44
|
-
static displayName =
|
|
44
|
+
static displayName = 'NumberInput';
|
|
45
45
|
static componentId = 'NumberInput';
|
|
46
46
|
static allowedProps = allowedProps;
|
|
47
47
|
static defaultProps = {
|
|
@@ -28,7 +28,7 @@ import { FormField } from '@instructure/ui-form-field/latest';
|
|
|
28
28
|
import { ChevronUpInstUIIcon, ChevronDownInstUIIcon } from '@instructure/ui-icons';
|
|
29
29
|
import { pickProps, callRenderProp, getInteraction, useDeterministicId, passthroughProps } from '@instructure/ui-react-utils';
|
|
30
30
|
import { useStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
32
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-number-input",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
18
|
"keycode": "^2",
|
|
19
|
-
"@instructure/emotion": "11.7.
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-react-utils": "11.7.
|
|
25
|
-
"@instructure/ui-themes": "11.7.
|
|
26
|
-
"@instructure/ui-utils": "11.7.
|
|
27
|
-
"@instructure/uid": "11.7.
|
|
19
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-a11y-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-form-field": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
26
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
27
|
+
"@instructure/uid": "11.7.4-pr-snapshot-1781695314229"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|
|
31
31
|
"@testing-library/react": "15.0.7",
|
|
32
32
|
"@testing-library/user-event": "^14.6.1",
|
|
33
33
|
"vitest": "^3.2.2",
|
|
34
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
35
|
-
"@instructure/ui-scripts": "11.7.
|
|
34
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
35
|
+
"@instructure/ui-scripts": "11.7.4-pr-snapshot-1781695314229"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": ">=18 <=19"
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|
|
44
44
|
"exports": {
|
|
45
|
-
"./lib/*": "./lib/*",
|
|
46
45
|
"./es/*": "./es/*",
|
|
47
46
|
"./types/*": "./types/*",
|
|
48
47
|
"./package.json": "./package.json",
|
|
@@ -51,28 +50,24 @@
|
|
|
51
50
|
"src": "./src/exports/a.ts",
|
|
52
51
|
"types": "./types/exports/a.d.ts",
|
|
53
52
|
"import": "./es/exports/a.js",
|
|
54
|
-
"require": "./lib/exports/a.js",
|
|
55
53
|
"default": "./es/exports/a.js"
|
|
56
54
|
},
|
|
57
55
|
"./v11_6": {
|
|
58
56
|
"src": "./src/exports/a.ts",
|
|
59
57
|
"types": "./types/exports/a.d.ts",
|
|
60
58
|
"import": "./es/exports/a.js",
|
|
61
|
-
"require": "./lib/exports/a.js",
|
|
62
59
|
"default": "./es/exports/a.js"
|
|
63
60
|
},
|
|
64
61
|
"./v11_7": {
|
|
65
62
|
"src": "./src/exports/b.ts",
|
|
66
63
|
"types": "./types/exports/b.d.ts",
|
|
67
64
|
"import": "./es/exports/b.js",
|
|
68
|
-
"require": "./lib/exports/b.js",
|
|
69
65
|
"default": "./es/exports/b.js"
|
|
70
66
|
},
|
|
71
67
|
"./latest": {
|
|
72
68
|
"src": "./src/exports/b.ts",
|
|
73
69
|
"types": "./types/exports/b.d.ts",
|
|
74
70
|
"import": "./es/exports/b.js",
|
|
75
|
-
"require": "./lib/exports/b.js",
|
|
76
71
|
"default": "./es/exports/b.js"
|
|
77
72
|
}
|
|
78
73
|
},
|
|
@@ -80,7 +75,7 @@
|
|
|
80
75
|
"lint": "ui-scripts lint",
|
|
81
76
|
"lint:fix": "ui-scripts lint --fix",
|
|
82
77
|
"clean": "ui-scripts clean",
|
|
83
|
-
"build": "ui-scripts build
|
|
78
|
+
"build": "ui-scripts build",
|
|
84
79
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
85
80
|
"build:types": "tsc -p tsconfig.build.json",
|
|
86
81
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -41,10 +41,10 @@ import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
|
|
|
41
41
|
|
|
42
42
|
import { withStyle } from '@instructure/emotion'
|
|
43
43
|
|
|
44
|
-
import generateStyle from './styles'
|
|
45
|
-
import generateComponentTheme from './theme'
|
|
44
|
+
import generateStyle from './styles.js'
|
|
45
|
+
import generateComponentTheme from './theme.js'
|
|
46
46
|
|
|
47
|
-
import { allowedProps } from './props'
|
|
47
|
+
import { allowedProps } from './props.js'
|
|
48
48
|
import type {
|
|
49
49
|
NumberInputProps,
|
|
50
50
|
NumberInputState,
|
|
@@ -61,6 +61,7 @@ id: NumberInput
|
|
|
61
61
|
@withDeterministicId()
|
|
62
62
|
@withStyle(generateStyle, generateComponentTheme)
|
|
63
63
|
class NumberInput extends Component<NumberInputProps, NumberInputState> {
|
|
64
|
+
static displayName = 'NumberInput'
|
|
64
65
|
static readonly componentId = 'NumberInput'
|
|
65
66
|
static allowedProps = allowedProps
|
|
66
67
|
static defaultProps = {
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
|
|
49
49
|
import { useStyleNew } from '@instructure/emotion'
|
|
50
50
|
|
|
51
|
-
import generateStyle from './styles'
|
|
51
|
+
import generateStyle from './styles.js'
|
|
52
52
|
|
|
53
53
|
import type { NumberInputProps } from './props'
|
|
54
54
|
import { Renderable } from '@instructure/shared-types'
|
package/src/exports/a.ts
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NumberInput } from '../NumberInput/v1'
|
|
24
|
+
export { NumberInput } from '../NumberInput/v1/index.js'
|
|
25
25
|
export type { NumberInputProps } from '../NumberInput/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NumberInput } from '../NumberInput/v2'
|
|
24
|
+
export { NumberInput } from '../NumberInput/v2/index.js'
|
|
25
25
|
export type { NumberInputProps } from '../NumberInput/v2/props'
|