@rpcbase/ui 0.241.0 → 0.242.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/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts +1 -1
- package/dist/components/PhoneNumberInput/country-options.d.ts.map +1 -1
- package/dist/index100.js +8 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +5 -8
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +3 -3
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +6 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +152 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +38 -144
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -39
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +7 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +12 -6
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +13 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +7 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +30 -6
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +10 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +8 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +101 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +20 -102
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +54 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +70 -51
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +9 -72
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +20 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +16 -20
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +23 -16
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +6 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +23 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +35 -24
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +14 -35
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +5 -16
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +3 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +22 -7
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +5 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +4 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +5 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +68 -5
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +2 -69
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +386 -2
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +201 -303
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +46 -247
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +42 -56
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +169 -46
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +96 -156
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +24 -109
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +8 -25
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +5 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +5 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +4 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +487 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +151 -428
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +13 -185
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +6 -6
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -6
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +14 -16
- package/dist/index169.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +12 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +10 -10
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +13 -12
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -2
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -8
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +161 -246
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +279 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +5 -28
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +23 -122
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +126 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +59 -74
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +7 -65
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +16 -9
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +31 -16
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +65 -88
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +20 -66
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +63 -42
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +6 -58
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +5 -8
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +11 -87
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +3 -19
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +48 -14
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +4 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +29 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +16 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +5 -4
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +21 -6
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +53 -16
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +20 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +41 -4
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +39 -12
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +46 -10
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +20 -13
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +70 -13
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +17 -4
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +3 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +11 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +13 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -53
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +36 -8
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +239 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +252 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +68 -8
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +99 -4
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +83 -4
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +3 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +29 -10
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +16 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +35 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +17 -10
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +3 -10
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +26 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +28 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -6
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +78 -4
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +272 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -6
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +10 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +25 -16
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +16 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +124 -9
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +5 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +65 -21
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +14 -11
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +7 -9
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +5 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +3 -4
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +10 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +7 -16
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +133 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +398 -17
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +5 -16
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +51 -11
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -28
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +27 -12
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +11 -25
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +58 -5
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -20
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +82 -61
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +19 -6
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +4 -49
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +6 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +6 -29
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +4 -16
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +6 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +16 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -51
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +4 -25
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +12 -41
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +9 -39
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +421 -350
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +14 -45
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +13 -20
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +4 -70
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +5 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +6 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +5 -27
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +53 -12
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +8 -18
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -36
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +4 -262
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +8 -278
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +4 -68
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +4 -99
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +3 -83
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +10 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +9 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +9 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +11 -35
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +10 -16
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +9 -3
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +48 -29
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +6 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -28
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +5 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +5 -78
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +6 -269
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +5 -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 +7 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +10 -16
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +9 -124
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +21 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +8 -40
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +9 -65
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +10 -14
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +4 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +16 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +9 -10
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +18 -7
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +19 -132
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +194 -184
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +10 -397
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +29 -52
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +12 -11
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +25 -11
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +5 -13
- package/dist/index314.js.map +1 -1
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +12 -10
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +11 -9
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +14 -13
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +9 -11
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +11 -44
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +40 -92
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +87 -76
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +69 -88
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +92 -39
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +51 -10
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +10 -36
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +4 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +37 -3
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +8 -9
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +81 -62
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +2 -2
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +1 -1
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +3 -36
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +35 -19
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +20 -8
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +9 -19
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +8 -28
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +23 -15
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +28 -8
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +7 -61
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +16 -11
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +8 -8
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +11 -13
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -3
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +13 -3
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +3 -17
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +3 -51
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +17 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +46 -117
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +5 -32
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +29 -30
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +58 -70
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +64 -140
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +7 -60
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +4 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +12 -15
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +21 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +17 -5
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +8 -12
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +144 -21
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +79 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +52 -53
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +61 -17
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +15 -13
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +4 -12
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +5 -16
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +3 -4
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +11 -5
- package/dist/index365.js.map +1 -1
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +1 -1
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +7 -7
- package/dist/index368.js.map +1 -1
- package/dist/index369.js.map +1 -1
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +4 -4
- package/dist/index371.js +40 -44
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +122 -19
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +4 -8
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +18 -26
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +12 -26
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +4 -137
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +19 -11
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +7 -225
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +27 -4
- package/dist/index379.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +136 -18
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +10 -75
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +47 -12
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +3 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +19 -69
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +76 -9
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +12 -16
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +3 -4
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +71 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +36 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +3 -3
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -16
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +15 -8
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +3 -6
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +3 -5
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +4 -545
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +5 -47
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +4 -18
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +15 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +8 -7
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +5 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +4 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +545 -11
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +47 -9
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +17 -12
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +6 -3
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +8 -3
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +6 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +7 -491
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +11 -4
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +9 -56
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +45 -40
- package/dist/index41.js.map +1 -1
- package/dist/index410.js +13 -68
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +3 -31
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +15 -9
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +488 -149
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +8 -108
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +2 -8
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +44 -2
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +52 -40
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +7 -55
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +2 -8
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +55 -2
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +53 -52
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +32 -55
- package/dist/index422.js.map +1 -1
- package/dist/index423.js +68 -2
- package/dist/index423.js.map +1 -1
- package/dist/index424.js +31 -2
- package/dist/index424.js.map +1 -1
- package/dist/index425.js +9 -2
- package/dist/index425.js.map +1 -1
- package/dist/index426.js +153 -2
- package/dist/index426.js.map +1 -1
- package/dist/index427.js +108 -16
- package/dist/index427.js.map +1 -1
- package/dist/index428.js +4 -28
- package/dist/index428.js.map +1 -1
- package/dist/index429.js +56 -13
- package/dist/index429.js.map +1 -1
- package/dist/index430.js +2 -7
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +5 -0
- package/dist/index431.js.map +1 -0
- package/dist/index432.js +5 -0
- package/dist/index432.js.map +1 -0
- package/dist/index433.js +5 -0
- package/dist/index433.js.map +1 -0
- package/dist/index434.js +19 -0
- package/dist/index434.js.map +1 -0
- package/dist/index435.js +32 -0
- package/dist/index435.js.map +1 -0
- package/dist/index436.js +16 -0
- package/dist/index436.js.map +1 -0
- package/dist/index437.js +10 -0
- package/dist/index437.js.map +1 -0
- package/dist/index48.js +2 -2
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +274 -268
- package/dist/index49.js.map +1 -1
- package/dist/index50.js +182 -184
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +3 -3
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +105 -103
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +5 -5
- package/dist/index53.js.map +1 -1
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +102 -110
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +4 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +5 -5
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +9 -9
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +5 -5
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +43 -48
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +90 -86
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -2
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +24 -26
- package/dist/index62.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +50 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +4 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +12 -4
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -5
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +17 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -16
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +4 -5
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +2 -2
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -3
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +24 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +4 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +2 -2
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -3
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +14 -12
package/dist/index380.js
CHANGED
|
@@ -1,23 +1,141 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index248.js";
|
|
2
|
+
import { ownerDocument as c } from "./index224.js";
|
|
3
|
+
import { contains as f, activeElement as I } from "./index231.js";
|
|
4
|
+
import { isElementVisible as C } from "./index382.js";
|
|
5
|
+
const N = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
|
|
6
|
+
function R(t) {
|
|
7
|
+
const n = t.assignedSlot;
|
|
8
|
+
if (n)
|
|
9
|
+
return n;
|
|
10
|
+
if (t.parentElement)
|
|
11
|
+
return t.parentElement;
|
|
12
|
+
const e = t.getRootNode();
|
|
13
|
+
return T(e) ? e.host : null;
|
|
14
|
+
}
|
|
15
|
+
function d(t) {
|
|
16
|
+
for (const n of Array.from(t.children))
|
|
17
|
+
if (i(n) === "summary")
|
|
18
|
+
return n;
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
function S(t, n) {
|
|
22
|
+
const e = d(n);
|
|
23
|
+
return !!e && (t === e || f(e, t));
|
|
24
|
+
}
|
|
25
|
+
function b(t) {
|
|
26
|
+
const n = t ? i(t) : "";
|
|
27
|
+
return t != null && t.matches(N) && (n !== "summary" || t.parentElement != null && i(t.parentElement) === "details" && d(t.parentElement) === t) && (n !== "details" || d(t) == null) && (n !== "input" || t.type !== "hidden");
|
|
28
|
+
}
|
|
29
|
+
function l(t) {
|
|
30
|
+
if (!b(t) || !t.isConnected || t.matches(":disabled"))
|
|
31
|
+
return !1;
|
|
32
|
+
for (let n = t; n; n = R(n)) {
|
|
33
|
+
const e = n !== t, r = i(n) === "slot";
|
|
34
|
+
if (n.hasAttribute("inert") || e && i(n) === "details" && !n.open && !S(t, n) || n.hasAttribute("hidden") || !r && !v(n, e))
|
|
35
|
+
return !1;
|
|
36
|
+
}
|
|
37
|
+
return !0;
|
|
38
|
+
}
|
|
39
|
+
function v(t, n) {
|
|
40
|
+
const e = A(t);
|
|
41
|
+
return n ? e.display !== "none" : C(t, e);
|
|
42
|
+
}
|
|
43
|
+
function m(t) {
|
|
44
|
+
const n = t.tabIndex;
|
|
45
|
+
if (n < 0) {
|
|
46
|
+
const e = i(t);
|
|
47
|
+
if (e === "details" || e === "audio" || e === "video" || s(t) && t.isContentEditable)
|
|
48
|
+
return 0;
|
|
49
|
+
}
|
|
50
|
+
return n;
|
|
51
|
+
}
|
|
52
|
+
function u(t) {
|
|
53
|
+
if (i(t) !== "input")
|
|
54
|
+
return null;
|
|
55
|
+
const n = t;
|
|
56
|
+
return n.type === "radio" && n.name !== "" ? n : null;
|
|
57
|
+
}
|
|
58
|
+
function D(t, n) {
|
|
59
|
+
const e = u(t);
|
|
60
|
+
if (!e)
|
|
61
|
+
return !0;
|
|
62
|
+
const r = n.find((a) => {
|
|
63
|
+
const o = u(a);
|
|
64
|
+
return o?.name === e.name && o.form === e.form && o.checked;
|
|
65
|
+
});
|
|
66
|
+
return r ? r === e : n.find((a) => {
|
|
67
|
+
const o = u(a);
|
|
68
|
+
return o?.name === e.name && o.form === e.form;
|
|
69
|
+
}) === e;
|
|
70
|
+
}
|
|
71
|
+
function p(t) {
|
|
72
|
+
if (s(t) && i(t) === "slot") {
|
|
73
|
+
const n = t.assignedElements({
|
|
74
|
+
flatten: !0
|
|
75
|
+
});
|
|
76
|
+
if (n.length > 0)
|
|
77
|
+
return n;
|
|
78
|
+
}
|
|
79
|
+
return s(t) && t.shadowRoot ? Array.from(t.shadowRoot.children) : Array.from(t.children);
|
|
80
|
+
}
|
|
81
|
+
function h(t, n) {
|
|
82
|
+
p(t).forEach((e) => {
|
|
83
|
+
b(e) && n.push(e), h(e, n);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function E(t, n, e) {
|
|
87
|
+
p(t).forEach((r) => {
|
|
88
|
+
s(r) && r.matches(n) && e.push(r), E(r, n, e);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function M(t) {
|
|
92
|
+
return l(t) && m(t) >= 0;
|
|
93
|
+
}
|
|
94
|
+
function w(t) {
|
|
95
|
+
const n = [];
|
|
96
|
+
return h(t, n), n.filter(l);
|
|
97
|
+
}
|
|
98
|
+
function g(t) {
|
|
99
|
+
const n = w(t);
|
|
100
|
+
return n.filter((e) => m(e) >= 0 && D(e, n));
|
|
101
|
+
}
|
|
102
|
+
function x(t, n) {
|
|
103
|
+
const e = g(t), r = e.length;
|
|
104
|
+
if (r === 0)
|
|
105
|
+
return;
|
|
106
|
+
const a = I(c(t)), o = e.indexOf(a), y = o === -1 ? n === 1 ? 0 : r - 1 : o + n;
|
|
107
|
+
return e[y];
|
|
108
|
+
}
|
|
109
|
+
function P(t) {
|
|
110
|
+
return x(c(t).body, 1) || t;
|
|
111
|
+
}
|
|
112
|
+
function V(t) {
|
|
113
|
+
return x(c(t).body, -1) || t;
|
|
114
|
+
}
|
|
115
|
+
function j(t, n) {
|
|
116
|
+
const e = n || t.currentTarget, r = t.relatedTarget;
|
|
117
|
+
return !r || !f(e, r);
|
|
118
|
+
}
|
|
119
|
+
function H(t) {
|
|
120
|
+
g(t).forEach((e) => {
|
|
121
|
+
e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function W(t) {
|
|
125
|
+
const n = [];
|
|
126
|
+
E(t, "[data-tabindex]", n), n.forEach((e) => {
|
|
127
|
+
const r = e.dataset.tabindex;
|
|
128
|
+
delete e.dataset.tabindex, r ? e.setAttribute("tabindex", r) : e.removeAttribute("tabindex");
|
|
12
129
|
});
|
|
13
|
-
if (i)
|
|
14
|
-
return r(), u;
|
|
15
|
-
const n = requestAnimationFrame(r);
|
|
16
|
-
return e = n, () => {
|
|
17
|
-
e === n && (cancelAnimationFrame(n), e = 0);
|
|
18
|
-
};
|
|
19
130
|
}
|
|
20
131
|
export {
|
|
21
|
-
|
|
132
|
+
H as disableFocusInside,
|
|
133
|
+
W as enableFocusInside,
|
|
134
|
+
w as focusable,
|
|
135
|
+
P as getNextTabbable,
|
|
136
|
+
V as getPreviousTabbable,
|
|
137
|
+
j as isOutsideEvent,
|
|
138
|
+
M as isTabbable,
|
|
139
|
+
g as tabbable
|
|
22
140
|
};
|
|
23
141
|
//# sourceMappingURL=index380.js.map
|
package/dist/index380.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index380.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus.js"],"sourcesContent":["import { NOOP } from '@base-ui/utils/empty';\nlet rafId = 0;\nexport function enqueueFocus(el, options = {}) {\n const {\n preventScroll = false,\n cancelPrevious = true,\n sync = false\n } = options;\n if (cancelPrevious) {\n cancelAnimationFrame(rafId);\n }\n const exec = () => el?.focus({\n preventScroll\n });\n if (sync) {\n exec();\n return NOOP;\n }\n const currentRafId = requestAnimationFrame(exec);\n rafId = currentRafId;\n return () => {\n if (rafId === currentRafId) {\n cancelAnimationFrame(currentRafId);\n rafId = 0;\n }\n };\n}"],"names":["rafId","enqueueFocus","el","options","preventScroll","cancelPrevious","sync","exec","NOOP","currentRafId"],"mappings":";AACA,IAAIA,IAAQ;AACL,SAASC,EAAaC,GAAIC,IAAU,IAAI;AAC7C,QAAM;AAAA,IACJ,eAAAC,IAAgB;AAAA,IAChB,gBAAAC,IAAiB;AAAA,IACjB,MAAAC,IAAO;AAAA,EACX,IAAMH;AACJ,EAAIE,KACF,qBAAqBL,CAAK;AAE5B,QAAMO,IAAO,MAAML,GAAI,MAAM;AAAA,IAC3B,eAAAE;AAAA,EACJ,CAAG;AACD,MAAIE;AACF,WAAAC,EAAI,GACGC;AAET,QAAMC,IAAe,sBAAsBF,CAAI;AAC/C,SAAAP,IAAQS,GACD,MAAM;AACX,IAAIT,MAAUS,MACZ,qBAAqBA,CAAY,GACjCT,IAAQ;AAAA,EAEZ;AACF;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index380.js","sources":["../node_modules/@base-ui/react/floating-ui-react/utils/tabbable.mjs"],"sourcesContent":["import { getComputedStyle, getNodeName, isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { activeElement, contains } from \"./element.mjs\";\nimport { isElementVisible } from \"./composite.mjs\";\nconst CANDIDATE_SELECTOR = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]';\nfunction getParentElement(element) {\n const assignedSlot = element.assignedSlot;\n if (assignedSlot) {\n return assignedSlot;\n }\n if (element.parentElement) {\n return element.parentElement;\n }\n const rootNode = element.getRootNode();\n return isShadowRoot(rootNode) ? rootNode.host : null;\n}\nfunction getDetailsSummary(details) {\n for (const child of Array.from(details.children)) {\n if (getNodeName(child) === 'summary') {\n return child;\n }\n }\n return null;\n}\nfunction isWithinOpenDetailsSummary(element, details) {\n const summary = getDetailsSummary(details);\n return !!summary && (element === summary || contains(summary, element));\n}\nfunction isFocusableCandidate(element) {\n const nodeName = element ? getNodeName(element) : '';\n return element != null && element.matches(CANDIDATE_SELECTOR) && (nodeName !== 'summary' || element.parentElement != null && getNodeName(element.parentElement) === 'details' && getDetailsSummary(element.parentElement) === element) && (nodeName !== 'details' || getDetailsSummary(element) == null) && (nodeName !== 'input' || element.type !== 'hidden');\n}\nfunction isFocusableElement(element) {\n if (!isFocusableCandidate(element) || !element.isConnected || element.matches(':disabled')) {\n return false;\n }\n for (let current = element; current; current = getParentElement(current)) {\n const isAncestor = current !== element;\n const isSlot = getNodeName(current) === 'slot';\n if (current.hasAttribute('inert')) {\n return false;\n }\n if (isAncestor && getNodeName(current) === 'details' && !current.open && !isWithinOpenDetailsSummary(element, current) || current.hasAttribute('hidden') || !isSlot && !isVisibleInTabbableTree(current, isAncestor)) {\n return false;\n }\n }\n return true;\n}\nfunction isVisibleInTabbableTree(element, isAncestor) {\n const styles = getComputedStyle(element);\n if (!isAncestor) {\n return isElementVisible(element, styles);\n }\n return styles.display !== 'none';\n}\nfunction getTabIndex(element) {\n const tabIndex = element.tabIndex;\n if (tabIndex < 0) {\n const nodeName = getNodeName(element);\n if (nodeName === 'details' || nodeName === 'audio' || nodeName === 'video' || isHTMLElement(element) && element.isContentEditable) {\n return 0;\n }\n }\n return tabIndex;\n}\nfunction getNamedRadioInput(element) {\n if (getNodeName(element) !== 'input') {\n return null;\n }\n const input = element;\n return input.type === 'radio' && input.name !== '' ? input : null;\n}\nfunction isTabbableRadio(element, candidates) {\n const input = getNamedRadioInput(element);\n if (!input) {\n return true;\n }\n const checkedRadio = candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form && radio.checked;\n });\n if (checkedRadio) {\n return checkedRadio === input;\n }\n return candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form;\n }) === input;\n}\nfunction getComposedChildren(container) {\n if (isHTMLElement(container) && getNodeName(container) === 'slot') {\n const assignedElements = container.assignedElements({\n flatten: true\n });\n if (assignedElements.length > 0) {\n return assignedElements;\n }\n }\n if (isHTMLElement(container) && container.shadowRoot) {\n return Array.from(container.shadowRoot.children);\n }\n return Array.from(container.children);\n}\nfunction appendCandidates(container, list) {\n getComposedChildren(container).forEach(child => {\n if (isFocusableCandidate(child)) {\n list.push(child);\n }\n appendCandidates(child, list);\n });\n}\nfunction appendMatchingElements(container, selector, list) {\n getComposedChildren(container).forEach(child => {\n if (isHTMLElement(child) && child.matches(selector)) {\n list.push(child);\n }\n appendMatchingElements(child, selector, list);\n });\n}\nexport function isTabbable(element) {\n return isFocusableElement(element) && getTabIndex(element) >= 0;\n}\nexport function focusable(container) {\n const candidates = [];\n appendCandidates(container, candidates);\n return candidates.filter(isFocusableElement);\n}\nexport function tabbable(container) {\n const candidates = focusable(container);\n return candidates.filter(element => getTabIndex(element) >= 0 && isTabbableRadio(element, candidates));\n}\nfunction getTabbableIn(container, dir) {\n const list = tabbable(container);\n const len = list.length;\n if (len === 0) {\n return undefined;\n }\n const active = activeElement(ownerDocument(container));\n const index = list.indexOf(active);\n // eslint-disable-next-line no-nested-ternary\n const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, -1) || referenceElement;\n}\nfunction getTabbableNearElement(referenceElement, dir) {\n if (!referenceElement) {\n return null;\n }\n const list = tabbable(ownerDocument(referenceElement).body);\n const elementCount = list.length;\n if (elementCount === 0) {\n return null;\n }\n const index = list.indexOf(referenceElement);\n if (index === -1) {\n return null;\n }\n const nextIndex = (index + dir + elementCount) % elementCount;\n return list[nextIndex];\n}\nexport function getTabbableAfterElement(referenceElement) {\n return getTabbableNearElement(referenceElement, 1);\n}\nexport function getTabbableBeforeElement(referenceElement) {\n return getTabbableNearElement(referenceElement, -1);\n}\nexport function isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n const tabbableElements = tabbable(container);\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nexport function enableFocusInside(container) {\n const elements = [];\n appendMatchingElements(container, '[data-tabindex]', elements);\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}"],"names":["CANDIDATE_SELECTOR","getParentElement","element","assignedSlot","rootNode","isShadowRoot","getDetailsSummary","details","child","getNodeName","isWithinOpenDetailsSummary","summary","contains","isFocusableCandidate","nodeName","isFocusableElement","current","isAncestor","isSlot","isVisibleInTabbableTree","styles","getComputedStyle","isElementVisible","getTabIndex","tabIndex","isHTMLElement","getNamedRadioInput","input","isTabbableRadio","candidates","checkedRadio","candidate","radio","getComposedChildren","container","assignedElements","appendCandidates","list","appendMatchingElements","selector","isTabbable","focusable","tabbable","getTabbableIn","dir","len","active","activeElement","ownerDocument","index","nextIndex","getNextTabbable","referenceElement","getPreviousTabbable","isOutsideEvent","event","containerElement","relatedTarget","disableFocusInside","enableFocusInside","elements","tabindex"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index381.js
CHANGED
|
@@ -1,81 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const k = {
|
|
4
|
-
inert: /* @__PURE__ */ new WeakMap(),
|
|
5
|
-
"aria-hidden": /* @__PURE__ */ new WeakMap()
|
|
6
|
-
}, T = "data-base-ui-inert", E = {
|
|
7
|
-
inert: /* @__PURE__ */ new WeakSet(),
|
|
8
|
-
"aria-hidden": /* @__PURE__ */ new WeakSet()
|
|
9
|
-
};
|
|
10
|
-
let u = /* @__PURE__ */ new WeakMap(), p = 0;
|
|
11
|
-
function q(t) {
|
|
12
|
-
return E[t];
|
|
13
|
-
}
|
|
14
|
-
function v(t) {
|
|
15
|
-
return t ? O(t) ? t.host : v(t.parentNode) : null;
|
|
1
|
+
function c(r, d, e = !0) {
|
|
2
|
+
return r.filter((t) => t.parentId === d).flatMap((t) => [...!e || t.context?.open ? [t] : [], ...c(r, t.id, e)]);
|
|
16
3
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}).filter((o) => o != null), V = (t) => {
|
|
23
|
-
const r = /* @__PURE__ */ new Set();
|
|
24
|
-
return t.forEach((o) => {
|
|
25
|
-
let n = o;
|
|
26
|
-
for (; n && !r.has(n); )
|
|
27
|
-
r.add(n), n = n.parentNode;
|
|
28
|
-
}), r;
|
|
29
|
-
}, N = (t, r, o) => {
|
|
30
|
-
const n = [], s = (i) => {
|
|
31
|
-
!i || o.has(i) || Array.from(i.children).forEach((a) => {
|
|
32
|
-
y(a) !== "script" && (r.has(a) ? s(a) : n.push(a));
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
return s(t), n;
|
|
36
|
-
};
|
|
37
|
-
function x(t, r, o, n, {
|
|
38
|
-
mark: s = !0,
|
|
39
|
-
markerIgnoreElements: i = []
|
|
40
|
-
}) {
|
|
41
|
-
const a = n ? "inert" : o ? "aria-hidden" : null;
|
|
42
|
-
let f = null, m = null;
|
|
43
|
-
const d = w(r, t), C = s ? w(r, i) : [], H = new Set(C), I = s ? N(r, V(d), new Set(d)).filter((e) => !H.has(e)) : [], S = [], g = [];
|
|
44
|
-
if (a) {
|
|
45
|
-
const e = k[a], c = q(a);
|
|
46
|
-
m = c, f = e;
|
|
47
|
-
const h = w(r, Array.from(r.querySelectorAll("[aria-live]"))), A = d.concat(h);
|
|
48
|
-
N(r, V(A), new Set(A)).forEach((l) => {
|
|
49
|
-
const W = l.getAttribute(a), M = W !== null && W !== "false", b = (e.get(l) || 0) + 1;
|
|
50
|
-
e.set(l, b), S.push(l), b === 1 && M && c.add(l), M || l.setAttribute(a, a === "inert" ? "" : "true");
|
|
51
|
-
});
|
|
4
|
+
function o(r, d) {
|
|
5
|
+
let e = [], n = r.find((t) => t.id === d)?.parentId;
|
|
6
|
+
for (; n; ) {
|
|
7
|
+
const t = r.find((i) => i.id === n);
|
|
8
|
+
n = t?.parentId, t && (e = e.concat(t));
|
|
52
9
|
}
|
|
53
|
-
return
|
|
54
|
-
const c = (u.get(e) || 0) + 1;
|
|
55
|
-
u.set(e, c), g.push(e), c === 1 && e.setAttribute(T, "");
|
|
56
|
-
}), p += 1, () => {
|
|
57
|
-
f && S.forEach((e) => {
|
|
58
|
-
const h = (f.get(e) || 0) - 1;
|
|
59
|
-
f.set(e, h), h || (!m?.has(e) && a && e.removeAttribute(a), m?.delete(e));
|
|
60
|
-
}), s && g.forEach((e) => {
|
|
61
|
-
const c = (u.get(e) || 0) - 1;
|
|
62
|
-
u.set(e, c), c || e.removeAttribute(T);
|
|
63
|
-
}), p -= 1, p || (k.inert = /* @__PURE__ */ new WeakMap(), k["aria-hidden"] = /* @__PURE__ */ new WeakMap(), E.inert = /* @__PURE__ */ new WeakSet(), E["aria-hidden"] = /* @__PURE__ */ new WeakSet(), u = /* @__PURE__ */ new WeakMap());
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function R(t, r = {}) {
|
|
67
|
-
const {
|
|
68
|
-
ariaHidden: o = !1,
|
|
69
|
-
inert: n = !1,
|
|
70
|
-
mark: s = !0,
|
|
71
|
-
markerIgnoreElements: i = []
|
|
72
|
-
} = r, a = U(t[0]).body;
|
|
73
|
-
return x(t, a, o, n, {
|
|
74
|
-
mark: s,
|
|
75
|
-
markerIgnoreElements: i
|
|
76
|
-
});
|
|
10
|
+
return e;
|
|
77
11
|
}
|
|
78
12
|
export {
|
|
79
|
-
|
|
13
|
+
o as getNodeAncestors,
|
|
14
|
+
c as getNodeChildren
|
|
80
15
|
};
|
|
81
16
|
//# sourceMappingURL=index381.js.map
|
package/dist/index381.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index381.js","sources":["
|
|
1
|
+
{"version":3,"file":"index381.js","sources":["../node_modules/@base-ui/react/floating-ui-react/utils/nodes.mjs"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n const directChildren = nodes.filter(node => node.parentId === id);\n return directChildren.flatMap(child => [...(!onlyOpenChildren || child.context?.open ? [child] : []), ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getNodeChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n let allAncestors = [];\n let currentParentId = nodes.find(node => node.id === id)?.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode?.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}"],"names":["getNodeChildren","nodes","id","onlyOpenChildren","node","child","getNodeAncestors","allAncestors","currentParentId","currentNode"],"mappings":"AAEO,SAASA,EAAgBC,GAAOC,GAAIC,IAAmB,IAAM;AAElE,SADuBF,EAAM,OAAO,CAAAG,MAAQA,EAAK,aAAaF,CAAE,EAC1C,QAAQ,CAAAG,MAAS,CAAC,GAAI,CAACF,KAAoBE,EAAM,SAAS,OAAO,CAACA,CAAK,IAAI,CAAA,GAAK,GAAGL,EAAgBC,GAAOI,EAAM,IAAIF,CAAgB,CAAC,CAAC;AAC9J;AAiBO,SAASG,EAAiBL,GAAOC,GAAI;AAC1C,MAAIK,IAAe,CAAA,GACfC,IAAkBP,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOF,CAAE,GAAG;AAC1D,SAAOM,KAAiB;AACtB,UAAMC,IAAcR,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOI,CAAe;AAClE,IAAAA,IAAkBC,GAAa,UAC3BA,MACFF,IAAeA,EAAa,OAAOE,CAAW;AAAA,EAElD;AACA,SAAOF;AACT;","x_google_ignoreList":[0]}
|
package/dist/index382.js
CHANGED
|
@@ -1,15 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { getComputedStyle as c } from "./index248.js";
|
|
2
|
+
function a(t, i) {
|
|
3
|
+
return i < 0 || i >= t.length;
|
|
4
|
+
}
|
|
5
|
+
function b(t, i) {
|
|
6
|
+
return o(t.current, {
|
|
7
|
+
disabledIndices: i
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function p(t, i) {
|
|
11
|
+
return o(t.current, {
|
|
12
|
+
decrement: !0,
|
|
13
|
+
startingIndex: t.current.length,
|
|
14
|
+
disabledIndices: i
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function o(t, {
|
|
18
|
+
startingIndex: i = -1,
|
|
19
|
+
decrement: e = !1,
|
|
20
|
+
disabledIndices: u,
|
|
21
|
+
amount: n = 1
|
|
22
|
+
} = {}) {
|
|
23
|
+
let r = i;
|
|
24
|
+
do
|
|
25
|
+
r += e ? -n : n;
|
|
26
|
+
while (r >= 0 && r <= t.length - 1 && f(t, r, u));
|
|
27
|
+
return r;
|
|
28
|
+
}
|
|
29
|
+
function f(t, i, e) {
|
|
30
|
+
if (typeof e == "function" ? e(i) : e?.includes(i) ?? !1)
|
|
31
|
+
return !0;
|
|
32
|
+
const n = t[i];
|
|
33
|
+
return n ? l(n) ? !e && (n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") : !0 : !1;
|
|
34
|
+
}
|
|
35
|
+
function s(t) {
|
|
36
|
+
return t.visibility === "hidden" || t.visibility === "collapse";
|
|
37
|
+
}
|
|
38
|
+
function l(t, i = t ? c(t) : null) {
|
|
39
|
+
return !t || !t.isConnected || !i || s(i) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : i.display !== "none" && i.display !== "contents";
|
|
40
|
+
}
|
|
11
41
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
42
|
+
o as findNonDisabledListIndex,
|
|
43
|
+
p as getMaxListIndex,
|
|
44
|
+
b as getMinListIndex,
|
|
45
|
+
l as isElementVisible,
|
|
46
|
+
s as isHiddenByStyles,
|
|
47
|
+
a as isIndexOutOfListBounds,
|
|
48
|
+
f as isListIndexDisabled
|
|
14
49
|
};
|
|
15
50
|
//# sourceMappingURL=index382.js.map
|
package/dist/index382.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index382.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTree.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useId } from '@base-ui/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { FloatingTreeStore } from \"./FloatingTreeStore.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") FloatingNodeContext.displayName = \"FloatingNodeContext\";\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nif (process.env.NODE_ENV !== \"production\") FloatingTreeContext.displayName = \"FloatingTreeContext\";\nexport const useFloatingParentNodeId = () => React.useContext(FloatingNodeContext)?.id || null;\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nexport const useFloatingTree = externalTree => {\n const contextTree = React.useContext(FloatingTreeContext);\n return externalTree ?? contextTree;\n};\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nexport function useFloatingNodeId(externalTree) {\n const id = useId();\n const tree = useFloatingTree(externalTree);\n const parentId = useFloatingParentNodeId();\n useIsoLayoutEffect(() => {\n if (!id) {\n return undefined;\n }\n const node = {\n id,\n parentId\n };\n tree?.addNode(node);\n return () => {\n tree?.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingNode(props) {\n const {\n children,\n id\n } = props;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/_jsx(FloatingNodeContext.Provider, {\n value: React.useMemo(() => ({\n id,\n parentId\n }), [id, parentId]),\n children: children\n });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingTree(props) {\n const {\n children,\n externalTree\n } = props;\n const tree = useRefWithInit(() => externalTree ?? new FloatingTreeStore()).current;\n return /*#__PURE__*/_jsx(FloatingTreeContext.Provider, {\n value: tree,\n children: children\n });\n}"],"names":["FloatingNodeContext","React","FloatingTreeContext","useFloatingParentNodeId","useFloatingTree","externalTree","contextTree"],"mappings":";;AAQA,MAAMA,IAAmC,gBAAAC,EAAM,cAAc,IAAI;AAC7D,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;AAC7E,MAAME,IAAmC,gBAAAD,EAAM,cAAc,IAAI;AAM7D,QAAQ,IAAI,aAAa,iBAAcC,EAAoB,cAAc;AACjE,MAACC,IAA0B,MAAMF,EAAM,WAAWD,CAAmB,GAAG,MAAM,MAK7EI,IAAkB,CAAAC,MAAgB;AAC7C,QAAMC,IAAcL,EAAM,WAAWC,CAAmB;AACxD,SAAOG,KAAgBC;AACzB;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index382.js","sources":["../node_modules/@base-ui/react/floating-ui-react/utils/composite.mjs"],"sourcesContent":["import { floor } from '@floating-ui/utils';\nimport { getComputedStyle } from '@floating-ui/utils/dom';\nimport { stopEvent } from \"./event.mjs\";\nimport { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from \"./constants.mjs\";\nexport function isDifferentGridRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nexport function isIndexOutOfListBounds(list, index) {\n return index < 0 || index >= list.length;\n}\nexport function getMinListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n disabledIndices\n });\n}\nexport function getMaxListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nexport function findNonDisabledListIndex(list, {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n} = {}) {\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= list.length - 1 && isListIndexDisabled(list, index, disabledIndices));\n return index;\n}\nexport function getGridNavigatedIndex(list, {\n event,\n orientation,\n loopFocus,\n onLoop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n}) {\n let nextIndex = prevIndex;\n let verticalDirection;\n if (event.key === ARROW_UP) {\n verticalDirection = 'up';\n } else if (event.key === ARROW_DOWN) {\n verticalDirection = 'down';\n }\n if (verticalDirection) {\n // -------------------------------------------------------------------------\n // Detect row structure only when handling vertical navigation. This keeps\n // the non-vertical key paths free from row inference work.\n // -------------------------------------------------------------------------\n const rows = [];\n const rowIndexMap = [];\n let hasRoleRow = false;\n let visibleItemCount = 0;\n {\n let currentRowEl = null;\n let currentRowIndex = -1;\n list.forEach((el, idx) => {\n if (el == null) {\n return;\n }\n visibleItemCount += 1;\n const rowEl = el.closest('[role=\"row\"]');\n if (rowEl) {\n hasRoleRow = true;\n }\n if (rowEl !== currentRowEl || currentRowIndex === -1) {\n currentRowEl = rowEl;\n currentRowIndex += 1;\n rows[currentRowIndex] = [];\n }\n rows[currentRowIndex].push(idx);\n rowIndexMap[idx] = currentRowIndex;\n });\n }\n let hasDomRows = false;\n let inferredDomCols = 0;\n if (hasRoleRow) {\n for (const row of rows) {\n const rowLength = row.length;\n if (rowLength > inferredDomCols) {\n inferredDomCols = rowLength;\n }\n if (rowLength !== cols) {\n hasDomRows = true;\n }\n }\n }\n const hasVirtualizedGaps = hasDomRows && visibleItemCount < list.length;\n const verticalCols = inferredDomCols || cols;\n const navigateVertically = direction => {\n if (!hasDomRows || prevIndex === -1) {\n return undefined;\n }\n const currentRow = rowIndexMap[prevIndex];\n if (currentRow == null) {\n return undefined;\n }\n const colInRow = rows[currentRow].indexOf(prevIndex);\n const step = direction === 'up' ? -1 : 1;\n for (let nextRow = currentRow + step, i = 0; i < rows.length; i += 1, nextRow += step) {\n if (nextRow < 0 || nextRow >= rows.length) {\n if (!loopFocus || hasVirtualizedGaps) {\n return undefined;\n }\n nextRow = nextRow < 0 ? rows.length - 1 : 0;\n if (onLoop) {\n const clampedCol = Math.min(colInRow, rows[nextRow].length - 1);\n const targetItemIndex = rows[nextRow][clampedCol] ?? rows[nextRow][0];\n const returnedItemIndex = onLoop(event, prevIndex, targetItemIndex);\n nextRow = rowIndexMap[returnedItemIndex] ?? nextRow;\n }\n }\n const targetRow = rows[nextRow];\n for (let col = Math.min(colInRow, targetRow.length - 1); col >= 0; col -= 1) {\n const candidate = targetRow[col];\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n const navigateVerticallyWithInferredRows = direction => {\n if (!hasVirtualizedGaps || prevIndex === -1) {\n return undefined;\n }\n const colInRow = prevIndex % verticalCols;\n const rowStep = direction === 'up' ? -verticalCols : verticalCols;\n const lastRowStart = maxIndex - maxIndex % verticalCols;\n const rowCount = floor(maxIndex / verticalCols) + 1;\n for (let rowStart = prevIndex - colInRow + rowStep, i = 0; i < rowCount; i += 1, rowStart += rowStep) {\n if (rowStart < 0 || rowStart > maxIndex) {\n if (!loopFocus) {\n return undefined;\n }\n rowStart = rowStart < 0 ? lastRowStart : 0;\n }\n const rowEnd = Math.min(rowStart + verticalCols - 1, maxIndex);\n for (let candidate = Math.min(rowStart + colInRow, rowEnd); candidate >= rowStart; candidate -= 1) {\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n if (stop) {\n stopEvent(event);\n }\n const verticalCandidate = navigateVertically(verticalDirection) ?? navigateVerticallyWithInferredRows(verticalDirection);\n if (verticalCandidate !== undefined) {\n nextIndex = verticalCandidate;\n } else if (prevIndex === -1) {\n nextIndex = verticalDirection === 'up' ? maxIndex : minIndex;\n } else {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n amount: verticalCols,\n decrement: verticalDirection === 'up',\n disabledIndices\n });\n if (loopFocus) {\n if (verticalDirection === 'up' && (prevIndex - verticalCols < minIndex || nextIndex < 0)) {\n const col = prevIndex % verticalCols;\n const maxCol = maxIndex % verticalCols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - verticalCols;\n }\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (verticalDirection === 'down' && prevIndex + verticalCols > maxIndex) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex % verticalCols - verticalCols,\n amount: verticalCols,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n }\n }\n if (isIndexOutOfListBounds(list, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfListBounds(list, nextIndex)) {\n if (loopFocus && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nexport function createGridCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach(({\n width,\n height\n }, index) => {\n if (width > cols) {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: fix mui/no-guarded-throw\n // eslint-disable-next-line mui/no-guarded-throw\n throw new Error(`[Floating UI]: Invalid grid - item width at index ${index} is greater than grid columns`);\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i += 1) {\n for (let j = 0; j < height; j += 1) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex += 1;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nexport function getGridCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) {\n return -1;\n }\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n default:\n return -1;\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nexport function getGridCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nexport function isListIndexDisabled(list, index, disabledIndices) {\n const isExplicitlyDisabled = typeof disabledIndices === 'function' ? disabledIndices(index) : disabledIndices?.includes(index) ?? false;\n if (isExplicitlyDisabled) {\n return true;\n }\n const element = list[index];\n if (!element) {\n return false;\n }\n if (!isElementVisible(element)) {\n return true;\n }\n return !disabledIndices && (element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true');\n}\nexport function isHiddenByStyles(styles) {\n return styles.visibility === 'hidden' || styles.visibility === 'collapse';\n}\nexport function isElementVisible(element, styles = element ? getComputedStyle(element) : null) {\n if (!element || !element.isConnected || !styles || isHiddenByStyles(styles)) {\n return false;\n }\n if (typeof element.checkVisibility === 'function') {\n return element.checkVisibility();\n }\n return styles.display !== 'none' && styles.display !== 'contents';\n}"],"names":["isIndexOutOfListBounds","list","index","getMinListIndex","listRef","disabledIndices","findNonDisabledListIndex","getMaxListIndex","startingIndex","decrement","amount","isListIndexDisabled","element","isElementVisible","isHiddenByStyles","styles","getComputedStyle"],"mappings":";AAOO,SAASA,EAAuBC,GAAMC,GAAO;AAClD,SAAOA,IAAQ,KAAKA,KAASD,EAAK;AACpC;AACO,SAASE,EAAgBC,GAASC,GAAiB;AACxD,SAAOC,EAAyBF,EAAQ,SAAS;AAAA,IAC/C,iBAAAC;AAAA,EACJ,CAAG;AACH;AACO,SAASE,EAAgBH,GAASC,GAAiB;AACxD,SAAOC,EAAyBF,EAAQ,SAAS;AAAA,IAC/C,WAAW;AAAA,IACX,eAAeA,EAAQ,QAAQ;AAAA,IAC/B,iBAAAC;AAAA,EACJ,CAAG;AACH;AACO,SAASC,EAAyBL,GAAM;AAAA,EAC7C,eAAAO,IAAgB;AAAA,EAChB,WAAAC,IAAY;AAAA,EACZ,iBAAAJ;AAAA,EACA,QAAAK,IAAS;AACX,IAAI,IAAI;AACN,MAAIR,IAAQM;AACZ;AACE,IAAAN,KAASO,IAAY,CAACC,IAASA;AAAA,SACxBR,KAAS,KAAKA,KAASD,EAAK,SAAS,KAAKU,EAAoBV,GAAMC,GAAOG,CAAe;AACnG,SAAOH;AACT;AAuUO,SAASS,EAAoBV,GAAMC,GAAOG,GAAiB;AAEhE,MAD6B,OAAOA,KAAoB,aAAaA,EAAgBH,CAAK,IAAIG,GAAiB,SAASH,CAAK,KAAK;AAEhI,WAAO;AAET,QAAMU,IAAUX,EAAKC,CAAK;AAC1B,SAAKU,IAGAC,EAAiBD,CAAO,IAGtB,CAACP,MAAoBO,EAAQ,aAAa,UAAU,KAAKA,EAAQ,aAAa,eAAe,MAAM,UAFjG,KAHA;AAMX;AACO,SAASE,EAAiBC,GAAQ;AACvC,SAAOA,EAAO,eAAe,YAAYA,EAAO,eAAe;AACjE;AACO,SAASF,EAAiBD,GAASG,IAASH,IAAUI,EAAiBJ,CAAO,IAAI,MAAM;AAC7F,SAAI,CAACA,KAAW,CAACA,EAAQ,eAAe,CAACG,KAAUD,EAAiBC,CAAM,IACjE,KAEL,OAAOH,EAAQ,mBAAoB,aAC9BA,EAAQ,gBAAe,IAEzBG,EAAO,YAAY,UAAUA,EAAO,YAAY;AACzD;","x_google_ignoreList":[0]}
|
package/dist/index383.js
CHANGED
package/dist/index383.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index383.js","sources":["
|
|
1
|
+
{"version":3,"file":"index383.js","sources":["../node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs"],"sourcesContent":["export function createAttribute(name) {\n return `data-base-ui-${name}`;\n}"],"names":["createAttribute","name"],"mappings":"AAAO,SAASA,EAAgBC,GAAM;AACpC,SAAO,gBAAgBA,CAAI;AAC7B;","x_google_ignoreList":[0]}
|
package/dist/index384.js
CHANGED
|
@@ -1,75 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
constructor(n) {
|
|
15
|
-
const {
|
|
16
|
-
syncOnly: e,
|
|
17
|
-
nested: r,
|
|
18
|
-
onOpenChange: s,
|
|
19
|
-
triggerElements: c,
|
|
20
|
-
...i
|
|
21
|
-
} = n;
|
|
22
|
-
super({
|
|
23
|
-
...i,
|
|
24
|
-
positionReference: i.referenceElement,
|
|
25
|
-
domReferenceElement: i.referenceElement
|
|
26
|
-
}, {
|
|
27
|
-
onOpenChange: s,
|
|
28
|
-
dataRef: {
|
|
29
|
-
current: {}
|
|
30
|
-
},
|
|
31
|
-
events: a(),
|
|
32
|
-
nested: r,
|
|
33
|
-
triggerElements: c
|
|
34
|
-
}, l), this.syncOnly = e;
|
|
1
|
+
import { NOOP as i } from "./index204.js";
|
|
2
|
+
let e = 0;
|
|
3
|
+
function s(c, o = {}) {
|
|
4
|
+
const {
|
|
5
|
+
preventScroll: u = !1,
|
|
6
|
+
sync: a = !1,
|
|
7
|
+
shouldFocus: r
|
|
8
|
+
} = o;
|
|
9
|
+
cancelAnimationFrame(e);
|
|
10
|
+
function t() {
|
|
11
|
+
r && !r() || c?.focus({
|
|
12
|
+
preventScroll: u
|
|
13
|
+
});
|
|
35
14
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
// click events to upgrade a hover-open.
|
|
42
|
-
e != null && f(e)) && (this.context.dataRef.current.openEvent = n ? e : void 0);
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Runs the root-owned side effects for an open state change.
|
|
46
|
-
*/
|
|
47
|
-
dispatchOpenChange = (n, e) => {
|
|
48
|
-
this.syncOpenEvent(n, e.event);
|
|
49
|
-
const r = {
|
|
50
|
-
open: n,
|
|
51
|
-
reason: e.reason,
|
|
52
|
-
nativeEvent: e.event,
|
|
53
|
-
nested: this.context.nested,
|
|
54
|
-
triggerElement: e.trigger
|
|
55
|
-
};
|
|
56
|
-
this.context.events.emit("openchange", r);
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.
|
|
60
|
-
*
|
|
61
|
-
* @param newOpen The new open state.
|
|
62
|
-
* @param eventDetails Details about the event that triggered the open state change.
|
|
63
|
-
*/
|
|
64
|
-
setOpen = (n, e) => {
|
|
65
|
-
if (this.syncOnly) {
|
|
66
|
-
this.context.onOpenChange?.(n, e);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
this.dispatchOpenChange(n, e), this.context.onOpenChange?.(n, e);
|
|
15
|
+
if (a)
|
|
16
|
+
return t(), i;
|
|
17
|
+
const n = requestAnimationFrame(t);
|
|
18
|
+
return e = n, () => {
|
|
19
|
+
e === n && (cancelAnimationFrame(n), e = 0);
|
|
70
20
|
};
|
|
71
21
|
}
|
|
72
22
|
export {
|
|
73
|
-
|
|
23
|
+
s as enqueueFocus
|
|
74
24
|
};
|
|
75
25
|
//# sourceMappingURL=index384.js.map
|
package/dist/index384.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index384.js","sources":["
|
|
1
|
+
{"version":3,"file":"index384.js","sources":["../node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs"],"sourcesContent":["import { NOOP } from '@base-ui/utils/empty';\nlet rafId = 0;\nexport function enqueueFocus(el, options = {}) {\n const {\n preventScroll = false,\n sync = false,\n shouldFocus\n } = options;\n cancelAnimationFrame(rafId);\n function exec() {\n if (shouldFocus && !shouldFocus()) {\n return;\n }\n el?.focus({\n preventScroll\n });\n }\n if (sync) {\n exec();\n return NOOP;\n }\n const currentRafId = requestAnimationFrame(exec);\n rafId = currentRafId;\n return () => {\n if (rafId === currentRafId) {\n cancelAnimationFrame(currentRafId);\n rafId = 0;\n }\n };\n}"],"names":["rafId","enqueueFocus","el","options","preventScroll","sync","shouldFocus","exec","NOOP","currentRafId"],"mappings":";AACA,IAAIA,IAAQ;AACL,SAASC,EAAaC,GAAIC,IAAU,IAAI;AAC7C,QAAM;AAAA,IACJ,eAAAC,IAAgB;AAAA,IAChB,MAAAC,IAAO;AAAA,IACP,aAAAC;AAAA,EACJ,IAAMH;AACJ,uBAAqBH,CAAK;AAC1B,WAASO,IAAO;AACd,IAAID,KAAe,CAACA,OAGpBJ,GAAI,MAAM;AAAA,MACR,eAAAE;AAAA,IACN,CAAK;AAAA,EACH;AACA,MAAIC;AACF,WAAAE,EAAI,GACGC;AAET,QAAMC,IAAe,sBAAsBF,CAAI;AAC/C,SAAAP,IAAQS,GACD,MAAM;AACX,IAAIT,MAAUS,MACZ,qBAAqBA,CAAY,GACjCT,IAAQ;AAAA,EAEZ;AACF;","x_google_ignoreList":[0]}
|