@typlog/ui 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components.js CHANGED
@@ -3,7 +3,7 @@ import { createContext, TooltipProvider, Primitive, useForwardProps, useEmitAsPr
3
3
  import { AlertDialogAction, AlertDialogCancel, AlertDialogRoot, AlertDialogTrigger, CheckboxGroupRoot, ComboboxGroup, DialogClose, DialogRoot, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, PopoverClose, PopoverRoot, PopoverTrigger, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
4
4
  import { Icon } from "@iconify/vue";
5
5
  const [injectThemeContext, provideThemeContext] = createContext("ThemeProvider");
6
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
6
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
7
7
  __name: "ThemeProvider",
8
8
  props: {
9
9
  accentColor: { default: "indigo" },
@@ -111,7 +111,7 @@ function kebabize(str) {
111
111
  function _kebabReplace(str, ofs) {
112
112
  return (ofs ? "-" : "") + str.toLowerCase();
113
113
  }
114
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
114
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
115
115
  __name: "Avatar",
116
116
  props: {
117
117
  alt: {},
@@ -171,7 +171,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
171
171
  };
172
172
  }
173
173
  });
174
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
174
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
175
175
  __name: "Badge",
176
176
  props: {
177
177
  variant: { default: "soft" },
@@ -201,7 +201,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
201
201
  };
202
202
  }
203
203
  });
204
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
204
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
205
205
  __name: "Card",
206
206
  props: {
207
207
  variant: { default: "surface" },
@@ -228,7 +228,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
228
228
  };
229
229
  }
230
230
  });
231
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
231
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
232
232
  __name: "Button",
233
233
  props: {
234
234
  variant: { default: "solid" },
@@ -261,7 +261,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
261
261
  };
262
262
  }
263
263
  });
264
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
264
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
265
265
  __name: "IconButton",
266
266
  props: {
267
267
  variant: { default: "solid" },
@@ -294,6 +294,55 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
294
294
  };
295
295
  }
296
296
  });
297
+ const _hoisted_1$u = {
298
+ viewBox: "0 0 15 15",
299
+ width: "1em",
300
+ height: "1em"
301
+ };
302
+ function render$8(_ctx, _cache) {
303
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _cache[0] || (_cache[0] = [
304
+ createElementVNode("path", {
305
+ fill: "currentColor",
306
+ "fill-rule": "evenodd",
307
+ d: "M11.782 4.032a.575.575 0 1 0-.813-.814L7.5 6.687L4.032 3.218a.575.575 0 0 0-.814.814L6.687 7.5l-3.469 3.468a.575.575 0 0 0 .814.814L7.5 8.313l3.469 3.469a.575.575 0 0 0 .813-.814L8.313 7.5z",
308
+ "clip-rule": "evenodd"
309
+ }, null, -1)
310
+ ]));
311
+ }
312
+ const CrossIcon = markRaw({ name: "radix-icons-cross-2", render: render$8 });
313
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
314
+ __name: "CloseButton",
315
+ props: {
316
+ variant: { default: "ghost" },
317
+ color: { default: "gray" },
318
+ radius: {},
319
+ size: { default: "2" },
320
+ highContrast: { type: Boolean, default: false },
321
+ disabled: { type: Boolean },
322
+ as: { default: "button" },
323
+ asChild: { type: Boolean }
324
+ },
325
+ setup(__props) {
326
+ const props = __props;
327
+ const resetClass = buildPropsClass(props, ["size", "variant", "highContrast"]);
328
+ return (_ctx, _cache) => {
329
+ return openBlock(), createBlock(unref(Primitive), {
330
+ class: normalizeClass(["ui-Button ui-CloseButton", unref(resetClass)]),
331
+ "as-child": props.asChild,
332
+ as: props.as,
333
+ "data-accent-color": props.color,
334
+ "data-radius": props.radius,
335
+ "data-disabled": props.disabled ? true : void 0,
336
+ disabled: props.disabled && props.as === "button" ? true : void 0
337
+ }, {
338
+ default: withCtx(() => [
339
+ createVNode(unref(CrossIcon))
340
+ ]),
341
+ _: 1
342
+ }, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled", "disabled"]);
343
+ };
344
+ }
345
+ });
297
346
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
298
347
  __name: "ScrollArea",
299
348
  props: {
@@ -430,7 +479,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
430
479
  };
431
480
  }
432
481
  });
433
- const _hoisted_1$u = { class: "ui-DialogWrapper" };
482
+ const _hoisted_1$t = { class: "ui-DialogWrapper" };
434
483
  const _hoisted_2$8 = { class: "ui-DialogContainer" };
