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