@texturehq/edges 1.11.1 → 1.12.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.
@@ -14,3 +14,22 @@
14
14
  display: none;
15
15
  }
16
16
  }
17
+
18
+ /**
19
+ * Accessibility: Remove focus outlines from container elements
20
+ * These elements get programmatic focus but shouldn't show visual focus rings.
21
+ * Interactive elements inside them will still show focus indicators via focus-visible.
22
+ */
23
+ [role="dialog"],
24
+ [role="menu"],
25
+ [role="listbox"],
26
+ [data-react-aria-dialog],
27
+ [data-react-aria-modal] {
28
+ outline: none;
29
+ }
30
+
31
+ /* Ensure focus-visible still works for interactive elements */
32
+ :focus-visible {
33
+ outline: 2px solid var(--color-action-default);
34
+ outline-offset: 2px;
35
+ }
package/dist/styles.css CHANGED
@@ -92,7 +92,6 @@
92
92
  --radius-md: 0.375rem;
93
93
  --radius-lg: 0.5rem;
94
94
  --radius-xl: 0.75rem;
95
- --radius-2xl: 1rem;
96
95
  --radius-full: 9999px;
97
96
  --font-weight-light: 300;
98
97
  --font-weight-normal: 400;
@@ -493,9 +492,9 @@
493
492
  --color-action-brand: #7a8ee1;
494
493
  --color-action-brand-hover: #6a6fcc;
495
494
  --color-action-brand-text: #ffffff;
496
- --color-action-default: #374151;
497
- --color-action-default-hover: #4b5563;
498
- --color-action-default-text: #ffffff;
495
+ --color-action-default: #ededef;
496
+ --color-action-default-hover: #ffffff;
497
+ --color-action-default-text: #111827;
499
498
  --color-state-charging: #581c87;
500
499
  --color-state-charging-border: #a855f7;
501
500
  --color-state-charging-text: #e9d5ff;
@@ -1035,6 +1034,13 @@
1035
1034
  display: none;
1036
1035
  }
1037
1036
  }
1037
+ [role="dialog"], [role="menu"], [role="listbox"], [data-react-aria-dialog], [data-react-aria-modal] {
1038
+ outline: none;
1039
+ }
1040
+ :focus-visible {
1041
+ outline: 2px solid var(--color-action-default);
1042
+ outline-offset: 2px;
1043
+ }
1038
1044
  @layer theme, base, components, utilities;
1039
1045
  @layer theme;
