@rpcbase/ui 0.194.0 → 0.196.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/index100.js +6 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +24 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +6 -8
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -5
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +6 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +5 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -6
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -145
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -39
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +8 -4
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -7
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -13
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +6 -7
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +145 -31
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +39 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +4 -10
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -8
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +13 -13
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +13 -101
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +273 -300
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +8 -20
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +31 -53
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +10 -72
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +10 -9
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +8 -20
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +13 -16
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +101 -23
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +20 -7
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +53 -5
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +72 -23
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +10 -35
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +21 -16
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +16 -6
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +23 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +6 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +5 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +23 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +35 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +16 -7
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +7 -24
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +4 -7
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +4 -6
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +4 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +4 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +6 -4
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +24 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +7 -4
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +6 -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 +3 -3
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +3 -46
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +4 -605
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -46
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -205
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -22
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +3 -24
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -399
- package/dist/index157.js.map +1 -1
- package/dist/index160.js +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index179.js +24 -58
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +29 -9
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -67
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +66 -18
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +179 -15
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +45 -4
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +57 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +8 -6
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +66 -4
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +19 -7
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +16 -17
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +5 -5
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +5 -5
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +6 -13
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +4 -10
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +7 -14
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +17 -14
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +5 -5
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +5 -6
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +13 -7
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +9 -5
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +14 -9
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +14 -5
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -9
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +7 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +6 -5
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +9 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -11
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -10
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +9 -10
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +5 -11
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -11
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +4 -10
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +11 -7
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +10 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +10 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +11 -6
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +11 -7
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +10 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +7 -55
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +6 -16
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +5 -7
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +6 -10
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +7 -10
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +6 -21
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +55 -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 +7 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +10 -4
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +21 -16
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +10 -9
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +9 -18
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +9 -15
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +4 -12
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +5 -29
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +15 -11
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +9 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +18 -5
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +13 -65
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +12 -180
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +28 -45
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +12 -24
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +26 -29
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -5
- package/dist/index244.js.map +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.js +10 -9
- package/dist/index249.js.map +1 -1
- package/dist/index252.js +2 -2
- package/dist/index255.js +1 -1
- package/dist/index259.js +3 -116
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -17
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +114 -13
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +17 -3
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -33
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +35 -19
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +20 -9
- package/dist/index265.js.map +1 -1
- package/dist/index267.js +2 -2
- package/dist/index27.js +493 -334
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +5 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -19
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +23 -12
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +113 -5
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +16 -3
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +522 -21
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +127 -112
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +133 -15
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -524
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +18 -127
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +12 -133
- package/dist/index280.js.map +1 -1
- package/dist/index282.js +64 -5
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +69 -6
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +9 -4
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +14 -16
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +65 -8
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +5 -5
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +5 -4
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +4 -546
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +16 -47
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +8 -17
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +5 -6
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +4 -8
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +545 -7
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +47 -9
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +17 -12
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +6 -9
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +8 -13
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +7 -64
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +9 -69
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +13 -9
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +10 -14
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +14 -66
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +3 -4
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +23 -56
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +5 -68
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +55 -30
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +68 -9
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +26 -148
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +9 -108
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +153 -4
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +108 -23
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +12 -15
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +25 -26
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +5 -13
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +22 -6
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +15 -22
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +28 -12
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +12 -27
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index320.js +7 -5
- package/dist/index320.js.map +1 -1
- package/dist/index33.js +3 -3
- package/dist/index41.js +20 -20
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +4 -205
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +7 -2
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +48 -2
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +25 -5
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +50 -33
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +7 -26
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +14 -7
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +133 -11
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +10 -3
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +214 -45
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +13 -51
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +33 -7
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +45 -13
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +7 -133
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +48 -9
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +3 -216
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +6 -13
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +27 -46
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +50 -50
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +9 -4
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +205 -6
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +2 -28
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -50
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -9
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -2
- package/dist/index76.js +12 -2
- package/dist/index76.js.map +1 -1
- package/dist/index80.js +47 -52
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +205 -4
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +22 -5
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +24 -15
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +399 -5
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +46 -7
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +604 -15
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +52 -5
- 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 +15 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -3
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -3
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +15 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +4 -24
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -6
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -6
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +3 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -4
- package/dist/index99.js.map +1 -1
- package/package.json +6 -6
package/dist/index68.js
CHANGED
|
@@ -1,50 +1,31 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import { j as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { Primitive as a } from "./index62.js";
|
|
3
|
+
import { j as t } from "./index30.js";
|
|
4
|
+
var o = Object.freeze({
|
|
5
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
6
|
+
position: "absolute",
|
|
7
|
+
border: 0,
|
|
8
|
+
width: 1,
|
|
9
|
+
height: 1,
|
|
10
|
+
padding: 0,
|
|
11
|
+
margin: -1,
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
clip: "rect(0, 0, 0, 0)",
|
|
14
|
+
whiteSpace: "nowrap",
|
|
15
|
+
wordWrap: "normal"
|
|
16
|
+
}), d = "VisuallyHidden", s = i.forwardRef(
|
|
17
|
+
(r, e) => /* @__PURE__ */ t.jsx(
|
|
18
|
+
a.span,
|
|
19
|
+
{
|
|
20
|
+
...r,
|
|
21
|
+
ref: e,
|
|
22
|
+
style: { ...o, ...r.style }
|
|
11
23
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
// @__NO_SIDE_EFFECTS__
|
|
17
|
-
function y(e) {
|
|
18
|
-
const r = l.forwardRef((t, o) => {
|
|
19
|
-
const { children: n, ...i } = t;
|
|
20
|
-
if (l.isValidElement(n)) {
|
|
21
|
-
const c = R(n), s = C(i, n.props);
|
|
22
|
-
return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
|
|
23
|
-
}
|
|
24
|
-
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
25
|
-
});
|
|
26
|
-
return r.displayName = `${e}.SlotClone`, r;
|
|
27
|
-
}
|
|
28
|
-
var E = /* @__PURE__ */ Symbol("radix.slottable");
|
|
29
|
-
function g(e) {
|
|
30
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
|
|
31
|
-
}
|
|
32
|
-
function C(e, r) {
|
|
33
|
-
const t = { ...r };
|
|
34
|
-
for (const o in r) {
|
|
35
|
-
const n = e[o], i = r[o];
|
|
36
|
-
/^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
|
|
37
|
-
const a = i(...s);
|
|
38
|
-
return n(...s), a;
|
|
39
|
-
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
|
|
40
|
-
}
|
|
41
|
-
return { ...e, ...t };
|
|
42
|
-
}
|
|
43
|
-
function R(e) {
|
|
44
|
-
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
45
|
-
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
46
|
-
}
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
s.displayName = d;
|
|
47
27
|
export {
|
|
48
|
-
|
|
28
|
+
o as VISUALLY_HIDDEN_STYLES,
|
|
29
|
+
s as VisuallyHidden
|
|
49
30
|
};
|
|
50
31
|
//# sourceMappingURL=index68.js.map
|
package/dist/index68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index68.js","sources":["../../../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index68.js","sources":["../../../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VISUALLY_HIDDEN_STYLES = Object.freeze({\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n});\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VISUALLY_HIDDEN_STYLES,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["VISUALLY_HIDDEN_STYLES","NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive"],"mappings":";;;AAIG,IAACA,IAAyB,OAAO,OAAO;AAAA;AAAA,EAEzC,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AACZ,CAAC,GACGC,IAAO,kBACPC,IAAiBC,EAAM;AAAA,EACzB,CAACC,GAAOC,MACiBC,gBAAAA,EAAAA;AAAAA,IACrBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGH;AAAA,MACH,KAAKC;AAAA,MACL,OAAO,EAAE,GAAGL,GAAwB,GAAGI,EAAM,MAAK;AAAA,IAC1D;AAAA,EACA;AAEA;AACAF,EAAe,cAAcD;","x_google_ignoreList":[0]}
|
package/dist/index69.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
(
|
|
26
|
-
if (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
1
|
+
var S = function(r) {
|
|
2
|
+
if (typeof document > "u")
|
|
3
|
+
return null;
|
|
4
|
+
var u = Array.isArray(r) ? r[0] : r;
|
|
5
|
+
return u.ownerDocument.body;
|
|
6
|
+
}, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
|
|
7
|
+
return r && (r.host || W(r.parentNode));
|
|
8
|
+
}, D = function(r, u) {
|
|
9
|
+
return u.map(function(e) {
|
|
10
|
+
if (r.contains(e))
|
|
11
|
+
return e;
|
|
12
|
+
var n = W(e);
|
|
13
|
+
return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
|
|
14
|
+
}).filter(function(e) {
|
|
15
|
+
return !!e;
|
|
16
|
+
});
|
|
17
|
+
}, E = function(r, u, e, n) {
|
|
18
|
+
var i = D(u, Array.isArray(r) ? r : [r]);
|
|
19
|
+
p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
|
|
20
|
+
var s = p[e], l = [], o = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
|
|
21
|
+
!t || o.has(t) || (o.add(t), y(t.parentNode));
|
|
22
|
+
};
|
|
23
|
+
i.forEach(y);
|
|
24
|
+
var A = function(t) {
|
|
25
|
+
!t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
|
|
26
|
+
if (o.has(a))
|
|
27
|
+
A(a);
|
|
28
|
+
else
|
|
29
|
+
try {
|
|
30
|
+
var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (s.get(a) || 0) + 1;
|
|
31
|
+
f.set(a, d), s.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
|
|
32
|
+
} catch (k) {
|
|
33
|
+
console.error("aria-hidden: cannot operate on ", a, k);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
return A(u), o.clear(), h++, function() {
|
|
38
|
+
l.forEach(function(t) {
|
|
39
|
+
var a = f.get(t) - 1, c = s.get(t) - 1;
|
|
40
|
+
f.set(t, a), s.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
|
|
41
|
+
}), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
|
|
42
|
+
};
|
|
43
|
+
}, C = function(r, u, e) {
|
|
44
|
+
e === void 0 && (e = "data-aria-hidden");
|
|
45
|
+
var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
|
|
46
|
+
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live], script"))), E(n, i, e, "aria-hidden")) : function() {
|
|
47
|
+
return null;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
C as hideOthers
|
|
52
52
|
};
|
|
53
53
|
//# sourceMappingURL=index69.js.map
|
package/dist/index69.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index69.js","sources":["../../../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// src/use-controllable-state.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useInsertionEffect = React[\" useInsertionEffect \".trim().toString()] || useLayoutEffect;\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n },\n caller\n}) {\n const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({\n defaultProp,\n onChange\n });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n if (true) {\n const isControlledRef = React.useRef(prop !== void 0);\n React.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;\n if (value2 !== prop) {\n onChangeRef.current?.(value2);\n }\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, onChangeRef]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const [value, setValue] = React.useState(defaultProp);\n const prevValueRef = React.useRef(value);\n const onChangeRef = React.useRef(onChange);\n useInsertionEffect(() => {\n onChangeRef.current = onChange;\n }, [onChange]);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n onChangeRef.current?.(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef]);\n return [value, setValue, onChangeRef];\n}\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\n\n// src/use-controllable-state-reducer.tsx\nimport * as React2 from \"react\";\nimport { useEffectEvent } from \"@radix-ui/react-use-effect-event\";\nvar SYNC_STATE = Symbol(\"RADIX:SYNC_STATE\");\nfunction useControllableStateReducer(reducer, userArgs, initialArg, init) {\n const { prop: controlledState, defaultProp, onChange: onChangeProp, caller } = userArgs;\n const isControlled = controlledState !== void 0;\n const onChange = useEffectEvent(onChangeProp);\n if (true) {\n const isControlledRef = React2.useRef(controlledState !== void 0);\n React2.useEffect(() => {\n const wasControlled = isControlledRef.current;\n if (wasControlled !== isControlled) {\n const from = wasControlled ? \"controlled\" : \"uncontrolled\";\n const to = isControlled ? \"controlled\" : \"uncontrolled\";\n console.warn(\n `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`\n );\n }\n isControlledRef.current = isControlled;\n }, [isControlled, caller]);\n }\n const args = [{ ...initialArg, state: defaultProp }];\n if (init) {\n args.push(init);\n }\n const [internalState, dispatch] = React2.useReducer(\n (state2, action) => {\n if (action.type === SYNC_STATE) {\n return { ...state2, state: action.state };\n }\n const next = reducer(state2, action);\n if (isControlled && !Object.is(next.state, state2.state)) {\n onChange(next.state);\n }\n return next;\n },\n ...args\n );\n const uncontrolledState = internalState.state;\n const prevValueRef = React2.useRef(uncontrolledState);\n React2.useEffect(() => {\n if (prevValueRef.current !== uncontrolledState) {\n prevValueRef.current = uncontrolledState;\n if (!isControlled) {\n onChange(uncontrolledState);\n }\n }\n }, [onChange, uncontrolledState, prevValueRef, isControlled]);\n const state = React2.useMemo(() => {\n const isControlled2 = controlledState !== void 0;\n if (isControlled2) {\n return { ...internalState, state: controlledState };\n }\n return internalState;\n }, [internalState, controlledState]);\n React2.useEffect(() => {\n if (isControlled && !Object.is(controlledState, internalState.state)) {\n dispatch({ type: SYNC_STATE, state: controlledState });\n }\n }, [controlledState, internalState.state, isControlled]);\n return [state, dispatch];\n}\nexport {\n useControllableState,\n useControllableStateReducer\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useInsertionEffect","React","useLayoutEffect","useControllableState","prop","defaultProp","onChange","caller","uncontrolledProp","setUncontrolledProp","onChangeRef","useUncontrolledState","isControlled","value","isControlled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AOK,CAAQ;AACzC,SAAAN,EAAmB,MAAM;AACvB,IAAAU,EAAY,UAAUJ;AAAA,EACxB,GAAG,CAACA,CAAQ,CAAC,GACbL,EAAM,UAAU,MAAM;AACpB,IAAImB,EAAa,YAAYP,MAC3BH,EAAY,UAAUG,CAAK,GAC3BO,EAAa,UAAUP;AAAA,EAE3B,GAAG,CAACA,GAAOO,CAAY,CAAC,GACjB,CAACP,GAAOG,GAAUN,CAAW;AACtC;AACA,SAASS,EAAWN,GAAO;AACzB,SAAO,OAAOA,KAAU;AAC1B;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index69.js","sources":["../../../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide aria-live elements - https://github.com/theKashey/aria-hidden/issues/10\n // and script elements, as they have no impact on accessibility.\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live], script')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","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GAC/BC,IAAY,CAAA;AAAA,EAEpB;AACJ,GAQW0B,IAAa,SAAU9B,GAAgBe,GAAYC,GAAY;AACtE,EAAIA,MAAe,WAAUA,IAAa;AAC1C,MAAIN,IAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC,GACtF+B,IAAiChC,EAAiBC,CAAc;AACpE,SAAK+B,KAKLrB,EAAQ,KAAK,MAAMA,GAAS,MAAM,KAAKqB,EAAiB,iBAAiB,qBAAqB,CAAC,CAAC,GACzFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KALvE,WAAY;AAAE,WAAO;AAAA,EAAM;AAM1C;","x_google_ignoreList":[0]}
|
package/dist/index70.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { __assign as m } from "./index179.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { RemoveScroll as e } from "./index180.js";
|
|
4
|
+
import t from "./index181.js";
|
|
5
|
+
var s = r.forwardRef(function(a, o) {
|
|
6
|
+
return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
|
|
7
|
+
});
|
|
8
|
+
s.classNames = e.classNames;
|
|
4
9
|
export {
|
|
5
|
-
|
|
10
|
+
s as default
|
|
6
11
|
};
|
|
7
12
|
//# sourceMappingURL=index70.js.map
|
package/dist/index70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index70.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index70.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,IAAIH,GAAO,EAAE,KAAKC,GAAK,SAASG,EAAO,CAAE,CAAC;AAAI,CAAC;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
|
package/dist/index71.js
CHANGED
|
@@ -1,9 +1,208 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import * as p from "react";
|
|
2
|
+
import { composeEventHandlers as m } from "./index52.js";
|
|
3
|
+
import { composeRefs as C } from "./index54.js";
|
|
4
|
+
import { createContextScope as E } from "./index55.js";
|
|
5
|
+
import { useControllableState as S } from "./index65.js";
|
|
6
|
+
import { Primitive as P } from "./index62.js";
|
|
7
|
+
import { createMenuScope as D, Anchor as y, Item as O, Root as T, Portal as j, Content as G, Group as k, Label as L, CheckboxItem as K, RadioGroup as U, RadioItem as B, ItemIndicator as F, Separator as H, Arrow as W, SubTrigger as $, SubContent as X } from "./index86.js";
|
|
8
|
+
import { useId as g } from "./index59.js";
|
|
9
|
+
import { j as a } from "./index30.js";
|
|
10
|
+
var f = "DropdownMenu", [q] = E(
|
|
11
|
+
f,
|
|
12
|
+
[D]
|
|
13
|
+
), s = D(), [z, v] = q(f), _ = (o) => {
|
|
14
|
+
const {
|
|
15
|
+
__scopeDropdownMenu: n,
|
|
16
|
+
children: r,
|
|
17
|
+
dir: e,
|
|
18
|
+
open: t,
|
|
19
|
+
defaultOpen: i,
|
|
20
|
+
onOpenChange: u,
|
|
21
|
+
modal: d = !0
|
|
22
|
+
} = o, c = s(n), M = p.useRef(null), [l, w] = S({
|
|
23
|
+
prop: t,
|
|
24
|
+
defaultProp: i ?? !1,
|
|
25
|
+
onChange: u,
|
|
26
|
+
caller: f
|
|
27
|
+
});
|
|
28
|
+
return /* @__PURE__ */ a.jsx(
|
|
29
|
+
z,
|
|
30
|
+
{
|
|
31
|
+
scope: n,
|
|
32
|
+
triggerId: g(),
|
|
33
|
+
triggerRef: M,
|
|
34
|
+
contentId: g(),
|
|
35
|
+
open: l,
|
|
36
|
+
onOpenChange: w,
|
|
37
|
+
onOpenToggle: p.useCallback(() => w((A) => !A), [w]),
|
|
38
|
+
modal: d,
|
|
39
|
+
children: /* @__PURE__ */ a.jsx(T, { ...c, open: l, onOpenChange: w, dir: e, modal: d, children: r })
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
};
|
|
43
|
+
_.displayName = f;
|
|
44
|
+
var x = "DropdownMenuTrigger", R = p.forwardRef(
|
|
45
|
+
(o, n) => {
|
|
46
|
+
const { __scopeDropdownMenu: r, disabled: e = !1, ...t } = o, i = v(x, r), u = s(r);
|
|
47
|
+
return /* @__PURE__ */ a.jsx(y, { asChild: !0, ...u, children: /* @__PURE__ */ a.jsx(
|
|
48
|
+
P.button,
|
|
49
|
+
{
|
|
50
|
+
type: "button",
|
|
51
|
+
id: i.triggerId,
|
|
52
|
+
"aria-haspopup": "menu",
|
|
53
|
+
"aria-expanded": i.open,
|
|
54
|
+
"aria-controls": i.open ? i.contentId : void 0,
|
|
55
|
+
"data-state": i.open ? "open" : "closed",
|
|
56
|
+
"data-disabled": e ? "" : void 0,
|
|
57
|
+
disabled: e,
|
|
58
|
+
...t,
|
|
59
|
+
ref: C(n, i.triggerRef),
|
|
60
|
+
onPointerDown: m(o.onPointerDown, (d) => {
|
|
61
|
+
!e && d.button === 0 && d.ctrlKey === !1 && (i.onOpenToggle(), i.open || d.preventDefault());
|
|
62
|
+
}),
|
|
63
|
+
onKeyDown: m(o.onKeyDown, (d) => {
|
|
64
|
+
e || (["Enter", " "].includes(d.key) && i.onOpenToggle(), d.key === "ArrowDown" && i.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
) });
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
R.displayName = x;
|
|
71
|
+
var J = "DropdownMenuPortal", h = (o) => {
|
|
72
|
+
const { __scopeDropdownMenu: n, ...r } = o, e = s(n);
|
|
73
|
+
return /* @__PURE__ */ a.jsx(j, { ...e, ...r });
|
|
74
|
+
};
|
|
75
|
+
h.displayName = J;
|
|
76
|
+
var I = "DropdownMenuContent", N = p.forwardRef(
|
|
77
|
+
(o, n) => {
|
|
78
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = v(I, r), i = s(r), u = p.useRef(!1);
|
|
79
|
+
return /* @__PURE__ */ a.jsx(
|
|
80
|
+
G,
|
|
81
|
+
{
|
|
82
|
+
id: t.contentId,
|
|
83
|
+
"aria-labelledby": t.triggerId,
|
|
84
|
+
...i,
|
|
85
|
+
...e,
|
|
86
|
+
ref: n,
|
|
87
|
+
onCloseAutoFocus: m(o.onCloseAutoFocus, (d) => {
|
|
88
|
+
u.current || t.triggerRef.current?.focus(), u.current = !1, d.preventDefault();
|
|
89
|
+
}),
|
|
90
|
+
onInteractOutside: m(o.onInteractOutside, (d) => {
|
|
91
|
+
const c = d.detail.originalEvent, M = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || M;
|
|
92
|
+
(!t.modal || l) && (u.current = !0);
|
|
93
|
+
}),
|
|
94
|
+
style: {
|
|
95
|
+
...o.style,
|
|
96
|
+
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
97
|
+
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
98
|
+
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
99
|
+
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
100
|
+
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
N.displayName = I;
|
|
107
|
+
var Q = "DropdownMenuGroup", V = p.forwardRef(
|
|
108
|
+
(o, n) => {
|
|
109
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
110
|
+
return /* @__PURE__ */ a.jsx(k, { ...t, ...e, ref: n });
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
V.displayName = Q;
|
|
114
|
+
var Y = "DropdownMenuLabel", Z = p.forwardRef(
|
|
115
|
+
(o, n) => {
|
|
116
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
117
|
+
return /* @__PURE__ */ a.jsx(L, { ...t, ...e, ref: n });
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
Z.displayName = Y;
|
|
121
|
+
var oo = "DropdownMenuItem", b = p.forwardRef(
|
|
122
|
+
(o, n) => {
|
|
123
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
124
|
+
return /* @__PURE__ */ a.jsx(O, { ...t, ...e, ref: n });
|
|
125
|
+
}
|
|
126
|
+
);
|
|
127
|
+
b.displayName = oo;
|
|
128
|
+
var eo = "DropdownMenuCheckboxItem", ro = p.forwardRef((o, n) => {
|
|
129
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
130
|
+
return /* @__PURE__ */ a.jsx(K, { ...t, ...e, ref: n });
|
|
131
|
+
});
|
|
132
|
+
ro.displayName = eo;
|
|
133
|
+
var no = "DropdownMenuRadioGroup", to = p.forwardRef((o, n) => {
|
|
134
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
135
|
+
return /* @__PURE__ */ a.jsx(U, { ...t, ...e, ref: n });
|
|
136
|
+
});
|
|
137
|
+
to.displayName = no;
|
|
138
|
+
var ao = "DropdownMenuRadioItem", po = p.forwardRef((o, n) => {
|
|
139
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
140
|
+
return /* @__PURE__ */ a.jsx(B, { ...t, ...e, ref: n });
|
|
141
|
+
});
|
|
142
|
+
po.displayName = ao;
|
|
143
|
+
var so = "DropdownMenuItemIndicator", io = p.forwardRef((o, n) => {
|
|
144
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
145
|
+
return /* @__PURE__ */ a.jsx(F, { ...t, ...e, ref: n });
|
|
146
|
+
});
|
|
147
|
+
io.displayName = so;
|
|
148
|
+
var uo = "DropdownMenuSeparator", co = p.forwardRef((o, n) => {
|
|
149
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
150
|
+
return /* @__PURE__ */ a.jsx(H, { ...t, ...e, ref: n });
|
|
151
|
+
});
|
|
152
|
+
co.displayName = uo;
|
|
153
|
+
var lo = "DropdownMenuArrow", wo = p.forwardRef(
|
|
154
|
+
(o, n) => {
|
|
155
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
156
|
+
return /* @__PURE__ */ a.jsx(W, { ...t, ...e, ref: n });
|
|
157
|
+
}
|
|
158
|
+
);
|
|
159
|
+
wo.displayName = lo;
|
|
160
|
+
var mo = "DropdownMenuSubTrigger", fo = p.forwardRef((o, n) => {
|
|
161
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
162
|
+
return /* @__PURE__ */ a.jsx($, { ...t, ...e, ref: n });
|
|
163
|
+
});
|
|
164
|
+
fo.displayName = mo;
|
|
165
|
+
var Mo = "DropdownMenuSubContent", go = p.forwardRef((o, n) => {
|
|
166
|
+
const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
|
|
167
|
+
return /* @__PURE__ */ a.jsx(
|
|
168
|
+
X,
|
|
169
|
+
{
|
|
170
|
+
...t,
|
|
171
|
+
...e,
|
|
172
|
+
ref: n,
|
|
173
|
+
style: {
|
|
174
|
+
...o.style,
|
|
175
|
+
"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
176
|
+
"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
|
|
177
|
+
"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
|
|
178
|
+
"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
|
|
179
|
+
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
);
|
|
183
|
+
});
|
|
184
|
+
go.displayName = Mo;
|
|
185
|
+
var bo = _, Ao = R, Co = h, Eo = N, So = b;
|
|
6
186
|
export {
|
|
7
|
-
|
|
187
|
+
Eo as Content,
|
|
188
|
+
_ as DropdownMenu,
|
|
189
|
+
wo as DropdownMenuArrow,
|
|
190
|
+
ro as DropdownMenuCheckboxItem,
|
|
191
|
+
N as DropdownMenuContent,
|
|
192
|
+
V as DropdownMenuGroup,
|
|
193
|
+
b as DropdownMenuItem,
|
|
194
|
+
io as DropdownMenuItemIndicator,
|
|
195
|
+
Z as DropdownMenuLabel,
|
|
196
|
+
h as DropdownMenuPortal,
|
|
197
|
+
to as DropdownMenuRadioGroup,
|
|
198
|
+
po as DropdownMenuRadioItem,
|
|
199
|
+
co as DropdownMenuSeparator,
|
|
200
|
+
go as DropdownMenuSubContent,
|
|
201
|
+
fo as DropdownMenuSubTrigger,
|
|
202
|
+
R as DropdownMenuTrigger,
|
|
203
|
+
So as Item,
|
|
204
|
+
Co as Portal,
|
|
205
|
+
bo as Root,
|
|
206
|
+
Ao as Trigger
|
|
8
207
|
};
|
|
9
208
|
//# sourceMappingURL=index71.js.map
|
package/dist/index71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index71.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index71.js","sources":["../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dropdown-menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DROPDOWN_MENU_NAME\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: \"DropdownMenuSub\"\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","open","setOpen","useControllableState","jsx","useId","prevOpen","MenuPrimitive.Root","TRIGGER_NAME","DropdownMenuTrigger","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","Primitive","composeRefs","composeEventHandlers","event","PORTAL_NAME","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","originalEvent","ctrlLeftClick","isRightClick","GROUP_NAME","DropdownMenuGroup","groupProps","MenuPrimitive.Group","LABEL_NAME","DropdownMenuLabel","labelProps","MenuPrimitive.Label","ITEM_NAME","DropdownMenuItem","itemProps","MenuPrimitive.Item","CHECKBOX_ITEM_NAME","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","RADIO_GROUP_NAME","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","RADIO_ITEM_NAME","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","INDICATOR_NAME","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","SEPARATOR_NAME","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","ARROW_NAME","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","SUB_TRIGGER_NAME","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","SUB_CONTENT_NAME","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","Item2"],"mappings":";;;;;;;;;AAaA,IAAIA,IAAqB,gBACrB,CAACC,CAAkD,IAAIC;AAAA,EACzDF;AAAA,EACA,CAACG,CAAe;AAClB,GACIC,IAAeD,EAAe,GAC9B,CAACE,GAAsBC,CAAsB,IAAIL,EAA0BD,CAAkB,GAC7FO,IAAe,CAACC,MAAU;AAC5B,QAAM;AAAA,IACJ,qBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,KAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,EACZ,IAAMP,GACEQ,IAAYZ,EAAaK,CAAmB,GAC5CQ,IAAaC,EAAM,OAAO,IAAI,GAC9B,CAACC,GAAMC,CAAO,IAAIC,EAAqB;AAAA,IAC3C,MAAMT;AAAA,IACN,aAAaC,KAAe;AAAA,IAC5B,UAAUC;AAAA,IACV,QAAQd;AAAA,EACZ,CAAG;AACD,SAAuBsB,gBAAAA,EAAAA;AAAAA,IACrBjB;AAAA,IACA;AAAA,MACE,OAAOI;AAAA,MACP,WAAWc,EAAK;AAAA,MAChB,YAAAN;AAAA,MACA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AkD;AAAA,QAClD,uCAAuC;AAAA,QACvC,wCAAwC;AAAA,MAElD;AAAA,IACA;AAAA,EACA;AACA,CAAC;AACDkF,GAAuB,cAAcD;AAClC,IAACI,KAAQtF,GACRuF,KAAUnE,GACVoE,KAAUzD,GACV0D,KAAWtD,GAGXuD,KAAQvC;","x_google_ignoreList":[0]}
|
package/dist/index72.js
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { Primitive as a } from "./index55.js";
|
|
3
|
-
import { j as t } from "./index30.js";
|
|
4
|
-
var o = Object.freeze({
|
|
5
|
-
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
6
|
-
position: "absolute",
|
|
7
|
-
border: 0,
|
|
8
|
-
width: 1,
|
|
9
|
-
height: 1,
|
|
10
|
-
padding: 0,
|
|
11
|
-
margin: -1,
|
|
12
|
-
overflow: "hidden",
|
|
13
|
-
clip: "rect(0, 0, 0, 0)",
|
|
14
|
-
whiteSpace: "nowrap",
|
|
15
|
-
wordWrap: "normal"
|
|
16
|
-
}), d = "VisuallyHidden", s = i.forwardRef(
|
|
17
|
-
(r, e) => /* @__PURE__ */ t.jsx(
|
|
18
|
-
a.span,
|
|
19
|
-
{
|
|
20
|
-
...r,
|
|
21
|
-
ref: e,
|
|
22
|
-
style: { ...o, ...r.style }
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
);
|
|
26
|
-
s.displayName = d;
|
|
1
|
+
var r = {};
|
|
27
2
|
export {
|
|
28
|
-
|
|
29
|
-
s as VisuallyHidden
|
|
3
|
+
r as __exports
|
|
30
4
|
};
|
|
31
5
|
//# sourceMappingURL=index72.js.map
|
package/dist/index72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index72.js","sources":[
|
|
1
|
+
{"version":3,"file":"index72.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|