@pathscale/ui 0.0.40 → 0.0.42

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.
Files changed (2) hide show
  1. package/dist/index.js +237 -91
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3535,6 +3535,43 @@ const Alert = (props)=>{
3535
3535
  })();
3536
3536
  };
3537
3537
  const alert_Alert = Alert;
3538
+ var Artboard_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
3539
+ const Artboard = (props)=>{
3540
+ const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
3541
+ "children",
3542
+ "demo",
3543
+ "size",
3544
+ "horizontal",
3545
+ "dataTheme",
3546
+ "class",
3547
+ "className"
3548
+ ]);
3549
+ const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
3550
+ const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("artboard", local.class, local.className, dist_clsx({
3551
+ "artboard-demo": local.demo ?? true,
3552
+ "phone-1": 1 === local.size,
3553
+ "phone-2": 2 === local.size,
3554
+ "phone-3": 3 === local.size,
3555
+ "phone-4": 4 === local.size,
3556
+ "phone-5": 5 === local.size,
3557
+ "phone-6": 6 === local.size,
3558
+ horizontal: local.horizontal
3559
+ })));
3560
+ return (()=>{
3561
+ var _el$ = Artboard_tmpl$();
3562
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
3563
+ get ["data-theme"] () {
3564
+ return local.dataTheme;
3565
+ },
3566
+ get ["class"] () {
3567
+ return classes();
3568
+ }
3569
+ }), false, true);
3570
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren);
3571
+ return _el$;
3572
+ })();
3573
+ };
3574
+ const artboard_Artboard = Artboard;
3538
3575
  const VoidElementList = [
3539
3576
  "area",
3540
3577
  "base",
@@ -3856,6 +3893,56 @@ const BreadcrumbsItem = (props)=>{
3856
3893
  })();
3857
3894
  };
3858
3895
  const breadcrumbs_BreadcrumbsItem = BreadcrumbsItem;
3896
+ var BrowserMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div class=mockup-browser-toolbar><div class=input><input type=text readonly></div></div><div>");
3897
+ const BrowserMockup = (props)=>{
3898
+ const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
3899
+ "dataTheme",
3900
+ "class",
3901
+ "className",
3902
+ "inputClassName",
3903
+ "innerClassName",
3904
+ "children",
3905
+ "url",
3906
+ "variant"
3907
+ ]);
3908
+ const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
3909
+ const variant = ()=>local.variant ?? "border";
3910
+ const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("mockup-browser border", dist_clsx({
3911
+ "border-base-300": "border" === variant(),
3912
+ "bg-base-300": "background" === variant()
3913
+ }), local.class, local.className));
3914
+ const inputClasses = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("input", dist_clsx({
3915
+ "border-base-300": "border" === variant()
3916
+ }), local.inputClassName));
3917
+ const innerClasses = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex justify-center px-4 py-16", dist_clsx({
3918
+ "border-t border-base-300": "border" === variant(),
3919
+ "bg-base-200": "background" === variant()
3920
+ }), local.innerClassName));
3921
+ return (()=>{
3922
+ var _el$ = BrowserMockup_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$2.nextSibling;
3923
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
3924
+ get ["data-theme"] () {
3925
+ return local.dataTheme;
3926
+ },
3927
+ get ["class"] () {
3928
+ return classes();
3929
+ }
3930
+ }), false, true);
3931
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, resolvedChildren);
3932
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
3933
+ var _v$ = inputClasses(), _v$2 = innerClasses();
3934
+ _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$4, _p$.e = _v$);
3935
+ _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$5, _p$.t = _v$2);
3936
+ return _p$;
3937
+ }, {
3938
+ e: void 0,
3939
+ t: void 0
3940
+ });
3941
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$4.value = local.url);
3942
+ return _el$;
3943
+ })();
3944
+ };
3945
+ const browsermockup_BrowserMockup = BrowserMockup;
3859
3946
  var Loading_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>");
