@texturehq/edges 1.4.0 → 1.5.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/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  :root, :host {
4
4
  --color-white: #ffffff;
@@ -62,8 +62,6 @@
62
62
  --color-brand-light: #f7f7ff;
63
63
  --color-brand-dark: #363ccb;
64
64
  --color-brand-background: #f6f7ff;
65
- --color-skeleton-base: #e5e7eb;
66
- --color-skeleton-highlight: #f3f4f6;
67
65
  --color-neutral-white: #ffffff;
68
66
  --color-neutral-black: #000000;
69
67
  --color-viz-default: #444ae1;
@@ -181,6 +179,7 @@
181
179
  --color-purple-100: oklch(94.6% 0.033 307.174);
182
180
  --color-purple-500: oklch(62.7% 0.265 303.9);
183
181
  --color-purple-600: oklch(55.8% 0.288 302.321);
182
+ --color-purple-800: oklch(43.8% 0.218 303.724);
184
183
  --color-pink-500: oklch(65.6% 0.241 354.308);
185
184
  --color-slate-300: oklch(86.9% 0.022 252.894);
186
185
  --color-slate-600: oklch(44.6% 0.043 257.281);
@@ -220,7 +219,6 @@
220
219
  --text-4xl: 2.25rem;
221
220
  --text-4xl--line-height: calc(2.5 / 2.25);
222
221
  --tracking-tight: -0.025em;
223
- --tracking-wide: 0.025em;
224
222
  --tracking-wider: 0.05em;
225
223
  --leading-relaxed: 1.625;
226
224
  --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
@@ -1235,6 +1233,9 @@
1235
1233
  .-my-2 {
1236
1234
  margin-block: calc(var(--spacing-2) * -1);
1237
1235
  }
1236
+ .my-2 {
1237
+ margin-block: var(--spacing-2);
1238
+ }
1238
1239
  .my-4 {
1239
1240
  margin-block: var(--spacing-4);
1240
1241
  }
@@ -1256,6 +1257,9 @@
1256
1257
  .mt-1 {
1257
1258
  margin-top: var(--spacing-1);
1258
1259
  }
1260
+ .mt-1\.5 {
1261
+ margin-top: calc(var(--spacing) * 1.5);
1262
+ }
1259
1263
  .mt-2 {
1260
1264
  margin-top: var(--spacing-2);
1261
1265
  }
@@ -1427,6 +1431,9 @@
1427
1431
  .h-\[60px\] {
1428
1432
  height: 60px;
1429
1433
  }
1434
+ .h-\[100dvh\] {
1435
+ height: 100dvh;
1436
+ }
1430
1437
  .h-\[120px\] {
1431
1438
  height: 120px;
1432
1439
  }
@@ -1439,11 +1446,8 @@
1439
1446
  .h-\[600px\] {
1440
1447
  height: 600px;
1441
1448
  }
1442
- .h-\[calc\(100vh-60px\)\] {
1443
- height: calc(100vh - 60px);
1444
- }
1445
- .h-\[calc\(100vh-73px\)\] {
1446
- height: calc(100vh - 73px);
1449
+ .h-\[calc\(100dvh-60px\)\] {
1450
+ height: calc(100dvh - 60px);
1447
1451
  }
1448
1452
  .h-\[var\(--control-lg-height\)\] {
1449
1453
  height: var(--control-lg-height);
@@ -1484,6 +1488,9 @@
1484
1488
  .min-h-\[44px\] {
1485
1489
  min-height: 44px;
1486
1490
  }
1491
+ .min-h-\[100dvh\] {
1492
+ min-height: 100dvh;
1493
+ }
1487
1494
  .min-h-\[100px\] {
1488
1495
  min-height: 100px;
1489
1496
  }
@@ -1577,6 +1584,15 @@
1577
1584
  .w-\[32rem\] {
1578
1585
  width: 32rem;
1579
1586
  }
1587
+ .w-\[40rem\] {
1588
+ width: 40rem;
1589
+ }
1590
+ .w-\[48rem\] {
1591
+ width: 48rem;
1592
+ }
1593
+ .w-\[56rem\] {
1594
+ width: 56rem;
1595
+ }
1580
1596
  .w-\[200px\] {
1581
1597
  width: 200px;
1582
1598
  }
@@ -1677,6 +1693,9 @@
1677
1693
  .shrink-0 {
1678
1694
  flex-shrink: 0;
1679
1695
  }
1696
+ .grow {
1697
+ flex-grow: 1;
1698
+ }
1680
1699
  .table-auto {
1681
1700
  table-layout: auto;
1682
1701
  }
@@ -1947,6 +1966,13 @@
1947
1966
  margin-block-end: calc(var(--spacing-0) * calc(1 - var(--tw-space-y-reverse)));
1948
1967
  }
1949
1968
  }
1969
+ .space-y-0\.5 {
1970
+ :where(& > :not(:last-child)) {
1971
+ --tw-space-y-reverse: 0;
1972
+ margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));
1973
+ margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));
1974
+ }
1975
+ }
1950
1976
  .space-y-1 {
1951
1977
  :where(& > :not(:last-child)) {
1952
1978
  --tw-space-y-reverse: 0;
@@ -2137,9 +2163,6 @@
2137
2163
  .rounded-\[var\(--control-border-radius\)\] {
2138
2164
  border-radius: var(--control-border-radius);
2139
2165
  }
2140
- .rounded-full {
2141
- border-radius: calc(infinity * 1px);
2142
- }
2143
2166
  .rounded-full {
2144
2167
  border-radius: var(--radius-full);
2145
2168
  }
@@ -2149,9 +2172,6 @@
2149
2172
  .rounded-md {
2150
2173
  border-radius: var(--radius-md);
2151
2174
  }
2152
- .rounded-none {
2153
- border-radius: 0;
2154
- }
2155
2175
  .rounded-none {
2156
2176
  border-radius: var(--radius-none);
2157
2177
  }
@@ -2161,10 +2181,6 @@
2161
2181
  .rounded-xl {
2162
2182
  border-radius: var(--radius-xl);
2163
2183
  }
2164
- .rounded-t-none {
2165
- border-top-left-radius: 0;
2166
- border-top-right-radius: 0;
2167
- }
2168
2184
  .rounded-t-none {
2169
2185
  border-top-left-radius: var(--radius-none);
2170
2186
  border-top-right-radius: var(--radius-none);
@@ -2181,17 +2197,10 @@
2181
2197
  border-top-right-radius: var(--radius-sm);
2182
2198
  border-bottom-right-radius: var(--radius-sm);
2183
2199
  }
2184
- .rounded-b-none {
2185
- border-bottom-right-radius: 0;
2186
- border-bottom-left-radius: 0;
2187
- }
2188
2200
  .rounded-b-none {
2189
2201
  border-bottom-right-radius: var(--radius-none);
2190
2202
  border-bottom-left-radius: var(--radius-none);
2191
2203
  }
2192
- .rounded-bl-none {
2193
- border-bottom-left-radius: 0;
2194
- }
2195
2204
  .rounded-bl-none {
2196
2205
  border-bottom-left-radius: var(--radius-none);
2197
2206
  }
@@ -2448,6 +2457,12 @@
2448
2457
  background-color: color-mix(in oklab, var(--color-background-surface) 80%, transparent);
2449
2458
  }
2450
2459
  }
