@proyecto-viviana/ui 0.2.5 → 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.
Files changed (71) hide show
  1. package/dist/index.js +210 -557
  2. package/dist/index.js.map +7 -1
  3. package/dist/index.ssr.js +42 -399
  4. package/dist/index.ssr.js.map +7 -1
  5. package/dist/radio/index.d.ts +27 -12
  6. package/dist/radio/index.d.ts.map +1 -1
  7. package/package.json +11 -12
  8. package/src/alert/index.tsx +0 -48
  9. package/src/assets/favicon.png +0 -0
  10. package/src/assets/fire.gif +0 -0
  11. package/src/autocomplete/index.tsx +0 -313
  12. package/src/avatar/index.tsx +0 -75
  13. package/src/badge/index.tsx +0 -43
  14. package/src/breadcrumbs/index.tsx +0 -207
  15. package/src/button/Button.tsx +0 -74
  16. package/src/button/index.ts +0 -2
  17. package/src/button/types.ts +0 -24
  18. package/src/calendar/DateField.tsx +0 -200
  19. package/src/calendar/DatePicker.tsx +0 -298
  20. package/src/calendar/RangeCalendar.tsx +0 -236
  21. package/src/calendar/TimeField.tsx +0 -196
  22. package/src/calendar/index.tsx +0 -223
  23. package/src/checkbox/index.tsx +0 -257
  24. package/src/color/index.tsx +0 -687
  25. package/src/combobox/index.tsx +0 -383
  26. package/src/components.css +0 -1077
  27. package/src/custom/calendar-card/index.tsx +0 -66
  28. package/src/custom/chip/index.tsx +0 -46
  29. package/src/custom/conversation/index.tsx +0 -105
  30. package/src/custom/event-card/index.tsx +0 -132
  31. package/src/custom/header/index.tsx +0 -33
  32. package/src/custom/lateral-nav/index.tsx +0 -88
  33. package/src/custom/logo/index.tsx +0 -58
  34. package/src/custom/nav-header/index.tsx +0 -42
  35. package/src/custom/page-layout/index.tsx +0 -29
  36. package/src/custom/profile-card/index.tsx +0 -64
  37. package/src/custom/project-card/index.tsx +0 -59
  38. package/src/custom/timeline-item/index.tsx +0 -105
  39. package/src/dialog/Dialog.tsx +0 -260
  40. package/src/dialog/index.tsx +0 -3
  41. package/src/disclosure/index.tsx +0 -307
  42. package/src/gridlist/index.tsx +0 -403
  43. package/src/icon/icons/GitHubIcon.tsx +0 -20
  44. package/src/icon/index.tsx +0 -48
  45. package/src/index.ts +0 -322
  46. package/src/landmark/index.tsx +0 -231
  47. package/src/link/index.tsx +0 -130
  48. package/src/listbox/index.tsx +0 -231
  49. package/src/menu/index.tsx +0 -297
  50. package/src/meter/index.tsx +0 -163
  51. package/src/numberfield/index.tsx +0 -482
  52. package/src/popover/index.tsx +0 -260
  53. package/src/progress-bar/index.tsx +0 -169
  54. package/src/radio/index.tsx +0 -173
  55. package/src/searchfield/index.tsx +0 -453
  56. package/src/select/index.tsx +0 -349
  57. package/src/separator/index.tsx +0 -141
  58. package/src/slider/index.tsx +0 -382
  59. package/src/styles.css +0 -450
  60. package/src/switch/ToggleSwitch.tsx +0 -112
  61. package/src/switch/index.tsx +0 -90
  62. package/src/table/index.tsx +0 -531
  63. package/src/tabs/index.tsx +0 -273
  64. package/src/tag-group/index.tsx +0 -240
  65. package/src/test-utils/index.ts +0 -32
  66. package/src/textfield/index.tsx +0 -211
  67. package/src/theme.css +0 -101
  68. package/src/toast/index.tsx +0 -324
  69. package/src/toolbar/index.tsx +0 -108
  70. package/src/tooltip/index.tsx +0 -197
  71. 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(headlessProps, {
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 [local, headlessProps] = splitProps4(props, ["class"]);
636
- const sizeFromContext = useContext(RadioSizeContext);
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 = "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(" ");
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
- 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
- }
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 _$effect7 } from "solid-js/web";
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
- _$effect7(() => _$className8(_el$12, `flex gap-3 justify-end mt-6 pt-4 border-t border-primary-700 ${props.class ?? ""}`));
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 _$effect9 } from "solid-js/web";
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 _$effect8 } from "solid-js/web";
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
- _$effect8((_p$) => {
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
- _$effect9(() => _$className9(_el$, `vui-icon ${props.withShadow ? "vui-icon--with-shadow" : ""} ${props.class ?? ""}`));
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 _$effect10 } from "solid-js/web";
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
- _$effect10(() => _$className10(_el$, ["absolute w-0 h-0 border-4", arrowStyles[renderProps.placement ?? placement()], getArrowBorderColor(variant())].join(" ")));
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
- _$effect10((_p$) => {
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 _$effect11 } from "solid-js/web";
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
- _$effect11(() => _$setAttribute5(_el$, "class", `${arrowBaseStyles} ${getArrowRotation(props.placement)} ${props.class ?? ""}`));
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
- _$effect11(() => _$className11(_el$2, `mb-3 ${props.class ?? ""}`));
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
- _$effect11(() => _$className11(_el$7, `flex gap-2 justify-end mt-4 pt-3 border-t border-primary-700 ${props.class ?? ""}`));
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 _$effect12 } from "solid-js/web";
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";
@@ -1147,370 +1160,7 @@ import { spread as _$spread2 } from "solid-js/web";
1147
1160
  import { mergeProps as _$mergeProps8 } from "solid-js/web";
1148
1161
  import { splitProps as splitProps8, mergeProps as solidMergeProps4, Show as Show9 } from "solid-js";
1149
1162
  import { createTextField, createFocusRing } from "@proyecto-viviana/solidaria";
1150
-
1151
- // ../solid-stately/src/utils/reactivity.ts
1152
- function access(value) {
1153
- return typeof value === "function" ? value() : value;
1154
- }
1155
-
1156
- // ../solid-stately/src/textfield/createTextFieldState.ts
1157
- import { createSignal as createSignal3 } from "solid-js";
1158
- function createTextFieldState(props = {}) {
1159
- const getProps = () => access(props);
1160
- const initialProps = getProps();
1161
- const initialValue = initialProps.value ?? initialProps.defaultValue ?? "";
1162
- const [internalValue, setInternalValue] = createSignal3(initialValue);
1163
- const isControlled = () => getProps().value !== void 0;
1164
- const value = () => {
1165
- const p = getProps();
1166
- return isControlled() ? p.value ?? "" : internalValue();
1167
- };
1168
- function setValue(newValue) {
1169
- const p = getProps();
1170
- if (!isControlled()) {
1171
- setInternalValue(newValue);
1172
- }
1173
- p.onChange?.(newValue);
1174
- }
1175
- return {
1176
- value,
1177
- setValue
1178
- };
1179
- }
1180
-
1181
- // ../solid-stately/src/numberfield/createNumberFieldState.ts
1182
- import { createSignal as createSignal4, createMemo } from "solid-js";
1183
- function handleDecimalOperation(operator, value1, value2) {
1184
- const getDecimals = (n) => {
1185
- const str = String(n);
1186
- const idx = str.indexOf(".");
1187
- return idx === -1 ? 0 : str.length - idx - 1;
1188
- };
1189
- const decimals = Math.max(getDecimals(value1), getDecimals(value2));
1190
- const multiplier = Math.pow(10, decimals);
1191
- const int1 = Math.round(value1 * multiplier);
1192
- const int2 = Math.round(value2 * multiplier);
1193
- const result = operator === "+" ? int1 + int2 : int1 - int2;
1194
- return result / multiplier;
1195
- }
1196
- function clamp(value, min, max) {
1197
- let result = value;
1198
- if (min != null && result < min) result = min;
1199
- if (max != null && result > max) result = max;
1200
- return result;
1201
- }
1202
- function snapToStep(value, step, min) {
1203
- const base = min ?? 0;
1204
- const diff = value - base;
1205
- const steps = Math.round(diff / step);
1206
- return handleDecimalOperation("+", base, steps * step);
1207
- }
1208
- function createNumberFieldState(props) {
1209
- const getProps = () => access(props);
1210
- const locale = () => getProps().locale ?? "en-US";
1211
- const formatOptions = () => getProps().formatOptions ?? {};
1212
- const formatter = createMemo(() => {
1213
- return new Intl.NumberFormat(locale(), formatOptions());
1214
- });
1215
- const parseNumber = (value) => {
1216
- if (!value || value === "" || value === "-") return NaN;
1217
- const opts = formatOptions();
1218
- const testNumber = formatter().format(1.1);
1219
- const decimalSeparator = testNumber.charAt(1);
1220
- let normalized = value;
1221
- if (decimalSeparator !== ".") {
1222
- normalized = normalized.replace(decimalSeparator, ".");
1223
- }
1224
- normalized = normalized.replace(/[^\d.\-]/g, "");
1225
- const parsed = parseFloat(normalized);
1226
- return parsed;
1227
- };
1228
- const formatNumber = (value) => {
1229
- if (isNaN(value)) return "";
1230
- return formatter().format(value);
1231
- };
1232
- const step = createMemo(() => {
1233
- const p = getProps();
1234
- if (p.step != null) return p.step;
1235
- if (p.formatOptions?.style === "percent") return 0.01;
1236
- return 1;
1237
- });
1238
- const [inputValue, setInputValueInternal] = createSignal4("");
1239
- const [numberValue, setNumberValue] = createSignal4(NaN);
1240
- const initValue = () => {
1241
- const p = getProps();
1242
- const initial = p.value ?? p.defaultValue;
1243
- if (initial != null) {
1244
- setNumberValue(initial);
1245
- setInputValueInternal(formatNumber(initial));
1246
- }
1247
- };
1248
- let initialized = false;
1249
- const ensureInitialized = () => {
1250
- if (!initialized) {
1251
- initialized = true;
1252
- initValue();
1253
- }
1254
- };
1255
- const actualNumberValue = createMemo(() => {
1256
- ensureInitialized();
1257
- const p = getProps();
1258
- if (p.value !== void 0) {
1259
- return p.value;
1260
- }
1261
- return numberValue();
1262
- });
1263
- const validate = (value) => {
1264
- if (value === "" || value === "-") return true;
1265
- const opts = formatOptions();
1266
- const testNumber = formatter().format(1.1);
1267
- const decimalSeparator = testNumber.charAt(1);
1268
- const pattern = new RegExp(
1269
- `^-?\\d*${decimalSeparator === "." ? "\\." : decimalSeparator}?\\d*$`
1270
- );
1271
- return pattern.test(value);
1272
- };
1273
- const setInputValue = (value) => {
1274
- ensureInitialized();
1275
- setInputValueInternal(value);
1276
- };
1277
- const commit = () => {
1278
- ensureInitialized();
1279
- const p = getProps();
1280
- const input = inputValue();
1281
- if (input === "" || input === "-") {
1282
- setNumberValue(NaN);
1283
- setInputValueInternal("");
1284
- return;
1285
- }
1286
- let parsed = parseNumber(input);
1287
- if (isNaN(parsed)) {
1288
- setInputValueInternal(formatNumber(actualNumberValue()));
1289
- return;
1290
- }
1291
- parsed = clamp(parsed, p.minValue, p.maxValue);
1292
- parsed = snapToStep(parsed, step(), p.minValue);
1293
- setNumberValue(parsed);
1294
- setInputValueInternal(formatNumber(parsed));
1295
- if (p.value === void 0) {
1296
- p.onChange?.(parsed);
1297
- } else {
1298
- p.onChange?.(parsed);
1299
- }
1300
- };
1301
- const canIncrement = createMemo(() => {
1302
- ensureInitialized();
1303
- const p = getProps();
1304
- if (p.isDisabled || p.isReadOnly) return false;
1305
- const current = actualNumberValue();
1306
- if (isNaN(current)) return true;
1307
- if (p.maxValue == null) return true;
1308
- return handleDecimalOperation("+", current, step()) <= p.maxValue;
1309
- });
1310
- const canDecrement = createMemo(() => {
1311
- ensureInitialized();
1312
- const p = getProps();
1313
- if (p.isDisabled || p.isReadOnly) return false;
1314
- const current = actualNumberValue();
1315
- if (isNaN(current)) return true;
1316
- if (p.minValue == null) return true;
1317
- return handleDecimalOperation("-", current, step()) >= p.minValue;
1318
- });
1319
- const increment = () => {
1320
- ensureInitialized();
1321
- const p = getProps();
1322
- if (p.isDisabled || p.isReadOnly) return;
1323
- let current = actualNumberValue();
1324
- if (isNaN(current)) {
1325
- current = p.minValue ?? 0;
1326
- } else {
1327
- current = snapToStep(current, step(), p.minValue);
1328
- current = handleDecimalOperation("+", current, step());
1329
- }
1330
- current = clamp(current, p.minValue, p.maxValue);
1331
- setNumberValue(current);
1332
- setInputValueInternal(formatNumber(current));
1333
- p.onChange?.(current);
1334
- };
1335
- const decrement = () => {
1336
- ensureInitialized();
1337
- const p = getProps();
1338
- if (p.isDisabled || p.isReadOnly) return;
1339
- let current = actualNumberValue();
1340
- if (isNaN(current)) {
1341
- current = p.maxValue ?? 0;
1342
- } else {
1343
- current = snapToStep(current, step(), p.minValue);
1344
- current = handleDecimalOperation("-", current, step());
1345
- }
1346
- current = clamp(current, p.minValue, p.maxValue);
1347
- setNumberValue(current);
1348
- setInputValueInternal(formatNumber(current));
1349
- p.onChange?.(current);
1350
- };
1351
- const incrementToMax = () => {
1352
- ensureInitialized();
1353
- const p = getProps();
1354
- if (p.isDisabled || p.isReadOnly) return;
1355
- if (p.maxValue == null) return;
1356
- const snapped = snapToStep(p.maxValue, step(), p.minValue);
1357
- setNumberValue(snapped);
1358
- setInputValueInternal(formatNumber(snapped));
1359
- p.onChange?.(snapped);
1360
- };
1361
- const decrementToMin = () => {
1362
- ensureInitialized();
1363
- const p = getProps();
1364
- if (p.isDisabled || p.isReadOnly) return;
1365
- if (p.minValue == null) return;
1366
- setNumberValue(p.minValue);
1367
- setInputValueInternal(formatNumber(p.minValue));
1368
- p.onChange?.(p.minValue);
1369
- };
1370
- return {
1371
- get inputValue() {
1372
- ensureInitialized();
1373
- return inputValue;
1374
- },
1375
- get numberValue() {
1376
- return actualNumberValue;
1377
- },
1378
- canIncrement,
1379
- canDecrement,
1380
- isDisabled: () => getProps().isDisabled ?? false,
1381
- isReadOnly: () => getProps().isReadOnly ?? false,
1382
- minValue: () => getProps().minValue,
1383
- maxValue: () => getProps().maxValue,
1384
- setInputValue,
1385
- validate,
1386
- commit,
1387
- increment,
1388
- decrement,
1389
- incrementToMax,
1390
- decrementToMin
1391
- };
1392
- }
1393
-
1394
- // ../solid-stately/src/searchfield/createSearchFieldState.ts
1395
- import { createSignal as createSignal5, createMemo as createMemo2 } from "solid-js";
1396
- function createSearchFieldState(props) {
1397
- const getProps = () => access(props);
1398
- const isControlled = () => getProps().value !== void 0;
1399
- const [internalValue, setInternalValue] = createSignal5(
1400
- getProps().defaultValue ?? ""
1401
- );
1402
- const value = createMemo2(() => {
1403
- const p = getProps();
1404
- return isControlled() ? p.value ?? "" : internalValue();
1405
- });
1406
- const setValue = (newValue) => {
1407
- const p = getProps();
1408
- if (!isControlled()) {
1409
- setInternalValue(newValue);
1410
- }
1411
- p.onChange?.(newValue);
1412
- };
1413
- return {
1414
- value,
1415
- setValue
1416
- };
1417
- }
1418
-
1419
- // ../solid-stately/src/slider/createSliderState.ts
1420
- import { createSignal as createSignal6, createMemo as createMemo3 } from "solid-js";
1421
- var DEFAULT_MIN = 0;
1422
- var DEFAULT_MAX = 100;
1423
- var DEFAULT_STEP = 1;
1424
- function clamp2(value, min, max) {
1425
- return Math.min(Math.max(value, min), max);
1426
- }
1427
- function snapToStep2(value, min, max, step) {
1428
- const snapped = Math.round((value - min) / step) * step + min;
1429
- const decimalPlaces = (step.toString().split(".")[1] || "").length;
1430
- const rounded = parseFloat(snapped.toFixed(decimalPlaces));
1431
- return clamp2(rounded, min, max);
1432
- }
1433
- function createSliderState(props) {
1434
- const getProps = () => access(props);
1435
- const minValue = getProps().minValue ?? DEFAULT_MIN;
1436
- const maxValue = getProps().maxValue ?? DEFAULT_MAX;
1437
- const step = getProps().step ?? DEFAULT_STEP;
1438
- const orientation = getProps().orientation ?? "horizontal";
1439
- const isDisabled = getProps().isDisabled ?? false;
1440
- const pageStep = Math.max(step, snapToStep2((maxValue - minValue) / 10, 0, maxValue - minValue, step));
1441
- const isControlled = () => getProps().value !== void 0;
1442
- const [internalValue, setInternalValue] = createSignal6(
1443
- snapToStep2(getProps().defaultValue ?? minValue, minValue, maxValue, step)
1444
- );
1445
- const [isDragging, setIsDragging] = createSignal6(false);
1446
- const [isFocused, setIsFocused] = createSignal6(false);
1447
- const value = createMemo3(() => {
1448
- const p = getProps();
1449
- const rawValue = isControlled() ? p.value ?? minValue : internalValue();
1450
- return snapToStep2(rawValue, minValue, maxValue, step);
1451
- });
1452
- const getValuePercent = createMemo3(() => {
1453
- return (value() - minValue) / (maxValue - minValue);
1454
- });
1455
- const getFormattedValue = createMemo3(() => {
1456
- const p = getProps();
1457
- const formatter = new Intl.NumberFormat(p.locale, p.formatOptions);
1458
- return formatter.format(value());
1459
- });
1460
- const setValue = (newValue) => {
1461
- if (isDisabled) return;
1462
- const p = getProps();
1463
- const snappedValue = snapToStep2(newValue, minValue, maxValue, step);
1464
- if (!isControlled()) {
1465
- setInternalValue(snappedValue);
1466
- }
1467
- p.onChange?.(snappedValue);
1468
- };
1469
- const setValuePercent = (percent) => {
1470
- const clampedPercent = clamp2(percent, 0, 1);
1471
- const newValue = clampedPercent * (maxValue - minValue) + minValue;
1472
- setValue(newValue);
1473
- };
1474
- const setDragging = (dragging) => {
1475
- const wasDragging = isDragging();
1476
- setIsDragging(dragging);
1477
- if (wasDragging && !dragging) {
1478
- getProps().onChangeEnd?.(value());
1479
- }
1480
- };
1481
- const increment = (stepMultiplier = 1) => {
1482
- if (isDisabled) return;
1483
- setValue(value() + step * stepMultiplier);
1484
- };
1485
- const decrement = (stepMultiplier = 1) => {
1486
- if (isDisabled) return;
1487
- setValue(value() - step * stepMultiplier);
1488
- };
1489
- const setFocused = (focused) => {
1490
- setIsFocused(focused);
1491
- };
1492
- return {
1493
- value,
1494
- setValue,
1495
- setValuePercent,
1496
- getValuePercent,
1497
- getFormattedValue,
1498
- isDragging,
1499
- setDragging,
1500
- isFocused,
1501
- setFocused,
1502
- increment,
1503
- decrement,
1504
- minValue,
1505
- maxValue,
1506
- step,
1507
- pageStep,
1508
- orientation,
1509
- isDisabled
1510
- };
1511
- }
1512
-
1513
- // src/textfield/index.tsx
1163
+ import { createTextFieldState } from "@proyecto-viviana/solid-stately";
1514
1164
  var _tmpl$15 = /* @__PURE__ */ _$template13(`<span class="text-danger-400 ml-0.5">*`);
1515
1165
  var _tmpl$211 = /* @__PURE__ */ _$template13(`<label><!$><!/><!$><!/>`);
1516
1166
  var _tmpl$38 = /* @__PURE__ */ _$template13(`<p>`);
@@ -1694,7 +1344,7 @@ function TextField(props) {
1694
1344
  return _el$0;
1695
1345
  }
1696
1346
  }), _el$14, _co$5);
