@agrotools1/at-components 2.0.14-beta.4 → 2.0.14-beta.5
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/accordion/index.js +10 -0
- package/dist/alert-dialog/index.js +20 -0
- package/dist/avatar/index.js +8 -0
- package/dist/badge/index.js +2 -0
- package/dist/breadcrumb/index.js +12 -0
- package/dist/button/index.js +2 -0
- package/dist/calendar/Calendar.vue.js +32 -31
- package/dist/calendar/index.js +26 -0
- package/dist/card/index.js +8 -0
- package/dist/carousel/CarouselNext.vue.js +3 -2
- package/dist/carousel/CarouselPrevious.vue.js +14 -13
- package/dist/carousel/index.js +14 -0
- package/dist/checkbox/index.js +4 -0
- package/dist/combobox/index.js +25 -0
- package/dist/command/CommandDialog.vue.js +9 -8
- package/dist/command/index.js +20 -0
- package/dist/data-table/DataTable.vue.js +11 -11
- package/dist/data-table/DataTablePagination.vue.js +7 -7
- package/dist/data-table/index.js +8 -0
- package/dist/date-picker/DatePicker.vue.js +17 -16
- package/dist/date-picker/index.js +4 -0
- package/dist/date-range-picker/DateRangePicker.vue.js +24 -23
- package/dist/date-range-picker/index.js +4 -0
- package/dist/dialog/index.js +24 -2
- package/dist/dropdown-menu/index.js +32 -0
- package/dist/illustration/index.js +6 -0
- package/dist/index.js +453 -453
- package/dist/input/index.js +4 -0
- package/dist/label/index.js +4 -0
- package/dist/multi-select/MultiSelectContent.vue.js +10 -10
- package/dist/multi-select/MultiSelectGroup.vue.js +3 -3
- package/dist/multi-select/MultiSelectItem.vue.js +8 -8
- package/dist/multi-select/MultiSelectRoot.vue.js +6 -6
- package/dist/multi-select/MultiSelectTrigger.vue.js +4 -4
- package/dist/multi-select/MultiSelectValue.vue.js +10 -9
- package/dist/multi-select/index.js +23 -0
- package/dist/pagination/index.js +18 -0
- package/dist/popover/index.js +10 -0
- package/dist/radio-group/index.js +6 -0
- package/dist/range-calendar/RangeCalendar.vue.js +23 -22
- package/dist/range-calendar/index.js +26 -0
- package/dist/select/index.js +24 -0
- package/dist/separator/index.js +4 -0
- package/dist/sheet/index.js +18 -0
- package/dist/sidebar/SidebarInput.vue.js +4 -4
- package/dist/sidebar/SidebarMenuButton.vue.js +7 -7
- package/dist/sidebar/SidebarMenuSkeleton.vue.js +4 -4
- package/dist/sidebar/index.js +46 -2
- package/dist/skeleton/index.js +4 -0
- package/dist/sonner/index.js +8 -2
- package/dist/stepper/index.js +16 -0
- package/dist/switch/index.js +4 -0
- package/dist/table/TableEmpty.vue.js +6 -6
- package/dist/table/index.js +22 -0
- package/dist/tabs/index.js +10 -2
- package/dist/tag/index.js +2 -0
- package/dist/textarea/index.js +4 -0
- package/dist/time-picker/TimePicker.vue.js +9 -8
- package/dist/time-picker/index.js +4 -0
- package/dist/tooltip/index.js +10 -0
- package/dist/upload/index.js +18 -0
- package/package.json +3 -3
package/dist/sonner/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
import { default as l } from "./Sonner.vue.js";
|
|
3
|
+
import { toast as o } from "./toast.js";
|
|
4
|
+
import { default as f } from "./Toast.vue.js";
|
|
5
|
+
const s = t("size-full rounded-xl flex", {
|
|
3
6
|
variants: {
|
|
4
7
|
size: {
|
|
5
8
|
default: "gap-3 py-4 px-2.5 [&>svg:first-child]:size-5 items-start [&>svg:last-child]:self-end rounded-xl",
|
|
@@ -18,5 +21,8 @@ const s = e("size-full rounded-xl flex", {
|
|
|
18
21
|
}
|
|
19
22
|
});
|
|
20
23
|
export {
|
|
24
|
+
f as AgtToast,
|
|
25
|
+
l as AgtToaster,
|
|
26
|
+
o as toast,
|
|
21
27
|
s as toastVariants
|
|
22
28
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as r } from "./Stepper.vue.js";
|
|
2
|
+
import { default as a } from "./StepperDescription.vue.js";
|
|
3
|
+
import { default as f } from "./StepperIndicator.vue.js";
|
|
4
|
+
import { default as d } from "./StepperItem.vue.js";
|
|
5
|
+
import { default as m } from "./StepperSeparator.vue.js";
|
|
6
|
+
import { default as S } from "./StepperTitle.vue.js";
|
|
7
|
+
import { default as x } from "./StepperTrigger.vue.js";
|
|
8
|
+
export {
|
|
9
|
+
r as AgtStepper,
|
|
10
|
+
a as AgtStepperDescription,
|
|
11
|
+
f as AgtStepperIndicator,
|
|
12
|
+
d as AgtStepperItem,
|
|
13
|
+
m as AgtStepperSeparator,
|
|
14
|
+
S as AgtStepperTitle,
|
|
15
|
+
x as AgtStepperTrigger
|
|
16
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as d, useSlots as u, computed as f, createBlock as _, openBlock as o, withCtx as a, createVNode as l, mergeProps as x, unref as s, createElementVNode as e, renderSlot as g, createElementBlock as h, toDisplayString as r } from "vue";
|
|
2
2
|
import { cn as y } from "../lib/utils.js";
|
|
3
3
|
import { reactiveOmit as k } from "@vueuse/core";
|
|
4
|
-
import v from "
|
|
5
|
-
import w from "./
|
|
6
|
-
import B from "
|
|
4
|
+
import v from "../illustration/Illustration.vue.js";
|
|
5
|
+
import w from "./TableCell.vue.js";
|
|
6
|
+
import B from "./TableRow.vue.js";
|
|
7
7
|
const S = { class: "flex flex-col items-center justify-center gap-4 py-10" }, $ = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "flex flex-col items-center gap-3"
|
|
@@ -18,15 +18,15 @@ const S = { class: "flex flex-col items-center justify-center gap-4 py-10" }, $
|
|
|
18
18
|
},
|
|
19
19
|
setup(n) {
|
|
20
20
|
const t = n, c = u(), i = k(t, "class", "message", "illustration"), m = f(() => !!c.default);
|
|
21
|
-
return (p, N) => (o(), _(
|
|
21
|
+
return (p, N) => (o(), _(B, null, {
|
|
22
22
|
default: a(() => [
|
|
23
|
-
l(
|
|
23
|
+
l(w, x({
|
|
24
24
|
class: s(y)("text bg-white p-4 align-middle text-sm whitespace-nowrap", t.class)
|
|
25
25
|
}, s(i)), {
|
|
26
26
|
default: a(() => [
|
|
27
27
|
e("div", S, [
|
|
28
28
|
m.value ? g(p.$slots, "default", { key: 0 }) : (o(), h("div", $, [
|
|
29
|
-
l(s(
|
|
29
|
+
l(s(v), {
|
|
30
30
|
illustration: t.illustration,
|
|
31
31
|
class: "h-32 w-32 opacity-60"
|
|
32
32
|
}, null, 8, ["illustration"]),
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as t } from "./Table.vue.js";
|
|
2
|
+
import { default as r } from "./TableBody.vue.js";
|
|
3
|
+
import { default as f } from "./TableCaption.vue.js";
|
|
4
|
+
import { default as p } from "./TableCell.vue.js";
|
|
5
|
+
import { default as u } from "./TableEmpty.vue.js";
|
|
6
|
+
import { default as b } from "./TableFooter.vue.js";
|
|
7
|
+
import { default as s } from "./TableHead.vue.js";
|
|
8
|
+
import { default as T } from "./TableHeader.vue.js";
|
|
9
|
+
import { default as C } from "./TableRow.vue.js";
|
|
10
|
+
import { valueUpdater as i } from "./utils.js";
|
|
11
|
+
export {
|
|
12
|
+
t as AgtTable,
|
|
13
|
+
r as AgtTableBody,
|
|
14
|
+
f as AgtTableCaption,
|
|
15
|
+
p as AgtTableCell,
|
|
16
|
+
u as AgtTableEmpty,
|
|
17
|
+
b as AgtTableFooter,
|
|
18
|
+
s as AgtTableHead,
|
|
19
|
+
T as AgtTableHeader,
|
|
20
|
+
C as AgtTableRow,
|
|
21
|
+
i as valueUpdater
|
|
22
|
+
};
|
package/dist/tabs/index.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { cva as r } from "class-variance-authority";
|
|
2
|
-
|
|
2
|
+
import { default as n } from "./Tabs.vue.js";
|
|
3
|
+
import { default as s } from "./TabsContent.vue.js";
|
|
4
|
+
import { default as b } from "./TabsList.vue.js";
|
|
5
|
+
import { default as g } from "./TabsTrigger.vue.js";
|
|
6
|
+
const e = r(
|
|
3
7
|
"data-[state=active]:text-primary-500 hover:text-primary-500 cursor-pointer bg-background disabled:cursor-not-allowed font-bold text-sm transition-all duration-300 flex-1 inline-flex relative items-center gap-1.5 whitespace-nowrap",
|
|
4
8
|
{
|
|
5
9
|
variants: {
|
|
@@ -14,5 +18,9 @@ const t = r(
|
|
|
14
18
|
}
|
|
15
19
|
);
|
|
16
20
|
export {
|
|
17
|
-
|
|
21
|
+
n as AgtTabs,
|
|
22
|
+
s as AgtTabsContent,
|
|
23
|
+
b as AgtTabsList,
|
|
24
|
+
g as AgtTabsTrigger,
|
|
25
|
+
e as tabsTriggerVariants
|
|
18
26
|
};
|
package/dist/tag/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { cva as e } from "class-variance-authority";
|
|
2
|
+
import { default as l } from "./Tag.vue.js";
|
|
2
3
|
const t = e(
|
|
3
4
|
"inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-sm font-semibold transition-all shrink-0 outline-none",
|
|
4
5
|
{
|
|
@@ -31,5 +32,6 @@ const t = e(
|
|
|
31
32
|
}
|
|
32
33
|
);
|
|
33
34
|
export {
|
|
35
|
+
l as AgtTag,
|
|
34
36
|
t as tagVariants
|
|
35
37
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { defineComponent as C, computed as c, createElementBlock as I, openBlock as k, normalizeClass as y, createElementVNode as r, createVNode as l, unref as i, withCtx as n } from "vue";
|
|
2
2
|
import { Time as p } from "../node_modules/.pnpm/@internationalized_date@3.8.2/node_modules/@internationalized/date/dist/CalendarDate.js";
|
|
3
3
|
import { useVModel as $ } from "@vueuse/core";
|
|
4
|
+
import "../button/index.js";
|
|
5
|
+
import f from "../input/Input.vue.js";
|
|
4
6
|
import o from "../button/Button.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import b from "../input/Input.vue.js";
|
|
7
|
+
import b from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-up.js";
|
|
7
8
|
import v from "../node_modules/.pnpm/lucide-vue-next@0.542.0_vue@3.5.19_typescript@5.8.3_/node_modules/lucide-vue-next/dist/esm/icons/chevron-down.js";
|
|
8
|
-
const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex-col items-center gap-1" },
|
|
9
|
+
const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex-col items-center gap-1" }, q = /* @__PURE__ */ C({
|
|
9
10
|
__name: "TimePicker",
|
|
10
11
|
props: {
|
|
11
12
|
modelValue: {},
|
|
@@ -76,11 +77,11 @@ const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex
|
|
|
76
77
|
onClick: g
|
|
77
78
|
}, {
|
|
78
79
|
default: n(() => [
|
|
79
|
-
l(i(
|
|
80
|
+
l(i(b), { class: "h-4 w-4" })
|
|
80
81
|
]),
|
|
81
82
|
_: 1
|
|
82
83
|
}, 8, ["disabled"]),
|
|
83
|
-
l(i(
|
|
84
|
+
l(i(f), {
|
|
84
85
|
modelValue: d.value,
|
|
85
86
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => d.value = u),
|
|
86
87
|
class: "h-8 w-12 p-1 text-center",
|
|
@@ -110,11 +111,11 @@ const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex
|
|
|
110
111
|
onClick: _
|
|
111
112
|
}, {
|
|
112
113
|
default: n(() => [
|
|
113
|
-
l(i(
|
|
114
|
+
l(i(b), { class: "h-4 w-4" })
|
|
114
115
|
]),
|
|
115
116
|
_: 1
|
|
116
117
|
}, 8, ["disabled"]),
|
|
117
|
-
l(i(
|
|
118
|
+
l(i(f), {
|
|
118
119
|
modelValue: m.value,
|
|
119
120
|
"onUpdate:modelValue": t[1] || (t[1] = (u) => m.value = u),
|
|
120
121
|
class: "h-8 w-12 p-1 text-center",
|
|
@@ -138,5 +139,5 @@ const w = { class: "flex flex-col items-center gap-1" }, B = { class: "flex flex
|
|
|
138
139
|
}
|
|
139
140
|
});
|
|
140
141
|
export {
|
|
141
|
-
|
|
142
|
+
q as default
|
|
142
143
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as r } from "./Tooltip.vue.js";
|
|
2
|
+
import { default as a } from "./TooltipContent.vue.js";
|
|
3
|
+
import { default as l } from "./TooltipProvider.vue.js";
|
|
4
|
+
import { default as g } from "./TooltipTrigger.vue.js";
|
|
5
|
+
export {
|
|
6
|
+
r as AgtTooltip,
|
|
7
|
+
a as AgtTooltipContent,
|
|
8
|
+
l as AgtTooltipProvider,
|
|
9
|
+
g as AgtTooltipTrigger
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { injectUploadRootContext as e } from "./upload-context.js";
|
|
2
|
+
import { default as p } from "./UploadContent.vue.js";
|
|
3
|
+
import { default as l } from "./UploadContentDescription.vue.js";
|
|
4
|
+
import { default as n } from "./UploadContentLoadingDescription.vue.js";
|
|
5
|
+
import { default as s } from "./UploadContentSuccessDescription.vue.js";
|
|
6
|
+
import { default as m } from "./UploadContentTitle.vue.js";
|
|
7
|
+
import { default as g } from "./UploadFileItem.vue.js";
|
|
8
|
+
import { default as U } from "./UploadRoot.vue.js";
|
|
9
|
+
export {
|
|
10
|
+
p as AgtUploadContent,
|
|
11
|
+
l as AgtUploadContentDescription,
|
|
12
|
+
n as AgtUploadContentLoadingDescription,
|
|
13
|
+
s as AgtUploadContentSuccessDescription,
|
|
14
|
+
m as AgtUploadContentTitle,
|
|
15
|
+
g as AgtUploadFileItem,
|
|
16
|
+
U as AgtUploadRoot,
|
|
17
|
+
e as injectUploadRootContext
|
|
18
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agrotools1/at-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.14-beta.
|
|
4
|
+
"version": "2.0.14-beta.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Componentes da Agrotools - Versão 2 (com re-export da V1)",
|
|
7
7
|
"author": "Agrotools",
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
"tailwind-merge": "^3.3.1",
|
|
216
216
|
"tw-animate-css": "^1.3.4",
|
|
217
217
|
"vue-sonner": "^2.0.8",
|
|
218
|
-
"@agrotools1/at-
|
|
219
|
-
"@agrotools1/at-
|
|
218
|
+
"@agrotools1/at-tailwind-config": "0.2.0",
|
|
219
|
+
"@agrotools1/at-icons": "1.0.7"
|
|
220
220
|
},
|
|
221
221
|
"devDependencies": {
|
|
222
222
|
"@internationalized/date": "^3.8.2",
|