@base-framework/ui 1.1.27 → 1.2.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.
Files changed (67) hide show
  1. package/dist/{aside-template-BDvEMLnk.js → aside-template-B9V-0xle.js} +4 -0
  2. package/dist/atoms.es.js +3 -3
  3. package/dist/{bside-template-BCP2pJWN.js → bside-template-oLChzjxQ.js} +3 -1
  4. package/dist/{buttons-BY-KDbOv.js → buttons-Dxnuce2_.js} +11 -0
  5. package/dist/{empty-state-BpM0ahNZ.js → empty-state-BeE1e4GL.js} +40 -16
  6. package/dist/{full-page-DccgwWsM.js → full-page-CgVI1G7F.js} +1 -1
  7. package/dist/{image-BhZbKYDj.js → image-T4fJLqgd.js} +15 -0
  8. package/dist/index.es.js +12 -12
  9. package/dist/{mobile-nav-wrapper-gNWndUx9.js → mobile-nav-wrapper-0Aq2acIa.js} +1 -1
  10. package/dist/molecules.es.js +2 -2
  11. package/dist/organisms.es.js +4 -4
  12. package/dist/pages.es.js +2 -2
  13. package/dist/{sidebar-menu-9uhT3f6A.js → sidebar-menu-BFlRN7Am.js} +1 -1
  14. package/dist/{sidebar-menu-page-DxH5thLp.js → sidebar-menu-page-CmgdfPy4.js} +4 -4
  15. package/dist/{signature-panel-CISkLji2.js → signature-panel-o4xFn_he.js} +3 -3
  16. package/dist/{simple-search-input-LnHcOg6V.js → simple-search-input-Dbk3_QiK.js} +64 -3
  17. package/dist/templates.es.js +2 -2
  18. package/dist/{tooltip-3cWQxOb5.js → tooltip-BFST5Fcz.js} +13 -1
  19. package/dist/types/components/atoms/badges/badge.d.ts +1 -1
  20. package/dist/types/components/atoms/buttons/buttons.d.ts +2 -2
  21. package/dist/types/components/atoms/cards/card.d.ts +1 -1
  22. package/dist/types/components/atoms/form/fieldset.d.ts +1 -1
  23. package/dist/types/components/atoms/form/form-group.d.ts +1 -1
  24. package/dist/types/components/atoms/form/inputs/checkbox.d.ts +1 -1
  25. package/dist/types/components/atoms/form/inputs/inputs.d.ts +15 -15
  26. package/dist/types/components/atoms/form/legend.d.ts +1 -1
  27. package/dist/types/components/atoms/form/select.d.ts +1 -1
  28. package/dist/types/components/atoms/icon.d.ts +1 -1
  29. package/dist/types/components/atoms/image.d.ts +1 -1
  30. package/dist/types/components/atoms/material-icon.d.ts +1 -1
  31. package/dist/types/components/atoms/progress/circle-graph.d.ts +1 -1
  32. package/dist/types/components/atoms/progress/semi-circle-graph.d.ts +1 -1
  33. package/dist/types/components/atoms/tooltip.d.ts +1 -1
  34. package/dist/types/components/molecules/alert.d.ts +1 -1
  35. package/dist/types/components/molecules/avatars/avatar.d.ts +1 -1
  36. package/dist/types/components/molecules/breadcrumb/dots-indicator.d.ts +1 -1
  37. package/dist/types/components/molecules/combobox/combobox.d.ts +1 -1
  38. package/dist/types/components/molecules/dialogs/dialog-container.d.ts +1 -1
  39. package/dist/types/components/molecules/empty/empty-state.d.ts +1 -1
  40. package/dist/types/components/molecules/files/attachment/attachment-input.d.ts +1 -1
  41. package/dist/types/components/molecules/files/attachment/attachment.d.ts +1 -1
  42. package/dist/types/components/molecules/form/form-atoms.d.ts +4 -4
  43. package/dist/types/components/molecules/form/form-card.d.ts +3 -3
  44. package/dist/types/components/molecules/form/form-control.d.ts +1 -1
  45. package/dist/types/components/molecules/form/form.d.ts +1 -1
  46. package/dist/types/components/molecules/modals/atoms.d.ts +2 -2
  47. package/dist/types/components/molecules/modals/modal-container.d.ts +1 -1
  48. package/dist/types/components/molecules/modals/modal-header.d.ts +1 -1
  49. package/dist/types/components/molecules/theme-toggle.d.ts +1 -1
  50. package/dist/types/components/organisms/calendar/range/month-calendar.d.ts +1 -1
  51. package/dist/types/components/organisms/lists/dynamic-data-table.d.ts +1 -1
  52. package/dist/types/components/organisms/lists/scrollable-data-table.d.ts +1 -1
  53. package/dist/types/components/organisms/lists/user-list.d.ts +2 -2
  54. package/dist/types/components/organisms/navigation/mobile/nav-wrapper/mobile-nav-wrapper.d.ts +2 -2
  55. package/dist/types/components/organisms/navigation/navigation-atoms.d.ts +1 -1
  56. package/dist/types/components/organisms/overlays/overlay.d.ts +1 -1
  57. package/dist/types/components/organisms/search/dropdown.d.ts +1 -1
  58. package/dist/types/components/organisms/search/search-input.d.ts +1 -1
  59. package/dist/types/components/organisms/search/simple-search-input.d.ts +1 -1
  60. package/dist/types/components/pages/main-section.d.ts +1 -1
  61. package/dist/types/components/pages/templates/aside-template.d.ts +1 -1
  62. package/dist/types/components/pages/templates/bside-template.d.ts +1 -1
  63. package/dist/types/components/pages/templates/full-template.d.ts +1 -1
  64. package/dist/types/components/pages/templates/row.d.ts +1 -1
  65. package/dist/types/components/pages/templates/template-atoms.d.ts +2 -2
  66. package/dist/types/components/pages/templates/template.d.ts +1 -1
  67. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { Div as r, Span as N, Button as K, OnState as J, On as T, Th as G, UseParent as et, I as st, Thead as at, Tr as nt, Table as j, P as $, Li as X, Time as ot, Ul as rt, Input as lt } from "@base-framework/atoms";
