@pathscale/ui 1.1.4 → 1.1.5
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.
|
@@ -157,7 +157,9 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
|
|
|
157
157
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE__colorpicker_index_js_cf395329__.ColorWheelFlower, {
|
|
158
158
|
class: "color-wheel-custom"
|
|
159
159
|
}));
|
|
160
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, ()
|
|
160
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.For, {
|
|
161
|
+
each: GRAYSCALE_SWATCHES,
|
|
162
|
+
children: (g, i)=>(()=>{
|
|
161
163
|
var _el$6 = _tmpl$4();
|
|
162
164
|
_el$6.$$click = ()=>handleGrayscale(g.lightness);
|
|
163
165
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
@@ -168,7 +170,7 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
|
|
|
168
170
|
40,
|
|
169
171
|
25,
|
|
170
172
|
5
|
|
171
|
-
][i]}% 0 0)`, _v$2 = g.label;
|
|
173
|
+
][i()]}% 0 0)`, _v$2 = g.label;
|
|
172
174
|
_v$ !== _p$.e && (null != (_p$.e = _v$) ? _el$6.style.setProperty("background-color", _v$) : _el$6.style.removeProperty("background-color"));
|
|
173
175
|
_v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "aria-label", _p$.t = _v$2);
|
|
174
176
|
return _p$;
|
|
@@ -177,7 +179,8 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
|
|
|
177
179
|
t: void 0
|
|
178
180
|
});
|
|
179
181
|
return _el$6;
|
|
180
|
-
})()
|
|
182
|
+
})()
|
|
183
|
+
}));
|
|
181
184
|
return _el$3;
|
|
182
185
|
}
|
|
183
186
|
}));
|