@rpcbase/ui 0.228.0 → 0.230.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/index100.js +52 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -7
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +15 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +16 -145
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -39
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -7
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -7
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +6 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +24 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +4 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +6 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -101
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +5 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -53
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +4 -72
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -20
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -16
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +39 -23
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -35
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +8 -16
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +13 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +31 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +14 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +20 -7
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +53 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +72 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +20 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +16 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +23 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +23 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -6
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -69
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +7 -2
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -363
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -261
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -60
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -46
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -169
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -109
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -25
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +5 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +3 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -466
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -185
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -107
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -262
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -9
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -42
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -4
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +13 -11
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +148 -62
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +30 -37
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +10 -14
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +48 -23
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +10 -109
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +45 -13
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +95 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +87 -4
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +106 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +52 -11
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +11 -19
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +38 -13
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +8 -261
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +116 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +18 -28
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +15 -126
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +3 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +34 -76
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +19 -65
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +9 -8
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +8 -15
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +18 -91
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +26 -63
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +15 -44
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +57 -15
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +8 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +65 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +18 -57
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +14 -64
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -4
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +4 -16
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +6 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +16 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +4 -12
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +4 -9
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +12 -13
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +9 -13
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +13 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +13 -5
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -54
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +5 -8
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +54 -4
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +8 -4
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +4 -8
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +4 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +4 -10
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +3 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +10 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +6 -4
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -6
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +6 -8
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +5 -19
- package/dist/index236.js.map +1 -1
- package/dist/index241.js +3 -3
- package/dist/index247.js +1 -1
- package/dist/index248.js +2 -2
- 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 +5 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +11 -50
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +51 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +4 -30
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +25 -12
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +16 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +21 -51
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +51 -25
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +24 -40
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +39 -37
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +40 -45
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +45 -21
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +23 -70
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +19 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +69 -26
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +16 -12
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +10 -17
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +26 -35
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +12 -261
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +15 -275
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +36 -68
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +62 -96
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +256 -77
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +278 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +68 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +45 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +99 -34
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +83 -16
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +13 -4
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +3 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +27 -26
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +17 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +38 -79
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +33 -268
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +68 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +16 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +3 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +108 -14
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +20 -119
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +28 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +4 -41
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +125 -64
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +5 -14
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +78 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +269 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +11 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +28 -11
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +16 -8
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +11 -134
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +24 -24
- package/dist/index310.js +24 -398
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -51
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +125 -11
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +5 -11
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +39 -12
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +59 -148
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +13 -30
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +14 -10
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +7 -48
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +13 -12
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index320.js +5 -44
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +3 -95
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +10 -86
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +7 -105
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +129 -48
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +261 -11
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +391 -29
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +52 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +10 -115
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +11 -17
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +4 -15
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +11 -3
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +4 -37
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +5 -21
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +11 -9
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +78 -8
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +66 -8
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +8 -11
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +92 -8
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +20 -13
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +4 -3
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +18 -4
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +12 -19
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -28
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +11 -16
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +7 -16
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +12 -50
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +3 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +3 -122
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +4 -33
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +15 -74
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +7 -141
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +51 -61
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +11 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +17 -15
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +5 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -4
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +20 -11
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +44 -21
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +18 -5
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +4 -17
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +200 -12
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +78 -4
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +121 -10
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +17 -16
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +32 -5
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +73 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +143 -45
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +61 -17
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +49 -4
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +4 -200
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +11 -77
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +21 -20
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +4 -8
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +5 -26
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +4 -27
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +14 -136
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +8 -12
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +5 -226
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +4 -3
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +545 -19
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +46 -77
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +18 -12
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +5 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +7 -71
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +7 -9
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +7 -15
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +11 -4
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +8 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +13 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +3 -16
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +3 -9
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +8 -5
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +26 -5
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +24 -543
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +135 -44
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +11 -16
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +226 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +3 -7
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +19 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +77 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +12 -12
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +3 -8
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +71 -12
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +9 -3
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +16 -3
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +4 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +54 -490
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +68 -5
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +30 -55
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +9 -68
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +148 -26
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +108 -9
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +8 -153
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +2 -108
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +43 -7
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +56 -2
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +7 -43
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +2 -56
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +54 -7
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +56 -2
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +14 -54
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +487 -51
- package/dist/index422.js.map +1 -1
- package/dist/index44.js +1 -1
- package/dist/index45.js +2 -2
- 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/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index74.js +6 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +8 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -5
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -8
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -6
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +6 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +68 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +2 -5
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +363 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +261 -5
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +60 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +46 -16
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +169 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +109 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +24 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +8 -6
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +4 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +466 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +185 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +107 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +262 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +9 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +42 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index295.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index295.js","sources":["../../../node_modules/@base-ui/react/esm/select/positioner/SelectPositionerContext.js"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPositionerContext.displayName = \"SelectPositionerContext\";\nexport function useSelectPositionerContext() {\n const context = React.useContext(SelectPositionerContext);\n if (!context) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.' : _formatErrorMessage(59));\n }\n return context;\n}"],"names":["SelectPositionerContext","React","useSelectPositionerContext","context","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAuC,gBAAAC,EAAM,cAAc,MAAS;AAC7E,QAAQ,IAAI,aAAa,iBAAcD,EAAwB,cAAc;AAC1E,SAASE,IAA6B;AAC3C,QAAMC,IAAUF,EAAM,WAAWD,CAAuB;AACxD,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,mHAAmHC,EAAoB,EAAE,CAAC;AAEpM,SAAOD;AACT;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index295.js","sources":["../../../node_modules/@base-ui/react/esm/internals/useRenderElement.js"],"sourcesContent":["import _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { useMergedRefs, useMergedRefsN } from '@base-ui/utils/useMergedRefs';\nimport { getReactElementRef } from '@base-ui/utils/getReactElementRef';\nimport { mergeObjects } from '@base-ui/utils/mergeObjects';\nimport { warn } from '@base-ui/utils/warn';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { getStateAttributesProps } from \"./getStateAttributesProps.js\";\nimport { resolveClassName } from \"../utils/resolveClassName.js\";\nimport { resolveStyle } from \"../utils/resolveStyle.js\";\nimport { mergeProps, mergePropsN, mergeClassNames } from \"../merge-props/index.js\";\nimport { createElement as _createElement } from \"react\";\n/**\n * Renders a Base UI element.\n *\n * @param element The default HTML element to render. Can be overridden by the `render` prop.\n * @param componentProps An object containing the `render` and `className` props to be used for element customization. Other props are ignored.\n * @param params Additional parameters for rendering the element.\n */\nexport function useRenderElement(element, componentProps, params = {}) {\n const renderProp = componentProps.render;\n const outProps = useRenderElementProps(componentProps, params);\n if (params.enabled === false) {\n return null;\n }\n const state = params.state ?? EMPTY_OBJECT;\n return evaluateRenderProp(element, renderProp, outProps, state);\n}\n\n/**\n * Computes render element final props.\n */\nfunction useRenderElementProps(componentProps, params = {}) {\n const {\n className: classNameProp,\n style: styleProp,\n render: renderProp\n } = componentProps;\n const {\n state = EMPTY_OBJECT,\n ref,\n props,\n stateAttributesMapping,\n enabled = true\n } = params;\n const className = enabled ? resolveClassName(classNameProp, state) : undefined;\n const style = enabled ? resolveStyle(styleProp, state) : undefined;\n const stateProps = enabled ? getStateAttributesProps(state, stateAttributesMapping) : EMPTY_OBJECT;\n const resolvedProps = enabled && props ? resolveRenderFunctionProps(props) : undefined;\n\n // Ensure outProps is always a new mutable object when enabled, never EMPTY_OBJECT.\n // This prevents potential TypeError when setting ref, className, or style properties,\n // since EMPTY_OBJECT is frozen and mutations would fail in strict mode.\n const outProps = enabled ? mergeObjects(stateProps, resolvedProps) ?? {} : EMPTY_OBJECT;\n\n // SAFETY: The `useMergedRefs` functions use a single hook to store the same value,\n // switching between them at runtime is safe. If this assertion fails, React will\n // throw at runtime anyway.\n // This also skips the `useMergedRefs` call on the server, which is fine because\n // refs are not used on the server side.\n /* eslint-disable react-hooks/rules-of-hooks */\n if (typeof document !== 'undefined') {\n if (!enabled) {\n useMergedRefs(null, null);\n } else if (Array.isArray(ref)) {\n outProps.ref = useMergedRefsN([outProps.ref, getReactElementRef(renderProp), ...ref]);\n } else {\n outProps.ref = useMergedRefs(outProps.ref, getReactElementRef(renderProp), ref);\n }\n }\n if (!enabled) {\n return EMPTY_OBJECT;\n }\n if (className !== undefined) {\n outProps.className = mergeClassNames(outProps.className, className);\n }\n if (style !== undefined) {\n outProps.style = mergeObjects(outProps.style, style);\n }\n return outProps;\n}\nfunction resolveRenderFunctionProps(props) {\n if (Array.isArray(props)) {\n return mergePropsN(props);\n }\n return mergeProps(undefined, props);\n}\n\n// The symbol React uses internally for lazy components\n// https://github.com/facebook/react/blob/a0566250b210499b4c5677f5ac2eedbd71d51a1b/packages/shared/ReactSymbols.js#L31\n//\n// TODO delete once https://github.com/facebook/react/issues/32392 is fixed\nconst REACT_LAZY_TYPE = Symbol.for('react.lazy');\nconst COMPONENT_IDENTIFIER_PATTERN = /^[A-Z][A-Za-z0-9$]*$/;\nconst LOWERCASE_CHARACTER_PATTERN = /[a-z]/;\nfunction evaluateRenderProp(element, render, props, state) {\n if (render) {\n if (typeof render === 'function') {\n if (process.env.NODE_ENV !== 'production') {\n warnIfRenderPropLooksLikeComponent(render);\n }\n return render(props, state);\n }\n const mergedProps = mergeProps(props, render.props);\n mergedProps.ref = props.ref;\n let newElement = render;\n\n // Workaround for https://github.com/facebook/react/issues/32392\n // This works because the toArray() logic unwrap lazy element type in\n // https://github.com/facebook/react/blob/a0566250b210499b4c5677f5ac2eedbd71d51a1b/packages/react/src/ReactChildren.js#L186\n if (newElement?.$$typeof === REACT_LAZY_TYPE) {\n const children = React.Children.toArray(render);\n newElement = children[0];\n }\n\n // There is a high number of indirections, the error message thrown by React.cloneElement() is\n // hard to use for developers, this logic provides a better context.\n //\n // Our general guideline is to never change the control flow depending on the environment.\n // However, React.cloneElement() throws if React.isValidElement() is false,\n // so we can throw before with custom message.\n if (process.env.NODE_ENV !== 'production') {\n if (! /*#__PURE__*/React.isValidElement(newElement)) {\n throw new Error(['Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.', 'A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.', 'https://base-ui.com/r/invalid-render-prop'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.cloneElement(newElement, mergedProps);\n }\n if (element) {\n if (typeof element === 'string') {\n return renderTag(element, props);\n }\n }\n // Unreachable, but the typings on `useRenderElement` need to be reworked\n // to annotate it correctly.\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: Render element or function are not defined.' : _formatErrorMessage(8));\n}\nfunction warnIfRenderPropLooksLikeComponent(renderFn) {\n const functionName = renderFn.name;\n if (functionName.length === 0) {\n return;\n }\n if (!COMPONENT_IDENTIFIER_PATTERN.test(functionName)) {\n return;\n }\n if (!LOWERCASE_CHARACTER_PATTERN.test(functionName)) {\n return;\n }\n warn(`The \\`render\\` prop received a function named \\`${functionName}\\` that starts with an uppercase letter.`, 'This usually means a React component was passed directly as `render={Component}`.', 'Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.', 'If this is an intentional render callback, rename it to start with a lowercase letter.', 'Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.', 'https://base-ui.com/r/invalid-render-prop');\n}\nfunction renderTag(Tag, props) {\n if (Tag === 'button') {\n return /*#__PURE__*/_createElement(\"button\", {\n type: \"button\",\n ...props,\n key: props.key\n });\n }\n if (Tag === 'img') {\n return /*#__PURE__*/_createElement(\"img\", {\n alt: \"\",\n ...props,\n key: props.key\n });\n }\n return /*#__PURE__*/React.createElement(Tag, props);\n}"],"names":["useRenderElement","element","componentProps","params","renderProp","outProps","useRenderElementProps","state","EMPTY_OBJECT","evaluateRenderProp","classNameProp","styleProp","ref","props","stateAttributesMapping","enabled","className","resolveClassName","style","resolveStyle","stateProps","getStateAttributesProps","resolvedProps","resolveRenderFunctionProps","mergeObjects","useMergedRefsN","getReactElementRef","useMergedRefs","mergeClassNames","mergePropsN","mergeProps","REACT_LAZY_TYPE","COMPONENT_IDENTIFIER_PATTERN","LOWERCASE_CHARACTER_PATTERN","render","warnIfRenderPropLooksLikeComponent","mergedProps","newElement","React","renderTag","_formatErrorMessage","renderFn","functionName","warn","Tag","_createElement"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index296.js
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { getWindow as l } from "./index324.js";
|
|
2
|
+
function m(e) {
|
|
3
|
+
const t = e.getBoundingClientRect();
|
|
4
|
+
if (process.env.NODE_ENV !== "production")
|
|
5
|
+
return t;
|
|
6
|
+
const i = l(e), o = i.getComputedStyle(e, "::before"), n = i.getComputedStyle(e, "::after");
|
|
7
|
+
if (!(o.content !== "none" || n.content !== "none"))
|
|
8
|
+
return t;
|
|
9
|
+
const r = parseFloat(o.width) || 0, a = parseFloat(o.height) || 0, c = parseFloat(n.width) || 0, f = parseFloat(n.height) || 0, d = Math.max(t.width, r, c), g = Math.max(t.height, a, f), s = d - t.width, h = g - t.height;
|
|
10
|
+
return {
|
|
11
|
+
left: t.left - s / 2,
|
|
12
|
+
right: t.right + s / 2,
|
|
13
|
+
top: t.top - h / 2,
|
|
14
|
+
bottom: t.bottom + h / 2
|
|
15
|
+
};
|
|
3
16
|
}
|
|
4
|
-
const i = {
|
|
5
|
-
position: "relative",
|
|
6
|
-
maxHeight: "100%",
|
|
7
|
-
overflowX: "hidden",
|
|
8
|
-
overflowY: "auto"
|
|
9
|
-
};
|
|
10
17
|
export {
|
|
11
|
-
|
|
12
|
-
e as clearStyles
|
|
18
|
+
m as getPseudoElementBounds
|
|
13
19
|
};
|
|
14
20
|
//# sourceMappingURL=index296.js.map
|
package/dist/index296.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index296.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index296.js","sources":["../../../node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js"],"sourcesContent":["import { ownerWindow } from '@base-ui/utils/owner';\nexport function getPseudoElementBounds(element) {\n const elementRect = element.getBoundingClientRect();\n\n // Avoid \"Not implemented: window.getComputedStyle(elt, pseudoElt)\"\n if (process.env.NODE_ENV !== 'production') {\n return elementRect;\n }\n const win = ownerWindow(element);\n const beforeStyles = win.getComputedStyle(element, '::before');\n const afterStyles = win.getComputedStyle(element, '::after');\n const hasPseudoElements = beforeStyles.content !== 'none' || afterStyles.content !== 'none';\n if (!hasPseudoElements) {\n return elementRect;\n }\n\n // Get dimensions of pseudo-elements\n const beforeWidth = parseFloat(beforeStyles.width) || 0;\n const beforeHeight = parseFloat(beforeStyles.height) || 0;\n const afterWidth = parseFloat(afterStyles.width) || 0;\n const afterHeight = parseFloat(afterStyles.height) || 0;\n\n // Calculate max dimensions including pseudo-elements\n const totalWidth = Math.max(elementRect.width, beforeWidth, afterWidth);\n const totalHeight = Math.max(elementRect.height, beforeHeight, afterHeight);\n\n // Calculate the differences to extend the bounds\n const widthDiff = totalWidth - elementRect.width;\n const heightDiff = totalHeight - elementRect.height;\n return {\n left: elementRect.left - widthDiff / 2,\n right: elementRect.right + widthDiff / 2,\n top: elementRect.top - heightDiff / 2,\n bottom: elementRect.bottom + heightDiff / 2\n };\n}"],"names":["getPseudoElementBounds","element","elementRect","win","ownerWindow","beforeStyles","afterStyles","beforeWidth","beforeHeight","afterWidth","afterHeight","totalWidth","totalHeight","widthDiff","heightDiff"],"mappings":";AACO,SAASA,EAAuBC,GAAS;AAC9C,QAAMC,IAAcD,EAAQ,sBAAqB;AAGjD,MAAI,QAAQ,IAAI,aAAa;AAC3B,WAAOC;AAET,QAAMC,IAAMC,EAAYH,CAAO,GACzBI,IAAeF,EAAI,iBAAiBF,GAAS,UAAU,GACvDK,IAAcH,EAAI,iBAAiBF,GAAS,SAAS;AAE3D,MAAI,EADsBI,EAAa,YAAY,UAAUC,EAAY,YAAY;AAEnF,WAAOJ;AAIT,QAAMK,IAAc,WAAWF,EAAa,KAAK,KAAK,GAChDG,IAAe,WAAWH,EAAa,MAAM,KAAK,GAClDI,IAAa,WAAWH,EAAY,KAAK,KAAK,GAC9CI,IAAc,WAAWJ,EAAY,MAAM,KAAK,GAGhDK,IAAa,KAAK,IAAIT,EAAY,OAAOK,GAAaE,CAAU,GAChEG,IAAc,KAAK,IAAIV,EAAY,QAAQM,GAAcE,CAAW,GAGpEG,IAAYF,IAAaT,EAAY,OACrCY,IAAaF,IAAcV,EAAY;AAC7C,SAAO;AAAA,IACL,MAAMA,EAAY,OAAOW,IAAY;AAAA,IACrC,OAAOX,EAAY,QAAQW,IAAY;AAAA,IACvC,KAAKX,EAAY,MAAMY,IAAa;AAAA,IACpC,QAAQZ,EAAY,SAASY,IAAa;AAAA,EAC9C;AACA;","x_google_ignoreList":[0]}
|
package/dist/index297.js
CHANGED
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { getDisabledMountTransitionStyles as u } from "./index305.js";
|
|
4
|
-
function M(e, o, {
|
|
5
|
-
styles: n,
|
|
6
|
-
transitionStatus: r,
|
|
7
|
-
props: i,
|
|
8
|
-
refs: p,
|
|
9
|
-
hidden: s,
|
|
10
|
-
inert: a = !1
|
|
11
|
-
}) {
|
|
12
|
-
const t = {
|
|
13
|
-
...n
|
|
14
|
-
};
|
|
15
|
-
return a && (t.pointerEvents = "none"), m("div", e, {
|
|
16
|
-
state: o,
|
|
17
|
-
ref: p,
|
|
18
|
-
props: [{
|
|
19
|
-
role: "presentation",
|
|
20
|
-
hidden: s,
|
|
21
|
-
style: t
|
|
22
|
-
}, u(r), i],
|
|
23
|
-
stateAttributesMapping: f
|
|
24
|
-
});
|
|
1
|
+
function l(e, r) {
|
|
2
|
+
return e ?? r;
|
|
25
3
|
}
|
|
26
4
|
export {
|
|
27
|
-
|
|
5
|
+
l as resolveAriaLabelledBy
|
|
28
6
|
};
|
|
29
7
|
//# sourceMappingURL=index297.js.map
|
package/dist/index297.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index297.js","sources":["../../../node_modules/@base-ui/react/esm/utils/
|
|
1
|
+
{"version":3,"file":"index297.js","sources":["../../../node_modules/@base-ui/react/esm/utils/resolveAriaLabelledBy.js"],"sourcesContent":["'use client';\n\nexport function getDefaultLabelId(id) {\n return id == null ? undefined : `${id}-label`;\n}\nexport function resolveAriaLabelledBy(fieldLabelId, localLabelId) {\n return fieldLabelId ?? localLabelId;\n}"],"names":["resolveAriaLabelledBy","fieldLabelId","localLabelId"],"mappings":"AAKO,SAASA,EAAsBC,GAAcC,GAAc;AAChE,SAAOD,KAAgBC;AACzB;","x_google_ignoreList":[0]}
|
package/dist/index298.js
CHANGED
|
@@ -1,20 +1,114 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { isHTMLElement as M } from "./index324.js";
|
|
3
|
+
import { useStableCallback as H } from "./index263.js";
|
|
4
|
+
import { error as y } from "./index351.js";
|
|
5
|
+
import { SafeReact as B } from "./index370.js";
|
|
6
|
+
import { useIsoLayoutEffect as A } from "./index262.js";
|
|
7
|
+
import { useCompositeRootContext as L } from "./index371.js";
|
|
8
|
+
import { useFocusableWhenDisabled as W } from "./index372.js";
|
|
9
|
+
import { mergeProps as $, makeEventPreventable as x } from "./index287.js";
|
|
10
|
+
function Y(a = {}) {
|
|
11
|
+
const {
|
|
12
|
+
disabled: o = !1,
|
|
13
|
+
focusableWhenDisabled: C,
|
|
14
|
+
tabIndex: P = 0,
|
|
15
|
+
native: t = !0,
|
|
16
|
+
composite: T
|
|
17
|
+
} = a, i = l.useRef(null), E = L(!0), s = T ?? E !== void 0, {
|
|
18
|
+
props: u
|
|
19
|
+
} = W({
|
|
20
|
+
focusableWhenDisabled: C,
|
|
21
|
+
disabled: o,
|
|
22
|
+
composite: s,
|
|
23
|
+
tabIndex: P,
|
|
24
|
+
isNativeButton: t
|
|
25
|
+
});
|
|
26
|
+
process.env.NODE_ENV !== "production" && l.useEffect(() => {
|
|
27
|
+
if (!i.current)
|
|
11
28
|
return;
|
|
29
|
+
const n = f(i.current);
|
|
30
|
+
if (t) {
|
|
31
|
+
if (!n) {
|
|
32
|
+
const r = B.captureOwnerStack?.() || "";
|
|
33
|
+
y(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${r}`);
|
|
34
|
+
}
|
|
35
|
+
} else if (n) {
|
|
36
|
+
const r = B.captureOwnerStack?.() || "";
|
|
37
|
+
y(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${r}`);
|
|
12
38
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
39
|
+
}, [t]);
|
|
40
|
+
const p = l.useCallback(() => {
|
|
41
|
+
const n = i.current;
|
|
42
|
+
f(n) && s && o && u.disabled === void 0 && n.disabled && (n.disabled = !1);
|
|
43
|
+
}, [o, u.disabled, s]);
|
|
44
|
+
A(p, [p]);
|
|
45
|
+
const U = l.useCallback((n = {}) => {
|
|
46
|
+
const {
|
|
47
|
+
onClick: r,
|
|
48
|
+
onMouseDown: d,
|
|
49
|
+
onKeyUp: O,
|
|
50
|
+
onKeyDown: I,
|
|
51
|
+
onPointerDown: K,
|
|
52
|
+
...N
|
|
53
|
+
} = n;
|
|
54
|
+
return $({
|
|
55
|
+
type: t ? "button" : void 0,
|
|
56
|
+
onClick(e) {
|
|
57
|
+
if (o) {
|
|
58
|
+
e.preventDefault();
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
r?.(e);
|
|
62
|
+
},
|
|
63
|
+
onMouseDown(e) {
|
|
64
|
+
o || d?.(e);
|
|
65
|
+
},
|
|
66
|
+
onKeyDown(e) {
|
|
67
|
+
if (o || (x(e), I?.(e), e.baseUIHandlerPrevented))
|
|
68
|
+
return;
|
|
69
|
+
const b = e.target === e.currentTarget, c = e.currentTarget, g = f(c), h = !t && V(c), k = b && (t ? g : !h), D = e.key === "Enter", w = e.key === " ", m = c.getAttribute("role"), S = m?.startsWith("menuitem") || m === "option" || m === "gridcell";
|
|
70
|
+
if (b && s && w) {
|
|
71
|
+
if (e.defaultPrevented && S)
|
|
72
|
+
return;
|
|
73
|
+
e.preventDefault(), h || t && g ? (c.click(), e.preventBaseUIHandler()) : k && (r?.(e), e.preventBaseUIHandler());
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
k && (!t && (w || D) && e.preventDefault(), !t && D && r?.(e));
|
|
77
|
+
},
|
|
78
|
+
onKeyUp(e) {
|
|
79
|
+
if (!o) {
|
|
80
|
+
if (x(e), O?.(e), e.target === e.currentTarget && t && s && f(e.currentTarget) && e.key === " ") {
|
|
81
|
+
e.preventDefault();
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
e.baseUIHandlerPrevented || e.target === e.currentTarget && !t && !s && e.key === " " && r?.(e);
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
onPointerDown(e) {
|
|
88
|
+
if (o) {
|
|
89
|
+
e.preventDefault();
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
K?.(e);
|
|
93
|
+
}
|
|
94
|
+
}, t ? void 0 : {
|
|
95
|
+
role: "button"
|
|
96
|
+
}, u, N);
|
|
97
|
+
}, [o, u, s, t]), R = H((n) => {
|
|
98
|
+
i.current = n, p();
|
|
99
|
+
});
|
|
100
|
+
return {
|
|
101
|
+
getButtonProps: U,
|
|
102
|
+
buttonRef: R
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function f(a) {
|
|
106
|
+
return M(a) && a.tagName === "BUTTON";
|
|
107
|
+
}
|
|
108
|
+
function V(a) {
|
|
109
|
+
return !!(a?.tagName === "A" && a?.href);
|
|
16
110
|
}
|
|
17
111
|
export {
|
|
18
|
-
|
|
112
|
+
Y as useButton
|
|
19
113
|
};
|
|
20
114
|
//# sourceMappingURL=index298.js.map
|
package/dist/index298.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index298.js","sources":["../../../node_modules/@base-ui/react/esm/utils/useAnchoredPopupScrollLock.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { useScrollLock } from '@base-ui/utils/useScrollLock';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\n\n// Touch-opened popups normally avoid scroll locking so users can still swipe outside to dismiss.\n// This hook re-enables scroll lock only when the popup is effectively full-width.\n// Treat popups with up to 20px of total horizontal gutter as full-width so common ~10px side\n// padding still locks scroll, since that leaves too little outside space for a reliable swipe.\nconst VIEWPORT_WIDTH_TOLERANCE_PX = 20;\n\n/**\n * Manages scroll lock for anchored popups. For non-touch opens, scroll lock is applied when\n * enabled. For touch opens, scroll lock is applied only when the positioner width is effectively\n * viewport-sized.\n */\nexport function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, referenceElement) {\n const [touchOpenShouldLockScroll, setTouchOpenShouldLockScroll] = React.useState(false);\n useIsoLayoutEffect(() => {\n if (!enabled || !touchOpen || positionerElement == null) {\n setTouchOpenShouldLockScroll(false);\n return;\n }\n const viewportWidth = ownerDocument(positionerElement).documentElement.clientWidth;\n const popupWidth = positionerElement.offsetWidth;\n setTouchOpenShouldLockScroll(viewportWidth > 0 && popupWidth > 0 && popupWidth >= viewportWidth - VIEWPORT_WIDTH_TOLERANCE_PX);\n }, [enabled, touchOpen, positionerElement]);\n useScrollLock(enabled && (!touchOpen || touchOpenShouldLockScroll), referenceElement);\n}"],"names":["VIEWPORT_WIDTH_TOLERANCE_PX","useAnchoredPopupScrollLock","enabled","touchOpen","positionerElement","referenceElement","touchOpenShouldLockScroll","setTouchOpenShouldLockScroll","React","useIsoLayoutEffect","viewportWidth","ownerDocument","popupWidth","useScrollLock"],"mappings":";;;;AAWA,MAAMA,IAA8B;AAO7B,SAASC,EAA2BC,GAASC,GAAWC,GAAmBC,GAAkB;AAClG,QAAM,CAACC,GAA2BC,CAA4B,IAAIC,EAAM,SAAS,EAAK;AACtF,EAAAC,EAAmB,MAAM;AACvB,QAAI,CAACP,KAAW,CAACC,KAAaC,KAAqB,MAAM;AACvD,MAAAG,EAA6B,EAAK;AAClC;AAAA,IACF;AACA,UAAMG,IAAgBC,EAAcP,CAAiB,EAAE,gBAAgB,aACjEQ,IAAaR,EAAkB;AACrC,IAAAG,EAA6BG,IAAgB,KAAKE,IAAa,KAAKA,KAAcF,IAAgBV,CAA2B;AAAA,EAC/H,GAAG,CAACE,GAASC,GAAWC,CAAiB,CAAC,GAC1CS,EAAcX,MAAY,CAACC,KAAaG,IAA4BD,CAAgB;AACtF;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index298.js","sources":["../../../node_modules/@base-ui/react/esm/internals/use-button/useButton.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isHTMLElement } from '@floating-ui/utils/dom';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { error } from '@base-ui/utils/error';\nimport { SafeReact } from '@base-ui/utils/safeReact';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { makeEventPreventable, mergeProps } from \"../../merge-props/index.js\";\nimport { useCompositeRootContext } from \"../composite/root/CompositeRootContext.js\";\nimport { useFocusableWhenDisabled } from \"../../utils/useFocusableWhenDisabled.js\";\nexport function useButton(parameters = {}) {\n const {\n disabled = false,\n focusableWhenDisabled,\n tabIndex = 0,\n native: isNativeButton = true,\n composite: compositeProp\n } = parameters;\n const elementRef = React.useRef(null);\n const compositeRootContext = useCompositeRootContext(true);\n const isCompositeItem = compositeProp ?? compositeRootContext !== undefined;\n const {\n props: focusableWhenDisabledProps\n } = useFocusableWhenDisabled({\n focusableWhenDisabled,\n disabled,\n composite: isCompositeItem,\n tabIndex,\n isNativeButton\n });\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(() => {\n if (!elementRef.current) {\n return;\n }\n const isButtonTag = isButtonElement(elementRef.current);\n if (isNativeButton) {\n if (!isButtonTag) {\n const ownerStackMessage = SafeReact.captureOwnerStack?.() || '';\n const message = 'A component that acts as a button expected a native <button> because the ' + '`nativeButton` prop is true. Rendering a non-<button> removes native button ' + 'semantics, which can impact forms and accessibility. Use a real <button> in the ' + '`render` prop, or set `nativeButton` to `false`.';\n error(`${message}${ownerStackMessage}`);\n }\n } else if (isButtonTag) {\n const ownerStackMessage = SafeReact.captureOwnerStack?.() || '';\n const message = 'A component that acts as a button expected a non-<button> because the `nativeButton` ' + 'prop is false. Rendering a <button> keeps native behavior while Base UI applies ' + 'non-native attributes and handlers, which can add unintended extra attributes (such ' + 'as `role` or `aria-disabled`). Use a non-<button> in the `render` prop, or set ' + '`nativeButton` to `true`.';\n error(`${message}${ownerStackMessage}`);\n }\n }, [isNativeButton]);\n }\n\n // handles a disabled composite button rendering another button, e.g.\n // <Toolbar.Button disabled render={<Menu.Trigger />} />\n // the `disabled` prop needs to pass through 2 `useButton`s then finally\n // delete the `disabled` attribute from DOM\n const updateDisabled = React.useCallback(() => {\n const element = elementRef.current;\n if (!isButtonElement(element)) {\n return;\n }\n if (isCompositeItem && disabled && focusableWhenDisabledProps.disabled === undefined && element.disabled) {\n element.disabled = false;\n }\n }, [disabled, focusableWhenDisabledProps.disabled, isCompositeItem]);\n useIsoLayoutEffect(updateDisabled, [updateDisabled]);\n const getButtonProps = React.useCallback((externalProps = {}) => {\n const {\n onClick: externalOnClick,\n onMouseDown: externalOnMouseDown,\n onKeyUp: externalOnKeyUp,\n onKeyDown: externalOnKeyDown,\n onPointerDown: externalOnPointerDown,\n ...otherExternalProps\n } = externalProps;\n const type = isNativeButton ? 'button' : undefined;\n return mergeProps({\n type,\n onClick(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnClick?.(event);\n },\n onMouseDown(event) {\n if (!disabled) {\n externalOnMouseDown?.(event);\n }\n },\n onKeyDown(event) {\n if (disabled) {\n return;\n }\n makeEventPreventable(event);\n externalOnKeyDown?.(event);\n if (event.baseUIHandlerPrevented) {\n return;\n }\n const isCurrentTarget = event.target === event.currentTarget;\n const currentTarget = event.currentTarget;\n const isButton = isButtonElement(currentTarget);\n const isLink = !isNativeButton && isValidLinkElement(currentTarget);\n const shouldClick = isCurrentTarget && (isNativeButton ? isButton : !isLink);\n const isEnterKey = event.key === 'Enter';\n const isSpaceKey = event.key === ' ';\n const role = currentTarget.getAttribute('role');\n const isTextNavigationRole = role?.startsWith('menuitem') || role === 'option' || role === 'gridcell';\n if (isCurrentTarget && isCompositeItem && isSpaceKey) {\n if (event.defaultPrevented && isTextNavigationRole) {\n return;\n }\n event.preventDefault();\n if (isLink || isNativeButton && isButton) {\n currentTarget.click();\n event.preventBaseUIHandler();\n } else if (shouldClick) {\n externalOnClick?.(event);\n event.preventBaseUIHandler();\n }\n return;\n }\n\n // Keyboard accessibility for native and non-native elements.\n if (shouldClick) {\n if (!isNativeButton && (isSpaceKey || isEnterKey)) {\n event.preventDefault();\n }\n if (!isNativeButton && isEnterKey) {\n externalOnClick?.(event);\n }\n }\n },\n onKeyUp(event) {\n if (disabled) {\n return;\n }\n\n // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed\n // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0\n makeEventPreventable(event);\n externalOnKeyUp?.(event);\n if (event.target === event.currentTarget && isNativeButton && isCompositeItem && isButtonElement(event.currentTarget) && event.key === ' ') {\n event.preventDefault();\n return;\n }\n if (event.baseUIHandlerPrevented) {\n return;\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && !isNativeButton && !isCompositeItem && event.key === ' ') {\n externalOnClick?.(event);\n }\n },\n onPointerDown(event) {\n if (disabled) {\n event.preventDefault();\n return;\n }\n externalOnPointerDown?.(event);\n }\n }, !isNativeButton ? {\n role: 'button'\n } : undefined, focusableWhenDisabledProps, otherExternalProps);\n }, [disabled, focusableWhenDisabledProps, isCompositeItem, isNativeButton]);\n const buttonRef = useStableCallback(element => {\n elementRef.current = element;\n updateDisabled();\n });\n return {\n getButtonProps,\n buttonRef\n };\n}\nfunction isButtonElement(elem) {\n return isHTMLElement(elem) && elem.tagName === 'BUTTON';\n}\nfunction isValidLinkElement(elem) {\n return Boolean(elem?.tagName === 'A' && elem?.href);\n}"],"names":["useButton","parameters","disabled","focusableWhenDisabled","tabIndex","isNativeButton","compositeProp","elementRef","React","compositeRootContext","useCompositeRootContext","isCompositeItem","focusableWhenDisabledProps","useFocusableWhenDisabled","isButtonTag","isButtonElement","ownerStackMessage","SafeReact","error","updateDisabled","element","useIsoLayoutEffect","getButtonProps","externalProps","externalOnClick","externalOnMouseDown","externalOnKeyUp","externalOnKeyDown","externalOnPointerDown","otherExternalProps","mergeProps","event","makeEventPreventable","isCurrentTarget","currentTarget","isButton","isLink","isValidLinkElement","shouldClick","isEnterKey","isSpaceKey","role","isTextNavigationRole","buttonRef","useStableCallback","elem","isHTMLElement"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index299.js
CHANGED
|
@@ -1,129 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function L(t, n, e) {
|
|
11
|
-
return h(t, m(n, e));
|
|
12
|
-
}
|
|
13
|
-
function E(t, n) {
|
|
14
|
-
return typeof t == "function" ? t(n) : t;
|
|
15
|
-
}
|
|
16
|
-
function g(t) {
|
|
17
|
-
return t.split("-")[0];
|
|
18
|
-
}
|
|
19
|
-
function a(t) {
|
|
20
|
-
return t.split("-")[1];
|
|
21
|
-
}
|
|
22
|
-
function x(t) {
|
|
23
|
-
return t === "x" ? "y" : "x";
|
|
1
|
+
import { isHTMLElement as i } from "./index324.js";
|
|
2
|
+
import { FOCUSABLE_ATTRIBUTE as u, TYPEABLE_SELECTOR as n } from "./index404.js";
|
|
3
|
+
function a(t, r) {
|
|
4
|
+
if (r == null)
|
|
5
|
+
return !1;
|
|
6
|
+
if ("composedPath" in t)
|
|
7
|
+
return t.composedPath().includes(r);
|
|
8
|
+
const o = t;
|
|
9
|
+
return o.target != null && r.contains(o.target);
|
|
24
10
|
}
|
|
25
11
|
function b(t) {
|
|
26
|
-
return t
|
|
27
|
-
}
|
|
28
|
-
function d(t) {
|
|
29
|
-
const n = t[0];
|
|
30
|
-
return n === "t" || n === "b" ? "y" : "x";
|
|
12
|
+
return t.matches("html,body");
|
|
31
13
|
}
|
|
32
|
-
function
|
|
33
|
-
return
|
|
34
|
-
}
|
|
35
|
-
function R(t, n, e) {
|
|
36
|
-
e === void 0 && (e = !1);
|
|
37
|
-
const r = a(t), i = A(t), o = b(i);
|
|
38
|
-
let c = i === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
39
|
-
return n.reference[o] > n.floating[o] && (c = f(c)), [c, f(c)];
|
|
40
|
-
}
|
|
41
|
-
function T(t) {
|
|
42
|
-
const n = f(t);
|
|
43
|
-
return [s(t), n, s(n)];
|
|
44
|
-
}
|
|
45
|
-
function s(t) {
|
|
46
|
-
return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
|
|
47
|
-
}
|
|
48
|
-
const u = ["left", "right"], l = ["right", "left"], P = ["top", "bottom"], y = ["bottom", "top"];
|
|
49
|
-
function O(t, n, e) {
|
|
50
|
-
switch (t) {
|
|
51
|
-
case "top":
|
|
52
|
-
case "bottom":
|
|
53
|
-
return e ? n ? l : u : n ? u : l;
|
|
54
|
-
case "left":
|
|
55
|
-
case "right":
|
|
56
|
-
return n ? P : y;
|
|
57
|
-
default:
|
|
58
|
-
return [];
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function k(t, n, e, r) {
|
|
62
|
-
const i = a(t);
|
|
63
|
-
let o = O(g(t), e === "start", r);
|
|
64
|
-
return i && (o = o.map((c) => c + "-" + i), n && (o = o.concat(o.map(s)))), o;
|
|
14
|
+
function e(t) {
|
|
15
|
+
return i(t) && t.matches(n);
|
|
65
16
|
}
|
|
66
17
|
function f(t) {
|
|
67
|
-
|
|
68
|
-
return p[n] + t.slice(n.length);
|
|
18
|
+
return t ? t.getAttribute("role") === "combobox" && e(t) : !1;
|
|
69
19
|
}
|
|
70
|
-
function
|
|
71
|
-
return {
|
|
72
|
-
top: 0,
|
|
73
|
-
right: 0,
|
|
74
|
-
bottom: 0,
|
|
75
|
-
left: 0,
|
|
76
|
-
...t
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function q(t) {
|
|
80
|
-
return typeof t != "number" ? M(t) : {
|
|
81
|
-
top: t,
|
|
82
|
-
right: t,
|
|
83
|
-
bottom: t,
|
|
84
|
-
left: t
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function z(t) {
|
|
88
|
-
const {
|
|
89
|
-
x: n,
|
|
90
|
-
y: e,
|
|
91
|
-
width: r,
|
|
92
|
-
height: i
|
|
93
|
-
} = t;
|
|
94
|
-
return {
|
|
95
|
-
width: r,
|
|
96
|
-
height: i,
|
|
97
|
-
top: e,
|
|
98
|
-
left: n,
|
|
99
|
-
right: n + r,
|
|
100
|
-
bottom: e + i,
|
|
101
|
-
x: n,
|
|
102
|
-
y: e
|
|
103
|
-
};
|
|
20
|
+
function T(t) {
|
|
21
|
+
return t ? t.hasAttribute(u) ? t : t.querySelector(`[${u}]`) || t : null;
|
|
104
22
|
}
|
|
105
23
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
a as getAlignment,
|
|
112
|
-
A as getAlignmentAxis,
|
|
113
|
-
R as getAlignmentSides,
|
|
114
|
-
b as getAxisLength,
|
|
115
|
-
T as getExpandedPlacements,
|
|
116
|
-
s as getOppositeAlignmentPlacement,
|
|
117
|
-
x as getOppositeAxis,
|
|
118
|
-
k as getOppositeAxisPlacements,
|
|
119
|
-
f as getOppositePlacement,
|
|
120
|
-
q as getPaddingObject,
|
|
121
|
-
g as getSide,
|
|
122
|
-
d as getSideAxis,
|
|
123
|
-
h as max,
|
|
124
|
-
m as min,
|
|
125
|
-
z as rectToClientRect,
|
|
126
|
-
w as round,
|
|
127
|
-
S as sides
|
|
24
|
+
T as getFloatingFocusElement,
|
|
25
|
+
a as isEventTargetWithin,
|
|
26
|
+
b as isRootElement,
|
|
27
|
+
f as isTypeableCombobox,
|
|
28
|
+
e as isTypeableElement
|
|
128
29
|
};
|
|
129
30
|
//# sourceMappingURL=index299.js.map
|
package/dist/index299.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index299.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index299.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js"],"sourcesContent":["import { isElement, isHTMLElement } from '@floating-ui/utils/dom';\nimport { isJSDOM } from '@base-ui/utils/detectBrowser';\nimport { FOCUSABLE_ATTRIBUTE, TYPEABLE_SELECTOR } from \"./constants.js\";\nimport { activeElement, contains, getTarget } from \"../../internals/shadowDom.js\";\nexport { activeElement, contains, getTarget };\nexport function isTargetInsideEnabledTrigger(target, triggerElements) {\n if (!isElement(target)) {\n return false;\n }\n const targetElement = target;\n if (triggerElements.hasElement(targetElement)) {\n return !targetElement.hasAttribute('data-trigger-disabled');\n }\n for (const [, trigger] of triggerElements.entries()) {\n if (contains(trigger, targetElement)) {\n return !trigger.hasAttribute('data-trigger-disabled');\n }\n }\n return false;\n}\nexport function isEventTargetWithin(event, node) {\n if (node == null) {\n return false;\n }\n if ('composedPath' in event) {\n return event.composedPath().includes(node);\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n const eventAgain = event;\n return eventAgain.target != null && node.contains(eventAgain.target);\n}\nexport function isRootElement(element) {\n return element.matches('html,body');\n}\nexport function isTypeableElement(element) {\n return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nexport function isInteractiveElement(element) {\n return element?.closest(`button,a[href],[role=\"button\"],select,[tabindex]:not([tabindex=\"-1\"]),${TYPEABLE_SELECTOR}`) != null;\n}\nexport function isTypeableCombobox(element) {\n if (!element) {\n return false;\n }\n return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\nexport function matchesFocusVisible(element) {\n // We don't want to block focus from working with `visibleOnly`\n // (JSDOM doesn't match `:focus-visible` when the element has `:focus`)\n if (!element || isJSDOM) {\n return true;\n }\n try {\n return element.matches(':focus-visible');\n } catch (_e) {\n return true;\n }\n}\nexport function getFloatingFocusElement(floatingElement) {\n if (!floatingElement) {\n return null;\n }\n // Try to find the element that has `{...getFloatingProps()}` spread on it.\n // This indicates the floating element is acting as a positioning wrapper, and\n // so focus should be managed on the child element with the event handlers and\n // aria props.\n return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(`[${FOCUSABLE_ATTRIBUTE}]`) || floatingElement;\n}"],"names":["isEventTargetWithin","event","node","eventAgain","isRootElement","element","isTypeableElement","isHTMLElement","TYPEABLE_SELECTOR","isTypeableCombobox","getFloatingFocusElement","floatingElement","FOCUSABLE_ATTRIBUTE"],"mappings":";;AAoBO,SAASA,EAAoBC,GAAOC,GAAM;AAC/C,MAAIA,KAAQ;AACV,WAAO;AAET,MAAI,kBAAkBD;AACpB,WAAOA,EAAM,eAAe,SAASC,CAAI;AAI3C,QAAMC,IAAaF;AACnB,SAAOE,EAAW,UAAU,QAAQD,EAAK,SAASC,EAAW,MAAM;AACrE;AACO,SAASC,EAAcC,GAAS;AACrC,SAAOA,EAAQ,QAAQ,WAAW;AACpC;AACO,SAASC,EAAkBD,GAAS;AACzC,SAAOE,EAAcF,CAAO,KAAKA,EAAQ,QAAQG,CAAiB;AACpE;AAIO,SAASC,EAAmBJ,GAAS;AAC1C,SAAKA,IAGEA,EAAQ,aAAa,MAAM,MAAM,cAAcC,EAAkBD,CAAO,IAFtE;AAGX;AAaO,SAASK,EAAwBC,GAAiB;AACvD,SAAKA,IAOEA,EAAgB,aAAaC,CAAmB,IAAID,IAAkBA,EAAgB,cAAc,IAAIC,CAAmB,GAAG,KAAKD,IANjI;AAOX;","x_google_ignoreList":[0]}
|
package/dist/index300.js
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { isShadowRoot as r } from "./index324.js";
|
|
2
|
+
function a(t) {
|
|
3
|
+
let e = t.activeElement;
|
|
4
|
+
for (; e?.shadowRoot?.activeElement != null; )
|
|
5
|
+
e = e.shadowRoot.activeElement;
|
|
6
|
+
return e;
|
|
7
|
+
}
|
|
8
|
+
function u(t, e) {
|
|
9
|
+
if (!t || !e)
|
|
10
|
+
return !1;
|
|
11
|
+
const n = e.getRootNode?.();
|
|
12
|
+
if (t.contains(e))
|
|
13
|
+
return !0;
|
|
14
|
+
if (n && r(n)) {
|
|
15
|
+
let o = e;
|
|
16
|
+
for (; o; ) {
|
|
17
|
+
if (t === o)
|
|
18
|
+
return !0;
|
|
19
|
+
o = o.parentNode || o.host;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return !1;
|
|
23
|
+
}
|
|
24
|
+
function f(t) {
|
|
25
|
+
return "composedPath" in t ? t.composedPath()[0] : t.target;
|
|
5
26
|
}
|
|
6
27
|
export {
|
|
7
|
-
|
|
28
|
+
a as activeElement,
|
|
29
|
+
u as contains,
|
|
30
|
+
f as getTarget
|
|
8
31
|
};
|
|
9
32
|
//# sourceMappingURL=index300.js.map
|
package/dist/index300.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index300.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index300.js","sources":["../../../node_modules/@base-ui/react/esm/internals/shadowDom.js"],"sourcesContent":["import { isShadowRoot } from '@floating-ui/utils/dom';\nexport function activeElement(doc) {\n let element = doc.activeElement;\n while (element?.shadowRoot?.activeElement != null) {\n element = element.shadowRoot.activeElement;\n }\n return element;\n}\nexport function contains(parent, child) {\n if (!parent || !child) {\n return false;\n }\n const rootNode = child.getRootNode?.();\n\n // First, attempt with the faster native method.\n if (parent.contains(child)) {\n return true;\n }\n\n // Then fall back to traversing out of shadow roots when needed.\n if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n while (next) {\n if (parent === next) {\n return true;\n }\n next = next.parentNode || next.host;\n }\n }\n return false;\n}\nexport function getTarget(event) {\n if ('composedPath' in event) {\n return event.composedPath()[0];\n }\n\n // TS assumes `composedPath()` always exists, but older browsers without\n // shadow DOM support still fall back to `target`.\n return event.target;\n}"],"names":["activeElement","doc","element","contains","parent","child","rootNode","isShadowRoot","next","getTarget","event"],"mappings":";AACO,SAASA,EAAcC,GAAK;AACjC,MAAIC,IAAUD,EAAI;AAClB,SAAOC,GAAS,YAAY,iBAAiB;AAC3C,IAAAA,IAAUA,EAAQ,WAAW;AAE/B,SAAOA;AACT;AACO,SAASC,EAASC,GAAQC,GAAO;AACtC,MAAI,CAACD,KAAU,CAACC;AACd,WAAO;AAET,QAAMC,IAAWD,EAAM,cAAW;AAGlC,MAAID,EAAO,SAASC,CAAK;AACvB,WAAO;AAIT,MAAIC,KAAYC,EAAaD,CAAQ,GAAG;AACtC,QAAIE,IAAOH;AACX,WAAOG,KAAM;AACX,UAAIJ,MAAWI;AACb,eAAO;AAET,MAAAA,IAAOA,EAAK,cAAcA,EAAK;AAAA,IACjC;AAAA,EACF;AACA,SAAO;AACT;AACO,SAASC,EAAUC,GAAO;AAC/B,SAAI,kBAAkBA,IACbA,EAAM,aAAY,EAAG,CAAC,IAKxBA,EAAM;AACf;","x_google_ignoreList":[0]}
|
package/dist/index301.js
CHANGED
|
@@ -1,44 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
), p = a && /apple/i.test(navigator.vendor), g = a && /android/i.test(r) || /android/i.test(n);
|
|
5
|
-
a && r.toLowerCase().startsWith("mac") && navigator.maxTouchPoints;
|
|
6
|
-
const d = n.includes("jsdom/");
|
|
7
|
-
function s() {
|
|
8
|
-
if (!a)
|
|
9
|
-
return {
|
|
10
|
-
platform: "",
|
|
11
|
-
maxTouchPoints: -1
|
|
12
|
-
};
|
|
13
|
-
const t = navigator.userAgentData;
|
|
14
|
-
return t?.platform ? {
|
|
15
|
-
platform: t.platform,
|
|
16
|
-
maxTouchPoints: navigator.maxTouchPoints
|
|
17
|
-
} : {
|
|
18
|
-
platform: navigator.platform ?? "",
|
|
19
|
-
maxTouchPoints: navigator.maxTouchPoints ?? -1
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function u() {
|
|
23
|
-
if (!a)
|
|
24
|
-
return "";
|
|
25
|
-
const t = navigator.userAgentData;
|
|
26
|
-
return t && Array.isArray(t.brands) ? t.brands.map(({
|
|
27
|
-
brand: i,
|
|
28
|
-
version: e
|
|
29
|
-
}) => `${i}/${e}`).join(" ") : navigator.userAgent;
|
|
30
|
-
}
|
|
31
|
-
function f() {
|
|
32
|
-
if (!a)
|
|
33
|
-
return "";
|
|
34
|
-
const t = navigator.userAgentData;
|
|
35
|
-
return t?.platform ? t.platform : navigator.platform ?? "";
|
|
36
|
-
}
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const t = /* @__PURE__ */ e.createContext(void 0);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "SelectPortalContext");
|
|
37
4
|
export {
|
|
38
|
-
|
|
39
|
-
m as isIOS,
|
|
40
|
-
d as isJSDOM,
|
|
41
|
-
p as isSafari,
|
|
42
|
-
c as isWebKit
|
|
5
|
+
t as SelectPortalContext
|
|
43
6
|
};
|
|
44
7
|
//# sourceMappingURL=index301.js.map
|
package/dist/index301.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index301.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index301.js","sources":["../../../node_modules/@base-ui/react/esm/select/portal/SelectPortalContext.js"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPortalContext.displayName = \"SelectPortalContext\";\nexport function useSelectPortalContext() {\n const value = React.useContext(SelectPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Select.Portal> is missing.' : _formatErrorMessage(58));\n }\n return value;\n}"],"names":["SelectPortalContext","React"],"mappings":";AAIY,MAACA,IAAmC,gBAAAC,EAAM,cAAc,MAAS;AACzE,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;","x_google_ignoreList":[0]}
|