@covalent/components-react 0.0.10 → 9.0.0-beta.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 (60) hide show
  1. package/Badge/CovalentBadge.d.ts +1 -0
  2. package/CodeEditor/CovalentCodeEditor.d.ts +1 -0
  3. package/ExpansionPanel/CovalentExpansionPanel.d.ts +1 -0
  4. package/ExpansionPanel/CovalentExpansionPanelItem.d.ts +1 -0
  5. package/FocusedPage/CovalentFocusedPage.d.ts +1 -0
  6. package/Formfield/CovalentFormfield.d.ts +1 -0
  7. package/FullScreenDialog/CovalentFullscreenDialog.d.ts +1 -0
  8. package/IconButtonToggle/CovalentIconButtonToggle.d.ts +1 -0
  9. package/NotebookCell/CovalentNotebookCell.d.ts +1 -0
  10. package/StatusDialog/CovalentStatusDialog.d.ts +1 -0
  11. package/index.d.ts +55 -45
  12. package/index.js +2 -2
  13. package/index.mjs +356 -192
  14. package/package.json +3 -4
  15. package/style.css +1 -1
  16. /package/{action-ribbon/action-ribbon.d.ts → ActionRibbon/CovalentActionRibbon.d.ts} +0 -0
  17. /package/{alert/alert.d.ts → Alert/CovalentAlert.d.ts} +0 -0
  18. /package/{app-shell/app-shell.d.ts → AppShell/CovalentAppShell.d.ts} +0 -0
  19. /package/{button/button.d.ts → Button/CovalentButton.d.ts} +0 -0
  20. /package/{card/card.d.ts → Card/CovalentCard.d.ts} +0 -0
  21. /package/{checkbox/checkbox.d.ts → Checkbox/CovalentCheckbox.d.ts} +0 -0
  22. /package/{chips/chip.d.ts → Chips/CovalentChip.d.ts} +0 -0
  23. /package/{chips/chip-set.d.ts → Chips/CovalentChipSet.d.ts} +0 -0
  24. /package/{circular-progress/circular-progress.d.ts → CircularProgress/CovalentCircularProgress.d.ts} +0 -0
  25. /package/{code-snippet/code-snippet.d.ts → CodeSnippet/CovalentCodeSnippet.d.ts} +0 -0
  26. /package/{dialog/dialog.d.ts → Dialog/CovalentDialog.d.ts} +0 -0
  27. /package/{drawer/drawer.d.ts → Drawer/CovalentDrawer.d.ts} +0 -0
  28. /package/{empty-state/empty-state.d.ts → EmptyState/CovalentEmptyState.d.ts} +0 -0
  29. /package/{icon/icon.d.ts → Icon/CovalentIcon.d.ts} +0 -0
  30. /package/{icon-button/icon-button.d.ts → IconButton/CovalentIconButton.d.ts} +0 -0
  31. /package/{icon-checkbox/icon-checkbox.d.ts → IconCheckbox/CovalentIconCheckToggle.d.ts} +0 -0
  32. /package/{icon-radio/icon-radio.d.ts → IconRadio/CovalentIconRadioToggle.d.ts} +0 -0
  33. /package/{linear-progress/linear-progress.d.ts → LinearProgress/CovalentLinearProgress.d.ts} +0 -0
  34. /package/{list/check-list-item.d.ts → List/CovalentCheckListItem.d.ts} +0 -0
  35. /package/{list/list.d.ts → List/CovalentList.d.ts} +0 -0
  36. /package/{list/list-item.d.ts → List/CovalentListItem.d.ts} +0 -0
  37. /package/{list/nav-list-item.d.ts → List/CovalentNavRailListItem.d.ts} +0 -0
  38. /package/{list/radio-list-item.d.ts → List/CovalentRadioListItem.d.ts} +0 -0
  39. /package/{menu/menu.d.ts → Menu/CovalentMenu.d.ts} +0 -0
  40. /package/{radio/radio.d.ts → Radio/CovalentRadio.d.ts} +0 -0
  41. /package/{select/select.d.ts → Select/CovalentSelect.d.ts} +0 -0
  42. /package/{side-sheet/side-sheet.d.ts → SideSheet/CovalentSideSheet.d.ts} +0 -0
  43. /package/{slider/slider.d.ts → Slider/CovalentSlider.d.ts} +0 -0
  44. /package/{slider-range/slider-range.d.ts → Slider/CovalentSliderRange.d.ts} +0 -0
  45. /package/{snackbar/snackbar.d.ts → Snackbar/CovalentSnackbar.d.ts} +0 -0
  46. /package/{status-header/status-header.d.ts → StatusHeader/CovalentStatusHeader.d.ts} +0 -0
  47. /package/{status-header/status-header-item.d.ts → StatusHeader/CovalentStatusHeaderItem.d.ts} +0 -0
  48. /package/{switch/switch.d.ts → Switch/CovalentSwitch.d.ts} +0 -0
  49. /package/{tab/tab.d.ts → Tab/CovalentTab.d.ts} +0 -0
  50. /package/{tab/tab-bar.d.ts → Tab/CovalentTabBar.d.ts} +0 -0
  51. /package/{text-lockup/text-lockup.d.ts → TextLockup/CovalentTextLockup.d.ts} +0 -0
  52. /package/{textarea/textarea.d.ts → Textarea/CovalentTextArea.d.ts} +0 -0
  53. /package/{textfield/textfield.d.ts → Textfield/CovalentTextField.d.ts} +0 -0
  54. /package/{toolbar/toolbar.d.ts → Toolbar/CovalentToolbar.d.ts} +0 -0
  55. /package/{tooltip/tooltip.d.ts → Tooltip/CovalentTooltip.d.ts} +0 -0
  56. /package/{top-app-bar/top-app-bar.d.ts → TopAppBar/CovalentTopAppBar.d.ts} +0 -0
  57. /package/{top-app-bar-fixed/top-app-bar-fixed.d.ts → TopAppBar/CovalentTopAppBarFixed.d.ts} +0 -0
  58. /package/{tree-list/tree-list.d.ts → TreeList/CovalentTreeList.d.ts} +0 -0
  59. /package/{tree-list/tree-list-item.d.ts → TreeList/CovalentTreeListItem.d.ts} +0 -0
  60. /package/{typography/typography.d.ts → Typography/CovalentTypography.d.ts} +0 -0
