@texturehq/edges 1.15.2 → 1.15.3
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 +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +15 -2
- package/dist/styles.css +30 -42
- 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
|
@@ -1039,7 +1039,10 @@
|
|
|
1039
1039
|
[role="dialog"], [role="menu"], [role="listbox"], [data-react-aria-dialog], [data-react-aria-modal] {
|
|
1040
1040
|
outline: none;
|
|
1041
1041
|
}
|
|
1042
|
-
|
|
1042
|
+
[role="menuitem"], [role="option"] {
|
|
1043
|
+
outline: none;
|
|
1044
|
+
}
|
|
1045
|
+
:focus-visible:not([role="menuitem"]):not([role="option"]) {
|
|
1043
1046
|
outline: 2px solid var(--color-action-default);
|
|
1044
1047
|
outline-offset: 2px;
|
|
1045
1048
|
}
|
|
@@ -3998,12 +4001,6 @@
|
|
|
3998
4001
|
outline-style: var(--tw-outline-style);
|
|
3999
4002
|
outline-width: 1.5px;
|
|
4000
4003
|
}
|
|
4001
|
-
.-outline-offset-2 {
|
|
4002
|
-
outline-offset: calc(2px * -1);
|
|
4003
|
-
}
|
|
4004
|
-
.-outline-offset-4 {
|
|
4005
|
-
outline-offset: calc(4px * -1);
|
|
4006
|
-
}
|
|
4007
4004
|
.outline-offset-0 {
|
|
4008
4005
|
outline-offset: 0px;
|
|
4009
4006
|
}
|
|
@@ -4016,9 +4013,6 @@
|
|
|
4016
4013
|
.outline-border-input {
|
|
4017
4014
|
outline-color: var(--color-border-input);
|
|
4018
4015
|
}
|
|
4019
|
-
.outline-white {
|
|
4020
|
-
outline-color: var(--color-white);
|
|
4021
|
-
}
|
|
4022
4016
|
.blur {
|
|
4023
4017
|
--tw-blur: blur(8px);
|
|
4024
4018
|
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 +4733,6 @@
|
|
|
4739
4733
|
left: var(--spacing-4);
|
|
4740
4734
|
}
|
|
4741
4735
|
}
|
|
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
4736
|
.focus\:ring-0 {
|
|
4753
4737
|
&:focus {
|
|
4754
4738
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -4798,12 +4782,6 @@
|
|
|
4798
4782
|
outline-color: var(--color-action-default);
|
|
4799
4783
|
}
|
|
4800
4784
|
}
|
|
4801
|
-
.focus\:\!outline-none {
|
|
4802
|
-
&:focus {
|
|
4803
|
-
--tw-outline-style: none !important;
|
|
4804
|
-
outline-style: none !important;
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
4785
|
.focus\:outline-none {
|
|
4808
4786
|
&:focus {
|
|
4809
4787
|
--tw-outline-style: none;
|
|
@@ -4837,12 +4815,6 @@
|
|
|
4837
4815
|
outline-color: var(--color-action-default);
|
|
4838
4816
|
}
|
|
4839
4817
|
}
|
|
4840
|
-
.focus-visible\:\!outline-none {
|
|
4841
|
-
&:focus-visible {
|
|
4842
|
-
--tw-outline-style: none !important;
|
|
4843
|
-
outline-style: none !important;
|
|
4844
|
-
}
|
|
4845
|
-
}
|
|
4846
4818
|
.disabled\:cursor-not-allowed {
|
|
4847
4819
|
&:disabled {
|
|
4848
4820
|
cursor: not-allowed;
|
|
@@ -4891,11 +4863,37 @@
|
|
|
4891
4863
|
transition-timing-function: var(--ease-in);
|
|
4892
4864
|
}
|
|
4893
4865
|
}
|
|
4866
|
+
.data-\[focus-visible\]\:ring-2 {
|
|
4867
|
+
&[data-focus-visible] {
|
|
4868
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4869
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
.data-\[focus-visible\]\:ring-action-default {
|
|
4873
|
+
&[data-focus-visible] {
|
|
4874
|
+
--tw-ring-color: var(--color-action-default);
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
.data-\[focus-visible\]\:ring-feedback-error-border {
|
|
4878
|
+
&[data-focus-visible] {
|
|
4879
|
+
--tw-ring-color: var(--color-feedback-error-border);
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4882
|
+
.data-\[focus-visible\]\:ring-inset {
|
|
4883
|
+
&[data-focus-visible] {
|
|
4884
|
+
--tw-ring-inset: inset;
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4894
4887
|
.data-\[focused\]\:bg-background-hover {
|
|
4895
4888
|
&[data-focused] {
|
|
4896
4889
|
background-color: var(--color-background-hover);
|
|
4897
4890
|
}
|
|
4898
4891
|
}
|
|
4892
|
+
.data-\[focused\]\:bg-feedback-error-background {
|
|
4893
|
+
&[data-focused] {
|
|
4894
|
+
background-color: var(--color-feedback-error-background);
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4899
4897
|
.data-\[focused\]\:opacity-100 {
|
|
4900
4898
|
&[data-focused] {
|
|
4901
4899
|
opacity: 100%;
|
|
@@ -6088,11 +6086,6 @@
|
|
|
6088
6086
|
--tw-ring-color: var(--color-gray-700);
|
|
6089
6087
|
}
|
|
6090
6088
|
}
|
|
6091
|
-
.dark\:outline-white {
|
|
6092
|
-
@media (prefers-color-scheme: dark) {
|
|
6093
|
-
outline-color: var(--color-white);
|
|
6094
|
-
}
|
|
6095
|
-
}
|
|
6096
6089
|
.dark\:backdrop-blur-2xl {
|
|
6097
6090
|
@media (prefers-color-scheme: dark) {
|
|
6098
6091
|
--tw-backdrop-blur: blur(var(--blur-2xl));
|
|
@@ -6282,11 +6275,6 @@
|
|
|
6282
6275
|
outline-color: GrayText;
|
|
6283
6276
|
}
|
|
6284
6277
|
}
|
|
6285
|
-
.forced-colors\:outline-\[HighlightText\] {
|
|
6286
|
-
@media (forced-colors: active) {
|
|
6287
|
-
outline-color: HighlightText;
|
|
6288
|
-
}
|
|
6289
|
-
}
|
|
6290
6278
|
.forced-colors\:group-invalid\:bg-\[Mark\] {
|
|
6291
6279
|
@media (forced-colors: active) {
|
|
6292
6280
|
&:is(:where(.group):invalid *) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.15.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.15.3",
|
|
3
|
+
"generatedAt": "2025-10-31T11:11:25.558Z",
|
|
4
4
|
"categories": {
|
|
5
5
|
"hooks": {
|
|
6
6
|
"description": "React hooks for common functionality like breakpoints, debouncing, local storage, and media queries",
|