@atlaskit/range 6.0.5 → 6.0.6
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/package.json +11 -4
- package/report.api.md +51 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/range
|
|
2
2
|
|
|
3
|
+
## 6.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
|
|
8
|
+
|
|
3
9
|
## 6.0.5
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/range",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.6",
|
|
4
4
|
"description": "A range lets users choose an approximate value on a slider.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -17,12 +17,18 @@
|
|
|
17
17
|
"homepage": "https://atlassian.design/components/range/",
|
|
18
18
|
"atlassian": {
|
|
19
19
|
"team": "Design System Team",
|
|
20
|
-
"deprecatedAutoEntryPoints": true,
|
|
21
20
|
"releaseModel": "scheduled",
|
|
22
21
|
"website": {
|
|
23
|
-
"name": "Range"
|
|
22
|
+
"name": "Range",
|
|
23
|
+
"category": "Components"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
+
"af:exports": {
|
|
27
|
+
".": "./src/index.ts",
|
|
28
|
+
"./range": "./src/range.tsx",
|
|
29
|
+
"./styled": "./src/styled.tsx",
|
|
30
|
+
"./theme": "./src/theme.ts"
|
|
31
|
+
},
|
|
26
32
|
"dependencies": {
|
|
27
33
|
"@atlaskit/theme": "^12.1.0",
|
|
28
34
|
"@atlaskit/tokens": "^0.10.0",
|
|
@@ -61,6 +67,7 @@
|
|
|
61
67
|
"import-structure": "atlassian-conventions"
|
|
62
68
|
},
|
|
63
69
|
"@repo/internal": {
|
|
70
|
+
"dom-events": "use-bind-event-listener",
|
|
64
71
|
"ui-components": "lite-mode",
|
|
65
72
|
"analytics": "analytics-next",
|
|
66
73
|
"theming": "tokens",
|
package/report.api.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/range"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { default as React_2 } from 'react';
|
|
7
|
+
|
|
8
|
+
declare type Combine<First, Second> = Omit<First, keyof Second> & Second;
|
|
9
|
+
|
|
10
|
+
declare const _default: React_2.ForwardRefExoticComponent<
|
|
11
|
+
Omit<
|
|
12
|
+
Omit<
|
|
13
|
+
React_2.InputHTMLAttributes<HTMLInputElement>,
|
|
14
|
+
'checked' | 'disabled' | 'required'
|
|
15
|
+
>,
|
|
16
|
+
keyof OwnProps
|
|
17
|
+
> &
|
|
18
|
+
OwnProps &
|
|
19
|
+
React_2.RefAttributes<HTMLInputElement>
|
|
20
|
+
>;
|
|
21
|
+
export default _default;
|
|
22
|
+
|
|
23
|
+
declare type OwnProps = {
|
|
24
|
+
/** Sets the default value if range is not set. */
|
|
25
|
+
defaultValue?: number;
|
|
26
|
+
/** Sets whether the field range is disabled. */
|
|
27
|
+
isDisabled?: boolean;
|
|
28
|
+
/** Sets the maximum value of the range. */
|
|
29
|
+
max?: number;
|
|
30
|
+
/** Sets the minimum value of the range.*/
|
|
31
|
+
min?: number;
|
|
32
|
+
/** Hook to be invoked on change of the range. */
|
|
33
|
+
onChange?: (value: number) => void;
|
|
34
|
+
/** Sets the step value for the range. */
|
|
35
|
+
step?: number;
|
|
36
|
+
/** A `testId` prop is provided for specific elements. This is a unique string that appears as a data attribute `data-testid` in the rendered code and serves as a hook for automated tests. */
|
|
37
|
+
testId?: string;
|
|
38
|
+
/** Sets the value of the range. */
|
|
39
|
+
value?: number;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export declare type RangeProps = Combine<
|
|
43
|
+
Omit<
|
|
44
|
+
React_2.InputHTMLAttributes<HTMLInputElement>,
|
|
45
|
+
'disabled' | 'required' | 'checked'
|
|
46
|
+
>,
|
|
47
|
+
OwnProps
|
|
48
|
+
>;
|
|
49
|
+
|
|
50
|
+
export {};
|
|
51
|
+
```
|