435
484
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
436
485
  ...{
@@ -456,7 +505,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
456
505
  default: withCtx(() => [
457
506
  createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
458
507
  default: withCtx(() => [
459
- createElementVNode("div", _hoisted_1$u, [
508
+ createElementVNode("div", _hoisted_1$t, [
460
509
  createElementVNode("div", _hoisted_2$8, [
461
510
  createVNode(unref(DialogContent), mergeProps({
462
511
  class: ["ui-DialogPopup", `r-size-${props.size}`]
@@ -483,7 +532,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
483
532
  };
484
533
  }
485
534
  });
486
- const _hoisted_1$t = { class: "ui-DialogWrapper" };
535
+ const _hoisted_1$s = { class: "ui-DialogWrapper" };
487
536
  const _hoisted_2$7 = { class: "ui-DialogContainer" };
488
537
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
489
538
  ...{
@@ -508,7 +557,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
508
557
  default: withCtx(() => [
509
558
  createVNode(unref(AlertDialogOverlay), { class: "ui-DialogOverlay" }, {
510
559
  default: withCtx(() => [
511
- createElementVNode("div", _hoisted_1$t, [
560
+ createElementVNode("div", _hoisted_1$s, [
512
561
  createElementVNode("div", _hoisted_2$7, [
513
562
  createVNode(unref(AlertDialogContent), mergeProps({ class: "ui-DialogPopup ui-AlertPopup r-size-3" }, {
514
563
  ..._ctx.$attrs,
@@ -533,7 +582,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
533
582
  };
534
583
  }
535
584
  });
536
- const _hoisted_1$s = { class: "ui-MenuViewport" };
585
+ const _hoisted_1$r = { class: "ui-MenuViewport" };
537
586
  const [injectDropdownMenuContentContext, provideDropdownMenuContentContext] = createContext("ui:DropdownMenuContent");
538
587
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
539
588
  ...{
@@ -599,7 +648,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
599
648
  default: withCtx(() => [
600
649
  createVNode(_sfc_main$V, { type: "auto" }, {
601
650
  default: withCtx(() => [
602
- createElementVNode("div", _hoisted_1$s, [
651
+ createElementVNode("div", _hoisted_1$r, [
603
652
  renderSlot(_ctx.$slots, "default")
604
653
  ])
605
654
  ]),
@@ -617,7 +666,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
617
666
  };
618
667
  }
619
668
  });
620
- const _hoisted_1$r = ["textContent"];
669
+ const _hoisted_1$q = ["textContent"];
621
670
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
622
671
  __name: "DropdownMenuItem",
623
672
  props: {
@@ -648,7 +697,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
648
697
  key: 0,
649
698
  class: "ui-MenuShortcut",
650
699
  textContent: toDisplayString(props.shortcut)
651
- }, null, 8, _hoisted_1$r)) : createCommentVNode("", true)
700
+ }, null, 8, _hoisted_1$q)) : createCommentVNode("", true)
652
701
  ]),
653
702
  _: 3
654
703
  }, 16, ["data-accent-color", "data-variant", "data-high-contrast"]);
@@ -663,12 +712,12 @@ const _export_sfc = (sfc, props) => {
663
712
  return target;
664
713
  };
665
714
  const _sfc_main$N = {};
666
- const _hoisted_1$q = {
715
+ const _hoisted_1$p = {
667
716
  class: "ui-DropdownMenuSeparator",
668
717
  "aria-hidden": "true"
669
718
  };
670
719
  function _sfc_render$2(_ctx, _cache) {
671
- return openBlock(), createElementBlock("div", _hoisted_1$q);
720
+ return openBlock(), createElementBlock("div", _hoisted_1$p);
672
721
  }
673
722
  const DropdownMenuSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$2]]);
674
723
  const _sfc_main$M = /* @__PURE__ */ defineComponent({
@@ -765,7 +814,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
765
814
  };
766
815
  }
767
816
  });
768
- const _hoisted_1$p = {
817
+ const _hoisted_1$o = {
769
818
  width: "9",
770
819
  height: "9",
771
820
  viewBox: "0 0 9 9",
@@ -818,7 +867,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
818
867
  "as-child": ""
819
868
  }, {
820
869
  default: withCtx(() => [
821
- (openBlock(), createElementBlock("svg", _hoisted_1$p, [
870
+ (openBlock(), createElementBlock("svg", _hoisted_1$o, [
822
871
  state === "indeterminate" ? (openBlock(), createElementBlock("path", _hoisted_2$6)) : (openBlock(), createElementBlock("path", _hoisted_3$2))
823
872
  ]))
824
873
  ]),
@@ -928,7 +977,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
928
977
  };
929
978
  }
930
979
  });
931
- const _hoisted_1$o = ["data-radius", "data-accent-color"];
980
+ const _hoisted_1$n = ["data-radius", "data-accent-color"];
932
981
  const _hoisted_2$5 = ["id", "type"];
933
982
  const _hoisted_3$1 = ["id", "type"];
934
983
  const _hoisted_4 = {
@@ -1021,11 +1070,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1021
1070
  _ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_5, [
1022
1071
  renderSlot(_ctx.$slots, "right")
1023
1072
  ])) : createCommentVNode("", true)
1024
- ], 42, _hoisted_1$o);
1073
+ ], 42, _hoisted_1$n);
1025
1074
  };
1026
1075
  }
1027
1076
  });
1028
- const _hoisted_1$n = ["data-accent-color", "data-radius"];
1077
+ const _hoisted_1$m = ["data-accent-color", "data-radius"];
1029
1078
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
1030
1079
  ...{
1031
1080
  inheritAttrs: false
@@ -1060,11 +1109,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1060
1109
  }, _ctx.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1061
1110
  [vModelText, modelValue.value]
1062
1111
  ])
1063
- ], 10, _hoisted_1$n);
1112
+ ], 10, _hoisted_1$m);
1064
1113
  };
