@strapi/plugin-color-picker 4.7.2-exp.24dd7d95972fa822bf43e9b095b51027402c229e → 4.8.1
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.
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
color: #
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.c6 {
|
|
12
|
-
font-size: 0.875rem;
|
|
13
|
-
line-height: 1.43;
|
|
14
|
-
color: #666687;
|
|
4
|
+
.c3 {
|
|
5
|
+
background: #ffffff;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
border-color: #dcdce4;
|
|
9
|
+
border: 1px solid #dcdce4;
|
|
10
|
+
cursor: pointer;
|
|
15
11
|
}
|
|
16
12
|
|
|
17
13
|
.c0 {
|
|
@@ -43,35 +39,39 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
43
39
|
flex-direction: row;
|
|
44
40
|
}
|
|
45
41
|
|
|
46
|
-
.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
42
|
+
.c1 {
|
|
43
|
+
font-size: 0.75rem;
|
|
44
|
+
line-height: 1.33;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
color: #32324d;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.c7 {
|
|
50
|
+
font-size: 0.875rem;
|
|
51
|
+
line-height: 1.43;
|
|
52
|
+
color: #666687;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.c4 {
|
|
56
56
|
position: relative;
|
|
57
57
|
outline: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.c4 svg {
|
|
61
61
|
height: 12px;
|
|
62
62
|
width: 12px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
66
|
-
.
|
|
65
|
+
.c4 svg > g,
|
|
66
|
+
.c4 svg path {
|
|
67
67
|
fill: #ffffff;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.c4[aria-disabled='true'] {
|
|
71
71
|
pointer-events: none;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.c4:after {
|
|
75
75
|
-webkit-transition-property: all;
|
|
76
76
|
transition-property: all;
|
|
77
77
|
-webkit-transition-duration: 0.2s;
|
|
@@ -86,11 +86,11 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
86
86
|
border: 2px solid transparent;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
89
|
+
.c4:focus-visible {
|
|
90
90
|
outline: none;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
.c4:focus-visible:after {
|
|
94
94
|
border-radius: 8px;
|
|
95
95
|
content: '';
|
|
96
96
|
position: absolute;
|
|
@@ -101,7 +101,7 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
101
101
|
border: 2px solid #4945ff;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
.c8 {
|
|
105
105
|
border: 0;
|
|
106
106
|
-webkit-clip: rect(0 0 0 0);
|
|
107
107
|
clip: rect(0 0 0 0);
|
|
@@ -113,7 +113,7 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
113
113
|
width: 1px;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
.c6 {
|
|
117
117
|
border-radius: 50%;
|
|
118
118
|
width: 20px;
|
|
119
119
|
height: 20px;
|
|
@@ -122,7 +122,7 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
122
122
|
border: 1px solid rgba(0,0,0,0.1);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
.c5 {
|
|
126
126
|
display: -webkit-box;
|
|
127
127
|
display: -webkit-flex;
|
|
128
128
|
display: -ms-flexbox;
|
|
@@ -137,18 +137,20 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
137
137
|
align-items: center;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
140
|
+
.c5 svg {
|
|
141
141
|
width: 8px;
|
|
142
142
|
height: 8px;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.
|
|
145
|
+
.c5 svg > path {
|
|
146
146
|
fill: #8e8ea9;
|
|
147
147
|
justify-self: flex-end;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
<div>
|
|
151
|
-
<div
|
|
151
|
+
<div
|
|
152
|
+
class=""
|
|
153
|
+
>
|
|
152
154
|
<div
|
|
153
155
|
class="c0"
|
|
154
156
|
>
|
|
@@ -168,18 +170,18 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
168
170
|
aria-expanded="false"
|
|
169
171
|
aria-haspopup="dialog"
|
|
170
172
|
aria-label="Color picker toggle"
|
|
171
|
-
class="c3 c4"
|
|
173
|
+
class="c3 c2 c4 c5"
|
|
172
174
|
type="button"
|
|
173
175
|
>
|
|
174
176
|
<div
|
|
175
177
|
class="c2"
|
|
176
178
|
>
|
|
177
179
|
<div
|
|
178
|
-
class="
|
|
180
|
+
class="c6"
|
|
179
181
|
color="#000000"
|
|
180
182
|
/>
|
|
181
183
|
<span
|
|
182
|
-
class="
|
|
184
|
+
class="c7"
|
|
183
185
|
style="text-transform: uppercase;"
|
|
184
186
|
>
|
|
185
187
|
#000000
|
|
@@ -188,14 +190,14 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
188
190
|
<svg
|
|
189
191
|
aria-hidden="true"
|
|
190
192
|
fill="none"
|
|
191
|
-
height="
|
|
193
|
+
height="1rem"
|
|
192
194
|
viewBox="0 0 14 8"
|
|
193
|
-
width="
|
|
195
|
+
width="1rem"
|
|
194
196
|
xmlns="http://www.w3.org/2000/svg"
|
|
195
197
|
>
|
|
196
198
|
<path
|
|
197
199
|
clip-rule="evenodd"
|
|
198
|
-
d="M14 .889a.86.86 0
|
|
200
|
+
d="M14 .889a.86.86 0 0 1-.26.625L7.615 7.736A.834.834 0 0 1 7 8a.834.834 0 0 1-.615-.264L.26 1.514A.861.861 0 0 1 0 .889c0-.24.087-.45.26-.625A.834.834 0 0 1 .875 0h12.25c.237 0 .442.088.615.264a.86.86 0 0 1 .26.625Z"
|
|
199
201
|
fill="#32324D"
|
|
200
202
|
fill-rule="evenodd"
|
|
201
203
|
/>
|
|
@@ -204,7 +206,7 @@ exports[`<ColorPickerInput /> renders and matches the snapshot 1`] = `
|
|
|
204
206
|
</div>
|
|
205
207
|
</div>
|
|
206
208
|
<div
|
|
207
|
-
class="
|
|
209
|
+
class="c8"
|
|
208
210
|
>
|
|
209
211
|
<p
|
|
210
212
|
aria-live="polite"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-color-picker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.1",
|
|
4
4
|
"description": "Strapi maintained Custom Fields",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "color-picker",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"displayName": "Color Picker"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@strapi/design-system": "1.6.
|
|
13
|
-
"@strapi/helper-plugin": "4.
|
|
14
|
-
"@strapi/icons": "1.6.
|
|
12
|
+
"@strapi/design-system": "1.6.5",
|
|
13
|
+
"@strapi/helper-plugin": "4.8.1",
|
|
14
|
+
"@strapi/icons": "1.6.5",
|
|
15
15
|
"prop-types": "^15.7.2",
|
|
16
16
|
"react-colorful": "5.6.1",
|
|
17
17
|
"react-intl": "6.2.8"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": ">=14.19.1 <=18.x.x",
|
|
53
53
|
"npm": ">=6.0.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "b3cb13cb14302ba2ccf2ab6fab774f08efe9f1b7"
|
|
56
56
|
}
|