@nanisoft/prism-ui 0.15.0 → 0.16.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.
Files changed (47) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/blocks/data-table-01/data-table.d.ts +10 -0
  3. package/dist/blocks/data-table-01/data-table.d.ts.map +1 -1
  4. package/dist/blocks/data-table-01/data-table.js +2 -1
  5. package/dist/blocks/page-header-01/page-header.d.ts +7 -0
  6. package/dist/blocks/page-header-01/page-header.d.ts.map +1 -1
  7. package/dist/blocks/page-header-01/page-header.js +9 -1
  8. package/dist/blocks/run-console-01/run-console.d.ts.map +1 -1
  9. package/dist/blocks/run-console-01/run-console.js +2 -1
  10. package/dist/blocks/site-footer/site-footer.d.ts +16 -0
  11. package/dist/blocks/site-footer/site-footer.d.ts.map +1 -1
  12. package/dist/blocks/site-footer/site-footer.js +17 -1
  13. package/dist/blocks/stack-grid-01/stack-grid.d.ts +13 -0
  14. package/dist/blocks/stack-grid-01/stack-grid.d.ts.map +1 -1
  15. package/dist/blocks/stack-grid-01/stack-grid.js +14 -1
  16. package/dist/components/ui/diagram.d.ts +38 -7
  17. package/dist/components/ui/diagram.d.ts.map +1 -1
  18. package/dist/components/ui/diagram.js +134 -52
  19. package/dist/components/ui/fact-list.d.ts +17 -0
  20. package/dist/components/ui/fact-list.d.ts.map +1 -1
  21. package/dist/components/ui/fact-list.js +18 -1
  22. package/dist/components/ui/prose.d.ts +11 -0
  23. package/dist/components/ui/prose.d.ts.map +1 -1
  24. package/dist/components/ui/prose.js +12 -1
  25. package/dist/components/ui/pulse-graph.d.ts +36 -4
  26. package/dist/components/ui/pulse-graph.d.ts.map +1 -1
  27. package/dist/components/ui/pulse-graph.js +174 -60
  28. package/dist/components/ui/section.d.ts +33 -31
  29. package/dist/components/ui/section.d.ts.map +1 -1
  30. package/dist/components/ui/section.js +33 -31
  31. package/dist/lib/figure.d.ts +149 -0
  32. package/dist/lib/figure.d.ts.map +1 -0
  33. package/dist/lib/figure.js +242 -0
  34. package/dist/live/run-stream-01/run-stream.d.ts.map +1 -1
  35. package/dist/live/run-stream-01/run-stream.js +2 -1
  36. package/dist/pages/blog-post-page/index.d.ts +36 -15
  37. package/dist/pages/blog-post-page/index.d.ts.map +1 -1
  38. package/dist/pages/blog-post-page/index.js +35 -10
  39. package/dist/pages/docs-shell/docs-shell.d.ts +120 -18
  40. package/dist/pages/docs-shell/docs-shell.d.ts.map +1 -1
  41. package/dist/pages/docs-shell/docs-shell.js +208 -24
  42. package/dist/pages/error-page/index.d.ts.map +1 -1
  43. package/dist/pages/error-page/index.js +7 -3
  44. package/dist/pages/not-found-page/index.d.ts.map +1 -1
  45. package/dist/pages/not-found-page/index.js +4 -3
  46. package/dist/styles.css +107 -12
  47. 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));
@@ -3406,6 +3476,9 @@
3406
3476
  .lg\:pt-0 {
3407
3477
  padding-top: var(--spacing-0);
3408
3478
  }
3479
+ .lg\:pb-8 {
3480
+ padding-bottom: var(--spacing-8);
3481
+ }
3409
3482
  .lg\:pl-10 {
3410
3483
  padding-left: var(--spacing-10);
3411
3484
  }
@@ -3554,9 +3627,9 @@
3554
3627
  .\[\&_code\]\:text-muted-foreground code {
3555
3628
  color: var(--muted-foreground);
3556
3629
  }
