@soft-stech/bootsman-ui-shadcn 1.5.1 → 1.5.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.
Files changed (36) hide show
  1. package/dist/{BuiAutoForm.vue_vue_type_script_setup_true_lang-Dxpu5S0H.js → BuiAutoForm.vue_vue_type_script_setup_true_lang-DPMOv3Is.js} +1 -1
  2. package/dist/{BuiAutoFormField.vue_vue_type_script_setup_true_lang-CGrtsy45.js → BuiAutoFormField.vue_vue_type_script_setup_true_lang-Df7ngKZU.js} +3 -3
  3. package/dist/{BuiAutoFormFieldArray.vue_vue_type_script_setup_true_lang-BUp0LzFn.js → BuiAutoFormFieldArray.vue_vue_type_script_setup_true_lang-BCZCFdbg.js} +2 -2
  4. package/dist/{BuiAutoFormFieldFile.vue_vue_type_script_setup_true_lang-BknIdgDc.js → BuiAutoFormFieldFile.vue_vue_type_script_setup_true_lang-Bmtig2ft.js} +1 -1
  5. package/dist/{BuiAutoFormFieldInput.vue_vue_type_script_setup_true_lang-B3DiJflK.js → BuiAutoFormFieldInput.vue_vue_type_script_setup_true_lang-CHqWpF7L.js} +1 -1
  6. package/dist/{BuiAutoFormFieldNumber.vue_vue_type_script_setup_true_lang-DauTmsh6.js → BuiAutoFormFieldNumber.vue_vue_type_script_setup_true_lang-aebMwj3J.js} +1 -1
  7. package/dist/{BuiAutoFormFieldObject.vue_vue_type_script_setup_true_lang-DyP0uzRO.js → BuiAutoFormFieldObject.vue_vue_type_script_setup_true_lang-CRmk7nx_.js} +1 -1
  8. package/dist/{BuiPaginationCommon.vue_vue_type_script_setup_true_lang-CCTFFo7-.js → BuiPaginationCommon.vue_vue_type_script_setup_true_lang-BiJbQUqQ.js} +1 -1
  9. package/dist/BuiTooltipContent.vue_vue_type_script_setup_true_lang-BVKNDCxT.js +47 -0
  10. package/dist/components/ui/auto-form/BuiAutoForm.js +1 -1
  11. package/dist/components/ui/auto-form/BuiAutoFormField.js +1 -1
  12. package/dist/components/ui/auto-form/BuiAutoFormFieldArray.js +1 -1
  13. package/dist/components/ui/auto-form/BuiAutoFormFieldArrayCard.js +1 -1
  14. package/dist/components/ui/auto-form/BuiAutoFormFieldFile.js +1 -1
  15. package/dist/components/ui/auto-form/BuiAutoFormFieldInput.js +1 -1
  16. package/dist/components/ui/auto-form/BuiAutoFormFieldNumber.js +1 -1
  17. package/dist/components/ui/auto-form/BuiAutoFormFieldObject.js +1 -1
  18. package/dist/components/ui/auto-form/BuiAutoFormFieldObjectCard.js +1 -1
  19. package/dist/components/ui/auto-form/constant.js +4 -4
  20. package/dist/components/ui/auto-form/index.js +7 -7
  21. package/dist/components/ui/input/index.js +1 -1
  22. package/dist/components/ui/pagination/BuiPaginationCommon.js +1 -1
  23. package/dist/components/ui/pagination/index.js +1 -1
  24. package/dist/components/ui/table/index.js +1 -1
  25. package/dist/components/ui/tooltip/BuiTooltipContent.js +1 -1
  26. package/dist/components/ui/tooltip/index.js +1 -1
  27. package/dist/index-BUF5BmsK.js +358 -0
  28. package/dist/index.js +9 -9
  29. package/dist/style.css +1 -1
  30. package/dist/tailwind-preset.js +5 -4
  31. package/package.json +2 -1
  32. package/src/assets/variables.css +4 -0
  33. package/src/components/ui/tooltip/BuiTooltipContent.vue +6 -2
  34. package/src/tailwind-preset.ts +3 -1
  35. package/dist/BuiTooltipContent.vue_vue_type_script_setup_true_lang-BrV2UqB6.js +0 -45
  36. package/dist/index-BGsblnmA.js +0 -216