3860
3947
  const Loading = (props)=>{
3861
3948
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -4207,7 +4294,7 @@ const ChatBubbleTime = (props)=>(()=>{
4207
4294
  return _el$;
4208
4295
  })();
4209
4296
  const chatbubble_ChatBubbleTime = ChatBubbleTime;
4210
- const ChatBubbleAvatar = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(avatar, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
4297
+ const ChatBubbleAvatar_ChatBubbleAvatar = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(avatar, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
4211
4298
  get size () {
4212
4299
  return props.size ?? "xs";
4213
4300
  },
@@ -4218,7 +4305,7 @@ const ChatBubbleAvatar = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d
4218
4305
  return twMerge("chat-image", props.class);
4219
4306
  }
4220
4307
  }));
4221
- const chatbubble_ChatBubbleAvatar = ChatBubbleAvatar;
4308
+ const ChatBubbleAvatar = ChatBubbleAvatar_ChatBubbleAvatar;
4222
4309
  var ChatBubbleMessage_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
4223
4310
  const ChatBubbleMessage_ChatBubbleMessage = (props)=>{
4224
4311
  const bubbleClass = clsx({
@@ -4284,7 +4371,7 @@ const ChatBubble = (props)=>{
4284
4371
  const chatbubble_ChatBubble = Object.assign(ChatBubble, {
4285
4372
  Header: ChatBubbleHeader,
4286
4373
  Time: chatbubble_ChatBubbleTime,
4287
- Avatar: chatbubble_ChatBubbleAvatar,
4374
+ Avatar: ChatBubbleAvatar,
4288
4375
  Message: ChatBubbleMessage,
4289
4376
  Footer: chatbubble_ChatBubbleFooter
4290
4377
  });
@@ -4598,56 +4685,6 @@ const Countdown = (props)=>{
4598
4685
  })();
4599
4686
  };
4600
4687
  const countdown_Countdown = Countdown;
4601
- var BrowserMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div class=mockup-browser-toolbar><div class=input><input type=text readonly></div></div><div>");
4602
- const BrowserMockup = (props)=>{
4603
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
4604
- "dataTheme",
4605
- "class",
4606
- "className",
4607
- "inputClassName",
4608
- "innerClassName",
4609
- "children",
4610
- "url",
4611
- "variant"
4612
- ]);
4613
- const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
4614
- const variant = ()=>local.variant ?? "border";
4615
- const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("mockup-browser border", dist_clsx({
4616
- "border-base-300": "border" === variant(),
4617
- "bg-base-300": "background" === variant()
4618
- }), local.class, local.className));
4619
- const inputClasses = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("input", dist_clsx({
4620
- "border-base-300": "border" === variant()
4621
- }), local.inputClassName));
4622
- const innerClasses = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex justify-center px-4 py-16", dist_clsx({
4623
- "border-t border-base-300": "border" === variant(),
4624
- "bg-base-200": "background" === variant()
4625
- }), local.innerClassName));
4626
- return (()=>{
4627
- var _el$ = BrowserMockup_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$2.nextSibling;
4628
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
4629
- get ["data-theme"] () {
4630
- return local.dataTheme;
4631
- },
4632
- get ["class"] () {
4633
- return classes();
4634
- }
4635
- }), false, true);
4636
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, resolvedChildren);
4637
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
4638
- var _v$ = inputClasses(), _v$2 = innerClasses();
4639
- _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$4, _p$.e = _v$);
4640
- _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$5, _p$.t = _v$2);
4641
- return _p$;
4642
- }, {
4643
- e: void 0,
4644
- t: void 0
4645
- });
4646
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$4.value = local.url);
4647
- return _el$;
4648
- })();
4649
- };
4650
- const browsermockup_BrowserMockup = BrowserMockup;
4651
4688
  var Diff_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div class=diff-item-1></div><div class=diff-item-2></div><div class=diff-resizer>");
