@umami/react-zen 0.19.0 → 0.21.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/README.md +8 -0
- package/dist/index.css +1304 -1010
- package/dist/index.js +194 -54
- package/dist/index.mjs +68 -31
- package/dist/styles.css +1359 -1026
- package/package.json +1 -1
- package/dist/index.d.ts +0 -762
- package/dist/zen.css +0 -142
package/dist/index.js
CHANGED
|
@@ -26223,6 +26223,48 @@ var global_default = {
|
|
|
26223
26223
|
"shadow-4": "global_shadow-4",
|
|
26224
26224
|
"shadow-5": "global_shadow-5",
|
|
26225
26225
|
"shadow-6": "global_shadow-6",
|
|
26226
|
+
"font-color-50": "global_font-color-50",
|
|
26227
|
+
"font-color-100": "global_font-color-100",
|
|
26228
|
+
"font-color-200": "global_font-color-200",
|
|
26229
|
+
"font-color-300": "global_font-color-300",
|
|
26230
|
+
"font-color-400": "global_font-color-400",
|
|
26231
|
+
"font-color-500": "global_font-color-500",
|
|
26232
|
+
"font-color-600": "global_font-color-600",
|
|
26233
|
+
"font-color-700": "global_font-color-700",
|
|
26234
|
+
"font-color-800": "global_font-color-800",
|
|
26235
|
+
"font-color-900": "global_font-color-900",
|
|
26236
|
+
"font-color-950": "global_font-color-950",
|
|
26237
|
+
"font-color-gray": "global_font-color-gray",
|
|
26238
|
+
"font-color-mauve": "global_font-color-mauve",
|
|
26239
|
+
"font-color-slate": "global_font-color-slate",
|
|
26240
|
+
"font-color-sage": "global_font-color-sage",
|
|
26241
|
+
"font-color-olive": "global_font-color-olive",
|
|
26242
|
+
"font-color-sand": "global_font-color-sand",
|
|
26243
|
+
"font-color-gold": "global_font-color-gold",
|
|
26244
|
+
"font-color-bronze": "global_font-color-bronze",
|
|
26245
|
+
"font-color-brown": "global_font-color-brown",
|
|
26246
|
+
"font-color-yellow": "global_font-color-yellow",
|
|
26247
|
+
"font-color-amber": "global_font-color-amber",
|
|
26248
|
+
"font-color-orange": "global_font-color-orange",
|
|
26249
|
+
"font-color-tomato": "global_font-color-tomato",
|
|
26250
|
+
"font-color-red": "global_font-color-red",
|
|
26251
|
+
"font-color-ruby": "global_font-color-ruby",
|
|
26252
|
+
"font-color-crimson": "global_font-color-crimson",
|
|
26253
|
+
"font-color-pink": "global_font-color-pink",
|
|
26254
|
+
"font-color-plum": "global_font-color-plum",
|
|
26255
|
+
"font-color-purple": "global_font-color-purple",
|
|
26256
|
+
"font-color-violet": "global_font-color-violet",
|
|
26257
|
+
"font-color-iris": "global_font-color-iris",
|
|
26258
|
+
"font-color-indigo": "global_font-color-indigo",
|
|
26259
|
+
"font-color-blue": "global_font-color-blue",
|
|
26260
|
+
"font-color-cyan": "global_font-color-cyan",
|
|
26261
|
+
"font-color-teal": "global_font-color-teal",
|
|
26262
|
+
"font-color-jade": "global_font-color-jade",
|
|
26263
|
+
"font-color-green": "global_font-color-green",
|
|
26264
|
+
"font-color-grass": "global_font-color-grass",
|
|
26265
|
+
"font-color-lime": "global_font-color-lime",
|
|
26266
|
+
"font-color-mint": "global_font-color-mint",
|
|
26267
|
+
"font-color-sky": "global_font-color-sky",
|
|
26226
26268
|
"background-color-50": "global_background-color-50",
|
|
26227
26269
|
"background-color-100": "global_background-color-100",
|
|
26228
26270
|
"background-color-200": "global_background-color-200",
|
|
@@ -26234,6 +26276,37 @@ var global_default = {
|
|
|
26234
26276
|
"background-color-800": "global_background-color-800",
|
|
26235
26277
|
"background-color-900": "global_background-color-900",
|
|
26236
26278
|
"background-color-950": "global_background-color-950",
|
|
26279
|
+
"background-color-gray": "global_background-color-gray",
|
|
26280
|
+
"background-color-mauve": "global_background-color-mauve",
|
|
26281
|
+
"background-color-slate": "global_background-color-slate",
|
|
26282
|
+
"background-color-sage": "global_background-color-sage",
|
|
26283
|
+
"background-color-olive": "global_background-color-olive",
|
|
26284
|
+
"background-color-sand": "global_background-color-sand",
|
|
26285
|
+
"background-color-gold": "global_background-color-gold",
|
|
26286
|
+
"background-color-bronze": "global_background-color-bronze",
|
|
26287
|
+
"background-color-brown": "global_background-color-brown",
|
|
26288
|
+
"background-color-yellow": "global_background-color-yellow",
|
|
26289
|
+
"background-color-amber": "global_background-color-amber",
|
|
26290
|
+
"background-color-orange": "global_background-color-orange",
|
|
26291
|
+
"background-color-tomato": "global_background-color-tomato",
|
|
26292
|
+
"background-color-red": "global_background-color-red",
|
|
26293
|
+
"background-color-ruby": "global_background-color-ruby",
|
|
26294
|
+
"background-color-crimson": "global_background-color-crimson",
|
|
26295
|
+
"background-color-pink": "global_background-color-pink",
|
|
26296
|
+
"background-color-plum": "global_background-color-plum",
|
|
26297
|
+
"background-color-purple": "global_background-color-purple",
|
|
26298
|
+
"background-color-violet": "global_background-color-violet",
|
|
26299
|
+
"background-color-iris": "global_background-color-iris",
|
|
26300
|
+
"background-color-indigo": "global_background-color-indigo",
|
|
26301
|
+
"background-color-blue": "global_background-color-blue",
|
|
26302
|
+
"background-color-cyan": "global_background-color-cyan",
|
|
26303
|
+
"background-color-teal": "global_background-color-teal",
|
|
26304
|
+
"background-color-jade": "global_background-color-jade",
|
|
26305
|
+
"background-color-green": "global_background-color-green",
|
|
26306
|
+
"background-color-grass": "global_background-color-grass",
|
|
26307
|
+
"background-color-lime": "global_background-color-lime",
|
|
26308
|
+
"background-color-mint": "global_background-color-mint",
|
|
26309
|
+
"background-color-sky": "global_background-color-sky",
|
|
26237
26310
|
"text-align-left": "global_text-align-left",
|
|
26238
26311
|
"text-align-center": "global_text-align-center",
|
|
26239
26312
|
"text-align-right": "global_text-align-right",
|
|
@@ -26242,10 +26315,11 @@ var global_default = {
|
|
|
26242
26315
|
"text-wrap-balance": "global_text-wrap-balance",
|
|
26243
26316
|
"text-wrap-pretty": "global_text-wrap-pretty",
|
|
26244
26317
|
"text-wrap-stable": "global_text-wrap-stable",
|
|
26245
|
-
"letter-spacing-
|
|
26246
|
-
"letter-spacing-
|
|
26247
|
-
"letter-spacing-
|
|
26248
|
-
"letter-spacing-
|
|
26318
|
+
"letter-spacing-1": "global_letter-spacing-1",
|
|
26319
|
+
"letter-spacing-2": "global_letter-spacing-2",
|
|
26320
|
+
"letter-spacing-3": "global_letter-spacing-3",
|
|
26321
|
+
"letter-spacing-4": "global_letter-spacing-4",
|
|
26322
|
+
"letter-spacing-5": "global_letter-spacing-5",
|
|
26249
26323
|
"padding-1": "global_padding-1",
|
|
26250
26324
|
"padding-2": "global_padding-2",
|
|
26251
26325
|
"padding-3": "global_padding-3",
|
|
@@ -26454,7 +26528,7 @@ var global_default = {
|
|
|
26454
26528
|
"flex-direction-row-reverse": "global_flex-direction-row-reverse",
|
|
26455
26529
|
"flex-direction-column": "global_flex-direction-column",
|
|
26456
26530
|
"flex-direction-column-reverse": "global_flex-direction-column-reverse",
|
|
26457
|
-
"flex-wrap": "global_flex-wrap",
|
|
26531
|
+
"flex-wrap-wrap": "global_flex-wrap-wrap",
|
|
26458
26532
|
"flex-wrap-nowrap": "global_flex-wrap-nowrap",
|
|
26459
26533
|
"flex-wrap-wrap-reverse": "global_flex-wrap-wrap-reverse",
|
|
26460
26534
|
"justify-content-center": "global_justify-content-center",
|
|
@@ -26468,8 +26542,6 @@ var global_default = {
|
|
|
26468
26542
|
"justify-content-space-around": "global_justify-content-space-around",
|
|
26469
26543
|
"justify-content-space-evenly": "global_justify-content-space-evenly",
|
|
26470
26544
|
"justify-content-stretch": "global_justify-content-stretch",
|
|
26471
|
-
"justify-content-safe-center": "global_justify-content-safe-center",
|
|
26472
|
-
"justify-content-unsafe-center": "global_justify-content-unsafe-center",
|
|
26473
26545
|
"justify-items-stretch": "global_justify-items-stretch",
|
|
26474
26546
|
"justify-items-center": "global_justify-items-center",
|
|
26475
26547
|
"justify-items-start": "global_justify-items-start",
|
|
@@ -26481,24 +26553,16 @@ var global_default = {
|
|
|
26481
26553
|
"justify-items-left": "global_justify-items-left",
|
|
26482
26554
|
"justify-items-right": "global_justify-items-right",
|
|
26483
26555
|
"justify-items-baseline": "global_justify-items-baseline",
|
|
26484
|
-
"justify-items-first-baseline": "global_justify-items-first-baseline",
|
|
26485
|
-
"justify-items-last-baseline": "global_justify-items-last-baseline",
|
|
26486
|
-
"justify-items-safe-center": "global_justify-items-safe-center",
|
|
26487
|
-
"justify-items-unsafe-center": "global_justify-items-unsafe-center",
|
|
26488
26556
|
"align-content-center": "global_align-content-center",
|
|
26489
26557
|
"align-content-start": "global_align-content-start",
|
|
26490
26558
|
"align-content-end": "global_align-content-end",
|
|
26491
26559
|
"align-content-flex-start": "global_align-content-flex-start",
|
|
26492
26560
|
"align-content-flex-end": "global_align-content-flex-end",
|
|
26493
26561
|
"align-content-baseline": "global_align-content-baseline",
|
|
26494
|
-
"align-content-first-baseline": "global_align-content-first-baseline",
|
|
26495
|
-
"align-content-last-baseline": "global_align-content-last-baseline",
|
|
26496
26562
|
"align-content-space-between": "global_align-content-space-between",
|
|
26497
26563
|
"align-content-space-around": "global_align-content-space-around",
|
|
26498
26564
|
"align-content-space-evenly": "global_align-content-space-evenly",
|
|
26499
26565
|
"align-content-stretch": "global_align-content-stretch",
|
|
26500
|
-
"align-content-safe-center": "global_align-content-safe-center",
|
|
26501
|
-
"align-content-unsafe-center": "global_align-content-unsafe-center",
|
|
26502
26566
|
"align-items-center": "global_align-items-center",
|
|
26503
26567
|
"align-items-start": "global_align-items-start",
|
|
26504
26568
|
"align-items-end": "global_align-items-end",
|
|
@@ -26508,10 +26572,6 @@ var global_default = {
|
|
|
26508
26572
|
"align-items-self-end": "global_align-items-self-end",
|
|
26509
26573
|
"align-items-stretch": "global_align-items-stretch",
|
|
26510
26574
|
"align-items-baseline": "global_align-items-baseline",
|
|
26511
|
-
"align-items-first-baseline": "global_align-items-first-baseline",
|
|
26512
|
-
"align-items-last-baseline": "global_align-items-last-baseline",
|
|
26513
|
-
"align-items-safe-center": "global_align-items-safe-center",
|
|
26514
|
-
"align-items-unsafe-center": "global_align-items-unsafe-center",
|
|
26515
26575
|
"align-self-center": "global_align-self-center",
|
|
26516
26576
|
"align-self-start": "global_align-self-start",
|
|
26517
26577
|
"align-self-end": "global_align-self-end",
|
|
@@ -26520,15 +26580,33 @@ var global_default = {
|
|
|
26520
26580
|
"align-self-flex-start": "global_align-self-flex-start",
|
|
26521
26581
|
"align-self-flex-end": "global_align-self-flex-end",
|
|
26522
26582
|
"align-self-baseline": "global_align-self-baseline",
|
|
26523
|
-
"align-self-first-baseline": "global_align-self-first-baseline",
|
|
26524
|
-
"align-self-last-baseline": "global_align-self-last-baseline",
|
|
26525
26583
|
"align-self-stretch": "global_align-self-stretch",
|
|
26526
|
-
"
|
|
26527
|
-
"
|
|
26584
|
+
"justify-self-center": "global_justify-self-center",
|
|
26585
|
+
"justify-self-start": "global_justify-self-start",
|
|
26586
|
+
"justify-self-end": "global_justify-self-end",
|
|
26587
|
+
"justify-self-self-start": "global_justify-self-self-start",
|
|
26588
|
+
"justify-self-self-end": "global_justify-self-self-end",
|
|
26589
|
+
"justify-self-baseline": "global_justify-self-baseline",
|
|
26590
|
+
"justify-self-stretch": "global_justify-self-stretch",
|
|
26528
26591
|
"grid-auto-flow-row": "global_grid-auto-flow-row",
|
|
26529
26592
|
"grid-auto-flow-column": "global_grid-auto-flow-column",
|
|
26530
26593
|
"grid-auto-flow-row-dense": "global_grid-auto-flow-row-dense",
|
|
26531
26594
|
"grid-auto-flow-column-dense": "global_grid-auto-flow-column-dense",
|
|
26595
|
+
"overflow-visible": "global_overflow-visible",
|
|
26596
|
+
"overflow-hidden": "global_overflow-hidden",
|
|
26597
|
+
"overflow-clip": "global_overflow-clip",
|
|
26598
|
+
"overflow-scroll": "global_overflow-scroll",
|
|
26599
|
+
"overflow-auto": "global_overflow-auto",
|
|
26600
|
+
"overflow-x-visible": "global_overflow-x-visible",
|
|
26601
|
+
"overflow-x-hidden": "global_overflow-x-hidden",
|
|
26602
|
+
"overflow-x-clip": "global_overflow-x-clip",
|
|
26603
|
+
"overflow-x-scroll": "global_overflow-x-scroll",
|
|
26604
|
+
"overflow-x-auto": "global_overflow-x-auto",
|
|
26605
|
+
"overflow-y-visible": "global_overflow-y-visible",
|
|
26606
|
+
"overflow-y-hidden": "global_overflow-y-hidden",
|
|
26607
|
+
"overflow-y-clip": "global_overflow-y-clip",
|
|
26608
|
+
"overflow-y-scroll": "global_overflow-y-scroll",
|
|
26609
|
+
"overflow-y-auto": "global_overflow-y-auto",
|
|
26532
26610
|
"display-xs": "global_display-xs",
|
|
26533
26611
|
"position-xs": "global_position-xs",
|
|
26534
26612
|
"font-size-xs": "global_font-size-xs",
|
|
@@ -26565,6 +26643,7 @@ var global_default = {
|
|
|
26565
26643
|
"flex-wrap-xs": "global_flex-wrap-xs",
|
|
26566
26644
|
"justify-content-xs": "global_justify-content-xs",
|
|
26567
26645
|
"justify-items-xs": "global_justify-items-xs",
|
|
26646
|
+
"justify-self-xs": "global_justify-self-xs",
|
|
26568
26647
|
"align-content-xs": "global_align-content-xs",
|
|
26569
26648
|
"align-items-xs": "global_align-items-xs",
|
|
26570
26649
|
"align-self-xs": "global_align-self-xs",
|
|
@@ -26573,6 +26652,10 @@ var global_default = {
|
|
|
26573
26652
|
"flex-basis-xs": "global_flex-basis-xs",
|
|
26574
26653
|
"flex-grow-xs": "global_flex-grow-xs",
|
|
26575
26654
|
"flex-shrink-xs": "global_flex-shrink-xs",
|
|
26655
|
+
"overflow-xs": "global_overflow-xs",
|
|
26656
|
+
"overflow-x-xs": "global_overflow-x-xs",
|
|
26657
|
+
"overflow-y-xs": "global_overflow-y-xs",
|
|
26658
|
+
"order-xs": "global_order-xs",
|
|
26576
26659
|
"display-sm": "global_display-sm",
|
|
26577
26660
|
"position-sm": "global_position-sm",
|
|
26578
26661
|
"font-size-sm": "global_font-size-sm",
|
|
@@ -26609,6 +26692,7 @@ var global_default = {
|
|
|
26609
26692
|
"flex-wrap-sm": "global_flex-wrap-sm",
|
|
26610
26693
|
"justify-content-sm": "global_justify-content-sm",
|
|
26611
26694
|
"justify-items-sm": "global_justify-items-sm",
|
|
26695
|
+
"justify-self-sm": "global_justify-self-sm",
|
|
26612
26696
|
"align-content-sm": "global_align-content-sm",
|
|
26613
26697
|
"align-items-sm": "global_align-items-sm",
|
|
26614
26698
|
"align-self-sm": "global_align-self-sm",
|
|
@@ -26617,6 +26701,10 @@ var global_default = {
|
|
|
26617
26701
|
"flex-basis-sm": "global_flex-basis-sm",
|
|
26618
26702
|
"flex-grow-sm": "global_flex-grow-sm",
|
|
26619
26703
|
"flex-shrink-sm": "global_flex-shrink-sm",
|
|
26704
|
+
"overflow-sm": "global_overflow-sm",
|
|
26705
|
+
"overflow-x-sm": "global_overflow-x-sm",
|
|
26706
|
+
"overflow-y-sm": "global_overflow-y-sm",
|
|
26707
|
+
"order-sm": "global_order-sm",
|
|
26620
26708
|
"display-md": "global_display-md",
|
|
26621
26709
|
"position-md": "global_position-md",
|
|
26622
26710
|
"font-size-md": "global_font-size-md",
|
|
@@ -26653,6 +26741,7 @@ var global_default = {
|
|
|
26653
26741
|
"flex-wrap-md": "global_flex-wrap-md",
|
|
26654
26742
|
"justify-content-md": "global_justify-content-md",
|
|
26655
26743
|
"justify-items-md": "global_justify-items-md",
|
|
26744
|
+
"justify-self-md": "global_justify-self-md",
|
|
26656
26745
|
"align-content-md": "global_align-content-md",
|
|
26657
26746
|
"align-items-md": "global_align-items-md",
|
|
26658
26747
|
"align-self-md": "global_align-self-md",
|
|
@@ -26661,6 +26750,10 @@ var global_default = {
|
|
|
26661
26750
|
"flex-basis-md": "global_flex-basis-md",
|
|
26662
26751
|
"flex-grow-md": "global_flex-grow-md",
|
|
26663
26752
|
"flex-shrink-md": "global_flex-shrink-md",
|
|
26753
|
+
"overflow-md": "global_overflow-md",
|
|
26754
|
+
"overflow-x-md": "global_overflow-x-md",
|
|
26755
|
+
"overflow-y-md": "global_overflow-y-md",
|
|
26756
|
+
"order-md": "global_order-md",
|
|
26664
26757
|
"display-lg": "global_display-lg",
|
|
26665
26758
|
"position-lg": "global_position-lg",
|
|
26666
26759
|
"font-size-lg": "global_font-size-lg",
|
|
@@ -26697,6 +26790,7 @@ var global_default = {
|
|
|
26697
26790
|
"flex-wrap-lg": "global_flex-wrap-lg",
|
|
26698
26791
|
"justify-content-lg": "global_justify-content-lg",
|
|
26699
26792
|
"justify-items-lg": "global_justify-items-lg",
|
|
26793
|
+
"justify-self-lg": "global_justify-self-lg",
|
|
26700
26794
|
"align-content-lg": "global_align-content-lg",
|
|
26701
26795
|
"align-items-lg": "global_align-items-lg",
|
|
26702
26796
|
"align-self-lg": "global_align-self-lg",
|
|
@@ -26705,6 +26799,10 @@ var global_default = {
|
|
|
26705
26799
|
"flex-basis-lg": "global_flex-basis-lg",
|
|
26706
26800
|
"flex-grow-lg": "global_flex-grow-lg",
|
|
26707
26801
|
"flex-shrink-lg": "global_flex-shrink-lg",
|
|
26802
|
+
"overflow-lg": "global_overflow-lg",
|
|
26803
|
+
"overflow-x-lg": "global_overflow-x-lg",
|
|
26804
|
+
"overflow-y-lg": "global_overflow-y-lg",
|
|
26805
|
+
"order-lg": "global_order-lg",
|
|
26708
26806
|
"display-xl": "global_display-xl",
|
|
26709
26807
|
"position-xl": "global_position-xl",
|
|
26710
26808
|
"font-size-xl": "global_font-size-xl",
|
|
@@ -26741,6 +26839,7 @@ var global_default = {
|
|
|
26741
26839
|
"flex-wrap-xl": "global_flex-wrap-xl",
|
|
26742
26840
|
"justify-content-xl": "global_justify-content-xl",
|
|
26743
26841
|
"justify-items-xl": "global_justify-items-xl",
|
|
26842
|
+
"justify-self-xl": "global_justify-self-xl",
|
|
26744
26843
|
"align-content-xl": "global_align-content-xl",
|
|
26745
26844
|
"align-items-xl": "global_align-items-xl",
|
|
26746
26845
|
"align-self-xl": "global_align-self-xl",
|
|
@@ -26748,10 +26847,14 @@ var global_default = {
|
|
|
26748
26847
|
"grid-template-columns-xl": "global_grid-template-columns-xl",
|
|
26749
26848
|
"flex-basis-xl": "global_flex-basis-xl",
|
|
26750
26849
|
"flex-grow-xl": "global_flex-grow-xl",
|
|
26751
|
-
"flex-shrink-xl": "global_flex-shrink-xl"
|
|
26850
|
+
"flex-shrink-xl": "global_flex-shrink-xl",
|
|
26851
|
+
"overflow-xl": "global_overflow-xl",
|
|
26852
|
+
"overflow-x-xl": "global_overflow-x-xl",
|
|
26853
|
+
"overflow-y-xl": "global_overflow-y-xl",
|
|
26854
|
+
"order-xl": "global_order-xl"
|
|
26752
26855
|
};
|
|
26753
26856
|
|
|
26754
|
-
// src/
|
|
26857
|
+
// src/components/hooks/useDesignProps.ts
|
|
26755
26858
|
var CSS_MAP = {
|
|
26756
26859
|
display: "display",
|
|
26757
26860
|
position: "position",
|
|
@@ -26760,6 +26863,7 @@ var CSS_MAP = {
|
|
|
26760
26863
|
textAlign: "text-align",
|
|
26761
26864
|
textWrap: "text-wrap",
|
|
26762
26865
|
letterSpacing: "letter-spacing",
|
|
26866
|
+
color: "font-color",
|
|
26763
26867
|
backgroundColor: "background-color",
|
|
26764
26868
|
borderSize: "border-size",
|
|
26765
26869
|
borderRadius: "border-radius",
|
|
@@ -26794,17 +26898,23 @@ var CSS_MAP = {
|
|
|
26794
26898
|
alignContent: "align-content",
|
|
26795
26899
|
alignItems: "align-items",
|
|
26796
26900
|
alignSelf: "align-self",
|
|
26797
|
-
gridAutoRows: "grid-auto-rows",
|
|
26798
|
-
gridTemplateRows: "grid-template-rows",
|
|
26799
|
-
gridTemplateColumns: "grid-template-columns",
|
|
26800
|
-
gridAutoFlow: "grid-auto-flow",
|
|
26801
26901
|
flexBasis: "flex-basis",
|
|
26802
26902
|
flexGrow: "flex-grow",
|
|
26803
26903
|
flexShrink: "flex-shrink",
|
|
26904
|
+
gridTemplateRows: "grid-template-rows",
|
|
26905
|
+
gridTemplateColumns: "grid-template-columns",
|
|
26906
|
+
gridTemplateAreas: "grid-template-areas",
|
|
26907
|
+
gridAutoRows: "grid-auto-rows",
|
|
26908
|
+
gridAutoColumns: "grid-auto-columns",
|
|
26909
|
+
gridAutoFlow: "grid-auto-flow",
|
|
26910
|
+
gridArea: "grid-area",
|
|
26911
|
+
gridRow: "grid-row",
|
|
26912
|
+
gridColumn: "grid-column",
|
|
26804
26913
|
top: "top",
|
|
26805
26914
|
right: "right",
|
|
26806
26915
|
bottom: "bottom",
|
|
26807
|
-
left: "left"
|
|
26916
|
+
left: "left",
|
|
26917
|
+
order: "order"
|
|
26808
26918
|
};
|
|
26809
26919
|
var excludedProps = [
|
|
26810
26920
|
"width",
|
|
@@ -26815,11 +26925,27 @@ var excludedProps = [
|
|
|
26815
26925
|
"maxHeight",
|
|
26816
26926
|
"gridTemplateRows",
|
|
26817
26927
|
"gridTemplateColumns",
|
|
26928
|
+
"gridTemplateAreas",
|
|
26929
|
+
"gridAutoRows",
|
|
26930
|
+
"gridAutoColumns",
|
|
26931
|
+
"gridArea",
|
|
26932
|
+
"gridRow",
|
|
26933
|
+
"gridColumn",
|
|
26818
26934
|
"flexBasis",
|
|
26819
26935
|
"flexGrow",
|
|
26820
|
-
"flexShrink"
|
|
26936
|
+
"flexShrink",
|
|
26937
|
+
"gridArea",
|
|
26938
|
+
"gridRow",
|
|
26939
|
+
"gridColumn",
|
|
26940
|
+
"order"
|
|
26821
26941
|
];
|
|
26822
|
-
function
|
|
26942
|
+
function parseValue(value, name) {
|
|
26943
|
+
if (/^\d+$/.test(value)) {
|
|
26944
|
+
return `var(--${name}-${value})`;
|
|
26945
|
+
}
|
|
26946
|
+
return value;
|
|
26947
|
+
}
|
|
26948
|
+
function useDesignProps(props) {
|
|
26823
26949
|
const classes = [];
|
|
26824
26950
|
const styleProps = {};
|
|
26825
26951
|
Object.keys(props).forEach((key) => {
|
|
@@ -26847,18 +26973,13 @@ function mapProps(props) {
|
|
|
26847
26973
|
});
|
|
26848
26974
|
return [classes, styleProps];
|
|
26849
26975
|
}
|
|
26850
|
-
function parseValue(value, name) {
|
|
26851
|
-
if (/^\d+$/.test(value)) {
|
|
26852
|
-
return `var(--${name}-${value})`;
|
|
26853
|
-
}
|
|
26854
|
-
return value;
|
|
26855
|
-
}
|
|
26856
26976
|
|
|
26857
26977
|
// src/components/Box.tsx
|
|
26858
26978
|
var import_classnames3 = __toESM(require_classnames());
|
|
26859
26979
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
26860
26980
|
function Box({
|
|
26861
26981
|
display,
|
|
26982
|
+
color,
|
|
26862
26983
|
backgroundColor,
|
|
26863
26984
|
borderSize,
|
|
26864
26985
|
borderRadius,
|
|
@@ -26885,13 +27006,17 @@ function Box({
|
|
|
26885
27006
|
maxHeight,
|
|
26886
27007
|
position,
|
|
26887
27008
|
align,
|
|
26888
|
-
basis,
|
|
26889
|
-
grow,
|
|
26890
|
-
shrink,
|
|
26891
27009
|
top,
|
|
26892
27010
|
right,
|
|
26893
27011
|
bottom,
|
|
26894
27012
|
left,
|
|
27013
|
+
flexBasis,
|
|
27014
|
+
flexGrow,
|
|
27015
|
+
flexShrink,
|
|
27016
|
+
gridArea,
|
|
27017
|
+
gridRow,
|
|
27018
|
+
gridColumn,
|
|
27019
|
+
order,
|
|
26895
27020
|
as = "div",
|
|
26896
27021
|
asChild,
|
|
26897
27022
|
className,
|
|
@@ -26900,8 +27025,9 @@ function Box({
|
|
|
26900
27025
|
...props
|
|
26901
27026
|
}) {
|
|
26902
27027
|
const Component = asChild ? Slot : as;
|
|
26903
|
-
const [classes, styleProps] =
|
|
27028
|
+
const [classes, styleProps] = useDesignProps({
|
|
26904
27029
|
display,
|
|
27030
|
+
color,
|
|
26905
27031
|
backgroundColor,
|
|
26906
27032
|
borderSize,
|
|
26907
27033
|
borderRadius,
|
|
@@ -26928,13 +27054,17 @@ function Box({
|
|
|
26928
27054
|
maxHeight,
|
|
26929
27055
|
position,
|
|
26930
27056
|
textAlign: align,
|
|
26931
|
-
flexBasis: basis,
|
|
26932
|
-
flexGrow: grow,
|
|
26933
|
-
flexShrink: shrink,
|
|
26934
27057
|
top,
|
|
26935
27058
|
right,
|
|
26936
27059
|
bottom,
|
|
26937
|
-
left
|
|
27060
|
+
left,
|
|
27061
|
+
flexBasis,
|
|
27062
|
+
flexGrow,
|
|
27063
|
+
flexShrink,
|
|
27064
|
+
gridArea,
|
|
27065
|
+
gridRow,
|
|
27066
|
+
gridColumn,
|
|
27067
|
+
order
|
|
26938
27068
|
});
|
|
26939
27069
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
26940
27070
|
Component,
|
|
@@ -26968,7 +27098,7 @@ function Flexbox({
|
|
|
26968
27098
|
children,
|
|
26969
27099
|
...props
|
|
26970
27100
|
}) {
|
|
26971
|
-
const [classes, styleProps] =
|
|
27101
|
+
const [classes, styleProps] = useDesignProps({
|
|
26972
27102
|
display,
|
|
26973
27103
|
flexDirection: direction,
|
|
26974
27104
|
flexWrap: wrap,
|
|
@@ -27002,26 +27132,28 @@ var Text_default = {
|
|
|
27002
27132
|
// src/components/Text.tsx
|
|
27003
27133
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
27004
27134
|
function Text({
|
|
27005
|
-
as = "span",
|
|
27006
|
-
asChild,
|
|
27007
27135
|
type,
|
|
27008
27136
|
size,
|
|
27009
|
-
|
|
27137
|
+
spacing,
|
|
27010
27138
|
weight,
|
|
27011
27139
|
align,
|
|
27012
27140
|
wrap,
|
|
27141
|
+
color,
|
|
27142
|
+
as = "span",
|
|
27143
|
+
asChild,
|
|
27013
27144
|
className,
|
|
27014
27145
|
style,
|
|
27015
27146
|
children,
|
|
27016
27147
|
...props
|
|
27017
27148
|
}) {
|
|
27018
27149
|
const Component = asChild ? Slot : as;
|
|
27019
|
-
const [classes, styleProps] =
|
|
27150
|
+
const [classes, styleProps] = useDesignProps({
|
|
27020
27151
|
fontSize: size,
|
|
27021
27152
|
textAlign: align,
|
|
27022
27153
|
textWrap: wrap,
|
|
27023
27154
|
fontWeight: weight,
|
|
27024
|
-
letterSpacing
|
|
27155
|
+
letterSpacing: spacing,
|
|
27156
|
+
color
|
|
27025
27157
|
});
|
|
27026
27158
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
27027
27159
|
Component,
|
|
@@ -28024,12 +28156,13 @@ function Grid({
|
|
|
28024
28156
|
autoFlow,
|
|
28025
28157
|
rows,
|
|
28026
28158
|
columns,
|
|
28159
|
+
areas,
|
|
28027
28160
|
className,
|
|
28028
28161
|
style,
|
|
28029
28162
|
children,
|
|
28030
28163
|
...props
|
|
28031
28164
|
}) {
|
|
28032
|
-
const [classes, styleProps] =
|
|
28165
|
+
const [classes, styleProps] = useDesignProps({
|
|
28033
28166
|
display,
|
|
28034
28167
|
justifyContent,
|
|
28035
28168
|
justifyItems,
|
|
@@ -28040,6 +28173,7 @@ function Grid({
|
|
|
28040
28173
|
gapY,
|
|
28041
28174
|
gridTemplateRows: rows,
|
|
28042
28175
|
gridTemplateColumns: columns,
|
|
28176
|
+
gridTemplateAreas: areas,
|
|
28043
28177
|
gridAutoFlow: autoFlow
|
|
28044
28178
|
});
|
|
28045
28179
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Box, { ...props, className: (0, import_classnames28.default)(className, classes), style: { ...styleProps, ...style }, children });
|
|
@@ -28059,12 +28193,18 @@ function Heading({
|
|
|
28059
28193
|
size = "5",
|
|
28060
28194
|
weight,
|
|
28061
28195
|
align,
|
|
28196
|
+
spacing = "1",
|
|
28062
28197
|
className,
|
|
28063
28198
|
style,
|
|
28064
28199
|
children,
|
|
28065
28200
|
...props
|
|
28066
28201
|
}) {
|
|
28067
|
-
const [classes, styleProps] =
|
|
28202
|
+
const [classes, styleProps] = useDesignProps({
|
|
28203
|
+
fontSize: size,
|
|
28204
|
+
textAlign: align,
|
|
28205
|
+
fontWeight: weight,
|
|
28206
|
+
letterSpacing: spacing
|
|
28207
|
+
});
|
|
28068
28208
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
28069
28209
|
Box,
|
|
28070
28210
|
{
|