@react-stately/color 3.8.1 → 3.8.3
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/dist/main.js.map +1 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -8
- package/src/index.ts +1 -1
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/color/src/index.ts"],"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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/color/src/index.ts"],"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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorChannel, ColorFormat, ColorSpace, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/color/src/index.ts"],"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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-stately/color/src/index.ts"],"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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorChannel, ColorFormat, ColorSpace, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
|
@@ -180,6 +180,6 @@ export interface ColorPickerState {
|
|
|
180
180
|
setColor(color: Color | null): void;
|
|
181
181
|
}
|
|
182
182
|
export function useColorPickerState(props: ColorPickerProps): ColorPickerState;
|
|
183
|
-
export type { Color, ColorAreaProps, ColorFieldProps, ColorWheelProps } from '@react-types/color';
|
|
183
|
+
export type { Color, ColorChannel, ColorFormat, ColorSpace, ColorAreaProps, ColorFieldProps, ColorWheelProps } from '@react-types/color';
|
|
184
184
|
|
|
185
185
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;AAqBA,6FAA6F;AAC7F,2BAA2B,KAAK,EAAE,MAAM,GAAG,KAAM,CAOhD;AAUD,gEAAgE;AAChE,iCAAiC,UAAU,EAAE,UAAU,8CAStD;AChCD;IACE,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,yFAAyF;IACzF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;IAEtC,oFAAoF;IACpF,MAAM,EAAE,MAAM,CAAC;IACf,2GAA2G;IAC3G,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,kFAAkF;IAClF,MAAM,EAAE,MA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;IACb,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,CAAA;CACpC;AAED,oCAAoC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB,CAa7E;ACDD,YAAY,EAAC,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,oBAAoB,CAAC","sources":["packages/@react-stately/color/src/packages/@react-stately/color/src/Color.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorAreaState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorSliderState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorWheelState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColor.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorFieldState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorChannelFieldState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorPickerState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/index.ts","packages/@react-stately/color/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,"/*\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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
|
1
|
+
{"mappings":";;;;;AAqBA,6FAA6F;AAC7F,2BAA2B,KAAK,EAAE,MAAM,GAAG,KAAM,CAOhD;AAUD,gEAAgE;AAChE,iCAAiC,UAAU,EAAE,UAAU,8CAStD;AChCD;IACE,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,yFAAyF;IACzF,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;IAEtC,oFAAoF;IACpF,MAAM,EAAE,MAAM,CAAC;IACf,2GAA2G;IAC3G,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAC;IACf,yGAAyG;IACzG,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,qJAAqJ;IACrJ,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,gHAAgH;IAChH,gBAAgB,IAAI;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IAE3C,8FAA8F;IAC9F,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,8FAA8F;IAC9F,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC,4FAA4F;IAC5F,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,I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,SAAS,IAAI,IAAI,CAAC;IAClB,0FAA0F;IAC1F,SAAS,IAAI,IAAI,CAAC;IAClB,+EAA+E;IAC/E,cAAc,IAAI,IAAI,CAAC;IACvB,+EAA+E;IAC/E,cAAc,IAAI,IAAI,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;CACjC;AAOD;;;GAGG;AACH,mCACE,KAAK,EAAE,eAAe,GACrB,eAAe,CAiHjB;AC3KD,uCAAwC,SAAQ,eAAe;IAC7D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,8CAA+C,SAAQ,sBAAsB;IAC3E,MAAM,EAAE,MAAM,CAAA;CACf;AAED,uCAAwC,SAAQ,gBAAgB;IAC9D,UAAU,EAAE,KAAK,CAAA;CAClB;AAED;;;GAGG;AACH,0CAA0C,KAAK,EAAE,6BAA6B,GAAG,sBAAsB,CAmCtG;ACpDD,iCAAkC,SAAQ,UAAU,MAAM,GAAG,KAAK,EAAE,KAAK,CAAC;CAAG;AAE7E;IACE,mDAAmD;IACnD,KAAK,EAAE,KAAK,CAAC;IACb,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,CAAA;CACpC;AAED,oCAAoC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB,CAa7E;ACDD,YAAY,EAAC,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,oBAAoB,CAAC","sources":["packages/@react-stately/color/src/packages/@react-stately/color/src/Color.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorAreaState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorSliderState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorWheelState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColor.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorFieldState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorChannelFieldState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/useColorPickerState.ts","packages/@react-stately/color/src/packages/@react-stately/color/src/index.ts","packages/@react-stately/color/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,"/*\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\nexport type {ColorAreaState} from './useColorAreaState';\nexport type {ColorSliderState} from './useColorSliderState';\nexport type {ColorWheelState} from './useColorWheelState';\nexport type {ColorFieldState} from './useColorFieldState';\nexport type {ColorChannelFieldProps, ColorChannelFieldState, ColorChannelFieldStateOptions} from './useColorChannelFieldState';\nexport type {ColorPickerProps, ColorPickerState} from './useColorPickerState';\n\nexport {parseColor, getColorChannels} from './Color';\nexport {useColorAreaState} from './useColorAreaState';\nexport {useColorSliderState} from './useColorSliderState';\nexport {useColorWheelState} from './useColorWheelState';\nexport {useColorFieldState} from './useColorFieldState';\nexport {useColorChannelFieldState} from './useColorChannelFieldState';\nexport {useColorPickerState} from './useColorPickerState';\n\nexport type {Color, ColorChannel, ColorFormat, ColorSpace, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';\nexport type {ColorSliderStateOptions} from './useColorSliderState';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-stately/color",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.3",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -24,13 +24,12 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@internationalized/number": "^3.6.0",
|
|
26
26
|
"@internationalized/string": "^3.2.5",
|
|
27
|
-
"@react-
|
|
28
|
-
"@react-stately/
|
|
29
|
-
"@react-stately/
|
|
30
|
-
"@react-stately/slider": "^3.6.0",
|
|
27
|
+
"@react-stately/form": "^3.1.2",
|
|
28
|
+
"@react-stately/numberfield": "^3.9.10",
|
|
29
|
+
"@react-stately/slider": "^3.6.2",
|
|
31
30
|
"@react-stately/utils": "^3.10.5",
|
|
32
|
-
"@react-types/color": "^3.0.
|
|
33
|
-
"@react-types/shared": "^3.
|
|
31
|
+
"@react-types/color": "^3.0.3",
|
|
32
|
+
"@react-types/shared": "^3.28.0",
|
|
34
33
|
"@swc/helpers": "^0.5.0"
|
|
35
34
|
},
|
|
36
35
|
"peerDependencies": {
|
|
@@ -39,5 +38,5 @@
|
|
|
39
38
|
"publishConfig": {
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4d3c72c94eea2d72eb3a0e7d56000c6ef7e39726"
|
|
43
42
|
}
|
package/src/index.ts
CHANGED
|
@@ -25,5 +25,5 @@ export {useColorFieldState} from './useColorFieldState';
|
|
|
25
25
|
export {useColorChannelFieldState} from './useColorChannelFieldState';
|
|
26
26
|
export {useColorPickerState} from './useColorPickerState';
|
|
27
27
|
|
|
28
|
-
export type {Color, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';
|
|
28
|
+
export type {Color, ColorChannel, ColorFormat, ColorSpace, ColorAreaProps, ColorFieldProps, ColorWheelProps} from '@react-types/color';
|
|
29
29
|
export type {ColorSliderStateOptions} from './useColorSliderState';
|