@react-spectrum/color 3.0.1 → 3.0.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.
Files changed (75) hide show
  1. package/dist/ColorArea.main.js +2 -5
  2. package/dist/ColorArea.main.js.map +1 -1
  3. package/dist/ColorArea.mjs +2 -5
  4. package/dist/ColorArea.module.js +2 -5
  5. package/dist/ColorArea.module.js.map +1 -1
  6. package/dist/ColorEditor.f85fa1f2.css +20 -0
  7. package/dist/ColorEditor.f85fa1f2.css.map +1 -0
  8. package/dist/ColorEditor.main.js +13 -16
  9. package/dist/ColorEditor.main.js.map +1 -1
  10. package/dist/ColorEditor.mjs +13 -16
  11. package/dist/ColorEditor.module.js +13 -16
  12. package/dist/ColorEditor.module.js.map +1 -1
  13. package/dist/ColorField.main.js +2 -5
  14. package/dist/ColorField.main.js.map +1 -1
  15. package/dist/ColorField.mjs +2 -5
  16. package/dist/ColorField.module.js +2 -5
  17. package/dist/ColorField.module.js.map +1 -1
  18. package/dist/ColorPicker.96797a19.css +206 -0
  19. package/dist/ColorPicker.96797a19.css.map +1 -0
  20. package/dist/ColorPicker.main.js +37 -40
  21. package/dist/ColorPicker.main.js.map +1 -1
  22. package/dist/ColorPicker.mjs +37 -40
  23. package/dist/ColorPicker.module.js +37 -40
  24. package/dist/ColorPicker.module.js.map +1 -1
  25. package/dist/ColorSlider.main.js +3 -6
  26. package/dist/ColorSlider.main.js.map +1 -1
  27. package/dist/ColorSlider.mjs +3 -6
  28. package/dist/ColorSlider.module.js +3 -6
  29. package/dist/ColorSlider.module.js.map +1 -1
  30. package/dist/ColorSwatch.fabed858.css +260 -0
  31. package/dist/ColorSwatch.fabed858.css.map +1 -0
  32. package/dist/ColorSwatch.main.js +31 -34
  33. package/dist/ColorSwatch.main.js.map +1 -1
  34. package/dist/ColorSwatch.mjs +32 -35
  35. package/dist/ColorSwatch.module.js +32 -35
  36. package/dist/ColorSwatch.module.js.map +1 -1
  37. package/dist/ColorSwatchPicker.25f8fb63.css +356 -0
  38. package/dist/ColorSwatchPicker.25f8fb63.css.map +1 -0
  39. package/dist/ColorSwatchPicker.main.js +42 -45
  40. package/dist/ColorSwatchPicker.main.js.map +1 -1
  41. package/dist/ColorSwatchPicker.mjs +42 -45
  42. package/dist/ColorSwatchPicker.module.js +42 -45
  43. package/dist/ColorSwatchPicker.module.js.map +1 -1
  44. package/dist/ColorWheel.main.js +2 -6
  45. package/dist/ColorWheel.main.js.map +1 -1
  46. package/dist/ColorWheel.mjs +2 -6
  47. package/dist/ColorWheel.module.js +2 -6
  48. package/dist/ColorWheel.module.js.map +1 -1
  49. package/dist/colorhandle_vars_css.main.js.map +1 -1
  50. package/dist/colorhandle_vars_css.module.js.map +1 -1
  51. package/dist/colorslider_vars_css.main.js.map +1 -1
  52. package/dist/colorslider_vars_css.module.js.map +1 -1
  53. package/dist/colorwheel_vars_css.main.js.map +1 -1
  54. package/dist/colorwheel_vars_css.module.js.map +1 -1
  55. package/dist/types.d.ts +7 -7
  56. package/dist/types.d.ts.map +1 -1
  57. package/dist/{vars.d78ec0e6.css → vars.a54898d8.css} +2 -2
  58. package/dist/{vars.d78ec0e6.css.map → vars.a54898d8.css.map} +1 -1
  59. package/package.json +23 -23
  60. package/src/ColorArea.tsx +5 -8
  61. package/src/ColorEditor.tsx +5 -8
  62. package/src/ColorField.tsx +5 -8
  63. package/src/ColorPicker.tsx +5 -8
  64. package/src/ColorSlider.tsx +5 -8
  65. package/src/ColorSwatch.tsx +5 -8
  66. package/src/ColorSwatchPicker.tsx +5 -8
  67. package/src/ColorWheel.tsx +5 -9
  68. package/dist/ColorEditor.32e497e8.css +0 -20
  69. package/dist/ColorEditor.32e497e8.css.map +0 -1
  70. package/dist/ColorPicker.ab9f47c0.css +0 -204
  71. package/dist/ColorPicker.ab9f47c0.css.map +0 -1
  72. package/dist/ColorSwatch.f6e6f811.css +0 -260
  73. package/dist/ColorSwatch.f6e6f811.css.map +0 -1
  74. package/dist/ColorSwatchPicker.1575be06.css +0 -356
  75. package/dist/ColorSwatchPicker.1575be06.css.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/color",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,37 +36,37 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/color": "^3.0.1",
