@boxcustodia/library 1.7.4 → 1.7.6
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/index.es100.js +1 -1
- package/dist/index.es105.js +3 -310
- package/dist/index.es106.js +4 -13
- package/dist/index.es107.js +15 -55
- package/dist/index.es108.js +4 -54
- package/dist/index.es109.js +56 -113
- package/dist/index.es110.js +27 -44
- package/dist/index.es111.js +21 -24
- package/dist/index.es112.js +10 -31
- package/dist/index.es113.js +55 -10
- package/dist/index.es114.js +53 -39
- package/dist/index.es115.js +113 -57
- package/dist/index.es116.js +44 -18
- package/dist/index.es117.js +22 -38
- package/dist/index.es118.js +29 -257
- package/dist/index.es119.js +14 -7
- package/dist/index.es120.js +310 -3
- package/dist/index.es121.js +13 -4
- package/dist/index.es122.js +58 -15
- package/dist/index.es123.js +39 -5
- package/dist/index.es124.js +13 -57
- package/dist/index.es125.js +14 -22
- package/dist/index.es126.js +39 -18
- package/dist/index.es127.js +17 -38
- package/dist/index.es128.js +41 -14
- package/dist/index.es129.js +1 -1
- package/dist/index.es130.js +23 -24
- package/dist/index.es134.js +259 -4
- package/dist/index.es135.js +19 -23
- package/dist/index.es136.js +7 -4
- package/dist/index.es137.js +3 -3
- package/dist/index.es138.js +10 -22
- package/dist/index.es139.js +6 -3
- package/dist/index.es140.js +846 -17
- package/dist/index.es141.js +4 -21
- package/dist/index.es142.js +4 -4
- package/dist/index.es143.js +69 -10
- package/dist/index.es144.js +4 -224
- package/dist/index.es145.js +224 -10
- package/dist/index.es146.js +10 -41
- package/dist/index.es147.js +41 -4
- package/dist/index.es148.js +237 -15
- package/dist/index.es149.js +4 -44
- package/dist/index.es150.js +19 -22
- package/dist/index.es151.js +21 -7
- package/dist/index.es152.js +18 -13
- package/dist/index.es153.js +40 -65
- package/dist/index.es154.js +32 -847
- package/dist/index.es155.js +5 -239
- package/dist/index.es156.js +22 -33
- package/dist/index.es157.js +10 -6
- package/dist/index.es158.js +215 -16
- package/dist/index.es159.js +78 -14
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +92 -13
- package/dist/index.es161.js +352 -14
- package/dist/index.es162.js +120 -212
- package/dist/index.es163.js +16 -77
- package/dist/index.es164.js +14 -92
- package/dist/index.es165.js +13 -352
- package/dist/index.es166.js +14 -124
- package/dist/index.es167.js +2 -2
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +18 -14
- package/dist/index.es173.js +35 -32
- package/dist/index.es174.js +3674 -10
- package/dist/index.es175.js +5 -26
- package/dist/index.es176.js +2 -19
- package/dist/index.es177.js +20 -35
- package/dist/index.es178.js +33 -17
- package/dist/index.es179.js +7 -33
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +25 -9
- package/dist/index.es181.js +205 -7
- package/dist/index.es182.js +12 -65
- package/dist/index.es183.js +31 -123
- package/dist/index.es184.js +10 -134
- package/dist/index.es185.js +45 -14
- package/dist/index.es186.js +6 -14
- package/dist/index.es187.js +68 -9
- package/dist/index.es188.js +122 -47
- package/dist/index.es189.js +133 -203
- package/dist/index.es190.js +14 -3675
- package/dist/index.es191.js +14 -5
- package/dist/index.es192.js +9 -2
- package/dist/index.es193.js +47 -42
- package/dist/index.es194.js +3 -649
- package/dist/index.es195.js +217 -3
- package/dist/index.es196.js +3 -217
- package/dist/index.es197.js +45 -3
- package/dist/index.es198.js +7 -45
- package/dist/index.es199.js +5 -7
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +28 -6
- package/dist/index.es201.js +646 -24
- package/dist/index.es202.js +3 -2
- package/dist/index.es203.js +2 -4
- package/dist/index.es204.js +2052 -23
- package/dist/index.es205.js +26 -17
- package/dist/index.es206.js +2498 -37
- package/dist/index.es207.js +35 -18
- package/dist/index.es208.js +118 -3
- package/dist/index.es209.js +4 -2
- package/dist/index.es210.js +2 -2054
- package/dist/index.es211.js +7 -25
- package/dist/index.es212.js +5 -2498
- package/dist/index.es213.js +6 -35
- package/dist/index.es214.js +18 -118
- package/dist/index.es215.js +5 -5
- package/dist/index.es216.js +7 -84
- package/dist/index.es217.js +5 -5
- package/dist/index.es218.js +13 -17
- package/dist/index.es219.js +15 -9
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +8 -6
- package/dist/index.es221.js +6 -5
- package/dist/index.es222.js +2 -2
- package/dist/index.es223.js +5 -11
- package/dist/index.es224.js +15 -19
- package/dist/index.es225.js +6 -14
- package/dist/index.es226.js +6 -6
- package/dist/index.es227.js +6 -6
- package/dist/index.es228.js +5 -53
- package/dist/index.es229.js +580 -10
- package/dist/index.es230.js +50 -7
- package/dist/index.es231.js +17 -10
- package/dist/index.es232.js +6 -7
- package/dist/index.es233.js +18 -16
- package/dist/index.es234.js +8 -6
- package/dist/index.es235.js +5 -5
- package/dist/index.es236.js +6 -7
- package/dist/index.es237.js +5 -10
- package/dist/index.es238.js +6 -11
- package/dist/index.es239.js +9 -7
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +5 -5
- package/dist/index.es241.js +8 -5
- package/dist/index.es242.js +13 -7
- package/dist/index.es243.js +9 -5
- package/dist/index.es244.js +8 -13
- package/dist/index.es245.js +10 -15
- package/dist/index.es246.js +14 -8
- package/dist/index.es247.js +5 -5
- package/dist/index.es248.js +11 -4
- package/dist/index.es249.js +10 -580
- package/dist/index.es250.js +11 -50
- package/dist/index.es251.js +6 -17
- package/dist/index.es252.js +9 -6
- package/dist/index.es253.js +83 -18
- package/dist/index.es254.js +38 -8
- package/dist/index.es255.js +65 -7
- package/dist/index.es256.js +9 -7
- package/dist/index.es257.js +8 -5
- package/dist/index.es258.js +7 -6
- package/dist/index.es259.js +10 -9
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +7 -5
- package/dist/index.es261.js +7 -8
- package/dist/index.es262.js +6 -12
- package/dist/index.es263.js +5 -9
- package/dist/index.es264.js +15 -10
- package/dist/index.es265.js +25 -15
- package/dist/index.es266.js +17 -39
- package/dist/index.es267.js +38 -65
- package/dist/index.es268.js +18 -10
- package/dist/index.es269.js +11 -8
- package/dist/index.es270.js +204 -7
- package/dist/index.es271.js +22 -8
- package/dist/index.es272.js +24 -15
- package/dist/index.es273.js +385 -170
- package/dist/index.es274.js +17 -29
- package/dist/index.es275.js +51 -203
- package/dist/index.es276.js +17 -22
- package/dist/index.es277.js +30 -24
- package/dist/index.es278.js +7 -392
- package/dist/index.es279.js +2 -8
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +23 -2
- package/dist/index.es281.js +11 -11
- package/dist/index.es282.js +20 -22
- package/dist/index.es283.js +2 -21
- package/dist/index.es284.js +9406 -2
- package/dist/index.es285.js +14903 -8997
- package/dist/index.es286.js +3 -15312
- package/dist/index.es287.js +61 -3
- package/dist/index.es288.js +8 -59
- package/dist/index.es289.js +3 -10
- package/dist/index.es290.js +5 -3
- package/dist/index.es291.js +178 -5
- package/dist/index.es292.js +8 -12
- package/dist/index.es293.js +3 -8
- package/dist/index.es294.js +45 -3
- package/dist/index.es295.js +27 -43
- package/dist/index.es296.js +54 -26
- package/dist/index.es297.js +18 -55
- package/dist/index.es298.js +21 -19
- package/dist/index.es299.js +44 -21
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +29 -42
- package/dist/index.es301.js +80 -28
- package/dist/index.es302.js +5 -82
- package/dist/index.es303.js +14 -6
- package/dist/index.es304.js +41 -12
- package/dist/index.es305.js +32 -42
- package/dist/index.es306.js +24 -30
- package/dist/index.es307.js +25 -27
- package/dist/index.es308.js +6 -24
- package/dist/index.es309.js +419 -6
- package/dist/index.es310.js +9 -417
- package/dist/index.es311.js +33 -11
- package/dist/index.es312.js +12 -35
- package/dist/index.es313.js +14 -24
- package/dist/index.es314.js +3 -29
- package/dist/index.es315.js +5 -5
- package/dist/index.es316.js +56 -14
- package/dist/index.es317.js +31 -3
- package/dist/index.es318.js +46 -4
- package/dist/index.es319.js +64 -54
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +32 -25
- package/dist/index.es321.js +13 -41
- package/dist/index.es322.js +53 -47
- package/dist/index.es323.js +55 -20
- package/dist/index.es324.js +69 -13
- package/dist/index.es325.js +49 -47
- package/dist/index.es326.js +26 -53
- package/dist/index.es327.js +26 -54
- package/dist/index.es328.js +37 -53
- package/dist/index.es329.js +25 -22
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +38 -38
- package/dist/index.es331.js +59 -40
- package/dist/index.es332.js +56 -27
- package/dist/index.es333.js +90 -34
- package/dist/index.es334.js +32 -63
- package/dist/index.es335.js +35 -66
- package/dist/index.es336.js +38 -94
- package/dist/index.es337.js +23 -39
- package/dist/index.es338.js +22 -39
- package/dist/index.es339.js +22 -39
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +19 -19
- package/dist/index.es341.js +18 -18
- package/dist/index.es342.js +18 -18
- package/dist/index.es343.js +14 -25
- package/dist/index.es344.js +38 -22
- package/dist/index.es345.js +38 -22
- package/dist/index.es346.js +14 -14
- package/dist/index.es347.js +14 -40
- package/dist/index.es348.js +23 -44
- package/dist/index.es349.js +29 -20
- package/dist/index.es350.js +5 -20
- package/dist/index.es353.js +1 -1
- package/dist/index.es354.js +2 -2
- package/dist/index.es355.js +1 -1
- package/dist/index.es367.js +3 -3
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +23 -23
- package/dist/index.es391.js +2 -2
- package/dist/index.es394.js +1 -1
- package/dist/index.es395.js +68 -5
- package/dist/index.es396.js +31 -3
- package/dist/index.es397.js +9 -24
- package/dist/index.es398.js +152 -109
- package/dist/index.es399.js +107 -15
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +19 -67
- package/dist/index.es401.js +101 -31
- package/dist/index.es402.js +47 -9
- package/dist/index.es403.js +5 -153
- package/dist/index.es404.js +3 -108
- package/dist/index.es405.js +24 -68
- package/dist/index.es406.js +110 -31
- package/dist/index.es407.js +16 -16
- package/dist/index.es408.js +520 -138
- package/dist/index.es409.js +126 -113
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +126 -17
- package/dist/index.es411.js +67 -100
- package/dist/index.es412.js +30 -46
- package/dist/index.es413.js +16 -6
- package/dist/index.es414.js +141 -15
- package/dist/index.es415.js +114 -2
- package/dist/index.es416.js +2 -8
- package/dist/index.es417.js +218 -314
- package/dist/index.es418.js +233 -49
- package/dist/index.es419.js +5 -3
- package/dist/index.es420.js +15 -2
- package/dist/index.es421.js +2 -231
- package/dist/index.es422.js +7 -233
- package/dist/index.es423.js +305 -501
- package/dist/index.es424.js +48 -125
- package/dist/index.es425.js +3 -128
- package/dist/index.es44.js +3 -3
- package/dist/index.es449.js +23 -270
- package/dist/index.es45.js +1 -1
- package/dist/index.es450.js +5 -79
- package/dist/index.es451.js +122 -160
- package/dist/index.es452.js +24 -24
- package/dist/index.es453.js +4 -5
- package/dist/index.es454.js +11 -126
- package/dist/index.es455.js +40 -22
- package/dist/index.es456.js +57 -4
- package/dist/index.es457.js +40 -11
- package/dist/index.es458.js +25 -39
- package/dist/index.es459.js +30 -56
- package/dist/index.es460.js +14 -41
- package/dist/index.es461.js +10 -28
- package/dist/index.es462.js +10 -31
- package/dist/index.es463.js +9 -14
- package/dist/index.es464.js +6 -10
- package/dist/index.es465.js +5 -10
- package/dist/index.es466.js +7 -9
- package/dist/index.es467.js +29 -6
- package/dist/index.es468.js +18 -5
- package/dist/index.es469.js +13 -7
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +42 -28
- package/dist/index.es471.js +8 -18
- package/dist/index.es472.js +3 -14
- package/dist/index.es473.js +4 -43
- package/dist/index.es474.js +23 -7
- package/dist/index.es475.js +272 -3
- package/dist/index.es476.js +79 -4
- package/dist/index.es477.js +164 -23
- package/dist/index.es478.js +2 -2
- package/dist/index.es479.js +4 -4
- package/dist/index.es480.js +3 -3
- package/dist/index.es481.js +3 -3
- package/dist/index.es484.js +11 -11
- package/dist/index.es485.js +3 -3
- package/dist/index.es49.js +2 -2
- package/dist/index.es490.js +5 -5
- package/dist/index.es491.js +4 -4
- package/dist/index.es492.js +1 -1
- package/dist/index.es496.js +1 -1
- package/dist/index.es497.js +1 -1
- package/dist/index.es498.js +2 -2
- package/dist/index.es499.js +7 -56
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +2 -13
- package/dist/index.es501.js +52 -21
- package/dist/index.es502.js +60 -55
- package/dist/index.es503.js +7 -33
- package/dist/index.es504.js +29 -167
- package/dist/index.es505.js +18 -119
- package/dist/index.es506.js +44 -7
- package/dist/index.es507.js +29 -19
- package/dist/index.es508.js +8 -33
- package/dist/index.es509.js +56 -20
- package/dist/index.es510.js +11 -43
- package/dist/index.es511.js +21 -29
- package/dist/index.es512.js +59 -8
- package/dist/index.es513.js +30 -228
- package/dist/index.es514.js +170 -20
- package/dist/index.es515.js +115 -23
- package/dist/index.es516.js +18 -117
- package/dist/index.es517.js +229 -35
- package/dist/index.es518.js +22 -72
- package/dist/index.es519.js +29 -7
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +119 -2
- package/dist/index.es521.js +33 -48
- package/dist/index.es522.js +72 -65
- package/dist/index.es526.js +5 -63
- package/dist/index.es527.js +16 -69
- package/dist/index.es528.js +28 -8
- package/dist/index.es529.js +13 -14
- package/dist/index.es53.js +1 -1
- package/dist/index.es530.js +68 -61
- package/dist/index.es531.js +8 -15
- package/dist/index.es532.js +14 -29
- package/dist/index.es533.js +62 -13
- package/dist/index.es534.js +63 -5
- package/dist/index.es535.js +2 -2
- package/dist/index.es536.js +2 -76
- package/dist/index.es537.js +2 -93
- package/dist/index.es538.js +73 -49
- package/dist/index.es539.js +92 -7
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +51 -4
- package/dist/index.es541.js +7 -51
- package/dist/index.es542.js +5 -2
- package/dist/index.es543.js +52 -2
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +4 -4
- package/dist/index.es58.js +1 -1
- package/dist/index.es59.js +10 -10
- package/dist/index.es60.js +3 -3
- package/dist/index.es61.js +5 -5
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +1 -1
- package/dist/index.es66.js +3 -3
- package/dist/index.es67.js +2 -2
- package/dist/index.es699.js +2 -42
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +2 -72
- package/dist/index.es701.js +42 -6
- package/dist/index.es702.js +71 -5
- package/dist/index.es703.js +2 -2
- package/dist/index.es704.js +5 -5
- package/dist/index.es705.js +5 -5
- package/dist/index.es706.js +5 -5
- package/dist/index.es707.js +5 -5
- package/dist/index.es708.js +5 -5
- package/dist/index.es709.js +2 -2
- package/dist/index.es710.js +2 -2
- package/dist/index.es711.js +5 -5
- package/dist/index.es712.js +5 -5
- package/dist/index.es713.js +5 -5
- package/dist/index.es714.js +5 -5
- package/dist/index.es715.js +2 -2
- package/dist/index.es716.js +2 -2
- package/dist/index.es717.js +5 -5
- package/dist/index.es718.js +2 -2
- package/dist/index.es719.js +5 -5
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +5 -5
- package/dist/index.es721.js +2 -2
- package/dist/index.es722.js +2 -2
- package/dist/index.es723.js +5 -5
- package/dist/index.es724.js +2 -2
- package/dist/index.es725.js +2 -2
- package/dist/index.es726.js +5 -5
- package/dist/index.es727.js +5 -5
- package/dist/index.es728.js +5 -5
- package/dist/index.es729.js +2 -2
- package/dist/index.es730.js +5 -5
- package/dist/index.es731.js +2 -2
- package/dist/index.es732.js +5 -5
- package/dist/index.es733.js +2 -2
- package/dist/index.es734.js +5 -5
- package/dist/index.es735.js +6 -2
- package/dist/index.es736.js +5 -1
- package/dist/index.es74.js +2 -2
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +2 -2
- package/dist/index.es83.js +1 -1
- package/dist/index.es85.js +4 -4
- package/dist/index.es86.js +2 -2
- package/dist/index.es88.js +2 -2
- package/dist/index.es89.js +5 -5
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.es155.js
CHANGED
|
@@ -1,242 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { DismissableLayer as L } from "./index.es183.js";
|
|
6
|
-
import { useFocusGuards as G } from "./index.es186.js";
|
|
7
|
-
import { FocusScope as H } from "./index.es184.js";
|
|
8
|
-
import { useId as K } from "./index.es174.js";
|
|
9
|
-
import { createPopperScope as O, Root as $, Anchor as _, Content as U, Arrow as V } from "./index.es196.js";
|
|
10
|
-
import { Portal as W } from "./index.es185.js";
|
|
11
|
-
import { Presence as E } from "./index.es153.js";
|
|
12
|
-
import { Primitive as w } from "./index.es173.js";
|
|
13
|
-
import { createSlot as Z } from "./index.es115.js";
|
|
14
|
-
import { useControllableState as q } from "./index.es90.js";
|
|
15
|
-
import { hideOthers as z } from "./index.es188.js";
|
|
16
|
-
import B from "./index.es187.js";
|
|
17
|
-
import { j as p } from "./index.es104.js";
|
|
18
|
-
var x = "Popover", [j, Ae] = T(x, [
|
|
19
|
-
O
|
|
20
|
-
]), m = O(), [J, f] = j(x), b = (e) => {
|
|
21
|
-
const {
|
|
22
|
-
__scopePopover: n,
|
|
23
|
-
children: t,
|
|
24
|
-
open: s,
|
|
25
|
-
defaultOpen: o,
|
|
26
|
-
onOpenChange: r,
|
|
27
|
-
modal: a = !1
|
|
28
|
-
} = e, c = m(n), u = i.useRef(null), [l, g] = i.useState(!1), [h = !1, d] = q({
|
|
29
|
-
prop: s,
|
|
30
|
-
defaultProp: o,
|
|
31
|
-
onChange: r
|
|
32
|
-
});
|
|
33
|
-
return /* @__PURE__ */ p.jsx($, { ...c, children: /* @__PURE__ */ p.jsx(
|
|
34
|
-
J,
|
|
35
|
-
{
|
|
36
|
-
scope: n,
|
|
37
|
-
contentId: K(),
|
|
38
|
-
triggerRef: u,
|
|
39
|
-
open: h,
|
|
40
|
-
onOpenChange: d,
|
|
41
|
-
onOpenToggle: i.useCallback(() => d((C) => !C), [d]),
|
|
42
|
-
hasCustomAnchor: l,
|
|
43
|
-
onCustomAnchorAdd: i.useCallback(() => g(!0), []),
|
|
44
|
-
onCustomAnchorRemove: i.useCallback(() => g(!1), []),
|
|
45
|
-
modal: a,
|
|
46
|
-
children: t
|
|
47
|
-
}
|
|
48
|
-
) });
|
|
1
|
+
const r = {
|
|
2
|
+
done: "var(--color-primary)",
|
|
3
|
+
pending: "#cdcdcd",
|
|
4
|
+
error: "var(--color-error)"
|
|
49
5
|
};
|
|
50
|
-
b.displayName = x;
|
|
51
|
-
var F = "PopoverAnchor", Q = i.forwardRef(
|
|
52
|
-
(e, n) => {
|
|
53
|
-
const { __scopePopover: t, ...s } = e, o = f(F, t), r = m(t), { onCustomAnchorAdd: a, onCustomAnchorRemove: c } = o;
|
|
54
|
-
return i.useEffect(() => (a(), () => c()), [a, c]), /* @__PURE__ */ p.jsx(_, { ...r, ...s, ref: n });
|
|
55
|
-
}
|
|
56
|
-
);
|
|
57
|
-
Q.displayName = F;
|
|
58
|
-
var N = "PopoverTrigger", S = i.forwardRef(
|
|
59
|
-
(e, n) => {
|
|
60
|
-
const { __scopePopover: t, ...s } = e, o = f(N, t), r = m(t), a = A(n, o.triggerRef), c = /* @__PURE__ */ p.jsx(
|
|
61
|
-
w.button,
|
|
62
|
-
{
|
|
63
|
-
type: "button",
|
|
64
|
-
"aria-haspopup": "dialog",
|
|
65
|
-
"aria-expanded": o.open,
|
|
66
|
-
"aria-controls": o.contentId,
|
|
67
|
-
"data-state": I(o.open),
|
|
68
|
-
...s,
|
|
69
|
-
ref: a,
|
|
70
|
-
onClick: P(e.onClick, o.onOpenToggle)
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
return o.hasCustomAnchor ? c : /* @__PURE__ */ p.jsx(_, { asChild: !0, ...r, children: c });
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
S.displayName = N;
|
|
77
|
-
var R = "PopoverPortal", [X, Y] = j(R, {
|
|
78
|
-
forceMount: void 0
|
|
79
|
-
}), y = (e) => {
|
|
80
|
-
const { __scopePopover: n, forceMount: t, children: s, container: o } = e, r = f(R, n);
|
|
81
|
-
return /* @__PURE__ */ p.jsx(X, { scope: n, forceMount: t, children: /* @__PURE__ */ p.jsx(E, { present: t || r.open, children: /* @__PURE__ */ p.jsx(W, { asChild: !0, container: o, children: s }) }) });
|
|
82
|
-
};
|
|
83
|
-
y.displayName = R;
|
|
84
|
-
var v = "PopoverContent", D = i.forwardRef(
|
|
85
|
-
(e, n) => {
|
|
86
|
-
const t = Y(v, e.__scopePopover), { forceMount: s = t.forceMount, ...o } = e, r = f(v, e.__scopePopover);
|
|
87
|
-
return /* @__PURE__ */ p.jsx(E, { present: s || r.open, children: r.modal ? /* @__PURE__ */ p.jsx(oe, { ...o, ref: n }) : /* @__PURE__ */ p.jsx(re, { ...o, ref: n }) });
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
D.displayName = v;
|
|
91
|
-
var ee = Z("PopoverContent.RemoveScroll"), oe = i.forwardRef(
|
|
92
|
-
(e, n) => {
|
|
93
|
-
const t = f(v, e.__scopePopover), s = i.useRef(null), o = A(n, s), r = i.useRef(!1);
|
|
94
|
-
return i.useEffect(() => {
|
|
95
|
-
const a = s.current;
|
|
96
|
-
if (a) return z(a);
|
|
97
|
-
}, []), /* @__PURE__ */ p.jsx(B, { as: ee, allowPinchZoom: !0, children: /* @__PURE__ */ p.jsx(
|
|
98
|
-
M,
|
|
99
|
-
{
|
|
100
|
-
...e,
|
|
101
|
-
ref: o,
|
|
102
|
-
trapFocus: t.open,
|
|
103
|
-
disableOutsidePointerEvents: !0,
|
|
104
|
-
onCloseAutoFocus: P(e.onCloseAutoFocus, (a) => {
|
|
105
|
-
var c;
|
|
106
|
-
a.preventDefault(), r.current || (c = t.triggerRef.current) == null || c.focus();
|
|
107
|
-
}),
|
|
108
|
-
onPointerDownOutside: P(
|
|
109
|
-
e.onPointerDownOutside,
|
|
110
|
-
(a) => {
|
|
111
|
-
const c = a.detail.originalEvent, u = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || u;
|
|
112
|
-
r.current = l;
|
|
113
|
-
},
|
|
114
|
-
{ checkForDefaultPrevented: !1 }
|
|
115
|
-
),
|
|
116
|
-
onFocusOutside: P(
|
|
117
|
-
e.onFocusOutside,
|
|
118
|
-
(a) => a.preventDefault(),
|
|
119
|
-
{ checkForDefaultPrevented: !1 }
|
|
120
|
-
)
|
|
121
|
-
}
|
|
122
|
-
) });
|
|
123
|
-
}
|
|
124
|
-
), re = i.forwardRef(
|
|
125
|
-
(e, n) => {
|
|
126
|
-
const t = f(v, e.__scopePopover), s = i.useRef(!1), o = i.useRef(!1);
|
|
127
|
-
return /* @__PURE__ */ p.jsx(
|
|
128
|
-
M,
|
|
129
|
-
{
|
|
130
|
-
...e,
|
|
131
|
-
ref: n,
|
|
132
|
-
trapFocus: !1,
|
|
133
|
-
disableOutsidePointerEvents: !1,
|
|
134
|
-
onCloseAutoFocus: (r) => {
|
|
135
|
-
var a, c;
|
|
136
|
-
(a = e.onCloseAutoFocus) == null || a.call(e, r), r.defaultPrevented || (s.current || (c = t.triggerRef.current) == null || c.focus(), r.preventDefault()), s.current = !1, o.current = !1;
|
|
137
|
-
},
|
|
138
|
-
onInteractOutside: (r) => {
|
|
139
|
-
var u, l;
|
|
140
|
-
(u = e.onInteractOutside) == null || u.call(e, r), r.defaultPrevented || (s.current = !0, r.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
141
|
-
const a = r.target;
|
|
142
|
-
((l = t.triggerRef.current) == null ? void 0 : l.contains(a)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && o.current && r.preventDefault();
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
), M = i.forwardRef(
|
|
148
|
-
(e, n) => {
|
|
149
|
-
const {
|
|
150
|
-
__scopePopover: t,
|
|
151
|
-
trapFocus: s,
|
|
152
|
-
onOpenAutoFocus: o,
|
|
153
|
-
onCloseAutoFocus: r,
|
|
154
|
-
disableOutsidePointerEvents: a,
|
|
155
|
-
onEscapeKeyDown: c,
|
|
156
|
-
onPointerDownOutside: u,
|
|
157
|
-
onFocusOutside: l,
|
|
158
|
-
onInteractOutside: g,
|
|
159
|
-
...h
|
|
160
|
-
} = e, d = f(v, t), C = m(t);
|
|
161
|
-
return G(), /* @__PURE__ */ p.jsx(
|
|
162
|
-
H,
|
|
163
|
-
{
|
|
164
|
-
asChild: !0,
|
|
165
|
-
loop: !0,
|
|
166
|
-
trapped: s,
|
|
167
|
-
onMountAutoFocus: o,
|
|
168
|
-
onUnmountAutoFocus: r,
|
|
169
|
-
children: /* @__PURE__ */ p.jsx(
|
|
170
|
-
L,
|
|
171
|
-
{
|
|
172
|
-
asChild: !0,
|
|
173
|
-
disableOutsidePointerEvents: a,
|
|
174
|
-
onInteractOutside: g,
|
|
175
|
-
onEscapeKeyDown: c,
|
|
176
|
-
onPointerDownOutside: u,
|
|
177
|
-
onFocusOutside: l,
|
|
178
|
-
onDismiss: () => d.onOpenChange(!1),
|
|
179
|
-
children: /* @__PURE__ */ p.jsx(
|
|
180
|
-
U,
|
|
181
|
-
{
|
|
182
|
-
"data-state": I(d.open),
|
|
183
|
-
role: "dialog",
|
|
184
|
-
id: d.contentId,
|
|
185
|
-
...C,
|
|
186
|
-
...h,
|
|
187
|
-
ref: n,
|
|
188
|
-
style: {
|
|
189
|
-
...h.style,
|
|
190
|
-
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
191
|
-
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
192
|
-
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
193
|
-
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
194
|
-
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
)
|
|
198
|
-
}
|
|
199
|
-
)
|
|
200
|
-
}
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
), k = "PopoverClose", te = i.forwardRef(
|
|
204
|
-
(e, n) => {
|
|
205
|
-
const { __scopePopover: t, ...s } = e, o = f(k, t);
|
|
206
|
-
return /* @__PURE__ */ p.jsx(
|
|
207
|
-
w.button,
|
|
208
|
-
{
|
|
209
|
-
type: "button",
|
|
210
|
-
...s,
|
|
211
|
-
ref: n,
|
|
212
|
-
onClick: P(e.onClick, () => o.onOpenChange(!1))
|
|
213
|
-
}
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
);
|
|
217
|
-
te.displayName = k;
|
|
218
|
-
var ne = "PopoverArrow", se = i.forwardRef(
|
|
219
|
-
(e, n) => {
|
|
220
|
-
const { __scopePopover: t, ...s } = e, o = m(t);
|
|
221
|
-
return /* @__PURE__ */ p.jsx(V, { ...o, ...s, ref: n });
|
|
222
|
-
}
|
|
223
|
-
);
|
|
224
|
-
se.displayName = ne;
|
|
225
|
-
function I(e) {
|
|
226
|
-
return e ? "open" : "closed";
|
|
227
|
-
}
|
|
228
|
-
var Oe = b, _e = S, Ee = y, we = D;
|
|
229
6
|
export {
|
|
230
|
-
|
|
231
|
-
b as Popover,
|
|
232
|
-
Q as PopoverAnchor,
|
|
233
|
-
se as PopoverArrow,
|
|
234
|
-
te as PopoverClose,
|
|
235
|
-
D as PopoverContent,
|
|
236
|
-
y as PopoverPortal,
|
|
237
|
-
S as PopoverTrigger,
|
|
238
|
-
Ee as Portal,
|
|
239
|
-
Oe as Root,
|
|
240
|
-
_e as Trigger,
|
|
241
|
-
Ae as createPopoverScope
|
|
7
|
+
r as TimelineStatus
|
|
242
8
|
};
|
package/dist/index.es156.js
CHANGED
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
...v
|
|
23
|
-
}[c] === o;
|
|
24
|
-
}) ? [
|
|
25
|
-
...t,
|
|
26
|
-
u,
|
|
27
|
-
i
|
|
28
|
-
] : t;
|
|
29
|
-
}, []);
|
|
30
|
-
return y(e, V, N, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
31
|
-
};
|
|
1
|
+
import { cva as r } from "./index.es154.js";
|
|
2
|
+
const a = r("animate-spin", {
|
|
3
|
+
variants: {
|
|
4
|
+
variant: {
|
|
5
|
+
primary: "text-primary",
|
|
6
|
+
secondary: "text-secondary",
|
|
7
|
+
ghost: "text-muted-foreground",
|
|
8
|
+
error: "text-error",
|
|
9
|
+
success: "text-success"
|
|
10
|
+
},
|
|
11
|
+
size: {
|
|
12
|
+
sm: "w-4 h-4",
|
|
13
|
+
default: "w-7 h-7",
|
|
14
|
+
lg: "w-10 h-10"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
variant: "primary",
|
|
19
|
+
size: "default"
|
|
20
|
+
}
|
|
21
|
+
});
|
|
32
22
|
export {
|
|
33
|
-
|
|
34
|
-
y as cx
|
|
23
|
+
a as loaderVariants
|
|
35
24
|
};
|
package/dist/index.es157.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import e from "./index.es265.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.487.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const o = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], a = e("loader-circle", o);
|
|
6
9
|
export {
|
|
7
|
-
|
|
10
|
+
o as __iconNode,
|
|
11
|
+
a as default
|
|
8
12
|
};
|
package/dist/index.es158.js
CHANGED
|
@@ -1,19 +1,218 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
)
|
|
10
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { t as B } from "./index.es202.js";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
import "./index.es203.js";
|
|
5
|
+
import { fireEvent as a, configure as E } from "./index.es204.js";
|
|
6
|
+
import { buildQueries as k, createEvent as V, findAllByAltText as C, findAllByDisplayValue as F, findAllByLabelText as M, findAllByPlaceholderText as W, findAllByRole as U, findAllByTestId as G, findAllByText as z, findAllByTitle as K, findByAltText as $, findByDisplayValue as H, findByLabelText as J, findByPlaceholderText as X, findByRole as Y, findByTestId as Z, findByText as ee, findByTitle as te, getAllByAltText as ne, getAllByDisplayValue as re, getAllByLabelText as le, getAllByPlaceholderText as oe, getAllByRole as ue, getAllByTestId as ie, getAllByText as se, getAllByTitle as ae, getByAltText as ye, getByDisplayValue as ce, getByLabelText as fe, getByPlaceholderText as de, getByRole as me, getByTestId as ge, getByText as pe, getByTitle as Te, getDefaultNormalizer as Ae, getElementError as Be, getMultipleElementsFoundError as Ee, getNodeText as be, getQueriesForElement as xe, getRoles as he, getSuggestedQuery as ve, isInaccessible as we, logDOM as qe, makeFindQuery as Re, makeGetAllQuery as Ie, makeSingleQuery as Le, prettyDOM as Oe, queries as Ne, queryAllByAltText as _e, queryAllByAttribute as Pe, queryAllByDisplayValue as De, queryAllByLabelText as Qe, queryAllByPlaceholderText as Se, queryAllByRole as je, queryAllByTestId as ke, queryAllByText as Ve, queryAllByTitle as Ce, queryByAltText as Fe, queryByDisplayValue as Me, queryByLabelText as We, queryByPlaceholderText as Ue, queryByRole as Ge, queryByTestId as ze, queryByText as Ke, queryByTitle as $e, waitFor as He, getQueriesForElement as Je, wrapAllByQueryWithSuggestion as Xe, wrapSingleQueryWithSuggestion as Ye } from "./index.es204.js";
|
|
7
|
+
const b = typeof f.act == "function" ? f.act : B.act;
|
|
8
|
+
function p() {
|
|
9
|
+
if (typeof globalThis < "u")
|
|
10
|
+
return globalThis;
|
|
11
|
+
if (typeof self < "u")
|
|
12
|
+
return self;
|
|
13
|
+
if (typeof window < "u")
|
|
14
|
+
return window;
|
|
15
|
+
if (typeof global < "u")
|
|
16
|
+
return global;
|
|
17
|
+
throw new Error("unable to locate global object");
|
|
18
|
+
}
|
|
19
|
+
function l(t) {
|
|
20
|
+
p().IS_REACT_ACT_ENVIRONMENT = t;
|
|
21
|
+
}
|
|
22
|
+
function i() {
|
|
23
|
+
return p().IS_REACT_ACT_ENVIRONMENT;
|
|
24
|
+
}
|
|
25
|
+
function x(t) {
|
|
26
|
+
return (n) => {
|
|
27
|
+
const r = i();
|
|
28
|
+
l(!0);
|
|
29
|
+
try {
|
|
30
|
+
let o = !1;
|
|
31
|
+
const c = t(() => {
|
|
32
|
+
const u = n();
|
|
33
|
+
return u !== null && typeof u == "object" && typeof u.then == "function" && (o = !0), u;
|
|
34
|
+
});
|
|
35
|
+
if (o) {
|
|
36
|
+
const u = c;
|
|
37
|
+
return {
|
|
38
|
+
then: (T, A) => {
|
|
39
|
+
u.then((s) => {
|
|
40
|
+
l(r), T(s);
|
|
41
|
+
}, (s) => {
|
|
42
|
+
l(r), A(s);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
} else
|
|
47
|
+
return l(r), c;
|
|
48
|
+
} catch (o) {
|
|
49
|
+
throw l(r), o;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
const y = x(b), e = function() {
|
|
54
|
+
return a(...arguments);
|
|
55
|
+
};
|
|
56
|
+
Object.keys(a).forEach((t) => {
|
|
57
|
+
e[t] = function() {
|
|
58
|
+
return a[t](...arguments);
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
const h = e.mouseEnter, v = e.mouseLeave;
|
|
62
|
+
e.mouseEnter = function() {
|
|
63
|
+
return h(...arguments), e.mouseOver(...arguments);
|
|
64
|
+
};
|
|
65
|
+
e.mouseLeave = function() {
|
|
66
|
+
return v(...arguments), e.mouseOut(...arguments);
|
|
67
|
+
};
|
|
68
|
+
const w = e.pointerEnter, q = e.pointerLeave;
|
|
69
|
+
e.pointerEnter = function() {
|
|
70
|
+
return w(...arguments), e.pointerOver(...arguments);
|
|
71
|
+
};
|
|
72
|
+
e.pointerLeave = function() {
|
|
73
|
+
return q(...arguments), e.pointerOut(...arguments);
|
|
74
|
+
};
|
|
75
|
+
const R = e.select;
|
|
76
|
+
e.select = (t, n) => {
|
|
77
|
+
R(t, n), t.focus(), e.keyUp(t, n);
|
|
78
|
+
};
|
|
79
|
+
const I = e.blur, L = e.focus;
|
|
80
|
+
e.blur = function() {
|
|
81
|
+
return e.focusOut(...arguments), I(...arguments);
|
|
82
|
+
};
|
|
83
|
+
e.focus = function() {
|
|
84
|
+
return e.focusIn(...arguments), L(...arguments);
|
|
85
|
+
};
|
|
86
|
+
function O() {
|
|
87
|
+
return typeof jest < "u" && jest !== null ? (
|
|
88
|
+
// legacy timers
|
|
89
|
+
setTimeout._isMockFunction === !0 || // modern timers
|
|
90
|
+
// eslint-disable-next-line prefer-object-has-own -- No Object.hasOwn in all target environments we support.
|
|
91
|
+
Object.prototype.hasOwnProperty.call(setTimeout, "clock")
|
|
92
|
+
) : !1;
|
|
93
|
+
}
|
|
94
|
+
E({
|
|
95
|
+
unstable_advanceTimersWrapper: (t) => y(t),
|
|
96
|
+
// We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT
|
|
97
|
+
// But that's not necessarily how `asyncWrapper` is used since it's a public method.
|
|
98
|
+
// Let's just hope nobody else is using it.
|
|
99
|
+
asyncWrapper: async (t) => {
|
|
100
|
+
const n = i();
|
|
101
|
+
l(!1);
|
|
102
|
+
try {
|
|
103
|
+
const r = await t();
|
|
104
|
+
return await new Promise((o) => {
|
|
105
|
+
setTimeout(() => {
|
|
106
|
+
o();
|
|
107
|
+
}, 0), O() && jest.advanceTimersByTime(0);
|
|
108
|
+
}), r;
|
|
109
|
+
} finally {
|
|
110
|
+
l(n);
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
eventWrapper: (t) => {
|
|
114
|
+
let n;
|
|
115
|
+
return y(() => {
|
|
116
|
+
n = t();
|
|
117
|
+
}), n;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
const N = /* @__PURE__ */ new Set(), d = [];
|
|
121
|
+
function m() {
|
|
122
|
+
d.forEach((t) => {
|
|
123
|
+
let {
|
|
124
|
+
root: n,
|
|
125
|
+
container: r
|
|
126
|
+
} = t;
|
|
127
|
+
y(() => {
|
|
128
|
+
n.unmount();
|
|
129
|
+
}), r.parentNode === document.body && document.body.removeChild(r);
|
|
130
|
+
}), d.length = 0, N.clear();
|
|
131
|
+
}
|
|
132
|
+
var g;
|
|
133
|
+
if ((typeof process > "u" || !((g = process.env) != null && g.RTL_SKIP_AUTO_CLEANUP)) && (typeof afterEach == "function" ? afterEach(() => {
|
|
134
|
+
m();
|
|
135
|
+
}) : typeof teardown == "function" && teardown(() => {
|
|
136
|
+
m();
|
|
137
|
+
}), typeof beforeAll == "function" && typeof afterAll == "function")) {
|
|
138
|
+
let t = i();
|
|
139
|
+
beforeAll(() => {
|
|
140
|
+
t = i(), l(!0);
|
|
141
|
+
}), afterAll(() => {
|
|
142
|
+
l(t);
|
|
143
|
+
});
|
|
11
144
|
}
|
|
12
|
-
const r = (t) => {
|
|
13
|
-
const e = c(t), n = (s) => i(e, s);
|
|
14
|
-
return Object.assign(n, e), n;
|
|
15
|
-
}, l = (t) => t ? r(t) : r;
|
|
16
145
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
146
|
+
y as act,
|
|
147
|
+
k as buildQueries,
|
|
148
|
+
m as cleanup,
|
|
149
|
+
V as createEvent,
|
|
150
|
+
C as findAllByAltText,
|
|
151
|
+
F as findAllByDisplayValue,
|
|
152
|
+
M as findAllByLabelText,
|
|
153
|
+
W as findAllByPlaceholderText,
|
|
154
|
+
U as findAllByRole,
|
|
155
|
+
G as findAllByTestId,
|
|
156
|
+
z as findAllByText,
|
|
157
|
+
K as findAllByTitle,
|
|
158
|
+
$ as findByAltText,
|
|
159
|
+
H as findByDisplayValue,
|
|
160
|
+
J as findByLabelText,
|
|
161
|
+
X as findByPlaceholderText,
|
|
162
|
+
Y as findByRole,
|
|
163
|
+
Z as findByTestId,
|
|
164
|
+
ee as findByText,
|
|
165
|
+
te as findByTitle,
|
|
166
|
+
e as fireEvent,
|
|
167
|
+
ne as getAllByAltText,
|
|
168
|
+
re as getAllByDisplayValue,
|
|
169
|
+
le as getAllByLabelText,
|
|
170
|
+
oe as getAllByPlaceholderText,
|
|
171
|
+
ue as getAllByRole,
|
|
172
|
+
ie as getAllByTestId,
|
|
173
|
+
se as getAllByText,
|
|
174
|
+
ae as getAllByTitle,
|
|
175
|
+
ye as getByAltText,
|
|
176
|
+
ce as getByDisplayValue,
|
|
177
|
+
fe as getByLabelText,
|
|
178
|
+
de as getByPlaceholderText,
|
|
179
|
+
me as getByRole,
|
|
180
|
+
ge as getByTestId,
|
|
181
|
+
pe as getByText,
|
|
182
|
+
Te as getByTitle,
|
|
183
|
+
Ae as getDefaultNormalizer,
|
|
184
|
+
Be as getElementError,
|
|
185
|
+
Ee as getMultipleElementsFoundError,
|
|
186
|
+
be as getNodeText,
|
|
187
|
+
xe as getQueriesForElement,
|
|
188
|
+
he as getRoles,
|
|
189
|
+
ve as getSuggestedQuery,
|
|
190
|
+
we as isInaccessible,
|
|
191
|
+
qe as logDOM,
|
|
192
|
+
Re as makeFindQuery,
|
|
193
|
+
Ie as makeGetAllQuery,
|
|
194
|
+
Le as makeSingleQuery,
|
|
195
|
+
Oe as prettyDOM,
|
|
196
|
+
Ne as queries,
|
|
197
|
+
_e as queryAllByAltText,
|
|
198
|
+
Pe as queryAllByAttribute,
|
|
199
|
+
De as queryAllByDisplayValue,
|
|
200
|
+
Qe as queryAllByLabelText,
|
|
201
|
+
Se as queryAllByPlaceholderText,
|
|
202
|
+
je as queryAllByRole,
|
|
203
|
+
ke as queryAllByTestId,
|
|
204
|
+
Ve as queryAllByText,
|
|
205
|
+
Ce as queryAllByTitle,
|
|
206
|
+
Fe as queryByAltText,
|
|
207
|
+
Me as queryByDisplayValue,
|
|
208
|
+
We as queryByLabelText,
|
|
209
|
+
Ue as queryByPlaceholderText,
|
|
210
|
+
Ge as queryByRole,
|
|
211
|
+
ze as queryByTestId,
|
|
212
|
+
Ke as queryByText,
|
|
213
|
+
$e as queryByTitle,
|
|
214
|
+
He as waitFor,
|
|
215
|
+
Je as within,
|
|
216
|
+
Xe as wrapAllByQueryWithSuggestion,
|
|
217
|
+
Ye as wrapSingleQueryWithSuggestion
|
|
19
218
|
};
|
package/dist/index.es159.js
CHANGED
|
@@ -1,16 +1,80 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { useContextProps as h, useRenderProps as B } from "./index.es160.js";
|
|
2
|
+
import { ProgressBarContext as D } from "./index.es293.js";
|
|
3
|
+
import { announce as P } from "./index.es294.js";
|
|
4
|
+
import { createHideableComponent as F } from "./index.es295.js";
|
|
5
|
+
import { useId as x } from "./index.es296.js";
|
|
6
|
+
import { mergeProps as H } from "./index.es297.js";
|
|
7
|
+
import { filterDOMProps as E } from "./index.es298.js";
|
|
8
|
+
import v, { createContext as V, useRef as R, useEffect as p } from "react";
|
|
9
|
+
import { useButton as w } from "./index.es299.js";
|
|
10
|
+
import { useFocusRing as I } from "./index.es300.js";
|
|
11
|
+
import { useHover as M } from "./index.es301.js";
|
|
12
|
+
const N = /* @__PURE__ */ new Set([
|
|
13
|
+
"form",
|
|
14
|
+
"formAction",
|
|
15
|
+
"formEncType",
|
|
16
|
+
"formMethod",
|
|
17
|
+
"formNoValidate",
|
|
18
|
+
"formTarget",
|
|
19
|
+
"name",
|
|
20
|
+
"value"
|
|
21
|
+
]), T = /* @__PURE__ */ V({}), J = /* @__PURE__ */ F(function(e, n) {
|
|
22
|
+
[e, n] = h(e, n, T), e = A(e);
|
|
23
|
+
let u = e, { isPending: d } = u, { buttonProps: a, isPressed: g } = w(e, n), { focusProps: y, isFocused: s, isFocusVisible: c } = I(e), { hoverProps: C, isHovered: l } = M({
|
|
24
|
+
...e,
|
|
25
|
+
isDisabled: e.isDisabled || d
|
|
26
|
+
}), b = {
|
|
27
|
+
isHovered: l,
|
|
28
|
+
isPressed: (u.isPressed || g) && !d,
|
|
29
|
+
isFocused: s,
|
|
30
|
+
isFocusVisible: c,
|
|
31
|
+
isDisabled: e.isDisabled || !1,
|
|
32
|
+
isPending: d ?? !1
|
|
33
|
+
}, $ = B({
|
|
34
|
+
...e,
|
|
35
|
+
values: b,
|
|
36
|
+
defaultClassName: "react-aria-Button"
|
|
37
|
+
}), r = x(a.id), o = x(), i = a["aria-labelledby"];
|
|
38
|
+
d && (i ? i = `${i} ${o}` : a["aria-label"] && (i = `${r} ${o}`));
|
|
39
|
+
let f = R(d);
|
|
40
|
+
return p(() => {
|
|
41
|
+
let m = {
|
|
42
|
+
"aria-labelledby": i || r
|
|
43
|
+
};
|
|
44
|
+
!f.current && s && d ? P(m, "assertive") : f.current && s && !d && P(m, "assertive"), f.current = d;
|
|
45
|
+
}, [
|
|
46
|
+
d,
|
|
47
|
+
s,
|
|
48
|
+
i,
|
|
49
|
+
r
|
|
50
|
+
]), /* @__PURE__ */ v.createElement("button", {
|
|
51
|
+
...E(e, {
|
|
52
|
+
propNames: N
|
|
53
|
+
}),
|
|
54
|
+
...H(a, y, C),
|
|
55
|
+
...$,
|
|
56
|
+
type: a.type === "submit" && d ? "button" : a.type,
|
|
57
|
+
id: r,
|
|
58
|
+
ref: n,
|
|
59
|
+
"aria-labelledby": i,
|
|
60
|
+
slot: e.slot || void 0,
|
|
61
|
+
"aria-disabled": d ? "true" : a["aria-disabled"],
|
|
62
|
+
"data-disabled": e.isDisabled || void 0,
|
|
63
|
+
"data-pressed": b.isPressed || void 0,
|
|
64
|
+
"data-hovered": l || void 0,
|
|
65
|
+
"data-focused": s || void 0,
|
|
66
|
+
"data-pending": d || void 0,
|
|
67
|
+
"data-focus-visible": c || void 0
|
|
68
|
+
}, /* @__PURE__ */ v.createElement(D.Provider, {
|
|
69
|
+
value: {
|
|
70
|
+
id: o
|
|
71
|
+
}
|
|
72
|
+
}, $.children));
|
|
73
|
+
});
|
|
74
|
+
function A(t) {
|
|
75
|
+
return t.isPending && (t.onPress = void 0, t.onPressStart = void 0, t.onPressEnd = void 0, t.onPressChange = void 0, t.onPressUp = void 0, t.onKeyDown = void 0, t.onKeyUp = void 0, t.onClick = void 0, t.href = void 0), t;
|
|
76
|
+
}
|
|
13
77
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
78
|
+
J as Button,
|
|
79
|
+
T as ButtonContext
|
|
16
80
|
};
|
package/dist/index.es16.js
CHANGED