@lax-wp/design-system 0.3.114 → 0.4.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 (205) hide show
  1. package/dist/components/button/Button.d.ts +25 -0
  2. package/dist/components/button/ButtonGroup.d.ts +6 -0
  3. package/dist/components/button/ButtonThreeDots.d.ts +3 -0
  4. package/dist/components/button/IconButton.d.ts +14 -0
  5. package/dist/components/button/Radio.d.ts +8 -0
  6. package/dist/components/buttons/option-button/OptionButton.d.ts +60 -0
  7. package/dist/components/cards/card-header-view/CardHeaderView.d.ts +33 -0
  8. package/dist/components/cards/card-header-view/index.d.ts +2 -0
  9. package/dist/components/cards/card-main/CardMain.d.ts +25 -0
  10. package/dist/components/cards/card-main/index.d.ts +2 -0
  11. package/dist/components/cards/tab-content/TabContent.d.ts +30 -0
  12. package/dist/components/cards/tab-content/index.d.ts +2 -0
  13. package/dist/components/data-display/access-denied-modal/AccessDeniedModal.d.ts +21 -0
  14. package/dist/components/data-display/badge/Badge.d.ts +44 -0
  15. package/dist/components/data-display/banner/Banner.d.ts +37 -0
  16. package/dist/components/data-display/card/Card.d.ts +31 -0
  17. package/dist/components/data-display/code-editor/CodeEditor.d.ts +6 -0
  18. package/dist/components/data-display/code-editor/JsonGrid.d.ts +37 -0
  19. package/dist/components/data-display/code-editor/Tabs.d.ts +12 -0
  20. package/dist/components/data-display/comparison/Comparison.d.ts +34 -0
  21. package/dist/components/data-display/comparison/ComparisonContext.d.ts +36 -0
  22. package/dist/components/data-display/comparison/components/GridItemHandle.d.ts +7 -0
  23. package/dist/components/data-display/comparison/components/GridLayout.d.ts +3 -0
  24. package/dist/components/data-display/comparison/components/Header.d.ts +9 -0
  25. package/dist/components/data-display/comparison/components/NoAvailableContent.d.ts +2 -0
  26. package/dist/components/data-display/comparison/components/SortableItem.d.ts +7 -0
  27. package/dist/components/data-display/comparison/constants.d.ts +15 -0
  28. package/dist/components/data-display/comparison/icons/CloseIcon.d.ts +7 -0
  29. package/dist/components/data-display/comparison/icons/ExitIcon.d.ts +6 -0
  30. package/dist/components/data-display/comparison/icons/LayoutOneIcon.d.ts +6 -0
  31. package/dist/components/data-display/comparison/icons/LayoutThreeIcon.d.ts +6 -0
  32. package/dist/components/data-display/comparison/icons/LayoutTwoIcon.d.ts +6 -0
  33. package/dist/components/data-display/comparison/icons/SearchIcon.d.ts +8 -0
  34. package/dist/components/data-display/comparison/icons/index.d.ts +12 -0
  35. package/dist/components/data-display/comparison/index.d.ts +9 -0
  36. package/dist/components/data-display/comparison/utils.d.ts +15 -0
  37. package/dist/components/data-display/context-menu/ContextMenu.d.ts +42 -0
  38. package/dist/components/data-display/datatype-icon/DataTypeIcon.d.ts +104 -0
  39. package/dist/components/data-display/delete-modal/DeleteModal.d.ts +40 -0
  40. package/dist/components/data-display/diff-viewer/DiffViewer.d.ts +64 -0
  41. package/dist/components/data-display/divider/Divider.d.ts +21 -0
  42. package/dist/components/data-display/dynamic-data-modal/DynamicDataModal.d.ts +26 -0
  43. package/dist/components/data-display/dynamic-items-cell/DynamicItemsCell.d.ts +50 -0
  44. package/dist/components/data-display/empty-state/EmptyEvent.d.ts +5 -0
  45. package/dist/components/data-display/empty-state/NoDataFound.d.ts +27 -0
  46. package/dist/components/data-display/empty-state/NoDataFoundWidgets.d.ts +20 -0
  47. package/dist/components/data-display/empty-state/PageNotFound.d.ts +33 -0
  48. package/dist/components/data-display/empty-state/UserNotFound.d.ts +28 -0
  49. package/dist/components/data-display/empty-state/empty-widget/EmptyBarChartData.d.ts +1 -0
  50. package/dist/components/data-display/empty-state/empty-widget/EmptyCardChartData.d.ts +1 -0
  51. package/dist/components/data-display/empty-state/empty-widget/EmptyContentChart.d.ts +1 -0
  52. package/dist/components/data-display/empty-state/empty-widget/EmptyCountWidgetData.d.ts +1 -0
  53. package/dist/components/data-display/empty-state/empty-widget/EmptyDonutChartData.d.ts +1 -0
  54. package/dist/components/data-display/empty-state/empty-widget/EmptyPieChatData.d.ts +1 -0
  55. package/dist/components/data-display/empty-state/empty-widget/EmptyTableWidgetData.d.ts +1 -0
  56. package/dist/components/data-display/empty-state/empty-widget/EmptyTimelineChartData.d.ts +1 -0
  57. package/dist/components/data-display/empty-state/empty-widget/index.d.ts +8 -0
  58. package/dist/components/data-display/empty-state/index.d.ts +11 -0
  59. package/dist/components/data-display/error-modal/ErrorModal.d.ts +22 -0
  60. package/dist/components/data-display/floating-element-wrapper/floating-element-dragger.d.ts +1 -0
  61. package/dist/components/data-display/in-progress/InProgress.d.ts +13 -0
  62. package/dist/components/data-display/json-grid-viewer/AddKeyModal.d.ts +7 -0
  63. package/dist/components/data-display/json-grid-viewer/JsonGridBulkFloatingBar.d.ts +2 -0
  64. package/dist/components/data-display/json-grid-viewer/JsonGridCore.d.ts +3 -0
  65. package/dist/components/data-display/json-grid-viewer/JsonGridViewer.d.ts +47 -0
  66. package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +4 -0
  67. package/dist/components/data-display/json-grid-viewer/JsonValueDisplay.d.ts +8 -0
  68. package/dist/components/data-display/json-grid-viewer/NestedJsonGrid.d.ts +7 -0
  69. package/dist/components/data-display/json-grid-viewer/hooks.d.ts +6 -0
  70. package/dist/components/data-display/json-grid-viewer/index.d.ts +12 -0
  71. package/dist/components/data-display/json-grid-viewer/types.d.ts +64 -0
  72. package/dist/components/data-display/json-grid-viewer/utils.d.ts +4 -0
  73. package/dist/components/data-display/label/Label.d.ts +10 -0
  74. package/dist/components/data-display/label-value/LabelValue.d.ts +139 -0
  75. package/dist/components/data-display/lottie-animation/LottieAnimation.d.ts +34 -0
  76. package/dist/components/data-display/modal/Modal.d.ts +41 -0
  77. package/dist/components/data-display/pdf-viewer/PdfViewer.d.ts +45 -0
  78. package/dist/components/data-display/permission-wrapper/PermissionWrapper.d.ts +28 -0
  79. package/dist/components/data-display/popper/Popper.d.ts +57 -0
  80. package/dist/components/data-display/progress-bar/CircularProgressBar.d.ts +23 -0
  81. package/dist/components/data-display/progress-bar/LinearProgressBar.d.ts +27 -0
  82. package/dist/components/data-display/progress-bar/index.d.ts +4 -0
  83. package/dist/components/data-display/resizable-sidebar/ResizableSidebar.d.ts +48 -0
  84. package/dist/components/data-display/skeleton/Skeleton.d.ts +18 -0
  85. package/dist/components/data-display/status-color-mapping/StatusColorMapping.d.ts +29 -0
  86. package/dist/components/data-display/tag/Tag.d.ts +53 -0
  87. package/dist/components/data-display/text/Text.d.ts +41 -0
  88. package/dist/components/data-display/text-with-strike/TextWithStrike.d.ts +19 -0
  89. package/dist/components/data-display/typography/Typography.d.ts +15 -0
  90. package/dist/components/data-display/unsaved-changes-modal/UnsavedChangesModal.d.ts +30 -0
  91. package/dist/components/drag-and-drop/drag-overlay/DragOverlay.d.ts +25 -0
  92. package/dist/components/drag-and-drop/drag-overlay/index.d.ts +2 -0
  93. package/dist/components/drag-and-drop/draggable-container/DraggableContainer.d.ts +29 -0
  94. package/dist/components/drag-and-drop/draggable-container/index.d.ts +2 -0
  95. package/dist/components/feedback/confirmation-modal/ConfirmationModal.d.ts +38 -0
  96. package/dist/components/feedback/toast/Toast.d.ts +29 -0
  97. package/dist/components/floating-bar/FloatingBar.d.ts +91 -0
  98. package/dist/components/forms/base-input-field/BaseInputField.d.ts +128 -0
  99. package/dist/components/forms/checkbox/Checkbox.d.ts +55 -0
  100. package/dist/components/forms/checkbox/CheckboxComponent.d.ts +9 -0
  101. package/dist/components/forms/color-picker/ColorPicker.d.ts +60 -0
  102. package/dist/components/forms/creatable-select/CreatableSelect.d.ts +86 -0
  103. package/dist/components/forms/currency-input/CurrencyInputField.d.ts +110 -0
  104. package/dist/components/forms/currency-input/currency.constant.d.ts +13 -0
  105. package/dist/components/forms/customizable-select-field/CustomizableSelectField.d.ts +126 -0
  106. package/dist/components/forms/date-range/DateRange.d.ts +73 -0
  107. package/dist/components/forms/date-range/DateRange2.d.ts +72 -0
  108. package/dist/components/forms/date-time-field/DateTimeField.d.ts +129 -0
  109. package/dist/components/forms/debounce-input/DebounceInputField.d.ts +66 -0
  110. package/dist/components/forms/dynamic-data-input/DynamicDataInput.d.ts +64 -0
  111. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.d.ts +118 -0
  112. package/dist/components/forms/field-options/FieldOptions.d.ts +5 -0
  113. package/dist/components/forms/field-options/Header.d.ts +7 -0
  114. package/dist/components/forms/field-options/Icon.d.ts +6 -0
  115. package/dist/components/forms/field-options/Item.d.ts +7 -0
  116. package/dist/components/forms/field-options/index.d.ts +2 -0
  117. package/dist/components/forms/field-options/types.d.ts +11 -0
  118. package/dist/components/forms/file-upload-dragger/FileUpload.d.ts +83 -0
  119. package/dist/components/forms/file-upload-dragger/icons.d.ts +12 -0
  120. package/dist/components/forms/formula-input/FormulaInput.d.ts +33 -0
  121. package/dist/components/forms/formula-input/index.d.ts +3 -0
  122. package/dist/components/forms/formula-input/utils.d.ts +31 -0
  123. package/dist/components/forms/icon-picker/IconPicker.d.ts +20 -0
  124. package/dist/components/forms/input-field/InputField.d.ts +62 -0
  125. package/dist/components/forms/master-data-input/MasterDataInputField.d.ts +135 -0
  126. package/dist/components/forms/md-input/MdInput.d.ts +46 -0
  127. package/dist/components/forms/multi-file-upload/MultiFileUpload.d.ts +78 -0
  128. package/dist/components/forms/number-input-field/NumberInputField.d.ts +47 -0
  129. package/dist/components/forms/percentage-input/PercentageInputField.d.ts +107 -0
  130. package/dist/components/forms/search-bar/SearchBar.d.ts +28 -0
  131. package/dist/components/forms/select-field/SelectField.d.ts +162 -0
  132. package/dist/components/forms/text-area-field/TextAreaField.d.ts +114 -0
  133. package/dist/components/forms/text-field/TextField.d.ts +48 -0
  134. package/dist/components/forms/toggle/Toggle.d.ts +108 -0
  135. package/dist/components/icons/AIExtractedIndicator.d.ts +7 -0
  136. package/dist/components/icons/AIStarIcon.d.ts +8 -0
  137. package/dist/components/icons/ArchivedIcon.d.ts +7 -0
  138. package/dist/components/icons/CheckCircle.d.ts +7 -0
  139. package/dist/components/icons/CheckSmallIcon.d.ts +7 -0
  140. package/dist/components/icons/CloseIcon.d.ts +16 -0
  141. package/dist/components/icons/CloseRounded.d.ts +9 -0
  142. package/dist/components/icons/ComingSoonIcon.d.ts +7 -0
  143. package/dist/components/icons/EditIcon.d.ts +7 -0
  144. package/dist/components/icons/HelpIcon.d.ts +6 -0
  145. package/dist/components/icons/InfoAlert.d.ts +7 -0
  146. package/dist/components/icons/InfoCircleIcon.d.ts +7 -0
  147. package/dist/components/icons/LaxIcon.d.ts +6 -0
  148. package/dist/components/icons/Required.d.ts +3 -0
  149. package/dist/components/icons/SearchIcon.d.ts +9 -0
  150. package/dist/components/layout/ComponentLoader.d.ts +20 -0
  151. package/dist/components/layout/CustomScrollbar.d.ts +46 -0
  152. package/dist/components/layout/Helmet.d.ts +29 -0
  153. package/dist/components/layout/HelmetTitle.d.ts +23 -0
  154. package/dist/components/layout/LogoLoader.d.ts +22 -0
  155. package/dist/components/layout/PageContainer.d.ts +51 -0
  156. package/dist/components/layout/index.d.ts +12 -0
  157. package/dist/components/modal/confirm-popup/ConfirmPopUp.d.ts +26 -0
  158. package/dist/components/modal/confirm-popup/index.d.ts +2 -0
  159. package/dist/components/modal/drawer/Drawer.d.ts +35 -0
  160. package/dist/components/modal/drawer/index.d.ts +2 -0
  161. package/dist/components/navigation/accordion/Accordion.d.ts +39 -0
  162. package/dist/components/navigation/accordion/index.d.ts +2 -0
  163. package/dist/components/navigation/breadcrumbs/BreadCrumb.d.ts +52 -0
  164. package/dist/components/navigation/breadcrumbs/BreadCrumbItem.d.ts +39 -0
  165. package/dist/components/navigation/breadcrumbs/index.d.ts +4 -0
  166. package/dist/components/navigation/stepper/Stepper.d.ts +45 -0
  167. package/dist/components/navigation/stepper/index.d.ts +2 -0
  168. package/dist/components/shortcut-kbd/ShortcutKbd.d.ts +26 -0
  169. package/dist/components/shortcut-kbd/index.d.ts +2 -0
  170. package/dist/components/sidebar/Sidebar.d.ts +15 -0
  171. package/dist/components/sidebar/index.d.ts +2 -0
  172. package/dist/components/tooltip/Tooltip.d.ts +16 -0
  173. package/dist/components/user-avatar/NameInitialLogo.d.ts +15 -0
  174. package/dist/components/user-avatar/PersonIcon.d.ts +7 -0
  175. package/dist/components/user-avatar/StatusInfoRow.d.ts +5 -0
  176. package/dist/components/user-avatar/UserAvatar.d.ts +53 -0
  177. package/dist/components/user-avatar/UserAvatarPopper.d.ts +11 -0
  178. package/dist/components/user-avatar/UserProfilePic.d.ts +15 -0
  179. package/dist/components/user-avatar/constants.d.ts +8 -0
  180. package/dist/components/user-avatar/index.d.ts +13 -0
  181. package/dist/components/user-avatar/useDynamicPosition.d.ts +13 -0
  182. package/dist/constants/colors.d.ts +263 -0
  183. package/dist/constants/layout.d.ts +15 -0
  184. package/dist/constants/toggle.d.ts +12 -0
  185. package/dist/hooks/useEventListener.d.ts +4 -0
  186. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  187. package/dist/hooks/useModalContainer.d.ts +23 -0
  188. package/dist/hooks/useOS.d.ts +32 -0
  189. package/dist/hooks/useOutsideClick.d.ts +28 -0
  190. package/dist/hooks/usePythonSyntax.d.ts +28 -0
  191. package/dist/hooks/useScrollToTop.d.ts +5 -0
  192. package/dist/hooks/useTheme.d.ts +6 -0
  193. package/dist/index.d.ts +214 -0
  194. package/dist/index.es.js +25 -1
  195. package/dist/index.umd.js +1 -1
  196. package/dist/lib/utils.d.ts +2 -0
  197. package/dist/services/monacoManager.d.ts +28 -0
  198. package/dist/types/icon-picker.d.ts +2 -0
  199. package/dist/types/index.d.ts +70 -0
  200. package/dist/utils/countryFlags.d.ts +5 -0
  201. package/dist/utils/formatters.d.ts +24 -0
  202. package/dist/utils/messageConstants.d.ts +88 -0
  203. package/dist/utils/tagUtils.d.ts +12 -0
  204. package/dist/utils/utilities.d.ts +24 -0
  205. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import cn from "classnames";