40
- "@react-aria/focus": "^3.18.4",
41
- "@react-aria/i18n": "^3.12.3",
42
- "@react-aria/interactions": "^3.22.4",
43
- "@react-aria/utils": "^3.25.3",
44
- "@react-spectrum/dialog": "^3.8.15",
45
- "@react-spectrum/form": "^3.7.9",
46
- "@react-spectrum/label": "^3.16.9",
47
- "@react-spectrum/overlays": "^5.6.5",
48
- "@react-spectrum/picker": "^3.15.3",
49
- "@react-spectrum/textfield": "^3.12.6",
50
- "@react-spectrum/utils": "^3.11.11",
51
- "@react-spectrum/view": "^3.6.13",
52
- "@react-stately/color": "^3.8.0",
53
- "@react-types/color": "^3.0.0",
54
- "@react-types/shared": "^3.25.0",
55
- "@react-types/textfield": "^3.9.7",
39
+ "@react-aria/color": "^3.0.3",
40
+ "@react-aria/focus": "^3.19.1",
41
+ "@react-aria/i18n": "^3.12.5",
42
+ "@react-aria/interactions": "^3.23.0",
43
+ "@react-aria/utils": "^3.27.0",
44
+ "@react-spectrum/dialog": "^3.8.17",
45
+ "@react-spectrum/form": "^3.7.11",
46
+ "@react-spectrum/label": "^3.16.11",
47
+ "@react-spectrum/overlays": "^5.7.1",
48
+ "@react-spectrum/picker": "^3.15.5",
49
+ "@react-spectrum/textfield": "^3.12.8",
50
+ "@react-spectrum/utils": "^3.12.1",
51
+ "@react-spectrum/view": "^3.6.15",
52
+ "@react-stately/color": "^3.8.2",
53
+ "@react-types/color": "^3.0.2",
54
+ "@react-types/shared": "^3.27.0",
55
+ "@react-types/textfield": "^3.11.0",
56
56
  "@swc/helpers": "^0.5.0",
57
- "react-aria-components": "^1.4.1"
57
+ "react-aria-components": "^1.6.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@adobe/spectrum-css-temp": "3.0.0-alpha.1",
61
- "@react-spectrum/style-macro-s1": "3.0.0-alpha.1"
61
+ "@react-spectrum/style-macro-s1": "3.0.0-alpha.2"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@react-spectrum/provider": "^3.0.0",
65
- "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
66
- "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
65
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
66
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
67
67
  },
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "8e0a28d188cdbdbd2b32296fa034b1b02ddde229"
71
+ "gitHead": "09e7f44bebdc9d89122926b2b439a0a38a2814ea"
72
72
  }
package/src/ColorArea.tsx CHANGED
@@ -23,7 +23,10 @@ import {useColorAreaState} from '@react-stately/color';
23
23
  import {useFocusRing} from '@react-aria/focus';
24
24
  import {useProviderProps} from '@react-spectrum/provider';
25
25
 
