@rpcbase/ui 0.230.0 → 0.231.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/PhoneNumberInput/index.d.ts.map +1 -1
- package/dist/index100.js +5 -52
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +7 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +5 -4
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -15
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -5
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +6 -7
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +145 -16
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +39 -4
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +7 -5
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +13 -5
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +13 -4
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +7 -4
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +31 -6
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -24
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +10 -6
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +8 -4
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +13 -6
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +101 -5
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +20 -5
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +53 -5
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +72 -4
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +9 -8
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +20 -5
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +16 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +23 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +4 -144
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +23 -39
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +35 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +16 -8
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -13
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -13
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -7
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -31
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -10
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +3 -10
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +6 -8
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +24 -14
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +7 -101
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +7 -20
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +5 -53
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -72
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -9
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -20
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -16
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +4 -23
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -6
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -5
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -23
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +6 -35
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +69 -16
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +2 -7
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +363 -4
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +261 -4
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +60 -4
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +46 -4
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +169 -3
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +109 -6
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +25 -24
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +4 -6
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +5 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -3
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +466 -3
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +185 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +107 -3
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +262 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -3
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +42 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +4 -3
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +11 -13
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +62 -148
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +37 -30
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +14 -10
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +23 -48
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +109 -10
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -45
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -95
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -87
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +247 -240
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +5 -106
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +11 -52
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +19 -11
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +13 -38
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +261 -8
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +4 -116
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +28 -18
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +126 -15
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -3
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +76 -34
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +65 -19
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +8 -9
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +15 -8
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +91 -18
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +63 -26
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +44 -15
- package/dist/index195.js.map +1 -1
- package/dist/index200.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index205.js +2 -2
- package/dist/index206.js +2 -2
- package/dist/index209.js +3 -3
- package/dist/index210.js +1 -1
- package/dist/index211.js +2 -2
- package/dist/index212.js +2 -2
- package/dist/index214.js +1 -1
- package/dist/index215.js +2 -2
- package/dist/index216.js +1 -1
- package/dist/index217.js +7 -7
- package/dist/index218.js +3 -3
- package/dist/index219.js +1 -1
- package/dist/index220.js +1 -1
- package/dist/index221.js +3 -3
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +1 -1
- package/dist/index228.js +2 -2
- package/dist/index229.js +2 -2
- package/dist/index230.js +3 -3
- package/dist/index231.js +2 -2
- package/dist/index232.js +1 -1
- package/dist/index234.js +1 -1
- package/dist/index235.js +2 -2
- package/dist/index236.js +1 -1
- package/dist/index247.js +1 -1
- package/dist/index248.js +1 -1
- package/dist/index250.js +1 -1
- package/dist/index252.js +1 -1
- package/dist/index253.js +1 -1
- package/dist/index254.js +3 -3
- package/dist/index255.js +2 -2
- package/dist/index259.js +11 -5
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +50 -11
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +4 -51
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +30 -4
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -25
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -16
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +21 -5
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +51 -21
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +25 -51
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +40 -24
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +37 -39
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +45 -40
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +21 -45
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +70 -23
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +17 -19
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +11 -20
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +26 -69
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -16
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +17 -10
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +35 -26
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +261 -12
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +275 -15
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +68 -36
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +96 -62
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +77 -256
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +3 -278
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +29 -68
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +16 -45
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +34 -99
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +16 -83
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +4 -13
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +26 -3
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +26 -27
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -17
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +79 -38
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +268 -33
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +11 -68
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -16
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +25 -3
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +14 -108
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +119 -20
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +5 -28
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +41 -4
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +64 -125
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +14 -5
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +7 -78
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -269
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -11
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +11 -28
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +8 -16
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +134 -11
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +24 -24
- package/dist/index310.js +398 -24
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +51 -15
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -125
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +11 -5
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +12 -39
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +148 -59
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +30 -13
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +10 -14
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +48 -7
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +12 -13
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index320.js +44 -5
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +95 -3
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +86 -10
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +105 -7
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +48 -129
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +11 -261
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +29 -391
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -52
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +3 -11
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +9 -11
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +116 -4
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +17 -11
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +16 -4
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +37 -5
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +20 -11
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +8 -78
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +16 -63
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +27 -7
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +15 -91
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +7 -19
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +11 -4
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +8 -17
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +13 -12
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +3 -8
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +3 -11
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +16 -7
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +50 -12
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +5 -3
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +122 -3
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +33 -4
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +74 -15
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +141 -7
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +61 -51
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +49 -11
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +15 -17
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +8 -5
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +4 -5
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +11 -20
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +21 -44
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +5 -18
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +17 -4
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +12 -200
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -78
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +10 -121
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +16 -17
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +5 -32
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +20 -73
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +45 -143
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +17 -61
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +4 -49
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +200 -4
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +77 -11
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +20 -21
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +8 -4
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +26 -5
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +27 -4
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +136 -14
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +12 -8
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +226 -5
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +3 -4
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +19 -545
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +77 -46
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +12 -18
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -5
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +71 -7
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +9 -7
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +15 -7
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +4 -11
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +4 -8
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +4 -13
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +16 -3
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +9 -3
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +5 -8
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +5 -26
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +543 -24
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +44 -135
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +16 -11
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -226
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +7 -3
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +6 -19
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +7 -77
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +12 -12
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +8 -3
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +12 -71
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +3 -9
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +3 -16
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +14 -4
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +490 -54
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +5 -68
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +55 -30
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +68 -9
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +26 -148
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +9 -108
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +153 -8
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +108 -2
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +7 -43
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +2 -56
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +43 -7
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +56 -2
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +7 -54
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +2 -56
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +54 -14
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +51 -487
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +2 -16
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +2 -29
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +2 -13
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +2 -7
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +16 -2
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +29 -2
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +13 -2
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +7 -2
- package/dist/index430.js.map +1 -1
- package/dist/index48.js +2 -2
- package/dist/index49.js +31 -31
- package/dist/index50.js +29 -29
- package/dist/index51.js +2 -2
- package/dist/index52.js +12 -12
- package/dist/index53.js +4 -4
- package/dist/index54.js +1 -1
- package/dist/index55.js +21 -21
- package/dist/index56.js +5 -5
- package/dist/index57.js +5 -5
- package/dist/index58.js +8 -8
- package/dist/index59.js +5 -5
- package/dist/index60.js +17 -17
- package/dist/index61.js +5 -5
- package/dist/index62.js +3 -3
- package/dist/index74.js +1 -1
- package/dist/index75.js +2 -2
- package/dist/index76.js +2 -2
- package/dist/index79.js +52 -6
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +4 -68
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +15 -363
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +5 -261
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +7 -60
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +16 -46
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +4 -169
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +4 -109
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -24
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +6 -8
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +4 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -5
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +24 -466
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -185
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -107
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +6 -262
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -42
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +5 -4
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index305.js
CHANGED
|
@@ -1,273 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { useValueAsRef as z } from "./index264.js";
|
|
6
|
-
import { useStableCallback as Je } from "./index263.js";
|
|
7
|
-
import { useDirection as Ke } from "./index323.js";
|
|
8
|
-
import { arrow as Ne } from "./index358.js";
|
|
9
|
-
import { hide as Qe } from "./index359.js";
|
|
10
|
-
import { DEFAULT_SIDES as Ze } from "./index360.js";
|
|
11
|
-
import { flip as et, size as tt, offset as nt, shift as ot, limitShift as it } from "./index361.js";
|
|
12
|
-
import { useFloating as rt } from "./index362.js";
|
|
13
|
-
import { autoUpdate as ke } from "./index326.js";
|
|
14
|
-
import { getWindow as st } from "./index324.js";
|
|
15
|
-
function Le(a, u, h) {
|
|
16
|
-
const n = a === "inline-start" || a === "inline-end";
|
|
17
|
-
return {
|
|
18
|
-
top: "top",
|
|
19
|
-
right: n ? h ? "inline-start" : "inline-end" : "right",
|
|
20
|
-
bottom: "bottom",
|
|
21
|
-
left: n ? h ? "inline-end" : "inline-start" : "left"
|
|
22
|
-
}[u];
|
|
23
|
-
}
|
|
24
|
-
function Ce(a, u, h) {
|
|
25
|
-
const {
|
|
26
|
-
rects: n,
|
|
27
|
-
placement: c
|
|
28
|
-
} = a;
|
|
29
|
-
return {
|
|
30
|
-
side: Le(u, B(c), h),
|
|
31
|
-
align: He(c) || "center",
|
|
32
|
-
anchor: {
|
|
33
|
-
width: n.reference.width,
|
|
34
|
-
height: n.reference.height
|
|
35
|
-
},
|
|
36
|
-
positioner: {
|
|
37
|
-
width: n.floating.width,
|
|
38
|
-
height: n.floating.height
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function St(a) {
|
|
43
|
-
const {
|
|
44
|
-
// Public parameters
|
|
45
|
-
anchor: u,
|
|
46
|
-
positionMethod: h = "absolute",
|
|
47
|
-
side: n = "bottom",
|
|
48
|
-
sideOffset: c = 0,
|
|
49
|
-
align: R = "center",
|
|
50
|
-
alignOffset: V = 0,
|
|
51
|
-
collisionBoundary: Z,
|
|
52
|
-
collisionPadding: Te = 5,
|
|
53
|
-
sticky: W = !1,
|
|
54
|
-
arrowPadding: ee = 5,
|
|
55
|
-
disableAnchorTracking: I = !1,
|
|
56
|
-
// Private parameters
|
|
57
|
-
keepMounted: M = !1,
|
|
58
|
-
floatingRootContext: D,
|
|
59
|
-
mounted: o,
|
|
60
|
-
collisionAvoidance: U,
|
|
61
|
-
shiftCrossAxis: S = !1,
|
|
62
|
-
nodeId: ze,
|
|
63
|
-
adaptiveOrigin: Y,
|
|
64
|
-
lazyFlip: te = !1,
|
|
65
|
-
externalTree: Be
|
|
66
|
-
} = a, [ne, oe] = d.useState(null);
|
|
67
|
-
!o && ne !== null && oe(null);
|
|
68
|
-
const P = U.side || "flip", O = U.align || "flip", Ve = U.fallbackAxisSide || "end", ie = typeof u == "function" ? u : void 0, We = Je(ie), re = ie ? We : u, k = z(u), Ie = z(o), x = Ke() === "rtl", se = ne || {
|
|
69
|
-
top: "top",
|
|
70
|
-
right: "right",
|
|
71
|
-
bottom: "bottom",
|
|
72
|
-
left: "left",
|
|
73
|
-
"inline-end": x ? "left" : "right",
|
|
74
|
-
"inline-start": x ? "right" : "left"
|
|
75
|
-
}[n], Ue = R === "center" ? se : `${se}-${R}`;
|
|
76
|
-
let t = Te;
|
|
77
|
-
const p = 1, ce = n === "bottom" ? p : 0, le = n === "top" ? p : 0, ae = n === "right" ? p : 0, fe = n === "left" ? p : 0;
|
|
78
|
-
typeof t == "number" ? t = {
|
|
79
|
-
top: t + ce,
|
|
80
|
-
right: t + fe,
|
|
81
|
-
bottom: t + le,
|
|
82
|
-
left: t + ae
|
|
83
|
-
} : t && (t = {
|
|
84
|
-
top: (t.top || 0) + ce,
|
|
85
|
-
right: (t.right || 0) + fe,
|
|
86
|
-
bottom: (t.bottom || 0) + le,
|
|
87
|
-
left: (t.left || 0) + ae
|
|
88
|
-
});
|
|
89
|
-
const C = {
|
|
90
|
-
boundary: Z === "clipping-ancestors" ? "clippingAncestors" : Z,
|
|
91
|
-
padding: t
|
|
92
|
-
}, m = d.useRef(null), X = z(c), j = z(V), F = [nt((e) => {
|
|
93
|
-
const i = Ce(e, n, x), l = typeof X.current == "function" ? X.current(i) : X.current, r = typeof j.current == "function" ? j.current(i) : j.current;
|
|
94
|
-
return {
|
|
95
|
-
mainAxis: l,
|
|
96
|
-
crossAxis: r,
|
|
97
|
-
alignmentAxis: r
|
|
98
|
-
};
|
|
99
|
-
}, [typeof c != "function" ? c : 0, typeof V != "function" ? V : 0, x, n])], de = O === "none" && P !== "shift", ue = !de && (W || S || P === "shift"), pe = P === "none" ? null : et({
|
|
100
|
-
...C,
|
|
101
|
-
// Ensure the popup flips if it's been limited by its --available-height and it resizes.
|
|
102
|
-
// Since the size() padding is smaller than the flip() padding, flip() will take precedence.
|
|
103
|
-
padding: {
|
|
104
|
-
top: t.top + p,
|
|
105
|
-
right: t.right + p,
|
|
106
|
-
bottom: t.bottom + p,
|
|
107
|
-
left: t.left + p
|
|
108
|
-
},
|
|
109
|
-
mainAxis: !S && P === "flip",
|
|
110
|
-
crossAxis: O === "flip" ? "alignment" : !1,
|
|
111
|
-
fallbackAxisSideDirection: Ve
|
|
112
|
-
}), he = de ? null : ot((e) => {
|
|
113
|
-
const i = De(e.elements.floating).documentElement;
|
|
114
|
-
return {
|
|
115
|
-
...C,
|
|
116
|
-
// Use the Layout Viewport to avoid shifting around when pinch-zooming
|
|
117
|
-
// for context menus.
|
|
118
|
-
rootBoundary: S ? {
|
|
119
|
-
x: 0,
|
|
120
|
-
y: 0,
|
|
121
|
-
width: i.clientWidth,
|
|
122
|
-
height: i.clientHeight
|
|
123
|
-
} : void 0,
|
|
124
|
-
mainAxis: O !== "none",
|
|
125
|
-
crossAxis: ue,
|
|
126
|
-
limiter: W || S ? void 0 : it((l) => {
|
|
127
|
-
if (!m.current)
|
|
128
|
-
return {};
|
|
129
|
-
const {
|
|
130
|
-
width: r,
|
|
131
|
-
height: f
|
|
132
|
-
} = m.current.getBoundingClientRect(), s = Me(B(l.placement)), y = s === "y" ? r : f, A = s === "y" ? t.left + t.right : t.top + t.bottom;
|
|
133
|
-
return {
|
|
134
|
-
offset: y / 2 + A / 2
|
|
135
|
-
};
|
|
136
|
-
})
|
|
137
|
-
};
|
|
138
|
-
}, [C, W, S, t, O]);
|
|
139
|
-
P === "shift" || O === "shift" || R === "center" ? F.push(he, pe) : F.push(pe, he), F.push(tt({
|
|
140
|
-
...C,
|
|
141
|
-
apply({
|
|
142
|
-
elements: {
|
|
143
|
-
floating: e
|
|
144
|
-
},
|
|
145
|
-
availableWidth: i,
|
|
146
|
-
availableHeight: l,
|
|
147
|
-
rects: r
|
|
148
|
-
}) {
|
|
149
|
-
if (!Ie.current)
|
|
150
|
-
return;
|
|
151
|
-
const f = e.style;
|
|
152
|
-
f.setProperty("--available-width", `${i}px`), f.setProperty("--available-height", `${l}px`);
|
|
153
|
-
const s = st(e).devicePixelRatio || 1, {
|
|
154
|
-
x: y,
|
|
155
|
-
y: A,
|
|
156
|
-
width: T,
|
|
157
|
-
height: G
|
|
158
|
-
} = r.reference, J = (Math.round((y + T) * s) - Math.round(y * s)) / s, K = (Math.round((A + G) * s) - Math.round(A * s)) / s;
|
|
159
|
-
f.setProperty("--anchor-width", `${J}px`), f.setProperty("--anchor-height", `${K}px`);
|
|
160
|
-
}
|
|
161
|
-
}), Ne(() => ({
|
|
162
|
-
// `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,
|
|
163
|
-
// we'll create a fake element.
|
|
164
|
-
element: m.current || De(m.current).createElement("div"),
|
|
165
|
-
padding: ee,
|
|
166
|
-
offsetParent: "floating"
|
|
167
|
-
}), [ee]), {
|
|
168
|
-
name: "transformOrigin",
|
|
169
|
-
fn(e) {
|
|
170
|
-
const {
|
|
171
|
-
elements: i,
|
|
172
|
-
middlewareData: l,
|
|
173
|
-
placement: r,
|
|
174
|
-
rects: f,
|
|
175
|
-
y: s
|
|
176
|
-
} = e, y = B(r), A = Me(y), T = m.current, G = l.arrow?.x || 0, J = l.arrow?.y || 0, K = T?.clientWidth || 0, Ye = T?.clientHeight || 0, N = G + K / 2, Ee = J + Ye / 2, Xe = Math.abs(l.shift?.y || 0), je = f.reference.height / 2, E = typeof c == "function" ? c(Ce(e, n, x)) : c, _e = Xe > E, qe = {
|
|
177
|
-
top: `${N}px calc(100% + ${E}px)`,
|
|
178
|
-
bottom: `${N}px ${-E}px`,
|
|
179
|
-
left: `calc(100% + ${E}px) ${Ee}px`,
|
|
180
|
-
right: `${-E}px ${Ee}px`
|
|
181
|
-
}[y], Ge = `${N}px ${f.reference.y + je - s}px`;
|
|
182
|
-
return i.floating.style.setProperty("--transform-origin", ue && A === "y" && _e ? Ge : qe), {};
|
|
183
|
-
}
|
|
184
|
-
}, Qe, Y), Q(() => {
|
|
185
|
-
!o && D && D.update({
|
|
186
|
-
referenceElement: null,
|
|
187
|
-
floatingElement: null,
|
|
188
|
-
domReferenceElement: null,
|
|
189
|
-
positionReference: null
|
|
190
|
-
});
|
|
191
|
-
}, [o, D]);
|
|
192
|
-
const _ = d.useMemo(() => ({
|
|
193
|
-
elementResize: !I && typeof ResizeObserver < "u",
|
|
194
|
-
layoutShift: !I && typeof IntersectionObserver < "u"
|
|
195
|
-
}), [I]), {
|
|
196
|
-
refs: b,
|
|
197
|
-
elements: v,
|
|
198
|
-
x: me,
|
|
199
|
-
y: ge,
|
|
200
|
-
middlewareData: w,
|
|
201
|
-
update: H,
|
|
202
|
-
placement: ye,
|
|
203
|
-
context: xe,
|
|
204
|
-
isPositioned: g,
|
|
205
|
-
floatingStyles: be
|
|
206
|
-
} = rt({
|
|
207
|
-
rootContext: D,
|
|
208
|
-
open: M ? o : void 0,
|
|
209
|
-
placement: Ue,
|
|
210
|
-
middleware: F,
|
|
211
|
-
strategy: h,
|
|
212
|
-
whileElementsMounted: M ? void 0 : (...e) => ke(...e, _),
|
|
213
|
-
nodeId: ze,
|
|
214
|
-
externalTree: Be
|
|
215
|
-
}), {
|
|
216
|
-
sideX: we,
|
|
217
|
-
sideY: Ae
|
|
218
|
-
} = w.adaptiveOrigin || Ze, q = g ? h : "fixed", Re = d.useMemo(() => {
|
|
219
|
-
const e = Y ? {
|
|
220
|
-
position: q,
|
|
221
|
-
[we]: me,
|
|
222
|
-
[Ae]: ge
|
|
223
|
-
} : {
|
|
224
|
-
position: q,
|
|
225
|
-
...be
|
|
226
|
-
};
|
|
227
|
-
return g || (e.opacity = 0), e;
|
|
228
|
-
}, [Y, q, we, me, Ae, ge, be, g]), L = d.useRef(null);
|
|
229
|
-
Q(() => {
|
|
230
|
-
if (!o)
|
|
231
|
-
return;
|
|
232
|
-
const e = k.current, i = typeof e == "function" ? e() : e, r = (Fe(i) ? i.current : i) || null || null;
|
|
233
|
-
r !== L.current && (b.setPositionReference(r), L.current = r);
|
|
234
|
-
}, [o, b, re, k]), d.useEffect(() => {
|
|
235
|
-
if (!o)
|
|
236
|
-
return;
|
|
237
|
-
const e = k.current;
|
|
238
|
-
typeof e != "function" && Fe(e) && e.current !== L.current && (b.setPositionReference(e.current), L.current = e.current);
|
|
239
|
-
}, [o, b, re, k]), d.useEffect(() => {
|
|
240
|
-
if (M && o && v.domReference && v.floating)
|
|
241
|
-
return ke(v.domReference, v.floating, H, _);
|
|
242
|
-
}, [M, o, v, H, _]);
|
|
243
|
-
const $ = B(ye), Se = Le(n, $, x), Pe = He(ye) || "center", Oe = !!w.hide?.referenceHidden;
|
|
244
|
-
Q(() => {
|
|
245
|
-
te && o && g && oe($);
|
|
246
|
-
}, [te, o, g, $]);
|
|
247
|
-
const ve = d.useMemo(() => ({
|
|
248
|
-
position: "absolute",
|
|
249
|
-
top: w.arrow?.y,
|
|
250
|
-
left: w.arrow?.x
|
|
251
|
-
}), [w.arrow]), $e = w.arrow?.centerOffset !== 0;
|
|
252
|
-
return d.useMemo(() => ({
|
|
253
|
-
positionerStyles: Re,
|
|
254
|
-
arrowStyles: ve,
|
|
255
|
-
arrowRef: m,
|
|
256
|
-
arrowUncentered: $e,
|
|
257
|
-
side: Se,
|
|
258
|
-
align: Pe,
|
|
259
|
-
physicalSide: $,
|
|
260
|
-
anchorHidden: Oe,
|
|
261
|
-
refs: b,
|
|
262
|
-
context: xe,
|
|
263
|
-
isPositioned: g,
|
|
264
|
-
update: H
|
|
265
|
-
}), [Re, ve, m, $e, Se, Pe, $, Oe, b, xe, g, H]);
|
|
266
|
-
}
|
|
267
|
-
function Fe(a) {
|
|
268
|
-
return a != null && "current" in a;
|
|
1
|
+
import { EMPTY_OBJECT as r } from "./index264.js";
|
|
2
|
+
import { DISABLED_TRANSITIONS_STYLE as o } from "./index192.js";
|
|
3
|
+
function T(t) {
|
|
4
|
+
return t === "starting" ? o : r;
|
|
269
5
|
}
|
|
270
6
|
export {
|
|
271
|
-
|
|
7
|
+
T as getDisabledMountTransitionStyles
|
|
272
8
|
};
|
|
273
9
|
//# sourceMappingURL=index305.js.map
|
package/dist/index305.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index305.js","sources":["../../../node_modules/@base-ui/react/esm/utils/useAnchorPositioning.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { autoUpdate, flip, limitShift, offset, shift, useFloating, size } from \"../floating-ui-react/index.js\";\nimport { useDirection } from \"../internals/direction-context/DirectionContext.js\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.js\";\nimport { hide } from \"./hideMiddleware.js\";\nimport { DEFAULT_SIDES } from \"./adaptiveOriginMiddleware.js\";\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n return {\n top: 'top',\n right: isLogicalSideParam ? logicalRight : 'right',\n bottom: 'bottom',\n left: isLogicalSideParam ? logicalLeft : 'left'\n }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n const {\n rects,\n placement\n } = state;\n const data = {\n side: getLogicalSide(sideParam, getSide(placement), isRtl),\n align: getAlignment(placement) || 'center',\n anchor: {\n width: rects.reference.width,\n height: rects.reference.height\n },\n positioner: {\n width: rects.floating.width,\n height: rects.floating.height\n }\n };\n return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n const {\n // Public parameters\n anchor,\n positionMethod = 'absolute',\n side: sideParam = 'bottom',\n sideOffset = 0,\n align = 'center',\n alignOffset = 0,\n collisionBoundary,\n collisionPadding: collisionPaddingParam = 5,\n sticky = false,\n arrowPadding = 5,\n disableAnchorTracking = false,\n // Private parameters\n keepMounted = false,\n floatingRootContext,\n mounted,\n collisionAvoidance,\n shiftCrossAxis = false,\n nodeId,\n adaptiveOrigin,\n lazyFlip = false,\n externalTree\n } = params;\n const [mountSide, setMountSide] = React.useState(null);\n if (!mounted && mountSide !== null) {\n setMountSide(null);\n }\n const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n const anchorFnCallback = useStableCallback(anchorFn);\n const anchorDep = anchorFn ? anchorFnCallback : anchor;\n const anchorValueRef = useValueAsRef(anchor);\n const mountedRef = useValueAsRef(mounted);\n const direction = useDirection();\n const isRtl = direction === 'rtl';\n const side = mountSide || {\n top: 'top',\n right: 'right',\n bottom: 'bottom',\n left: 'left',\n 'inline-end': isRtl ? 'left' : 'right',\n 'inline-start': isRtl ? 'right' : 'left'\n }[sideParam];\n const placement = align === 'center' ? side : `${side}-${align}`;\n let collisionPadding = collisionPaddingParam;\n\n // Create a bias to the preferred side.\n // On iOS, when the mobile software keyboard opens, the input is exactly centered\n // in the viewport, but this can cause it to flip to the top undesirably.\n const bias = 1;\n const biasTop = sideParam === 'bottom' ? bias : 0;\n const biasBottom = sideParam === 'top' ? bias : 0;\n const biasLeft = sideParam === 'right' ? bias : 0;\n const biasRight = sideParam === 'left' ? bias : 0;\n if (typeof collisionPadding === 'number') {\n collisionPadding = {\n top: collisionPadding + biasTop,\n right: collisionPadding + biasRight,\n bottom: collisionPadding + biasBottom,\n left: collisionPadding + biasLeft\n };\n } else if (collisionPadding) {\n collisionPadding = {\n top: (collisionPadding.top || 0) + biasTop,\n right: (collisionPadding.right || 0) + biasRight,\n bottom: (collisionPadding.bottom || 0) + biasBottom,\n left: (collisionPadding.left || 0) + biasLeft\n };\n }\n const commonCollisionProps = {\n boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n padding: collisionPadding\n };\n\n // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n // presence.\n const arrowRef = React.useRef(null);\n\n // Keep these reactive if they're not functions\n const sideOffsetRef = useValueAsRef(sideOffset);\n const alignOffsetRef = useValueAsRef(alignOffset);\n const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n const middleware = [offset(state => {\n const data = getOffsetData(state, sideParam, isRtl);\n const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n return {\n mainAxis: sideAxis,\n crossAxis: alignAxis,\n alignmentAxis: alignAxis\n };\n }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam])];\n const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n ...commonCollisionProps,\n // Ensure the popup flips if it's been limited by its --available-height and it resizes.\n // Since the size() padding is smaller than the flip() padding, flip() will take precedence.\n padding: {\n top: collisionPadding.top + bias,\n right: collisionPadding.right + bias,\n bottom: collisionPadding.bottom + bias,\n left: collisionPadding.left + bias\n },\n mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n });\n const shiftMiddleware = shiftDisabled ? null : shift(data => {\n const html = ownerDocument(data.elements.floating).documentElement;\n return {\n ...commonCollisionProps,\n // Use the Layout Viewport to avoid shifting around when pinch-zooming\n // for context menus.\n rootBoundary: shiftCrossAxis ? {\n x: 0,\n y: 0,\n width: html.clientWidth,\n height: html.clientHeight\n } : undefined,\n mainAxis: collisionAvoidanceAlign !== 'none',\n crossAxis: crossAxisShiftEnabled,\n limiter: sticky || shiftCrossAxis ? undefined : limitShift(limitData => {\n if (!arrowRef.current) {\n return {};\n }\n const {\n width,\n height\n } = arrowRef.current.getBoundingClientRect();\n const sideAxis = getSideAxis(getSide(limitData.placement));\n const arrowSize = sideAxis === 'y' ? width : height;\n const offsetAmount = sideAxis === 'y' ? collisionPadding.left + collisionPadding.right : collisionPadding.top + collisionPadding.bottom;\n return {\n offset: arrowSize / 2 + offsetAmount / 2\n };\n })\n };\n }, [commonCollisionProps, sticky, shiftCrossAxis, collisionPadding, collisionAvoidanceAlign]);\n\n // https://floating-ui.com/docs/flip#combining-with-shift\n if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n middleware.push(shiftMiddleware, flipMiddleware);\n } else {\n middleware.push(flipMiddleware, shiftMiddleware);\n }\n middleware.push(size({\n ...commonCollisionProps,\n apply({\n elements: {\n floating\n },\n availableWidth,\n availableHeight,\n rects\n }) {\n if (!mountedRef.current) {\n return;\n }\n const floatingStyle = floating.style;\n floatingStyle.setProperty('--available-width', `${availableWidth}px`);\n floatingStyle.setProperty('--available-height', `${availableHeight}px`);\n\n // Snap anchor dimensions to device pixels to ensure the popup's visual width matches the anchor's one.\n const dpr = ownerWindow(floating).devicePixelRatio || 1;\n const {\n x,\n y,\n width,\n height\n } = rects.reference;\n const anchorWidth = (Math.round((x + width) * dpr) - Math.round(x * dpr)) / dpr;\n const anchorHeight = (Math.round((y + height) * dpr) - Math.round(y * dpr)) / dpr;\n floatingStyle.setProperty('--anchor-width', `${anchorWidth}px`);\n floatingStyle.setProperty('--anchor-height', `${anchorHeight}px`);\n }\n }), arrow(() => ({\n // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n // we'll create a fake element.\n element: arrowRef.current || ownerDocument(arrowRef.current).createElement('div'),\n padding: arrowPadding,\n offsetParent: 'floating'\n }), [arrowPadding]), {\n name: 'transformOrigin',\n fn(state) {\n const {\n elements,\n middlewareData,\n placement: renderedPlacement,\n rects,\n y\n } = state;\n const currentRenderedSide = getSide(renderedPlacement);\n const currentRenderedAxis = getSideAxis(currentRenderedSide);\n const arrowEl = arrowRef.current;\n const arrowX = middlewareData.arrow?.x || 0;\n const arrowY = middlewareData.arrow?.y || 0;\n const arrowWidth = arrowEl?.clientWidth || 0;\n const arrowHeight = arrowEl?.clientHeight || 0;\n const transformX = arrowX + arrowWidth / 2;\n const transformY = arrowY + arrowHeight / 2;\n const shiftY = Math.abs(middlewareData.shift?.y || 0);\n const halfAnchorHeight = rects.reference.height / 2;\n const sideOffsetValue = typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset;\n const isOverlappingAnchor = shiftY > sideOffsetValue;\n const adjacentTransformOrigin = {\n top: `${transformX}px calc(100% + ${sideOffsetValue}px)`,\n bottom: `${transformX}px ${-sideOffsetValue}px`,\n left: `calc(100% + ${sideOffsetValue}px) ${transformY}px`,\n right: `${-sideOffsetValue}px ${transformY}px`\n }[currentRenderedSide];\n const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n return {};\n }\n }, hide, adaptiveOrigin);\n useIsoLayoutEffect(() => {\n // Ensure positioning doesn't run initially for `keepMounted` elements that\n // aren't initially open.\n if (!mounted && floatingRootContext) {\n floatingRootContext.update({\n referenceElement: null,\n floatingElement: null,\n domReferenceElement: null,\n positionReference: null\n });\n }\n }, [mounted, floatingRootContext]);\n const autoUpdateOptions = React.useMemo(() => ({\n elementResize: !disableAnchorTracking && typeof ResizeObserver !== 'undefined',\n layoutShift: !disableAnchorTracking && typeof IntersectionObserver !== 'undefined'\n }), [disableAnchorTracking]);\n const {\n refs,\n elements,\n x,\n y,\n middlewareData,\n update,\n placement: renderedPlacement,\n context,\n isPositioned,\n floatingStyles: originalFloatingStyles\n } = useFloating({\n rootContext: floatingRootContext,\n open: keepMounted ? mounted : undefined,\n placement,\n middleware,\n strategy: positionMethod,\n whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n nodeId,\n externalTree\n });\n const {\n sideX,\n sideY\n } = middlewareData.adaptiveOrigin || DEFAULT_SIDES;\n\n // Default to `fixed` when not positioned to prevent `autoFocus` scroll jumps.\n // This ensures the popup is inside the viewport initially before it gets positioned.\n const resolvedPosition = isPositioned ? positionMethod : 'fixed';\n const floatingStyles = React.useMemo(() => {\n const base = adaptiveOrigin ? {\n position: resolvedPosition,\n [sideX]: x,\n [sideY]: y\n } : {\n position: resolvedPosition,\n ...originalFloatingStyles\n };\n if (!isPositioned) {\n base.opacity = 0;\n }\n return base;\n }, [adaptiveOrigin, resolvedPosition, sideX, x, sideY, y, originalFloatingStyles, isPositioned]);\n const registeredPositionReferenceRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n const finalAnchor = unwrappedElement || null;\n if (finalAnchor !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(finalAnchor);\n registeredPositionReferenceRef.current = finalAnchor;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n\n // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n if (typeof anchorValue === 'function') {\n return;\n }\n if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(anchorValue.current);\n registeredPositionReferenceRef.current = anchorValue.current;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (keepMounted && mounted && elements.domReference && elements.floating) {\n return autoUpdate(elements.domReference, elements.floating, update, autoUpdateOptions);\n }\n return undefined;\n }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n const renderedSide = getSide(renderedPlacement);\n const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n const renderedAlign = getAlignment(renderedPlacement) || 'center';\n const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n\n /**\n * Locks the flip (makes it \"sticky\") so it doesn't prefer a given placement\n * and flips back lazily, not eagerly. Ideal for filtered lists that change\n * the size of the popup dynamically to avoid unwanted flipping when typing.\n */\n useIsoLayoutEffect(() => {\n if (lazyFlip && mounted && isPositioned) {\n setMountSide(renderedSide);\n }\n }, [lazyFlip, mounted, isPositioned, renderedSide]);\n const arrowStyles = React.useMemo(() => ({\n position: 'absolute',\n top: middlewareData.arrow?.y,\n left: middlewareData.arrow?.x\n }), [middlewareData.arrow]);\n const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n return React.useMemo(() => ({\n positionerStyles: floatingStyles,\n arrowStyles,\n arrowRef,\n arrowUncentered,\n side: logicalRenderedSide,\n align: renderedAlign,\n physicalSide: renderedSide,\n anchorHidden,\n refs,\n context,\n isPositioned,\n update\n }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, renderedSide, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n return param != null && 'current' in param;\n}"],"names":["getLogicalSide","sideParam","renderedSide","isRtl","isLogicalSideParam","getOffsetData","state","rects","placement","getSide","getAlignment","useAnchorPositioning","params","anchor","positionMethod","sideOffset","align","alignOffset","collisionBoundary","collisionPaddingParam","sticky","arrowPadding","disableAnchorTracking","keepMounted","floatingRootContext","mounted","collisionAvoidance","shiftCrossAxis","nodeId","adaptiveOrigin","lazyFlip","externalTree","mountSide","setMountSide","React","collisionAvoidanceSide","collisionAvoidanceAlign","collisionAvoidanceFallbackAxisSide","anchorFn","anchorFnCallback","useStableCallback","anchorDep","anchorValueRef","useValueAsRef","mountedRef","useDirection","side","collisionPadding","bias","biasTop","biasBottom","biasLeft","biasRight","commonCollisionProps","arrowRef","sideOffsetRef","alignOffsetRef","middleware","offset","data","sideAxis","alignAxis","shiftDisabled","crossAxisShiftEnabled","flipMiddleware","flip","shiftMiddleware","shift","html","ownerDocument","limitShift","limitData","width","height","getSideAxis","arrowSize","offsetAmount","size","floating","availableWidth","availableHeight","floatingStyle","dpr","ownerWindow","x","y","anchorWidth","anchorHeight","arrow","elements","middlewareData","renderedPlacement","currentRenderedSide","currentRenderedAxis","arrowEl","arrowX","arrowY","arrowWidth","arrowHeight","transformX","transformY","shiftY","halfAnchorHeight","sideOffsetValue","isOverlappingAnchor","adjacentTransformOrigin","overlapTransformOrigin","hide","useIsoLayoutEffect","autoUpdateOptions","refs","update","context","isPositioned","originalFloatingStyles","useFloating","args","autoUpdate","sideX","sideY","DEFAULT_SIDES","resolvedPosition","floatingStyles","base","registeredPositionReferenceRef","anchorValue","resolvedAnchor","finalAnchor","isRef","logicalRenderedSide","renderedAlign","anchorHidden","arrowStyles","arrowUncentered","param"],"mappings":";;;;;;;;;;;;;;AAaA,SAASA,GAAeC,GAAWC,GAAcC,GAAO;AAC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AAAA,EAGzF,GAAG,CAACtF,GAAaE,GAASgE,GAAUsB,GAAQF,CAAiB,CAAC;AAC9D,QAAM3G,IAAeO,EAAQkF,EAAiB,GACxCsC,KAAsBjI,GAAeC,GAAWC,GAAcC,CAAK,GACnE+H,KAAgBxH,GAAaiF,EAAiB,KAAK,UACnDwC,KAAe,EAAQzC,EAAe,MAAM;AAOlD,EAAAkB,EAAmB,MAAM;AACvB,IAAI9E,MAAYL,KAAWwF,KACzBhF,GAAa/B,CAAY;AAAA,EAE7B,GAAG,CAAC4B,IAAUL,GAASwF,GAAc/G,CAAY,CAAC;AAClD,QAAMkI,KAAclG,EAAM,QAAQ,OAAO;AAAA,IACvC,UAAU;AAAA,IACV,KAAKwD,EAAe,OAAO;AAAA,IAC3B,MAAMA,EAAe,OAAO;AAAA,EAChC,IAAM,CAACA,EAAe,KAAK,CAAC,GACpB2C,KAAkB3C,EAAe,OAAO,iBAAiB;AAC/D,SAAOxD,EAAM,QAAQ,OAAO;AAAA,IAC1B,kBAAkBwF;AAAA,IAClB,aAAAU;AAAA,IACA,UAAA9E;AAAA,IACA,iBAAA+E;AAAA,IACA,MAAMJ;AAAA,IACN,OAAOC;AAAA,IACP,cAAchI;AAAA,IACd,cAAAiI;AAAA,IACA,MAAArB;AAAA,IACA,SAAAE;AAAA,IACA,cAAAC;AAAA,IACA,QAAAF;AAAA,EACJ,IAAM,CAACW,IAAgBU,IAAa9E,GAAU+E,IAAiBJ,IAAqBC,IAAehI,GAAciI,IAAcrB,GAAME,IAASC,GAAcF,CAAM,CAAC;AACnK;AACA,SAASiB,GAAMM,GAAO;AACpB,SAAOA,KAAS,QAAQ,aAAaA;AACvC;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index305.js","sources":["../../../node_modules/@base-ui/react/esm/utils/getDisabledMountTransitionStyles.js"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { DISABLED_TRANSITIONS_STYLE } from \"../internals/constants.js\";\nexport function getDisabledMountTransitionStyles(transitionStatus) {\n return transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;\n}"],"names":["getDisabledMountTransitionStyles","transitionStatus","DISABLED_TRANSITIONS_STYLE","EMPTY_OBJECT"],"mappings":";;AAEO,SAASA,EAAiCC,GAAkB;AACjE,SAAOA,MAAqB,aAAaC,IAA6BC;AACxE;","x_google_ignoreList":[0]}
|
package/dist/index306.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const o = /* @__PURE__ */ t.createContext(void 0);
|
|
4
|
-
process.env.NODE_ENV !== "production" && (o.displayName = "SelectPositionerContext");
|
|
5
|
-
function i() {
|
|
6
|
-
const e = t.useContext(o);
|
|
7
|
-
if (!e)
|
|
8
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>." : n(59));
|
|
9
|
-
return e;
|
|
1
|
+
function t(E, m = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2
|
+
return Math.max(m, Math.min(E, r));
|
|
10
3
|
}
|
|
11
4
|
export {
|
|
12
|
-
|
|
13
|
-
i as useSelectPositionerContext
|
|
5
|
+
t as clamp
|
|
14
6
|
};
|
|
15
7
|
//# sourceMappingURL=index306.js.map
|
package/dist/index306.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index306.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index306.js","sources":["../../../node_modules/@base-ui/react/esm/internals/clamp.js"],"sourcesContent":["export function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}"],"names":["clamp","val","min","max"],"mappings":"AAAO,SAASA,EAAMC,GAAKC,IAAM,OAAO,kBAAkBC,IAAM,OAAO,kBAAkB;AACvF,SAAO,KAAK,IAAID,GAAK,KAAK,IAAID,GAAKE,CAAG,CAAC;AACzC;","x_google_ignoreList":[0]}
|
package/dist/index307.js
CHANGED
|
@@ -1,31 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const t = e.getBoundingClientRect();
|
|
11
|
-
o = `polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${t.left}px ${t.top}px,${t.left}px ${t.bottom}px,${t.right}px ${t.bottom}px,${t.right}px ${t.top}px,${t.left}px ${t.top}px)`;
|
|
12
|
-
}
|
|
13
|
-
return /* @__PURE__ */ s.jsx("div", {
|
|
14
|
-
ref: n,
|
|
15
|
-
role: "presentation",
|
|
16
|
-
"data-base-ui-inert": "",
|
|
17
|
-
...p,
|
|
18
|
-
style: {
|
|
19
|
-
position: "fixed",
|
|
20
|
-
inset: 0,
|
|
21
|
-
userSelect: "none",
|
|
22
|
-
WebkitUserSelect: "none",
|
|
23
|
-
clipPath: o
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
process.env.NODE_ENV !== "production" && (a.displayName = "InternalBackdrop");
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const t = /* @__PURE__ */ e.createContext(void 0);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "CSPContext");
|
|
4
|
+
const n = {
|
|
5
|
+
disableStyleElements: !1
|
|
6
|
+
};
|
|
7
|
+
function o() {
|
|
8
|
+
return e.useContext(t) ?? n;
|
|
9
|
+
}
|
|
28
10
|
export {
|
|
29
|
-
|
|
11
|
+
t as CSPContext,
|
|
12
|
+
o as useCSPContext
|
|
30
13
|
};
|
|
31
14
|
//# sourceMappingURL=index307.js.map
|
package/dist/index307.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index307.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index307.js","sources":["../../../node_modules/@base-ui/react/esm/csp-provider/CSPContext.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const CSPContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CSPContext.displayName = \"CSPContext\";\nconst DEFAULT_CSP_CONTEXT_VALUE = {\n disableStyleElements: false\n};\n\n/**\n * @internal\n */\nexport function useCSPContext() {\n return React.useContext(CSPContext) ?? DEFAULT_CSP_CONTEXT_VALUE;\n}"],"names":["CSPContext","React","DEFAULT_CSP_CONTEXT_VALUE","useCSPContext"],"mappings":";AAMY,MAACA,IAA0B,gBAAAC,EAAM,cAAc,MAAS;AAChE,QAAQ,IAAI,aAAa,iBAAcD,EAAW,cAAc;AACpE,MAAME,IAA4B;AAAA,EAChC,sBAAsB;AACxB;AAKO,SAASC,IAAgB;AAC9B,SAAOF,EAAM,WAAWD,CAAU,KAAKE;AACzC;","x_google_ignoreList":[0]}
|
package/dist/index308.js
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, e = {
|
|
8
|
-
clipPath: "inset(50%)",
|
|
9
|
-
position: "fixed",
|
|
10
|
-
top: 0,
|
|
11
|
-
left: 0
|
|
12
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = /* @__PURE__ */ t.createContext(void 0);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (e.displayName = "DirectionContext");
|
|
4
|
+
function o() {
|
|
5
|
+
return t.useContext(e)?.direction ?? "ltr";
|
|
6
|
+
}
|
|
13
7
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
n as DROPDOWN_COLLISION_AVOIDANCE,
|
|
17
|
-
e as ownerVisuallyHidden
|
|
8
|
+
e as DirectionContext,
|
|
9
|
+
o as useDirection
|
|
18
10
|
};
|
|
19
11
|
//# sourceMappingURL=index308.js.map
|
package/dist/index308.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index308.js","sources":["../../../node_modules/@base-ui/react/esm/internals/
|
|
1
|
+
{"version":3,"file":"index308.js","sources":["../../../node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const DirectionContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DirectionContext.displayName = \"DirectionContext\";\nexport function useDirection() {\n const context = React.useContext(DirectionContext);\n return context?.direction ?? 'ltr';\n}"],"names":["DirectionContext","React","useDirection"],"mappings":";AAMY,MAACA,IAAgC,gBAAAC,EAAM,cAAc,MAAS;AACtE,QAAQ,IAAI,aAAa,iBAAcD,EAAiB,cAAc;AACnE,SAASE,IAAe;AAE7B,SADgBD,EAAM,WAAWD,CAAgB,GACjC,aAAa;AAC/B;","x_google_ignoreList":[0]}
|
package/dist/index309.js
CHANGED
|
@@ -1,14 +1,137 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
function u() {
|
|
2
|
+
return typeof window < "u";
|
|
3
|
+
}
|
|
4
|
+
function a(t) {
|
|
5
|
+
return m(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
6
|
+
}
|
|
7
|
+
function i(t) {
|
|
8
|
+
var n;
|
|
9
|
+
return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
10
|
+
}
|
|
11
|
+
function L(t) {
|
|
12
|
+
var n;
|
|
13
|
+
return (n = (m(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
|
|
14
|
+
}
|
|
15
|
+
function m(t) {
|
|
16
|
+
return u() ? t instanceof Node || t instanceof i(t).Node : !1;
|
|
17
|
+
}
|
|
18
|
+
function h(t) {
|
|
19
|
+
return u() ? t instanceof Element || t instanceof i(t).Element : !1;
|
|
20
|
+
}
|
|
21
|
+
function g(t) {
|
|
22
|
+
return u() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
|
|
23
|
+
}
|
|
24
|
+
function p(t) {
|
|
25
|
+
return !u() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
|
|
26
|
+
}
|
|
27
|
+
function y(t) {
|
|
28
|
+
const {
|
|
29
|
+
overflow: n,
|
|
30
|
+
overflowX: r,
|
|
31
|
+
overflowY: c,
|
|
32
|
+
display: e
|
|
33
|
+
} = b(t);
|
|
34
|
+
return /auto|scroll|overlay|hidden|clip/.test(n + c + r) && e !== "inline" && e !== "contents";
|
|
35
|
+
}
|
|
36
|
+
function _(t) {
|
|
37
|
+
return /^(table|td|th)$/.test(a(t));
|
|
38
|
+
}
|
|
39
|
+
function T(t) {
|
|
40
|
+
try {
|
|
41
|
+
if (t.matches(":popover-open"))
|
|
42
|
+
return !0;
|
|
43
|
+
} catch {
|
|
44
|
+
}
|
|
45
|
+
try {
|
|
46
|
+
return t.matches(":modal");
|
|
47
|
+
} catch {
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const v = /transform|translate|scale|rotate|perspective|filter/, C = /paint|layout|strict|content/, o = (t) => !!t && t !== "none";
|
|
52
|
+
let s;
|
|
53
|
+
function D(t) {
|
|
54
|
+
const n = h(t) ? b(t) : t;
|
|
55
|
+
return o(n.transform) || o(n.translate) || o(n.scale) || o(n.rotate) || o(n.perspective) || !R() && (o(n.backdropFilter) || o(n.filter)) || v.test(n.willChange || "") || C.test(n.contain || "");
|
|
56
|
+
}
|
|
57
|
+
function W(t) {
|
|
58
|
+
let n = f(t);
|
|
59
|
+
for (; g(n) && !N(n); ) {
|
|
60
|
+
if (D(n))
|
|
61
|
+
return n;
|
|
62
|
+
if (T(n))
|
|
63
|
+
return null;
|
|
64
|
+
n = f(n);
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
function R() {
|
|
69
|
+
return s == null && (s = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), s;
|
|
70
|
+
}
|
|
71
|
+
function N(t) {
|
|
72
|
+
return /^(html|body|#document)$/.test(a(t));
|
|
73
|
+
}
|
|
74
|
+
function b(t) {
|
|
75
|
+
return i(t).getComputedStyle(t);
|
|
76
|
+
}
|
|
77
|
+
function $(t) {
|
|
78
|
+
return h(t) ? {
|
|
79
|
+
scrollLeft: t.scrollLeft,
|
|
80
|
+
scrollTop: t.scrollTop
|
|
81
|
+
} : {
|
|
82
|
+
scrollLeft: t.scrollX,
|
|
83
|
+
scrollTop: t.scrollY
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function f(t) {
|
|
87
|
+
if (a(t) === "html")
|
|
88
|
+
return t;
|
|
89
|
+
const n = (
|
|
90
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
91
|
+
t.assignedSlot || // DOM Element detected.
|
|
92
|
+
t.parentNode || // ShadowRoot detected.
|
|
93
|
+
p(t) && t.host || // Fallback.
|
|
94
|
+
L(t)
|
|
95
|
+
);
|
|
96
|
+
return p(n) ? n.host : n;
|
|
97
|
+
}
|
|
98
|
+
function S(t) {
|
|
99
|
+
const n = f(t);
|
|
100
|
+
return N(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : g(n) && y(n) ? n : S(n);
|
|
101
|
+
}
|
|
102
|
+
function w(t, n, r) {
|
|
103
|
+
var c;
|
|
104
|
+
n === void 0 && (n = []), r === void 0 && (r = !0);
|
|
105
|
+
const e = S(t), E = e === ((c = t.ownerDocument) == null ? void 0 : c.body), l = i(e);
|
|
106
|
+
if (E) {
|
|
107
|
+
const d = k(l);
|
|
108
|
+
return n.concat(l, l.visualViewport || [], y(e) ? e : [], d && r ? w(d) : []);
|
|
109
|
+
} else
|
|
110
|
+
return n.concat(e, w(e, [], r));
|
|
111
|
+
}
|
|
112
|
+
function k(t) {
|
|
113
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
114
|
+
}
|
|
10
115
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
116
|
+
b as getComputedStyle,
|
|
117
|
+
W as getContainingBlock,
|
|
118
|
+
L as getDocumentElement,
|
|
119
|
+
k as getFrameElement,
|
|
120
|
+
S as getNearestOverflowAncestor,
|
|
121
|
+
a as getNodeName,
|
|
122
|
+
$ as getNodeScroll,
|
|
123
|
+
w as getOverflowAncestors,
|
|
124
|
+
f as getParentNode,
|
|
125
|
+
i as getWindow,
|
|
126
|
+
D as isContainingBlock,
|
|
127
|
+
h as isElement,
|
|
128
|
+
g as isHTMLElement,
|
|
129
|
+
N as isLastTraversableNode,
|
|
130
|
+
m as isNode,
|
|
131
|
+
y as isOverflowElement,
|
|
132
|
+
p as isShadowRoot,
|
|
133
|
+
_ as isTableElement,
|
|
134
|
+
T as isTopLayer,
|
|
135
|
+
R as isWebKit
|
|
13
136
|
};
|
|
14
137
|
//# sourceMappingURL=index309.js.map
|
package/dist/index309.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index309.js","sources":["../../../node_modules/@base-ui/react/esm/select/popup/utils.js"],"sourcesContent":["export function clearStyles(element, originalStyles) {\n if (element) {\n Object.assign(element.style, originalStyles);\n }\n}\nexport const LIST_FUNCTIONAL_STYLES = {\n position: 'relative',\n maxHeight: '100%',\n overflowX: 'hidden',\n overflowY: 'auto'\n};"],"names":["clearStyles","element","originalStyles","LIST_FUNCTIONAL_STYLES"],"mappings":"AAAO,SAASA,EAAYC,GAASC,GAAgB;AACnD,EAAID,KACF,OAAO,OAAOA,EAAQ,OAAOC,CAAc;AAE/C;AACY,MAACC,IAAyB;AAAA,EACpC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index309.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,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