@cognite/aura 0.3.2 → 0.3.3

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 (108) hide show
  1. package/DESIGN.md +134 -5
  2. package/README.md +24 -3
  3. package/dist/components/index.d.ts +2 -0
  4. package/dist/components/index.js +58 -327
  5. package/dist/components/ui/core/accordion/accordion.js +79 -114
  6. package/dist/components/ui/core/action-toolbar/action-toolbar.js +108 -176
  7. package/dist/components/ui/core/alert/alert.js +158 -206
  8. package/dist/components/ui/core/avatar/avatar.js +64 -90
  9. package/dist/components/ui/core/badge/badge.js +73 -108
  10. package/dist/components/ui/core/banner/banner.js +146 -215
  11. package/dist/components/ui/core/breadcrumb/breadcrumb.js +105 -200
  12. package/dist/components/ui/core/button/button.js +47 -52
  13. package/dist/components/ui/core/button-group/button-group.js +40 -79
  14. package/dist/components/ui/core/card/card.js +102 -185
  15. package/dist/components/ui/core/chart/chart.js +116 -206
  16. package/dist/components/ui/core/chart/index.js +2 -8
  17. package/dist/components/ui/core/checkbox/checkbox.js +67 -132
  18. package/dist/components/ui/core/checkbox/checkbox.metadata.js +7 -7
  19. package/dist/components/ui/core/code-block/code-block.d.ts +1 -1
  20. package/dist/components/ui/core/code-block/code-block.js +179 -267
  21. package/dist/components/ui/core/collapsible/collapsible.js +29 -49
  22. package/dist/components/ui/core/combobox/combobox.js +41 -0
  23. package/dist/components/ui/core/command/command.js +85 -150
  24. package/dist/components/ui/core/count/count.js +21 -32
  25. package/dist/components/ui/core/date-time-pickers/date-picker/date-picker.js +60 -72
  26. package/dist/components/ui/core/date-time-pickers/date-picker/use-date-picker.js +36 -51
  27. package/dist/components/ui/core/date-time-pickers/date-range-picker/date-range-picker.js +63 -87
  28. package/dist/components/ui/core/date-time-pickers/date-range-picker/use-date-range-picker.js +60 -68
  29. package/dist/components/ui/core/date-time-pickers/date-time-range-picker/date-time-range-picker.js +118 -174
  30. package/dist/components/ui/core/date-time-pickers/date-time-range-picker/use-date-time-range-picker.js +104 -145
  31. package/dist/components/ui/core/date-time-pickers/index.js +5 -10
  32. package/dist/components/ui/core/date-time-pickers/shared/am-pm-scroll/am-pm-scroll.js +42 -56
  33. package/dist/components/ui/core/date-time-pickers/shared/calendar/calendar.js +66 -117
  34. package/dist/components/ui/core/date-time-pickers/shared/calendar-header/calendar-header.js +63 -93
  35. package/dist/components/ui/core/date-time-pickers/shared/date-time-input/date-time-input.js +64 -98
  36. package/dist/components/ui/core/date-time-pickers/shared/date-time-input/range-input-display.js +38 -67
  37. package/dist/components/ui/core/date-time-pickers/shared/hooks/use-popover-state.js +23 -23
  38. package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-date-state.js +52 -62
  39. package/dist/components/ui/core/date-time-pickers/shared/hooks/use-range-step-manager.js +18 -18
  40. package/dist/components/ui/core/date-time-pickers/shared/hooks/use-single-date-state.js +24 -31
  41. package/dist/components/ui/core/date-time-pickers/shared/hooks/use-time-state.js +24 -33
  42. package/dist/components/ui/core/date-time-pickers/shared/scroll-cell-classes.js +4 -7
  43. package/dist/components/ui/core/date-time-pickers/shared/shortcuts-panel/shortcuts-panel.js +17 -31
  44. package/dist/components/ui/core/date-time-pickers/shared/time-picker-panel/time-picker-panel.js +40 -40
  45. package/dist/components/ui/core/date-time-pickers/shared/time-picker-scroll/time-picker-scroll.js +33 -50
  46. package/dist/components/ui/core/date-time-pickers/time-picker/time-picker.js +78 -99
  47. package/dist/components/ui/core/date-time-pickers/time-picker/use-time-picker.js +41 -63
  48. package/dist/components/ui/core/date-time-pickers/utils/calendar-utils.js +39 -52
  49. package/dist/components/ui/core/date-time-pickers/utils/time-utils.js +7 -15
  50. package/dist/components/ui/core/dialog/dialog.js +82 -155
  51. package/dist/components/ui/core/dropdown-menu/dropdown-menu.d.ts +2 -2
  52. package/dist/components/ui/core/dropdown-menu/dropdown-menu.js +150 -248
  53. package/dist/components/ui/core/empty-state/empty-state.context.js +5 -8
  54. package/dist/components/ui/core/empty-state/empty-state.js +86 -138
  55. package/dist/components/ui/core/helper-text/helper-text.js +37 -65
  56. package/dist/components/ui/core/hover-card/hover-card.js +54 -80
  57. package/dist/components/ui/core/inline-citation/inline-citation.js +98 -181
  58. package/dist/components/ui/core/input/input.js +12 -27
  59. package/dist/components/ui/core/input-group/input-group.js +76 -173
  60. package/dist/components/ui/core/kbd/kbd.js +20 -36
  61. package/dist/components/ui/core/label/label.js +26 -43
  62. package/dist/components/ui/core/loader/loader.js +80 -117
  63. package/dist/components/ui/core/message/message-response-default-streamdown-controls.js +12 -12
  64. package/dist/components/ui/core/message/message.d.ts +2 -2
  65. package/dist/components/ui/core/message/message.js +316 -542
  66. package/dist/components/ui/core/pagination/pagination-size-context.js +5 -6
  67. package/dist/components/ui/core/pagination/pagination-teleport.js +86 -106
  68. package/dist/components/ui/core/pagination/pagination-teleport.utils.js +6 -6
  69. package/dist/components/ui/core/pagination/pagination.js +231 -334
  70. package/dist/components/ui/core/popover/popover.js +90 -157
  71. package/dist/components/ui/core/progress/progress.js +36 -61
  72. package/dist/components/ui/core/prompt-input/prompt-input.js +274 -413
  73. package/dist/components/ui/core/radio-group/radio-group.js +58 -113
  74. package/dist/components/ui/core/reasoning/reasoning.js +55 -86
  75. package/dist/components/ui/core/scroll-area/scroll-area.js +41 -71
  76. package/dist/components/ui/core/search/search.js +77 -99
  77. package/dist/components/ui/core/segmented-control/segmented-control.js +110 -167
  78. package/dist/components/ui/core/select/select.js +168 -293
  79. package/dist/components/ui/core/separator/separator.js +13 -23
  80. package/dist/components/ui/core/shimmer/shimmer.d.ts +2 -4
  81. package/dist/components/ui/core/shimmer/shimmer.js +40 -107
  82. package/dist/components/ui/core/skeleton/skeleton.js +13 -18
  83. package/dist/components/ui/core/sonner-toast/sonner-toast.js +54 -47
  84. package/dist/components/ui/core/sources/sources.d.ts +5 -1
  85. package/dist/components/ui/core/sources/sources.js +58 -79
  86. package/dist/components/ui/core/switch/switch.js +62 -0
  87. package/dist/components/ui/core/tabs/tabs.js +149 -223
  88. package/dist/components/ui/core/tabs/tabs.utils.js +6 -8
  89. package/dist/components/ui/core/textarea/textarea.js +13 -27
  90. package/dist/components/ui/core/toggle/toggle.js +55 -74
  91. package/dist/components/ui/core/tool/tool.js +127 -163
  92. package/dist/components/ui/core/tooltip/tooltip.js +47 -86
  93. package/dist/components/ui/core/topbar/topbar.js +106 -190
  94. package/dist/eslint/index.js +5 -10
  95. package/dist/eslint/no-overriding-styles.js +178 -237
  96. package/dist/icons/index.d.ts +1 -0
  97. package/dist/icons/index.js +1 -0
  98. package/dist/lib/highlight-code.d.ts +9 -0
  99. package/dist/lib/highlight-code.js +42 -0
  100. package/dist/lib/portal-container-context.js +8 -9
  101. package/dist/lib/style-scope.js +6 -6
  102. package/dist/lib/use-controllable-state.js +21 -30
  103. package/dist/lib/utils.d.ts +0 -2
  104. package/dist/lib/utils.js +32 -112
  105. package/dist/styles.css +1 -1
  106. package/dist/styles.source.css +23 -0
  107. package/package.json +23 -7
  108. package/dist/components/ui/core/date-time-pickers/shared/constants.js +0 -14
