@mirai/ui 1.0.215 → 1.0.217
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/build/components/Action/Action.js +1 -1
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +5 -5
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +15 -15
- package/build/components/Button/Button.js +1 -1
- package/build/components/Button/Button.js.map +1 -1
- package/build/components/Button/Button.module.css +16 -10
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +15 -15
- package/build/components/Calendar/Calendar.Week.js +1 -1
- package/build/components/Calendar/Calendar.Week.js.map +1 -1
- package/build/components/Calendar/Calendar.js +1 -1
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/Calendar.module.css +7 -6
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +2010 -2010
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +1 -1
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +7 -7
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +24 -24
- package/build/components/InputPhone/InputPhone.js +2 -2
- package/build/components/InputPhone/InputPhone.js.map +1 -1
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +40 -40
- package/build/components/InputText/InputText.js +2 -2
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/InputText.module.css +7 -3
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +16 -16
- package/build/components/Menu/Menu.Option.js +1 -1
- package/build/components/Menu/Menu.Option.js.map +1 -1
- package/build/components/Menu/Menu.module.css +3 -3
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +12 -12
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +3 -3
- package/build/components/Notification/Notification.js +1 -1
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +10 -7
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +6 -6
- package/build/components/Table/Table.Row.js +1 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.module.css +6 -2
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +36 -36
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +141 -39
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/Tooltip.module.css +5 -5
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +12 -12
- package/build/primitives/Checkbox/Checkbox.module.css +2 -1
- package/build/primitives/Layer/Layer.module.css +1 -4
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +6 -6
- package/build/primitives/Radio/Radio.module.css +2 -2
- package/build/primitives/Select/Select.module.css +5 -1
- package/build/primitives/Switch/Switch.module.css +5 -1
- package/package.json +1 -1
|
@@ -9,7 +9,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
9
9
|
class="table"
|
|
10
10
|
>
|
|
11
11
|
<thead>
|
|
12
|
-
<tr
|
|
12
|
+
<tr
|
|
13
|
+
class="notSelected"
|
|
14
|
+
>
|
|
13
15
|
<th>
|
|
14
16
|
<span
|
|
15
17
|
class="view forceRow column"
|
|
@@ -179,7 +181,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
179
181
|
</tr>
|
|
180
182
|
</thead>
|
|
181
183
|
<tbody>
|
|
182
|
-
<tr
|
|
184
|
+
<tr
|
|
185
|
+
class="notSelected"
|
|
186
|
+
>
|
|
183
187
|
<td>
|
|
184
188
|
<span
|
|
185
189
|
class="view forceRow column text"
|
|
@@ -212,7 +216,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
212
216
|
/>
|
|
213
217
|
</td>
|
|
214
218
|
</tr>
|
|
215
|
-
<tr
|
|
219
|
+
<tr
|
|
220
|
+
class="notSelected"
|
|
221
|
+
>
|
|
216
222
|
<td>
|
|
217
223
|
<span
|
|
218
224
|
class="view forceRow column text"
|
|
@@ -245,7 +251,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
245
251
|
/>
|
|
246
252
|
</td>
|
|
247
253
|
</tr>
|
|
248
|
-
<tr
|
|
254
|
+
<tr
|
|
255
|
+
class="notSelected"
|
|
256
|
+
>
|
|
249
257
|
<td>
|
|
250
258
|
<span
|
|
251
259
|
class="view forceRow column text"
|
|
@@ -278,7 +286,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
278
286
|
/>
|
|
279
287
|
</td>
|
|
280
288
|
</tr>
|
|
281
|
-
<tr
|
|
289
|
+
<tr
|
|
290
|
+
class="notSelected"
|
|
291
|
+
>
|
|
282
292
|
<td>
|
|
283
293
|
<span
|
|
284
294
|
class="view forceRow column text"
|
|
@@ -315,7 +325,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
315
325
|
</span>
|
|
316
326
|
</td>
|
|
317
327
|
</tr>
|
|
318
|
-
<tr
|
|
328
|
+
<tr
|
|
329
|
+
class="notSelected"
|
|
330
|
+
>
|
|
319
331
|
<td>
|
|
320
332
|
<span
|
|
321
333
|
class="view forceRow column text"
|
|
@@ -350,7 +362,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
350
362
|
/>
|
|
351
363
|
</td>
|
|
352
364
|
</tr>
|
|
353
|
-
<tr
|
|
365
|
+
<tr
|
|
366
|
+
class="notSelected"
|
|
367
|
+
>
|
|
354
368
|
<td>
|
|
355
369
|
<span
|
|
356
370
|
class="view forceRow column text"
|
|
@@ -383,7 +397,9 @@ exports[`component:<Table> inherit:className 1`] = `
|
|
|
383
397
|
/>
|
|
384
398
|
</td>
|
|
385
399
|
</tr>
|
|
386
|
-
<tr
|
|
400
|
+
<tr
|
|
401
|
+
class="notSelected"
|
|
402
|
+
>
|
|
387
403
|
<td>
|
|
388
404
|
<span
|
|
389
405
|
class="view forceRow column text"
|
|
@@ -557,7 +573,9 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
557
573
|
class="table"
|
|
558
574
|
>
|
|
559
575
|
<thead>
|
|
560
|
-
<tr
|
|
576
|
+
<tr
|
|
577
|
+
class="notSelected"
|
|
578
|
+
>
|
|
561
579
|
<th>
|
|
562
580
|
<span
|
|
563
581
|
class="view forceRow column"
|
|
@@ -867,7 +885,9 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
867
885
|
</tr>
|
|
868
886
|
</thead>
|
|
869
887
|
<tbody>
|
|
870
|
-
<tr
|
|
888
|
+
<tr
|
|
889
|
+
class="notSelected"
|
|
890
|
+
>
|
|
871
891
|
<td>
|
|
872
892
|
<span
|
|
873
893
|
class="view forceRow column text"
|
|
@@ -904,7 +924,9 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
904
924
|
</span>
|
|
905
925
|
</td>
|
|
906
926
|
</tr>
|
|
907
|
-
<tr
|
|
927
|
+
<tr
|
|
928
|
+
class="notSelected"
|
|
929
|
+
>
|
|
908
930
|
<td>
|
|
909
931
|
<span
|
|
910
932
|
class="view forceRow column text"
|
|
@@ -939,7 +961,9 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
939
961
|
/>
|
|
940
962
|
</td>
|
|
941
963
|
</tr>
|
|
942
|
-
<tr
|
|
964
|
+
<tr
|
|
965
|
+
class="notSelected"
|
|
966
|
+
>
|
|
943
967
|
<td>
|
|
944
968
|
<span
|
|
945
969
|
class="view forceRow column text"
|
|
@@ -972,7 +996,9 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
972
996
|
/>
|
|
973
997
|
</td>
|
|
974
998
|
</tr>
|
|
975
|
-
<tr
|
|
999
|
+
<tr
|
|
1000
|
+
class="notSelected"
|
|
1001
|
+
>
|
|
976
1002
|
<td>
|
|
977
1003
|
<span
|
|
978
1004
|
class="view forceRow column text"
|
|
@@ -1020,7 +1046,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1020
1046
|
class="table"
|
|
1021
1047
|
>
|
|
1022
1048
|
<thead>
|
|
1023
|
-
<tr
|
|
1049
|
+
<tr
|
|
1050
|
+
class="notSelected"
|
|
1051
|
+
>
|
|
1024
1052
|
<th>
|
|
1025
1053
|
<span
|
|
1026
1054
|
class="view forceRow column"
|
|
@@ -1190,7 +1218,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1190
1218
|
</tr>
|
|
1191
1219
|
</thead>
|
|
1192
1220
|
<tbody>
|
|
1193
|
-
<tr
|
|
1221
|
+
<tr
|
|
1222
|
+
class="notSelected"
|
|
1223
|
+
>
|
|
1194
1224
|
<td>
|
|
1195
1225
|
<span
|
|
1196
1226
|
class="view forceRow column text"
|
|
@@ -1223,7 +1253,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1223
1253
|
/>
|
|
1224
1254
|
</td>
|
|
1225
1255
|
</tr>
|
|
1226
|
-
<tr
|
|
1256
|
+
<tr
|
|
1257
|
+
class="notSelected"
|
|
1258
|
+
>
|
|
1227
1259
|
<td>
|
|
1228
1260
|
<span
|
|
1229
1261
|
class="view forceRow column text"
|
|
@@ -1256,7 +1288,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1256
1288
|
/>
|
|
1257
1289
|
</td>
|
|
1258
1290
|
</tr>
|
|
1259
|
-
<tr
|
|
1291
|
+
<tr
|
|
1292
|
+
class="notSelected"
|
|
1293
|
+
>
|
|
1260
1294
|
<td>
|
|
1261
1295
|
<span
|
|
1262
1296
|
class="view forceRow column text"
|
|
@@ -1289,7 +1323,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1289
1323
|
/>
|
|
1290
1324
|
</td>
|
|
1291
1325
|
</tr>
|
|
1292
|
-
<tr
|
|
1326
|
+
<tr
|
|
1327
|
+
class="notSelected"
|
|
1328
|
+
>
|
|
1293
1329
|
<td>
|
|
1294
1330
|
<span
|
|
1295
1331
|
class="view forceRow column text"
|
|
@@ -1326,7 +1362,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1326
1362
|
</span>
|
|
1327
1363
|
</td>
|
|
1328
1364
|
</tr>
|
|
1329
|
-
<tr
|
|
1365
|
+
<tr
|
|
1366
|
+
class="notSelected"
|
|
1367
|
+
>
|
|
1330
1368
|
<td>
|
|
1331
1369
|
<span
|
|
1332
1370
|
class="view forceRow column text"
|
|
@@ -1361,7 +1399,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1361
1399
|
/>
|
|
1362
1400
|
</td>
|
|
1363
1401
|
</tr>
|
|
1364
|
-
<tr
|
|
1402
|
+
<tr
|
|
1403
|
+
class="notSelected"
|
|
1404
|
+
>
|
|
1365
1405
|
<td>
|
|
1366
1406
|
<span
|
|
1367
1407
|
class="view forceRow column text"
|
|
@@ -1394,7 +1434,9 @@ exports[`component:<Table> prop:inline (false 1`] = `
|
|
|
1394
1434
|
/>
|
|
1395
1435
|
</td>
|
|
1396
1436
|
</tr>
|
|
1397
|
-
<tr
|
|
1437
|
+
<tr
|
|
1438
|
+
class="notSelected"
|
|
1439
|
+
>
|
|
1398
1440
|
<td>
|
|
1399
1441
|
<span
|
|
1400
1442
|
class="view forceRow column text"
|
|
@@ -1444,6 +1486,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1444
1486
|
>
|
|
1445
1487
|
<thead>
|
|
1446
1488
|
<tr
|
|
1489
|
+
class="notSelected"
|
|
1447
1490
|
data-testid="onScroll-head"
|
|
1448
1491
|
>
|
|
1449
1492
|
<th
|
|
@@ -1626,6 +1669,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1626
1669
|
</thead>
|
|
1627
1670
|
<tbody>
|
|
1628
1671
|
<tr
|
|
1672
|
+
class="notSelected"
|
|
1629
1673
|
data-testid="onScroll-0"
|
|
1630
1674
|
>
|
|
1631
1675
|
<td
|
|
@@ -1671,6 +1715,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1671
1715
|
</td>
|
|
1672
1716
|
</tr>
|
|
1673
1717
|
<tr
|
|
1718
|
+
class="notSelected"
|
|
1674
1719
|
data-testid="onScroll-1"
|
|
1675
1720
|
>
|
|
1676
1721
|
<td
|
|
@@ -1716,6 +1761,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1716
1761
|
</td>
|
|
1717
1762
|
</tr>
|
|
1718
1763
|
<tr
|
|
1764
|
+
class="notSelected"
|
|
1719
1765
|
data-testid="onScroll-2"
|
|
1720
1766
|
>
|
|
1721
1767
|
<td
|
|
@@ -1761,6 +1807,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1761
1807
|
</td>
|
|
1762
1808
|
</tr>
|
|
1763
1809
|
<tr
|
|
1810
|
+
class="notSelected"
|
|
1764
1811
|
data-testid="onScroll-3"
|
|
1765
1812
|
>
|
|
1766
1813
|
<td
|
|
@@ -1810,6 +1857,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1810
1857
|
</td>
|
|
1811
1858
|
</tr>
|
|
1812
1859
|
<tr
|
|
1860
|
+
class="notSelected"
|
|
1813
1861
|
data-testid="onScroll-4"
|
|
1814
1862
|
>
|
|
1815
1863
|
<td
|
|
@@ -1857,6 +1905,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1857
1905
|
</td>
|
|
1858
1906
|
</tr>
|
|
1859
1907
|
<tr
|
|
1908
|
+
class="notSelected"
|
|
1860
1909
|
data-testid="onScroll-5"
|
|
1861
1910
|
>
|
|
1862
1911
|
<td
|
|
@@ -1902,6 +1951,7 @@ exports[`component:<Table> prop:onScroll 1`] = `
|
|
|
1902
1951
|
</td>
|
|
1903
1952
|
</tr>
|
|
1904
1953
|
<tr
|
|
1954
|
+
class="notSelected"
|
|
1905
1955
|
data-testid="onScroll-6"
|
|
1906
1956
|
>
|
|
1907
1957
|
<td
|
|
@@ -1963,6 +2013,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
1963
2013
|
>
|
|
1964
2014
|
<thead>
|
|
1965
2015
|
<tr
|
|
2016
|
+
class="notSelected"
|
|
1966
2017
|
data-testid="onSelect-head"
|
|
1967
2018
|
>
|
|
1968
2019
|
<th
|
|
@@ -2160,6 +2211,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2160
2211
|
</thead>
|
|
2161
2212
|
<tbody>
|
|
2162
2213
|
<tr
|
|
2214
|
+
class="notSelected"
|
|
2163
2215
|
data-testid="onSelect-0"
|
|
2164
2216
|
>
|
|
2165
2217
|
<td
|
|
@@ -2220,6 +2272,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2220
2272
|
</td>
|
|
2221
2273
|
</tr>
|
|
2222
2274
|
<tr
|
|
2275
|
+
class="notSelected"
|
|
2223
2276
|
data-testid="onSelect-1"
|
|
2224
2277
|
>
|
|
2225
2278
|
<td
|
|
@@ -2280,6 +2333,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2280
2333
|
</td>
|
|
2281
2334
|
</tr>
|
|
2282
2335
|
<tr
|
|
2336
|
+
class="notSelected"
|
|
2283
2337
|
data-testid="onSelect-2"
|
|
2284
2338
|
>
|
|
2285
2339
|
<td
|
|
@@ -2340,6 +2394,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2340
2394
|
</td>
|
|
2341
2395
|
</tr>
|
|
2342
2396
|
<tr
|
|
2397
|
+
class="notSelected"
|
|
2343
2398
|
data-testid="onSelect-3"
|
|
2344
2399
|
>
|
|
2345
2400
|
<td
|
|
@@ -2404,6 +2459,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2404
2459
|
</td>
|
|
2405
2460
|
</tr>
|
|
2406
2461
|
<tr
|
|
2462
|
+
class="notSelected"
|
|
2407
2463
|
data-testid="onSelect-4"
|
|
2408
2464
|
>
|
|
2409
2465
|
<td
|
|
@@ -2466,6 +2522,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2466
2522
|
</td>
|
|
2467
2523
|
</tr>
|
|
2468
2524
|
<tr
|
|
2525
|
+
class="notSelected"
|
|
2469
2526
|
data-testid="onSelect-5"
|
|
2470
2527
|
>
|
|
2471
2528
|
<td
|
|
@@ -2526,6 +2583,7 @@ exports[`component:<Table> prop:onSelect 1`] = `
|
|
|
2526
2583
|
</td>
|
|
2527
2584
|
</tr>
|
|
2528
2585
|
<tr
|
|
2586
|
+
class="notSelected"
|
|
2529
2587
|
data-testid="onSelect-6"
|
|
2530
2588
|
>
|
|
2531
2589
|
<td
|
|
@@ -2600,7 +2658,9 @@ exports[`component:<Table> prop:search 1`] = `
|
|
|
2600
2658
|
class="table"
|
|
2601
2659
|
>
|
|
2602
2660
|
<thead>
|
|
2603
|
-
<tr
|
|
2661
|
+
<tr
|
|
2662
|
+
class="notSelected"
|
|
2663
|
+
>
|
|
2604
2664
|
<th>
|
|
2605
2665
|
<span
|
|
2606
2666
|
class="view forceRow column"
|
|
@@ -2770,7 +2830,9 @@ exports[`component:<Table> prop:search 1`] = `
|
|
|
2770
2830
|
</tr>
|
|
2771
2831
|
</thead>
|
|
2772
2832
|
<tbody>
|
|
2773
|
-
<tr
|
|
2833
|
+
<tr
|
|
2834
|
+
class="notSelected"
|
|
2835
|
+
>
|
|
2774
2836
|
<td>
|
|
2775
2837
|
<span
|
|
2776
2838
|
class="view forceRow column text"
|
|
@@ -2820,7 +2882,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
2820
2882
|
class="table"
|
|
2821
2883
|
>
|
|
2822
2884
|
<thead>
|
|
2823
|
-
<tr
|
|
2885
|
+
<tr
|
|
2886
|
+
class="notSelected"
|
|
2887
|
+
>
|
|
2824
2888
|
<th>
|
|
2825
2889
|
<span
|
|
2826
2890
|
class="view forceRow column"
|
|
@@ -2990,7 +3054,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
2990
3054
|
</tr>
|
|
2991
3055
|
</thead>
|
|
2992
3056
|
<tbody>
|
|
2993
|
-
<tr
|
|
3057
|
+
<tr
|
|
3058
|
+
class="notSelected"
|
|
3059
|
+
>
|
|
2994
3060
|
<td>
|
|
2995
3061
|
<span
|
|
2996
3062
|
class="view forceRow column text"
|
|
@@ -3023,7 +3089,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
3023
3089
|
/>
|
|
3024
3090
|
</td>
|
|
3025
3091
|
</tr>
|
|
3026
|
-
<tr
|
|
3092
|
+
<tr
|
|
3093
|
+
class="notSelected"
|
|
3094
|
+
>
|
|
3027
3095
|
<td>
|
|
3028
3096
|
<span
|
|
3029
3097
|
class="view forceRow column text"
|
|
@@ -3056,7 +3124,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
3056
3124
|
/>
|
|
3057
3125
|
</td>
|
|
3058
3126
|
</tr>
|
|
3059
|
-
<tr
|
|
3127
|
+
<tr
|
|
3128
|
+
class="notSelected"
|
|
3129
|
+
>
|
|
3060
3130
|
<td>
|
|
3061
3131
|
<span
|
|
3062
3132
|
class="view forceRow column text"
|
|
@@ -3089,7 +3159,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
3089
3159
|
/>
|
|
3090
3160
|
</td>
|
|
3091
3161
|
</tr>
|
|
3092
|
-
<tr
|
|
3162
|
+
<tr
|
|
3163
|
+
class="notSelected"
|
|
3164
|
+
>
|
|
3093
3165
|
<td>
|
|
3094
3166
|
<span
|
|
3095
3167
|
class="view forceRow column text"
|
|
@@ -3163,7 +3235,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
3163
3235
|
/>
|
|
3164
3236
|
</td>
|
|
3165
3237
|
</tr>
|
|
3166
|
-
<tr
|
|
3238
|
+
<tr
|
|
3239
|
+
class="notSelected"
|
|
3240
|
+
>
|
|
3167
3241
|
<td>
|
|
3168
3242
|
<span
|
|
3169
3243
|
class="view forceRow column text"
|
|
@@ -3196,7 +3270,9 @@ exports[`component:<Table> prop:selected 1`] = `
|
|
|
3196
3270
|
/>
|
|
3197
3271
|
</td>
|
|
3198
3272
|
</tr>
|
|
3199
|
-
<tr
|
|
3273
|
+
<tr
|
|
3274
|
+
class="notSelected"
|
|
3275
|
+
>
|
|
3200
3276
|
<td>
|
|
3201
3277
|
<span
|
|
3202
3278
|
class="view forceRow column text"
|
|
@@ -3292,7 +3368,9 @@ exports[`component:<Table> prop:store 1`] = `
|
|
|
3292
3368
|
class="table"
|
|
3293
3369
|
>
|
|
3294
3370
|
<thead>
|
|
3295
|
-
<tr
|
|
3371
|
+
<tr
|
|
3372
|
+
class="notSelected"
|
|
3373
|
+
>
|
|
3296
3374
|
<th>
|
|
3297
3375
|
<span
|
|
3298
3376
|
class="view forceRow column"
|
|
@@ -3616,7 +3694,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3616
3694
|
class="table"
|
|
3617
3695
|
>
|
|
3618
3696
|
<thead>
|
|
3619
|
-
<tr
|
|
3697
|
+
<tr
|
|
3698
|
+
class="notSelected"
|
|
3699
|
+
>
|
|
3620
3700
|
<th>
|
|
3621
3701
|
<span
|
|
3622
3702
|
class="view forceRow column"
|
|
@@ -3786,7 +3866,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3786
3866
|
</tr>
|
|
3787
3867
|
</thead>
|
|
3788
3868
|
<tbody>
|
|
3789
|
-
<tr
|
|
3869
|
+
<tr
|
|
3870
|
+
class="notSelected"
|
|
3871
|
+
>
|
|
3790
3872
|
<td>
|
|
3791
3873
|
<span
|
|
3792
3874
|
class="view forceRow column text"
|
|
@@ -3819,7 +3901,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3819
3901
|
/>
|
|
3820
3902
|
</td>
|
|
3821
3903
|
</tr>
|
|
3822
|
-
<tr
|
|
3904
|
+
<tr
|
|
3905
|
+
class="notSelected"
|
|
3906
|
+
>
|
|
3823
3907
|
<td>
|
|
3824
3908
|
<span
|
|
3825
3909
|
class="view forceRow column text"
|
|
@@ -3852,7 +3936,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3852
3936
|
/>
|
|
3853
3937
|
</td>
|
|
3854
3938
|
</tr>
|
|
3855
|
-
<tr
|
|
3939
|
+
<tr
|
|
3940
|
+
class="notSelected"
|
|
3941
|
+
>
|
|
3856
3942
|
<td>
|
|
3857
3943
|
<span
|
|
3858
3944
|
class="view forceRow column text"
|
|
@@ -3885,7 +3971,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3885
3971
|
/>
|
|
3886
3972
|
</td>
|
|
3887
3973
|
</tr>
|
|
3888
|
-
<tr
|
|
3974
|
+
<tr
|
|
3975
|
+
class="notSelected"
|
|
3976
|
+
>
|
|
3889
3977
|
<td>
|
|
3890
3978
|
<span
|
|
3891
3979
|
class="view forceRow column text"
|
|
@@ -3922,7 +4010,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3922
4010
|
</span>
|
|
3923
4011
|
</td>
|
|
3924
4012
|
</tr>
|
|
3925
|
-
<tr
|
|
4013
|
+
<tr
|
|
4014
|
+
class="notSelected"
|
|
4015
|
+
>
|
|
3926
4016
|
<td>
|
|
3927
4017
|
<span
|
|
3928
4018
|
class="view forceRow column text"
|
|
@@ -3957,7 +4047,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3957
4047
|
/>
|
|
3958
4048
|
</td>
|
|
3959
4049
|
</tr>
|
|
3960
|
-
<tr
|
|
4050
|
+
<tr
|
|
4051
|
+
class="notSelected"
|
|
4052
|
+
>
|
|
3961
4053
|
<td>
|
|
3962
4054
|
<span
|
|
3963
4055
|
class="view forceRow column text"
|
|
@@ -3990,7 +4082,9 @@ exports[`component:<Table> renders 1`] = `
|
|
|
3990
4082
|
/>
|
|
3991
4083
|
</td>
|
|
3992
4084
|
</tr>
|
|
3993
|
-
<tr
|
|
4085
|
+
<tr
|
|
4086
|
+
class="notSelected"
|
|
4087
|
+
>
|
|
3994
4088
|
<td>
|
|
3995
4089
|
<span
|
|
3996
4090
|
class="view forceRow column text"
|
|
@@ -4040,6 +4134,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4040
4134
|
>
|
|
4041
4135
|
<thead>
|
|
4042
4136
|
<tr
|
|
4137
|
+
class="notSelected"
|
|
4043
4138
|
data-testid="mirai-head"
|
|
4044
4139
|
>
|
|
4045
4140
|
<th
|
|
@@ -4222,6 +4317,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4222
4317
|
</thead>
|
|
4223
4318
|
<tbody>
|
|
4224
4319
|
<tr
|
|
4320
|
+
class="notSelected"
|
|
4225
4321
|
data-testid="mirai-0"
|
|
4226
4322
|
>
|
|
4227
4323
|
<td
|
|
@@ -4267,6 +4363,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4267
4363
|
</td>
|
|
4268
4364
|
</tr>
|
|
4269
4365
|
<tr
|
|
4366
|
+
class="notSelected"
|
|
4270
4367
|
data-testid="mirai-1"
|
|
4271
4368
|
>
|
|
4272
4369
|
<td
|
|
@@ -4312,6 +4409,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4312
4409
|
</td>
|
|
4313
4410
|
</tr>
|
|
4314
4411
|
<tr
|
|
4412
|
+
class="notSelected"
|
|
4315
4413
|
data-testid="mirai-2"
|
|
4316
4414
|
>
|
|
4317
4415
|
<td
|
|
@@ -4357,6 +4455,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4357
4455
|
</td>
|
|
4358
4456
|
</tr>
|
|
4359
4457
|
<tr
|
|
4458
|
+
class="notSelected"
|
|
4360
4459
|
data-testid="mirai-3"
|
|
4361
4460
|
>
|
|
4362
4461
|
<td
|
|
@@ -4406,6 +4505,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4406
4505
|
</td>
|
|
4407
4506
|
</tr>
|
|
4408
4507
|
<tr
|
|
4508
|
+
class="notSelected"
|
|
4409
4509
|
data-testid="mirai-4"
|
|
4410
4510
|
>
|
|
4411
4511
|
<td
|
|
@@ -4453,6 +4553,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4453
4553
|
</td>
|
|
4454
4554
|
</tr>
|
|
4455
4555
|
<tr
|
|
4556
|
+
class="notSelected"
|
|
4456
4557
|
data-testid="mirai-5"
|
|
4457
4558
|
>
|
|
4458
4559
|
<td
|
|
@@ -4498,6 +4599,7 @@ exports[`component:<Table> testId 1`] = `
|
|
|
4498
4599
|
</td>
|
|
4499
4600
|
</tr>
|
|
4500
4601
|
<tr
|
|
4602
|
+
class="notSelected"
|
|
4501
4603
|
data-testid="mirai-6"
|
|
4502
4604
|
>
|
|
4503
4605
|
<td
|
|
@@ -86,7 +86,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
86
86
|
return setVisible(false);
|
|
87
87
|
}), _defineProperty(_objectSpread2, "className", (0, _helpers.styles)(_TooltipModule.default.dispatcher, child.props.className)), _defineProperty(_objectSpread2, "testId", testId ? "".concat(testId, "-dispatcher") : undefined), _objectSpread2)));
|
|
88
88
|
}), /*#__PURE__*/_react.default.createElement(_primitives.LayerContent, null, /*#__PURE__*/_react.default.createElement(_primitives.View, _extends({}, others, {
|
|
89
|
-
className: (0, _helpers.styles)(_TooltipModule.default.tooltip,
|
|
89
|
+
className: (0, _helpers.styles)(_TooltipModule.default.tooltip, propLeft || propRight ? _TooltipModule.default.align : _TooltipModule.default.notAlign, left && _TooltipModule.default.left, right && _TooltipModule.default.right, !left && !right && _TooltipModule.default.default, top ? _TooltipModule.default.top : _TooltipModule.default.bottom, others.className)
|
|
90
90
|
}), Template ? /*#__PURE__*/_react.default.createElement(Template, null) : /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
91
91
|
bold: true,
|
|
92
92
|
small: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","names":["Tooltip","children","propLeft","left","pressable","propRight","right","Template","text","timestamp","propTop","top","visible","propVisible","inherit","useState","setVisible","position","setPosition","fixed","role","testId","others","React","Children","map","child","index","cloneElement","key","props","onClick","undefined","isPressableInstance","styles","style","dispatcher","className","tooltip","align","bottom","propTypes","PropTypes","node","isRequired","bool","oneOfType","func","string","number"],"sources":["../../../src/components/Tooltip/Tooltip.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React, { useState } from 'react';\n\nimport { styles } from '../../helpers';\nimport { Layer, LayerContent, Text, View } from '../../primitives';\nimport { isPressableInstance } from './helpers';\nimport style from './Tooltip.module.css';\n\nconst Tooltip = ({\n children,\n left: propLeft,\n pressable = false,\n right: propRight,\n Template,\n text,\n timestamp,\n top: propTop,\n visible: propVisible = false,\n ...inherit\n}) => {\n const [visible, setVisible] = useState(propVisible);\n const [position, setPosition] = useState({});\n\n const { fixed, role = 'tooltip', testId, ...others } = inherit;\n const { left, right, top = propTop } = position;\n\n return text || Template ? (\n <Layer\n {...{ fixed, role, testId, timestamp, top, visible }}\n centered\n forceRender={false}\n left={propLeft}\n right={propRight}\n onPosition={setPosition}\n >\n {React.Children.map(children, (child, index) =>\n React.cloneElement(child, {\n key: index,\n ...child.props,\n onClick: pressable ? () => setVisible(!visible) : undefined,\n [isPressableInstance(child) ? 'onEnter' : 'onMouseEnter']: !pressable ? () => setVisible(true) : undefined,\n [isPressableInstance(child) ? 'onLeave' : 'onMouseLeave']: () => setVisible(false),\n className: styles(style.dispatcher, child.props.className),\n testId: testId ? `${testId}-dispatcher` : undefined,\n }),\n )}\n\n <LayerContent>\n <View\n {...others}\n className={styles(\n style.tooltip,\n
|
|
1
|
+
{"version":3,"file":"Tooltip.js","names":["Tooltip","children","propLeft","left","pressable","propRight","right","Template","text","timestamp","propTop","top","visible","propVisible","inherit","useState","setVisible","position","setPosition","fixed","role","testId","others","React","Children","map","child","index","cloneElement","key","props","onClick","undefined","isPressableInstance","styles","style","dispatcher","className","tooltip","align","notAlign","default","bottom","propTypes","PropTypes","node","isRequired","bool","oneOfType","func","string","number"],"sources":["../../../src/components/Tooltip/Tooltip.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React, { useState } from 'react';\n\nimport { styles } from '../../helpers';\nimport { Layer, LayerContent, Text, View } from '../../primitives';\nimport { isPressableInstance } from './helpers';\nimport style from './Tooltip.module.css';\n\nconst Tooltip = ({\n children,\n left: propLeft,\n pressable = false,\n right: propRight,\n Template,\n text,\n timestamp,\n top: propTop,\n visible: propVisible = false,\n ...inherit\n}) => {\n const [visible, setVisible] = useState(propVisible);\n const [position, setPosition] = useState({});\n\n const { fixed, role = 'tooltip', testId, ...others } = inherit;\n const { left, right, top = propTop } = position;\n\n return text || Template ? (\n <Layer\n {...{ fixed, role, testId, timestamp, top, visible }}\n centered\n forceRender={false}\n left={propLeft}\n right={propRight}\n onPosition={setPosition}\n >\n {React.Children.map(children, (child, index) =>\n React.cloneElement(child, {\n key: index,\n ...child.props,\n onClick: pressable ? () => setVisible(!visible) : undefined,\n [isPressableInstance(child) ? 'onEnter' : 'onMouseEnter']: !pressable ? () => setVisible(true) : undefined,\n [isPressableInstance(child) ? 'onLeave' : 'onMouseLeave']: () => setVisible(false),\n className: styles(style.dispatcher, child.props.className),\n testId: testId ? `${testId}-dispatcher` : undefined,\n }),\n )}\n\n <LayerContent>\n <View\n {...others}\n className={styles(\n style.tooltip,\n propLeft || propRight ? style.align : style.notAlign,\n left && style.left,\n right && style.right,\n !left && !right && style.default,\n top ? style.top : style.bottom,\n others.className,\n )}\n >\n {Template ? (\n <Template />\n ) : (\n <Text bold small className={style.text}>\n {text}\n </Text>\n )}\n </View>\n </LayerContent>\n </Layer>\n ) : (\n <>{children}</>\n );\n};\n\nTooltip.propTypes = {\n children: PropTypes.node.isRequired,\n left: PropTypes.bool,\n pressable: PropTypes.bool,\n right: PropTypes.bool,\n Template: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n text: PropTypes.string,\n timestamp: PropTypes.number,\n top: PropTypes.bool,\n visible: PropTypes.bool,\n};\n\nexport { Tooltip };\n"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AAAyC;EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEzC,IAAMA,OAAO,GAA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AGP,QAAQ,CACZ;AACH,CAAC;AAAC;AAEFD,OAAO,CAAC2C,SAAS,GAAG;EAClB1C,QAAQ,EAAE2C,kBAAS,CAACC,IAAI,CAACC,UAAU;EACnC3C,IAAI,EAAEyC,kBAAS,CAACG,IAAI;EACpB3C,SAAS,EAAEwC,kBAAS,CAACG,IAAI;EACzBzC,KAAK,EAAEsC,kBAAS,CAACG,IAAI;EACrBxC,QAAQ,EAAEqC,kBAAS,CAACI,SAAS,CAAC,CAACJ,kBAAS,CAACC,IAAI,EAAED,kBAAS,CAACK,IAAI,CAAC,CAAC;EAC/DzC,IAAI,EAAEoC,kBAAS,CAACM,MAAM;EACtBzC,SAAS,EAAEmC,kBAAS,CAACO,MAAM;EAC3BxC,GAAG,EAAEiC,kBAAS,CAACG,IAAI;EACnBnC,OAAO,EAAEgC,kBAAS,CAACG;AACrB,CAAC"}
|
|
@@ -22,25 +22,25 @@
|
|
|
22
22
|
width: 0;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.tooltip
|
|
25
|
+
.tooltip.notAlign.default:before {
|
|
26
26
|
left: calc(50% - calc(var(--mirai-ui-tooltip-space) / 2));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.tooltip.top
|
|
29
|
+
.tooltip.top.notAlign:before {
|
|
30
30
|
border-color: var(--mirai-ui-tooltip-background) transparent transparent transparent;
|
|
31
31
|
bottom: calc(calc(var(--mirai-ui-tooltip-space) / 2) * -1);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.tooltip.bottom
|
|
34
|
+
.tooltip.bottom.notAlign:before {
|
|
35
35
|
border-color: transparent transparent var(--mirai-ui-tooltip-background) transparent;
|
|
36
36
|
top: calc(calc(var(--mirai-ui-tooltip-space) / 2) * -1);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.tooltip.left
|
|
39
|
+
.tooltip.left.notAlign:before {
|
|
40
40
|
left: calc(var(--mirai-ui-tooltip-space) * 2);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.tooltip.right
|
|
43
|
+
.tooltip.right.notAlign:before {
|
|
44
44
|
right: calc(var(--mirai-ui-tooltip-space) * 2);
|
|
45
45
|
}
|
|
46
46
|
|