musae 0.2.1 → 0.2.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/avatar/avatar.d.ts +0 -2
- package/dist/components/avatar/avatar.js +6 -5
- package/dist/components/avatar/group.js +1 -1
- package/dist/components/avatar/types.d.ts +3 -9
- package/dist/components/calendar/hooks.js +4 -4
- package/dist/components/checkbox/checkbox.js +3 -2
- package/dist/components/collapse/collapse.d.ts +4 -0
- package/dist/components/collapse/collapse.js +97 -0
- package/dist/components/collapse/context.d.ts +7 -0
- package/dist/components/collapse/context.js +12 -0
- package/dist/components/collapse/hooks.d.ts +12 -0
- package/dist/components/collapse/hooks.js +43 -0
- package/dist/components/collapse/index.d.ts +2 -0
- package/dist/components/collapse/item.d.ts +4 -0
- package/dist/components/collapse/item.js +144 -0
- package/dist/components/collapse/types.d.ts +87 -0
- package/dist/components/dialog/popup.js +3 -3
- package/dist/components/drawer/popup.js +15 -15
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/icons/index.js +1 -0
- package/dist/components/icon/icons/navigation/index.d.ts +2 -1
- package/dist/components/icon/icons/navigation/index.js +1 -0
- package/dist/components/icon/icons/navigation/unfold-more.d.ts +3 -0
- package/dist/components/icon/icons/navigation/unfold-more.js +10 -0
- package/dist/components/image/preview/operations.js +3 -3
- package/dist/components/layout/header.js +1 -1
- package/dist/components/loading/loading.d.ts +1 -1
- package/dist/components/loading/loading.js +69 -4
- package/dist/components/loading/types.d.ts +13 -0
- package/dist/components/notification/holder.js +12 -12
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/popper/dropdown.js +2 -2
- package/dist/components/rate/star.js +13 -15
- package/dist/components/ripple/hooks.js +4 -1
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/table/body.js +35 -3
- package/dist/components/table/context.d.ts +6 -0
- package/dist/components/table/context.js +10 -2
- package/dist/components/table/header/cell.d.ts +3 -0
- package/dist/components/table/header/cell.js +129 -0
- package/dist/components/table/{header.d.ts → header/header.d.ts} +1 -1
- package/dist/components/table/{header.js → header/header.js} +38 -11
- package/dist/components/table/hooks.d.ts +8 -21
- package/dist/components/table/hooks.js +36 -58
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.js +12 -6
- package/dist/components/table/types.d.ts +72 -4
- package/dist/components/tour/tour.js +1 -1
- package/dist/components/waterfall/hooks.d.ts +1 -2
- package/dist/components/waterfall/hooks.js +2 -8
- package/dist/components/waterfall/waterfall.js +9 -5
- package/dist/components/watermark/types.d.ts +1 -1
- package/dist/components/watermark/watermark.js +1 -1
- package/dist/hooks/use-class-names.d.ts +15 -0
- package/dist/hooks/use-expand-effect.d.ts +1 -1
- package/dist/hooks/use-expand-effect.js +12 -8
- package/dist/hooks/use-image.d.ts +11 -0
- package/dist/hooks/use-image.js +34 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/stylex.css +31 -17
- package/dist/utils/class-name.d.ts +65 -3
- package/dist/utils/class-name.js +39 -5
- package/dist/utils/styles.d.ts +1 -1
- package/package.json +6 -6
package/dist/stylex.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.musae-1pk7hnv:not(#\#){grid:'leading description'}
|
|
26
26
|
.musae-1js343y:not(#\#){grid:'leading title closer' 'leading description description'}
|
|
27
27
|
.musae-1l2suiq:not(#\#){grid:'leading title' '. description'}
|
|
28
|
-
.musae-
|
|
28
|
+
.musae-ezip7x:not(#\#){inset:0px}
|
|
29
29
|
.musae-1ug7cio:not(#\#){margin:var(--musae-15cw4i4)}
|
|
30
30
|
.musae-ieb5ut:not(#\#){margin:var(--musae-1wblvyz)}
|
|
31
31
|
.musae-1eddoca:not(#\#){margin:var(--musae-68a8pz)}
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
.musae-vtf0vn:not(#\#){padding:var(--musae-1tzp6vk)}
|
|
35
35
|
.musae-aubp7:not(#\#){padding:var(--musae-1wblvyz) var(--musae-h30iw9)}
|
|
36
36
|
.musae-1jb30j6:not(#\#){padding:var(--musae-1wblvyz)}
|
|
37
|
+
.musae-12ldsqu:not(#\#){padding:var(--musae-oohzsl)}
|
|
37
38
|
.musae-8kignx:not(#\#){padding:var(--musae-qk2ac7)}
|
|
38
39
|
.musae-wygk8u:not(#\#){padding:var(--musae-vk5id6) var(--musae-1tzp6vk)}
|
|
39
40
|
.musae-dv7uk4:nth-of-type(2n):not(#\#){grid:'description leading label'}
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
.musae-1vkuzbb:not(#\#):not(#\#){gap:var(--musae-oohzsl)}
|
|
61
62
|
.musae-29tp26:not(#\#):not(#\#){gap:var(--musae-qk2ac7)}
|
|
62
63
|
.musae-vbka3v:not(#\#):not(#\#){gap:var(--musae-vk5id6)}
|
|
63
|
-
.musae-
|
|
64
|
+
.musae-l33w4x:not(#\#):not(#\#){inset-inline:0px}
|
|
64
65
|
.musae-e8uvvx:not(#\#):not(#\#){list-style:none}
|
|
65
66
|
.musae-nweklb:not(#\#):not(#\#){margin-block:var(--musae-15cw4i4)}
|
|
66
67
|
.musae-dbe9a9:not(#\#):not(#\#){margin-block:var(--musae-qk2ac7)}
|
|
@@ -150,8 +151,9 @@
|
|
|
150
151
|
.musae-4qzwkw:not(#\#):not(#\#):not(#\#){grid-column-end:var(--gridColumnEnd,revert)}
|
|
151
152
|
.musae-8a1x49:not(#\#):not(#\#):not(#\#){grid-column-start:auto}
|
|
152
153
|
.musae-1aeqsfb:not(#\#):not(#\#):not(#\#){grid-template-columns:repeat(24,minmax(0,1fr))}
|
|
153
|
-
.musae-
|
|
154
|
-
.musae-
|
|
154
|
+
.musae-hw0b42:not(#\#):not(#\#):not(#\#){inset-inline-end:0px}
|
|
155
|
+
.musae-1at4hj2:not(#\#):not(#\#):not(#\#){inset-inline-start:0px}
|
|
156
|
+
.musae-budbmw:not(#\#):not(#\#):not(#\#){inset-inline-start:50%}
|
|
155
157
|
.musae-ncxdh4:not(#\#):not(#\#):not(#\#){inset-inline-start:calc(100% - var(--musae-rlgvtq) - var(--musae-1h5s2h0))}
|
|
156
158
|
.musae-1auf0oo:not(#\#):not(#\#):not(#\#){inset-inline-start:var(--musae-1h5s2h0)}
|
|
157
159
|
.musae-hf0782:not(#\#):not(#\#):not(#\#){inset-inline-start:var(--musae-h30iw9)}
|
|
@@ -177,15 +179,16 @@
|
|
|
177
179
|
.musae-5agonf:not(#\#):not(#\#):not(#\#){line-height:52px}
|
|
178
180
|
.musae-1kke7aa:not(#\#):not(#\#):not(#\#){line-height:64px}
|
|
179
181
|
.musae-3ct3a4:not(#\#):not(#\#):not(#\#){list-style-type:none}
|
|
180
|
-
.musae-
|
|
182
|
+
.musae-fbia9g:not(#\#):not(#\#):not(#\#){margin-inline-end:0px}
|
|
181
183
|
.musae-10qwhln:not(#\#):not(#\#):not(#\#){margin-inline-end:calc(-100% - var(--musae-rlgvtq) - var(--musae-jdzqnm) * 4 - var(--musae-jdzqnm))}
|
|
182
184
|
.musae-16ph6eo:not(#\#):not(#\#):not(#\#){margin-inline-end:calc(100% + var(--musae-rlgvtq) + var(--musae-jdzqnm) * 4 + var(--musae-jdzqnm))}
|
|
183
|
-
.musae-
|
|
185
|
+
.musae-1tt3wx9:not(#\#):not(#\#):not(#\#){margin-inline-start:0px}
|
|
184
186
|
.musae-1fns2s7:not(#\#):not(#\#):not(#\#){margin-inline-start:calc(-100% - var(--musae-rlgvtq) - var(--musae-jdzqnm) * 4 - var(--musae-jdzqnm))}
|
|
185
187
|
.musae-5bta6d:not(#\#):not(#\#):not(#\#){margin-inline-start:calc(100% + var(--musae-rlgvtq) + var(--musae-jdzqnm) * 4 + var(--musae-jdzqnm))}
|
|
186
188
|
.musae-1tmxnmp:not(#\#):not(#\#):not(#\#){margin-inline-start:var(--musae-68a8pz)}
|
|
187
189
|
.musae-1dzd4em:not(#\#):not(#\#):not(#\#){mix-blend-mode:hard-light}
|
|
188
190
|
.musae-l1xv1r:not(#\#):not(#\#):not(#\#){object-fit:cover}
|
|
191
|
+
.musae-byyjgo:not(#\#):not(#\#):not(#\#){opacity:.5}
|
|
189
192
|
.musae-g01cxk:not(#\#):not(#\#):not(#\#){opacity:0}
|
|
190
193
|
.musae-1hc1fzr:not(#\#):not(#\#):not(#\#){opacity:1}
|
|
191
194
|
.musae-v8jbu9:not(#\#):not(#\#):not(#\#){opacity:var(--musae-abm5yj)}
|
|
@@ -219,6 +222,8 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
219
222
|
.musae-1g0ag68:not(#\#):not(#\#):not(#\#){transform-origin:center}
|
|
220
223
|
.musae-9tu13d:not(#\#):not(#\#):not(#\#){transform:rotate(-90deg)}
|
|
221
224
|
.musae-1158fpu:not(#\#):not(#\#):not(#\#){transform:rotate(45deg)}
|
|
225
|
+
.musae-1iffjtl:not(#\#):not(#\#):not(#\#){transform:rotate(90deg)}
|
|
226
|
+
.musae-11lhmoz:not(#\#):not(#\#):not(#\#){transform:translate(-50%,-50%)}
|
|
222
227
|
.musae-1v0jg1i:not(#\#):not(#\#):not(#\#){transform:var(--transform,revert)}
|
|
223
228
|
.musae-1g2r6go:not(#\#):not(#\#):not(#\#){transition-duration:.1s}
|
|
224
229
|
.musae-13dflua:not(#\#):not(#\#):not(#\#){transition-duration:.2s}
|
|
@@ -227,6 +232,7 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
227
232
|
.musae-xy01e9:not(#\#):not(#\#):not(#\#){transition-property:background-color,border,color}
|
|
228
233
|
.musae-1ve1rmq:not(#\#):not(#\#):not(#\#){transition-property:margin-inline-start,margin-inline-end}
|
|
229
234
|
.musae-1c9o64o:not(#\#):not(#\#):not(#\#){transition-property:margin-top,transform}
|
|
235
|
+
.musae-19991ni:not(#\#):not(#\#):not(#\#){transition-property:opacity}
|
|
230
236
|
.musae-bjh9w0:not(#\#):not(#\#):not(#\#){transition-property:padding-inline-start,padding-inline-end}
|
|
231
237
|
.musae-11xpdln:not(#\#):not(#\#):not(#\#){transition-property:transform}
|
|
232
238
|
.musae-87ps6o:not(#\#):not(#\#):not(#\#){user-select:none}
|
|
@@ -239,6 +245,8 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
239
245
|
.musae-1q1rmc8:not(#\#):not(#\#):not(#\#){will-change:transform,opacity}
|
|
240
246
|
.musae-1so62im:not(#\#):not(#\#):not(#\#){will-change:transform}
|
|
241
247
|
.musae-13faqbe:not(#\#):not(#\#):not(#\#){word-break:break-word}
|
|
248
|
+
.musae-1ja2u2z:not(#\#):not(#\#):not(#\#){z-index:0}
|
|
249
|
+
.musae-1vjfegm:not(#\#):not(#\#):not(#\#){z-index:1}
|
|
242
250
|
.musae-1ac462h:not(#\#):not(#\#):not(#\#){z-index:var(--musae-11upij1)}
|
|
243
251
|
.musae-16v8on1:not(#\#):not(#\#):not(#\#){z-index:var(--musae-1tyqau6)}
|
|
244
252
|
.musae-1hqpmg9:not(#\#):not(#\#):not(#\#){z-index:var(--musae-7fr0d6)}
|
|
@@ -251,7 +259,7 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
251
259
|
.musae-x7gz8e:not(:last-of-type):not(#\#):not(#\#):not(#\#)::after{content:""}
|
|
252
260
|
.musae-13amitz:hover > span:last-child:not(#\#):not(#\#):not(#\#){display:inline-flex}
|
|
253
261
|
.musae-1pqvcko:hover > span:first-child:not(#\#):not(#\#):not(#\#){display:none}
|
|
254
|
-
.musae-
|
|
262
|
+
.musae-1sd0t5p:not(:last-of-type):not(#\#):not(#\#):not(#\#)::after{inset-inline-end:0px}
|
|
255
263
|
.musae-1i5rff9:not(:first-child):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(var(--musae-vk5id6) * -1)}
|
|
256
264
|
.musae-no41pc:not(:last-of-type):not(#\#):not(#\#):not(#\#)::after{position:absolute}
|
|
257
265
|
.musae-1kmnipp:not(:last-of-type):not(#\#):not(#\#):not(#\#)::after{transform:translateY(-50%)}
|
|
@@ -263,12 +271,13 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
263
271
|
.musae-43481e:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-color:var(--borderBottomColor,revert)}
|
|
264
272
|
.musae-1q0q8m5:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-style:solid}
|
|
265
273
|
.musae-lntmim:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-width:var(--musae-1ax7z96)}
|
|
266
|
-
.musae-
|
|
274
|
+
.musae-1sh2tzk:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0px}
|
|
267
275
|
.musae-1ii70tt:not(#\#):not(#\#):not(#\#):not(#\#){bottom:var(--musae-15cw4i4)}
|
|
268
276
|
.musae-8wmlod:not(#\#):not(#\#):not(#\#):not(#\#){bottom:var(--musae-1wblvyz)}
|
|
269
277
|
.musae-1dr59a3:not(#\#):not(#\#):not(#\#):not(#\#){height:100vh}
|
|
270
278
|
.musae-1m3v4wt:not(#\#):not(#\#):not(#\#):not(#\#){height:200px}
|
|
271
279
|
.musae-xk0z11:not(#\#):not(#\#):not(#\#):not(#\#){height:24px}
|
|
280
|
+
.musae-t7dq6l:not(#\#):not(#\#):not(#\#):not(#\#){height:auto}
|
|
272
281
|
.musae-1r05exa:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(100vh - var(--musae-xrqq76) - var(--musae-15cw4i4))}
|
|
273
282
|
.musae-g7h5cd:not(#\#):not(#\#):not(#\#):not(#\#){height:fit-content}
|
|
274
283
|
.musae-1jwls1v:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--height,revert)}
|
|
@@ -279,26 +288,28 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
279
288
|
.musae-jazk0b:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-1l9c3uf)}
|
|
280
289
|
.musae-b27hse:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-1qj6wod)}
|
|
281
290
|
.musae-1vwksmh:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-1yg5bqe)}
|
|
291
|
+
.musae-1cj5796:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-70uu0v)}
|
|
282
292
|
.musae-7kkngq:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-cftog7)}
|
|
283
293
|
.musae-kzsoxx:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-jdzqnm)}
|
|
284
294
|
.musae-was1v5:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-laggmb)}
|
|
285
295
|
.musae-1gfonl1:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-oohzsl)}
|
|
286
296
|
.musae-lry4nc:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-rlgvtq)}
|
|
287
297
|
.musae-b4kbli:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--musae-xrqq76)}
|
|
288
|
-
.musae-
|
|
298
|
+
.musae-1tjciyl:not(#\#):not(#\#):not(#\#):not(#\#){left:0px}
|
|
289
299
|
.musae-101gtxs:not(#\#):not(#\#):not(#\#):not(#\#){left:var(--left,revert)}
|
|
290
300
|
.musae-hq7bbv:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musae-15cw4i4)}
|
|
291
301
|
.musae-a4cli4:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musae-1tzp6vk)}
|
|
292
302
|
.musae-rsi211:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--musae-qk2ac7)}
|
|
293
303
|
.musae-1vc729f:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--musae-qk2ac7)}
|
|
294
304
|
.musae-ncydc0:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:-100%}
|
|
295
|
-
.musae-
|
|
305
|
+
.musae-1q12cbh:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:0px}
|
|
296
306
|
.musae-3yben5:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musae-1wblvyz)}
|
|
297
307
|
.musae-1lpmo0s:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musae-vk5id6)}
|
|
298
308
|
.musae-edbcy2:not(#\#):not(#\#):not(#\#):not(#\#){max-height:calc(100% - var(--musae-15cw4i4) * 2)}
|
|
299
309
|
.musae-kfv0gj:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--musae-1qj6wod)}
|
|
300
310
|
.musae-1v3fk47:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-16n5srz)}
|
|
301
311
|
.musae-jk1msx:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-1qj6wod)}
|
|
312
|
+
.musae-oexrxm:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-1spnrok)}
|
|
302
313
|
.musae-1infgec:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-cftog7)}
|
|
303
314
|
.musae-1ee7i9g:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-laggmb)}
|
|
304
315
|
.musae-1sal0kv:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--musae-rlgvtq)}
|
|
@@ -307,6 +318,7 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
307
318
|
.musae-13to73x:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--minWidth,revert)}
|
|
308
319
|
.musae-1fpxtso:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-11uhodo)}
|
|
309
320
|
.musae-yumy05:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-1aj7t22)}
|
|
321
|
+
.musae-h2iun8:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-1spnrok)}
|
|
310
322
|
.musae-ba7gwn:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-cftog7)}
|
|
311
323
|
.musae-1049mhy:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-laggmb)}
|
|
312
324
|
.musae-trrjuf:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--musae-rlgvtq)}
|
|
@@ -323,18 +335,18 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
323
335
|
.musae-522f2k:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--musae-oohzsl)}
|
|
324
336
|
.musae-1p848mt:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--musae-qk2ac7)}
|
|
325
337
|
.musae-utp9vd:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--musae-vk5id6)}
|
|
326
|
-
.musae-
|
|
338
|
+
.musae-15gpytn:not(#\#):not(#\#):not(#\#):not(#\#){right:0px}
|
|
327
339
|
.musae-14l26ut:not(#\#):not(#\#):not(#\#):not(#\#){right:var(--musae-15cw4i4)}
|
|
328
340
|
.musae-6al1c1:not(#\#):not(#\#):not(#\#):not(#\#){right:var(--musae-oohzsl)}
|
|
329
|
-
.musae-
|
|
341
|
+
.musae-9oc6z4:not(#\#):not(#\#):not(#\#):not(#\#){top:0px}
|
|
330
342
|
.musae-wa60dl:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}
|
|
331
343
|
.musae-kwake1:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--musae-xrqq76) + var(--musae-15cw4i4))}
|
|
332
344
|
.musae-1qtgrog:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--musae-15cw4i4)}
|
|
333
345
|
.musae-9c655z:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--musae-oohzsl)}
|
|
334
346
|
.musae-rzbxsz:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--top,revert)}
|
|
347
|
+
.musae-h8yej3:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}
|
|
335
348
|
.musae-n9wirt:not(#\#):not(#\#):not(#\#):not(#\#){width:100vw}
|
|
336
349
|
.musae-vy4d1p:not(#\#):not(#\#):not(#\#):not(#\#){width:24px}
|
|
337
|
-
.musae-1l2rt3b:not(#\#):not(#\#):not(#\#):not(#\#){width:400px}
|
|
338
350
|
.musae-10gxdq2:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(1ch + var(--musae-1ncxh3n) * 2)}
|
|
339
351
|
.musae-eq5yr9:not(#\#):not(#\#):not(#\#):not(#\#){width:fit-content}
|
|
340
352
|
.musae-15xiyow:not(#\#):not(#\#):not(#\#):not(#\#){width:var(--musae-16n5srz)}
|
|
@@ -352,9 +364,11 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
352
364
|
.musae-1o8gf8:not(:last-of-type):not(#\#):not(#\#):not(#\#):not(#\#)::after{top:50%}
|
|
353
365
|
.musae-vpkyr8:not(:last-of-type):not(#\#):not(#\#):not(#\#):not(#\#)::after{width:var(--musae-1ax7z96)}
|
|
354
366
|
.musae-cu8lob:first-child:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--musae-qk2ac7)}
|
|
367
|
+
.musae-zm6erk:last-of-type:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-width:0px}
|
|
355
368
|
.musae-r8ctv5:hover:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}
|
|
356
369
|
.musae-ynce87:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::view-transition-old(root){animation:none}
|
|
357
370
|
.musae-goest1:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::view-transition-new(root){animation:none}
|
|
371
|
+
.musae-1799ia1:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{inset:0px}
|
|
358
372
|
.musae-123gkgz:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{border-color:var(--1il6zln,revert)}
|
|
359
373
|
.musae-3yd8hb:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{border-color:var(--joftei,revert)}
|
|
360
374
|
.musae-11y6kk5:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::-webkit-scrollbar-thumb{border-radius:4px}
|
|
@@ -382,17 +396,17 @@ html[dir='rtl'] .musae-1yc453h:not(#\#):not(#\#):not(#\#){text-align:right}
|
|
|
382
396
|
.musae-ilz4u6:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{content:"*"}
|
|
383
397
|
.musae-hkezso:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{display:block}
|
|
384
398
|
.musae-1fgarty:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{display:block}
|
|
385
|
-
.musae-
|
|
399
|
+
.musae-1x8jx26:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{inset-inline-end:0px}
|
|
386
400
|
.musae-1gkks1t:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{inset-inline-end:50%}
|
|
387
|
-
.musae-
|
|
401
|
+
.musae-1kfboi8:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{inset-inline-start:0px}
|
|
388
402
|
.musae-fbisj7:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{inset-inline-start:50%}
|
|
389
403
|
.musae-xsadbs:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{inset-inline-start:calc((100% - var(--musae-1ax7z96)) / 2)}
|
|
390
404
|
.musae-2utku0:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{margin-inline-start:var(--musae-vk5id6)}
|
|
391
405
|
.musae-15342hd:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::view-transition-old(root){mix-blend-mode:normal}
|
|
392
406
|
.musae-1sgbmat:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::view-transition-new(root){mix-blend-mode:normal}
|
|
393
|
-
.musae-1hmns74:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{position:absolute}
|
|
394
407
|
.musae-1j6awrg:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{position:absolute}
|
|
395
|
-
.musae-
|
|
408
|
+
.musae-1hmns74:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::before{position:absolute}
|
|
409
|
+
.musae-q1m6zb:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{transform:translate(100%,-160%) rotate(45deg)}
|
|
396
410
|
.musae-t0fc71:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{transition-duration:.2s}
|
|
397
411
|
.musae-6orayw:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{transition-property:border-color,border-width}
|
|
398
412
|
.musae-170pinb:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::after{visibility:visible}
|
|
@@ -44,7 +44,9 @@ export declare enum ComponentToken {
|
|
|
44
44
|
Notification = 32,
|
|
45
45
|
Progress = 33,
|
|
46
46
|
Tooltip = 34,
|
|
47
|
-
Popover = 35
|
|
47
|
+
Popover = 35,
|
|
48
|
+
Loading = 36,
|
|
49
|
+
Collapse = 37
|
|
48
50
|
}
|
|
49
51
|
/**
|
|
50
52
|
* @description
|
|
@@ -186,8 +188,8 @@ export declare enum SwitchClassToken {
|
|
|
186
188
|
export declare enum RateClassToken {
|
|
187
189
|
Rate = 0,
|
|
188
190
|
Star = 1,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
Half = 2,
|
|
192
|
+
Full = 3
|
|
191
193
|
}
|
|
192
194
|
export declare enum TourClassToken {
|
|
193
195
|
Tour = 0,
|
|
@@ -240,6 +242,21 @@ export declare enum PopoverClassToken {
|
|
|
240
242
|
Title = 1,
|
|
241
243
|
Description = 2
|
|
242
244
|
}
|
|
245
|
+
export declare enum LoadingClassToken {
|
|
246
|
+
Loading = 0,
|
|
247
|
+
Spin = 1,
|
|
248
|
+
Content = 2
|
|
249
|
+
}
|
|
250
|
+
export declare enum CollapseClassToken {
|
|
251
|
+
Collapse = 0,
|
|
252
|
+
Item = 1,
|
|
253
|
+
ItemActive = 2,
|
|
254
|
+
Header = 3,
|
|
255
|
+
Panel = 4,
|
|
256
|
+
PanelActive = 5,
|
|
257
|
+
Content = 6,
|
|
258
|
+
Collapser = 7
|
|
259
|
+
}
|
|
243
260
|
/**
|
|
244
261
|
* @description
|
|
245
262
|
* class name collection
|
|
@@ -436,6 +453,21 @@ export declare const CLASS_NAMES: {
|
|
|
436
453
|
1: string;
|
|
437
454
|
2: string;
|
|
438
455
|
};
|
|
456
|
+
36: {
|
|
457
|
+
0: string;
|
|
458
|
+
1: string;
|
|
459
|
+
2: string;
|
|
460
|
+
};
|
|
461
|
+
37: {
|
|
462
|
+
0: string;
|
|
463
|
+
1: string;
|
|
464
|
+
2: string;
|
|
465
|
+
3: string;
|
|
466
|
+
7: string;
|
|
467
|
+
4: string;
|
|
468
|
+
5: string;
|
|
469
|
+
6: string;
|
|
470
|
+
};
|
|
439
471
|
};
|
|
440
472
|
/**
|
|
441
473
|
* @description
|
|
@@ -630,6 +662,21 @@ export declare const addPrefix: (classNames: ClassNames, prefix: string) => {
|
|
|
630
662
|
1: string;
|
|
631
663
|
2: string;
|
|
632
664
|
};
|
|
665
|
+
36: {
|
|
666
|
+
0: string;
|
|
667
|
+
1: string;
|
|
668
|
+
2: string;
|
|
669
|
+
};
|
|
670
|
+
37: {
|
|
671
|
+
0: string;
|
|
672
|
+
1: string;
|
|
673
|
+
2: string;
|
|
674
|
+
3: string;
|
|
675
|
+
7: string;
|
|
676
|
+
4: string;
|
|
677
|
+
5: string;
|
|
678
|
+
6: string;
|
|
679
|
+
};
|
|
633
680
|
};
|
|
634
681
|
/**
|
|
635
682
|
* @description
|
|
@@ -824,4 +871,19 @@ export declare const DEFAULT_CLASS_NAMES: {
|
|
|
824
871
|
1: string;
|
|
825
872
|
2: string;
|
|
826
873
|
};
|
|
874
|
+
36: {
|
|
875
|
+
0: string;
|
|
876
|
+
1: string;
|
|
877
|
+
2: string;
|
|
878
|
+
};
|
|
879
|
+
37: {
|
|
880
|
+
0: string;
|
|
881
|
+
1: string;
|
|
882
|
+
2: string;
|
|
883
|
+
3: string;
|
|
884
|
+
7: string;
|
|
885
|
+
4: string;
|
|
886
|
+
5: string;
|
|
887
|
+
6: string;
|
|
888
|
+
};
|
|
827
889
|
};
|
package/dist/utils/class-name.js
CHANGED
|
@@ -54,6 +54,8 @@ var ComponentToken;
|
|
|
54
54
|
ComponentToken[ComponentToken["Progress"] = 33] = "Progress";
|
|
55
55
|
ComponentToken[ComponentToken["Tooltip"] = 34] = "Tooltip";
|
|
56
56
|
ComponentToken[ComponentToken["Popover"] = 35] = "Popover";
|
|
57
|
+
ComponentToken[ComponentToken["Loading"] = 36] = "Loading";
|
|
58
|
+
ComponentToken[ComponentToken["Collapse"] = 37] = "Collapse";
|
|
57
59
|
})(ComponentToken || (ComponentToken = {}));
|
|
58
60
|
/**
|
|
59
61
|
* @description
|
|
@@ -222,8 +224,8 @@ var RateClassToken;
|
|
|
222
224
|
(function (RateClassToken) {
|
|
223
225
|
RateClassToken[RateClassToken["Rate"] = 0] = "Rate";
|
|
224
226
|
RateClassToken[RateClassToken["Star"] = 1] = "Star";
|
|
225
|
-
RateClassToken[RateClassToken["
|
|
226
|
-
RateClassToken[RateClassToken["
|
|
227
|
+
RateClassToken[RateClassToken["Half"] = 2] = "Half";
|
|
228
|
+
RateClassToken[RateClassToken["Full"] = 3] = "Full";
|
|
227
229
|
})(RateClassToken || (RateClassToken = {}));
|
|
228
230
|
var TourClassToken;
|
|
229
231
|
(function (TourClassToken) {
|
|
@@ -285,6 +287,23 @@ var PopoverClassToken;
|
|
|
285
287
|
PopoverClassToken[PopoverClassToken["Title"] = 1] = "Title";
|
|
286
288
|
PopoverClassToken[PopoverClassToken["Description"] = 2] = "Description";
|
|
287
289
|
})(PopoverClassToken || (PopoverClassToken = {}));
|
|
290
|
+
var LoadingClassToken;
|
|
291
|
+
(function (LoadingClassToken) {
|
|
292
|
+
LoadingClassToken[LoadingClassToken["Loading"] = 0] = "Loading";
|
|
293
|
+
LoadingClassToken[LoadingClassToken["Spin"] = 1] = "Spin";
|
|
294
|
+
LoadingClassToken[LoadingClassToken["Content"] = 2] = "Content";
|
|
295
|
+
})(LoadingClassToken || (LoadingClassToken = {}));
|
|
296
|
+
var CollapseClassToken;
|
|
297
|
+
(function (CollapseClassToken) {
|
|
298
|
+
CollapseClassToken[CollapseClassToken["Collapse"] = 0] = "Collapse";
|
|
299
|
+
CollapseClassToken[CollapseClassToken["Item"] = 1] = "Item";
|
|
300
|
+
CollapseClassToken[CollapseClassToken["ItemActive"] = 2] = "ItemActive";
|
|
301
|
+
CollapseClassToken[CollapseClassToken["Header"] = 3] = "Header";
|
|
302
|
+
CollapseClassToken[CollapseClassToken["Panel"] = 4] = "Panel";
|
|
303
|
+
CollapseClassToken[CollapseClassToken["PanelActive"] = 5] = "PanelActive";
|
|
304
|
+
CollapseClassToken[CollapseClassToken["Content"] = 6] = "Content";
|
|
305
|
+
CollapseClassToken[CollapseClassToken["Collapser"] = 7] = "Collapser";
|
|
306
|
+
})(CollapseClassToken || (CollapseClassToken = {}));
|
|
288
307
|
/**
|
|
289
308
|
* @description
|
|
290
309
|
* class name collection
|
|
@@ -429,8 +448,8 @@ const CLASS_NAMES = {
|
|
|
429
448
|
[ComponentToken.Rate]: {
|
|
430
449
|
[RateClassToken.Rate]: "rate",
|
|
431
450
|
[RateClassToken.Star]: "rate__star",
|
|
432
|
-
[RateClassToken.
|
|
433
|
-
[RateClassToken.
|
|
451
|
+
[RateClassToken.Half]: "rate__star-half",
|
|
452
|
+
[RateClassToken.Full]: "rate__star-full",
|
|
434
453
|
},
|
|
435
454
|
[ComponentToken.Tour]: {
|
|
436
455
|
[TourClassToken.Tour]: "tour",
|
|
@@ -481,6 +500,21 @@ const CLASS_NAMES = {
|
|
|
481
500
|
[PopoverClassToken.Title]: "popover__title",
|
|
482
501
|
[PopoverClassToken.Description]: "popover__description",
|
|
483
502
|
},
|
|
503
|
+
[ComponentToken.Loading]: {
|
|
504
|
+
[LoadingClassToken.Loading]: "loading",
|
|
505
|
+
[LoadingClassToken.Spin]: "loading__spin",
|
|
506
|
+
[LoadingClassToken.Content]: "loading__content",
|
|
507
|
+
},
|
|
508
|
+
[ComponentToken.Collapse]: {
|
|
509
|
+
[CollapseClassToken.Collapse]: "collapse",
|
|
510
|
+
[CollapseClassToken.Item]: "collapse__item",
|
|
511
|
+
[CollapseClassToken.ItemActive]: "collapse__item--active",
|
|
512
|
+
[CollapseClassToken.Header]: "collapse__item-header",
|
|
513
|
+
[CollapseClassToken.Collapser]: "collapse__header-collapser",
|
|
514
|
+
[CollapseClassToken.Panel]: "collapse__item-panel",
|
|
515
|
+
[CollapseClassToken.PanelActive]: "collapse__item-panel--active",
|
|
516
|
+
[CollapseClassToken.Content]: "collapse__item-content",
|
|
517
|
+
},
|
|
484
518
|
};
|
|
485
519
|
/**
|
|
486
520
|
* @description
|
|
@@ -499,4 +533,4 @@ const addPrefix = (classNames, prefix) => {
|
|
|
499
533
|
*/
|
|
500
534
|
const DEFAULT_CLASS_NAMES = addPrefix(CLASS_NAMES, Token.Prefix);
|
|
501
535
|
|
|
502
|
-
export { AvatarClassToken, BreadcrumbClassToken, ButtonClassToken, CLASS_NAMES, CalendarClassToken, CascaderClassToken, CheckboxClassToken, ClockClassToken, ComponentToken, DEFAULT_CLASS_NAMES, DatePickerClassToken, DateRangePickerClassToken, DialogClassToken, DividerClassToken, DrawerClassToken, EmptyClassToken, FormClassToken, GridClassToken, IconClassToken, InputClassToken, MenuClassToken, NotificationClassToken, PaginationClassToken, PickerClassToken, PopoverClassToken, PopperClassToken, ProgressClassToken, RadioClassToken, RateClassToken, SelectClassToken, StepsClassToken, SwitchClassToken, TabsClassToken, TagClassToken, TimePickerClassToken, TimelineClassToken, TooltipClassToken, TourClassToken, TreeClassToken, addPrefix, withPrefix };
|
|
536
|
+
export { AvatarClassToken, BreadcrumbClassToken, ButtonClassToken, CLASS_NAMES, CalendarClassToken, CascaderClassToken, CheckboxClassToken, ClockClassToken, CollapseClassToken, ComponentToken, DEFAULT_CLASS_NAMES, DatePickerClassToken, DateRangePickerClassToken, DialogClassToken, DividerClassToken, DrawerClassToken, EmptyClassToken, FormClassToken, GridClassToken, IconClassToken, InputClassToken, LoadingClassToken, MenuClassToken, NotificationClassToken, PaginationClassToken, PickerClassToken, PopoverClassToken, PopperClassToken, ProgressClassToken, RadioClassToken, RateClassToken, SelectClassToken, StepsClassToken, SwitchClassToken, TabsClassToken, TagClassToken, TimePickerClassToken, TimelineClassToken, TooltipClassToken, TourClassToken, TreeClassToken, addPrefix, withPrefix };
|
package/dist/utils/styles.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musae",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "musae-ui",
|
|
5
5
|
"author": "tutu@fantufantu.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aiszlab/relax": "^1.2.
|
|
26
|
+
"@aiszlab/relax": "^1.2.55",
|
|
27
27
|
"@floating-ui/dom": "^1.6.5",
|
|
28
28
|
"@tanstack/react-table": "^8.16.0",
|
|
29
29
|
"clsx": "^2.1.1",
|
|
30
|
-
"dayjs": "^1.11.
|
|
30
|
+
"dayjs": "^1.11.11",
|
|
31
31
|
"deepmerge": "^4.3.1",
|
|
32
|
-
"framer-motion": "^11.2.
|
|
32
|
+
"framer-motion": "^11.2.11",
|
|
33
33
|
"react-hook-form": "^7.47.0",
|
|
34
34
|
"rxjs": "^7.8.1"
|
|
35
35
|
},
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
43
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
44
44
|
"@stylexjs/babel-plugin": "^0.6.1",
|
|
45
|
-
"@stylexjs/rollup-plugin": "^0.
|
|
46
|
-
"@stylexjs/stylex": "^0.
|
|
45
|
+
"@stylexjs/rollup-plugin": "^0.6.1",
|
|
46
|
+
"@stylexjs/stylex": "^0.6.1",
|
|
47
47
|
"@testing-library/jest-dom": "^6.4.5",
|
|
48
48
|
"@testing-library/react": "^15.0.7",
|
|
49
49
|
"@testing-library/user-event": "^14.5.2",
|