@react-spectrum/color 3.0.0-nightly.3698 → 3.0.0-nightly.3709

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 (2) hide show
  1. package/dist/import.mjs +548 -0
  2. package/package.json +25 -20
@@ -0,0 +1,548 @@
1
+ import "./main.css";
2
+ import {dimensionValue as $kF0Zw$dimensionValue, useStyleProps as $kF0Zw$useStyleProps, useFocusableRef as $kF0Zw$useFocusableRef, classNames as $kF0Zw$classNames, SlotProvider as $kF0Zw$SlotProvider} from "@react-spectrum/utils";
3
+ import {mergeProps as $kF0Zw$mergeProps, useId as $kF0Zw$useId, useResizeObserver as $kF0Zw$useResizeObserver} from "@react-aria/utils";
4
+ import $kF0Zw$react, {useRef as $kF0Zw$useRef, useState as $kF0Zw$useState, useCallback as $kF0Zw$useCallback, useEffect as $kF0Zw$useEffect} from "react";
5
+ import {useColorArea as $kF0Zw$useColorArea, useColorWheel as $kF0Zw$useColorWheel, useColorSlider as $kF0Zw$useColorSlider, useColorField as $kF0Zw$useColorField} from "@react-aria/color";
6
+ import {useColorAreaState as $kF0Zw$useColorAreaState, useColorWheelState as $kF0Zw$useColorWheelState, useColorSliderState as $kF0Zw$useColorSliderState, useColorFieldState as $kF0Zw$useColorFieldState} from "@react-stately/color";
7
+ import {useFocusRing as $kF0Zw$useFocusRing} from "@react-aria/focus";
8
+ import {useProviderProps as $kF0Zw$useProviderProps} from "@react-spectrum/provider";
9
+ import {Label as $kF0Zw$Label} from "@react-spectrum/label";
10
+ import {useFocusVisible as $kF0Zw$useFocusVisible, useFocus as $kF0Zw$useFocus} from "@react-aria/interactions";
11
+ import {useLocale as $kF0Zw$useLocale} from "@react-aria/i18n";
12
+ import {TextFieldBase as $kF0Zw$TextFieldBase} from "@react-spectrum/textfield";
13
+
14
+ function $parcel$interopDefault(a) {
15
+ return a && a.__esModule ? a.default : a;
16
+ }
17
+ function $parcel$export(e, n, v, s) {
18
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
19
+ }
20
+ /*
21
+ * Copyright 2020 Adobe. All rights reserved.
22
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
23
+ * you may not use this file except in compliance with the License. You may obtain a copy
24
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
25
+ *
26
+ * Unless required by applicable law or agreed to in writing, software distributed under
27
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
28
+ * OF ANY KIND, either express or implied. See the License for the specific language
29
+ * governing permissions and limitations under the License.
30
+ */ /// <reference types="css-module-types" />
31
+ /*
32
+ * Copyright 2021 Adobe. All rights reserved.
33
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
34
+ * you may not use this file except in compliance with the License. You may obtain a copy
35
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
36
+ *
37
+ * Unless required by applicable law or agreed to in writing, software distributed under
38
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
39
+ * OF ANY KIND, either express or implied. See the License for the specific language
40
+ * governing permissions and limitations under the License.
41
+ */
42
+ /*
43
+ * Copyright 2020 Adobe. All rights reserved.
44
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
45
+ * you may not use this file except in compliance with the License. You may obtain a copy
46
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
47
+ *
48
+ * Unless required by applicable law or agreed to in writing, software distributed under
49
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
50
+ * OF ANY KIND, either express or implied. See the License for the specific language
51
+ * governing permissions and limitations under the License.
52
+ */
53
+
54
+ var $9d103974e3e19727$exports = {};
55
+
56
+ $parcel$export($9d103974e3e19727$exports, "spectrum-ColorHandle", () => $9d103974e3e19727$export$cd9afaa621b6216f, (v) => $9d103974e3e19727$export$cd9afaa621b6216f = v);
57
+ $parcel$export($9d103974e3e19727$exports, "is-focused", () => $9d103974e3e19727$export$e7dc768d35940237, (v) => $9d103974e3e19727$export$e7dc768d35940237 = v);
58
+ $parcel$export($9d103974e3e19727$exports, "focus-ring", () => $9d103974e3e19727$export$f39a09f249340e2a, (v) => $9d103974e3e19727$export$f39a09f249340e2a = v);
59
+ $parcel$export($9d103974e3e19727$exports, "is-disabled", () => $9d103974e3e19727$export$d35bc1e505d1ebbf, (v) => $9d103974e3e19727$export$d35bc1e505d1ebbf = v);
60
+ $parcel$export($9d103974e3e19727$exports, "spectrum-ColorHandle-color", () => $9d103974e3e19727$export$afe4c366ed4e659c, (v) => $9d103974e3e19727$export$afe4c366ed4e659c = v);
61
+ var $9d103974e3e19727$export$cd9afaa621b6216f;
62
+ var $9d103974e3e19727$export$e7dc768d35940237;
63
+ var $9d103974e3e19727$export$f39a09f249340e2a;
64
+ var $9d103974e3e19727$export$d35bc1e505d1ebbf;
65
+ var $9d103974e3e19727$export$afe4c366ed4e659c;
66
+ $9d103974e3e19727$export$cd9afaa621b6216f = "spectrum-ColorHandle_5a9f41";
67
+ $9d103974e3e19727$export$e7dc768d35940237 = "is-focused_5a9f41";
68
+ $9d103974e3e19727$export$f39a09f249340e2a = "focus-ring_5a9f41";
69
+ $9d103974e3e19727$export$d35bc1e505d1ebbf = "is-disabled_5a9f41";
70
+ $9d103974e3e19727$export$afe4c366ed4e659c = "spectrum-ColorHandle-color_5a9f41";
71
+
72
+
73
+ var $f3cdcbdb4b87f010$exports = {};
74
+
75
+ $parcel$export($f3cdcbdb4b87f010$exports, "spectrum-ColorLoupe", () => $f3cdcbdb4b87f010$export$88d6ed2576b21809, (v) => $f3cdcbdb4b87f010$export$88d6ed2576b21809 = v);
76
+ $parcel$export($f3cdcbdb4b87f010$exports, "is-open", () => $f3cdcbdb4b87f010$export$a9781837241c946d, (v) => $f3cdcbdb4b87f010$export$a9781837241c946d = v);
77
+ $parcel$export($f3cdcbdb4b87f010$exports, "spectrum-ColorLoupe-outer", () => $f3cdcbdb4b87f010$export$d6ad38291e8aca9c, (v) => $f3cdcbdb4b87f010$export$d6ad38291e8aca9c = v);
78
+ $parcel$export($f3cdcbdb4b87f010$exports, "spectrum-ColorLoupe-inner-background", () => $f3cdcbdb4b87f010$export$397af82b48750fe5, (v) => $f3cdcbdb4b87f010$export$397af82b48750fe5 = v);
79
+ $parcel$export($f3cdcbdb4b87f010$exports, "spectrum-ColorLoupe-inner-checker", () => $f3cdcbdb4b87f010$export$f9a2a02e0b271024, (v) => $f3cdcbdb4b87f010$export$f9a2a02e0b271024 = v);
80
+ var $f3cdcbdb4b87f010$export$88d6ed2576b21809;
81
+ var $f3cdcbdb4b87f010$export$a9781837241c946d;
82
+ var $f3cdcbdb4b87f010$export$d6ad38291e8aca9c;
83
+ var $f3cdcbdb4b87f010$export$397af82b48750fe5;
84
+ var $f3cdcbdb4b87f010$export$f9a2a02e0b271024;
85
+ $f3cdcbdb4b87f010$export$88d6ed2576b21809 = "spectrum-ColorLoupe_c818a8";
86
+ $f3cdcbdb4b87f010$export$a9781837241c946d = "is-open_c818a8";
87
+ $f3cdcbdb4b87f010$export$d6ad38291e8aca9c = "spectrum-ColorLoupe-outer_c818a8";
88
+ $f3cdcbdb4b87f010$export$397af82b48750fe5 = "spectrum-ColorLoupe-inner-background_c818a8";
89
+ $f3cdcbdb4b87f010$export$f9a2a02e0b271024 = "spectrum-ColorLoupe-inner-checker_c818a8";
90
+
91
+
92
+
93
+ function $3a90e89d07d7bbd5$export$a3cc47cee1c1ccc(props) {
94
+ let { value: value , isDisabled: isDisabled , isDragging: isDragging , isFocused: isFocused , children: children , className: className = "" , ...otherProps } = props;
95
+ let patternId = (0, $kF0Zw$useId)();
96
+ let valueCSS = value.toString("css");
97
+ return /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
98
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($9d103974e3e19727$exports))), "spectrum-ColorHandle", {
99
+ "is-focused": isFocused,
100
+ "is-disabled": isDisabled
101
+ }) + " " + className,
102
+ ...otherProps
103
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
104
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($9d103974e3e19727$exports))), "spectrum-ColorHandle-color"),
105
+ style: {
106
+ backgroundColor: valueCSS
107
+ }
108
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("svg", {
109
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe", {
110
+ "is-open": isDragging
111
+ }),
112
+ "aria-hidden": "true"
113
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("pattern", {
114
+ id: patternId,
115
+ x: "0",
116
+ y: "0",
117
+ width: "16",
118
+ height: "16",
119
+ patternUnits: "userSpaceOnUse"
120
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("rect", {
121
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-inner-background"),
122
+ x: "0",
123
+ y: "0",
124
+ width: "16",
125
+ height: "16"
126
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("rect", {
127
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-inner-checker"),
128
+ x: "0",
129
+ y: "0",
130
+ width: "8",
131
+ height: "8"
132
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("rect", {
133
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-inner-checker"),
134
+ x: "8",
135
+ y: "8",
136
+ width: "8",
137
+ height: "8"
138
+ })), /*#__PURE__*/ (0, $kF0Zw$react).createElement("path", {
139
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-inner"),
140
+ d: "M25 1a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z",
141
+ fill: `url(#${patternId})`
142
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("path", {
143
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-inner"),
144
+ d: "M25 1a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z",
145
+ fill: valueCSS
146
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("path", {
147
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f3cdcbdb4b87f010$exports))), "spectrum-ColorLoupe-outer"),
148
+ d: "M25 3A21.98 21.98 0 003 25c0 6.2 4 14.794 11.568 24.853A144.233 144.233 0 0025 62.132a144.085 144.085 0 0010.4-12.239C42.99 39.816 47 31.209 47 25A21.98 21.98 0 0025 3m0-2a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z"
149
+ })), children);
150
+ }
151
+
152
+
153
+
154
+
155
+ var $7d12200010f0192e$exports = {};
156
+
157
+ $parcel$export($7d12200010f0192e$exports, "spectrum-ColorArea", () => $7d12200010f0192e$export$bb6257a55a3c1efc, (v) => $7d12200010f0192e$export$bb6257a55a3c1efc = v);
158
+ $parcel$export($7d12200010f0192e$exports, "is-focused", () => $7d12200010f0192e$export$e7dc768d35940237, (v) => $7d12200010f0192e$export$e7dc768d35940237 = v);
159
+ $parcel$export($7d12200010f0192e$exports, "focus-ring", () => $7d12200010f0192e$export$f39a09f249340e2a, (v) => $7d12200010f0192e$export$f39a09f249340e2a = v);
160
+ $parcel$export($7d12200010f0192e$exports, "spectrum-ColorArea-handle", () => $7d12200010f0192e$export$d8addbd273c4e00, (v) => $7d12200010f0192e$export$d8addbd273c4e00 = v);
161
+ $parcel$export($7d12200010f0192e$exports, "is-disabled", () => $7d12200010f0192e$export$d35bc1e505d1ebbf, (v) => $7d12200010f0192e$export$d35bc1e505d1ebbf = v);
162
+ $parcel$export($7d12200010f0192e$exports, "spectrum-ColorArea-gradient", () => $7d12200010f0192e$export$40686f4fcb8a9916, (v) => $7d12200010f0192e$export$40686f4fcb8a9916 = v);
163
+ $parcel$export($7d12200010f0192e$exports, "spectrum-ColorArea-slider", () => $7d12200010f0192e$export$7d727cacaa7cea1e, (v) => $7d12200010f0192e$export$7d727cacaa7cea1e = v);
164
+ $parcel$export($7d12200010f0192e$exports, "spectrum-ColorHandle-color", () => $7d12200010f0192e$export$afe4c366ed4e659c, (v) => $7d12200010f0192e$export$afe4c366ed4e659c = v);
165
+ var $7d12200010f0192e$export$bb6257a55a3c1efc;
166
+ var $7d12200010f0192e$export$e7dc768d35940237;
167
+ var $7d12200010f0192e$export$f39a09f249340e2a;
168
+ var $7d12200010f0192e$export$d8addbd273c4e00;
169
+ var $7d12200010f0192e$export$d35bc1e505d1ebbf;
170
+ var $7d12200010f0192e$export$40686f4fcb8a9916;
171
+ var $7d12200010f0192e$export$7d727cacaa7cea1e;
172
+ var $7d12200010f0192e$export$afe4c366ed4e659c;
173
+ $7d12200010f0192e$export$bb6257a55a3c1efc = "spectrum-ColorArea_35e2c0";
174
+ $7d12200010f0192e$export$e7dc768d35940237 = "is-focused_35e2c0";
175
+ $7d12200010f0192e$export$f39a09f249340e2a = "focus-ring_35e2c0";
176
+ $7d12200010f0192e$export$d8addbd273c4e00 = "spectrum-ColorArea-handle_35e2c0";
177
+ $7d12200010f0192e$export$d35bc1e505d1ebbf = "is-disabled_35e2c0";
178
+ $7d12200010f0192e$export$40686f4fcb8a9916 = "spectrum-ColorArea-gradient_35e2c0";
179
+ $7d12200010f0192e$export$7d727cacaa7cea1e = "spectrum-ColorArea-slider_35e2c0";
180
+ $7d12200010f0192e$export$afe4c366ed4e659c = "spectrum-ColorHandle-color_35e2c0";
181
+
182
+
183
+
184
+
185
+
186
+
187
+ function $40046aa1a7ccb226$var$ColorArea(props, ref) {
188
+ props = (0, $kF0Zw$useProviderProps)(props);
189
+ let { isDisabled: isDisabled } = props;
190
+ let size = props.size && (0, $kF0Zw$dimensionValue)(props.size);
191
+ let { styleProps: styleProps } = (0, $kF0Zw$useStyleProps)(props);
192
+ let inputXRef = (0, $kF0Zw$useRef)(null);
193
+ let inputYRef = (0, $kF0Zw$useRef)(null);
194
+ let containerRef = (0, $kF0Zw$useFocusableRef)(ref, inputXRef);
195
+ let state = (0, $kF0Zw$useColorAreaState)(props);
196
+ let { colorAreaProps: colorAreaProps , gradientProps: gradientProps , xInputProps: xInputProps , yInputProps: yInputProps , thumbProps: thumbProps } = (0, $kF0Zw$useColorArea)({
197
+ ...props,
198
+ inputXRef: inputXRef,
199
+ inputYRef: inputYRef,
200
+ containerRef: containerRef
201
+ }, state);
202
+ let { focusProps: focusProps , isFocusVisible: isFocusVisible } = (0, $kF0Zw$useFocusRing)();
203
+ return /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
204
+ ...colorAreaProps,
205
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7d12200010f0192e$exports))), "spectrum-ColorArea", {
206
+ "is-disabled": isDisabled
207
+ }, styleProps.className),
208
+ ref: containerRef,
209
+ style: {
210
+ ...colorAreaProps.style,
211
+ ...styleProps.style,
212
+ // Workaround around https://github.com/adobe/spectrum-css/issues/1032
213
+ width: size,
214
+ height: size
215
+ }
216
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
217
+ ...gradientProps,
218
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7d12200010f0192e$exports))), "spectrum-ColorArea-gradient")
219
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $3a90e89d07d7bbd5$export$a3cc47cee1c1ccc), {
220
+ value: state.getDisplayColor(),
221
+ isFocused: isFocusVisible,
222
+ isDisabled: isDisabled,
223
+ isDragging: state.isDragging,
224
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7d12200010f0192e$exports))), "spectrum-ColorArea-handle"),
225
+ ...thumbProps
226
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
227
+ role: "presentation"
228
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("input", {
229
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7d12200010f0192e$exports))), "spectrum-ColorArea-slider"),
230
+ ...(0, $kF0Zw$mergeProps)(xInputProps, focusProps),
231
+ ref: inputXRef
232
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement("input", {
233
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7d12200010f0192e$exports))), "spectrum-ColorArea-slider"),
234
+ ...(0, $kF0Zw$mergeProps)(yInputProps, focusProps),
235
+ ref: inputYRef
236
+ }))));
237
+ }
238
+ /**
239
+ * ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
240
+ */ let $40046aa1a7ccb226$export$b2103f68a961418e = /*#__PURE__*/ (0, $kF0Zw$react).forwardRef($40046aa1a7ccb226$var$ColorArea);
241
+
242
+
243
+ /*
244
+ * Copyright 2020 Adobe. All rights reserved.
245
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
246
+ * you may not use this file except in compliance with the License. You may obtain a copy
247
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
248
+ *
249
+ * Unless required by applicable law or agreed to in writing, software distributed under
250
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
251
+ * OF ANY KIND, either express or implied. See the License for the specific language
252
+ * governing permissions and limitations under the License.
253
+ */
254
+
255
+
256
+ var $f60625fffea2b12e$exports = {};
257
+
258
+ $parcel$export($f60625fffea2b12e$exports, "spectrum-ColorWheel", () => $f60625fffea2b12e$export$b70a5ca28702fbc6, (v) => $f60625fffea2b12e$export$b70a5ca28702fbc6 = v);
259
+ $parcel$export($f60625fffea2b12e$exports, "is-focused", () => $f60625fffea2b12e$export$e7dc768d35940237, (v) => $f60625fffea2b12e$export$e7dc768d35940237 = v);
260
+ $parcel$export($f60625fffea2b12e$exports, "spectrum-ColorWheel-handle", () => $f60625fffea2b12e$export$4cd23920eb8ac056, (v) => $f60625fffea2b12e$export$4cd23920eb8ac056 = v);
261
+ $parcel$export($f60625fffea2b12e$exports, "spectrum-ColorWheel-slider", () => $f60625fffea2b12e$export$f476ddda713d62b, (v) => $f60625fffea2b12e$export$f476ddda713d62b = v);
262
+ $parcel$export($f60625fffea2b12e$exports, "is-disabled", () => $f60625fffea2b12e$export$d35bc1e505d1ebbf, (v) => $f60625fffea2b12e$export$d35bc1e505d1ebbf = v);
263
+ $parcel$export($f60625fffea2b12e$exports, "is-dragged", () => $f60625fffea2b12e$export$8778c911bed6c759, (v) => $f60625fffea2b12e$export$8778c911bed6c759 = v);
264
+ $parcel$export($f60625fffea2b12e$exports, "spectrum-ColorWheel-gradient", () => $f60625fffea2b12e$export$9afaa791d7500a9b, (v) => $f60625fffea2b12e$export$9afaa791d7500a9b = v);
265
+ $parcel$export($f60625fffea2b12e$exports, "spectrum-ColorWheel-segment", () => $f60625fffea2b12e$export$ada9fbffdaa4f10, (v) => $f60625fffea2b12e$export$ada9fbffdaa4f10 = v);
266
+ var $f60625fffea2b12e$export$b70a5ca28702fbc6;
267
+ var $f60625fffea2b12e$export$e7dc768d35940237;
268
+ var $f60625fffea2b12e$export$4cd23920eb8ac056;
269
+ var $f60625fffea2b12e$export$f476ddda713d62b;
270
+ var $f60625fffea2b12e$export$d35bc1e505d1ebbf;
271
+ var $f60625fffea2b12e$export$8778c911bed6c759;
272
+ var $f60625fffea2b12e$export$9afaa791d7500a9b;
273
+ var $f60625fffea2b12e$export$ada9fbffdaa4f10;
274
+ $f60625fffea2b12e$export$b70a5ca28702fbc6 = "spectrum-ColorWheel_31462a";
275
+ $f60625fffea2b12e$export$e7dc768d35940237 = "is-focused_31462a";
276
+ $f60625fffea2b12e$export$4cd23920eb8ac056 = "spectrum-ColorWheel-handle_31462a";
277
+ $f60625fffea2b12e$export$f476ddda713d62b = "spectrum-ColorWheel-slider_31462a";
278
+ $f60625fffea2b12e$export$d35bc1e505d1ebbf = "is-disabled_31462a";
279
+ $f60625fffea2b12e$export$8778c911bed6c759 = "is-dragged_31462a";
280
+ $f60625fffea2b12e$export$9afaa791d7500a9b = "spectrum-ColorWheel-gradient_31462a";
281
+ $f60625fffea2b12e$export$ada9fbffdaa4f10 = "spectrum-ColorWheel-segment_31462a";
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+ const $3aac1c27203f04b5$var$WHEEL_THICKNESS = 24;
290
+ function $3aac1c27203f04b5$var$ColorWheel(props, ref) {
291
+ props = (0, $kF0Zw$useProviderProps)(props);
292
+ let { isDisabled: isDisabled } = props;
293
+ let size = props.size && (0, $kF0Zw$dimensionValue)(props.size);
294
+ let { styleProps: styleProps } = (0, $kF0Zw$useStyleProps)(props);
295
+ let inputRef = (0, $kF0Zw$useRef)(null);
296
+ let containerRef = (0, $kF0Zw$useFocusableRef)(ref, inputRef);
297
+ let [wheelRadius, setWheelRadius] = (0, $kF0Zw$useState)(0);
298
+ let [wheelThickness, setWheelThickness] = (0, $kF0Zw$useState)($3aac1c27203f04b5$var$WHEEL_THICKNESS);
299
+ let resizeHandler = (0, $kF0Zw$useCallback)(()=>{
300
+ if (containerRef.current) {
301
+ setWheelRadius(containerRef.current.offsetWidth / 2);
302
+ let thickness = window.getComputedStyle(containerRef.current).getPropertyValue("--spectrum-colorwheel-track-thickness");
303
+ if (thickness) setWheelThickness(parseInt(thickness, 10));
304
+ }
305
+ }, [
306
+ containerRef,
307
+ setWheelRadius,
308
+ setWheelThickness
309
+ ]);
310
+ (0, $kF0Zw$useEffect)(()=>{
311
+ // the size observer's fallback to the window resize event doesn't fire on mount
312
+ if (wheelRadius === 0) resizeHandler();
313
+ }, [
314
+ wheelRadius,
315
+ resizeHandler
316
+ ]);
317
+ (0, $kF0Zw$useResizeObserver)({
318
+ ref: containerRef,
319
+ onResize: resizeHandler
320
+ });
321
+ let state = (0, $kF0Zw$useColorWheelState)(props);
322
+ let { trackProps: trackProps , inputProps: inputProps , thumbProps: thumbProps } = (0, $kF0Zw$useColorWheel)({
323
+ ...props,
324
+ innerRadius: wheelRadius - wheelThickness,
325
+ outerRadius: wheelRadius
326
+ }, state, inputRef);
327
+ let { focusProps: focusProps , isFocusVisible: isFocusVisible } = (0, $kF0Zw$useFocusRing)();
328
+ return /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
329
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f60625fffea2b12e$exports))), "spectrum-ColorWheel", {
330
+ "is-disabled": isDisabled
331
+ }, styleProps.className),
332
+ ref: containerRef,
333
+ style: {
334
+ ...styleProps.style,
335
+ // Workaround around https://github.com/adobe/spectrum-css/issues/1032
336
+ // @ts-ignore
337
+ "width": size,
338
+ "height": size
339
+ }
340
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
341
+ ...trackProps,
342
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f60625fffea2b12e$exports))), "spectrum-ColorWheel-gradient")
343
+ }), /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $3a90e89d07d7bbd5$export$a3cc47cee1c1ccc), {
344
+ value: state.getDisplayColor(),
345
+ isFocused: isFocusVisible,
346
+ isDisabled: isDisabled,
347
+ isDragging: state.isDragging,
348
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f60625fffea2b12e$exports))), "spectrum-ColorWheel-handle"),
349
+ ...thumbProps
350
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("input", {
351
+ ...focusProps,
352
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f60625fffea2b12e$exports))), "spectrum-ColorWheel-slider"),
353
+ ...inputProps,
354
+ ref: inputRef
355
+ })));
356
+ }
357
+ /**
358
+ * ColorWheels allow users to adjust the hue of an HSL or HSB color value on a circular track.
359
+ */ let $3aac1c27203f04b5$export$f80663f808113381 = /*#__PURE__*/ (0, $kF0Zw$react).forwardRef($3aac1c27203f04b5$var$ColorWheel);
360
+
361
+
362
+ /*
363
+ * Copyright 2020 Adobe. All rights reserved.
364
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
365
+ * you may not use this file except in compliance with the License. You may obtain a copy
366
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
367
+ *
368
+ * Unless required by applicable law or agreed to in writing, software distributed under
369
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
370
+ * OF ANY KIND, either express or implied. See the License for the specific language
371
+ * governing permissions and limitations under the License.
372
+ */
373
+
374
+
375
+
376
+ var $670e80c7e5915fb5$exports = {};
377
+
378
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider", () => $670e80c7e5915fb5$export$a5f8b0989b27a604, (v) => $670e80c7e5915fb5$export$a5f8b0989b27a604 = v);
379
+ $parcel$export($670e80c7e5915fb5$exports, "is-focused", () => $670e80c7e5915fb5$export$e7dc768d35940237, (v) => $670e80c7e5915fb5$export$e7dc768d35940237 = v);
380
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-handle", () => $670e80c7e5915fb5$export$8c273ba92fabe1f1, (v) => $670e80c7e5915fb5$export$8c273ba92fabe1f1 = v);
381
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-slider", () => $670e80c7e5915fb5$export$2f08b72944af536, (v) => $670e80c7e5915fb5$export$2f08b72944af536 = v);
382
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-container--horizontal", () => $670e80c7e5915fb5$export$33e97914f6746614, (v) => $670e80c7e5915fb5$export$33e97914f6746614 = v);
383
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-container--vertical", () => $670e80c7e5915fb5$export$cd1c093289104c66, (v) => $670e80c7e5915fb5$export$cd1c093289104c66 = v);
384
+ $parcel$export($670e80c7e5915fb5$exports, "is-disabled", () => $670e80c7e5915fb5$export$d35bc1e505d1ebbf, (v) => $670e80c7e5915fb5$export$d35bc1e505d1ebbf = v);
385
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider--vertical", () => $670e80c7e5915fb5$export$83dcf61b398bfaf1, (v) => $670e80c7e5915fb5$export$83dcf61b398bfaf1 = v);
386
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-labelContainer", () => $670e80c7e5915fb5$export$65139e62047f0361, (v) => $670e80c7e5915fb5$export$65139e62047f0361 = v);
387
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-contextualHelp", () => $670e80c7e5915fb5$export$26ffe4cf5a5aa53c, (v) => $670e80c7e5915fb5$export$26ffe4cf5a5aa53c = v);
388
+ $parcel$export($670e80c7e5915fb5$exports, "spectrum-ColorSlider-valueLabel", () => $670e80c7e5915fb5$export$c2fbec5a538c1f81, (v) => $670e80c7e5915fb5$export$c2fbec5a538c1f81 = v);
389
+ var $670e80c7e5915fb5$export$a5f8b0989b27a604;
390
+ var $670e80c7e5915fb5$export$e7dc768d35940237;
391
+ var $670e80c7e5915fb5$export$8c273ba92fabe1f1;
392
+ var $670e80c7e5915fb5$export$2f08b72944af536;
393
+ var $670e80c7e5915fb5$export$33e97914f6746614;
394
+ var $670e80c7e5915fb5$export$cd1c093289104c66;
395
+ var $670e80c7e5915fb5$export$d35bc1e505d1ebbf;
396
+ var $670e80c7e5915fb5$export$83dcf61b398bfaf1;
397
+ var $670e80c7e5915fb5$export$65139e62047f0361;
398
+ var $670e80c7e5915fb5$export$26ffe4cf5a5aa53c;
399
+ var $670e80c7e5915fb5$export$c2fbec5a538c1f81;
400
+ $670e80c7e5915fb5$export$a5f8b0989b27a604 = "spectrum-ColorSlider_a5bb06";
401
+ $670e80c7e5915fb5$export$e7dc768d35940237 = "is-focused_a5bb06";
402
+ $670e80c7e5915fb5$export$8c273ba92fabe1f1 = "spectrum-ColorSlider-handle_a5bb06";
403
+ $670e80c7e5915fb5$export$2f08b72944af536 = "spectrum-ColorSlider-slider_a5bb06";
404
+ $670e80c7e5915fb5$export$33e97914f6746614 = "spectrum-ColorSlider-container--horizontal_a5bb06";
405
+ $670e80c7e5915fb5$export$cd1c093289104c66 = "spectrum-ColorSlider-container--vertical_a5bb06";
406
+ $670e80c7e5915fb5$export$d35bc1e505d1ebbf = "is-disabled_a5bb06";
407
+ $670e80c7e5915fb5$export$83dcf61b398bfaf1 = "spectrum-ColorSlider--vertical_a5bb06";
408
+ $670e80c7e5915fb5$export$65139e62047f0361 = "spectrum-ColorSlider-labelContainer_a5bb06";
409
+ $670e80c7e5915fb5$export$26ffe4cf5a5aa53c = "spectrum-ColorSlider-contextualHelp_a5bb06";
410
+ $670e80c7e5915fb5$export$c2fbec5a538c1f81 = "spectrum-ColorSlider-valueLabel_a5bb06";
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+ function $3870e4ce67ed7ee1$var$ColorSlider(props, ref) {
419
+ props = (0, $kF0Zw$useProviderProps)(props);
420
+ let { isDisabled: isDisabled , channel: channel , orientation: orientation , label: label , showValueLabel: showValueLabel , "aria-label": ariaLabel } = props;
421
+ let vertical = orientation === "vertical";
422
+ let { styleProps: styleProps } = (0, $kF0Zw$useStyleProps)(props);
423
+ let { locale: locale } = (0, $kF0Zw$useLocale)();
424
+ let inputRef = (0, $kF0Zw$useRef)(null);
425
+ let trackRef = (0, $kF0Zw$useRef)(null);
426
+ let domRef = (0, $kF0Zw$useFocusableRef)(ref, inputRef);
427
+ let state = (0, $kF0Zw$useColorSliderState)({
428
+ ...props,
429
+ locale: locale
430
+ });
431
+ // If vertical and a label is provided, use it as an aria-label instead.
432
+ if (vertical && label) {
433
+ ariaLabel = ariaLabel || (typeof label === "string" ? label : undefined);
434
+ label = null;
435
+ }
436
+ // If no external label, aria-label or aria-labelledby is provided,
437
+ // default to displaying the localized channel value.
438
+ // Specifically check if label is undefined. If label is `null` then display no visible label.
439
+ // A default aria-label is provided by useColorSlider in that case.
440
+ if (label === undefined && !ariaLabel && !props["aria-labelledby"] && !vertical) label = state.value.getChannelName(channel, locale);
441
+ // Show the value label by default if there is a visible label
442
+ if (showValueLabel == null) showValueLabel = !!label;
443
+ let { inputProps: inputProps , thumbProps: thumbProps , trackProps: trackProps , labelProps: labelProps , outputProps: outputProps } = (0, $kF0Zw$useColorSlider)({
444
+ ...props,
445
+ label: label,
446
+ "aria-label": ariaLabel,
447
+ trackRef: trackRef,
448
+ inputRef: inputRef
449
+ }, state);
450
+ let { isFocusVisible: isFocusVisible } = (0, $kF0Zw$useFocusVisible)();
451
+ let [isFocused, setIsFocused] = (0, $kF0Zw$useState)(false);
452
+ let { focusProps: focusProps } = (0, $kF0Zw$useFocus)({
453
+ isDisabled: isDisabled,
454
+ onFocusChange: setIsFocused
455
+ });
456
+ return /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
457
+ ref: domRef,
458
+ ...styleProps,
459
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), {
460
+ "spectrum-ColorSlider-container--horizontal": !vertical,
461
+ "spectrum-ColorSlider-container--vertical": vertical
462
+ })
463
+ }, label && /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
464
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider-labelContainer")
465
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $kF0Zw$Label), labelProps, label), props.contextualHelp && /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $kF0Zw$SlotProvider), {
466
+ slots: {
467
+ actionButton: {
468
+ UNSAFE_className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider-contextualHelp")
469
+ }
470
+ }
471
+ }, props.contextualHelp), showValueLabel && /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $kF0Zw$Label), {
472
+ elementType: "span",
473
+ UNSAFE_className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider-valueLabel")
474
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("output", outputProps, state.value.formatChannelValue(channel, locale)))), /*#__PURE__*/ (0, $kF0Zw$react).createElement("div", {
475
+ ...trackProps,
476
+ ref: trackRef,
477
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider", {
478
+ "is-disabled": isDisabled,
479
+ "spectrum-ColorSlider--vertical": vertical
480
+ })
481
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $3a90e89d07d7bbd5$export$a3cc47cee1c1ccc), {
482
+ value: state.getDisplayColor(),
483
+ isFocused: isFocused && isFocusVisible,
484
+ isDisabled: isDisabled,
485
+ isDragging: state.isThumbDragging(0),
486
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider-handle"),
487
+ ...thumbProps
488
+ }, /*#__PURE__*/ (0, $kF0Zw$react).createElement("input", {
489
+ ...inputProps,
490
+ ...focusProps,
491
+ ref: inputRef,
492
+ className: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($670e80c7e5915fb5$exports))), "spectrum-ColorSlider-slider")
493
+ }))));
494
+ }
495
+ /**
496
+ * ColorSliders allow users to adjust an individual channel of a color value.
497
+ */ let $3870e4ce67ed7ee1$export$44fd664bcca5b6fb = /*#__PURE__*/ (0, $kF0Zw$react).forwardRef($3870e4ce67ed7ee1$var$ColorSlider);
498
+
499
+
500
+ /*
501
+ * Copyright 2020 Adobe. All rights reserved.
502
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
503
+ * you may not use this file except in compliance with the License. You may obtain a copy
504
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
505
+ *
506
+ * Unless required by applicable law or agreed to in writing, software distributed under
507
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
508
+ * OF ANY KIND, either express or implied. See the License for the specific language
509
+ * governing permissions and limitations under the License.
510
+ */
511
+
512
+ var $9d47b39540b9e48a$exports = {};
513
+
514
+ $parcel$export($9d47b39540b9e48a$exports, "react-spectrum-ColorField-input", () => $9d47b39540b9e48a$export$7d80c6630a750b1, (v) => $9d47b39540b9e48a$export$7d80c6630a750b1 = v);
515
+ var $9d47b39540b9e48a$export$7d80c6630a750b1;
516
+ $9d47b39540b9e48a$export$7d80c6630a750b1 = "react-spectrum-ColorField-input_7bde3a";
517
+
518
+
519
+
520
+
521
+
522
+
523
+ function $0077d47e004328f0$var$ColorField(props, ref) {
524
+ props = (0, $kF0Zw$useProviderProps)(props);
525
+ let { value: // These disabled props are handled by the state hook
526
+ value , defaultValue: defaultValue , onChange: onChange , ...otherProps } = props;
527
+ let state = (0, $kF0Zw$useColorFieldState)(props);
528
+ let inputRef = (0, $kF0Zw$useRef)(null);
529
+ let { labelProps: labelProps , inputProps: inputProps } = (0, $kF0Zw$useColorField)(otherProps, state, inputRef);
530
+ if (props.placeholder) console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead. See the docs for details: https://react-spectrum.adobe.com/react-spectrum/ColorField.html#help-text");
531
+ return /*#__PURE__*/ (0, $kF0Zw$react).createElement((0, $kF0Zw$TextFieldBase), {
532
+ ...otherProps,
533
+ ref: ref,
534
+ inputRef: inputRef,
535
+ labelProps: labelProps,
536
+ inputProps: inputProps,
537
+ inputClassName: (0, $kF0Zw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($9d47b39540b9e48a$exports))), "react-spectrum-ColorField-input")
538
+ });
539
+ }
540
+ /**
541
+ * ColorFields allow users to enter a color in #rrggbb hexadecimal format.
542
+ */ const $0077d47e004328f0$export$b865d4358897bb17 = /*#__PURE__*/ (0, $kF0Zw$react).forwardRef($0077d47e004328f0$var$ColorField);
543
+
544
+
545
+
546
+
547
+ export {$40046aa1a7ccb226$export$b2103f68a961418e as ColorArea, $3aac1c27203f04b5$export$f80663f808113381 as ColorWheel, $3870e4ce67ed7ee1$export$44fd664bcca5b6fb as ColorSlider, $0077d47e004328f0$export$b865d4358897bb17 as ColorField};
548
+ //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@react-spectrum/color",
3
- "version": "3.0.0-nightly.3698+72ee92f6d",
3
+ "version": "3.0.0-nightly.3709+0f953cac8",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/module.js",
8
+ "exports": {
9
+ "types": "./dist/types.d.ts",
10
+ "import": "./dist/import.mjs",
11
+ "require": "./dist/main.js"
12
+ },
8
13
  "types": "dist/types.d.ts",