1697
- _$effect12((_p$) => {
1347
+ _$effect13((_p$) => {
1698
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;
1699
1349
  _v$ !== _p$.e && _$className12(_el$, _p$.e = _v$);
1700
1350
  _v$2 !== _p$.t && _$setAttribute6(_el$, "data-disabled", _p$.t = _v$2);
@@ -1760,7 +1410,7 @@ import { template as _$template14 } from "solid-js/web";
1760
1410
  import { setStyleProperty as _$setStyleProperty } from "solid-js/web";
1761
1411
  import { runHydrationEvents as _$runHydrationEvents6 } from "solid-js/web";
1762
1412
  import { className as _$className13 } from "solid-js/web";
1763
- import { effect as _$effect13 } from "solid-js/web";
1413
+ import { effect as _$effect14 } from "solid-js/web";
1764
1414
  import { getNextMarker as _$getNextMarker7 } from "solid-js/web";
1765
1415
  import { createComponent as _$createComponent14 } from "solid-js/web";
1766
1416
  import { getNextElement as _$getNextElement14 } from "solid-js/web";
@@ -1768,7 +1418,7 @@ import { insert as _$insert13 } from "solid-js/web";
1768
1418
  import { memo as _$memo10 } from "solid-js/web";
1769
1419
  import { spread as _$spread3 } from "solid-js/web";
1770
1420
  import { mergeProps as _$mergeProps10 } from "solid-js/web";
1771
- import { splitProps as splitProps10, Show as Show10, createMemo as createMemo4 } from "solid-js";
1421
+ import { splitProps as splitProps10, Show as Show10, createMemo } from "solid-js";
1772
1422
  import { createProgressBar } from "@proyecto-viviana/solidaria";
1773
1423
  var _tmpl$16 = /* @__PURE__ */ _$template14(`<span class="text-primary-200 font-medium">`);
1774
1424
  var _tmpl$212 = /* @__PURE__ */ _$template14(`<span class=text-primary-300>`);
@@ -1795,7 +1445,7 @@ var variantStyles5 = {
1795
1445
  warning: "bg-yellow-500",
1796
1446
  danger: "bg-red-500"
1797
1447
  };
1798
- function clamp3(value, min, max) {
1448
+ function clamp(value, min, max) {
1799
1449
  return Math.min(Math.max(value, min), max);
1800
1450
  }
1801
1451
  function ProgressBar(props) {
@@ -1827,14 +1477,14 @@ function ProgressBar(props) {
1827
1477
  return ariaProps["aria-label"];
1828
1478
  }
1829
1479
  });
1830
- const percentage = createMemo4(() => {
1480
+ const percentage = createMemo(() => {
1831
1481
  if (isIndeterminate()) {
1832
1482
  return void 0;
1833
1483
  }
1834
1484
  const value = ariaProps.value ?? 0;
1835
1485
  const minValue = ariaProps.minValue ?? 0;
1836
1486
  const maxValue = ariaProps.maxValue ?? 100;
1837
- const clampedValue = clamp3(value, minValue, maxValue);
1487
+ const clampedValue = clamp(value, minValue, maxValue);
1838
1488
  return (clampedValue - minValue) / (maxValue - minValue) * 100;
1839
1489
  });
1840
1490
  const valueText = () => progressAria.progressBarProps["aria-valuetext"];
@@ -1872,11 +1522,11 @@ function ProgressBar(props) {
1872
1522
  return _el$4;
1873
1523
  }
1874
1524
  }), _el$8, _co$2);
1875
- _$effect13(() => _$className13(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
1525
+ _$effect14(() => _$className13(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
1876
1526
  return _el$2;
1877
1527
  }
1878
1528
  }), _el$10, _co$3);
1879
- _$effect13((_p$) => {
1529
+ _$effect14((_p$) => {
1880
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()}%`;
1881
1531
  _v$ !== _p$.e && _$className13(_el$9, _p$.e = _v$);
1882
1532
  _v$2 !== _p$.t && _$className13(_el$0, _p$.t = _v$2);
@@ -1899,7 +1549,7 @@ import { getNextElement as _$getNextElement15 } from "solid-js/web";
1899
1549
  import { runHydrationEvents as _$runHydrationEvents7 } from "solid-js/web";
1900
1550
  import { spread as _$spread4 } from "solid-js/web";
1901
1551
  import { mergeProps as _$mergeProps11 } from "solid-js/web";
1902
- import { splitProps as splitProps11, createMemo as createMemo5, Show as Show11 } from "solid-js";
1552
+ import { splitProps as splitProps11, createMemo as createMemo2, Show as Show11 } from "solid-js";
1903
1553
  import { createSeparator } from "@proyecto-viviana/solidaria";
1904
1554
  var _tmpl$17 = /* @__PURE__ */ _$template15(`<div>`);
1905
1555
  var _tmpl$213 = /* @__PURE__ */ _$template15(`<hr>`);
@@ -1923,7 +1573,7 @@ function Separator(props) {
1923
1573
  const orientation = () => local.orientation ?? "horizontal";
1924
1574
  const variant = () => local.variant ?? "default";
1925
1575
  const size = () => local.size ?? "md";
1926
- const elementType = createMemo5(() => {
1576
+ const elementType = createMemo2(() => {
1927
1577
  if (orientation() === "vertical") {
1928
1578
  return "div";
1929
1579
  }
@@ -1940,7 +1590,7 @@ function Separator(props) {
1940
1590
  return ariaProps["aria-label"];
1941
1591
  }
1942
1592
  });
1943
- const className = createMemo5(() => {
1593
+ const className = createMemo2(() => {
1944
1594
  const isVertical = orientation() === "vertical";
1945
1595
  const sizeStyles33 = isVertical ? verticalSizeStyles : horizontalSizeStyles;
1946
1596
  const base = [
@@ -2038,9 +1688,9 @@ import { getNextElement as _$getNextElement16 } from "solid-js/web";
2038
1688
  import { runHydrationEvents as _$runHydrationEvents8 } from "solid-js/web";
2039
1689
  import { addEventListener as _$addEventListener3 } from "solid-js/web";
2040
1690
  import { setProperty as _$setProperty } from "solid-js/web";
2041
- import { effect as _$effect14 } from "solid-js/web";
1691
+ import { effect as _$effect15 } from "solid-js/web";
2042
1692
  import { use as _$use2 } from "solid-js/web";
2043
- import { splitProps as splitProps13, createMemo as createMemo6, Show as Show12, For } from "solid-js";
1693
+ import { splitProps as splitProps13, createMemo as createMemo3, Show as Show12, For } from "solid-js";
2044
1694
  import { Autocomplete, useAutocompleteInput, useAutocompleteCollection, useAutocompleteState } from "@proyecto-viviana/solidaria-components";
2045
1695
  var _tmpl$18 = /* @__PURE__ */ _$template16(`<input type=text>`);
2046
1696
  var _tmpl$214 = /* @__PURE__ */ _$template16(`<ul role=listbox>`);
@@ -2083,7 +1733,7 @@ function AutocompleteInput(props) {
2083
1733
  _el$.$$input = (e) => ctx.inputProps.onChange(e.currentTarget.value);
2084
1734
  var _ref$ = ctx.inputRef;
2085
1735
  typeof _ref$ === "function" ? _$use2(_ref$, _el$) : ctx.inputRef = _el$;
2086
- _$effect14((_p$) => {
1736
+ _$effect15((_p$) => {
2087
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(" ");
2088
1738
  _v$ !== _p$.e && _$setAttribute7(_el$, "placeholder", _p$.e = _v$);
2089
1739
  _v$2 !== _p$.t && _$setAttribute7(_el$, "aria-label", _p$.t = _v$2);
@@ -2108,7 +1758,7 @@ function AutocompleteInput(props) {
2108
1758
  r: void 0,
2109
1759
  d: void 0
2110
1760
  });
2111
- _$effect14(() => _$setProperty(_el$, "value", ctx.inputProps.value()));
1761
+ _$effect15(() => _$setProperty(_el$, "value", ctx.inputProps.value()));
2112
1762
  _$runHydrationEvents8();
2113
1763
  return _el$;
2114
1764
  })();
@@ -2118,7 +1768,7 @@ function AutocompleteList(props) {
2118
1768
  const state = useAutocompleteState();
2119
1769
  if (!ctx) return null;
2120
1770
  const styles = () => sizeStyles11[props.size];
2121
- const filteredItems = createMemo6(() => {
1771
+ const filteredItems = createMemo3(() => {
2122
1772
  if (!ctx.filter) return props.items;
2123
1773
  return props.items.filter((item) => {
2124
1774
  const textValue = String(item[props.textKey] ?? item.name ?? "");
@@ -2158,7 +1808,7 @@ function AutocompleteList(props) {
2158
1808
  var _c$ = _$memo11(() => !!props.renderItem);
2159
1809
  return () => _c$() ? props.renderItem(item) : String(item[props.textKey] ?? item.name);
2160
1810
  })());
2161
- _$effect14((_p$) => {
1811
+ _$effect15((_p$) => {
2162
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(" ");
2163
1813
  _v$12 !== _p$.e && _$setAttribute7(_el$3, "aria-selected", _p$.e = _v$12);
2164
1814
  _v$13 !== _p$.t && _$className14(_el$3, _p$.t = _v$13);
@@ -2172,7 +1822,7 @@ function AutocompleteList(props) {
2172
1822
  })();
2173
1823
  }
2174
1824
  }));
2175
- _$effect14((_p$) => {
1825
+ _$effect15((_p$) => {
2176
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(" ");
2177
1827
  _v$1 !== _p$.e && _$setAttribute7(_el$2, "id", _p$.e = _v$1);
2178
1828
  _v$10 !== _p$.t && _$setAttribute7(_el$2, "aria-label", _p$.t = _v$10);
@@ -2205,7 +1855,7 @@ function SearchAutocomplete(props) {
2205
1855
  get children() {
2206
1856
  var _el$5 = _$getNextElement16(_tmpl$49);
2207
1857
  _$insert14(_el$5, () => local.label);
2208
- _$effect14(() => _$className14(_el$5, ["block font-medium text-text-700", styles().label].join(" ")));
1858
+ _$effect15(() => _$className14(_el$5, ["block font-medium text-text-700", styles().label].join(" ")));
2209
1859
  return _el$5;
2210
1860
  }
2211
1861
  }), _el$8, _co$);
@@ -2256,7 +1906,7 @@ function SearchAutocomplete(props) {
2256
1906
  return _el$6;
2257
1907
  }
2258
1908
  }), _el$10, _co$3);
2259
- _$effect14(() => _$className14(_el$4, ["vui-search-autocomplete relative", styles().container, local.class].filter(Boolean).join(" ")));
1909
+ _$effect15(() => _$className14(_el$4, ["vui-search-autocomplete relative", styles().container, local.class].filter(Boolean).join(" ")));
2260
1910
  return _el$4;
2261
1911
  })();
2262
1912
  }
@@ -2269,7 +1919,7 @@ import { mergeProps as _$mergeProps14 } from "solid-js/web";
2269
1919
  import { memo as _$memo12 } from "solid-js/web";
2270
1920
  import { createComponent as _$createComponent18 } from "solid-js/web";
2271
1921
  import { className as _$className15 } from "solid-js/web";
2272
- import { effect as _$effect15 } from "solid-js/web";
1922
+ import { effect as _$effect16 } from "solid-js/web";
2273
1923
  import { getNextElement as _$getNextElement17 } from "solid-js/web";
2274
1924
  import { insert as _$insert15 } from "solid-js/web";
2275
1925
  import { Show as Show13, splitProps as splitProps14, createContext as createContext3, useContext as useContext3 } from "solid-js";
@@ -2323,7 +1973,7 @@ function Select(props) {
2323
1973
  get children() {
2324
1974
  var _el$ = _$getNextElement17(_tmpl$19);
2325
1975
  _$insert15(_el$, () => local.label);
2326
- _$effect15(() => _$className15(_el$, `text-primary-200 font-medium ${sizeStyles12[size].label}`));
1976
+ _$effect16(() => _$className15(_el$, `text-primary-200 font-medium ${sizeStyles12[size].label}`));
2327
1977
  return _el$;
2328
1978
  }
2329
1979
  }), _$memo12(() => props.children), _$createComponent18(Show13, {
@@ -2459,14 +2109,14 @@ function SelectOption(props) {
2459
2109
  function ChevronIcon(props) {
2460
2110
  return (() => {
2461
2111
  var _el$5 = _$getNextElement17(_tmpl$56);
2462
- _$effect15(() => _$setAttribute8(_el$5, "class", props.class));
2112
+ _$effect16(() => _$setAttribute8(_el$5, "class", props.class));
2463
2113
  return _el$5;
2464
2114
  })();
2465
2115
  }
2466
2116
  function CheckIcon2(props) {
2467
2117
  return (() => {
2468
2118
  var _el$6 = _$getNextElement17(_tmpl$65);
2469
- _$effect15(() => _$setAttribute8(_el$6, "class", props.class));
2119
+ _$effect16(() => _$setAttribute8(_el$6, "class", props.class));
2470
2120
  return _el$6;
2471
2121
  })();
2472
2122
  }
@@ -2480,7 +2130,7 @@ import { template as _$template18 } from "solid-js/web";
2480
2130
  import { setAttribute as _$setAttribute9 } from "solid-js/web";
2481
2131
  import { memo as _$memo13 } from "solid-js/web";
2482
2132
  import { className as _$className16 } from "solid-js/web";
2483
- import { effect as _$effect16 } from "solid-js/web";
2133
+ import { effect as _$effect17 } from "solid-js/web";
2484
2134
  import { getNextElement as _$getNextElement18 } from "solid-js/web";
2485
2135
  import { insert as _$insert16 } from "solid-js/web";
2486
2136
  import { createComponent as _$createComponent19 } from "solid-js/web";
@@ -2531,7 +2181,7 @@ function MenuTrigger(props) {
2531
2181
  return props.children;
2532
2182
  }
2533
2183
  })));
2534
- _$effect16(() => _$className16(_el$, `relative inline-block ${local.class ?? ""}`));
2184
+ _$effect17(() => _$className16(_el$, `relative inline-block ${local.class ?? ""}`));
2535
2185
  return _el$;
2536
2186
  }
2537
2187
  });
@@ -2617,7 +2267,7 @@ function MenuItem(props) {
2617
2267
  return [_$memo13(() => _$memo13(() => !!local.icon)() && (() => {
2618
2268
  var _el$3 = _$getNextElement18(_tmpl$312);
2619
2269
  _$insert16(_el$3, () => local.icon());
2620
- _$effect16(() => _$className16(_el$3, `shrink-0 ${sizeStyle.icon}`));
2270
+ _$effect17(() => _$className16(_el$3, `shrink-0 ${sizeStyle.icon}`));
2621
2271
  return _el$3;
2622
2272
  })()), (() => {
2623
2273
  var _el$2 = _$getNextElement18(_tmpl$216);
@@ -2634,14 +2284,14 @@ function MenuItem(props) {
2634
2284
  function MenuSeparator(props) {
2635
2285
  return (() => {
2636
2286
  var _el$5 = _$getNextElement18(_tmpl$57);
2637
- _$effect16(() => _$className16(_el$5, `my-1 border-t border-primary-600 ${props.class ?? ""}`));
2287
+ _$effect17(() => _$className16(_el$5, `my-1 border-t border-primary-600 ${props.class ?? ""}`));
2638
2288
  return _el$5;
2639
2289
  })();
2640
2290
  }
2641
2291
  function ChevronIcon2(props) {
2642
2292
  return (() => {
2643
2293
  var _el$6 = _$getNextElement18(_tmpl$66);
2644
- _$effect16(() => _$setAttribute9(_el$6, "class", props.class));
2294
+ _$effect17(() => _$setAttribute9(_el$6, "class", props.class));
2645
2295
  return _el$6;
2646
2296
  })();
2647
2297
  }
@@ -2657,7 +2307,7 @@ import { mergeProps as _$mergeProps16 } from "solid-js/web";
2657
2307
  import { memo as _$memo14 } from "solid-js/web";
2658
2308
  import { createComponent as _$createComponent20 } from "solid-js/web";
2659
2309
  import { className as _$className17 } from "solid-js/web";
2660
- import { effect as _$effect17 } from "solid-js/web";
2310
+ import { effect as _$effect18 } from "solid-js/web";
2661
2311
  import { insert as _$insert17 } from "solid-js/web";
2662
2312
  import { getNextElement as _$getNextElement19 } from "solid-js/web";
2663
2313
  import { splitProps as splitProps16, createContext as createContext5, useContext as useContext5, Show as Show14 } from "solid-js";
@@ -2722,7 +2372,7 @@ function ListBox(props) {
2722
2372
  get children() {
2723
2373
  var _el$3 = _$getNextElement19(_tmpl$217);
2724
2374
  _$insert17(_el$3, () => local.label);
2725
- _$effect17(() => _$className17(_el$3, `text-primary-200 font-medium ${styles.label}`));
2375
+ _$effect18(() => _$className17(_el$3, `text-primary-200 font-medium ${styles.label}`));
2726
2376
  return _el$3;
2727
2377
  }
2728
2378
  }), _el$6, _co$);
@@ -2780,7 +2430,7 @@ function ListBoxOption(props) {
2780
2430
  return [_$memo14(() => _$memo14(() => !!local.icon)() && (() => {
2781
2431
  var _el$13 = _$getNextElement19(_tmpl$67);
2782
2432
  _$insert17(_el$13, () => local.icon());
2783
- _$effect17(() => _$className17(_el$13, `shrink-0 ${sizeStyle.icon}`));
2433
+ _$effect18(() => _$className17(_el$13, `shrink-0 ${sizeStyle.icon}`));
2784
2434
  return _el$13;
2785
2435
  })()), _$createComponent20(CheckIcon3, {
2786
2436
  get ["class"]() {
@@ -2794,7 +2444,7 @@ function ListBoxOption(props) {
2794
2444
  return () => _c$() && (() => {
2795
2445
  var _el$14 = _$getNextElement19(_tmpl$67);
2796
2446
  _$insert17(_el$14, () => local.description);
2797
- _$effect17(() => _$className17(_el$14, `text-primary-400 truncate ${sizeStyle.description}`));
2447
+ _$effect18(() => _$className17(_el$14, `text-primary-400 truncate ${sizeStyle.description}`));
2798
2448
  return _el$14;
2799
2449
  })();
2800
2450
  })(), _el$12, _co$4);
@@ -2806,7 +2456,7 @@ function ListBoxOption(props) {
2806
2456
  function CheckIcon3(props) {
2807
2457
  return (() => {
2808
2458
  var _el$15 = _$getNextElement19(_tmpl$73);
2809
- _$effect17(() => _$setAttribute10(_el$15, "class", props.class));
2459
+ _$effect18(() => _$setAttribute10(_el$15, "class", props.class));
2810
2460
  return _el$15;
2811
2461
  })();
2812
2462
  }
@@ -2963,7 +2613,7 @@ Tabs.Panel = TabPanel;
2963
2613
  // src/breadcrumbs/index.tsx
2964
2614
  import { template as _$template20 } from "solid-js/web";
2965
2615
  import { setAttribute as _$setAttribute11 } from "solid-js/web";
2966
- import { effect as _$effect18 } from "solid-js/web";
2616
+ import { effect as _$effect19 } from "solid-js/web";
2967
2617
  import { getNextElement as _$getNextElement20 } from "solid-js/web";
2968
2618
  import { memo as _$memo15 } from "solid-js/web";
2969
2619
  import { createComponent as _$createComponent22 } from "solid-js/web";
@@ -3068,7 +2718,7 @@ function BreadcrumbItem(props) {
3068
2718
  function ChevronIcon3(props) {
3069
2719
  return (() => {
3070
2720
  var _el$ = _$getNextElement20(_tmpl$30);
3071
- _$effect18(() => _$setAttribute11(_el$, "class", props.class));
2721
+ _$effect19(() => _$setAttribute11(_el$, "class", props.class));
3072
2722
  return _el$;
3073
2723
  })();
3074
2724
  }
@@ -3086,10 +2736,11 @@ import { spread as _$spread5 } from "solid-js/web";
3086
2736
  import { mergeProps as _$mergeProps19 } from "solid-js/web";
3087
2737
  import { memo as _$memo16 } from "solid-js/web";
3088
2738
  import { setAttribute as _$setAttribute12 } from "solid-js/web";
3089
- import { effect as _$effect19 } from "solid-js/web";
2739
+ import { effect as _$effect20 } from "solid-js/web";
3090
2740
  import { getNextElement as _$getNextElement21 } from "solid-js/web";
3091
2741
  import { splitProps as splitProps19, mergeProps as solidMergeProps5, Show as Show15 } from "solid-js";
3092
2742
  import { createNumberField, createFocusRing as createFocusRing2, createPress, createHover } from "@proyecto-viviana/solidaria";
2743
+ import { createNumberFieldState } from "@proyecto-viviana/solid-stately";
3093
2744
  var _tmpl$31 = /* @__PURE__ */ _$template21(`<svg viewBox="0 0 16 16"fill=none stroke=currentColor stroke-width=2><path d="M8 3v10M3 8h10">`);
3094
2745
  var _tmpl$218 = /* @__PURE__ */ _$template21(`<svg viewBox="0 0 16 16"fill=none stroke=currentColor stroke-width=2><path d="M3 8h10">`);
3095
2746
  var _tmpl$314 = /* @__PURE__ */ _$template21(`<span class="text-danger-500 ml-1">*`);
@@ -3123,14 +2774,14 @@ var sizeStyles17 = {
3123
2774
  function PlusIcon(props) {
3124
2775
  return (() => {
3125
2776
  var _el$ = _$getNextElement21(_tmpl$31);
3126
- _$effect19(() => _$setAttribute12(_el$, "class", props.class));
2777
+ _$effect20(() => _$setAttribute12(_el$, "class", props.class));
3127
2778
  return _el$;
3128
2779
  })();
3129
2780
  }
3130
2781
  function MinusIcon(props) {
3131
2782
  return (() => {
3132
2783
  var _el$2 = _$getNextElement21(_tmpl$218);
3133
- _$effect19(() => _$setAttribute12(_el$2, "class", props.class));
2784
+ _$effect20(() => _$setAttribute12(_el$2, "class", props.class));
3134
2785
  return _el$2;
3135
2786
  })();
3136
2787
  }
@@ -3524,7 +3175,7 @@ function NumberField(props) {
3524
3175
  return _el$17;
3525
3176
  }
3526
3177
  }), _el$23, _co$7);
3527
- _$effect19(() => _$className18(_el$0, groupClasses()));
3178
+ _$effect20(() => _$className18(_el$0, groupClasses()));
3528
3179
  _$runHydrationEvents9();
3529
3180
  return _el$3;
3530
3181
  })();
@@ -3542,10 +3193,11 @@ import { createComponent as _$createComponent24 } from "solid-js/web";
3542
3193
  import { spread as _$spread6 } from "solid-js/web";
3543
3194
  import { mergeProps as _$mergeProps20 } from "solid-js/web";
3544
3195
  import { setAttribute as _$setAttribute13 } from "solid-js/web";
3545
- import { effect as _$effect20 } from "solid-js/web";
3196
+ import { effect as _$effect21 } from "solid-js/web";
3546
3197
  import { getNextElement as _$getNextElement22 } from "solid-js/web";
3547
3198
  import { splitProps as splitProps20, mergeProps as solidMergeProps6, Show as Show16 } from "solid-js";
3548
3199
  import { createSearchField, createFocusRing as createFocusRing3, createPress as createPress2, createHover as createHover2 } from "@proyecto-viviana/solidaria";
3200
+ import { createSearchFieldState } from "@proyecto-viviana/solid-stately";
3549
3201
  var _tmpl$40 = /* @__PURE__ */ _$template22(`<svg viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2><circle cx=8 cy=8 r=5></circle><path d="M12 12L17 17"stroke-linecap=round>`);
3550
3202
  var _tmpl$219 = /* @__PURE__ */ _$template22(`<svg viewBox="0 0 16 16"fill=none stroke=currentColor stroke-width=2><path d="M4 4L12 12M12 4L4 12"stroke-linecap=round>`);
3551
3203
  var _tmpl$315 = /* @__PURE__ */ _$template22(`<span class="text-danger-500 ml-1">*`);
@@ -3582,14 +3234,14 @@ var sizeStyles18 = {
3582
3234
  function SearchIcon(props) {
3583
3235
  return (() => {
3584
3236
  var _el$ = _$getNextElement22(_tmpl$40);
3585
- _$effect20(() => _$setAttribute13(_el$, "class", props.class));
3237
+ _$effect21(() => _$setAttribute13(_el$, "class", props.class));
3586
3238
  return _el$;
3587
3239
  })();
3588
3240
  }
3589
3241
  function ClearIcon(props) {
3590
3242
  return (() => {
3591
3243
  var _el$2 = _$getNextElement22(_tmpl$219);
3592
- _$effect20(() => _$setAttribute13(_el$2, "class", props.class));
3244
+ _$effect21(() => _$setAttribute13(_el$2, "class", props.class));
3593
3245
  return _el$2;
3594
3246
  })();
3595
3247
  }
@@ -3939,7 +3591,7 @@ function SearchField(props) {
3939
3591
  return _el$16;
3940
3592
  }
3941
3593
  }), _el$22, _co$7);
3942
- _$effect20((_p$) => {
3594
+ _$effect21((_p$) => {
3943
3595
  var _v$ = containerClasses(), _v$2 = isEmpty() || void 0, _v$3 = ariaProps.isDisabled || void 0, _v$4 = ariaProps.isInvalid || void 0, _v$5 = inputWrapperClasses();
3944
3596
  _v$ !== _p$.e && _$className19(_el$3, _p$.e = _v$);
3945
3597
  _v$2 !== _p$.t && _$setAttribute13(_el$3, "data-empty", _p$.t = _v$2);
@@ -3964,7 +3616,7 @@ import { template as _$template23 } from "solid-js/web";
3964
3616
  import { setStyleProperty as _$setStyleProperty2 } from "solid-js/web";
3965
3617
  import { use as _$use5 } from "solid-js/web";
3966
3618
  import { className as _$className20 } from "solid-js/web";
3967
- import { effect as _$effect21 } from "solid-js/web";
3619
+ import { effect as _$effect22 } from "solid-js/web";
3968
3620
  import { getNextMarker as _$getNextMarker12 } from "solid-js/web";
3969
3621
  import { createComponent as _$createComponent25 } from "solid-js/web";
3970
3622
  import { getNextElement as _$getNextElement23 } from "solid-js/web";
@@ -3975,6 +3627,7 @@ import { mergeProps as _$mergeProps21 } from "solid-js/web";
3975
3627
  import { memo as _$memo18 } from "solid-js/web";
3976
3628
  import { splitProps as splitProps21, mergeProps as solidMergeProps7, Show as Show17 } from "solid-js";
3977
3629
  import { createSlider, createFocusRing as createFocusRing4, createHover as createHover3 } from "@proyecto-viviana/solidaria";
3630
+ import { createSliderState } from "@proyecto-viviana/solid-stately";
3978
3631
  var _tmpl$41 = /* @__PURE__ */ _$template23(`<span>`);
3979
3632
  var _tmpl$220 = /* @__PURE__ */ _$template23(`<output>`);
3980
3633
  var _tmpl$316 = /* @__PURE__ */ _$template23(`<div><!$><!/><!$><!/>`);
@@ -4237,7 +3890,7 @@ function Slider(props) {
4237
3890
  return _el$4;
4238
3891
  }
4239
3892
  }), _el$8, _co$2);
4240
- _$effect21(() => _$className20(_el$2, labelRowClasses()));
3893
+ _$effect22(() => _$className20(_el$2, labelRowClasses()));
4241
3894
  return _el$2;
4242
3895
  }
4243
3896
  }), _el$16, _co$3);
@@ -4282,7 +3935,7 @@ function Slider(props) {
4282
3935
  var _el$11 = _$getNextElement23(_tmpl$415), _el$12 = _el$11.firstChild, _el$13 = _el$12.nextSibling;
4283
3936
  _$insert20(_el$12, () => state.minValue);
4284
3937
  _$insert20(_el$13, () => state.maxValue);
4285
- _$effect21((_p$) => {
3938
+ _$effect22((_p$) => {
4286
3939
  var _v$ = minMaxClasses(), _v$2 = minMaxClasses();
4287
3940
  _v$ !== _p$.e && _$className20(_el$12, _p$.e = _v$);
4288
3941
  _v$2 !== _p$.t && _$className20(_el$13, _p$.t = _v$2);
@@ -4295,7 +3948,7 @@ function Slider(props) {
4295
3948
  }
4296
3949
  }), _el$18, _co$4);
4297
3950
  _$spread7(_el$14, _$mergeProps21(() => sliderAria.inputProps), false, false);
4298
- _$effect21((_p$) => {
3951
+ _$effect22((_p$) => {
4299
3952
  var _v$3 = trackContainerClasses(), _v$4 = fillClasses(), _v$5 = `${percent()}%`;
4300
3953
  _v$3 !== _p$.e && _$className20(_el$9, _p$.e = _v$3);
4301
3954
  _v$4 !== _p$.t && _$className20(_el$1, _p$.t = _v$4);
@@ -4318,7 +3971,7 @@ import { mergeProps as _$mergeProps22 } from "solid-js/web";
4318
3971
  import { memo as _$memo19 } from "solid-js/web";
4319
3972
  import { createComponent as _$createComponent26 } from "solid-js/web";
4320
3973
  import { className as _$className21 } from "solid-js/web";
4321
- import { effect as _$effect22 } from "solid-js/web";
3974
+ import { effect as _$effect23 } from "solid-js/web";
4322
3975
  import { getNextElement as _$getNextElement24 } from "solid-js/web";
4323
3976
  import { insert as _$insert21 } from "solid-js/web";
4324
3977
  import { splitProps as splitProps22, createContext as createContext8, useContext as useContext8, Show as Show18 } from "solid-js";
@@ -4379,7 +4032,7 @@ function ComboBox(props) {
4379
4032
  get children() {
4380
4033
  var _el$ = _$getNextElement24(_tmpl$50);
4381
4034
  _$insert21(_el$, () => local.label);
4382
- _$effect22(() => _$className21(_el$, `text-primary-200 font-medium ${sizeStyles20[size].label}`));
4035
+ _$effect23(() => _$className21(_el$, `text-primary-200 font-medium ${sizeStyles20[size].label}`));
4383
4036
  return _el$;
4384
4037
  }
4385
4038
  }), _$memo19(() => props.children), _$createComponent26(Show18, {
@@ -4412,7 +4065,7 @@ function ComboBoxInputGroup(props) {
4412
4065
  return (() => {
4413
4066
  var _el$4 = _$getNextElement24(_tmpl$416);
4414
4067
  _$insert21(_el$4, () => props.children);
4415
- _$effect22(() => _$className21(_el$4, `relative flex items-center ${styles().wrapper} ${props.class ?? ""}`));
4068
+ _$effect23(() => _$className21(_el$4, `relative flex items-center ${styles().wrapper} ${props.class ?? ""}`));
4416
4069
  return _el$4;
4417
4070
  })();
4418
4071
  }
@@ -4525,7 +4178,7 @@ function ComboBoxOption(props) {
4525
4178
  }), (() => {
4526
4179
  var _el$5 = _$getNextElement24(_tmpl$512);
4527
4180
  _$insert21(_el$5, () => props.children);
4528
- _$effect22(() => _$className21(_el$5, `flex-1 data-selected:pl-0 ${iconPadding[size]}`));
4181
+ _$effect23(() => _$className21(_el$5, `flex-1 data-selected:pl-0 ${iconPadding[size]}`));
4529
4182
  return _el$5;
4530
4183
  })()];
4531
4184
  }
@@ -4534,14 +4187,14 @@ function ComboBoxOption(props) {
4534
4187
  function ChevronIcon4(props) {
4535
4188
  return (() => {
4536
4189
  var _el$6 = _$getNextElement24(_tmpl$610);
4537
- _$effect22(() => _$setAttribute14(_el$6, "class", props.class));
4190
+ _$effect23(() => _$setAttribute14(_el$6, "class", props.class));
4538
4191
  return _el$6;
4539
4192
  })();
4540
4193
  }
4541
4194
  function CheckIcon4(props) {
4542
4195
  return (() => {
4543
4196
  var _el$7 = _$getNextElement24(_tmpl$76);
4544
- _$effect22(() => _$setAttribute14(_el$7, "class", props.class));
4197
+ _$effect23(() => _$setAttribute14(_el$7, "class", props.class));
4545
4198
  return _el$7;
4546
4199
  })();
4547
4200
  }
@@ -4558,7 +4211,7 @@ import { getNextMarker as _$getNextMarker13 } from "solid-js/web";
4558
4211
  import { runHydrationEvents as _$runHydrationEvents12 } from "solid-js/web";
4559
4212
  import { addEventListener as _$addEventListener4 } from "solid-js/web";
4560
4213
  import { className as _$className22 } from "solid-js/web";
4561
- import { effect as _$effect23 } from "solid-js/web";
4214
+ import { effect as _$effect24 } from "solid-js/web";
4562
4215
  import { insert as _$insert22 } from "solid-js/web";
4563
4216
  import { mergeProps as _$mergeProps23 } from "solid-js/web";
4564
4217
  import { memo as _$memo20 } from "solid-js/web";
@@ -4658,7 +4311,7 @@ function Toast(props) {
4658
4311
  return [(() => {
4659
4312
  var _el$6 = _$getNextElement25(_tmpl$611);
4660
4313
  _$insert22(_el$6, () => getVariantIcon(variant()));
4661
- _$effect23(() => _$className22(_el$6, `flex-shrink-0 ${iconStyles[variant()]}`));
4314
+ _$effect24(() => _$className22(_el$6, `flex-shrink-0 ${iconStyles[variant()]}`));
4662
4315
  return _el$6;
4663
4316
  })(), (() => {
4664
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);
@@ -4752,7 +4405,7 @@ _$delegateEvents6(["click"]);
4752
4405
  // src/disclosure/index.tsx
4753
4406
  import { template as _$template26 } from "solid-js/web";
4754
4407
  import { setAttribute as _$setAttribute15 } from "solid-js/web";
4755
- import { effect as _$effect24 } from "solid-js/web";
4408
+ import { effect as _$effect25 } from "solid-js/web";
4756
4409
  import { getNextElement as _$getNextElement26 } from "solid-js/web";
4757
4410
  import { memo as _$memo21 } from "solid-js/web";
4758
4411
  import { createComponent as _$createComponent28 } from "solid-js/web";
@@ -4893,7 +4546,7 @@ function DisclosureTrigger(props) {
4893
4546
  },
4894
4547
  get children() {
4895
4548
  var _el$ = _$getNextElement26(_tmpl$60);
4896
- _$effect24(() => _$setAttribute15(_el$, "class", [
4549
+ _$effect25(() => _$setAttribute15(_el$, "class", [
4897
4550
  sizeStyles21[ctx.size].icon,
4898
4551
  "transition-transform duration-200",
4899
4552
  "group-data-[expanded=true]:rotate-180"
@@ -4930,7 +4583,7 @@ import { template as _$template27 } from "solid-js/web";
4930
4583
  import { setStyleProperty as _$setStyleProperty3 } from "solid-js/web";
4931
4584
  import { runHydrationEvents as _$runHydrationEvents13 } from "solid-js/web";
4932
4585
  import { className as _$className23 } from "solid-js/web";
4933
- import { effect as _$effect25 } from "solid-js/web";
4586
+ import { effect as _$effect26 } from "solid-js/web";
4934
4587
  import { getNextMarker as _$getNextMarker14 } from "solid-js/web";
4935
4588
  import { createComponent as _$createComponent29 } from "solid-js/web";
4936
4589
  import { getNextElement as _$getNextElement27 } from "solid-js/web";
@@ -4938,7 +4591,7 @@ import { insert as _$insert23 } from "solid-js/web";
4938
4591
  import { memo as _$memo22 } from "solid-js/web";
4939
4592
  import { spread as _$spread8 } from "solid-js/web";
4940
4593
  import { mergeProps as _$mergeProps25 } from "solid-js/web";
4941
- import { splitProps as splitProps25, Show as Show21, createMemo as createMemo7 } from "solid-js";
4594
+ import { splitProps as splitProps25, Show as Show21, createMemo as createMemo4 } from "solid-js";
4942
4595
  import { createMeter } from "@proyecto-viviana/solidaria";
4943
4596
  var _tmpl$61 = /* @__PURE__ */ _$template27(`<span class="text-primary-200 font-medium">`);
4944
4597
  var _tmpl$223 = /* @__PURE__ */ _$template27(`<span class=text-primary-300>`);
@@ -4966,7 +4619,7 @@ var variantStyles12 = {
4966
4619
  danger: "bg-red-500",
4967
4620
  info: "bg-blue-500"
4968
4621
  };
4969
- function clamp4(value, min, max) {
4622
+ function clamp2(value, min, max) {
4970
4623
  return Math.min(Math.max(value, min), max);
4971
4624
  }
4972
4625
  function Meter(props) {
@@ -4994,11 +4647,11 @@ function Meter(props) {
4994
4647
  return ariaProps["aria-label"];
4995
4648
  }
4996
4649
  });
4997
- const percentage = createMemo7(() => {
4650
+ const percentage = createMemo4(() => {
4998
4651
  const value = ariaProps.value ?? 0;
4999
4652
  const minValue = ariaProps.minValue ?? 0;
5000
4653
  const maxValue = ariaProps.maxValue ?? 100;
5001
- const clampedValue = clamp4(value, minValue, maxValue);
4654
+ const clampedValue = clamp2(value, minValue, maxValue);
5002
4655
  return (clampedValue - minValue) / (maxValue - minValue) * 100;
5003
4656
  });
5004
4657
  const valueText = () => meterAria.meterProps["aria-valuetext"];
@@ -5036,11 +4689,11 @@ function Meter(props) {
5036
4689
  return _el$4;
5037
4690
  }
5038
4691
  }), _el$8, _co$2);
5039
- _$effect25(() => _$className23(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
4692
+ _$effect26(() => _$className23(_el$2, `flex justify-between items-center mb-1 ${sizeConfig().text}`));
5040
4693
  return _el$2;
5041
4694
  }
5042
4695
  }), _el$10, _co$3);
5043
- _$effect25((_p$) => {
4696
+ _$effect26((_p$) => {
5044
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()}%`;
5045
4698
  _v$ !== _p$.e && _$className23(_el$9, _p$.e = _v$);
5046
4699
  _v$2 !== _p$.t && _$className23(_el$0, _p$.t = _v$2);
@@ -5064,7 +4717,7 @@ import { getNextMarker as _$getNextMarker15 } from "solid-js/web";
5064
4717
  import { memo as _$memo23 } from "solid-js/web";
5065
4718
  import { createComponent as _$createComponent30 } from "solid-js/web";
5066
4719
  import { className as _$className24 } from "solid-js/web";
5067
- import { effect as _$effect26 } from "solid-js/web";
4720
+ import { effect as _$effect27 } from "solid-js/web";
5068
4721
  import { getNextElement as _$getNextElement28 } from "solid-js/web";
5069
4722
  import { insert as _$insert24 } from "solid-js/web";
5070
4723
  import { splitProps as splitProps26, Show as Show22 } from "solid-js";
@@ -5128,7 +4781,7 @@ function TagGroup(props) {
5128
4781
  get children() {
5129
4782
  var _el$2 = _$getNextElement28(_tmpl$70);
5130
4783
  _$insert24(_el$2, () => local.label);
5131
- _$effect26(() => _$className24(_el$2, `font-medium text-primary-200 ${sizeConfig().label}`));
4784
+ _$effect27(() => _$className24(_el$2, `font-medium text-primary-200 ${sizeConfig().label}`));
5132
4785
  return _el$2;
5133
4786
  }
5134
4787
  }), _el$4, _co$);
@@ -5188,7 +4841,7 @@ function TagGroup(props) {
5188
4841
  e.stopPropagation();
5189
4842
  local.onRemove?.(/* @__PURE__ */ new Set([getKey(item)]));
5190
4843
  };
5191
- _$effect26(() => _$className24(_el$9, `
4844
+ _$effect27(() => _$className24(_el$9, `
5192
4845
  ${sizeConfig().removeButton}
5193
4846
  rounded-full flex items-center justify-center
5194
4847
  hover:bg-black/20 transition-colors
@@ -5200,7 +4853,7 @@ function TagGroup(props) {
5200
4853
  })]
5201
4854
  })
5202
4855
  }), _el$6, _co$2);
