@react-spectrum/slider 3.6.8-nightly.4552 → 3.6.8-nightly.4558

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.
Files changed (76) hide show
  1. package/dist/RangeSlider.main.js +117 -0
  2. package/dist/RangeSlider.main.js.map +1 -0
  3. package/dist/RangeSlider.mjs +112 -0
  4. package/dist/RangeSlider.module.js +112 -0
  5. package/dist/RangeSlider.module.js.map +1 -0
  6. package/dist/Slider.main.js +123 -0
  7. package/dist/Slider.main.js.map +1 -0
  8. package/dist/Slider.mjs +118 -0
  9. package/dist/Slider.module.js +118 -0
  10. package/dist/Slider.module.js.map +1 -0
  11. package/dist/SliderBase.main.js +172 -0
  12. package/dist/SliderBase.main.js.map +1 -0
  13. package/dist/SliderBase.mjs +167 -0
  14. package/dist/SliderBase.module.js +167 -0
  15. package/dist/SliderBase.module.js.map +1 -0
  16. package/dist/SliderThumb.main.js +67 -0
  17. package/dist/SliderThumb.main.js.map +1 -0
  18. package/dist/SliderThumb.mjs +62 -0
  19. package/dist/SliderThumb.module.js +62 -0
  20. package/dist/SliderThumb.module.js.map +1 -0
  21. package/dist/ar-AE.mjs +1 -1
  22. package/dist/bg-BG.mjs +1 -1
  23. package/dist/cs-CZ.mjs +1 -1
  24. package/dist/da-DK.mjs +1 -1
  25. package/dist/de-DE.mjs +1 -1
  26. package/dist/el-GR.mjs +1 -1
  27. package/dist/en-US.mjs +1 -1
  28. package/dist/es-ES.mjs +1 -1
  29. package/dist/et-EE.mjs +1 -1
  30. package/dist/fi-FI.mjs +1 -1
  31. package/dist/fr-FR.mjs +1 -1
  32. package/dist/he-IL.mjs +1 -1
  33. package/dist/hr-HR.mjs +1 -1
  34. package/dist/hu-HU.mjs +1 -1
  35. package/dist/import.mjs +2 -660
  36. package/dist/intlStrings.main.js +108 -0
  37. package/dist/intlStrings.main.js.map +1 -0
  38. package/dist/intlStrings.mjs +110 -0
  39. package/dist/intlStrings.module.js +110 -0
  40. package/dist/intlStrings.module.js.map +1 -0
  41. package/dist/it-IT.mjs +1 -1
  42. package/dist/ja-JP.mjs +1 -1
  43. package/dist/ko-KR.mjs +1 -1
  44. package/dist/lt-LT.mjs +1 -1
  45. package/dist/lv-LV.mjs +1 -1
  46. package/dist/main.js +4 -658
  47. package/dist/main.js.map +1 -1
  48. package/dist/module.js +2 -660
  49. package/dist/module.js.map +1 -1
  50. package/dist/nb-NO.mjs +1 -1
  51. package/dist/nl-NL.mjs +1 -1
  52. package/dist/pl-PL.mjs +1 -1
  53. package/dist/pt-BR.mjs +1 -1
  54. package/dist/pt-PT.mjs +1 -1
  55. package/dist/ro-RO.mjs +1 -1
  56. package/dist/ru-RU.mjs +1 -1
  57. package/dist/sk-SK.mjs +1 -1
  58. package/dist/sl-SI.mjs +1 -1
  59. package/dist/slider_vars_css.main.js +146 -0
  60. package/dist/slider_vars_css.main.js.map +1 -0
  61. package/dist/slider_vars_css.mjs +148 -0
  62. package/dist/slider_vars_css.module.js +148 -0
  63. package/dist/slider_vars_css.module.js.map +1 -0
  64. package/dist/sr-SP.mjs +1 -1
  65. package/dist/sv-SE.mjs +1 -1
  66. package/dist/tr-TR.mjs +1 -1
  67. package/dist/types.d.ts +3 -2
  68. package/dist/types.d.ts.map +1 -1
  69. package/dist/uk-UA.mjs +1 -1
  70. package/dist/{main.css → vars.b570f076.css} +1 -1
  71. package/dist/{main.css.map → vars.b570f076.css.map} +1 -1
  72. package/dist/zh-CN.mjs +1 -1
  73. package/dist/zh-TW.mjs +1 -1
  74. package/package.json +13 -13
  75. package/dist/module.css +0 -1189
  76. package/dist/module.css.map +0 -1
