@atlaskit/range 7.3.0 → 7.3.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,13 @@
1
1
  # @atlaskit/range
2
2
 
3
+ ## 7.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
8
+ [`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
9
+ DSP-19576: Assign names to anonymous default exports
10
+
3
11
  ## 7.3.0
4
12
 
5
13
  ### Minor Changes
@@ -1,12 +1,11 @@
1
1
  {
2
- "extends": "../../../../tsconfig.products.json",
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "outDir": "../../../../../tsDist/@atlaskit__range/app",
7
7
  "composite": true,
8
- "rootDir": "../",
9
- "baseUrl": "../"
8
+ "rootDir": "../"
10
9
  },
11
10
  "include": [
12
11
  "../src/**/*.ts",
package/dist/cjs/range.js CHANGED
@@ -40,7 +40,17 @@ var getRoundedPercentValue = function getRoundedPercentValue(value, min, max, st
40
40
  return percent;
41
41
  };
42
42
  var noop = _noop.default;
43
- var _default = exports.default = /*#__PURE__*/(0, _react.forwardRef)(function Range(props, ref) {
43
+
44
+ /**
45
+ * __Range__
46
+ *
47
+ * A range lets users choose an approximate value on a slider.
48
+ *
49
+ * - [Examples](https://atlassian.design/components/range/examples)
50
+ * - [Code](https://atlassian.design/components/range/code)
51
+ * - [Usage](https://atlassian.design/components/range/usage)
52
+ */
53
+ var Range = /*#__PURE__*/(0, _react.forwardRef)(function Range(props, ref) {
44
54
  var _props$isDisabled = props.isDisabled,
45
55
  isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
46
56
  _props$defaultValue = props.defaultValue,
@@ -82,4 +92,5 @@ var _default = exports.default = /*#__PURE__*/(0, _react.forwardRef)(function Ra
82
92
  valuePercent: valuePercent,
83
93
  "data-testid": testId
84
94
  }, spreadProps));
85
- });
95
+ });
96
+ var _default = exports.default = Range;
@@ -25,7 +25,17 @@ const getRoundedPercentValue = (value, min, max, step) => {
25
25
  return percent;
26
26
  };
27
27
  const noop = __noop;
28
- export default /*#__PURE__*/forwardRef(function Range(props, ref) {
28
+
29
+ /**
30
+ * __Range__
31
+ *
32
+ * A range lets users choose an approximate value on a slider.
33
+ *
34
+ * - [Examples](https://atlassian.design/components/range/examples)
35
+ * - [Code](https://atlassian.design/components/range/code)
36
+ * - [Usage](https://atlassian.design/components/range/usage)
37
+ */
38
+ const Range = /*#__PURE__*/forwardRef(function Range(props, ref) {
29
39
  const {
30
40
  isDisabled = false,
31
41
  defaultValue = 50,
@@ -61,4 +71,5 @@ export default /*#__PURE__*/forwardRef(function Range(props, ref) {
61
71
  valuePercent: valuePercent,
62
72
  "data-testid": testId
63
73
  }, spreadProps));
64
- });
74
+ });
75
+ export default Range;
package/dist/esm/range.js CHANGED
@@ -31,7 +31,17 @@ var getRoundedPercentValue = function getRoundedPercentValue(value, min, max, st
31
31
  return percent;
32
32
  };
33
33
  var noop = __noop;
34
- export default /*#__PURE__*/forwardRef(function Range(props, ref) {
34
+
35
+ /**
36
+ * __Range__
37
+ *
38
+ * A range lets users choose an approximate value on a slider.
39
+ *
40
+ * - [Examples](https://atlassian.design/components/range/examples)
41
+ * - [Code](https://atlassian.design/components/range/code)
42
+ * - [Usage](https://atlassian.design/components/range/usage)
43
+ */
44
+ var Range = /*#__PURE__*/forwardRef(function Range(props, ref) {
35
45
  var _props$isDisabled = props.isDisabled,
36
46
  isDisabled = _props$isDisabled === void 0 ? false : _props$isDisabled,
37
47
  _props$defaultValue = props.defaultValue,
@@ -73,4 +83,5 @@ export default /*#__PURE__*/forwardRef(function Range(props, ref) {
73
83
  valuePercent: valuePercent,
74
84
  "data-testid": testId
75
85
  }, spreadProps));
76
- });
86
+ });
87
+ export default Range;
@@ -37,5 +37,14 @@ export type OwnProps = {
37
37
  };
38
38
  type Combine<First, Second> = Omit<First, keyof Second> & Second;
39
39
  export type RangeProps = Combine<Omit<React.InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'required' | 'checked'>, OwnProps>;
40
- declare const _default: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked" | "disabled" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
41
- export default _default;
40
+ /**
41
+ * __Range__
42
+ *
43
+ * A range lets users choose an approximate value on a slider.
44
+ *
45
+ * - [Examples](https://atlassian.design/components/range/examples)
46
+ * - [Code](https://atlassian.design/components/range/code)
47
+ * - [Usage](https://atlassian.design/components/range/usage)
48
+ */
49
+ declare const Range: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked" | "disabled" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
50
+ export default Range;
@@ -37,5 +37,14 @@ export type OwnProps = {
37
37
  };
38
38
  type Combine<First, Second> = Omit<First, keyof Second> & Second;
39
39
  export type RangeProps = Combine<Omit<React.InputHTMLAttributes<HTMLInputElement>, 'disabled' | 'required' | 'checked'>, OwnProps>;
40
- declare const _default: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked" | "disabled" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
41
- export default _default;
40
+ /**
41
+ * __Range__
42
+ *
43
+ * A range lets users choose an approximate value on a slider.
44
+ *
45
+ * - [Examples](https://atlassian.design/components/range/examples)
46
+ * - [Code](https://atlassian.design/components/range/code)
47
+ * - [Usage](https://atlassian.design/components/range/usage)
48
+ */
49
+ declare const Range: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked" | "disabled" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
50
+ export default Range;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/range",
3
- "version": "7.3.0",
3
+ "version": "7.3.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/"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/ds-lib": "^2.3.0",
31
- "@atlaskit/theme": "^12.10.0",
32
- "@atlaskit/tokens": "^1.51.0",
31
+ "@atlaskit/theme": "^12.11.0",
32
+ "@atlaskit/tokens": "^1.54.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "@af/accessibility-testing": "*",
41
41
  "@af/visual-regression": "*",
42
- "@atlaskit/checkbox": "^13.4.0",
42
+ "@atlaskit/checkbox": "^13.5.0",
43
43
  "@atlaskit/ssr": "*",
44
44
  "@atlaskit/tooltip": "^18.5.0",
45
45
  "@atlaskit/visual-regression": "*",