@ogcio/design-system-react 1.17.2 → 1.18.1

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.
@@ -1,22 +1,4 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { ButtonAppearance, ButtonSize } from '../button/types.js';
3
- type ButtonGroupItemProps = PropsWithChildren<{
4
- value: string;
5
- role?: string;
6
- 'aria-checked'?: boolean;
7
- 'aria-label'?: string;
8
- }>;
1
+ import { FC } from 'react';
2
+ import { ButtonGroupItemProps, ButtonGroupProps } from './types.js';
9
3
  export declare const ButtonGroupItem: FC<ButtonGroupItemProps>;
10
- type ButtonGroupProps = PropsWithChildren<{
11
- name: string;
12
- size?: ButtonSize;
13
- appearance?: ButtonAppearance;
14
- onChange?: (value: string) => void;
15
- defaultValue?: string;
16
- value?: string;
17
- role?: string;
18
- 'aria-labelledby'?: string;
19
- 'aria-describedby'?: string;
20
- }>;
21
4
  export declare const ButtonGroup: FC<ButtonGroupProps>;
22
- export {};
@@ -1,92 +1,98 @@
1
1
  "use client";
2
- import { jsx as f } from "react/jsx-runtime";
3
- import { createContext as x, useState as B, useEffect as G, useContext as V } from "react";
4
- import { Button as k } from "../button/button.js";
5
- import { useDomId as S } from "../hooks/use-dom-id.js";
6
- const I = x(
2
+ import { jsx as y } from "react/jsx-runtime";
3
+ import { createContext as G, useState as V, useEffect as k, useContext as S } from "react";
4
+ import { Button as w } from "../button/button.js";
5
+ import { cn as E } from "../cn.js";
6
+ import { useDomId as $ } from "../hooks/use-dom-id.js";
7
+ const x = G(
7
8
  void 0
8
- ), v = ({
9
+ ), P = ({
9
10
  value: r,
10
11
  children: d,
11
12
  role: s,
12
13
  "aria-checked": e,
13
- "aria-label": a
14
+ "aria-label": a,
15
+ ...t
14
16
  }) => {
15
- const t = V(I);
16
- if (!t)
17
+ const c = S(x);
18
+ if (!c)
17
19
  throw new Error("ButtonGroupItem must be used within a ButtonGroup");
18
20
  const {
19
21
  selectedValue: n,
20
22
  setSelectedValue: l,
21
23
  size: u,
22
24
  onChange: o,
23
- groupId: p,
24
- appearance: i
25
- } = t, c = n === r, m = () => {
25
+ groupId: m,
26
+ appearance: p
27
+ } = c, i = n === r, b = () => {
26
28
  l(r), o == null || o(r);
27
- }, b = `${p}-${r}`;
28
- return /* @__PURE__ */ f(
29
- k,
29
+ }, f = `${m}-${r}`;
30
+ return /* @__PURE__ */ y(
31
+ w,
30
32
  {
31
- variant: c ? "primary" : "secondary",
33
+ variant: i ? "primary" : "secondary",
32
34
  size: u,
33
- appearance: i,
34
- onClick: m,
35
- id: b,
35
+ appearance: p,
36
+ onClick: b,
37
+ id: f,
36
38
  role: s || "radio",
37
- "aria-checked": e === void 0 ? c : e,
39
+ "aria-checked": e === void 0 ? i : e,
38
40
  "aria-label": a,
39
41
  type: "button",
42
+ ...t,
40
43
  children: d
41
44
  }
42
45
  );
43
- }, z = ({
46
+ }, q = ({
44
47
  name: r,
45
48
  size: d = "medium",
46
49
  appearance: s = "dark",
47
50
  onChange: e,
48
51
  defaultValue: a,
49
52
  value: t,
50
- children: n,
51
- role: l,
52
- "aria-labelledby": u,
53
- "aria-describedby": o
53
+ children: c,
54
+ role: n,
55
+ "aria-labelledby": l,
56
+ "aria-describedby": u,
57
+ className: o,
58
+ ...m
54
59
  }) => {
55
- const [p, i] = B(
60
+ const [p, i] = V(
56
61
  a
57
- ), c = t === void 0 ? p : t;
58
- G(() => {
62
+ ), b = t === void 0 ? p : t;
63
+ k(() => {
59
64
  t !== void 0 && i(t);
60
65
  }, [t]);
61
- const m = (y) => {
62
- t === void 0 && i(y), e == null || e(y);
63
- }, b = S();
64
- return /* @__PURE__ */ f(
65
- I.Provider,
66
+ const f = (I) => {
67
+ t === void 0 && i(I), e == null || e(I);
68
+ }, B = $();
69
+ return /* @__PURE__ */ y(
70
+ x.Provider,
66
71
  {
67
72
  value: {
68
- selectedValue: c,
69
- setSelectedValue: m,
73
+ selectedValue: b,
74
+ setSelectedValue: f,
70
75
  name: r,
71
76
  size: d,
72
77
  onChange: e,
73
- groupId: b,
74
- appearance: s
78
+ groupId: B,
79
+ appearance: s,
80
+ ...m
75
81
  },
76
- children: /* @__PURE__ */ f(
82
+ children: /* @__PURE__ */ y(
77
83
  "div",
78
84
  {
79
- className: "gi-btn-group",
80
- role: l || "radiogroup",
81
- "aria-labelledby": u,
82
- "aria-describedby": o,
83
- children: n
85
+ className: E("gi-btn-group", o),
86
+ role: n || "radiogroup",
87
+ "aria-labelledby": l,
88
+ "aria-describedby": u,
89
+ children: c
84
90
  }
85
91
  )
86
92
  }
87
93
  );
88
94
  };
89
95
  export {
90
- z as ButtonGroup,
91
- v as ButtonGroupItem
96
+ q as ButtonGroup,
97
+ P as ButtonGroupItem
92
98
  };
@@ -0,0 +1,29 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ButtonAppearance, ButtonSize } from '../button/types.js';
3
+ export type ButtonGroupProps = PropsWithChildren<{
4
+ name: string;
5
+ size?: ButtonSize;
6
+ appearance?: ButtonAppearance;
7
+ onChange?: (value: string) => void;
8
+ defaultValue?: string;
9
+ value?: string;
10
+ role?: string;
11
+ 'aria-labelledby'?: string;
12
+ 'aria-describedby'?: string;
13
+ className?: string;
14
+ }>;
15
+ export type ButtonGroupItemProps = PropsWithChildren<{
16
+ value: string;
17
+ role?: string;
18
+ 'aria-checked'?: boolean;
19
+ 'aria-label'?: string;
20
+ }>;
21
+ export type ButtonGroupContextType = {
22
+ selectedValue?: string;
23
+ setSelectedValue: (value: string) => void;
24
+ name: string;
25
+ size: ButtonSize;
26
+ appearance?: ButtonAppearance;
27
+ onChange?: (value: string) => void;
28
+ groupId: string;
29
+ };
@@ -0,0 +1 @@
1
+
@@ -2,8 +2,9 @@ import { default as React } from 'react';
2
2
  interface DataTableFooterTypeProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  children: React.ReactNode;
4
4
  }
5
- interface DataTableFooterProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ interface DataTableFooterProps extends React.HTMLAttributes<HTMLDivElement | HTMLTableSectionElement> {
6
6
  children?: React.ReactNode;
7
+ standalone?: boolean;
7
8
  }
8
9
  export type { DataTableFooterProps, DataTableFooterTypeProps };
9
10
  export declare const DataTableFooterStart: React.FC<DataTableFooterTypeProps>;
@@ -1,66 +1,66 @@
1
- import { jsx as s, jsxs as x } from "react/jsx-runtime";
2
- import l from "react";
3
- import { cn as i } from "../cn.js";
4
- const o = (e, t) => l.isValidElement(e) && e.type === t, r = (e, t, n) => e ? /* @__PURE__ */ s(
1
+ import { jsx as a, jsxs as E } from "react/jsx-runtime";
2
+ import i from "react";
3
+ import { cn as o } from "../cn.js";
4
+ const r = (e, t) => i.isValidElement(e) && e.type === t, l = (e, t, s) => e ? /* @__PURE__ */ a(
5
5
  "div",
6
6
  {
7
- className: i(
7
+ className: o(
8
8
  t,
9
- n,
9
+ s,
10
10
  e.props.className
11
11
  ),
12
12
  style: e.props.style,
13
13
  children: e.props.children
14
14
  }
15
- ) : null, y = ({
15
+ ) : null, T = ({
16
16
  children: e,
17
17
  ...t
18
- }) => /* @__PURE__ */ s("div", { ...t, children: e });
19
- y.displayName = "DataTableFooterStart";
20
- const F = ({
18
+ }) => /* @__PURE__ */ a("div", { ...t, children: e });
19
+ T.displayName = "DataTableFooterStart";
20
+ const h = ({
21
21
  children: e,
22
22
  ...t
23
- }) => /* @__PURE__ */ s("div", { ...t, children: e });
24
- F.displayName = "DataTableFooterCenter";
25
- const T = ({
23
+ }) => /* @__PURE__ */ a("div", { ...t, children: e });
24
+ h.displayName = "DataTableFooterCenter";
25
+ const D = ({
26
26
  children: e,
27
27
  ...t
28
- }) => /* @__PURE__ */ s("div", { ...t, children: e });
29
- T.displayName = "DataTableFooterEnd";
30
- const E = ({
28
+ }) => /* @__PURE__ */ a("div", { ...t, children: e });
29
+ D.displayName = "DataTableFooterEnd";
30
+ const v = ({
31
31
  children: e,
32
32
  className: t,
33
- ...n
33
+ standalone: s = !1,
34
+ ...c
34
35
  }) => {
35
- const D = l.useMemo(() => {
36
- let f = null, u = null, b = null;
37
- return l.Children.forEach(e, (a) => {
38
- o(a, y) ? f = a : o(a, F) ? u = a : o(a, T) && (b = a);
39
- }), { start: f, center: u, end: b };
40
- }, [e]), { start: c, center: d, end: m } = D, p = !!!c && !!!d && !!m, g = "gi-grow gi-basis-0 gi-min-w-0", C = `${g} gi-text-center`, S = i("gi-min-w-0", {
41
- "gi-basis-1/2 gi-text-right": !p
42
- });
43
- return /* @__PURE__ */ x(
36
+ const S = i.useMemo(() => {
37
+ let g = null, y = null, F = null;
38
+ return i.Children.forEach(e, (n) => {
39
+ r(n, T) ? g = n : r(n, h) ? y = n : r(n, D) && (F = n);
40
+ }), { start: g, center: y, end: F };
41
+ }, [e]), { start: d, center: p, end: m } = S, f = !!!d && !!!p && !!m, b = "gi-data-table-footer-base", C = `${b} gi-text-center`, N = o("gi-min-w-0", {
42
+ "gi-basis-1/2 gi-text-right": !f
43
+ }), u = /* @__PURE__ */ E(
44
44
  "div",
45
45
  {
46
- ...n,
47
- className: i(
48
- "gi-flex gi-flex-row gi-w-full gi-items-center gi-py-2",
49
- p ? "gi-justify-end" : "gi-gap-2",
46
+ className: o(
47
+ "gi-data-table-footer",
48
+ f ? "gi-justify-end" : "gi-gap-2",
50
49
  t
51
50
  ),
52
51
  children: [
53
- r(c, g),
54
- r(d, C),
55
- r(m, S)
52
+ l(d, b),
53
+ l(p, C),
54
+ l(m, N)
56
55
  ]
57
56
  }
58
57
  );
58
+ return s ? /* @__PURE__ */ a("div", { ...c, className: o("gi-w-full gi-p-2", t), children: u }) : /* @__PURE__ */ a("tfoot", { ...c, children: /* @__PURE__ */ a("tr", { children: /* @__PURE__ */ a("td", { colSpan: 999, className: "gi-p-2", children: u }) }) });
59
59
  };
60
- E.displayName = "DataTableFooter";
60
+ v.displayName = "DataTableFooter";
61
61
  export {
62
- E as DataTableFooter,
63
- F as DataTableFooterCenter,
64
- T as DataTableFooterEnd,
65
- y as DataTableFooterStart
62
+ v as DataTableFooter,
63
+ h as DataTableFooterCenter,
64
+ D as DataTableFooterEnd,
65
+ T as DataTableFooterStart
66
66
  };
@@ -1,8 +1,8 @@
1
- import { default as React } from 'react';
2
- interface DataTableHeaderTypeProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ interface DataTableHeaderTypeProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children: React.ReactNode;
4
4
  }
5
- interface DataTableHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ interface DataTableHeaderProps extends HTMLAttributes<HTMLDivElement> {
6
6
  children?: React.ReactNode;
7
7
  showHeader?: boolean;
8
8
  showFilter?: boolean;
@@ -1,90 +1,87 @@
1
- import { jsxs as o, jsx as l } from "react/jsx-runtime";
2
- import p from "react";
3
- import { Button as A } from "../button/button.js";
4
- import { Chip as C } from "../chip/chip.js";
5
- import { cn as i } from "../cn.js";
6
- import { Heading as L } from "../heading/heading.js";
7
- import { translate as N } from "../i18n/utility.js";
8
- const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
1
+ import { jsxs as c, jsx as l } from "react/jsx-runtime";
2
+ import { useMemo as A, Children as C, isValidElement as x } from "react";
3
+ import { Button as L } from "../button/button.js";
4
+ import { Chip as S } from "../chip/chip.js";
5
+ import { cn as r } from "../cn.js";
6
+ import { Heading as V } from "../heading/heading.js";
7
+ import { translate as h } from "../i18n/utility.js";
8
+ const d = (e, a) => x(e) && e.type === a, g = ({
9
9
  children: e,
10
10
  className: a,
11
11
  showHeader: t = !0,
12
- showFilter: d = !0,
13
- ...c
12
+ showFilter: s = !0,
13
+ ...o
14
14
  }) => {
15
- const { search: n, filter: O, filterList: b, actions: P } = p.useMemo(() => {
16
- let u = null, y = null, H = null, D = null;
17
- return p.Children.forEach(e, (r) => {
18
- s(r, m) ? u = r : s(r, f) ? y = r : s(r, T) ? H = r : s(r, g) && (D = r);
19
- }), { search: u, filter: y, filterList: H, actions: D };
15
+ const { search: n, filter: O, filterList: f, actions: P } = A(() => {
16
+ let u = null, H = null, y = null, D = null;
17
+ return C.forEach(e, (i) => {
18
+ d(i, p) ? u = i : d(i, m) ? H = i : d(i, T) ? y = i : d(i, b) && (D = i);
19
+ }), { search: u, filter: H, filterList: y, actions: D };
20
20
  }, [e]);
21
- return /* @__PURE__ */ o(
22
- "div",
23
- {
24
- ...c,
25
- className: i(
26
- "gi-flex gi-flex-wrap gi-items-center gi-w-full gi-gap-4 gi-mb-2",
27
- a
28
- ),
29
- children: [
30
- t && /* @__PURE__ */ o("div", { className: "gi-flex gi-flex-1 gi-gap-4 gi-items-center", children: [
31
- n,
32
- O,
33
- P
34
- ] }),
35
- b && d && /* @__PURE__ */ l("div", { className: "gi-w-full", children: b })
36
- ]
37
- }
38
- );
39
- }, m = ({
21
+ return /* @__PURE__ */ c("div", { ...o, className: r("gi-data-table-header", a), children: [
22
+ t && /* @__PURE__ */ c("div", { className: "gi-flex gi-flex-1 gi-gap-4 gi-items-center", children: [
23
+ n,
24
+ O,
25
+ P
26
+ ] }),
27
+ f && s && /* @__PURE__ */ l("div", { className: "gi-w-full", children: f })
28
+ ] });
29
+ }, p = ({
40
30
  children: e,
41
31
  className: a,
42
32
  ...t
43
- }) => /* @__PURE__ */ l("div", { className: i("gi-flex gi-flex-1", a), ...t, children: e }), g = ({
33
+ }) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-search", a), ...t, children: e }), b = ({
44
34
  children: e,
45
35
  className: a,
46
36
  ...t
47
- }) => /* @__PURE__ */ l(
48
- "div",
49
- {
50
- className: i("gi-flex gi-items-center gi-ml-auto gi-gap-4", a),
51
- ...t,
52
- children: e
53
- }
54
- ), f = ({
37
+ }) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-actions", a), ...t, children: e }), m = ({
55
38
  children: e,
56
39
  className: a,
57
40
  ...t
58
- }) => /* @__PURE__ */ l("div", { className: i("gi-flex gi-items-center", a), ...t, children: e }), x = ({
41
+ }) => /* @__PURE__ */ l("div", { className: r("gi-data-table-header-filter", a), ...t, children: e }), N = ({
59
42
  children: e,
60
43
  className: a,
61
44
  ...t
62
- }) => /* @__PURE__ */ l("div", { className: i("gi-border-b gi-px-6 gi-py-4", a), ...t, children: /* @__PURE__ */ l(L, { as: "h6", children: e }) }), v = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
45
+ }) => /* @__PURE__ */ l(
46
+ "div",
47
+ {
48
+ className: r("gi-data-table-header-filter-title", a),
49
+ ...t,
50
+ children: /* @__PURE__ */ l(V, { as: "h6", children: e })
51
+ }
52
+ ), F = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
53
+ "div",
54
+ {
55
+ className: r("gi-data-table-header-filter-content", a),
56
+ ...t,
57
+ children: e
58
+ }
59
+ ), v = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
63
60
  "div",
64
61
  {
65
- className: i("gi-flex gi-flex-col gi-gap-2 gi-px-6", a),
62
+ className: r("gi-data-table-header-filter-content-title", a),
66
63
  ...t,
67
64
  children: e
68
65
  }
69
- ), h = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l("div", { className: i("gi-py-2 gi-font-medium", a), ...t, children: e }), j = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
66
+ ), j = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l(
70
67
  "div",
71
68
  {
72
- className: i("gi-flex gi-justify-end gi-gap-2 gi-p-6", a),
69
+ className: r("gi-data-table-header-filter-actions", a),
73
70
  ...t,
74
71
  children: e
75
72
  }
76
- ), T = ({ filters: e, onRemove: a, onClear: t, className: d, ...c }) => !e || e.length === 0 ? null : /* @__PURE__ */ o(
73
+ ), T = ({ filters: e, onRemove: a, onClear: t, className: s, ...o }) => !e || e.length === 0 ? null : /* @__PURE__ */ c(
77
74
  "div",
78
75
  {
79
- className: i("gi-flex gi-items-center gi-gap-2 gi-flex-wrap", d),
80
- ...c,
76
+ className: r("gi-data-table-header-filter-list", s),
77
+ ...o,
81
78
  children: [
82
- /* @__PURE__ */ l("span", { className: "gi-text-sm", children: N("dataTableHeader.filtersApplied", {
79
+ /* @__PURE__ */ l("span", { className: "gi-text-sm", children: h("dataTableHeader.filtersApplied", {
83
80
  length: e.length,
84
81
  defaultValue: `Filters applied ${e.length}:`
85
82
  }) }),
86
83
  e.map((n) => /* @__PURE__ */ l(
87
- C,
84
+ S,
88
85
  {
89
86
  onClose: () => a == null ? void 0 : a(n.id),
90
87
  label: n.label
@@ -92,7 +89,7 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
92
89
  n.id
93
90
  )),
94
91
  /* @__PURE__ */ l(
95
- A,
92
+ L,
96
93
  {
97
94
  appearance: "dark",
98
95
  size: "medium",
@@ -100,7 +97,7 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
100
97
  onClick: () => {
101
98
  t == null || t();
102
99
  },
103
- children: N("dataTableHeader.clearAllFilters", {
100
+ children: h("dataTableHeader.clearAllFilters", {
104
101
  defaultValue: "Clear all filters"
105
102
  })
106
103
  }
@@ -108,50 +105,50 @@ const s = (e, a) => p.isValidElement(e) && e.type === a, F = ({
108
105
  ]
109
106
  }
110
107
  );
111
- F.displayName = "DataTableHeader";
112
- m.displayName = "DataTableHeaderSearch";
113
- g.displayName = "DataTableHeaderActions";
114
- f.displayName = "DataTableHeaderFilter";
108
+ g.displayName = "DataTableHeader";
109
+ p.displayName = "DataTableHeaderSearch";
110
+ b.displayName = "DataTableHeaderActions";
111
+ m.displayName = "DataTableHeaderFilter";
115
112
  T.displayName = "DataTableHeaderFilterList";
116
- x.displayName = "DataTableHeaderFilterTitle";
117
- v.displayName = "DataTableHeaderFilterContent";
118
- h.displayName = "DataTableHeaderFilterContentTitle";
113
+ N.displayName = "DataTableHeaderFilterTitle";
114
+ F.displayName = "DataTableHeaderFilterContent";
115
+ v.displayName = "DataTableHeaderFilterContentTitle";
119
116
  j.displayName = "DataTableHeaderFilterActions";
120
- Object.defineProperty(F, "componentType", {
117
+ Object.defineProperty(g, "componentType", {
121
118
  value: "DataTableHeader"
122
119
  });
123
- Object.defineProperty(m, "componentType", {
120
+ Object.defineProperty(p, "componentType", {
124
121
  value: "DataTableHeaderSearch"
125
122
  });
126
- Object.defineProperty(g, "componentType", {
123
+ Object.defineProperty(b, "componentType", {
127
124
  value: "DataTableHeaderActions"
128
125
  });
129
- Object.defineProperty(f, "componentType", {
126
+ Object.defineProperty(m, "componentType", {
130
127
  value: "DataTableHeaderFilter"
131
128
  });
132
129
  Object.defineProperty(T, "componentType", {
133
130
  value: "DataTableHeaderFilterList"
134
131
  });
135
- Object.defineProperty(x, "componentType", {
132
+ Object.defineProperty(N, "componentType", {
136
133
  value: "DataTableHeaderFilterTitle"
137
134
  });
138
- Object.defineProperty(v, "componentType", {
135
+ Object.defineProperty(F, "componentType", {
139
136
  value: "DataTableHeaderFilterContent"
140
137
  });
141
- Object.defineProperty(h, "componentType", {
138
+ Object.defineProperty(v, "componentType", {
142
139
  value: "DataTableHeaderFilterContentTitle"
143
140
  });
144
141
  Object.defineProperty(j, "componentType", {
145
142
  value: "DataTableHeaderFilterActions"
146
143
  });
147
144
  export {
148
- F as DataTableHeader,
149
- g as DataTableHeaderActions,
150
- f as DataTableHeaderFilter,
145
+ g as DataTableHeader,
146
+ b as DataTableHeaderActions,
147
+ m as DataTableHeaderFilter,
151
148
  j as DataTableHeaderFilterActions,
152
- v as DataTableHeaderFilterContent,
153
- h as DataTableHeaderFilterContentTitle,
149
+ F as DataTableHeaderFilterContent,
150
+ v as DataTableHeaderFilterContentTitle,
154
151
  T as DataTableHeaderFilterList,
155
- x as DataTableHeaderFilterTitle,
156
- m as DataTableHeaderSearch
152
+ N as DataTableHeaderFilterTitle,
153
+ p as DataTableHeaderSearch
157
154
  };
@@ -9,5 +9,4 @@ type MenuItemAccordionProps = {
9
9
  };
10
10
  export declare const MenuItemAccordion: ({ index, item }: MenuItemAccordionProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export declare const MobileHeaderMenuItems: ({ items, secondaryLinks, }: MobileHeaderMenuProps) => import("react/jsx-runtime").JSX.Element;
12
- declare function HeaderMenu({ ...props }: MobileHeaderMenuProps): import("react/jsx-runtime").JSX.Element;
13
- export default HeaderMenu;
12
+ export {};