@3squared/forge-ui-3 0.12.0 → 0.13.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/dist/esm/forge-ui-3.js
CHANGED
|
@@ -797,7 +797,7 @@ const Ae = {
|
|
|
797
797
|
}
|
|
798
798
|
}, rt = {
|
|
799
799
|
divider: {
|
|
800
|
-
root: "border-bottom
|
|
800
|
+
root: "border-bottom w-100 m-1"
|
|
801
801
|
}
|
|
802
802
|
}, dt = {
|
|
803
803
|
image: {
|
|
@@ -1133,6 +1133,7 @@ const bt = { key: 0 }, ft = {
|
|
|
1133
1133
|
onConfirm: { type: [Function, null], default: null },
|
|
1134
1134
|
submitButtonType: { default: "button" },
|
|
1135
1135
|
cancelButtonType: { default: "button" },
|
|
1136
|
+
size: { default: "md" },
|
|
1136
1137
|
header: { default: "Header" },
|
|
1137
1138
|
footer: {},
|
|
1138
1139
|
visible: { type: Boolean },
|
|
@@ -1196,7 +1197,10 @@ const bt = { key: 0 }, ft = {
|
|
|
1196
1197
|
root: [
|
|
1197
1198
|
"modal modal-dialog modal-content h-auto m-0",
|
|
1198
1199
|
{
|
|
1199
|
-
"mw-100 vh-100 vw-100 top-0 start-0": a.value
|
|
1200
|
+
"mw-100 vh-100 vw-100 top-0 start-0": a.value,
|
|
1201
|
+
"modal-sm": o.size === "sm",
|
|
1202
|
+
"modal-lg": o.size === "lg",
|
|
1203
|
+
"modal-xl": o.size === "xl"
|
|
1200
1204
|
}
|
|
1201
1205
|
]
|
|
1202
1206
|
}));
|
|
@@ -2409,7 +2413,7 @@ const bt = { key: 0 }, ft = {
|
|
|
2409
2413
|
readonly: !1
|
|
2410
2414
|
}, null, 8, ["active-step", "model", "pt"])
|
|
2411
2415
|
]),
|
|
2412
|
-
b(_),
|
|
2416
|
+
b(_, { class: "m-4" }),
|
|
2413
2417
|
(i(!0), y(N, null, q(o.model, (M, P) => (i(), y("div", {
|
|
2414
2418
|
key: P,
|
|
2415
2419
|
class: "w-100"
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DialogPassThroughOptions, DialogProps, DialogSlots } from 'primevue/dialog';
|
|
2
|
+
import { Size } from '../types/forge-types.ts';
|
|
2
3
|
|
|
3
4
|
export interface ForgeModalProps extends DialogProps {
|
|
4
5
|
cancelText?: string;
|
|
@@ -7,6 +8,7 @@ export interface ForgeModalProps extends DialogProps {
|
|
|
7
8
|
onConfirm?: Function | null;
|
|
8
9
|
submitButtonType?: 'button' | 'reset' | 'submit';
|
|
9
10
|
cancelButtonType?: 'button' | 'reset' | 'submit';
|
|
11
|
+
size?: Size | 'xl';
|
|
10
12
|
}
|
|
11
13
|
declare function __VLS_template(): Partial<Record<NonNullable<keyof DialogSlots>, (_: any) => any>> & {
|
|
12
14
|
loader?(_: {}): any;
|
|
@@ -19,6 +21,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
19
21
|
style: {
|
|
20
22
|
type: import('vue').PropType<any>;
|
|
21
23
|
};
|
|
24
|
+
size: {
|
|
25
|
+
type: import('vue').PropType<"sm" | "md" | "lg" | "xl">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
22
28
|
pt: {
|
|
23
29
|
type: import('vue').PropType<object | DialogPassThroughOptions<any>>;
|
|
24
30
|
};
|
|
@@ -139,6 +145,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
139
145
|
style: {
|
|
140
146
|
type: import('vue').PropType<any>;
|
|
141
147
|
};
|
|
148
|
+
size: {
|
|
149
|
+
type: import('vue').PropType<"sm" | "md" | "lg" | "xl">;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
142
152
|
pt: {
|
|
143
153
|
type: import('vue').PropType<object | DialogPassThroughOptions<any>>;
|
|
144
154
|
};
|
|
@@ -252,6 +262,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
252
262
|
type: import('vue').PropType<string>;
|
|
253
263
|
};
|
|
254
264
|
}>>, {
|
|
265
|
+
size: "sm" | "md" | "lg" | "xl";
|
|
255
266
|
closable: boolean;
|
|
256
267
|
header: string;
|
|
257
268
|
submitText: string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.13.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"yup": "^1.4.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@cypress/code-coverage": "3.12.
|
|
44
|
+
"@cypress/code-coverage": "3.12.45",
|
|
45
45
|
"@vitejs/plugin-vue": "5.1.2",
|
|
46
46
|
"@vitest/coverage-v8": "1.6.0",
|
|
47
47
|
"@vitest/ui": "1.6.0",
|
|
48
|
-
"cypress": "13.13.
|
|
48
|
+
"cypress": "13.13.3",
|
|
49
49
|
"cypress-real-events": "1.13.0",
|
|
50
50
|
"sass": "1.77.8",
|
|
51
51
|
"typescript": "5.5.4",
|
|
52
|
-
"unplugin-vue-components": "0.27.
|
|
52
|
+
"unplugin-vue-components": "0.27.4",
|
|
53
53
|
"rollup-plugin-visualizer": "5.12.0",
|
|
54
|
-
"vite": "5.4.
|
|
54
|
+
"vite": "5.4.1",
|
|
55
55
|
"vite-bundle-visualizer": "1.2.1",
|
|
56
56
|
"vite-plugin-istanbul": "6.0.2",
|
|
57
57
|
"vitest": "1.6.0",
|