@pathscale/ui 0.0.44 → 0.0.45
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/index.js +167 -42
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6823,12 +6823,13 @@ const Label = (props)=>{
|
|
|
6823
6823
|
})();
|
|
6824
6824
|
};
|
|
6825
6825
|
const form_Label = Label;
|
|
6826
|
-
const
|
|
6826
|
+
const FormValidationContext_FormValidationContext = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createContext)();
|
|
6827
6827
|
function useFormValidation() {
|
|
6828
|
-
const context = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.useContext)(
|
|
6829
|
-
if (!context) throw new Error("useFormValidation must be used within a
|
|
6828
|
+
const context = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.useContext)(FormValidationContext_FormValidationContext);
|
|
6829
|
+
if (!context) throw new Error("useFormValidation must be used within a Form.Validated component. Make sure your component is wrapped in <Form.Validated>...</Form.Validated>");
|
|
6830
6830
|
return context;
|
|
6831
6831
|
}
|
|
6832
|
+
const FormValidationContext = FormValidationContext_FormValidationContext;
|
|
6832
6833
|
function ValidatedForm(props) {
|
|
6833
6834
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
6834
6835
|
"children",
|
|
@@ -6836,7 +6837,7 @@ function ValidatedForm(props) {
|
|
|
6836
6837
|
"onSubmit",
|
|
6837
6838
|
"initialValues"
|
|
6838
6839
|
]);
|
|
6839
|
-
const
|
|
6840
|
+
const felteForm = (0, __WEBPACK_EXTERNAL_MODULE__felte_solid_6a709b1d__.createForm)({
|
|
6840
6841
|
initialValues: local.initialValues,
|
|
6841
6842
|
extend: [
|
|
6842
6843
|
(0, __WEBPACK_EXTERNAL_MODULE__felte_validator_zod_bb07151a__.validator)({
|
|
@@ -6845,13 +6846,35 @@ function ValidatedForm(props) {
|
|
|
6845
6846
|
],
|
|
6846
6847
|
onSubmit: local.onSubmit
|
|
6847
6848
|
});
|
|
6849
|
+
const { form, data, errors, warnings, touched, isValid, isSubmitting, isDirty, isValidating, interacted, reset, validate, setData, setFields, setTouched, setErrors, setWarnings, setIsDirty, setIsSubmitting, setInteracted, createSubmitHandler, setInitialValues, addField, unsetField, resetField, swapFields, moveField } = felteForm;
|
|
6848
6850
|
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
6849
6851
|
const contextValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>({
|
|
6852
|
+
data,
|
|
6850
6853
|
errors,
|
|
6854
|
+
warnings,
|
|
6851
6855
|
touched,
|
|
6852
|
-
data,
|
|
6853
6856
|
isValid,
|
|
6854
|
-
isSubmitting
|
|
6857
|
+
isSubmitting,
|
|
6858
|
+
isDirty,
|
|
6859
|
+
isValidating,
|
|
6860
|
+
interacted,
|
|
6861
|
+
reset,
|
|
6862
|
+
validate,
|
|
6863
|
+
setData,
|
|
6864
|
+
setFields,
|
|
6865
|
+
setTouched,
|
|
6866
|
+
setErrors,
|
|
6867
|
+
setWarnings,
|
|
6868
|
+
setIsDirty,
|
|
6869
|
+
setIsSubmitting,
|
|
6870
|
+
setInteracted,
|
|
6871
|
+
createSubmitHandler: createSubmitHandler,
|
|
6872
|
+
setInitialValues,
|
|
6873
|
+
addField: addField,
|
|
6874
|
+
unsetField: unsetField,
|
|
6875
|
+
resetField: resetField,
|
|
6876
|
+
swapFields: swapFields,
|
|
6877
|
+
moveField: moveField
|
|
6855
6878
|
}));
|
|
6856
6879
|
return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(FormValidationContext.Provider, {
|
|
6857
6880
|
get value () {
|
|
@@ -8853,14 +8876,84 @@ const steps_Steps = Object.assign(Steps, {
|
|
|
8853
8876
|
Step: Step
|
|
8854
8877
|
});
|
|
8855
8878
|
const steps = steps_Steps;
|
|
8856
|
-
var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><svg class="absolute inset-0 w-full h-full z-0"viewBox="0 0 400 400"preserveAspectRatio="xMidYMid slice"xmlns=http://www.w3.org/2000/svg><defs><linearGradient gradientTransform="rotate(63, 0.5, 0.5)"x1=50% y1=0% x2=50% y2=100%><stop stop-opacity=1 offset=0%></stop><stop stop-opacity=1 offset=100%></stop></linearGradient><filter x=-20% y=-20% width=140% height=140% filterUnits=objectBoundingBox primitiveUnits=userSpaceOnUse color-interpolation-filters=sRGB><feTurbulence type=fractalNoise numOctaves=2 seed=10 stitchTiles=stitch result=turbulence></
|
|
8857
|
-
function
|
|
8858
|
-
|
|
8859
|
-
|
|
8879
|
+
var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><svg class="absolute inset-0 w-full h-full z-0"viewBox="0 0 400 400"preserveAspectRatio="xMidYMid slice"xmlns=http://www.w3.org/2000/svg><defs><linearGradient gradientTransform="rotate(63, 0.5, 0.5)"x1=50% y1=0% x2=50% y2=100%><stop stop-opacity=1 offset=0%></stop><stop stop-opacity=1 offset=100%></stop></linearGradient></defs><rect width=400 height=400></rect></svg><div class="relative z-10 h-full w-full">'), SvgBackground_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><filter x=-20% y=-20% width=140% height=140% filterUnits=objectBoundingBox primitiveUnits=userSpaceOnUse color-interpolation-filters=sRGB></svg>", false, true, false), SvgBackground_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><feGaussianBlur in=SourceGraphic result=blur></svg>", false, true, false), SvgBackground_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><feTurbulence type=fractalNoise numOctaves=2 seed=10 stitchTiles=stitch result=turbulence></svg>", false, true, false), SvgBackground_tmpl$5 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><feGaussianBlur in=turbulence result=blur></svg>", false, true, false), SvgBackground_tmpl$6 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><feBlend in=SourceGraphic in2=blur result=blend></svg>", false, true, false), SvgBackground_tmpl$7 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute inset-0 z-5">');
|
|
8880
|
+
function hexToHsl(hex) {
|
|
8881
|
+
hex = hex.replace('#', '');
|
|
8882
|
+
const r = parseInt(hex.substr(0, 2), 16) / 255;
|
|
8883
|
+
const g = parseInt(hex.substr(2, 2), 16) / 255;
|
|
8884
|
+
const b = parseInt(hex.substr(4, 2), 16) / 255;
|
|
8885
|
+
const max = Math.max(r, g, b);
|
|
8886
|
+
const min = Math.min(r, g, b);
|
|
8887
|
+
let h = 0;
|
|
8888
|
+
let s = 0;
|
|
8889
|
+
const l = (max + min) / 2;
|
|
8890
|
+
if (max !== min) {
|
|
8891
|
+
const d = max - min;
|
|
8892
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
8893
|
+
switch(max){
|
|
8894
|
+
case r:
|
|
8895
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
8896
|
+
break;
|
|
8897
|
+
case g:
|
|
8898
|
+
h = (b - r) / d + 2;
|
|
8899
|
+
break;
|
|
8900
|
+
case b:
|
|
8901
|
+
h = (r - g) / d + 4;
|
|
8902
|
+
break;
|
|
8903
|
+
}
|
|
8904
|
+
h /= 6;
|
|
8905
|
+
}
|
|
8860
8906
|
return {
|
|
8861
|
-
h:
|
|
8862
|
-
s:
|
|
8863
|
-
l:
|
|
8907
|
+
h: Math.round(360 * h),
|
|
8908
|
+
s: Math.round(100 * s),
|
|
8909
|
+
l: Math.round(100 * l)
|
|
8910
|
+
};
|
|
8911
|
+
}
|
|
8912
|
+
function parseColor(colorString) {
|
|
8913
|
+
const hslMatch = colorString.match(/hsl\((\d+),\s*(\d+)%,\s*(\d+)%\)/);
|
|
8914
|
+
if (hslMatch) return {
|
|
8915
|
+
h: parseInt(hslMatch[1]),
|
|
8916
|
+
s: parseInt(hslMatch[2]),
|
|
8917
|
+
l: parseInt(hslMatch[3])
|
|
8918
|
+
};
|
|
8919
|
+
const hexMatch = colorString.match(/^#?([a-fA-F0-9]{6})$/);
|
|
8920
|
+
if (hexMatch) return hexToHsl(colorString);
|
|
8921
|
+
const rgbMatch = colorString.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
|
|
8922
|
+
if (rgbMatch) {
|
|
8923
|
+
const r = parseInt(rgbMatch[1]) / 255;
|
|
8924
|
+
const g = parseInt(rgbMatch[2]) / 255;
|
|
8925
|
+
const b = parseInt(rgbMatch[3]) / 255;
|
|
8926
|
+
const max = Math.max(r, g, b);
|
|
8927
|
+
const min = Math.min(r, g, b);
|
|
8928
|
+
let h = 0;
|
|
8929
|
+
let s = 0;
|
|
8930
|
+
const l = (max + min) / 2;
|
|
8931
|
+
if (max !== min) {
|
|
8932
|
+
const d = max - min;
|
|
8933
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
8934
|
+
switch(max){
|
|
8935
|
+
case r:
|
|
8936
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
8937
|
+
break;
|
|
8938
|
+
case g:
|
|
8939
|
+
h = (b - r) / d + 2;
|
|
8940
|
+
break;
|
|
8941
|
+
case b:
|
|
8942
|
+
h = (r - g) / d + 4;
|
|
8943
|
+
break;
|
|
8944
|
+
}
|
|
8945
|
+
h /= 6;
|
|
8946
|
+
}
|
|
8947
|
+
return {
|
|
8948
|
+
h: Math.round(360 * h),
|
|
8949
|
+
s: Math.round(100 * s),
|
|
8950
|
+
l: Math.round(100 * l)
|
|
8951
|
+
};
|
|
8952
|
+
}
|
|
8953
|
+
return {
|
|
8954
|
+
h: 0,
|
|
8955
|
+
s: 0,
|
|
8956
|
+
l: 0
|
|
8864
8957
|
};
|
|
8865
8958
|
}
|
|
8866
8959
|
function interpolateHue(h1, h2, t) {
|
|
@@ -8874,7 +8967,7 @@ function generateStableId() {
|
|
|
8874
8967
|
return `svg-bg-${++instanceCounter}-${Date.now()}`;
|
|
8875
8968
|
}
|
|
8876
8969
|
function SvgBackground(props) {
|
|
8877
|
-
const { colorStart = '
|
|
8970
|
+
const { colorStart = '#000000', colorEnd = '#333333', opacity = 1, blurIntensity = 36, turbulenceFrequency = 0.007, animated = false, animationSpeed = 1, class: className = '', style = {}, children, darkness = 0 } = props;
|
|
8878
8971
|
const [animationTime, setAnimationTime] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(0);
|
|
8879
8972
|
let animationFrame = null;
|
|
8880
8973
|
let gradientStop1Ref;
|
|
@@ -8882,6 +8975,12 @@ function SvgBackground(props) {
|
|
|
8882
8975
|
let turbulenceRef;
|
|
8883
8976
|
const gradientId = `gradient-${generateStableId()}`;
|
|
8884
8977
|
const filterId = `filter-${generateStableId()}`;
|
|
8978
|
+
const shouldUseFilters = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>blurIntensity > 0 && turbulenceFrequency > 0.001);
|
|
8979
|
+
const isGrayscaleColors = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
|
|
8980
|
+
const startHSL = parseColor(colorStart);
|
|
8981
|
+
const endHSL = parseColor(colorEnd);
|
|
8982
|
+
return startHSL.s < 15 && endHSL.s < 15;
|
|
8983
|
+
});
|
|
8885
8984
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onMount)(()=>{
|
|
8886
8985
|
if (animated) {
|
|
8887
8986
|
const animate = ()=>{
|
|
@@ -8894,8 +8993,8 @@ function SvgBackground(props) {
|
|
|
8894
8993
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onCleanup)(()=>{
|
|
8895
8994
|
if (animationFrame) cancelAnimationFrame(animationFrame);
|
|
8896
8995
|
});
|
|
8897
|
-
const startHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>
|
|
8898
|
-
const endHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>
|
|
8996
|
+
const startHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>parseColor(colorStart));
|
|
8997
|
+
const endHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>parseColor(colorEnd));
|
|
8899
8998
|
const animatedColors = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
|
|
8900
8999
|
if (!animated) return {
|
|
8901
9000
|
color1: colorStart,
|
|
@@ -8930,16 +9029,14 @@ function SvgBackground(props) {
|
|
|
8930
9029
|
let color2 = colorEnd;
|
|
8931
9030
|
const start = startHSL();
|
|
8932
9031
|
const end = endHSL();
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
color2 = `hsl(${Math.round(h2)}, ${Math.round(s2)}%, ${Math.round(l2)}%)`;
|
|
8942
|
-
}
|
|
9032
|
+
const h1 = interpolateHue(start.h, end.h, colorMix);
|
|
9033
|
+
const s1 = start.s + (end.s - start.s) * colorMix;
|
|
9034
|
+
const l1 = start.l + (end.l - start.l) * colorMix;
|
|
9035
|
+
const h2 = interpolateHue(start.h, end.h, colorMix2);
|
|
9036
|
+
const s2 = start.s + (end.s - start.s) * colorMix2;
|
|
9037
|
+
const l2 = start.l + (end.l - start.l) * colorMix2;
|
|
9038
|
+
color1 = `hsl(${Math.round(h1)}, ${Math.round(s1)}%, ${Math.round(l1)}%)`;
|
|
9039
|
+
color2 = `hsl(${Math.round(h2)}, ${Math.round(s2)}%, ${Math.round(l2)}%)`;
|
|
8943
9040
|
const turbFreq1 = turbulenceFrequency + 0.01 * turbulenceFrequency * turbMix1;
|
|
8944
9041
|
const turbFreq2 = 0.4 * turbulenceFrequency + 0.01 * turbulenceFrequency * turbMix2;
|
|
8945
9042
|
return {
|
|
@@ -8960,34 +9057,62 @@ function SvgBackground(props) {
|
|
|
8960
9057
|
...style
|
|
8961
9058
|
}));
|
|
8962
9059
|
return (()=>{
|
|
8963
|
-
var _el$ = SvgBackground_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$5.nextSibling, _el$7 = _el$
|
|
9060
|
+
var _el$ = SvgBackground_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$6 = _el$5.nextSibling, _el$7 = _el$3.nextSibling, _el$8 = _el$2.nextSibling;
|
|
8964
9061
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, `relative ${className}`);
|
|
8965
9062
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "id", gradientId);
|
|
8966
9063
|
var _ref$ = gradientStop1Ref;
|
|
8967
9064
|
"function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$5) : gradientStop1Ref = _el$5;
|
|
8968
9065
|
var _ref$2 = gradientStop2Ref;
|
|
8969
9066
|
"function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$6) : gradientStop2Ref = _el$6;
|
|
8970
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
9067
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (()=>{
|
|
9068
|
+
var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!shouldUseFilters());
|
|
9069
|
+
return ()=>_c$() && (()=>{
|
|
9070
|
+
var _el$9 = SvgBackground_tmpl$2();
|
|
9071
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$9, "id", filterId);
|
|
9072
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$9, (()=>{
|
|
9073
|
+
var _c$2 = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!isGrayscaleColors());
|
|
9074
|
+
return ()=>_c$2() ? (()=>{
|
|
9075
|
+
var _el$0 = SvgBackground_tmpl$3();
|
|
9076
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$0, "stdDeviation", `${0.3 * blurIntensity} ${0.3 * blurIntensity}`);
|
|
9077
|
+
return _el$0;
|
|
9078
|
+
})() : [
|
|
9079
|
+
(()=>{
|
|
9080
|
+
var _el$1 = SvgBackground_tmpl$4();
|
|
9081
|
+
var _ref$3 = turbulenceRef;
|
|
9082
|
+
"function" == typeof _ref$3 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$3, _el$1) : turbulenceRef = _el$1;
|
|
9083
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$1, "baseFrequency", `${animatedColors().turbFreq1} ${animatedColors().turbFreq2}`));
|
|
9084
|
+
return _el$1;
|
|
9085
|
+
})(),
|
|
9086
|
+
(()=>{
|
|
9087
|
+
var _el$10 = SvgBackground_tmpl$5();
|
|
9088
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "stdDeviation", `${blurIntensity} ${blurIntensity}`);
|
|
9089
|
+
return _el$10;
|
|
9090
|
+
})(),
|
|
9091
|
+
(()=>{
|
|
9092
|
+
var _el$11 = SvgBackground_tmpl$6();
|
|
9093
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "mode", "color-dodge");
|
|
9094
|
+
return _el$11;
|
|
9095
|
+
})()
|
|
9096
|
+
];
|
|
9097
|
+
})());
|
|
9098
|
+
return _el$9;
|
|
9099
|
+
})();
|
|
9100
|
+
})(), null);
|
|
9101
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "fill", `url(#${gradientId})`);
|
|
8977
9102
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, darkness > 0 && (()=>{
|
|
8978
|
-
var _el$
|
|
8979
|
-
_el$
|
|
8980
|
-
_el$
|
|
8981
|
-
return _el$
|
|
8982
|
-
})(), _el$
|
|
8983
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$
|
|
9103
|
+
var _el$12 = SvgBackground_tmpl$7();
|
|
9104
|
+
_el$12.style.setProperty("background-color", `rgba(0, 0, 0, ${darkness})`);
|
|
9105
|
+
_el$12.style.setProperty("pointer-events", "none");
|
|
9106
|
+
return _el$12;
|
|
9107
|
+
})(), _el$8);
|
|
9108
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$8, children);
|
|
8984
9109
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
8985
|
-
var _v$ = backgroundStyle(), _v$2 = opacity.toString(), _v$3 = animatedColors().color1, _v$4 = animatedColors().color2, _v$5 =
|
|
9110
|
+
var _v$ = backgroundStyle(), _v$2 = opacity.toString(), _v$3 = animatedColors().color1, _v$4 = animatedColors().color2, _v$5 = shouldUseFilters() ? `url(#${filterId})` : 'none';
|
|
8986
9111
|
_p$.e = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$, _p$.e);
|
|
8987
9112
|
_v$2 !== _p$.t && (null != (_p$.t = _v$2) ? _el$2.style.setProperty("opacity", _v$2) : _el$2.style.removeProperty("opacity"));
|
|
8988
9113
|
_v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "stop-color", _p$.a = _v$3);
|
|
8989
9114
|
_v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "stop-color", _p$.o = _v$4);
|
|
8990
|
-
_v$5 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$
|
|
9115
|
+
_v$5 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "filter", _p$.i = _v$5);
|
|
8991
9116
|
return _p$;
|
|
8992
9117
|
}, {
|
|
8993
9118
|
e: void 0,
|