package/index.mjs CHANGED
@@ -1,268 +1,432 @@
1
1
  import * as e from "react";
2
- import { CovalentActionRibbon as h, CovalentAlert as $, CovalentAppShell as T, CovalentButton as S, CovalentCheckbox as b, CovalentCard as L, CovalentChip as I, CovalentChipSet as k, CovalentCircularProgress as y, CovalentCodeSnippet as f, CovalentDialog as R, CovalentDrawer as x, CovalentEmptyState as A, CovalentIcon as B, CovalentIconButton as w, CovalentIconCheckToggle as E, CovalentIconRadioToggle as H, CovalentLinearProgress as D, CovalentCheckListItem as F, CovalentList as M, CovalentListItem as P, CovalentNavRailListItem as j, CovalentRadioListItem as O, CovalentMenu as W, CovalentRadio as q, CovalentSelect as z, CovalentSideSheet as G, CovalentSlider as J, CovalentSliderRange as K, CovalentSnackbar as Q, CovalentStatusHeader as U, CovalentStatusHeaderItem as V, CovalentSwitch as X, CovalentTab as Y, CovalentTabBar as Z, CovalentTextArea as _, CovalentTextField as ee, CovalentTextLockup as te, CovalentToolbar as ae, CovalentTooltip as ne, CovalentTopAppBar as oe, CovalentTopAppBarFixed as le, CovalentTreeList as se, CovalentTreeListItem as ce, CovalentTypography as Ce } from "@covalent/components";
2
+ import { CovalentActionRibbon as S, CovalentAlert as T, CovalentAppShell as b, CovalentBadge as I, CovalentButton as f, CovalentCard as x, CovalentCheckbox as L, CovalentCheckListItem as k, CovalentChip as y, CovalentChipSet as B, CovalentCircularProgress as R, CovalentCodeEditor as E, CovalentCodeSnippet as A, CovalentDialog as P, CovalentDrawer as F, CovalentEmptyState as w, CovalentExpansionPanel as D, CovalentExpansionPanelItem as q, CovalentFocusedPage as H, CovalentFormfield as M, CovalentFullscreenDialog as j, CovalentIcon as O, CovalentIconButton as W, CovalentIconButtonToggle as z, CovalentIconCheckToggle as G, CovalentIconRadioToggle as J, CovalentLinearProgress as K, CovalentList as Q, CovalentListItem as U, CovalentMenu as V, CovalentNavRailListItem as X, CovalentNotebookCell as Y, CovalentRadio as Z, CovalentRadioListItem as _, CovalentSelect as ee, CovalentSideSheet as te, CovalentSlider as ae, CovalentSliderRange as ne, CovalentSnackbar as oe, CovalentStatusDialog as le, CovalentStatusHeader as se, CovalentStatusHeaderItem as ce, CovalentSwitch as ve, CovalentTab as Ce, CovalentTabBar as re, CovalentTextArea as ie, CovalentTextField as ge, CovalentTextLockup as me, CovalentToolbar as de, CovalentTooltip as pe, CovalentTopAppBar as ue, CovalentTopAppBarFixed as Ne, CovalentTreeList as he, CovalentTreeListItem as $e, CovalentTypography as Se } from "@covalent/components";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2018 Google LLC
6
6
  * SPDX-License-Identifier: BSD-3-Clause
