@strapi/plugin-color-picker 4.7.2-exp.175f7ac70ee76d6c825e4429e15fc85ee78d23bb → 4.8.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.
@@ -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
- .c1 {
5
- font-size: 0.75rem;
6
- line-height: 1.33;
7
- font-weight: 600;
8
- color: #32324d;
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
- .c3 {
47
- display: -webkit-box;
48
- display: -webkit-flex;
49
- display: -ms-flexbox;
50
- display: flex;
51
- cursor: pointer;
52
- padding: 8px;
53
- border-radius: 4px;
54
- background: #ffffff;
55
- border: 1px solid #dcdce4;
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
- .c3 svg {
60
+ .c4 svg {
61
61
  height: 12px;
62
62
  width: 12px;
63
63
  }
64
64
 
65
- .c3 svg > g,
66
- .c3 svg path {
65
+ .c4 svg > g,
66
+ .c4 svg path {
67
67
  fill: #ffffff;
68
68
  }
69
69
 
70
- .c3[aria-disabled='true'] {
70
+ .c4[aria-disabled='true'] {
71
71
  pointer-events: none;
72
72
  }
73
73
 
74
- .c3:after {
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
- .c3:focus-visible {
89
+ .c4:focus-visible {
90
90
  outline: none;
91
91
  }
92
92
 
93
- .c3:focus-visible:after {
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
- .c7 {
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
- .c5 {
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
- .c4 {
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
- .c4 svg {
140
+ .c5 svg {
141
141
  width: 8px;
142
142
  height: 8px;
143
143
  }
144
144
 
145
- .c4 svg > path {
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="c5"
180
+ class="c6"
179
181
  color="#000000"
180
182
  />
181
183
  <span
182
- class="c6"
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="1em"
193
+ height="1rem"
192
194
  viewBox="0 0 14 8"
193
- width="1em"
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 01-.26.625L7.615 7.736A.834.834 0 017 8a.834.834 0 01-.615-.264L.26 1.514A.861.861 0 010 .889c0-.24.087-.45.26-.625A.834.834 0 01.875 0h12.25c.237 0 .442.088.615.264a.86.86 0 01.26.625z"
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="c7"
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.7.2-exp.175f7ac70ee76d6c825e4429e15fc85ee78d23bb",
3
+ "version": "4.8.0",
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.3",
13
- "@strapi/helper-plugin": "4.7.2-exp.175f7ac70ee76d6c825e4429e15fc85ee78d23bb",
14
- "@strapi/icons": "1.6.3",
12
+ "@strapi/design-system": "1.6.5",
13
+ "@strapi/helper-plugin": "4.8.0",
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": "175f7ac70ee76d6c825e4429e15fc85ee78d23bb"
55
+ "gitHead": "e239e408f99c9e61e6d02b38f01632ce67412f2a"
56
56
  }