3557
- .\[\&_h1\]\:text-3xl h1 {
3558
- font-size: var(--text-3xl);
3559
- line-height: var(--tw-leading, var(--text-3xl--line-height));
3630
+ .\[\&_h1\]\:text-4xl h1 {
3631
+ font-size: var(--text-4xl);
3632
+ line-height: var(--tw-leading, var(--text-4xl--line-height));
3560
3633
  }
3561
3634
  .\[\&_h1\]\:font-semibold h1 {
3562
3635
  --tw-font-weight: var(--font-weight-semibold);
@@ -3572,9 +3645,9 @@
3572
3645
  .\[\&_h2\]\:mt-2 h2 {
3573
3646
  margin-top: var(--spacing-2);
3574
3647
  }
3575
- .\[\&_h2\]\:text-2xl h2 {
3576
- font-size: var(--text-2xl);
3577
- line-height: var(--tw-leading, var(--text-2xl--line-height));
3648
+ .\[\&_h2\]\:text-3xl h2 {
3649
+ font-size: var(--text-3xl);
3650
+ line-height: var(--tw-leading, var(--text-3xl--line-height));
3578
3651
  }
3579
3652
  .\[\&_h2\]\:font-semibold h2 {
3580
3653
  --tw-font-weight: var(--font-weight-semibold);
@@ -3590,9 +3663,9 @@
3590
3663
  .\[\&_h3\]\:mt-2 h3 {
3591
3664
  margin-top: var(--spacing-2);
3592
3665
  }
3593
- .\[\&_h3\]\:text-xl h3 {
3594
- font-size: var(--text-xl);
3595
- line-height: var(--tw-leading, var(--text-xl--line-height));
3666
+ .\[\&_h3\]\:text-2xl h3 {
3667
+ font-size: var(--text-2xl);
3668
+ line-height: var(--tw-leading, var(--text-2xl--line-height));
3596
3669
  }
3597
3670
  .\[\&_h3\]\:font-semibold h3 {
3598
3671
  --tw-font-weight: var(--font-weight-semibold);
@@ -3605,9 +3678,9 @@
3605
3678
  .\[\&_h3\]\:text-balance h3 {
3606
3679
  text-wrap: balance;
3607
3680
  }
3608
- .\[\&_h4\]\:text-lg h4 {
3609
- font-size: var(--text-lg);
3610
- line-height: var(--tw-leading, var(--text-lg--line-height));
3681
+ .\[\&_h4\]\:text-xl h4 {
3682
+ font-size: var(--text-xl);
3683
+ line-height: var(--tw-leading, var(--text-xl--line-height));
3611
3684
  }
3612
3685
  .\[\&_h4\]\:font-semibold h4 {
3613
3686
  --tw-font-weight: var(--font-weight-semibold);
@@ -3616,6 +3689,28 @@
3616
3689
  .\[\&_h4\]\:text-balance h4 {
3617
3690
  text-wrap: balance;
3618
3691
  }
3692
+ .\[\&_h5\]\:text-lg h5 {
3693
+ font-size: var(--text-lg);
3694
+ line-height: var(--tw-leading, var(--text-lg--line-height));
3695
+ }
3696
+ .\[\&_h5\]\:font-semibold h5 {
3697
+ --tw-font-weight: var(--font-weight-semibold);
3698
+ font-weight: var(--font-weight-semibold);
3699
+ }
3700
+ .\[\&_h5\]\:text-balance h5 {
3701
+ text-wrap: balance;
3702
+ }
3703
+ .\[\&_h6\]\:text-lg h6 {
3704
+ font-size: var(--text-lg);
3705
+ line-height: var(--tw-leading, var(--text-lg--line-height));
3706
+ }
3707
+ .\[\&_h6\]\:font-semibold h6 {
3708
+ --tw-font-weight: var(--font-weight-semibold);
3709
+ font-weight: var(--font-weight-semibold);
3710
+ }
3711
+ .\[\&_h6\]\:text-balance h6 {
3712
+ text-wrap: balance;
3713
+ }
3619
3714
  .\[\&_hr\]\:my-2 hr {
3620
3715
  margin-block: var(--spacing-2);
3621
3716
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanisoft/prism-ui",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
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.15.0"
101
+ "@nanisoft/prism-tokens": "0.16.0"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@tailwindcss/postcss": "^4.3.3",