@true-tech-team/react-components 0.0.10 → 1.0.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.
- package/README.md +958 -958
- package/index.css +1 -1
- package/index.js +1 -1
- package/index.mjs +12967 -13412
- package/lib/components/buttons/Button/Button.d.ts +3 -1
- package/lib/components/buttons/ButtonToggleGroup/ButtonToggleGroup.d.ts +3 -1
- package/lib/components/buttons/ButtonToggleGroup/ButtonToggleGroupItem.d.ts +3 -1
- package/lib/components/buttons/IconButton/IconButton.d.ts +3 -1
- package/lib/components/buttons/ToggleButton/ToggleButton.d.ts +3 -1
- package/lib/components/display/Accordion/Accordion.d.ts +3 -1
- package/lib/components/display/Avatar/Avatar.d.ts +3 -1
- package/lib/components/display/Badge/Badge.d.ts +3 -1
- package/lib/components/display/Card/Card.d.ts +3 -1
- package/lib/components/display/Carousel/Carousel.d.ts +3 -1
- package/lib/components/display/Chip/Chip.d.ts +3 -1
- package/lib/components/display/CircularProgress/CircularProgress.d.ts +3 -1
- package/lib/components/display/Collapse/Collapse.d.ts +3 -1
- package/lib/components/display/CountUp/CountUp.d.ts +3 -1
- package/lib/components/display/FlipCard/FlipCard.d.ts +3 -1
- package/lib/components/display/KPI/KPI.d.ts +3 -1
- package/lib/components/display/List/List.d.ts +2 -2
- package/lib/components/display/List/ListEmpty.d.ts +0 -3
- package/lib/components/display/List/ListGroup.d.ts +2 -5
- package/lib/components/display/List/ListHeader.d.ts +0 -3
- package/lib/components/display/List/ListItem.d.ts +1 -1
- package/lib/components/display/List/ListSearch.d.ts +0 -3
- package/lib/components/display/List/ListSkeleton.d.ts +0 -3
- package/lib/components/display/OverflowText/OverflowText.d.ts +3 -1
- package/lib/components/display/PageMessages/PageMessages.d.ts +3 -1
- package/lib/components/display/Pill/Pill.d.ts +3 -1
- package/lib/components/display/ProgressBar/ProgressBar.d.ts +3 -1
- package/lib/components/display/Reveal/Reveal.d.ts +3 -1
- package/lib/components/display/ScrollArea/ScrollArea.d.ts +3 -1
- package/lib/components/display/Skeleton/Skeleton.d.ts +3 -1
- package/lib/components/display/Spinner/Spinner.d.ts +3 -1
- package/lib/components/display/StatusIndicator/StatusIndicator.d.ts +3 -1
- package/lib/components/display/Table/Table.d.ts +2 -2
- package/lib/components/display/Table/TableBody.d.ts +0 -3
- package/lib/components/display/Table/TableCell.d.ts +0 -3
- package/lib/components/display/Table/TableHeader.d.ts +0 -3
- package/lib/components/display/Table/TableRow.d.ts +0 -3
- package/lib/components/display/Table/TableSearch.d.ts +0 -3
- package/lib/components/display/Table/TableSkeleton.d.ts +0 -3
- package/lib/components/display/Table/hooks/useInfiniteScroll.d.ts +1 -1
- package/lib/components/display/Tabs/Tab.d.ts +3 -1
- package/lib/components/display/Tabs/TabList.d.ts +3 -1
- package/lib/components/display/Tabs/TabPanel.d.ts +3 -1
- package/lib/components/display/Tabs/Tabs.d.ts +3 -1
- package/lib/components/display/Tag/Tag.d.ts +3 -1
- package/lib/components/display/TruncatedList/TruncatedList.d.ts +1 -1
- package/lib/components/dnd/DragHandle/DragHandle.d.ts +3 -1
- package/lib/components/dnd/DragOverlay/DragOverlay.d.ts +1 -1
- package/lib/components/dnd/KanbanBoard/KanbanBoard.d.ts +0 -3
- package/lib/components/dnd/KanbanBoard/KanbanCard.d.ts +3 -1
- package/lib/components/dnd/KanbanBoard/KanbanColumn.d.ts +3 -1
- package/lib/components/dnd/ResizablePanels/ResizablePanel.d.ts +6 -1
- package/lib/components/dnd/ResizablePanels/ResizeHandle.d.ts +3 -1
- package/lib/components/dnd/SortableGrid/SortableGrid.d.ts +0 -3
- package/lib/components/dnd/SortableGrid/SortableGridItem.d.ts +3 -1
- package/lib/components/dnd/SortableList/SortableItem.d.ts +3 -1
- package/lib/components/dnd/SortableList/SortableList.d.ts +0 -3
- package/lib/components/filters/core/ActiveFilters/ActiveFilters.d.ts +3 -1
- package/lib/components/filters/core/FilterField/FilterField.d.ts +3 -1
- package/lib/components/filters/core/FilterSection/FilterSection.d.ts +3 -1
- package/lib/components/filters/fields/CheckboxFilter.d.ts +3 -1
- package/lib/components/filters/fields/DateFilter.d.ts +3 -1
- package/lib/components/filters/fields/DateRangeFilter.d.ts +3 -1
- package/lib/components/filters/fields/ListSelectFilter.d.ts +3 -1
- package/lib/components/filters/fields/MultiSelectFilter.d.ts +3 -1
- package/lib/components/filters/fields/NumberFilter.d.ts +3 -1
- package/lib/components/filters/fields/NumberRangeFilter.d.ts +3 -1
- package/lib/components/filters/fields/RatingFilter.d.ts +3 -1
- package/lib/components/filters/fields/SelectFilter.d.ts +3 -1
- package/lib/components/filters/fields/TextFilter.d.ts +3 -1
- package/lib/components/filters/fields/ToggleFilter.d.ts +3 -1
- package/lib/components/filters/layouts/FilterAccordion/FilterAccordion.d.ts +3 -1
- package/lib/components/filters/layouts/FilterBar/FilterBar.d.ts +3 -1
- package/lib/components/filters/layouts/FilterModal/FilterModal.d.ts +3 -1
- package/lib/components/filters/layouts/FilterPopover/FilterPopover.d.ts +3 -1
- package/lib/components/filters/layouts/FilterSidebar/FilterSidebar.d.ts +3 -1
- package/lib/components/forms/FormBuilder/FormBuilder.d.ts +3 -1
- package/lib/components/forms/FormBuilder/hooks/useFormValidation.d.ts +2 -2
- package/lib/components/forms/FormBuilder/types.d.ts +3 -0
- package/lib/components/inputs/Autocomplete/Autocomplete.d.ts +1 -1
- package/lib/components/inputs/Checkbox/Checkbox.d.ts +3 -1
- package/lib/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +3 -1
- package/lib/components/inputs/CheckboxGroup/CheckboxGroupItem.d.ts +3 -1
- package/lib/components/inputs/ColorPicker/ColorPicker.d.ts +3 -1
- package/lib/components/inputs/DatePicker/DatePicker.d.ts +3 -1
- package/lib/components/inputs/DateRangePicker/DateRangePicker.d.ts +3 -1
- package/lib/components/inputs/FilePicker/FilePicker.d.ts +3 -1
- package/lib/components/inputs/Input/Input.d.ts +3 -1
- package/lib/components/inputs/NumberInput/NumberInput.d.ts +3 -1
- package/lib/components/inputs/PhoneInput/PhoneInput.d.ts +3 -1
- package/lib/components/inputs/Radio/Radio.d.ts +3 -1
- package/lib/components/inputs/Radio/RadioGroup.d.ts +3 -1
- package/lib/components/inputs/Rating/Rating.d.ts +3 -1
- package/lib/components/inputs/Select/Select.d.ts +3 -1
- package/lib/components/inputs/Slider/Slider.d.ts +3 -1
- package/lib/components/inputs/TagInput/TagInput.d.ts +3 -1
- package/lib/components/inputs/Textarea/Textarea.d.ts +3 -1
- package/lib/components/inputs/Toggle/Toggle.d.ts +3 -1
- package/lib/components/layout/AdaptiveGrid/AdaptiveGrid.d.ts +3 -1
- package/lib/components/layout/MasonryLayout/MasonryLayout.d.ts +3 -1
- package/lib/components/layout/Panes/Pane.d.ts +3 -1
- package/lib/components/layout/Panes/Panes.d.ts +3 -1
- package/lib/components/layout/ResponsiveStack/ResponsiveStack.d.ts +3 -1
- package/lib/components/navigation/BottomNavigation/BottomNavigation.d.ts +3 -1
- package/lib/components/navigation/BottomNavigation/BottomNavigationItem.d.ts +3 -1
- package/lib/components/navigation/Breadcrumbs/BreadcrumbItem.d.ts +3 -1
- package/lib/components/navigation/Breadcrumbs/BreadcrumbSeparator.d.ts +3 -1
- package/lib/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +3 -1
- package/lib/components/navigation/CollapsibleSidebar/CollapsibleSidebar.d.ts +3 -1
- package/lib/components/navigation/NavLink/NavLink.d.ts +3 -1
- package/lib/components/navigation/Navbar/Navbar.d.ts +3 -1
- package/lib/components/navigation/Navbar/NavbarActions.d.ts +3 -1
- package/lib/components/navigation/Navbar/NavbarBrand.d.ts +3 -1
- package/lib/components/navigation/Navbar/NavbarCollapse.d.ts +3 -1
- package/lib/components/navigation/Navbar/NavbarNav.d.ts +3 -1
- package/lib/components/navigation/Navbar/NavbarToggle.d.ts +3 -1
- package/lib/components/navigation/Pagination/Pagination.d.ts +3 -1
- package/lib/components/navigation/SideNav/SideNav.d.ts +3 -1
- package/lib/components/navigation/SideNav/SideNavDivider.d.ts +3 -1
- package/lib/components/navigation/SideNav/SideNavGroup.d.ts +3 -1
- package/lib/components/navigation/SideNav/SideNavItem.d.ts +3 -1
- package/lib/components/navigation/Stepper/Step.d.ts +3 -1
- package/lib/components/navigation/Stepper/Stepper.d.ts +3 -1
- package/lib/components/overlays/Alert/Alert.d.ts +3 -1
- package/lib/components/overlays/Alert/AlertProvider.d.ts +0 -3
- package/lib/components/overlays/Dialog/Dialog.d.ts +3 -1
- package/lib/components/overlays/Dialog/DialogProvider.d.ts +0 -3
- package/lib/components/overlays/LoadingOverlay/LoadingOverlay.d.ts +3 -1
- package/lib/components/overlays/Popover/Popover.d.ts +1 -1
- package/lib/components/overlays/Toast/ToastProvider.d.ts +0 -3
- package/lib/decorators/ComponentDecorator/ComponentDecorator.d.ts +7 -2
- package/lib/hooks/useClickOutside/useClickOutside.d.ts +1 -1
- package/lib/hooks/useFocusTrap/useFocusTrap.d.ts +1 -1
- package/lib/hooks/usePopoverPosition/usePopoverPosition.d.ts +2 -2
- package/lib/types/component.types.d.ts +1 -1
- package/lib/utils/validation.d.ts +3 -3
- package/package.json +54 -54
|
@@ -85,5 +85,7 @@ export interface SideNavProps extends BaseComponentProps {
|
|
|
85
85
|
* </SideNav>
|
|
86
86
|
* ```
|
|
87
87
|
*/
|
|
88
|
-
export declare const SideNav:
|
|
88
|
+
export declare const SideNav: ({ ref, position, collapsed: controlledCollapsed, defaultCollapsed, onCollapsedChange, expandedWidth, collapsedWidth, selectedValue: controlledSelectedValue, defaultSelectedValue, onSelect, header, footer, children, className, "data-testid": testId, "aria-label": ariaLabel, style, ...restProps }: SideNavProps & {
|
|
89
|
+
ref?: React.Ref<HTMLElement>;
|
|
90
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
89
91
|
export default SideNav;
|
|
@@ -18,5 +18,7 @@ export interface SideNavDividerProps extends Omit<BaseComponentProps, 'children'
|
|
|
18
18
|
* <SideNavDivider label="Settings" />
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export declare const SideNavDivider:
|
|
21
|
+
export declare const SideNavDivider: ({ ref, label, className, "data-testid": testId, style, ...restProps }: SideNavDividerProps & {
|
|
22
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export default SideNavDivider;
|
|
@@ -40,5 +40,7 @@ export interface SideNavGroupProps extends BaseComponentProps {
|
|
|
40
40
|
* </SideNavGroup>
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
export declare const SideNavGroup:
|
|
43
|
+
export declare const SideNavGroup: ({ ref, groupId, label, icon, expanded: controlledExpanded, defaultExpanded, children, className, "data-testid": testId, style, ...restProps }: SideNavGroupProps & {
|
|
44
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
45
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
44
46
|
export default SideNavGroup;
|
|
@@ -67,5 +67,7 @@ export interface SideNavItemProps extends BaseComponentProps {
|
|
|
67
67
|
* />
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
export declare const SideNavItem:
|
|
70
|
+
export declare const SideNavItem: ({ ref, value, icon, label, tooltip, disabled, href, onClick, badge, endAdornment, level, className, "data-testid": testId, style, ...restProps }: SideNavItemProps & {
|
|
71
|
+
ref?: React.Ref<HTMLElement>;
|
|
72
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
71
73
|
export default SideNavItem;
|
|
@@ -53,5 +53,7 @@ export interface StepProps extends BaseComponentProps {
|
|
|
53
53
|
* <Step title="Payment" error errorMessage="Please fix payment details" />
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
export declare const Step:
|
|
56
|
+
export declare const Step: ({ ref, title, description, icon, optional, error, errorMessage, children, className, "data-testid": testId, style, _stepIndex, ...restProps }: StepProps & {
|
|
57
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
58
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
57
59
|
export default Step;
|
|
@@ -76,5 +76,7 @@ export interface StepperProps extends BaseComponentProps {
|
|
|
76
76
|
* </Stepper>
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
|
-
export declare const Stepper:
|
|
79
|
+
export declare const Stepper: ({ ref, currentStep, onStepChange, orientation, variant, size, allowStepClick, onlyPreviousClickable, completedSteps, children, className, "data-testid": testId, "aria-label": ariaLabel, style, ...restProps }: StepperProps & {
|
|
80
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
81
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
80
82
|
export default Stepper;
|
|
@@ -98,5 +98,7 @@ export interface AlertProps extends Omit<DialogProps, 'actions' | 'renderHeader'
|
|
|
98
98
|
* />
|
|
99
99
|
* ```
|
|
100
100
|
*/
|
|
101
|
-
export declare const Alert:
|
|
101
|
+
export declare const Alert: ({ ref, variant, icon, hideIcon, title, description, children, confirmText, cancelText, onConfirm, onCancel, loading, confirmDisabled, confirmVariant, extraActions, size, showCancel, onClose, className, "data-testid": testId, ...restProps }: AlertProps & {
|
|
102
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
103
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
102
104
|
export default Alert;
|
|
@@ -193,5 +193,7 @@ export declare const DialogFooter: React.FC<DialogFooterProps>;
|
|
|
193
193
|
* Dialog component
|
|
194
194
|
* Modal dialog for user interactions with customizable content
|
|
195
195
|
*/
|
|
196
|
-
export declare const Dialog:
|
|
196
|
+
export declare const Dialog: ({ ref, isOpen: controlledIsOpen, defaultOpen, onOpenChange, onClose, title, children, actions, size, width, maxHeight, closeOnBackdropClick, closeOnEscape, showCloseButton, trapFocus, blockScroll, blurBackdrop, backdropOpacity, zIndex, animationDuration, role, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby, modal, renderHeader, renderFooter, backdropClassName, contentClassName, onOpenComplete, onCloseComplete, className, "data-testid": testId, style: customStyle, ...restProps }: DialogProps & {
|
|
197
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
198
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
197
199
|
export default Dialog;
|
|
@@ -25,6 +25,3 @@ export interface DialogProviderProps {
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
export declare function DialogProvider({ children, defaultDialogProps }: DialogProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export declare namespace DialogProvider {
|
|
29
|
-
var displayName: string;
|
|
30
|
-
}
|
|
@@ -97,5 +97,7 @@ export interface LoadingOverlayProps extends BaseComponentProps {
|
|
|
97
97
|
* </LoadingOverlay>
|
|
98
98
|
* ```
|
|
99
99
|
*/
|
|
100
|
-
export declare const LoadingOverlay:
|
|
100
|
+
export declare const LoadingOverlay: ({ ref, children, visible, mode, spinnerStyle, spinnerSize, spinnerVariant, spinnerSpeed, message, blur, backdropOpacity, zIndex, transitionDuration, customSpinner, borderRadius, className, "data-testid": testId, style, ...restProps }: LoadingOverlayProps & {
|
|
101
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
102
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
101
103
|
export default LoadingOverlay;
|
|
@@ -47,7 +47,7 @@ export interface PopoverProps extends Omit<BaseComponentProps, 'children'> {
|
|
|
47
47
|
* Trigger element (render prop or ReactNode)
|
|
48
48
|
*/
|
|
49
49
|
trigger: ReactNode | ((props: {
|
|
50
|
-
ref: RefObject<HTMLElement>;
|
|
50
|
+
ref: RefObject<HTMLElement | null>;
|
|
51
51
|
}) => ReactNode);
|
|
52
52
|
/**
|
|
53
53
|
* Popover content
|
|
@@ -66,6 +66,3 @@ export interface ToastProviderProps {
|
|
|
66
66
|
* ```
|
|
67
67
|
*/
|
|
68
68
|
export declare function ToastProvider({ children, position, maxVisible, gap, offset, defaultDuration, animationDuration, defaultToastProps, zIndex, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
export declare namespace ToastProvider {
|
|
70
|
-
var displayName: string;
|
|
71
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, JSX } from 'react';
|
|
2
2
|
import { CSSVariables } from '../../types';
|
|
3
3
|
export interface ComponentDecoratorProps {
|
|
4
4
|
/**
|
|
@@ -53,5 +53,10 @@ export interface ComponentDecoratorProps {
|
|
|
53
53
|
* );
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
export declare function withComponentDecorator<P extends object>(Component: React.ComponentType<P>, componentName: string, defaultClassName?: string):
|
|
56
|
+
export declare function withComponentDecorator<P extends object>(Component: React.ComponentType<P>, componentName: string, defaultClassName?: string): {
|
|
57
|
+
({ ref, ...props }: P & Omit<ComponentDecoratorProps, "componentName"> & {
|
|
58
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
59
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
displayName: string;
|
|
61
|
+
};
|
|
57
62
|
export default withComponentDecorator;
|
|
@@ -6,4 +6,4 @@ import { RefObject } from 'react';
|
|
|
6
6
|
* @param enabled - Whether the hook is active
|
|
7
7
|
* @param excludeRefs - Additional refs to exclude from outside click detection (e.g., trigger elements)
|
|
8
8
|
*/
|
|
9
|
-
export declare function useClickOutside<T extends HTMLElement>(ref: RefObject<T>, handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean, excludeRefs?: Array<RefObject<HTMLElement>>): void;
|
|
9
|
+
export declare function useClickOutside<T extends HTMLElement>(ref: RefObject<T | null>, handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean, excludeRefs?: Array<RefObject<HTMLElement | null>>): void;
|
|
@@ -5,4 +5,4 @@ import { RefObject } from 'react';
|
|
|
5
5
|
* @param enabled - Whether the focus trap is active
|
|
6
6
|
* @param autoFocus - Whether to automatically focus the first element on mount
|
|
7
7
|
*/
|
|
8
|
-
export declare function useFocusTrap<T extends HTMLElement>(ref: RefObject<T>, enabled?: boolean, autoFocus?: boolean): void;
|
|
8
|
+
export declare function useFocusTrap<T extends HTMLElement>(ref: RefObject<T | null>, enabled?: boolean, autoFocus?: boolean): void;
|
|
@@ -36,11 +36,11 @@ export interface UsePopoverPositionReturn {
|
|
|
36
36
|
/**
|
|
37
37
|
* Ref to attach to popover element
|
|
38
38
|
*/
|
|
39
|
-
popoverRef: RefObject<HTMLDivElement>;
|
|
39
|
+
popoverRef: RefObject<HTMLDivElement | null>;
|
|
40
40
|
/**
|
|
41
41
|
* Ref to attach to trigger element
|
|
42
42
|
*/
|
|
43
|
-
triggerRef: RefObject<HTMLElement>;
|
|
43
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
44
44
|
/**
|
|
45
45
|
* Style object to apply to popover
|
|
46
46
|
*/
|
|
@@ -73,7 +73,7 @@ export declare const validators: {
|
|
|
73
73
|
* @param otherValue Value to match against
|
|
74
74
|
* @param message Custom error message
|
|
75
75
|
*/
|
|
76
|
-
matches: (otherValue:
|
|
76
|
+
matches: (otherValue: unknown, message?: string) => Validator;
|
|
77
77
|
/**
|
|
78
78
|
* Validates file size
|
|
79
79
|
* @param maxSize Maximum size in bytes
|
|
@@ -99,14 +99,14 @@ export declare const combineValidators: (...validators: Validator[]) => Validato
|
|
|
99
99
|
* @param validator Single validator or array of validators
|
|
100
100
|
* @returns ValidationResult object
|
|
101
101
|
*/
|
|
102
|
-
export declare const validate: (value:
|
|
102
|
+
export declare const validate: (value: unknown, validator: Validator | Validator[]) => ValidationResult;
|
|
103
103
|
/**
|
|
104
104
|
* Validates multiple fields
|
|
105
105
|
* @param values Object with field values
|
|
106
106
|
* @param validators Object with field validators
|
|
107
107
|
* @returns Object with validation results
|
|
108
108
|
*/
|
|
109
|
-
export declare const validateForm: (values: Record<string,
|
|
109
|
+
export declare const validateForm: (values: Record<string, unknown>, validators: Record<string, Validator | Validator[]>) => Record<string, ValidationResult>;
|
|
110
110
|
/**
|
|
111
111
|
* Checks if all validation results are valid
|
|
112
112
|
* @param results Validation results object
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@true-tech-team/react-components",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "React TypeScript component library",
|
|
5
|
-
"main": "./index.js",
|
|
6
|
-
"types": "./index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./index.d.ts",
|
|
10
|
-
"import": "./index.mjs",
|
|
11
|
-
"require": "./index.js"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "nx build ui-components",
|
|
16
|
-
"test": "nx test ui-components",
|
|
17
|
-
"test:watch": "nx test ui-components --watch",
|
|
18
|
-
"test:coverage": "nx test ui-components --coverage",
|
|
19
|
-
"lint": "nx lint ui-components",
|
|
20
|
-
"lint:fix": "nx lint ui-components --fix",
|
|
21
|
-
"storybook": "nx storybook ui-components",
|
|
22
|
-
"storybook:build": "nx build-storybook ui-components",
|
|
23
|
-
"typecheck": "tsc --noEmit -p tsconfig.lib.json"
|
|
24
|
-
},
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"react": "
|
|
27
|
-
"react-dom": "
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"index.js",
|
|
31
|
-
"index.mjs",
|
|
32
|
-
"index.d.ts",
|
|
33
|
-
"**/*.js",
|
|
34
|
-
"**/*.mjs",
|
|
35
|
-
"**/*.d.ts",
|
|
36
|
-
"**/*.css",
|
|
37
|
-
"**/*.scss"
|
|
38
|
-
],
|
|
39
|
-
"publishConfig": {
|
|
40
|
-
"access": "public"
|
|
41
|
-
},
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"directory": "libs/ui-components"
|
|
45
|
-
},
|
|
46
|
-
"keywords": [
|
|
47
|
-
"react",
|
|
48
|
-
"components",
|
|
49
|
-
"typescript",
|
|
50
|
-
"ui",
|
|
51
|
-
"library"
|
|
52
|
-
],
|
|
53
|
-
"license": "MIT"
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@true-tech-team/react-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "React TypeScript component library",
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"import": "./index.mjs",
|
|
11
|
+
"require": "./index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "nx build ui-components",
|
|
16
|
+
"test": "nx test ui-components",
|
|
17
|
+
"test:watch": "nx test ui-components --watch",
|
|
18
|
+
"test:coverage": "nx test ui-components --coverage",
|
|
19
|
+
"lint": "nx lint ui-components",
|
|
20
|
+
"lint:fix": "nx lint ui-components --fix",
|
|
21
|
+
"storybook": "nx storybook ui-components",
|
|
22
|
+
"storybook:build": "nx build-storybook ui-components",
|
|
23
|
+
"typecheck": "tsc --noEmit -p tsconfig.lib.json"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
27
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"index.js",
|
|
31
|
+
"index.mjs",
|
|
32
|
+
"index.d.ts",
|
|
33
|
+
"**/*.js",
|
|
34
|
+
"**/*.mjs",
|
|
35
|
+
"**/*.d.ts",
|
|
36
|
+
"**/*.css",
|
|
37
|
+
"**/*.scss"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"repository": {
|
|
43
|
+
"type": "git",
|
|
44
|
+
"directory": "libs/ui-components"
|
|
45
|
+
},
|
|
46
|
+
"keywords": [
|
|
47
|
+
"react",
|
|
48
|
+
"components",
|
|
49
|
+
"typescript",
|
|
50
|
+
"ui",
|
|
51
|
+
"library"
|
|
52
|
+
],
|
|
53
|
+
"license": "MIT"
|
|
54
|
+
}
|