@react-spectrum/link 3.0.0-nightly.2779 → 3.0.0-nightly.2790

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/import.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./main.css";
1
+ import "./module.css";
2
2
  import {useSlotProps as $11MUV$useSlotProps, useStyleProps as $11MUV$useStyleProps, classNames as $11MUV$classNames, getWrappedElement as $11MUV$getWrappedElement} from "@react-spectrum/utils";
3
3
  import {FocusRing as $11MUV$FocusRing} from "@react-aria/focus";
4
4
  import {mergeProps as $11MUV$mergeProps, mergeRefs as $11MUV$mergeRefs} from "@react-aria/utils";
package/dist/main.css CHANGED
@@ -23,11 +23,7 @@
23
23
  font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
24
  }
25
25
 
26
- .WBgRPa_i18nFontFamily:lang(zh-SG) {
27
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
- }
29
-
30
- .WBgRPa_i18nFontFamily:lang(zh-CN) {
26
+ .WBgRPa_i18nFontFamily:lang(zh-SG), .WBgRPa_i18nFontFamily:lang(zh-CN) {
31
27
  font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
32
28
  }
33
29
 
@@ -55,13 +51,7 @@
55
51
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
56
52
  display: block;
57
53
  position: absolute;
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- }
63
-
64
- .WBgRPa_spectrum-FocusRing {
54
+ inset: 0;
65
55
  }
66
56
 
67
57
  .WBgRPa_spectrum-FocusRing.WBgRPa_focus-ring:after {
@@ -87,16 +77,11 @@
87
77
  text-decoration: underline;
88
78
  }
89
79
 
90
- .WBgRPa_spectrum-Link.WBgRPa_is-hovered {
80
+ .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
91
81
  text-decoration: underline;
92
82
  }
93
83
 
94
84
  .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
95
- text-decoration: underline;
96
- }
97
-
98
- .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
99
- -webkit-text-decoration: underline double;
100
85
  text-decoration: underline double;
101
86
  }
102
87
 
@@ -105,11 +90,7 @@
105
90
  pointer-events: none;
106
91
  }
107
92
 
108
- .WBgRPa_spectrum-Link.WBgRPa_is-disabled.WBgRPa_is-hovered {
109
- text-decoration: none;
110
- }
111
-
112
- .WBgRPa_spectrum-Link.WBgRPa_is-disabled:focus {
93
+ .WBgRPa_spectrum-Link.WBgRPa_is-disabled.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_is-disabled:focus {
113
94
  text-decoration: none;
114
95
  }
115
96
 
@@ -145,19 +126,7 @@
145
126
  color: var(--spectrum-link-text-color-disabled, var(--spectrum-alias-text-color-disabled));
146
127
  }
147
128
 
148
- .WBgRPa_spectrum-Link--secondary {
149
- color: inherit;
150
- }
151
-
152
- .WBgRPa_spectrum-Link--secondary.WBgRPa_is-hovered {
153
- color: inherit;
154
- }
155
-
156
- .WBgRPa_spectrum-Link--secondary:active {
157
- color: inherit;
158
- }
159
-
160
- .WBgRPa_spectrum-Link--secondary:focus {
129
+ .WBgRPa_spectrum-Link--secondary, .WBgRPa_spectrum-Link--secondary.WBgRPa_is-hovered, .WBgRPa_spectrum-Link--secondary:active, .WBgRPa_spectrum-Link--secondary:focus {
161
130
  color: inherit;
162
131
  }
163
132
 
@@ -182,21 +151,8 @@
182
151
  }
183
152
 