5203
- _$effect26(() => _$className24(_el$, `flex flex-col gap-2 ${local.class ?? ""}`));
4856
+ _$effect27(() => _$className24(_el$, `flex flex-col gap-2 ${local.class ?? ""}`));
5204
4857
  return _el$;
5205
4858
  })();
5206
4859
  }
@@ -5486,7 +5139,7 @@ function RangeCalendar(props) {
5486
5139
  // src/calendar/DateField.tsx
5487
5140
  import { template as _$template31 } from "solid-js/web";
5488
5141
  import { className as _$className25 } from "solid-js/web";
5489
- import { effect as _$effect27 } from "solid-js/web";
5142
+ import { effect as _$effect28 } from "solid-js/web";
5490
5143
  import { getNextElement as _$getNextElement31 } from "solid-js/web";
5491
5144
  import { getNextMarker as _$getNextMarker18 } from "solid-js/web";
5492
5145
  import { insert as _$insert27 } from "solid-js/web";
@@ -5542,7 +5195,7 @@ function DateField(props) {
5542
5195
  var _c$ = _$memo24(() => !!rest.isRequired);
5543
5196
  return () => _c$() && _$getNextElement31(_tmpl$227);
5544
5197
  })(), _el$5, _co$2);
5545
- _$effect27(() => _$className25(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
5198
+ _$effect28(() => _$className25(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
5546
5199
  return _el$;
5547
5200
  })()), _$createComponent33(DateInput, {
5548
5201
  "class": ({
@@ -5593,12 +5246,12 @@ function DateField(props) {
5593
5246
  }), _$memo24(() => _$memo24(() => !!(local.description && !isInvalid()))() && (() => {
5594
5247
  var _el$7 = _$getNextElement31(_tmpl$323);
5595
5248
  _$insert27(_el$7, () => local.description);
5596
- _$effect27(() => _$className25(_el$7, `text-primary-400 ${sizeConfig().label}`));
5249
+ _$effect28(() => _$className25(_el$7, `text-primary-400 ${sizeConfig().label}`));
5597
5250
  return _el$7;
5598
5251
  })()), _$memo24(() => _$memo24(() => !!(isInvalid() && local.errorMessage))() && (() => {
5599
5252
  var _el$8 = _$getNextElement31(_tmpl$323);
5600
5253
  _$insert27(_el$8, () => local.errorMessage);
5601
- _$effect27(() => _$className25(_el$8, `text-red-500 ${sizeConfig().label}`));
5254
+ _$effect28(() => _$className25(_el$8, `text-red-500 ${sizeConfig().label}`));
5602
5255
  return _el$8;
5603
5256
  })())];
5604
5257
  }
@@ -5608,7 +5261,7 @@ function DateField(props) {
5608
5261
  // src/calendar/TimeField.tsx
5609
5262
  import { template as _$template32 } from "solid-js/web";
5610
5263
  import { className as _$className26 } from "solid-js/web";
5611
- import { effect as _$effect28 } from "solid-js/web";
5264
+ import { effect as _$effect29 } from "solid-js/web";
5612
5265
  import { getNextElement as _$getNextElement32 } from "solid-js/web";
5613
5266
  import { getNextMarker as _$getNextMarker19 } from "solid-js/web";
5614
5267
  import { insert as _$insert28 } from "solid-js/web";
@@ -5664,7 +5317,7 @@ function TimeField(props) {
5664
5317
  var _c$ = _$memo25(() => !!rest.isRequired);
5665
5318
  return () => _c$() && _$getNextElement32(_tmpl$228);
5666
5319
  })(), _el$5, _co$2);
5667
- _$effect28(() => _$className26(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
5320
+ _$effect29(() => _$className26(_el$, `font-medium text-primary-200 ${sizeConfig().label}`));
5668
5321
  return _el$;
5669
5322
  })()), _$createComponent34(TimeInput, {
5670
5323
  "class": ({
@@ -5715,12 +5368,12 @@ function TimeField(props) {
5715
5368
  }), _$memo25(() => _$memo25(() => !!(local.description && !isInvalid()))() && (() => {
5716
5369
  var _el$7 = _$getNextElement32(_tmpl$324);
5717
5370
  _$insert28(_el$7, () => local.description);
5718
- _$effect28(() => _$className26(_el$7, `text-primary-400 ${sizeConfig().label}`));
5371
+ _$effect29(() => _$className26(_el$7, `text-primary-400 ${sizeConfig().label}`));
5719
5372
  return _el$7;
5720
5373
  })()), _$memo25(() => _$memo25(() => !!(isInvalid() && local.errorMessage))() && (() => {
5721
5374
  var _el$8 = _$getNextElement32(_tmpl$324);
5722
5375
  _$insert28(_el$8, () => local.errorMessage);
5723
- _$effect28(() => _$className26(_el$8, `text-red-500 ${sizeConfig().label}`));
5376
+ _$effect29(() => _$className26(_el$8, `text-red-500 ${sizeConfig().label}`));
5724
5377
  return _el$8;
5725
5378
  })())];
5726
5379
  }
@@ -5732,7 +5385,7 @@ import { template as _$template33 } from "solid-js/web";
5732
5385
  import { delegateEvents as _$delegateEvents8 } from "solid-js/web";
5733
5386
  import { runHydrationEvents as _$runHydrationEvents15 } from "solid-js/web";
5734
5387
  import { className as _$className27 } from "solid-js/web";
5735
- import { effect as _$effect29 } from "solid-js/web";
5388
+ import { effect as _$effect30 } from "solid-js/web";
5736
5389
  import { mergeProps as _$mergeProps30 } from "solid-js/web";
5737
5390
  import { getNextMarker as _$getNextMarker20 } from "solid-js/web";
5738
5391
  import { insert as _$insert29 } from "solid-js/web";
@@ -5798,7 +5451,7 @@ function DatePicker(props) {
5798
5451
  var _c$ = _$memo26(() => !!rest.isRequired);
5799
5452
  return () => _c$() && _$getNextElement33(_tmpl$420);
5800
5453
  })(), _el$11, _co$5);
