@instructure/ui-range-input 11.7.10 → 11.7.11-pr-snapshot-1794841957152

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/es/exports/b.js CHANGED
@@ -1,25 +1 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- export { RangeInput } from '../RangeInput/v2/index.js';
1
+ export { RangeInput } from '../RangeInput/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-range-input",
3
- "version": "11.7.10",
3
+ "version": "11.7.11-pr-snapshot-1794841957152",
4
+ "type": "module",
4
5
  "description": "A styled HTML range input",
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",
@@ -14,23 +14,22 @@
14
14
  "bugs": "https://github.com/instructure/instructure-ui/issues",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@babel/runtime": "^7.29.7",
18
- "@instructure/console": "11.7.10",
19
- "@instructure/emotion": "11.7.10",
20
- "@instructure/shared-types": "11.7.10",
21
- "@instructure/ui-color-utils": "11.7.10",
22
- "@instructure/ui-dom-utils": "11.7.10",
23
- "@instructure/ui-form-field": "11.7.10",
24
- "@instructure/ui-i18n": "11.7.10",
25
- "@instructure/ui-react-utils": "11.7.10",
26
- "@instructure/ui-themes": "11.7.10",
27
- "@instructure/ui-utils": "11.7.10",
28
- "@instructure/ui-view": "11.7.10",
29
- "@instructure/uid": "11.7.10"
17
+ "@instructure/console": "11.7.11-pr-snapshot-1794841957152",
18
+ "@instructure/emotion": "11.7.11-pr-snapshot-1794841957152",
19
+ "@instructure/shared-types": "11.7.11-pr-snapshot-1794841957152",
20
+ "@instructure/ui-color-utils": "11.7.11-pr-snapshot-1794841957152",
21
+ "@instructure/ui-dom-utils": "11.7.11-pr-snapshot-1794841957152",
22
+ "@instructure/ui-form-field": "11.7.11-pr-snapshot-1794841957152",
23
+ "@instructure/ui-i18n": "11.7.11-pr-snapshot-1794841957152",
24
+ "@instructure/ui-react-utils": "11.7.11-pr-snapshot-1794841957152",
25
+ "@instructure/ui-themes": "11.7.11-pr-snapshot-1794841957152",
26
+ "@instructure/ui-utils": "11.7.11-pr-snapshot-1794841957152",
27
+ "@instructure/ui-view": "11.7.11-pr-snapshot-1794841957152",
28
+ "@instructure/uid": "11.7.11-pr-snapshot-1794841957152",
29
+ "@swc/helpers": "^0.5.23"
30
30
  },
31
31
  "devDependencies": {
32
- "@instructure/ui-axe-check": "11.7.10",
33
- "@instructure/ui-babel-preset": "11.7.10",
32
+ "@instructure/ui-axe-check": "11.7.11-pr-snapshot-1794841957152",
34
33
  "vitest": "^5.0.0"
35
34
  },
36
35
  "peerDependencies": {
@@ -41,7 +40,6 @@
41
40
  },
42
41
  "sideEffects": false,
43
42
  "exports": {
44
- "./lib/*": "./lib/*",
45
43
  "./es/*": "./es/*",
46
44
  "./types/*": "./types/*",
47
45
  "./package.json": "./package.json",
@@ -50,28 +48,24 @@
50
48
  "src": "./src/exports/a.ts",
51
49
  "types": "./types/exports/a.d.ts",
52
50
  "import": "./es/exports/a.js",
53
- "require": "./lib/exports/a.js",
54
51
  "default": "./es/exports/a.js"
55
52
  },
56
53
  "./v11_6": {
57
54
  "src": "./src/exports/a.ts",
58
55
  "types": "./types/exports/a.d.ts",
59
56
  "import": "./es/exports/a.js",
60
- "require": "./lib/exports/a.js",
61
57
  "default": "./es/exports/a.js"
62
58
  },
63
59
  "./v11_7": {
64
60
  "src": "./src/exports/b.ts",
65
61
  "types": "./types/exports/b.d.ts",
66
62
  "import": "./es/exports/b.js",
67
- "require": "./lib/exports/b.js",
68
63
  "default": "./es/exports/b.js"
69
64
  },
70
65
  "./latest": {
71
66
  "src": "./src/exports/b.ts",
72
67
  "types": "./types/exports/b.d.ts",
73
68
  "import": "./es/exports/b.js",
74
- "require": "./lib/exports/b.js",
75
69
  "default": "./es/exports/b.js"
76
70
  }
77
71
  },
@@ -79,7 +73,7 @@
79
73
  "lint": "ui-scripts lint",
80
74
  "lint:fix": "ui-scripts lint --fix",
81
75
  "clean": "ui-scripts clean",
82
- "build": "ui-scripts build --modules es,cjs",
76
+ "build": "ui-scripts build",
83
77
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
84
78
  "build:types": "tsc -p tsconfig.build.json",
85
79
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -46,9 +46,10 @@ import { allowedProps } from './props.js'
46
46
  category: components
47
47
  ---
48
48
  **/
49
- @withDeterministicId()
50
- @withStyle(generateStyle, generateComponentTheme)
51
- class RangeInput extends Component<RangeInputProps, RangeInputState> {
49
+ export class RangeInputBase extends Component<
50
+ RangeInputProps,
51
+ RangeInputState
52
+ > {
52
53
  static displayName = 'RangeInput'
53
54
  static readonly componentId = 'RangeInput'
54
55
  static outputLocatorAttribute = 'data-range-output'
@@ -221,5 +222,10 @@ class RangeInput extends Component<RangeInputProps, RangeInputState> {
221
222
  }
222
223
  }
223
224
 
225
+ const RangeInput = withDeterministicId()(
226
+ withStyle(generateStyle, generateComponentTheme)(RangeInputBase)
227
+ )
228
+ type RangeInput = RangeInputBase
229
+
224
230
  export default RangeInput
225
231
  export { RangeInput }
@@ -45,9 +45,10 @@ import { allowedProps } from './props.js'
45
45
  category: components
46
46
  ---
47
47
  **/
48
- @withDeterministicId()
49
- @withStyleNew(generateStyle)
50
- class RangeInput extends Component<RangeInputProps, RangeInputState> {
48
+ export class RangeInputBase extends Component<
49
+ RangeInputProps,
50
+ RangeInputState
51
+ > {
51
52
  static displayName = 'RangeInput'
52
53
  static readonly componentId = 'RangeInput'
53
54
  static outputLocatorAttribute = 'data-range-output'
@@ -226,5 +227,10 @@ class RangeInput extends Component<RangeInputProps, RangeInputState> {
226
227
  }
227
228
  }
228
229
 
230
+ const RangeInput = withDeterministicId()(
231
+ withStyleNew(generateStyle)(RangeInputBase)
232
+ )
233
+ type RangeInput = RangeInputBase
234
+
229
235
  export default RangeInput
230
236
  export { RangeInput }
@@ -19,7 +19,6 @@
19
19
  { "path": "../ui-utils/tsconfig.build.json" },
20
20
  { "path": "../ui-view/tsconfig.build.json" },
21
21
  { "path": "../uid/tsconfig.build.json" },
22
- { "path": "../ui-babel-preset/tsconfig.build.json" },
23
22
  { "path": "../ui-themes/tsconfig.build.json" }
24
23
  ]
25
24
  }