@@ -1,45 +0,0 @@
1
- import { defineComponent as d, openBlock as n, createBlock as r, unref as e, withCtx as t, createVNode as l, mergeProps as m, renderSlot as p } from "vue";
2
- import { x as f, F as c, M as u } from "./index-0I6LZbPQ.js";
3
- import { g } from "./utils-Dn2Y7TRK.js";
4
- const x = /* @__PURE__ */ d({
5
- __name: "BuiTooltipContent",
6
- props: {
7
- forceMount: { type: Boolean },
8
- ariaLabel: {},
9
- asChild: { type: Boolean },
10
- as: {},
11
- side: {},
12
- sideOffset: { default: 4 },
13
- align: {},
14
- alignOffset: {},
15
- avoidCollisions: { type: Boolean },
16
- collisionBoundary: {},
17
- collisionPadding: {},
18
- arrowPadding: {},
19
- sticky: {},
20
- hideWhenDetached: { type: Boolean }
21
- },
22
- emits: ["escapeKeyDown", "pointerDownOutside"],
23
- setup(a, { emit: s }) {
24
- const i = f(a, s);
25
- return (o, B) => (n(), r(e(c), null, {
26
- default: t(() => [
27
- l(e(u), m({ ...e(i), ...o.$attrs }, {
28
- class: e(g)(
29
- "z-50 overflow-hidden rounded-md border border-muted bg-[hsl(var(--tooltip))] px-3 py-1.5 text-sm text-primary-foreground shadow-level3 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 [&_a]:text-[hsl(var(--tooltip-link))] [&_a]:underline",
30
- o.$attrs.class ?? ""
31
- )
32
- }), {
33
- default: t(() => [
34
- p(o.$slots, "default")
35
- ]),
36
- _: 3
37
- }, 16, ["class"])
38
- ]),
39
- _: 3
40
- }));
41
- }
42
- });
43
- export {
44
- x as _
45
- };
@@ -1,216 +0,0 @@
1
- function f(a) {
2
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
3
- }
4
- var s = {}, c = {};
5
- (function(a) {
6
- Object.defineProperty(a, "__esModule", {
7
- value: !0
8
- }), Object.defineProperty(a, "default", {
9
- enumerable: !0,
10
- get: function() {
11
- return e;
12
- }
13
- });
14
- function n(t, i) {
15
- return {
16
- handler: t,
17
- config: i
18
- };
19
- }
20
- n.withOptions = function(t, i = () => ({})) {
21
- const r = function(o) {
22
- return {
23
- __options: o,
24
- handler: t(o),
25
- config: i(o)
26
- };
27
- };
28
- return r.__isOptionsFunction = !0, r.__pluginFunction = t, r.__configFunction = i, r;
29
- };
30
- const e = n;
31
- })(c);
32
- (function(a) {
33
- Object.defineProperty(a, "__esModule", {
34
- value: !0
35
- }), Object.defineProperty(a, "default", {
36
- enumerable: !0,
37
- get: function() {
38
- return t;
39
- }
40
- });
41
- const n = /* @__PURE__ */ e(c);
42
- function e(i) {
43
- return i && i.__esModule ? i : {
44
- default: i
45
- };
46
- }
47
- const t = n.default;
48
- })(s);
49
- let l = s;
50
- var d = (l.__esModule ? l : { default: l }).default;
51
- const m = d;
52
- function u(a) {
53
- return Object.fromEntries(
54
- Object.entries(a).filter(([n]) => n !== "DEFAULT")
55
- );
56
- }
57
- var w = m(
58
- ({ addUtilities: a, matchUtilities: n, theme: e }) => {
59
- a({
60
- "@keyframes enter": e("keyframes.enter"),
61
- "@keyframes exit": e("keyframes.exit"),
62
- ".animate-in": {
63
- animationName: "enter",
64
- animationDuration: e("animationDuration.DEFAULT"),
65
- "--tw-enter-opacity": "initial",
66
- "--tw-enter-scale": "initial",
67
- "--tw-enter-rotate": "initial",
68
- "--tw-enter-translate-x": "initial",
69
- "--tw-enter-translate-y": "initial"
70
- },
71
- ".animate-out": {
72
- animationName: "exit",
73
- animationDuration: e("animationDuration.DEFAULT"),
74
- "--tw-exit-opacity": "initial",
75
- "--tw-exit-scale": "initial",
76
- "--tw-exit-rotate": "initial",
77
- "--tw-exit-translate-x": "initial",
78
- "--tw-exit-translate-y": "initial"
79
- }
80
- }), n(
81
- {
82
- "fade-in": (t) => ({ "--tw-enter-opacity": t }),
83
- "fade-out": (t) => ({ "--tw-exit-opacity": t })
84
- },
85
- { values: e("animationOpacity") }
86
- ), n(
87
- {
88
- "zoom-in": (t) => ({ "--tw-enter-scale": t }),
89
- "zoom-out": (t) => ({ "--tw-exit-scale": t })
90
- },
91
- { values: e("animationScale") }
92
- ), n(
93
- {
94
- "spin-in": (t) => ({ "--tw-enter-rotate": t }),
95
- "spin-out": (t) => ({ "--tw-exit-rotate": t })
96
- },
97
- { values: e("animationRotate") }
98
- ), n(
99
- {
100
- "slide-in-from-top": (t) => ({
101
- "--tw-enter-translate-y": `-${t}`
102
- }),
103
- "slide-in-from-bottom": (t) => ({
104
- "--tw-enter-translate-y": t
105
- }),
106
- "slide-in-from-left": (t) => ({
107
- "--tw-enter-translate-x": `-${t}`
108
- }),
109
- "slide-in-from-right": (t) => ({
110
- "--tw-enter-translate-x": t
111
- }),
112
- "slide-out-to-top": (t) => ({
113
- "--tw-exit-translate-y": `-${t}`
114
- }),
115
- "slide-out-to-bottom": (t) => ({
116
- "--tw-exit-translate-y": t
117
- }),
118
- "slide-out-to-left": (t) => ({
119
- "--tw-exit-translate-x": `-${t}`
120
- }),
121
- "slide-out-to-right": (t) => ({
122
- "--tw-exit-translate-x": t
123
- })
124
- },
125
- { values: e("animationTranslate") }
126
- ), n(
127
- { duration: (t) => ({ animationDuration: t }) },
128
- { values: u(e("animationDuration")) }
129
- ), n(
130
- { delay: (t) => ({ animationDelay: t }) },
131
- { values: e("animationDelay") }
132
- ), n(
133
- { ease: (t) => ({ animationTimingFunction: t }) },
134
- { values: u(e("animationTimingFunction")) }
135
- ), a({
136
- ".running": { animationPlayState: "running" },
137
- ".paused": { animationPlayState: "paused" }
138
- }), n(
139
- { "fill-mode": (t) => ({ animationFillMode: t }) },
140
- { values: e("animationFillMode") }
141
- ), n(
142
- { direction: (t) => ({ animationDirection: t }) },
143
- { values: e("animationDirection") }
144
- ), n(
145
- { repeat: (t) => ({ animationIterationCount: t }) },
146
- { values: e("animationRepeat") }
147
- );
148
- },
149
- {
150
- theme: {
151
- extend: {
152
- animationDelay: ({ theme: a }) => ({
153
- ...a("transitionDelay")
154
- }),
155
- animationDuration: ({ theme: a }) => ({
156
- 0: "0ms",
157
- ...a("transitionDuration")
158
- }),
159
- animationTimingFunction: ({ theme: a }) => ({
160
- ...a("transitionTimingFunction")
161
- }),
162
- animationFillMode: {
163
- none: "none",
164
- forwards: "forwards",
165
- backwards: "backwards",
166
- both: "both"
167
- },
168
- animationDirection: {
169
- normal: "normal",
170
- reverse: "reverse",
171
- alternate: "alternate",
172
- "alternate-reverse": "alternate-reverse"
173
- },
174
- animationOpacity: ({ theme: a }) => ({
175
- DEFAULT: 0,
176
- ...a("opacity")
177
- }),
178
- animationTranslate: ({ theme: a }) => ({
179
- DEFAULT: "100%",
180
- ...a("translate")
181
- }),
182
- animationScale: ({ theme: a }) => ({
183
- DEFAULT: 0,
184
- ...a("scale")
185
- }),
186
- animationRotate: ({ theme: a }) => ({
187
- DEFAULT: "30deg",
188
- ...a("rotate")
189
- }),
190
- animationRepeat: {
191
- 0: "0",
192
- 1: "1",
193
- infinite: "infinite"
194
- },
195
- keyframes: {
196
- enter: {
197
- from: {
198
- opacity: "var(--tw-enter-opacity, 1)",
199
- transform: "translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"
200
- }
201
- },
202
- exit: {
203
- to: {
204
- opacity: "var(--tw-exit-opacity, 1)",
205
- transform: "translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"
206
- }
207
- }
208
- }
209
- }
210
- }
211
- }
212
- );
213
- const y = /* @__PURE__ */ f(w);
214
- export {
215
- y as a
216
- };