5801
- _$effect29(() => _$className27(_el$9, `font-medium text-primary-200 ${sizeConfig().label}`));
5454
+ _$effect30(() => _$className27(_el$9, `font-medium text-primary-200 ${sizeConfig().label}`));
5802
5455
  return _el$9;
5803
5456
  })()), (() => {
5804
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);
@@ -5884,12 +5537,12 @@ function DatePicker(props) {
5884
5537
  })(), _$memo26(() => _$memo26(() => !!(local.description && !isInvalid()))() && (() => {
5885
5538
  var _el$13 = _$getNextElement33(_tmpl$514);
5886
5539
  _$insert29(_el$13, () => local.description);
5887
- _$effect29(() => _$className27(_el$13, `text-primary-400 ${sizeConfig().label}`));
5540
+ _$effect30(() => _$className27(_el$13, `text-primary-400 ${sizeConfig().label}`));
5888
5541
  return _el$13;
5889
5542
  })()), _$memo26(() => _$memo26(() => !!(isInvalid() && local.errorMessage))() && (() => {
5890
5543
  var _el$14 = _$getNextElement33(_tmpl$514);
5891
5544
  _$insert29(_el$14, () => local.errorMessage);
5892
- _$effect29(() => _$className27(_el$14, `text-red-500 ${sizeConfig().label}`));
5545
+ _$effect30(() => _$className27(_el$14, `text-red-500 ${sizeConfig().label}`));
5893
5546
  return _el$14;
5894
5547
  })())];
