@atlaskit/range 7.1.0 → 7.1.1
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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/range.d.ts +3 -3
- package/package.json +12 -4
- package/range/package.json +2 -2
- package/styled/package.json +2 -2
- package/theme/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/dist/types/range.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type OwnProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Sets the default value if range is not set.
|
|
5
5
|
*/
|
|
@@ -35,7 +35,7 @@ export declare type OwnProps = {
|
|
|
35
35
|
*/
|
|
36
36
|
value?: number;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
export
|
|
38
|
+
type Combine<First, Second> = Omit<First, keyof Second> & Second;
|
|
39
|
+
export type RangeProps = Combine<Omit<React.InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'required' | 'checked'>, OwnProps>;
|
|
40
40
|
declare const _default: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked" | "disabled" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
|
|
41
41
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/range",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "A range lets users choose an approximate value on a slider.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"atlaskit:src": "src/index.tsx",
|
|
17
25
|
"homepage": "https://atlassian.design/components/range/",
|
|
@@ -32,7 +40,7 @@
|
|
|
32
40
|
"dependencies": {
|
|
33
41
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
34
42
|
"@atlaskit/theme": "^12.5.0",
|
|
35
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
36
44
|
"@babel/runtime": "^7.0.0",
|
|
37
45
|
"@emotion/react": "^11.7.1"
|
|
38
46
|
},
|
|
@@ -41,7 +49,7 @@
|
|
|
41
49
|
},
|
|
42
50
|
"devDependencies": {
|
|
43
51
|
"@atlaskit/button": "^16.7.0",
|
|
44
|
-
"@atlaskit/checkbox": "^12.
|
|
52
|
+
"@atlaskit/checkbox": "^12.6.0",
|
|
45
53
|
"@atlaskit/docs": "*",
|
|
46
54
|
"@atlaskit/form": "^8.11.0",
|
|
47
55
|
"@atlaskit/section-message": "^6.4.0",
|
|
@@ -56,7 +64,7 @@
|
|
|
56
64
|
"lodash": "^4.17.21",
|
|
57
65
|
"react-dom": "^16.8.0",
|
|
58
66
|
"storybook-addon-performance": "^0.16.0",
|
|
59
|
-
"typescript": "4.
|
|
67
|
+
"typescript": "~4.9.5"
|
|
60
68
|
},
|
|
61
69
|
"keywords": [
|
|
62
70
|
"atlaskit",
|
package/range/package.json
CHANGED
package/styled/package.json
CHANGED