@pdf-viewer/react 1.1.0 → 1.1.1-beta.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.
Files changed (90) hide show
  1. package/dist/Container-44b8ad45.js +38 -0
  2. package/dist/RPDefaultLayout-79c7577a.js +2907 -0
  3. package/dist/assets/Button.css +1 -1
  4. package/dist/assets/Container.css +1 -1
  5. package/dist/assets/MenuItem.css +1 -1
  6. package/dist/assets/Popover.css +1 -0
  7. package/dist/assets/RPDefaultLayout.css +1 -1
  8. package/dist/components/RPConfig.js +344 -322
  9. package/dist/components/RPController.js +38 -35
  10. package/dist/components/RPDropFileZone.js +23 -22
  11. package/dist/components/RPPages.js +3 -2
  12. package/dist/components/RPProvider.js +1 -1
  13. package/dist/components/layout/Container.js +1 -1
  14. package/dist/components/layout/RPDefaultLayout.js +2 -2
  15. package/dist/components/layout/sidebar/RPSidebar.js +3 -2
  16. package/dist/components/layout/sidebar/Thumbnail.js +1 -1
  17. package/dist/components/layout/sidebar/Thumbnails.js +1 -1
  18. package/dist/components/layout/toolbar/DarkModeTool.js +22 -21
  19. package/dist/components/layout/toolbar/DocumentDialog.js +3 -2
  20. package/dist/components/layout/toolbar/DocumentProperties.js +15 -14
  21. package/dist/components/layout/toolbar/FileDownloadTool.js +3 -2
  22. package/dist/components/layout/toolbar/FileUploadTool.js +20 -22
  23. package/dist/components/layout/toolbar/FullScreenTool.js +40 -34
  24. package/dist/components/layout/toolbar/MenuItem.js +7 -7
  25. package/dist/components/layout/toolbar/MenuSeparator.js +1 -1
  26. package/dist/components/layout/toolbar/MostPageTool.js +4 -3
  27. package/dist/components/layout/toolbar/OtherTool.js +4 -3
  28. package/dist/components/layout/toolbar/Paginate.js +3 -2
  29. package/dist/components/layout/toolbar/PrintTool.js +3 -2
  30. package/dist/components/layout/toolbar/RPToolbar.js +1 -1
  31. package/dist/components/layout/toolbar/RPToolbarEnd.js +1 -1
  32. package/dist/components/layout/toolbar/RotateTool.js +27 -26
  33. package/dist/components/layout/toolbar/ScrollModeTool.js +43 -42
  34. package/dist/components/layout/toolbar/SearchTool.js +5 -3
  35. package/dist/components/layout/toolbar/SelectionModeTool.js +31 -30
  36. package/dist/components/layout/toolbar/ViewModeTool.js +1 -1
  37. package/dist/components/layout/toolbar/ZoomTool.js +4 -3
  38. package/dist/components/page/AnnotationLayer.js +3 -2
  39. package/dist/components/page/CanvasLayer.js +3 -2
  40. package/dist/components/page/DualPage.js +1 -1
  41. package/dist/components/page/RPPage.js +3 -2
  42. package/dist/components/page/SinglePage.js +1 -1
  43. package/dist/components/page/TextLayer.js +3 -2
  44. package/dist/components/ui/Button.js +10 -10
  45. package/dist/components/ui/Checkbox.js +92 -252
  46. package/dist/components/ui/DropDown.js +1 -1
  47. package/dist/components/ui/LoadingIndicator.js +3 -2
  48. package/dist/components/ui/Popover.js +3060 -0
  49. package/dist/components/ui/RPTooltip.js +331 -855
  50. package/dist/contexts/LocalizationContext.js +38 -0
  51. package/dist/contexts/PaginationContext.js +3 -3
  52. package/dist/contexts/PrintContext.js +1 -1
  53. package/dist/contexts/SearchContext.js +1 -1
  54. package/dist/contexts/ThumbnailsContext.js +1 -1
  55. package/dist/floating-ui.react-dom-88a86594.js +1447 -0
  56. package/dist/index-48ca3f30.js +307 -0
  57. package/dist/index-4ba3ab9a.js +1877 -0
  58. package/dist/main.js +14 -13
  59. package/dist/th_TH-2fba4a89.js +388 -0
  60. package/dist/types/components/ui/Popover.d.ts +9 -0
  61. package/dist/types/components/ui/RPTooltip.d.ts +3 -2
  62. package/dist/types/contexts/LocalizationContext.d.ts +5 -0
  63. package/dist/types/contexts/PaginationContext.d.ts +2 -2
  64. package/dist/types/locales/en_US.json.d.ts +80 -0
  65. package/dist/types/locales/it_IT.json.d.ts +80 -0
  66. package/dist/types/locales/pt_PT.json.d.ts +80 -0
  67. package/dist/types/locales/th_TH.json.d.ts +80 -0
  68. package/dist/types/locales/zh_CN.json.d.ts +80 -0
  69. package/dist/types/main.d.ts +1 -1
  70. package/dist/types/utils/hooks/useLocalization.d.ts +10 -0
  71. package/dist/types/utils/hooks/useScrollToPage.d.ts +1 -1
  72. package/dist/types/utils/smoothScrollTo.d.ts +2 -0
  73. package/dist/types/utils/types.d.ts +92 -77
  74. package/dist/utils/hooks/useFileDownload.js +3 -2
  75. package/dist/utils/hooks/useLicense.js +32 -40
  76. package/dist/utils/hooks/useLocalization.js +25 -0
  77. package/dist/utils/hooks/usePaginate.js +3 -2
  78. package/dist/utils/hooks/usePrint.js +3 -2
  79. package/dist/utils/hooks/useScrollToPage.js +4 -2
  80. package/dist/utils/hooks/useSearch.js +3 -2
  81. package/dist/utils/hooks/useThumbnail.js +3 -2
  82. package/dist/utils/hooks/useVirtualReactWindow.js +3 -2
  83. package/dist/utils/smoothScrollTo.js +18 -0
  84. package/dist/utils/types.js +17 -8
  85. package/package.json +2 -1
  86. package/dist/Container-fdb0a71f.js +0 -38
  87. package/dist/RPDefaultLayout-651c2426.js +0 -2832
  88. package/dist/floating-ui.react-dom-e6d5fe8f.js +0 -1327
  89. package/dist/index-316854c1.js +0 -2299
  90. package/dist/index-71898eb9.js +0 -139