5895
5548
  }
@@ -5936,7 +5589,7 @@ import { template as _$template34 } from "solid-js/web";
5936
5589
  import { setAttribute as _$setAttribute16 } from "solid-js/web";
5937
5590
  import { memo as _$memo27 } from "solid-js/web";
5938
5591
  import { className as _$className28 } from "solid-js/web";
5939
- import { effect as _$effect30 } from "solid-js/web";
5592
+ import { effect as _$effect31 } from "solid-js/web";
5940
5593
  import { getNextMarker as _$getNextMarker21 } from "solid-js/web";
5941
5594
  import { mergeProps as _$mergeProps31 } from "solid-js/web";
5942
5595
  import { createComponent as _$createComponent36 } from "solid-js/web";
@@ -6060,7 +5713,7 @@ function Table(props) {
6060
5713
  return props.children;
6061
5714
  }
6062
5715
  })));
6063
- _$effect30(() => _$className28(_el$4, variantStyle().wrapper));
5716
+ _$effect31(() => _$className28(_el$4, variantStyle().wrapper));
6064
5717
  return _el$;
6065
5718
  }
6066
5719
  });
@@ -6211,7 +5864,7 @@ function TableSelectionCheckbox(props) {
6211
5864
  return props.rowKey;
6212
5865
  }