26
- function ColorArea(props: SpectrumColorAreaProps, ref: FocusableRef<HTMLDivElement>) {
26
+ /**
27
+ * ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
28
+ */
29
+ export const ColorArea = React.forwardRef(function ColorArea(props: SpectrumColorAreaProps, ref: FocusableRef<HTMLDivElement>) {
27
30
  props = useProviderProps(props);
28
31
  let inputXRef = useRef(null);
29
32
  let inputYRef = useRef(null);
@@ -81,10 +84,4 @@ function ColorArea(props: SpectrumColorAreaProps, ref: FocusableRef<HTMLDivEleme
81
84
  </ColorThumb>
82
85
  </div>
83
86
  );
84
- }
85
-
86
- /**
87
- * ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
88
- */
89
- let _ColorArea = React.forwardRef(ColorArea) as (props: SpectrumColorAreaProps & {ref?: FocusableRef<HTMLDivElement>}) => ReactElement;
90
- export {_ColorArea as ColorArea};
87
+ }) as (props: SpectrumColorAreaProps & {ref?: FocusableRef<HTMLDivElement>}) => ReactElement;
@@ -17,7 +17,10 @@ export interface SpectrumColorEditorProps {
17
17
  hideAlphaChannel?: boolean
18
18
  }
19
19
 
20
- function ColorEditor(props: SpectrumColorEditorProps, ref: DOMRef<HTMLDivElement>) {
20
+ /**
21
+ * ColorEditor provides a default UI for editing colors within a ColorPicker.
22
+ */
23
+ export const ColorEditor = React.forwardRef(function ColorEditor(props: SpectrumColorEditorProps, ref: DOMRef<HTMLDivElement>) {
21
24
  let [format, setFormat] = useState<ColorSpace | 'hex'>('hex');
22
25
  let domRef = useDOMRef(ref);
23
26
  let formatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/color');
@@ -54,10 +57,4 @@ function ColorEditor(props: SpectrumColorEditorProps, ref: DOMRef<HTMLDivElement
54
57
  </div>
55
58
  </div>
56
59
  );
57
- }
58
-
59
- /**
60
- * ColorEditor provides a default UI for editing colors within a ColorPicker.
61
- */
62
- let _ColorEditor = React.forwardRef(ColorEditor);
63
- export {_ColorEditor as ColorEditor};
60
+ });
@@ -23,7 +23,10 @@ import {useFormProps} from '@react-spectrum/form';
23
23
  import {useLocale} from '@react-aria/i18n';
24
24
  import {useProviderProps} from '@react-spectrum/provider';
25
25
 
26
- function ColorField(props: SpectrumColorFieldProps, ref: Ref<TextFieldRef>) {
26
+ /**
27
+ * A color field allows users to edit a hex color or individual color channel value.
28
+ */
29
+ export const ColorField = React.forwardRef(function ColorField(props: SpectrumColorFieldProps, ref: Ref<TextFieldRef>) {
27
30
  props = useProviderProps(props);
28
31
  props = useFormProps(props);
29
32
  [props] = useContextProps(props, null, ColorFieldContext);
@@ -36,13 +39,7 @@ function ColorField(props: SpectrumColorFieldProps, ref: Ref<TextFieldRef>) {
36
39
  } else {
37
40
  return <HexColorField {...props} forwardedRef={ref} />;
38
41
  }
39
- }
40
-
41
- /**
42
- * A color field allows users to edit a hex color or individual color channel value.
43
- */
44
- const _ColorField = React.forwardRef(ColorField);
45
- export {_ColorField as ColorField};
42
+ });
46
43
 
47
44
  interface ColorChannelFieldProps extends Omit<SpectrumColorFieldProps, 'channel'> {
48
45
  channel: ColorChannel,
@@ -37,7 +37,10 @@ export interface SpectrumColorPickerProps extends ValueBase<string | Color, Colo
37
37
  rounding?: 'default' | 'none' | 'full'
38
38
  }
39
39
 
