@texturehq/edges 1.12.0 → 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.
- package/dist/components.manifest.json +3 -3
- package/dist/generated/tailwind-tokens-dark.css +3 -3
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -6
- package/dist/index.d.ts +39 -6
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +19 -0
- package/dist/styles.css +28 -46
- package/dist/utilities.manifest.json +2 -2
- package/package.json +1 -1
|
@@ -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: #
|
|
497
|
-
--color-action-default-hover: #
|
|
498
|
-
--color-action-default-text: #
|
|
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 {
|
|
@@ -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\/
|
|
3016
|
-
--tw-gradient-from: color-mix(in srgb, #000000
|
|
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)
|
|
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\/
|
|
3040
|
-
--tw-gradient-via: color-mix(in srgb, #000000
|
|
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)
|
|
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\/
|
|
3052
|
-
--tw-gradient-to: color-mix(in srgb, #000000
|
|
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)
|
|
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\/
|
|
4743
|
+
.supports-\[backdrop-filter\]\:bg-black\/25 {
|
|
4742
4744
|
@supports (backdrop-filter: var(--tw)) {
|
|
4743
|
-
background-color: color-mix(in srgb, #000000
|
|
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)
|
|
4747
|
+
background-color: color-mix(in oklab, var(--color-black) 25%, transparent);
|
|
4746
4748
|
}
|
|
4747
4749
|
}
|
|
4748
4750
|
}
|
|
@@ -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;
|
|
@@ -5186,16 +5178,6 @@
|
|
|
5186
5178
|
}
|
|
5187
5179
|
}
|
|
5188
5180
|
}
|
|
5189
|
-
.md\:rounded-xl {
|
|
5190
|
-
@media (width >= 48rem) {
|
|
5191
|
-
border-radius: var(--radius-xl);
|
|
5192
|
-
}
|
|
5193
|
-
}
|
|
5194
|
-
.md\:p-4 {
|
|
5195
|
-
@media (width >= 48rem) {
|
|
5196
|
-
padding: var(--spacing-4);
|
|
5197
|
-
}
|
|
5198
|
-
}
|
|
5199
5181
|
.md\:px-6 {
|
|
5200
5182
|
@media (width >= 48rem) {
|
|
5201
5183
|
padding-inline: var(--spacing-6);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.12.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
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",
|