6213
5866
  }));
6214
- _$effect30(() => _$className28(_el$17, `${sizeStyle.cell} w-px`));
5867
+ _$effect31(() => _$className28(_el$17, `${sizeStyle.cell} w-px`));
6215
5868
  return _el$17;
6216
5869
  })();
6217
5870
  }
@@ -6223,7 +5876,7 @@ function TableSelectAllCheckbox() {
6223
5876
  var _el$19 = _$getNextElement34(_tmpl$711), _el$20 = _el$19.firstChild;
6224
5877
  _$className28(_el$20, checkboxClass);
6225
5878
  _$insert30(_el$20, _$createComponent36(HeadlessTableSelectAllCheckbox, {}));
6226
- _$effect30(() => _$className28(_el$19, `${sizeStyle.headerCell} w-px`));
5879
+ _$effect31(() => _$className28(_el$19, `${sizeStyle.headerCell} w-px`));
6227
5880
  return _el$19;
6228
5881
  })();
6229
5882
  }
@@ -6234,14 +5887,14 @@ function SortIcon(props) {
6234
5887
  var _c$2 = _$memo27(() => props.direction === "ascending");
6235
5888
  return () => _c$2() ? _$getNextElement34(_tmpl$93) : _$getNextElement34(_tmpl$02);
6236
5889
  })());
6237
- _$effect30(() => _$setAttribute16(_el$21, "class", props.class));
5890
+ _$effect31(() => _$setAttribute16(_el$21, "class", props.class));
6238
5891
  return _el$21;
6239
5892
  })();
6240
5893
  }
6241
5894
  function EmptyIcon(props) {
6242
5895
  return (() => {
6243
5896
  var _el$24 = _$getNextElement34(_tmpl$1);
6244
- _$effect30(() => _$setAttribute16(_el$24, "class", props.class));
5897
+ _$effect31(() => _$setAttribute16(_el$24, "class", props.class));
6245
5898
  return _el$24;
6246
5899
  })();
6247
5900
  }
@@ -6259,7 +5912,7 @@ import { setAttribute as _$setAttribute17 } from "solid-js/web";
6259
5912
  import { mergeProps as _$mergeProps32 } from "solid-js/web";
6260
5913
  import { memo as _$memo28 } from "solid-js/web";
6261
5914
  import { className as _$className29 } from "solid-js/web";
6262
- import { effect as _$effect31 } from "solid-js/web";
5915
+ import { effect as _$effect32 } from "solid-js/web";
6263
5916
  import { getNextElement as _$getNextElement35 } from "solid-js/web";
6264
5917
  import { getNextMarker as _$getNextMarker22 } from "solid-js/web";
6265
5918
  import { insert as _$insert31 } from "solid-js/web";
@@ -6383,7 +6036,7 @@ function GridList(props) {
6383
6036
  get children() {
6384
6037
  var _el$7 = _$getNextElement35(_tmpl$231);
6385
6038
  _$insert31(_el$7, () => local.label);
6386
- _$effect31(() => _$className29(_el$7, `text-primary-200 font-medium ${styles().label}`));
6039
+ _$effect32(() => _$className29(_el$7, `text-primary-200 font-medium ${styles().label}`));
6387
6040
  return _el$7;
6388
6041
  }
6389
6042
  }), _el$0, _co$2);
@@ -6441,7 +6094,7 @@ function GridListItem(props) {
6441
6094
  },
6442
6095
  get children() {
6443
6096
  var _el$13 = _$getNextElement35(_tmpl$516);
6444
- _$effect31((_p$) => {
6097
+ _$effect32((_p$) => {
6445
6098
  var _v$ = local.image, _v$2 = local.imageAlt ?? "", _v$3 = `${sizeStyle.image} rounded object-cover shrink-0`;
6446
6099
  _v$ !== _p$.e && _$setAttribute17(_el$13, "src", _p$.e = _v$);
6447
6100
  _v$2 !== _p$.t && _$setAttribute17(_el$13, "alt", _p$.t = _v$2);
@@ -6461,7 +6114,7 @@ function GridListItem(props) {
6461
6114
  get children() {
6462
6115
  var _el$14 = _$getNextElement35(_tmpl$614);
6463
6116
  _$insert31(_el$14, local.icon);
6464
- _$effect31(() => _$className29(_el$14, `shrink-0 ${sizeStyle.icon}`));
6117
+ _$effect32(() => _$className29(_el$14, `shrink-0 ${sizeStyle.icon}`));
6465
6118
  return _el$14;
6466
6119
  }
6467
6120
  }), _$createComponent37(Show25, {
@@ -6488,7 +6141,7 @@ function GridListItem(props) {
6488
6141
  get children() {
6489
6142
  var _el$17 = _$getNextElement35(_tmpl$614);
6490
6143
  _$insert31(_el$17, () => local.description);
6491
- _$effect31(() => _$className29(_el$17, `text-primary-400 truncate ${sizeStyle.description}`));
6144
+ _$effect32(() => _$className29(_el$17, `text-primary-400 truncate ${sizeStyle.description}`));
6492
6145
  return _el$17;
6493
6146
  }
6494
6147
  }), _el$19, _co$5);
@@ -6514,14 +6167,14 @@ function GridListSelectionCheckbox(props) {
6514
6167
  function CheckIcon5(props) {
6515
6168
  return (() => {
6516
6169
  var _el$21 = _$getNextElement35(_tmpl$86);
6517
- _$effect31(() => _$setAttribute17(_el$21, "class", props.class));
6170
+ _$effect32(() => _$setAttribute17(_el$21, "class", props.class));
6518
6171
  return _el$21;
6519
6172
  })();
6520
6173
  }
6521
6174
  function EmptyIcon2(props) {
6522
6175
  return (() => {
6523
6176
  var _el$22 = _$getNextElement35(_tmpl$94);
6524
- _$effect31(() => _$setAttribute17(_el$22, "class", props.class));
6177
+ _$effect32(() => _$setAttribute17(_el$22, "class", props.class));
6525
6178
  return _el$22;
6526
6179
  })();
6527
6180
  }
@@ -6534,7 +6187,7 @@ import { setAttribute as _$setAttribute18 } from "solid-js/web";
6534
6187
  import { mergeProps as _$mergeProps33 } from "solid-js/web";
6535
6188
  import { memo as _$memo29 } from "solid-js/web";
6536
6189
  import { className as _$className30 } from "solid-js/web";
6537
- import { effect as _$effect32 } from "solid-js/web";
6190
+ import { effect as _$effect33 } from "solid-js/web";
6538
6191
  import { getNextElement as _$getNextElement36 } from "solid-js/web";
6539
6192
  import { getNextMarker as _$getNextMarker23 } from "solid-js/web";
6540
6193
  import { insert as _$insert32 } from "solid-js/web";
@@ -6652,7 +6305,7 @@ function Tree(props) {
6652
6305
  get children() {
6653
6306
  var _el$7 = _$getNextElement36(_tmpl$232);
6654
6307
  _$insert32(_el$7, () => local.label);
6655
- _$effect32(() => _$className30(_el$7, `text-primary-200 font-medium ${styles().label}`));
6308
+ _$effect33(() => _$className30(_el$7, `text-primary-200 font-medium ${styles().label}`));
6656
6309
  return _el$7;
6657
6310
  }
6658
6311
  }), _el$0, _co$2);
@@ -6719,7 +6372,7 @@ function TreeItem(props) {
6719
6372
  get children() {
6720
6373
  var _el$13 = _$getNextElement36(_tmpl$517);
6721
6374
  _$insert32(_el$13, local.icon);
6722
- _$effect32(() => _$className30(_el$13, `shrink-0 ${sizeStyle.icon}`));
6375
+ _$effect33(() => _$className30(_el$13, `shrink-0 ${sizeStyle.icon}`));
6723
6376
  return _el$13;
6724
6377
  }
6725
6378
  }), _$createComponent38(Show26, {
@@ -6753,7 +6406,7 @@ function TreeItem(props) {
6753
6406
  get children() {
6754
6407
  var _el$16 = _$getNextElement36(_tmpl$517);
6755
6408
  _$insert32(_el$16, () => local.description);
6756
- _$effect32(() => _$className30(_el$16, `text-primary-400 truncate ${sizeStyle.description}`));
6409
+ _$effect33(() => _$className30(_el$16, `text-primary-400 truncate ${sizeStyle.description}`));
6757
6410
  return _el$16;
6758
6411
  }
6759
6412
  }), _el$18, _co$5);
@@ -6809,7 +6462,7 @@ function TreeSelectionCheckbox(props) {
6809
6462
  function ChevronIcon5(props) {
6810
6463
  return (() => {
6811
6464
  var _el$20 = _$getNextElement36(_tmpl$713);
6812
- _$effect32(() => _$setAttribute18(_el$20, "class", props.class));
6465
+ _$effect33(() => _$setAttribute18(_el$20, "class", props.class));
6813
6466
  return _el$20;
6814
6467
  })();
6815
6468
  }
@@ -6820,28 +6473,28 @@ function FolderIcon(props) {
6820
6473
  var _c$2 = _$memo29(() => !!props.isOpen);
6821
6474
  return () => _c$2() ? _$getNextElement36(_tmpl$95) : _$getNextElement36(_tmpl$03);
6822
6475
  })());
6823
- _$effect32(() => _$setAttribute18(_el$21, "class", props.class));
6476
+ _$effect33(() => _$setAttribute18(_el$21, "class", props.class));
6824
6477
  return _el$21;
6825
6478
  })();
6826
6479
  }
6827
6480
  function FileIcon(props) {
6828
6481
  return (() => {
6829
6482
  var _el$24 = _$getNextElement36(_tmpl$110);
6830
- _$effect32(() => _$setAttribute18(_el$24, "class", props.class));
6483
+ _$effect33(() => _$setAttribute18(_el$24, "class", props.class));
6831
6484
  return _el$24;
6832
6485
  })();
6833
6486
  }
6834
6487
  function CheckIcon6(props) {
6835
6488
  return (() => {
6836
6489
  var _el$25 = _$getNextElement36(_tmpl$102);
6837
- _$effect32(() => _$setAttribute18(_el$25, "class", props.class));
6490
+ _$effect33(() => _$setAttribute18(_el$25, "class", props.class));
6838
6491
  return _el$25;
6839
6492
  })();
6840
6493
  }
6841
6494
  function EmptyTreeIcon(props) {
6842
6495
  return (() => {
6843
6496
  var _el$26 = _$getNextElement36(_tmpl$112);
6844
- _$effect32(() => _$setAttribute18(_el$26, "class", props.class));
6497
+ _$effect33(() => _$setAttribute18(_el$26, "class", props.class));
6845
6498
  return _el$26;
6846
6499
  })();
6847
6500
  }
@@ -6856,7 +6509,7 @@ import { runHydrationEvents as _$runHydrationEvents16 } from "solid-js/web";
6856
6509
  import { memo as _$memo30 } from "solid-js/web";