@@ -1,274 +1,114 @@
1
- import { jsx as f, Fragment as q, jsxs as M } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import { a as A, c as B, b as K, d as z } from "../../index-71898eb9.js";
4
- import "react-dom";
5
- import { CheckIcon as X } from "../icons/CheckIcon.js";
6
- import '../../assets/Checkbox.css';function S(e, t) {
7
- if (typeof e == "function")
8
- return e(t);
9
- e != null && (e.current = t);
1
+ import { jsxs as g, jsx as s } from "react/jsx-runtime";
2
+ import * as c from "react";
3
+ import { c as O, u as j, a as A, P as S, b as _, d as B, e as H } from "../../index-48ca3f30.js";
4
+ import { CheckIcon as K } from "../icons/CheckIcon.js";
5
+ import '../../assets/Checkbox.css';function L(e) {
6
+ const r = c.useRef({ value: e, previous: e });
7
+ return c.useMemo(() => (r.current.value !== e && (r.current.previous = r.current.value, r.current.value = e), r.current.previous), [e]);
10
8
  }
11
- function I(...e) {
12
- return (t) => {
13
- let n = !1;
14
- const r = e.map((o) => {
15
- const c = S(o, t);
16
- return !n && typeof c == "function" && (n = !0), c;
17
- });
18
- if (n)
19
- return () => {
20
- for (let o = 0; o < r.length; o++) {
21
- const c = r[o];
22
- typeof c == "function" ? c() : S(e[o], null);
23
- }
24
- };
25
- };
26
- }
27
- function T(...e) {
28
- return i.useCallback(I(...e), e);
29
- }
30
- function O(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
31
- return function(o) {
32
- if (e == null || e(o), n === !1 || !o.defaultPrevented)
33
- return t == null ? void 0 : t(o);
34
- };
35
- }
36
- function $(e) {
37
- const t = i.useRef({ value: e, previous: e });
38
- return i.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
39
- }
40
- function Z(e, t) {
41
- return i.useReducer((n, r) => t[n][r] ?? n, e);
42
- }
43
- var _ = (e) => {
44
- const { present: t, children: n } = e, r = G(t), o = typeof n == "function" ? n({ present: r.isPresent }) : i.Children.only(n), c = T(r.ref, J(o));
45
- return typeof n == "function" || r.isPresent ? i.cloneElement(o, { ref: c }) : null;
46
- };
47
- _.displayName = "Presence";
48
- function G(e) {
49
- const [t, n] = i.useState(), r = i.useRef({}), o = i.useRef(e), c = i.useRef("none"), a = e ? "mounted" : "unmounted", [s, l] = Z(a, {
50
- mounted: {
51
- UNMOUNT: "unmounted",
52
- ANIMATION_OUT: "unmountSuspended"
53
- },
54
- unmountSuspended: {
55
- MOUNT: "mounted",
56
- ANIMATION_END: "unmounted"
57
- },
58
- unmounted: {
59
- MOUNT: "mounted"
60
- }
61
- });
62
- return i.useEffect(() => {
63
- const u = R(r.current);
64
- c.current = s === "mounted" ? u : "none";
65
- }, [s]), A(() => {
66
- const u = r.current, p = o.current;
67
- if (p !== e) {
68
- const d = c.current, m = R(u);
69
- e ? l("MOUNT") : m === "none" || (u == null ? void 0 : u.display) === "none" ? l("UNMOUNT") : l(p && d !== m ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
70
- }
71
- }, [e, l]), A(() => {
72
- if (t) {
73
- let u;
74
- const p = t.ownerDocument.defaultView ?? window, C = (m) => {
75
- const y = R(r.current).includes(m.animationName);
76
- if (m.target === t && y && (l("ANIMATION_END"), !o.current)) {
77
- const g = t.style.animationFillMode;
78
- t.style.animationFillMode = "forwards", u = p.setTimeout(() => {
79
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = g);
80
- });
81
- }
82
- }, d = (m) => {
83
- m.target === t && (c.current = R(r.current));
84
- };
85
- return t.addEventListener("animationstart", d), t.addEventListener("animationcancel", C), t.addEventListener("animationend", C), () => {
86
- p.clearTimeout(u), t.removeEventListener("animationstart", d), t.removeEventListener("animationcancel", C), t.removeEventListener("animationend", C);
87
- };
88
- } else
89
- l("ANIMATION_END");
90
- }, [t, l]), {
91
- isPresent: ["mounted", "unmountSuspended"].includes(s),
92
- ref: i.useCallback((u) => {
93
- u && (r.current = getComputedStyle(u)), n(u);
94
- }, [])
95
- };
96
- }
97
- function R(e) {
98
- return (e == null ? void 0 : e.animationName) || "none";
99
- }
100
- function J(e) {
101
- var r, o;
102
- let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
103
- return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
104
- }
105
- var D = i.forwardRef((e, t) => {
106
- const { children: n, ...r } = e, o = i.Children.toArray(n), c = o.find(Y);
107
- if (c) {
108
- const a = c.props.children, s = o.map((l) => l === c ? i.Children.count(a) > 1 ? i.Children.only(null) : i.isValidElement(a) ? a.props.children : null : l);
109
- return /* @__PURE__ */ f(E, { ...r, ref: t, children: i.isValidElement(a) ? i.cloneElement(a, void 0, s) : null });
110
- }
111
- return /* @__PURE__ */ f(E, { ...r, ref: t, children: n });
112
- });
113
- D.displayName = "Slot";
114
- var E = i.forwardRef((e, t) => {
115
- const { children: n, ...r } = e;
116
- if (i.isValidElement(n)) {
117
- const o = ee(n);
118
- return i.cloneElement(n, {
119
- ...H(r, n.props),
120
- // @ts-ignore
121
- ref: t ? I(t, o) : o
122
- });
123
- }
124
- return i.Children.count(n) > 1 ? i.Children.only(null) : null;
125
- });
126
- E.displayName = "SlotClone";
127
- var Q = ({ children: e }) => /* @__PURE__ */ f(q, { children: e });
128
- function Y(e) {
129
- return i.isValidElement(e) && e.type === Q;
130
- }
131
- function H(e, t) {
132
- const n = { ...t };
133
- for (const r in t) {
134
- const o = e[r], c = t[r];
135
- /^on[A-Z]/.test(r) ? o && c ? n[r] = (...s) => {
136
- c(...s), o(...s);
137
- } : o && (n[r] = o) : r === "style" ? n[r] = { ...o, ...c } : r === "className" && (n[r] = [o, c].filter(Boolean).join(" "));
138
- }
139
- return { ...e, ...n };
140
- }
141
- function ee(e) {
142
- var r, o;
143
- let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
144
- return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
145
- }
146
- var te = [
147
- "a",
148
- "button",
149
- "div",
150
- "form",
151
- "h2",
152
- "h3",
153
- "img",
154
- "input",
155
- "label",
156
- "li",
157
- "nav",
158
- "ol",
159
- "p",
160
- "span",
161
- "svg",
162
- "ul"
163
- ], U = te.reduce((e, t) => {
164
- const n = i.forwardRef((r, o) => {
165
- const { asChild: c, ...a } = r, s = c ? D : t;
166
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ f(s, { ...a, ref: o });
167
- });
168
- return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
169
- }, {}), w = "Checkbox", [ne, fe] = B(w), [re, oe] = ne(w), W = i.forwardRef(
170
- (e, t) => {
9
+ var E = "Checkbox", [z, W] = O(E), [F, T] = z(E), w = c.forwardRef(
10
+ (e, r) => {
171
11
  const {
172
- __scopeCheckbox: n,
173
- name: r,
174
- checked: o,
175
- defaultChecked: c,
176
- required: a,
177
- disabled: s,
178
- value: l = "on",
179
- onCheckedChange: u,
180
- form: p,
181
- ...C
182
- } = e, [d, m] = i.useState(null), k = T(t, (h) => m(h)), y = i.useRef(!1), g = d ? p || !!d.closest("form") : !0, [N = !1, x] = K({
183
- prop: o,
184
- defaultProp: c,
185
- onChange: u
186
- }), V = i.useRef(N);
187
- return i.useEffect(() => {
188
- const h = d == null ? void 0 : d.form;
189
- if (h) {
190
- const v = () => x(V.current);
191
- return h.addEventListener("reset", v), () => h.removeEventListener("reset", v);
12
+ __scopeCheckbox: t,
13
+ name: a,
14
+ checked: f,
15
+ defaultChecked: n,
16
+ required: h,
17
+ disabled: u,
18
+ value: b = "on",
19
+ onCheckedChange: m,
20
+ form: l,
21
+ ...x
22
+ } = e, [i, C] = c.useState(null), v = j(r, (o) => C(o)), y = c.useRef(!1), I = i ? l || !!i.closest("form") : !0, [p = !1, P] = A({
23
+ prop: f,
24
+ defaultProp: n,
25
+ onChange: m
26
+ }), q = c.useRef(p);
27
+ return c.useEffect(() => {
28
+ const o = i == null ? void 0 : i.form;
29
+ if (o) {
30
+ const k = () => P(q.current);
31
+ return o.addEventListener("reset", k), () => o.removeEventListener("reset", k);
192
32
  }
193
- }, [d, x]), /* @__PURE__ */ M(re, { scope: n, state: N, disabled: s, children: [
194
- /* @__PURE__ */ f(
195
- U.button,
33
+ }, [i, P]), /* @__PURE__ */ g(F, { scope: t, state: p, disabled: u, children: [
34
+ /* @__PURE__ */ s(
35
+ S.button,
196
36
  {
197
37
  type: "button",
198
38
  role: "checkbox",
199
- "aria-checked": b(N) ? "mixed" : N,
200
- "aria-required": a,
201
- "data-state": F(N),
202
- "data-disabled": s ? "" : void 0,
203
- disabled: s,
204
- value: l,
205
- ...C,
206
- ref: k,
207
- onKeyDown: O(e.onKeyDown, (h) => {
208
- h.key === "Enter" && h.preventDefault();
39
+ "aria-checked": d(p) ? "mixed" : p,
40
+ "aria-required": h,
41
+ "data-state": M(p),
42
+ "data-disabled": u ? "" : void 0,
43
+ disabled: u,
44
+ value: b,
45
+ ...x,
46
+ ref: v,
47
+ onKeyDown: _(e.onKeyDown, (o) => {
48
+ o.key === "Enter" && o.preventDefault();
209
49
  }),
210
- onClick: O(e.onClick, (h) => {
211
- x((v) => b(v) ? !0 : !v), g && (y.current = h.isPropagationStopped(), y.current || h.stopPropagation());
50
+ onClick: _(e.onClick, (o) => {
51
+ P((k) => d(k) ? !0 : !k), I && (y.current = o.isPropagationStopped(), y.current || o.stopPropagation());
212
52
  })
213
53
  }
214
54
  ),
215
- g && /* @__PURE__ */ f(
216
- ie,
55
+ I && /* @__PURE__ */ s(
56
+ X,
217
57
  {
218
- control: d,
58
+ control: i,
219
59
  bubbles: !y.current,
220
- name: r,
221
- value: l,
222
- checked: N,
223
- required: a,
224
- disabled: s,
225
- form: p,
60
+ name: a,
61
+ value: b,
62
+ checked: p,
63
+ required: h,
64
+ disabled: u,
65
+ form: l,
226
66
  style: { transform: "translateX(-100%)" },
227
- defaultChecked: b(c) ? !1 : c
67
+ defaultChecked: d(n) ? !1 : n
228
68
  }
229
69
  )
230
70
  ] });
231
71
  }
232
72
  );
233
- W.displayName = w;
234
- var L = "CheckboxIndicator", j = i.forwardRef(
235
- (e, t) => {
236
- const { __scopeCheckbox: n, forceMount: r, ...o } = e, c = oe(L, n);
237
- return /* @__PURE__ */ f(_, { present: r || b(c.state) || c.state === !0, children: /* @__PURE__ */ f(
238
- U.span,
73
+ w.displayName = E;
74
+ var N = "CheckboxIndicator", D = c.forwardRef(
75
+ (e, r) => {
76
+ const { __scopeCheckbox: t, forceMount: a, ...f } = e, n = T(N, t);
77
+ return /* @__PURE__ */ s(B, { present: a || d(n.state) || n.state === !0, children: /* @__PURE__ */ s(
78
+ S.span,
239
79
  {
240
- "data-state": F(c.state),
241
- "data-disabled": c.disabled ? "" : void 0,
242
- ...o,
243
- ref: t,
80
+ "data-state": M(n.state),
81
+ "data-disabled": n.disabled ? "" : void 0,
82
+ ...f,
83
+ ref: r,
244
84
  style: { pointerEvents: "none", ...e.style }
245
85
  }
246
86
  ) });
247
87
  }
248
88
  );
249
- j.displayName = L;
250
- var ie = (e) => {
251
- const { control: t, checked: n, bubbles: r = !0, defaultChecked: o, ...c } = e, a = i.useRef(null), s = $(n), l = z(t);
252
- i.useEffect(() => {
253
- const p = a.current, C = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(C, "checked").set;
254
- if (s !== n && m) {
255
- const k = new Event("click", { bubbles: r });
256
- p.indeterminate = b(n), m.call(p, b(n) ? !1 : n), p.dispatchEvent(k);
89
+ D.displayName = N;
90
+ var X = (e) => {
91
+ const { control: r, checked: t, bubbles: a = !0, defaultChecked: f, ...n } = e, h = c.useRef(null), u = L(t), b = H(r);
92
+ c.useEffect(() => {
93
+ const l = h.current, x = window.HTMLInputElement.prototype, C = Object.getOwnPropertyDescriptor(x, "checked").set;
94
+ if (u !== t && C) {
95
+ const v = new Event("click", { bubbles: a });
96
+ l.indeterminate = d(t), C.call(l, d(t) ? !1 : t), l.dispatchEvent(v);
257
97
  }
258
- }, [s, n, r]);
259
- const u = i.useRef(b(n) ? !1 : n);
260
- return /* @__PURE__ */ f(
98
+ }, [u, t, a]);
99
+ const m = c.useRef(d(t) ? !1 : t);
100
+ return /* @__PURE__ */ s(
261
101
  "input",
262
102
  {
263
103
  type: "checkbox",
264
104
  "aria-hidden": !0,
265
- defaultChecked: o ?? u.current,
266
- ...c,
105
+ defaultChecked: f ?? m.current,
106
+ ...n,
267
107
  tabIndex: -1,
268
- ref: a,
108
+ ref: h,
269
109
  style: {
270
110
  ...e.style,
271
- ...l,
111
+ ...b,
272
112
  position: "absolute",
273
113
  pointerEvents: "none",
274
114
  opacity: 0,
@@ -277,25 +117,25 @@ var ie = (e) => {
277
117
  }
278
118
  );
279
119
  };
280
- function b(e) {
120
+ function d(e) {
281
121
  return e === "indeterminate";
282
122
  }
283
- function F(e) {
284
- return b(e) ? "indeterminate" : e ? "checked" : "unchecked";
123
+ function M(e) {
124
+ return d(e) ? "indeterminate" : e ? "checked" : "unchecked";
285
125
  }
286
- var ce = W, se = j;
287
- const P = {
126
+ var U = w, G = D;
127
+ const R = {
288
128
  "rp-checkbox": "_rp-checkbox_11dq0_1",
289
129
  "rp-checkbox-indicator": "_rp-checkbox-indicator_11dq0_18"
290
- }, pe = ({
130
+ }, Y = ({
291
131
  children: e,
292
- value: t,
293
- name: n,
294
- onChange: r
295
- }) => /* @__PURE__ */ M("div", { style: { display: "flex", alignItems: "center", position: "relative" }, children: [
296
- /* @__PURE__ */ f(ce, { className: P["rp-checkbox"], checked: t, id: n, onCheckedChange: r, children: /* @__PURE__ */ f(se, { className: P["rp-checkbox-indicator"], children: /* @__PURE__ */ f(X, {}) }) }),
297
- /* @__PURE__ */ f("label", { className: P["rp-checkbox-label"], htmlFor: n, children: e })
132
+ value: r,
133
+ name: t,
134
+ onChange: a
135
+ }) => /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center", position: "relative" }, children: [
136
+ /* @__PURE__ */ s(U, { className: R["rp-checkbox"], checked: r, id: t, onCheckedChange: a, children: /* @__PURE__ */ s(G, { className: R["rp-checkbox-indicator"], children: /* @__PURE__ */ s(K, {}) }) }),
137
+ /* @__PURE__ */ s("label", { className: R["rp-checkbox-label"], htmlFor: t, children: e })
298
138
  ] });
299
139
  export {
300
- pe as UICheckbox
140
+ Y as UICheckbox
301
141
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as d } from "react/jsx-runtime";
2
- import { R as l, T as c, P as p, C as _ } from "../../index-316854c1.js";
2
+ import { R as l, T as c, P as p, C as _ } from "../../index-4ba3ab9a.js";
3
3
  import { c as A } from "../../clsx-0c6e471a.js";
4
4
  import '../../assets/DropDown.css';const F = "_slideDownAndFade_1000s_1", w = "_slideLeftAndFade_1000s_1", m = "_slideUpAndFade_1000s_1", f = "_slideRightAndFade_1000s_1", g = {
5
5
  "rp-dropdown-content": "_rp-dropdown-content_1000s_1",
@@ -1,6 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import { L as p } from "../../RPDefaultLayout-651c2426.js";
2
+ import { L as i } from "../../RPDefaultLayout-79c7577a.js";
3
3
  import "../../clsx-0c6e471a.js";
4
+ import "../../contexts/LocalizationContext.js";
4
5
  export {
5
- p as default
6
+ i as default
6
7
  };