@react-spectrum/color 3.0.0-rc.1 → 3.0.0
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/ColorArea.main.js +1 -1
- package/dist/ColorArea.mjs +1 -1
- package/dist/ColorArea.module.js +1 -1
- package/dist/ColorField.main.js +1 -1
- package/dist/ColorField.mjs +1 -1
- package/dist/ColorField.module.js +1 -1
- package/dist/ColorSlider.main.js +1 -1
- package/dist/ColorSlider.mjs +1 -1
- package/dist/ColorSlider.module.js +1 -1
- package/dist/ColorThumb.main.js +2 -2
- package/dist/ColorThumb.mjs +2 -2
- package/dist/ColorThumb.module.js +2 -2
- package/dist/ColorWheel.main.js +1 -1
- package/dist/ColorWheel.mjs +1 -1
- package/dist/ColorWheel.module.js +1 -1
- package/dist/colorarea_vars_css.main.js +7 -7
- package/dist/colorarea_vars_css.mjs +7 -7
- package/dist/colorarea_vars_css.module.js +7 -7
- package/dist/{colorfield.faeff3c2.css → colorfield.43223e3d.css} +4 -4
- package/dist/{colorfield.faeff3c2.css.map → colorfield.43223e3d.css.map} +1 -1
- package/dist/colorfield_css.main.js +1 -1
- package/dist/colorfield_css.mjs +1 -1
- package/dist/colorfield_css.module.js +1 -1
- package/dist/colorhandle_vars_css.main.js +6 -6
- package/dist/colorhandle_vars_css.mjs +6 -6
- package/dist/colorhandle_vars_css.module.js +6 -6
- package/dist/colorloupe_vars_css.main.js +5 -5
- package/dist/colorloupe_vars_css.mjs +5 -5
- package/dist/colorloupe_vars_css.module.js +5 -5
- package/dist/colorslider_vars_css.main.js +15 -15
- package/dist/colorslider_vars_css.mjs +15 -15
- package/dist/colorslider_vars_css.module.js +15 -15
- package/dist/colorwheel_vars_css.main.js +9 -9
- package/dist/colorwheel_vars_css.mjs +9 -9
- package/dist/colorwheel_vars_css.module.js +9 -9
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/{vars.6fa9fa04.css → vars.053845e3.css} +17 -17
- package/dist/{vars.6fa9fa04.css.map → vars.053845e3.css.map} +1 -1
- package/dist/{vars.ac235018.css → vars.27a9fa37.css} +16 -16
- package/dist/{vars.ac235018.css.map → vars.27a9fa37.css.map} +1 -1
- package/dist/{vars.53b417c1.css → vars.7be40844.css} +11 -11
- package/dist/{vars.53b417c1.css.map → vars.7be40844.css.map} +1 -1
- package/dist/{vars.cc682729.css → vars.a2a1e25f.css} +7 -7
- package/dist/{vars.cc682729.css.map → vars.a2a1e25f.css.map} +1 -1
- package/dist/{vars.aa07b6d2.css → vars.d78ec0e6.css} +23 -23
- package/dist/{vars.aa07b6d2.css.map → vars.d78ec0e6.css.map} +1 -1
- package/package.json +22 -23
- package/LICENSE +0 -201
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
._R1JOG_spectrum-ColorArea {
|
2
2
|
inline-size: var(--spectrum-colorarea-default-width, var(--spectrum-global-dimension-size-2400));
|
3
3
|
block-size: var(--spectrum-colorarea-default-height, var(--spectrum-global-dimension-size-2400));
|
4
4
|
min-inline-size: var(--spectrum-colorarea-min-width, var(--spectrum-global-dimension-size-800));
|
@@ -11,29 +11,29 @@
|
|
11
11
|
position: relative;
|
12
12
|
}
|
13
13
|
|
14
|
-
.
|
14
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-focused {
|
15
15
|
z-index: 2;
|
16
16
|
}
|
17
17
|
|
18
|
-
.
|
18
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-focused ._R1JOG_spectrum-ColorArea-handle {
|
19
19
|
width: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
20
20
|
height: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
21
21
|
}
|
22
22
|
|
23
|
-
.
|
23
|
+
._R1JOG_spectrum-ColorArea._R1JOG_focus-ring {
|
24
24
|
z-index: 2;
|
25
25
|
}
|
26
26
|
|
27
|
-
.
|
27
|
+
._R1JOG_spectrum-ColorArea._R1JOG_focus-ring ._R1JOG_spectrum-ColorArea-handle {
|
28
28
|
width: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
29
29
|
height: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
30
30
|
}
|
31
31
|
|
32
|
-
.
|
32
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-disabled {
|
33
33
|
pointer-events: none;
|
34
34
|
}
|
35
35
|
|
36
|
-
.
|
36
|
+
._R1JOG_spectrum-ColorArea:before {
|
37
37
|
content: "";
|
38
38
|
z-index: 1;
|
39
39
|
border-radius: var(--spectrum-colorarea-border-radius, var(--spectrum-alias-border-radius-regular));
|
@@ -41,17 +41,17 @@
|
|
41
41
|
inset: 0;
|
42
42
|
}
|
43
43
|
|
44
|
-
.
|
44
|
+
._R1JOG_spectrum-ColorArea-handle._R1JOG_spectrum-ColorArea-handle {
|
45
45
|
margin: 0;
|
46
46
|
top: 0;
|
47
47
|
left: 0;
|
48
48
|
}
|
49
49
|
|
50
|
-
.
|
50
|
+
._R1JOG_spectrum-ColorArea-handle._R1JOG_spectrum-ColorArea-handle:focus-within {
|
51
51
|
z-index: 2;
|
52
52
|
}
|
53
53
|
|
54
|
-
.
|
54
|
+
._R1JOG_spectrum-ColorArea-slider {
|
55
55
|
opacity: .0001;
|
56
56
|
z-index: 0;
|
57
57
|
pointer-events: none;
|
@@ -63,31 +63,31 @@
|
|
63
63
|
left: 0;
|
64
64
|
}
|
65
65
|
|
66
|
-
.
|
66
|
+
._R1JOG_spectrum-ColorArea:before {
|
67
67
|
box-shadow: inset 0 0 0 var(--spectrum-colorarea-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorarea-border-color);
|
68
68
|
}
|
69
69
|
|
70
|
-
.
|
70
|
+
._R1JOG_spectrum-ColorHandle-color {
|
71
71
|
forced-color-adjust: none;
|
72
72
|
}
|
73
73
|
|
74
|
-
.
|
74
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-disabled {
|
75
75
|
background: var(--spectrum-colorarea-fill-color-disabled, var(--spectrum-global-color-gray-300));
|
76
76
|
}
|
77
77
|
|
78
|
-
.
|
78
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-disabled:before {
|
79
79
|
box-shadow: inset 0 0 0 var(--spectrum-colorarea-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorarea-border-color-disabled, var(--spectrum-global-color-gray-300));
|
80
80
|
}
|
81
81
|
|
82
82
|
@media (forced-colors: active) {
|
83
|
-
.
|
83
|
+
._R1JOG_spectrum-ColorArea {
|
84
84
|
--spectrum-colorarea-fill-color-disabled: GrayText;
|
85
85
|
--spectrum-colorarea-border-color: ButtonBorder;
|
86
86
|
forced-color-adjust: none;
|
87
87
|
}
|
88
88
|
|
89
|
-
.
|
89
|
+
._R1JOG_spectrum-ColorArea._R1JOG_is-disabled {
|
90
90
|
forced-color-adjust: none;
|
91
91
|
}
|
92
92
|
}
|
93
|
-
/*# sourceMappingURL=vars.
|
93
|
+
/*# sourceMappingURL=vars.053845e3.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAYA;;;;;;;;;;;;;AAcE;;;;AAIE;;;;;AAJF;;;;AAIE;;;;;AAOF;;;;AAKA;;;;;;;;AAYF;;;;;;AAKE;;;;AAKF;;;;;;;;;;;;AAaI;;;;AAKJ;;;;AAKI;;;;AAGE;;;;AAMN;EACI;;;;;;EAME","sources":["packages/@adobe/spectrum-css-temp/components/colorarea/vars.css"],"sourcesContent":["/*\n * Copyright 2021 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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
1
|
+
{"mappings":"AAYA;;;;;;;;;;;;;AAcE;;;;AAIE;;;;;AAJF;;;;AAIE;;;;;AAOF;;;;AAKA;;;;;;;;AAYF;;;;;;AAKE;;;;AAKF;;;;;;;;;;;;AAaI;;;;AAKJ;;;;AAKI;;;;AAGE;;;;AAMN;EACI;;;;;;EAME","sources":["packages/@adobe/spectrum-css-temp/components/colorarea/vars.css"],"sourcesContent":["/*\n * Copyright 2021 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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.053845e3.css.map"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
.wa9InG_spectrum-ColorControl-hiddenField {
|
2
2
|
opacity: .0001;
|
3
3
|
z-index: 0;
|
4
4
|
pointer-events: none;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
left: 0;
|
11
11
|
}
|
12
12
|
|
13
|
-
.
|
13
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_spectrum-ColorWheel {
|
14
14
|
width: calc(var(--spectrum-global-dimension-size-125) * 16);
|
15
15
|
height: calc(var(--spectrum-global-dimension-size-125) * 16);
|
16
16
|
--spectrum-colorwheel-track-thickness: var(--spectrum-colorwheel-track-width, var(--spectrum-global-dimension-size-300));
|
@@ -23,30 +23,30 @@
|
|
23
23
|
position: relative;
|
24
24
|
}
|
25
25
|
|
26
|
-
.
|
26
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_spectrum-ColorWheel .wa9InG_spectrum-ColorWheel-handle {
|
27
27
|
margin: 0;
|
28
28
|
}
|
29
29
|
|
30
|
-
.
|
30
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_spectrum-ColorWheel.wa9InG_is-focused {
|
31
31
|
z-index: 2;
|
32
32
|
}
|
33
33
|
|
34
|
-
.
|
34
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_spectrum-ColorWheel.wa9InG_is-disabled {
|
35
35
|
pointer-events: none;
|
36
36
|
}
|
37
37
|
|
38
|
-
.
|
38
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_spectrum-ColorWheel.wa9InG_is-dragged {
|
39
39
|
z-index: 2;
|
40
40
|
}
|
41
41
|
|
42
|
-
.
|
42
|
+
.wa9InG_spectrum-ColorWheel-gradient {
|
43
43
|
z-index: 0;
|
44
44
|
width: calc(var(--spectrum-global-dimension-size-125) * 16);
|
45
45
|
height: calc(var(--spectrum-global-dimension-size-125) * 16);
|
46
46
|
position: relative;
|
47
47
|
}
|
48
48
|
|
49
|
-
.
|
49
|
+
.wa9InG_spectrum-ColorWheel-gradient:before, .wa9InG_spectrum-ColorWheel-gradient:after {
|
50
50
|
content: "";
|
51
51
|
border-width: var(--spectrum-colorwheel-border-size, var(--spectrum-alias-border-size-thin));
|
52
52
|
border-style: solid;
|
@@ -54,35 +54,35 @@
|
|
54
54
|
position: absolute;
|
55
55
|
}
|
56
56
|
|
57
|
-
.
|
57
|
+
.wa9InG_spectrum-ColorWheel-gradient:before {
|
58
58
|
inset: 0;
|
59
59
|
}
|
60
60
|
|
61
|
-
.
|
61
|
+
.wa9InG_spectrum-ColorWheel-gradient:after {
|
62
62
|
top: calc(var(--spectrum-colorwheel-track-width, var(--spectrum-global-dimension-size-300)) - var(--spectrum-colorwheel-border-size, var(--spectrum-alias-border-size-thin)));
|
63
63
|
left: calc(var(--spectrum-colorwheel-track-width, var(--spectrum-global-dimension-size-300)) - var(--spectrum-colorwheel-border-size, var(--spectrum-alias-border-size-thin)));
|
64
64
|
bottom: calc(var(--spectrum-colorwheel-track-width, var(--spectrum-global-dimension-size-300)) - var(--spectrum-colorwheel-border-size, var(--spectrum-alias-border-size-thin)));
|
65
65
|
right: calc(var(--spectrum-colorwheel-track-width, var(--spectrum-global-dimension-size-300)) - var(--spectrum-colorwheel-border-size, var(--spectrum-alias-border-size-thin)));
|
66
66
|
}
|
67
67
|
|
68
|
-
.
|
68
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_is-disabled .wa9InG_spectrum-ColorWheel-gradient {
|
69
69
|
background: var(--spectrum-colorwheel-fill-color-disabled, var(--spectrum-global-color-gray-300)) !important;
|
70
70
|
}
|
71
71
|
|
72
|
-
.
|
72
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_is-disabled .wa9InG_spectrum-ColorWheel-gradient:before, .wa9InG_spectrum-ColorWheel.wa9InG_is-disabled .wa9InG_spectrum-ColorWheel-gradient:after {
|
73
73
|
border-color: var(--spectrum-colorwheel-border-color-disabled, var(--spectrum-global-color-gray-300));
|
74
74
|
}
|
75
75
|
|
76
|
-
.
|
76
|
+
.wa9InG_spectrum-ColorWheel.wa9InG_is-disabled .wa9InG_spectrum-ColorWheel-segment {
|
77
77
|
display: none;
|
78
78
|
}
|
79
79
|
|
80
|
-
.
|
80
|
+
.wa9InG_spectrum-ColorWheel-gradient:before, .wa9InG_spectrum-ColorWheel-gradient:after {
|
81
81
|
border-color: var(--spectrum-colorarea-border-color);
|
82
82
|
}
|
83
83
|
|
84
84
|
@media (forced-colors: active) {
|
85
|
-
.
|
85
|
+
.wa9InG_spectrum-ColorWheel {
|
86
86
|
forced-color-adjust: none;
|
87
87
|
--spectrum-colorwheel-fill-color-disabled: GrayText;
|
88
88
|
--spectrum-colorwheel-border-color-disabled: GrayText;
|
@@ -90,4 +90,4 @@
|
|
90
90
|
--spectrum-colorarea-border-color: ButtonText;
|
91
91
|
}
|
92
92
|
}
|
93
|
-
/*# sourceMappingURL=vars.
|
93
|
+
/*# sourceMappingURL=vars.27a9fa37.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAcA;;;;;;;;;;;;AAYA;;;;;;;;;;;;;AAcE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAMF;;;;;;;AAME;;;;;;;;AASA;;;;AAOA;;;;;;;AAcE;;;;AAGE;;;;AAOF;;;;AAOF;;;;AAMF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorwheel/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
1
|
+
{"mappings":"AAcA;;;;;;;;;;;;AAYA;;;;;;;;;;;;;AAcE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAMF;;;;;;;AAME;;;;;;;;AASA;;;;AAOA;;;;;;;AAcE;;;;AAGE;;;;AAOF;;;;AAOF;;;;AAMF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorwheel/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.27a9fa37.css.map"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
.myBuwa_spectrum-ColorHandle {
|
2
2
|
z-index: 1;
|
3
3
|
box-sizing: border-box;
|
4
4
|
width: var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200));
|
@@ -15,7 +15,7 @@
|
|
15
15
|
position: absolute;
|
16
16
|
}
|
17
17
|
|
18
|
-
.
|
18
|
+
.myBuwa_spectrum-ColorHandle:after {
|
19
19
|
content: "";
|
20
20
|
left: calc(50% - calc(var(--spectrum-global-dimension-size-300) / 2));
|
21
21
|
top: calc(50% - calc(var(--spectrum-global-dimension-size-300) / 2));
|
@@ -26,45 +26,45 @@
|
|
26
26
|
position: absolute;
|
27
27
|
}
|
28
28
|
|
29
|
-
.
|
29
|
+
.myBuwa_spectrum-ColorHandle.myBuwa_is-disabled {
|
30
30
|
pointer-events: none;
|
31
31
|
}
|
32
32
|
|
33
|
-
.
|
33
|
+
.myBuwa_spectrum-ColorControl-handle--focused {
|
34
34
|
width: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
35
35
|
height: calc(var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)) * 2);
|
36
36
|
margin-left: calc(-1 * var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)));
|
37
37
|
margin-top: calc(-1 * var(--spectrum-colorhandle-size, var(--spectrum-global-dimension-size-200)));
|
38
38
|
}
|
39
39
|
|
40
|
-
.
|
40
|
+
.myBuwa_spectrum-ColorHandle-color {
|
41
41
|
border-radius: 100%;
|
42
42
|
width: 100%;
|
43
43
|
height: 100%;
|
44
44
|
}
|
45
45
|
|
46
|
-
.
|
46
|
+
.myBuwa_spectrum-ColorHandle {
|
47
47
|
border-color: var(--spectrum-colorhandle-inner-border-color, var(--spectrum-global-color-static-white));
|
48
48
|
box-shadow: 0 0 0 var(--spectrum-colorhandle-outer-border-size, var(--spectrum-global-dimension-static-size-10)) #0000006b;
|
49
49
|
background: repeating-conic-gradient(#e6e6e6 0% 25%, #fff 0% 50%) 50% / 16px 16px;
|
50
50
|
}
|
51
51
|
|
52
|
-
.
|
52
|
+
.myBuwa_spectrum-ColorHandle.myBuwa_is-disabled {
|
53
53
|
border-color: var(--spectrum-colorhandle-inner-border-color-disabled, var(--spectrum-global-color-gray-400));
|
54
54
|
background: var(--spectrum-colorhandle-fill-color-disabled, var(--spectrum-global-color-gray-300));
|
55
55
|
box-shadow: none;
|
56
56
|
}
|
57
57
|
|
58
|
-
.
|
58
|
+
.myBuwa_spectrum-ColorHandle.myBuwa_is-disabled .myBuwa_spectrum-ColorHandle-color {
|
59
59
|
display: none;
|
60
60
|
}
|
61
61
|
|
62
|
-
.
|
62
|
+
.myBuwa_spectrum-ColorHandle-color {
|
63
63
|
box-shadow: inset 0 0 0 var(--spectrum-colorhandle-outer-border-size, var(--spectrum-global-dimension-static-size-10)) #0000006b;
|
64
64
|
}
|
65
65
|
|
66
66
|
@media (forced-colors: active) {
|
67
|
-
.
|
67
|
+
.myBuwa_spectrum-ColorHandle {
|
68
68
|
forced-color-adjust: none;
|
69
69
|
--spectrum-colorhandle-inner-border-color-disabled: GrayText;
|
70
70
|
--spectrum-colorhandle-fill-color-disabled: GrayText;
|
@@ -72,4 +72,4 @@
|
|
72
72
|
--spectrum-colorhandle-outer-border-color: ButtonFace;
|
73
73
|
}
|
74
74
|
}
|
75
|
-
/*# sourceMappingURL=vars.
|
75
|
+
/*# sourceMappingURL=vars.7be40844.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAYA;;;;;;;;;;;;;;;;;AA8BE;;;;;;;;;;;AAeA;;;;AAKF;;;;;;;AAcA;;;;;;AAMA;;;;;;AAKE;;;;;;AAKE;;;;AAMJ;;;;AAIA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorhandle/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
1
|
+
{"mappings":"AAYA;;;;;;;;;;;;;;;;;AA8BE;;;;;;;;;;;AAeA;;;;AAKF;;;;;;;AAcA;;;;;;AAMA;;;;;;AAKE;;;;;;AAKE;;;;AAMJ;;;;AAIA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorhandle/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.7be40844.css.map"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
.sSiP7G_spectrum-ColorLoupe {
|
2
2
|
width: calc(var(--spectrum-colorloupe-width, var(--spectrum-global-dimension-static-size-600)) + var(--spectrum-colorhandle-inner-border-size, var(--spectrum-global-dimension-static-size-25)) * 2);
|
3
3
|
height: calc(var(--spectrum-colorloupe-height, var(--spectrum-global-dimension-static-size-800)) + var(--spectrum-colorhandle-inner-border-size, var(--spectrum-global-dimension-static-size-25)) * 2);
|
4
4
|
transform: translate(0, var(--spectrum-global-dimension-static-size-100, 8px));
|
@@ -11,31 +11,31 @@
|
|
11
11
|
position: absolute;
|
12
12
|
}
|
13
13
|
|
14
|
-
.
|
14
|
+
.sSiP7G_spectrum-ColorLoupe.sSiP7G_is-open {
|
15
15
|
opacity: 1;
|
16
16
|
z-index: 2;
|
17
17
|
transform: translate(0);
|
18
18
|
}
|
19
19
|
|
20
|
-
.
|
20
|
+
.sSiP7G_spectrum-ColorLoupe-outer {
|
21
21
|
stroke-width: var(--spectrum-colorloupe-outer-border-size, var(--spectrum-global-dimension-static-size-10));
|
22
22
|
fill: var(--spectrum-colorloupe-inner-border-color, var(--spectrum-global-color-static-white));
|
23
23
|
stroke: var(--spectrum-colorloupe-outer-border-color, #3232321a);
|
24
24
|
}
|
25
25
|
|
26
|
-
.
|
26
|
+
.sSiP7G_spectrum-ColorLoupe-inner-background {
|
27
27
|
fill: var(--spectrum-global-color-static-white, #fff);
|
28
28
|
}
|
29
29
|
|
30
|
-
.
|
30
|
+
.sSiP7G_spectrum-ColorLoupe-inner-checker {
|
31
31
|
fill: #e6e6e6;
|
32
32
|
}
|
33
33
|
|
34
34
|
@media (forced-colors: active) {
|
35
|
-
.
|
35
|
+
.sSiP7G_spectrum-ColorLoupe {
|
36
36
|
forced-color-adjust: none;
|
37
37
|
--spectrum-colorloupe-inner-border-color: ButtonText;
|
38
38
|
--spectrum-colorloupe-outer-border-color: ButtonFace;
|
39
39
|
}
|
40
40
|
}
|
41
|
-
/*# sourceMappingURL=vars.
|
41
|
+
/*# sourceMappingURL=vars.a2a1e25f.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAYA;;;;;;;;;;;;;AA0BE;;;;;;AAOF;;;;;;AASA;;;;AAIA;;;;AAIA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorloupe/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
1
|
+
{"mappings":"AAYA;;;;;;;;;;;;;AA0BE;;;;;;AAOF;;;;;;AASA;;;;AAIA;;;;AAIA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorloupe/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.a2a1e25f.css.map"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
.uf4eyW_spectrum-ColorControl-hiddenField {
|
2
2
|
opacity: .0001;
|
3
3
|
z-index: 0;
|
4
4
|
pointer-events: none;
|
@@ -10,17 +10,17 @@
|
|
10
10
|
left: 0;
|
11
11
|
}
|
12
12
|
|
13
|
-
.
|
13
|
+
.uf4eyW_spectrum-ColorSlider-container--horizontal {
|
14
14
|
width: var(--spectrum-colorslider-default-length, var(--spectrum-global-dimension-size-2400));
|
15
15
|
}
|
16
16
|
|
17
|
-
.
|
17
|
+
.uf4eyW_spectrum-ColorSlider-container--vertical {
|
18
18
|
height: var(--spectrum-colorslider-default-length, var(--spectrum-global-dimension-size-2400));
|
19
19
|
flex-direction: column;
|
20
20
|
display: flex;
|
21
21
|
}
|
22
22
|
|
23
|
-
.
|
23
|
+
.uf4eyW_spectrum-ColorSlider {
|
24
24
|
height: var(--spectrum-colorslider-height, var(--spectrum-global-dimension-size-300));
|
25
25
|
border-radius: var(--spectrum-colorslider-border-radius, var(--spectrum-alias-border-radius-regular));
|
26
26
|
-webkit-user-select: none;
|
@@ -32,11 +32,11 @@
|
|
32
32
|
position: relative;
|
33
33
|
}
|
34
34
|
|
35
|
-
.
|
35
|
+
.uf4eyW_spectrum-ColorSlider .uf4eyW_spectrum-ColorSlider-handle.uf4eyW_spectrum-ColorSlider-handle {
|
36
36
|
margin: 0;
|
37
37
|
}
|
38
38
|
|
39
|
-
.
|
39
|
+
.uf4eyW_spectrum-ColorSlider:before {
|
40
40
|
content: "";
|
41
41
|
z-index: -1;
|
42
42
|
border-radius: var(--spectrum-colorslider-border-radius, var(--spectrum-alias-border-radius-regular));
|
@@ -46,70 +46,70 @@
|
|
46
46
|
inset: 0;
|
47
47
|
}
|
48
48
|
|
49
|
-
.
|
49
|
+
.uf4eyW_spectrum-ColorSlider.uf4eyW_is-focused {
|
50
50
|
z-index: 2;
|
51
51
|
}
|
52
52
|
|
53
|
-
.
|
53
|
+
.uf4eyW_spectrum-ColorSlider.uf4eyW_is-disabled {
|
54
54
|
pointer-events: none;
|
55
55
|
}
|
56
56
|
|
57
|
-
.
|
57
|
+
.uf4eyW_spectrum-ColorSlider--vertical {
|
58
58
|
width: var(--spectrum-colorslider-vertical-width, var(--spectrum-global-dimension-size-300));
|
59
59
|
flex: 1;
|
60
60
|
display: inline-block;
|
61
61
|
}
|
62
62
|
|
63
|
-
.
|
63
|
+
.uf4eyW_spectrum-ColorSlider--vertical .uf4eyW_spectrum-ColorSlider-handle {
|
64
64
|
top: 0;
|
65
65
|
left: 50%;
|
66
66
|
}
|
67
67
|
|
68
|
-
.
|
68
|
+
.uf4eyW_spectrum-ColorSlider-handle {
|
69
69
|
top: 50%;
|
70
70
|
left: 0;
|
71
71
|
}
|
72
72
|
|
73
|
-
.
|
73
|
+
.uf4eyW_spectrum-ColorSlider-handle:after {
|
74
74
|
width: var(--spectrum-global-dimension-size-300);
|
75
75
|
height: var(--spectrum-global-dimension-size-300);
|
76
76
|
border-radius: 0%;
|
77
77
|
}
|
78
78
|
|
79
|
-
.
|
79
|
+
.uf4eyW_spectrum-ColorSlider-labelContainer {
|
80
80
|
grid-template-columns: auto 1fr auto;
|
81
|
-
grid-template-areas: "
|
81
|
+
grid-template-areas: "uf4eyW_label uf4eyW_contextualHelp uf4eyW_value";
|
82
82
|
justify-items: start;
|
83
83
|
display: grid;
|
84
84
|
}
|
85
85
|
|
86
|
-
.
|
86
|
+
.uf4eyW_spectrum-ColorSlider-contextualHelp.uf4eyW_spectrum-ColorSlider-contextualHelp {
|
87
87
|
margin-inline-start: var(--spectrum-global-dimension-size-50);
|
88
88
|
margin-top: var(--spectrum-global-dimension-size-25);
|
89
|
-
grid-area:
|
89
|
+
grid-area: uf4eyW_contextualHelp;
|
90
90
|
}
|
91
91
|
|
92
|
-
.
|
93
|
-
grid-area:
|
92
|
+
.uf4eyW_spectrum-ColorSlider-valueLabel {
|
93
|
+
grid-area: uf4eyW_value;
|
94
94
|
margin-inline-start: var(--spectrum-global-dimension-size-50);
|
95
95
|
}
|
96
96
|
|
97
|
-
.
|
97
|
+
.uf4eyW_spectrum-ColorSlider {
|
98
98
|
background-color: var(--spectrum-global-color-static-white, #fff);
|
99
99
|
box-shadow: inset 0 0 0 var(--spectrum-colorslider-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorarea-border-color);
|
100
100
|
}
|
101
101
|
|
102
|
-
.
|
102
|
+
.uf4eyW_spectrum-ColorSlider:before {
|
103
103
|
background: repeating-conic-gradient(#e6e6e6 0% 25%, #fff 0% 50%) 0% / 16px 16px;
|
104
104
|
}
|
105
105
|
|
106
|
-
.
|
106
|
+
.uf4eyW_spectrum-ColorSlider.uf4eyW_is-disabled {
|
107
107
|
box-shadow: inset 0 0 0 var(--spectrum-colorslider-border-size, var(--spectrum-alias-border-size-thin)) var(--spectrum-colorslider-border-color-disabled, var(--spectrum-global-color-gray-300));
|
108
108
|
background: var(--spectrum-colorslider-fill-color-disabled, var(--spectrum-global-color-gray-300)) !important;
|
109
109
|
}
|
110
110
|
|
111
111
|
@media (forced-colors: active) {
|
112
|
-
.
|
112
|
+
.uf4eyW_spectrum-ColorSlider {
|
113
113
|
forced-color-adjust: none;
|
114
114
|
--spectrum-colorslider-fill-color-disabled: GrayText;
|
115
115
|
--spectrum-colorslider-border-color-disabled: GrayText;
|
@@ -117,4 +117,4 @@
|
|
117
117
|
--spectrum-colorarea-border-color: ButtonText;
|
118
118
|
}
|
119
119
|
}
|
120
|
-
/*# sourceMappingURL=vars.
|
120
|
+
/*# sourceMappingURL=vars.d78ec0e6.css.map */
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AAYA;;;;;;;;;;;;AAYA;;;;AAIA;;;;;;AAMA;;;;;;;;;;;;AAaE;;;;AAKA;;;;;;;;;;AAiBA;;;;AAIA;;;;AAKF;;;;;;AAME;;;;;AAMF;;;;;AAIE;;;;;;AAeF;;;;;;;AAOA;;;;;;AAMA;;;;;AAKA;;;;;AAIE;;;;AAIA;;;;;AAMF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorslider/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.
|
1
|
+
{"mappings":"AAYA;;;;;;;;;;;;AAYA;;;;AAIA;;;;;;AAMA;;;;;;;;;;;;AAaE;;;;AAKA;;;;;;;;;;AAiBA;;;;AAIA;;;;AAKF;;;;;;AAME;;;;;AAMF;;;;;AAIE;;;;;;AAeF;;;;;;;AAOA;;;;;;AAMA;;;;;AAKA;;;;;AAIE;;;;AAIA;;;;;AAMF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/colorslider/vars.css"],"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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.d78ec0e6.css.map"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/color",
|
3
|
-
"version": "3.0.0
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,29 +36,29 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/color": "3.0.0
|
40
|
-
"@react-aria/focus": "^3.18.
|
41
|
-
"@react-aria/i18n": "^3.12.
|
42
|
-
"@react-aria/interactions": "^3.22.
|
43
|
-
"@react-aria/utils": "^3.25.
|
44
|
-
"@react-spectrum/dialog": "^3.8.
|
45
|
-
"@react-spectrum/form": "^3.7.
|
46
|
-
"@react-spectrum/label": "^3.16.
|
47
|
-
"@react-spectrum/overlays": "^5.6.
|
48
|
-
"@react-spectrum/picker": "^3.15.
|
49
|
-
"@react-spectrum/textfield": "^3.12.
|
50
|
-
"@react-spectrum/utils": "^3.11.
|
51
|
-
"@react-spectrum/view": "^3.6.
|
52
|
-
"@react-stately/color": "^3.
|
53
|
-
"@react-types/color": "3.0.0
|
54
|
-
"@react-types/shared": "^3.
|
55
|
-
"@react-types/textfield": "^3.9.
|
39
|
+
"@react-aria/color": "^3.0.0",
|
40
|
+
"@react-aria/focus": "^3.18.3",
|
41
|
+
"@react-aria/i18n": "^3.12.3",
|
42
|
+
"@react-aria/interactions": "^3.22.3",
|
43
|
+
"@react-aria/utils": "^3.25.3",
|
44
|
+
"@react-spectrum/dialog": "^3.8.14",
|
45
|
+
"@react-spectrum/form": "^3.7.9",
|
46
|
+
"@react-spectrum/label": "^3.16.9",
|
47
|
+
"@react-spectrum/overlays": "^5.6.4",
|
48
|
+
"@react-spectrum/picker": "^3.15.2",
|
49
|
+
"@react-spectrum/textfield": "^3.12.5",
|
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",
|
56
56
|
"@swc/helpers": "^0.5.0",
|
57
|
-
"react-aria-components": "^1.
|
57
|
+
"react-aria-components": "^1.4.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.
|
61
|
+
"@react-spectrum/style-macro-s1": "3.0.0-alpha.1"
|
62
62
|
},
|
63
63
|
"peerDependencies": {
|
64
64
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -67,6 +67,5 @@
|
|
67
67
|
},
|
68
68
|
"publishConfig": {
|
69
69
|
"access": "public"
|
70
|
-
}
|
71
|
-
|
72
|
-
}
|
70
|
+
}
|
71
|
+
}
|