4652
4689
  const Diff = (props)=>{
4653
4690
  const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -7456,6 +7493,152 @@ const steps_Steps = Object.assign(Steps, {
7456
7493
  Step: Step
7457
7494
  });
7458
7495
  const steps = steps_Steps;
7496
+ 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 700 700"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></feTurbulence><feGaussianBlur in=turbulence result=blur></feGaussianBlur><feBlend in=SourceGraphic in2=blur result=blend></feBlend></filter></defs><rect width=700 height=700></rect></svg><div class="relative z-10 h-full w-full">'), SvgBackground_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute inset-0 z-5">');
7497
+ function parseHSL(hslString) {
7498
+ const match = hslString.match(/hsl\((\d+),\s*(\d+)%,\s*(\d+)%\)/);
7499
+ if (!match) return null;
7500
+ return {
7501
+ h: parseInt(match[1]),
7502
+ s: parseInt(match[2]),
7503
+ l: parseInt(match[3])
7504
+ };
7505
+ }
7506
+ function interpolateHue(h1, h2, t) {
7507
+ const diff = h2 - h1;
7508
+ if (Math.abs(diff) > 180) if (diff > 0) h1 += 360;
7509
+ else h2 += 360;
7510
+ return (h1 + (h2 - h1) * t + 360) % 360;
7511
+ }
7512
+ let instanceCounter = 0;
7513
+ function generateStableId() {
7514
+ return `svg-bg-${++instanceCounter}-${Date.now()}`;
7515
+ }
7516
+ function SvgBackground(props) {
7517
+ const { colorStart = 'hsl(129, 100%, 72%)', colorEnd = 'hsl(227, 100%, 50%)', opacity = 1, blurIntensity = 36, turbulenceFrequency = 0.007, animated = false, animationSpeed = 1, class: className = '', style = {}, children, darkness = 0 } = props;
7518
+ const [animationTime, setAnimationTime] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(0);
7519
+ let animationFrame = null;
7520
+ let gradientStop1Ref;
7521
+ let gradientStop2Ref;
7522
+ let turbulenceRef;
7523
+ const gradientId = `gradient-${generateStableId()}`;
7524
+ const filterId = `filter-${generateStableId()}`;
7525
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onMount)(()=>{
7526
+ if (animated) {
7527
+ const animate = ()=>{
7528
+ setAnimationTime((prev)=>prev + 0.008 * animationSpeed);
7529
+ animationFrame = requestAnimationFrame(animate);
7530
+ };
7531
+ animate();
7532
+ }
7533
+ });
7534
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onCleanup)(()=>{
7535
+ if (animationFrame) cancelAnimationFrame(animationFrame);
7536
+ });
7537
+ const startHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>parseHSL(colorStart));
7538
+ const endHSL = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>parseHSL(colorEnd));
7539
+ const animatedColors = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
7540
+ if (!animated) return {
7541
+ color1: colorStart,
7542
+ color2: colorEnd,
7543
+ turbFreq1: turbulenceFrequency,
7544
+ turbFreq2: 0.4 * turbulenceFrequency
7545
+ };
7546
+ const time = animationTime();
7547
+ const baseSpeed = 0.001 * animationSpeed;
7548
+ const freq1 = time * baseSpeed * 7;
7549
+ const freq2 = time * baseSpeed * 11;
7550
+ const freq3 = time * baseSpeed * 13;
7551
+ const freq4 = time * baseSpeed * 17;
7552
+ const freq5 = time * baseSpeed * 19;
7553
+ const wave1 = 0.3 * Math.sin(freq1);
7554
+ const wave2 = 0.25 * Math.sin(freq2);
7555
+ const wave3 = 0.2 * Math.sin(freq3);
7556
+ const wave4 = 0.15 * Math.sin(freq4);
7557
+ const wave5 = 0.1 * Math.sin(freq5);
7558
+ const combinedWave = wave1 + wave2 + wave3 + wave4 + wave5;
7559
+ const colorMix = (combinedWave + 1) / 2;
7560
+ const wave1b = 0.3 * Math.cos(freq2);
7561
+ const wave2b = 0.25 * Math.cos(freq3);
7562
+ const wave3b = 0.2 * Math.cos(freq4);
7563
+ const wave4b = 0.15 * Math.cos(freq5);
7564
+ const wave5b = 0.1 * Math.cos(freq1);
7565
+ const combinedWave2 = wave1b + wave2b + wave3b + wave4b + wave5b;
7566
+ const colorMix2 = (combinedWave2 + 1) / 2;
7567
+ const turbMix1 = (0.5 * Math.sin(0.3 * freq1) + 0.5 * Math.cos(0.2 * freq2) + 1) / 2;
7568
+ const turbMix2 = (0.5 * Math.cos(0.2 * freq3) + 0.5 * Math.sin(0.3 * freq4) + 1) / 2;
7569
+ let color1 = colorStart;
7570
+ let color2 = colorEnd;
7571
+ const start = startHSL();
7572
+ const end = endHSL();
7573
+ if (start && end) {
7574
+ const h1 = interpolateHue(start.h, end.h, colorMix);
7575
+ const s1 = start.s + (end.s - start.s) * colorMix;
7576
+ const l1 = start.l + (end.l - start.l) * colorMix;
7577
+ const h2 = interpolateHue(start.h, end.h, colorMix2);
7578
+ const s2 = start.s + (end.s - start.s) * colorMix2;
7579
+ const l2 = start.l + (end.l - start.l) * colorMix2;
7580
+ color1 = `hsl(${Math.round(h1)}, ${Math.round(s1)}%, ${Math.round(l1)}%)`;
7581
+ color2 = `hsl(${Math.round(h2)}, ${Math.round(s2)}%, ${Math.round(l2)}%)`;
7582
+ }
7583
+ const turbFreq1 = turbulenceFrequency + 0.01 * turbulenceFrequency * turbMix1;
7584
+ const turbFreq2 = 0.4 * turbulenceFrequency + 0.01 * turbulenceFrequency * turbMix2;
7585
+ return {
7586
+ color1,
7587
+ color2,
7588
+ turbFreq1,
7589
+ turbFreq2
7590
+ };
7591
+ });
7592
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
7593
+ const colors = animatedColors();
7594
+ if (gradientStop1Ref) gradientStop1Ref.setAttribute('stop-color', colors.color1);
7595
+ if (gradientStop2Ref) gradientStop2Ref.setAttribute('stop-color', colors.color2);
7596
+ if (turbulenceRef) turbulenceRef.setAttribute('baseFrequency', `${colors.turbFreq1} ${colors.turbFreq2}`);
7597
+ });
7598
+ const backgroundStyle = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>({
7599
+ position: 'relative',
7600
+ ...style
7601
+ }));
7602
+ return (()=>{
7603
+ 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$4.nextSibling, _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$3.nextSibling, _el$10 = _el$2.nextSibling;
7604
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, `relative ${className}`);
7605
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "id", gradientId);
7606
+ var _ref$ = gradientStop1Ref;
7607
+ "function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$5) : gradientStop1Ref = _el$5;
7608
+ var _ref$2 = gradientStop2Ref;
7609
+ "function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$6) : gradientStop2Ref = _el$6;
7610
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "id", filterId);
7611
+ var _ref$3 = turbulenceRef;
7612
+ "function" == typeof _ref$3 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$3, _el$8) : turbulenceRef = _el$8;
7613
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$9, "stdDeviation", `${blurIntensity} ${blurIntensity}`);
7614
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$0, "mode", "color-dodge");
7615
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$1, "fill", `url(#${gradientId})`);
7616
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$1, "filter", `url(#${filterId})`);
7617
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, darkness > 0 && (()=>{
7618
+ var _el$11 = SvgBackground_tmpl$2();
7619
+ _el$11.style.setProperty("background-color", `rgba(0, 0, 0, ${darkness})`);
7620
+ _el$11.style.setProperty("pointer-events", "none");
7621
+ return _el$11;
7622
+ })(), _el$10);
7623
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$10, children);
7624
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
7625
+ var _v$ = backgroundStyle(), _v$2 = opacity.toString(), _v$3 = animatedColors().color1, _v$4 = animatedColors().color2, _v$5 = `${animatedColors().turbFreq1} ${animatedColors().turbFreq2}`;
7626
+ _p$.e = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$, _p$.e);
7627
+ _v$2 !== _p$.t && (null != (_p$.t = _v$2) ? _el$2.style.setProperty("opacity", _v$2) : _el$2.style.removeProperty("opacity"));
7628
+ _v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "stop-color", _p$.a = _v$3);
7629
+ _v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "stop-color", _p$.o = _v$4);
7630
+ _v$5 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$8, "baseFrequency", _p$.i = _v$5);
7631
+ return _p$;
7632
+ }, {
7633
+ e: void 0,
7634
+ t: void 0,
7635
+ a: void 0,
7636
+ o: void 0,
7637
+ i: void 0
7638
+ });
7639
+ return _el$;
7640
+ })();
7641
+ }
7459
7642
  function isJSXElement(node) {
7460
7643
  return "object" == typeof node && null !== node;
7461
7644
  }