2
2
  import { Component as R, Data as P, Atom as m, DateTime as H, DataTracker as _, Jot as it } from "@base-framework/base";
3
- import { B as y, U as q } from "./buttons-BY-KDbOv.js";
3
+ import { B as y, U as q } from "./buttons-Dxnuce2_.js";
4
4
  import { Icons as S } from "./icons.es.js";
5
5
  import { TableBody as ct, DataTableBody as dt, ScrollableTableBody as ht, List as ut } from "@base-framework/organisms";
6
- import { I as ft, C as mt, c as gt } from "./image-BhZbKYDj.js";
6
+ import { I as ft, C as mt, c as gt } from "./image-T4fJLqgd.js";
7
7
  const yt = (t, e) => {
8
8
  const s = t ? t.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, a = e.getBoundingClientRect(), n = 10, o = globalThis.scrollX, c = globalThis.scrollY;
9
9
  let l = s.left + o, u = s.bottom + c;
@@ -136,7 +136,7 @@ class wt extends R {
136
136
  * @returns {void}
137
137
  */
138
138
  beforeDestroy() {
139
- this.panel.hidePopover();
139
+ this?.panel?.hidePopover();
140
140
  }
141
141
  }
142
142
  const xt = m(({ src: t, alt: e }) => !t || t.indexOf(".") === -1 && t.indexOf("[[") === -1 ? null : ft({
@@ -595,9 +595,13 @@ const W = ({ label: t, click: e }) => y(
595
595
  );
596
596
  }, Et = m((t, e) => r({ class: "flex flex-auto flex-col" }, [
597
597
  jt({
598
+ // @ts-ignore
598
599
  onMonthClick: t.onMonthClick,
600
+ // @ts-ignore
599
601
  onYearClick: t.onYearClick,
602
+ // @ts-ignore
600
603
  next: t.next,
604
+ // @ts-ignore
601
605
  previous: t.previous
602
606
  }),
603
607
  r({
@@ -607,9 +611,13 @@ const W = ({ label: t, click: e }) => y(
607
611
  () => [
608
612
  Ft(),
609
613
  Ut({
614
+ // @ts-ignore
610
615
  today: t.today,
616
+ // @ts-ignore
611
617
  current: t.current,
618
+ // @ts-ignore
612
619
  blockPriorDates: t.blockPriorDates,
620
+ // @ts-ignore
613
621
  onDateClick: t.onDateClick
614
622
  })
615
623
  ]
@@ -1106,19 +1114,33 @@ class Zt extends Z {
1106
1114
  }
1107
1115
  const ve = m((t) => new Zt(
1108
1116
  {
1117
+ // @ts-ignore
1109
1118
  cache: t.cache ?? "list",
1119
+ // @ts-ignore
1110
1120
  tableData: t.data,
1121
+ // @ts-ignore
1111
1122
  loadMoreItems: t.loadMoreItems,
1123
+ // @ts-ignore
1112
1124
  offset: t.offset,
1125
+ // @ts-ignore
1113
1126
  limit: t.limit,
1127
+ // @ts-ignore
1114
1128
  class: t.class,
1129
+ // @ts-ignore
1115
1130
  key: t.key,
1131
+ // @ts-ignore
1116
1132
  rows: t.rows,
1133
+ // @ts-ignore
1117
1134
  rowItem: t.rowItem,
1135
+ // @ts-ignore
1118
1136
  headers: t.headers,
1137
+ // @ts-ignore
1119
1138
  customHeader: t.customHeader,
1139
+ // @ts-ignore
1120
1140
  border: t.border,
1141
+ // @ts-ignore
1121
1142
  emptyState: t.emptyState,
1143
+ // @ts-ignore
1122
1144
  skeleton: t.skeleton
1123
1145
  }
1124
1146
  )), te = (t) => new ht({
@@ -1191,20 +1213,35 @@ class ee extends Z {
1191
1213
  }
1192
1214
  const ke = m((t) => new ee(
1193
1215
  {
1216
+ // @ts-ignore
1194
1217
  cache: t.cache ?? "list",
1218
+ // @ts-ignore
1195
1219
  tableData: t.data,
1220
+ // @ts-ignore
1196
1221
  scrollContainer: t.scrollContainer,
1222
+ // @ts-ignore
1197
1223
  loadMoreItems: t.loadMoreItems,
1224
+ // @ts-ignore
1198
1225
  offset: t.offset,
1226
+ // @ts-ignore
1199
1227
  limit: t.limit,
1228
+ // @ts-ignore
1200
1229
  class: t.class,
1230
+ // @ts-ignore
1201
1231
  key: t.key,
1232
+ // @ts-ignore
1202
1233
  rows: t.rows,
1234
+ // @ts-ignore
1203
1235
  rowItem: t.rowItem,
1236
+ // @ts-ignore
1204
1237
  headers: t.headers,
1238
+ // @ts-ignore
1205
1239
  customHeader: t.customHeader,
1240
+ // @ts-ignore
1206
1241
  border: t.border,
1242
+ // @ts-ignore
1207
1243
  emptyState: t.emptyState,
1244
+ // @ts-ignore
1208
1245
  skeleton: t.skeleton
1209
1246
  }
1210
1247
  )), se = m(({ name: t, email: e }) => r({ class: "min-w-0 flex-auto" }, [
@@ -1223,17 +1260,23 @@ const ke = m((t) => new ee(
1223
1260
  oe(s, e)
1224
1261
  ])), le = (t) => t.split(" ").map((s) => s[0]).join(""), ie = m((t) => X({ class: "fadeIn flex justify-between gap-x-6 py-4 px-4 rounded-md hover:bg-muted/50" }, [
1225
1262
  r({ class: "flex min-w-0 gap-x-4" }, [
1263
+ // @ts-ignore
1226
1264
  St({ src: t.image, alt: t.name, fallbackText: le(t.name) }),
1265
+ // @ts-ignore
1227
1266
  se({ name: t.name, email: t.email })
1228
1267
  ]),
1229
1268
  re({
1269
+ // @ts-ignore
1230
1270
  role: t.role,
1271
+ // @ts-ignore
1231
1272
  lastSeen: t.lastSeen,
1273
+ // @ts-ignore
1232
1274
  status: t.status
1233
1275
  })
1234
1276
  ])), Se = m((t) => new ut({
1235
1277
  cache: "list",
1236
1278
  key: "name",
1279
+ // @ts-ignore
1237
1280
  items: t.users,
1238
1281
  role: "list",
1239
1282
  class: "divide-y divide-border",
@@ -1465,8 +1508,11 @@ const de = m(({ index: t, click: e, state: s }, a) => X({
1465
1508
  })), ue = m((t) => r({ class: "relative flex flex-auto items-center" }, [
1466
1509
  gt({
1467
1510
  cache: "input",
1511
+ // @ts-ignore
1468
1512
  class: t.class ?? "",
1513
+ // @ts-ignore
1469
1514
  placeholder: t.placeholder ?? "Search...",
1515
+ // @ts-ignore
1470
1516
  bind: t.bind ?? [t.state, "searchQuery"],
1471
1517
  keyup: (e, s) => {
1472
1518
  s.state && (s.state.open = !1), typeof t.filterOptions == "function" && t.filterOptions(), s.dropdown && s.dropdown.updatePosition(), t.keyup && t.keyup(e, s);
@@ -1475,10 +1521,13 @@ const de = m(({ index: t, click: e, state: s }, a) => X({
1475
1521
  typeof s.toggleDropdown == "function" && s.toggleDropdown();
1476
1522
  },
1477
1523
  keydown: (e) => [
1524
+ // @ts-ignore
1478
1525
  typeof t.handleKeyDown == "function" && t.handleKeyDown(e)
1479
1526
  ]
1480
1527
  }),
1528
+ // @ts-ignore
1481
1529
  t.icon && r({ class: "absolute flex right-0 mr-2" }, [
1530
+ // @ts-ignore
1482
1531
  q({ size: "sm" }, t.icon)
1483
1532
  ])
1484
1533
  ])), fe = (t) => r({
@@ -1617,6 +1666,7 @@ const de = m(({ index: t, click: e, state: s }, a) => X({
1617
1666
  ), Oe = m((t) => {
1618
1667
  const e = t.icon ?? S.magnifyingGlass.default;
1619
1668
  return r({
1669
+ // @ts-ignore
1620
1670
  class: `relative flex items-center w-full rounded-xl bg-muted/30 focus-within:ring-2 focus-within:ring-ring transition-all ${t.containerClass || ""}`
1621
1671
  }, [
1622
1672
  r({ class: "absolute left-4 flex items-center pointer-events-none text-muted-foreground" }, [
@@ -1624,16 +1674,27 @@ const de = m(({ index: t, click: e, state: s }, a) => X({
1624
1674
  ]),
1625
1675
  lt({
1626
1676
  type: "text",
1677
+ // @ts-ignore
1627
1678
  cache: t.cache ?? "input",
1679
+ // @ts-ignore
1628
1680
  class: `w-full bg-transparent border-none outline-none pl-12 pr-4 py-4 text-base text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-0 ${t.class || ""}`,
1681
+ // @ts-ignore
1629
1682
  placeholder: t.placeholder ?? "Search...",
1683
+ // @ts-ignore
1630
1684
  bind: t.bind,
1685
+ // @ts-ignore
1631
1686
  value: t.value,
1687
+ // @ts-ignore
1632
1688
  keyup: t.keyup,
1689
+ // @ts-ignore
1633
1690
  keydown: t.keydown,
1691
+ // @ts-ignore
1634
1692
  input: t.input,
1693
+ // @ts-ignore
1635
1694
  change: t.change,
1695
+ // @ts-ignore
1636
1696
  focus: t.focus,
1697
+ // @ts-ignore
1637
1698
  blur: t.blur
1638
1699
  })
1639
1700
  ]);
@@ -1,5 +1,5 @@
1
- import { A as s, F as l, M as m, T as p, a as o } from "./aside-template-BDvEMLnk.js";
2
- import { B as T } from "./bside-template-BCP2pJWN.js";
1
+ import { A as s, F as l, M as m, T as p, a as o } from "./aside-template-B9V-0xle.js";
2
+ import { B as T } from "./bside-template-oLChzjxQ.js";
3
3
  export {
4
4
  s as AsideTemplate,
5
5
  T as BsideTemplate,
@@ -1,6 +1,6 @@
1
1
  import { Span as c, Div as o, Legend as f, Fieldset as x, H4 as C, P as h, UseParent as u, Input as y } from "@base-framework/atoms";
2
2
  import { Atom as s, Html as p } from "@base-framework/base";
3
- import { f as d, g as k, h as w, i as $ } from "./image-BhZbKYDj.js";
3
+ import { f as d, g as k, h as w, i as $ } from "./image-T4fJLqgd.js";
4
4
  const a = {
5
5
  gray: {
6
6
  backgroundColor: "bg-gray-50",
@@ -87,17 +87,21 @@ const a = {
87
87
  const t = r.margin ?? "my-5 mx-5", l = r.padding ?? "p-4", n = r.border ?? "border-border";
88
88
  return r.hover && (r.class += " hover:shadow-lg hover:bg-muted/50"), o({
89
89
  ...r,
90
+ // @ts-ignore
90
91
  class: `rounded-lg ${n} bg-card text-card-foreground shadow-md min-w-[120px] min-h-[80px] ${t} ${l} ${r.class || ""}`
91
92
  }, e);
92
93
  }), S = s((r, e) => f({
93
94
  ...r,
95
+ // @ts-ignore
94
96
  class: ` font-medium -mt-4 -mx-1 px-2 py-2 ${r.class || ""}`
95
97
  }, e)), I = s((r, e) => {
96
98
  const t = r.border === "full" ? "border rounded-md" : "border-t";
97
99
  return x({
98
100
  ...r,
101
+ // @ts-ignore
99
102
  class: `p-6 ${t} ${r.class || ""}`
100
103
  }, [
104
+ // @ts-ignore
101
105
  r.legend && S(r.legend),
102
106
  o({ class: "flex flex-auto flex-col gap-y-6" }, e)
103
107
  ]);
@@ -105,13 +109,19 @@ const a = {
105
109
  const t = r.border === !0 ? "border-t" : "";
106
110
  return o({
107
111
  ...r,
112
+ // @ts-ignore
108
113
  class: `grid grid-cols-1 gap-y-4 sm:grid-cols-[1fr_2fr] sm:gap-x-6 pt-8 ${t} ${r.class || ""}`
109
114
  }, [
115
+ // @ts-ignore
110
116
  r.label && o({
117
+ // @ts-ignore
111
118
  ...r.labelProps,
119
+ // @ts-ignore
112
120
  class: `flex flex-auto flex-col gap-y-1 ${r.labelProps?.class || ""}`
113
121
  }, [
122
+ // @ts-ignore
114
123
  C({ class: "text-base" }, r.label),
124
+ // @ts-ignore
115
125
  r.description && h({ class: "text-sm text-muted-foreground" }, r.description)
116
126
  ]),
117
127
  // Controls container: grows to fill remaining space, spacing between items
@@ -195,6 +205,7 @@ const a = {
195
205
  r.options && p.setupSelectOptions(e, r.options);
196
206
  },
197
207
  ...r,
208
+ // @ts-ignore
198
209
  class: `${$} ${r.class || ""}`.trim()
199
210
  })), E = (r) => !r || isNaN(r) ? null : r, i = (r, e) => {
200
211
  const t = r, l = 16, n = 2 * Math.PI * l, b = t / 100 * n, m = `
@@ -244,6 +255,7 @@ const a = {
244
255
  return o({
245
256
  class: "circle-graph-wrap",
246
257
  onSet: [
258
+ // @ts-ignore
247
259
  r.prop,
248
260
  (n) => (n = E(n), n ? i(n, t) : l)
249
261
  ]
@@ -5,4 +5,4 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Badge: Function;
8
+ export const Badge: (...args: any[]) => object;
@@ -5,7 +5,7 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Button: Function;
8
+ export const Button: (...args: any[]) => object;
9
9
  export default Button;
10
10
  /**
11
11
  * This will create a primary button that has a loading icon.
@@ -14,4 +14,4 @@ export default Button;
14
14
  * @param {array} children
15
15
  * @returns {object}
16
16
  */
17
- export const LoadingButton: Function;
17
+ export const LoadingButton: (...args: any[]) => object;
@@ -5,4 +5,4 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Card: Function;
8
+ export const Card: (...args: any[]) => object;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Fieldset: Function;
8
+ export const Fieldset: (...args: any[]) => object;
9
9
  export default Fieldset;
@@ -8,5 +8,5 @@
8
8
  * @param {array} children form controls (inputs, selects, etc)
9
9
  * @returns {object}
10
10
  */
11
- export const FormGroup: Function;
11
+ export const FormGroup: (...args: any[]) => object;
12
12
  export default FormGroup;
@@ -6,5 +6,5 @@
6
6
  * @param {object} props
7
7
  * @returns {object}
8
8
  */
9
- export const Checkbox: typeof import("@base-framework/base").Component;
9
+ export const Checkbox: new (...args: any[]) => import("@base-framework/base").Component;
10
10
  export default Checkbox;
@@ -4,28 +4,28 @@
4
4
  * @param {object} props Props passed to the BaseInput.
5
5
  * @returns {object} A BaseInput element with common classes.
6
6
  */
7
- export const Input: Function;
7
+ export const Input: (...args: any[]) => object;
8
8
  /**
9
9
  * Input component specifically for telephone numbers.
10
10
  *
11
11
  * @param {object} props Props passed to the Input.
12
12
  * @returns {object} An Input element of type "tel" with phone formatting.
13
13
  */
14
- export const TelInput: Function;
14
+ export const TelInput: (...args: any[]) => object;
15
15
  /**
16
16
  * Input component specifically for email addresses.
17
17
  *
18
18
  * @param {object} props Props passed to the Input.
19
19
  * @returns {object} An Input element of type "email".
20
20
  */
21
- export const EmailInput: Function;
21
+ export const EmailInput: (...args: any[]) => object;
22
22
  /**
23
23
  * Textarea component reusing parts of the common classes.
24
24
  *
25
25
  * @param {object} props Props passed to the BaseTextarea.
26
26
  * @returns {object} A BaseTextarea element.
27
27
  */
28
- export const Textarea: Function;
28
+ export const Textarea: (...args: any[]) => object;
29
29
  export function Radio(props?: object): object;
30
30
  /**
31
31
  * Input component specifically for dates.
@@ -33,74 +33,74 @@ export function Radio(props?: object): object;
33
33
  * @param {object} props Props passed to the BaseInput.
34
34
  * @returns {object} A BaseInput element of type "date".
35
35
  */
36
- export const DateInput: Function;
36
+ export const DateInput: (...args: any[]) => object;
37
37
  /**
38
38
  * Input component specifically for times.
39
39
  *
40
40
  * @param {object} props Props passed to the BaseInput.
41
41
  * @returns {object} A BaseInput element of type "time".
42
42
  */
43
- export const TimeInput: Function;
43
+ export const TimeInput: (...args: any[]) => object;
44
44
  /**
45
45
  * Input component specifically for datetime-local.
46
46
  *
47
47
  * @param {object} props Props passed to the BaseInput.
48
48
  * @returns {object} A BaseInput element of type "datetime-local".
49
49
  */
50
- export const DateTimeInput: Function;
50
+ export const DateTimeInput: (...args: any[]) => object;
51
51
  /**
52
52
  * Input component specifically for months.
53
53
  *
54
54
  * @param {object} props Props passed to the BaseInput.
55
55
  * @returns {object} A BaseInput element of type "month".
56
56
  */
57
- export const MonthInput: Function;
57
+ export const MonthInput: (...args: any[]) => object;
58
58
  /**
59
59
  * Input component specifically for weeks.
60
60
  *
61
61
  * @param {object} props Props passed to the BaseInput.
62
62
  * @returns {object} A BaseInput element of type "week".
63
63
  */
64
- export const WeekInput: Function;
64
+ export const WeekInput: (...args: any[]) => object;
65
65
  /**
66
66
  * Input component specifically for numbers.
67
67
  *
68
68
  * @param {object} props Props passed to the Input.
69
69
  * @returns {object} An Input element of type "number".
70
70
  */
71
- export const NumberInput: Function;
71
+ export const NumberInput: (...args: any[]) => object;
72
72
  /**
73
73
  * Input component specifically for passwords.
74
74
  *
75
75
  * @param {object} props Props passed to the Input.
76
76
  * @returns {object} An Input element of type "password".
77
77
  */
78
- export const PasswordInput: Function;
78
+ export const PasswordInput: (...args: any[]) => object;
79
79
  /**
80
80
  * Input component specifically for URLs.
81
81
  *
82
82
  * @param {object} props Props passed to the Input.
83
83
  * @returns {object} An Input element of type "url".
84
84
  */
85
- export const UrlInput: Function;
85
+ export const UrlInput: (...args: any[]) => object;
86
86
  /**
87
87
  * Input component specifically for hidden fields.
88
88
  *
89
89
  * @param {object} props Props passed to the Input.
90
90
  * @returns {object} An Input element of type "hidden".
91
91
  */
92
- export const HiddenInput: Function;
92
+ export const HiddenInput: (...args: any[]) => object;
93
93
  /**
94
94
  * Input component specifically for color pickers.
95
95
  *
96
96
  * @param {object} props Props passed to the BaseInput.
97
97
  * @returns {object} A BaseInput element of type "color".
98
98
  */
99
- export const ColorInput: Function;
99
+ export const ColorInput: (...args: any[]) => object;
100
100
  /**
101
101
  * Input component specifically for file uploads.
102
102
  *
103
103
  * @param {object} props Props passed to the BaseInput.
104
104
  * @returns {object} A BaseInput element of type "file".
105
105
  */
106
- export const FileInput: Function;
106
+ export const FileInput: (...args: any[]) => object;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Legend: Function;
8
+ export const Legend: (...args: any[]) => object;
9
9
  export default Legend;
@@ -4,5 +4,5 @@
4
4
  * @param {object} props
5
5
  * @returns {object}
6
6
  */
7
- export const Select: Function;
7
+ export const Select: (...args: any[]) => object;
8
8
  export default Select;
@@ -5,4 +5,4 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Icon: Function;
8
+ export const Icon: (...args: any[]) => object;
@@ -6,4 +6,4 @@
6
6
  * @param {object} props
7
7
  * @returns {object}
8
8
  */
9
- export const Image: Function;
9
+ export const Image: (...args: any[]) => object;
@@ -14,4 +14,4 @@
14
14
  * @param {string} [props.class] - Additional CSS classes
15
15
  * @returns {object}
16
16
  */
17
- export const MaterialIcon: Function;
17
+ export const MaterialIcon: (...args: any[]) => object;
@@ -4,4 +4,4 @@
4
4
  * @param {object} props
5
5
  * @returns {object}
6
6
  */
7
- export const CircleGraph: Function;
7
+ export const CircleGraph: (...args: any[]) => object;
@@ -4,4 +4,4 @@
4
4
  * @param {object} props
5
5
  * @returns {object}
6
6
  */
7
- export const SemiCircleGraph: Function;
7
+ export const SemiCircleGraph: (...args: any[]) => object;
@@ -9,4 +9,4 @@
9
9
  * @param {array} children - The children
10
10
  * @returns {object}
11
11
  */
12
- export const Tooltip: Function;
12
+ export const Tooltip: (...args: any[]) => object;
@@ -4,4 +4,4 @@
4
4
  * @param {object} props
5
5
  * @returns {object}
6
6
  */
7
- export const Alert: Function;
7
+ export const Alert: (...args: any[]) => object;
@@ -12,4 +12,4 @@
12
12
  * @prop {string} size
13
13
  * @returns {object}
14
14
  */
15
- export const Avatar: Function;
15
+ export const Avatar: (...args: any[]) => object;
@@ -7,6 +7,6 @@
7
7
  * @example
8
8
  * new DotsIndicator({ count: 4, activeIndex: 0 })
9
9
  */
10
- export const DotsIndicator: typeof Component;
10
+ export const DotsIndicator: new (...args: any[]) => Component;
11
11
  export default DotsIndicator;
12
12
  import { Component } from '@base-framework/base';
@@ -13,5 +13,5 @@
13
13
  * @property {function} onSelect
14
14
  * @returns {Component}
15
15
  */
16
- export const Combobox: typeof Component;
16
+ export const Combobox: new (...args: any[]) => Component;
17
17
  import { Component } from '@base-framework/base';
@@ -5,4 +5,4 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const DialogContainer: Function;
8
+ export const DialogContainer: (...args: any[]) => object;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children - The children elements to be rendered inside the empty state.
6
6
  * @return {object} - The empty state component.
7
7
  */
8
- export const EmptyState: Function;
8
+ export const EmptyState: (...args: any[]) => object;
9
9
  export default EmptyState;
@@ -5,5 +5,5 @@
5
5
  *
6
6
  * @class
7
7
  */
8
- export const AttachmentInput: typeof import("@base-framework/base").Component;
8
+ export const AttachmentInput: new (...args: any[]) => import("@base-framework/base").Component;
9
9
  export default AttachmentInput;
@@ -5,6 +5,6 @@
5
5
  *
6
6
  * @class
7
7
  */
8
- export const Attachment: typeof import("@base-framework/base").Component;
8
+ export const Attachment: new (...args: any[]) => import("@base-framework/base").Component;
9
9
  export default AttachmentInput;
10
10
  import AttachmentInput from "./attachment-input.js";
@@ -7,7 +7,7 @@
7
7
  * @param {array} children
8
8
  * @returns {object}
9
9
  */
10
- export const FormItem: Function;
10
+ export const FormItem: (...args: any[]) => object;
11
11
  /**
12
12
  * FormLabel
13
13
  *
@@ -17,7 +17,7 @@ export const FormItem: Function;
17
17
  * @param {array} children
18
18
  * @returns {object}
19
19
  */
20
- export const FormLabel: Function;
20
+ export const FormLabel: (...args: any[]) => object;
21
21
  /**
22
22
  * FormDescription
23
23
  *
@@ -27,7 +27,7 @@ export const FormLabel: Function;
27
27
  * @param {array} children
28
28
  * @returns {object}
29
29
  */
30
- export const FormDescription: Function;
30
+ export const FormDescription: (...args: any[]) => object;
31
31
  /**
32
32
  * FormMessage
33
33
  *
@@ -37,4 +37,4 @@ export const FormDescription: Function;
37
37
  * @param {array} children
38
38
  * @returns {object}
39
39
  */
40
- export const FormMessage: Function;
40
+ export const FormMessage: (...args: any[]) => object;
@@ -8,7 +8,7 @@
8
8
  * @param {array} children - The children to render inside the card.
9
9
  * @returns {object} The rendered form card component.
10
10
  */
11
- export const FormCard: Function;
11
+ export const FormCard: (...args: any[]) => object;
12
12
  /**
13
13
  * FormCardGroup
14
14
  *
@@ -18,7 +18,7 @@ export const FormCard: Function;
18
18
  * @param {array} children - The children to render inside the group.
19
19
  * @returns {object} The rendered form card group component.
20
20
  */
21
- export const FormCardGroup: Function;
21
+ export const FormCardGroup: (...args: any[]) => object;
22
22
  /**
23
23
  * FormCardGroup
24
24
  *
@@ -28,4 +28,4 @@ export const FormCardGroup: Function;
28
28
  * @param {array} children - The children to render inside the group.
29
29
  * @returns {object} The rendered form card group component.
30
30
  */
31
- export const FormCardContent: Function;
31
+ export const FormCardContent: (...args: any[]) => object;
@@ -7,4 +7,4 @@
7
7
  * @param {array} children
8
8
  * @returns {object}
9
9
  */
10
- export const FormControl: Function;
10
+ export const FormControl: (...args: any[]) => object;
@@ -7,7 +7,7 @@
7
7
  * @param {array} children
8
8
  * @returns {object}
9
9
  */
10
- export const Form: Function;
10
+ export const Form: (...args: any[]) => object;
11
11
  import { FormControl } from "./form-control.js";
12
12
  import { FormField } from "./form-field.js";
13
13
  import { FormItem } from "./form-atoms.js";
@@ -5,7 +5,7 @@
5
5
  * @param {array} children - The children of the component.
6
6
  * @returns {object}
7
7
  */
8
- export const DetailBody: Function;
8
+ export const DetailBody: (...args: any[]) => object;
9
9
  /**
10
10
  * This will create a modal detail section.
11
11
  *
@@ -13,6 +13,6 @@ export const DetailBody: Function;
13
13
  * @param {array} children - The children of the component.
14
14
  * @returns {object}
15
15
  */
16
- export const DetailSection: Function;
16
+ export const DetailSection: (...args: any[]) => object;
17
17
  export function SplitRow(label: string, value: string): object;
18
18
  export function ColumnRow(label: string, value: string): object;