1065
1114
  }
1066
1115
  });
1067
- const _hoisted_1$m = ["id"];
1116
+ const _hoisted_1$l = ["id"];
1068
1117
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
1069
1118
  __name: "ColorField",
1070
1119
  props: /* @__PURE__ */ mergeModels({
@@ -1101,7 +1150,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1101
1150
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
1102
1151
  class: "ui-ColorFieldInput",
1103
1152
  type: "color"
1104
- }, null, 8, _hoisted_1$m), [
1153
+ }, null, 8, _hoisted_1$l), [
1105
1154
  [vModelText, modelValue.value]
1106
1155
  ])
1107
1156
  ]),
@@ -1256,13 +1305,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
1256
1305
  };
1257
1306
  }
1258
1307
  });
1259
- const _hoisted_1$l = {
1308
+ const _hoisted_1$k = {
1260
1309
  viewBox: "0 0 15 15",
1261
1310
  width: "1em",
1262
1311
  height: "1em"
1263
1312
  };
1264
- function render$8(_ctx, _cache) {
1265
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _cache[0] || (_cache[0] = [
1313
+ function render$7(_ctx, _cache) {
1314
+ return openBlock(), createElementBlock("svg", _hoisted_1$k, _cache[0] || (_cache[0] = [
1266
1315
  createElementVNode("path", {
1267
1316
  fill: "currentColor",
1268
1317
  "fill-rule": "evenodd",
@@ -1271,8 +1320,8 @@ function render$8(_ctx, _cache) {
1271
1320
  }, null, -1)
1272
1321
  ]));
1273
1322
  }
1274
- const ChevronDownIcon = markRaw({ name: "radix-icons-chevron-down", render: render$8 });
1275
- const _hoisted_1$k = { class: "ui-SelectTriggerInner" };
1323
+ const ChevronDownIcon = markRaw({ name: "radix-icons-chevron-down", render: render$7 });
1324
+ const _hoisted_1$j = { class: "ui-SelectTriggerInner" };
1276
1325
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
1277
1326
  __name: "SelectTrigger",
1278
1327
  props: {
@@ -1298,7 +1347,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
1298
1347
  "data-radius": props.radius
1299
1348
  }, {
1300
1349
  default: withCtx(() => [
1301
- createElementVNode("span", _hoisted_1$k, [
1350
+ createElementVNode("span", _hoisted_1$j, [
1302
1351
  createVNode(unref(SelectValue), {
1303
1352
  placeholder: props.placeholder
1304
1353
  }, {
@@ -1323,13 +1372,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
1323
1372
  };
1324
1373
  }
1325
1374
  });
1326
- const _hoisted_1$j = {
1375
+ const _hoisted_1$i = {
1327
1376
  viewBox: "0 0 15 15",
1328
1377
  width: "1em",
1329
1378
  height: "1em"
1330
1379
  };
1331
- function render$7(_ctx, _cache) {
1332
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _cache[0] || (_cache[0] = [
1380
+ function render$6(_ctx, _cache) {
1381
+ return openBlock(), createElementBlock("svg", _hoisted_1$i, _cache[0] || (_cache[0] = [
1333
1382
  createElementVNode("path", {
1334
1383
  fill: "currentColor",
1335
1384
  "fill-rule": "evenodd",
@@ -1338,7 +1387,7 @@ function render$7(_ctx, _cache) {
1338
1387
  }, null, -1)
1339
1388
  ]));
1340
1389
  }
1341
- const CheckIcon$1 = markRaw({ name: "radix-icons-check", render: render$7 });
1390
+ const CheckIcon$1 = markRaw({ name: "radix-icons-check", render: render$6 });
1342
1391
  const _sfc_main$A = /* @__PURE__ */ defineComponent({
1343
1392
  __name: "SelectItem",
1344
1393
  props: {
@@ -1395,12 +1444,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
1395
1444
  }
1396
1445
  });
1397
1446
  const _sfc_main$y = {};
1398
- const _hoisted_1$i = {
1447
+ const _hoisted_1$h = {
1399
1448
  class: "ui-SelectSeparator",
1400
1449
  "aria-hidden": "true"
1401
1450
  };
1402
1451
  function _sfc_render$1(_ctx, _cache) {
1403
- return openBlock(), createElementBlock("div", _hoisted_1$i);
1452
+ return openBlock(), createElementBlock("div", _hoisted_1$h);
1404
1453
  }
1405
1454
  const SelectSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$1]]);
1406
1455
  const [injectComboboxRootContext, provideComboboxRootContext] = createContext("ui:ComboboxRoot");
@@ -1453,22 +1502,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1453
1502
  };
1454
1503
  }
1455
1504
  });
1456
- const _hoisted_1$h = {
1457
- viewBox: "0 0 15 15",
1458
- width: "1em",
1459
- height: "1em"
1460
- };
1461
- function render$6(_ctx, _cache) {
1462
- return openBlock(), createElementBlock("svg", _hoisted_1$h, _cache[0] || (_cache[0] = [
1463
- createElementVNode("path", {
1464
- fill: "currentColor",
1465
- "fill-rule": "evenodd",
1466
- d: "M11.782 4.032a.575.575 0 1 0-.813-.814L7.5 6.687L4.032 3.218a.575.575 0 0 0-.814.814L6.687 7.5l-3.469 3.468a.575.575 0 0 0 .814.814L7.5 8.313l3.469 3.469a.575.575 0 0 0 .813-.814L8.313 7.5z",
1467
- "clip-rule": "evenodd"
1468
- }, null, -1)
1469
- ]));
1470
- }
1471
- const CrossIcon = markRaw({ name: "radix-icons-cross-2", render: render$6 });
1472
1505
  const _hoisted_1$g = {
1473
1506
  key: 0,
1474
1507
  class: "ui-ComboboxValues"
@@ -2444,7 +2477,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2444
2477
  return openBlock(), createElementBlock("div", {
2445
2478
  class: normalizeClass(["ui-Pagination", unref(resetClass)])
2446
2479
  }, [
2447
- pagination.value.prev ? (openBlock(), createBlock(_sfc_main$W, mergeProps({ key: 0 }, buttonProps.value, {
2480
+ pagination.value.prev ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 0 }, buttonProps.value, {
2448
2481
  "aria-label": "Previous",
2449
2482
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectPage(pagination.value.prev), ["prevent"]))
2450
2483
  }), {
@@ -2457,7 +2490,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2457
2490
  ]),
2458
2491
  _: 3
2459
2492
  }, 16)) : createCommentVNode("", true),
2460
- createVNode(_sfc_main$X, mergeProps(buttonProps.value, {
2493
+ createVNode(_sfc_main$Y, mergeProps(buttonProps.value, {
2461
2494
  disabled: page.value === 1,
2462
2495
  "aria-current": "page",
2463
2496
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectPage(1), ["prevent"]))
@@ -2469,7 +2502,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2469
2502
  ]),
2470
2503
  _: 3
2471
2504
  }, 16, ["disabled"]),
2472
- pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$W, mergeProps({ key: 1 }, buttonProps.value, {
2505
+ pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 1 }, buttonProps.value, {
2473
2506
  onClick: withModifiers(selectLeft, ["prevent"])
2474
2507
  }), {
2475
2508
  default: withCtx(() => [
@@ -2482,7 +2515,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2482
2515
  _: 3
2483
2516
  }, 16)) : createCommentVNode("", true),
2484
2517
  (openBlock(true), createElementBlock(Fragment, null, renderList(pagination.value.pageList, (p) => {
2485
- return openBlock(), createBlock(_sfc_main$X, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
2518
+ return openBlock(), createBlock(_sfc_main$Y, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
2486
2519
  disabled: p === page.value,
2487
2520
  "aria-current": "page",
2488
2521
  onClick: withModifiers(($event) => selectPage(p), ["prevent"])
@@ -2495,7 +2528,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2495
2528
  _: 2
2496
2529
  }, 1040, ["disabled", "onClick"]);
2497
2530
  }), 128)),
2498
- pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$W, mergeProps({ key: 2 }, buttonProps.value, {
2531
+ pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 2 }, buttonProps.value, {
2499
2532
  onClick: withModifiers(selectRight, ["prevent"])
2500
2533
  }), {
2501
2534
  default: withCtx(() => [
@@ -2507,7 +2540,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2507
2540
  ]),
2508
2541
  _: 3
2509
2542
  }, 16)) : createCommentVNode("", true),
2510
- pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 3 }, buttonProps.value, {
2543
+ pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$Y, mergeProps({ key: 3 }, buttonProps.value, {
2511
2544
  disabled: pagination.value.totalPages === page.value,
2512
2545
  "aria-current": "page",
2513
2546
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => selectPage(pagination.value.totalPages), ["prevent"]))
@@ -2521,7 +2554,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2521
2554
  ]),
2522
2555
  _: 3
2523
2556
  }, 16, ["disabled"])) : createCommentVNode("", true),
2524
- pagination.value.next ? (openBlock(), createBlock(_sfc_main$W, mergeProps({ key: 4 }, buttonProps.value, {
2557
+ pagination.value.next ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 4 }, buttonProps.value, {
2525
2558
  "aria-label": "Next",
2526
2559
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => selectPage(pagination.value.next), ["prevent"]))
2527
2560
  }), {
@@ -2538,6 +2571,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2538
2571
  };
2539
2572
  }
