@rpcbase/ui 0.280.0 → 0.281.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/AddressAutocompleteInput/index.d.ts +1 -1
- package/dist/components/AddressAutocompleteInput/index.d.ts.map +1 -1
- package/dist/components/ApplePayButton/index.d.ts +1 -1
- package/dist/components/ApplePayButton/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/DayPickerField/index.d.ts +2 -2
- package/dist/components/DayPickerField/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +9 -9
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/FilesUploadField/index.d.ts +1 -1
- package/dist/components/FilesUploadField/index.d.ts.map +1 -1
- package/dist/components/HourPickerField/index.d.ts +2 -2
- package/dist/components/HourPickerField/index.d.ts.map +1 -1
- package/dist/components/I18nField/index.d.ts +1 -1
- package/dist/components/I18nField/index.d.ts.map +1 -1
- package/dist/components/Image/index.d.ts +1 -1
- package/dist/components/Image/index.d.ts.map +1 -1
- package/dist/components/ImagesField/index.d.ts +1 -1
- package/dist/components/ImagesField/index.d.ts.map +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Notifications/NotificationsButton.d.ts +1 -1
- package/dist/components/Notifications/NotificationsButton.d.ts.map +1 -1
- package/dist/components/Notifications/NotificationsDrawer.d.ts +1 -1
- package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
- package/dist/components/Notifications/NotificationsSettings.d.ts +1 -1
- package/dist/components/Notifications/NotificationsSettings.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/suggestions.d.ts +3 -3
- package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/header/MenuPopover/index.d.ts +1 -1
- package/dist/components/header/MenuPopover/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index10.js +6 -4
- package/dist/index10.js.map +1 -1
- package/dist/index12.js.map +1 -1
- package/dist/index13.js.map +1 -1
- package/dist/index14.js.map +1 -1
- package/dist/index15.js.map +1 -1
- package/dist/index154.js +19 -7
- package/dist/index154.js.map +1 -1
- package/dist/index16.js +36 -45
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +3 -3
- package/dist/index160.js.map +1 -1
- package/dist/index166.js +5 -5
- package/dist/index166.js.map +1 -1
- package/dist/index172.js +27 -25
- package/dist/index172.js.map +1 -1
- package/dist/index181.js +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +145 -162
- package/dist/index182.js.map +1 -1
- package/dist/index184.js +6 -8
- package/dist/index184.js.map +1 -1
- package/dist/index186.js +2 -8
- package/dist/index186.js.map +1 -1
- package/dist/index19.js +1 -1
- package/dist/index19.js.map +1 -1
- package/dist/index195.js +1 -1
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +2 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +1 -1
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +16 -15
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +13 -17
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +3 -2
- package/dist/index200.js.map +1 -1
- package/dist/index207.js +5 -90
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +15 -3
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +102 -22
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +3 -28
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +23 -19
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +27 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +19 -14
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +14 -26
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -22
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +27 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +23 -5
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +6 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +5 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +4 -24
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +4 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +21 -21
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +3 -23
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +23 -6
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +22 -9
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +5 -17
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +8 -49
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +18 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +50 -19
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +20 -28
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +27 -104
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +98 -33
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +28 -113
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +117 -11
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +12 -4
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +4 -15
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +13 -62
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +64 -9
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -106
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +107 -13
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +16 -13
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +13 -5
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +4 -316
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +315 -58
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +58 -223
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +215 -318
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +250 -306
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +308 -173
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +178 -7
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +8 -15
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +41 -5
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +46 -38
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +7 -50
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +49 -6
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +48 -46
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +6 -51
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +10 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +60 -8
- package/dist/index259.js.map +1 -1
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +41 -60
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +88 -34
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +47 -94
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +36 -49
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +45 -32
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +47 -46
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +18 -48
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +174 -15
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +47 -169
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +17 -34
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +59 -10
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +10 -66
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +4 -4
- package/dist/index273.js +71 -69
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +158 -152
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +7 -13
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -5
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +12 -6
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +11 -12
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +65 -9
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +6 -74
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +25 -6
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +24 -24
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +125 -24
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +52 -115
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +59 -55
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +48 -61
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +5 -48
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +14 -8
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +18 -14
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +10 -17
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +23 -11
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +52 -25
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +6 -52
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +137 -5
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +59 -149
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +90 -49
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +11 -117
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +863 -11
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +21 -865
- package/dist/index299.js.map +1 -1
- package/dist/index3.js.map +1 -1
- package/dist/index300.js +417 -27
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +774 -483
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +7436 -803
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +7 -7429
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +12 -6
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +5 -12
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +469 -5
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +32 -464
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +18 -36
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +28 -17
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -30
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +59 -4
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +11 -59
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +5 -9
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +9 -5
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +12 -9
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +3 -13
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +17 -3
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +23 -14
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +39 -23
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +5 -41
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +25 -5
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +18 -24
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +32 -17
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +5 -34
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +9 -5
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +7 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +9 -8
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +10 -9
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +7 -10
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +75 -7
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +153 -66
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +99 -147
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +13 -113
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +78 -12
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +23 -57
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +12 -45
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +16 -13
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +100 -15
- package/dist/index339.js.map +1 -1
- package/dist/index340.js +50 -95
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +57 -5
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +41 -78
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +100 -58
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +46 -104
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +39 -51
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +143 -42
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +122 -123
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +224 -108
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +158 -174
- package/dist/index349.js.map +1 -1
- package/dist/index350.js +213 -144
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -309
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +6 -5
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +7 -6
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +4 -5
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +4 -4
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +21 -6
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +10 -21
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +128 -10
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +36 -122
- package/dist/index359.js.map +1 -1
- package/dist/index360.js +64 -38
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +115 -66
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +485 -112
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +7 -490
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +1 -1
- package/dist/index364.js.map +1 -1
- package/dist/index367.js +2 -9
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +26 -5
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +43 -27
- package/dist/index369.js.map +1 -1
- package/dist/index370.js +35 -46
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +16 -27
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +41 -16
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +11 -42
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +10 -14
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +51 -9
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +40 -53
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +17 -43
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +4 -15
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +4 -4
- package/dist/index379.js.map +1 -1
- package/dist/index380.js +9 -4
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +304 -9
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +4 -339
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +21 -5
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +106 -16
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +19 -109
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +18 -18
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +14 -19
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +12 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +113 -20
- package/dist/index389.js.map +1 -1
- package/dist/index390.js +5 -11
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +28 -85
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +9 -9
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +6 -29
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +254 -10
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +12 -6
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +11 -252
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +6 -11
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +22 -10
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +22 -6
- package/dist/index399.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index400.js +103 -21
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +15 -23
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +11 -108
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +10 -15
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +237 -10
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +27 -9
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +33 -238
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +11 -30
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +118 -48
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +39 -11
- package/dist/index409.js.map +1 -1
- package/dist/index410.js +18 -121
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +11 -39
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +21 -24
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +17 -11
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +10 -20
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +4 -17
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +300 -14
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +61 -323
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +4 -63
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +28 -4
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +468 -25
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +250 -452
- package/dist/index421.js.map +1 -1
- package/dist/index6.js.map +1 -1
- package/dist/index7.js +91 -133
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +2 -2
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +11 -4
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +1 -3
- package/dist/index72.js.map +1 -1
- package/dist/index8.js.map +1 -1
- package/dist/index9.js +16 -19
- package/dist/index9.js.map +1 -1
- package/dist/test-only/TestCoverageTestBadge/index.d.ts +1 -1
- package/dist/test-only/TestCoverageTestBadge/index.d.ts.map +1 -1
- package/package.json +15 -15
- package/dist/index422.js +0 -272
- package/dist/index422.js.map +0 -1
package/dist/index400.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index400.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/usePositioner.mjs"],"sourcesContent":["'use client';\n\nimport { popupStateMapping } from \"./popupStateMapping.mjs\";\nimport { useRenderElement } from \"../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"./getDisabledMountTransitionStyles.mjs\";\n/**\n * Renders the shared outer Positioner element used by popup components.\n * Applies the common role, hidden state, transition styles, state attributes, and optional inert styling.\n */\nexport function usePositioner(componentProps, state, {\n styles,\n transitionStatus,\n props,\n refs,\n hidden,\n inert = false\n}) {\n const style = {\n ...styles\n };\n if (inert) {\n style.pointerEvents = 'none';\n }\n return useRenderElement('div', componentProps, {\n state,\n ref: refs,\n props: [{\n role: 'presentation',\n hidden,\n style\n }, getDisabledMountTransitionStyles(transitionStatus), props],\n stateAttributesMapping: popupStateMapping\n });\n}"],"x_google_ignoreList":[0],"mappings":";;;;;AASA,SAAgB,EAAc,GAAgB,GAAO,EACnD,WACA,qBACA,UACA,SACA,WACA,WAAQ,MACP;CACD,IAAM,IAAQ,EACZ,GAAG,EACL;CAIA,OAHI,MACF,EAAM,gBAAgB,SAEjB,EAAiB,OAAO,GAAgB;EAC7C;EACA,KAAK;EACL,OAAO;GAAC;IACN,MAAM;IACN;IACA;GACF;GAAG,EAAiC,CAAgB;GAAG;EAAK;EAC5D,wBAAwB;CAC1B,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"index400.js","names":["React","REASONS.none"],"sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { inertValue } from '@base-ui/utils/inertValue';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useStore } from '@base-ui/utils/store';\nimport { useSelectRootContext } from \"../root/SelectRootContext.mjs\";\nimport { CompositeList } from \"../../internals/composite/list/CompositeList.mjs\";\nimport { useAnchorPositioning } from \"../../internals/useAnchorPositioning.mjs\";\nimport { SelectPositionerContext } from \"./SelectPositionerContext.mjs\";\nimport { InternalBackdrop } from \"../../utils/InternalBackdrop.mjs\";\nimport { DROPDOWN_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { clearStyles } from \"../popup/utils.mjs\";\nimport { selectors } from \"../store.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { findItemIndex } from \"../../internals/itemEquality.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\nimport { useAnchoredPopupScrollLock } from \"../../utils/useAnchoredPopupScrollLock.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst FIXED = {\n position: 'fixed'\n};\n\n/**\n * Positions the select popup.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectPositioner = /*#__PURE__*/React.forwardRef(function SelectPositioner(componentProps, forwardedRef) {\n const {\n anchor,\n className,\n render,\n // `useAnchorPositioning` applies the same defaults to the undefined values; the names\n // remain destructured to exclude the props from `elementProps`.\n positionMethod,\n side,\n align,\n sideOffset,\n alignOffset,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding,\n arrowPadding,\n sticky,\n disableAnchorTracking,\n alignItemWithTrigger = true,\n collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const {\n store,\n listRef,\n labelsRef,\n alignItemWithTriggerActiveRef,\n selectedItemTextRef,\n valuesRef,\n initialValueRef,\n popupRef,\n setValue,\n floatingContext: floatingRootContext\n } = useSelectRootContext();\n const open = useStore(store, selectors.open);\n const mounted = useStore(store, selectors.mounted);\n const modal = useStore(store, selectors.modal);\n const value = useStore(store, selectors.value);\n const openMethod = useStore(store, selectors.openMethod);\n const positionerElement = useStore(store, selectors.positionerElement);\n const triggerElement = useStore(store, selectors.triggerElement);\n const isItemEqualToValue = useStore(store, selectors.isItemEqualToValue);\n const transitionStatus = useStore(store, selectors.transitionStatus);\n const scrollUpArrowRef = React.useRef(null);\n const scrollDownArrowRef = React.useRef(null);\n const [controlledAlignItemWithTrigger, setControlledAlignItemWithTrigger] = React.useState(alignItemWithTrigger);\n const alignItemWithTriggerActive = mounted && controlledAlignItemWithTrigger && openMethod !== 'touch';\n if (!mounted && controlledAlignItemWithTrigger !== alignItemWithTrigger) {\n setControlledAlignItemWithTrigger(alignItemWithTrigger);\n }\n React.useImperativeHandle(alignItemWithTriggerActiveRef, () => alignItemWithTriggerActive);\n useAnchoredPopupScrollLock((alignItemWithTriggerActive || modal) && open, openMethod === 'touch', positionerElement, triggerElement);\n const positioning = useAnchorPositioning({\n anchor,\n floatingRootContext,\n positionMethod,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n arrowPadding,\n collisionBoundary,\n collisionPadding,\n sticky,\n disableAnchorTracking: disableAnchorTracking ?? alignItemWithTriggerActive,\n collisionAvoidance,\n keepMounted: true\n });\n const renderedSide = alignItemWithTriggerActive ? 'none' : positioning.side;\n const positionerStyles = alignItemWithTriggerActive ? FIXED : positioning.positionerStyles;\n const state = {\n open,\n side: renderedSide,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden\n };\n useIsoLayoutEffect(() => {\n store.set('popupSide', positioning.side);\n }, [store, positioning.side]);\n const setPositionerElement = store.useStateSetter('positionerElement');\n const element = usePositioner(componentProps, state, {\n styles: positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, setPositionerElement],\n hidden: !mounted,\n inert: !open\n });\n const prevMapSizeRef = React.useRef(0);\n const onMapChange = useStableCallback(map => {\n if (valuesRef.current.length === 0) {\n return;\n }\n const prevSize = prevMapSizeRef.current;\n prevMapSizeRef.current = map.size;\n if (map.size === prevSize) {\n return;\n }\n const eventDetails = createChangeEventDetails(REASONS.none);\n if (prevSize !== 0 && !store.state.multiple && value !== null) {\n const selectedValueIndex = findItemIndex(valuesRef.current, value, isItemEqualToValue);\n if (selectedValueIndex === -1) {\n const initialSelectedValue = initialValueRef.current;\n const hasInitial = initialSelectedValue != null && findItemIndex(valuesRef.current, initialSelectedValue, isItemEqualToValue) !== -1;\n const nextValue = hasInitial ? initialSelectedValue : null;\n setValue(nextValue, eventDetails);\n if (nextValue === null) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (prevSize !== 0 && store.state.multiple && Array.isArray(value)) {\n const nextValue = value.filter(selectedItemValue => findItemIndex(valuesRef.current, selectedItemValue, isItemEqualToValue) !== -1);\n if (nextValue.length !== value.length) {\n setValue(nextValue, eventDetails);\n if (nextValue.length === 0) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (open && alignItemWithTriggerActive) {\n store.update({\n scrollUpArrowVisible: false,\n scrollDownArrowVisible: false\n });\n const stylesToClear = {\n height: ''\n };\n clearStyles(positionerElement, stylesToClear);\n clearStyles(popupRef.current, stylesToClear);\n }\n });\n const contextValue = React.useMemo(() => ({\n ...positioning,\n side: renderedSide,\n alignItemWithTriggerActive,\n setControlledAlignItemWithTrigger,\n scrollUpArrowRef,\n scrollDownArrowRef\n }), [positioning, renderedSide, alignItemWithTriggerActive, setControlledAlignItemWithTrigger]);\n return /*#__PURE__*/_jsx(CompositeList, {\n elementsRef: listRef,\n labelsRef: labelsRef,\n onMapChange: onMapChange,\n children: /*#__PURE__*/_jsxs(SelectPositionerContext.Provider, {\n value: contextValue,\n children: [mounted && modal && /*#__PURE__*/_jsx(InternalBackdrop, {\n inert: inertValue(!open),\n cutout: triggerElement\n }), element]\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPositioner.displayName = \"SelectPositioner\";"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,IAAM,KAAQ,EACZ,UAAU,QACZ,GAQa,IAAgC,gBAAM,WAAW,SAA0B,GAAgB,GAAc;CACpH,IAAM,EACJ,WACA,eACA,YAGA,oBACA,UACA,WACA,gBACA,iBACA,uBAAoB,sBACpB,qBACA,iBACA,WACA,0BACA,0BAAuB,IACvB,wBAAqB,GACrB,WACA,GAAG,MACD,GACE,EACJ,UACA,YACA,cACA,kCACA,wBACA,cACA,oBACA,aACA,aACA,iBAAiB,MACf,EAAqB,GACnB,IAAO,EAAS,GAAO,EAAU,IAAI,GACrC,IAAU,EAAS,GAAO,EAAU,OAAO,GAC3C,IAAQ,EAAS,GAAO,EAAU,KAAK,GACvC,IAAQ,EAAS,GAAO,EAAU,KAAK,GACvC,IAAa,EAAS,GAAO,EAAU,UAAU,GACjD,IAAoB,EAAS,GAAO,EAAU,iBAAiB,GAC/D,IAAiB,EAAS,GAAO,EAAU,cAAc,GACzD,IAAqB,EAAS,GAAO,EAAU,kBAAkB,GACjE,KAAmB,EAAS,GAAO,EAAU,gBAAgB,GAC7D,KAAmBA,EAAM,OAAO,IAAI,GACpC,KAAqBA,EAAM,OAAO,IAAI,GACtC,CAAC,GAAgC,KAAqCA,EAAM,SAAS,CAAoB,GACzG,IAA6B,KAAW,KAAkC,MAAe;CAK/F,AAJI,CAAC,KAAW,MAAmC,KACjD,EAAkC,CAAoB,GAExD,EAAM,oBAAoB,SAAqC,CAA0B,GACzF,GAA4B,KAA8B,MAAU,GAAM,MAAe,SAAS,GAAmB,CAAc;CACnI,IAAM,IAAc,EAAqB;EACvC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,uBAAuB,KAAyB;EAChD;EACA,aAAa;CACf,CAAC,GACK,IAAe,IAA6B,SAAS,EAAY,MACjE,KAAmB,IAA6B,KAAQ,EAAY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;GACD,IAAM,IAAgB,EACpB,QAAQ,GACV;GAEA,AADA,EAAY,GAAmB,CAAa,GAC5C,EAAY,EAAS,SAAS,CAAa;EAC7C;CACF,CAAC,GACK,KAAeD,EAAM,eAAe;EACxC,GAAG;EACH,MAAM;EACN;EACA;EACA;EACA;CACF,IAAI;EAAC;EAAa;EAAc;EAA4B;CAAiC,CAAC;CAC9F,OAAoB,gBAAK,GAAe;EACtC,aAAa;EACF;EACE;EACb,UAAuB,gBAAM,GAAwB,UAAU;GAC7D,OAAO;GACP,UAAU,CAAC,KAAW,KAAsB,gBAAK,GAAkB;IACjE,OAAO,EAAW,CAAC,CAAI;IACvB,QAAQ;GACV,CAAC,GAAG,EAAO;EACb,CAAC;CACH,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAiB,cAAc"}
|
package/dist/index401.js
CHANGED
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
let e = t(s).documentElement.clientWidth, n = s.offsetWidth;
|
|
16
|
-
u(e > 0 && n > 0 && n >= e - i);
|
|
17
|
-
}, [
|
|
18
|
-
a,
|
|
19
|
-
o,
|
|
20
|
-
s
|
|
21
|
-
]), n(a && (!o || l), c);
|
|
22
|
-
}
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
//#region ../../node_modules/@base-ui/react/utils/styles.mjs
|
|
3
|
+
var t = "base-ui-disable-scrollbar", n = {
|
|
4
|
+
className: t,
|
|
5
|
+
getElement(n) {
|
|
6
|
+
return /*#__PURE__*/ e("style", {
|
|
7
|
+
nonce: n,
|
|
8
|
+
href: t,
|
|
9
|
+
precedence: "base-ui:low",
|
|
10
|
+
children: `.${t}{scrollbar-width:none}.${t}::-webkit-scrollbar{display:none}`
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
process.env.NODE_ENV !== "production" && (n.getElement.displayName = "styleDisableScrollbar.getElement");
|
|
23
15
|
//#endregion
|
|
24
|
-
export {
|
|
16
|
+
export { n as styleDisableScrollbar };
|
|
25
17
|
|
|
26
18
|
//# sourceMappingURL=index401.js.map
|
package/dist/index401.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index401.js","names":[
|
|
1
|
+
{"version":3,"file":"index401.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/styles.mjs"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nconst DISABLE_SCROLLBAR_CLASS_NAME = 'base-ui-disable-scrollbar';\nexport const styleDisableScrollbar = {\n className: DISABLE_SCROLLBAR_CLASS_NAME,\n getElement(nonce) {\n return /*#__PURE__*/_jsx(\"style\", {\n nonce: nonce,\n href: DISABLE_SCROLLBAR_CLASS_NAME,\n precedence: \"base-ui:low\",\n children: `.${DISABLE_SCROLLBAR_CLASS_NAME}{scrollbar-width:none}.${DISABLE_SCROLLBAR_CLASS_NAME}::-webkit-scrollbar{display:none}`\n });\n }\n};\nif (process.env.NODE_ENV !== \"production\") styleDisableScrollbar.getElement.displayName = \"styleDisableScrollbar.getElement\";"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAM,IAA+B,6BACxB,IAAwB;CACnC,WAAW;CACX,WAAW,GAAO;EAChB,OAAoB,gBAAK,SAAS;GACzB;GACP,MAAM;GACN,YAAY;GACZ,UAAU,IAAI,EAA6B,yBAAyB,EAA6B;EACnG,CAAC;CACH;AACF;AACA,QAAA,IAAA,aAA6B,iBAAc,EAAsB,WAAW,cAAc"}
|
package/dist/index402.js
CHANGED
|
@@ -1,112 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import { selectors as d } from "./index377.js";
|
|
13
|
-
import { CompositeList as f } from "./index391.js";
|
|
14
|
-
import { useAnchorPositioning as te } from "./index396.js";
|
|
15
|
-
import { SelectPositionerContext as ne } from "./index397.js";
|
|
16
|
-
import { clearStyles as p } from "./index398.js";
|
|
17
|
-
import { usePositioner as re } from "./index400.js";
|
|
18
|
-
import { useAnchoredPopupScrollLock as ie } from "./index401.js";
|
|
19
|
-
import * as m from "react";
|
|
20
|
-
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
21
|
-
//#region ../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs
|
|
22
|
-
var _ = { position: "fixed" }, v = /*#__PURE__*/ m.forwardRef(function(v, ae) {
|
|
23
|
-
let { anchor: y, positionMethod: oe = "absolute", className: se, render: ce, side: le = "bottom", align: ue = "center", sideOffset: b = 0, alignOffset: x = 0, collisionBoundary: S = "clipping-ancestors", collisionPadding: C, arrowPadding: w = 5, sticky: T = !1, disableAnchorTracking: E, alignItemWithTrigger: D = !0, collisionAvoidance: O = i, style: de, ...k } = v, { store: A, listRef: j, labelsRef: M, alignItemWithTriggerActiveRef: N, selectedItemTextRef: P, valuesRef: F, initialValueRef: I, popupRef: L, setValue: R } = c(), z = s(), B = a(A, d.open), V = a(A, d.mounted), H = a(A, d.modal), U = a(A, d.value), W = a(A, d.openMethod), G = a(A, d.positionerElement), K = a(A, d.triggerElement), q = a(A, d.isItemEqualToValue), fe = a(A, d.transitionStatus), pe = m.useRef(null), me = m.useRef(null), [J, Y] = m.useState(D), X = V && J && W !== "touch";
|
|
24
|
-
!V && J !== D && Y(D), t(() => {
|
|
25
|
-
V || (d.scrollUpArrowVisible(A.state) && A.set("scrollUpArrowVisible", !1), d.scrollDownArrowVisible(A.state) && A.set("scrollDownArrowVisible", !1));
|
|
26
|
-
}, [A, V]), m.useImperativeHandle(N, () => X), ie((X || H) && B, W === "touch", G, K);
|
|
27
|
-
let Z = te({
|
|
28
|
-
anchor: y,
|
|
29
|
-
floatingRootContext: z,
|
|
30
|
-
positionMethod: oe,
|
|
31
|
-
mounted: V,
|
|
32
|
-
side: le,
|
|
33
|
-
sideOffset: b,
|
|
34
|
-
align: ue,
|
|
35
|
-
alignOffset: x,
|
|
36
|
-
arrowPadding: w,
|
|
37
|
-
collisionBoundary: S,
|
|
38
|
-
collisionPadding: C,
|
|
39
|
-
sticky: T,
|
|
40
|
-
disableAnchorTracking: E ?? X,
|
|
41
|
-
collisionAvoidance: O,
|
|
42
|
-
keepMounted: !0
|
|
43
|
-
}), Q = X ? "none" : Z.side, he = X ? _ : Z.positionerStyles, ge = {
|
|
44
|
-
open: B,
|
|
45
|
-
side: Q,
|
|
46
|
-
align: Z.align,
|
|
47
|
-
anchorHidden: Z.anchorHidden
|
|
48
|
-
};
|
|
49
|
-
t(() => {
|
|
50
|
-
A.set("popupSide", Z.side);
|
|
51
|
-
}, [A, Z.side]);
|
|
52
|
-
let _e = re(v, ge, {
|
|
53
|
-
styles: he,
|
|
54
|
-
transitionStatus: fe,
|
|
55
|
-
props: k,
|
|
56
|
-
refs: [ae, e((e) => {
|
|
57
|
-
A.set("positionerElement", e);
|
|
58
|
-
})],
|
|
59
|
-
hidden: !V,
|
|
60
|
-
inert: !B
|
|
61
|
-
}), $ = m.useRef(0), ve = e((e) => {
|
|
62
|
-
if (e.size === 0 && $.current === 0 || F.current.length === 0) return;
|
|
63
|
-
let t = $.current;
|
|
64
|
-
if ($.current = e.size, e.size === t) return;
|
|
65
|
-
let i = r(n);
|
|
66
|
-
if (t !== 0 && !A.state.multiple && U !== null && l(F.current, U, q) === -1) {
|
|
67
|
-
let e = I.current, t = e != null && l(F.current, e, q) !== -1 ? e : null;
|
|
68
|
-
R(t, i), t === null && (A.set("selectedIndex", null), P.current = null);
|
|
69
|
-
}
|
|
70
|
-
if (t !== 0 && A.state.multiple && Array.isArray(U)) {
|
|
71
|
-
let e = (e) => l(F.current, e, q) !== -1, t = U.filter((t) => e(t));
|
|
72
|
-
(t.length !== U.length || t.some((e) => !u(U, e, q))) && (R(t, i), t.length === 0 && (A.set("selectedIndex", null), P.current = null));
|
|
73
|
-
}
|
|
74
|
-
if (B && X) {
|
|
75
|
-
A.update({
|
|
76
|
-
scrollUpArrowVisible: !1,
|
|
77
|
-
scrollDownArrowVisible: !1
|
|
78
|
-
});
|
|
79
|
-
let e = { height: "" };
|
|
80
|
-
p(G, e), p(L.current, e);
|
|
81
|
-
}
|
|
82
|
-
}), ye = m.useMemo(() => ({
|
|
83
|
-
...Z,
|
|
84
|
-
side: Q,
|
|
85
|
-
alignItemWithTriggerActive: X,
|
|
86
|
-
setControlledAlignItemWithTrigger: Y,
|
|
87
|
-
scrollUpArrowRef: pe,
|
|
88
|
-
scrollDownArrowRef: me
|
|
89
|
-
}), [
|
|
90
|
-
Z,
|
|
91
|
-
Q,
|
|
92
|
-
X,
|
|
93
|
-
Y
|
|
94
|
-
]);
|
|
95
|
-
return /*#__PURE__*/ h(f, {
|
|
96
|
-
elementsRef: j,
|
|
97
|
-
labelsRef: M,
|
|
98
|
-
onMapChange: ve,
|
|
99
|
-
children: /*#__PURE__*/ g(ne.Provider, {
|
|
100
|
-
value: ye,
|
|
101
|
-
children: [V && H && /*#__PURE__*/ h(o, {
|
|
102
|
-
inert: ee(!B),
|
|
103
|
-
cutout: K
|
|
104
|
-
}), _e]
|
|
105
|
-
})
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
process.env.NODE_ENV !== "production" && (v.displayName = "SelectPositioner");
|
|
2
|
+
import e from "./index183.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
//#region ../../node_modules/@base-ui/react/toolbar/root/ToolbarRootContext.mjs
|
|
5
|
+
var n = /*#__PURE__*/ t.createContext(void 0);
|
|
6
|
+
process.env.NODE_ENV !== "production" && (n.displayName = "ToolbarRootContext");
|
|
7
|
+
function r(r) {
|
|
8
|
+
let i = t.useContext(n);
|
|
9
|
+
if (i === void 0 && !r) throw Error(process.env.NODE_ENV === "production" ? e(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
|
|
10
|
+
return i;
|
|
11
|
+
}
|
|
109
12
|
//#endregion
|
|
110
|
-
export {
|
|
13
|
+
export { n as ToolbarRootContext, r as useToolbarRootContext };
|
|
111
14
|
|
|
112
15
|
//# sourceMappingURL=index402.js.map
|
package/dist/index402.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index402.js","names":["React","REASONS.none"],"sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { inertValue } from '@base-ui/utils/inertValue';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useStore } from '@base-ui/utils/store';\nimport { useSelectRootContext, useSelectFloatingContext } from \"../root/SelectRootContext.mjs\";\nimport { CompositeList } from \"../../internals/composite/list/CompositeList.mjs\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.mjs\";\nimport { SelectPositionerContext } from \"./SelectPositionerContext.mjs\";\nimport { InternalBackdrop } from \"../../utils/InternalBackdrop.mjs\";\nimport { DROPDOWN_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { clearStyles } from \"../popup/utils.mjs\";\nimport { selectors } from \"../store.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { findItemIndex, selectedValueIncludes } from \"../../internals/itemEquality.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\nimport { useAnchoredPopupScrollLock } from \"../../utils/useAnchoredPopupScrollLock.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst FIXED = {\n position: 'fixed'\n};\n\n/**\n * Positions the select popup.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectPositioner = /*#__PURE__*/React.forwardRef(function SelectPositioner(componentProps, forwardedRef) {\n const {\n anchor,\n positionMethod = 'absolute',\n className,\n render,\n side = 'bottom',\n align = 'center',\n sideOffset = 0,\n alignOffset = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding,\n arrowPadding = 5,\n sticky = false,\n disableAnchorTracking,\n alignItemWithTrigger = true,\n collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const {\n store,\n listRef,\n labelsRef,\n alignItemWithTriggerActiveRef,\n selectedItemTextRef,\n valuesRef,\n initialValueRef,\n popupRef,\n setValue\n } = useSelectRootContext();\n const floatingRootContext = useSelectFloatingContext();\n const open = useStore(store, selectors.open);\n const mounted = useStore(store, selectors.mounted);\n const modal = useStore(store, selectors.modal);\n const value = useStore(store, selectors.value);\n const openMethod = useStore(store, selectors.openMethod);\n const positionerElement = useStore(store, selectors.positionerElement);\n const triggerElement = useStore(store, selectors.triggerElement);\n const isItemEqualToValue = useStore(store, selectors.isItemEqualToValue);\n const transitionStatus = useStore(store, selectors.transitionStatus);\n const scrollUpArrowRef = React.useRef(null);\n const scrollDownArrowRef = React.useRef(null);\n const [controlledAlignItemWithTrigger, setControlledAlignItemWithTrigger] = React.useState(alignItemWithTrigger);\n const alignItemWithTriggerActive = mounted && controlledAlignItemWithTrigger && openMethod !== 'touch';\n if (!mounted && controlledAlignItemWithTrigger !== alignItemWithTrigger) {\n setControlledAlignItemWithTrigger(alignItemWithTrigger);\n }\n useIsoLayoutEffect(() => {\n if (!mounted) {\n if (selectors.scrollUpArrowVisible(store.state)) {\n store.set('scrollUpArrowVisible', false);\n }\n if (selectors.scrollDownArrowVisible(store.state)) {\n store.set('scrollDownArrowVisible', false);\n }\n }\n }, [store, mounted]);\n React.useImperativeHandle(alignItemWithTriggerActiveRef, () => alignItemWithTriggerActive);\n useAnchoredPopupScrollLock((alignItemWithTriggerActive || modal) && open, openMethod === 'touch', positionerElement, triggerElement);\n const positioning = useAnchorPositioning({\n anchor,\n floatingRootContext,\n positionMethod,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n arrowPadding,\n collisionBoundary,\n collisionPadding,\n sticky,\n disableAnchorTracking: disableAnchorTracking ?? alignItemWithTriggerActive,\n collisionAvoidance,\n keepMounted: true\n });\n const renderedSide = alignItemWithTriggerActive ? 'none' : positioning.side;\n const positionerStyles = alignItemWithTriggerActive ? FIXED : positioning.positionerStyles;\n const state = {\n open,\n side: renderedSide,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden\n };\n useIsoLayoutEffect(() => {\n store.set('popupSide', positioning.side);\n }, [store, positioning.side]);\n const setPositionerElement = useStableCallback(element => {\n store.set('positionerElement', element);\n });\n const element = usePositioner(componentProps, state, {\n styles: positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, setPositionerElement],\n hidden: !mounted,\n inert: !open\n });\n const prevMapSizeRef = React.useRef(0);\n const onMapChange = useStableCallback(map => {\n if (map.size === 0 && prevMapSizeRef.current === 0) {\n return;\n }\n if (valuesRef.current.length === 0) {\n return;\n }\n const prevSize = prevMapSizeRef.current;\n prevMapSizeRef.current = map.size;\n if (map.size === prevSize) {\n return;\n }\n const eventDetails = createChangeEventDetails(REASONS.none);\n if (prevSize !== 0 && !store.state.multiple && value !== null) {\n const selectedValueIndex = findItemIndex(valuesRef.current, value, isItemEqualToValue);\n if (selectedValueIndex === -1) {\n const initialSelectedValue = initialValueRef.current;\n const hasInitial = initialSelectedValue != null && findItemIndex(valuesRef.current, initialSelectedValue, isItemEqualToValue) !== -1;\n const nextValue = hasInitial ? initialSelectedValue : null;\n setValue(nextValue, eventDetails);\n if (nextValue === null) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (prevSize !== 0 && store.state.multiple && Array.isArray(value)) {\n const hasVisibleItem = selectedItemValue => findItemIndex(valuesRef.current, selectedItemValue, isItemEqualToValue) !== -1;\n const nextValue = value.filter(selectedItemValue => hasVisibleItem(selectedItemValue));\n if (nextValue.length !== value.length || nextValue.some(selectedItemValue => !selectedValueIncludes(value, selectedItemValue, isItemEqualToValue))) {\n setValue(nextValue, eventDetails);\n if (nextValue.length === 0) {\n store.set('selectedIndex', null);\n selectedItemTextRef.current = null;\n }\n }\n }\n if (open && alignItemWithTriggerActive) {\n store.update({\n scrollUpArrowVisible: false,\n scrollDownArrowVisible: false\n });\n const stylesToClear = {\n height: ''\n };\n clearStyles(positionerElement, stylesToClear);\n clearStyles(popupRef.current, stylesToClear);\n }\n });\n const contextValue = React.useMemo(() => ({\n ...positioning,\n side: renderedSide,\n alignItemWithTriggerActive,\n setControlledAlignItemWithTrigger,\n scrollUpArrowRef,\n scrollDownArrowRef\n }), [positioning, renderedSide, alignItemWithTriggerActive, setControlledAlignItemWithTrigger]);\n return /*#__PURE__*/_jsx(CompositeList, {\n elementsRef: listRef,\n labelsRef: labelsRef,\n onMapChange: onMapChange,\n children: /*#__PURE__*/_jsxs(SelectPositionerContext.Provider, {\n value: contextValue,\n children: [mounted && modal && /*#__PURE__*/_jsx(InternalBackdrop, {\n inert: inertValue(!open),\n cutout: triggerElement\n }), element]\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPositioner.displayName = \"SelectPositioner\";"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,IAAM,IAAQ,EACZ,UAAU,QACZ,GAQa,IAAgC,gBAAM,WAAW,SAA0B,GAAgB,IAAc;CACpH,IAAM,EACJ,WACA,qBAAiB,YACjB,eACA,YACA,WAAO,UACP,YAAQ,UACR,gBAAa,GACb,iBAAc,GACd,uBAAoB,sBACpB,qBACA,kBAAe,GACf,YAAS,IACT,0BACA,0BAAuB,IACvB,wBAAqB,GACrB,WACA,GAAG,MACD,GACE,EACJ,UACA,YACA,cACA,kCACA,wBACA,cACA,oBACA,aACA,g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B,EACpB,QAAQ,GACV;GAEA,AADA,EAAY,GAAmB,CAAa,GAC5C,EAAY,EAAS,SAAS,CAAa;EAC7C;CACF,CAAC,GACK,KAAeD,EAAM,eAAe;EACxC,GAAG;EACH,MAAM;EACN;EACA;EACA;EACA;CACF,IAAI;EAAC;EAAa;EAAc;EAA4B;CAAiC,CAAC;CAC9F,OAAoB,gBAAK,GAAe;EACtC,aAAa;EACF;EACE;EACb,UAAuB,gBAAM,GAAwB,UAAU;GAC7D,OAAO;GACP,UAAU,CAAC,KAAW,KAAsB,gBAAK,GAAkB;IACjE,OAAO,GAAW,CAAC,CAAI;IACvB,QAAQ;GACV,CAAC,GAAG,EAAO;EACb,CAAC;CACH,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAiB,cAAc"}
|
|
1
|
+
{"version":3,"file":"index402.js","names":["React","_formatErrorMessage"],"sources":["../../../node_modules/@base-ui/react/toolbar/root/ToolbarRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const ToolbarRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") ToolbarRootContext.displayName = \"ToolbarRootContext\";\nexport function useToolbarRootContext(optional) {\n const context = React.useContext(ToolbarRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.' : _formatErrorMessage(69));\n }\n return context;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAa,IAAkC,gBAAM,cAAc,KAAA,CAAS;AAC5E,QAAA,IAAA,aAA6B,iBAAc,EAAmB,cAAc;AAC5E,SAAgB,EAAsB,GAAU;CAC9C,IAAM,IAAUA,EAAM,WAAW,CAAkB;CACnD,IAAI,MAAY,KAAA,KAAa,CAAC,GAC5B,MAAU,MAAA,QAAA,IAAA,aAA+B,eAA+GC,EAAoB,EAAE,IAAtH,6FAAuH;CAEjL,OAAO;AACT"}
|
package/dist/index403.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
children: `.${t}{scrollbar-width:none}.${t}::-webkit-scrollbar{display:none}`
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
process.env.NODE_ENV !== "production" && (n.getElement.displayName = "styleDisableScrollbar.getElement");
|
|
1
|
+
"use client";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
//#region ../../node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs
|
|
4
|
+
var t = /*#__PURE__*/ e.createContext(void 0);
|
|
5
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "CSPContext");
|
|
6
|
+
var n = { disableStyleElements: !1 };
|
|
7
|
+
function r() {
|
|
8
|
+
return e.useContext(t) ?? n;
|
|
9
|
+
}
|
|
15
10
|
//#endregion
|
|
16
|
-
export {
|
|
11
|
+
export { t as CSPContext, r as useCSPContext };
|
|
17
12
|
|
|
18
13
|
//# sourceMappingURL=index403.js.map
|
package/dist/index403.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index403.js","names":[],"sources":["../../../node_modules/@base-ui/react/
|
|
1
|
+
{"version":3,"file":"index403.js","names":["React"],"sources":["../../../node_modules/@base-ui/react/internals/csp-context/CSPContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport const CSPContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CSPContext.displayName = \"CSPContext\";\nconst DEFAULT_CSP_CONTEXT_VALUE = {\n disableStyleElements: false\n};\nexport function useCSPContext() {\n return React.useContext(CSPContext) ?? DEFAULT_CSP_CONTEXT_VALUE;\n}"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAa,IAA0B,gBAAM,cAAc,KAAA,CAAS;AACpE,QAAA,IAAA,aAA6B,iBAAc,EAAW,cAAc;AACpE,IAAM,IAA4B,EAChC,sBAAsB,GACxB;AACA,SAAgB,IAAgB;CAC9B,OAAOA,EAAM,WAAW,CAAU,KAAK;AACzC"}
|
package/dist/index404.js
CHANGED
|
@@ -1,15 +1,242 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import e from "./
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { useRenderElement as e } from "./index196.js";
|
|
3
|
+
import { transitionStatusMapping as t } from "./index197.js";
|
|
4
|
+
import { popupStateMapping as n } from "./index198.js";
|
|
5
|
+
import { getWindow as r } from "./index200.js";
|
|
6
|
+
import { useStableCallback as i } from "./index202.js";
|
|
7
|
+
import { useIsoLayoutEffect as a } from "./index204.js";
|
|
8
|
+
import { ownerDocument as ee } from "./index207.js";
|
|
9
|
+
import { windowResize as o } from "./index210.js";
|
|
10
|
+
import { createChangeEventDetails as s } from "./index211.js";
|
|
11
|
+
import { webkit as c } from "./index220.js";
|
|
12
|
+
import { addEventListener as l } from "./index227.js";
|
|
13
|
+
import { useAnimationFrame as u } from "./index230.js";
|
|
14
|
+
import { rectToClientRect as d } from "./index233.js";
|
|
15
|
+
import { FloatingFocusManager as f } from "./index245.js";
|
|
16
|
+
import { platform as p } from "./index249.js";
|
|
17
|
+
import { useStore as m } from "./index259.js";
|
|
18
|
+
import { useOpenChangeComplete as h } from "./index266.js";
|
|
19
|
+
import { COMPOSITE_KEYS as g } from "./index277.js";
|
|
20
|
+
import { useSelectRootContext as _ } from "./index367.js";
|
|
21
|
+
import { selectors as v } from "./index376.js";
|
|
22
|
+
import { clamp as y } from "./index379.js";
|
|
23
|
+
import { getMaxScrollOffset as b } from "./index380.js";
|
|
24
|
+
import { useDirection as te } from "./index390.js";
|
|
25
|
+
import { useSelectPositionerContext as x } from "./index395.js";
|
|
26
|
+
import { LIST_FUNCTIONAL_STYLES as S, clearStyles as ne } from "./index396.js";
|
|
27
|
+
import { getDisabledMountTransitionStyles as re } from "./index397.js";
|
|
28
|
+
import { styleDisableScrollbar as C } from "./index401.js";
|
|
29
|
+
import { useToolbarRootContext as w } from "./index402.js";
|
|
30
|
+
import { useCSPContext as T } from "./index403.js";
|
|
31
|
+
import * as E from "react";
|
|
32
|
+
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
33
|
+
//#region ../../node_modules/@base-ui/react/select/popup/SelectPopup.mjs
|
|
34
|
+
var k = {
|
|
35
|
+
...n,
|
|
36
|
+
...t
|
|
37
|
+
}, A = /*#__PURE__*/ E.forwardRef(function(t, n) {
|
|
38
|
+
let { render: d, className: p, style: b, finalFocus: A, ...P } = t, { store: F, popupRef: I, onOpenChangeComplete: se, setOpen: ce, valueRef: le, firstItemTextRef: L, selectedItemTextRef: R, multiple: ue, handleScrollArrowVisibility: z, scrollHandlerRef: de, listRef: B, highlightItemOnHover: V, floatingContext: fe } = _(), { side: pe, align: me, alignItemWithTriggerActive: H, isPositioned: U, setControlledAlignItemWithTrigger: he } = x(), ge = w(!0) != null, W = te(), { nonce: _e, disableStyleElements: ve } = T(), ye = m(F, v.id), G = m(F, v.open), be = m(F, v.openMethod), xe = m(F, v.mounted), Se = m(F, v.popupProps), Ce = m(F, v.transitionStatus), K = m(F, v.triggerElement), q = m(F, v.positionerElement), J = m(F, v.listElement), Y = E.useRef(!1), X = E.useRef(!1), Z = E.useRef({}), Q = u(), $ = i((e) => {
|
|
39
|
+
if (!q || !I.current || !X.current) return;
|
|
40
|
+
let t = q.style.top === "0px", n = q.style.bottom === "0px";
|
|
41
|
+
if (Y.current || !H || !t && !n) {
|
|
42
|
+
z(e);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
let i = ae(q), a = M(q.getBoundingClientRect().height, "y", i), o = ee(q), s = r(q), c = s.getComputedStyle(q), l = parseFloat(c.marginTop), u = parseFloat(c.marginBottom), d = ie(s.getComputedStyle(I.current)), f = Math.min(o.documentElement.clientHeight - l - u, d), p = e.scrollTop, m = j(e), h = null, g = (e) => {
|
|
46
|
+
q.style.height = `${e}px`;
|
|
47
|
+
}, _ = t ? m - p : p, v = Math.min(a + _, f);
|
|
48
|
+
if (_ <= 1) {
|
|
49
|
+
let n = y(_, 0, f - a);
|
|
50
|
+
n > 0 && g(a + n), e.scrollTop = t ? m : 0, f - (a + n) <= 1 && (Y.current = !0), z(e);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
f - v > 1 ? h = t ? Infinity : 0 : n && p < m && (h = p - (_ - (a + _ - f)));
|
|
54
|
+
let b = Math.ceil(v);
|
|
55
|
+
if (b !== 0 && g(b), h != null) {
|
|
56
|
+
let t = y(h, 0, j(e));
|
|
57
|
+
Math.abs(e.scrollTop - t) > 1 && (e.scrollTop = t);
|
|
58
|
+
}
|
|
59
|
+
b >= f - 1 && (Y.current = !0), z(e);
|
|
60
|
+
});
|
|
61
|
+
E.useImperativeHandle(de, () => $, [$]), h({
|
|
62
|
+
open: G,
|
|
63
|
+
ref: I,
|
|
64
|
+
onComplete() {
|
|
65
|
+
G && se?.(!0);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
let we = {
|
|
69
|
+
open: G,
|
|
70
|
+
transitionStatus: Ce,
|
|
71
|
+
side: pe,
|
|
72
|
+
align: me
|
|
73
|
+
};
|
|
74
|
+
a(() => {
|
|
75
|
+
!q || !I.current || Object.keys(Z.current).length || (Z.current = {
|
|
76
|
+
top: q.style.top || "0",
|
|
77
|
+
left: q.style.left || "0",
|
|
78
|
+
right: q.style.right,
|
|
79
|
+
height: q.style.height,
|
|
80
|
+
bottom: q.style.bottom,
|
|
81
|
+
minHeight: q.style.minHeight,
|
|
82
|
+
maxHeight: q.style.maxHeight,
|
|
83
|
+
marginTop: q.style.marginTop,
|
|
84
|
+
marginBottom: q.style.marginBottom
|
|
85
|
+
});
|
|
86
|
+
}, [I, q]), a(() => {
|
|
87
|
+
G || H || (X.current = !1, Y.current = !1, ne(q, Z.current));
|
|
88
|
+
}, [
|
|
89
|
+
G,
|
|
90
|
+
H,
|
|
91
|
+
q,
|
|
92
|
+
I
|
|
93
|
+
]), a(() => {
|
|
94
|
+
let e = I.current;
|
|
95
|
+
if (!G || !K || !q || !e || H && !U || F.state.transitionStatus === "ending") return;
|
|
96
|
+
if (X.current = !0, e.style.removeProperty("--transform-origin"), !H) {
|
|
97
|
+
Q.request(() => z(J || e));
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
let t = oe(e);
|
|
101
|
+
try {
|
|
102
|
+
let t = R.current;
|
|
103
|
+
t?.isConnected || (t = !v.hasSelectedValue(F.state) && L.current?.isConnected ? L.current : null);
|
|
104
|
+
let n = le.current, i = r(q), a = i.getComputedStyle(q), o = i.getComputedStyle(e), s = ee(K), l = ae(K), u = N(K.getBoundingClientRect(), l), d = N(q.getBoundingClientRect(), l), f = u.height, p = J || e, m = p.scrollHeight, h = parseFloat(o.borderBottomWidth), g = parseFloat(a.marginTop) || 10, _ = parseFloat(a.marginBottom) || 10, b = parseFloat(a.minHeight) || 100, te = ie(o), x = s.documentElement.clientHeight - g - _, S = s.documentElement.clientWidth, re = x - u.bottom + f, C, w = W === "rtl" ? u.right - d.width : u.left, T = 0;
|
|
105
|
+
if (t && n) {
|
|
106
|
+
let e = N(n.getBoundingClientRect(), l);
|
|
107
|
+
C = N(t.getBoundingClientRect(), l), w = d.left + (W === "rtl" ? e.right - C.right : e.left - C.left);
|
|
108
|
+
let r = e.top - u.top + e.height / 2;
|
|
109
|
+
T = C.top - d.top + C.height / 2 - r;
|
|
110
|
+
}
|
|
111
|
+
let E = re + T + _ + h, D = Math.min(x, E), O = x - g - _, k = E - D, A = S - 5;
|
|
112
|
+
q.style.left = `${y(w, 5, A - d.width)}px`, q.style.height = `${D}px`, q.style.maxHeight = "none", q.style.marginTop = `${g}px`, q.style.marginBottom = `${_}px`, e.style.height = "100%";
|
|
113
|
+
let M = j(p), P = k >= M - 1;
|
|
114
|
+
P && (D = Math.min(x, d.height) - (k - M));
|
|
115
|
+
let oe = u.top < 20 || u.bottom > x - 20 || Math.ceil(D) + 1 < Math.min(m, b), I = (i.visualViewport?.scale ?? 1) !== 1 && c;
|
|
116
|
+
if (oe || I) {
|
|
117
|
+
ne(q, Z.current), he(!1);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
let se = Math.max(b, D);
|
|
121
|
+
if (P) {
|
|
122
|
+
let e = Math.max(0, x - E);
|
|
123
|
+
q.style.top = d.height >= O ? "0" : `${e}px`, q.style.height = `${D}px`, p.scrollTop = j(p);
|
|
124
|
+
} else q.style.bottom = "0", p.scrollTop = k;
|
|
125
|
+
if (C) {
|
|
126
|
+
let t = d.top, n = d.height, r = C.top + C.height / 2, i = y(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
|
|
127
|
+
e.style.setProperty("--transform-origin", `50% ${i}%`);
|
|
128
|
+
}
|
|
129
|
+
(se === x || D >= te) && (Y.current = !0), z(p), V && F.state.selectedIndex === null && F.state.activeIndex === null && B.current[0] != null && F.set("activeIndex", 0);
|
|
130
|
+
} finally {
|
|
131
|
+
t();
|
|
132
|
+
}
|
|
133
|
+
}, [
|
|
134
|
+
F,
|
|
135
|
+
G,
|
|
136
|
+
q,
|
|
137
|
+
K,
|
|
138
|
+
le,
|
|
139
|
+
L,
|
|
140
|
+
R,
|
|
141
|
+
I,
|
|
142
|
+
z,
|
|
143
|
+
H,
|
|
144
|
+
he,
|
|
145
|
+
Q,
|
|
146
|
+
J,
|
|
147
|
+
B,
|
|
148
|
+
V,
|
|
149
|
+
W,
|
|
150
|
+
U
|
|
151
|
+
]), E.useEffect(() => {
|
|
152
|
+
if (!H || !q || !G) return;
|
|
153
|
+
let e = r(q);
|
|
154
|
+
function t(e) {
|
|
155
|
+
ce(!1, s(o, e));
|
|
156
|
+
}
|
|
157
|
+
return l(e, "resize", t);
|
|
158
|
+
}, [
|
|
159
|
+
ce,
|
|
160
|
+
H,
|
|
161
|
+
q,
|
|
162
|
+
G
|
|
163
|
+
]);
|
|
164
|
+
let Te = {
|
|
165
|
+
...J ? {
|
|
166
|
+
role: "presentation",
|
|
167
|
+
"aria-orientation": void 0
|
|
168
|
+
} : {
|
|
169
|
+
role: "listbox",
|
|
170
|
+
"aria-multiselectable": ue || void 0,
|
|
171
|
+
id: `${ye}-list`
|
|
172
|
+
},
|
|
173
|
+
onKeyDown(e) {
|
|
174
|
+
ge && g.has(e.key) && e.stopPropagation();
|
|
175
|
+
},
|
|
176
|
+
onScroll(e) {
|
|
177
|
+
J || $(e.currentTarget);
|
|
178
|
+
},
|
|
179
|
+
...H && { style: J ? { height: "100%" } : S },
|
|
180
|
+
className: !J && H ? C.className : void 0
|
|
181
|
+
}, Ee = e("div", t, {
|
|
182
|
+
ref: [n, I],
|
|
183
|
+
state: we,
|
|
184
|
+
stateAttributesMapping: k,
|
|
185
|
+
props: [
|
|
186
|
+
Se,
|
|
187
|
+
Te,
|
|
188
|
+
re(Ce),
|
|
189
|
+
P
|
|
190
|
+
]
|
|
191
|
+
});
|
|
192
|
+
return /*#__PURE__*/ O(E.Fragment, { children: [!ve && C.getElement(_e), /*#__PURE__*/ D(f, {
|
|
193
|
+
context: fe,
|
|
194
|
+
modal: !1,
|
|
195
|
+
disabled: !xe,
|
|
196
|
+
openInteractionType: be,
|
|
197
|
+
returnFocus: A,
|
|
198
|
+
restoreFocus: !0,
|
|
199
|
+
children: Ee
|
|
200
|
+
})] });
|
|
201
|
+
});
|
|
202
|
+
process.env.NODE_ENV !== "production" && (A.displayName = "SelectPopup");
|
|
203
|
+
function ie(e) {
|
|
204
|
+
let t = e.maxHeight;
|
|
205
|
+
return t.endsWith("px") && parseFloat(t) || Infinity;
|
|
206
|
+
}
|
|
207
|
+
function j(e) {
|
|
208
|
+
return b(e.scrollHeight, e.clientHeight);
|
|
209
|
+
}
|
|
210
|
+
function ae(e) {
|
|
211
|
+
return p.getScale(e);
|
|
212
|
+
}
|
|
213
|
+
function M(e, t, n) {
|
|
214
|
+
return e / n[t];
|
|
215
|
+
}
|
|
216
|
+
function N(e, t) {
|
|
217
|
+
return d({
|
|
218
|
+
x: M(e.x, "x", t),
|
|
219
|
+
y: M(e.y, "y", t),
|
|
220
|
+
width: M(e.width, "x", t),
|
|
221
|
+
height: M(e.height, "y", t)
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
var P = [
|
|
225
|
+
["transform", "none"],
|
|
226
|
+
["scale", "1"],
|
|
227
|
+
["translate", "0 0"]
|
|
228
|
+
];
|
|
229
|
+
function oe(e) {
|
|
230
|
+
let { style: t } = e, n = {};
|
|
231
|
+
for (let [e, r] of P) n[e] = t.getPropertyValue(e), t.setProperty(e, r, "important");
|
|
232
|
+
return () => {
|
|
233
|
+
for (let [e] of P) {
|
|
234
|
+
let r = n[e];
|
|
235
|
+
r ? t.setProperty(e, r) : t.removeProperty(e);
|
|
236
|
+
}
|
|
237
|
+
};
|
|
11
238
|
}
|
|
12
239
|
//#endregion
|
|
13
|
-
export {
|
|
240
|
+
export { A as SelectPopup };
|
|
14
241
|
|
|
15
242
|
//# sourceMappingURL=index404.js.map
|
package/dist/index404.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index404.js","names":["React","_formatErrorMessage"],"sources":["../../../node_modules/@base-ui/react/toolbar/root/ToolbarRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const ToolbarRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") ToolbarRootContext.displayName = \"ToolbarRootContext\";\nexport function useToolbarRootContext(optional) {\n const context = React.useContext(ToolbarRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.' : _formatErrorMessage(69));\n }\n return context;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAa,IAAkC,gBAAM,cAAc,KAAA,CAAS;AAC5E,QAAA,IAAA,aAA6B,iBAAc,EAAmB,cAAc;AAC5E,SAAgB,EAAsB,GAAU;CAC9C,IAAM,IAAUA,EAAM,WAAW,CAAkB;CACnD,IAAI,MAAY,KAAA,KAAa,CAAC,GAC5B,MAAU,MAAA,QAAA,IAAA,aAA+B,eAA+GC,EAAoB,EAAE,IAAtH,6FAAuH;CAEjL,OAAO;AACT"}
|
|
1
|
+
{"version":3,"file":"index404.js","names":["React","ownerWindow","platform.engine.webkit","REASONS.windowResize","floatingPlatform"],"sources":["../../../node_modules/@base-ui/react/select/popup/SelectPopup.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { rectToClientRect } from '@floating-ui/utils';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { platform } from '@base-ui/utils/platform';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useStore } from '@base-ui/utils/store';\nimport { useAnimationFrame } from '@base-ui/utils/useAnimationFrame';\nimport { FloatingFocusManager, platform as floatingPlatform } from \"../../floating-ui-react/index.mjs\";\nimport { useSelectRootContext } from \"../root/SelectRootContext.mjs\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useSelectPositionerContext } from \"../positioner/SelectPositionerContext.mjs\";\nimport { styleDisableScrollbar } from \"../../utils/styles.mjs\";\nimport { transitionStatusMapping } from \"../../internals/stateAttributesMapping.mjs\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { selectors } from \"../store.mjs\";\nimport { clearStyles, LIST_FUNCTIONAL_STYLES } from \"./utils.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useToolbarRootContext } from \"../../toolbar/root/ToolbarRootContext.mjs\";\nimport { COMPOSITE_KEYS } from \"../../internals/composite/composite.mjs\";\nimport { getDisabledMountTransitionStyles } from \"../../internals/getDisabledMountTransitionStyles.mjs\";\nimport { clamp } from \"../../internals/clamp.mjs\";\nimport { getMaxScrollOffset, SCROLL_EDGE_TOLERANCE_PX } from \"../../utils/scrollEdges.mjs\";\nimport { useCSPContext } from \"../../internals/csp-context/CSPContext.mjs\";\nimport { useDirection } from \"../../internals/direction-context/DirectionContext.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst stateAttributesMapping = {\n ...popupStateMapping,\n ...transitionStatusMapping\n};\n\n/**\n * A container for the select list.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Select](https://base-ui.com/react/components/select)\n */\nexport const SelectPopup = /*#__PURE__*/React.forwardRef(function SelectPopup(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n finalFocus,\n ...elementProps\n } = componentProps;\n const {\n store,\n popupRef,\n onOpenChangeComplete,\n setOpen,\n valueRef,\n firstItemTextRef,\n selectedItemTextRef,\n multiple,\n handleScrollArrowVisibility,\n scrollHandlerRef,\n listRef,\n highlightItemOnHover,\n floatingContext: floatingRootContext\n } = useSelectRootContext();\n const {\n side,\n align,\n alignItemWithTriggerActive,\n isPositioned,\n setControlledAlignItemWithTrigger\n } = useSelectPositionerContext();\n const insideToolbar = useToolbarRootContext(true) != null;\n const direction = useDirection();\n const {\n nonce,\n disableStyleElements\n } = useCSPContext();\n const id = useStore(store, selectors.id);\n const open = useStore(store, selectors.open);\n const openMethod = useStore(store, selectors.openMethod);\n const mounted = useStore(store, selectors.mounted);\n const popupProps = useStore(store, selectors.popupProps);\n const transitionStatus = useStore(store, selectors.transitionStatus);\n const triggerElement = useStore(store, selectors.triggerElement);\n const positionerElement = useStore(store, selectors.positionerElement);\n const listElement = useStore(store, selectors.listElement);\n const reachedMaxHeightRef = React.useRef(false);\n const initialPlacedRef = React.useRef(false);\n const originalPositionerStylesRef = React.useRef({});\n const scrollArrowFrame = useAnimationFrame();\n const handleScroll = useStableCallback(scroller => {\n if (!positionerElement || !popupRef.current || !initialPlacedRef.current) {\n return;\n }\n const isTopPositioned = positionerElement.style.top === '0px';\n const isBottomPositioned = positionerElement.style.bottom === '0px';\n if (reachedMaxHeightRef.current || !alignItemWithTriggerActive || !isTopPositioned && !isBottomPositioned) {\n handleScrollArrowVisibility(scroller);\n return;\n }\n const scale = getScale(positionerElement);\n const currentHeight = normalizeSize(positionerElement.getBoundingClientRect().height, 'y', scale);\n const doc = ownerDocument(positionerElement);\n const win = ownerWindow(positionerElement);\n const positionerStyles = win.getComputedStyle(positionerElement);\n const marginTop = parseFloat(positionerStyles.marginTop);\n const marginBottom = parseFloat(positionerStyles.marginBottom);\n const maxPopupHeight = getMaxPopupHeight(win.getComputedStyle(popupRef.current));\n const maxAvailableHeight = Math.min(doc.documentElement.clientHeight - marginTop - marginBottom, maxPopupHeight);\n const scrollTop = scroller.scrollTop;\n const maxScrollTop = getMaxScrollTop(scroller);\n\n // `Infinity` requests a scroll to the recomputed maximum offset.\n let nextScrollTop = null;\n const setHeight = height => {\n positionerElement.style.height = `${height}px`;\n };\n const diff = isTopPositioned ? maxScrollTop - scrollTop : scrollTop;\n const nextHeight = Math.min(currentHeight + diff, maxAvailableHeight);\n if (diff <= SCROLL_EDGE_TOLERANCE_PX) {\n const heightDelta = clamp(diff, 0, maxAvailableHeight - currentHeight);\n if (heightDelta > 0) {\n // Consume the remaining scroll in height.\n setHeight(currentHeight + heightDelta);\n }\n scroller.scrollTop = isTopPositioned ? maxScrollTop : 0;\n if (maxAvailableHeight - (currentHeight + heightDelta) <= SCROLL_EDGE_TOLERANCE_PX) {\n reachedMaxHeightRef.current = true;\n }\n handleScrollArrowVisibility(scroller);\n return;\n }\n if (maxAvailableHeight - nextHeight > SCROLL_EDGE_TOLERANCE_PX) {\n nextScrollTop = isTopPositioned ? Infinity : 0;\n } else if (isBottomPositioned && scrollTop < maxScrollTop) {\n const overshoot = currentHeight + diff - maxAvailableHeight;\n nextScrollTop = scrollTop - (diff - overshoot);\n }\n const nextPositionerHeight = Math.ceil(nextHeight);\n if (nextPositionerHeight !== 0) {\n setHeight(nextPositionerHeight);\n }\n if (nextScrollTop != null) {\n // Recompute bounds after resizing (clientHeight likely changed).\n const target = clamp(nextScrollTop, 0, getMaxScrollTop(scroller));\n\n // Avoid adjustments that re-trigger scroll events forever.\n if (Math.abs(scroller.scrollTop - target) > SCROLL_EDGE_TOLERANCE_PX) {\n scroller.scrollTop = target;\n }\n }\n if (nextPositionerHeight >= maxAvailableHeight - SCROLL_EDGE_TOLERANCE_PX) {\n reachedMaxHeightRef.current = true;\n }\n handleScrollArrowVisibility(scroller);\n });\n React.useImperativeHandle(scrollHandlerRef, () => handleScroll, [handleScroll]);\n useOpenChangeComplete({\n open,\n ref: popupRef,\n onComplete() {\n if (open) {\n onOpenChangeComplete?.(true);\n }\n }\n });\n const state = {\n open,\n transitionStatus,\n side,\n align\n };\n useIsoLayoutEffect(() => {\n if (!positionerElement || !popupRef.current || Object.keys(originalPositionerStylesRef.current).length) {\n return;\n }\n originalPositionerStylesRef.current = {\n top: positionerElement.style.top || '0',\n left: positionerElement.style.left || '0',\n right: positionerElement.style.right,\n height: positionerElement.style.height,\n bottom: positionerElement.style.bottom,\n minHeight: positionerElement.style.minHeight,\n maxHeight: positionerElement.style.maxHeight,\n marginTop: positionerElement.style.marginTop,\n marginBottom: positionerElement.style.marginBottom\n };\n }, [popupRef, positionerElement]);\n useIsoLayoutEffect(() => {\n if (open || alignItemWithTriggerActive) {\n return;\n }\n initialPlacedRef.current = false;\n reachedMaxHeightRef.current = false;\n clearStyles(positionerElement, originalPositionerStylesRef.current);\n }, [open, alignItemWithTriggerActive, positionerElement, popupRef]);\n useIsoLayoutEffect(() => {\n const popupElement = popupRef.current;\n\n // Wait for Floating UI's first positioning pass before reading DOM geometry.\n // We replace the final coordinates for aligned selects, but still need middleware\n // like `size()` to set CSS variables such as `--anchor-width`.\n if (!open || !triggerElement || !positionerElement || !popupElement || alignItemWithTriggerActive && !isPositioned || store.state.transitionStatus === 'ending') {\n return;\n }\n initialPlacedRef.current = true;\n popupElement.style.removeProperty('--transform-origin');\n if (!alignItemWithTriggerActive) {\n // The wrapper supplies the scroller: the list owns scrolling once it has mounted, and\n // this effect re-runs (cancelling the stale frame) when that happens.\n scrollArrowFrame.request(() => handleScrollArrowVisibility(listElement || popupElement));\n return;\n }\n\n // Ensure we remove any transforms that can affect the location of the popup\n // and therefore the calculations.\n const restoreTransformStyles = unsetTransformStyles(popupElement);\n try {\n let textElement = selectedItemTextRef.current;\n if (!textElement?.isConnected) {\n const hasSelectedValue = selectors.hasSelectedValue(store.state);\n textElement = !hasSelectedValue && firstItemTextRef.current?.isConnected ? firstItemTextRef.current : null;\n }\n const valueElement = valueRef.current;\n const win = ownerWindow(positionerElement);\n const positionerStyles = win.getComputedStyle(positionerElement);\n const popupStyles = win.getComputedStyle(popupElement);\n const doc = ownerDocument(triggerElement);\n const scale = getScale(triggerElement);\n const triggerRect = normalizeRect(triggerElement.getBoundingClientRect(), scale);\n const positionerRect = normalizeRect(positionerElement.getBoundingClientRect(), scale);\n const triggerHeight = triggerRect.height;\n const scroller = listElement || popupElement;\n const scrollHeight = scroller.scrollHeight;\n const borderBottom = parseFloat(popupStyles.borderBottomWidth);\n // The `|| N` fallbacks cover an unset/`auto` value (parses to `NaN`). Note a literal `0`\n // also resolves to the fallback, so an explicit `margin: 0` or `min-height: 0` still takes\n // the default below.\n const marginTop = parseFloat(positionerStyles.marginTop) || 10;\n const marginBottom = parseFloat(positionerStyles.marginBottom) || 10;\n const minHeight = parseFloat(positionerStyles.minHeight) || 100;\n const maxPopupHeight = getMaxPopupHeight(popupStyles);\n const paddingLeft = 5;\n const paddingRight = 5;\n const triggerCollisionThreshold = 20;\n const viewportHeight = doc.documentElement.clientHeight - marginTop - marginBottom;\n const viewportWidth = doc.documentElement.clientWidth;\n const availableSpaceBeneathTrigger = viewportHeight - triggerRect.bottom + triggerHeight;\n let textRect;\n let alignedLeft = direction === 'rtl' ? triggerRect.right - positionerRect.width : triggerRect.left;\n let offsetY = 0;\n if (textElement && valueElement) {\n const valueRect = normalizeRect(valueElement.getBoundingClientRect(), scale);\n textRect = normalizeRect(textElement.getBoundingClientRect(), scale);\n alignedLeft = positionerRect.left + (direction === 'rtl' ? valueRect.right - textRect.right : valueRect.left - textRect.left);\n const valueCenterFromTriggerTop = valueRect.top - triggerRect.top + valueRect.height / 2;\n const textCenterFromPositionerTop = textRect.top - positionerRect.top + textRect.height / 2;\n offsetY = textCenterFromPositionerTop - valueCenterFromTriggerTop;\n }\n const idealHeight = availableSpaceBeneathTrigger + offsetY + marginBottom + borderBottom;\n let height = Math.min(viewportHeight, idealHeight);\n const maxHeight = viewportHeight - marginTop - marginBottom;\n const scrollTop = idealHeight - height;\n const maxRight = viewportWidth - paddingRight;\n positionerElement.style.left = `${clamp(alignedLeft, paddingLeft, maxRight - positionerRect.width)}px`;\n positionerElement.style.height = `${height}px`;\n // `none` (not the invalid `auto`) so the explicit height governs in align mode and isn't\n // clamped by a `max-height` from user CSS.\n positionerElement.style.maxHeight = 'none';\n positionerElement.style.marginTop = `${marginTop}px`;\n positionerElement.style.marginBottom = `${marginBottom}px`;\n popupElement.style.height = '100%';\n const maxScrollTop = getMaxScrollTop(scroller);\n const isTopPositioned = scrollTop >= maxScrollTop - SCROLL_EDGE_TOLERANCE_PX;\n if (isTopPositioned) {\n height = Math.min(viewportHeight, positionerRect.height) - (scrollTop - maxScrollTop);\n }\n\n // When the trigger is too close to the top or bottom of the viewport, or the minHeight is\n // reached, we fallback to aligning the popup to the trigger as the UX is poor otherwise.\n const fallbackToAlignPopupToTrigger = triggerRect.top < triggerCollisionThreshold || triggerRect.bottom > viewportHeight - triggerCollisionThreshold || Math.ceil(height) + SCROLL_EDGE_TOLERANCE_PX < Math.min(scrollHeight, minHeight);\n\n // Safari doesn't position the popup correctly when pinch-zoomed.\n const isPinchZoomed = (win.visualViewport?.scale ?? 1) !== 1 && platform.engine.webkit;\n if (fallbackToAlignPopupToTrigger || isPinchZoomed) {\n clearStyles(positionerElement, originalPositionerStylesRef.current);\n setControlledAlignItemWithTrigger(false);\n return;\n }\n const initialHeight = Math.max(minHeight, height);\n if (isTopPositioned) {\n const topOffset = Math.max(0, viewportHeight - idealHeight);\n positionerElement.style.top = positionerRect.height >= maxHeight ? '0' : `${topOffset}px`;\n positionerElement.style.height = `${height}px`;\n scroller.scrollTop = getMaxScrollTop(scroller);\n } else {\n positionerElement.style.bottom = '0';\n scroller.scrollTop = scrollTop;\n }\n if (textRect) {\n const popupTop = positionerRect.top;\n const popupHeight = positionerRect.height;\n const textCenterY = textRect.top + textRect.height / 2;\n const clampedY = clamp(popupHeight > 0 ? (textCenterY - popupTop) / popupHeight * 100 : 50, 0, 100);\n popupElement.style.setProperty('--transform-origin', `50% ${clampedY}%`);\n }\n if (initialHeight === viewportHeight || height >= maxPopupHeight) {\n reachedMaxHeightRef.current = true;\n }\n handleScrollArrowVisibility(scroller);\n if (highlightItemOnHover && store.state.selectedIndex === null && store.state.activeIndex === null && listRef.current[0] != null) {\n store.set('activeIndex', 0);\n }\n } finally {\n restoreTransformStyles();\n }\n }, [store, open, positionerElement, triggerElement, valueRef, firstItemTextRef, selectedItemTextRef, popupRef, handleScrollArrowVisibility, alignItemWithTriggerActive, setControlledAlignItemWithTrigger, scrollArrowFrame, listElement, listRef, highlightItemOnHover, direction, isPositioned]);\n React.useEffect(() => {\n if (!alignItemWithTriggerActive || !positionerElement || !open) {\n return undefined;\n }\n const win = ownerWindow(positionerElement);\n function handleResize(event) {\n setOpen(false, createChangeEventDetails(REASONS.windowResize, event));\n }\n return addEventListener(win, 'resize', handleResize);\n }, [setOpen, alignItemWithTriggerActive, positionerElement, open]);\n const defaultProps = {\n ...(listElement ? {\n role: 'presentation',\n 'aria-orientation': undefined\n } : {\n role: 'listbox',\n 'aria-multiselectable': multiple || undefined,\n id: `${id}-list`\n }),\n onKeyDown(event) {\n if (insideToolbar && COMPOSITE_KEYS.has(event.key)) {\n event.stopPropagation();\n }\n },\n onScroll(event) {\n if (listElement) {\n return;\n }\n handleScroll(event.currentTarget);\n },\n ...(alignItemWithTriggerActive && {\n style: listElement ? {\n height: '100%'\n } : LIST_FUNCTIONAL_STYLES\n }),\n className: !listElement && alignItemWithTriggerActive ? styleDisableScrollbar.className : undefined\n };\n const element = useRenderElement('div', componentProps, {\n ref: [forwardedRef, popupRef],\n state,\n stateAttributesMapping,\n props: [popupProps, defaultProps, getDisabledMountTransitionStyles(transitionStatus), elementProps]\n });\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [!disableStyleElements && styleDisableScrollbar.getElement(nonce), /*#__PURE__*/_jsx(FloatingFocusManager, {\n context: floatingRootContext,\n modal: false,\n disabled: !mounted,\n openInteractionType: openMethod,\n returnFocus: finalFocus,\n restoreFocus: true,\n children: element\n })]\n });\n});\nif (process.env.NODE_ENV !== \"production\") SelectPopup.displayName = \"SelectPopup\";\nfunction getMaxPopupHeight(popupStyles) {\n const maxHeightStyle = popupStyles.maxHeight;\n return maxHeightStyle.endsWith('px') ? parseFloat(maxHeightStyle) || Infinity : Infinity;\n}\nfunction getMaxScrollTop(scroller) {\n return getMaxScrollOffset(scroller.scrollHeight, scroller.clientHeight);\n}\nfunction getScale(element) {\n // The platform API is async-capable, but the DOM platform returns a plain scale object.\n return floatingPlatform.getScale(element);\n}\nfunction normalizeSize(size, axis, scale) {\n return size / scale[axis];\n}\nfunction normalizeRect(rect, scale) {\n return rectToClientRect({\n x: normalizeSize(rect.x, 'x', scale),\n y: normalizeSize(rect.y, 'y', scale),\n width: normalizeSize(rect.width, 'x', scale),\n height: normalizeSize(rect.height, 'y', scale)\n });\n}\nconst TRANSFORM_STYLE_RESETS = [['transform', 'none'], ['scale', '1'], ['translate', '0 0']];\nfunction unsetTransformStyles(popupElement) {\n const {\n style\n } = popupElement;\n const originalStyles = {};\n for (const [property, value] of TRANSFORM_STYLE_RESETS) {\n originalStyles[property] = style.getPropertyValue(property);\n style.setProperty(property, value, 'important');\n }\n return () => {\n for (const [property] of TRANSFORM_STYLE_RESETS) {\n const originalValue = originalStyles[property];\n if (originalValue) {\n style.setProperty(property, originalValue);\n } else {\n style.removeProperty(property);\n }\n }\n };\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,IAAM,IAAyB;CAC7B,GAAG;CACH,GAAG;AACL,GAQa,IAA2B,gBAAM,WAAW,SAAqB,GAAgB,GAAc;CAC1G,IAAM,EACJ,WACA,cACA,UACA,eACA,GAAG,MACD,GACE,EACJ,UACA,aACA,0BACA,aACA,cACA,qBACA,wBACA,cACA,gCACA,sBACA,YACA,yBACA,iBAAiB,OACf,EAAqB,GACnB,EACJ,UACA,WACA,+BACA,iBACA,0CACE,EAA2B,GACzB,KAAgB,EAAsB,EAAI,KAAK,MAC/C,IAAY,GAAa,GACzB,EACJ,WACA,6BACE,EAAc,GACZ,KAAK,EAAS,GAAO,EAAU,EAAE,GACjC,IAAO,EAAS,GAAO,EAAU,IAAI,GACrC,KAAa,EAAS,GAAO,EAAU,UAAU,GACjD,KAAU,EAAS,GAAO,EAAU,OAAO,GAC3C,KAAa,EAAS,GAAO,EAAU,UAAU,GACjD,KAAmB,EAAS,GAAO,EAAU,gBAAgB,GAC7D,IAAiB,EAAS,GAAO,EAAU,cAAc,GACzD,IAAoB,EAAS,GAAO,EAAU,iBAAiB,GAC/D,IAAc,EAAS,GAAO,EAAU,WAAW,GACnD,IAAsBA,EAAM,OAAO,EAAK,GACxC,IAAmBA,EAAM,OAAO,EAAK,GACrC,IAA8BA,EAAM,OAAO,CAAC,CAAC,GAC7C,IAAmB,EAAkB,GACrC,IAAe,GAAkB,MA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