2460
+ .bg-background-surface\/90 {
2461
+ background-color: color-mix(in srgb, #ffffff 90%, transparent);
2462
+ @supports (color: color-mix(in lab, red, red)) {
2463
+ background-color: color-mix(in oklab, var(--color-background-surface) 90%, transparent);
2464
+ }
2465
+ }
2451
2466
  .bg-black\/50 {
2452
2467
  background-color: color-mix(in srgb, #000000 50%, transparent);
2453
2468
  @supports (color: color-mix(in lab, red, red)) {
@@ -2617,6 +2632,10 @@
2617
2632
  --tw-gradient-from: var(--color-action-primary);
2618
2633
  --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));
2619
2634
  }
2635
+ .from-blue-100 {
2636
+ --tw-gradient-from: var(--color-blue-100);
2637
+ --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));
2638
+ }
2620
2639
  .from-green-500 {
2621
2640
  --tw-gradient-from: var(--color-green-500);
2622
2641
  --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));
@@ -2634,6 +2653,10 @@
2634
2653
  --tw-gradient-to: var(--skeleton-base);
2635
2654
  --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));
2636
2655
  }
2656
+ .to-blue-200 {
2657
+ --tw-gradient-to: var(--color-blue-200);
2658
+ --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));
2659
+ }
2637
2660
  .to-blue-500 {
2638
2661
  --tw-gradient-to: var(--color-blue-500);
2639
2662
  --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));
@@ -2789,14 +2812,17 @@
2789
2812
  .py-4 {
2790
2813
  padding-block: var(--spacing-4);
2791
2814
  }
2815
+ .py-5 {
2816
+ padding-block: var(--spacing-5);
2817
+ }
2792
2818
  .py-6 {
2793
2819
  padding-block: var(--spacing-6);
2794
2820
  }
2795
2821
  .py-12 {
2796
2822
  padding-block: var(--spacing-12);
2797
2823
  }