6857
6510
  import { getNextMarker as _$getNextMarker24 } from "solid-js/web";
6858
6511
  import { className as _$className31 } from "solid-js/web";
6859
- import { effect as _$effect33 } from "solid-js/web";
6512
+ import { effect as _$effect34 } from "solid-js/web";
6860
6513
  import { getNextElement as _$getNextElement37 } from "solid-js/web";
6861
6514
  import { insert as _$insert33 } from "solid-js/web";
6862
6515
  import { createComponent as _$createComponent39 } from "solid-js/web";
@@ -6969,7 +6622,7 @@ function ColorSlider(props) {
6969
6622
  get children() {
6970
6623
  var _el$2 = _$getNextElement37(_tmpl$89);
6971
6624
  _$insert33(_el$2, () => headlessProps.label);
6972
- _$effect33(() => _$className31(_el$2, `text-primary-200 font-medium ${styles().slider.label}`));
6625
+ _$effect34(() => _$className31(_el$2, `text-primary-200 font-medium ${styles().slider.label}`));
6973
6626
  return _el$2;
6974
6627
  }
6975
6628
  }), _el$5, _co$);
@@ -6980,7 +6633,7 @@ function ColorSlider(props) {
6980
6633
  get children() {
6981
6634
  var _el$3 = _$getNextElement37(_tmpl$89);
6982
6635
  _$insert33(_el$3, () => Math.round(renderProps.value));
6983
- _$effect33(() => _$className31(_el$3, `text-primary-400 ${styles().slider.label}`));
6636
+ _$effect34(() => _$className31(_el$3, `text-primary-400 ${styles().slider.label}`));
6984
6637
  return _el$3;
6985
6638
  }
6986
6639
  }), _el$7, _co$2);
@@ -7155,7 +6808,7 @@ function ColorField(props) {
7155
6808
  get children() {
7156
6809
  var _el$8 = _$getNextElement37(_tmpl$89);
7157
6810
  _$insert33(_el$8, () => headlessProps.label);
7158
- _$effect33(() => _$className31(_el$8, `text-primary-200 font-medium ${styles().field.label}`));
6811
+ _$effect34(() => _$className31(_el$8, `text-primary-200 font-medium ${styles().field.label}`));
7159
6812
  return _el$8;
7160
6813
  }
7161
6814
  }), _$createComponent39(ColorFieldInput, {
@@ -7234,7 +6887,7 @@ function ColorPicker(props) {
7234
6887
  get children() {
7235
6888
  var _el$11 = _$getNextElement37(_tmpl$89);
7236
6889
  _$insert33(_el$11, () => props.label);
7237
- _$effect33(() => _$className31(_el$11, `text-primary-200 font-medium ${styles().field.label}`));
6890
+ _$effect34(() => _$className31(_el$11, `text-primary-200 font-medium ${styles().field.label}`));
7238
6891
  return _el$11;
7239
6892
  }
7240
6893
  }), _el$13, _co$3);
@@ -7330,7 +6983,7 @@ function ColorPicker(props) {
7330
6983
  });
7331
6984
  }
7332
6985
  }), _el$19, _co$6);
7333
- _$effect33(() => _$className31(_el$10, `flex flex-col gap-4 ${props.class ?? ""}`));
6986
+ _$effect34(() => _$className31(_el$10, `flex flex-col gap-4 ${props.class ?? ""}`));
7334
6987
  return _el$10;
7335
6988
  })();
7336
6989
  }
@@ -7351,7 +7004,7 @@ import { setAttribute as _$setAttribute19 } from "solid-js/web";
7351
7004
  import { mergeProps as _$mergeProps35 } from "solid-js/web";
7352
7005
  import { memo as _$memo31 } from "solid-js/web";
7353
7006
  import { className as _$className32 } from "solid-js/web";
7354
- import { effect as _$effect34 } from "solid-js/web";
7007
+ import { effect as _$effect35 } from "solid-js/web";
7355
7008
  import { createComponent as _$createComponent40 } from "solid-js/web";
7356
7009
  import { getNextElement as _$getNextElement38 } from "solid-js/web";
7357
7010
  import { getNextMarker as _$getNextMarker25 } from "solid-js/web";
@@ -7413,7 +7066,7 @@ function Landmark(props) {
7413
7066
  return _el$2;
7414
7067
  }
7415
7068
  }), _el$9, _co$3);
7416
- _$effect34(() => _$className32(_el$, `absolute -top-3 left-2 px-2 py-0.5 text-xs font-medium rounded ${roleColors[role()]} text-primary-200`));
7069
+ _$effect35(() => _$className32(_el$, `absolute -top-3 left-2 px-2 py-0.5 text-xs font-medium rounded ${roleColors[role()]} text-primary-200`));
7417
7070
  return _el$;
7418
7071
  }
7419
7072
  }), _$memo31(() => props.children)];
@@ -7437,7 +7090,7 @@ function SkipLink(props) {
7437
7090
  var _el$0 = _$getNextElement38(_tmpl$330);
7438
7091
  _$className32(_el$0, className);
7439
7092
  _$insert34(_el$0, () => props.children ?? "Skip to main content");
7440
- _$effect34(() => _$setAttribute19(_el$0, "href", props.href));
7093
+ _$effect35(() => _$setAttribute19(_el$0, "href", props.href));
7441
7094
  return _el$0;
7442
7095
  })();
7443
7096
  }
@@ -7452,7 +7105,7 @@ function LandmarkNavigator(props) {
7452
7105
  _el$12.$$click = () => controller.focusPrevious();
7453
7106
  _el$13.$$click = () => controller.focusMain();
7454
7107
  _el$14.$$click = () => controller.focusNext();
7455
- _$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 ?? ""}`));
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 ?? ""}`));
7456
7109
  _$runHydrationEvents17();
7457
7110
  return _el$1;
7458
7111
  }
@@ -7464,7 +7117,7 @@ _$delegateEvents10(["click"]);
7464
7117
  import { template as _$template39 } from "solid-js/web";
7465
7118
  import { delegateEvents as _$delegateEvents11 } from "solid-js/web";
7466
7119
  import { className as _$className33 } from "solid-js/web";
7467
- import { effect as _$effect35 } from "solid-js/web";
7120
+ import { effect as _$effect36 } from "solid-js/web";
7468
7121
  import { runHydrationEvents as _$runHydrationEvents18 } from "solid-js/web";
7469
7122
  import { getNextMarker as _$getNextMarker26 } from "solid-js/web";
7470
7123
  import { createComponent as _$createComponent41 } from "solid-js/web";
@@ -7502,7 +7155,7 @@ function Chip(props) {
7502
7155
  }
7503
7156
  }), _el$5, _co$);
7504
7157
  _$insert35(_el$3, () => props.text);
7505
- _$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 ?? ""}`));
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 ?? ""}`));
7506
7159
  _$runHydrationEvents18();
7507
7160
  return _el$;
7508
7161
  })();
@@ -7519,7 +7172,7 @@ import { addEventListener as _$addEventListener6 } from "solid-js/web";
7519
7172
  import { insert as _$insert36 } from "solid-js/web";
7520
7173
  import { createComponent as _$createComponent42 } from "solid-js/web";
7521
7174
  import { setAttribute as _$setAttribute20 } from "solid-js/web";
7522
- import { effect as _$effect36 } from "solid-js/web";
7175
+ import { effect as _$effect37 } from "solid-js/web";
7523
7176
  import { getNextElement as _$getNextElement40 } from "solid-js/web";
7524
7177
  import { Show as Show30 } from "solid-js";
7525
7178
  var _tmpl$96 = /* @__PURE__ */ _$template40(`<img class="h-[42px] w-auto">`);
@@ -7547,7 +7200,7 @@ function NavHeader(props) {
7547
7200
  },
7548
7201
  get children() {
7549
7202
  var _el$3 = _$getNextElement40(_tmpl$96);
7550
- _$effect36((_p$) => {
7203
+ _$effect37((_p$) => {
7551
7204
  var _v$ = props.logo, _v$2 = props.logoAlt ?? "Logo";
7552
7205
  _v$ !== _p$.e && _$setAttribute20(_el$3, "src", _p$.e = _v$);
7553
7206
  _v$2 !== _p$.t && _$setAttribute20(_el$3, "alt", _p$.t = _v$2);
@@ -7572,7 +7225,7 @@ function NavHeader(props) {
7572
7225
  return _el$5;
7573
7226
  }
7574
7227
  }), _el$9, _co$2);
7575
- _$effect36(() => _$className34(_el$, `flex items-center bg-bg-400 h-[70px] border-b-4 border-accent-500 ${props.class ?? ""}`));
7228
+ _$effect37(() => _$className34(_el$, `flex items-center bg-bg-400 h-[70px] border-b-4 border-accent-500 ${props.class ?? ""}`));
7576
7229
  return _el$;
7577
7230
  })();
7578
7231
  }
@@ -7583,7 +7236,7 @@ import { template as _$template42 } from "solid-js/web";
7583
7236
  import { createComponent as _$createComponent43 } from "solid-js/web";
7584
7237
  import { mergeProps as _$mergeProps36 } from "solid-js/web";
7585
7238
  import { className as _$className36 } from "solid-js/web";
7586
- import { effect as _$effect38 } from "solid-js/web";
7239
+ import { effect as _$effect39 } from "solid-js/web";
7587
7240
  import { getNextElement as _$getNextElement42 } from "solid-js/web";
7588
7241
  import { getNextMarker as _$getNextMarker28 } from "solid-js/web";
7589
7242
  import { insert as _$insert38 } from "solid-js/web";
@@ -7593,7 +7246,7 @@ import { memo as _$memo32 } from "solid-js/web";
7593
7246
  import { template as _$template41 } from "solid-js/web";
7594
7247
  import { setAttribute as _$setAttribute21 } from "solid-js/web";
7595
7248
  import { className as _$className35 } from "solid-js/web";
7596
- import { effect as _$effect37 } from "solid-js/web";
7249
+ import { effect as _$effect38 } from "solid-js/web";
7597
7250
  import { getNextElement as _$getNextElement41 } from "solid-js/web";
7598
7251
  import { insert as _$insert37 } from "solid-js/web";
7599
7252
  var _tmpl$97 = /* @__PURE__ */ _$template41(`<span><span class=vui-logo__first></span><span class=vui-logo__second>`);
@@ -7617,7 +7270,7 @@ function Logo(props) {
7617
7270
  var _el$ = _$getNextElement41(_tmpl$97), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
7618
7271
  _$insert37(_el$2, firstWord);
7619
7272
  _$insert37(_el$3, secondWord);
7620
- _$effect37((_p$) => {
7273
+ _$effect38((_p$) => {
7621
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();
7622
7275
  _v$ !== _p$.e && _$className35(_el$, _p$.e = _v$);
7623
7276
  _v$2 !== _p$.t && _$setAttribute21(_el$2, "data-text", _p$.t = _v$2);
@@ -7646,7 +7299,7 @@ function Header(props) {
7646
7299
  }, () => props.logoProps ?? {})));
7647
7300
  })(), _el$7, _co$2);
7648
7301
  _$insert38(_el$8, () => props.children);
7649
- _$effect38(() => _$className36(_el$, `vui-header ${props.class ?? ""}`));
7302
+ _$effect39(() => _$className36(_el$, `vui-header ${props.class ?? ""}`));
7650
7303
  return _el$;
7651
7304
  })();
7652
7305
  }
@@ -7656,7 +7309,7 @@ import { template as _$template43 } from "solid-js/web";
7656
7309
  import { createComponent as _$createComponent44 } from "solid-js/web";
7657
7310
  import { setAttribute as _$setAttribute22 } from "solid-js/web";
7658
7311
  import { className as _$className37 } from "solid-js/web";
7659
- import { effect as _$effect39 } from "solid-js/web";
7312
+ import { effect as _$effect40 } from "solid-js/web";
7660
7313
  import { getNextElement as _$getNextElement43 } from "solid-js/web";
7661
7314
  import { getNextMarker as _$getNextMarker29 } from "solid-js/web";
7662
7315
  import { insert as _$insert39 } from "solid-js/web";
@@ -7671,7 +7324,7 @@ function NavItem(props) {
7671
7324
  var _el$ = _$getNextElement43(_tmpl$99), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, [_el$4, _co$] = _$getNextMarker29(_el$3.nextSibling);
7672
7325
  _$insert39(_el$2, () => props.title);
7673
7326
  _$insert39(_el$, () => props.children, _el$4, _co$);
7674
- _$effect39(() => _$className37(_el$, `flex items-center ${props.class ?? ""}`));
7327
+ _$effect40(() => _$className37(_el$, `flex items-center ${props.class ?? ""}`));
7675
7328
  return _el$;
7676
7329
  })();
7677
7330
  }