2
+ import { FC, SVGAttributes } from "react";
3
+ type TProps = SVGAttributes<SVGElement> & {
4
+ classValue?: cn.Value;
5
+ fill?: string;
6
+ size?: number;
7
+ };
8
+ export declare const CloseRounded: FC<TProps>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { FC } from 'react';
2
+ export interface IconProps {
3
+ className?: string;
4
+ fill?: string;
5
+ size?: number;
6
+ }
7
+ export declare const ComingSoonIcon: FC<IconProps>;
@@ -0,0 +1,7 @@
1
+ import React, { SVGAttributes } from 'react';
2
+ export interface EditIconProps extends SVGAttributes<SVGElement> {
3
+ fill?: string;
4
+ size?: string | number;
5
+ className?: string;
6
+ }
7
+ export declare const EditIcon: React.FC<EditIconProps>;
@@ -0,0 +1,6 @@
1
+ import React, { SVGAttributes } from 'react';
2
+ export interface HelpIconProps extends SVGAttributes<SVGElement> {
3
+ size?: number;
4
+ className?: string;
5
+ }
6
+ export declare const HelpIcon: React.FC<HelpIconProps>;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ export interface InfoAlertProps {
3
+ fill?: string;
4
+ size?: number;
5
+ className?: string;
6
+ }
7
+ export declare const InfoAlert: FC<InfoAlertProps>;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ export interface InfoCircleIconProps {
3
+ fill?: string;
4
+ size?: number;
5
+ className?: string;
6
+ }
7
+ export declare const InfoCircleIcon: FC<InfoCircleIconProps>;
@@ -0,0 +1,6 @@
1
+ import type { FC } from 'react';
2
+ export interface IconProps {
3
+ className?: string;
4
+ size?: number;
5
+ }
6
+ export declare const LaxIcon: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ export declare const Required: ({ isConditional }: {
2
+ isConditional?: boolean;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { type FC, type SVGAttributes } from 'react';
2
+ type TSVGProps = SVGAttributes<SVGElement> & {
3
+ width?: string | number;
4
+ height?: string | number;
5
+ fill?: string;
6
+ className?: string;
7
+ };
8
+ export declare const SearchIcon: FC<TSVGProps>;
9
+ export {};
@@ -0,0 +1,20 @@
1
+ import type { FC } from "react";
2
+ /**
3
+ * Props for the ComponentLoader component
4
+ */
5
+ export interface ComponentLoaderProps {
6
+ /** Additional CSS classes for the wrapper */
7
+ className?: string;
8
+ /** Label text to display above the loader */
9
+ label: string;
10
+ }
11
+ /**
12
+ * ComponentLoader displays a loading indicator with a label
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <ComponentLoader label="Loading..." />
17
+ * <ComponentLoader label="Loading data" className="my-4" />
18
+ * ```
19
+ */
20
+ export declare const ComponentLoader: FC<ComponentLoaderProps>;
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { Scrollbars } from 'react-custom-scrollbars-2';
3
+ import type { ScrollbarProps } from 'react-custom-scrollbars-2';
4
+ /**
5
+ * Custom scrollbar handle for external control
6
+ */
7
+ export interface CustomScrollbarHandle {
8
+ /** Get the Scrollbars instance */
9
+ getInstance?: Scrollbars | null;
10
+ /** Scroll to the top of the container */
11
+ scrollToTop?: () => void;
12
+ /** Scroll to the right of the container */
13
+ scrollToRight?: () => void;
14
+ }
15
+ /**
16
+ * Props for the CustomScrollbar component
17
+ */
18
+ export interface CustomScrollbarProps {
19
+ /** Content to render inside the scrollbar */
20
+ children: React.ReactNode;
21
+ /** Whether to adjust height based on screen size */
22
+ adjustWithScreen?: boolean;
23
+ /** Additional CSS classes for the inner view */
24
+ renderViewClassName?: string;
25
+ /** Whether to use full height */
26
+ fullHeight?: boolean;
27
+ }
28
+ /**
29
+ * CustomScrollbar component provides a styled scrollable container
30
+ * with custom scrollbar appearance
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <CustomScrollbar>
35
+ * <div>Scrollable content...</div>
36
+ * </CustomScrollbar>
37
+ *
38
+ * // With ref for programmatic control
39
+ * const scrollRef = useRef<CustomScrollbarHandle>(null);
40
+ * <CustomScrollbar ref={scrollRef}>
41
+ * <div>Content...</div>
42
+ * </CustomScrollbar>
43
+ * // scrollRef.current?.scrollToTop();
44
+ * ```
45
+ */
46
+ export declare const CustomScrollbar: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<CustomScrollbarProps & ScrollbarProps, "ref"> & React.RefAttributes<CustomScrollbarHandle>>>;
@@ -0,0 +1,29 @@
1
+ import type { FC, ReactNode } from "react";
2
+ type TMeta = {
3
+ name: string;
4
+ content: string;
5
+ };
6
+ /**
7
+ * Props for the Helmet component
8
+ */
9
+ export interface HelmetProps {
10
+ /** The document title to set */
11
+ title: string;
12
+ /** Optional meta tag configuration */
13
+ meta?: TMeta;
14
+ /** Additional children to render within Helmet */
15
+ children?: ReactNode;
16
+ }
17
+ /**
18
+ * Helmet component for managing document head metadata
19
+ *
20
+ * Note: Requires react-helmet-async to be installed and configured
21
+ * in the parent application with HelmetProvider.
22
+ *
23
+ * @example
24
+ * ```tsx
25
+ * <Helmet title="Dashboard" meta={{ name: "description", content: "Dashboard page" }} />
26
+ * ```
27
+ */
28
+ export declare const Helmet: FC<HelmetProps>;
29
+ export {};
@@ -0,0 +1,23 @@
1
+ import { FC, ReactNode } from "react";
2
+ /**
3
+ * Props for the HelmetTitle component
4
+ */
5
+ export interface HelmetTitleProps {
6
+ /** The title to display (will be used by parent app's Helmet integration) */
7
+ title?: string;
8
+ /** Additional children to render */
9
+ children?: ReactNode;
10
+ }
11
+ /**
12
+ * HelmetTitle component for managing document title
13
+ *
14
+ * Note: This is a simple wrapper component. The parent application should
15
+ * integrate this with react-helmet-async or similar library for actual
16
+ * document title management.
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * <HelmetTitle title="Dashboard" />
21
+ * ```
22
+ */
23
+ export declare const HelmetTitle: FC<HelmetTitleProps>;
@@ -0,0 +1,22 @@
1
+ import type { FC } from "react";
2
+ type ClassValue = string | number | boolean | undefined | null | ClassValue[];
3
+ /**
4
+ * Props for the LogoLoader component
5
+ */
6
+ export interface LogoLoaderProps {
7
+ /** Additional CSS classes for the wrapper */
8
+ classValue?: ClassValue;
9
+ /** Whether dark mode is enabled */
10
+ isDarkMode: boolean;
11
+ }
12
+ /**
13
+ * LogoLoader displays an animated LAX logo with a loading bar
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * <LogoLoader isDarkMode={false} />
18
+ * <LogoLoader isDarkMode={true} classValue="h-screen" />
19
+ * ```
20
+ */
21
+ export declare const LogoLoader: FC<LogoLoaderProps>;
22
+ export {};
@@ -0,0 +1,51 @@
1
+ import { type ReactNode } from "react";
2
+ /**
3
+ * Props for the PageContainer component
4
+ */
5
+ export interface PageContainerProps {
6
+ /** Page title for document head */
7
+ title?: string;
8
+ /** Main content to render */
9
+ children: ReactNode;
10
+ /** Current page mode (edit, comparison, etc.) */
11
+ mode?: string | null;
12
+ /** Display ID for edit mode banner */
13
+ displayId?: string | null;
14
+ /** Disable padding on the content area */
15
+ noPadding?: boolean;
16
+ /** Additional CSS classes for the container */
17
+ className?: string;
18
+ /** Hide the banner even if mode/displayId would show it */
19
+ noBanner?: boolean;
20
+ /** Additional CSS classes for the content area */
21
+ contentClassName?: string;
22
+ /** Callback when banner is clicked */
23
+ onBannerClick?: () => void;
24
+ /** Enable scroll to top on mount */
25
+ scrollToTopOnMount?: boolean;
26
+ }
27
+ /**
28
+ * PageContainer component provides a consistent layout wrapper for pages
29
+ *
30
+ * Features:
31
+ * - Automatic height calculation
32
+ * - Mode-based banners (edit/comparison)
33
+ * - Flexible content area
34
+ * - Dark mode support
35
+ * - Smooth transitions
36
+ *
37
+ * @example
38
+ * ```tsx
39
+ * <PageContainer
40
+ * title="Dashboard"
41
+ * mode="edit"
42
+ * displayId="AGR-123"
43
+ * >
44
+ * <YourContent />
45
+ * </PageContainer>
46
+ * ```
47
+ */
48
+ export declare const PageContainer: {
49
+ ({ title, children, mode, displayId, noPadding, className, noBanner, contentClassName, onBannerClick, scrollToTopOnMount, }: PageContainerProps): import("react/jsx-runtime").JSX.Element;
50
+ displayName: string;
51
+ };
@@ -0,0 +1,12 @@
1
+ export { PageContainer } from "./PageContainer";
2
+ export type { PageContainerProps } from "./PageContainer";
3
+ export { HelmetTitle } from "./HelmetTitle";
4
+ export type { HelmetTitleProps } from "./HelmetTitle";
5
+ export { Helmet } from "./Helmet";
6
+ export type { HelmetProps } from "./Helmet";
7
+ export { ComponentLoader } from "./ComponentLoader";
8
+ export type { ComponentLoaderProps } from "./ComponentLoader";
9
+ export { LogoLoader } from "./LogoLoader";
10
+ export type { LogoLoaderProps } from "./LogoLoader";
11
+ export { CustomScrollbar } from "./CustomScrollbar";
12
+ export type { CustomScrollbarProps, CustomScrollbarHandle } from "./CustomScrollbar";
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export type IButtonStatus = 'primary' | 'secondary' | 'secondary-neutral' | 'error' | 'success' | 'warning';
3
+ export type ConfirmPopUpProps = {
4
+ children?: React.ReactElement;
5
+ onCancel?: (closeByIcon?: boolean) => void;
6
+ onOk: () => void;
7
+ title: string;
8
+ content: string;
9
+ footer?: {
10
+ justify?: string;
11
+ okText?: string;
12
+ cancelText?: string;
13
+ okBtnType?: IButtonStatus;
14
+ cancelBtnType?: IButtonStatus;
15
+ };
16
+ async?: (cb: ({ error }: {
17
+ error: boolean;
18
+ }) => void) => Promise<void>;
19
+ width?: number;
20
+ forceVisible?: boolean;
21
+ isVisibleOutside?: boolean;
22
+ ableToConfirmByChildren?: boolean;
23
+ parentContainer?: string;
24
+ };
25
+ declare const _default: React.NamedExoticComponent<ConfirmPopUpProps>;
26
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as ConfirmPopUp } from './ConfirmPopUp';
2
+ export type { ConfirmPopUpProps, IButtonStatus } from './ConfirmPopUp';
@@ -0,0 +1,35 @@
1
+ import { Drawer as AntDrawer } from 'antd';
2
+ import React from 'react';
3
+ export type DrawerProps = {
4
+ id?: string;
5
+ children: React.ReactNode;
6
+ onClose: () => void;
7
+ open: boolean;
8
+ title: React.ReactNode;
9
+ parentContainer?: string;
10
+ resizable?: boolean;
11
+ width?: number;
12
+ placement?: 'left' | 'right' | 'top' | 'bottom';
13
+ closable?: boolean;
14
+ mask?: boolean;
15
+ getContainer?: false | HTMLElement | (() => HTMLElement);
16
+ zIndex?: number;
17
+ footer?: React.ReactNode;
18
+ } & React.ComponentProps<typeof AntDrawer>;
19
+ /**
20
+ * Drawer component for sliding panels from screen edges
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * <Drawer
25
+ * open={isOpen}
26
+ * onClose={() => setIsOpen(false)}
27
+ * title="Drawer Title"
28
+ * width={400}
29
+ * >
30
+ * <div>Drawer content</div>
31
+ * </Drawer>
32
+ * ```
33
+ */
34
+ export declare const Drawer: React.FC<DrawerProps>;
35
+ export default Drawer;
@@ -0,0 +1,2 @@
1
+ export { Drawer, default as DrawerDefault } from './Drawer';
2
+ export type { DrawerProps } from './Drawer';
@@ -0,0 +1,39 @@
1
+ import { FC, HTMLAttributes } from 'react';
2
+ export type AccordionProps = HTMLAttributes<HTMLDivElement> & {
3
+ title: any;
4
+ toggle: () => void;
5
+ isOpen: boolean;
6
+ hoveringIndex?: number | null;
7
+ index?: number;
8
+ viewOnly?: boolean;
9
+ onTitleClick?: (e: React.MouseEvent) => void;
10
+ onSelect?: () => void;
11
+ isChecked?: boolean;
12
+ subTitle?: string;
13
+ noSpace?: boolean;
14
+ isDraggable?: boolean;
15
+ sortableConfig?: Record<string, any>;
16
+ headerClass?: string;
17
+ icon?: JSX.Element;
18
+ additionalHeader?: JSX.Element;
19
+ id: string;
20
+ isEditMode?: boolean;
21
+ mainClass?: string;
22
+ childrenClass?: string;
23
+ };
24
+ /**
25
+ * Accordion component for collapsible content sections
26
+ *
27
+ * @example
28
+ * ```tsx
29
+ * <Accordion
30
+ * id="my-accordion"
31
+ * title="Section Title"
32
+ * isOpen={isOpen}
33
+ * toggle={() => setIsOpen(!isOpen)}
34
+ * >
35
+ * <div>Accordion content</div>
36
+ * </Accordion>
37
+ * ```
38
+ */
39
+ export declare const Accordion: FC<AccordionProps>;
@@ -0,0 +1,2 @@
1
+ export { Accordion } from './Accordion';
2
+ export type { AccordionProps } from './Accordion';
@@ -0,0 +1,52 @@
1
+ import type { FC, ReactNode } from "react";
2
+ import { type TBreadCrumbItem } from "./BreadCrumbItem";
3
+ /**
4
+ * Arrow icon for breadcrumb separators
5
+ */
6
+ export declare const ArrowBreadCums: ({ fill, size, className, }: {
7
+ fill?: string;
8
+ size?: number;
9
+ className?: string;
10
+ }) => import("react/jsx-runtime").JSX.Element;
11
+ /**
12
+ * Props for the BreadCrumb component
13
+ */
14
+ export interface BreadCrumbProps {
15
+ /** Array of breadcrumb items to display */
16
+ items: TBreadCrumbItem[];
17
+ /** Visual variant of the breadcrumb */
18
+ variant?: "primary" | "secondary";
19
+ /** Click handler when a breadcrumb item is clicked */
20
+ onClick?: (id: string | number) => void;
21
+ /**
22
+ * Custom link renderer for navigation
23
+ * Allows integration with any routing library (react-router, next/link, etc.)
24
+ * If not provided, items will be rendered as clickable divs
25
+ */
26
+ renderLink?: (item: TBreadCrumbItem, children: ReactNode, isLastItem: boolean) => ReactNode;
27
+ }
28
+ /**
29
+ * BreadCrumb component displays a navigation trail with animated items
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * // Basic usage with onClick handler
34
+ * <BreadCrumb
35
+ * items={[
36
+ * { id: "1", title: "Home" },
37
+ * { id: "2", title: "Products" },
38
+ * { id: "3", title: "Product Details" }
39
+ * ]}
40
+ * onClick={(id) => navigate(id)}
41
+ * />
42
+ *
43
+ * // With custom link renderer (e.g., react-router)
44
+ * <BreadCrumb
45
+ * items={items}
46
+ * renderLink={(item, children) => (
47
+ * <Link to={item.link || "/"}>{children}</Link>
48
+ * )}
49
+ * />
50
+ * ```
51
+ */
52
+ export declare const BreadCrumb: FC<BreadCrumbProps>;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Breadcrumb item data structure
3
+ */
4
+ export interface TBreadCrumbItem {
5
+ /** Unique identifier for the item */
6
+ id?: string | number;
7
+ /** Display title for the breadcrumb item */
8
+ title: string;
9
+ /** Navigation link URL */
10
+ link?: string;
11
+ /** Optional source for navigation state */
12
+ source?: string;
13
+ }
14
+ /**
15
+ * Props for the BreadCrumbItem component
16
+ */
17
+ export interface BreadCrumbItemProps {
18
+ /** The breadcrumb item data */
19
+ item: TBreadCrumbItem;
20
+ /** Visual variant of the breadcrumb */
21
+ variant?: "primary" | "secondary";
22
+ /** Whether this is the last item in the breadcrumb trail */
23
+ isLastItem?: boolean;
24
+ /** Click handler when the item is clicked */
25
+ onClick?: (id: string | number) => void;
26
+ }
27
+ /**
28
+ * BreadCrumbItem component displays a single breadcrumb item with appropriate styling
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * <BreadCrumbItem
33
+ * item={{ id: "1", title: "Home", link: "/" }}
34
+ * variant="primary"
35
+ * isLastItem={false}
36
+ * />
37
+ * ```
38
+ */
39
+ export declare const BreadCrumbItem: import("react").ForwardRefExoticComponent<BreadCrumbItemProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export { BreadCrumb } from "./BreadCrumb";
2
+ export type { BreadCrumbProps } from "./BreadCrumb";
3
+ export { BreadCrumbItem } from "./BreadCrumbItem";
4
+ export type { BreadCrumbItemProps, TBreadCrumbItem } from "./BreadCrumbItem";
@@ -0,0 +1,45 @@
1
+ export type TStep = {
2
+ label: string;
3
+ description?: string;
4
+ isLocked?: boolean;
5
+ tooltipText?: string;
6
+ };
7
+ export type TStepperProps = {
8
+ steps: TStep[];
9
+ currentStep: number;
10
+ onClick?: (index: number) => void;
11
+ appearance?: 'linear' | 'parallel';
12
+ labelPosition?: 'top' | 'bottom' | 'inline' | 'top-right' | 'bottom-right';
13
+ className?: string;
14
+ showIndex?: boolean;
15
+ disableOneMore?: boolean;
16
+ lockConfig?: {
17
+ isLocked?: boolean;
18
+ tooltipText?: string;
19
+ };
20
+ /** Whether the main sidebar is open (affects responsive calculations) */
21
+ isMainSideBarOpen?: boolean;
22
+ /** Whether the authoring panel is open (affects responsive calculations) */
23
+ isAuthoringOpen?: boolean;
24
+ };
25
+ /**
26
+ * Stepper component for multi-step workflows
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * <Stepper
31
+ * steps={[
32
+ * { label: 'Step 1', description: 'First step' },
33
+ * { label: 'Step 2', description: 'Second step' },
34
+ * { label: 'Step 3', description: 'Third step' },
35
+ * ]}
36
+ * currentStep={1}
37
+ * onClick={(index) => setCurrentStep(index)}
38
+ * />
39
+ * ```
40
+ */
41
+ declare const Stepper: {
42
+ ({ steps, currentStep, appearance, labelPosition, onClick, className, showIndex, disableOneMore, isMainSideBarOpen, isAuthoringOpen, }: TStepperProps): import("react/jsx-runtime").JSX.Element;
43
+ displayName: string;
44
+ };
45
+ export default Stepper;
@@ -0,0 +1,2 @@
1
+ export { default as Stepper } from './Stepper';
2
+ export type { TStep, TStepperProps } from './Stepper';
@@ -0,0 +1,26 @@
1
+ export type ShortcutKbdVariant = 'dark' | 'light';
2
+ export interface ShortcutKbdProps {
3
+ /** Array of keyboard shortcut keys to display (e.g., ['Meta', 'S'] or ['Ctrl', 'Enter']) */
4
+ shortcuts: string[];
5
+ /** Visual variant of the keyboard shortcuts */
6
+ variant?: ShortcutKbdVariant;
7
+ /** Additional CSS class name */
8
+ className?: string;
9
+ }
10
+ /**
11
+ * ShortcutKbd component displays keyboard shortcuts with OS-aware key symbols.
12
+ *
13
+ * Keys like 'Meta', 'Alt', 'Shift', 'Control', 'Enter', 'Delete' are automatically
14
+ * converted to OS-specific symbols (e.g., ⌘ on macOS, Ctrl on Windows/Linux).
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * // macOS: Shows "⌘ S", Windows: Shows "Ctrl S"
19
+ * <ShortcutKbd shortcuts={['Meta', 'S']} />
20
+ *
21
+ * // Light variant for dark backgrounds
22
+ * <ShortcutKbd shortcuts={['Meta', 'Shift', 'P']} variant="light" />
23
+ * ```
24
+ */
25
+ export declare const ShortcutKbd: ({ shortcuts, variant, className, }: ShortcutKbdProps) => import("react/jsx-runtime").JSX.Element;
26
+ export default ShortcutKbd;
@@ -0,0 +1,2 @@
1
+ export { ShortcutKbd, default } from './ShortcutKbd';
2
+ export type { ShortcutKbdProps, ShortcutKbdVariant } from './ShortcutKbd';
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode } from 'react';
2
+ export type SidebarProps = {
3
+ children: ReactNode;
4
+ /** Whether the sidebar should take full screen width minus the main sidebar */
5
+ isFullScreen?: boolean;
6
+ className?: string;
7
+ /** Default width when not in fullscreen mode */
8
+ defaultSize?: number | string;
9
+ /** Custom height. Defaults to viewport height minus navbar */
10
+ height?: string;
11
+ /** Whether the main sidebar is expanded */
12
+ isMainSideBarOpen?: boolean;
13
+ };
14
+ declare const _default: React.NamedExoticComponent<SidebarProps>;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as Sidebar } from './Sidebar';
2
+ export type { SidebarProps } from './Sidebar';
@@ -0,0 +1,16 @@
1
+ import './styles.css';
2
+ import * as React from 'react';
3
+ export type TooltipPlacement = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
4
+ export interface TooltipProps {
5
+ title: React.ReactNode;
6
+ placement?: TooltipPlacement;
7
+ children: React.ReactNode;
8
+ className?: string;
9
+ hideTooltip?: boolean;
10
+ delayShow?: boolean;
11
+ whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'initial' | 'inherit';
12
+ /** Array of keyboard shortcut keys to display (e.g., ['Cmd', 'S'] or ['Ctrl', 'Enter']) */
13
+ shortcuts?: string[];
14
+ }
15
+ declare const Tooltip: ({ children, title, hideTooltip, delayShow, whiteSpace, placement, className, shortcuts, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default Tooltip;
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ export type NameInitialLogoProps = {
3
+ initials: string;
4
+ rounded: boolean;
5
+ className?: string;
6
+ };
7
+ /**
8
+ * NameInitialLogo component displays user initials in a styled container
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <NameInitialLogo initials="JD" rounded={true} />
13
+ * ```
14
+ */
15
+ export declare const NameInitialLogo: FC<NameInitialLogoProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type PersonIconProps = {
3
+ fill?: string;
4
+ className?: string;
5
+ };
6
+ export declare const PersonIcon: React.FC<PersonIconProps>;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface StatusInfoRowProps {
2
+ isActive?: boolean;
3
+ lastViewedOn?: string;
4
+ }
5
+ export declare const StatusInfoRow: ({ isActive, lastViewedOn }: StatusInfoRowProps) => import("react/jsx-runtime").JSX.Element;