1040
1046
  @layer base {
@@ -1528,8 +1534,8 @@
1528
1534
  .mb-6 {
1529
1535
  margin-bottom: var(--spacing-6);
1530
1536
  }
1531
- .mb-12 {
1532
- margin-bottom: var(--spacing-12);
1537
+ .mb-8 {
1538
+ margin-bottom: var(--spacing-8);
1533
1539
  }
1534
1540
  .-ml-px {
1535
1541
  margin-left: -1px;
@@ -1702,6 +1708,9 @@
1702
1708
  .h-\[var\(--control-xl-height\)\] {
1703
1709
  height: var(--control-xl-height);
1704
1710
  }
1711
+ .h-auto {
1712
+ height: auto;
1713
+ }
1705
1714
  .h-full {
1706
1715
  height: 100%;
1707
1716
  }
@@ -2518,10 +2527,6 @@
2518
2527
  .rounded-xl {
2519
2528
  border-radius: var(--radius-xl);
2520
2529
  }
2521
- .rounded-t-2xl {
2522
- border-top-left-radius: var(--radius-2xl);
2523
- border-top-right-radius: var(--radius-2xl);
2524
- }
2525
2530
  .rounded-t-none {
2526
2531
  border-top-left-radius: var(--radius-none);
2527
2532
  border-top-right-radius: var(--radius-none);
@@ -3012,10 +3017,10 @@
3012
3017
  --tw-gradient-from: var(--color-action-brand);
3013
3018
  --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));
3014
3019
  }
3015
- .from-black\/60 {
3016
- --tw-gradient-from: color-mix(in srgb, #000000 60%, transparent);
3020
+ .from-black\/40 {
3021
+ --tw-gradient-from: color-mix(in srgb, #000000 40%, transparent);
3017
3022
  @supports (color: color-mix(in lab, red, red)) {
3018
- --tw-gradient-from: color-mix(in oklab, var(--color-black) 60%, transparent);
3023
+ --tw-gradient-from: color-mix(in oklab, var(--color-black) 40%, transparent);
3019
3024
  }
3020
3025
  --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));
3021
3026
  }
@@ -3036,10 +3041,10 @@
3036
3041
  --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
3037
3042
  --tw-gradient-stops: var(--tw-gradient-via-stops);
3038
3043
  }
3039
- .via-black\/50 {
3040
- --tw-gradient-via: color-mix(in srgb, #000000 50%, transparent);
3044
+ .via-black\/30 {
3045
+ --tw-gradient-via: color-mix(in srgb, #000000 30%, transparent);
3041
3046
  @supports (color: color-mix(in lab, red, red)) {
3042
- --tw-gradient-via: color-mix(in oklab, var(--color-black) 50%, transparent);
3047
+ --tw-gradient-via: color-mix(in oklab, var(--color-black) 30%, transparent);
3043
3048
  }
3044
3049
  --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
3045
3050
  --tw-gradient-stops: var(--tw-gradient-via-stops);
@@ -3048,10 +3053,10 @@
3048
3053
  --tw-gradient-to: var(--color-skeleton-base);
3049
3054
  --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));
3050
3055
  }
3051
- .to-black\/60 {
3052
- --tw-gradient-to: color-mix(in srgb, #000000 60%, transparent);
3056
+ .to-black\/40 {
3057
+ --tw-gradient-to: color-mix(in srgb, #000000 40%, transparent);
3053
3058
  @supports (color: color-mix(in lab, red, red)) {
3054
- --tw-gradient-to: color-mix(in oklab, var(--color-black) 60%, transparent);
3059
+ --tw-gradient-to: color-mix(in oklab, var(--color-black) 40%, transparent);
3055
3060
  }
3056
3061
  --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));
3057
3062
  }
@@ -3286,12 +3291,6 @@
3286
3291
  .pr-9 {
3287
3292
  padding-right: var(--spacing-9);
3288
3293
  }
3289
- .pb-0 {
3290
- padding-bottom: var(--spacing-0);
3291
- }
3292
- .pb-1 {
3293
- padding-bottom: var(--spacing-1);
3294
- }
3295
3294
  .pb-1\.5 {
3296
3295
  padding-bottom: calc(var(--spacing) * 1.5);
3297
3296
  }
@@ -3493,6 +3492,9 @@
3493
3492
  .whitespace-nowrap {
3494
3493
  white-space: nowrap;
3495
3494
  }
3495
+ .whitespace-pre-line {
3496
+ white-space: pre-line;
3497
+ }
3496
3498
  .\!text-action-brand {
3497
3499
  color: var(--color-action-brand) !important;
3498
3500
  }
@@ -4738,11 +4740,11 @@
4738
4740
  background-color: var(--color-gray-100);
4739
4741
  }
4740
4742
  }
4741
- .supports-\[backdrop-filter\]\:bg-black\/40 {
4743
+ .supports-\[backdrop-filter\]\:bg-black\/25 {
4742
4744
  @supports (backdrop-filter: var(--tw)) {
4743
- background-color: color-mix(in srgb, #000000 40%, transparent);
4745
+ background-color: color-mix(in srgb, #000000 25%, transparent);
4744
4746
  @supports (color: color-mix(in lab, red, red)) {
4745
- background-color: color-mix(in oklab, var(--color-black) 40%, transparent);
4747
+ background-color: color-mix(in oklab, var(--color-black) 25%, transparent);
4746
4748
  }
4747
4749
  }
4748
4750
  }
@@ -5016,9 +5018,9 @@
5016
5018
  margin-bottom: var(--spacing-4);
5017
5019
  }
5018
5020
  }
5019
- .md\:mb-8 {
5021
+ .md\:mb-12 {
5020
5022
  @media (width >= 48rem) {
5021
- margin-bottom: var(--spacing-8);
5023
+ margin-bottom: var(--spacing-12);
5022
5024
  }
5023
5025
  }
5024
5026
  .md\:block {
@@ -5061,11 +5063,6 @@
5061
5063
  height: 100%;
5062
5064
  }
5063
5065
  }
5064
- .md\:max-h-\[85vh\] {
5065
- @media (width >= 48rem) {
5066
- max-height: 85vh;
5067
- }
5068
- }
5069
5066
  .md\:w-10 {
5070
5067
  @media (width >= 48rem) {
5071
5068
  width: var(--spacing-10);
@@ -5162,11 +5159,6 @@
5162
5159
  flex-direction: row;
5163
5160
  }
5164
5161
  }
5165
- .md\:items-center {
5166
- @media (width >= 48rem) {
5167
- align-items: center;
5168
- }
5169
- }
5170
5162
  .md\:items-start {
5171
5163
  @media (width >= 48rem) {
5172
5164
  align-items: flex-start;
@@ -5177,19 +5169,13 @@
5177
5169
  justify-content: space-between;
5178
5170
  }
5179
5171
  }
5180
- .md\:gap-6 {
5172
+ .md\:space-y-12 {
5181
5173
  @media (width >= 48rem) {
5182
- gap: var(--spacing-6);
5183
- }
5184
- }
5185
- .md\:rounded-xl {
5186
- @media (width >= 48rem) {
5187
- border-radius: var(--radius-xl);
5188
- }
5189
- }
5190
- .md\:p-4 {
5191
- @media (width >= 48rem) {
5192
- padding: var(--spacing-4);
5174
+ :where(& > :not(:last-child)) {
5175
+ --tw-space-y-reverse: 0;
5176
+ margin-block-start: calc(var(--spacing-12) * var(--tw-space-y-reverse));
5177
+ margin-block-end: calc(var(--spacing-12) * calc(1 - var(--tw-space-y-reverse)));
5178
+ }
5193
5179
  }
5194
5180
  }
5195
5181
  .md\:px-6 {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.11.1",
3
- "generatedAt": "2025-10-22T20:48:54.739Z",
2
+ "version": "1.12.1",
3
+ "generatedAt": "2025-10-24T17:11:02.264Z",
4
4
  "categories": {
5
5
  "hooks": {
6
6
  "description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "1.11.1",
3
+ "version": "1.12.1",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",