184
153
  @media (forced-colors: active) {
185
- .WBgRPa_spectrum-Link {
186
- color: LinkText;
187
- }
188
-
189
- .WBgRPa_spectrum-Link.WBgRPa_is-hovered {
190
- color: LinkText;
191
- }
192
-
193
- .WBgRPa_spectrum-Link:active {
194
- color: LinkText;
195
- }
196
-
197
- .WBgRPa_spectrum-Link:focus {
198
- color: LinkText;
154
+ .WBgRPa_spectrum-Link, .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link:active, .WBgRPa_spectrum-Link:focus {
155
+ color: linktext;
199
156
  }
200
157
  }
201
-
202
158
  /*# sourceMappingURL=main.css.map */
package/dist/main.css.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUE;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAIE;;;;AAAA;;;;AAOJ;;;;AAQA;;;;AAgBA;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;EACE;;;;EAGE;;;;EAIA;;;;EAIA","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUE;;;;AAQA;;;;AAKA;;;;;AAIE;;;;AAOJ;;;;AAQA;;;;AAgBA;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAgBA;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}
@@ -0,0 +1,158 @@
1
+ .WBgRPa_i18nFontFamily {
2
+ font-synthesis: weight;
3
+ font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
4
+ }
5
+
6
+ .WBgRPa_i18nFontFamily:lang(ar) {
7
+ font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
8
+ }
9
+
10
+ .WBgRPa_i18nFontFamily:lang(he) {
11
+ font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
12
+ }
13
+
14
+ .WBgRPa_i18nFontFamily:lang(zh) {
15
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
16
+ }
17
+
18
+ .WBgRPa_i18nFontFamily:lang(zh-Hans) {
19
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
20
+ }
21
+
22
+ .WBgRPa_i18nFontFamily:lang(zh-Hant) {
23
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
+ }
25
+
26
+ .WBgRPa_i18nFontFamily:lang(zh-SG), .WBgRPa_i18nFontFamily:lang(zh-CN) {
27
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
+ }
29
+
30
+ .WBgRPa_i18nFontFamily:lang(ko) {
31
+ font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
32
+ }
33
+
34
+ .WBgRPa_i18nFontFamily:lang(ja) {
35
+ font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
36
+ }
37
+
38
+ .WBgRPa_spectrum-FocusRing-ring {
39
+ --spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
40
+ --spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
41
+ --spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
42
+ --spectrum-focus-ring-border-size: 0px;
43
+ --spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
44
+ }
45
+
46
+ .WBgRPa_spectrum-FocusRing-ring:after {
47
+ border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
48
+ content: "";
49
+ margin: calc(-1 * var(--spectrum-focus-ring-border-size));
50
+ pointer-events: none;
51
+ transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
52
+ display: block;
53
+ position: absolute;
54
+ inset: 0;
55
+ }
56
+
57
+ .WBgRPa_spectrum-FocusRing.WBgRPa_focus-ring:after {
58
+ margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
59
+ box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
60
+ }
61
+
62
+ .WBgRPa_spectrum-FocusRing--quiet:after {
63
+ border-radius: 0;
64
+ }
65
+
66
+ .WBgRPa_spectrum-FocusRing--quiet.WBgRPa_focus-ring:after {
67
+ margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
68
+ box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
69
+ }
70
+
71
+ .WBgRPa_spectrum-Link {
72
+ -webkit-text-decoration-skip: objects;
73
+ transition: color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;
74
+ cursor: pointer;
75
+ background-color: #0000;
76
+ outline: none;
77
+ text-decoration: underline;
78
+ }
79
+
80
+ .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
81
+ text-decoration: underline;
82
+ }
83
+
84
+ .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
85
+ text-decoration: underline double;
86
+ }
87
+
88
+ .WBgRPa_spectrum-Link.WBgRPa_is-disabled {
89
+ cursor: default;
90
+ pointer-events: none;
91
+ }
92
+
93
+ .WBgRPa_spectrum-Link.WBgRPa_is-disabled.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_is-disabled:focus {
94
+ text-decoration: none;
95
+ }
96
+
97
+ .WBgRPa_spectrum-Link--secondary, .WBgRPa_spectrum-Link--overBackground {
98
+ text-decoration: underline;
99
+ }
100
+
101
+ .WBgRPa_spectrum-Link--quiet {
102
+ text-decoration: none;
103
+ }
104
+
105
+ .WBgRPa_spectrum-Link {
106
+ --spectrum-link-text-color: var(--spectrum-accent-color-1000);
107
+ --spectrum-link-text-color-hover: var(--spectrum-accent-color-1000);
108
+ --spectrum-link-text-color-down: var(--spectrum-accent-color-1100);
109
+ --spectrum-link-text-color-key-focus: var(--spectrum-accent-color-1000);
110
+ color: var(--spectrum-link-text-color, var(--spectrum-global-color-blue-600));
111
+ }
112
+
113
+ .WBgRPa_spectrum-Link.WBgRPa_is-hovered {
114
+ color: var(--spectrum-link-text-color-hover, var(--spectrum-global-color-blue-600));
115
+ }
116
+
117
+ .WBgRPa_spectrum-Link:active {
118
+ color: var(--spectrum-link-text-color-down, var(--spectrum-global-color-blue-700));
119
+ }
120
+
121
+ .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
122
+ color: var(--spectrum-link-text-color-key-focus, var(--spectrum-alias-text-color-key-focus));
123
+ }
124
+
125
+ .WBgRPa_spectrum-Link.WBgRPa_is-disabled {
126
+ color: var(--spectrum-link-text-color-disabled, var(--spectrum-alias-text-color-disabled));
127
+ }
128
+
129
+ .WBgRPa_spectrum-Link--secondary, .WBgRPa_spectrum-Link--secondary.WBgRPa_is-hovered, .WBgRPa_spectrum-Link--secondary:active, .WBgRPa_spectrum-Link--secondary:focus {
130
+ color: inherit;
131
+ }
132
+
133
+ .WBgRPa_spectrum-Link--overBackground {
134
+ color: var(--spectrum-link-over-background-text-color, var(--spectrum-global-color-static-white));
135
+ }
136
+
137
+ .WBgRPa_spectrum-Link--overBackground.WBgRPa_is-hovered {
138
+ color: var(--spectrum-link-over-background-text-color-hover, var(--spectrum-global-color-static-white));
139
+ }
140
+
141
+ .WBgRPa_spectrum-Link--overBackground:active {
142
+ color: var(--spectrum-link-over-background-text-color-down, var(--spectrum-global-color-static-white));
143
+ }
144
+
145
+ .WBgRPa_spectrum-Link--overBackground:focus {
146
+ color: var(--spectrum-link-over-background-text-color-key-focus, var(--spectrum-global-color-static-white));
147
+ }
148
+
149
+ .WBgRPa_spectrum-Link--overBackground.WBgRPa_is-disabled {
150
+ color: var(--spectrum-link-over-background-text-color-disabled, #ffffff80);
151
+ }
152
+
153
+ @media (forced-colors: active) {
154
+ .WBgRPa_spectrum-Link, .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link:active, .WBgRPa_spectrum-Link:focus {
155
+ color: linktext;
156
+ }
157
+ }
158
+ /*# sourceMappingURL=module.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUE;;;;AAQA;;;;AAKA;;;;;AAIE;;;;AAOJ;;;;AAQA;;;;AAgBA;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAgBA;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.css.map"}
package/dist/module.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./main.css";
1
+ import "./module.css";
2
2
  import {useSlotProps as $11MUV$useSlotProps, useStyleProps as $11MUV$useStyleProps, classNames as $11MUV$classNames, getWrappedElement as $11MUV$getWrappedElement} from "@react-spectrum/utils";
3
3
  import {FocusRing as $11MUV$FocusRing} from "@react-aria/focus";
4
4
  import {mergeProps as $11MUV$mergeProps, mergeRefs as $11MUV$mergeRefs} from "@react-aria/utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/link",
3
- "version": "3.0.0-nightly.2779+d66cf4d8c",
3
+ "version": "3.0.0-nightly.2790+89fa370bd",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,16 +36,16 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/focus": "3.0.0-nightly.2779+d66cf4d8c",
40
- "@react-aria/interactions": "3.0.0-nightly.2779+d66cf4d8c",
41
- "@react-aria/link": "3.0.0-nightly.2779+d66cf4d8c",
42
- "@react-aria/utils": "3.0.0-nightly.2779+d66cf4d8c",
43
- "@react-spectrum/utils": "3.0.0-nightly.2779+d66cf4d8c",
44
- "@react-types/link": "3.0.0-nightly.2779+d66cf4d8c",
39
+ "@react-aria/focus": "3.0.0-nightly.2790+89fa370bd",
40
+ "@react-aria/interactions": "3.0.0-nightly.2790+89fa370bd",
41
+ "@react-aria/link": "3.0.0-nightly.2790+89fa370bd",
42
+ "@react-aria/utils": "3.0.0-nightly.2790+89fa370bd",
43
+ "@react-spectrum/utils": "3.0.0-nightly.2790+89fa370bd",
44
+ "@react-types/link": "3.0.0-nightly.2790+89fa370bd",
45
45
  "@swc/helpers": "^0.5.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2779+d66cf4d8c"
48
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2790+89fa370bd"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@react-spectrum/provider": "^3.0.0",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "d66cf4d8cd4657c562ce52d3f37df0a1fa685416"
57
+ "gitHead": "89fa370bd1bb346be643c9ab2a0d79fab857e4d7"
58
58
  }