@@ -7681,7 +7334,7 @@ function NavLink(props) {
7681
7334
  return (() => {
7682
7335
  var _el$5 = _$getNextElement43(_tmpl$237);
7683
7336
  _$insert39(_el$5, () => props.children);
7684
- _$effect39((_p$) => {
7337
+ _$effect40((_p$) => {
7685
7338
  var _v$ = props.href, _v$2 = `${props.active ? activeStyles : inactiveStyles} ${props.class ?? ""}`;
7686
7339
  _v$ !== _p$.e && _$setAttribute22(_el$5, "href", _p$.e = _v$);
7687
7340
  _v$2 !== _p$.t && _$className37(_el$5, _p$.t = _v$2);
@@ -7729,7 +7382,7 @@ function NavSection(props) {
7729
7382
  }
7730
7383
  }), _el$1, _co$2);
7731
7384
  _$insert39(_el$9, () => props.children, _el$11, _co$3);
7732
- _$effect39(() => _$className37(_el$6, props.class ?? ""));
7385
+ _$effect40(() => _$className37(_el$6, props.class ?? ""));
7733
7386
  return _el$6;
7734
7387
  })();
7735
7388
  }
@@ -7738,7 +7391,7 @@ function LateralNav(props) {
7738
7391
  return (() => {
7739
7392
  var _el$15 = _$getNextElement43(_tmpl$519);
7740
7393
  _$insert39(_el$15, () => props.children);
7741
- _$effect39(() => _$className37(_el$15, `hidden w-[300px] md:block ${bgColor()} m-0 border-r border-primary-600 p-3 ${props.class ?? ""}`));
7394
+ _$effect40(() => _$className37(_el$15, `hidden w-[300px] md:block ${bgColor()} m-0 border-r border-primary-600 p-3 ${props.class ?? ""}`));
7742
7395
  return _el$15;
7743
7396
  })();
7744
7397
  }
@@ -7746,7 +7399,7 @@ function LateralNav(props) {
7746
7399
  // src/custom/timeline-item/index.tsx
7747
7400
  import { template as _$template44 } from "solid-js/web";
7748
7401
  import { className as _$className38 } from "solid-js/web";
7749
- import { effect as _$effect40 } from "solid-js/web";
7402
+ import { effect as _$effect41 } from "solid-js/web";
7750
7403
  import { getNextMarker as _$getNextMarker30 } from "solid-js/web";
7751
7404
  import { createComponent as _$createComponent45 } from "solid-js/web";
7752
7405
  import { getNextElement as _$getNextElement44 } from "solid-js/web";
@@ -7860,7 +7513,7 @@ function TimelineItem(props) {
7860
7513
  return renderMessage();
7861
7514
  }
7862
7515
  }));
7863
- _$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 ?? ""}`));
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 ?? ""}`));
7864
7517
  return _el$9;
7865
7518
  })();
7866
7519
  }
@@ -7869,7 +7522,7 @@ function TimelineItem(props) {
7869
7522
  import { template as _$template45 } from "solid-js/web";
7870
7523
  import { delegateEvents as _$delegateEvents13 } from "solid-js/web";
7871
7524
  import { className as _$className39 } from "solid-js/web";
7872
- import { effect as _$effect41 } from "solid-js/web";
7525
+ import { effect as _$effect42 } from "solid-js/web";
7873
7526
  import { runHydrationEvents as _$runHydrationEvents20 } from "solid-js/web";
7874
7527
  import { memo as _$memo33 } from "solid-js/web";
7875
7528
  import { getNextMarker as _$getNextMarker31 } from "solid-js/web";
@@ -7932,7 +7585,7 @@ function ConversationPreview(props) {
7932
7585
  return _el$1;
7933
7586
  }
7934
7587
  }), _el$13, _co$4);
7935
- _$effect41(() => _$className39(_el$, `flex w-full items-center gap-3 rounded-xl p-3 hover:bg-bg-300 transition-colors text-left ${props.class ?? ""}`));
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 ?? ""}`));
7936
7589
  _$runHydrationEvents20();
7937
7590
  return _el$;
7938
7591
  })();
@@ -7949,11 +7602,11 @@ function ConversationBubble(props) {
7949
7602
  get children() {
7950
7603
  var _el$17 = _$getNextElement45(_tmpl$520);
7951
7604
  _$insert41(_el$17, () => props.timestamp);
7952
- _$effect41(() => _$className39(_el$17, `text-xs ${isUser() ? "text-white/70" : "text-primary-500"}`));
7605
+ _$effect42(() => _$className39(_el$17, `text-xs ${isUser() ? "text-white/70" : "text-primary-500"}`));
7953
7606
  return _el$17;
7954
7607
  }
7955
7608
  }), _el$19, _co$5);
7956
- _$effect41((_p$) => {
7609
+ _$effect42((_p$) => {
7957
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"}`;
7958
7611
  _v$ !== _p$.e && _$className39(_el$14, _p$.e = _v$);
7959
7612
  _v$2 !== _p$.t && _$className39(_el$15, _p$.t = _v$2);
@@ -7984,7 +7637,7 @@ function Conversation(props) {
7984
7637
  }
7985
7638
  })
7986
7639
  }));
7987
- _$effect41(() => _$className39(_el$20, `flex flex-col gap-2 p-4 ${props.class ?? ""}`));
7640
+ _$effect42(() => _$className39(_el$20, `flex flex-col gap-2 p-4 ${props.class ?? ""}`));
7988
7641
  return _el$20;
7989
7642
  })();
7990
7643
  }
@@ -7993,7 +7646,7 @@ _$delegateEvents13(["click"]);
7993
7646
  // src/custom/profile-card/index.tsx
7994
7647
  import { template as _$template46 } from "solid-js/web";
7995
7648
  import { className as _$className40 } from "solid-js/web";
7996
- import { effect as _$effect42 } from "solid-js/web";
7649
+ import { effect as _$effect43 } from "solid-js/web";
7997
7650
  import { memo as _$memo34 } from "solid-js/web";
7998
7651
  import { getNextMarker as _$getNextMarker32 } from "solid-js/web";
7999
7652
  import { getNextElement as _$getNextElement46 } from "solid-js/web";
@@ -8066,7 +7719,7 @@ function ProfileCard(props) {
8066
7719
  return _el$17;
8067
7720
  }
8068
7721
  }), _el$19, _co$5);
8069
- _$effect42(() => _$className40(_el$, `bg-bg-200 rounded-xl p-4 ${props.class ?? ""}`));
7722
+ _$effect43(() => _$className40(_el$, `bg-bg-200 rounded-xl p-4 ${props.class ?? ""}`));
8070
7723
  return _el$;
8071
7724
  })();
8072
7725
  }
@@ -8082,7 +7735,7 @@ import { memo as _$memo35 } from "solid-js/web";
8082
7735
  import { insert as _$insert43 } from "solid-js/web";
8083
7736
  import { createComponent as _$createComponent48 } from "solid-js/web";
8084
7737
  import { setAttribute as _$setAttribute23 } from "solid-js/web";
8085
- import { effect as _$effect43 } from "solid-js/web";
7738
+ import { effect as _$effect44 } from "solid-js/web";
8086
7739
  import { getNextElement as _$getNextElement47 } from "solid-js/web";
8087
7740
  import { Show as Show35, For as For5 } from "solid-js";
8088
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">`);
@@ -8112,7 +7765,7 @@ function EventCard(props) {
8112
7765
  },
8113
7766
  get children() {
8114
7767
  var _el$2 = _$getNextElement47(_tmpl$104), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling;
8115
- _$effect43((_p$) => {
7768
+ _$effect44((_p$) => {
8116
7769
  var _v$ = props.decorationImage, _v$2 = props.decorationImage, _v$3 = props.decorationImage;
8117
7770
  _v$ !== _p$.e && _$setAttribute23(_el$3, "src", _p$.e = _v$);
8118
7771
  _v$2 !== _p$.t && _$setAttribute23(_el$4, "src", _p$.t = _v$2);
@@ -8132,7 +7785,7 @@ function EventCard(props) {
8132
7785
  },
8133
7786
  get children() {
8134
7787
  var _el$6 = _$getNextElement47(_tmpl$241), _el$7 = _el$6.firstChild;
8135
- _$effect43((_p$) => {
7788
+ _$effect44((_p$) => {
8136
7789
  var _v$4 = props.image, _v$5 = props.title;
8137
7790
  _v$4 !== _p$.e && _$setAttribute23(_el$7, "src", _p$.e = _v$4);
8138
7791
  _v$5 !== _p$.t && _$setAttribute23(_el$7, "alt", _p$.t = _v$5);
@@ -8220,7 +7873,7 @@ function EventCard(props) {
8220
7873
  return _el$28;
8221
7874
  }
8222
7875
  }), _el$34, _co$7);
8223
- _$effect43(() => _$className41(_el$, `relative bg-bg-200 rounded-3xl overflow-hidden ${props.class ?? ""}`));
7876
+ _$effect44(() => _$className41(_el$, `relative bg-bg-200 rounded-3xl overflow-hidden ${props.class ?? ""}`));
8224
7877
  return _el$;
8225
7878
  })();
8226
7879
  }
@@ -8234,7 +7887,7 @@ function EventListItem(props) {
8234
7887
  },
8235
7888
  get children() {
8236
7889
  var _el$40 = _$getNextElement47(_tmpl$04), _el$41 = _el$40.firstChild;
8237
- _$effect43((_p$) => {
7890
+ _$effect44((_p$) => {
8238
7891
  var _v$6 = props.image, _v$7 = props.title;
8239
7892
  _v$6 !== _p$.e && _$setAttribute23(_el$41, "src", _p$.e = _v$6);
8240
7893
  _v$7 !== _p$.t && _$setAttribute23(_el$41, "alt", _p$.t = _v$7);
@@ -8257,7 +7910,7 @@ function EventListItem(props) {
8257
7910
  return _el$44;
8258
7911
  }
8259
7912
  }), _el$46, _co$0);
8260
- _$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 ?? ""}`));
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 ?? ""}`));
8261
7914
  _$runHydrationEvents21();
8262
7915
  return _el$39;
8263
7916
  })();
@@ -8272,7 +7925,7 @@ import { insert as _$insert44 } from "solid-js/web";
8272
7925
  import { memo as _$memo36 } from "solid-js/web";
8273
7926
  import { createComponent as _$createComponent49 } from "solid-js/web";
8274
7927
  import { setAttribute as _$setAttribute24 } from "solid-js/web";
8275
- import { effect as _$effect44 } from "solid-js/web";
7928
+ import { effect as _$effect45 } from "solid-js/web";
8276
7929
  import { getNextElement as _$getNextElement48 } from "solid-js/web";
8277
7930
  import { Show as Show36, For as For6 } from "solid-js";
8278
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">`);
@@ -8296,7 +7949,7 @@ function CalendarCard(props) {
8296
7949
  },
8297
7950
  get children() {
8298
7951
  var _el$2 = _$getNextElement48(_tmpl$106), _el$3 = _el$2.firstChild;
8299
- _$effect44((_p$) => {
7952
+ _$effect45((_p$) => {
8300
7953
  var _v$ = props.image, _v$2 = props.title;
8301
7954
  _v$ !== _p$.e && _$setAttribute24(_el$3, "src", _p$.e = _v$);
8302
7955
  _v$2 !== _p$.t && _$setAttribute24(_el$3, "alt", _p$.t = _v$2);
@@ -8358,7 +8011,7 @@ function CalendarCard(props) {
8358
8011
  return _el$0;
8359
8012
  }
8360
8013
  }), _el$21, _co$4);
8361
- _$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 ?? ""}`));
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 ?? ""}`));
8362
8015
  return _el$;
8363
8016
  })();
8364
8017
  }
@@ -8367,7 +8020,7 @@ function CalendarCard(props) {
8367
8020
  import { template as _$template49 } from "solid-js/web";
8368
8021
  import { className as _$className43 } from "solid-js/web";
8369
8022
  import { setAttribute as _$setAttribute25 } from "solid-js/web";
8370
- import { effect as _$effect45 } from "solid-js/web";
8023
+ import { effect as _$effect46 } from "solid-js/web";
8371
8024
  import { getNextElement as _$getNextElement49 } from "solid-js/web";
8372
8025
  import { insert as _$insert45 } from "solid-js/web";
8373
8026
  var _tmpl$107 = /* @__PURE__ */ _$template49(`<div class=vui-project-card__tooltip><span>`);
@@ -8383,7 +8036,7 @@ function ProjectCard(props) {
8383
8036
  return _el$;
8384
8037
  })(), (() => {
8385
8038
  var _el$3 = _$getNextElement49(_tmpl$243);
8386
- _$effect45((_p$) => {
8039
+ _$effect46((_p$) => {
8387
8040
  var _v$ = props.imageSrc, _v$2 = props.imageAlt ?? props.name;
8388
8041
  _v$ !== _p$.e && _$setAttribute25(_el$3, "src", _p$.e = _v$);
8389
8042
  _v$2 !== _p$.t && _$setAttribute25(_el$3, "alt", _p$.t = _v$2);
@@ -8399,7 +8052,7 @@ function ProjectCard(props) {
8399
8052
  return (() => {
8400
8053
  var _el$4 = _$getNextElement49(_tmpl$337);
8401
8054
  _$insert45(_el$4, cardContent);
8402
- _$effect45((_p$) => {
8055
+ _$effect46((_p$) => {
8403
8056
  var _v$3 = props.href, _v$4 = cardClasses();
8404
8057
  _v$3 !== _p$.e && _$setAttribute25(_el$4, "href", _p$.e = _v$3);
8405
8058
  _v$4 !== _p$.t && _$className43(_el$4, _p$.t = _v$4);
@@ -8414,7 +8067,7 @@ function ProjectCard(props) {
8414
8067
  return (() => {
8415
8068
  var _el$5 = _$getNextElement49(_tmpl$432);
8416
8069
  _$insert45(_el$5, cardContent);
8417
- _$effect45(() => _$className43(_el$5, cardClasses()));
8070
+ _$effect46(() => _$className43(_el$5, cardClasses()));
8418
8071
  return _el$5;
8419
8072
  })();
8420
8073
  }
@@ -8579,4 +8232,4 @@ export {
8579
8232
  useLandmarkController,
8580
8233
  useToastContext
8581
8234
  };
8582
- //# sourceMappingURL=index.js.map
8235
+ //# sourceMappingURL=index.js.map