2798
- .pt-3 {
2799
- padding-top: var(--spacing-3);
2824
+ .pt-1 {
2825
+ padding-top: var(--spacing-1);
2800
2826
  }
2801
2827
  .pt-4 {
2802
2828
  padding-top: var(--spacing-4);
@@ -2828,9 +2854,6 @@
2828
2854
  .pb-2 {
2829
2855
  padding-bottom: var(--spacing-2);
2830
2856
  }
2831
- .pb-3 {
2832
- padding-bottom: var(--spacing-3);
2833
- }
2834
2857
  .pb-4 {
2835
2858
  padding-bottom: var(--spacing-4);
2836
2859
  }
@@ -2982,10 +3005,6 @@
2982
3005
  --tw-tracking: var(--tracking-tight);
2983
3006
  letter-spacing: var(--tracking-tight);
2984
3007
  }
2985
- .tracking-wide {
2986
- --tw-tracking: var(--tracking-wide);
2987
- letter-spacing: var(--tracking-wide);
2988
- }
2989
3008
  .tracking-wider {
2990
3009
  --tw-tracking: var(--tracking-wider);
2991
3010
  letter-spacing: var(--tracking-wider);
@@ -3098,6 +3117,9 @@
3098
3117
  .text-purple-600 {
3099
3118
  color: var(--color-purple-600);
3100
3119
  }
3120
+ .text-purple-800 {
3121
+ color: var(--color-purple-800);
3122
+ }
3101
3123
  .text-red-500 {
3102
3124
  color: var(--color-red-500);
3103
3125
  }
@@ -3736,13 +3758,6 @@
3736
3758
  }
3737
3759
  }
3738
3760
  }
3739
- .hover\:border-border-muted {
3740
- &:hover {
3741
- @media (hover: hover) {
3742
- border-color: var(--color-border-muted);
3743
- }
3744
- }
3745
- }
3746
3761
  .hover\:bg-action-primary-hover {
3747
3762
  &:hover {
3748
3763
  @media (hover: hover) {
@@ -3805,6 +3820,13 @@
3805
3820
  }
3806
3821
  }
3807
3822
  }
3823
+ .hover\:bg-gray-50 {
3824
+ &:hover {
3825
+ @media (hover: hover) {
3826
+ background-color: var(--color-gray-50);
3827
+ }
3828
+ }
3829
+ }
3808
3830
  .hover\:bg-gray-100 {
3809
3831
  &:hover {
3810
3832
  @media (hover: hover) {
@@ -3948,13 +3970,6 @@
3948
3970
  }
3949
3971
  }
3950
3972
  }