7
7
  */
8
- const ve = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), N = /* @__PURE__ */ new WeakMap(), re = (n, r, C, m, i) => {
9
- const p = i == null ? void 0 : i[r];
10
- p === void 0 || C === m ? (n[r] = C, C == null && r in HTMLElement.prototype && n.removeAttribute(r)) : ((v, l, s) => {
11
- let c = N.get(v);
12
- c === void 0 && N.set(v, c = /* @__PURE__ */ new Map());
13
- let o = c.get(l);
14
- s !== void 0 ? o === void 0 ? (c.set(l, o = { handleEvent: s }), v.addEventListener(l, o)) : o.handleEvent = s : o !== void 0 && (c.delete(l), v.removeEventListener(l, o));
15
- })(n, p, C);
16
- }, t = ({ react: n, tagName: r, elementClass: C, events: m, displayName: i }) => {
17
- const p = new Set(Object.keys(m ?? {})), v = n.forwardRef((l, s) => {
18
- const c = n.useRef(null), o = n.useRef(null), g = {}, u = {};
19
- for (const [a, d] of Object.entries(l))
20
- ve.has(a) ? g[a === "className" ? "class" : a] = d : p.has(a) || a in C.prototype ? u[a] = d : g[a] = d;
21
- return n.useLayoutEffect(() => {
22
- if (o.current !== null) {
23
- for (const a in u)
24
- re(o.current, a, l[a], c.current ? c.current[a] : void 0, m);
25
- c.current = l;
26
- }
27
- }), n.useLayoutEffect(() => {
8
+ const Te = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), N = /* @__PURE__ */ new WeakMap(), h = (l, i, C, g, m) => {
9
+ const d = m == null ? void 0 : m[i];
10
+ d === void 0 ? (l[i] = C, C == null && i in HTMLElement.prototype && l.removeAttribute(i)) : C !== g && ((r, c, v) => {
11
+ let s = N.get(r);
12
+ s === void 0 && N.set(r, s = /* @__PURE__ */ new Map());
13
+ let n = s.get(c);
14
+ v !== void 0 ? n === void 0 ? (s.set(c, n = { handleEvent: v }), r.addEventListener(c, n)) : n.handleEvent = v : n !== void 0 && (s.delete(c), r.removeEventListener(c, n));
15
+ })(l, d, C);
16
+ }, t = ({ react: l, tagName: i, elementClass: C, events: g, displayName: m }) => {
17
+ const d = new Set(Object.keys(g ?? {})), r = l.forwardRef((c, v) => {
18
+ const s = l.useRef(/* @__PURE__ */ new Map()), n = l.useRef(null), p = {}, u = {};
19
+ for (const [a, o] of Object.entries(c)) Te.has(a) ? p[a === "className" ? "class" : a] = o : d.has(a) || a in C.prototype ? u[a] = o : p[a] = o;
20
+ return l.useLayoutEffect(() => {
21
+ if (n.current === null) return;
22
+ const a = /* @__PURE__ */ new Map();
23
+ for (const o in u) h(n.current, o, c[o], s.current.get(o), g), s.current.delete(o), a.set(o, c[o]);
24
+ for (const [o, $] of s.current) h(n.current, o, void 0, $, g);
25
+ s.current = a;
26
+ }), l.useLayoutEffect(() => {
28
27
  var a;
29
- (a = o.current) == null || a.removeAttribute("defer-hydration");
30
- }, []), g.suppressHydrationWarning = !0, n.createElement(r, { ...g, ref: n.useCallback((a) => {
31
- o.current = a, typeof s == "function" ? s(a) : s !== null && (s.current = a);
32
- }, [s]) });
28
+ (a = n.current) == null || a.removeAttribute("defer-hydration");
29
+ }, []), p.suppressHydrationWarning = !0, l.createElement(i, { ...p, ref: l.useCallback((a) => {
30
+ n.current = a, typeof v == "function" ? v(a) : v !== null && (v.current = a);
31
+ }, [v]) });
33
32
  });
34
- return v.displayName = i ?? C.name, v;
35
- }, me = t({
33
+ return r.displayName = m ?? C.name, r;
34
+ }, Ie = t({
36
35
  tagName: "cv-action-ribbon",
37
- elementClass: h,
36
+ elementClass: S,
38
37
  react: e
39
- }), pe = t({
38
+ }), fe = t({
40
39
  tagName: "cv-alert",
41
- elementClass: $,
40
+ elementClass: T,
42
41
  react: e
43
- }), ge = t({
42
+ }), xe = t({
44
43
  tagName: "cv-app-shell",
45
- elementClass: T,
44
+ elementClass: b,
45
+ react: e,
46
+ events: {
47
+ ontoggle: "toggle"
48
+ }
49
+ }), Le = t({
50
+ tagName: "cv-badge",
51
+ elementClass: I,
46
52
  react: e
47
- }), de = t({
53
+ }), ke = t({
48
54
  tagName: "cv-button",
49
- elementClass: S,
50
- react: e
51
- }), ue = t({
52
- tagName: "cv-checkbox",
53
- elementClass: b,
55
+ elementClass: f,
54
56
  react: e
55
- }), Ne = t({
57
+ }), ye = t({
56
58
  tagName: "cv-card",
57
- elementClass: L,
59
+ elementClass: x,
58
60
  react: e
59
- }), he = t({
61
+ }), Be = t({
62
+ tagName: "cv-checkbox",
63
+ elementClass: L,
64
+ react: e,
65
+ events: {
66
+ onchange: "change"
67
+ }
68
+ }), Re = t({
69
+ tagName: "cv-check-list-item",
70
+ elementClass: k,
71
+ react: e,
72
+ events: {
73
+ onrequestSelected: "request-selected"
74
+ }
75
+ }), Ee = t({
60
76
  tagName: "cv-chip",
61
- elementClass: I,
77
+ elementClass: y,
62
78
  react: e
63
- }), $e = t({
79
+ }), Ae = t({
64
80
  tagName: "cv-chip-set",
65
- elementClass: k,
81
+ elementClass: B,
66
82
  react: e
67
- }), Te = t({
83
+ }), Pe = t({
68
84
  tagName: "cv-circular-progress",
69
- elementClass: y,
85
+ elementClass: R,
70
86
  react: e
71
- }), Se = t({
87
+ }), Fe = t({
88
+ tagName: "cv-code-editor",
89
+ elementClass: E,
90
+ react: e,
91
+ events: {
92
+ oneditorReady: "editor-ready",
93
+ oneditorFocus: "editor-focus",
94
+ oneditorBlur: "editor-blur",
95
+ oncodeChange: "code-change"
96
+ }
97
+ }), we = t({
72
98
  tagName: "cv-code-snippet",
73
- elementClass: f,
99
+ elementClass: A,
74
100
  react: e
75
- }), be = t({
101
+ }), De = t({
76
102
  tagName: "cv-dialog",
77
- elementClass: R,
78
- react: e
79
- }), Le = t({
103
+ elementClass: P,
104
+ react: e,
105
+ events: {
106
+ onopening: "opening",
107
+ onopened: "opened",
108
+ onclosing: "closing",
109
+ onclosed: "closed"
110
+ }
111
+ }), qe = t({
80
112
  tagName: "cv-drawer",
81
- elementClass: x,
82
- react: e
83
- }), Ie = t({
113
+ elementClass: F,
114
+ react: e,
115
+ events: {
116
+ onopened: "opened",
117
+ onclosed: "closed"
118
+ }
119
+ }), He = t({
84
120
  tagName: "cv-empty-state",
85
- elementClass: A,
86
- react: e
87
- }), ke = t({
88
- tagName: "cv-icon",
89
- elementClass: B,
90
- react: e
91
- }), ye = t({
92
- tagName: "cv-icon-button",
93
121
  elementClass: w,
94
122
  react: e
95
- }), fe = t({
96
- tagName: "cv-icon-check-item",
97
- elementClass: E,
98
- react: e
99
- }), Re = t({
100
- tagName: "cv-icon-radio-item",
101
- elementClass: H,
102
- react: e
103
- }), xe = t({
104
- tagName: "cv-linear-progress",
123
+ }), Me = t({
124
+ tagName: "cv-expansion-panel",
105
125
  elementClass: D,
106
126
  react: e
107
- }), Ae = t({
108
- tagName: "cv-check-list-item",
109
- elementClass: F,
127
+ }), je = t({
128
+ tagName: "cv-expansion-panel-item",
129
+ elementClass: q,
130
+ react: e,
131
+ events: {
132
+ oncvExpansionPanelTogglePanel: "cv-expansionPanel-togglePanel"
133
+ }
134
+ }), Oe = t({
135
+ tagName: "cv-focused-page",
136
+ elementClass: H,
110
137
  react: e
111
- }), Be = t({
112
- tagName: "cv-list",
138
+ }), We = t({
139
+ tagName: "cv-formfield",
113
140
  elementClass: M,
114
141
  react: e
115
- }), we = t({
116
- tagName: "cv-list-item",
117
- elementClass: P,
118
- react: e
119
- }), Ee = t({
120
- tagName: "cv-nav-list-item",
142
+ }), ze = t({
143
+ tagName: "cv-full-screen-dialog",
121
144
  elementClass: j,
122
- react: e
123
- }), He = t({
124
- tagName: "cv-radio-list-item",
145
+ react: e,
146
+ events: {
147
+ onopening: "opening",
148
+ onopened: "opened",
149
+ onclosing: "closing",
150
+ onclosed: "closed"
151
+ }
152
+ }), Ge = t({
153
+ tagName: "cv-icon",
125
154
  elementClass: O,
126
155
  react: e
127
- }), De = t({
128
- tagName: "cv-menu",
156
+ }), Je = t({
157
+ tagName: "cv-icon-button",
129
158
  elementClass: W,
130
159
  react: e
131
- }), Fe = t({
132
- tagName: "cv-radio",
133
- elementClass: q,
134
- react: e
135
- }), Me = t({
136
- tagName: "cv-select",
160
+ }), Ke = t({
161
+ tagName: "cv-icon-button-toggle",
137
162
  elementClass: z,
138
- react: e
139
- }), Pe = t({
140
- tagName: "cv-side-sheet",
163
+ react: e,
164
+ events: {
165
+ oniconButtonToggleChange: "icon-button-toggle-change"
166
+ }
167
+ }), Qe = t({
168
+ tagName: "cv-checkbox-icon",
141
169
  elementClass: G,
142
170
  react: e,
143
171
  events: {
144
- opening: "opening",
145
- opened: "opened",
146
- closing: "closing",
147
- closed: "closed"
172
+ onchange: "change"
148
173
  }
149
- }), je = t({
150
- tagName: "cv-slider",
174
+ }), Ue = t({
175
+ tagName: "cv-radio-icon",
151
176
  elementClass: J,
152
- react: e
153
- }), Oe = t({
154
- tagName: "cv-slider-range",
177
+ react: e,
178
+ events: {
179
+ onchange: "change"
180
+ }
181
+ }), Ve = t({
182
+ tagName: "cv-linear-progress",
155
183
  elementClass: K,
156
184
  react: e
157
- }), We = t({
158
- tagName: "cv-snackbar",
185
+ }), Xe = t({
186
+ tagName: "cv-list",
159
187
  elementClass: Q,
188
+ react: e,
189
+ events: {
190
+ onaction: "action",
191
+ onselected: "selected"
192
+ }
193
+ }), Ye = t({
194
+ tagName: "cv-list-item",
195
+ elementClass: U,
196
+ react: e,
197
+ events: {
198
+ onrequestSelected: "request-selected"
199
+ }
200
+ }), Ze = t({
201
+ tagName: "cv-menu",
202
+ elementClass: V,
203
+ react: e,
204
+ events: {
205
+ onopened: "opened",
206
+ onclosing: "closing",
207
+ onclosed: "closed",
208
+ onaction: "action",
209
+ onselected: "selected"
210
+ }
211
+ }), _e = t({
212
+ tagName: "cv-nav-list-item",
213
+ elementClass: X,
214
+ react: e,
215
+ events: {
216
+ onrequestSelected: "request-selected"
217
+ }
218
+ }), et = t({
219
+ tagName: "cv-notebook-cell",
220
+ elementClass: Y,
160
221
  react: e
161
- }), qe = t({
222
+ }), tt = t({
223
+ tagName: "cv-radio",
224
+ elementClass: Z,
225
+ react: e,
226
+ events: {
227
+ onchange: "change"
228
+ }
229
+ }), at = t({
230
+ tagName: "cv-radio-list-item",
231
+ elementClass: _,
232
+ react: e,
233
+ events: {
234
+ onrequestSelected: "request-selected"
235
+ }
236
+ }), nt = t({
237
+ tagName: "cv-select",
238
+ elementClass: ee,
239
+ react: e,
240
+ events: {
241
+ onopened: "opened",
242
+ onclosed: "closed",
243
+ onselected: "selected"
244
+ }
245
+ }), ot = t({
246
+ tagName: "cv-side-sheet",
247
+ elementClass: te,
248
+ react: e,
249
+ events: {
250
+ onopening: "opening",
251
+ onopened: "opened",
252
+ onclosing: "closing",
253
+ onclosed: "closed"
254
+ }
255
+ }), lt = t({
256
+ tagName: "cv-slider",
257
+ elementClass: ae,
258
+ react: e,
259
+ events: {
260
+ oninput: "input",
261
+ onchange: "change"
262
+ }
263
+ }), st = t({
264
+ tagName: "cv-slider-range",
265
+ elementClass: ne,
266
+ react: e,
267
+ events: {
268
+ oninput: "input",
269
+ onchange: "change"
270
+ }
271
+ }), ct = t({
272
+ tagName: "cv-snackbar",
273
+ elementClass: oe,
274
+ react: e,
275
+ events: {
276
+ onopening: "opening",
277
+ onopened: "opened",
278
+ onclosing: "closing",
279
+ onclosed: "closed"
280
+ }
281
+ }), vt = t({
282
+ tagName: "cv-status-dialog",
283
+ elementClass: le,
284
+ react: e,
285
+ events: {
286
+ onopening: "opening",
287
+ onopened: "opened",
288
+ onclosing: "closing",
289
+ onclosed: "closed"
290
+ }
291
+ }), Ct = t({
162
292
  tagName: "cv-status-header",
163
- elementClass: U,
293
+ elementClass: se,
164
294
  react: e
165
- }), ze = t({
295
+ }), rt = t({
166
296
  tagName: "cv-status-header-item",
167
- elementClass: V,
297
+ elementClass: ce,
168
298
  react: e
169
- }), Ge = t({
299
+ }), it = t({
170
300
  tagName: "cv-switch",
171
- elementClass: X,
301
+ elementClass: ve,
172
302
  react: e
173
- }), Je = t({
303
+ }), gt = t({
174
304
  tagName: "cv-tab",
175
- elementClass: Y,
176
- react: e
177
- }), Ke = t({
305
+ elementClass: Ce,
306
+ react: e,
307
+ events: {
308
+ oninteracted: "interacted"
309
+ }
310
+ }), mt = t({
178
311
  tagName: "cv-tab-bar",
179
- elementClass: Z,
180
- react: e
181
- }), Qe = t({
312
+ elementClass: re,
313
+ react: e,
314
+ events: {
315
+ onactivated: "activated"
316
+ }
317
+ }), dt = t({
182
318
  tagName: "cv-textarea",
183
- elementClass: _,
319
+ elementClass: ie,
184
320
  react: e
185
- }), Ue = t({
321
+ }), pt = t({
186
322
  tagName: "cv-textfield",
187
- elementClass: ee,
323
+ elementClass: ge,
188
324
  react: e
189
- }), Ve = t({
325
+ }), ut = t({
190
326
  tagName: "cv-text-lockup",
191
- elementClass: te,
327
+ elementClass: me,
192
328
  react: e
193
- }), Xe = t({
329
+ }), Nt = t({
194
330
  tagName: "cv-toolbar",
195
- elementClass: ae,
196
- react: e
197
- }), Ye = t({
331
+ elementClass: de,
332
+ react: e,
333
+ events: {
334
+ onnav: "nav"
335
+ }
336
+ }), ht = t({
198
337
  tagName: "cv-tooltip",
199
- elementClass: ne,
338
+ elementClass: pe,
200
339
  react: e
201
- }), Ze = t({
340
+ }), $t = t({
202
341
  tagName: "cv-top-app-bar",
203
- elementClass: oe,
204
- react: e
205
- }), _e = t({
342
+ elementClass: ue,
343
+ react: e,
344
+ events: {
345
+ onnav: "nav"
346
+ }
347
+ }), St = t({
206
348
  tagName: "cv-top-app-bar-fixed",
207
- elementClass: le,
208
- react: e
209
- }), et = t({
349
+ elementClass: Ne,
350
+ react: e,
351
+ events: {
352
+ onnav: "nav"
353
+ }
354
+ }), Tt = t({
210
355
  tagName: "cv-tree-list",
211
- elementClass: se,
212
- react: e
213
- }), tt = t({
356
+ elementClass: he,
357
+ react: e,
358
+ events: {
359
+ onnav: "nav"
360
+ }
361
+ }), bt = t({
214
362
  tagName: "cv-tree-list-item",
215
- elementClass: ce,
216
- react: e
217
- }), at = t({
363
+ elementClass: $e,
364
+ react: e,
365
+ events: {
366
+ onselect: "select"
367
+ }
368
+ }), It = t({
218
369
  tagName: "cv-typography",
219
- elementClass: Ce,
220
- react: e
370
+ elementClass: Se,
371
+ react: e,
372
+ events: {
373
+ onselect: "select"
374
+ }
221
375
  });
222
376
  export {
223
- me as CovalentActionRibbon,
224
- pe as CovalentAlert,
225
- ge as CovalentAppShell,
226
- de as CovalentButton,
227
- Ne as CovalentCard,
228
- Ae as CovalentCheckListItem,
229
- ue as CovalentCheckbox,
230
- he as CovalentChip,
231
- $e as CovalentChipSet,
232
- Te as CovalentCircularProgress,
233
- Se as CovalentCodeSnippet,
234
- be as CovalentDialog,
235
- Le as CovalentDrawer,
236
- Ie as CovalentEmptyState,
237
- ke as CovalentIcon,
238
- ye as CovalentIconButton,
239
- fe as CovalentIconCheckToggle,
240
- Re as CovalentIconRadioToggle,
241
- xe as CovalentLinearProgress,
242
- Be as CovalentList,
243
- we as CovalentListItem,
244
- De as CovalentMenu,
245
- Ee as CovalentNavRailListItem,
246
- Fe as CovalentRadio,
247
- He as CovalentRadioListItem,
248
- Me as CovalentSelect,
249
- Pe as CovalentSideSheet,
250
- je as CovalentSlider,
251
- Oe as CovalentSliderRange,
252
- We as CovalentSnackbar,
253
- qe as CovalentStatusHeader,
254
- ze as CovalentStatusHeaderItem,
255
- Ge as CovalentSwitch,
256
- Je as CovalentTab,
257
- Ke as CovalentTabBar,
258
- Qe as CovalentTextArea,
259
- Ue as CovalentTextField,
260
- Ve as CovalentTextLockup,
261
- Xe as CovalentToolbar,
262
- Ye as CovalentTooltip,
263
- Ze as CovalentTopAppBar,
264
- _e as CovalentTopAppBarFixed,
265
- et as CovalentTreeList,
266
- tt as CovalentTreeListItem,
267
- at as CovalentTypography
377
+ Ie as CovalentActionRibbon,
378
+ fe as CovalentAlert,
379
+ xe as CovalentAppShell,
380
+ Le as CovalentBadge,
381
+ ke as CovalentButton,
382
+ ye as CovalentCard,
383
+ Re as CovalentCheckListItem,
384
+ Be as CovalentCheckbox,
385
+ Ee as CovalentChip,
386
+ Ae as CovalentChipSet,
387
+ Pe as CovalentCircularProgress,
388
+ Fe as CovalentCodeEditor,
389
+ we as CovalentCodeSnippet,
390
+ De as CovalentDialog,
391
+ qe as CovalentDrawer,
392
+ He as CovalentEmptyState,
393
+ Me as CovalentExpansionPanel,
394
+ je as CovalentExpansionPanelItem,
395
+ Oe as CovalentFocusedPage,
396
+ We as CovalentFormfield,
397
+ ze as CovalentFullscreenDialog,
398
+ Ge as CovalentIcon,
399
+ Je as CovalentIconButton,
400
+ Ke as CovalentIconButtonToggle,
401
+ Qe as CovalentIconCheckToggle,
402
+ Ue as CovalentIconRadioToggle,
403
+ Ve as CovalentLinearProgress,
404
+ Xe as CovalentList,
405
+ Ye as CovalentListItem,
406
+ Ze as CovalentMenu,
407
+ _e as CovalentNavRailListItem,
408
+ et as CovalentNotebookCell,
409
+ tt as CovalentRadio,
410
+ at as CovalentRadioListItem,
411
+ nt as CovalentSelect,
412
+ ot as CovalentSideSheet,
413
+ lt as CovalentSlider,
414
+ st as CovalentSliderRange,
415
+ ct as CovalentSnackbar,
416
+ vt as CovalentStatusDialog,
417
+ Ct as CovalentStatusHeader,
418
+ rt as CovalentStatusHeaderItem,
419
+ it as CovalentSwitch,
420
+ gt as CovalentTab,
421
+ mt as CovalentTabBar,
422
+ dt as CovalentTextArea,
423
+ pt as CovalentTextField,
424
+ ut as CovalentTextLockup,
425
+ Nt as CovalentToolbar,
426
+ ht as CovalentTooltip,
427
+ $t as CovalentTopAppBar,
428
+ St as CovalentTopAppBarFixed,
429
+ Tt as CovalentTreeList,
430
+ bt as CovalentTreeListItem,
431
+ It as CovalentTypography
268
432
  };
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@covalent/components-react",
3
- "version": "0.0.10",
3
+ "version": "9.0.0-beta.3",
4
4
  "dependencies": {
5
- "@covalent/components": "latest",
6
- "react": "^18.2.0"
5
+ "@covalent/components": "latest"
7
6
  },
8
7
  "main": "./index.js",
9
8
  "module": "./index.mjs",
10
9
  "typings": "./index.d.ts"
11
- }
10
+ }