@atlaskit/range 10.0.7 → 10.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/range
2
2
 
3
+ ## 10.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`31b1ede297136`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31b1ede297136) -
14
+ Autofix: add explicit package exports (barrel removal)
15
+
3
16
  ## 10.0.7
4
17
 
5
18
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "target": "es5",
5
4
  "outDir": "../../../../../confluence/tsDist/@atlaskit__range",
6
5
  "rootDir": "../",
7
6
  "composite": true,
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
- "target": "es5",
5
4
  "outDir": "../../../../../tsDist/@atlaskit__range/app",
6
5
  "rootDir": "../",
7
6
  "composite": true,
@@ -7,6 +7,8 @@ order: 2
7
7
  Use ranges in [forms](/components/form) to let people select a value within a given range of minimum
8
8
  and maximum values.
9
9
 
10
+ ## Parts
11
+
10
12
  ![A diagram showing the range component UI, which is composed of a horizontal track, and a circle that indicates the current selected position on the range.](./images/range-anatomy.png)
11
13
 
12
14
  1. **Track:** The track is a horizontal line that displays the range available for the user to
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _range.default;
11
+ }
12
+ });
13
+ var _range = _interopRequireDefault(require("../range"));
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Input", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _styled.Input;
10
+ }
11
+ });
12
+ var _styled = require("../styled");
@@ -0,0 +1 @@
1
+ export { default } from '../range';
@@ -0,0 +1 @@
1
+ export { Input } from '../styled';
@@ -0,0 +1 @@
1
+ export { default } from '../range';
@@ -0,0 +1 @@
1
+ export { Input } from '../styled';
@@ -0,0 +1,2 @@
1
+ export type { OwnProps, RangeProps } from '../range';
2
+ export { default } from '../range';
@@ -0,0 +1 @@
1
+ export { Input } from '../styled';
@@ -0,0 +1,2 @@
1
+ export type { OwnProps, RangeProps } from '../range';
2
+ export { default } from '../range';
@@ -0,0 +1 @@
1
+ export { Input } from '../styled';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/range",
3
- "version": "10.0.7",
3
+ "version": "10.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/"
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/css": "^0.19.0",
35
35
  "@atlaskit/ds-lib": "^7.0.0",
36
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
37
- "@atlaskit/theme": "^23.0.0",
37
+ "@atlaskit/theme": "^24.0.0",
38
38
  "@atlaskit/tokens": "^13.0.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@compiled/react": "^0.20.0"
@@ -48,17 +48,18 @@
48
48
  "@af/visual-regression": "workspace:^",
49
49
  "@atlaskit/button": "^23.11.0",
50
50
  "@atlaskit/checkbox": "^17.3.0",
51
- "@atlaskit/docs": "^11.7.0",
51
+ "@atlaskit/docs": "^11.8.0",
52
52
  "@atlaskit/form": "^15.5.0",
53
53
  "@atlaskit/link": "^3.4.0",
54
54
  "@atlaskit/primitives": "^19.0.0",
55
- "@atlaskit/section-message": "^8.12.0",
56
- "@atlaskit/tooltip": "^21.1.0",
55
+ "@atlaskit/section-message": "^8.13.0",
56
+ "@atlaskit/tooltip": "^22.2.0",
57
57
  "@atlassian/react-compiler-gating": "workspace:^",
58
58
  "@atlassian/ssr-tests": "workspace:^",
59
59
  "@atlassian/structured-docs-types": "workspace:^",
60
60
  "@testing-library/react": "^16.3.0",
61
61
  "lodash": "^4.17.21",
62
+ "react": "^18.2.0",
62
63
  "react-dom": "^18.2.0"
63
64
  },
64
65
  "keywords": [
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@atlaskit/range/range",
3
- "main": "../dist/cjs/range.js",
4
- "module": "../dist/esm/range.js",
5
- "module:es2019": "../dist/es2019/range.js",
3
+ "main": "../dist/cjs/entry-points/range.js",
4
+ "module": "../dist/esm/entry-points/range.js",
5
+ "module:es2019": "../dist/es2019/entry-points/range.js",
6
6
  "sideEffects": [
7
7
  "**/*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/range.d.ts",
9
+ "types": "../dist/types/entry-points/range.d.ts",
10
10
  "typesVersions": {
11
11
  ">=4.5 <5.9": {
12
12
  "*": [
13
- "../dist/types-ts4.5/range.d.ts"
13
+ "../dist/types-ts4.5/entry-points/range.d.ts"
14
14
  ]
15
15
  }
16
16
  }
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@atlaskit/range/styled",
3
- "main": "../dist/cjs/styled.js",
4
- "module": "../dist/esm/styled.js",
5
- "module:es2019": "../dist/es2019/styled.js",
3
+ "main": "../dist/cjs/entry-points/styled.js",
4
+ "module": "../dist/esm/entry-points/styled.js",
5
+ "module:es2019": "../dist/es2019/entry-points/styled.js",
6
6
  "sideEffects": [
7
7
  "**/*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/styled.d.ts",
9
+ "types": "../dist/types/entry-points/styled.d.ts",
10
10
  "typesVersions": {
11
11
  ">=4.5 <5.9": {
12
12
  "*": [
13
- "../dist/types-ts4.5/styled.d.ts"
13
+ "../dist/types-ts4.5/entry-points/styled.d.ts"
14
14
  ]
15
15
  }
16
16
  }
@@ -1,42 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.local-consumption.json",
3
- "compilerOptions": {
4
- "target": "es5",
5
- "outDir": "../../../../../jira/tsDist/@atlaskit__range/app",
6
- "rootDir": "../",
7
- "composite": true,
8
- "noCheck": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../css/afm-jira/tsconfig.json"
28
- },
29
- {
30
- "path": "../../ds-lib/afm-jira/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
34
- },
35
- {
36
- "path": "../../theme/afm-jira/tsconfig.json"
37
- },
38
- {
39
- "path": "../../tokens/afm-jira/tsconfig.json"
40
- }
41
- ]
42
- }
package/offerings.json DELETED
@@ -1,34 +0,0 @@
1
- [
2
- {
3
- "name": "Range",
4
- "package": "@atlaskit/range",
5
- "import": {
6
- "name": "Range",
7
- "package": "@atlaskit/range",
8
- "type": "default"
9
- },
10
- "keywords": ["range", "slider", "input", "form", "value", "selection"],
11
- "categories": ["form"],
12
- "shortDescription": "A component for selecting a value from a range of values.",
13
- "status": "general-availability",
14
- "accessibilityGuidelines": [
15
- "Provide clear labels for range inputs",
16
- "Use appropriate ARIA attributes",
17
- "Ensure keyboard navigation support",
18
- "Provide value announcements for screen readers"
19
- ],
20
- "usageGuidelines": [
21
- "Use for selecting numeric values within a range",
22
- "Provide clear min/max boundaries",
23
- "Use appropriate step increments",
24
- "Consider showing current value"
25
- ],
26
- "contentGuidelines": [
27
- "Use clear range labels",
28
- "Provide meaningful min/max labels",
29
- "Show current value when helpful",
30
- "Use consistent range terminology"
31
- ],
32
- "examples": ["./examples/ai/range.tsx"]
33
- }
34
- ]