@wavelengthusaf/components 5.0.2 → 5.0.5
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 +118 -0
- package/dist/cjs/index.cjs +687 -148
- package/dist/cjs/index.d.cts +43 -6
- package/dist/esm/index.d.ts +43 -6
- package/dist/esm/index.js +910 -371
- package/package.json +2 -2
package/dist/cjs/index.d.cts
CHANGED
|
@@ -45,6 +45,24 @@ interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
45
45
|
}
|
|
46
46
|
declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
|
|
47
47
|
|
|
48
|
+
interface StyledButtonPropsTwo {
|
|
49
|
+
type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
|
|
50
|
+
styles?: React__default.CSSProperties;
|
|
51
|
+
hoverstyles?: React__default.CSSProperties;
|
|
52
|
+
activestyles?: React__default.CSSProperties;
|
|
53
|
+
disabledstyles?: React__default.CSSProperties;
|
|
54
|
+
icon?: React__default.ReactNode;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
children: React__default.ReactNode;
|
|
57
|
+
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
58
|
+
id?: string;
|
|
59
|
+
name?: string;
|
|
60
|
+
}
|
|
61
|
+
declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles, id, name }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare namespace WavelengthStyledButton {
|
|
63
|
+
var displayName: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
48
66
|
interface WavelengthContentPlaceholderProps {
|
|
49
67
|
type?: "circle" | "rectangle";
|
|
50
68
|
width?: string | number;
|
|
@@ -154,15 +172,17 @@ interface WavelengthNavBarProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
154
172
|
}
|
|
155
173
|
declare const WavelengthNavBar: React__default.FC<WavelengthNavBarProps>;
|
|
156
174
|
|
|
157
|
-
interface
|
|
175
|
+
interface FileSelectedEventDetail {
|
|
158
176
|
files: File | File[];
|
|
159
177
|
}
|
|
178
|
+
type IFileSelectedEventDetail = FileSelectedEventDetail;
|
|
160
179
|
interface WavelengthFileDropZoneProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
161
180
|
acceptedTypes?: string;
|
|
162
181
|
maxSize?: number;
|
|
163
182
|
multiple?: boolean;
|
|
164
183
|
dragText?: string;
|
|
165
184
|
iconSrc?: string;
|
|
185
|
+
width?: string;
|
|
166
186
|
onFilesSelected?: (files: File | File[]) => void;
|
|
167
187
|
hostDisplay?: string;
|
|
168
188
|
hostWidth?: string;
|
|
@@ -200,9 +220,9 @@ interface WavelengthFileDropZoneProps extends React__default.HTMLAttributes<HTML
|
|
|
200
220
|
errorFontSize?: string;
|
|
201
221
|
errorMarginTop?: string;
|
|
202
222
|
}
|
|
203
|
-
declare const WavelengthFileDropZone: React__default.
|
|
223
|
+
declare const WavelengthFileDropZone: React__default.ForwardRefExoticComponent<WavelengthFileDropZoneProps & React__default.RefAttributes<HTMLElement>>;
|
|
204
224
|
|
|
205
|
-
interface
|
|
225
|
+
interface WavelengthSnackbarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
206
226
|
message?: string;
|
|
207
227
|
duration?: number;
|
|
208
228
|
backgroundColor?: string;
|
|
@@ -216,7 +236,7 @@ interface WavelengthWebSnackbarProps extends React__default.HTMLAttributes<HTMLE
|
|
|
216
236
|
horizontalAlign?: string;
|
|
217
237
|
verticalAlign?: "top" | "center" | "bottom";
|
|
218
238
|
}
|
|
219
|
-
declare const
|
|
239
|
+
declare const WavelengthSnackbar: React__default.FC<WavelengthSnackbarProps>;
|
|
220
240
|
|
|
221
241
|
type WavelengthSpinningLogoProps = {
|
|
222
242
|
size?: number | string | null;
|
|
@@ -259,6 +279,24 @@ declare namespace WavelengthPermissionAlert {
|
|
|
259
279
|
var displayName: string;
|
|
260
280
|
}
|
|
261
281
|
|
|
282
|
+
interface DragAndDropProps {
|
|
283
|
+
width?: string;
|
|
284
|
+
height?: string;
|
|
285
|
+
border?: string;
|
|
286
|
+
onFilesSelected: (files: File[]) => void;
|
|
287
|
+
textColor?: string;
|
|
288
|
+
fontSize?: string;
|
|
289
|
+
allowedFileMIME?: string[];
|
|
290
|
+
allowedFileExtensions?: string;
|
|
291
|
+
backgroundColor?: string;
|
|
292
|
+
dataTestId?: string;
|
|
293
|
+
id?: string;
|
|
294
|
+
}
|
|
295
|
+
declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, id, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare namespace WavelengthDragAndDrop {
|
|
297
|
+
var displayName: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
262
300
|
interface WavelengthToolTipProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
263
301
|
color?: string;
|
|
264
302
|
font?: string;
|
|
@@ -782,7 +820,6 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
782
820
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
783
821
|
|
|
784
822
|
interface WavelengthNotificationPanelProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
785
|
-
onSignOut: () => void;
|
|
786
823
|
username: string;
|
|
787
824
|
action: Array<{
|
|
788
825
|
icon?: string;
|
|
@@ -838,4 +875,4 @@ interface WavelengthCheckboxListProps extends React__default.HTMLAttributes<HTML
|
|
|
838
875
|
}
|
|
839
876
|
declare const WavelengthCheckboxList: React__default.FC<WavelengthCheckboxListProps>;
|
|
840
877
|
|
|
841
|
-
export { ChildDataTable, type DataGridColumn, type DataGridRow, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchResult, type ThemeProperties, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthButton, WavelengthCard, WavelengthCheckbox, WavelengthCheckboxList, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentPlaceholder, WavelengthDataGrid, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDialog, WavelengthDropdown, WavelengthExampleComponent, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, type WavelengthSideBarProps, WavelengthSlider,
|
|
878
|
+
export { ChildDataTable, type DataGridColumn, type DataGridRow, type FileSelectedEventDetail, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchResult, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthButton, WavelengthCard, WavelengthCheckbox, WavelengthCheckboxList, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentPlaceholder, WavelengthDataGrid, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDialog, WavelengthDragAndDrop, WavelengthDropdown, WavelengthExampleComponent, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, type WavelengthSideBarProps, WavelengthSlider, WavelengthSnackbar, type WavelengthSnackbarProps, WavelengthSpinningLogo, WavelengthStyledButton, WavelengthSwitch, WavelengthTitleBar, WavelengthToolTip, add, concat, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -45,6 +45,24 @@ interface WavelengthButtonProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
45
45
|
}
|
|
46
46
|
declare const WavelengthButton: React__default.FC<WavelengthButtonProps>;
|
|
47
47
|
|
|
48
|
+
interface StyledButtonPropsTwo {
|
|
49
|
+
type: "channel_one_transparent" | "channel_one_launch" | "channel_one_request" | "channel_one_pending" | "channel_one_disabled" | "ewdms_tertiary" | "ewdms_primary" | "ewdms_secondary" | "brewery" | "default";
|
|
50
|
+
styles?: React__default.CSSProperties;
|
|
51
|
+
hoverstyles?: React__default.CSSProperties;
|
|
52
|
+
activestyles?: React__default.CSSProperties;
|
|
53
|
+
disabledstyles?: React__default.CSSProperties;
|
|
54
|
+
icon?: React__default.ReactNode;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
children: React__default.ReactNode;
|
|
57
|
+
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
58
|
+
id?: string;
|
|
59
|
+
name?: string;
|
|
60
|
+
}
|
|
61
|
+
declare function WavelengthStyledButton({ type, styles, children, disabled, hoverstyles, icon, onClick, disabledstyles, activestyles, id, name }: StyledButtonPropsTwo): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare namespace WavelengthStyledButton {
|
|
63
|
+
var displayName: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
48
66
|
interface WavelengthContentPlaceholderProps {
|
|
49
67
|
type?: "circle" | "rectangle";
|
|
50
68
|
width?: string | number;
|
|
@@ -154,15 +172,17 @@ interface WavelengthNavBarProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
154
172
|
}
|
|
155
173
|
declare const WavelengthNavBar: React__default.FC<WavelengthNavBarProps>;
|
|
156
174
|
|
|
157
|
-
interface
|
|
175
|
+
interface FileSelectedEventDetail {
|
|
158
176
|
files: File | File[];
|
|
159
177
|
}
|
|
178
|
+
type IFileSelectedEventDetail = FileSelectedEventDetail;
|
|
160
179
|
interface WavelengthFileDropZoneProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
161
180
|
acceptedTypes?: string;
|
|
162
181
|
maxSize?: number;
|
|
163
182
|
multiple?: boolean;
|
|
164
183
|
dragText?: string;
|
|
165
184
|
iconSrc?: string;
|
|
185
|
+
width?: string;
|
|
166
186
|
onFilesSelected?: (files: File | File[]) => void;
|
|
167
187
|
hostDisplay?: string;
|
|
168
188
|
hostWidth?: string;
|
|
@@ -200,9 +220,9 @@ interface WavelengthFileDropZoneProps extends React__default.HTMLAttributes<HTML
|
|
|
200
220
|
errorFontSize?: string;
|
|
201
221
|
errorMarginTop?: string;
|
|
202
222
|
}
|
|
203
|
-
declare const WavelengthFileDropZone: React__default.
|
|
223
|
+
declare const WavelengthFileDropZone: React__default.ForwardRefExoticComponent<WavelengthFileDropZoneProps & React__default.RefAttributes<HTMLElement>>;
|
|
204
224
|
|
|
205
|
-
interface
|
|
225
|
+
interface WavelengthSnackbarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
206
226
|
message?: string;
|
|
207
227
|
duration?: number;
|
|
208
228
|
backgroundColor?: string;
|
|
@@ -216,7 +236,7 @@ interface WavelengthWebSnackbarProps extends React__default.HTMLAttributes<HTMLE
|
|
|
216
236
|
horizontalAlign?: string;
|
|
217
237
|
verticalAlign?: "top" | "center" | "bottom";
|
|
218
238
|
}
|
|
219
|
-
declare const
|
|
239
|
+
declare const WavelengthSnackbar: React__default.FC<WavelengthSnackbarProps>;
|
|
220
240
|
|
|
221
241
|
type WavelengthSpinningLogoProps = {
|
|
222
242
|
size?: number | string | null;
|
|
@@ -259,6 +279,24 @@ declare namespace WavelengthPermissionAlert {
|
|
|
259
279
|
var displayName: string;
|
|
260
280
|
}
|
|
261
281
|
|
|
282
|
+
interface DragAndDropProps {
|
|
283
|
+
width?: string;
|
|
284
|
+
height?: string;
|
|
285
|
+
border?: string;
|
|
286
|
+
onFilesSelected: (files: File[]) => void;
|
|
287
|
+
textColor?: string;
|
|
288
|
+
fontSize?: string;
|
|
289
|
+
allowedFileMIME?: string[];
|
|
290
|
+
allowedFileExtensions?: string;
|
|
291
|
+
backgroundColor?: string;
|
|
292
|
+
dataTestId?: string;
|
|
293
|
+
id?: string;
|
|
294
|
+
}
|
|
295
|
+
declare function WavelengthDragAndDrop({ width, height, onFilesSelected, border, textColor, fontSize, allowedFileMIME, allowedFileExtensions, backgroundColor, dataTestId, id, }: DragAndDropProps): react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare namespace WavelengthDragAndDrop {
|
|
297
|
+
var displayName: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
262
300
|
interface WavelengthToolTipProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
263
301
|
color?: string;
|
|
264
302
|
font?: string;
|
|
@@ -782,7 +820,6 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
782
820
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
783
821
|
|
|
784
822
|
interface WavelengthNotificationPanelProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
785
|
-
onSignOut: () => void;
|
|
786
823
|
username: string;
|
|
787
824
|
action: Array<{
|
|
788
825
|
icon?: string;
|
|
@@ -838,4 +875,4 @@ interface WavelengthCheckboxListProps extends React__default.HTMLAttributes<HTML
|
|
|
838
875
|
}
|
|
839
876
|
declare const WavelengthCheckboxList: React__default.FC<WavelengthCheckboxListProps>;
|
|
840
877
|
|
|
841
|
-
export { ChildDataTable, type DataGridColumn, type DataGridRow, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchResult, type ThemeProperties, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthButton, WavelengthCard, WavelengthCheckbox, WavelengthCheckboxList, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentPlaceholder, WavelengthDataGrid, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDialog, WavelengthDropdown, WavelengthExampleComponent, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, type WavelengthSideBarProps, WavelengthSlider,
|
|
878
|
+
export { ChildDataTable, type DataGridColumn, type DataGridRow, type FileSelectedEventDetail, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchResult, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthButton, WavelengthCard, WavelengthCheckbox, WavelengthCheckboxList, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentPlaceholder, WavelengthDataGrid, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDialog, WavelengthDragAndDrop, WavelengthDropdown, WavelengthExampleComponent, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSideBar, type WavelengthSideBarProps, WavelengthSlider, WavelengthSnackbar, type WavelengthSnackbarProps, WavelengthSpinningLogo, WavelengthStyledButton, WavelengthSwitch, WavelengthTitleBar, WavelengthToolTip, add, concat, useThemeContext };
|