@irbags/ui-kit 1.0.1-alpha.18 → 1.0.1-alpha.19
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/module.json +1 -1
- package/dist/module.mjs +111 -1
- package/dist/runtime/assets/css/main.css +1 -1
- package/package.json +1 -1
- package/dist/runtime/app.config.d.ts +0 -96
- package/dist/runtime/app.config.js +0 -109
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,6 +2,116 @@ import { defineNuxtModule, createResolver, installModules, addComponent } from '
|
|
|
2
2
|
import { existsSync, readdirSync, statSync } from 'fs';
|
|
3
3
|
import { join } from 'path';
|
|
4
4
|
|
|
5
|
+
const ibgAppConfig = {
|
|
6
|
+
ui: {
|
|
7
|
+
colors: {
|
|
8
|
+
black: "black",
|
|
9
|
+
white: "white",
|
|
10
|
+
error: "error",
|
|
11
|
+
secondary: "secondary"
|
|
12
|
+
},
|
|
13
|
+
button: {
|
|
14
|
+
compoundVariants: [
|
|
15
|
+
{
|
|
16
|
+
color: "black",
|
|
17
|
+
variant: "link",
|
|
18
|
+
class: "text-black hover:text-secondary disabled:text-secondary active:text-black cursor-pointer text-xl leading-none font-medium p-0 bg-transparent active:bg-transparent hover:bg-transparent"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
color: "black",
|
|
23
|
+
variant: "link"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
input: {
|
|
27
|
+
slots: {
|
|
28
|
+
base: [
|
|
29
|
+
"placeholder:text-secondary !text-xl !font-medium !p-0 rounded-none leading-none"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
compoundVariants: [
|
|
33
|
+
{
|
|
34
|
+
color: "black",
|
|
35
|
+
variant: "none",
|
|
36
|
+
class: "text-black"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
color: "error",
|
|
40
|
+
variant: "none",
|
|
41
|
+
class: "text-error"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
defaultVariants: {
|
|
45
|
+
color: "black",
|
|
46
|
+
variant: "none"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
radioGroup: {
|
|
50
|
+
slots: {
|
|
51
|
+
root: "w-max",
|
|
52
|
+
base: "bg-secondary-500 ring-0 cursor-pointer",
|
|
53
|
+
item: `flex items-center text-black not-has-[button[aria-checked="true"]]:text-secondary-500`,
|
|
54
|
+
label: "text-inherit font-medium text-4xl cursor-pointer",
|
|
55
|
+
indicator: "after:bg-transparent cursor-pointer"
|
|
56
|
+
},
|
|
57
|
+
variants: {
|
|
58
|
+
indicator: {
|
|
59
|
+
start: {
|
|
60
|
+
wrapper: "ml-2.5"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
size: {
|
|
64
|
+
xl: {
|
|
65
|
+
base: "size-big"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
defaultVariants: {
|
|
70
|
+
color: "black",
|
|
71
|
+
variant: "list",
|
|
72
|
+
size: "xl"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
fileUpload: {
|
|
76
|
+
slots: {
|
|
77
|
+
root: "cursor-pointer",
|
|
78
|
+
base: "border-none rounded-none bg-gray-500",
|
|
79
|
+
avatar: "bg-transparent text-6xl",
|
|
80
|
+
fileLeadingAvatar: "bg-secondary-500 text-6xl"
|
|
81
|
+
},
|
|
82
|
+
variants: {
|
|
83
|
+
dropzone: {
|
|
84
|
+
true: "border-none"
|
|
85
|
+
},
|
|
86
|
+
layout: {
|
|
87
|
+
grid: {
|
|
88
|
+
fileLeadingAvatar: "rounded-none"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
compoundVariants: [
|
|
93
|
+
{
|
|
94
|
+
interactive: true,
|
|
95
|
+
disabled: false,
|
|
96
|
+
class: "hover:!bg-gray-500 hover:opacity-70"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
card: {
|
|
101
|
+
slots: {
|
|
102
|
+
root: "rounded-none",
|
|
103
|
+
body: "p-0 sm:p-0",
|
|
104
|
+
footer: "p-0 sm:px-0 !pl-5 !pt-5 text-xl text-black font-medium"
|
|
105
|
+
},
|
|
106
|
+
variants: {
|
|
107
|
+
variant: {
|
|
108
|
+
outline: "ring-0"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
5
115
|
const module$1 = defineNuxtModule({
|
|
6
116
|
meta: {
|
|
7
117
|
name: "irbags-ui",
|
|
@@ -43,7 +153,7 @@ const module$1 = defineNuxtModule({
|
|
|
43
153
|
const modulesToInstall = /* @__PURE__ */ new Map([["@nuxt/ui", {}]]);
|
|
44
154
|
const installed = /* @__PURE__ */ new Set([]);
|
|
45
155
|
await installModules(modulesToInstall, installed, _nuxt);
|
|
46
|
-
const { ui: { colors, button, card, fileUpload, input, radioGroup } } =
|
|
156
|
+
const { ui: { colors, button, card, fileUpload, input, radioGroup } } = ibgAppConfig;
|
|
47
157
|
_nuxt.options.appConfig = {
|
|
48
158
|
..._nuxt.options.appConfig,
|
|
49
159
|
ui: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "tailwindcss";@import "@nuxt/ui";@source "
|
|
1
|
+
@import "tailwindcss";@import "@nuxt/ui";@source "../../../app.config.ts";@source "../../../module.mjs";@theme static{--color-secondary-500:#dadada;--color-black-500:#000;--color-white-500:#fff;--color-error-500:#ff2a2a;--color-gray-500:#d7d7d7;--text-4xl:2.1875rem;--size-big:1.5625rem;--ui-text-muted:#fff;--text-6xl:3.4375rem}
|
package/package.json
CHANGED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export declare const ibgAppConfig: {
|
|
2
|
-
ui: {
|
|
3
|
-
colors: {
|
|
4
|
-
black: string;
|
|
5
|
-
white: string;
|
|
6
|
-
error: string;
|
|
7
|
-
secondary: string;
|
|
8
|
-
};
|
|
9
|
-
button: {
|
|
10
|
-
compoundVariants: {
|
|
11
|
-
color: string;
|
|
12
|
-
variant: string;
|
|
13
|
-
class: string;
|
|
14
|
-
}[];
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
color: string;
|
|
17
|
-
variant: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
input: {
|
|
21
|
-
slots: {
|
|
22
|
-
base: string[];
|
|
23
|
-
};
|
|
24
|
-
compoundVariants: {
|
|
25
|
-
color: string;
|
|
26
|
-
variant: string;
|
|
27
|
-
class: string;
|
|
28
|
-
}[];
|
|
29
|
-
defaultVariants: {
|
|
30
|
-
color: string;
|
|
31
|
-
variant: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
radioGroup: {
|
|
35
|
-
slots: {
|
|
36
|
-
root: string;
|
|
37
|
-
base: string;
|
|
38
|
-
item: string;
|
|
39
|
-
label: string;
|
|
40
|
-
indicator: string;
|
|
41
|
-
};
|
|
42
|
-
variants: {
|
|
43
|
-
indicator: {
|
|
44
|
-
start: {
|
|
45
|
-
wrapper: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
size: {
|
|
49
|
-
xl: {
|
|
50
|
-
base: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
defaultVariants: {
|
|
55
|
-
color: string;
|
|
56
|
-
variant: string;
|
|
57
|
-
size: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
fileUpload: {
|
|
61
|
-
slots: {
|
|
62
|
-
root: string;
|
|
63
|
-
base: string;
|
|
64
|
-
avatar: string;
|
|
65
|
-
fileLeadingAvatar: string;
|
|
66
|
-
};
|
|
67
|
-
variants: {
|
|
68
|
-
dropzone: {
|
|
69
|
-
true: string;
|
|
70
|
-
};
|
|
71
|
-
layout: {
|
|
72
|
-
grid: {
|
|
73
|
-
fileLeadingAvatar: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
compoundVariants: {
|
|
78
|
-
interactive: boolean;
|
|
79
|
-
disabled: boolean;
|
|
80
|
-
class: string;
|
|
81
|
-
}[];
|
|
82
|
-
};
|
|
83
|
-
card: {
|
|
84
|
-
slots: {
|
|
85
|
-
root: string;
|
|
86
|
-
body: string;
|
|
87
|
-
footer: string;
|
|
88
|
-
};
|
|
89
|
-
variants: {
|
|
90
|
-
variant: {
|
|
91
|
-
outline: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
export const ibgAppConfig = {
|
|
2
|
-
ui: {
|
|
3
|
-
colors: {
|
|
4
|
-
black: "black",
|
|
5
|
-
white: "white",
|
|
6
|
-
error: "error",
|
|
7
|
-
secondary: "secondary"
|
|
8
|
-
},
|
|
9
|
-
button: {
|
|
10
|
-
compoundVariants: [
|
|
11
|
-
{
|
|
12
|
-
color: "black",
|
|
13
|
-
variant: "link",
|
|
14
|
-
class: "text-black hover:text-secondary disabled:text-secondary active:text-black cursor-pointer text-xl leading-none font-medium p-0 bg-transparent active:bg-transparent hover:bg-transparent"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
defaultVariants: {
|
|
18
|
-
color: "black",
|
|
19
|
-
variant: "link"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
input: {
|
|
23
|
-
slots: {
|
|
24
|
-
base: [
|
|
25
|
-
"placeholder:text-secondary !text-xl !font-medium !p-0 rounded-none leading-none"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
compoundVariants: [
|
|
29
|
-
{
|
|
30
|
-
color: "black",
|
|
31
|
-
variant: "none",
|
|
32
|
-
class: "text-black"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
color: "error",
|
|
36
|
-
variant: "none",
|
|
37
|
-
class: "text-error"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
defaultVariants: {
|
|
41
|
-
color: "black",
|
|
42
|
-
variant: "none"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
radioGroup: {
|
|
46
|
-
slots: {
|
|
47
|
-
root: "w-max",
|
|
48
|
-
base: "bg-secondary-500 ring-0 cursor-pointer",
|
|
49
|
-
item: `flex items-center text-black not-has-[button[aria-checked="true"]]:text-secondary-500`,
|
|
50
|
-
label: "text-inherit font-medium text-4xl cursor-pointer",
|
|
51
|
-
indicator: "after:bg-transparent cursor-pointer"
|
|
52
|
-
},
|
|
53
|
-
variants: {
|
|
54
|
-
indicator: {
|
|
55
|
-
start: {
|
|
56
|
-
wrapper: "ml-2.5"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
size: {
|
|
60
|
-
xl: {
|
|
61
|
-
base: "size-big"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
defaultVariants: {
|
|
66
|
-
color: "black",
|
|
67
|
-
variant: "list",
|
|
68
|
-
size: "xl"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
fileUpload: {
|
|
72
|
-
slots: {
|
|
73
|
-
root: "cursor-pointer",
|
|
74
|
-
base: "border-none rounded-none bg-gray-500",
|
|
75
|
-
avatar: "bg-transparent text-6xl",
|
|
76
|
-
fileLeadingAvatar: "bg-secondary-500 text-6xl"
|
|
77
|
-
},
|
|
78
|
-
variants: {
|
|
79
|
-
dropzone: {
|
|
80
|
-
true: "border-none"
|
|
81
|
-
},
|
|
82
|
-
layout: {
|
|
83
|
-
grid: {
|
|
84
|
-
fileLeadingAvatar: "rounded-none"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
compoundVariants: [
|
|
89
|
-
{
|
|
90
|
-
interactive: true,
|
|
91
|
-
disabled: false,
|
|
92
|
-
class: "hover:!bg-gray-500 hover:opacity-70"
|
|
93
|
-
}
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
card: {
|
|
97
|
-
slots: {
|
|
98
|
-
root: "rounded-none",
|
|
99
|
-
body: "p-0 sm:p-0",
|
|
100
|
-
footer: "p-0 sm:px-0 !pl-5 !pt-5 text-xl text-black font-medium"
|
|
101
|
-
},
|
|
102
|
-
variants: {
|
|
103
|
-
variant: {
|
|
104
|
-
outline: "ring-0"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|