@dhasdk/simple-ui 0.0.24 → 0.0.26
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 +142 -16
- package/index.d.ts +3 -3
- package/index.js +6 -6
- package/index.mjs +1184 -1176
- package/lib/Badge.d.ts +1 -1
- package/lib/Modal.d.ts +2 -1
- package/lib/Select.d.ts +2 -1
- package/lib/SideBarNav.d.ts +1 -0
- package/lib/Skeleton.d.ts +2 -0
- package/package.json +1 -1
package/lib/Badge.d.ts
CHANGED
package/lib/Modal.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export interface AccessibleModalProps {
|
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
variant?: string;
|
|
5
5
|
className?: string;
|
|
6
|
+
closeButton?: boolean;
|
|
6
7
|
onClose: () => void;
|
|
7
8
|
title: string;
|
|
8
9
|
children: React.ReactNode;
|
|
@@ -13,4 +14,4 @@ export interface AccessibleModalProps {
|
|
|
13
14
|
continueButtonText?: string;
|
|
14
15
|
continueButtonHandler?: () => void;
|
|
15
16
|
}
|
|
16
|
-
export declare const Modal: ({ isOpen, variant, onClose, title, className, clickOutsideCloses, displayClosingX, closeButtonText, continueButton, continueButtonHandler, continueButtonText, children }: AccessibleModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
export declare const Modal: ({ isOpen, variant, onClose, title, className, closeButton, clickOutsideCloses, displayClosingX, closeButtonText, continueButton, continueButtonHandler, continueButtonText, children }: AccessibleModalProps) => import("react/jsx-runtime").JSX.Element | null;
|
package/lib/Select.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ type Option = {
|
|
|
5
5
|
};
|
|
6
6
|
export interface SelectProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
className?: string;
|
|
8
|
+
classNameContainer?: string;
|
|
8
9
|
label?: string;
|
|
9
10
|
variant?: string;
|
|
10
11
|
options: Option[];
|
|
@@ -14,5 +15,5 @@ export interface SelectProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14
15
|
width?: string;
|
|
15
16
|
setSelectedOption: (param: string) => void;
|
|
16
17
|
}
|
|
17
|
-
export declare const Select: ({ className, label, options, optionsLabel, disabled, variant, setSelectedOption, error, width, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const Select: ({ className, classNameContainer, label, options, optionsLabel, disabled, variant, setSelectedOption, error, width, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export {};
|
package/lib/SideBarNav.d.ts
CHANGED
package/lib/Skeleton.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ import * as React from 'react';
|
|
|
3
3
|
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
variant?: string;
|
|
5
5
|
className?: string;
|
|
6
|
+
cssColorClass?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
9
|
export interface SkelProps {
|
|
9
10
|
className?: string;
|
|
10
11
|
inline?: boolean;
|
|
12
|
+
cssColorClass?: string;
|
|
11
13
|
}
|
|
12
14
|
export declare const SkelCircle: FC<SkelProps>;
|
|
13
15
|
export declare const SkelLine: FC<SkelProps>;
|