@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.
Files changed (62) hide show
  1. package/dist/accordion/index.js +10 -0
  2. package/dist/alert-dialog/index.js +20 -0
  3. package/dist/avatar/index.js +8 -0
  4. package/dist/badge/index.js +2 -0
  5. package/dist/breadcrumb/index.js +12 -0
  6. package/dist/button/index.js +2 -0
  7. package/dist/calendar/Calendar.vue.js +32 -31
  8. package/dist/calendar/index.js +26 -0
  9. package/dist/card/index.js +8 -0
  10. package/dist/carousel/CarouselNext.vue.js +3 -2
  11. package/dist/carousel/CarouselPrevious.vue.js +14 -13
  12. package/dist/carousel/index.js +14 -0
  13. package/dist/checkbox/index.js +4 -0
  14. package/dist/combobox/index.js +25 -0
  15. package/dist/command/CommandDialog.vue.js +9 -8
  16. package/dist/command/index.js +20 -0
  17. package/dist/data-table/DataTable.vue.js +11 -11
  18. package/dist/data-table/DataTablePagination.vue.js +7 -7
  19. package/dist/data-table/index.js +8 -0
  20. package/dist/date-picker/DatePicker.vue.js +17 -16
  21. package/dist/date-picker/index.js +4 -0
  22. package/dist/date-range-picker/DateRangePicker.vue.js +24 -23
  23. package/dist/date-range-picker/index.js +4 -0
  24. package/dist/dialog/index.js +24 -2
  25. package/dist/dropdown-menu/index.js +32 -0
  26. package/dist/illustration/index.js +6 -0
  27. package/dist/index.js +453 -453
  28. package/dist/input/index.js +4 -0
  29. package/dist/label/index.js +4 -0
  30. package/dist/multi-select/MultiSelectContent.vue.js +10 -10
  31. package/dist/multi-select/MultiSelectGroup.vue.js +3 -3
  32. package/dist/multi-select/MultiSelectItem.vue.js +8 -8
  33. package/dist/multi-select/MultiSelectRoot.vue.js +6 -6
  34. package/dist/multi-select/MultiSelectTrigger.vue.js +4 -4
  35. package/dist/multi-select/MultiSelectValue.vue.js +10 -9
  36. package/dist/multi-select/index.js +23 -0
  37. package/dist/pagination/index.js +18 -0
  38. package/dist/popover/index.js +10 -0
  39. package/dist/radio-group/index.js +6 -0
  40. package/dist/range-calendar/RangeCalendar.vue.js +23 -22
  41. package/dist/range-calendar/index.js +26 -0
  42. package/dist/select/index.js +24 -0
  43. package/dist/separator/index.js +4 -0
  44. package/dist/sheet/index.js +18 -0
  45. package/dist/sidebar/SidebarInput.vue.js +4 -4
  46. package/dist/sidebar/SidebarMenuButton.vue.js +7 -7
  47. package/dist/sidebar/SidebarMenuSkeleton.vue.js +4 -4
  48. package/dist/sidebar/index.js +46 -2
  49. package/dist/skeleton/index.js +4 -0
  50. package/dist/sonner/index.js +8 -2
  51. package/dist/stepper/index.js +16 -0
  52. package/dist/switch/index.js +4 -0
  53. package/dist/table/TableEmpty.vue.js +6 -6
  54. package/dist/table/index.js +22 -0
  55. package/dist/tabs/index.js +10 -2
  56. package/dist/tag/index.js +2 -0
  57. package/dist/textarea/index.js +4 -0
  58. package/dist/time-picker/TimePicker.vue.js +9 -8
  59. package/dist/time-picker/index.js +4 -0
  60. package/dist/tooltip/index.js +10 -0
  61. package/dist/upload/index.js +18 -0
  62. package/package.json +3 -3
@@ -1,5 +1,8 @@
1
- import { cva as e } from "class-variance-authority";
2
- const s = e("size-full rounded-xl flex", {
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
+ };
@@ -0,0 +1,4 @@
1
+ import { default as e } from "./Switch.vue.js";
2
+ export {
3
+ e as AgtSwitch
4
+ };
@@ -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 "./TableCell.vue.js";
5
- import w from "./TableRow.vue.js";
6
- import B from "../illustration/Illustration.vue.js";
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(), _(w, null, {
21
+ return (p, N) => (o(), _(B, null, {
22
22
  default: a(() => [
23
- l(v, x({
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(B), {
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
+ };
@@ -1,5 +1,9 @@
1
1
  import { cva as r } from "class-variance-authority";
2
- const t = r(
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
- t as tabsTriggerVariants
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
  };
@@ -0,0 +1,4 @@
1
+ import { default as t } from "./Textarea.vue.js";
2
+ export {
3
+ t as AgtTextarea
4
+ };
@@ -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 f 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";
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" }, j = /* @__PURE__ */ C({
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(f), { class: "h-4 w-4" })
80
+ l(i(b), { class: "h-4 w-4" })
80
81
  ]),
81
82
  _: 1
82
83
  }, 8, ["disabled"]),
83
- l(i(b), {
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(f), { class: "h-4 w-4" })
114
+ l(i(b), { class: "h-4 w-4" })
114
115
  ]),
115
116
  _: 1
116
117
  }, 8, ["disabled"]),
117
- l(i(b), {
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
- j as default
142
+ q as default
142
143
  };
@@ -0,0 +1,4 @@
1
+ import { default as t } from "./TimePicker.vue.js";
2
+ export {
3
+ t as AgtTimePicker
4
+ };
@@ -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",
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-icons": "1.0.7",
219
- "@agrotools1/at-tailwind-config": "0.2.0"
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",