9
14
  "source": "src/index.ts",
10
15
  "files": [
@@ -31,27 +36,27 @@
31
36
  "url": "https://github.com/adobe/react-spectrum"
32
37
  },
33
38
  "dependencies": {
34
- "@react-aria/color": "3.0.0-nightly.3698+72ee92f6d",
35
- "@react-aria/focus": "3.0.0-nightly.1998+72ee92f6d",
36
- "@react-aria/i18n": "3.0.0-nightly.1998+72ee92f6d",
37
- "@react-aria/interactions": "3.0.0-nightly.1998+72ee92f6d",
38
- "@react-aria/slider": "3.2.5-nightly.3698+72ee92f6d",
39
- "@react-aria/utils": "3.0.0-nightly.1998+72ee92f6d",
40
- "@react-spectrum/label": "3.10.2-nightly.3698+72ee92f6d",
41
- "@react-spectrum/layout": "3.4.5-nightly.3698+72ee92f6d",
42
- "@react-spectrum/textfield": "3.0.0-nightly.1998+72ee92f6d",
43
- "@react-spectrum/utils": "3.0.0-nightly.1998+72ee92f6d",
44
- "@react-stately/color": "3.2.3-nightly.3698+72ee92f6d",
45
- "@react-stately/slider": "3.2.5-nightly.3698+72ee92f6d",
46
- "@react-stately/utils": "3.0.0-nightly.1998+72ee92f6d",
47
- "@react-types/color": "3.0.0-nightly.3698+72ee92f6d",
48
- "@react-types/shared": "3.0.0-nightly.1998+72ee92f6d",
49
- "@react-types/slider": "3.3.2-nightly.3698+72ee92f6d",
50
- "@react-types/textfield": "3.0.0-nightly.1998+72ee92f6d",
39
+ "@react-aria/color": "3.0.0-nightly.3709+0f953cac8",
40
+ "@react-aria/focus": "3.0.0-nightly.2009+0f953cac8",
41
+ "@react-aria/i18n": "3.0.0-nightly.2009+0f953cac8",
42
+ "@react-aria/interactions": "3.0.0-nightly.2009+0f953cac8",
43
+ "@react-aria/slider": "3.2.5-nightly.3709+0f953cac8",
44
+ "@react-aria/utils": "3.0.0-nightly.2009+0f953cac8",
45
+ "@react-spectrum/label": "3.10.2-nightly.3709+0f953cac8",
46
+ "@react-spectrum/layout": "3.4.5-nightly.3709+0f953cac8",
47
+ "@react-spectrum/textfield": "3.0.0-nightly.2009+0f953cac8",
48
+ "@react-spectrum/utils": "3.0.0-nightly.2009+0f953cac8",
49
+ "@react-stately/color": "3.2.3-nightly.3709+0f953cac8",
50
+ "@react-stately/slider": "3.2.5-nightly.3709+0f953cac8",
51
+ "@react-stately/utils": "3.0.0-nightly.2009+0f953cac8",
52
+ "@react-types/color": "3.0.0-nightly.3709+0f953cac8",
53
+ "@react-types/shared": "3.0.0-nightly.2009+0f953cac8",
54
+ "@react-types/slider": "3.3.2-nightly.3709+0f953cac8",
55
+ "@react-types/textfield": "3.0.0-nightly.2009+0f953cac8",
51
56
  "@swc/helpers": "^0.4.14"
52
57
  },
53
58
  "devDependencies": {
54
- "@adobe/spectrum-css-temp": "3.0.0-nightly.1998+72ee92f6d"
59
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2009+0f953cac8"
55
60
  },
56
61
  "peerDependencies": {
57
62
  "@react-spectrum/provider": "^3.0.0",
@@ -61,5 +66,5 @@
61
66
  "publishConfig": {
62
67
  "access": "public"
63
68
  },
64
- "gitHead": "72ee92f6d497163468a80642ccb96576f822f365"
69
+ "gitHead": "0f953cac84f98cdff29f2348c120ce541ebb6da8"
65
70
  }