@astryxdesign/core 0.4.2-canary.791f395 → 0.4.2
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/astryx.css +27 -1
- package/dist/astryx.umd.js +26 -26
- package/dist/astryx.umd.js.map +3 -3
- package/dist/hooks/containerReveal.stylex.d.ts +71 -4
- package/dist/hooks/containerReveal.stylex.d.ts.map +1 -1
- package/dist/hooks/containerReveal.stylex.js +57 -5
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useContainerReveal.d.ts +60 -3
- package/dist/hooks/useContainerReveal.d.ts.map +1 -1
- package/dist/hooks/useContainerReveal.js +27 -5
- package/package.json +3 -3
- package/src/hooks/containerReveal.stylex.ts +140 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useContainerReveal.doc.mjs +11 -5
- package/src/hooks/useContainerReveal.test.tsx +70 -3
- package/src/hooks/useContainerReveal.ts +86 -7
package/dist/astryx.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@layer astryx-base {
|
|
5
5
|
@property --x---_avatar-group-overlap { syntax: "*"; inherits: false;}
|
|
6
6
|
@property --x---_codeblock-gutter-width { syntax: "*"; inherits: false;}
|
|
7
|
+
@property --x---_hover-delay { syntax: "*"; inherits: false;}
|
|
7
8
|
@property --x---_tab-indicator-bottom { syntax: "*"; inherits: false;}
|
|
8
9
|
@property --x---container-max-height { syntax: "*"; inherits: false;}
|
|
9
10
|
@property --x---layout-content-width { syntax: "*"; inherits: false;}
|
|
@@ -91,19 +92,27 @@
|
|
|
91
92
|
.xk0ittl{--_chat-composer-padding:var(--spacing-3)}
|
|
92
93
|
.xx161y6{--_chat-composer-radius:var(--radius-chat)}
|
|
93
94
|
.xtk08jq{--_codeblock-gutter-width:var(--x---_codeblock-gutter-width)}
|
|
95
|
+
.x9pmotm{--_conceal-opacity:0}
|
|
94
96
|
.x1kgmhs9{--_conceal-opacity:1}
|
|
95
97
|
.xvuvksw{--_dialog-radius:var(--radius-container)}
|
|
96
98
|
.xgory14{--_dropdown-menu-padding:var(--spacing-1)}
|
|
97
99
|
.x1fcsqxe{--_dropdown-menu-radius:var(--radius-container)}
|
|
100
|
+
.x13l1x9d{--_fade-delay:0s}
|
|
98
101
|
.x1832zxr{--_field-radius:var(--radius-element)}
|
|
99
102
|
.xgzxwq1{--_focus-outline-offset:0}
|
|
100
103
|
.x17wzz1v{--_focus-outline:none}
|
|
104
|
+
.xhg274n{--_hover-delay:0s}
|
|
105
|
+
.x8xu23y{--_hover-delay:var(--x---_hover-delay)}
|
|
101
106
|
.xqwz7mz{--_hovercard-radius:var(--radius-container)}
|
|
102
107
|
.xqlix59{--_item-description-color:var(--color-error)}
|
|
103
108
|
.xufyqxy{--_item-label-color:var(--color-error)}
|
|
109
|
+
.xdjmrzf{--_reveal-delay-reduced:0s,0s}
|
|
110
|
+
.x1dejzja{--_reveal-delay:0s,0s}
|
|
104
111
|
.x1xiarpw{--_reveal-delay:0s,var(--duration-fast)}
|
|
105
112
|
.xct0gwe{--_reveal-opacity:0}
|
|
113
|
+
.x5setjs{--_reveal-opacity:1}
|
|
106
114
|
.xp0pj8v{--_reveal-position:absolute}
|
|
115
|
+
.x1r6s5ct{--_reveal-position:static}
|
|
107
116
|
.x18jk3ff{--_segmented-control-padding:var(--spacing-0-5)}
|
|
108
117
|
.x9icjy1{--_segmented-control-radius:var(--radius-element)}
|
|
109
118
|
.xficto1{--_tab-indicator-bottom:calc(-1 * (var(--spacing-1) + var(--border-width)))}
|
|
@@ -289,8 +298,10 @@
|
|
|
289
298
|
.xkce8z9{--separator-display:flex}
|
|
290
299
|
.xpa4xmd{--tree-list-indent:var(--spacing-4)}
|
|
291
300
|
.x1xbi2jf{--tree-list-row-gap:var(--spacing-0-5)}
|
|
301
|
+
.x1wfyzv7:focus-within{--_fade-delay:0s}
|
|
292
302
|
.xqchwus:focus-visible{--_focus-outline-offset:var(--focus-outline-offset)}
|
|
293
303
|
.xqih627:focus-visible{--_focus-outline:var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color)}
|
|
304
|
+
.x1z42dm:focus-within{--_reveal-delay-reduced:0s,0s}
|
|
294
305
|
.x1mjsb9v:focus-within{--_reveal-delay:0s,0s}
|
|
295
306
|
.xi33vf3:focus-within{--_reveal-opacity:1}
|
|
296
307
|
.xoa21yc:focus-within{--_reveal-position:static}
|
|
@@ -298,13 +309,24 @@
|
|
|
298
309
|
.x1ibt0lz:first-child{--separator-display:none}
|
|
299
310
|
.x1rht92:nth-child(even){--table-row-overlay:var(--color-background-muted)}
|
|
300
311
|
.x1m3wso9:hover{--indicator-color:var(--color-accent)}
|
|
312
|
+
@media (any-pointer: coarse){.x1hl81f0.x1hl81f0{--_fade-delay:0s}}
|
|
313
|
+
@media (any-pointer: coarse){.xm1aeao.xm1aeao{--_reveal-delay-reduced:0s,0s}}
|
|
301
314
|
@media (any-pointer: coarse){.x1pn63d7.x1pn63d7{--_reveal-delay:0s,0s}}
|
|
302
315
|
@media (any-pointer: coarse){.xi7d7de.xi7d7de{--_reveal-opacity:1}}
|
|
303
316
|
@media (any-pointer: coarse){.xarvkxi.xarvkxi{--_reveal-position:static}}
|
|
304
317
|
@media (pointer: coarse){.x1h9khjt.x1h9khjt{--_thumbnail-hit-inset:-2px}}
|
|
305
318
|
@media (hover: hover){.xb9fdgj.xb9fdgj:hover{--_conceal-opacity:0}}
|
|
319
|
+
@media (hover: hover){.xflzsy.xflzsy:hover{--_conceal-opacity:1}}
|
|
320
|
+
@media (hover: hover){.x3tau1w.x3tau1w:hover{--_fade-delay:0s}}
|
|
321
|
+
@media (hover: hover){.x1ho7nxo.x1ho7nxo:hover{--_fade-delay:var(--_hover-delay,0s)}}
|
|
322
|
+
@media (hover: hover){.xfu6dsl.xfu6dsl:hover{--_reveal-delay-reduced:0s,0s}}
|
|
323
|
+
@media (hover: hover){.x1g1w2pt.x1g1w2pt:hover{--_reveal-delay-reduced:var(--_hover-delay,0s),var(--_hover-delay,0s)}}
|
|
306
324
|
@media (hover: hover){.xp1dr9k.xp1dr9k:hover{--_reveal-delay:0s,0s}}
|
|
325
|
+
@media (hover: hover){.x619wqp.x619wqp:hover{--_reveal-delay:0s,var(--duration-fast)}}
|
|
326
|
+
@media (hover: hover){.x1qamfbu.x1qamfbu:hover{--_reveal-delay:var(--_hover-delay,0s),var(--_hover-delay,0s)}}
|
|
327
|
+
@media (hover: hover){.xichi0p.xichi0p:hover{--_reveal-opacity:0}}
|
|
307
328
|
@media (hover: hover){.x1wblmmc.x1wblmmc:hover{--_reveal-opacity:1}}
|
|
329
|
+
@media (hover: hover){.x1sacq21.x1sacq21:hover{--_reveal-position:absolute}}
|
|
308
330
|
@media (hover: hover){.x106rhu.x106rhu:hover{--_reveal-position:static}}
|
|
309
331
|
@media (hover: hover){.x1pkcbo2.x1pkcbo2:hover{--table-row-overlay:var(--color-overlay-hover)}}
|
|
310
332
|
.xln7xf2:not(#\#){font:inherit}
|
|
@@ -999,6 +1021,7 @@
|
|
|
999
1021
|
.x10l6tqk:not(#\#):not(#\#):not(#\#){position:absolute}
|
|
1000
1022
|
.xixxii4:not(#\#):not(#\#):not(#\#){position:fixed}
|
|
1001
1023
|
.x1n2onr6:not(#\#):not(#\#):not(#\#){position:relative}
|
|
1024
|
+
.x1uhb9sk:not(#\#):not(#\#):not(#\#){position:static}
|
|
1002
1025
|
.x7wzq59:not(#\#):not(#\#):not(#\#){position:sticky}
|
|
1003
1026
|
.x1mf7ja4:not(#\#):not(#\#):not(#\#){position:var(--_reveal-position,static)}
|
|
1004
1027
|
.xtt52l0:not(#\#):not(#\#):not(#\#){resize:none}
|
|
@@ -1070,6 +1093,7 @@
|
|
|
1070
1093
|
.xd00j3c:not(#\#):not(#\#):not(#\#){transition-behavior:allow-discrete}
|
|
1071
1094
|
.x5h36tt:not(#\#):not(#\#):not(#\#){transition-delay:.15s}
|
|
1072
1095
|
.x1ahifba:not(#\#):not(#\#):not(#\#){transition-delay:0s}
|
|
1096
|
+
.x4avkj2:not(#\#):not(#\#):not(#\#){transition-delay:var(--_fade-delay,0s)}
|
|
1073
1097
|
.x1rq8cwj:not(#\#):not(#\#):not(#\#){transition-delay:var(--_reveal-delay,0s,0s)}
|
|
1074
1098
|
.x10b1n17:not(#\#):not(#\#):not(#\#){transition-delay:var(--duration-fast)}
|
|
1075
1099
|
.x11bq7d0:not(#\#):not(#\#):not(#\#){transition-duration:.06s}
|
|
@@ -1159,6 +1183,7 @@
|
|
|
1159
1183
|
.x10wafsz:focus-within:not(#\#):not(#\#):not(#\#){clip-path:none}
|
|
1160
1184
|
.x1y40yee:popover-open:not(#\#):not(#\#):not(#\#){display:flex}
|
|
1161
1185
|
.x1sik18w:not(:first-child):not(#\#):not(#\#):not(#\#){margin-inline-start:var(--_avatar-group-overlap)}
|
|
1186
|
+
.x1euntei:focus-within:not(#\#):not(#\#):not(#\#){opacity:1}
|
|
1162
1187
|
.x25t5g8:focus-visible:not(#\#):not(#\#):not(#\#){opacity:1}
|
|
1163
1188
|
.xof6bs:is(th:hover *):not(#\#):not(#\#):not(#\#){opacity:1}
|
|
1164
1189
|
.xofkqq2:popover-open:not(#\#):not(#\#):not(#\#){opacity:1}
|
|
@@ -1171,6 +1196,7 @@
|
|
|
1171
1196
|
.x1jhp3zv:focus-visible:not(#\#):not(#\#):not(#\#){outline-style:var(--focus-outline-style)}
|
|
1172
1197
|
.x1vidyx5:focus-visible:not(#\#):not(#\#):not(#\#){outline-width:var(--focus-outline-width)}
|
|
1173
1198
|
.xbt4iw:focus-within:not(#\#):not(#\#):not(#\#){pointer-events:auto}
|
|
1199
|
+
.xo74pv5:focus-within:not(#\#):not(#\#):not(#\#){position:static}
|
|
1174
1200
|
.x1mqgsch:is([data-astryx-scrolling]):not(#\#):not(#\#):not(#\#){scrollbar-width:none}
|
|
1175
1201
|
.xaafvuh:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){transform:scaleX(-1) rotate(0deg)}
|
|
1176
1202
|
.x1nxqau:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){transform:scaleX(-1) rotate(90deg)}
|
|
@@ -1246,7 +1272,7 @@
|
|
|
1246
1272
|
@media (pointer: coarse){.xozvky.xozvky:not(#\#):not(#\#):not(#\#){order:1}}
|
|
1247
1273
|
@media (prefers-reduced-motion: reduce){.xg83hb1.xg83hb1:not(#\#):not(#\#):not(#\#){scroll-behavior:auto}}
|
|
1248
1274
|
@media (pointer: coarse){.x8i4i9p.x8i4i9p:not(#\#):not(#\#):not(#\#){transform:translate(-50%,-50%)}}
|
|
1249
|
-
@media (prefers-reduced-motion: reduce){.
|
|
1275
|
+
@media (prefers-reduced-motion: reduce){.xwgk2z2.xwgk2z2:not(#\#):not(#\#):not(#\#){transition-delay:var(--_reveal-delay-reduced,0s,0s)}}
|
|
1250
1276
|
@media (prefers-reduced-motion: reduce){.xsagj69.xsagj69:not(#\#):not(#\#):not(#\#){transition-duration:.01ms}}
|
|
1251
1277
|
@media (prefers-reduced-motion: reduce){.xzg1mie.xzg1mie:not(#\#):not(#\#):not(#\#){transition-duration:.01s}}
|
|
1252
1278
|
@media (prefers-reduced-motion: reduce){.xsr0bmt.xsr0bmt:not(#\#):not(#\#):not(#\#){transition-duration:0s,0s}}
|