@proyecto-viviana/ui 0.3.2 → 0.3.3
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/components.css +1077 -1077
- package/dist/index.js +236 -249
- package/dist/index.js.map +3 -3
- package/dist/index.ssr.js +78 -81
- package/dist/index.ssr.js.map +3 -3
- package/dist/radio/index.d.ts +12 -27
- package/dist/radio/index.d.ts.map +1 -1
- package/dist/test-utils/index.d.ts +2 -2
- package/dist/test-utils/index.d.ts.map +1 -1
- package/package.json +13 -12
- package/src/alert/index.tsx +48 -0
- package/src/assets/favicon.png +0 -0
- package/src/assets/fire.gif +0 -0
- package/src/autocomplete/index.tsx +313 -0
- package/src/avatar/index.tsx +75 -0
- package/src/badge/index.tsx +43 -0
- package/src/breadcrumbs/index.tsx +207 -0
- package/src/button/Button.tsx +74 -0
- package/src/button/index.ts +2 -0
- package/src/button/types.ts +24 -0
- package/src/calendar/DateField.tsx +200 -0
- package/src/calendar/DatePicker.tsx +298 -0
- package/src/calendar/RangeCalendar.tsx +236 -0
- package/src/calendar/TimeField.tsx +196 -0
- package/src/calendar/index.tsx +223 -0
- package/src/checkbox/index.tsx +257 -0
- package/src/color/index.tsx +687 -0
- package/src/combobox/index.tsx +383 -0
- package/src/components.css +1077 -0
- package/src/custom/calendar-card/index.tsx +66 -0
- package/src/custom/chip/index.tsx +46 -0
- package/src/custom/conversation/index.tsx +105 -0
- package/src/custom/event-card/index.tsx +132 -0
- package/src/custom/header/index.tsx +33 -0
- package/src/custom/lateral-nav/index.tsx +88 -0
- package/src/custom/logo/index.tsx +58 -0
- package/src/custom/nav-header/index.tsx +42 -0
- package/src/custom/page-layout/index.tsx +29 -0
- package/src/custom/profile-card/index.tsx +64 -0
- package/src/custom/project-card/index.tsx +59 -0
- package/src/custom/timeline-item/index.tsx +105 -0
- package/src/dialog/Dialog.tsx +260 -0
- package/src/dialog/index.tsx +3 -0
- package/src/disclosure/index.tsx +307 -0
- package/src/gridlist/index.tsx +403 -0
- package/src/icon/icons/GitHubIcon.tsx +20 -0
- package/src/icon/index.tsx +48 -0
- package/src/index.ts +322 -0
- package/src/landmark/index.tsx +231 -0
- package/src/link/index.tsx +130 -0
- package/src/listbox/index.tsx +231 -0
- package/src/menu/index.tsx +297 -0
- package/src/meter/index.tsx +163 -0
- package/src/numberfield/index.tsx +482 -0
- package/src/popover/index.tsx +260 -0
- package/src/progress-bar/index.tsx +169 -0
- package/src/radio/index.tsx +173 -0
- package/src/searchfield/index.tsx +453 -0
- package/src/select/index.tsx +349 -0
- package/src/separator/index.tsx +141 -0
- package/src/slider/index.tsx +382 -0
- package/src/styles.css +450 -0
- package/src/switch/ToggleSwitch.tsx +112 -0
- package/src/switch/index.tsx +90 -0
- package/src/table/index.tsx +531 -0
- package/src/tabs/index.tsx +273 -0
- package/src/tag-group/index.tsx +240 -0
- package/src/test-utils/index.ts +40 -0
- package/src/textfield/index.tsx +211 -0
- package/src/theme.css +101 -0
- package/src/toast/index.tsx +324 -0
- package/src/toolbar/index.tsx +108 -0
- package/src/tooltip/index.tsx +197 -0
- package/src/tree/index.tsx +494 -0
- package/dist/index.jsx +0 -6658
- package/dist/index.jsx.map +0 -7
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// src/button/Button.tsx
|
|
1
|
+
// packages/ui/src/button/Button.tsx
|
|
2
2
|
import { createComponent as _$createComponent } from "solid-js/web";
|
|
3
3
|
import { mergeProps as _$mergeProps } from "solid-js/web";
|
|
4
4
|
import { memo as _$memo } from "solid-js/web";
|
|
@@ -42,7 +42,7 @@ function Button(props) {
|
|
|
42
42
|
}));
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// src/badge/index.tsx
|
|
45
|
+
// packages/ui/src/badge/index.tsx
|
|
46
46
|
import { template as _$template } from "solid-js/web";
|
|
47
47
|
import { className as _$className } from "solid-js/web";
|
|
48
48
|
import { effect as _$effect } from "solid-js/web";
|
|
@@ -88,7 +88,7 @@ function Badge(props) {
|
|
|
88
88
|
})();
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
// src/alert/index.tsx
|
|
91
|
+
// packages/ui/src/alert/index.tsx
|
|
92
92
|
import { template as _$template2 } from "solid-js/web";
|
|
93
93
|
import { delegateEvents as _$delegateEvents } from "solid-js/web";
|
|
94
94
|
import { className as _$className2 } from "solid-js/web";
|
|
@@ -144,7 +144,7 @@ function Alert(props) {
|
|
|
144
144
|
}
|
|
145
145
|
_$delegateEvents(["click"]);
|
|
146
146
|
|
|
147
|
-
// src/avatar/index.tsx
|
|
147
|
+
// packages/ui/src/avatar/index.tsx
|
|
148
148
|
import { template as _$template3 } from "solid-js/web";
|
|
149
149
|
import { getNextMarker as _$getNextMarker2 } from "solid-js/web";
|
|
150
150
|
import { className as _$className3 } from "solid-js/web";
|
|
@@ -251,7 +251,7 @@ function AvatarGroup(props) {
|
|
|
251
251
|
})();
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
// src/switch/index.tsx
|
|
254
|
+
// packages/ui/src/switch/index.tsx
|
|
255
255
|
import { template as _$template5 } from "solid-js/web";
|
|
256
256
|
import { delegateEvents as _$delegateEvents2 } from "solid-js/web";
|
|
257
257
|
import { className as _$className5 } from "solid-js/web";
|
|
@@ -262,7 +262,7 @@ import { insert as _$insert5 } from "solid-js/web";
|
|
|
262
262
|
import { memo as _$memo3 } from "solid-js/web";
|
|
263
263
|
import { createSignal, createEffect } from "solid-js";
|
|
264
264
|
|
|
265
|
-
// src/switch/ToggleSwitch.tsx
|
|
265
|
+
// packages/ui/src/switch/ToggleSwitch.tsx
|
|
266
266
|
import { template as _$template4 } from "solid-js/web";
|
|
267
267
|
import { insert as _$insert4 } from "solid-js/web";
|
|
268
268
|
import { memo as _$memo2 } from "solid-js/web";
|
|
@@ -327,7 +327,7 @@ function ToggleSwitch(props) {
|
|
|
327
327
|
}));
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
// src/switch/index.tsx
|
|
330
|
+
// packages/ui/src/switch/index.tsx
|
|
331
331
|
var _tmpl$7 = /* @__PURE__ */ _$template5(`<div><div></div><div class="flex z-10 h-8 justify-around"><button type=button><span></span></button><button type=button><span>`);
|
|
332
332
|
function TabSwitch(props) {
|
|
333
333
|
const [leftSelected, setLeftSelected] = createSignal(props.value ? props.value === props.options[0]?.value : true);
|
|
@@ -372,7 +372,7 @@ function TabSwitch(props) {
|
|
|
372
372
|
}
|
|
373
373
|
_$delegateEvents2(["click"]);
|
|
374
374
|
|
|
375
|
-
// src/checkbox/index.tsx
|
|
375
|
+
// packages/ui/src/checkbox/index.tsx
|
|
376
376
|
import { template as _$template6 } from "solid-js/web";
|
|
377
377
|
import { memo as _$memo4 } from "solid-js/web";
|
|
378
378
|
import { className as _$className6 } from "solid-js/web";
|
|
@@ -548,10 +548,9 @@ function CheckboxGroup(props) {
|
|
|
548
548
|
}));
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
// src/radio/index.tsx
|
|
551
|
+
// packages/ui/src/radio/index.tsx
|
|
552
552
|
import { template as _$template7 } from "solid-js/web";
|
|
553
553
|
import { className as _$className7 } from "solid-js/web";
|
|
554
|
-
import { effect as _$effect7 } from "solid-js/web";
|
|
555
554
|
import { mergeProps as _$mergeProps4 } from "solid-js/web";
|
|
556
555
|
import { memo as _$memo5 } from "solid-js/web";
|
|
557
556
|
import { createComponent as _$createComponent7 } from "solid-js/web";
|
|
@@ -592,11 +591,10 @@ function RadioGroup(props) {
|
|
|
592
591
|
const disabledClass = renderProps.isDisabled ? "opacity-50" : "";
|
|
593
592
|
return [base, orientationClass, disabledClass, customClass].filter(Boolean).join(" ");
|
|
594
593
|
};
|
|
595
|
-
const radioGroupProps = headlessProps;
|
|
596
594
|
return _$createComponent7(RadioSizeContext.Provider, {
|
|
597
595
|
value: size,
|
|
598
596
|
get children() {
|
|
599
|
-
return _$createComponent7(HeadlessRadioGroup, _$mergeProps4(
|
|
597
|
+
return _$createComponent7(HeadlessRadioGroup, _$mergeProps4(headlessProps, {
|
|
600
598
|
"class": getClassName,
|
|
601
599
|
"data-size": size,
|
|
602
600
|
get children() {
|
|
@@ -634,57 +632,46 @@ function RadioGroup(props) {
|
|
|
634
632
|
});
|
|
635
633
|
}
|
|
636
634
|
function Radio(props) {
|
|
637
|
-
const
|
|
638
|
-
const
|
|
635
|
+
const [local, headlessProps] = splitProps4(props, ["class"]);
|
|
636
|
+
const sizeFromContext = useContext(RadioSizeContext);
|
|
637
|
+
const sizeStyle = sizeStyles5[sizeFromContext];
|
|
639
638
|
const customClass = local.class ?? "";
|
|
640
|
-
const styles = sizeStyles5[size];
|
|
641
639
|
const getClassName = (renderProps) => {
|
|
642
|
-
const base = "
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
const getCircleClassName = (renderProps) => {
|
|
647
|
-
const base = `rounded-full border-2 flex items-center justify-center transition-all ${styles.circle}`;
|
|
648
|
-
const selectedClass = renderProps.isSelected ? "border-accent-500 bg-accent-500" : "border-primary-400 bg-transparent group-hover:border-accent-400";
|
|
649
|
-
const disabledClass = renderProps.isDisabled ? "border-primary-600" : "";
|
|
650
|
-
const focusClass = renderProps.isFocusVisible ? "ring-2 ring-accent-500 ring-offset-2 ring-offset-bg" : "";
|
|
651
|
-
return [base, selectedClass, disabledClass, focusClass].filter(Boolean).join(" ");
|
|
652
|
-
};
|
|
653
|
-
const getDotClassName = (renderProps) => {
|
|
654
|
-
const base = `rounded-full bg-white transition-transform ${styles.dot}`;
|
|
655
|
-
const selectedClass = renderProps.isSelected ? "scale-100" : "scale-0";
|
|
656
|
-
return [base, selectedClass].filter(Boolean).join(" ");
|
|
657
|
-
};
|
|
658
|
-
const getLabelClassName = () => {
|
|
659
|
-
return `text-primary-200 select-none ${styles.label}`;
|
|
640
|
+
const base = "inline-flex items-center gap-2";
|
|
641
|
+
const cursorClass = renderProps.isDisabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
642
|
+
const disabledClass = renderProps.isDisabled ? "opacity-50" : "";
|
|
643
|
+
return [base, cursorClass, disabledClass, customClass].filter(Boolean).join(" ");
|
|
660
644
|
};
|
|
645
|
+
const circleClass = `relative flex items-center justify-center rounded-full border-2 transition-all duration-200 ${sizeStyle.circle} border-primary-600 bg-transparent hover:border-accent-300`;
|
|
646
|
+
const dotClass = `rounded-full bg-accent transition-all duration-200 ${sizeStyle.dot}`;
|
|
647
|
+
const labelClass = `text-primary-200 ${sizeStyle.label}`;
|
|
661
648
|
return _$createComponent7(HeadlessRadio, _$mergeProps4(headlessProps, {
|
|
662
649
|
"class": getClassName,
|
|
663
|
-
children
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}
|
|
650
|
+
get children() {
|
|
651
|
+
return [(() => {
|
|
652
|
+
var _el$4 = _$getNextElement7(_tmpl$44), _el$5 = _el$4.firstChild;
|
|
653
|
+
_$className7(_el$4, circleClass);
|
|
654
|
+
_$className7(_el$5, dotClass);
|
|
655
|
+
return _el$4;
|
|
656
|
+
})(), _$createComponent7(Show5, {
|
|
657
|
+
get when() {
|
|
658
|
+
return props.children;
|
|
659
|
+
},
|
|
660
|
+
get children() {
|
|
661
|
+
var _el$6 = _$getNextElement7(_tmpl$53);
|
|
662
|
+
_$className7(_el$6, labelClass);
|
|
663
|
+
_$insert7(_el$6, () => props.children);
|
|
664
|
+
return _el$6;
|
|
665
|
+
}
|
|
666
|
+
})];
|
|
667
|
+
}
|
|
681
668
|
}));
|
|
682
669
|
}
|
|
683
670
|
|
|
684
|
-
// src/dialog/Dialog.tsx
|
|
671
|
+
// packages/ui/src/dialog/Dialog.tsx
|
|
685
672
|
import { template as _$template8 } from "solid-js/web";
|
|
686
673
|
import { delegateEvents as _$delegateEvents3 } from "solid-js/web";
|
|
687
|
-
import { effect as _$
|
|
674
|
+
import { effect as _$effect7 } from "solid-js/web";
|
|
688
675
|
import { use as _$use } from "solid-js/web";
|
|
689
676
|
import { getNextMarker as _$getNextMarker3 } from "solid-js/web";
|
|
690
677
|
import { createComponent as _$createComponent8 } from "solid-js/web";
|
|
@@ -835,17 +822,17 @@ function DialogFooter(props) {
|
|
|
835
822
|
return (() => {
|
|
836
823
|
var _el$12 = _$getNextElement8(_tmpl$45);
|
|
837
824
|
_$insert8(_el$12, () => props.children);
|
|
838
|
-
_$
|
|
825
|
+
_$effect7(() => _$className8(_el$12, `flex gap-3 justify-end mt-6 pt-4 border-t border-primary-700 ${props.class ?? ""}`));
|
|
839
826
|
return _el$12;
|
|
840
827
|
})();
|
|
841
828
|
}
|
|
842
829
|
_$delegateEvents3(["click"]);
|
|
843
830
|
|
|
844
|
-
// src/icon/index.tsx
|
|
831
|
+
// packages/ui/src/icon/index.tsx
|
|
845
832
|
import { template as _$template10 } from "solid-js/web";
|
|
846
833
|
import { delegateEvents as _$delegateEvents4 } from "solid-js/web";
|
|
847
834
|
import { className as _$className9 } from "solid-js/web";
|
|
848
|
-
import { effect as _$
|
|
835
|
+
import { effect as _$effect9 } from "solid-js/web";
|
|
849
836
|
import { getNextElement as _$getNextElement10 } from "solid-js/web";
|
|
850
837
|
import { runHydrationEvents as _$runHydrationEvents4 } from "solid-js/web";
|
|
851
838
|
import { getNextMarker as _$getNextMarker4 } from "solid-js/web";
|
|
@@ -854,16 +841,16 @@ import { createComponent as _$createComponent9 } from "solid-js/web";
|
|
|
854
841
|
import { memo as _$memo6 } from "solid-js/web";
|
|
855
842
|
import { addEventListener as _$addEventListener2 } from "solid-js/web";
|
|
856
843
|
|
|
857
|
-
// src/icon/icons/GitHubIcon.tsx
|
|
844
|
+
// packages/ui/src/icon/icons/GitHubIcon.tsx
|
|
858
845
|
import { template as _$template9 } from "solid-js/web";
|
|
859
846
|
import { setAttribute as _$setAttribute4 } from "solid-js/web";
|
|
860
|
-
import { effect as _$
|
|
847
|
+
import { effect as _$effect8 } from "solid-js/web";
|
|
861
848
|
import { getNextElement as _$getNextElement9 } from "solid-js/web";
|
|
862
849
|
var _tmpl$11 = /* @__PURE__ */ _$template9(`<svg viewBox="0 0 24 24"aria-hidden=true><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z">`);
|
|
863
850
|
function GitHubIcon(props) {
|
|
864
851
|
return (() => {
|
|
865
852
|
var _el$ = _$getNextElement9(_tmpl$11);
|
|
866
|
-
_$
|
|
853
|
+
_$effect8((_p$) => {
|
|
867
854
|
var _v$ = props.size, _v$2 = props.size, _v$3 = props.color;
|
|
868
855
|
_v$ !== _p$.e && _$setAttribute4(_el$, "width", _p$.e = _v$);
|
|
869
856
|
_v$2 !== _p$.t && _$setAttribute4(_el$, "height", _p$.t = _v$2);
|
|
@@ -878,7 +865,7 @@ function GitHubIcon(props) {
|
|
|
878
865
|
})();
|
|
879
866
|
}
|
|
880
867
|
|
|
881
|
-
// src/icon/index.tsx
|
|
868
|
+
// packages/ui/src/icon/index.tsx
|
|
882
869
|
var _tmpl$12 = /* @__PURE__ */ _$template10(`<div><!$><!/><div class=vui-icon__main>`);
|
|
883
870
|
var _tmpl$28 = /* @__PURE__ */ _$template10(`<div class=vui-icon__shadow>`);
|
|
884
871
|
function Icon(props) {
|
|
@@ -909,18 +896,18 @@ function Icon(props) {
|
|
|
909
896
|
return color();
|
|
910
897
|
}
|
|
911
898
|
}));
|
|
912
|
-
_$
|
|
899
|
+
_$effect9(() => _$className9(_el$, `vui-icon ${props.withShadow ? "vui-icon--with-shadow" : ""} ${props.class ?? ""}`));
|
|
913
900
|
_$runHydrationEvents4();
|
|
914
901
|
return _el$;
|
|
915
902
|
})();
|
|
916
903
|
}
|
|
917
904
|
_$delegateEvents4(["click"]);
|
|
918
905
|
|
|
919
|
-
// src/tooltip/index.tsx
|
|
906
|
+
// packages/ui/src/tooltip/index.tsx
|
|
920
907
|
import { template as _$template11 } from "solid-js/web";
|
|
921
908
|
import { insert as _$insert10 } from "solid-js/web";
|
|
922
909
|
import { className as _$className10 } from "solid-js/web";
|
|
923
|
-
import { effect as _$
|
|
910
|
+
import { effect as _$effect10 } from "solid-js/web";
|
|
924
911
|
import { getNextElement as _$getNextElement11 } from "solid-js/web";
|
|
925
912
|
import { memo as _$memo7 } from "solid-js/web";
|
|
926
913
|
import { mergeProps as _$mergeProps6 } from "solid-js/web";
|
|
@@ -970,7 +957,7 @@ function Tooltip(props) {
|
|
|
970
957
|
},
|
|
971
958
|
get children() {
|
|
972
959
|
var _el$ = _$getNextElement11(_tmpl$13);
|
|
973
|
-
_$
|
|
960
|
+
_$effect10(() => _$className10(_el$, ["absolute w-0 h-0 border-4", arrowStyles[renderProps.placement ?? placement()], getArrowBorderColor(variant())].join(" ")));
|
|
974
961
|
return _el$;
|
|
975
962
|
}
|
|
976
963
|
})]
|
|
@@ -982,7 +969,7 @@ function SimpleTooltip(props) {
|
|
|
982
969
|
var _el$2 = _$getNextElement11(_tmpl$29), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
|
|
983
970
|
_$insert10(_el$3, () => props.children);
|
|
984
971
|
_$insert10(_el$5, () => props.label);
|
|
985
|
-
_$
|
|
972
|
+
_$effect10((_p$) => {
|
|
986
973
|
var _v$ = `vui-tooltip ${props.class ?? ""}`, _v$2 = `vui-tooltip__content vui-tooltip__content--${position()}`;
|
|
987
974
|
_v$ !== _p$.e && _$className10(_el$2, _p$.e = _v$);
|
|
988
975
|
_v$2 !== _p$.t && _$className10(_el$4, _p$.t = _v$2);
|
|
@@ -995,13 +982,13 @@ function SimpleTooltip(props) {
|
|
|
995
982
|
})();
|
|
996
983
|
}
|
|
997
984
|
|
|
998
|
-
// src/popover/index.tsx
|
|
985
|
+
// packages/ui/src/popover/index.tsx
|
|
999
986
|
import { template as _$template12 } from "solid-js/web";
|
|
1000
987
|
import { className as _$className11 } from "solid-js/web";
|
|
1001
988
|
import { getNextMarker as _$getNextMarker5 } from "solid-js/web";
|
|
1002
989
|
import { insert as _$insert11 } from "solid-js/web";
|
|
1003
990
|
import { setAttribute as _$setAttribute5 } from "solid-js/web";
|
|
1004
|
-
import { effect as _$
|
|
991
|
+
import { effect as _$effect11 } from "solid-js/web";
|
|
1005
992
|
import { getNextElement as _$getNextElement12 } from "solid-js/web";
|
|
1006
993
|
import { memo as _$memo8 } from "solid-js/web";
|
|
1007
994
|
import { mergeProps as _$mergeProps7 } from "solid-js/web";
|
|
@@ -1113,7 +1100,7 @@ function PopoverArrow(props) {
|
|
|
1113
1100
|
},
|
|
1114
1101
|
get children() {
|
|
1115
1102
|
var _el$ = _$getNextElement12(_tmpl$14);
|
|
1116
|
-
_$
|
|
1103
|
+
_$effect11(() => _$setAttribute5(_el$, "class", `${arrowBaseStyles} ${getArrowRotation(props.placement)} ${props.class ?? ""}`));
|
|
1117
1104
|
return _el$;
|
|
1118
1105
|
}
|
|
1119
1106
|
});
|
|
@@ -1132,7 +1119,7 @@ function PopoverHeader(props) {
|
|
|
1132
1119
|
return _el$4;
|
|
1133
1120
|
}
|
|
1134
1121
|
}), _el$6, _co$);
|
|
1135
|
-
_$
|
|
1122
|
+
_$effect11(() => _$className11(_el$2, `mb-3 ${props.class ?? ""}`));
|
|
1136
1123
|
return _el$2;
|
|
1137
1124
|
})();
|
|
1138
1125
|
}
|
|
@@ -1140,16 +1127,16 @@ function PopoverFooter(props) {
|
|
|
1140
1127
|
return (() => {
|
|
1141
1128
|
var _el$7 = _$getNextElement12(_tmpl$46);
|
|
1142
1129
|
_$insert11(_el$7, () => props.children);
|
|
1143
|
-
_$
|
|
1130
|
+
_$effect11(() => _$className11(_el$7, `flex gap-2 justify-end mt-4 pt-3 border-t border-primary-700 ${props.class ?? ""}`));
|
|
1144
1131
|
return _el$7;
|
|
1145
1132
|
})();
|
|
1146
1133
|
}
|
|
1147
1134
|
|
|
1148
|
-
// src/textfield/index.tsx
|
|
1135
|
+
// packages/ui/src/textfield/index.tsx
|
|
1149
1136
|
import { template as _$template13 } from "solid-js/web";
|
|
1150
1137
|
import { setAttribute as _$setAttribute6 } from "solid-js/web";
|
|
1151
1138
|
import { className as _$className12 } from "solid-js/web";
|
|
1152
|
-
import { effect as _$
|
|
1139
|
+
import { effect as _$effect12 } from "solid-js/web";
|
|
1153
1140
|
import { memo as _$memo9 } from "solid-js/web";
|
|
1154
1141
|
import { runHydrationEvents as _$runHydrationEvents5 } from "solid-js/web";
|
|
1155
1142
|
import { getNextMarker as _$getNextMarker6 } from "solid-js/web";
|
|
@@ -1344,7 +1331,7 @@ function TextField(props) {
|
|
|
1344
1331
|
return _el$0;
|
|
1345
1332
|
}
|
|
1346
1333
|
}), _el$14, _co$5);
|
|
1347
|
-
_$
|
|
1334
|
+
_$effect12((_p$) => {
|
|
1348
1335
|
var _v$ = containerClasses(), _v$2 = ariaProps.isDisabled || void 0, _v$3 = textFieldAria.isInvalid || void 0, _v$4 = ariaProps.isReadOnly || void 0, _v$5 = ariaProps.isRequired || void 0, _v$6 = isFocused() || void 0, _v$7 = isFocusVisible() || void 0;
|
|
1349
1336
|
_v$ !== _p$.e && _$className12(_el$, _p$.e = _v$);
|
|
1350
1337
|
_v$2 !== _p$.t && _$setAttribute6(_el$, "data-disabled", _p$.t = _v$2);
|
|
@@ -1368,7 +1355,7 @@ function TextField(props) {
|
|
|
1368
1355
|
})();
|
|
1369
1356
|
}
|
|
1370
1357
|
|
|
1371
|
-
// src/link/index.tsx
|
|
1358
|
+
// packages/ui/src/link/index.tsx
|
|
1372
1359
|
import { createComponent as _$createComponent13 } from "solid-js/web";
|
|
1373
1360
|
import { mergeProps as _$mergeProps9 } from "solid-js/web";
|
|
1374
1361
|
import { splitProps as splitProps9 } from "solid-js";
|
|
@@ -1405,12 +1392,12 @@ function Link(props) {
|
|
|
1405
1392
|
}));
|
|
1406
1393
|
}
|
|
1407
1394
|
|
|
1408
|
-
// src/progress-bar/index.tsx
|
|
1395
|
+
// packages/ui/src/progress-bar/index.tsx
|
|
1409
1396
|
import { template as _$template14 } from "solid-js/web";
|
|
1410
1397
|
import { setStyleProperty as _$setStyleProperty } from "solid-js/web";
|
|
1411
1398
|
import { runHydrationEvents as _$runHydrationEvents6 } from "solid-js/web";
|
|
1412
1399
|
import { className as _$className13 } from "solid-js/web";
|
|
1413
|
-
import { effect as _$
|
|
1400
|
+
import { effect as _$effect13 } from "solid-js/web";
|
|
1414
1401
|
import { getNextMarker as _$getNextMarker7 } from "solid-js/web";
|
|
1415
1402
|
import { createComponent as _$createComponent14 } from "solid-js/web";
|
|
1416
1403
|
import { getNextElement as _$getNextElement14 } from "solid-js/web";
|
|
@@ -1522,11 +1509,11 @@ function ProgressBar(props) {
|
|
|
1522
1509
|
return _el$4;
|
|
1523
1510
|
}
|
|
1524
1511
|
}), _el$8, _co$2);
|
|
1525
|
-
_$
|
|
1512
|
+
_$effect13(() => _$className13(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
|
|
1526
1513
|
return _el$2;
|
|
1527
1514
|
}
|
|
1528
1515
|
}), _el$10, _co$3);
|
|
1529
|
-
_$
|
|
1516
|
+
_$effect13((_p$) => {
|
|
1530
1517
|
var _v$ = `w-full ${sizeConfig().track} bg-bg-300 rounded-full overflow-hidden`, _v$2 = `h-full rounded-full transition-all duration-300 ${variantStyles5[variant()]} ${isIndeterminate() ? "animate-progress-indeterminate" : ""}`, _v$3 = isIndeterminate() ? "30%" : `${percentage()}%`;
|
|
1531
1518
|
_v$ !== _p$.e && _$className13(_el$9, _p$.e = _v$);
|
|
1532
1519
|
_v$2 !== _p$.t && _$className13(_el$0, _p$.t = _v$2);
|
|
@@ -1542,7 +1529,7 @@ function ProgressBar(props) {
|
|
|
1542
1529
|
})();
|
|
1543
1530
|
}
|
|
1544
1531
|
|
|
1545
|
-
// src/separator/index.tsx
|
|
1532
|
+
// packages/ui/src/separator/index.tsx
|
|
1546
1533
|
import { template as _$template15 } from "solid-js/web";
|
|
1547
1534
|
import { createComponent as _$createComponent15 } from "solid-js/web";
|
|
1548
1535
|
import { getNextElement as _$getNextElement15 } from "solid-js/web";
|
|
@@ -1639,7 +1626,7 @@ function Separator(props) {
|
|
|
1639
1626
|
});
|
|
1640
1627
|
}
|
|
1641
1628
|
|
|
1642
|
-
// src/toolbar/index.tsx
|
|
1629
|
+
// packages/ui/src/toolbar/index.tsx
|
|
1643
1630
|
import { createComponent as _$createComponent16 } from "solid-js/web";
|
|
1644
1631
|
import { mergeProps as _$mergeProps12 } from "solid-js/web";
|
|
1645
1632
|
import { splitProps as splitProps12 } from "solid-js";
|
|
@@ -1674,7 +1661,7 @@ function Toolbar(props) {
|
|
|
1674
1661
|
}));
|
|
1675
1662
|
}
|
|
1676
1663
|
|
|
1677
|
-
// src/autocomplete/index.tsx
|
|
1664
|
+
// packages/ui/src/autocomplete/index.tsx
|
|
1678
1665
|
import { template as _$template16 } from "solid-js/web";
|
|
1679
1666
|
import { delegateEvents as _$delegateEvents5 } from "solid-js/web";
|
|
1680
1667
|
import { getNextMarker as _$getNextMarker8 } from "solid-js/web";
|
|
@@ -1688,7 +1675,7 @@ import { getNextElement as _$getNextElement16 } from "solid-js/web";
|
|
|
1688
1675
|
import { runHydrationEvents as _$runHydrationEvents8 } from "solid-js/web";
|
|
1689
1676
|
import { addEventListener as _$addEventListener3 } from "solid-js/web";
|
|
1690
1677
|
import { setProperty as _$setProperty } from "solid-js/web";
|
|
1691
|
-
import { effect as _$
|
|
1678
|
+
import { effect as _$effect14 } from "solid-js/web";
|
|
1692
1679
|
import { use as _$use2 } from "solid-js/web";
|
|
1693
1680
|
import { splitProps as splitProps13, createMemo as createMemo3, Show as Show12, For } from "solid-js";
|
|
1694
1681
|
import { Autocomplete, useAutocompleteInput, useAutocompleteCollection, useAutocompleteState } from "@proyecto-viviana/solidaria-components";
|
|
@@ -1733,7 +1720,7 @@ function AutocompleteInput(props) {
|
|
|
1733
1720
|
_el$.$$input = (e) => ctx.inputProps.onChange(e.currentTarget.value);
|
|
1734
1721
|
var _ref$ = ctx.inputRef;
|
|
1735
1722
|
typeof _ref$ === "function" ? _$use2(_ref$, _el$) : ctx.inputRef = _el$;
|
|
1736
|
-
_$
|
|
1723
|
+
_$effect14((_p$) => {
|
|
1737
1724
|
var _v$ = props.placeholder, _v$2 = props["aria-label"], _v$3 = props.isDisabled, _v$4 = ctx.inputProps["aria-activedescendant"](), _v$5 = ctx.inputProps["aria-controls"], _v$6 = ctx.inputProps["aria-autocomplete"], _v$7 = ctx.inputProps.autoComplete, _v$8 = ctx.inputProps.autoCorrect, _v$9 = ctx.inputProps.spellCheck !== "false", _v$0 = ["w-full rounded-md border border-bg-200 bg-bg-50", "focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500", "placeholder:text-text-400", "disabled:opacity-50 disabled:cursor-not-allowed", styles().input].join(" ");
|
|
1738
1725
|
_v$ !== _p$.e && _$setAttribute7(_el$, "placeholder", _p$.e = _v$);
|
|
1739
1726
|
_v$2 !== _p$.t && _$setAttribute7(_el$, "aria-label", _p$.t = _v$2);
|
|
@@ -1758,7 +1745,7 @@ function AutocompleteInput(props) {
|
|
|
1758
1745
|
r: void 0,
|
|
1759
1746
|
d: void 0
|
|
1760
1747
|
});
|
|
1761
|
-
_$
|
|
1748
|
+
_$effect14(() => _$setProperty(_el$, "value", ctx.inputProps.value()));
|
|
1762
1749
|
_$runHydrationEvents8();
|
|
1763
1750
|
return _el$;
|
|
1764
1751
|
})();
|
|
@@ -1808,7 +1795,7 @@ function AutocompleteList(props) {
|
|
|
1808
1795
|
var _c$ = _$memo11(() => !!props.renderItem);
|
|
1809
1796
|
return () => _c$() ? props.renderItem(item) : String(item[props.textKey] ?? item.name);
|
|
1810
1797
|
})());
|
|
1811
|
-
_$
|
|
1798
|
+
_$effect14((_p$) => {
|
|
1812
1799
|
var _v$12 = isFocused(), _v$13 = ["cursor-pointer transition-colors", isFocused() ? "bg-primary-100 text-primary-900" : "hover:bg-bg-100", styles().item].join(" ");
|
|
1813
1800
|
_v$12 !== _p$.e && _$setAttribute7(_el$3, "aria-selected", _p$.e = _v$12);
|
|
1814
1801
|
_v$13 !== _p$.t && _$className14(_el$3, _p$.t = _v$13);
|
|
@@ -1822,7 +1809,7 @@ function AutocompleteList(props) {
|
|
|
1822
1809
|
})();
|
|
1823
1810
|
}
|
|
1824
1811
|
}));
|
|
1825
|
-
_$
|
|
1812
|
+
_$effect14((_p$) => {
|
|
1826
1813
|
var _v$1 = ctx.collectionProps.id, _v$10 = ctx.collectionProps["aria-label"], _v$11 = ["mt-1 w-full rounded-md border border-bg-200 bg-bg-50 shadow-lg", "overflow-auto", styles().list].join(" ");
|
|
1827
1814
|
_v$1 !== _p$.e && _$setAttribute7(_el$2, "id", _p$.e = _v$1);
|
|
1828
1815
|
_v$10 !== _p$.t && _$setAttribute7(_el$2, "aria-label", _p$.t = _v$10);
|
|
@@ -1855,7 +1842,7 @@ function SearchAutocomplete(props) {
|
|
|
1855
1842
|
get children() {
|
|
1856
1843
|
var _el$5 = _$getNextElement16(_tmpl$49);
|
|
1857
1844
|
_$insert14(_el$5, () => local.label);
|
|
1858
|
-
_$
|
|
1845
|
+
_$effect14(() => _$className14(_el$5, ["block font-medium text-text-700", styles().label].join(" ")));
|
|
1859
1846
|
return _el$5;
|
|
1860
1847
|
}
|
|
1861
1848
|
}), _el$8, _co$);
|
|
@@ -1906,20 +1893,20 @@ function SearchAutocomplete(props) {
|
|
|
1906
1893
|
return _el$6;
|
|
1907
1894
|
}
|
|
1908
1895
|
}), _el$10, _co$3);
|
|
1909
|
-
_$
|
|
1896
|
+
_$effect14(() => _$className14(_el$4, ["vui-search-autocomplete relative", styles().container, local.class].filter(Boolean).join(" ")));
|
|
1910
1897
|
return _el$4;
|
|
1911
1898
|
})();
|
|
1912
1899
|
}
|
|
1913
1900
|
_$delegateEvents5(["input", "keydown", "click"]);
|
|
1914
1901
|
|
|
1915
|
-
// src/select/index.tsx
|
|
1902
|
+
// packages/ui/src/select/index.tsx
|
|
1916
1903
|
import { template as _$template17 } from "solid-js/web";
|
|
1917
1904
|
import { setAttribute as _$setAttribute8 } from "solid-js/web";
|
|
1918
1905
|
import { mergeProps as _$mergeProps14 } from "solid-js/web";
|
|
1919
1906
|
import { memo as _$memo12 } from "solid-js/web";
|
|
1920
1907
|
import { createComponent as _$createComponent18 } from "solid-js/web";
|
|
1921
1908
|
import { className as _$className15 } from "solid-js/web";
|
|
1922
|
-
import { effect as _$
|
|
1909
|
+
import { effect as _$effect15 } from "solid-js/web";
|
|
1923
1910
|
import { getNextElement as _$getNextElement17 } from "solid-js/web";
|
|
1924
1911
|
import { insert as _$insert15 } from "solid-js/web";
|
|
1925
1912
|
import { Show as Show13, splitProps as splitProps14, createContext as createContext3, useContext as useContext3 } from "solid-js";
|
|
@@ -1973,7 +1960,7 @@ function Select(props) {
|
|
|
1973
1960
|
get children() {
|
|
1974
1961
|
var _el$ = _$getNextElement17(_tmpl$19);
|
|
1975
1962
|
_$insert15(_el$, () => local.label);
|
|
1976
|
-
_$
|
|
1963
|
+
_$effect15(() => _$className15(_el$, `text-primary-200 font-medium ${sizeStyles12[size].label}`));
|
|
1977
1964
|
return _el$;
|
|
1978
1965
|
}
|
|
1979
1966
|
}), _$memo12(() => props.children), _$createComponent18(Show13, {
|
|
@@ -2109,14 +2096,14 @@ function SelectOption(props) {
|
|
|
2109
2096
|
function ChevronIcon(props) {
|
|
2110
2097
|
return (() => {
|
|
2111
2098
|
var _el$5 = _$getNextElement17(_tmpl$56);
|
|
2112
|
-
_$
|
|
2099
|
+
_$effect15(() => _$setAttribute8(_el$5, "class", props.class));
|
|
2113
2100
|
return _el$5;
|
|
2114
2101
|
})();
|
|
2115
2102
|
}
|
|
2116
2103
|
function CheckIcon2(props) {
|
|
2117
2104
|
return (() => {
|
|
2118
2105
|
var _el$6 = _$getNextElement17(_tmpl$65);
|
|
2119
|
-
_$
|
|
2106
|
+
_$effect15(() => _$setAttribute8(_el$6, "class", props.class));
|
|
2120
2107
|
return _el$6;
|
|
2121
2108
|
})();
|
|
2122
2109
|
}
|
|
@@ -2125,12 +2112,12 @@ Select.Value = SelectValue;
|
|
|
2125
2112
|
Select.ListBox = SelectListBox;
|
|
2126
2113
|
Select.Option = SelectOption;
|
|
2127
2114
|
|
|
2128
|
-
// src/menu/index.tsx
|
|
2115
|
+
// packages/ui/src/menu/index.tsx
|
|
2129
2116
|
import { template as _$template18 } from "solid-js/web";
|
|
2130
2117
|
import { setAttribute as _$setAttribute9 } from "solid-js/web";
|
|
2131
2118
|
import { memo as _$memo13 } from "solid-js/web";
|
|
2132
2119
|
import { className as _$className16 } from "solid-js/web";
|
|
2133
|
-
import { effect as _$
|
|
2120
|
+
import { effect as _$effect16 } from "solid-js/web";
|
|
2134
2121
|
import { getNextElement as _$getNextElement18 } from "solid-js/web";
|
|
2135
2122
|
import { insert as _$insert16 } from "solid-js/web";
|
|
2136
2123
|
import { createComponent as _$createComponent19 } from "solid-js/web";
|
|
@@ -2181,7 +2168,7 @@ function MenuTrigger(props) {
|
|
|
2181
2168
|
return props.children;
|
|
2182
2169
|
}
|
|
2183
2170
|
})));
|
|
2184
|
-
_$
|
|
2171
|
+
_$effect16(() => _$className16(_el$, `relative inline-block ${local.class ?? ""}`));
|
|
2185
2172
|
return _el$;
|
|
2186
2173
|
}
|
|
2187
2174
|
});
|
|
@@ -2267,7 +2254,7 @@ function MenuItem(props) {
|
|
|
2267
2254
|
return [_$memo13(() => _$memo13(() => !!local.icon)() && (() => {
|
|
2268
2255
|
var _el$3 = _$getNextElement18(_tmpl$312);
|
|
2269
2256
|
_$insert16(_el$3, () => local.icon());
|
|
2270
|
-
_$
|
|
2257
|
+
_$effect16(() => _$className16(_el$3, `shrink-0 ${sizeStyle.icon}`));
|
|
2271
2258
|
return _el$3;
|
|
2272
2259
|
})()), (() => {
|
|
2273
2260
|
var _el$2 = _$getNextElement18(_tmpl$216);
|
|
@@ -2284,14 +2271,14 @@ function MenuItem(props) {
|
|
|
2284
2271
|
function MenuSeparator(props) {
|
|
2285
2272
|
return (() => {
|
|
2286
2273
|
var _el$5 = _$getNextElement18(_tmpl$57);
|
|
2287
|
-
_$
|
|
2274
|
+
_$effect16(() => _$className16(_el$5, `my-1 border-t border-primary-600 ${props.class ?? ""}`));
|
|
2288
2275
|
return _el$5;
|
|
2289
2276
|
})();
|
|
2290
2277
|
}
|
|
2291
2278
|
function ChevronIcon2(props) {
|
|
2292
2279
|
return (() => {
|
|
2293
2280
|
var _el$6 = _$getNextElement18(_tmpl$66);
|
|
2294
|
-
_$
|
|
2281
|
+
_$effect16(() => _$setAttribute9(_el$6, "class", props.class));
|
|
2295
2282
|
return _el$6;
|
|
2296
2283
|
})();
|
|
2297
2284
|
}
|
|
@@ -2299,7 +2286,7 @@ Menu.Item = MenuItem;
|
|
|
2299
2286
|
Menu.Separator = MenuSeparator;
|
|
2300
2287
|
MenuTrigger.Button = MenuButton;
|
|
2301
2288
|
|
|
2302
|
-
// src/listbox/index.tsx
|
|
2289
|
+
// packages/ui/src/listbox/index.tsx
|
|
2303
2290
|
import { template as _$template19 } from "solid-js/web";
|
|
2304
2291
|
import { setAttribute as _$setAttribute10 } from "solid-js/web";
|
|
2305
2292
|
import { getNextMarker as _$getNextMarker9 } from "solid-js/web";
|
|
@@ -2307,7 +2294,7 @@ import { mergeProps as _$mergeProps16 } from "solid-js/web";
|
|
|
2307
2294
|
import { memo as _$memo14 } from "solid-js/web";
|
|
2308
2295
|
import { createComponent as _$createComponent20 } from "solid-js/web";
|
|
2309
2296
|
import { className as _$className17 } from "solid-js/web";
|
|
2310
|
-
import { effect as _$
|
|
2297
|
+
import { effect as _$effect17 } from "solid-js/web";
|
|
2311
2298
|
import { insert as _$insert17 } from "solid-js/web";
|
|
2312
2299
|
import { getNextElement as _$getNextElement19 } from "solid-js/web";
|
|
2313
2300
|
import { splitProps as splitProps16, createContext as createContext5, useContext as useContext5, Show as Show14 } from "solid-js";
|
|
@@ -2372,7 +2359,7 @@ function ListBox(props) {
|
|
|
2372
2359
|
get children() {
|
|
2373
2360
|
var _el$3 = _$getNextElement19(_tmpl$217);
|
|
2374
2361
|
_$insert17(_el$3, () => local.label);
|
|
2375
|
-
_$
|
|
2362
|
+
_$effect17(() => _$className17(_el$3, `text-primary-200 font-medium ${styles.label}`));
|
|
2376
2363
|
return _el$3;
|
|
2377
2364
|
}
|
|
2378
2365
|
}), _el$6, _co$);
|
|
@@ -2430,7 +2417,7 @@ function ListBoxOption(props) {
|
|
|
2430
2417
|
return [_$memo14(() => _$memo14(() => !!local.icon)() && (() => {
|
|
2431
2418
|
var _el$13 = _$getNextElement19(_tmpl$67);
|
|
2432
2419
|
_$insert17(_el$13, () => local.icon());
|
|
2433
|
-
_$
|
|
2420
|
+
_$effect17(() => _$className17(_el$13, `shrink-0 ${sizeStyle.icon}`));
|
|
2434
2421
|
return _el$13;
|
|
2435
2422
|
})()), _$createComponent20(CheckIcon3, {
|
|
2436
2423
|
get ["class"]() {
|
|
@@ -2444,7 +2431,7 @@ function ListBoxOption(props) {
|
|
|
2444
2431
|
return () => _c$() && (() => {
|
|
2445
2432
|
var _el$14 = _$getNextElement19(_tmpl$67);
|
|
2446
2433
|
_$insert17(_el$14, () => local.description);
|
|
2447
|
-
_$
|
|
2434
|
+
_$effect17(() => _$className17(_el$14, `text-primary-400 truncate ${sizeStyle.description}`));
|
|
2448
2435
|
return _el$14;
|
|
2449
2436
|
})();
|
|
2450
2437
|
})(), _el$12, _co$4);
|
|
@@ -2456,13 +2443,13 @@ function ListBoxOption(props) {
|
|
|
2456
2443
|
function CheckIcon3(props) {
|
|
2457
2444
|
return (() => {
|
|
2458
2445
|
var _el$15 = _$getNextElement19(_tmpl$73);
|
|
2459
|
-
_$
|
|
2446
|
+
_$effect17(() => _$setAttribute10(_el$15, "class", props.class));
|
|
2460
2447
|
return _el$15;
|
|
2461
2448
|
})();
|
|
2462
2449
|
}
|
|
2463
2450
|
ListBox.Option = ListBoxOption;
|
|
2464
2451
|
|
|
2465
|
-
// src/tabs/index.tsx
|
|
2452
|
+
// packages/ui/src/tabs/index.tsx
|
|
2466
2453
|
import { createComponent as _$createComponent21 } from "solid-js/web";
|
|
2467
2454
|
import { mergeProps as _$mergeProps17 } from "solid-js/web";
|
|
2468
2455
|
import { splitProps as splitProps17, createContext as createContext6, useContext as useContext6 } from "solid-js";
|
|
@@ -2610,10 +2597,10 @@ Tabs.List = TabList;
|
|
|
2610
2597
|
Tabs.Tab = Tab;
|
|
2611
2598
|
Tabs.Panel = TabPanel;
|
|
2612
2599
|
|
|
2613
|
-
// src/breadcrumbs/index.tsx
|
|
2600
|
+
// packages/ui/src/breadcrumbs/index.tsx
|
|
2614
2601
|
import { template as _$template20 } from "solid-js/web";
|
|
2615
2602
|
import { setAttribute as _$setAttribute11 } from "solid-js/web";
|
|
2616
|
-
import { effect as _$
|
|
2603
|
+
import { effect as _$effect18 } from "solid-js/web";
|
|
2617
2604
|
import { getNextElement as _$getNextElement20 } from "solid-js/web";
|
|
2618
2605
|
import { memo as _$memo15 } from "solid-js/web";
|
|
2619
2606
|
import { createComponent as _$createComponent22 } from "solid-js/web";
|
|
@@ -2718,13 +2705,13 @@ function BreadcrumbItem(props) {
|
|
|
2718
2705
|
function ChevronIcon3(props) {
|
|
2719
2706
|
return (() => {
|
|
2720
2707
|
var _el$ = _$getNextElement20(_tmpl$30);
|
|
2721
|
-
_$
|
|
2708
|
+
_$effect18(() => _$setAttribute11(_el$, "class", props.class));
|
|
2722
2709
|
return _el$;
|
|
2723
2710
|
})();
|
|
2724
2711
|
}
|
|
2725
2712
|
Breadcrumbs.Item = BreadcrumbItem;
|
|
2726
2713
|
|
|
2727
|
-
// src/numberfield/index.tsx
|
|
2714
|
+
// packages/ui/src/numberfield/index.tsx
|
|
2728
2715
|
import { template as _$template21 } from "solid-js/web";
|
|
2729
2716
|
import { className as _$className18 } from "solid-js/web";
|
|
2730
2717
|
import { use as _$use3 } from "solid-js/web";
|
|
@@ -2736,7 +2723,7 @@ import { spread as _$spread5 } from "solid-js/web";
|
|
|
2736
2723
|
import { mergeProps as _$mergeProps19 } from "solid-js/web";
|
|
2737
2724
|
import { memo as _$memo16 } from "solid-js/web";
|
|
2738
2725
|
import { setAttribute as _$setAttribute12 } from "solid-js/web";
|
|
2739
|
-
import { effect as _$
|
|
2726
|
+
import { effect as _$effect19 } from "solid-js/web";
|
|
2740
2727
|
import { getNextElement as _$getNextElement21 } from "solid-js/web";
|
|
2741
2728
|
import { splitProps as splitProps19, mergeProps as solidMergeProps5, Show as Show15 } from "solid-js";
|
|
2742
2729
|
import { createNumberField, createFocusRing as createFocusRing2, createPress, createHover } from "@proyecto-viviana/solidaria";
|
|
@@ -2774,14 +2761,14 @@ var sizeStyles17 = {
|
|
|
2774
2761
|
function PlusIcon(props) {
|
|
2775
2762
|
return (() => {
|
|
2776
2763
|
var _el$ = _$getNextElement21(_tmpl$31);
|
|
2777
|
-
_$
|
|
2764
|
+
_$effect19(() => _$setAttribute12(_el$, "class", props.class));
|
|
2778
2765
|
return _el$;
|
|
2779
2766
|
})();
|
|
2780
2767
|
}
|
|
2781
2768
|
function MinusIcon(props) {
|
|
2782
2769
|
return (() => {
|
|
2783
2770
|
var _el$2 = _$getNextElement21(_tmpl$218);
|
|
2784
|
-
_$
|
|
2771
|
+
_$effect19(() => _$setAttribute12(_el$2, "class", props.class));
|
|
2785
2772
|
return _el$2;
|
|
2786
2773
|
})();
|
|
2787
2774
|
}
|
|
@@ -3175,13 +3162,13 @@ function NumberField(props) {
|
|
|
3175
3162
|
return _el$17;
|
|
3176
3163
|
}
|
|
3177
3164
|
}), _el$23, _co$7);
|
|
3178
|
-
_$
|
|
3165
|
+
_$effect19(() => _$className18(_el$0, groupClasses()));
|
|
3179
3166
|
_$runHydrationEvents9();
|
|
3180
3167
|
return _el$3;
|
|
3181
3168
|
})();
|
|
3182
3169
|
}
|
|
3183
3170
|
|
|
3184
|
-
// src/searchfield/index.tsx
|
|
3171
|
+
// packages/ui/src/searchfield/index.tsx
|
|
3185
3172
|
import { template as _$template22 } from "solid-js/web";
|
|
3186
3173
|
import { className as _$className19 } from "solid-js/web";
|
|
3187
3174
|
import { use as _$use4 } from "solid-js/web";
|
|
@@ -3193,7 +3180,7 @@ import { createComponent as _$createComponent24 } from "solid-js/web";
|
|
|
3193
3180
|
import { spread as _$spread6 } from "solid-js/web";
|
|
3194
3181
|
import { mergeProps as _$mergeProps20 } from "solid-js/web";
|
|
3195
3182
|
import { setAttribute as _$setAttribute13 } from "solid-js/web";
|
|
3196
|
-
import { effect as _$
|
|
3183
|
+
import { effect as _$effect20 } from "solid-js/web";
|
|
3197
3184
|
import { getNextElement as _$getNextElement22 } from "solid-js/web";
|
|
3198
3185
|
import { splitProps as splitProps20, mergeProps as solidMergeProps6, Show as Show16 } from "solid-js";
|
|
3199
3186
|
import { createSearchField, createFocusRing as createFocusRing3, createPress as createPress2, createHover as createHover2 } from "@proyecto-viviana/solidaria";
|
|
@@ -3234,14 +3221,14 @@ var sizeStyles18 = {
|
|
|
3234
3221
|
function SearchIcon(props) {
|
|
3235
3222
|
return (() => {
|
|
3236
3223
|
var _el$ = _$getNextElement22(_tmpl$40);
|
|
3237
|
-
_$
|
|
3224
|
+
_$effect20(() => _$setAttribute13(_el$, "class", props.class));
|
|
3238
3225
|
return _el$;
|
|
3239
3226
|
})();
|
|
3240
3227
|
}
|
|
3241
3228
|
function ClearIcon(props) {
|
|
3242
3229
|
return (() => {
|
|
3243
3230
|
var _el$2 = _$getNextElement22(_tmpl$219);
|
|
3244
|
-
_$
|
|
3231
|
+
_$effect20(() => _$setAttribute13(_el$2, "class", props.class));
|
|
3245
3232
|
return _el$2;
|
|
3246
3233
|
})();
|
|
3247
3234
|
}
|
|
@@ -3591,7 +3578,7 @@ function SearchField(props) {
|
|
|
3591
3578
|
return _el$16;
|
|
3592
3579
|
}
|
|
3593
3580
|
}), _el$22, _co$7);
|
|
3594
|
-
_$
|
|
3581
|
+
_$effect20((_p$) => {
|
|
3595
3582
|
var _v$ = containerClasses(), _v$2 = isEmpty() || void 0, _v$3 = ariaProps.isDisabled || void 0, _v$4 = ariaProps.isInvalid || void 0, _v$5 = inputWrapperClasses();
|
|
3596
3583
|
_v$ !== _p$.e && _$className19(_el$3, _p$.e = _v$);
|
|
3597
3584
|
_v$2 !== _p$.t && _$setAttribute13(_el$3, "data-empty", _p$.t = _v$2);
|
|
@@ -3611,12 +3598,12 @@ function SearchField(props) {
|
|
|
3611
3598
|
})();
|
|
3612
3599
|
}
|
|
3613
3600
|
|
|
3614
|
-
// src/slider/index.tsx
|
|
3601
|
+
// packages/ui/src/slider/index.tsx
|
|
3615
3602
|
import { template as _$template23 } from "solid-js/web";
|
|
3616
3603
|
import { setStyleProperty as _$setStyleProperty2 } from "solid-js/web";
|
|
3617
3604
|
import { use as _$use5 } from "solid-js/web";
|
|
3618
3605
|
import { className as _$className20 } from "solid-js/web";
|
|
3619
|
-
import { effect as _$
|
|
3606
|
+
import { effect as _$effect21 } from "solid-js/web";
|
|
3620
3607
|
import { getNextMarker as _$getNextMarker12 } from "solid-js/web";
|
|
3621
3608
|
import { createComponent as _$createComponent25 } from "solid-js/web";
|
|
3622
3609
|
import { getNextElement as _$getNextElement23 } from "solid-js/web";
|
|
@@ -3890,7 +3877,7 @@ function Slider(props) {
|
|
|
3890
3877
|
return _el$4;
|
|
3891
3878
|
}
|
|
3892
3879
|
}), _el$8, _co$2);
|
|
3893
|
-
_$
|
|
3880
|
+
_$effect21(() => _$className20(_el$2, labelRowClasses()));
|
|
3894
3881
|
return _el$2;
|
|
3895
3882
|
}
|
|
3896
3883
|
}), _el$16, _co$3);
|
|
@@ -3935,7 +3922,7 @@ function Slider(props) {
|
|
|
3935
3922
|
var _el$11 = _$getNextElement23(_tmpl$415), _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling;
|
|
3936
3923
|
_$insert20(_el$12, () => state.minValue);
|
|
3937
3924
|
_$insert20(_el$13, () => state.maxValue);
|
|
3938
|
-
_$
|
|
3925
|
+
_$effect21((_p$) => {
|
|
3939
3926
|
var _v$ = minMaxClasses(), _v$2 = minMaxClasses();
|
|
3940
3927
|
_v$ !== _p$.e && _$className20(_el$12, _p$.e = _v$);
|
|
3941
3928
|
_v$2 !== _p$.t && _$className20(_el$13, _p$.t = _v$2);
|
|
@@ -3948,7 +3935,7 @@ function Slider(props) {
|
|
|
3948
3935
|
}
|
|
3949
3936
|
}), _el$18, _co$4);
|
|
3950
3937
|
_$spread7(_el$14, _$mergeProps21(() => sliderAria.inputProps), false, false);
|
|
3951
|
-
_$
|
|
3938
|
+
_$effect21((_p$) => {
|
|
3952
3939
|
var _v$3 = trackContainerClasses(), _v$4 = fillClasses(), _v$5 = `${percent()}%`;
|
|
3953
3940
|
_v$3 !== _p$.e && _$className20(_el$9, _p$.e = _v$3);
|
|
3954
3941
|
_v$4 !== _p$.t && _$className20(_el$1, _p$.t = _v$4);
|
|
@@ -3964,14 +3951,14 @@ function Slider(props) {
|
|
|
3964
3951
|
})();
|
|
3965
3952
|
}
|
|
3966
3953
|
|
|
3967
|
-
// src/combobox/index.tsx
|
|
3954
|
+
// packages/ui/src/combobox/index.tsx
|
|
3968
3955
|
import { template as _$template24 } from "solid-js/web";
|
|
3969
3956
|
import { setAttribute as _$setAttribute14 } from "solid-js/web";
|
|
3970
3957
|
import { mergeProps as _$mergeProps22 } from "solid-js/web";
|
|
3971
3958
|
import { memo as _$memo19 } from "solid-js/web";
|
|
3972
3959
|
import { createComponent as _$createComponent26 } from "solid-js/web";
|
|
3973
3960
|
import { className as _$className21 } from "solid-js/web";
|
|
3974
|
-
import { effect as _$
|
|
3961
|
+
import { effect as _$effect22 } from "solid-js/web";
|
|
3975
3962
|
import { getNextElement as _$getNextElement24 } from "solid-js/web";
|
|
3976
3963
|
import { insert as _$insert21 } from "solid-js/web";
|
|
3977
3964
|
import { splitProps as splitProps22, createContext as createContext8, useContext as useContext8, Show as Show18 } from "solid-js";
|
|
@@ -4032,7 +4019,7 @@ function ComboBox(props) {
|
|
|
4032
4019
|
get children() {
|
|
4033
4020
|
var _el$ = _$getNextElement24(_tmpl$50);
|
|
4034
4021
|
_$insert21(_el$, () => local.label);
|
|
4035
|
-
_$
|
|
4022
|
+
_$effect22(() => _$className21(_el$, `text-primary-200 font-medium ${sizeStyles20[size].label}`));
|
|
4036
4023
|
return _el$;
|
|
4037
4024
|
}
|
|
4038
4025
|
}), _$memo19(() => props.children), _$createComponent26(Show18, {
|
|
@@ -4065,7 +4052,7 @@ function ComboBoxInputGroup(props) {
|
|
|
4065
4052
|
return (() => {
|
|
4066
4053
|
var _el$4 = _$getNextElement24(_tmpl$416);
|
|
4067
4054
|
_$insert21(_el$4, () => props.children);
|
|
4068
|
-
_$
|
|
4055
|
+
_$effect22(() => _$className21(_el$4, `relative flex items-center ${styles().wrapper} ${props.class ?? ""}`));
|
|
4069
4056
|
return _el$4;
|
|
4070
4057
|
})();
|
|
4071
4058
|
}
|
|
@@ -4178,7 +4165,7 @@ function ComboBoxOption(props) {
|
|
|
4178
4165
|
}), (() => {
|
|
4179
4166
|
var _el$5 = _$getNextElement24(_tmpl$512);
|
|
4180
4167
|
_$insert21(_el$5, () => props.children);
|
|
4181
|
-
_$
|
|
4168
|
+
_$effect22(() => _$className21(_el$5, `flex-1 data-selected:pl-0 ${iconPadding[size]}`));
|
|
4182
4169
|
return _el$5;
|
|
4183
4170
|
})()];
|
|
4184
4171
|
}
|
|
@@ -4187,14 +4174,14 @@ function ComboBoxOption(props) {
|
|
|
4187
4174
|
function ChevronIcon4(props) {
|
|
4188
4175
|
return (() => {
|
|
4189
4176
|
var _el$6 = _$getNextElement24(_tmpl$610);
|
|
4190
|
-
_$
|
|
4177
|
+
_$effect22(() => _$setAttribute14(_el$6, "class", props.class));
|
|
4191
4178
|
return _el$6;
|
|
4192
4179
|
})();
|
|
4193
4180
|
}
|
|
4194
4181
|
function CheckIcon4(props) {
|
|
4195
4182
|
return (() => {
|
|
4196
4183
|
var _el$7 = _$getNextElement24(_tmpl$76);
|
|
4197
|
-
_$
|
|
4184
|
+
_$effect22(() => _$setAttribute14(_el$7, "class", props.class));
|
|
4198
4185
|
return _el$7;
|
|
4199
4186
|
})();
|
|
4200
4187
|
}
|
|
@@ -4204,14 +4191,14 @@ ComboBox.Button = ComboBoxButton;
|
|
|
4204
4191
|
ComboBox.ListBox = ComboBoxListBox;
|
|
4205
4192
|
ComboBox.Option = ComboBoxOption;
|
|
4206
4193
|
|
|
4207
|
-
// src/toast/index.tsx
|
|
4194
|
+
// packages/ui/src/toast/index.tsx
|
|
4208
4195
|
import { template as _$template25 } from "solid-js/web";
|
|
4209
4196
|
import { delegateEvents as _$delegateEvents6 } from "solid-js/web";
|
|
4210
4197
|
import { getNextMarker as _$getNextMarker13 } from "solid-js/web";
|
|
4211
4198
|
import { runHydrationEvents as _$runHydrationEvents12 } from "solid-js/web";
|
|
4212
4199
|
import { addEventListener as _$addEventListener4 } from "solid-js/web";
|
|
4213
4200
|
import { className as _$className22 } from "solid-js/web";
|
|
4214
|
-
import { effect as _$
|
|
4201
|
+
import { effect as _$effect23 } from "solid-js/web";
|
|
4215
4202
|
import { insert as _$insert22 } from "solid-js/web";
|
|
4216
4203
|
import { mergeProps as _$mergeProps23 } from "solid-js/web";
|
|
4217
4204
|
import { memo as _$memo20 } from "solid-js/web";
|
|
@@ -4311,7 +4298,7 @@ function Toast(props) {
|
|
|
4311
4298
|
return [(() => {
|
|
4312
4299
|
var _el$6 = _$getNextElement25(_tmpl$611);
|
|
4313
4300
|
_$insert22(_el$6, () => getVariantIcon(variant()));
|
|
4314
|
-
_$
|
|
4301
|
+
_$effect23(() => _$className22(_el$6, `flex-shrink-0 ${iconStyles[variant()]}`));
|
|
4315
4302
|
return _el$6;
|
|
4316
4303
|
})(), (() => {
|
|
4317
4304
|
var _el$7 = _$getNextElement25(_tmpl$0), _el$1 = _el$7.firstChild, [_el$10, _co$] = _$getNextMarker13(_el$1.nextSibling), _el$11 = _el$10.nextSibling, [_el$12, _co$2] = _$getNextMarker13(_el$11.nextSibling), _el$13 = _el$12.nextSibling, [_el$14, _co$3] = _$getNextMarker13(_el$13.nextSibling);
|
|
@@ -4402,10 +4389,10 @@ function toastInfo(message, options) {
|
|
|
4402
4389
|
}
|
|
4403
4390
|
_$delegateEvents6(["click"]);
|
|
4404
4391
|
|
|
4405
|
-
// src/disclosure/index.tsx
|
|
4392
|
+
// packages/ui/src/disclosure/index.tsx
|
|
4406
4393
|
import { template as _$template26 } from "solid-js/web";
|
|
4407
4394
|
import { setAttribute as _$setAttribute15 } from "solid-js/web";
|
|
4408
|
-
import { effect as _$
|
|
4395
|
+
import { effect as _$effect24 } from "solid-js/web";
|
|
4409
4396
|
import { getNextElement as _$getNextElement26 } from "solid-js/web";
|
|
4410
4397
|
import { memo as _$memo21 } from "solid-js/web";
|
|
4411
4398
|
import { createComponent as _$createComponent28 } from "solid-js/web";
|
|
@@ -4546,7 +4533,7 @@ function DisclosureTrigger(props) {
|
|
|
4546
4533
|
},
|
|
4547
4534
|
get children() {
|
|
4548
4535
|
var _el$ = _$getNextElement26(_tmpl$60);
|
|
4549
|
-
_$
|
|
4536
|
+
_$effect24(() => _$setAttribute15(_el$, "class", [
|
|
4550
4537
|
sizeStyles21[ctx.size].icon,
|
|
4551
4538
|
"transition-transform duration-200",
|
|
4552
4539
|
"group-data-[expanded=true]:rotate-180"
|
|
@@ -4578,12 +4565,12 @@ Disclosure.Trigger = DisclosureTrigger;
|
|
|
4578
4565
|
Disclosure.Panel = DisclosurePanel;
|
|
4579
4566
|
DisclosureGroup.Item = Disclosure;
|
|
4580
4567
|
|
|
4581
|
-
// src/meter/index.tsx
|
|
4568
|
+
// packages/ui/src/meter/index.tsx
|
|
4582
4569
|
import { template as _$template27 } from "solid-js/web";
|
|
4583
4570
|
import { setStyleProperty as _$setStyleProperty3 } from "solid-js/web";
|
|
4584
4571
|
import { runHydrationEvents as _$runHydrationEvents13 } from "solid-js/web";
|
|
4585
4572
|
import { className as _$className23 } from "solid-js/web";
|
|
4586
|
-
import { effect as _$
|
|
4573
|
+
import { effect as _$effect25 } from "solid-js/web";
|
|
4587
4574
|
import { getNextMarker as _$getNextMarker14 } from "solid-js/web";
|
|
4588
4575
|
import { createComponent as _$createComponent29 } from "solid-js/web";
|
|
4589
4576
|
import { getNextElement as _$getNextElement27 } from "solid-js/web";
|
|
@@ -4689,11 +4676,11 @@ function Meter(props) {
|
|
|
4689
4676
|
return _el$4;
|
|
4690
4677
|
}
|
|
4691
4678
|
}), _el$8, _co$2);
|
|
4692
|
-
_$
|
|
4679
|
+
_$effect25(() => _$className23(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
|
|
4693
4680
|
return _el$2;
|
|
4694
4681
|
}
|
|
4695
4682
|
}), _el$10, _co$3);
|
|
4696
|
-
_$
|
|
4683
|
+
_$effect25((_p$) => {
|
|
4697
4684
|
var _v$ = `w-full ${sizeConfig().track} bg-bg-300 rounded-full overflow-hidden`, _v$2 = `h-full rounded-full transition-all duration-300 ${variantStyles12[variant()]}`, _v$3 = `${percentage()}%`;
|
|
4698
4685
|
_v$ !== _p$.e && _$className23(_el$9, _p$.e = _v$);
|
|
4699
4686
|
_v$2 !== _p$.t && _$className23(_el$0, _p$.t = _v$2);
|
|
@@ -4709,7 +4696,7 @@ function Meter(props) {
|
|
|
4709
4696
|
})();
|
|
4710
4697
|
}
|
|
4711
4698
|
|
|
4712
|
-
// src/tag-group/index.tsx
|
|
4699
|
+
// packages/ui/src/tag-group/index.tsx
|
|
4713
4700
|
import { template as _$template28 } from "solid-js/web";
|
|
4714
4701
|
import { delegateEvents as _$delegateEvents7 } from "solid-js/web";
|
|
4715
4702
|
import { runHydrationEvents as _$runHydrationEvents14 } from "solid-js/web";
|
|
@@ -4717,7 +4704,7 @@ import { getNextMarker as _$getNextMarker15 } from "solid-js/web";
|
|
|
4717
4704
|
import { memo as _$memo23 } from "solid-js/web";
|
|
4718
4705
|
import { createComponent as _$createComponent30 } from "solid-js/web";
|
|
4719
4706
|
import { className as _$className24 } from "solid-js/web";
|
|
4720
|
-
import { effect as _$
|
|
4707
|
+
import { effect as _$effect26 } from "solid-js/web";
|
|
4721
4708
|
import { getNextElement as _$getNextElement28 } from "solid-js/web";
|
|
4722
4709
|
import { insert as _$insert24 } from "solid-js/web";
|
|
4723
4710
|
import { splitProps as splitProps26, Show as Show22 } from "solid-js";
|
|
@@ -4781,7 +4768,7 @@ function TagGroup(props) {
|
|
|
4781
4768
|
get children() {
|
|
4782
4769
|
var _el$2 = _$getNextElement28(_tmpl$70);
|
|
4783
4770
|
_$insert24(_el$2, () => local.label);
|
|
4784
|
-
_$
|
|
4771
|
+
_$effect26(() => _$className24(_el$2, `font-medium text-primary-200 ${sizeConfig().label}`));
|
|
4785
4772
|
return _el$2;
|
|
4786
4773
|
}
|
|
4787
4774
|
}), _el$4, _co$);
|
|
@@ -4841,7 +4828,7 @@ function TagGroup(props) {
|
|
|
4841
4828
|
e.stopPropagation();
|
|
4842
4829
|
local.onRemove?.(/* @__PURE__ */ new Set([getKey(item)]));
|
|
4843
4830
|
};
|
|
4844
|
-
_$
|
|
4831
|
+
_$effect26(() => _$className24(_el$9, `
|
|
4845
4832
|
${sizeConfig().removeButton}
|
|
4846
4833
|
rounded-full flex items-center justify-center
|
|
4847
4834
|
hover:bg-black/20 transition-colors
|
|
@@ -4853,13 +4840,13 @@ function TagGroup(props) {
|
|
|
4853
4840
|
})]
|
|
4854
4841
|
})
|
|
4855
4842
|
}), _el$6, _co$2);
|
|
4856
|
-
_$
|
|
4843
|
+
_$effect26(() => _$className24(_el$, `flex flex-col gap-2 ${local.class ?? ""}`));
|
|
4857
4844
|
return _el$;
|
|
4858
4845
|
})();
|
|
4859
4846
|
}
|
|
4860
4847
|
_$delegateEvents7(["click"]);
|
|
4861
4848
|
|
|
4862
|
-
// src/calendar/index.tsx
|
|
4849
|
+
// packages/ui/src/calendar/index.tsx
|
|
4863
4850
|
import { template as _$template29 } from "solid-js/web";
|
|
4864
4851
|
import { mergeProps as _$mergeProps26 } from "solid-js/web";
|
|
4865
4852
|
import { getNextMarker as _$getNextMarker16 } from "solid-js/web";
|
|
@@ -4991,7 +4978,7 @@ function Calendar(props) {
|
|
|
4991
4978
|
}));
|
|
4992
4979
|
}
|
|
4993
4980
|
|
|
4994
|
-
// src/calendar/RangeCalendar.tsx
|
|
4981
|
+
// packages/ui/src/calendar/RangeCalendar.tsx
|
|
4995
4982
|
import { template as _$template30 } from "solid-js/web";
|
|
4996
4983
|
import { mergeProps as _$mergeProps27 } from "solid-js/web";
|
|
4997
4984
|
import { getNextMarker as _$getNextMarker17 } from "solid-js/web";
|
|
@@ -5136,10 +5123,10 @@ function RangeCalendar(props) {
|
|
|
5136
5123
|
}));
|
|
5137
5124
|
}
|
|
5138
5125
|
|
|
5139
|
-
// src/calendar/DateField.tsx
|
|
5126
|
+
// packages/ui/src/calendar/DateField.tsx
|
|
5140
5127
|
import { template as _$template31 } from "solid-js/web";
|
|
5141
5128
|
import { className as _$className25 } from "solid-js/web";
|
|
5142
|
-
import { effect as _$
|
|
5129
|
+
import { effect as _$effect27 } from "solid-js/web";
|
|
5143
5130
|
import { getNextElement as _$getNextElement31 } from "solid-js/web";
|
|
5144
5131
|
import { getNextMarker as _$getNextMarker18 } from "solid-js/web";
|
|
5145
5132
|
import { insert as _$insert27 } from "solid-js/web";
|
|
@@ -5195,7 +5182,7 @@ function DateField(props) {
|
|
|
5195
5182
|
var _c$ = _$memo24(() => !!rest.isRequired);
|
|
5196
5183
|
return () => _c$() && _$getNextElement31(_tmpl$227);
|
|
5197
5184
|
})(), _el$5, _co$2);
|
|
5198
|
-
_$
|
|
5185
|
+
_$effect27(() => _$className25(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
|
|
5199
5186
|
return _el$;
|
|
5200
5187
|
})()), _$createComponent33(DateInput, {
|
|
5201
5188
|
"class": ({
|
|
@@ -5246,22 +5233,22 @@ function DateField(props) {
|
|
|
5246
5233
|
}), _$memo24(() => _$memo24(() => !!(local.description && !isInvalid()))() && (() => {
|
|
5247
5234
|
var _el$7 = _$getNextElement31(_tmpl$323);
|
|
5248
5235
|
_$insert27(_el$7, () => local.description);
|
|
5249
|
-
_$
|
|
5236
|
+
_$effect27(() => _$className25(_el$7, `text-primary-400 ${sizeConfig().label}`));
|
|
5250
5237
|
return _el$7;
|
|
5251
5238
|
})()), _$memo24(() => _$memo24(() => !!(isInvalid() && local.errorMessage))() && (() => {
|
|
5252
5239
|
var _el$8 = _$getNextElement31(_tmpl$323);
|
|
5253
5240
|
_$insert27(_el$8, () => local.errorMessage);
|
|
5254
|
-
_$
|
|
5241
|
+
_$effect27(() => _$className25(_el$8, `text-red-500 ${sizeConfig().label}`));
|
|
5255
5242
|
return _el$8;
|
|
5256
5243
|
})())];
|
|
5257
5244
|
}
|
|
5258
5245
|
}));
|
|
5259
5246
|
}
|
|
5260
5247
|
|
|
5261
|
-
// src/calendar/TimeField.tsx
|
|
5248
|
+
// packages/ui/src/calendar/TimeField.tsx
|
|
5262
5249
|
import { template as _$template32 } from "solid-js/web";
|
|
5263
5250
|
import { className as _$className26 } from "solid-js/web";
|
|
5264
|
-
import { effect as _$
|
|
5251
|
+
import { effect as _$effect28 } from "solid-js/web";
|
|
5265
5252
|
import { getNextElement as _$getNextElement32 } from "solid-js/web";
|
|
5266
5253
|
import { getNextMarker as _$getNextMarker19 } from "solid-js/web";
|
|
5267
5254
|
import { insert as _$insert28 } from "solid-js/web";
|
|
@@ -5317,7 +5304,7 @@ function TimeField(props) {
|
|
|
5317
5304
|
var _c$ = _$memo25(() => !!rest.isRequired);
|
|
5318
5305
|
return () => _c$() && _$getNextElement32(_tmpl$228);
|
|
5319
5306
|
})(), _el$5, _co$2);
|
|
5320
|
-
_$
|
|
5307
|
+
_$effect28(() => _$className26(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
|
|
5321
5308
|
return _el$;
|
|
5322
5309
|
})()), _$createComponent34(TimeInput, {
|
|
5323
5310
|
"class": ({
|
|
@@ -5368,24 +5355,24 @@ function TimeField(props) {
|
|
|
5368
5355
|
}), _$memo25(() => _$memo25(() => !!(local.description && !isInvalid()))() && (() => {
|
|
5369
5356
|
var _el$7 = _$getNextElement32(_tmpl$324);
|
|
5370
5357
|
_$insert28(_el$7, () => local.description);
|
|
5371
|
-
_$
|
|
5358
|
+
_$effect28(() => _$className26(_el$7, `text-primary-400 ${sizeConfig().label}`));
|
|
5372
5359
|
return _el$7;
|
|
5373
5360
|
})()), _$memo25(() => _$memo25(() => !!(isInvalid() && local.errorMessage))() && (() => {
|
|
5374
5361
|
var _el$8 = _$getNextElement32(_tmpl$324);
|
|
5375
5362
|
_$insert28(_el$8, () => local.errorMessage);
|
|
5376
|
-
_$
|
|
5363
|
+
_$effect28(() => _$className26(_el$8, `text-red-500 ${sizeConfig().label}`));
|
|
5377
5364
|
return _el$8;
|
|
5378
5365
|
})())];
|
|
5379
5366
|
}
|
|
5380
5367
|
}));
|
|
5381
5368
|
}
|
|
5382
5369
|
|
|
5383
|
-
// src/calendar/DatePicker.tsx
|
|
5370
|
+
// packages/ui/src/calendar/DatePicker.tsx
|
|
5384
5371
|
import { template as _$template33 } from "solid-js/web";
|
|
5385
5372
|
import { delegateEvents as _$delegateEvents8 } from "solid-js/web";
|
|
5386
5373
|
import { runHydrationEvents as _$runHydrationEvents15 } from "solid-js/web";
|
|
5387
5374
|
import { className as _$className27 } from "solid-js/web";
|
|
5388
|
-
import { effect as _$
|
|
5375
|
+
import { effect as _$effect29 } from "solid-js/web";
|
|
5389
5376
|
import { mergeProps as _$mergeProps30 } from "solid-js/web";
|
|
5390
5377
|
import { getNextMarker as _$getNextMarker20 } from "solid-js/web";
|
|
5391
5378
|
import { insert as _$insert29 } from "solid-js/web";
|
|
@@ -5451,7 +5438,7 @@ function DatePicker(props) {
|
|
|
5451
5438
|
var _c$ = _$memo26(() => !!rest.isRequired);
|
|
5452
5439
|
return () => _c$() && _$getNextElement33(_tmpl$420);
|
|
5453
5440
|
})(), _el$11, _co$5);
|
|
5454
|
-
_$
|
|
5441
|
+
_$effect29(() => _$className27(_el$9, `font-medium text-primary-200 ${sizeConfig().label}`));
|
|
5455
5442
|
return _el$9;
|
|
5456
5443
|
})()), (() => {
|
|
5457
5444
|
var _el$2 = _$getNextElement33(_tmpl$229), _el$3 = _el$2.firstChild, [_el$4, _co$] = _$getNextMarker20(_el$3.nextSibling), _el$5 = _el$4.nextSibling, [_el$6, _co$2] = _$getNextMarker20(_el$5.nextSibling), _el$7 = _el$6.nextSibling, [_el$8, _co$3] = _$getNextMarker20(_el$7.nextSibling);
|
|
@@ -5537,12 +5524,12 @@ function DatePicker(props) {
|
|
|
5537
5524
|
})(), _$memo26(() => _$memo26(() => !!(local.description && !isInvalid()))() && (() => {
|
|
5538
5525
|
var _el$13 = _$getNextElement33(_tmpl$514);
|
|
5539
5526
|
_$insert29(_el$13, () => local.description);
|
|
5540
|
-
_$
|
|
5527
|
+
_$effect29(() => _$className27(_el$13, `text-primary-400 ${sizeConfig().label}`));
|
|
5541
5528
|
return _el$13;
|
|
5542
5529
|
})()), _$memo26(() => _$memo26(() => !!(isInvalid() && local.errorMessage))() && (() => {
|
|
5543
5530
|
var _el$14 = _$getNextElement33(_tmpl$514);
|
|
5544
5531
|
_$insert29(_el$14, () => local.errorMessage);
|
|
5545
|
-
_$
|
|
5532
|
+
_$effect29(() => _$className27(_el$14, `text-red-500 ${sizeConfig().label}`));
|
|
5546
5533
|
return _el$14;
|
|
5547
5534
|
})())];
|
|
5548
5535
|
}
|
|
@@ -5584,12 +5571,12 @@ function DatePickerPopup(props) {
|
|
|
5584
5571
|
}
|
|
5585
5572
|
_$delegateEvents8(["click"]);
|
|
5586
5573
|
|
|
5587
|
-
// src/table/index.tsx
|
|
5574
|
+
// packages/ui/src/table/index.tsx
|
|
5588
5575
|
import { template as _$template34 } from "solid-js/web";
|
|
5589
5576
|
import { setAttribute as _$setAttribute16 } from "solid-js/web";
|
|
5590
5577
|
import { memo as _$memo27 } from "solid-js/web";
|
|
5591
5578
|
import { className as _$className28 } from "solid-js/web";
|
|
5592
|
-
import { effect as _$
|
|
5579
|
+
import { effect as _$effect30 } from "solid-js/web";
|
|
5593
5580
|
import { getNextMarker as _$getNextMarker21 } from "solid-js/web";
|
|
5594
5581
|
import { mergeProps as _$mergeProps31 } from "solid-js/web";
|
|
5595
5582
|
import { createComponent as _$createComponent36 } from "solid-js/web";
|
|
@@ -5713,7 +5700,7 @@ function Table(props) {
|
|
|
5713
5700
|
return props.children;
|
|
5714
5701
|
}
|
|
5715
5702
|
})));
|
|
5716
|
-
_$
|
|
5703
|
+
_$effect30(() => _$className28(_el$4, variantStyle().wrapper));
|
|
5717
5704
|
return _el$;
|
|
5718
5705
|
}
|
|
5719
5706
|
});
|
|
@@ -5864,7 +5851,7 @@ function TableSelectionCheckbox(props) {
|
|
|
5864
5851
|
return props.rowKey;
|
|
5865
5852
|
}
|
|
5866
5853
|
}));
|
|
5867
|
-
_$
|
|
5854
|
+
_$effect30(() => _$className28(_el$17, `${sizeStyle.cell} w-px`));
|
|
5868
5855
|
return _el$17;
|
|
5869
5856
|
})();
|
|
5870
5857
|
}
|
|
@@ -5876,7 +5863,7 @@ function TableSelectAllCheckbox() {
|
|
|
5876
5863
|
var _el$19 = _$getNextElement34(_tmpl$711), _el$20 = _el$19.firstChild;
|
|
5877
5864
|
_$className28(_el$20, checkboxClass);
|
|
5878
5865
|
_$insert30(_el$20, _$createComponent36(HeadlessTableSelectAllCheckbox, {}));
|
|
5879
|
-
_$
|
|
5866
|
+
_$effect30(() => _$className28(_el$19, `${sizeStyle.headerCell} w-px`));
|
|
5880
5867
|
return _el$19;
|
|
5881
5868
|
})();
|
|
5882
5869
|
}
|
|
@@ -5887,14 +5874,14 @@ function SortIcon(props) {
|
|
|
5887
5874
|
var _c$2 = _$memo27(() => props.direction === "ascending");
|
|
5888
5875
|
return () => _c$2() ? _$getNextElement34(_tmpl$93) : _$getNextElement34(_tmpl$02);
|
|
5889
5876
|
})());
|
|
5890
|
-
_$
|
|
5877
|
+
_$effect30(() => _$setAttribute16(_el$21, "class", props.class));
|
|
5891
5878
|
return _el$21;
|
|
5892
5879
|
})();
|
|
5893
5880
|
}
|
|
5894
5881
|
function EmptyIcon(props) {
|
|
5895
5882
|
return (() => {
|
|
5896
5883
|
var _el$24 = _$getNextElement34(_tmpl$1);
|
|
5897
|
-
_$
|
|
5884
|
+
_$effect30(() => _$setAttribute16(_el$24, "class", props.class));
|
|
5898
5885
|
return _el$24;
|
|
5899
5886
|
})();
|
|
5900
5887
|
}
|
|
@@ -5906,13 +5893,13 @@ Table.Cell = TableCell;
|
|
|
5906
5893
|
Table.SelectionCheckbox = TableSelectionCheckbox;
|
|
5907
5894
|
Table.SelectAllCheckbox = TableSelectAllCheckbox;
|
|
5908
5895
|
|
|
5909
|
-
// src/gridlist/index.tsx
|
|
5896
|
+
// packages/ui/src/gridlist/index.tsx
|
|
5910
5897
|
import { template as _$template35 } from "solid-js/web";
|
|
5911
5898
|
import { setAttribute as _$setAttribute17 } from "solid-js/web";
|
|
5912
5899
|
import { mergeProps as _$mergeProps32 } from "solid-js/web";
|
|
5913
5900
|
import { memo as _$memo28 } from "solid-js/web";
|
|
5914
5901
|
import { className as _$className29 } from "solid-js/web";
|
|
5915
|
-
import { effect as _$
|
|
5902
|
+
import { effect as _$effect31 } from "solid-js/web";
|
|
5916
5903
|
import { getNextElement as _$getNextElement35 } from "solid-js/web";
|
|
5917
5904
|
import { getNextMarker as _$getNextMarker22 } from "solid-js/web";
|
|
5918
5905
|
import { insert as _$insert31 } from "solid-js/web";
|
|
@@ -6036,7 +6023,7 @@ function GridList(props) {
|
|
|
6036
6023
|
get children() {
|
|
6037
6024
|
var _el$7 = _$getNextElement35(_tmpl$231);
|
|
6038
6025
|
_$insert31(_el$7, () => local.label);
|
|
6039
|
-
_$
|
|
6026
|
+
_$effect31(() => _$className29(_el$7, `text-primary-200 font-medium ${styles().label}`));
|
|
6040
6027
|
return _el$7;
|
|
6041
6028
|
}
|
|
6042
6029
|
}), _el$0, _co$2);
|
|
@@ -6094,7 +6081,7 @@ function GridListItem(props) {
|
|
|
6094
6081
|
},
|
|
6095
6082
|
get children() {
|
|
6096
6083
|
var _el$13 = _$getNextElement35(_tmpl$516);
|
|
6097
|
-
_$
|
|
6084
|
+
_$effect31((_p$) => {
|
|
6098
6085
|
var _v$ = local.image, _v$2 = local.imageAlt ?? "", _v$3 = `${sizeStyle.image} rounded object-cover shrink-0`;
|
|
6099
6086
|
_v$ !== _p$.e && _$setAttribute17(_el$13, "src", _p$.e = _v$);
|
|
6100
6087
|
_v$2 !== _p$.t && _$setAttribute17(_el$13, "alt", _p$.t = _v$2);
|
|
@@ -6114,7 +6101,7 @@ function GridListItem(props) {
|
|
|
6114
6101
|
get children() {
|
|
6115
6102
|
var _el$14 = _$getNextElement35(_tmpl$614);
|
|
6116
6103
|
_$insert31(_el$14, local.icon);
|
|
6117
|
-
_$
|
|
6104
|
+
_$effect31(() => _$className29(_el$14, `shrink-0 ${sizeStyle.icon}`));
|
|
6118
6105
|
return _el$14;
|
|
6119
6106
|
}
|
|
6120
6107
|
}), _$createComponent37(Show25, {
|
|
@@ -6141,7 +6128,7 @@ function GridListItem(props) {
|
|
|
6141
6128
|
get children() {
|
|
6142
6129
|
var _el$17 = _$getNextElement35(_tmpl$614);
|
|
6143
6130
|
_$insert31(_el$17, () => local.description);
|
|
6144
|
-
_$
|
|
6131
|
+
_$effect31(() => _$className29(_el$17, `text-primary-400 truncate ${sizeStyle.description}`));
|
|
6145
6132
|
return _el$17;
|
|
6146
6133
|
}
|
|
6147
6134
|
}), _el$19, _co$5);
|
|
@@ -6167,27 +6154,27 @@ function GridListSelectionCheckbox(props) {
|
|
|
6167
6154
|
function CheckIcon5(props) {
|
|
6168
6155
|
return (() => {
|
|
6169
6156
|
var _el$21 = _$getNextElement35(_tmpl$86);
|
|
6170
|
-
_$
|
|
6157
|
+
_$effect31(() => _$setAttribute17(_el$21, "class", props.class));
|
|
6171
6158
|
return _el$21;
|
|
6172
6159
|
})();
|
|
6173
6160
|
}
|
|
6174
6161
|
function EmptyIcon2(props) {
|
|
6175
6162
|
return (() => {
|
|
6176
6163
|
var _el$22 = _$getNextElement35(_tmpl$94);
|
|
6177
|
-
_$
|
|
6164
|
+
_$effect31(() => _$setAttribute17(_el$22, "class", props.class));
|
|
6178
6165
|
return _el$22;
|
|
6179
6166
|
})();
|
|
6180
6167
|
}
|
|
6181
6168
|
GridList.Item = GridListItem;
|
|
6182
6169
|
GridList.SelectionCheckbox = GridListSelectionCheckbox;
|
|
6183
6170
|
|
|
6184
|
-
// src/tree/index.tsx
|
|
6171
|
+
// packages/ui/src/tree/index.tsx
|
|
6185
6172
|
import { template as _$template36 } from "solid-js/web";
|
|
6186
6173
|
import { setAttribute as _$setAttribute18 } from "solid-js/web";
|
|
6187
6174
|
import { mergeProps as _$mergeProps33 } from "solid-js/web";
|
|
6188
6175
|
import { memo as _$memo29 } from "solid-js/web";
|
|
6189
6176
|
import { className as _$className30 } from "solid-js/web";
|
|
6190
|
-
import { effect as _$
|
|
6177
|
+
import { effect as _$effect32 } from "solid-js/web";
|
|
6191
6178
|
import { getNextElement as _$getNextElement36 } from "solid-js/web";
|
|
6192
6179
|
import { getNextMarker as _$getNextMarker23 } from "solid-js/web";
|
|
6193
6180
|
import { insert as _$insert32 } from "solid-js/web";
|
|
@@ -6305,7 +6292,7 @@ function Tree(props) {
|
|
|
6305
6292
|
get children() {
|
|
6306
6293
|
var _el$7 = _$getNextElement36(_tmpl$232);
|
|
6307
6294
|
_$insert32(_el$7, () => local.label);
|
|
6308
|
-
_$
|
|
6295
|
+
_$effect32(() => _$className30(_el$7, `text-primary-200 font-medium ${styles().label}`));
|
|
6309
6296
|
return _el$7;
|
|
6310
6297
|
}
|
|
6311
6298
|
}), _el$0, _co$2);
|
|
@@ -6372,7 +6359,7 @@ function TreeItem(props) {
|
|
|
6372
6359
|
get children() {
|
|
6373
6360
|
var _el$13 = _$getNextElement36(_tmpl$517);
|
|
6374
6361
|
_$insert32(_el$13, local.icon);
|
|
6375
|
-
_$
|
|
6362
|
+
_$effect32(() => _$className30(_el$13, `shrink-0 ${sizeStyle.icon}`));
|
|
6376
6363
|
return _el$13;
|
|
6377
6364
|
}
|
|
6378
6365
|
}), _$createComponent38(Show26, {
|
|
@@ -6406,7 +6393,7 @@ function TreeItem(props) {
|
|
|
6406
6393
|
get children() {
|
|
6407
6394
|
var _el$16 = _$getNextElement36(_tmpl$517);
|
|
6408
6395
|
_$insert32(_el$16, () => local.description);
|
|
6409
|
-
_$
|
|
6396
|
+
_$effect32(() => _$className30(_el$16, `text-primary-400 truncate ${sizeStyle.description}`));
|
|
6410
6397
|
return _el$16;
|
|
6411
6398
|
}
|
|
6412
6399
|
}), _el$18, _co$5);
|
|
@@ -6462,7 +6449,7 @@ function TreeSelectionCheckbox(props) {
|
|
|
6462
6449
|
function ChevronIcon5(props) {
|
|
6463
6450
|
return (() => {
|
|
6464
6451
|
var _el$20 = _$getNextElement36(_tmpl$713);
|
|
6465
|
-
_$
|
|
6452
|
+
_$effect32(() => _$setAttribute18(_el$20, "class", props.class));
|
|
6466
6453
|
return _el$20;
|
|
6467
6454
|
})();
|
|
6468
6455
|
}
|
|
@@ -6473,28 +6460,28 @@ function FolderIcon(props) {
|
|
|
6473
6460
|
var _c$2 = _$memo29(() => !!props.isOpen);
|
|
6474
6461
|
return () => _c$2() ? _$getNextElement36(_tmpl$95) : _$getNextElement36(_tmpl$03);
|
|
6475
6462
|
})());
|
|
6476
|
-
_$
|
|
6463
|
+
_$effect32(() => _$setAttribute18(_el$21, "class", props.class));
|
|
6477
6464
|
return _el$21;
|
|
6478
6465
|
})();
|
|
6479
6466
|
}
|
|
6480
6467
|
function FileIcon(props) {
|
|
6481
6468
|
return (() => {
|
|
6482
6469
|
var _el$24 = _$getNextElement36(_tmpl$110);
|
|
6483
|
-
_$
|
|
6470
|
+
_$effect32(() => _$setAttribute18(_el$24, "class", props.class));
|
|
6484
6471
|
return _el$24;
|
|
6485
6472
|
})();
|
|
6486
6473
|
}
|
|
6487
6474
|
function CheckIcon6(props) {
|
|
6488
6475
|
return (() => {
|
|
6489
6476
|
var _el$25 = _$getNextElement36(_tmpl$102);
|
|
6490
|
-
_$
|
|
6477
|
+
_$effect32(() => _$setAttribute18(_el$25, "class", props.class));
|
|
6491
6478
|
return _el$25;
|
|
6492
6479
|
})();
|
|
6493
6480
|
}
|
|
6494
6481
|
function EmptyTreeIcon(props) {
|
|
6495
6482
|
return (() => {
|
|
6496
6483
|
var _el$26 = _$getNextElement36(_tmpl$112);
|
|
6497
|
-
_$
|
|
6484
|
+
_$effect32(() => _$setAttribute18(_el$26, "class", props.class));
|
|
6498
6485
|
return _el$26;
|
|
6499
6486
|
})();
|
|
6500
6487
|
}
|
|
@@ -6502,14 +6489,14 @@ Tree.Item = TreeItem;
|
|
|
6502
6489
|
Tree.ExpandButton = TreeExpandButton;
|
|
6503
6490
|
Tree.SelectionCheckbox = TreeSelectionCheckbox;
|
|
6504
6491
|
|
|
6505
|
-
// src/color/index.tsx
|
|
6492
|
+
// packages/ui/src/color/index.tsx
|
|
6506
6493
|
import { template as _$template37 } from "solid-js/web";
|
|
6507
6494
|
import { delegateEvents as _$delegateEvents9 } from "solid-js/web";
|
|
6508
6495
|
import { runHydrationEvents as _$runHydrationEvents16 } from "solid-js/web";
|
|
6509
6496
|
import { memo as _$memo30 } from "solid-js/web";
|
|
6510
6497
|
import { getNextMarker as _$getNextMarker24 } from "solid-js/web";
|
|
6511
6498
|
import { className as _$className31 } from "solid-js/web";
|
|
6512
|
-
import { effect as _$
|
|
6499
|
+
import { effect as _$effect33 } from "solid-js/web";
|
|
6513
6500
|
import { getNextElement as _$getNextElement37 } from "solid-js/web";
|
|
6514
6501
|
import { insert as _$insert33 } from "solid-js/web";
|
|
6515
6502
|
import { createComponent as _$createComponent39 } from "solid-js/web";
|
|
@@ -6622,7 +6609,7 @@ function ColorSlider(props) {
|
|
|
6622
6609
|
get children() {
|
|
6623
6610
|
var _el$2 = _$getNextElement37(_tmpl$89);
|
|
6624
6611
|
_$insert33(_el$2, () => headlessProps.label);
|
|
6625
|
-
_$
|
|
6612
|
+
_$effect33(() => _$className31(_el$2, `text-primary-200 font-medium ${styles().slider.label}`));
|
|
6626
6613
|
return _el$2;
|
|
6627
6614
|
}
|
|
6628
6615
|
}), _el$5, _co$);
|
|
@@ -6633,7 +6620,7 @@ function ColorSlider(props) {
|
|
|
6633
6620
|
get children() {
|
|
6634
6621
|
var _el$3 = _$getNextElement37(_tmpl$89);
|
|
6635
6622
|
_$insert33(_el$3, () => Math.round(renderProps.value));
|
|
6636
|
-
_$
|
|
6623
|
+
_$effect33(() => _$className31(_el$3, `text-primary-400 ${styles().slider.label}`));
|
|
6637
6624
|
return _el$3;
|
|
6638
6625
|
}
|
|
6639
6626
|
}), _el$7, _co$2);
|
|
@@ -6808,7 +6795,7 @@ function ColorField(props) {
|
|
|
6808
6795
|
get children() {
|
|
6809
6796
|
var _el$8 = _$getNextElement37(_tmpl$89);
|
|
6810
6797
|
_$insert33(_el$8, () => headlessProps.label);
|
|
6811
|
-
_$
|
|
6798
|
+
_$effect33(() => _$className31(_el$8, `text-primary-200 font-medium ${styles().field.label}`));
|
|
6812
6799
|
return _el$8;
|
|
6813
6800
|
}
|
|
6814
6801
|
}), _$createComponent39(ColorFieldInput, {
|
|
@@ -6887,7 +6874,7 @@ function ColorPicker(props) {
|
|
|
6887
6874
|
get children() {
|
|
6888
6875
|
var _el$11 = _$getNextElement37(_tmpl$89);
|
|
6889
6876
|
_$insert33(_el$11, () => props.label);
|
|
6890
|
-
_$
|
|
6877
|
+
_$effect33(() => _$className31(_el$11, `text-primary-200 font-medium ${styles().field.label}`));
|
|
6891
6878
|
return _el$11;
|
|
6892
6879
|
}
|
|
6893
6880
|
}), _el$13, _co$3);
|
|
@@ -6983,7 +6970,7 @@ function ColorPicker(props) {
|
|
|
6983
6970
|
});
|
|
6984
6971
|
}
|
|
6985
6972
|
}), _el$19, _co$6);
|
|
6986
|
-
_$
|
|
6973
|
+
_$effect33(() => _$className31(_el$10, `flex flex-col gap-4 ${props.class ?? ""}`));
|
|
6987
6974
|
return _el$10;
|
|
6988
6975
|
})();
|
|
6989
6976
|
}
|
|
@@ -6996,7 +6983,7 @@ ColorWheel.Thumb = ColorWheelThumb;
|
|
|
6996
6983
|
ColorField.Input = ColorFieldInput;
|
|
6997
6984
|
_$delegateEvents9(["click"]);
|
|
6998
6985
|
|
|
6999
|
-
// src/landmark/index.tsx
|
|
6986
|
+
// packages/ui/src/landmark/index.tsx
|
|
7000
6987
|
import { template as _$template38 } from "solid-js/web";
|
|
7001
6988
|
import { delegateEvents as _$delegateEvents10 } from "solid-js/web";
|
|
7002
6989
|
import { runHydrationEvents as _$runHydrationEvents17 } from "solid-js/web";
|
|
@@ -7004,7 +6991,7 @@ import { setAttribute as _$setAttribute19 } from "solid-js/web";
|
|
|
7004
6991
|
import { mergeProps as _$mergeProps35 } from "solid-js/web";
|
|
7005
6992
|
import { memo as _$memo31 } from "solid-js/web";
|
|
7006
6993
|
import { className as _$className32 } from "solid-js/web";
|
|
7007
|
-
import { effect as _$
|
|
6994
|
+
import { effect as _$effect34 } from "solid-js/web";
|
|
7008
6995
|
import { createComponent as _$createComponent40 } from "solid-js/web";
|
|
7009
6996
|
import { getNextElement as _$getNextElement38 } from "solid-js/web";
|
|
7010
6997
|
import { getNextMarker as _$getNextMarker25 } from "solid-js/web";
|
|
@@ -7066,7 +7053,7 @@ function Landmark(props) {
|
|
|
7066
7053
|
return _el$2;
|
|
7067
7054
|
}
|
|
7068
7055
|
}), _el$9, _co$3);
|
|
7069
|
-
_$
|
|
7056
|
+
_$effect34(() => _$className32(_el$, `absolute -top-3 left-2 px-2 py-0.5 text-xs font-medium rounded ${roleColors[role()]} text-primary-200`));
|
|
7070
7057
|
return _el$;
|
|
7071
7058
|
}
|
|
7072
7059
|
}), _$memo31(() => props.children)];
|
|
@@ -7090,7 +7077,7 @@ function SkipLink(props) {
|
|
|
7090
7077
|
var _el$0 = _$getNextElement38(_tmpl$330);
|
|
7091
7078
|
_$className32(_el$0, className);
|
|
7092
7079
|
_$insert34(_el$0, () => props.children ?? "Skip to main content");
|
|
7093
|
-
_$
|
|
7080
|
+
_$effect34(() => _$setAttribute19(_el$0, "href", props.href));
|
|
7094
7081
|
return _el$0;
|
|
7095
7082
|
})();
|
|
7096
7083
|
}
|
|
@@ -7105,7 +7092,7 @@ function LandmarkNavigator(props) {
|
|
|
7105
7092
|
_el$12.$$click = () => controller.focusPrevious();
|
|
7106
7093
|
_el$13.$$click = () => controller.focusMain();
|
|
7107
7094
|
_el$14.$$click = () => controller.focusNext();
|
|
7108
|
-
_$
|
|
7095
|
+
_$effect34(() => _$className32(_el$1, `fixed bottom-4 right-4 z-50 flex flex-col gap-2 p-3 bg-bg-400 border border-bg-300 rounded-lg shadow-lg ${props.class ?? ""}`));
|
|
7109
7096
|
_$runHydrationEvents17();
|
|
7110
7097
|
return _el$1;
|
|
7111
7098
|
}
|
|
@@ -7113,11 +7100,11 @@ function LandmarkNavigator(props) {
|
|
|
7113
7100
|
}
|
|
7114
7101
|
_$delegateEvents10(["click"]);
|
|
7115
7102
|
|
|
7116
|
-
// src/custom/chip/index.tsx
|
|
7103
|
+
// packages/ui/src/custom/chip/index.tsx
|
|
7117
7104
|
import { template as _$template39 } from "solid-js/web";
|
|
7118
7105
|
import { delegateEvents as _$delegateEvents11 } from "solid-js/web";
|
|
7119
7106
|
import { className as _$className33 } from "solid-js/web";
|
|
7120
|
-
import { effect as _$
|
|
7107
|
+
import { effect as _$effect35 } from "solid-js/web";
|
|
7121
7108
|
import { runHydrationEvents as _$runHydrationEvents18 } from "solid-js/web";
|
|
7122
7109
|
import { getNextMarker as _$getNextMarker26 } from "solid-js/web";
|
|
7123
7110
|
import { createComponent as _$createComponent41 } from "solid-js/web";
|
|
@@ -7155,14 +7142,14 @@ function Chip(props) {
|
|
|
7155
7142
|
}
|
|
7156
7143
|
}), _el$5, _co$);
|
|
7157
7144
|
_$insert35(_el$3, () => props.text);
|
|
7158
|
-
_$
|
|
7145
|
+
_$effect35(() => _$className33(_el$, `flex justify-center items-center h-6 w-auto rounded-full px-4 py-1 font-medium text-sm tracking-wide transition-colors ${variantStyles17[variant()]} ${props.class ?? ""}`));
|
|
7159
7146
|
_$runHydrationEvents18();
|
|
7160
7147
|
return _el$;
|
|
7161
7148
|
})();
|
|
7162
7149
|
}
|
|
7163
7150
|
_$delegateEvents11(["click"]);
|
|
7164
7151
|
|
|
7165
|
-
// src/custom/nav-header/index.tsx
|
|
7152
|
+
// packages/ui/src/custom/nav-header/index.tsx
|
|
7166
7153
|
import { template as _$template40 } from "solid-js/web";
|
|
7167
7154
|
import { delegateEvents as _$delegateEvents12 } from "solid-js/web";
|
|
7168
7155
|
import { className as _$className34 } from "solid-js/web";
|
|
@@ -7172,7 +7159,7 @@ import { addEventListener as _$addEventListener6 } from "solid-js/web";
|
|
|
7172
7159
|
import { insert as _$insert36 } from "solid-js/web";
|
|
7173
7160
|
import { createComponent as _$createComponent42 } from "solid-js/web";
|
|
7174
7161
|
import { setAttribute as _$setAttribute20 } from "solid-js/web";
|
|
7175
|
-
import { effect as _$
|
|
7162
|
+
import { effect as _$effect36 } from "solid-js/web";
|
|
7176
7163
|
import { getNextElement as _$getNextElement40 } from "solid-js/web";
|
|
7177
7164
|
import { Show as Show30 } from "solid-js";
|
|
7178
7165
|
var _tmpl$96 = /* @__PURE__ */ _$template40(`<img class="h-[42px] w-auto">`);
|
|
@@ -7200,7 +7187,7 @@ function NavHeader(props) {
|
|
|
7200
7187
|
},
|
|
7201
7188
|
get children() {
|
|
7202
7189
|
var _el$3 = _$getNextElement40(_tmpl$96);
|
|
7203
|
-
_$
|
|
7190
|
+
_$effect36((_p$) => {
|
|
7204
7191
|
var _v$ = props.logo, _v$2 = props.logoAlt ?? "Logo";
|
|
7205
7192
|
_v$ !== _p$.e && _$setAttribute20(_el$3, "src", _p$.e = _v$);
|
|
7206
7193
|
_v$2 !== _p$.t && _$setAttribute20(_el$3, "alt", _p$.t = _v$2);
|
|
@@ -7225,28 +7212,28 @@ function NavHeader(props) {
|
|
|
7225
7212
|
return _el$5;
|
|
7226
7213
|
}
|
|
7227
7214
|
}), _el$9, _co$2);
|
|
7228
|
-
_$
|
|
7215
|
+
_$effect36(() => _$className34(_el$, `flex items-center bg-bg-400 h-[70px] border-b-4 border-accent-500 ${props.class ?? ""}`));
|
|
7229
7216
|
return _el$;
|
|
7230
7217
|
})();
|
|
7231
7218
|
}
|
|
7232
7219
|
_$delegateEvents12(["click"]);
|
|
7233
7220
|
|
|
7234
|
-
// src/custom/header/index.tsx
|
|
7221
|
+
// packages/ui/src/custom/header/index.tsx
|
|
7235
7222
|
import { template as _$template42 } from "solid-js/web";
|
|
7236
7223
|
import { createComponent as _$createComponent43 } from "solid-js/web";
|
|
7237
7224
|
import { mergeProps as _$mergeProps36 } from "solid-js/web";
|
|
7238
7225
|
import { className as _$className36 } from "solid-js/web";
|
|
7239
|
-
import { effect as _$
|
|
7226
|
+
import { effect as _$effect38 } from "solid-js/web";
|
|
7240
7227
|
import { getNextElement as _$getNextElement42 } from "solid-js/web";
|
|
7241
7228
|
import { getNextMarker as _$getNextMarker28 } from "solid-js/web";
|
|
7242
7229
|
import { insert as _$insert38 } from "solid-js/web";
|
|
7243
7230
|
import { memo as _$memo32 } from "solid-js/web";
|
|
7244
7231
|
|
|
7245
|
-
// src/custom/logo/index.tsx
|
|
7232
|
+
// packages/ui/src/custom/logo/index.tsx
|
|
7246
7233
|
import { template as _$template41 } from "solid-js/web";
|
|
7247
7234
|
import { setAttribute as _$setAttribute21 } from "solid-js/web";
|
|
7248
7235
|
import { className as _$className35 } from "solid-js/web";
|
|
7249
|
-
import { effect as _$
|
|
7236
|
+
import { effect as _$effect37 } from "solid-js/web";
|
|
7250
7237
|
import { getNextElement as _$getNextElement41 } from "solid-js/web";
|
|
7251
7238
|
import { insert as _$insert37 } from "solid-js/web";
|
|
7252
7239
|
var _tmpl$97 = /* @__PURE__ */ _$template41(`<span><span class=vui-logo__first></span><span class=vui-logo__second>`);
|
|
@@ -7270,7 +7257,7 @@ function Logo(props) {
|
|
|
7270
7257
|
var _el$ = _$getNextElement41(_tmpl$97), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
|
|
7271
7258
|
_$insert37(_el$2, firstWord);
|
|
7272
7259
|
_$insert37(_el$3, secondWord);
|
|
7273
|
-
_$
|
|
7260
|
+
_$effect37((_p$) => {
|
|
7274
7261
|
var _v$ = `vui-logo ${sizeClass()} ${props.inverted ? "vui-logo--inverted" : ""} ${props.class ?? ""}`, _v$2 = props.inverted ? firstWord() : void 0, _v$3 = props.inverted ? void 0 : secondWord();
|
|
7275
7262
|
_v$ !== _p$.e && _$className35(_el$, _p$.e = _v$);
|
|
7276
7263
|
_v$2 !== _p$.t && _$setAttribute21(_el$2, "data-text", _p$.t = _v$2);
|
|
@@ -7285,7 +7272,7 @@ function Logo(props) {
|
|
|
7285
7272
|
})();
|
|
7286
7273
|
}
|
|
7287
7274
|
|
|
7288
|
-
// src/custom/header/index.tsx
|
|
7275
|
+
// packages/ui/src/custom/header/index.tsx
|
|
7289
7276
|
var _tmpl$98 = /* @__PURE__ */ _$template42(`<header><div class=vui-header__container><div class="flex items-center gap-3"><!$><!/><!$><!/></div><nav class=vui-header__nav>`);
|
|
7290
7277
|
function Header(props) {
|
|
7291
7278
|
const showTextLogo = () => props.logo !== void 0 || props.logoProps !== null;
|
|
@@ -7299,17 +7286,17 @@ function Header(props) {
|
|
|
7299
7286
|
}, () => props.logoProps ?? {})));
|
|
7300
7287
|
})(), _el$7, _co$2);
|
|
7301
7288
|
_$insert38(_el$8, () => props.children);
|
|
7302
|
-
_$
|
|
7289
|
+
_$effect38(() => _$className36(_el$, `vui-header ${props.class ?? ""}`));
|
|
7303
7290
|
return _el$;
|
|
7304
7291
|
})();
|
|
7305
7292
|
}
|
|
7306
7293
|
|
|
7307
|
-
// src/custom/lateral-nav/index.tsx
|
|
7294
|
+
// packages/ui/src/custom/lateral-nav/index.tsx
|
|
7308
7295
|
import { template as _$template43 } from "solid-js/web";
|
|
7309
7296
|
import { createComponent as _$createComponent44 } from "solid-js/web";
|
|
7310
7297
|
import { setAttribute as _$setAttribute22 } from "solid-js/web";
|
|
7311
7298
|
import { className as _$className37 } from "solid-js/web";
|
|
7312
|
-
import { effect as _$
|
|
7299
|
+
import { effect as _$effect39 } from "solid-js/web";
|
|
7313
7300
|
import { getNextElement as _$getNextElement43 } from "solid-js/web";
|
|
7314
7301
|
import { getNextMarker as _$getNextMarker29 } from "solid-js/web";
|
|
7315
7302
|
import { insert as _$insert39 } from "solid-js/web";
|
|
@@ -7324,7 +7311,7 @@ function NavItem(props) {
|
|
|
7324
7311
|
var _el$ = _$getNextElement43(_tmpl$99), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, [_el$4, _co$] = _$getNextMarker29(_el$3.nextSibling);
|
|
7325
7312
|
_$insert39(_el$2, () => props.title);
|
|
7326
7313
|
_$insert39(_el$, () => props.children, _el$4, _co$);
|
|
7327
|
-
_$
|
|
7314
|
+
_$effect39(() => _$className37(_el$, `flex items-center ${props.class ?? ""}`));
|
|
7328
7315
|
return _el$;
|
|
7329
7316
|
})();
|
|
7330
7317
|
}
|
|
@@ -7334,7 +7321,7 @@ function NavLink(props) {
|
|
|
7334
7321
|
return (() => {
|
|
7335
7322
|
var _el$5 = _$getNextElement43(_tmpl$237);
|
|
7336
7323
|
_$insert39(_el$5, () => props.children);
|
|
7337
|
-
_$
|
|
7324
|
+
_$effect39((_p$) => {
|
|
7338
7325
|
var _v$ = props.href, _v$2 = `${props.active ? activeStyles : inactiveStyles} ${props.class ?? ""}`;
|
|
7339
7326
|
_v$ !== _p$.e && _$setAttribute22(_el$5, "href", _p$.e = _v$);
|
|
7340
7327
|
_v$2 !== _p$.t && _$className37(_el$5, _p$.t = _v$2);
|
|
@@ -7382,7 +7369,7 @@ function NavSection(props) {
|
|
|
7382
7369
|
}
|
|
7383
7370
|
}), _el$1, _co$2);
|
|
7384
7371
|
_$insert39(_el$9, () => props.children, _el$11, _co$3);
|
|
7385
|
-
_$
|
|
7372
|
+
_$effect39(() => _$className37(_el$6, props.class ?? ""));
|
|
7386
7373
|
return _el$6;
|
|
7387
7374
|
})();
|
|
7388
7375
|
}
|
|
@@ -7391,15 +7378,15 @@ function LateralNav(props) {
|
|
|
7391
7378
|
return (() => {
|
|
7392
7379
|
var _el$15 = _$getNextElement43(_tmpl$519);
|
|
7393
7380
|
_$insert39(_el$15, () => props.children);
|
|
7394
|
-
_$
|
|
7381
|
+
_$effect39(() => _$className37(_el$15, `hidden w-[300px] md:block ${bgColor()} m-0 border-r border-primary-600 p-3 ${props.class ?? ""}`));
|
|
7395
7382
|
return _el$15;
|
|
7396
7383
|
})();
|
|
7397
7384
|
}
|
|
7398
7385
|
|
|
7399
|
-
// src/custom/timeline-item/index.tsx
|
|
7386
|
+
// packages/ui/src/custom/timeline-item/index.tsx
|
|
7400
7387
|
import { template as _$template44 } from "solid-js/web";
|
|
7401
7388
|
import { className as _$className38 } from "solid-js/web";
|
|
7402
|
-
import { effect as _$
|
|
7389
|
+
import { effect as _$effect40 } from "solid-js/web";
|
|
7403
7390
|
import { getNextMarker as _$getNextMarker30 } from "solid-js/web";
|
|
7404
7391
|
import { createComponent as _$createComponent45 } from "solid-js/web";
|
|
7405
7392
|
import { getNextElement as _$getNextElement44 } from "solid-js/web";
|
|
@@ -7513,16 +7500,16 @@ function TimelineItem(props) {
|
|
|
7513
7500
|
return renderMessage();
|
|
7514
7501
|
}
|
|
7515
7502
|
}));
|
|
7516
|
-
_$
|
|
7503
|
+
_$effect40(() => _$className38(_el$9, `inline-flex w-auto flex-col gap-5 rounded-2xl border border-primary-700 bg-bg-200 p-5 hover:bg-bg-300 transition-colors ${props.class ?? ""}`));
|
|
7517
7504
|
return _el$9;
|
|
7518
7505
|
})();
|
|
7519
7506
|
}
|
|
7520
7507
|
|
|
7521
|
-
// src/custom/conversation/index.tsx
|
|
7508
|
+
// packages/ui/src/custom/conversation/index.tsx
|
|
7522
7509
|
import { template as _$template45 } from "solid-js/web";
|
|
7523
7510
|
import { delegateEvents as _$delegateEvents13 } from "solid-js/web";
|
|
7524
7511
|
import { className as _$className39 } from "solid-js/web";
|
|
7525
|
-
import { effect as _$
|
|
7512
|
+
import { effect as _$effect41 } from "solid-js/web";
|
|
7526
7513
|
import { runHydrationEvents as _$runHydrationEvents20 } from "solid-js/web";
|
|
7527
7514
|
import { memo as _$memo33 } from "solid-js/web";
|
|
7528
7515
|
import { getNextMarker as _$getNextMarker31 } from "solid-js/web";
|
|
@@ -7585,7 +7572,7 @@ function ConversationPreview(props) {
|
|
|
7585
7572
|
return _el$1;
|
|
7586
7573
|
}
|
|
7587
7574
|
}), _el$13, _co$4);
|
|
7588
|
-
_$
|
|
7575
|
+
_$effect41(() => _$className39(_el$, `flex w-full items-center gap-3 rounded-xl p-3 hover:bg-bg-300 transition-colors text-left ${props.class ?? ""}`));
|
|
7589
7576
|
_$runHydrationEvents20();
|
|
7590
7577
|
return _el$;
|
|
7591
7578
|
})();
|
|
@@ -7602,11 +7589,11 @@ function ConversationBubble(props) {
|
|
|
7602
7589
|
get children() {
|
|
7603
7590
|
var _el$17 = _$getNextElement45(_tmpl$520);
|
|
7604
7591
|
_$insert41(_el$17, () => props.timestamp);
|
|
7605
|
-
_$
|
|
7592
|
+
_$effect41(() => _$className39(_el$17, `text-xs ${isUser() ? "text-white/70" : "text-primary-500"}`));
|
|
7606
7593
|
return _el$17;
|
|
7607
7594
|
}
|
|
7608
7595
|
}), _el$19, _co$5);
|
|
7609
|
-
_$
|
|
7596
|
+
_$effect41((_p$) => {
|
|
7610
7597
|
var _v$ = `flex ${isUser() ? "justify-end" : "justify-start"} ${props.class ?? ""}`, _v$2 = `max-w-[70%] rounded-2xl px-4 py-2 ${isUser() ? "bg-accent text-white rounded-br-sm" : "bg-bg-300 text-primary-100 rounded-bl-sm"}`;
|
|
7611
7598
|
_v$ !== _p$.e && _$className39(_el$14, _p$.e = _v$);
|
|
7612
7599
|
_v$2 !== _p$.t && _$className39(_el$15, _p$.t = _v$2);
|
|
@@ -7637,16 +7624,16 @@ function Conversation(props) {
|
|
|
7637
7624
|
}
|
|
7638
7625
|
})
|
|
7639
7626
|
}));
|
|
7640
|
-
_$
|
|
7627
|
+
_$effect41(() => _$className39(_el$20, `flex flex-col gap-2 p-4 ${props.class ?? ""}`));
|
|
7641
7628
|
return _el$20;
|
|
7642
7629
|
})();
|
|
7643
7630
|
}
|
|
7644
7631
|
_$delegateEvents13(["click"]);
|
|
7645
7632
|
|
|
7646
|
-
// src/custom/profile-card/index.tsx
|
|
7633
|
+
// packages/ui/src/custom/profile-card/index.tsx
|
|
7647
7634
|
import { template as _$template46 } from "solid-js/web";
|
|
7648
7635
|
import { className as _$className40 } from "solid-js/web";
|
|
7649
|
-
import { effect as _$
|
|
7636
|
+
import { effect as _$effect42 } from "solid-js/web";
|
|
7650
7637
|
import { memo as _$memo34 } from "solid-js/web";
|
|
7651
7638
|
import { getNextMarker as _$getNextMarker32 } from "solid-js/web";
|
|
7652
7639
|
import { getNextElement as _$getNextElement46 } from "solid-js/web";
|
|
@@ -7719,12 +7706,12 @@ function ProfileCard(props) {
|
|
|
7719
7706
|
return _el$17;
|
|
7720
7707
|
}
|
|
7721
7708
|
}), _el$19, _co$5);
|
|
7722
|
-
_$
|
|
7709
|
+
_$effect42(() => _$className40(_el$, `bg-bg-200 rounded-xl p-4 ${props.class ?? ""}`));
|
|
7723
7710
|
return _el$;
|
|
7724
7711
|
})();
|
|
7725
7712
|
}
|
|
7726
7713
|
|
|
7727
|
-
// src/custom/event-card/index.tsx
|
|
7714
|
+
// packages/ui/src/custom/event-card/index.tsx
|
|
7728
7715
|
import { template as _$template47 } from "solid-js/web";
|
|
7729
7716
|
import { delegateEvents as _$delegateEvents14 } from "solid-js/web";
|
|
7730
7717
|
import { runHydrationEvents as _$runHydrationEvents21 } from "solid-js/web";
|
|
@@ -7735,7 +7722,7 @@ import { memo as _$memo35 } from "solid-js/web";
|
|
|
7735
7722
|
import { insert as _$insert43 } from "solid-js/web";
|
|
7736
7723
|
import { createComponent as _$createComponent48 } from "solid-js/web";
|
|
7737
7724
|
import { setAttribute as _$setAttribute23 } from "solid-js/web";
|
|
7738
|
-
import { effect as _$
|
|
7725
|
+
import { effect as _$effect43 } from "solid-js/web";
|
|
7739
7726
|
import { getNextElement as _$getNextElement47 } from "solid-js/web";
|
|
7740
7727
|
import { Show as Show35, For as For5 } from "solid-js";
|
|
7741
7728
|
var _tmpl$104 = /* @__PURE__ */ _$template47(`<div class="absolute -top-2 -right-2 z-10 flex flex-col gap-1"><img alt class="w-8 h-8 object-contain"><img alt class="w-6 h-6 object-contain ml-2"><img alt class="w-5 h-5 object-contain">`);
|
|
@@ -7765,7 +7752,7 @@ function EventCard(props) {
|
|
|
7765
7752
|
},
|
|
7766
7753
|
get children() {
|
|
7767
7754
|
var _el$2 = _$getNextElement47(_tmpl$104), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling;
|
|
7768
|
-
_$
|
|
7755
|
+
_$effect43((_p$) => {
|
|
7769
7756
|
var _v$ = props.decorationImage, _v$2 = props.decorationImage, _v$3 = props.decorationImage;
|
|
7770
7757
|
_v$ !== _p$.e && _$setAttribute23(_el$3, "src", _p$.e = _v$);
|
|
7771
7758
|
_v$2 !== _p$.t && _$setAttribute23(_el$4, "src", _p$.t = _v$2);
|
|
@@ -7785,7 +7772,7 @@ function EventCard(props) {
|
|
|
7785
7772
|
},
|
|
7786
7773
|
get children() {
|
|
7787
7774
|
var _el$6 = _$getNextElement47(_tmpl$241), _el$7 = _el$6.firstChild;
|
|
7788
|
-
_$
|
|
7775
|
+
_$effect43((_p$) => {
|
|
7789
7776
|
var _v$4 = props.image, _v$5 = props.title;
|
|
7790
7777
|
_v$4 !== _p$.e && _$setAttribute23(_el$7, "src", _p$.e = _v$4);
|
|
7791
7778
|
_v$5 !== _p$.t && _$setAttribute23(_el$7, "alt", _p$.t = _v$5);
|
|
@@ -7873,7 +7860,7 @@ function EventCard(props) {
|
|
|
7873
7860
|
return _el$28;
|
|
7874
7861
|
}
|
|
7875
7862
|
}), _el$34, _co$7);
|
|
7876
|
-
_$
|
|
7863
|
+
_$effect43(() => _$className41(_el$, `relative bg-bg-200 rounded-3xl overflow-hidden ${props.class ?? ""}`));
|
|
7877
7864
|
return _el$;
|
|
7878
7865
|
})();
|
|
7879
7866
|
}
|
|
@@ -7887,7 +7874,7 @@ function EventListItem(props) {
|
|
|
7887
7874
|
},
|
|
7888
7875
|
get children() {
|
|
7889
7876
|
var _el$40 = _$getNextElement47(_tmpl$04), _el$41 = _el$40.firstChild;
|
|
7890
|
-
_$
|
|
7877
|
+
_$effect43((_p$) => {
|
|
7891
7878
|
var _v$6 = props.image, _v$7 = props.title;
|
|
7892
7879
|
_v$6 !== _p$.e && _$setAttribute23(_el$41, "src", _p$.e = _v$6);
|
|
7893
7880
|
_v$7 !== _p$.t && _$setAttribute23(_el$41, "alt", _p$.t = _v$7);
|
|
@@ -7910,14 +7897,14 @@ function EventListItem(props) {
|
|
|
7910
7897
|
return _el$44;
|
|
7911
7898
|
}
|
|
7912
7899
|
}), _el$46, _co$0);
|
|
7913
|
-
_$
|
|
7900
|
+
_$effect43(() => _$className41(_el$39, `flex items-center gap-3 w-full p-2 rounded-lg hover:bg-bg-300 transition-colors text-left ${props.class ?? ""}`));
|
|
7914
7901
|
_$runHydrationEvents21();
|
|
7915
7902
|
return _el$39;
|
|
7916
7903
|
})();
|
|
7917
7904
|
}
|
|
7918
7905
|
_$delegateEvents14(["click"]);
|
|
7919
7906
|
|
|
7920
|
-
// src/custom/calendar-card/index.tsx
|
|
7907
|
+
// packages/ui/src/custom/calendar-card/index.tsx
|
|
7921
7908
|
import { template as _$template48 } from "solid-js/web";
|
|
7922
7909
|
import { className as _$className42 } from "solid-js/web";
|
|
7923
7910
|
import { getNextMarker as _$getNextMarker34 } from "solid-js/web";
|
|
@@ -7925,7 +7912,7 @@ import { insert as _$insert44 } from "solid-js/web";
|
|
|
7925
7912
|
import { memo as _$memo36 } from "solid-js/web";
|
|
7926
7913
|
import { createComponent as _$createComponent49 } from "solid-js/web";
|
|
7927
7914
|
import { setAttribute as _$setAttribute24 } from "solid-js/web";
|
|
7928
|
-
import { effect as _$
|
|
7915
|
+
import { effect as _$effect44 } from "solid-js/web";
|
|
7929
7916
|
import { getNextElement as _$getNextElement48 } from "solid-js/web";
|
|
7930
7917
|
import { Show as Show36, For as For6 } from "solid-js";
|
|
7931
7918
|
var _tmpl$106 = /* @__PURE__ */ _$template48(`<div class="relative h-[80px] w-[80px] flex-shrink-0 overflow-hidden rounded-xl border-2 border-accent-200"><img class="h-full w-full object-cover">`);
|
|
@@ -7949,7 +7936,7 @@ function CalendarCard(props) {
|
|
|
7949
7936
|
},
|
|
7950
7937
|
get children() {
|
|
7951
7938
|
var _el$2 = _$getNextElement48(_tmpl$106), _el$3 = _el$2.firstChild;
|
|
7952
|
-
_$
|
|
7939
|
+
_$effect44((_p$) => {
|
|
7953
7940
|
var _v$ = props.image, _v$2 = props.title;
|
|
7954
7941
|
_v$ !== _p$.e && _$setAttribute24(_el$3, "src", _p$.e = _v$);
|
|
7955
7942
|
_v$2 !== _p$.t && _$setAttribute24(_el$3, "alt", _p$.t = _v$2);
|
|
@@ -8011,16 +7998,16 @@ function CalendarCard(props) {
|
|
|
8011
7998
|
return _el$0;
|
|
8012
7999
|
}
|
|
8013
8000
|
}), _el$21, _co$4);
|
|
8014
|
-
_$
|
|
8001
|
+
_$effect44(() => _$className42(_el$, `flex h-[100px] w-full max-w-[500px] items-center rounded-xl border border-primary-600 border-b-accent-500 bg-bg-300 p-2 ${props.class ?? ""}`));
|
|
8015
8002
|
return _el$;
|
|
8016
8003
|
})();
|
|
8017
8004
|
}
|
|
8018
8005
|
|
|
8019
|
-
// src/custom/project-card/index.tsx
|
|
8006
|
+
// packages/ui/src/custom/project-card/index.tsx
|
|
8020
8007
|
import { template as _$template49 } from "solid-js/web";
|
|
8021
8008
|
import { className as _$className43 } from "solid-js/web";
|
|
8022
8009
|
import { setAttribute as _$setAttribute25 } from "solid-js/web";
|
|
8023
|
-
import { effect as _$
|
|
8010
|
+
import { effect as _$effect45 } from "solid-js/web";
|
|
8024
8011
|
import { getNextElement as _$getNextElement49 } from "solid-js/web";
|
|
8025
8012
|
import { insert as _$insert45 } from "solid-js/web";
|
|
8026
8013
|
var _tmpl$107 = /* @__PURE__ */ _$template49(`<div class=vui-project-card__tooltip><span>`);
|
|
@@ -8036,7 +8023,7 @@ function ProjectCard(props) {
|
|
|
8036
8023
|
return _el$;
|
|
8037
8024
|
})(), (() => {
|
|
8038
8025
|
var _el$3 = _$getNextElement49(_tmpl$243);
|
|
8039
|
-
_$
|
|
8026
|
+
_$effect45((_p$) => {
|
|
8040
8027
|
var _v$ = props.imageSrc, _v$2 = props.imageAlt ?? props.name;
|
|
8041
8028
|
_v$ !== _p$.e && _$setAttribute25(_el$3, "src", _p$.e = _v$);
|
|
8042
8029
|
_v$2 !== _p$.t && _$setAttribute25(_el$3, "alt", _p$.t = _v$2);
|
|
@@ -8052,7 +8039,7 @@ function ProjectCard(props) {
|
|
|
8052
8039
|
return (() => {
|
|
8053
8040
|
var _el$4 = _$getNextElement49(_tmpl$337);
|
|
8054
8041
|
_$insert45(_el$4, cardContent);
|
|
8055
|
-
_$
|
|
8042
|
+
_$effect45((_p$) => {
|
|
8056
8043
|
var _v$3 = props.href, _v$4 = cardClasses();
|
|
8057
8044
|
_v$3 !== _p$.e && _$setAttribute25(_el$4, "href", _p$.e = _v$3);
|
|
8058
8045
|
_v$4 !== _p$.t && _$className43(_el$4, _p$.t = _v$4);
|
|
@@ -8067,12 +8054,12 @@ function ProjectCard(props) {
|
|
|
8067
8054
|
return (() => {
|
|
8068
8055
|
var _el$5 = _$getNextElement49(_tmpl$432);
|
|
8069
8056
|
_$insert45(_el$5, cardContent);
|
|
8070
|
-
_$
|
|
8057
|
+
_$effect45(() => _$className43(_el$5, cardClasses()));
|
|
8071
8058
|
return _el$5;
|
|
8072
8059
|
})();
|
|
8073
8060
|
}
|
|
8074
8061
|
|
|
8075
|
-
// src/custom/page-layout/index.tsx
|
|
8062
|
+
// packages/ui/src/custom/page-layout/index.tsx
|
|
8076
8063
|
import { template as _$template50 } from "solid-js/web";
|
|
8077
8064
|
import { getNextElement as _$getNextElement50 } from "solid-js/web";
|
|
8078
8065
|
import { runHydrationEvents as _$runHydrationEvents22 } from "solid-js/web";
|