@atlaskit/range 9.2.9 → 9.2.10

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
+ ## 9.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
3
11
  ## 9.2.9
4
12
 
5
13
  ### Patch Changes
@@ -36,9 +36,6 @@ var trackStyles = {
36
36
  disabled: "_1peq2wxo"
37
37
  };
38
38
  var rangeA11yStyles = null;
39
-
40
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
41
- // @ts-ignore: to unblock React 18.2.0 -> 18.3.1 version bump in Jira
42
39
  var Input = exports.Input = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
43
40
  var valuePercent = props.valuePercent,
44
41
  style = props.style,
@@ -22,9 +22,6 @@ const trackStyles = {
22
22
  disabled: "_1peq2wxo"
23
23
  };
24
24
  const rangeA11yStyles = null;
25
-
26
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
27
- // @ts-ignore: to unblock React 18.2.0 -> 18.3.1 version bump in Jira
28
25
  const Input = /*#__PURE__*/forwardRef((props, ref) => {
29
26
  const {
30
27
  valuePercent,
@@ -27,9 +27,6 @@ var trackStyles = {
27
27
  disabled: "_1peq2wxo"
28
28
  };
29
29
  var rangeA11yStyles = null;
30
-
31
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
32
- // @ts-ignore: to unblock React 18.2.0 -> 18.3.1 version bump in Jira
33
30
  var Input = /*#__PURE__*/forwardRef(function (props, ref) {
34
31
  var valuePercent = props.valuePercent,
35
32
  style = props.style,
@@ -46,5 +46,5 @@ export type RangeProps = Combine<Omit<React.InputHTMLAttributes<HTMLInputElement
46
46
  * - [Code](https://atlassian.design/components/range/code)
47
47
  * - [Usage](https://atlassian.design/components/range/usage)
48
48
  */
49
- declare const Range: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "checked" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
49
+ declare const Range: React.ForwardRefExoticComponent<React.PropsWithoutRef<RangeProps> & React.RefAttributes<HTMLInputElement>>;
50
50
  export default Range;
@@ -2,7 +2,7 @@ type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
2
2
  ref: React.Ref<HTMLInputElement>;
3
3
  valuePercent: string;
4
4
  };
5
- declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
5
+ declare const Input: React.ForwardRefExoticComponent<React.PropsWithoutRef<InputProps> & React.RefAttributes<HTMLInputElement>>;
6
6
  export {
7
7
  /**
8
8
  * __Input__
@@ -46,5 +46,5 @@ export type RangeProps = Combine<Omit<React.InputHTMLAttributes<HTMLInputElement
46
46
  * - [Code](https://atlassian.design/components/range/code)
47
47
  * - [Usage](https://atlassian.design/components/range/usage)
48
48
  */
49
- declare const Range: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "disabled" | "checked" | "required">, keyof OwnProps> & OwnProps & React.RefAttributes<HTMLInputElement>>;
49
+ declare const Range: React.ForwardRefExoticComponent<React.PropsWithoutRef<RangeProps> & React.RefAttributes<HTMLInputElement>>;
50
50
  export default Range;
@@ -2,7 +2,7 @@ type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
2
2
  ref: React.Ref<HTMLInputElement>;
3
3
  valuePercent: string;
4
4
  };
5
- declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
5
+ declare const Input: React.ForwardRefExoticComponent<React.PropsWithoutRef<InputProps> & React.RefAttributes<HTMLInputElement>>;
6
6
  export {
7
7
  /**
8
8
  * __Input__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/range",
3
- "version": "9.2.9",
3
+ "version": "9.2.10",
4
4
  "description": "A range lets users choose an approximate value on a slider.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"