@@ -8403,41 +8586,4 @@ const WindowMockup = (props)=>{
8403
8586
  })();
8404
8587
  };
8405
8588
  const windowmockup_WindowMockup = WindowMockup;
8406
- var Artboard_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
8407
- const Artboard = (props)=>{
8408
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
8409
- "children",
8410
- "demo",
8411
- "size",
8412
- "horizontal",
8413
- "dataTheme",
8414
- "class",
8415
- "className"
8416
- ]);
8417
- const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
8418
- const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("artboard", local.class, local.className, dist_clsx({
8419
- "artboard-demo": local.demo ?? true,
8420
- "phone-1": 1 === local.size,
8421
- "phone-2": 2 === local.size,
8422
- "phone-3": 3 === local.size,
8423
- "phone-4": 4 === local.size,
8424
- "phone-5": 5 === local.size,
8425
- "phone-6": 6 === local.size,
8426
- horizontal: local.horizontal
8427
- })));
8428
- return (()=>{
8429
- var _el$ = Artboard_tmpl$();
8430
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
8431
- get ["data-theme"] () {
8432
- return local.dataTheme;
8433
- },
8434
- get ["class"] () {
8435
- return classes();
8436
- }
8437
- }), false, true);
8438
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren);
8439
- return _el$;
8440
- })();
8441
- };
8442
- const artboard_Artboard = Artboard;
8443
- export { accordion_Accordion as Accordion, alert_Alert as Alert, artboard_Artboard as Artboard, avatar as Avatar, background_Background as Background, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, browsermockup_BrowserMockup as BrowserMockup, button_Button as Button, card_Card as Card, carousel_Carousel as Carousel, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, copy_button_CopyButton as CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, Drawer, dropdown as Dropdown, FileInput, flex_Flex as Flex, footer_Footer as Footer, form_Form as Form, grid_Grid as Grid, hero_Hero as Hero, icon_Icon as Icon, indicator_Indicator as Indicator, input_Input as Input, join_Join as Join, kbd_Kbd as Kbd, link_Link as Link, loading_Loading as Loading, mask as Mask, menu_Menu as Menu, modal as Modal, navbar_Navbar as Navbar, pagination_Pagination as Pagination, phonemockup_PhoneMockup as PhoneMockup, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, Sidenav, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, status_Status as Status, steps as Steps, Summary, Swap, table as Table, tabs_Tabs as Tabs, textarea_Textarea as Textarea, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, toggle_Toggle as Toggle, tooltip_Tooltip as Tooltip, windowmockup_WindowMockup as WindowMockup, useFormValidation };
8589
+ export { accordion_Accordion as Accordion, alert_Alert as Alert, artboard_Artboard as Artboard, avatar as Avatar, background_Background as Background, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, browsermockup_BrowserMockup as BrowserMockup, button_Button as Button, card_Card as Card, carousel_Carousel as Carousel, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, copy_button_CopyButton as CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, Drawer, dropdown as Dropdown, FileInput, flex_Flex as Flex, footer_Footer as Footer, form_Form as Form, grid_Grid as Grid, hero_Hero as Hero, icon_Icon as Icon, indicator_Indicator as Indicator, input_Input as Input, join_Join as Join, kbd_Kbd as Kbd, link_Link as Link, loading_Loading as Loading, mask as Mask, menu_Menu as Menu, modal as Modal, navbar_Navbar as Navbar, pagination_Pagination as Pagination, phonemockup_PhoneMockup as PhoneMockup, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, Sidenav, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, status_Status as Status, steps as Steps, Summary, SvgBackground, Swap, table as Table, tabs_Tabs as Tabs, textarea_Textarea as Textarea, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, toggle_Toggle as Toggle, tooltip_Tooltip as Tooltip, windowmockup_WindowMockup as WindowMockup, useFormValidation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",