40
- function ColorPicker(props: SpectrumColorPickerProps, ref: FocusableRef<HTMLButtonElement>) {
40
+ /**
41
+ * A ColorPicker combines a swatch with a customizable popover for editing a color.
42
+ */
43
+ export const ColorPicker = React.forwardRef(function ColorPicker(props: SpectrumColorPickerProps, ref: FocusableRef<HTMLButtonElement>) {
41
44
  let swatchRef = useRef(null);
42
45
  let domRef = useFocusableRef(ref);
43
46
  let labelId = useId();
@@ -114,10 +117,4 @@ function ColorPicker(props: SpectrumColorPickerProps, ref: FocusableRef<HTMLButt
114
117
  </DialogTrigger>
115
118
  </AriaColorPicker>
116
119
  );
117
- }
118
-
119
- /**
120
- * A ColorPicker combines a swatch with a customizable popover for editing a color.
121
- */
122
- let _ColorPicker = React.forwardRef(ColorPicker);
123
- export {_ColorPicker as ColorPicker};
120
+ });
@@ -24,7 +24,10 @@ import {useFocus, useFocusVisible} from '@react-aria/interactions';
24
24
  import {useLocale} from '@react-aria/i18n';
25
25
  import {useProviderProps} from '@react-spectrum/provider';
26
26
 
27
- function ColorSlider(props: SpectrumColorSliderProps, ref: FocusableRef<HTMLDivElement>) {
27
+ /**
28
+ * ColorSliders allow users to adjust an individual channel of a color value.
29
+ */
30
+ export const ColorSlider = React.forwardRef(function ColorSlider(props: SpectrumColorSliderProps, ref: FocusableRef<HTMLDivElement>) {
28
31
  props = useProviderProps(props);
29
32
  let inputRef = useRef(null);
30
33
  let trackRef = useRef(null);
@@ -135,10 +138,4 @@ function ColorSlider(props: SpectrumColorSliderProps, ref: FocusableRef<HTMLDivE
135
138
  </div>
136
139
  </div>
137
140
  );
138
- }
139
-
140
- /**
141
- * ColorSliders allow users to adjust an individual channel of a color value.
142
- */
143
- let _ColorSlider = React.forwardRef(ColorSlider);
144
- export {_ColorSlider as ColorSlider};
141
+ });
@@ -37,7 +37,10 @@ interface SpectrumColorSwatchContextValue extends Pick<SpectrumColorSwatchProps,
37
37
 
38
38
  export const SpectrumColorSwatchContext = createContext<SpectrumColorSwatchContextValue | null>(null);
39
39
 
40
- function ColorSwatch(props: SpectrumColorSwatchProps, ref: DOMRef<HTMLDivElement>): JSX.Element {
40
+ /**
41
+ * A ColorSwatch displays a preview of a selected color.
42
+ */
43
+ export const ColorSwatch = forwardRef(function ColorSwatch(props: SpectrumColorSwatchProps, ref: DOMRef<HTMLDivElement>): JSX.Element {
41
44
  let domRef = useDOMRef(ref);
42
45
  [props, domRef] = useContextProps(props, domRef, ColorSwatchContext);
43
46
  let {colorSwatchProps, color} = useColorSwatch(props);
@@ -93,10 +96,4 @@ function ColorSwatch(props: SpectrumColorSwatchProps, ref: DOMRef<HTMLDivElement
93
96
  }
94
97
 
95
98
  return swatch;
96
- }
97
-
98
- /**
99
- * A ColorSwatch displays a preview of a selected color.
100
- */
101
- let _ColorSwatch = forwardRef(ColorSwatch);
102
- export {_ColorSwatch as ColorSwatch};
99
+ });
@@ -38,7 +38,10 @@ export interface SpectrumColorSwatchPickerProps extends ValueBase<string | Color
38
38
  rounding?: 'none' | 'default' | 'full'
39
39
  }
40
40
 
