@rpcbase/ui 0.159.0 → 0.160.0
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/HoursPicker/index.d.ts +9 -6
- package/dist/components/HoursPicker/index.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/index.js +32 -31
- package/dist/index100.js +105 -126
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +24 -20
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +8 -76
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -18
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -101
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +5 -5
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +466 -14
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +186 -2
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +107 -7
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +241 -305
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +9 -49
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +42 -5
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -68
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +52 -2
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -363
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +4 -261
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +15 -60
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -46
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +7 -169
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +16 -109
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +4 -24
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +5 -8
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +5 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -5
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +3 -3
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -466
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -185
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +24 -107
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +6 -262
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +4 -9
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +6 -42
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +5 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -52
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +5 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +3 -3
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +6 -13
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -7
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +4 -16
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +6 -4
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +145 -4
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +39 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +4 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +7 -4
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +13 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +13 -6
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +7 -24
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +31 -6
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +10 -4
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +10 -6
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +8 -5
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +13 -4
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +101 -5
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +20 -5
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +53 -8
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +72 -5
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +9 -4
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +20 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +16 -6
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +23 -145
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +6 -39
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +23 -7
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +35 -14
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +16 -14
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +6 -7
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +4 -31
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -10
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -10
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +4 -8
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -13
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +6 -101
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +24 -20
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +7 -53
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +6 -72
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +5 -9
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +3 -20
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +3 -16
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -23
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +3 -6
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +475 -465
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +4 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +3 -23
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +4 -35
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +4 -16
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +3 -6
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +33 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +249 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +114 -4
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +219 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +66 -3
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +20 -6
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +210 -24
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +319 -7
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +130 -6
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +20 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +75 -3
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +18 -3
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +101 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +14 -4
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +113 -105
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +2 -4
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +7 -3
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +326 -3
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +46 -602
- package/dist/index203.js.map +1 -1
- package/dist/index205.js +3 -3
- package/dist/index206.js +3 -3
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index215.js +63 -60
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +179 -47
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +46 -39
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +13 -100
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +151 -94
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +27 -96
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +9 -13
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +40 -147
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -29
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +44 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +88 -40
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +85 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +102 -41
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +45 -88
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -85
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +28 -96
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +8 -52
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +115 -10
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +16 -36
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +15 -8
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +3 -116
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +35 -16
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +19 -14
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +9 -3
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +8 -36
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +58 -20
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +8 -9
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +66 -8
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +18 -18
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +15 -27
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +4 -15
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +4 -57
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +6 -8
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +4 -66
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +7 -19
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +17 -16
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +5 -5
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +5 -5
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +13 -6
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -4
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +14 -7
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +14 -17
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +5 -5
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +6 -5
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +7 -13
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +5 -9
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -14
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +5 -14
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +5 -5
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +9 -6
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -7
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +5 -6
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +4 -9
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +11 -5
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +10 -5
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +10 -9
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +11 -5
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +11 -5
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +10 -4
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +7 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +6 -10
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +5 -10
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +6 -11
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +6 -10
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +6 -10
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +55 -7
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +19 -6
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +28 -5
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +16 -6
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +23 -7
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +16 -6
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +7 -55
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +10 -23
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +9 -15
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +21 -7
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +1 -1
- package/dist/index290.js +10 -10
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +9 -10
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +9 -21
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +4 -10
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +5 -9
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +16 -9
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +9 -4
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +18 -5
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +15 -16
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +12 -9
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +14 -14
- package/dist/index300.js +29 -18
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +12 -15
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +25 -12
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +5 -29
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +62 -10
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +48 -25
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +39 -5
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +98 -65
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +94 -177
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +98 -45
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +3 -3
- package/dist/index310.js +2 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +2 -3
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +5 -24
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +3 -113
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +23 -15
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +107 -519
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +14 -126
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +516 -125
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +128 -2
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +134 -2
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +2 -2
- package/dist/index320.js +1 -1
- package/dist/index325.js +2 -2
- package/dist/index326.js +1 -1
- package/dist/index33.js +1 -1
- package/dist/index336.js +2 -2
- package/dist/index339.js +1 -1
- package/dist/index34.js +1 -1
- package/dist/index340.js +2 -2
- package/dist/index342.js +1 -1
- package/dist/index343.js +1 -1
- package/dist/index344.js +1 -1
- package/dist/index345.js +1 -1
- package/dist/index35.js +1 -1
- package/dist/index355.js +11 -21
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +26 -11
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +4 -27
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +22 -4
- package/dist/index358.js.map +1 -1
- package/dist/index36.js +1 -1
- package/dist/index39.js +2 -2
- package/dist/index40.js +24 -24
- package/dist/index42.js +1 -1
- package/dist/index50.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index59.js +1 -1
- package/dist/index66.js +4 -4
- package/dist/index68.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index78.js +53 -11
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +1 -1
- package/dist/index80.js +2 -2
- package/dist/index81.js +2 -2
- package/dist/index82.js +12 -2
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +2 -2
- package/dist/index84.js +2 -47
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +41 -200
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +204 -20
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +22 -25
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +23 -398
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +392 -39
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +44 -51
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +605 -3
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +5 -33
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +65 -246
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +2 -115
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +359 -215
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +257 -62
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +58 -18
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +44 -207
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +159 -309
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index355.js
CHANGED
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, f = function(t) {
|
|
12
|
-
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
-
return a;
|
|
14
|
-
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
-
return {
|
|
16
|
-
left: n[0],
|
|
17
|
-
top: n[1],
|
|
18
|
-
right: n[2],
|
|
19
|
-
gap: Math.max(0, r - i + n[2] - n[0])
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { stylesheetSingleton as r } from "./index356.js";
|
|
3
|
+
var i = function() {
|
|
4
|
+
var t = r();
|
|
5
|
+
return function(e, n) {
|
|
6
|
+
o.useEffect(function() {
|
|
7
|
+
return t.add(e), function() {
|
|
8
|
+
t.remove();
|
|
9
|
+
};
|
|
10
|
+
}, [e && n]);
|
|
20
11
|
};
|
|
21
12
|
};
|
|
22
13
|
export {
|
|
23
|
-
|
|
24
|
-
a as zeroGap
|
|
14
|
+
i as styleHookSingleton
|
|
25
15
|
};
|
|
26
16
|
//# sourceMappingURL=index355.js.map
|
package/dist/index355.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index355.js","sources":["../../../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index355.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAmB;AAC/B,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAM;AAAA,MAChB;AAAA,IACJ,GAAG,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC5B;AACJ;","x_google_ignoreList":[0]}
|
package/dist/index356.js
CHANGED
|
@@ -1,16 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { getNonce as o } from "./index357.js";
|
|
2
|
+
function r() {
|
|
3
|
+
if (!document)
|
|
4
|
+
return null;
|
|
5
|
+
var t = document.createElement("style");
|
|
6
|
+
t.type = "text/css";
|
|
7
|
+
var e = o();
|
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e) {
|
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
+
}
|
|
13
|
+
function a(t) {
|
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
+
e.appendChild(t);
|
|
16
|
+
}
|
|
17
|
+
var c = function() {
|
|
18
|
+
var t = 0, e = null;
|
|
19
|
+
return {
|
|
20
|
+
add: function(n) {
|
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
+
},
|
|
23
|
+
remove: function() {
|
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
+
}
|
|
11
26
|
};
|
|
12
27
|
};
|
|
13
28
|
export {
|
|
14
|
-
|
|
29
|
+
c as stylesheetSingleton
|
|
15
30
|
};
|
|
16
31
|
//# sourceMappingURL=index356.js.map
|
package/dist/index356.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index356.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/
|
|
1
|
+
{"version":3,"file":"index356.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAQ;AACpB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACJ;AAAA,IACA,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAErB;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index357.js
CHANGED
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return null;
|
|
5
|
-
var t = document.createElement("style");
|
|
6
|
-
t.type = "text/css";
|
|
7
|
-
var e = o();
|
|
8
|
-
return e && t.setAttribute("nonce", e), t;
|
|
9
|
-
}
|
|
10
|
-
function l(t, e) {
|
|
11
|
-
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
|
12
|
-
}
|
|
13
|
-
function a(t) {
|
|
14
|
-
var e = document.head || document.getElementsByTagName("head")[0];
|
|
15
|
-
e.appendChild(t);
|
|
16
|
-
}
|
|
17
|
-
var c = function() {
|
|
18
|
-
var t = 0, e = null;
|
|
19
|
-
return {
|
|
20
|
-
add: function(n) {
|
|
21
|
-
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
|
22
|
-
},
|
|
23
|
-
remove: function() {
|
|
24
|
-
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
1
|
+
var e = function() {
|
|
2
|
+
if (typeof __webpack_nonce__ < "u")
|
|
3
|
+
return __webpack_nonce__;
|
|
27
4
|
};
|
|
28
5
|
export {
|
|
29
|
-
|
|
6
|
+
e as getNonce
|
|
30
7
|
};
|
|
31
8
|
//# sourceMappingURL=index357.js.map
|
package/dist/index357.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index357.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index357.js","sources":["../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
|
package/dist/index358.js
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var a = {
|
|
2
|
+
left: 0,
|
|
3
|
+
top: 0,
|
|
4
|
+
right: 0,
|
|
5
|
+
gap: 0
|
|
6
|
+
}, e = function(t) {
|
|
7
|
+
return parseInt(t || "", 10) || 0;
|
|
8
|
+
}, o = function(t) {
|
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
|
10
|
+
return [e(i), e(r), e(d)];
|
|
11
|
+
}, f = function(t) {
|
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
|
13
|
+
return a;
|
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
|
15
|
+
return {
|
|
16
|
+
left: n[0],
|
|
17
|
+
top: n[1],
|
|
18
|
+
right: n[2],
|
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
|
20
|
+
};
|
|
4
21
|
};
|
|
5
22
|
export {
|
|
6
|
-
|
|
23
|
+
f as getGapWidth,
|
|
24
|
+
a as zeroGap
|
|
7
25
|
};
|
|
8
26
|
//# sourceMappingURL=index358.js.map
|
package/dist/index358.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index358.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index358.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAG,GAC1DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EAC9E;AACA;","x_google_ignoreList":[0]}
|
package/dist/index36.js
CHANGED
package/dist/index39.js
CHANGED
package/dist/index40.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import l, { useMemo as T, useCallback as h, useRef as Re } from "react";
|
|
2
|
-
import { DateLib as Ze } from "./
|
|
3
|
-
import { createGetModifiers as Ie } from "./
|
|
4
|
-
import { getClassNamesForModifiers as Ge } from "./
|
|
5
|
-
import { getComponents as He } from "./
|
|
6
|
-
import { getDataAttributes as _e } from "./
|
|
7
|
-
import { getDefaultClassNames as Ue } from "./
|
|
8
|
-
import { getFormatters as je } from "./
|
|
9
|
-
import { getLabels as Ve } from "./
|
|
10
|
-
import { getMonthOptions as $e } from "./
|
|
11
|
-
import { getStyleForModifiers as qe } from "./
|
|
12
|
-
import { getWeekdays as ze } from "./
|
|
13
|
-
import { getYearOptions as Je } from "./
|
|
14
|
-
import { createNoonOverrides as Qe } from "./
|
|
15
|
-
import { UI as n, DayFlag as Xe, SelectionState as w } from "./
|
|
16
|
-
import { useAnimation as et } from "./
|
|
17
|
-
import { useCalendar as tt } from "./
|
|
18
|
-
import { dayPickerContext as at } from "./
|
|
19
|
-
import { useFocus as ot } from "./
|
|
20
|
-
import { useSelection as nt } from "./
|
|
21
|
-
import { convertMatchersToTimeZone as K } from "./
|
|
22
|
-
import { rangeIncludesDate as st } from "./
|
|
23
|
-
import { toTimeZone as k } from "./
|
|
24
|
-
import { isDateRange as rt } from "./
|
|
25
|
-
import { enUS as it } from "./
|
|
2
|
+
import { DateLib as Ze } from "./index140.js";
|
|
3
|
+
import { createGetModifiers as Ie } from "./index141.js";
|
|
4
|
+
import { getClassNamesForModifiers as Ge } from "./index142.js";
|
|
5
|
+
import { getComponents as He } from "./index143.js";
|
|
6
|
+
import { getDataAttributes as _e } from "./index144.js";
|
|
7
|
+
import { getDefaultClassNames as Ue } from "./index145.js";
|
|
8
|
+
import { getFormatters as je } from "./index146.js";
|
|
9
|
+
import { getLabels as Ve } from "./index147.js";
|
|
10
|
+
import { getMonthOptions as $e } from "./index148.js";
|
|
11
|
+
import { getStyleForModifiers as qe } from "./index149.js";
|
|
12
|
+
import { getWeekdays as ze } from "./index150.js";
|
|
13
|
+
import { getYearOptions as Je } from "./index151.js";
|
|
14
|
+
import { createNoonOverrides as Qe } from "./index152.js";
|
|
15
|
+
import { UI as n, DayFlag as Xe, SelectionState as w } from "./index153.js";
|
|
16
|
+
import { useAnimation as et } from "./index154.js";
|
|
17
|
+
import { useCalendar as tt } from "./index155.js";
|
|
18
|
+
import { dayPickerContext as at } from "./index156.js";
|
|
19
|
+
import { useFocus as ot } from "./index157.js";
|
|
20
|
+
import { useSelection as nt } from "./index158.js";
|
|
21
|
+
import { convertMatchersToTimeZone as K } from "./index159.js";
|
|
22
|
+
import { rangeIncludesDate as st } from "./index160.js";
|
|
23
|
+
import { toTimeZone as k } from "./index161.js";
|
|
24
|
+
import { isDateRange as rt } from "./index162.js";
|
|
25
|
+
import { enUS as it } from "./index163.js";
|
|
26
26
|
function Yt(R) {
|
|
27
27
|
let e = R;
|
|
28
28
|
const u = e.timeZone;
|
package/dist/index42.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import M, { memo as Dn, useMemo as A, useReducer as xn, useState as K, useRef as P, useCallback as U, useEffect as O, createContext as Ne, useContext as de, forwardRef as Cn, cloneElement as Sn } from "react";
|
|
2
2
|
import { unstable_batchedUpdates as Be, createPortal as Rn } from "react-dom";
|
|
3
3
|
import { useLatestValue as Ae, useUniqueId as Ue, getEventCoordinates as $e, getWindow as J, add as ye, useIsomorphicLayoutEffect as fe, getOwnerDocument as me, isKeyboardEvent as at, subtract as Ke, useLazyMemo as Me, isHTMLElement as He, useNodeRef as Xe, canUseDOM as lt, useInterval as En, usePrevious as je, findFirstFocusableNode as An, useEvent as ct, isWindow as ut, isNode as On, isDocument as Ut, CSS as rt, isSVGElement as Nn } from "./index44.js";
|
|
4
|
-
import { useAnnouncement as Mn, HiddenText as Tn, LiveRegion as Ln } from "./
|
|
4
|
+
import { useAnnouncement as Mn, HiddenText as Tn, LiveRegion as Ln } from "./index78.js";
|
|
5
5
|
const Ht = /* @__PURE__ */ Ne(null);
|
|
6
6
|
function kn(e) {
|
|
7
7
|
const t = de(Ht);
|
package/dist/index50.js
CHANGED
package/dist/index55.js
CHANGED
package/dist/index56.js
CHANGED
package/dist/index59.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "react";
|
|
2
2
|
import { createContextScope as y } from "./index61.js";
|
|
3
3
|
import { useComposedRefs as S } from "./index60.js";
|
|
4
|
-
import { createSlot as M } from "./
|
|
4
|
+
import { createSlot as M } from "./index85.js";
|
|
5
5
|
import { j as d } from "./index28.js";
|
|
6
6
|
function D(s) {
|
|
7
7
|
const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
|
package/dist/index66.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
|
-
import { useFloating as fe, offset as me, shift as he, flip as ue, size as ge, arrow as we, hide as xe, limitShift as Pe } from "./
|
|
3
|
-
import { Root as ye } from "./
|
|
2
|
+
import { useFloating as fe, offset as me, shift as he, flip as ue, size as ge, arrow as we, hide as xe, limitShift as Pe } from "./index86.js";
|
|
3
|
+
import { Root as ye } from "./index87.js";
|
|
4
4
|
import { useComposedRefs as z } from "./index60.js";
|
|
5
5
|
import { createContextScope as Ae } from "./index61.js";
|
|
6
6
|
import { Primitive as I } from "./index68.js";
|
|
7
7
|
import { useCallbackRef as ve } from "./index70.js";
|
|
8
8
|
import { useLayoutEffect as W } from "./index72.js";
|
|
9
|
-
import { useSize as Ce } from "./
|
|
9
|
+
import { useSize as Ce } from "./index88.js";
|
|
10
10
|
import { j as f } from "./index28.js";
|
|
11
|
-
import { autoUpdate as Se } from "./
|
|
11
|
+
import { autoUpdate as Se } from "./index89.js";
|
|
12
12
|
var R = "Popper", [Y, Fe] = Ae(R), [Re, M] = Y(R), X = (e) => {
|
|
13
13
|
const { __scopePopper: i, children: n } = e, [s, a] = p.useState(null);
|
|
14
14
|
return /* @__PURE__ */ f.jsx(Re, { scope: i, anchor: s, onAnchorChange: a, children: n });
|
package/dist/index68.js
CHANGED
package/dist/index77.js
CHANGED
|
@@ -4,7 +4,7 @@ import { composeRefs as C } from "./index60.js";
|
|
|
4
4
|
import { createContextScope as E } from "./index61.js";
|
|
5
5
|
import { useControllableState as S } from "./index71.js";
|
|
6
6
|
import { Primitive as P } from "./index68.js";
|
|
7
|
-
import { createMenuScope as D, Root as y, Anchor as O, Portal as T, Content as j, Item as G, Group as k, Label as L, CheckboxItem as K, RadioGroup as U, RadioItem as B, ItemIndicator as F, Separator as H, Arrow as W, SubTrigger as $, SubContent as X } from "./
|
|
7
|
+
import { createMenuScope as D, Root as y, Anchor as O, Portal as T, Content as j, Item as G, Group as k, Label as L, CheckboxItem as K, RadioGroup as U, RadioItem as B, ItemIndicator as F, Separator as H, Arrow as W, SubTrigger as $, SubContent as X } from "./index91.js";
|
|
8
8
|
import { useId as g } from "./index65.js";
|
|
9
9
|
import { j as a } from "./index28.js";
|
|
10
10
|
var f = "DropdownMenu", [q] = E(
|
package/dist/index78.js
CHANGED
|
@@ -1,15 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import a, { useState as r, useCallback as c } from "react";
|
|
2
|
+
const d = {
|
|
3
|
+
display: "none"
|
|
4
|
+
};
|
|
5
|
+
function u(e) {
|
|
6
|
+
let {
|
|
7
|
+
id: n,
|
|
8
|
+
value: t
|
|
9
|
+
} = e;
|
|
10
|
+
return a.createElement("div", {
|
|
11
|
+
id: n,
|
|
12
|
+
style: d
|
|
13
|
+
}, t);
|
|
14
|
+
}
|
|
15
|
+
function s(e) {
|
|
16
|
+
let {
|
|
17
|
+
id: n,
|
|
18
|
+
announcement: t,
|
|
19
|
+
ariaLiveType: i = "assertive"
|
|
20
|
+
} = e;
|
|
21
|
+
const o = {
|
|
22
|
+
position: "fixed",
|
|
23
|
+
top: 0,
|
|
24
|
+
left: 0,
|
|
25
|
+
width: 1,
|
|
26
|
+
height: 1,
|
|
27
|
+
margin: -1,
|
|
28
|
+
border: 0,
|
|
29
|
+
padding: 0,
|
|
30
|
+
overflow: "hidden",
|
|
31
|
+
clip: "rect(0 0 0 0)",
|
|
32
|
+
clipPath: "inset(100%)",
|
|
33
|
+
whiteSpace: "nowrap"
|
|
34
|
+
};
|
|
35
|
+
return a.createElement("div", {
|
|
36
|
+
id: n,
|
|
37
|
+
style: o,
|
|
38
|
+
role: "status",
|
|
39
|
+
"aria-live": i,
|
|
40
|
+
"aria-atomic": !0
|
|
41
|
+
}, t);
|
|
42
|
+
}
|
|
43
|
+
function p() {
|
|
44
|
+
const [e, n] = r("");
|
|
45
|
+
return {
|
|
46
|
+
announce: c((i) => {
|
|
47
|
+
i != null && n(i);
|
|
48
|
+
}, []),
|
|
49
|
+
announcement: e
|
|
50
|
+
};
|
|
11
51
|
}
|
|
12
52
|
export {
|
|
13
|
-
|
|
53
|
+
u as HiddenText,
|
|
54
|
+
s as LiveRegion,
|
|
55
|
+
p as useAnnouncement
|
|
14
56
|
};
|
|
15
57
|
//# sourceMappingURL=index78.js.map
|
package/dist/index78.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index78.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index78.js","sources":["../../../node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js"],"sourcesContent":["import React, { useState, useCallback } from 'react';\n\nconst hiddenStyles = {\n display: 'none'\n};\nfunction HiddenText(_ref) {\n let {\n id,\n value\n } = _ref;\n return React.createElement(\"div\", {\n id: id,\n style: hiddenStyles\n }, value);\n}\n\nfunction LiveRegion(_ref) {\n let {\n id,\n announcement,\n ariaLiveType = \"assertive\"\n } = _ref;\n // Hide element visually but keep it readable by screen readers\n const visuallyHidden = {\n position: 'fixed',\n top: 0,\n left: 0,\n width: 1,\n height: 1,\n margin: -1,\n border: 0,\n padding: 0,\n overflow: 'hidden',\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(100%)',\n whiteSpace: 'nowrap'\n };\n return React.createElement(\"div\", {\n id: id,\n style: visuallyHidden,\n role: \"status\",\n \"aria-live\": ariaLiveType,\n \"aria-atomic\": true\n }, announcement);\n}\n\nfunction useAnnouncement() {\n const [announcement, setAnnouncement] = useState('');\n const announce = useCallback(value => {\n if (value != null) {\n setAnnouncement(value);\n }\n }, []);\n return {\n announce,\n announcement\n };\n}\n\nexport { HiddenText, LiveRegion, useAnnouncement };\n//# sourceMappingURL=accessibility.esm.js.map\n"],"names":["hiddenStyles","HiddenText","_ref","id","value","React","LiveRegion","announcement","ariaLiveType","visuallyHidden","useAnnouncement","setAnnouncement","useState","useCallback"],"mappings":";AAEA,MAAMA,IAAe;AAAA,EACnB,SAAS;AACX;AACA,SAASC,EAAWC,GAAM;AACxB,MAAI;AAAA,IACF,IAAAC;AAAA,IACA,OAAAC;AAAA,EACJ,IAAMF;AACJ,SAAOG,EAAM,cAAc,OAAO;AAAA,IAChC,IAAIF;AAAA,IACJ,OAAOH;AAAA,EACX,GAAKI,CAAK;AACV;AAEA,SAASE,EAAWJ,GAAM;AACxB,MAAI;AAAA,IACF,IAAAC;AAAA,IACA,cAAAI;AAAA,IACA,cAAAC,IAAe;AAAA,EACnB,IAAMN;AAEJ,QAAMO,IAAiB;AAAA,IACrB,UAAU;AAAA,IACV,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,IACN,UAAU;AAAA,IACV,YAAY;AAAA,EAChB;AACE,SAAOJ,EAAM,cAAc,OAAO;AAAA,IAChC,IAAIF;AAAA,IACJ,OAAOM;AAAA,IACP,MAAM;AAAA,IACN,aAAaD;AAAA,IACb,eAAe;AAAA,EACnB,GAAKD,CAAY;AACjB;AAEA,SAASG,IAAkB;AACzB,QAAM,CAACH,GAAcI,CAAe,IAAIC,EAAS,EAAE;AAMnD,SAAO;AAAA,IACL,UANeC,EAAY,CAAAT,MAAS;AACpC,MAAIA,KAAS,QACXO,EAAgBP,CAAK;AAAA,IAEzB,GAAG,CAAA,CAAE;AAAA,IAGH,cAAAG;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
package/dist/index79.js
CHANGED
package/dist/index80.js
CHANGED
package/dist/index81.js
CHANGED
package/dist/index82.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { useCallbackRef as s } from "./index70.js";
|
|
3
|
+
function p(n, e = globalThis?.document) {
|
|
4
|
+
const t = s(n);
|
|
5
|
+
r.useEffect(() => {
|
|
6
|
+
const o = (a) => {
|
|
7
|
+
a.key === "Escape" && t(a);
|
|
8
|
+
};
|
|
9
|
+
return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
|
|
10
|
+
}, [t, e]);
|
|
11
|
+
}
|
|
2
12
|
export {
|
|
3
|
-
|
|
13
|
+
p as useEscapeKeydown
|
|
4
14
|
};
|
|
5
15
|
//# sourceMappingURL=index82.js.map
|
package/dist/index82.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index82.js","sources":["../../../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,YAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAEzB;AACA,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC5F,GAAG,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
|
package/dist/index83.js
CHANGED
package/dist/index84.js
CHANGED
|
@@ -1,50 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { composeRefs as m } from "./index60.js";
|
|
3
|
-
import { j as u } from "./index28.js";
|
|
4
|
-
// @__NO_SIDE_EFFECTS__
|
|
5
|
-
function x(e) {
|
|
6
|
-
const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
|
|
7
|
-
const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
|
|
8
|
-
if (a) {
|
|
9
|
-
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
-
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
11
|
-
}
|
|
12
|
-
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
|
|
13
|
-
});
|
|
14
|
-
return t.displayName = `${e}.Slot`, t;
|
|
15
|
-
}
|
|
16
|
-
// @__NO_SIDE_EFFECTS__
|
|
17
|
-
function y(e) {
|
|
18
|
-
const r = l.forwardRef((t, o) => {
|
|
19
|
-
const { children: n, ...i } = t;
|
|
20
|
-
if (l.isValidElement(n)) {
|
|
21
|
-
const c = R(n), s = C(i, n.props);
|
|
22
|
-
return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
|
|
23
|
-
}
|
|
24
|
-
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
25
|
-
});
|
|
26
|
-
return r.displayName = `${e}.SlotClone`, r;
|
|
27
|
-
}
|
|
28
|
-
var E = /* @__PURE__ */ Symbol("radix.slottable");
|
|
29
|
-
function g(e) {
|
|
30
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
|
|
31
|
-
}
|
|
32
|
-
function C(e, r) {
|
|
33
|
-
const t = { ...r };
|
|
34
|
-
for (const o in r) {
|
|
35
|
-
const n = e[o], i = r[o];
|
|
36
|
-
/^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
|
|
37
|
-
const a = i(...s);
|
|
38
|
-
return n(...s), a;
|
|
39
|
-
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
|
|
40
|
-
}
|
|
41
|
-
return { ...e, ...t };
|
|
42
|
-
}
|
|
43
|
-
function R(e) {
|
|
44
|
-
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
45
|
-
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
46
|
-
}
|
|
1
|
+
var e = {};
|
|
47
2
|
export {
|
|
48
|
-
|
|
3
|
+
e as __exports
|
|
49
4
|
};
|
|
50
5
|
//# sourceMappingURL=index84.js.map
|
package/dist/index84.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index84.js","sources":[
|
|
1
|
+
{"version":3,"file":"index84.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|