@brumaombra/ui-vintage 0.2.2 → 0.4.0
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/README.md +9 -9
- package/dist/{BackgroundGrid-Cxvbtefm.js → BackgroundGrid-BJDDcLzF.js} +1 -1
- package/dist/{Busy-DSyPtpVD.js → Busy-D1u_LUYu.js} +5 -13
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-Dqz6DIGp.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-BA4Aw_Sl.js} +17 -29
- package/dist/CardFooter.vue_vue_type_script_setup_true_lang-B1eS9wge.js +40 -0
- package/dist/{DialogPortal-BTVR2QvT.js → DialogPortal-D81oXsCY.js} +1 -13
- package/dist/{DialogTitle.vue_vue_type_script_setup_true_lang-83YQbiAn.js → DialogTitle.vue_vue_type_script_setup_true_lang-BG4dvMRo.js} +5 -18
- package/dist/{DialogTrigger-CjJ8QNL_.js → DialogTrigger-BQbSAHMb.js} +33 -3
- package/dist/HugeiconsIcon.vue-CurGbgrJ.js +125 -0
- package/dist/MessageToast-C1L25W2l.js +76 -0
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-CWhL2Lw8.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-COnFRt8g.js} +4 -3
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js → SheetTitle.vue_vue_type_script_setup_true_lang-BQbpsE2c.js} +3 -11
- package/dist/alert-dialog.js +1 -2
- package/dist/background-grid.js +1 -1
- package/dist/badge.js +50 -0
- package/dist/busy-indicator.js +1 -1
- package/dist/busy.js +1 -1
- package/dist/calendar.js +1 -1
- package/dist/card.js +7 -40
- package/dist/command.js +6 -13
- package/dist/components/confirm-dialog/index.d.ts +2 -2
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +1 -0
- package/dist/components/error-page/ErrorPage.vue.d.ts +51 -0
- package/dist/components/error-page/index.d.ts +2 -0
- package/dist/components/landing/index.d.ts +6 -0
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +22 -0
- package/dist/components/landing/landing-content/index.d.ts +2 -0
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +44 -0
- package/dist/components/landing/landing-footer/index.d.ts +3 -0
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +25 -0
- package/dist/components/landing/landing-navbar/index.d.ts +2 -0
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +32 -0
- package/dist/components/landing/landing-shell/index.d.ts +2 -0
- package/dist/components/message-dialog/index.d.ts +2 -2
- package/dist/components/message-toast/MessageToast.vue.d.ts +2 -0
- package/dist/components/message-toast/index.d.ts +2 -0
- package/dist/components/message-toast/message-toast-state.d.ts +18 -0
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +3 -3
- package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
- package/dist/components/ui/badge/index.d.ts +6 -0
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +1 -4
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/confirm-dialog.js +13 -19
- package/dist/dashboard-shell.js +10 -3
- package/dist/date-picker.js +6 -15
- package/dist/dialog.js +6 -14
- package/dist/error-page.js +113 -0
- package/dist/landing.js +239 -0
- package/dist/message-dialog.js +22 -54
- package/dist/message-toast.js +103 -0
- package/dist/native-select.js +1 -1
- package/dist/select.js +17 -16
- package/dist/sheet.js +2 -3
- package/dist/sidebar.js +3 -13
- package/dist/style.css +378 -67
- package/package.json +19 -2
- package/dist/DialogClose-DDtZ0Em0.js +0 -36
- package/dist/check-iejznCzf.js +0 -11
- package/dist/chevron-down-DP-oz-sL.js +0 -13
- package/dist/createLucideIcon-CCMB2vDW.js +0 -130
- package/dist/info-DZrSmi42.js +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brumaombra/ui-vintage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Vue 3 component library with shadcn-style primitives, app shells, dialogs, and shared theme tokens.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Mauro Brambilla",
|
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
"types": "./dist/components/background-grid/index.d.ts",
|
|
45
45
|
"import": "./dist/background-grid.js"
|
|
46
46
|
},
|
|
47
|
+
"./badge": {
|
|
48
|
+
"types": "./dist/components/ui/badge/index.d.ts",
|
|
49
|
+
"import": "./dist/badge.js"
|
|
50
|
+
},
|
|
47
51
|
"./busy": {
|
|
48
52
|
"types": "./dist/components/ui/busy/index.d.ts",
|
|
49
53
|
"import": "./dist/busy.js"
|
|
@@ -76,6 +80,10 @@
|
|
|
76
80
|
"types": "./dist/components/dashboard-shell/index.d.ts",
|
|
77
81
|
"import": "./dist/dashboard-shell.js"
|
|
78
82
|
},
|
|
83
|
+
"./error-page": {
|
|
84
|
+
"types": "./dist/components/error-page/index.d.ts",
|
|
85
|
+
"import": "./dist/error-page.js"
|
|
86
|
+
},
|
|
79
87
|
"./dialog": {
|
|
80
88
|
"types": "./dist/components/ui/dialog/index.d.ts",
|
|
81
89
|
"import": "./dist/dialog.js"
|
|
@@ -88,6 +96,10 @@
|
|
|
88
96
|
"types": "./dist/components/message-dialog/index.d.ts",
|
|
89
97
|
"import": "./dist/message-dialog.js"
|
|
90
98
|
},
|
|
99
|
+
"./message-toast": {
|
|
100
|
+
"types": "./dist/components/message-toast/index.d.ts",
|
|
101
|
+
"import": "./dist/message-toast.js"
|
|
102
|
+
},
|
|
91
103
|
"./native-select": {
|
|
92
104
|
"types": "./dist/components/ui/native-select/index.d.ts",
|
|
93
105
|
"import": "./dist/native-select.js"
|
|
@@ -104,6 +116,10 @@
|
|
|
104
116
|
"types": "./dist/components/ui/label/index.d.ts",
|
|
105
117
|
"import": "./dist/label.js"
|
|
106
118
|
},
|
|
119
|
+
"./landing": {
|
|
120
|
+
"types": "./dist/components/landing/index.d.ts",
|
|
121
|
+
"import": "./dist/landing.js"
|
|
122
|
+
},
|
|
107
123
|
"./popover": {
|
|
108
124
|
"types": "./dist/components/ui/popover/index.d.ts",
|
|
109
125
|
"import": "./dist/popover.js"
|
|
@@ -165,11 +181,12 @@
|
|
|
165
181
|
"vue": "^3.5.0"
|
|
166
182
|
},
|
|
167
183
|
"dependencies": {
|
|
184
|
+
"@hugeicons/core-free-icons": "4.1.1",
|
|
185
|
+
"@hugeicons/vue": "1.0.5",
|
|
168
186
|
"@internationalized/date": "3.10.0",
|
|
169
187
|
"@vueuse/core": "14.2.1",
|
|
170
188
|
"class-variance-authority": "0.7.1",
|
|
171
189
|
"clsx": "2.1.1",
|
|
172
|
-
"lucide-vue-next": "1.0.0",
|
|
173
190
|
"reka-ui": "2.9.2",
|
|
174
191
|
"tailwind-merge": "3.5.0"
|
|
175
192
|
},
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { u as useForwardExpose } from "./useForwardExpose-BiRQH8eO.js";
|
|
2
|
-
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
3
|
-
import { i as injectDialogRootContext } from "./DialogTitle-CLuntLBB.js";
|
|
4
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
5
|
-
var DialogClose_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "DialogClose",
|
|
7
|
-
props: {
|
|
8
|
-
asChild: {
|
|
9
|
-
type: Boolean,
|
|
10
|
-
required: false
|
|
11
|
-
},
|
|
12
|
-
as: {
|
|
13
|
-
type: null,
|
|
14
|
-
required: false,
|
|
15
|
-
default: "button"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
useForwardExpose();
|
|
21
|
-
const rootContext = injectDialogRootContext();
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
|
|
24
|
-
type: _ctx.as === "button" ? "button" : void 0,
|
|
25
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false))
|
|
26
|
-
}), {
|
|
27
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
28
|
-
_: 3
|
|
29
|
-
}, 16, ["type"]);
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
var DialogClose_default = DialogClose_vue_vue_type_script_setup_true_lang_default;
|
|
34
|
-
export {
|
|
35
|
-
DialogClose_default as D
|
|
36
|
-
};
|
package/dist/check-iejznCzf.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const Check = createLucideIcon("check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
9
|
-
export {
|
|
10
|
-
Check as C
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const ChevronDown = createLucideIcon("chevron-down", [
|
|
9
|
-
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
10
|
-
]);
|
|
11
|
-
export {
|
|
12
|
-
ChevronDown as C
|
|
13
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { h } from "vue";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const hasA11yProp = (props) => {
|
|
9
|
-
for (const prop in props) {
|
|
10
|
-
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
11
|
-
return true;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/
|
|
22
|
-
const isEmptyString = (value) => value === "";
|
|
23
|
-
/**
|
|
24
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the ISC license.
|
|
27
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
const mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
30
|
-
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
31
|
-
}).join(" ").trim();
|
|
32
|
-
/**
|
|
33
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
34
|
-
*
|
|
35
|
-
* This source code is licensed under the ISC license.
|
|
36
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/
|
|
38
|
-
const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
39
|
-
/**
|
|
40
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
41
|
-
*
|
|
42
|
-
* This source code is licensed under the ISC license.
|
|
43
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/
|
|
45
|
-
const toCamelCase = (string) => string.replace(
|
|
46
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
47
|
-
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
48
|
-
);
|
|
49
|
-
/**
|
|
50
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
51
|
-
*
|
|
52
|
-
* This source code is licensed under the ISC license.
|
|
53
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/
|
|
55
|
-
const toPascalCase = (string) => {
|
|
56
|
-
const camelCase = toCamelCase(string);
|
|
57
|
-
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the ISC license.
|
|
63
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/
|
|
65
|
-
var defaultAttributes = {
|
|
66
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
67
|
-
width: 24,
|
|
68
|
-
height: 24,
|
|
69
|
-
viewBox: "0 0 24 24",
|
|
70
|
-
fill: "none",
|
|
71
|
-
stroke: "currentColor",
|
|
72
|
-
"stroke-width": 2,
|
|
73
|
-
"stroke-linecap": "round",
|
|
74
|
-
"stroke-linejoin": "round"
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
78
|
-
*
|
|
79
|
-
* This source code is licensed under the ISC license.
|
|
80
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/
|
|
82
|
-
const Icon = ({
|
|
83
|
-
name,
|
|
84
|
-
iconNode,
|
|
85
|
-
absoluteStrokeWidth,
|
|
86
|
-
"absolute-stroke-width": absoluteStrokeWidthKebabCase,
|
|
87
|
-
strokeWidth,
|
|
88
|
-
"stroke-width": strokeWidthKebabCase,
|
|
89
|
-
size = defaultAttributes.width,
|
|
90
|
-
color = defaultAttributes.stroke,
|
|
91
|
-
...props
|
|
92
|
-
}, { slots }) => {
|
|
93
|
-
return h(
|
|
94
|
-
"svg",
|
|
95
|
-
{
|
|
96
|
-
...defaultAttributes,
|
|
97
|
-
...props,
|
|
98
|
-
width: size,
|
|
99
|
-
height: size,
|
|
100
|
-
stroke: color,
|
|
101
|
-
"stroke-width": isEmptyString(absoluteStrokeWidth) || isEmptyString(absoluteStrokeWidthKebabCase) || absoluteStrokeWidth === true || absoluteStrokeWidthKebabCase === true ? Number(strokeWidth || strokeWidthKebabCase || defaultAttributes["stroke-width"]) * 24 / Number(size) : strokeWidth || strokeWidthKebabCase || defaultAttributes["stroke-width"],
|
|
102
|
-
class: mergeClasses(
|
|
103
|
-
"lucide",
|
|
104
|
-
props.class,
|
|
105
|
-
...name ? [`lucide-${toKebabCase(toPascalCase(name))}-icon`, `lucide-${toKebabCase(name)}`] : ["lucide-icon"]
|
|
106
|
-
),
|
|
107
|
-
...!slots.default && !hasA11yProp(props) && { "aria-hidden": "true" }
|
|
108
|
-
},
|
|
109
|
-
[...iconNode.map((child) => h(...child)), ...slots.default ? [slots.default()] : []]
|
|
110
|
-
);
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
114
|
-
*
|
|
115
|
-
* This source code is licensed under the ISC license.
|
|
116
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
-
*/
|
|
118
|
-
const createLucideIcon = (iconName, iconNode) => (props, { slots, attrs }) => h(
|
|
119
|
-
Icon,
|
|
120
|
-
{
|
|
121
|
-
...attrs,
|
|
122
|
-
...props,
|
|
123
|
-
iconNode,
|
|
124
|
-
name: iconName
|
|
125
|
-
},
|
|
126
|
-
slots
|
|
127
|
-
);
|
|
128
|
-
export {
|
|
129
|
-
createLucideIcon as c
|
|
130
|
-
};
|
package/dist/info-DZrSmi42.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { c as createLucideIcon } from "./createLucideIcon-CCMB2vDW.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-vue-next v1.0.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const Info = createLucideIcon("info", [
|
|
9
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
|
-
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
11
|
-
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
12
|
-
]);
|
|
13
|
-
export {
|
|
14
|
-
Info as I
|
|
15
|
-
};
|