@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/index197.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index197.js","sources":["
|
|
1
|
+
{"version":3,"file":"index197.js","sources":["../node_modules/@base-ui/utils/useOnFirstRender.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport function useOnFirstRender(fn) {\n const ref = React.useRef(true);\n if (ref.current) {\n ref.current = false;\n fn();\n }\n}"],"names":["useOnFirstRender","fn","ref","React"],"mappings":";AAGO,SAASA,EAAiBC,GAAI;AACnC,QAAMC,IAAMC,EAAM,OAAO,EAAI;AAC7B,EAAID,EAAI,YACNA,EAAI,UAAU,IACdD,EAAE;AAEN;","x_google_ignoreList":[0]}
|
package/dist/index198.js
CHANGED
|
@@ -1,91 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
//#region time zone
|
|
12
|
-
withTimeZone(e) {
|
|
13
|
-
return new o(+this, e);
|
|
14
|
-
}
|
|
15
|
-
getTimezoneOffset() {
|
|
16
|
-
const e = -s(this.timeZone, this);
|
|
17
|
-
return e > 0 ? Math.floor(e) : Math.ceil(e);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region time
|
|
21
|
-
setTime(e) {
|
|
22
|
-
return Date.prototype.setTime.apply(this, arguments), p(this), +this;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region date-fns integration
|
|
26
|
-
[/* @__PURE__ */ Symbol.for("constructDateFrom")](e) {
|
|
27
|
-
return new o(+new Date(e), this.timeZone);
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
}
|
|
31
|
-
const Z = /^(get|set)(?!UTC)/;
|
|
32
|
-
Object.getOwnPropertyNames(Date.prototype).forEach((t) => {
|
|
33
|
-
if (!Z.test(t)) return;
|
|
34
|
-
const e = t.replace(Z, "$1UTC");
|
|
35
|
-
o.prototype[e] && (t.startsWith("get") ? o.prototype[t] = function() {
|
|
36
|
-
return this.internal[e]();
|
|
37
|
-
} : (o.prototype[t] = function() {
|
|
38
|
-
return Date.prototype[e].apply(this.internal, arguments), j(this), +this;
|
|
39
|
-
}, o.prototype[e] = function() {
|
|
40
|
-
return Date.prototype[e].apply(this, arguments), p(this), +this;
|
|
41
|
-
}));
|
|
42
|
-
});
|
|
43
|
-
function p(t) {
|
|
44
|
-
t.internal.setTime(+t), t.internal.setUTCSeconds(t.internal.getUTCSeconds() - // Round after converting minutes to seconds to avoid fractional offset
|
|
45
|
-
// precision errors from historical offsets.
|
|
46
|
-
Math.round(-s(t.timeZone, t) * 60));
|
|
47
|
-
}
|
|
48
|
-
function j(t) {
|
|
49
|
-
Date.prototype.setFullYear.call(t, t.internal.getUTCFullYear(), t.internal.getUTCMonth(), t.internal.getUTCDate()), Date.prototype.setHours.call(t, t.internal.getUTCHours(), t.internal.getUTCMinutes(), t.internal.getUTCSeconds(), t.internal.getUTCMilliseconds()), z(t);
|
|
50
|
-
}
|
|
51
|
-
function z(t, e) {
|
|
52
|
-
const n = Array.isArray(e) ? v(e) : +t.internal, h = s(t.timeZone, t), i = h > 0 ? Math.floor(h) : Math.ceil(h), T = /* @__PURE__ */ new Date(+t);
|
|
53
|
-
T.setUTCHours(T.getUTCHours() - 1);
|
|
54
|
-
const r = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset(), S = -(/* @__PURE__ */ new Date(+T)).getTimezoneOffset(), b = r - S;
|
|
55
|
-
let M = r;
|
|
56
|
-
if (b && r !== i) {
|
|
57
|
-
const l = Date.prototype.getHours.apply(t), U = Array.isArray(e) ? e[3] || 0 : t.internal.getUTCHours();
|
|
58
|
-
if (l !== U) {
|
|
59
|
-
const f = /* @__PURE__ */ new Date(+t), H = r - i;
|
|
60
|
-
H && f.setUTCMinutes(f.getUTCMinutes() + H);
|
|
61
|
-
const O = s(t.timeZone, f);
|
|
62
|
-
(O > 0 ? Math.floor(O) : Math.ceil(O)) === i && (M = S);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
const u = M - i;
|
|
66
|
-
u && Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + u);
|
|
67
|
-
const m = /* @__PURE__ */ new Date(+t);
|
|
68
|
-
m.setUTCSeconds(0);
|
|
69
|
-
const g = r > 0 ? m.getSeconds() : (m.getSeconds() - 60) % 60, a = Math.round(-(s(t.timeZone, t) * 60)) % 60;
|
|
70
|
-
(a || g) && Date.prototype.setUTCSeconds.call(t, Date.prototype.getUTCSeconds.call(t) + a + g);
|
|
71
|
-
const y = s(t.timeZone, t), c = y > 0 ? Math.floor(y) : Math.ceil(y), F = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - c, I = c !== i, D = F - u, w = c - i, N = n - c * 60 * 1e3, W = w > 0 && x(t) - n === w * 60 * 1e3 && x(t, N) !== n;
|
|
72
|
-
if (I && D && !W) {
|
|
73
|
-
Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + D);
|
|
74
|
-
const l = s(t.timeZone, t), U = l > 0 ? Math.floor(l) : Math.ceil(l), f = c - U;
|
|
75
|
-
f && D < 0 && Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + f);
|
|
76
|
-
}
|
|
77
|
-
p(t);
|
|
78
|
-
const C = (e ? n : n + a * 1e3) - +t.internal;
|
|
79
|
-
C && Math.abs(C) < 1800 * 1e3 && (Date.prototype.setTime.call(t, +t + C), p(t));
|
|
80
|
-
}
|
|
81
|
-
function v(t) {
|
|
82
|
-
return Date.UTC(t[0], t.length > 1 ? t[1] : 0, t.length > 2 ? t[2] : 1, ...t.slice(3));
|
|
83
|
-
}
|
|
84
|
-
function x(t, e) {
|
|
85
|
-
const n = new Date(e ?? +t);
|
|
86
|
-
return n.setUTCSeconds(n.getUTCSeconds() - Math.round(-s(t.timeZone, n) * 60)), +n;
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
function s(r) {
|
|
3
|
+
const [t, e] = u.useState({
|
|
4
|
+
current: r,
|
|
5
|
+
previous: null
|
|
6
|
+
});
|
|
7
|
+
return r !== t.current && e({
|
|
8
|
+
current: r,
|
|
9
|
+
previous: t.current
|
|
10
|
+
}), t.previous;
|
|
87
11
|
}
|
|
88
12
|
export {
|
|
89
|
-
|
|
13
|
+
s as usePreviousValue
|
|
90
14
|
};
|
|
91
15
|
//# sourceMappingURL=index198.js.map
|
package/dist/index198.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index198.js","sources":["../../../node_modules/@date-fns/tz/date/mini.js"],"sourcesContent":["import { tzOffset } from \"../tzOffset/index.js\";\n\n// TZDate stores time in two `Date` objects because native `Date` can only\n// expose local fields in the system time zone.\n//\n// The external date (`this`) stores the real timestamp. It is the value used by\n// `getTime()`, `valueOf()`, UTC getters/setters, comparisons, and arithmetic.\n// Its local getters are not used for target-zone fields because they would read\n// the timestamp through the system time zone.\n//\n// The internal date (`this.internal`) stores the target-zone wall-clock fields.\n// We read and write those fields through UTC getters/setters so the host system\n// time zone cannot reinterpret them. For example, `getHours()` returns\n// `internal.getUTCHours()`, and `setHours()` writes `internal.setUTCHours(...)`.\n//\n// Syncing moves data between the two representations:\n//\n// - `syncToInternal` starts from the external timestamp and rebuilds internal\n// wall-clock fields using `this.timeZone` offset.\n//\n// - `syncFromInternal` starts from internal wall-clock fields, writes them into\n// the external date, then adjusts that timestamp for the system/target offset\n// difference and DST edge cases.\n//\n// The public TZDate value is the combination of both: external is the instant,\n// internal is the wall-clock view of that instant in `this.timeZone`.\n\nexport class TZDateMini extends Date {\n //#region static\n\n constructor(...args) {\n super();\n\n // Time zone string is always the last string argument unless date string\n // is passed (as a single argument).\n if (args.length > 1 && typeof args[args.length - 1] === \"string\") {\n this.timeZone = args.pop();\n }\n this.internal = new Date();\n\n // Validate the time zone by checking its offset.\n if (isNaN(tzOffset(this.timeZone, this))) {\n this.setTime(NaN);\n } else {\n if (!args.length) {\n // No arguments passed: use current time\n this.setTime(Date.now());\n } else if (typeof args[0] === \"number\" && (args.length === 1 || args.length === 2 && typeof args[1] !== \"number\")) {\n // Timestamp passed: use it as is\n this.setTime(args[0]);\n } else if (typeof args[0] === \"string\") {\n // `Date` string passed: parse it as external date\n this.setTime(+new Date(args[0]));\n } else if (args[0] instanceof Date) {\n // `Date` passed: use its timestamp\n this.setTime(+args[0]);\n } else {\n // `Date` values passed:\n\n // Set it as external date.\n this.setTime(+new Date(...args));\n\n // Adjust internal and external dates considering that we might have\n // landed on the DST hour.\n adjustToSystemTZ(this, args);\n }\n }\n }\n static tz(tz, ...args) {\n return args.length ? new TZDateMini(...args, tz) : new TZDateMini(Date.now(), tz);\n }\n\n //#endregion\n\n //#region time zone\n\n withTimeZone(timeZone) {\n return new TZDateMini(+this, timeZone);\n }\n getTimezoneOffset() {\n const offset = -tzOffset(this.timeZone, this);\n // Remove the seconds offset using `Math.floor` for negative UTC time zones\n // and `Math.ceil` for positive UTC time zones.\n return offset > 0 ? Math.floor(offset) : Math.ceil(offset);\n }\n\n //#endregion\n\n //#region time\n\n setTime(_time) {\n // Use the native `setTime` to the external date time.\n Date.prototype.setTime.apply(this, arguments);\n\n // Then apply it to the internal date adjusting to the timezone offset.\n syncToInternal(this);\n return +this;\n }\n\n //#endregion\n\n //#region date-fns integration\n\n [Symbol.for(\"constructDateFrom\")](date) {\n return new TZDateMini(+new Date(date), this.timeZone);\n }\n\n //#endregion\n}\n\n// Assign getters and setters\nconst re = /^(get|set)(?!UTC)/;\nObject.getOwnPropertyNames(Date.prototype).forEach(method => {\n if (!re.test(method)) return;\n const utcMethod = method.replace(re, \"$1UTC\");\n // Filter out methods without UTC counterparts\n if (!TZDateMini.prototype[utcMethod]) return;\n if (method.startsWith(\"get\")) {\n // Delegate to internal date's UTC method\n TZDateMini.prototype[method] = function () {\n return this.internal[utcMethod]();\n };\n } else {\n // Assign regular setter\n TZDateMini.prototype[method] = function () {\n Date.prototype[utcMethod].apply(this.internal, arguments);\n syncFromInternal(this);\n return +this;\n };\n\n // Assign UTC setter\n TZDateMini.prototype[utcMethod] = function () {\n Date.prototype[utcMethod].apply(this, arguments);\n syncToInternal(this);\n return +this;\n };\n }\n});\n\n/**\n * @internal\n * Function syncs time to internal date, applying the current time zone offset.\n *\n * @param {Date} date - `Date` to sync\n */\nfunction syncToInternal(date) {\n // Start internal from the same real timestamp as external.\n date.internal.setTime(+date);\n\n // Shift internal by the target offset so its UTC fields become the target-zone\n // wall-clock fields for the external timestamp.\n //\n // o internal UTC fields: 2024-02-11 00:00\n // |\n // | + Asia/Singapore offset (+08:00)\n // v\n // x internal UTC fields: 2024-02-11 08:00\n //\n date.internal.setUTCSeconds(date.internal.getUTCSeconds() -\n // Round after converting minutes to seconds to avoid fractional offset\n // precision errors from historical offsets.\n Math.round(-tzOffset(date.timeZone, date) * 60));\n}\n\n/**\n * @internal\n * Function syncs internal wall-clock fields into the external date.\n *\n * @param {Date} date - The date to sync\n */\nfunction syncFromInternal(date) {\n // Copy target-zone wall-clock fields from internal into external using native\n // local setters. At this point external holds the right field values but they\n // are interpreted in the system time zone; `adjustToSystemTZ` fixes that.\n Date.prototype.setFullYear.call(date, date.internal.getUTCFullYear(), date.internal.getUTCMonth(), date.internal.getUTCDate());\n Date.prototype.setHours.call(date, date.internal.getUTCHours(), date.internal.getUTCMinutes(), date.internal.getUTCSeconds(), date.internal.getUTCMilliseconds());\n\n // Now we have to adjust the date to the system time zone\n adjustToSystemTZ(date);\n}\n\n/**\n * @internal\n * Function adjusts the date to the system time zone. It uses the time zone\n * differences to calculate the offset and adjust the date.\n *\n * We use it when constructing `TZDate` and syncing the external date from\n * the internal one.\n *\n * @param {TZDate} date - `TZDate` to adjust.\n */\nfunction adjustToSystemTZ(date, constructorArgs) {\n // Keep the intended target-zone wall-clock value before native Date/system\n // time zone normalization can move it. Later corrections compare against this\n // value to distinguish intended DST normalization from accidental drift.\n const expectedInternalTime = Array.isArray(constructorArgs) ? constructorArgsToInternalTime(constructorArgs) : +date.internal;\n //#region Initial offset calculation\n\n // Current target time zone offset at the native timestamp. It may include\n // historical offset seconds, which we preserve for the seconds adjustment.\n const offsetWithSeconds = tzOffset(date.timeZone, date);\n\n // Minute-precision target offset used by minute-based timestamp adjustments.\n // Historical offsets can contain seconds, so we strip the fractional minute\n // here and handle remaining seconds in the seconds adjustment below.\n const offset = offsetWithSeconds > 0 ? Math.floor(offsetWithSeconds) : Math.ceil(offsetWithSeconds);\n\n //#endregion\n\n //#region System DST adjustment\n\n // Native `Date` may normalize the requested wall time when the system time\n // zone skips that hour for DST.\n //\n // We compare the system wall-clock hour represented by the external date with\n // the wall-clock hour stored in the internal date. If they differ, the next\n // offset-diff calculation may need the previous system offset, because the\n // current external timestamp is already after the system DST jump.\n\n // Previous-hour reference used to detect whether the system offset changed\n // immediately before the current native timestamp.\n const prevHour = new Date(+date);\n\n // Use UTC math so subtracting one hour cannot be normalized back into the\n // same missing local DST hour.\n prevHour.setUTCHours(prevHour.getUTCHours() - 1);\n\n // Current system offset at the native timestamp.\n const systemOffset = -new Date(+date).getTimezoneOffset();\n\n // System offset one real hour before the native timestamp.\n const prevHourSystemOffset = -new Date(+prevHour).getTimezoneOffset();\n\n // Non-zero when the system offset changed between `prevHour` and `date`.\n const systemDSTChange = systemOffset - prevHourSystemOffset;\n\n // System offset to use in the later system-target offset difference.\n // Defaults to the current system offset and switches to the previous offset\n // only when native `Date` normalized a missing system wall time.\n let systemOffsetForDiff = systemOffset;\n if (systemDSTChange && systemOffset !== offset) {\n // System wall-clock hour represented by the current external timestamp.\n const systemHour = Date.prototype.getHours.apply(date);\n\n // Target wall-clock hour currently stored in internal fields. Constructors\n // get it from arguments because internal may have already been synced from\n // the normalized external timestamp; setters get it directly from internal.\n const expectedHour = Array.isArray(constructorArgs) ? constructorArgs[3] || 0 : date.internal.getUTCHours();\n if (systemHour !== expectedHour) {\n // Check whether using the current system offset would keep the target\n // offset unchanged. If so, the only DST jump we crossed is the system\n // one, so the diff should use the pre-DST system offset.\n const testDate = new Date(+date);\n\n // Difference that the later offset-diff step would apply with the\n // current system offset.\n const testOffsetDiff = systemOffset - offset;\n if (testOffsetDiff) testDate.setUTCMinutes(testDate.getUTCMinutes() + testOffsetDiff);\n\n // Target offset after applying the current system offset difference.\n const testOffsetWithSeconds = tzOffset(date.timeZone, testDate);\n\n // Target offset without historical seconds, matching `offset`.\n const testOffset = testOffsetWithSeconds > 0 ? Math.floor(testOffsetWithSeconds) : Math.ceil(testOffsetWithSeconds);\n if (testOffset === offset) systemOffsetForDiff = prevHourSystemOffset;\n }\n }\n\n //#endregion\n\n //#region System diff adjustment\n\n // Move external from the system-zone interpretation of internal fields toward\n // the timestamp that represents those fields in the target time zone.\n //\n // At this point native `Date` has treated the internal wall-clock fields as if\n // they belonged to the system zone. The system-target offset difference moves\n // external by the distance between that system interpretation and the target\n // interpretation.\n\n // Difference between the system offset selected above and the minute-precision\n // target offset. Positive values move external forward; negative values move\n // it backward.\n const offsetDiff = systemOffsetForDiff - offset;\n if (offsetDiff)\n // Apply the system-target minute difference to external. Internal is\n // rebuilt from the final external timestamp after all adjustments are\n // complete.\n //\n // o external as target: 2023-01-31 23:00\n // |\n // | add `offsetDiff`\n // v\n // x external as target: 2023-02-01 12:00\n //\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetDiff);\n\n //#endregion\n\n //#region Seconds system diff adjustment\n\n // Historical time zone offsets can include seconds, but the minute-based\n // offset adjustment above intentionally used minute precision.\n //\n // This adjustment applies the remaining seconds difference to external. For\n // example, historical Singapore used UTC+06:55:25, while ISO formatting shows\n // only `+06:55`; without the seconds correction, setter paths keep the wrong\n // wall-clock seconds.\n\n // Clone external as a native `Date` so we can inspect how the system time zone\n // represents the same timestamp.\n const systemDate = new Date(+date);\n\n // Zero UTC seconds before reading system seconds. Any remaining local seconds\n // then come from the system time zone offset rather than from the timestamp's\n // own seconds value.\n systemDate.setUTCSeconds(0);\n\n // Seconds part contributed by the system time zone offset. Negative offsets\n // need wrapping because `Date#getSeconds()` returns values in the 0..59 range.\n const systemSecondsOffset = systemOffset > 0 ? systemDate.getSeconds() : (systemDate.getSeconds() - 60) % 60;\n\n // Seconds part contributed by the target time zone offset.\n const secondsOffset = Math.round(-(tzOffset(date.timeZone, date) * 60)) % 60;\n if (secondsOffset || systemSecondsOffset)\n // Apply the remaining second-level system-target difference to external.\n //\n // o external as Asia/Singapore: 1900-01-01 00:00:56\n // |\n // | + `secondsOffset`\n // | + `systemSecondsOffset`\n // v\n // x external as Asia/Singapore: 1900-01-01 00:00:31\n //\n Date.prototype.setUTCSeconds.call(date, Date.prototype.getUTCSeconds.call(date) + secondsOffset + systemSecondsOffset);\n\n //#endregion\n\n //#region Post-adjustment DST fix\n\n // The first system-target offset move can cross a target-zone DST boundary.\n //\n // When that happens, the target offset at the new external timestamp differs\n // from the target offset used for `offsetDiff`. We compare the original move\n // with the move that would be calculated at the new timestamp, then apply the\n // difference to external.\n\n // Target offset at the current external timestamp, including historical\n // seconds for the later seconds adjustment.\n const postOffsetWithSeconds = tzOffset(date.timeZone, date);\n\n // Minute-precision target offset at the current external timestamp.\n const postOffset = postOffsetWithSeconds > 0 ? Math.floor(postOffsetWithSeconds) : Math.ceil(postOffsetWithSeconds);\n\n // System offset at the current external timestamp.\n const postSystemOffset = -new Date(+date).getTimezoneOffset();\n\n // System-target offset difference at the current external timestamp.\n const postOffsetDiff = postSystemOffset - postOffset;\n\n // Whether the target offset changed after the first offset move.\n const offsetChanged = postOffset !== offset;\n\n // Difference between the current offset move and the move already applied.\n const postDiff = postOffsetDiff - offsetDiff;\n\n // If the first offset move already normalized a target DST gap forward, the\n // generic post-DST correction below would undo that valid normalization. This\n // happens, for example, with America/New_York 02:00 during spring-forward when\n // the system zone also changes offset around the same instant.\n const targetDSTShift = postOffset - offset;\n\n // Candidate timestamp that would represent the requested wall-clock time with\n // the post-transition target offset. If it still does not round-trip to the\n // requested wall-clock fields, the requested time is inside a target DST gap.\n const postOffsetCandidate = expectedInternalTime - postOffset * 60 * 1000;\n\n // Only positive target offset shifts are spring-forward gaps. Negative shifts\n // are fall-back overlaps and still need the regular post-adjustment path.\n const normalizedTargetDSTGap = targetDSTShift > 0 && targetInternalTime(date) - expectedInternalTime === targetDSTShift * 60 * 1000 && targetInternalTime(date, postOffsetCandidate) !== expectedInternalTime;\n if (offsetChanged && postDiff && !normalizedTargetDSTGap) {\n // Apply the target-DST correction to external. In the backward-crossing case\n // shown here, this lands on an intermediate value that needs `offsetChange`\n // below.\n //\n // o external as America/New_York: 2023-03-12 03:00 EDT\n // |\n // | + `postDiff`\n // v\n // x external as America/New_York: 2023-03-12 01:00 EST\n //\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + postDiff);\n\n // Target offset after applying `postDiff`. It may change again if the\n // correction itself crosses a target-zone DST boundary.\n const newOffsetWithSeconds = tzOffset(date.timeZone, date);\n\n // Minute-precision target offset after applying `postDiff`.\n const newOffset = newOffsetWithSeconds > 0 ? Math.floor(newOffsetWithSeconds) : Math.ceil(newOffsetWithSeconds);\n\n // Offset change caused by the `postDiff` move itself.\n const offsetChange = postOffset - newOffset;\n\n // If the correction moved external backward across the target DST boundary,\n // apply the boundary change so external lands on the valid target-zone\n // timestamp. Forward crossings are already normalized by native Date, and\n // applying this correction there would undo the valid post-DST result.\n if (offsetChange && postDiff < 0) {\n // Apply the second target-DST correction to external.\n //\n // o external as America/New_York: 2023-03-12 01:00 EST\n // |\n // | + `offsetChange`\n // v\n // x external as America/New_York: 2023-03-12 03:00 EDT\n //\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetChange);\n }\n }\n\n //#endregion\n\n // Rebuild internal wall-clock fields from the final external timestamp.\n syncToInternal(date);\n\n // Native Date can normalize historical system offsets with minute and second\n // precision before we adjust to the target time zone. Correct only small\n // historical drift so DST gap normalization (usually one hour) remains intact.\n const expectedTime = constructorArgs ? expectedInternalTime : expectedInternalTime + secondsOffset * 1000;\n const drift = expectedTime - +date.internal;\n if (drift && Math.abs(drift) < 30 * 60 * 1000) {\n Date.prototype.setTime.call(date, +date + drift);\n syncToInternal(date);\n }\n}\nfunction constructorArgsToInternalTime(args) {\n // Mirror Date's date-value constructor defaults while preserving explicit\n // `undefined` behavior. Missing month/day default, but passed `undefined`\n // should remain invalid just like `Date.UTC(year, undefined, ...)`.\n return Date.UTC(args[0], args.length > 1 ? args[1] : 0, args.length > 2 ? args[2] : 1, ...args.slice(3));\n}\nfunction targetInternalTime(date, time) {\n // Compute the target-zone wall-clock representation for a timestamp without\n // mutating the TZDate. This mirrors syncToInternal for temporary checks.\n const internal = new Date(time ?? +date);\n internal.setUTCSeconds(internal.getUTCSeconds() - Math.round(-tzOffset(date.timeZone, internal) * 60));\n return +internal;\n}"],"names":["TZDateMini","args","tzOffset","adjustToSystemTZ","tz","timeZone","offset","_time","syncToInternal","date","re","method","utcMethod","syncFromInternal","constructorArgs","expectedInternalTime","constructorArgsToInternalTime","offsetWithSeconds","prevHour","systemOffset","prevHourSystemOffset","systemDSTChange","systemOffsetForDiff","systemHour","expectedHour","testDate","testOffsetDiff","testOffsetWithSeconds","offsetDiff","systemDate","systemSecondsOffset","secondsOffset","postOffsetWithSeconds","postOffset","postOffsetDiff","offsetChanged","postDiff","targetDSTShift","postOffsetCandidate","normalizedTargetDSTGap","targetInternalTime","newOffsetWithSeconds","newOffset","offsetChange","drift","time","internal"],"mappings":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index198.js","sources":["../node_modules/@base-ui/utils/usePreviousValue.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * Returns a previous value of its argument.\n * @param value Current value.\n * @returns Previous value, or null if there is no previous value.\n */\nexport function usePreviousValue(value) {\n const [state, setState] = React.useState({\n current: value,\n previous: null\n });\n if (value !== state.current) {\n setState({\n current: value,\n previous: state.current\n });\n }\n return state.previous;\n}"],"names":["usePreviousValue","value","state","setState","React"],"mappings":";AASO,SAASA,EAAiBC,GAAO;AACtC,QAAM,CAACC,GAAOC,CAAQ,IAAIC,EAAM,SAAS;AAAA,IACvC,SAASH;AAAA,IACT,UAAU;AAAA,EACd,CAAG;AACD,SAAIA,MAAUC,EAAM,WAClBC,EAAS;AAAA,IACP,SAASF;AAAA,IACT,UAAUC,EAAM;AAAA,EACtB,CAAK,GAEIA,EAAM;AACf;","x_google_ignoreList":[0]}
|
package/dist/index199.js
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
try {
|
|
4
|
-
const n = (e[t] ||= new Intl.DateTimeFormat("en-US", {
|
|
5
|
-
timeZone: t,
|
|
6
|
-
timeZoneName: "longOffset"
|
|
7
|
-
}).format)(r).split("GMT")[1];
|
|
8
|
-
return n in s ? s[n] : o(n, n.split(":"));
|
|
9
|
-
} catch {
|
|
10
|
-
if (t in s) return s[t];
|
|
11
|
-
const f = t?.match(a);
|
|
12
|
-
return f ? o(t, f.slice(1)) : NaN;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
const a = /([+-]\d\d):?(\d\d)?/;
|
|
16
|
-
function o(t, r) {
|
|
17
|
-
const f = +(r[0] || 0), n = +(r[1] || 0), c = +(r[2] || 0) / 60;
|
|
18
|
-
return s[t] = f * 60 + n > 0 ? f * 60 + n + c : f * 60 - n - c;
|
|
1
|
+
function i(t) {
|
|
2
|
+
return t == null || t.hasAttribute("disabled") || t.getAttribute("aria-disabled") === "true";
|
|
19
3
|
}
|
|
20
4
|
export {
|
|
21
|
-
|
|
5
|
+
i as isElementDisabled
|
|
22
6
|
};
|
|
23
7
|
//# sourceMappingURL=index199.js.map
|
package/dist/index199.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index199.js","sources":["
|
|
1
|
+
{"version":3,"file":"index199.js","sources":["../node_modules/@base-ui/utils/isElementDisabled.mjs"],"sourcesContent":["export function isElementDisabled(element) {\n return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}"],"names":["isElementDisabled","element"],"mappings":"AAAO,SAASA,EAAkBC,GAAS;AACzC,SAAOA,KAAW,QAAQA,EAAQ,aAAa,UAAU,KAAKA,EAAQ,aAAa,eAAe,MAAM;AAC1G;","x_google_ignoreList":[0]}
|
package/dist/index200.js
CHANGED
|
@@ -1,20 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { error as l } from "./index352.js";
|
|
3
|
+
function _({
|
|
4
|
+
controlled: n,
|
|
5
|
+
default: o,
|
|
6
|
+
name: t,
|
|
7
|
+
state: s = "value"
|
|
8
|
+
}) {
|
|
9
|
+
const {
|
|
10
|
+
current: i
|
|
11
|
+
} = r.useRef(n !== void 0), [f, e] = r.useState(o), c = i ? n : f;
|
|
12
|
+
if (process.env.NODE_ENV !== "production") {
|
|
13
|
+
r.useEffect(() => {
|
|
14
|
+
i !== (n !== void 0) && l([`A component is changing the ${i ? "" : "un"}controlled ${s} state of ${t} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${t} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
|
15
|
+
`));
|
|
16
|
+
}, [s, t, n]);
|
|
17
|
+
const {
|
|
18
|
+
current: u
|
|
19
|
+
} = r.useRef(o);
|
|
20
|
+
r.useEffect(() => {
|
|
21
|
+
!i && d(u) !== d(o) && l([`A component is changing the default ${s} state of an uncontrolled ${t} after being initialized. To suppress this warning opt to use a controlled ${t}.`].join(`
|
|
22
|
+
`));
|
|
23
|
+
}, [o]);
|
|
5
24
|
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
25
|
+
const a = r.useCallback((u) => {
|
|
26
|
+
i || e(u);
|
|
27
|
+
}, []);
|
|
28
|
+
return [c, a];
|
|
29
|
+
}
|
|
30
|
+
function d(n) {
|
|
31
|
+
let o = 0;
|
|
32
|
+
const t = /* @__PURE__ */ new WeakMap();
|
|
33
|
+
try {
|
|
34
|
+
return JSON.stringify(n, function(f, e) {
|
|
35
|
+
if (!(f === "_owner" && this != null && typeof this == "object" && "$$typeof" in this)) {
|
|
36
|
+
if (typeof e == "bigint")
|
|
37
|
+
return `__bigint__:${e}`;
|
|
38
|
+
if (e !== null && typeof e == "object") {
|
|
39
|
+
const c = t.get(e);
|
|
40
|
+
if (c !== void 0)
|
|
41
|
+
return `__object__:${c}`;
|
|
42
|
+
t.set(e, o), o += 1;
|
|
43
|
+
}
|
|
44
|
+
return e;
|
|
45
|
+
}
|
|
46
|
+
}) ?? `__top__:${typeof n}`;
|
|
47
|
+
} catch {
|
|
48
|
+
return "__unserializable__";
|
|
15
49
|
}
|
|
16
50
|
}
|
|
17
51
|
export {
|
|
18
|
-
|
|
52
|
+
_ as useControlled
|
|
19
53
|
};
|
|
20
54
|
//# sourceMappingURL=index200.js.map
|
package/dist/index200.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index200.js","sources":["
|
|
1
|
+
{"version":3,"file":"index200.js","sources":["../node_modules/@base-ui/utils/useControlled.mjs"],"sourcesContent":["'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nimport { error } from \"./error.mjs\";\nexport function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n error([`A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n if (!isControlled && serializeToDevModeString(defaultValue) !== serializeToDevModeString(defaultProp)) {\n error([`A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [defaultProp]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}\nfunction serializeToDevModeString(input) {\n let nextId = 0;\n const seen = new WeakMap();\n try {\n const result = JSON.stringify(input, function replacer(key, value) {\n if (key === '_owner' && this != null && typeof this === 'object' && '$$typeof' in this) {\n return undefined;\n }\n if (typeof value === 'bigint') {\n return `__bigint__:${value}`;\n }\n if (value !== null && typeof value === 'object') {\n const id = seen.get(value);\n if (id !== undefined) {\n return `__object__:${id}`;\n }\n seen.set(value, nextId);\n nextId += 1;\n }\n return value;\n });\n return result ?? `__top__:${typeof input}`;\n } catch {\n return '__unserializable__';\n }\n}"],"names":["useControlled","controlled","defaultProp","name","state","isControlled","React","valueState","setValue","value","error","defaultValue","serializeToDevModeString","setValueIfUncontrolled","newValue","input","nextId","seen","key","id"],"mappings":";;AAMO,SAASA,EAAc;AAAA,EAC5B,YAAAC;AAAA,EACA,SAASC;AAAA,EACT,MAAAC;AAAA,EACA,OAAAC,IAAQ;AACV,GAAG;AAED,QAAM;AAAA,IACJ,SAASC;AAAA,EACb,IAAMC,EAAM,OAAOL,MAAe,MAAS,GACnC,CAACM,GAAYC,CAAQ,IAAIF,EAAM,SAASJ,CAAW,GACnDO,IAAQJ,IAAeJ,IAAaM;AAC1C,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,IAAAD,EAAM,UAAU,MAAM;AACpB,MAAID,OAAkBJ,MAAe,WACnCS,EAAM,CAAC,+BAA+BL,IAAe,KAAK,IAAI,cAAcD,CAAK,aAAaD,CAAI,UAAUE,IAAe,OAAO,EAAE,eAAe,+EAA+E,qDAAqDF,CAAI,+CAAoD,8HAA8H,sDAAsD,EAAE,KAAK;AAAA,CAAI,CAAC;AAAA,IAEnhB,GAAG,CAACC,GAAOD,GAAMF,CAAU,CAAC;AAC5B,UAAM;AAAA,MACJ,SAASU;AAAA,IACf,IAAQL,EAAM,OAAOJ,CAAW;AAC5B,IAAAI,EAAM,UAAU,MAAM;AACpB,MAAI,CAACD,KAAgBO,EAAyBD,CAAY,MAAMC,EAAyBV,CAAW,KAClGQ,EAAM,CAAC,uCAAuCN,CAAK,6BAA6BD,CAAI,8EAAmFA,CAAI,GAAG,EAAE,KAAK;AAAA,CAAI,CAAC;AAAA,IAE9L,GAAG,CAACD,CAAW,CAAC;AAAA,EAClB;AACA,QAAMW,IAAyBP,EAAM,YAAY,CAAAQ,MAAY;AAC3D,IAAKT,KACHG,EAASM,CAAQ;AAAA,EAErB,GAAG,CAAA,CAAE;AACL,SAAO,CAACL,GAAOI,CAAsB;AACvC;AACA,SAASD,EAAyBG,GAAO;AACvC,MAAIC,IAAS;AACb,QAAMC,IAAO,oBAAI,QAAO;AACxB,MAAI;AAkBF,WAjBe,KAAK,UAAUF,GAAO,SAAkBG,GAAKT,GAAO;AACjE,UAAI,EAAAS,MAAQ,YAAY,QAAQ,QAAQ,OAAO,QAAS,YAAY,cAAc,OAGlF;AAAA,YAAI,OAAOT,KAAU;AACnB,iBAAO,cAAcA,CAAK;AAE5B,YAAIA,MAAU,QAAQ,OAAOA,KAAU,UAAU;AAC/C,gBAAMU,IAAKF,EAAK,IAAIR,CAAK;AACzB,cAAIU,MAAO;AACT,mBAAO,cAAcA,CAAE;AAEzB,UAAAF,EAAK,IAAIR,GAAOO,CAAM,GACtBA,KAAU;AAAA,QACZ;AACA,eAAOP;AAAA;AAAA,IACT,CAAC,KACgB,WAAW,OAAOM,CAAK;AAAA,EAC1C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
|
package/dist/index201.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
}
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
const t = () => {
|
|
3
|
+
}, e = typeof document < "u" ? o.useLayoutEffect : t;
|
|
6
4
|
export {
|
|
7
|
-
|
|
5
|
+
e as useIsoLayoutEffect
|
|
8
6
|
};
|
|
9
7
|
//# sourceMappingURL=index201.js.map
|
package/dist/index201.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index201.js","sources":["
|
|
1
|
+
{"version":3,"file":"index201.js","sources":["../node_modules/@base-ui/utils/useIsoLayoutEffect.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nconst noop = () => {};\nexport const useIsoLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : noop;"],"names":["noop","useIsoLayoutEffect","React"],"mappings":";AAGA,MAAMA,IAAO,MAAM;AAAC,GACPC,IAAqB,OAAO,WAAa,MAAcC,EAAM,kBAAkBF;","x_google_ignoreList":[0]}
|
package/dist/index202.js
CHANGED
|
@@ -1,9 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SafeReact as a } from "./index353.js";
|
|
2
|
+
import { useRefWithInit as c } from "./index196.js";
|
|
3
|
+
const n = a.useInsertionEffect, r = (
|
|
4
|
+
// React 17 doesn't have useInsertionEffect.
|
|
5
|
+
n && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late.
|
|
6
|
+
n !== a.useLayoutEffect ? n : (e) => e()
|
|
7
|
+
);
|
|
8
|
+
function i(e) {
|
|
9
|
+
const t = c(o).current;
|
|
10
|
+
return t.next = e, r(t.effect), t.trampoline;
|
|
11
|
+
}
|
|
12
|
+
function o() {
|
|
13
|
+
const e = {
|
|
14
|
+
next: void 0,
|
|
15
|
+
callback: f,
|
|
16
|
+
trampoline: (...t) => e.callback?.(...t),
|
|
17
|
+
effect: () => {
|
|
18
|
+
e.callback = e.next;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return e;
|
|
22
|
+
}
|
|
23
|
+
function f() {
|
|
24
|
+
if (process.env.NODE_ENV !== "production")
|
|
25
|
+
throw (
|
|
26
|
+
/* minify-error-disabled */
|
|
27
|
+
new Error("Base UI: Cannot call an event handler while rendering.")
|
|
28
|
+
);
|
|
5
29
|
}
|
|
6
30
|
export {
|
|
7
|
-
|
|
31
|
+
i as useStableCallback
|
|
8
32
|
};
|
|
9
33
|
//# sourceMappingURL=index202.js.map
|
package/dist/index202.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index202.js","sources":["
|
|
1
|
+
{"version":3,"file":"index202.js","sources":["../node_modules/@base-ui/utils/useStableCallback.mjs"],"sourcesContent":["'use client';\n\nimport { SafeReact } from \"./safeReact.mjs\";\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== SafeReact.useLayoutEffect ? useInsertionEffect : fn => fn();\n/**\n * Stabilizes the function passed so it's always the same between renders.\n *\n * The function becomes non-reactive to any values it captures.\n * It can safely be passed as a dependency of `React.useMemo` and `React.useEffect` without re-triggering them if its captured values change.\n *\n * The function must only be called inside effects and event handlers, never during render (which throws an error).\n *\n * This hook is a more permissive version of React 19.2's `React.useEffectEvent` in that it can be passed through contexts and called in event handler props, not just effects.\n */\nexport function useStableCallback(callback) {\n const stable = useRefWithInit(createStableCallback).current;\n stable.next = callback;\n useSafeInsertionEffect(stable.effect);\n return stable.trampoline;\n}\nfunction createStableCallback() {\n const stable = {\n next: undefined,\n callback: assertNotCalled,\n trampoline: (...args) => stable.callback?.(...args),\n effect: () => {\n stable.callback = stable.next;\n }\n };\n return stable;\n}\nfunction assertNotCalled() {\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 /* minify-error-disabled */new Error('Base UI: Cannot call an event handler while rendering.');\n }\n}"],"names":["useInsertionEffect","SafeReact","useSafeInsertionEffect","fn","useStableCallback","callback","stable","useRefWithInit","createStableCallback","assertNotCalled","args"],"mappings":";;AAIA,MAAMA,IAAqBC,EAAU,oBAC/BC;AAAA;AAAA,EAENF;AAAA,EAEAA,MAAuBC,EAAU,kBAAkBD,IAAqB,CAAAG,MAAMA,EAAE;AAAA;AAWzE,SAASC,EAAkBC,GAAU;AAC1C,QAAMC,IAASC,EAAeC,CAAoB,EAAE;AACpD,SAAAF,EAAO,OAAOD,GACdH,EAAuBI,EAAO,MAAM,GAC7BA,EAAO;AAChB;AACA,SAASE,IAAuB;AAC9B,QAAMF,IAAS;AAAA,IACb,MAAM;AAAA,IACN,UAAUG;AAAA,IACV,YAAY,IAAIC,MAASJ,EAAO,WAAW,GAAGI,CAAI;AAAA,IAClD,QAAQ,MAAM;AACZ,MAAAJ,EAAO,WAAWA,EAAO;AAAA,IAC3B;AAAA,EACJ;AACE,SAAOA;AACT;AACA,SAASG,IAAkB;AACzB,MAAI,QAAQ,IAAI,aAAa;AAG3B;AAAA;AAAA,MAAiC,IAAI,MAAM,wDAAwD;AAAA;AAEvG;","x_google_ignoreList":[0]}
|
package/dist/index203.js
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
return t.
|
|
1
|
+
import { useIsoLayoutEffect as r } from "./index201.js";
|
|
2
|
+
import { useRefWithInit as n } from "./index196.js";
|
|
3
|
+
function s(e) {
|
|
4
|
+
const t = n(f, e).current;
|
|
5
|
+
return t.next = e, r(t.effect), t;
|
|
6
|
+
}
|
|
7
|
+
function f(e) {
|
|
8
|
+
const t = {
|
|
9
|
+
current: e,
|
|
10
|
+
next: e,
|
|
11
|
+
effect: () => {
|
|
12
|
+
t.current = t.next;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
return t;
|
|
6
16
|
}
|
|
7
17
|
export {
|
|
8
|
-
|
|
18
|
+
s as useValueAsRef
|
|
9
19
|
};
|
|
10
20
|
//# sourceMappingURL=index203.js.map
|
package/dist/index203.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index203.js","sources":["
|
|
1
|
+
{"version":3,"file":"index203.js","sources":["../node_modules/@base-ui/utils/useValueAsRef.mjs"],"sourcesContent":["'use client';\n\nimport { useIsoLayoutEffect } from \"./useIsoLayoutEffect.mjs\";\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\n\n/**\n * Untracks the provided value by turning it into a ref to remove its reactivity.\n *\n * Used to access the passed value inside `React.useEffect` without causing the effect to re-run when the value changes.\n */\nexport function useValueAsRef(value) {\n const latest = useRefWithInit(createLatestRef, value).current;\n latest.next = value;\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useIsoLayoutEffect(latest.effect);\n return latest;\n}\nfunction createLatestRef(value) {\n const latest = {\n current: value,\n next: value,\n effect: () => {\n latest.current = latest.next;\n }\n };\n return latest;\n}"],"names":["useValueAsRef","value","latest","useRefWithInit","createLatestRef","useIsoLayoutEffect"],"mappings":";;AAUO,SAASA,EAAcC,GAAO;AACnC,QAAMC,IAASC,EAAeC,GAAiBH,CAAK,EAAE;AACtD,SAAAC,EAAO,OAAOD,GAGdI,EAAmBH,EAAO,MAAM,GACzBA;AACT;AACA,SAASE,EAAgBH,GAAO;AAC9B,QAAMC,IAAS;AAAA,IACb,SAASD;AAAA,IACT,MAAMA;AAAA,IACN,QAAQ,MAAM;AACZ,MAAAC,EAAO,UAAUA,EAAO;AAAA,IAC1B;AAAA,EACJ;AACE,SAAOA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index204.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
function
|
|
2
|
-
const t = e.startOfMonth(s), r = t.getDay();
|
|
3
|
-
return r === 1 ? t : r === 0 ? e.addDays(t, -6) : e.addDays(t, -1 * (r - 1));
|
|
1
|
+
function e() {
|
|
4
2
|
}
|
|
3
|
+
const t = Object.freeze([]), c = Object.freeze({});
|
|
5
4
|
export {
|
|
6
|
-
|
|
5
|
+
t as EMPTY_ARRAY,
|
|
6
|
+
c as EMPTY_OBJECT,
|
|
7
|
+
e as NOOP
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index204.js.map
|
package/dist/index204.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index204.js","sources":["
|
|
1
|
+
{"version":3,"file":"index204.js","sources":["../node_modules/@base-ui/utils/empty.mjs"],"sourcesContent":["export function NOOP() {}\nexport const EMPTY_ARRAY = Object.freeze([]);\nexport const EMPTY_OBJECT = Object.freeze({});"],"names":["NOOP","EMPTY_ARRAY","EMPTY_OBJECT"],"mappings":"AAAO,SAASA,IAAO;AAAC;AACZ,MAACC,IAAc,OAAO,OAAO,CAAA,CAAE,GAC9BC,IAAe,OAAO,OAAO,CAAA,CAAE;","x_google_ignoreList":[0]}
|
package/dist/index205.js
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import o from "./index190.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
const n = /* @__PURE__ */ e.createContext(null);
|
|
4
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "SelectRootContext");
|
|
5
|
+
const c = /* @__PURE__ */ e.createContext(null);
|
|
6
|
+
process.env.NODE_ENV !== "production" && (c.displayName = "SelectFloatingContext");
|
|
7
|
+
function s() {
|
|
8
|
+
const t = e.useContext(n);
|
|
9
|
+
if (t === null)
|
|
10
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>." : o(60));
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
function i() {
|
|
14
|
+
const t = e.useContext(c);
|
|
15
|
+
if (t === null)
|
|
16
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>." : o(61));
|
|
17
|
+
return t;
|
|
6
18
|
}
|
|
7
19
|
export {
|
|
8
|
-
|
|
20
|
+
c as SelectFloatingContext,
|
|
21
|
+
n as SelectRootContext,
|
|
22
|
+
i as useSelectFloatingContext,
|
|
23
|
+
s as useSelectRootContext
|
|
9
24
|
};
|
|
10
25
|
//# sourceMappingURL=index205.js.map
|
package/dist/index205.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index205.js","sources":["
|
|
1
|
+
{"version":3,"file":"index205.js","sources":["../node_modules/@base-ui/react/select/root/SelectRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectRootContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") SelectRootContext.displayName = \"SelectRootContext\";\nexport const SelectFloatingContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") SelectFloatingContext.displayName = \"SelectFloatingContext\";\nexport function useSelectRootContext() {\n const context = React.useContext(SelectRootContext);\n if (context === null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.' : _formatErrorMessage(60));\n }\n return context;\n}\nexport function useSelectFloatingContext() {\n const context = React.useContext(SelectFloatingContext);\n if (context === null) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.' : _formatErrorMessage(61));\n }\n return context;\n}"],"names":["SelectRootContext","React","SelectFloatingContext","useSelectRootContext","context","_formatErrorMessage","useSelectFloatingContext"],"mappings":";;AAIY,MAACA,IAAiC,gBAAAC,EAAM,cAAc,IAAI;AAClE,QAAQ,IAAI,aAAa,iBAAcD,EAAkB,cAAc;AAC/D,MAACE,IAAqC,gBAAAD,EAAM,cAAc,IAAI;AACtE,QAAQ,IAAI,aAAa,iBAAcC,EAAsB,cAAc;AACxE,SAASC,IAAuB;AACrC,QAAMC,IAAUH,EAAM,WAAWD,CAAiB;AAClD,MAAII,MAAY;AACd,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,6FAA6FC,EAAoB,EAAE,CAAC;AAE9K,SAAOD;AACT;AACO,SAASE,IAA2B;AACzC,QAAMF,IAAUH,EAAM,WAAWC,CAAqB;AACtD,MAAIE,MAAY;AACd,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,iGAAiGC,EAAoB,EAAE,CAAC;AAElL,SAAOD;AACT;","x_google_ignoreList":[0]}
|
package/dist/index206.js
CHANGED
|
@@ -1,20 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import a from "./index190.js";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { NOOP as e, EMPTY_OBJECT as d } from "./index204.js";
|
|
4
|
+
import { DEFAULT_FIELD_ROOT_STATE as l, DEFAULT_FIELD_STATE_ATTRIBUTES as i, DEFAULT_VALIDITY_STATE as s } from "./index227.js";
|
|
5
|
+
const u = {
|
|
6
|
+
invalid: void 0,
|
|
7
|
+
name: void 0,
|
|
8
|
+
validityData: {
|
|
9
|
+
state: s,
|
|
10
|
+
errors: [],
|
|
11
|
+
error: "",
|
|
12
|
+
value: "",
|
|
13
|
+
initialValue: null
|
|
14
|
+
},
|
|
15
|
+
setValidityData: e,
|
|
16
|
+
disabled: void 0,
|
|
17
|
+
touched: i.touched,
|
|
18
|
+
setTouched: e,
|
|
19
|
+
dirty: i.dirty,
|
|
20
|
+
setDirty: e,
|
|
21
|
+
filled: i.filled,
|
|
22
|
+
setFilled: e,
|
|
23
|
+
focused: i.focused,
|
|
24
|
+
setFocused: e,
|
|
25
|
+
validate: () => null,
|
|
26
|
+
validationMode: "onSubmit",
|
|
27
|
+
validationDebounceTime: 0,
|
|
28
|
+
shouldValidateOnChange: () => !1,
|
|
29
|
+
state: l,
|
|
30
|
+
markedDirtyRef: {
|
|
31
|
+
current: !1
|
|
32
|
+
},
|
|
33
|
+
registerFieldControl: e,
|
|
34
|
+
validation: {
|
|
35
|
+
getValidationProps: (o, t = d) => t,
|
|
36
|
+
inputRef: {
|
|
37
|
+
current: null
|
|
38
|
+
},
|
|
39
|
+
registerInput: e,
|
|
40
|
+
commit: async () => {
|
|
41
|
+
},
|
|
42
|
+
change: e
|
|
43
|
+
}
|
|
44
|
+
}, r = /* @__PURE__ */ n.createContext(u);
|
|
45
|
+
process.env.NODE_ENV !== "production" && (r.displayName = "FieldRootContext");
|
|
46
|
+
function f(o = !0) {
|
|
47
|
+
const t = n.useContext(r);
|
|
48
|
+
if (t.setValidityData === e && !o)
|
|
49
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>." : a(28));
|
|
50
|
+
return t;
|
|
16
51
|
}
|
|
17
52
|
export {
|
|
18
|
-
|
|
53
|
+
u as DEFAULT_FIELD_ROOT_CONTEXT,
|
|
54
|
+
r as FieldRootContext,
|
|
55
|
+
f as useFieldRootContext
|
|
19
56
|
};
|
|
20
57
|
//# sourceMappingURL=index206.js.map
|