41
- function ColorSwatchPicker(props: SpectrumColorSwatchPickerProps, ref: DOMRef<HTMLDivElement>) {
41
+ /**
42
+ * A ColorSwatchPicker displays a list of color swatches and allows a user to select one of them.
43
+ */
44
+ export const ColorSwatchPicker = forwardRef(function ColorSwatchPicker(props: SpectrumColorSwatchPickerProps, ref: DOMRef<HTMLDivElement>) {
42
45
  let {
43
46
  density = 'regular',
44
47
  size = 'M',
@@ -69,13 +72,7 @@ function ColorSwatchPicker(props: SpectrumColorSwatchPickerProps, ref: DOMRef<HT
69
72
  </SpectrumColorSwatchContext.Provider>
70
73
  </AriaColorSwatchPicker>
71
74
  );
72
- }
73
-
74
- /**
75
- * A ColorSwatchPicker displays a list of color swatches and allows a user to select one of them.
76
- */
77
- let _ColorSwatchPicker = forwardRef(ColorSwatchPicker);
78
- export {_ColorSwatchPicker as ColorSwatchPicker};
75
+ });
79
76
 
80
77
  function useWrapper(swatch: ReactElement, color: Color, rounding: SpectrumColorSwatchProps['rounding']) {
81
78
  return (
@@ -25,7 +25,10 @@ import {useResizeObserver} from '@react-aria/utils';
25
25
 
26
26
  const WHEEL_THICKNESS = 24;
27
27
 
28
- function ColorWheel(props: SpectrumColorWheelProps, ref: FocusableRef<HTMLDivElement>) {
28
+ /**
29
+ * ColorWheels allow users to adjust the hue of an HSL or HSB color value on a circular track.
30
+ */
31
+ export const ColorWheel = React.forwardRef(function ColorWheel(props: SpectrumColorWheelProps, ref: FocusableRef<HTMLDivElement>) {
29
32
  props = useProviderProps(props);
30
33
  let inputRef = useRef(null);
31
34
  let containerRef = useFocusableRef(ref, inputRef);
@@ -88,7 +91,6 @@ function ColorWheel(props: SpectrumColorWheelProps, ref: FocusableRef<HTMLDivEle
88
91
  style={{
89
92
  ...styleProps.style,
90
93
  // Workaround around https://github.com/adobe/spectrum-css/issues/1032
91
- // @ts-ignore
92
94
  'width': size,
93
95
  'height': size
94
96
  }}>
@@ -105,10 +107,4 @@ function ColorWheel(props: SpectrumColorWheelProps, ref: FocusableRef<HTMLDivEle
105
107
  </ColorThumb>
106
108
  </div>
107
109
  );
108
- }
109
-
110
- /**
111
- * ColorWheels allow users to adjust the hue of an HSL or HSB color value on a circular track.
112
- */
113
- let _ColorWheel = React.forwardRef(ColorWheel);
114
- export {_ColorWheel as ColorWheel};
110
+ });
@@ -1,20 +0,0 @@
1
- @layer a {
2
- ._Zb {
3
- flex-direction: column;
4
- }
5
-
6
- ._Sd {
7
- display: flex;
8
- }
9
-
10
- .le {
11
- row-gap: 1rem;
12
- }
13
-
14
- .me {
15
- column-gap: 1rem;
16
- }
17
- }
18
-
19
- @layer b;
20
- /*# sourceMappingURL=ColorEditor.32e497e8.css.map */
@@ -1 +0,0 @@
1
- {"mappings":"ACAA;EASE;;;;EANA;;;;EAMA;;;;EAMA;;;;;AAfF","sources":["831a302ce8de66a2","packages/@react-spectrum/color/src/ColorEditor.tsx"],"sourcesContent":["@import \"61db59ad802e5cd4\";\n@import \"4bcaf5321f340d0a\";\n@import \"76e53872e9d29f42\";\n","@layer a, b;\n\n@layer a {\n ._Sd {\n display: flex;\n }\n}\n\n@layer a {\n ._Zb {\n flex-direction: column;\n }\n}\n\n@layer a {\n .le {\n row-gap: 1rem;\n }\n}\n\n@layer a {\n .me {\n column-gap: 1rem;\n }\n}\n\n"],"names":[],"version":3,"file":"ColorEditor.32e497e8.css.map"}
@@ -1,204 +0,0 @@
1
- @layer a {
2
- .ba {
3
- background-color: #0000;
4
- }
5
-
6
- .Af {
7
- border-style: none;
8
- }
9
-
10
- .Ia {
11
- padding-top: 0;
12
- }
13
-
14
- .Ja {
15
- padding-bottom: 0;
16
- }
17
-
18
- .Ga {
19
- padding-inline-start: 0;
20
- }
21
-
22
- .Ha {
23
- padding-inline-end: 0;
24
- }
25
-
26
- ._Sd {
27
- display: flex;
28
- }
29
-
30
- ._Uc {
31
- align-items: center;
32
- }
33
-
34
- .lM {
35
- row-gap: .714286em;
36
- }
37
-
38
- .mM {
39
- column-gap: .714286em;
40
- }
41
-
42
- ._5a {
43
- font-family: adobe-clean, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
44
- }
45
-
46
- .a___K {
47
- color: var(--spectrum-alias-text-color, var(--spectrum-global-color-gray-800));
48
- }
49
-
50
- ._6a {
51
- font-size: var(--spectrum-global-dimension-font-size-50);
52
- }
53
-
54
- ._6b {
55
- font-size: var(--spectrum-global-dimension-font-size-75);
56
- }
57
-
58
- ._6c {
59
- font-size: var(--spectrum-global-dimension-font-size-100);
60
- }
61
-
62
- ._6d {
63
- font-size: var(--spectrum-global-dimension-font-size-200);
64
- }
65
-
66
- ._Ea {
67
- outline-style: none;
68
- }
69
-
70
- ._Eb {
71
- outline-style: solid;
72
- }
73
-
74
- .d___I {
75
- outline-color: var(--spectrum-alias-focus-color, var(--spectrum-global-color-blue-400));
76
- }
77
-
78
- ._Gc {
79
- outline-width: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));
80
- }
81
-
82
- ._Fc {
83
- outline-offset: var(--spectrum-alias-border-size-thick, var(--spectrum-global-dimension-static-size-25));
84
- }
85
-
86
- ._pc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
87
- border-top-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
88
- }
89
-
90
- ._pc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
91
- border-top-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
92
- }
93
-
94
- ._pc:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
95
- border-top-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
96
- }
97
-
98
- ._pc:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
99
- border-top-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
100
- }
101
-
102
- ._qc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
103
- border-top-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
104
- }
105
-
106
- ._qc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
107
- border-top-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
108
- }
109
-
110
- ._qc:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
111
- border-top-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
112
- }
113
-
114
- ._qc:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
115
- border-top-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
116
- }
117
-
118
- ._rc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
119
- border-bottom-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
120
- }
121
-
122
- ._rc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
123
- border-bottom-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
124
- }
125
-
126
- ._rc:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
127
- border-bottom-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
128
- }
129
-
130
- ._rc:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
131
- border-bottom-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
132
- }
133
-
134
- ._sc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
135
- border-bottom-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
136
- }
137
-
138
- ._sc:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
139
- border-bottom-right-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
140
- }
141
-
142
- ._sc:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
143
- border-bottom-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
144
- }
145
-
146
- ._sc:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
147
- border-bottom-left-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
148
- }
149
- }
150
-
151
- @layer b {
152
- ._5-enzrfpb:lang(ar) {
153
- font-family: myriad-arabic, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
154
- }
155
- }
156
-
157
- @layer c {
158
- ._5-enzwzjc:lang(he) {
159
- font-family: myriad-hebrew, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
160
- }
161
- }
162
-
163
- @layer d {
164
- ._5-enzykdd:lang(ja) {
165
- font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
166
- }
167
- }
168
-
169
- @layer e {
170
- ._5-enzzrge:lang(ko) {
171
- font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
172
- }
173
- }
174
-
175
- @layer f {
176
- ._5-eo0c6sf:lang(zh) {
177
- font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
178
- }
179
- }
180
-
181
- @layer g {
182
- ._5-1uotwbwg:lang(zh-hant) {
183
- font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
184
- }
185
- }
186
-
187
- @layer h {
188
- ._5-bc1l9oh:-webkit-any(:lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) {
189
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
190
- }
191
-
192
- ._5-bc1l9oh:is(:lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) {
193
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
194
- }
195
- }
196
-
197
- @layer b.a {
198
- @media (forced-colors: active) {
199
- .da___D {
200
- outline-color: highlight;
201
- }
202
- }
203
- }
204
- /*# sourceMappingURL=ColorPicker.ab9f47c0.css.map */
@@ -1 +0,0 @@
1
- {"mappings":"ACAA;EAGE;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAYA;;;;EA8DA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAMA;;;;EAxJA;;;;EAMA;;;;EAMA;;;;EAcA;;;;EAMA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAMA;;;;EAAA;;;;EAAA;;;;EAAA;;;;;AA3DF;EA4EI;;;;;AA5EJ;EAoFI;;;;;AApFJ;EA4FI;;;;;AA5FJ;EAoGI;;;;;AApGJ;EA4GI;;;;;AA5GJ;EAoHI;;;;;AApHJ;EA4HI;;;;EAAA;;;;;AAxGJ;EACE;IACE","sources":["4265cbe66e3f0344","packages/@react-spectrum/color/src/ColorPicker.tsx"],"sourcesContent":["@import \"01eac0e6ccf8a0b9\";\n@import \"e3400cf9c7231dbc\";\n","@layer a, b, c, d, e, f, g, h;\n\n@layer a {\n .ba {\n background-color: transparent;\n }\n}\n\n@layer a {\n .Af {\n border-style: none;\n }\n}\n\n@layer a {\n .Ia {\n padding-top: 0px;\n }\n}\n\n@layer a {\n .Ja {\n padding-bottom: 0px;\n }\n}\n\n@layer a {\n .Ga {\n padding-inline-start: 0px;\n }\n}\n\n@layer a {\n .Ha {\n padding-inline-end: 0px;\n }\n}\n\n@layer a {\n ._Sd {\n display: flex;\n }\n}\n\n@layer a {\n ._Uc {\n align-items: center;\n }\n}\n\n@layer a {\n .lM {\n row-gap: 0.7142857142857143em;\n }\n}\n\n@layer a {\n .mM {\n column-gap: 0.7142857142857143em;\n }\n}\n\n@layer a {\n ._Ea {\n outline-style: none;\n }\n}\n\n@layer a {\n ._5a {\n font-family: adobe-clean, ui-sans-serif, system-ui, sans-serif;\n }\n}\n\n@layer b {\n ._5-enzrfpb {\n &:lang(ar) {\n font-family: myriad-arabic, ui-sans-serif, system-ui, sans-serif;\n }\n }\n}\n\n@layer c {\n ._5-enzwzjc {\n &:lang(he) {\n font-family: myriad-hebrew, ui-sans-serif, system-ui, sans-serif;\n }\n }\n}\n\n@layer d {\n ._5-enzykdd {\n &:lang(ja) {\n font-family: adobe-clean-han-japanese, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;\n }\n }\n}\n\n@layer e {\n ._5-enzzrge {\n &:lang(ko) {\n font-family: adobe-clean-han-korean, source-han-korean, 'Malgun Gothic', 'Apple Gothic', sans-serif;\n }\n }\n}\n\n@layer f {\n ._5-eo0c6sf {\n &:lang(zh) {\n font-family: adobe-clean-han-traditional, source-han-traditional, 'MingLiu', 'Heiti TC Light', sans-serif;\n }\n }\n}\n\n@layer g {\n ._5-1uotwbwg {\n &:lang(zh-hant) {\n font-family: adobe-clean-han-traditional, source-han-traditional, 'MingLiu', 'Microsoft JhengHei UI', 'Microsoft JhengHei', 'Heiti TC Light', sans-serif;\n }\n }\n}\n\n@layer h {\n ._5-bc1l9oh {\n &:lang(zh-Hans, zh-CN, zh-SG) {\n font-family: adobe-clean-han-simplified-c, source-han-simplified-c, 'SimSun', 'Heiti SC Light', sans-serif;\n }\n }\n}\n\n@layer a {\n .a___K {\n color: var(--spectrum-alias-text-color, var(--spectrum-global-color-gray-800));\n }\n}\n\n@layer a {\n ._6a {\n font-size: var(--spectrum-global-dimension-font-size-50);\n }\n}\n\n@layer a {\n ._6b {\n font-size: var(--spectrum-global-dimension-font-size-75);\n }\n}\n\n@layer a {\n ._6c {\n font-size: var(--spectrum-global-dimension-font-size-100);\n }\n}\n\n@layer a {\n ._6d {\n font-size: var(--spectrum-global-dimension-font-size-200);\n }\n}\n\n"],"names":[],"version":3,"file":"ColorPicker.ab9f47c0.css.map"}