@teelur/budget-board-ui 0.1.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/LICENSE +674 -0
- package/README.md +26 -0
- package/dist/Button/Button.d.ts +21 -0
- package/dist/Button/Button.d.ts.map +1 -0
- package/dist/colors.d.ts +116 -0
- package/dist/colors.d.ts.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +404 -0
- package/dist/theme.d.ts +304 -0
- package/dist/theme.d.ts.map +1 -0
- package/package.json +62 -0
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
export { budgetBoardColors } from "./colors";
|
|
2
|
+
export type { BudgetBoardColorKey, BudgetBoardColorMode, BudgetBoardColors, BudgetBoardContentColorKey, } from "./colors";
|
|
3
|
+
export declare const budgetBoardTypography: {
|
|
4
|
+
readonly body: '"IBM Plex Sans", sans-serif';
|
|
5
|
+
readonly data: '"IBM Plex Sans", sans-serif';
|
|
6
|
+
readonly display: '"Plus Jakarta Sans", sans-serif';
|
|
7
|
+
};
|
|
8
|
+
export type BudgetBoardFontKey = keyof typeof budgetBoardTypography;
|
|
9
|
+
export type BudgetBoardTypography = typeof budgetBoardTypography;
|
|
10
|
+
export declare const budgetBoardTheme: {
|
|
11
|
+
focusRing?: 'auto' | 'always' | 'never';
|
|
12
|
+
scale?: number;
|
|
13
|
+
fontSmoothing?: boolean;
|
|
14
|
+
white?: string;
|
|
15
|
+
black?: string;
|
|
16
|
+
colors?: {
|
|
17
|
+
[x: string & {}]: import("@mantine/core").MantineColorsTuple | undefined;
|
|
18
|
+
blue?: import("@mantine/core").MantineColorsTuple;
|
|
19
|
+
cyan?: import("@mantine/core").MantineColorsTuple;
|
|
20
|
+
dark?: import("@mantine/core").MantineColorsTuple;
|
|
21
|
+
grape?: import("@mantine/core").MantineColorsTuple;
|
|
22
|
+
gray?: import("@mantine/core").MantineColorsTuple;
|
|
23
|
+
green?: import("@mantine/core").MantineColorsTuple;
|
|
24
|
+
indigo?: import("@mantine/core").MantineColorsTuple;
|
|
25
|
+
lime?: import("@mantine/core").MantineColorsTuple;
|
|
26
|
+
orange?: import("@mantine/core").MantineColorsTuple;
|
|
27
|
+
pink?: import("@mantine/core").MantineColorsTuple;
|
|
28
|
+
red?: import("@mantine/core").MantineColorsTuple;
|
|
29
|
+
teal?: import("@mantine/core").MantineColorsTuple;
|
|
30
|
+
violet?: import("@mantine/core").MantineColorsTuple;
|
|
31
|
+
yellow?: import("@mantine/core").MantineColorsTuple;
|
|
32
|
+
};
|
|
33
|
+
primaryShade?: {
|
|
34
|
+
light?: import("@mantine/core").MantineColorShade;
|
|
35
|
+
dark?: import("@mantine/core").MantineColorShade;
|
|
36
|
+
} | import("@mantine/core").MantineColorShade;
|
|
37
|
+
primaryColor?: string;
|
|
38
|
+
variantColorResolver?: import("@mantine/core").VariantColorsResolver;
|
|
39
|
+
autoContrast?: boolean;
|
|
40
|
+
luminanceThreshold?: number;
|
|
41
|
+
fontFamily?: string;
|
|
42
|
+
fontFamilyMonospace?: string;
|
|
43
|
+
headings?: {
|
|
44
|
+
fontFamily?: string;
|
|
45
|
+
fontWeight?: string;
|
|
46
|
+
textWrap?: 'wrap' | 'nowrap' | 'balance' | 'pretty' | 'stable';
|
|
47
|
+
sizes?: {
|
|
48
|
+
h1?: {
|
|
49
|
+
fontSize?: string;
|
|
50
|
+
fontWeight?: string;
|
|
51
|
+
lineHeight?: string;
|
|
52
|
+
};
|
|
53
|
+
h2?: {
|
|
54
|
+
fontSize?: string;
|
|
55
|
+
fontWeight?: string;
|
|
56
|
+
lineHeight?: string;
|
|
57
|
+
};
|
|
58
|
+
h3?: {
|
|
59
|
+
fontSize?: string;
|
|
60
|
+
fontWeight?: string;
|
|
61
|
+
lineHeight?: string;
|
|
62
|
+
};
|
|
63
|
+
h4?: {
|
|
64
|
+
fontSize?: string;
|
|
65
|
+
fontWeight?: string;
|
|
66
|
+
lineHeight?: string;
|
|
67
|
+
};
|
|
68
|
+
h5?: {
|
|
69
|
+
fontSize?: string;
|
|
70
|
+
fontWeight?: string;
|
|
71
|
+
lineHeight?: string;
|
|
72
|
+
};
|
|
73
|
+
h6?: {
|
|
74
|
+
fontSize?: string;
|
|
75
|
+
fontWeight?: string;
|
|
76
|
+
lineHeight?: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
radius?: {
|
|
81
|
+
[x: string & {}]: string | undefined;
|
|
82
|
+
lg?: string;
|
|
83
|
+
md?: string;
|
|
84
|
+
sm?: string;
|
|
85
|
+
xl?: string;
|
|
86
|
+
xs?: string;
|
|
87
|
+
};
|
|
88
|
+
defaultRadius?: import("@mantine/core").MantineRadius;
|
|
89
|
+
spacing?: {
|
|
90
|
+
[x: number]: string | undefined;
|
|
91
|
+
[x: string & {}]: string | undefined;
|
|
92
|
+
lg?: string;
|
|
93
|
+
md?: string;
|
|
94
|
+
sm?: string;
|
|
95
|
+
xl?: string;
|
|
96
|
+
xs?: string;
|
|
97
|
+
};
|
|
98
|
+
fontSizes?: {
|
|
99
|
+
[x: string & {}]: string | undefined;
|
|
100
|
+
lg?: string;
|
|
101
|
+
md?: string;
|
|
102
|
+
sm?: string;
|
|
103
|
+
xl?: string;
|
|
104
|
+
xs?: string;
|
|
105
|
+
};
|
|
106
|
+
lineHeights?: {
|
|
107
|
+
[x: string & {}]: string | undefined;
|
|
108
|
+
lg?: string;
|
|
109
|
+
md?: string;
|
|
110
|
+
sm?: string;
|
|
111
|
+
xl?: string;
|
|
112
|
+
xs?: string;
|
|
113
|
+
};
|
|
114
|
+
fontWeights?: {
|
|
115
|
+
[x: string & {}]: string | undefined;
|
|
116
|
+
bold?: string;
|
|
117
|
+
medium?: string;
|
|
118
|
+
regular?: string;
|
|
119
|
+
};
|
|
120
|
+
breakpoints?: {
|
|
121
|
+
[x: string & {}]: string | undefined;
|
|
122
|
+
lg?: string;
|
|
123
|
+
md?: string;
|
|
124
|
+
sm?: string;
|
|
125
|
+
xl?: string;
|
|
126
|
+
xs?: string;
|
|
127
|
+
};
|
|
128
|
+
shadows?: {
|
|
129
|
+
[x: string & {}]: string | undefined;
|
|
130
|
+
lg?: string;
|
|
131
|
+
md?: string;
|
|
132
|
+
sm?: string;
|
|
133
|
+
xl?: string;
|
|
134
|
+
xs?: string;
|
|
135
|
+
};
|
|
136
|
+
respectReducedMotion?: boolean;
|
|
137
|
+
cursorType?: 'default' | 'pointer';
|
|
138
|
+
defaultGradient?: {
|
|
139
|
+
from?: string;
|
|
140
|
+
to?: string;
|
|
141
|
+
deg?: number;
|
|
142
|
+
};
|
|
143
|
+
activeClassName?: string;
|
|
144
|
+
focusClassName?: string;
|
|
145
|
+
components?: {
|
|
146
|
+
[x: string]: {
|
|
147
|
+
classNames?: any;
|
|
148
|
+
styles?: any;
|
|
149
|
+
vars?: any;
|
|
150
|
+
defaultProps?: any;
|
|
151
|
+
} | undefined;
|
|
152
|
+
};
|
|
153
|
+
other?: {
|
|
154
|
+
[x: string]: any;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
export declare const budgetBoardDarkTheme: {
|
|
158
|
+
focusRing?: 'auto' | 'always' | 'never';
|
|
159
|
+
scale?: number;
|
|
160
|
+
fontSmoothing?: boolean;
|
|
161
|
+
white?: string;
|
|
162
|
+
black?: string;
|
|
163
|
+
colors?: {
|
|
164
|
+
[x: string & {}]: import("@mantine/core").MantineColorsTuple | undefined;
|
|
165
|
+
blue?: import("@mantine/core").MantineColorsTuple;
|
|
166
|
+
cyan?: import("@mantine/core").MantineColorsTuple;
|
|
167
|
+
dark?: import("@mantine/core").MantineColorsTuple;
|
|
168
|
+
grape?: import("@mantine/core").MantineColorsTuple;
|
|
169
|
+
gray?: import("@mantine/core").MantineColorsTuple;
|
|
170
|
+
green?: import("@mantine/core").MantineColorsTuple;
|
|
171
|
+
indigo?: import("@mantine/core").MantineColorsTuple;
|
|
172
|
+
lime?: import("@mantine/core").MantineColorsTuple;
|
|
173
|
+
orange?: import("@mantine/core").MantineColorsTuple;
|
|
174
|
+
pink?: import("@mantine/core").MantineColorsTuple;
|
|
175
|
+
red?: import("@mantine/core").MantineColorsTuple;
|
|
176
|
+
teal?: import("@mantine/core").MantineColorsTuple;
|
|
177
|
+
violet?: import("@mantine/core").MantineColorsTuple;
|
|
178
|
+
yellow?: import("@mantine/core").MantineColorsTuple;
|
|
179
|
+
};
|
|
180
|
+
primaryShade?: {
|
|
181
|
+
light?: import("@mantine/core").MantineColorShade;
|
|
182
|
+
dark?: import("@mantine/core").MantineColorShade;
|
|
183
|
+
} | import("@mantine/core").MantineColorShade;
|
|
184
|
+
primaryColor?: string;
|
|
185
|
+
variantColorResolver?: import("@mantine/core").VariantColorsResolver;
|
|
186
|
+
autoContrast?: boolean;
|
|
187
|
+
luminanceThreshold?: number;
|
|
188
|
+
fontFamily?: string;
|
|
189
|
+
fontFamilyMonospace?: string;
|
|
190
|
+
headings?: {
|
|
191
|
+
fontFamily?: string;
|
|
192
|
+
fontWeight?: string;
|
|
193
|
+
textWrap?: 'wrap' | 'nowrap' | 'balance' | 'pretty' | 'stable';
|
|
194
|
+
sizes?: {
|
|
195
|
+
h1?: {
|
|
196
|
+
fontSize?: string;
|
|
197
|
+
fontWeight?: string;
|
|
198
|
+
lineHeight?: string;
|
|
199
|
+
};
|
|
200
|
+
h2?: {
|
|
201
|
+
fontSize?: string;
|
|
202
|
+
fontWeight?: string;
|
|
203
|
+
lineHeight?: string;
|
|
204
|
+
};
|
|
205
|
+
h3?: {
|
|
206
|
+
fontSize?: string;
|
|
207
|
+
fontWeight?: string;
|
|
208
|
+
lineHeight?: string;
|
|
209
|
+
};
|
|
210
|
+
h4?: {
|
|
211
|
+
fontSize?: string;
|
|
212
|
+
fontWeight?: string;
|
|
213
|
+
lineHeight?: string;
|
|
214
|
+
};
|
|
215
|
+
h5?: {
|
|
216
|
+
fontSize?: string;
|
|
217
|
+
fontWeight?: string;
|
|
218
|
+
lineHeight?: string;
|
|
219
|
+
};
|
|
220
|
+
h6?: {
|
|
221
|
+
fontSize?: string;
|
|
222
|
+
fontWeight?: string;
|
|
223
|
+
lineHeight?: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
radius?: {
|
|
228
|
+
[x: string & {}]: string | undefined;
|
|
229
|
+
lg?: string;
|
|
230
|
+
md?: string;
|
|
231
|
+
sm?: string;
|
|
232
|
+
xl?: string;
|
|
233
|
+
xs?: string;
|
|
234
|
+
};
|
|
235
|
+
defaultRadius?: import("@mantine/core").MantineRadius;
|
|
236
|
+
spacing?: {
|
|
237
|
+
[x: number]: string | undefined;
|
|
238
|
+
[x: string & {}]: string | undefined;
|
|
239
|
+
lg?: string;
|
|
240
|
+
md?: string;
|
|
241
|
+
sm?: string;
|
|
242
|
+
xl?: string;
|
|
243
|
+
xs?: string;
|
|
244
|
+
};
|
|
245
|
+
fontSizes?: {
|
|
246
|
+
[x: string & {}]: string | undefined;
|
|
247
|
+
lg?: string;
|
|
248
|
+
md?: string;
|
|
249
|
+
sm?: string;
|
|
250
|
+
xl?: string;
|
|
251
|
+
xs?: string;
|
|
252
|
+
};
|
|
253
|
+
lineHeights?: {
|
|
254
|
+
[x: string & {}]: string | undefined;
|
|
255
|
+
lg?: string;
|
|
256
|
+
md?: string;
|
|
257
|
+
sm?: string;
|
|
258
|
+
xl?: string;
|
|
259
|
+
xs?: string;
|
|
260
|
+
};
|
|
261
|
+
fontWeights?: {
|
|
262
|
+
[x: string & {}]: string | undefined;
|
|
263
|
+
bold?: string;
|
|
264
|
+
medium?: string;
|
|
265
|
+
regular?: string;
|
|
266
|
+
};
|
|
267
|
+
breakpoints?: {
|
|
268
|
+
[x: string & {}]: string | undefined;
|
|
269
|
+
lg?: string;
|
|
270
|
+
md?: string;
|
|
271
|
+
sm?: string;
|
|
272
|
+
xl?: string;
|
|
273
|
+
xs?: string;
|
|
274
|
+
};
|
|
275
|
+
shadows?: {
|
|
276
|
+
[x: string & {}]: string | undefined;
|
|
277
|
+
lg?: string;
|
|
278
|
+
md?: string;
|
|
279
|
+
sm?: string;
|
|
280
|
+
xl?: string;
|
|
281
|
+
xs?: string;
|
|
282
|
+
};
|
|
283
|
+
respectReducedMotion?: boolean;
|
|
284
|
+
cursorType?: 'default' | 'pointer';
|
|
285
|
+
defaultGradient?: {
|
|
286
|
+
from?: string;
|
|
287
|
+
to?: string;
|
|
288
|
+
deg?: number;
|
|
289
|
+
};
|
|
290
|
+
activeClassName?: string;
|
|
291
|
+
focusClassName?: string;
|
|
292
|
+
components?: {
|
|
293
|
+
[x: string]: {
|
|
294
|
+
classNames?: any;
|
|
295
|
+
styles?: any;
|
|
296
|
+
vars?: any;
|
|
297
|
+
defaultProps?: any;
|
|
298
|
+
} | undefined;
|
|
299
|
+
};
|
|
300
|
+
other?: {
|
|
301
|
+
[x: string]: any;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,0BAA0B,GAC3B,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,qBAAqB;aAChC,IAAI,EAAE,6BAA6B;aACnC,IAAI,EAAE,6BAA6B;aACnC,OAAO,EAAE,iCAAiC;CAClC,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AACpE,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC;AAejE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkD,CAAC;AAEhF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEhC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@teelur/budget-board-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"packageManager": "yarn@4.18.0",
|
|
5
|
+
"description": "UI components for the Budget Board app built on Mantine headless primitives",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "vitest run",
|
|
9
|
+
"build": "vite build && tsc -p tsconfig.build.json",
|
|
10
|
+
"dev": "vite",
|
|
11
|
+
"docs:dev": "vite --config docs.vite.config.ts",
|
|
12
|
+
"docs:build": "tsc -p tsconfig.docs.json && vite build --config docs.vite.config.ts",
|
|
13
|
+
"docs:preview": "vite preview --config docs.vite.config.ts",
|
|
14
|
+
"prepare": "yarn build"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/teelur/budget-board-ui.git"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [],
|
|
21
|
+
"author": "",
|
|
22
|
+
"license": "GPL-3.0-only",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"registry": "https://registry.npmjs.org"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@mantine/core": "^9.6.1",
|
|
40
|
+
"@mantine/hooks": "^9.6.1",
|
|
41
|
+
"react": "^19.3.0",
|
|
42
|
+
"react-dom": "^19.3.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@mantine/core": "^9.6.1",
|
|
46
|
+
"@mantine/hooks": "^9.6.1",
|
|
47
|
+
"@testing-library/dom": "^10.4.1",
|
|
48
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
49
|
+
"@testing-library/react": "^16.3.3",
|
|
50
|
+
"@testing-library/user-event": "^14.6.7",
|
|
51
|
+
"@types/react": "^19.3.0",
|
|
52
|
+
"@types/react-dom": "^19.3.0",
|
|
53
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
54
|
+
"jsdom": "^30.1.0",
|
|
55
|
+
"lucide-react": "^1.47.0",
|
|
56
|
+
"react": "^19.3.0",
|
|
57
|
+
"react-dom": "^19.3.0",
|
|
58
|
+
"typescript": "^7.0.2",
|
|
59
|
+
"vite": "^8.3.0",
|
|
60
|
+
"vitest": "^5.0.1"
|
|
61
|
+
}
|
|
62
|
+
}
|