@nypl/design-system-react-components 3.3.2 → 3.4.0-rc
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/design-system-react-components.cjs +45 -45
- package/dist/design-system-react-components.js +6838 -6732
- package/dist/src/components/Image/Image.d.ts +3 -3
- package/dist/src/components/Table/Table.d.ts +13 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/theme/components/customTable.d.ts +402 -383
- package/dist/src/theme/components/feedbackBox.d.ts +1 -0
- package/dist/src/theme/components/structuredContent.d.ts +34 -50
- package/dist/src/theme/components/text.d.ts +1 -1
- package/dist/src/theme/foundations/global.d.ts +6 -0
- package/package.json +1 -1
|
@@ -332,22 +332,31 @@ declare const StructuredContent: {
|
|
|
332
332
|
th: {
|
|
333
333
|
color: string;
|
|
334
334
|
fontWeight: string;
|
|
335
|
+
fontSize: string;
|
|
335
336
|
textTransform: string;
|
|
336
337
|
_first: {
|
|
337
|
-
|
|
338
|
-
|
|
338
|
+
backgroundColor: string;
|
|
339
|
+
borderRight: string | {
|
|
340
|
+
base: any;
|
|
341
|
+
md: string;
|
|
342
|
+
};
|
|
343
|
+
left: {
|
|
344
|
+
base: any;
|
|
339
345
|
md: string;
|
|
340
346
|
};
|
|
347
|
+
position: string;
|
|
348
|
+
zIndex: string;
|
|
349
|
+
_dark: {
|
|
350
|
+
backgroundColor: string;
|
|
351
|
+
borderRight: string;
|
|
352
|
+
};
|
|
341
353
|
};
|
|
342
354
|
_dark: {
|
|
343
355
|
color: string;
|
|
344
356
|
};
|
|
345
357
|
border: string;
|
|
346
358
|
borderBottom: string;
|
|
347
|
-
borderColor: {
|
|
348
|
-
base: string;
|
|
349
|
-
md: string;
|
|
350
|
-
} | {
|
|
359
|
+
borderColor: string | {
|
|
351
360
|
base: string;
|
|
352
361
|
md: string;
|
|
353
362
|
};
|
|
@@ -355,36 +364,25 @@ declare const StructuredContent: {
|
|
|
355
364
|
base: string;
|
|
356
365
|
md: string;
|
|
357
366
|
};
|
|
358
|
-
fontSize: {
|
|
359
|
-
base: string;
|
|
360
|
-
md: string;
|
|
361
|
-
};
|
|
362
367
|
gap: string;
|
|
363
368
|
letterSpacing: string;
|
|
364
369
|
lineHeight: number;
|
|
365
|
-
paddingBottom: {
|
|
370
|
+
paddingBottom: string | {
|
|
366
371
|
base: string;
|
|
367
372
|
md: string;
|
|
368
373
|
};
|
|
369
|
-
|
|
370
|
-
|
|
374
|
+
paddingEnd: string;
|
|
375
|
+
paddingStart: string | {
|
|
371
376
|
base: string;
|
|
372
377
|
md: string;
|
|
373
378
|
};
|
|
374
|
-
paddingTop: {
|
|
379
|
+
paddingTop: string | {
|
|
375
380
|
base: string;
|
|
376
381
|
md: string;
|
|
377
382
|
};
|
|
378
383
|
_last: {
|
|
379
|
-
paddingEnd: {
|
|
380
|
-
base: string;
|
|
381
|
-
md: string;
|
|
382
|
-
};
|
|
383
384
|
borderBottom: string;
|
|
384
|
-
borderColor: {
|
|
385
|
-
base: string;
|
|
386
|
-
md: string;
|
|
387
|
-
} | {
|
|
385
|
+
borderColor: string | {
|
|
388
386
|
base: string;
|
|
389
387
|
md: string;
|
|
390
388
|
};
|
|
@@ -395,7 +393,6 @@ declare const StructuredContent: {
|
|
|
395
393
|
base: string;
|
|
396
394
|
md: string;
|
|
397
395
|
};
|
|
398
|
-
paddingEnd: string;
|
|
399
396
|
paddingTop: {
|
|
400
397
|
base: string;
|
|
401
398
|
md: string;
|
|
@@ -415,31 +412,16 @@ declare const StructuredContent: {
|
|
|
415
412
|
paddingInlineEnd: string;
|
|
416
413
|
};
|
|
417
414
|
td: {
|
|
418
|
-
_first: {
|
|
419
|
-
paddingStart: {
|
|
420
|
-
base: string;
|
|
421
|
-
md: string;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
415
|
_last: {
|
|
425
|
-
borderBottom: {
|
|
416
|
+
borderBottom: string | {
|
|
426
417
|
base: number;
|
|
427
418
|
md: string;
|
|
428
419
|
};
|
|
429
|
-
borderColor:
|
|
430
|
-
base: string;
|
|
431
|
-
md: string;
|
|
432
|
-
} | {
|
|
433
|
-
base: string;
|
|
434
|
-
md: string;
|
|
435
|
-
};
|
|
420
|
+
borderColor: string;
|
|
436
421
|
};
|
|
437
422
|
border: string;
|
|
438
423
|
borderBottom: string;
|
|
439
|
-
borderColor: {
|
|
440
|
-
base: string;
|
|
441
|
-
md: string;
|
|
442
|
-
} | {
|
|
424
|
+
borderColor: string | {
|
|
443
425
|
base: string;
|
|
444
426
|
md: string;
|
|
445
427
|
};
|
|
@@ -447,33 +429,35 @@ declare const StructuredContent: {
|
|
|
447
429
|
base: string;
|
|
448
430
|
md: string;
|
|
449
431
|
};
|
|
450
|
-
fontSize:
|
|
451
|
-
base: string;
|
|
452
|
-
md: string;
|
|
453
|
-
};
|
|
432
|
+
fontSize: string;
|
|
454
433
|
gap: string;
|
|
455
434
|
letterSpacing: string;
|
|
456
435
|
lineHeight: number;
|
|
457
|
-
paddingBottom: {
|
|
436
|
+
paddingBottom: string | {
|
|
458
437
|
base: string;
|
|
459
438
|
md: string;
|
|
460
439
|
};
|
|
461
|
-
|
|
462
|
-
|
|
440
|
+
paddingEnd: string;
|
|
441
|
+
paddingStart: string | {
|
|
463
442
|
base: string;
|
|
464
443
|
md: string;
|
|
465
444
|
};
|
|
466
|
-
paddingTop: {
|
|
445
|
+
paddingTop: string | {
|
|
467
446
|
base: string;
|
|
468
447
|
md: string;
|
|
469
448
|
};
|
|
449
|
+
_first: {
|
|
450
|
+
borderBottom: string | {
|
|
451
|
+
base: string;
|
|
452
|
+
md: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
470
455
|
"> span": {
|
|
471
456
|
flexBasis: string;
|
|
472
457
|
paddingBottom: {
|
|
473
458
|
base: string;
|
|
474
459
|
md: string;
|
|
475
460
|
};
|
|
476
|
-
paddingEnd: string;
|
|
477
461
|
paddingTop: {
|
|
478
462
|
base: string;
|
|
479
463
|
md: string;
|
|
@@ -67,7 +67,7 @@ declare const Text: {
|
|
|
67
67
|
};
|
|
68
68
|
defaultProps?: {
|
|
69
69
|
size?: string | number;
|
|
70
|
-
variant?: "caption" | "default" | "
|
|
70
|
+
variant?: "caption" | "default" | "body1" | "body2" | "tag" | "mini" | "overline1" | "overline2" | "subtitle1" | "subtitle2";
|
|
71
71
|
colorScheme?: string;
|
|
72
72
|
};
|
|
73
73
|
};
|