@@ -0,0 +1,167 @@
1
+ import "./vars.b570f076.css";
2
+ import $63Ecs$slider_vars_cssmodulejs from "./slider_vars_css.module.js";
3
+ import {useStyleProps as $63Ecs$useStyleProps, useFocusableRef as $63Ecs$useFocusableRef, classNames as $63Ecs$classNames, SlotProvider as $63Ecs$SlotProvider} from "@react-spectrum/utils";
4
+ import $63Ecs$react, {useRef as $63Ecs$useRef} from "react";
5
+ import {useSliderState as $63Ecs$useSliderState} from "@react-stately/slider";
6
+ import {useNumberFormatter as $63Ecs$useNumberFormatter} from "@react-aria/i18n";
7
+ import {useProviderProps as $63Ecs$useProviderProps} from "@react-spectrum/provider";
8
+ import {useSlider as $63Ecs$useSlider} from "@react-aria/slider";
9
+
10
+
11
+ function $parcel$interopDefault(a) {
12
+ return a && a.__esModule ? a.default : a;
13
+ }
14
+ /*
15
+ * Copyright 2020 Adobe. All rights reserved.
16
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
17
+ * you may not use this file except in compliance with the License. You may obtain a copy
18
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
19
+ *
20
+ * Unless required by applicable law or agreed to in writing, software distributed under
21
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
22
+ * OF ANY KIND, either express or implied. See the License for the specific language
23
+ * governing permissions and limitations under the License.
24
+ */
25
+
26
+
27
+
28
+
29
+
30
+
31
+ function $39572711324a3b8e$var$SliderBase(props, ref) {
32
+ props = (0, $63Ecs$useProviderProps)(props);
33
+ let { isDisabled: isDisabled, children: children, classes: classes, style: style, labelPosition: labelPosition = "top", getValueLabel: getValueLabel, showValueLabel: showValueLabel = !!props.label, formatOptions: formatOptions, minValue: minValue = 0, maxValue: maxValue = 100, ...otherProps } = props;
34
+ let { styleProps: styleProps } = (0, $63Ecs$useStyleProps)(otherProps);
35
+ // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.
36
+ let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;
37
+ if (alwaysDisplaySign) {
38
+ if (formatOptions != null) {
39
+ if (!("signDisplay" in formatOptions)) formatOptions = {
40
+ ...formatOptions,
41
+ // @ts-ignore
42
+ signDisplay: "exceptZero"
43
+ };
44
+ } else // @ts-ignore
45
+ formatOptions = {
46
+ signDisplay: "exceptZero"
47
+ };
48
+ }
49
+ const formatter = (0, $63Ecs$useNumberFormatter)(formatOptions);
50
+ const state = (0, $63Ecs$useSliderState)({
51
+ ...props,
52
+ numberFormatter: formatter,
53
+ minValue: minValue,
54
+ maxValue: maxValue
55
+ });
56
+ let trackRef = (0, $63Ecs$useRef)();
57
+ let { groupProps: groupProps, trackProps: trackProps, labelProps: labelProps, outputProps: outputProps } = (0, $63Ecs$useSlider)(props, state, trackRef);
58
+ let inputRef = (0, $63Ecs$useRef)();
59
+ let domRef = (0, $63Ecs$useFocusableRef)(ref, inputRef);
60
+ let displayValue = "";
61
+ let maxLabelLength = undefined;
62
+ if (typeof getValueLabel === "function") {
63
+ displayValue = getValueLabel(state.values);
64
+ switch(state.values.length){
65
+ case 1:
66
+ maxLabelLength = Math.max(getValueLabel([
67
+ minValue
68
+ ]).length, getValueLabel([
69
+ maxValue
70
+ ]).length);
71
+ break;
72
+ case 2:
73
+ // Try all possible combinations of min and max values.
74
+ maxLabelLength = Math.max(getValueLabel([
75
+ minValue,
76
+ minValue
77
+ ]).length, getValueLabel([
78
+ minValue,
79
+ maxValue
80
+ ]).length, getValueLabel([
81
+ maxValue,
82
+ minValue
83
+ ]).length, getValueLabel([
84
+ maxValue,
85
+ maxValue
86
+ ]).length);
87
+ break;
88
+ default:
89
+ throw new Error("Only sliders with 1 or 2 handles are supported!");
90
+ }
91
+ } else {
92
+ maxLabelLength = Math.max([
93
+ ...formatter.format(minValue)
94
+ ].length, [
95
+ ...formatter.format(maxValue)
96
+ ].length);
97
+ switch(state.values.length){
98
+ case 1:
99
+ displayValue = state.getThumbValueLabel(0);
100
+ break;
101
+ case 2:
102
+ // This should really use the NumberFormat#formatRange proposal...
103
+ // https://github.com/tc39/ecma402/issues/393
104
+ // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393
105
+ displayValue = `${state.getThumbValueLabel(0)} \u{2013} ${state.getThumbValueLabel(1)}`;
106
+ maxLabelLength = 3 + 2 * Math.max(maxLabelLength, [
107
+ ...formatter.format(minValue)
108
+ ].length, [
109
+ ...formatter.format(maxValue)
110
+ ].length);
111
+ break;
112
+ default:
113
+ throw new Error("Only sliders with 1 or 2 handles are supported!");
114
+ }
115
+ }
116
+ let labelNode = /*#__PURE__*/ (0, $63Ecs$react).createElement("label", {
117
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-label"),
118
+ ...labelProps
119
+ }, props.label);
120
+ let valueNode = /*#__PURE__*/ (0, $63Ecs$react).createElement("output", {
121
+ ...outputProps,
122
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-value"),
123
+ style: maxLabelLength && {
124
+ width: `${maxLabelLength}ch`,
125
+ minWidth: `${maxLabelLength}ch`
126
+ }
127
+ }, displayValue);
128
+ return /*#__PURE__*/ (0, $63Ecs$react).createElement("div", {
129
+ ref: domRef,
130
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider", {
131
+ "spectrum-Slider--positionTop": labelPosition === "top",
132
+ "spectrum-Slider--positionSide": labelPosition === "side",
133
+ "is-disabled": isDisabled
134
+ }, classes, styleProps.className),
135
+ style: {
136
+ ...style,
137
+ ...styleProps.style
138
+ },
139
+ ...groupProps
140
+ }, props.label && /*#__PURE__*/ (0, $63Ecs$react).createElement("div", {
141
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-labelContainer"),
142
+ role: "presentation"
143
+ }, props.label && labelNode, props.contextualHelp && /*#__PURE__*/ (0, $63Ecs$react).createElement((0, $63Ecs$SlotProvider), {
144
+ slots: {
145
+ actionButton: {
146
+ UNSAFE_className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-contextualHelp")
147
+ }
148
+ }
149
+ }, props.contextualHelp), labelPosition === "top" && showValueLabel && valueNode), /*#__PURE__*/ (0, $63Ecs$react).createElement("div", {
150
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-controls"),
151
+ ref: trackRef,
152
+ ...trackProps,
153
+ role: "presentation"
154
+ }, children({
155
+ trackRef: trackRef,
156
+ inputRef: inputRef,
157
+ state: state
158
+ })), labelPosition === "side" && /*#__PURE__*/ (0, $63Ecs$react).createElement("div", {
159
+ className: (0, $63Ecs$classNames)((0, ($parcel$interopDefault($63Ecs$slider_vars_cssmodulejs))), "spectrum-Slider-valueLabelContainer"),
160
+ role: "presentation"
161
+ }, showValueLabel && valueNode));
162
+ }
163
+ const $39572711324a3b8e$export$9418495bb635ebde = /*#__PURE__*/ (0, $63Ecs$react).forwardRef($39572711324a3b8e$var$SliderBase);
164
+
165
+
166
+ export {$39572711324a3b8e$export$9418495bb635ebde as SliderBase};
167
+ //# sourceMappingURL=SliderBase.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"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","sources":["packages/@react-spectrum/slider/src/SliderBase.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport React, {CSSProperties, ReactNode, RefObject, useRef} from 'react';\nimport {SliderState, useSliderState} from '@react-stately/slider';\nimport {SpectrumBarSliderBase} from '@react-types/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useNumberFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useSlider} from '@react-aria/slider';\n\nexport interface SliderBaseChildArguments {\n inputRef: RefObject<HTMLInputElement>,\n trackRef: RefObject<HTMLElement>,\n state: SliderState\n}\n\nexport interface SliderBaseProps<T = number[]> extends SpectrumBarSliderBase<T> {\n children: (opts: SliderBaseChildArguments) => ReactNode,\n classes?: string[] | Object,\n style?: CSSProperties\n}\n\nfunction SliderBase(props: SliderBaseProps, ref: FocusableRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n isDisabled,\n children,\n classes,\n style,\n labelPosition = 'top',\n getValueLabel,\n showValueLabel = !!props.label,\n formatOptions,\n minValue = 0,\n maxValue = 100,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n\n // `Math.abs(Math.sign(a) - Math.sign(b)) === 2` is true if the values have a different sign.\n let alwaysDisplaySign = Math.abs(Math.sign(minValue) - Math.sign(maxValue)) === 2;\n if (alwaysDisplaySign) {\n if (formatOptions != null) {\n if (!('signDisplay' in formatOptions)) {\n formatOptions = {\n ...formatOptions,\n // @ts-ignore\n signDisplay: 'exceptZero'\n };\n }\n } else {\n // @ts-ignore\n formatOptions = {signDisplay: 'exceptZero'};\n }\n }\n\n const formatter = useNumberFormatter(formatOptions);\n const state = useSliderState({\n ...props,\n numberFormatter: formatter,\n minValue,\n maxValue\n });\n let trackRef = useRef();\n let {\n groupProps,\n trackProps,\n labelProps,\n outputProps\n } = useSlider(props, state, trackRef);\n\n let inputRef = useRef();\n let domRef = useFocusableRef(ref, inputRef);\n\n let displayValue = '';\n let maxLabelLength = undefined;\n\n if (typeof getValueLabel === 'function') {\n displayValue = getValueLabel(state.values);\n switch (state.values.length) {\n case 1:\n maxLabelLength = Math.max(\n getValueLabel([minValue]).length,\n getValueLabel([maxValue]).length\n );\n break;\n case 2:\n // Try all possible combinations of min and max values.\n maxLabelLength = Math.max(\n getValueLabel([minValue, minValue]).length,\n getValueLabel([minValue, maxValue]).length,\n getValueLabel([maxValue, minValue]).length,\n getValueLabel([maxValue, maxValue]).length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n } else {\n maxLabelLength = Math.max([...formatter.format(minValue)].length, [...formatter.format(maxValue)].length);\n switch (state.values.length) {\n case 1:\n displayValue = state.getThumbValueLabel(0);\n break;\n case 2:\n // This should really use the NumberFormat#formatRange proposal...\n // https://github.com/tc39/ecma402/issues/393\n // https://github.com/tc39/proposal-intl-numberformat-v3#formatrange-ecma-402-393\n displayValue = `${state.getThumbValueLabel(0)} – ${state.getThumbValueLabel(1)}`;\n maxLabelLength = 3 + 2 * Math.max(\n maxLabelLength,\n [...formatter.format(minValue)].length, [...formatter.format(maxValue)].length\n );\n break;\n default:\n throw new Error('Only sliders with 1 or 2 handles are supported!');\n }\n }\n\n let labelNode = (\n <label\n className={classNames(styles, 'spectrum-Slider-label')}\n {...labelProps}>\n {props.label}\n </label>\n );\n\n let valueNode = (\n <output\n {...outputProps}\n className={classNames(styles, 'spectrum-Slider-value')}\n style={maxLabelLength && {width: `${maxLabelLength}ch`, minWidth: `${maxLabelLength}ch`}}>\n {displayValue}\n </output>\n );\n\n return (\n <div\n ref={domRef}\n className={classNames(styles,\n 'spectrum-Slider',\n {\n 'spectrum-Slider--positionTop': labelPosition === 'top',\n 'spectrum-Slider--positionSide': labelPosition === 'side',\n 'is-disabled': isDisabled\n },\n classes,\n styleProps.className)}\n style={{\n ...style,\n ...styleProps.style\n }}\n {...groupProps}>\n {(props.label) &&\n <div className={classNames(styles, 'spectrum-Slider-labelContainer')} role=\"presentation\">\n {props.label && labelNode}\n {props.contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(styles, 'spectrum-Slider-contextualHelp')\n }\n }}>\n {props.contextualHelp}\n </SlotProvider>\n }\n {labelPosition === 'top' && showValueLabel && valueNode}\n </div>\n }\n <div className={classNames(styles, 'spectrum-Slider-controls')} ref={trackRef} {...trackProps} role=\"presentation\">\n {children({\n trackRef,\n inputRef,\n state\n })}\n </div>\n {labelPosition === 'side' &&\n <div className={classNames(styles, 'spectrum-Slider-valueLabelContainer')} role=\"presentation\">\n {showValueLabel && valueNode}\n </div>\n }\n </div>\n );\n}\n\nconst _SliderBase = React.forwardRef(SliderBase);\nexport {_SliderBase as SliderBase};\n"],"names":[],"version":3,"file":"SliderBase.module.js.map"}
@@ -0,0 +1,67 @@
1
+ require("./vars.b570f076.css");
2
+ var $57893a49ef34c169$exports = require("./slider_vars_css.main.js");
3
+ var $75NyJ$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $75NyJ$reactariafocus = require("@react-aria/focus");
5
+ var $75NyJ$reactariautils = require("@react-aria/utils");
6
+ var $75NyJ$react = require("react");
7
+ var $75NyJ$reactariainteractions = require("@react-aria/interactions");
8
+ var $75NyJ$reactariaslider = require("@react-aria/slider");
9
+ var $75NyJ$reactariavisuallyhidden = require("@react-aria/visually-hidden");
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+
16
+ function $parcel$export(e, n, v, s) {
17
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
18
+ }
19
+
20
+ $parcel$export(module.exports, "SliderThumb", () => $77acc7fb8bfd13d6$export$2c1b491743890dec);
21
+ /*
22
+ * Copyright 2020 Adobe. All rights reserved.
23
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
24
+ * you may not use this file except in compliance with the License. You may obtain a copy
25
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
26
+ *
27
+ * Unless required by applicable law or agreed to in writing, software distributed under
28
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
29
+ * OF ANY KIND, either express or implied. See the License for the specific language
30
+ * governing permissions and limitations under the License.
31
+ */
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ function $77acc7fb8bfd13d6$export$2c1b491743890dec(props) {
40
+ let { inputRef: inputRef, state: state } = props;
41
+ let backupRef = (0, $75NyJ$react.useRef)();
42
+ inputRef = inputRef || backupRef;
43
+ let { thumbProps: thumbProps, inputProps: inputProps, isDragging: isDragging, isFocused: isFocused } = (0, $75NyJ$reactariaslider.useSliderThumb)({
44
+ ...props,
45
+ inputRef: inputRef
46
+ }, state);
47
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $75NyJ$reactariainteractions.useHover)({});
48
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($75NyJ$react))).createElement((0, $75NyJ$reactariafocus.FocusRing), {
49
+ within: true,
50
+ focusRingClass: (0, $75NyJ$reactspectrumutils.classNames)((0, ($parcel$interopDefault($57893a49ef34c169$exports))), "is-focused")
51
+ }, /*#__PURE__*/ (0, ($parcel$interopDefault($75NyJ$react))).createElement("div", {
52
+ className: (0, $75NyJ$reactspectrumutils.classNames)((0, ($parcel$interopDefault($57893a49ef34c169$exports))), "spectrum-Slider-handle", {
53
+ "is-hovered": isHovered,
54
+ "is-dragged": isDragging,
55
+ "is-tophandle": isFocused
56
+ }),
57
+ ...(0, $75NyJ$reactariautils.mergeProps)(thumbProps, hoverProps),
58
+ role: "presentation"
59
+ }, /*#__PURE__*/ (0, ($parcel$interopDefault($75NyJ$react))).createElement((0, $75NyJ$reactariavisuallyhidden.VisuallyHidden), null, /*#__PURE__*/ (0, ($parcel$interopDefault($75NyJ$react))).createElement("input", {
60
+ className: (0, $75NyJ$reactspectrumutils.classNames)((0, ($parcel$interopDefault($57893a49ef34c169$exports))), "spectrum-Slider-input"),
61
+ ref: inputRef,
62
+ ...inputProps
63
+ }))));
64
+ }
65
+
66
+
67
+ //# sourceMappingURL=SliderThumb.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAmBM,SAAS,0CAAY,KAAuB;IACjD,IAAI,YACF,QAAQ,SACR,KAAK,EACN,GAAG;IACJ,IAAI,YAAY,CAAA,GAAA,mBAAK;IACrB,WAAW,YAAY;IAEvB,IAAI,cAAC,UAAU,cAAE,UAAU,cAAE,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,qCAAa,EAAE;QACnE,GAAG,KAAK;kBACR;IACF,GAAG;IAEH,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,qCAAO,EAAE,CAAC;IAExC,qBACE,0DAAC,CAAA,GAAA,+BAAQ;QAAE,QAAA;QAAO,gBAAgB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;qBACnD,0DAAC;QACC,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL,0BACA;YACE,cAAc;YACd,cAAc;YACd,gBAAgB;QAClB;QAGH,GAAG,CAAA,GAAA,gCAAS,EAAE,YAAY,WAAW;QACtC,MAAK;qBACL,0DAAC,CAAA,GAAA,6CAAa,uBACZ,0DAAC;QAAM,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;QAA0B,KAAK;QAAW,GAAG,UAAU;;AAKtG","sources":["packages/@react-spectrum/slider/src/SliderThumb.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n"],"names":[],"version":3,"file":"SliderThumb.main.js.map"}
@@ -0,0 +1,62 @@
1
+ import "./vars.b570f076.css";
2
+ import $fQERx$slider_vars_cssmodulejs from "./slider_vars_css.mjs";
3
+ import {classNames as $fQERx$classNames} from "@react-spectrum/utils";
4
+ import {FocusRing as $fQERx$FocusRing} from "@react-aria/focus";
5
+ import {mergeProps as $fQERx$mergeProps} from "@react-aria/utils";
6
+ import $fQERx$react, {useRef as $fQERx$useRef} from "react";
7
+ import {useHover as $fQERx$useHover} from "@react-aria/interactions";
8
+ import {useSliderThumb as $fQERx$useSliderThumb} from "@react-aria/slider";
9
+ import {VisuallyHidden as $fQERx$VisuallyHidden} from "@react-aria/visually-hidden";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $9058ca69d66a724f$export$2c1b491743890dec(props) {
34
+ let { inputRef: inputRef, state: state } = props;
35
+ let backupRef = (0, $fQERx$useRef)();
36
+ inputRef = inputRef || backupRef;
37
+ let { thumbProps: thumbProps, inputProps: inputProps, isDragging: isDragging, isFocused: isFocused } = (0, $fQERx$useSliderThumb)({
38
+ ...props,
39
+ inputRef: inputRef
40
+ }, state);
41
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $fQERx$useHover)({});
42
+ return /*#__PURE__*/ (0, $fQERx$react).createElement((0, $fQERx$FocusRing), {
43
+ within: true,
44
+ focusRingClass: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "is-focused")
45
+ }, /*#__PURE__*/ (0, $fQERx$react).createElement("div", {
46
+ className: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "spectrum-Slider-handle", {
47
+ "is-hovered": isHovered,
48
+ "is-dragged": isDragging,
49
+ "is-tophandle": isFocused
50
+ }),
51
+ ...(0, $fQERx$mergeProps)(thumbProps, hoverProps),
52
+ role: "presentation"
53
+ }, /*#__PURE__*/ (0, $fQERx$react).createElement((0, $fQERx$VisuallyHidden), null, /*#__PURE__*/ (0, $fQERx$react).createElement("input", {
54
+ className: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "spectrum-Slider-input"),
55
+ ref: inputRef,
56
+ ...inputProps
57
+ }))));
58
+ }
59
+
60
+
61
+ export {$9058ca69d66a724f$export$2c1b491743890dec as SliderThumb};
62
+ //# sourceMappingURL=SliderThumb.mjs.map
@@ -0,0 +1,62 @@
1
+ import "./vars.b570f076.css";
2
+ import $fQERx$slider_vars_cssmodulejs from "./slider_vars_css.module.js";
3
+ import {classNames as $fQERx$classNames} from "@react-spectrum/utils";
4
+ import {FocusRing as $fQERx$FocusRing} from "@react-aria/focus";
5
+ import {mergeProps as $fQERx$mergeProps} from "@react-aria/utils";
6
+ import $fQERx$react, {useRef as $fQERx$useRef} from "react";
7
+ import {useHover as $fQERx$useHover} from "@react-aria/interactions";
8
+ import {useSliderThumb as $fQERx$useSliderThumb} from "@react-aria/slider";
9
+ import {VisuallyHidden as $fQERx$VisuallyHidden} from "@react-aria/visually-hidden";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $9058ca69d66a724f$export$2c1b491743890dec(props) {
34
+ let { inputRef: inputRef, state: state } = props;
35
+ let backupRef = (0, $fQERx$useRef)();
36
+ inputRef = inputRef || backupRef;
37
+ let { thumbProps: thumbProps, inputProps: inputProps, isDragging: isDragging, isFocused: isFocused } = (0, $fQERx$useSliderThumb)({
38
+ ...props,
39
+ inputRef: inputRef
40
+ }, state);
41
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $fQERx$useHover)({});
42
+ return /*#__PURE__*/ (0, $fQERx$react).createElement((0, $fQERx$FocusRing), {
43
+ within: true,
44
+ focusRingClass: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "is-focused")
45
+ }, /*#__PURE__*/ (0, $fQERx$react).createElement("div", {
46
+ className: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "spectrum-Slider-handle", {
47
+ "is-hovered": isHovered,
48
+ "is-dragged": isDragging,
49
+ "is-tophandle": isFocused
50
+ }),
51
+ ...(0, $fQERx$mergeProps)(thumbProps, hoverProps),
52
+ role: "presentation"
53
+ }, /*#__PURE__*/ (0, $fQERx$react).createElement((0, $fQERx$VisuallyHidden), null, /*#__PURE__*/ (0, $fQERx$react).createElement("input", {
54
+ className: (0, $fQERx$classNames)((0, ($parcel$interopDefault($fQERx$slider_vars_cssmodulejs))), "spectrum-Slider-input"),
55
+ ref: inputRef,
56
+ ...inputProps
57
+ }))));
58
+ }
59
+
60
+
61
+ export {$9058ca69d66a724f$export$2c1b491743890dec as SliderThumb};
62
+ //# sourceMappingURL=SliderThumb.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAmBM,SAAS,0CAAY,KAAuB;IACjD,IAAI,YACF,QAAQ,SACR,KAAK,EACN,GAAG;IACJ,IAAI,YAAY,CAAA,GAAA,aAAK;IACrB,WAAW,YAAY;IAEvB,IAAI,cAAC,UAAU,cAAE,UAAU,cAAE,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,qBAAa,EAAE;QACnE,GAAG,KAAK;kBACR;IACF,GAAG;IAEH,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,eAAO,EAAE,CAAC;IAExC,qBACE,gCAAC,CAAA,GAAA,gBAAQ;QAAE,QAAA;QAAO,gBAAgB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,wDAAK,GAAG;qBACnD,gCAAC;QACC,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,wDAAK,GACL,0BACA;YACE,cAAc;YACd,cAAc;YACd,gBAAgB;QAClB;QAGH,GAAG,CAAA,GAAA,iBAAS,EAAE,YAAY,WAAW;QACtC,MAAK;qBACL,gCAAC,CAAA,GAAA,qBAAa,uBACZ,gCAAC;QAAM,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,wDAAK,GAAG;QAA0B,KAAK;QAAW,GAAG,UAAU;;AAKtG","sources":["packages/@react-spectrum/slider/src/SliderThumb.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaSliderThumbProps} from '@react-types/slider';\nimport {classNames} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject, useRef} from 'react';\nimport {SliderState} from '@react-stately/slider';\nimport styles from '@adobe/spectrum-css-temp/components/slider/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useSliderThumb} from '@react-aria/slider';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\ninterface SliderThumbProps extends AriaSliderThumbProps {\n trackRef: RefObject<HTMLElement>,\n inputRef?: RefObject<HTMLInputElement>,\n state: SliderState\n}\n\nexport function SliderThumb(props: SliderThumbProps) {\n let {\n inputRef,\n state\n } = props;\n let backupRef = useRef<HTMLInputElement>();\n inputRef = inputRef || backupRef;\n\n let {thumbProps, inputProps, isDragging, isFocused} = useSliderThumb({\n ...props,\n inputRef\n }, state);\n\n let {hoverProps, isHovered} = useHover({});\n\n return (\n <FocusRing within focusRingClass={classNames(styles, 'is-focused')}>\n <div\n className={\n classNames(\n styles,\n 'spectrum-Slider-handle',\n {\n 'is-hovered': isHovered,\n 'is-dragged': isDragging,\n 'is-tophandle': isFocused\n }\n )\n }\n {...mergeProps(thumbProps, hoverProps)}\n role=\"presentation\">\n <VisuallyHidden>\n <input className={classNames(styles, 'spectrum-Slider-input')} ref={inputRef} {...inputProps} />\n </VisuallyHidden>\n </div>\n </FocusRing>\n );\n}\n"],"names":[],"version":3,"file":"SliderThumb.module.js.map"}
package/dist/ar-AE.mjs CHANGED
@@ -6,4 +6,4 @@ $e8390eb96e247aac$exports = {
6
6
 
7
7
 
8
8
  export {$e8390eb96e247aac$exports as default};
9
- //# sourceMappingURL=ar-AE.module.js.map
9
+ //# sourceMappingURL=ar-AE.mjs.map
package/dist/bg-BG.mjs CHANGED
@@ -6,4 +6,4 @@ $50d639be1d52f61f$exports = {
6
6
 
7
7
 
8
8
  export {$50d639be1d52f61f$exports as default};
9
- //# sourceMappingURL=bg-BG.module.js.map
9
+ //# sourceMappingURL=bg-BG.mjs.map
package/dist/cs-CZ.mjs CHANGED
@@ -6,4 +6,4 @@ $f8b1a75b07b20cfe$exports = {
6
6
 
7
7
 
8
8
  export {$f8b1a75b07b20cfe$exports as default};
9
- //# sourceMappingURL=cs-CZ.module.js.map
9
+ //# sourceMappingURL=cs-CZ.mjs.map
package/dist/da-DK.mjs CHANGED
@@ -6,4 +6,4 @@ $5ece97d9dd84c4a6$exports = {
6
6
 
7
7
 
8
8
  export {$5ece97d9dd84c4a6$exports as default};
9
- //# sourceMappingURL=da-DK.module.js.map
9
+ //# sourceMappingURL=da-DK.mjs.map
package/dist/de-DE.mjs CHANGED
@@ -6,4 +6,4 @@ $8c2d8eab91e8fc21$exports = {
6
6
 
7
7
 
8
8
  export {$8c2d8eab91e8fc21$exports as default};
9
- //# sourceMappingURL=de-DE.module.js.map
9
+ //# sourceMappingURL=de-DE.mjs.map
package/dist/el-GR.mjs CHANGED
@@ -6,4 +6,4 @@ $c99d1f332dc5c52f$exports = {
6
6
 
7
7
 
8
8
  export {$c99d1f332dc5c52f$exports as default};
9
- //# sourceMappingURL=el-GR.module.js.map
9
+ //# sourceMappingURL=el-GR.mjs.map
package/dist/en-US.mjs CHANGED
@@ -6,4 +6,4 @@ $6ff942e88faf5460$exports = {
6
6
 
7
7
 
8
8
  export {$6ff942e88faf5460$exports as default};
9
- //# sourceMappingURL=en-US.module.js.map
9
+ //# sourceMappingURL=en-US.mjs.map
package/dist/es-ES.mjs CHANGED
@@ -6,4 +6,4 @@ $9bbe7d2a4b627f76$exports = {
6
6
 
7
7
 
8
8
  export {$9bbe7d2a4b627f76$exports as default};
9
- //# sourceMappingURL=es-ES.module.js.map
9
+ //# sourceMappingURL=es-ES.mjs.map
package/dist/et-EE.mjs CHANGED
@@ -6,4 +6,4 @@ $f95dc783f4af1258$exports = {
6
6
 
7
7
 
8
8
  export {$f95dc783f4af1258$exports as default};
9
- //# sourceMappingURL=et-EE.module.js.map
9
+ //# sourceMappingURL=et-EE.mjs.map
package/dist/fi-FI.mjs CHANGED
@@ -6,4 +6,4 @@ $042c971985d4b96a$exports = {
6
6
 
7
7
 
8
8
  export {$042c971985d4b96a$exports as default};
9
- //# sourceMappingURL=fi-FI.module.js.map
9
+ //# sourceMappingURL=fi-FI.mjs.map
package/dist/fr-FR.mjs CHANGED
@@ -6,4 +6,4 @@ $eb1655a686c703e5$exports = {
6
6
 
7
7
 
8
8
  export {$eb1655a686c703e5$exports as default};
9
- //# sourceMappingURL=fr-FR.module.js.map
9
+ //# sourceMappingURL=fr-FR.mjs.map
package/dist/he-IL.mjs CHANGED
@@ -6,4 +6,4 @@ $4d5c142cc5703c47$exports = {
6
6
 
7
7
 
8
8
  export {$4d5c142cc5703c47$exports as default};
9
- //# sourceMappingURL=he-IL.module.js.map
9
+ //# sourceMappingURL=he-IL.mjs.map
package/dist/hr-HR.mjs CHANGED
@@ -6,4 +6,4 @@ $04a7af02228fd881$exports = {
6
6
 
7
7
 
8
8
  export {$04a7af02228fd881$exports as default};
9
- //# sourceMappingURL=hr-HR.module.js.map
9
+ //# sourceMappingURL=hr-HR.mjs.map
package/dist/hu-HU.mjs CHANGED
@@ -6,4 +6,4 @@ $4f76f1f805f21373$exports = {
6
6
 
7
7
 
8
8
  export {$4f76f1f805f21373$exports as default};
9
- //# sourceMappingURL=hu-HU.module.js.map
9
+ //# sourceMappingURL=hu-HU.mjs.map