@@ -1,52 +1,39 @@
1
- import r from "dayjs";
2
- import c from "dayjs/plugin/isBetween.js";
3
- import d from "dayjs/plugin/isSameOrBefore.js";
4
- import m from "dayjs/plugin/weekOfYear.js";
5
- import { DAYS_IN_WEEK as u } from "../shared/constants.js";
6
- r.extend(c);
7
- r.extend(d);
8
- r.extend(m);
9
- function p(e, t) {
10
- const n = e, a = n.startOf("month").startOf("week"), i = n.endOf("month").endOf("week"), f = [];
11
- let s = a;
12
- for (; s.isSameOrBefore(i, "day"); )
13
- f.push(s), s = s.add(1, "day");
14
- return f;
15
- }
16
- function g(e, t, n) {
17
- return !t || !n || !e.isValid() || !t.isValid() || !n.isValid() || t.isAfter(n, "day") ? !1 : e.isBetween(t, n, "day", "[]");
18
- }
19
- function b(e, t) {
20
- return e.month() !== t.month();
21
- }
22
- function M(e, t) {
23
- return e.isSame(r(), "day");
24
- }
25
- function S(e, t) {
26
- const a = r().startOf("week");
27
- return Array.from({ length: u }, (l, i) => a.add(i, "day").format("dd"));
28
- }
29
- function y(e) {
30
- return e.week();
31
- }
32
- function W(e) {
33
- const t = [];
34
- for (let n = 0; n < e.length; n += u) {
35
- const o = e[n];
36
- o && t.push(y(o));
37
- }
38
- return t;
39
- }
40
- function N(e, t) {
41
- return !e || !t ? !1 : e.isSame(t, "day");
42
- }
43
- export {
44
- p as getCalendarDays,
45
- y as getWeekNumber,
46
- W as getWeekNumbers,
47
- S as getWeekdayNames,
48
- g as isDateInRange,
49
- b as isOutsideMonth,
50
- N as isSameDay,
51
- M as isToday
52
- };
1
+ import e from "dayjs";
2
+ import t from "dayjs/plugin/isBetween.js";
3
+ import n from "dayjs/plugin/isSameOrBefore.js";
4
+ import r from "dayjs/plugin/weekOfYear.js";
5
+ e.extend(t), e.extend(n), e.extend(r);
6
+ function i(e, t) {
7
+ let n = t ? e.locale(t) : e, r = n.startOf("month").startOf("week"), i = n.endOf("month").endOf("week"), a = [], o = r;
8
+ for (; o.isSameOrBefore(i, "day");) a.push(o), o = o.add(1, "day");
9
+ return a;
10
+ }
11
+ function a(e, t, n) {
12
+ return !t || !n || !e.isValid() || !t.isValid() || !n.isValid() || t.isAfter(n, "day") ? !1 : e.isBetween(t, n, "day", "[]");
13
+ }
14
+ function o(e, t) {
15
+ return e.month() !== t.month();
16
+ }
17
+ function s(t, n) {
18
+ return t.isSame(n ?? e(), "day");
19
+ }
20
+ function c(t, n) {
21
+ let r = n || e(), i = (t ? r.locale(t) : r).startOf("week");
22
+ return Array.from({ length: 7 }, (e, t) => i.add(t, "day").format("dd"));
23
+ }
24
+ function l(e) {
25
+ return e.week();
26
+ }
27
+ function u(e) {
28
+ let t = [];
29
+ for (let n = 0; n < e.length; n += 7) {
30
+ let r = e[n];
31
+ r && t.push(l(r));
32
+ }
33
+ return t;
34
+ }
35
+ function d(e, t) {
36
+ return !e || !t ? !1 : e.isSame(t, "day");
37
+ }
38
+ //#endregion
39
+ export { i as getCalendarDays, l as getWeekNumber, u as getWeekNumbers, c as getWeekdayNames, a as isDateInRange, o as isOutsideMonth, d as isSameDay, s as isToday };
@@ -1,15 +1,7 @@
1
- import m from "dayjs";
2
- import u from "dayjs/plugin/customParseFormat.js";
3
- import { HOURS_IN_12H as t, HOURS_IN_DAY as f, MINUTES_IN_HOUR as s, MINUTE_INCREMENT as o } from "../shared/constants.js";
4
- m.extend(u);
5
- const c = (r = "24h") => r === "12h" ? Array.from({ length: t }, (e, n) => n + 1) : Array.from({ length: f }, (e, n) => n), M = () => Array.from(
6
- { length: s / o },
7
- (r, e) => e * o
8
- ), a = (r) => r >= t ? "PM" : "AM", A = (r, e) => e === "PM" && r < t ? r + t : e === "AM" && r === t ? 0 : r, N = (r) => r === 0 ? t : r > t ? r - t : r;
9
- export {
10
- A as convert12HourTo24Hour,
11
- N as convert24HourTo12Hour,
12
- c as generateHours,
13
- M as generateMinutes,
14
- a as getAmPmFromHour
15
- };
1
+ import e from "dayjs";
2
+ import t from "dayjs/plugin/customParseFormat.js";
3
+ //#region libs/aura/src/components/ui/core/date-time-pickers/utils/time-utils.ts
4
+ e.extend(t);
5
+ var n = (e = "24h") => e === "12h" ? Array.from({ length: 12 }, (e, t) => t + 1) : Array.from({ length: 24 }, (e, t) => t), r = () => Array.from({ length: 60 / 1 }, (e, t) => t * 1), i = (e) => e >= 12 ? "PM" : "AM", a = (e, t) => t === "PM" && e < 12 ? e + 12 : t === "AM" && e === 12 ? 0 : e, o = (e) => e === 0 ? 12 : e > 12 ? e - 12 : e;
6
+ //#endregion
7
+ export { a as convert12HourTo24Hour, o as convert24HourTo12Hour, n as generateHours, r as generateMinutes, i as getAmPmFromHour };
@@ -1,165 +1,92 @@
1
- import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
- import { Dialog as e } from "@base-ui/react/dialog";
3
- import { IconX as d } from "@tabler/icons-react";
4
- import { usePortalContainer as c } from "../../../../lib/portal-container-context.js";
5
- import { cn as i } from "../../../../lib/utils.js";
6
- import { Button as g } from "../button/button.js";
7
- function b({ ...t }) {
8
- return /* @__PURE__ */ a(e.Root, { "data-slot": "dialog", ...t });
1
+ import { cn as e } from "../../../../lib/utils.js";
2
+ import { Button as t } from "../button/button.js";
3
+ import { usePortalContainer as n } from "../../../../lib/portal-container-context.js";
4
+ import { IconX as r } from "@tabler/icons-react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Dialog as o } from "@base-ui/react/dialog";
7
+ //#region libs/aura/src/components/ui/core/dialog/dialog.tsx
8
+ function s({ ...e }) {
9
+ return /* @__PURE__ */ i(o.Root, {
10
+ "data-slot": "dialog",
11
+ ...e
12
+ });
9
13
  }
10
- function v({
11
- children: t,
12
- ...o
13
- }) {
14
- return /* @__PURE__ */ a(e.Trigger, { "data-slot": "dialog-trigger", ...o, children: t });
14
+ function c({ children: e, ...t }) {
15
+ return /* @__PURE__ */ i(o.Trigger, {
16
+ "data-slot": "dialog-trigger",
17
+ ...t,
18
+ children: e
19
+ });
15
20
  }
16
- function p({ ...t }) {
17
- const o = c();
18
- return /* @__PURE__ */ a(
19
- e.Portal,
20
- {
21
- "data-slot": "dialog-portal",
22
- container: o,
23
- ...t
24
- }
25
- );
21
+ function l({ ...e }) {
22
+ let t = n();
23
+ return /* @__PURE__ */ i(o.Portal, {
24
+ "data-slot": "dialog-portal",
25
+ container: t,
26
+ ...e
27
+ });
26
28
  }
27
- function N({
28
- children: t,
29
- ...o
30
- }) {
31
- return /* @__PURE__ */ a(e.Close, { "data-slot": "dialog-close", ...o, children: t });
29
+ function u({ children: e, ...t }) {
30
+ return /* @__PURE__ */ i(o.Close, {
31
+ "data-slot": "dialog-close",
32
+ ...t,
33
+ children: e
34
+ });
32
35
  }
33
- function u({
34
- className: t,
35
- ...o
36
- }) {
37
- return /* @__PURE__ */ a(
38
- e.Backdrop,
39
- {
40
- "data-slot": "dialog-overlay",
41
- className: i(
42
- "fixed inset-0 z-50 bg-black/50 transition-opacity duration-200 data-open:opacity-100 data-closed:opacity-0",
43
- t
44
- ),
45
- ...o
46
- }
47
- );
36
+ function d({ className: t, ...n }) {
37
+ return /* @__PURE__ */ i(o.Backdrop, {
38
+ "data-slot": "dialog-overlay",
39
+ className: e("fixed inset-0 z-50 bg-black/50 transition-opacity duration-200 data-open:opacity-100 data-closed:opacity-0", t),
40
+ ...n
41
+ });
48
42
  }
49
- function C({
50
- className: t,
51
- children: o,
52
- showCloseButton: r = !0,
53
- closeButtonLabel: n = "Close",
54
- ...s
55
- }) {
56
- return /* @__PURE__ */ l(p, { "data-slot": "dialog-portal", children: [
57
- /* @__PURE__ */ a(u, {}),
58
- /* @__PURE__ */ l(
59
- e.Popup,
60
- {
61
- "data-slot": "dialog-content",
62
- className: i(
63
- "bg-popover-background fixed inset-x-4 top-1/2 z-50 grid -translate-y-1/2 rounded-xl border px-5 py-5 mb-2.5 shadow-xl outline-none transition-opacity duration-200 data-open:opacity-100 data-closed:opacity-0 sm:inset-x-0 sm:left-1/2 sm:w-full sm:max-w-lg sm:-translate-x-1/2",
64
- t
65
- ),
66
- ...s,
67
- children: [
68
- o,
69
- r && /* @__PURE__ */ a(
70
- e.Close,
71
- {
72
- "data-slot": "dialog-close",
73
- render: /* @__PURE__ */ a(
74
- g,
75
- {
76
- variant: "ghost",
77
- size: "icon-sm",
78
- className: "absolute top-5 right-4 opacity-70 hover:opacity-100",
79
- "aria-label": n,
80
- children: /* @__PURE__ */ a(d, { className: "h-4 w-4" })
81
- }
82
- )
83
- }
84
- )
85
- ]
86
- }
87
- )
88
- ] });
43
+ function f({ className: n, children: s, showCloseButton: c = !0, closeButtonLabel: u = "Close", ...f }) {
44
+ return /* @__PURE__ */ a(l, {
45
+ "data-slot": "dialog-portal",
46
+ children: [/* @__PURE__ */ i(d, {}), /* @__PURE__ */ a(o.Popup, {
47
+ "data-slot": "dialog-content",
48
+ className: e("bg-popover-background fixed inset-x-4 top-1/2 z-50 grid -translate-y-1/2 rounded-xl border px-5 py-5 mb-2.5 shadow-xl outline-none transition-opacity duration-200 data-open:opacity-100 data-closed:opacity-0 sm:inset-x-0 sm:left-1/2 sm:w-full sm:max-w-lg sm:-translate-x-1/2", n),
49
+ ...f,
50
+ children: [s, c && /* @__PURE__ */ i(o.Close, {
51
+ "data-slot": "dialog-close",
52
+ render: /* @__PURE__ */ i(t, {
53
+ variant: "ghost",
54
+ size: "icon-sm",
55
+ className: "absolute top-5 right-4 opacity-70 hover:opacity-100",
56
+ "aria-label": u,
57
+ children: /* @__PURE__ */ i(r, { className: "h-4 w-4" })
58
+ })
59
+ })]
60
+ })]
61
+ });
89
62
  }
90
- function k({
91
- className: t,
92
- ...o
93
- }) {
94
- return /* @__PURE__ */ a(
95
- "div",
96
- {
97
- "data-slot": "dialog-header",
98
- className: i(
99
- "flex flex-col gap-2 text-center sm:text-left pb-2",
100
- t
101
- ),
102
- ...o
103
- }
104
- );
63
+ function p({ className: t, ...n }) {
64
+ return /* @__PURE__ */ i("div", {
65
+ "data-slot": "dialog-header",
66
+ className: e("flex flex-col gap-2 text-center sm:text-left pb-2", t),
67
+ ...n
68
+ });
105
69
  }
106
- function w({
107
- className: t,
108
- ...o
109
- }) {
110
- return /* @__PURE__ */ a(
111
- "div",
112
- {
113
- "data-slot": "dialog-footer",
114
- className: i(
115
- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end pt-3",
116
- t
117
- ),
118
- ...o
119
- }
120
- );
70
+ function m({ className: t, ...n }) {
71
+ return /* @__PURE__ */ i("div", {
72
+ "data-slot": "dialog-footer",
73
+ className: e("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end pt-3", t),
74
+ ...n
75
+ });
121
76
  }
122
- function P({
123
- className: t,
124
- ...o
125
- }) {
126
- return /* @__PURE__ */ a(
127
- e.Title,
128
- {
129
- "data-slot": "dialog-title",
130
- className: i(
131
- "text-lg font-medium text-foreground leading-6 tracking-tightest",
132
- t
133
- ),
134
- ...o
135
- }
136
- );
77
+ function h({ className: t, ...n }) {
78
+ return /* @__PURE__ */ i(o.Title, {
79
+ "data-slot": "dialog-title",
80
+ className: e("text-lg font-medium text-foreground leading-6 tracking-tightest", t),
81
+ ...n
82
+ });
137
83
  }
138
- function T({
139
- className: t,
140
- ...o
141
- }) {
142
- return /* @__PURE__ */ a(
143
- e.Description,
144
- {
145
- "data-slot": "dialog-description",
146
- className: i(
147
- "text-muted-foreground text-base font-normal leading-5 tracking-tightest pt-2",
148
- t
149
- ),
150
- ...o
151
- }
152
- );
84
+ function g({ className: t, ...n }) {
85
+ return /* @__PURE__ */ i(o.Description, {
86
+ "data-slot": "dialog-description",
87
+ className: e("text-muted-foreground text-base font-normal leading-5 tracking-tightest pt-2", t),
88
+ ...n
89
+ });
153
90
  }
154
- export {
155
- b as Dialog,
156
- N as DialogClose,
157
- C as DialogContent,
158
- T as DialogDescription,
159
- w as DialogFooter,
160
- k as DialogHeader,
161
- u as DialogOverlay,
162
- p as DialogPortal,
163
- P as DialogTitle,
164
- v as DialogTrigger
165
- };
91
+ //#endregion
92
+ export { s as Dialog, u as DialogClose, f as DialogContent, g as DialogDescription, m as DialogFooter, p as DialogHeader, d as DialogOverlay, l as DialogPortal, h as DialogTitle, c as DialogTrigger };
@@ -2,7 +2,7 @@ import { ComponentProps, ComponentRef, ForwardRefExoticComponent, HTMLAttributes
2
2
  import { Menu as MenuPrimitive } from '@base-ui/react/menu';
3
3
  declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): ReactNode;
4
4
  declare function DropdownMenuPortal({ container, ...props }: MenuPrimitive.Portal.Props): ReactNode;
5
- declare function DropdownMenuTrigger({ children, ...props }: MenuPrimitive.Trigger.Props): ReactNode;
5
+ declare const DropdownMenuTrigger: ForwardRefExoticComponent<Omit<MenuPrimitive.Trigger.Props, 'ref'> & RefAttributes<HTMLButtonElement>>;
6
6
  declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, container, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> & {
7
7
  container?: MenuPrimitive.Portal.Props['container'];
8
8
  }): ReactNode;
@@ -29,4 +29,4 @@ type DropdownMenuSubTriggerProps = MenuPrimitive.SubmenuTrigger.Props & {
29
29
  declare const DropdownMenuSubTrigger: ForwardRefExoticComponent<Omit<DropdownMenuSubTriggerProps, 'ref'> & RefAttributes<ComponentRef<typeof MenuPrimitive.SubmenuTrigger>>>;
30
30
  declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: ComponentProps<typeof DropdownMenuContent>): ReactNode;
31
31
  declare const DropdownMenuSectionLabel: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, 'ref'> & RefAttributes<HTMLDivElement>>;
32
- export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuHeader, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, DropdownMenuSectionLabel, };
32
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuHeader, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSectionLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };