@brumaombra/ui-vintage 0.2.1 → 0.3.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/{Busy-DSyPtpVD.js → Busy-1BeD2TRH.js} +5 -13
- package/dist/{CalendarPrevButton.vue_vue_type_script_setup_true_lang-Dqz6DIGp.js → CalendarPrevButton.vue_vue_type_script_setup_true_lang-BklOxtD-.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-BMXrxvBF.js} +3 -2
- package/dist/HugeiconsIcon.vue-BJ-_Wtmk.js +124 -0
- package/dist/{NativeSelectOption.vue_vue_type_script_setup_true_lang-CWhL2Lw8.js → NativeSelectOption.vue_vue_type_script_setup_true_lang-Ce5VmA0n.js} +4 -3
- package/dist/{SheetTitle.vue_vue_type_script_setup_true_lang-fx9jbBwT.js → SheetTitle.vue_vue_type_script_setup_true_lang-Csr3nKnG.js} +6 -2
- 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/message-dialog/index.d.ts +2 -2
- 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/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/confirm-dialog.js +13 -19
- package/dist/dashboard-shell.js +9 -2
- package/dist/date-picker.js +6 -15
- package/dist/dialog.js +7 -3
- package/dist/error-page.js +113 -0
- package/dist/message-dialog.js +22 -54
- package/dist/native-select.js +1 -1
- package/dist/select.js +17 -16
- package/dist/sheet.js +1 -1
- package/dist/sidebar.js +3 -13
- package/dist/style.css +4168 -4
- package/dist/style.d.ts +0 -0
- package/dist/style.js +1 -0
- package/package.json +11 -2
- 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/dist/style.d.ts
ADDED
|
File without changes
|
package/dist/style.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brumaombra/ui-vintage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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"
|
|
@@ -165,11 +173,12 @@
|
|
|
165
173
|
"vue": "^3.5.0"
|
|
166
174
|
},
|
|
167
175
|
"dependencies": {
|
|
176
|
+
"@hugeicons/core-free-icons": "4.1.1",
|
|
177
|
+
"@hugeicons/vue": "1.0.5",
|
|
168
178
|
"@internationalized/date": "3.10.0",
|
|
169
179
|
"@vueuse/core": "14.2.1",
|
|
170
180
|
"class-variance-authority": "0.7.1",
|
|
171
181
|
"clsx": "2.1.1",
|
|
172
|
-
"lucide-vue-next": "1.0.0",
|
|
173
182
|
"reka-ui": "2.9.2",
|
|
174
183
|
"tailwind-merge": "3.5.0"
|
|
175
184
|
},
|
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
|
-
};
|