@kilnonedre/foundation 0.0.16 → 0.0.18
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/index.css +16 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +3 -2
package/dist/index.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import "@radix-ui/colors/slate.css";
|
|
2
|
+
@import "@radix-ui/colors/blue.css";
|
|
3
|
+
@import "@radix-ui/colors/green.css";
|
|
4
|
+
@import "@radix-ui/colors/amber.css";
|
|
5
|
+
@import "@radix-ui/colors/red.css";
|
|
6
|
+
@import "@radix-ui/colors/cyan.css";
|
|
7
|
+
@import "@radix-ui/colors/violet.css";
|
|
8
|
+
@import "@radix-ui/colors/slate-dark.css";
|
|
9
|
+
@import "@radix-ui/colors/blue-dark.css";
|
|
10
|
+
@import "@radix-ui/colors/green-dark.css";
|
|
11
|
+
@import "@radix-ui/colors/amber-dark.css";
|
|
12
|
+
@import "@radix-ui/colors/red-dark.css";
|
|
13
|
+
@import "@radix-ui/colors/cyan-dark.css";
|
|
14
|
+
@import "@radix-ui/colors/violet-dark.css";
|
|
15
|
+
|
|
16
|
+
/* src/style/color.css */
|
package/dist/index.d.ts
CHANGED
|
@@ -516,7 +516,7 @@ declare const zEnumOptional: <T extends Record<string, string>>(enumObj: T) => z
|
|
|
516
516
|
declare const zEnumNullableOptional: <T extends Record<string, string>>(enumObj: T) => z.ZodOptional<z.ZodNullable<z.ZodEnum<{ [k_1 in T[keyof T]]: k_1; } extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never>>>;
|
|
517
517
|
declare const zBool: () => z.ZodBoolean;
|
|
518
518
|
declare const zDate: (label: string) => z.ZodDate;
|
|
519
|
-
declare const zDateOptional: () => z.ZodOptional<z.ZodDate>;
|
|
519
|
+
declare const zDateOptional: (label: string) => z.ZodOptional<z.ZodDate>;
|
|
520
520
|
declare const zNumber: (label: string, min?: number, max?: number) => z.ZodNumber;
|
|
521
521
|
declare const zNumberOptional: (label: string, min?: number, max?: number) => z.ZodOptional<z.ZodNumber>;
|
|
522
522
|
declare const zCoerceNumber: (label: string, min?: number, max?: number) => z.ZodCoercedNumber<unknown>;
|
package/dist/index.js
CHANGED
|
@@ -567,7 +567,9 @@ var zBool = () => z.boolean();
|
|
|
567
567
|
var zDate = (label) => z.date({
|
|
568
568
|
message: `\u8BF7\u9009\u62E9${label}`
|
|
569
569
|
});
|
|
570
|
-
var zDateOptional = () => z.date(
|
|
570
|
+
var zDateOptional = (label) => z.date({
|
|
571
|
+
message: `\u8BF7\u9009\u62E9${label}`
|
|
572
|
+
}).optional();
|
|
571
573
|
var zNumber = (label, min, max) => {
|
|
572
574
|
let schema = z.number({
|
|
573
575
|
message: `\u8BF7\u8F93\u5165${label}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kilnonedre/foundation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Kilnonedre frontend foundation package",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
".": {
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
16
|
"import": "./dist/index.js"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"./color.css": "./dist/style/color.css"
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
20
21
|
"build": "tsup src/index.ts --format esm --dts --clean",
|