@texturehq/edges 1.15.2 → 1.15.4
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 +30 -6
- package/dist/generated/tailwind-tokens-dark.css +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -34
- package/dist/index.d.ts +134 -34
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +15 -2
- package/dist/styles.css +36 -43
- package/dist/utilities.manifest.json +2 -2
- package/package.json +1 -1
|
@@ -28,8 +28,21 @@
|
|
|
28
28
|
outline: none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Remove default focus outlines from menu items and list items
|
|
33
|
+
* We'll use data-[focused] with custom styling for keyboard focus instead
|
|
34
|
+
*/
|
|
35
|
+
[role="menuitem"],
|
|
36
|
+
[role="option"] {
|
|
37
|
+
outline: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Global focus-visible for keyboard navigation accessibility
|
|
42
|
+
* Applies to buttons, links, and form controls
|
|
43
|
+
* Menu/list items use data-[focused] with custom styling instead
|
|
44
|
+
*/
|
|
45
|
+
:focus-visible:not([role="menuitem"]):not([role="option"]) {
|
|
33
46
|
outline: 2px solid var(--color-action-default);
|
|
34
47
|
outline-offset: 2px;
|
|
35
48
|
}
|
package/dist/styles.css
CHANGED
|
@@ -268,6 +268,7 @@
|
|
|
268
268
|
--tracking-wide: 0.025em;
|
|
269
269
|
--tracking-wider: 0.05em;
|
|
270
270
|
--leading-tight: 1.25;
|
|
271
|
+
--leading-normal: 1.5;
|
|
271
272
|
--leading-relaxed: 1.625;
|
|
272
273
|
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
273
274
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
@@ -462,7 +463,7 @@
|
|
|
462
463
|
--color-background-body: #151a30;
|
|
463
464
|
--color-background-surface: #1a2038;
|
|
464
465
|
--color-background-muted: #374151;
|
|
465
|
-
--color-background-hover: #
|
|
466
|
+
--color-background-hover: #242d47;
|
|
466
467
|
--color-background-selected: #6b7280;
|
|
467
468
|
--color-background-modal: rgba(255, 255, 255, 0.12);
|
|
468
469
|
--color-background-input: rgba(255, 255, 255, 0.05);
|
|
@@ -1039,7 +1040,10 @@
|
|
|
1039
1040
|
[role="dialog"], [role="menu"], [role="listbox"], [data-react-aria-dialog], [data-react-aria-modal] {
|
|
1040
1041
|
outline: none;
|
|
1041
1042
|
}
|
|
1042
|
-
|
|
1043
|
+
[role="menuitem"], [role="option"] {
|
|
1044
|
+
outline: none;
|
|
1045
|
+
}
|
|
1046
|
+
:focus-visible:not([role="menuitem"]):not([role="option"]) {
|
|
1043
1047
|
outline: 2px solid var(--color-action-default);
|
|
1044
1048
|
outline-offset: 2px;
|
|
1045
1049
|
}
|
|
@@ -3561,6 +3565,10 @@
|
|
|
3561
3565
|
--tw-leading: 1;
|
|
3562
3566
|
line-height: 1;
|
|
3563
3567
|
}
|
|
3568
|
+
.leading-normal {
|
|
3569
|
+
--tw-leading: var(--leading-normal);
|
|
3570
|
+
line-height: var(--leading-normal);
|
|
3571
|
+
}
|
|
3564
3572
|
.leading-relaxed {
|
|
3565
3573
|
--tw-leading: var(--leading-relaxed);
|
|
3566
3574
|
line-height: var(--leading-relaxed);
|
|
@@ -3998,12 +4006,6 @@
|
|
|
3998
4006
|
outline-style: var(--tw-outline-style);
|
|
3999
4007
|
outline-width: 1.5px;
|
|
4000
4008
|
}
|
|
4001
|
-
.-outline-offset-2 {
|
|
4002
|
-
outline-offset: calc(2px * -1);
|
|
4003
|
-
}
|
|
4004
|
-
.-outline-offset-4 {
|
|
4005
|
-
outline-offset: calc(4px * -1);
|
|
4006
|
-
}
|
|
4007
4009
|
.outline-offset-0 {
|
|
4008
4010
|
outline-offset: 0px;
|
|
4009
4011
|
}
|
|
@@ -4016,9 +4018,6 @@
|
|
|
4016
4018
|
.outline-border-input {
|
|
4017
4019
|
outline-color: var(--color-border-input);
|
|
4018
4020
|
}
|
|
4019
|
-
.outline-white {
|
|
4020
|
-
outline-color: var(--color-white);
|
|
4021
|
-
}
|
|
4022
4021
|
.blur {
|
|
4023
4022
|
--tw-blur: blur(8px);
|
|
4024
4023
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
@@ -4739,16 +4738,6 @@
|
|
|
4739
4738
|
left: var(--spacing-4);
|
|
4740
4739
|
}
|
|
4741
4740
|
}
|
|
4742
|
-
.focus\:bg-background-hover {
|
|
4743
|
-
&:focus {
|
|
4744
|
-
background-color: var(--color-background-hover);
|
|
4745
|
-
}
|
|
4746
|
-
}
|
|
4747
|
-
.focus\:bg-feedback-error-background {
|
|
4748
|
-
&:focus {
|
|
4749
|
-
background-color: var(--color-feedback-error-background);
|
|
4750
|
-
}
|
|
4751
|
-
}
|
|
4752
4741
|
.focus\:ring-0 {
|
|
4753
4742
|
&:focus {
|
|
4754
4743
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -4798,12 +4787,6 @@
|
|
|
4798
4787
|
outline-color: var(--color-action-default);
|
|
4799
4788
|
}
|
|
4800
4789
|
}
|
|
4801
|
-
.focus\:\!outline-none {
|
|
4802
|
-
&:focus {
|
|
4803
|
-
--tw-outline-style: none !important;
|
|
4804
|
-
outline-style: none !important;
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
4790
|
.focus\:outline-none {
|
|
4808
4791
|
&:focus {
|
|
4809
4792
|
--tw-outline-style: none;
|
|
@@ -4837,12 +4820,6 @@
|
|
|
4837
4820
|
outline-color: var(--color-action-default);
|
|
4838
4821
|
}
|
|
4839
4822
|
}
|
|
4840
|
-
.focus-visible\:\!outline-none {
|
|
4841
|
-
&:focus-visible {
|
|
4842
|
-
--tw-outline-style: none !important;
|
|
4843
|
-
outline-style: none !important;
|
|
4844
|
-
}
|
|
4845
|
-
}
|
|
4846
4823
|
.disabled\:cursor-not-allowed {
|
|
4847
4824
|
&:disabled {
|
|
4848
4825
|
cursor: not-allowed;
|
|
@@ -4891,11 +4868,37 @@
|
|
|
4891
4868
|
transition-timing-function: var(--ease-in);
|
|
4892
4869
|
}
|
|
4893
4870
|
}
|
|
4871
|
+
.data-\[focus-visible\]\:ring-2 {
|
|
4872
|
+
&[data-focus-visible] {
|
|
4873
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4874
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
.data-\[focus-visible\]\:ring-action-default {
|
|
4878
|
+
&[data-focus-visible] {
|
|
4879
|
+
--tw-ring-color: var(--color-action-default);
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4882
|
+
.data-\[focus-visible\]\:ring-feedback-error-border {
|
|
4883
|
+
&[data-focus-visible] {
|
|
4884
|
+
--tw-ring-color: var(--color-feedback-error-border);
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
.data-\[focus-visible\]\:ring-inset {
|
|
4888
|
+
&[data-focus-visible] {
|
|
4889
|
+
--tw-ring-inset: inset;
|
|
4890
|
+
}
|
|
4891
|
+
}
|
|
4894
4892
|
.data-\[focused\]\:bg-background-hover {
|
|
4895
4893
|
&[data-focused] {
|
|
4896
4894
|
background-color: var(--color-background-hover);
|
|
4897
4895
|
}
|
|
4898
4896
|
}
|
|
4897
|
+
.data-\[focused\]\:bg-feedback-error-background {
|
|
4898
|
+
&[data-focused] {
|
|
4899
|
+
background-color: var(--color-feedback-error-background);
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4899
4902
|
.data-\[focused\]\:opacity-100 {
|
|
4900
4903
|
&[data-focused] {
|
|
4901
4904
|
opacity: 100%;
|
|
@@ -6088,11 +6091,6 @@
|
|
|
6088
6091
|
--tw-ring-color: var(--color-gray-700);
|
|
6089
6092
|
}
|
|
6090
6093
|
}
|
|
6091
|
-
.dark\:outline-white {
|
|
6092
|
-
@media (prefers-color-scheme: dark) {
|
|
6093
|
-
outline-color: var(--color-white);
|
|
6094
|
-
}
|
|
6095
|
-
}
|
|
6096
6094
|
.dark\:backdrop-blur-2xl {
|
|
6097
6095
|
@media (prefers-color-scheme: dark) {
|
|
6098
6096
|
--tw-backdrop-blur: blur(var(--blur-2xl));
|
|
@@ -6282,11 +6280,6 @@
|
|
|
6282
6280
|
outline-color: GrayText;
|
|
6283
6281
|
}
|
|
6284
6282
|
}
|
|
6285
|
-
.forced-colors\:outline-\[HighlightText\] {
|
|
6286
|
-
@media (forced-colors: active) {
|
|
6287
|
-
outline-color: HighlightText;
|
|
6288
|
-
}
|
|
6289
|
-
}
|
|
6290
6283
|
.forced-colors\:group-invalid\:bg-\[Mark\] {
|
|
6291
6284
|
@media (forced-colors: active) {
|
|
6292
6285
|
&:is(:where(.group):invalid *) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.15.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.15.4",
|
|
3
|
+
"generatedAt": "2025-10-31T19:08:38.553Z",
|
|
4
4
|
"categories": {
|
|
5
5
|
"hooks": {
|
|
6
6
|
"description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
|