3951
- .hover\:opacity-90 {
3952
- &:hover {
3953
- @media (hover: hover) {
3954
- opacity: 90%;
3955
- }
3956
- }
3957
- }
3958
3973
  .hover\:opacity-100 {
3959
3974
  &:hover {
3960
3975
  @media (hover: hover) {
@@ -4459,14 +4474,14 @@
4459
4474
  height: var(--spacing-96);
4460
4475
  }
4461
4476
  }
4462
- .md\:h-full {
4477
+ .md\:h-\[100dvh\] {
4463
4478
  @media (width >= 48rem) {
4464
- height: 100%;
4479
+ height: 100dvh;
4465
4480
  }
4466
4481
  }
4467
- .md\:h-screen {
4482
+ .md\:h-full {
4468
4483
  @media (width >= 48rem) {
4469
- height: 100vh;
4484
+ height: 100%;
4470
4485
  }
4471
4486
  }
4472
4487
  .md\:w-64 {
@@ -4748,16 +4763,6 @@
4748
4763
  border-bottom-width: 1px;
4749
4764
  }
4750
4765
  }
4751
- .lg\:px-10 {
4752
- @media (width >= 64rem) {
4753
- padding-inline: var(--spacing-10);
4754
- }
4755
- }
4756
- .lg\:py-10 {
4757
- @media (width >= 64rem) {
4758
- padding-block: var(--spacing-10);
4759
- }
4760
- }
4761
4766
  .xl\:col-auto {
4762
4767
  @media (width >= 80rem) {
4763
4768
  grid-column: auto;
@@ -5705,11 +5710,6 @@
5705
5710
  width: var(--spacing-4);
5706
5711
  }
5707
5712
  }
5708
- .\[\&\:\:-moz-range-thumb\]\:rounded-full {
5709
- &::-moz-range-thumb {
5710
- border-radius: calc(infinity * 1px);
5711
- }
5712
- }
5713
5713
  .\[\&\:\:-moz-range-thumb\]\:rounded-full {
5714
5714
  &::-moz-range-thumb {
5715
5715
  border-radius: var(--radius-full);
@@ -5784,11 +5784,6 @@
5784
5784
  appearance: none;
5785
5785
  }
5786
5786
  }
5787
- .\[\&\:\:-webkit-slider-thumb\]\:rounded-full {
5788
- &::-webkit-slider-thumb {
5789
- border-radius: calc(infinity * 1px);
5790
- }
5791
- }
5792
5787
  .\[\&\:\:-webkit-slider-thumb\]\:rounded-full {
5793
5788
  &::-webkit-slider-thumb {
5794
5789
  border-radius: var(--radius-full);
@@ -5864,11 +5859,6 @@
5864
5859
  justify-content: flex-start !important;
5865
5860
  }
5866
5861
  }
5867
- .\[\&\>\*\]\:rounded-none {
5868
- &>* {
5869
- border-radius: 0;
5870
- }
5871
- }
5872
5862
  .\[\&\>\*\]\:rounded-none {
5873
5863
  &>* {
5874
5864
  border-radius: var(--radius-none);
@@ -5905,12 +5895,6 @@
5905
5895
  padding: var(--spacing-4);
5906
5896
  }
5907
5897
  }
5908
- .\[td\:first-child_\&\]\:rounded-s-full {
5909
- td:first-child & {
5910
- border-start-start-radius: calc(infinity * 1px);
5911
- border-end-start-radius: calc(infinity * 1px);
5912
- }
5913
- }
5914
5898
  .\[td\:first-child_\&\]\:rounded-s-full {
5915
5899
  td:first-child & {
5916
5900
  border-start-start-radius: var(--radius-full);
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.4.0",
3
- "generatedAt": "2025-10-09T18:20:15.870Z",
2
+ "version": "1.5.1",
3
+ "generatedAt": "2025-10-10T17:36:16.957Z",
4
4
  "categories": {
5
5
  "hooks": {
6
6
  "description": "React hooks for common functionality like debouncing, local storage, and time controls",
@@ -2061,6 +2061,14 @@
2061
2061
  "category": "colors",
2062
2062
  "file": "utils/colors.ts"
2063
2063
  },
2064
+ {
2065
+ "name": "MapboxExpression",
2066
+ "type": "type",
2067
+ "description": "Type for Mapbox GL JS expressions Represents nested array structures used by Mapbox for data-driven styling",
2068
+ "example": null,
2069
+ "category": "colors",
2070
+ "file": "utils/colors.ts"
2071
+ },
2064
2072
  {
2065
2073
  "name": "mapValuesToCategoricalColors",
2066
2074
  "type": "constant",
@@ -2110,7 +2118,7 @@
2110
2118
  }
2111
2119
  },
2112
2120
  "summary": {
2113
- "totalUtilities": 207,
2121
+ "totalUtilities": 208,
2114
2122
  "totalCategories": 5,
2115
2123
  "categories": [
2116
2124
  {
@@ -2127,7 +2135,7 @@
2127
2135
  },
2128
2136
  {
2129
2137
  "name": "colors",
2130
- "count": 20
2138
+ "count": 21
2131
2139
  },
2132
2140
  {
2133
2141
  "name": "general",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  "watch": "tsup --watch",
36
36
  "build": "yarn tokens:build && tsup && yarn build:post",
37
37
  "build:post": "postcss src/styles.css -o dist/styles.css && node scripts/copy-assets.js && node scripts/generate-components-manifest.js && node scripts/generate-utilities-manifest.js",
38
- "tokens:build": "node style-dictionary.config.mjs",
38
+ "tokens:build": "node style-dictionary.config.mjs && node scripts/generate-viz-runtime.js",
39
39
  "tokens:build:tailwind": "node style-dictionary.config.mjs",
40
40
  "tokens:watch": "nodemon --watch tokens --ext json --exec 'yarn tokens:build'",
41
41
  "tokens:watch:tailwind": "nodemon --watch tokens --ext json --exec 'yarn tokens:build:tailwind'",
@@ -53,7 +53,7 @@
53
53
  "test:watch": "vitest",
54
54
  "test:coverage": "vitest run --coverage",
55
55
  "test:ui": "vitest --ui",
56
- "storybook": "storybook dev -p 6010 --no-open",
56
+ "storybook": "VITE_MAPBOX_ACCESS_TOKEN=pk.eyJ1IjoidmljdG9yLXRleHR1cmUiLCJhIjoiY2x1cXM5dnVqMDFvYTJrcWszbnZmdGo4cCJ9.uEu0gqmITLtBMKEVW0aFtA storybook dev -p 6010 --no-open",
57
57
  "build-storybook": "storybook build",
58
58
  "postinstall": "node scripts/setup-cursor-rules.js || echo \"! setup-cursor-rules: non-fatal error\""
59
59
  },
Binary file
Binary file
Binary file
Binary file
Binary file