@base-framework/ui 1.1.26 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) 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-BeVfxBCx.js → empty-state-BeE1e4GL.js} +40 -16
  6. package/dist/{full-page-DccgwWsM.js → full-page-CgVI1G7F.js} +1 -1
  7. package/dist/{image-Bc-V4BSL.js → image-T4fJLqgd.js} +74 -70
  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-D2E1iY4U.js → signature-panel-o4xFn_he.js} +3 -3
  16. package/dist/{simple-search-input-CLsIp7zz.js → simple-search-input-Dbk3_QiK.js} +64 -3
  17. package/dist/templates.es.js +2 -2
  18. package/dist/{tooltip-CctHNqZX.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/inputs/range-slider.d.ts +1 -1
  27. package/dist/types/components/atoms/form/legend.d.ts +1 -1
  28. package/dist/types/components/atoms/form/select.d.ts +1 -1
  29. package/dist/types/components/atoms/icon.d.ts +1 -1
  30. package/dist/types/components/atoms/image.d.ts +1 -1
  31. package/dist/types/components/atoms/material-icon.d.ts +1 -1
  32. package/dist/types/components/atoms/progress/circle-graph.d.ts +1 -1
  33. package/dist/types/components/atoms/progress/progress-bar.d.ts +1 -1
  34. package/dist/types/components/atoms/progress/semi-circle-graph.d.ts +1 -1
  35. package/dist/types/components/atoms/tooltip.d.ts +1 -1
  36. package/dist/types/components/atoms/veil.d.ts +1 -1
  37. package/dist/types/components/molecules/alert.d.ts +1 -1
  38. package/dist/types/components/molecules/avatars/avatar.d.ts +1 -1
  39. package/dist/types/components/molecules/breadcrumb/dots-indicator.d.ts +1 -1
  40. package/dist/types/components/molecules/combobox/combobox.d.ts +1 -1
  41. package/dist/types/components/molecules/counters/counter.d.ts +1 -1
  42. package/dist/types/components/molecules/date-time/date-picker.d.ts +1 -1
  43. package/dist/types/components/molecules/date-time/date-range-picker.d.ts +1 -1
  44. package/dist/types/components/molecules/date-time/time-picker.d.ts +1 -1
  45. package/dist/types/components/molecules/dialogs/dialog-container.d.ts +1 -1
  46. package/dist/types/components/molecules/empty/empty-state.d.ts +1 -1
  47. package/dist/types/components/molecules/files/attachment/attachment-input.d.ts +1 -1
  48. package/dist/types/components/molecules/files/attachment/attachment.d.ts +1 -1
  49. package/dist/types/components/molecules/form/form-atoms.d.ts +4 -4
  50. package/dist/types/components/molecules/form/form-card.d.ts +3 -3
  51. package/dist/types/components/molecules/form/form-control.d.ts +1 -1
  52. package/dist/types/components/molecules/form/form-field.d.ts +1 -1
  53. package/dist/types/components/molecules/form/form.d.ts +1 -1
  54. package/dist/types/components/molecules/modals/atoms.d.ts +2 -2
  55. package/dist/types/components/molecules/modals/modal-container.d.ts +1 -1
  56. package/dist/types/components/molecules/modals/modal-header.d.ts +1 -1
  57. package/dist/types/components/molecules/theme-toggle.d.ts +1 -1
  58. package/dist/types/components/molecules/toggle/toggle.d.ts +1 -1
  59. package/dist/types/components/organisms/calendar/range/month-calendar.d.ts +1 -1
  60. package/dist/types/components/organisms/lists/dynamic-data-table.d.ts +1 -1
  61. package/dist/types/components/organisms/lists/scrollable-data-table.d.ts +1 -1
  62. package/dist/types/components/organisms/lists/user-list.d.ts +2 -2
  63. package/dist/types/components/organisms/navigation/mobile/nav-wrapper/mobile-nav-wrapper.d.ts +2 -2
  64. package/dist/types/components/organisms/navigation/navigation-atoms.d.ts +1 -1
  65. package/dist/types/components/organisms/overlays/overlay.d.ts +1 -1
  66. package/dist/types/components/organisms/search/dropdown.d.ts +1 -1
  67. package/dist/types/components/organisms/search/search-input.d.ts +1 -1
  68. package/dist/types/components/organisms/search/simple-search-input.d.ts +1 -1
  69. package/dist/types/components/pages/main-section.d.ts +1 -1
  70. package/dist/types/components/pages/templates/aside-template.d.ts +1 -1
  71. package/dist/types/components/pages/templates/bside-template.d.ts +1 -1
  72. package/dist/types/components/pages/templates/full-template.d.ts +1 -1
  73. package/dist/types/components/pages/templates/row.d.ts +1 -1
  74. package/dist/types/components/pages/templates/template-atoms.d.ts +2 -2
  75. package/dist/types/components/pages/templates/template.d.ts +1 -1
  76. package/package.json +1 -1
@@ -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;
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * Handles controlled form fields with accessibility.
5
5
  */
6
- export const FormField: any;
6
+ export const FormField: import("@base-framework/base").Component;
@@ -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;
@@ -18,4 +18,4 @@
18
18
  * @param {Array} children - Modal body content
19
19
  * @returns {object}
20
20
  */
21
- export const ModalContainer: Function;
21
+ export const ModalContainer: (...args: any[]) => object;
@@ -12,4 +12,4 @@
12
12
  * @param {Array} [props.options=[]] - Array of action buttons/elements
13
13
  * @returns {object}
14
14
  */
15
- export const ModalHeader: Function;
15
+ export const ModalHeader: (...args: any[]) => object;
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * @class
7
7
  */
8
- export const ThemeToggle: typeof import("@base-framework/base").Component;
8
+ export const ThemeToggle: new (...args: any[]) => import("@base-framework/base").Component;
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * This will create a toggle switch component.
5
5
  */
6
- export const Toggle: any;
6
+ export const Toggle: import("@base-framework/base").Component;
7
7
  export default Toggle;
@@ -14,4 +14,4 @@
14
14
  * @param {function} props.previous
15
15
  * @returns {object}
16
16
  */
17
- export const MonthCalendar: Function;
17
+ export const MonthCalendar: (...args: any[]) => object;
@@ -21,7 +21,7 @@
21
21
  * @property {boolean|object} [props.skeleton] - Skeleton configuration. Can be true for default or object with { number: 5, row: customRowFunction }
22
22
  * @returns {object}
23
23
  */
24
- export const DynamicDataTable: Function;
24
+ export const DynamicDataTable: (...args: any[]) => object;
25
25
  export default DynamicDataTable;
26
26
  import { CheckboxCol } from './table-header.js';
27
27
  import { HeaderCol } from './table-header.js';
@@ -22,7 +22,7 @@
22
22
  * @property {boolean|object} [props.skeleton] - Skeleton configuration. Can be true for default or object with { number: 5, row: customRowFunction }
23
23
  * @returns {object}
24
24
  */
25
- export const ScrollableDataTable: Function;
25
+ export const ScrollableDataTable: (...args: any[]) => object;
26
26
  export default ScrollableDataTable;
27
27
  import { CheckboxCol } from './table-header.js';
28
28
  import { HeaderCol } from './table-header.js';
@@ -4,12 +4,12 @@
4
4
  * @param {object} user
5
5
  * @returns {object}
6
6
  */
7
- export const UserListItem: Function;
7
+ export const UserListItem: (...args: any[]) => object;
8
8
  /**
9
9
  * User List Atom
10
10
  *
11
11
  * @param {object} props
12
12
  * @returns {object}
13
13
  */
14
- export const UserList: Function;
14
+ export const UserList: (...args: any[]) => object;
15
15
  export default UserList;
@@ -4,11 +4,11 @@
4
4
  * @param {object} props
5
5
  * @return {object}
6
6
  */
7
- export const MobileNavButton: Function;
7
+ export const MobileNavButton: (...args: any[]) => object;
8
8
  /**
9
9
  * This will create a mobile navigation wrapper.
10
10
  *
11
11
  * @param {object} props
12
12
  * @return {object}
13
13
  */
14
- export const MobileNavWrapper: Function;
14
+ export const MobileNavWrapper: (...args: any[]) => object;
@@ -5,5 +5,5 @@
5
5
  * @param {object} children
6
6
  * @returns {object}
7
7
  */
8
- export const NavigationGroup: Function;
8
+ export const NavigationGroup: (...args: any[]) => object;
9
9
  export default NavigationGroup;
@@ -4,7 +4,7 @@
4
4
  * @param {object} props
5
5
  * @returns {object}
6
6
  */
7
- export const BackButton: Function;
7
+ export const BackButton: (...args: any[]) => object;
8
8
  /**
9
9
  * Overlay
10
10
  *
@@ -4,5 +4,5 @@
4
4
  * @param {object} props - The properties of the component.
5
5
  * @returns {object} - The dropdown component.
6
6
  */
7
- export const Dropdown: Function;
7
+ export const Dropdown: (...args: any[]) => object;
8
8
  export default Dropdown;
@@ -4,5 +4,5 @@
4
4
  * @param {object} props - The properties of the component.
5
5
  * @returns {object} - The search input component.
6
6
  */
7
- export const SearchInput: Function;
7
+ export const SearchInput: (...args: any[]) => object;
8
8
  export default SearchInput;
@@ -4,5 +4,5 @@
4
4
  * @param {object} props - The properties of the component.
5
5
  * @returns {object} - The simple search input component.
6
6
  */
7
- export const SimpleSearchInput: Function;
7
+ export const SimpleSearchInput: (...args: any[]) => object;
8
8
  export default SimpleSearchInput;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const MainSection: Function;
8
+ export const MainSection: (...args: any[]) => object;
9
9
  export default MainSection;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const AsideTemplate: Function;
8
+ export const AsideTemplate: (...args: any[]) => object;
9
9
  export default AsideTemplate;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const BsideTemplate: Function;
8
+ export const BsideTemplate: (...args: any[]) => object;
9
9
  export default BsideTemplate;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const FullTemplate: Function;
8
+ export const FullTemplate: (...args: any[]) => object;
9
9
  export default FullTemplate;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Row: Function;
8
+ export const Row: (...args: any[]) => object;
9
9
  export default Row;
@@ -5,7 +5,7 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const TopBar: Function;
8
+ export const TopBar: (...args: any[]) => object;
9
9
  /**
10
10
  * This will create a main column.
11
11
  *
@@ -13,5 +13,5 @@ export const TopBar: Function;
13
13
  * @param {array} children
14
14
  * @returns {object}
15
15
  */
16
- export const MainColumn: Function;
16
+ export const MainColumn: (...args: any[]) => object;
17
17
  export default MainColumn;
@@ -5,5 +5,5 @@
5
5
  * @param {array} children
6
6
  * @returns {object}
7
7
  */
8
- export const Template: Function;
8
+ export const Template: (...args: any[]) => object;
9
9
  export default Template;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.1.26",
3
+ "version": "1.2.0",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {