@nexus-cross/design-system 1.0.9 → 1.0.11
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/cursor-rules/nexus-ui-api.mdc +27 -5
- package/dist/chunks/chunk-2XV3XP3Y.js +279 -0
- package/dist/chunks/{chunk-22O6YUYH.mjs → chunk-6J7TZ4GP.mjs} +1 -1
- package/dist/chunks/{chunk-OE5BAEBE.js → chunk-7B2CTQKB.js} +1 -1
- package/dist/chunks/chunk-FBC53TOS.mjs +99 -0
- package/dist/chunks/{chunk-2N2EPBO4.js → chunk-LTS674LF.js} +45 -43
- package/dist/chunks/{chunk-7G65JBTN.js → chunk-OX5MEJ7B.js} +2 -0
- package/dist/chunks/{chunk-DO6VK2QQ.mjs → chunk-QOREDNWO.mjs} +2 -0
- package/dist/chunks/chunk-XKJO5Y4J.mjs +256 -0
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/ImageUpload.d.ts +23 -0
- package/dist/components/ImageUpload.d.ts.map +1 -0
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-picker.mjs +1 -1
- package/dist/image-upload.js +16 -0
- package/dist/image-upload.mjs +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -20
- package/dist/index.mjs +4 -3
- package/dist/schemas/_all.json +83 -0
- package/dist/schemas/image-upload.d.ts +45 -0
- package/dist/schemas/image-upload.d.ts.map +1 -0
- package/dist/schemas/imageUpload.json +83 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas.js +18 -0
- package/dist/schemas.mjs +18 -1
- package/dist/select.js +5 -5
- package/dist/select.mjs +1 -1
- package/dist/styles/.generated/built.d.ts +1 -1
- package/dist/styles/.generated/built.d.ts.map +1 -1
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +382 -44
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +382 -44
- package/dist/styles.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunks/chunk-FUIBYZZ4.mjs +0 -98
package/dist/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
require('./styles.css');
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkYB5ZKHVB_js = require('./chunks/chunk-YB5ZKHVB.js');
|
|
4
5
|
var chunk3RK3UT2O_js = require('./chunks/chunk-3RK3UT2O.js');
|
|
5
6
|
var chunkAZ2URLDD_js = require('./chunks/chunk-AZ2URLDD.js');
|
|
6
7
|
var chunkDICN6GKE_js = require('./chunks/chunk-DICN6GKE.js');
|
|
7
8
|
var chunkDYPPVXQF_js = require('./chunks/chunk-DYPPVXQF.js');
|
|
8
9
|
var chunkNZHK76R3_js = require('./chunks/chunk-NZHK76R3.js');
|
|
9
|
-
var
|
|
10
|
+
var chunkLTS674LF_js = require('./chunks/chunk-LTS674LF.js');
|
|
11
|
+
var chunk2XV3XP3Y_js = require('./chunks/chunk-2XV3XP3Y.js');
|
|
10
12
|
var chunkQK6NCII4_js = require('./chunks/chunk-QK6NCII4.js');
|
|
11
13
|
var chunk22ULI3BF_js = require('./chunks/chunk-22ULI3BF.js');
|
|
12
|
-
var chunkYB5ZKHVB_js = require('./chunks/chunk-YB5ZKHVB.js');
|
|
13
14
|
var chunkDLFV7ZZV_js = require('./chunks/chunk-DLFV7ZZV.js');
|
|
14
15
|
var chunkNFIPQZ4O_js = require('./chunks/chunk-NFIPQZ4O.js');
|
|
15
16
|
var chunkPEIEVKD5_js = require('./chunks/chunk-PEIEVKD5.js');
|
|
@@ -27,7 +28,7 @@ var chunk2MC7XJSE_js = require('./chunks/chunk-2MC7XJSE.js');
|
|
|
27
28
|
var chunkB6G5TJRO_js = require('./chunks/chunk-B6G5TJRO.js');
|
|
28
29
|
var chunkIOSIQLZL_js = require('./chunks/chunk-IOSIQLZL.js');
|
|
29
30
|
var chunkBLGQHR3M_js = require('./chunks/chunk-BLGQHR3M.js');
|
|
30
|
-
var
|
|
31
|
+
var chunkOX5MEJ7B_js = require('./chunks/chunk-OX5MEJ7B.js');
|
|
31
32
|
var chunkBSZ2LN6E_js = require('./chunks/chunk-BSZ2LN6E.js');
|
|
32
33
|
var chunkIE4DGLMH_js = require('./chunks/chunk-IE4DGLMH.js');
|
|
33
34
|
var chunk3PCNRCTB_js = require('./chunks/chunk-3PCNRCTB.js');
|
|
@@ -340,6 +341,18 @@ var buttonTokenSchema = {
|
|
|
340
341
|
}
|
|
341
342
|
};
|
|
342
343
|
|
|
344
|
+
Object.defineProperty(exports, "Toaster", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function () { return chunkYB5ZKHVB_js.Toaster; }
|
|
347
|
+
});
|
|
348
|
+
Object.defineProperty(exports, "toast", {
|
|
349
|
+
enumerable: true,
|
|
350
|
+
get: function () { return chunkYB5ZKHVB_js.toast; }
|
|
351
|
+
});
|
|
352
|
+
Object.defineProperty(exports, "useToast", {
|
|
353
|
+
enumerable: true,
|
|
354
|
+
get: function () { return chunkYB5ZKHVB_js.useToast; }
|
|
355
|
+
});
|
|
343
356
|
Object.defineProperty(exports, "Table", {
|
|
344
357
|
enumerable: true,
|
|
345
358
|
get: function () { return chunk3RK3UT2O_js.Table; }
|
|
@@ -390,7 +403,15 @@ Object.defineProperty(exports, "NxImage", {
|
|
|
390
403
|
});
|
|
391
404
|
Object.defineProperty(exports, "DatePicker", {
|
|
392
405
|
enumerable: true,
|
|
393
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunkLTS674LF_js.DatePicker; }
|
|
407
|
+
});
|
|
408
|
+
Object.defineProperty(exports, "ImageUpload", {
|
|
409
|
+
enumerable: true,
|
|
410
|
+
get: function () { return chunk2XV3XP3Y_js.ImageUpload; }
|
|
411
|
+
});
|
|
412
|
+
Object.defineProperty(exports, "imageUploadVariants", {
|
|
413
|
+
enumerable: true,
|
|
414
|
+
get: function () { return chunk2XV3XP3Y_js.imageUploadVariants; }
|
|
394
415
|
});
|
|
395
416
|
Object.defineProperty(exports, "ClientOnly", {
|
|
396
417
|
enumerable: true,
|
|
@@ -404,18 +425,6 @@ Object.defineProperty(exports, "useTheme", {
|
|
|
404
425
|
enumerable: true,
|
|
405
426
|
get: function () { return chunk22ULI3BF_js.useTheme; }
|
|
406
427
|
});
|
|
407
|
-
Object.defineProperty(exports, "Toaster", {
|
|
408
|
-
enumerable: true,
|
|
409
|
-
get: function () { return chunkYB5ZKHVB_js.Toaster; }
|
|
410
|
-
});
|
|
411
|
-
Object.defineProperty(exports, "toast", {
|
|
412
|
-
enumerable: true,
|
|
413
|
-
get: function () { return chunkYB5ZKHVB_js.toast; }
|
|
414
|
-
});
|
|
415
|
-
Object.defineProperty(exports, "useToast", {
|
|
416
|
-
enumerable: true,
|
|
417
|
-
get: function () { return chunkYB5ZKHVB_js.useToast; }
|
|
418
|
-
});
|
|
419
428
|
Object.defineProperty(exports, "Countdown", {
|
|
420
429
|
enumerable: true,
|
|
421
430
|
get: function () { return chunkDLFV7ZZV_js.Countdown; }
|
|
@@ -570,19 +579,19 @@ Object.defineProperty(exports, "Skeleton", {
|
|
|
570
579
|
});
|
|
571
580
|
Object.defineProperty(exports, "Select", {
|
|
572
581
|
enumerable: true,
|
|
573
|
-
get: function () { return
|
|
582
|
+
get: function () { return chunkOX5MEJ7B_js.Select; }
|
|
574
583
|
});
|
|
575
584
|
Object.defineProperty(exports, "SelectItem", {
|
|
576
585
|
enumerable: true,
|
|
577
|
-
get: function () { return
|
|
586
|
+
get: function () { return chunkOX5MEJ7B_js.SelectItem; }
|
|
578
587
|
});
|
|
579
588
|
Object.defineProperty(exports, "selectContentVariants", {
|
|
580
589
|
enumerable: true,
|
|
581
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkOX5MEJ7B_js.selectContentVariants; }
|
|
582
591
|
});
|
|
583
592
|
Object.defineProperty(exports, "selectTriggerVariants", {
|
|
584
593
|
enumerable: true,
|
|
585
|
-
get: function () { return
|
|
594
|
+
get: function () { return chunkOX5MEJ7B_js.selectTriggerVariants; }
|
|
586
595
|
});
|
|
587
596
|
Object.defineProperty(exports, "Drawer", {
|
|
588
597
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import './styles.css';
|
|
2
|
+
export { Toaster, toast, useToast } from './chunks/chunk-ZWSIIGA3.mjs';
|
|
2
3
|
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-AAITRHED.mjs';
|
|
3
4
|
export { useInView } from './chunks/chunk-2JTPRBHZ.mjs';
|
|
4
5
|
export { Slider, sliderVariants } from './chunks/chunk-H2G5FMRN.mjs';
|
|
5
6
|
export { TagInput, tagInputVariants } from './chunks/chunk-H2V7RHYV.mjs';
|
|
6
7
|
export { NxImage } from './chunks/chunk-6BWOKTVQ.mjs';
|
|
7
|
-
export { DatePicker } from './chunks/chunk-
|
|
8
|
+
export { DatePicker } from './chunks/chunk-FBC53TOS.mjs';
|
|
9
|
+
export { ImageUpload, imageUploadVariants } from './chunks/chunk-XKJO5Y4J.mjs';
|
|
8
10
|
export { ClientOnly } from './chunks/chunk-AOXXE5UQ.mjs';
|
|
9
11
|
export { ThemeProvider, useTheme } from './chunks/chunk-I252NERB.mjs';
|
|
10
|
-
export { Toaster, toast, useToast } from './chunks/chunk-ZWSIIGA3.mjs';
|
|
11
12
|
export { Countdown, useCountdown } from './chunks/chunk-LI7SFBUQ.mjs';
|
|
12
13
|
export { Counter } from './chunks/chunk-CA3SOLI3.mjs';
|
|
13
14
|
export { DataList } from './chunks/chunk-K2TBLM3F.mjs';
|
|
@@ -25,7 +26,7 @@ export { Marquee } from './chunks/chunk-SJMCPSVH.mjs';
|
|
|
25
26
|
export { Ellipsis } from './chunks/chunk-6FMDO6TT.mjs';
|
|
26
27
|
export { Spinner } from './chunks/chunk-BPUQ2CO2.mjs';
|
|
27
28
|
export { Skeleton } from './chunks/chunk-P2T72N62.mjs';
|
|
28
|
-
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-
|
|
29
|
+
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-QOREDNWO.mjs';
|
|
29
30
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerRoot, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './chunks/chunk-SGNRVYYQ.mjs';
|
|
30
31
|
export { Tooltip, TooltipProvider, tooltipContentVariants } from './chunks/chunk-W4GG5A7K.mjs';
|
|
31
32
|
export { Divider, dividerVariants } from './chunks/chunk-GX6GSWX3.mjs';
|
package/dist/schemas/_all.json
CHANGED
|
@@ -1292,6 +1292,89 @@
|
|
|
1292
1292
|
},
|
|
1293
1293
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1294
1294
|
},
|
|
1295
|
+
"imageUpload": {
|
|
1296
|
+
"$ref": "#/definitions/imageUploadPropsSchema",
|
|
1297
|
+
"definitions": {
|
|
1298
|
+
"imageUploadPropsSchema": {
|
|
1299
|
+
"type": "object",
|
|
1300
|
+
"properties": {
|
|
1301
|
+
"value": {
|
|
1302
|
+
"type": [
|
|
1303
|
+
"string",
|
|
1304
|
+
"null"
|
|
1305
|
+
],
|
|
1306
|
+
"description": "Controlled image URL (string | null)"
|
|
1307
|
+
},
|
|
1308
|
+
"defaultValue": {
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"description": "Default image URL"
|
|
1311
|
+
},
|
|
1312
|
+
"onChange": {
|
|
1313
|
+
"description": "File change callback (file: File | null) => void"
|
|
1314
|
+
},
|
|
1315
|
+
"onError": {
|
|
1316
|
+
"description": "Validation error callback (error: string) => void"
|
|
1317
|
+
},
|
|
1318
|
+
"accept": {
|
|
1319
|
+
"type": "array",
|
|
1320
|
+
"items": {
|
|
1321
|
+
"type": "string"
|
|
1322
|
+
},
|
|
1323
|
+
"default": [
|
|
1324
|
+
"jpg",
|
|
1325
|
+
"jpeg",
|
|
1326
|
+
"png",
|
|
1327
|
+
"gif",
|
|
1328
|
+
"webp"
|
|
1329
|
+
],
|
|
1330
|
+
"description": "Allowed file extensions"
|
|
1331
|
+
},
|
|
1332
|
+
"maxSize": {
|
|
1333
|
+
"type": "number",
|
|
1334
|
+
"default": 2097152,
|
|
1335
|
+
"description": "Max file size in bytes (default 2MB)"
|
|
1336
|
+
},
|
|
1337
|
+
"placeholder": {
|
|
1338
|
+
"type": "string",
|
|
1339
|
+
"default": "이미지를 드래그하거나 파일 선택",
|
|
1340
|
+
"description": "Empty state placeholder text"
|
|
1341
|
+
},
|
|
1342
|
+
"formatDescription": {
|
|
1343
|
+
"type": "string",
|
|
1344
|
+
"description": "Format description override (default: auto-generated from accept/maxSize)"
|
|
1345
|
+
},
|
|
1346
|
+
"label": {
|
|
1347
|
+
"description": "Field label (ReactNode)"
|
|
1348
|
+
},
|
|
1349
|
+
"description": {
|
|
1350
|
+
"description": "Field description below the upload area (ReactNode)"
|
|
1351
|
+
},
|
|
1352
|
+
"disabled": {
|
|
1353
|
+
"type": "boolean",
|
|
1354
|
+
"default": false,
|
|
1355
|
+
"description": "Disabled state"
|
|
1356
|
+
},
|
|
1357
|
+
"size": {
|
|
1358
|
+
"type": "string",
|
|
1359
|
+
"enum": [
|
|
1360
|
+
"sm",
|
|
1361
|
+
"md",
|
|
1362
|
+
"lg"
|
|
1363
|
+
],
|
|
1364
|
+
"default": "md",
|
|
1365
|
+
"description": "Upload area size"
|
|
1366
|
+
},
|
|
1367
|
+
"className": {
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"description": "Style override"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"additionalProperties": false,
|
|
1373
|
+
"description": "ImageUpload. Drag-and-drop image upload with preview, file validation, and field label/description support."
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1377
|
+
},
|
|
1295
1378
|
"infiniteScroll": {
|
|
1296
1379
|
"$ref": "#/definitions/infiniteScrollPropsSchema",
|
|
1297
1380
|
"definitions": {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const imageUploadPropsSchema: z.ZodObject<{
|
|
3
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
5
|
+
onChange: z.ZodOptional<z.ZodAny>;
|
|
6
|
+
onError: z.ZodOptional<z.ZodAny>;
|
|
7
|
+
accept: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8
|
+
maxSize: z.ZodDefault<z.ZodNumber>;
|
|
9
|
+
placeholder: z.ZodDefault<z.ZodString>;
|
|
10
|
+
formatDescription: z.ZodOptional<z.ZodString>;
|
|
11
|
+
label: z.ZodOptional<z.ZodAny>;
|
|
12
|
+
description: z.ZodOptional<z.ZodAny>;
|
|
13
|
+
disabled: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
+
size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
15
|
+
className: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
size: "lg" | "md" | "sm";
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
accept: string[];
|
|
21
|
+
maxSize: number;
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
label?: any;
|
|
24
|
+
description?: any;
|
|
25
|
+
value?: string | null | undefined;
|
|
26
|
+
defaultValue?: string | undefined;
|
|
27
|
+
onChange?: any;
|
|
28
|
+
onError?: any;
|
|
29
|
+
formatDescription?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
label?: any;
|
|
33
|
+
description?: any;
|
|
34
|
+
value?: string | null | undefined;
|
|
35
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
36
|
+
disabled?: boolean | undefined;
|
|
37
|
+
defaultValue?: string | undefined;
|
|
38
|
+
onChange?: any;
|
|
39
|
+
onError?: any;
|
|
40
|
+
placeholder?: string | undefined;
|
|
41
|
+
accept?: string[] | undefined;
|
|
42
|
+
maxSize?: number | undefined;
|
|
43
|
+
formatDescription?: string | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
//# sourceMappingURL=image-upload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-upload.d.ts","sourceRoot":"","sources":["../../src/schemas/image-upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BhC,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/imageUploadPropsSchema",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"imageUploadPropsSchema": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"value": {
|
|
8
|
+
"type": [
|
|
9
|
+
"string",
|
|
10
|
+
"null"
|
|
11
|
+
],
|
|
12
|
+
"description": "Controlled image URL (string | null)"
|
|
13
|
+
},
|
|
14
|
+
"defaultValue": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Default image URL"
|
|
17
|
+
},
|
|
18
|
+
"onChange": {
|
|
19
|
+
"description": "File change callback (file: File | null) => void"
|
|
20
|
+
},
|
|
21
|
+
"onError": {
|
|
22
|
+
"description": "Validation error callback (error: string) => void"
|
|
23
|
+
},
|
|
24
|
+
"accept": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"default": [
|
|
30
|
+
"jpg",
|
|
31
|
+
"jpeg",
|
|
32
|
+
"png",
|
|
33
|
+
"gif",
|
|
34
|
+
"webp"
|
|
35
|
+
],
|
|
36
|
+
"description": "Allowed file extensions"
|
|
37
|
+
},
|
|
38
|
+
"maxSize": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"default": 2097152,
|
|
41
|
+
"description": "Max file size in bytes (default 2MB)"
|
|
42
|
+
},
|
|
43
|
+
"placeholder": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"default": "이미지를 드래그하거나 파일 선택",
|
|
46
|
+
"description": "Empty state placeholder text"
|
|
47
|
+
},
|
|
48
|
+
"formatDescription": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Format description override (default: auto-generated from accept/maxSize)"
|
|
51
|
+
},
|
|
52
|
+
"label": {
|
|
53
|
+
"description": "Field label (ReactNode)"
|
|
54
|
+
},
|
|
55
|
+
"description": {
|
|
56
|
+
"description": "Field description below the upload area (ReactNode)"
|
|
57
|
+
},
|
|
58
|
+
"disabled": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"description": "Disabled state"
|
|
62
|
+
},
|
|
63
|
+
"size": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"sm",
|
|
67
|
+
"md",
|
|
68
|
+
"lg"
|
|
69
|
+
],
|
|
70
|
+
"default": "md",
|
|
71
|
+
"description": "Upload area size"
|
|
72
|
+
},
|
|
73
|
+
"className": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Style override"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"description": "ImageUpload. Drag-and-drop image upload with preview, file validation, and field label/description support."
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
83
|
+
}
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -44,4 +44,5 @@ export { toasterPropsSchema, toastOptionsSchema } from './toast';
|
|
|
44
44
|
export { tagInputPropsSchema } from './tag-input';
|
|
45
45
|
export { nxImagePropsSchema } from './nx-image';
|
|
46
46
|
export { datePickerPropsSchema } from './date-picker';
|
|
47
|
+
export { imageUploadPropsSchema } from './image-upload';
|
|
47
48
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/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C;AAClD,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/schemas.js
CHANGED
|
@@ -779,6 +779,23 @@ var datePickerPropsSchema = zod.z.object({
|
|
|
779
779
|
formatStr: zod.z.string().default("yyyy-MM-dd").describe("Date format string (date-fns format)"),
|
|
780
780
|
className: zod.z.string().optional().describe("Style override")
|
|
781
781
|
}).describe("DatePicker. Calendar popup for date selection. Based on react-day-picker.");
|
|
782
|
+
var imageUploadPropsSchema = zod.z.object({
|
|
783
|
+
value: zod.z.string().nullable().optional().describe("Controlled image URL (string | null)"),
|
|
784
|
+
defaultValue: zod.z.string().optional().describe("Default image URL"),
|
|
785
|
+
onChange: zod.z.any().optional().describe("File change callback (file: File | null) => void"),
|
|
786
|
+
onError: zod.z.any().optional().describe("Validation error callback (error: string) => void"),
|
|
787
|
+
accept: zod.z.array(zod.z.string()).default(["jpg", "jpeg", "png", "gif", "webp"]).describe("Allowed file extensions"),
|
|
788
|
+
maxSize: zod.z.number().default(2 * 1024 * 1024).describe("Max file size in bytes (default 2MB)"),
|
|
789
|
+
placeholder: zod.z.string().default("\uC774\uBBF8\uC9C0\uB97C \uB4DC\uB798\uADF8\uD558\uAC70\uB098 \uD30C\uC77C \uC120\uD0DD").describe("Empty state placeholder text"),
|
|
790
|
+
formatDescription: zod.z.string().optional().describe("Format description override (default: auto-generated from accept/maxSize)"),
|
|
791
|
+
label: zod.z.any().optional().describe("Field label (ReactNode)"),
|
|
792
|
+
description: zod.z.any().optional().describe("Field description below the upload area (ReactNode)"),
|
|
793
|
+
disabled: zod.z.boolean().default(false).describe("Disabled state"),
|
|
794
|
+
size: zod.z.enum(["sm", "md", "lg"]).default("md").describe("Upload area size"),
|
|
795
|
+
className: zod.z.string().optional().describe("Style override")
|
|
796
|
+
}).describe(
|
|
797
|
+
"ImageUpload. Drag-and-drop image upload with preview, file validation, and field label/description support."
|
|
798
|
+
);
|
|
782
799
|
|
|
783
800
|
exports.accordionPropsSchema = accordionPropsSchema;
|
|
784
801
|
exports.alertPropsSchema = alertPropsSchema;
|
|
@@ -808,6 +825,7 @@ exports.dropdownMenuPropsSchema = dropdownMenuPropsSchema;
|
|
|
808
825
|
exports.ellipsisPropsSchema = ellipsisPropsSchema;
|
|
809
826
|
exports.emptyStatePropsSchema = emptyStatePropsSchema;
|
|
810
827
|
exports.errorBoundaryPropsSchema = errorBoundaryPropsSchema;
|
|
828
|
+
exports.imageUploadPropsSchema = imageUploadPropsSchema;
|
|
811
829
|
exports.infiniteScrollPropsSchema = infiniteScrollPropsSchema;
|
|
812
830
|
exports.marqueePropsSchema = marqueePropsSchema;
|
|
813
831
|
exports.modalCallSchema = modalCallSchema;
|
package/dist/schemas.mjs
CHANGED
|
@@ -777,5 +777,22 @@ var datePickerPropsSchema = z.object({
|
|
|
777
777
|
formatStr: z.string().default("yyyy-MM-dd").describe("Date format string (date-fns format)"),
|
|
778
778
|
className: z.string().optional().describe("Style override")
|
|
779
779
|
}).describe("DatePicker. Calendar popup for date selection. Based on react-day-picker.");
|
|
780
|
+
var imageUploadPropsSchema = z.object({
|
|
781
|
+
value: z.string().nullable().optional().describe("Controlled image URL (string | null)"),
|
|
782
|
+
defaultValue: z.string().optional().describe("Default image URL"),
|
|
783
|
+
onChange: z.any().optional().describe("File change callback (file: File | null) => void"),
|
|
784
|
+
onError: z.any().optional().describe("Validation error callback (error: string) => void"),
|
|
785
|
+
accept: z.array(z.string()).default(["jpg", "jpeg", "png", "gif", "webp"]).describe("Allowed file extensions"),
|
|
786
|
+
maxSize: z.number().default(2 * 1024 * 1024).describe("Max file size in bytes (default 2MB)"),
|
|
787
|
+
placeholder: z.string().default("\uC774\uBBF8\uC9C0\uB97C \uB4DC\uB798\uADF8\uD558\uAC70\uB098 \uD30C\uC77C \uC120\uD0DD").describe("Empty state placeholder text"),
|
|
788
|
+
formatDescription: z.string().optional().describe("Format description override (default: auto-generated from accept/maxSize)"),
|
|
789
|
+
label: z.any().optional().describe("Field label (ReactNode)"),
|
|
790
|
+
description: z.any().optional().describe("Field description below the upload area (ReactNode)"),
|
|
791
|
+
disabled: z.boolean().default(false).describe("Disabled state"),
|
|
792
|
+
size: z.enum(["sm", "md", "lg"]).default("md").describe("Upload area size"),
|
|
793
|
+
className: z.string().optional().describe("Style override")
|
|
794
|
+
}).describe(
|
|
795
|
+
"ImageUpload. Drag-and-drop image upload with preview, file validation, and field label/description support."
|
|
796
|
+
);
|
|
780
797
|
|
|
781
|
-
export { accordionPropsSchema, alertPropsSchema, avatarPropsSchema, badgePropsSchema, breadcrumbPropsSchema, buttonPropsSchema, carouselButtonPropsSchema, carouselDotsPropsSchema, carouselPropsSchema, carouselSlidePropsSchema, checkBoxPropsSchema, chipPropsSchema, clientOnlyPropsSchema, countdownPropsSchema, counterPropsSchema, dataListPropsSchema, datePickerPropsSchema, dividerPropsSchema, drawerClosePropsSchema, drawerContentPropsSchema, drawerDescriptionPropsSchema, drawerPropsSchema, drawerTitlePropsSchema, drawerTriggerPropsSchema, dropdownMenuPropsSchema, ellipsisPropsSchema, emptyStatePropsSchema, errorBoundaryPropsSchema, infiniteScrollPropsSchema, marqueePropsSchema, modalCallSchema, modalTemplatePropsSchema, numberInputPropsSchema, nxImagePropsSchema, paginationPropsSchema, popoverPropsSchema, priceInputPropsSchema, progressPropsSchema, radioGroupPropsSchema, radioItemPropsSchema, selectItemPropsSchema, selectPropsSchema, skeletonPropsSchema, sliderPropsSchema, spinnerPropsSchema, stepperPropsSchema, switchPropsSchema, tabPropsSchema, tablePropsSchema, tableRowPropsSchema, tagInputPropsSchema, tdColumnPropsSchema, textAreaPropsSchema, textInputPropsSchema, themeProviderPropsSchema, toastOptionsSchema, toasterPropsSchema, toggleGroupPropsSchema, tooltipPropsSchema, virtualGridPropsSchema, virtualListPropsSchema };
|
|
798
|
+
export { accordionPropsSchema, alertPropsSchema, avatarPropsSchema, badgePropsSchema, breadcrumbPropsSchema, buttonPropsSchema, carouselButtonPropsSchema, carouselDotsPropsSchema, carouselPropsSchema, carouselSlidePropsSchema, checkBoxPropsSchema, chipPropsSchema, clientOnlyPropsSchema, countdownPropsSchema, counterPropsSchema, dataListPropsSchema, datePickerPropsSchema, dividerPropsSchema, drawerClosePropsSchema, drawerContentPropsSchema, drawerDescriptionPropsSchema, drawerPropsSchema, drawerTitlePropsSchema, drawerTriggerPropsSchema, dropdownMenuPropsSchema, ellipsisPropsSchema, emptyStatePropsSchema, errorBoundaryPropsSchema, imageUploadPropsSchema, infiniteScrollPropsSchema, marqueePropsSchema, modalCallSchema, modalTemplatePropsSchema, numberInputPropsSchema, nxImagePropsSchema, paginationPropsSchema, popoverPropsSchema, priceInputPropsSchema, progressPropsSchema, radioGroupPropsSchema, radioItemPropsSchema, selectItemPropsSchema, selectPropsSchema, skeletonPropsSchema, sliderPropsSchema, spinnerPropsSchema, stepperPropsSchema, switchPropsSchema, tabPropsSchema, tablePropsSchema, tableRowPropsSchema, tagInputPropsSchema, tdColumnPropsSchema, textAreaPropsSchema, textInputPropsSchema, themeProviderPropsSchema, toastOptionsSchema, toasterPropsSchema, toggleGroupPropsSchema, tooltipPropsSchema, virtualGridPropsSchema, virtualListPropsSchema };
|
package/dist/select.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOX5MEJ7B_js = require('./chunks/chunk-OX5MEJ7B.js');
|
|
4
4
|
require('./chunks/chunk-CZC76ZD5.js');
|
|
5
5
|
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
6
|
|
|
@@ -8,17 +8,17 @@ require('./chunks/chunk-JNMCYWGY.js');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Select", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkOX5MEJ7B_js.Select; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "SelectItem", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkOX5MEJ7B_js.SelectItem; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "selectContentVariants", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkOX5MEJ7B_js.selectContentVariants; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "selectTriggerVariants", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkOX5MEJ7B_js.selectTriggerVariants; }
|
|
24
24
|
});
|
package/dist/select.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-
|
|
1
|
+
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-QOREDNWO.mjs';
|
|
2
2
|
import './chunks/chunk-MCKOWMLS.mjs';
|
|
3
3
|
import './chunks/chunk-CVYXRSXT.mjs';
|