@typlog/ui 0.11.1 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button.css +1 -1
- package/dist/components/dialog.css +186 -132
- package/dist/components/inset.css +29 -8
- package/dist/components/pagination.css +1 -1
- package/dist/components.css +113 -59
- package/dist/components.d.ts +54 -44
- package/dist/components.js +98 -70
- package/package.json +1 -1
- package/tailwind/index.css +1 -0
- package/tailwind/shadow.css +8 -0
package/dist/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, defineComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createVNode, createTextVNode, toDisplayString, renderSlot, createElementBlock, mergeProps, createCommentVNode, createElementVNode, toRefs, mergeModels, ref, useModel, onMounted, onBeforeUnmount, useTemplateRef, withDirectives, isRef, vModelDynamic, vModelText, normalizeStyle, normalizeProps, guardReactiveProps, Fragment, watch, renderList, withModifiers, vModelRadio } from "vue";
|
|
2
|
-
import { useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, Primitive, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent,
|
|
3
|
-
import { AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, CollapsibleRoot, CollapsibleTrigger, ComboboxEmpty, ComboboxGroup, DialogClose as DialogClose2, DialogDescription, DialogRoot,
|
|
2
|
+
import { useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, Primitive, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, DialogTitle, DialogClose, DialogPortal, DialogOverlay, DialogContent, useForwardExpose, createContext, DropdownMenuPortal, DropdownMenuContent, DropdownMenuItem, PopoverPortal, PopoverContent, SwitchRoot, SwitchThumb, CheckboxRoot, CheckboxIndicator, Toggle, ToggleGroupRoot, ToggleGroupItem, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectTrigger, SelectValue, SelectIcon, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, ComboboxRoot, injectComboboxRootContext as injectComboboxRootContext$1, useForwardPropsEmits as useForwardPropsEmits$1, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, RadioGroupRoot, RadioGroupItem, TabsList, TabsIndicator, TabsTrigger, EditableRoot, EditableArea, EditablePreview, EditableInput, AccordionRoot, AccordionItem, AccordionContent, AccordionTrigger, CollapsibleContent, TooltipProvider, TooltipRoot, TooltipTrigger, TooltipPortal, TooltipContent, TooltipArrow, ProgressRoot, ProgressIndicator } from "reka-ui";
|
|
3
|
+
import { AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, CollapsibleRoot, CollapsibleTrigger, ComboboxEmpty, ComboboxGroup, DialogClose as DialogClose2, DialogDescription, DialogRoot, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, PopoverClose, PopoverRoot, PopoverTrigger, RadioGroupItem as RadioGroupItem2, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
|
|
4
4
|
import { Icon } from "@iconify/vue";
|
|
5
5
|
import { Icon as Icon2 } from "@iconify/vue";
|
|
6
6
|
function useForwardPropsEmits(props, emit, exclude) {
|
|
@@ -60,7 +60,7 @@ function kebabize(str) {
|
|
|
60
60
|
function _kebabReplace(str, ofs) {
|
|
61
61
|
return (ofs ? "-" : "") + str.toLowerCase();
|
|
62
62
|
}
|
|
63
|
-
const _sfc_main$
|
|
63
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
64
64
|
__name: "Avatar",
|
|
65
65
|
props: {
|
|
66
66
|
alt: {},
|
|
@@ -112,7 +112,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
const _sfc_main$
|
|
115
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
116
116
|
__name: "Badge",
|
|
117
117
|
props: {
|
|
118
118
|
variant: { default: "soft" },
|
|
@@ -144,32 +144,16 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
|
-
const _sfc_main$
|
|
147
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
148
148
|
__name: "Inset",
|
|
149
149
|
props: {
|
|
150
150
|
side: { default: "all" },
|
|
151
|
-
top: { type: Boolean },
|
|
152
|
-
bottom: { type: Boolean },
|
|
153
|
-
left: { type: Boolean },
|
|
154
|
-
right: { type: Boolean },
|
|
155
151
|
clip: { default: "border-box" }
|
|
156
152
|
},
|
|
157
153
|
setup(__props) {
|
|
158
154
|
const props = __props;
|
|
159
155
|
const resetClass = computed(() => {
|
|
160
|
-
const rv = [];
|
|
161
|
-
if (props.top || ["all", "y", "top"].includes(props.side)) {
|
|
162
|
-
rv.push("inset-top");
|
|
163
|
-
}
|
|
164
|
-
if (props.bottom || ["all", "y", "bottom"].includes(props.side)) {
|
|
165
|
-
rv.push("inset-bottom");
|
|
166
|
-
}
|
|
167
|
-
if (props.left || ["all", "x", "left"].includes(props.side)) {
|
|
168
|
-
rv.push("inset-left");
|
|
169
|
-
}
|
|
170
|
-
if (props.right || ["all", "x", "right"].includes(props.side)) {
|
|
171
|
-
rv.push("inset-right");
|
|
172
|
-
}
|
|
156
|
+
const rv = [`r-side-${props.side}`];
|
|
173
157
|
if (props.clip) {
|
|
174
158
|
rv.push(`r-clip-${props.clip}`);
|
|
175
159
|
}
|
|
@@ -184,7 +168,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
184
168
|
};
|
|
185
169
|
}
|
|
186
170
|
});
|
|
187
|
-
const _sfc_main$
|
|
171
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
188
172
|
__name: "Card",
|
|
189
173
|
props: {
|
|
190
174
|
variant: { default: "surface" },
|
|
@@ -213,7 +197,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
213
197
|
};
|
|
214
198
|
}
|
|
215
199
|
});
|
|
216
|
-
const _sfc_main$
|
|
200
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
217
201
|
__name: "CardHead",
|
|
218
202
|
props: {
|
|
219
203
|
color: {},
|
|
@@ -236,7 +220,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
236
220
|
};
|
|
237
221
|
}
|
|
238
222
|
});
|
|
239
|
-
const _sfc_main$
|
|
223
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
240
224
|
__name: "Button",
|
|
241
225
|
props: {
|
|
242
226
|
variant: { default: "solid" },
|
|
@@ -270,7 +254,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
270
254
|
};
|
|
271
255
|
}
|
|
272
256
|
});
|
|
273
|
-
const _sfc_main$
|
|
257
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
274
258
|
__name: "IconButton",
|
|
275
259
|
props: {
|
|
276
260
|
variant: {},
|
|
@@ -286,7 +270,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
286
270
|
const props = __props;
|
|
287
271
|
const forwarded = useForwardProps(props);
|
|
288
272
|
return (_ctx, _cache) => {
|
|
289
|
-
return openBlock(), createBlock(_sfc_main$
|
|
273
|
+
return openBlock(), createBlock(_sfc_main$T, mergeProps({ class: "ui-IconButton" }, unref(forwarded)), {
|
|
290
274
|
default: withCtx(() => [
|
|
291
275
|
renderSlot(_ctx.$slots, "default")
|
|
292
276
|
]),
|
|
@@ -304,7 +288,7 @@ const BRAND_ICONS = {
|
|
|
304
288
|
slack: "logos:slack-icon",
|
|
305
289
|
figma: "logos:figma"
|
|
306
290
|
};
|
|
307
|
-
const _sfc_main$
|
|
291
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
308
292
|
__name: "SocialButton",
|
|
309
293
|
props: {
|
|
310
294
|
brand: {},
|
|
@@ -342,7 +326,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
342
326
|
};
|
|
343
327
|
}
|
|
344
328
|
});
|
|
345
|
-
const _sfc_main$
|
|
329
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
346
330
|
__name: "ScrollArea",
|
|
347
331
|
props: {
|
|
348
332
|
size: { default: "1" },
|
|
@@ -408,7 +392,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
408
392
|
});
|
|
409
393
|
const _hoisted_1$j = { class: "ui-DialogScroll" };
|
|
410
394
|
const _hoisted_2$7 = ["data-align"];
|
|
411
|
-
const _sfc_main$
|
|
395
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
412
396
|
...{
|
|
413
397
|
inheritAttrs: false
|
|
414
398
|
},
|
|
@@ -425,7 +409,6 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
425
409
|
minHeight: {},
|
|
426
410
|
maxHeight: {},
|
|
427
411
|
forceMount: { type: Boolean },
|
|
428
|
-
trapFocus: { type: Boolean },
|
|
429
412
|
disableOutsidePointerEvents: { type: Boolean },
|
|
430
413
|
asChild: { type: Boolean },
|
|
431
414
|
as: {}
|
|
@@ -490,8 +473,60 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
490
473
|
};
|
|
491
474
|
}
|
|
492
475
|
});
|
|
493
|
-
const
|
|
494
|
-
|
|
476
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
477
|
+
__name: "DialogTitle",
|
|
478
|
+
props: {
|
|
479
|
+
variant: { default: "ghost" },
|
|
480
|
+
close: { type: Boolean },
|
|
481
|
+
asChild: { type: Boolean },
|
|
482
|
+
as: { default: "h2" }
|
|
483
|
+
},
|
|
484
|
+
setup(__props) {
|
|
485
|
+
const props = __props;
|
|
486
|
+
return (_ctx, _cache) => {
|
|
487
|
+
return openBlock(), createBlock(_sfc_main$W, {
|
|
488
|
+
class: normalizeClass(["ui-DialogTitle", `r-variant-${_ctx.variant}`]),
|
|
489
|
+
side: "all"
|
|
490
|
+
}, {
|
|
491
|
+
default: withCtx(() => [
|
|
492
|
+
createVNode(unref(DialogTitle), {
|
|
493
|
+
class: "ui-DialogTitleText",
|
|
494
|
+
as: props.as
|
|
495
|
+
}, {
|
|
496
|
+
default: withCtx(() => [
|
|
497
|
+
renderSlot(_ctx.$slots, "default")
|
|
498
|
+
]),
|
|
499
|
+
_: 3
|
|
500
|
+
}, 8, ["as"]),
|
|
501
|
+
_ctx.close ? (openBlock(), createBlock(unref(DialogClose), {
|
|
502
|
+
key: 0,
|
|
503
|
+
class: "ui-DialogTitleClose",
|
|
504
|
+
type: "button",
|
|
505
|
+
"aria-label": "Close",
|
|
506
|
+
"as-child": ""
|
|
507
|
+
}, {
|
|
508
|
+
default: withCtx(() => [
|
|
509
|
+
createVNode(_sfc_main$S, {
|
|
510
|
+
color: "gray",
|
|
511
|
+
variant: "soft",
|
|
512
|
+
size: "1"
|
|
513
|
+
}, {
|
|
514
|
+
default: withCtx(() => [
|
|
515
|
+
createVNode(unref(Icon), { icon: "lucide:x" })
|
|
516
|
+
]),
|
|
517
|
+
_: 1
|
|
518
|
+
})
|
|
519
|
+
]),
|
|
520
|
+
_: 1
|
|
521
|
+
})) : createCommentVNode("", true)
|
|
522
|
+
]),
|
|
523
|
+
_: 3
|
|
524
|
+
}, 8, ["class"]);
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
const _hoisted_1$i = { class: "ui-DialogWrapper" };
|
|
529
|
+
const _hoisted_2$6 = { class: "ui-DialogContainer" };
|
|
495
530
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
496
531
|
...{
|
|
497
532
|
inheritAttrs: false
|
|
@@ -499,8 +534,6 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
499
534
|
__name: "DialogContent",
|
|
500
535
|
props: {
|
|
501
536
|
to: {},
|
|
502
|
-
align: { default: "center" },
|
|
503
|
-
class: {},
|
|
504
537
|
size: { default: "3" },
|
|
505
538
|
width: {},
|
|
506
539
|
minWidth: {},
|
|
@@ -509,7 +542,6 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
509
542
|
minHeight: {},
|
|
510
543
|
maxHeight: {},
|
|
511
544
|
forceMount: { type: Boolean },
|
|
512
|
-
trapFocus: { type: Boolean },
|
|
513
545
|
disableOutsidePointerEvents: { type: Boolean },
|
|
514
546
|
asChild: { type: Boolean },
|
|
515
547
|
as: {}
|
|
@@ -538,13 +570,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
538
570
|
createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
|
|
539
571
|
default: withCtx(() => [
|
|
540
572
|
createElementVNode("div", _hoisted_1$i, [
|
|
541
|
-
createElementVNode("div",
|
|
542
|
-
class: "ui-DialogScrollPadding",
|
|
543
|
-
"data-align": props.align
|
|
544
|
-
}, [
|
|
573
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
545
574
|
createVNode(unref(DialogContent), mergeProps({
|
|
546
|
-
class: ["ui-DialogContent", props.
|
|
547
|
-
"data-size": props.size
|
|
575
|
+
class: ["ui-DialogContent", `r-size-${props.size}`]
|
|
548
576
|
}, {
|
|
549
577
|
..._ctx.$attrs,
|
|
550
578
|
...unref(forwarded)
|
|
@@ -562,8 +590,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
562
590
|
renderSlot(_ctx.$slots, "default")
|
|
563
591
|
]),
|
|
564
592
|
_: 3
|
|
565
|
-
}, 16, ["class", "
|
|
566
|
-
]
|
|
593
|
+
}, 16, ["class", "style"])
|
|
594
|
+
])
|
|
567
595
|
])
|
|
568
596
|
]),
|
|
569
597
|
_: 3
|
|
@@ -582,23 +610,22 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
582
610
|
setup(__props) {
|
|
583
611
|
const props = __props;
|
|
584
612
|
return (_ctx, _cache) => {
|
|
585
|
-
return openBlock(), createBlock(_sfc_main$
|
|
613
|
+
return openBlock(), createBlock(_sfc_main$W, {
|
|
586
614
|
class: "ui-DialogHead",
|
|
587
615
|
side: "x"
|
|
588
616
|
}, {
|
|
589
617
|
default: withCtx(() => [
|
|
590
|
-
createVNode(unref(DialogTitle),
|
|
618
|
+
createVNode(unref(DialogTitle), null, {
|
|
591
619
|
default: withCtx(() => [
|
|
592
620
|
createTextVNode(toDisplayString(props.title), 1)
|
|
593
621
|
]),
|
|
594
622
|
_: 1
|
|
595
623
|
}),
|
|
596
|
-
createVNode(_sfc_main$
|
|
624
|
+
createVNode(_sfc_main$S, {
|
|
597
625
|
as: unref(DialogClose),
|
|
598
626
|
type: "button",
|
|
599
627
|
variant: "ghost",
|
|
600
628
|
color: "gray",
|
|
601
|
-
radius: "full",
|
|
602
629
|
"aria-label": "Close"
|
|
603
630
|
}, {
|
|
604
631
|
default: withCtx(() => [
|
|
@@ -674,7 +701,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
674
701
|
"data-size": props.size
|
|
675
702
|
}), {
|
|
676
703
|
default: withCtx(() => [
|
|
677
|
-
createVNode(_sfc_main$
|
|
704
|
+
createVNode(_sfc_main$Q, { type: "auto" }, {
|
|
678
705
|
default: withCtx(() => [
|
|
679
706
|
createElementVNode("div", _hoisted_1$h, [
|
|
680
707
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -1739,7 +1766,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1739
1766
|
}
|
|
1740
1767
|
};
|
|
1741
1768
|
watch(values, () => {
|
|
1742
|
-
context.
|
|
1769
|
+
context.filterSearch.value = "";
|
|
1770
|
+
emits("update:modelValue", "");
|
|
1743
1771
|
}, { deep: true });
|
|
1744
1772
|
return (_ctx, _cache) => {
|
|
1745
1773
|
return openBlock(), createBlock(unref(ComboboxAnchor), {
|
|
@@ -2091,7 +2119,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2091
2119
|
"data-high-contrast": unref(rootContext).highContrast?.value
|
|
2092
2120
|
}, { ...unref(forwarded), asChild: false }), {
|
|
2093
2121
|
default: withCtx(() => [
|
|
2094
|
-
createVNode(_sfc_main$
|
|
2122
|
+
createVNode(_sfc_main$V, {
|
|
2095
2123
|
"as-child": unref(forwarded).asChild
|
|
2096
2124
|
}, {
|
|
2097
2125
|
default: withCtx(() => [
|
|
@@ -2490,7 +2518,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2490
2518
|
return openBlock(), createElementBlock("div", {
|
|
2491
2519
|
class: normalizeClass(["ui-Pagination", resetClass.value])
|
|
2492
2520
|
}, [
|
|
2493
|
-
pagination.value.prev ? (openBlock(), createBlock(_sfc_main$
|
|
2521
|
+
pagination.value.prev ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 0 }, buttonProps.value, {
|
|
2494
2522
|
"aria-label": "Previous",
|
|
2495
2523
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectPage(pagination.value.prev), ["prevent"]))
|
|
2496
2524
|
}), {
|
|
@@ -2503,7 +2531,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2503
2531
|
]),
|
|
2504
2532
|
_: 3
|
|
2505
2533
|
}, 16)) : createCommentVNode("", true),
|
|
2506
|
-
createVNode(_sfc_main$
|
|
2534
|
+
createVNode(_sfc_main$T, mergeProps(buttonProps.value, {
|
|
2507
2535
|
disabled: page.value === 1,
|
|
2508
2536
|
"aria-current": "page",
|
|
2509
2537
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectPage(1), ["prevent"]))
|
|
@@ -2515,7 +2543,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2515
2543
|
]),
|
|
2516
2544
|
_: 3
|
|
2517
2545
|
}, 16, ["disabled"]),
|
|
2518
|
-
pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$
|
|
2546
|
+
pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 1 }, buttonProps.value, {
|
|
2519
2547
|
onClick: withModifiers(selectLeft, ["prevent"])
|
|
2520
2548
|
}), {
|
|
2521
2549
|
default: withCtx(() => [
|
|
@@ -2528,7 +2556,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2528
2556
|
_: 3
|
|
2529
2557
|
}, 16)) : createCommentVNode("", true),
|
|
2530
2558
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pagination.value.pageList, (p) => {
|
|
2531
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2559
|
+
return openBlock(), createBlock(_sfc_main$T, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
|
|
2532
2560
|
disabled: p === page.value,
|
|
2533
2561
|
"aria-current": "page",
|
|
2534
2562
|
onClick: withModifiers(($event) => selectPage(p), ["prevent"])
|
|
@@ -2541,7 +2569,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2541
2569
|
_: 2
|
|
2542
2570
|
}, 1040, ["disabled", "onClick"]);
|
|
2543
2571
|
}), 128)),
|
|
2544
|
-
pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$
|
|
2572
|
+
pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 2 }, buttonProps.value, {
|
|
2545
2573
|
onClick: withModifiers(selectRight, ["prevent"])
|
|
2546
2574
|
}), {
|
|
2547
2575
|
default: withCtx(() => [
|
|
@@ -2553,7 +2581,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2553
2581
|
]),
|
|
2554
2582
|
_: 3
|
|
2555
2583
|
}, 16)) : createCommentVNode("", true),
|
|
2556
|
-
pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
2584
|
+
pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$T, mergeProps({ key: 3 }, buttonProps.value, {
|
|
2557
2585
|
disabled: pagination.value.totalPages === page.value,
|
|
2558
2586
|
"aria-current": "page",
|
|
2559
2587
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => selectPage(pagination.value.totalPages), ["prevent"]))
|
|
@@ -2567,7 +2595,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2567
2595
|
]),
|
|
2568
2596
|
_: 3
|
|
2569
2597
|
}, 16, ["disabled"])) : createCommentVNode("", true),
|
|
2570
|
-
pagination.value.next ? (openBlock(), createBlock(_sfc_main$
|
|
2598
|
+
pagination.value.next ? (openBlock(), createBlock(_sfc_main$S, mergeProps({ key: 4 }, buttonProps.value, {
|
|
2571
2599
|
"aria-label": "Next",
|
|
2572
2600
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => selectPage(pagination.value.next), ["prevent"]))
|
|
2573
2601
|
}), {
|
|
@@ -2601,7 +2629,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2601
2629
|
"data-size": props.size,
|
|
2602
2630
|
"data-variant": props.variant
|
|
2603
2631
|
}, [
|
|
2604
|
-
createVNode(_sfc_main$
|
|
2632
|
+
createVNode(_sfc_main$Q, null, {
|
|
2605
2633
|
default: withCtx(() => [
|
|
2606
2634
|
createElementVNode("table", {
|
|
2607
2635
|
class: "ui-TableContent",
|
|
@@ -2859,16 +2887,16 @@ export {
|
|
|
2859
2887
|
_sfc_main$9 as AccordionTrigger,
|
|
2860
2888
|
AlertDialogAction,
|
|
2861
2889
|
AlertDialogCancel,
|
|
2862
|
-
_sfc_main$
|
|
2890
|
+
_sfc_main$P as AlertDialogContent,
|
|
2863
2891
|
AlertDialogDescription,
|
|
2864
2892
|
AlertDialogRoot,
|
|
2865
2893
|
AlertDialogTitle,
|
|
2866
2894
|
AlertDialogTrigger,
|
|
2867
|
-
_sfc_main$
|
|
2868
|
-
_sfc_main$
|
|
2869
|
-
_sfc_main$
|
|
2870
|
-
_sfc_main$
|
|
2871
|
-
_sfc_main$
|
|
2895
|
+
_sfc_main$Y as Avatar,
|
|
2896
|
+
_sfc_main$X as Badge,
|
|
2897
|
+
_sfc_main$T as Button,
|
|
2898
|
+
_sfc_main$V as Card,
|
|
2899
|
+
_sfc_main$U as CardHead,
|
|
2872
2900
|
_sfc_main$H as Checkbox,
|
|
2873
2901
|
_sfc_main$E as CheckboxGroupControl,
|
|
2874
2902
|
_sfc_main$F as CheckboxGroupItem,
|
|
@@ -2890,7 +2918,7 @@ export {
|
|
|
2890
2918
|
DialogDescription,
|
|
2891
2919
|
_sfc_main$M as DialogHead,
|
|
2892
2920
|
DialogRoot,
|
|
2893
|
-
|
|
2921
|
+
_sfc_main$O as DialogTitle,
|
|
2894
2922
|
DialogTrigger,
|
|
2895
2923
|
_sfc_main$L as DropdownMenuContent,
|
|
2896
2924
|
_sfc_main$K as DropdownMenuItem,
|
|
@@ -2898,9 +2926,9 @@ export {
|
|
|
2898
2926
|
DropdownMenuTrigger,
|
|
2899
2927
|
_sfc_main$f as Editable,
|
|
2900
2928
|
Icon2 as Icon,
|
|
2901
|
-
_sfc_main$
|
|
2929
|
+
_sfc_main$S as IconButton,
|
|
2902
2930
|
_sfc_main as IconCircle,
|
|
2903
|
-
_sfc_main$
|
|
2931
|
+
_sfc_main$W as Inset,
|
|
2904
2932
|
_sfc_main$7 as Pagination,
|
|
2905
2933
|
_sfc_main$b as PlusMinusIcon,
|
|
2906
2934
|
PopoverClose,
|
|
@@ -2916,7 +2944,7 @@ export {
|
|
|
2916
2944
|
RadioGroupItem2 as RadioTabsItem,
|
|
2917
2945
|
_sfc_main$i as RadioTabsList,
|
|
2918
2946
|
_sfc_main$1 as SavingIndicator,
|
|
2919
|
-
_sfc_main$
|
|
2947
|
+
_sfc_main$Q as ScrollArea,
|
|
2920
2948
|
_sfc_main$w as SelectContent,
|
|
2921
2949
|
SelectGroup,
|
|
2922
2950
|
_sfc_main$u as SelectItem,
|
|
@@ -2925,7 +2953,7 @@ export {
|
|
|
2925
2953
|
SelectSeparator,
|
|
2926
2954
|
_sfc_main$v as SelectTrigger,
|
|
2927
2955
|
_sfc_main$5 as Separator,
|
|
2928
|
-
_sfc_main$
|
|
2956
|
+
_sfc_main$R as SocialButton,
|
|
2929
2957
|
_sfc_main$2 as Spinner,
|
|
2930
2958
|
_sfc_main$I as Switch,
|
|
2931
2959
|
_sfc_main$6 as Table,
|
package/package.json
CHANGED
package/tailwind/index.css
CHANGED