@nanisoft/prism-ui 0.15.0 → 0.16.1
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/.tsbuildinfo +1 -1
- package/dist/blocks/data-table-01/data-table.d.ts +10 -0
- package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table-01/data-table.js +2 -1
- package/dist/blocks/page-header-01/page-header.d.ts +7 -0
- package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
- package/dist/blocks/page-header-01/page-header.js +9 -1
- package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
- package/dist/blocks/run-console-01/run-console.js +2 -1
- package/dist/blocks/site-footer/site-footer.d.ts +16 -0
- package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
- package/dist/blocks/site-footer/site-footer.js +17 -1
- package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
- package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
- package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
- package/dist/components/ui/diagram.d.ts +38 -7
- package/dist/components/ui/diagram.d.ts.map +1 -1
- package/dist/components/ui/diagram.js +134 -52
- package/dist/components/ui/fact-list.d.ts +17 -0
- package/dist/components/ui/fact-list.d.ts.map +1 -1
- package/dist/components/ui/fact-list.js +18 -1
- package/dist/components/ui/prose.d.ts +11 -0
- package/dist/components/ui/prose.d.ts.map +1 -1
- package/dist/components/ui/prose.js +12 -1
- package/dist/components/ui/pulse-graph.d.ts +36 -4
- package/dist/components/ui/pulse-graph.d.ts.map +1 -1
- package/dist/components/ui/pulse-graph.js +174 -60
- package/dist/components/ui/section.d.ts +33 -31
- package/dist/components/ui/section.d.ts.map +1 -1
- package/dist/components/ui/section.js +33 -31
- package/dist/lib/figure.d.ts +149 -0
- package/dist/lib/figure.d.ts.map +1 -0
- package/dist/lib/figure.js +242 -0
- package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
- package/dist/live/run-stream-01/run-stream.js +2 -1
- package/dist/pages/blog-post-page/index.d.ts +36 -15
- package/dist/pages/blog-post-page/index.d.ts.map +1 -1
- package/dist/pages/blog-post-page/index.js +35 -10
- package/dist/pages/docs-shell/docs-shell.d.ts +131 -17
- package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
- package/dist/pages/docs-shell/docs-shell.js +230 -24
- package/dist/pages/error-page/index.d.ts.map +1 -1
- package/dist/pages/error-page/index.js +7 -3
- package/dist/pages/not-found-page/index.d.ts.map +1 -1
- package/dist/pages/not-found-page/index.js +4 -3
- package/dist/styles.css +131 -12
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
--text-3xl--line-height: 1.2;
|
|
28
28
|
--text-4xl: 2.25rem;
|
|
29
29
|
--text-4xl--line-height: 1.111;
|
|
30
|
+
--text-5xl: 3rem;
|
|
31
|
+
--text-5xl--line-height: 1;
|
|
32
|
+
--text-6xl: 3.75rem;
|
|
33
|
+
--text-6xl--line-height: 1;
|
|
30
34
|
--font-weight-normal: 400;
|
|
31
35
|
--font-weight-medium: 500;
|
|
32
36
|
--font-weight-semibold: 600;
|
|
@@ -331,6 +335,9 @@
|
|
|
331
335
|
.top-4 {
|
|
332
336
|
top: var(--spacing-4);
|
|
333
337
|
}
|
|
338
|
+
.top-20 {
|
|
339
|
+
top: var(--spacing-20);
|
|
340
|
+
}
|
|
334
341
|
.right-0 {
|
|
335
342
|
right: var(--spacing-0);
|
|
336
343
|
}
|
|
@@ -745,6 +752,9 @@
|
|
|
745
752
|
.min-h-5 {
|
|
746
753
|
min-height: var(--spacing-5);
|
|
747
754
|
}
|
|
755
|
+
.min-h-6 {
|
|
756
|
+
min-height: var(--spacing-6);
|
|
757
|
+
}
|
|
748
758
|
.min-h-8 {
|
|
749
759
|
min-height: var(--spacing-8);
|
|
750
760
|
}
|
|
@@ -862,9 +872,18 @@
|
|
|
862
872
|
.max-w-20 {
|
|
863
873
|
max-width: var(--spacing-20);
|
|
864
874
|
}
|
|
875
|
+
.max-w-32 {
|
|
876
|
+
max-width: calc(var(--spacing) * 32);
|
|
877
|
+
}
|
|
865
878
|
.max-w-64 {
|
|
866
879
|
max-width: calc(var(--spacing) * 64);
|
|
867
880
|
}
|
|
881
|
+
.max-w-72 {
|
|
882
|
+
max-width: calc(var(--spacing) * 72);
|
|
883
|
+
}
|
|
884
|
+
.max-w-96 {
|
|
885
|
+
max-width: calc(var(--spacing) * 96);
|
|
886
|
+
}
|
|
868
887
|
.max-w-full {
|
|
869
888
|
max-width: 100%;
|
|
870
889
|
}
|
|
@@ -937,6 +956,9 @@
|
|
|
937
956
|
.min-w-96 {
|
|
938
957
|
min-width: calc(var(--spacing) * 96);
|
|
939
958
|
}
|
|
959
|
+
.min-w-160 {
|
|
960
|
+
min-width: calc(var(--spacing) * 160);
|
|
961
|
+
}
|
|
940
962
|
.min-w-max {
|
|
941
963
|
min-width: max-content;
|
|
942
964
|
}
|
|
@@ -1549,6 +1571,12 @@
|
|
|
1549
1571
|
.bg-foreground {
|
|
1550
1572
|
background-color: var(--foreground);
|
|
1551
1573
|
}
|
|
1574
|
+
.bg-foreground\/40 {
|
|
1575
|
+
background-color: var(--foreground);
|
|
1576
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1577
|
+
background-color: color-mix(in oklab, var(--foreground) 40%, transparent);
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1552
1580
|
.bg-input {
|
|
1553
1581
|
background-color: var(--input);
|
|
1554
1582
|
}
|
|
@@ -1622,6 +1650,10 @@
|
|
|
1622
1650
|
--tw-gradient-position: to bottom in oklab;
|
|
1623
1651
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1624
1652
|
}
|
|
1653
|
+
.bg-gradient-to-t {
|
|
1654
|
+
--tw-gradient-position: to top in oklab;
|
|
1655
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1656
|
+
}
|
|
1625
1657
|
.bg-gradient-to-tr {
|
|
1626
1658
|
--tw-gradient-position: to top right in oklab;
|
|
1627
1659
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
@@ -1629,6 +1661,10 @@
|
|
|
1629
1661
|
.bg-\[conic-gradient\(var\(--chart-1\)\,var\(--chart-2\)\,var\(--chart-3\)\,var\(--chart-4\)\,var\(--chart-5\)\,var\(--chart-1\)\)\] {
|
|
1630
1662
|
background-image: conic-gradient(var(--chart-1),var(--chart-2),var(--chart-3),var(--chart-4),var(--chart-5),var(--chart-1));
|
|
1631
1663
|
}
|
|
1664
|
+
.from-background {
|
|
1665
|
+
--tw-gradient-from: var(--background);
|
|
1666
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1667
|
+
}
|
|
1632
1668
|
.from-primary-foreground\/15 {
|
|
1633
1669
|
--tw-gradient-from: var(--primary-foreground);
|
|
1634
1670
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1997,6 +2033,18 @@
|
|
|
1997
2033
|
font-size: var(--text-3xl);
|
|
1998
2034
|
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
1999
2035
|
}
|
|
2036
|
+
.text-4xl {
|
|
2037
|
+
font-size: var(--text-4xl);
|
|
2038
|
+
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
2039
|
+
}
|
|
2040
|
+
.text-5xl {
|
|
2041
|
+
font-size: var(--text-5xl);
|
|
2042
|
+
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
2043
|
+
}
|
|
2044
|
+
.text-6xl {
|
|
2045
|
+
font-size: var(--text-6xl);
|
|
2046
|
+
line-height: var(--tw-leading, var(--text-6xl--line-height));
|
|
2047
|
+
}
|
|
2000
2048
|
.text-base {
|
|
2001
2049
|
font-size: var(--text-base);
|
|
2002
2050
|
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
@@ -2063,6 +2111,9 @@
|
|
|
2063
2111
|
.text-pretty {
|
|
2064
2112
|
text-wrap: pretty;
|
|
2065
2113
|
}
|
|
2114
|
+
.text-wrap {
|
|
2115
|
+
text-wrap: wrap;
|
|
2116
|
+
}
|
|
2066
2117
|
.break-words {
|
|
2067
2118
|
overflow-wrap: break-word;
|
|
2068
2119
|
}
|
|
@@ -2207,6 +2258,10 @@
|
|
|
2207
2258
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2208
2259
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2209
2260
|
}
|
|
2261
|
+
.shadow-inner {
|
|
2262
|
+
--tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
2263
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2264
|
+
}
|
|
2210
2265
|
.shadow-lg {
|
|
2211
2266
|
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2212
2267
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -2630,6 +2685,10 @@
|
|
|
2630
2685
|
.focus\:text-accent-foreground:focus {
|
|
2631
2686
|
color: var(--accent-foreground);
|
|
2632
2687
|
}
|
|
2688
|
+
.focus\:shadow-lg:focus {
|
|
2689
|
+
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2690
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2691
|
+
}
|
|
2633
2692
|
.focus\:ring-0:focus {
|
|
2634
2693
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2635
2694
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3057,6 +3116,9 @@
|
|
|
3057
3116
|
.sm\:grid-cols-3 {
|
|
3058
3117
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3059
3118
|
}
|
|
3119
|
+
.sm\:grid-cols-11 {
|
|
3120
|
+
grid-template-columns: repeat(11, minmax(0, 1fr));
|
|
3121
|
+
}
|
|
3060
3122
|
.sm\:grid-cols-\[7rem_minmax\(0\,1fr\)\] {
|
|
3061
3123
|
grid-template-columns: 7rem minmax(0,1fr);
|
|
3062
3124
|
}
|
|
@@ -3185,6 +3247,14 @@
|
|
|
3185
3247
|
font-size: var(--text-4xl);
|
|
3186
3248
|
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
3187
3249
|
}
|
|
3250
|
+
.sm\:text-5xl {
|
|
3251
|
+
font-size: var(--text-5xl);
|
|
3252
|
+
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
3253
|
+
}
|
|
3254
|
+
.sm\:text-6xl {
|
|
3255
|
+
font-size: var(--text-6xl);
|
|
3256
|
+
line-height: var(--tw-leading, var(--text-6xl--line-height));
|
|
3257
|
+
}
|
|
3188
3258
|
.sm\:text-xl {
|
|
3189
3259
|
font-size: var(--text-xl);
|
|
3190
3260
|
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
@@ -3254,12 +3324,21 @@
|
|
|
3254
3324
|
}
|
|
3255
3325
|
}
|
|
3256
3326
|
@media (width >= 64rem) {
|
|
3327
|
+
.lg\:absolute {
|
|
3328
|
+
position: absolute;
|
|
3329
|
+
}
|
|
3257
3330
|
.lg\:sticky {
|
|
3258
3331
|
position: sticky;
|
|
3259
3332
|
}
|
|
3333
|
+
.lg\:inset-x-0 {
|
|
3334
|
+
inset-inline: var(--spacing-0);
|
|
3335
|
+
}
|
|
3260
3336
|
.lg\:top-20 {
|
|
3261
3337
|
top: var(--spacing-20);
|
|
3262
3338
|
}
|
|
3339
|
+
.lg\:bottom-0 {
|
|
3340
|
+
bottom: var(--spacing-0);
|
|
3341
|
+
}
|
|
3263
3342
|
.lg\:order-1 {
|
|
3264
3343
|
order: 1;
|
|
3265
3344
|
}
|
|
@@ -3302,6 +3381,9 @@
|
|
|
3302
3381
|
.lg\:hidden {
|
|
3303
3382
|
display: none;
|
|
3304
3383
|
}
|
|
3384
|
+
.lg\:h-8 {
|
|
3385
|
+
height: var(--spacing-8);
|
|
3386
|
+
}
|
|
3305
3387
|
.lg\:max-h-\[calc\(100svh-7rem\)\] {
|
|
3306
3388
|
max-height: calc(100svh - 7rem);
|
|
3307
3389
|
}
|
|
@@ -3391,6 +3473,18 @@
|
|
|
3391
3473
|
border-left-style: var(--tw-border-style);
|
|
3392
3474
|
border-left-width: 1px;
|
|
3393
3475
|
}
|
|
3476
|
+
.lg\:bg-gradient-to-t {
|
|
3477
|
+
--tw-gradient-position: to top in oklab;
|
|
3478
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
3479
|
+
}
|
|
3480
|
+
.lg\:from-background {
|
|
3481
|
+
--tw-gradient-from: var(--background);
|
|
3482
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
3483
|
+
}
|
|
3484
|
+
.lg\:to-transparent {
|
|
3485
|
+
--tw-gradient-to: transparent;
|
|
3486
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
3487
|
+
}
|
|
3394
3488
|
.lg\:p-6 {
|
|
3395
3489
|
padding: var(--spacing-6);
|
|
3396
3490
|
}
|
|
@@ -3406,6 +3500,9 @@
|
|
|
3406
3500
|
.lg\:pt-0 {
|
|
3407
3501
|
padding-top: var(--spacing-0);
|
|
3408
3502
|
}
|
|
3503
|
+
.lg\:pb-8 {
|
|
3504
|
+
padding-bottom: var(--spacing-8);
|
|
3505
|
+
}
|
|
3409
3506
|
.lg\:pl-10 {
|
|
3410
3507
|
padding-left: var(--spacing-10);
|
|
3411
3508
|
}
|
|
@@ -3554,9 +3651,9 @@
|
|
|
3554
3651
|
.\[\&_code\]\:text-muted-foreground code {
|
|
3555
3652
|
color: var(--muted-foreground);
|
|
3556
3653
|
}
|
|
3557
|
-
.\[\&_h1\]\:text-
|
|
3558
|
-
font-size: var(--text-
|
|
3559
|
-
line-height: var(--tw-leading, var(--text-
|
|
3654
|
+
.\[\&_h1\]\:text-4xl h1 {
|
|
3655
|
+
font-size: var(--text-4xl);
|
|
3656
|
+
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
3560
3657
|
}
|
|
3561
3658
|
.\[\&_h1\]\:font-semibold h1 {
|
|
3562
3659
|
--tw-font-weight: var(--font-weight-semibold);
|
|
@@ -3572,9 +3669,9 @@
|
|
|
3572
3669
|
.\[\&_h2\]\:mt-2 h2 {
|
|
3573
3670
|
margin-top: var(--spacing-2);
|
|
3574
3671
|
}
|
|
3575
|
-
.\[\&_h2\]\:text-
|
|
3576
|
-
font-size: var(--text-
|
|
3577
|
-
line-height: var(--tw-leading, var(--text-
|
|
3672
|
+
.\[\&_h2\]\:text-3xl h2 {
|
|
3673
|
+
font-size: var(--text-3xl);
|
|
3674
|
+
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
3578
3675
|
}
|
|
3579
3676
|
.\[\&_h2\]\:font-semibold h2 {
|
|
3580
3677
|
--tw-font-weight: var(--font-weight-semibold);
|
|
@@ -3590,9 +3687,9 @@
|
|
|
3590
3687
|
.\[\&_h3\]\:mt-2 h3 {
|
|
3591
3688
|
margin-top: var(--spacing-2);
|
|
3592
3689
|
}
|
|
3593
|
-
.\[\&_h3\]\:text-
|
|
3594
|
-
font-size: var(--text-
|
|
3595
|
-
line-height: var(--tw-leading, var(--text-
|
|
3690
|
+
.\[\&_h3\]\:text-2xl h3 {
|
|
3691
|
+
font-size: var(--text-2xl);
|
|
3692
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
3596
3693
|
}
|
|
3597
3694
|
.\[\&_h3\]\:font-semibold h3 {
|
|
3598
3695
|
--tw-font-weight: var(--font-weight-semibold);
|
|
@@ -3605,9 +3702,9 @@
|
|
|
3605
3702
|
.\[\&_h3\]\:text-balance h3 {
|
|
3606
3703
|
text-wrap: balance;
|
|
3607
3704
|
}
|
|
3608
|
-
.\[\&_h4\]\:text-
|
|
3609
|
-
font-size: var(--text-
|
|
3610
|
-
line-height: var(--tw-leading, var(--text-
|
|
3705
|
+
.\[\&_h4\]\:text-xl h4 {
|
|
3706
|
+
font-size: var(--text-xl);
|
|
3707
|
+
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
3611
3708
|
}
|
|
3612
3709
|
.\[\&_h4\]\:font-semibold h4 {
|
|
3613
3710
|
--tw-font-weight: var(--font-weight-semibold);
|
|
@@ -3616,6 +3713,28 @@
|
|
|
3616
3713
|
.\[\&_h4\]\:text-balance h4 {
|
|
3617
3714
|
text-wrap: balance;
|
|
3618
3715
|
}
|
|
3716
|
+
.\[\&_h5\]\:text-lg h5 {
|
|
3717
|
+
font-size: var(--text-lg);
|
|
3718
|
+
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
3719
|
+
}
|
|
3720
|
+
.\[\&_h5\]\:font-semibold h5 {
|
|
3721
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
3722
|
+
font-weight: var(--font-weight-semibold);
|
|
3723
|
+
}
|
|
3724
|
+
.\[\&_h5\]\:text-balance h5 {
|
|
3725
|
+
text-wrap: balance;
|
|
3726
|
+
}
|
|
3727
|
+
.\[\&_h6\]\:text-lg h6 {
|
|
3728
|
+
font-size: var(--text-lg);
|
|
3729
|
+
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
3730
|
+
}
|
|
3731
|
+
.\[\&_h6\]\:font-semibold h6 {
|
|
3732
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
3733
|
+
font-weight: var(--font-weight-semibold);
|
|
3734
|
+
}
|
|
3735
|
+
.\[\&_h6\]\:text-balance h6 {
|
|
3736
|
+
text-wrap: balance;
|
|
3737
|
+
}
|
|
3619
3738
|
.\[\&_hr\]\:my-2 hr {
|
|
3620
3739
|
margin-block: var(--spacing-2);
|
|
3621
3740
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanisoft/prism-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prism's React component, block and page library.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"clsx": "^2.1.1",
|
|
99
99
|
"lucide-react": "^0.545.0",
|
|
100
100
|
"tailwind-merge": "^3.3.1",
|
|
101
|
-
"@nanisoft/prism-tokens": "0.
|
|
101
|
+
"@nanisoft/prism-tokens": "0.16.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@tailwindcss/postcss": "^4.3.3",
|