2540
2573
  });
2574
+ // @__NO_SIDE_EFFECTS__
2541
2575
  function createGlobalState(stateFactory) {
2542
2576
  let initialized = false;
2543
2577
  let state;
@@ -2552,7 +2586,7 @@ function createGlobalState(stateFactory) {
2552
2586
  }
2553
2587
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
2554
2588
  let count = 0;
2555
- const useToastManager = createGlobalState(() => {
2589
+ const useToastManager = /* @__PURE__ */ createGlobalState(() => {
2556
2590
  const messages = ref([]);
2557
2591
  const add = (msg, category) => {
2558
2592
  const id = count++;
@@ -2801,7 +2835,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2801
2835
  onClick: _ctx.message.action.onClick
2802
2836
  }, {
2803
2837
  default: withCtx(() => [
2804
- createVNode(_sfc_main$X, {
2838
+ createVNode(_sfc_main$Y, {
2805
2839
  variant: _ctx.message.action.variant || "soft",
2806
2840
  radius: _ctx.message.action.radius,
2807
2841
  size: _ctx.message.action.size || "1",
@@ -3139,12 +3173,13 @@ export {
3139
3173
  AlertDialogRoot,
3140
3174
  _sfc_main$U as AlertDialogTitle,
3141
3175
  AlertDialogTrigger,
3142
- _sfc_main$_ as Avatar,
3143
- _sfc_main$Z as Badge,
3144
- _sfc_main$X as Button,
3145
- _sfc_main$Y as Card,
3176
+ _sfc_main$$ as Avatar,
3177
+ _sfc_main$_ as Badge,
3178
+ _sfc_main$Y as Button,
3179
+ _sfc_main$Z as Card,
3146
3180
  _sfc_main$K as Checkbox,
3147
3181
  CheckboxGroupRoot as CheckboxGroup,
3182
+ _sfc_main$W as CloseButton,
3148
3183
  _sfc_main$9 as CollapsibleContent,
3149
3184
  _sfc_main$b as CollapsibleIndicator,
3150
3185
  _sfc_main$c as CollapsibleRoot,
@@ -3169,7 +3204,7 @@ export {
3169
3204
  DropdownMenuSeparator,
3170
3205
  DropdownMenuTrigger,
3171
3206
  _sfc_main$i as Editable,
3172
- _sfc_main$W as IconButton,
3207
+ _sfc_main$X as IconButton,
3173
3208
  _sfc_main$8 as Pagination,
3174
3209
  PopoverClose,
3175
3210
  _sfc_main$M as PopoverPopup,
@@ -3202,7 +3237,7 @@ export {
3202
3237
  _sfc_main$j as TabsTrigger,
3203
3238
  _sfc_main$F as TextArea,
3204
3239
  _sfc_main$G as TextField,
3205
- _sfc_main$$ as ThemeProvider,
3240
+ _sfc_main$10 as ThemeProvider,
3206
3241
  _sfc_main$5 as ToastProvider,
3207
3242
  _sfc_main$J as Toggle,
3208
3243
  _sfc_main$H as ToggleGroupItem,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typlog/ui",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Themed components for Reka UI with Radix colors.",