@wavelengthusaf/components 2.10.1 → 3.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 +25 -0
- package/dist/cjs/index.cjs +84 -77
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +22 -21
- package/dist/esm/index.d.ts +22 -21
- package/dist/esm/index.js +96 -89
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -159,10 +159,10 @@ interface SearchProps {
|
|
|
159
159
|
}
|
|
160
160
|
declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
|
|
161
161
|
|
|
162
|
-
declare function
|
|
162
|
+
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
163
163
|
|
|
164
|
-
interface
|
|
165
|
-
|
|
164
|
+
interface WavelengthNotAvailablePageProps {
|
|
165
|
+
WavelengthAppLogoName?: string;
|
|
166
166
|
errorMessage: string;
|
|
167
167
|
backgroundColor?: string;
|
|
168
168
|
buttonText: string;
|
|
@@ -171,7 +171,7 @@ interface NotAvailablePageProps {
|
|
|
171
171
|
buttonColorTwo?: string;
|
|
172
172
|
id?: string;
|
|
173
173
|
}
|
|
174
|
-
declare function
|
|
174
|
+
declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
|
|
175
175
|
|
|
176
176
|
interface SubSectionItem {
|
|
177
177
|
title?: string;
|
|
@@ -296,17 +296,16 @@ interface WavelengthAlertProps {
|
|
|
296
296
|
width?: string;
|
|
297
297
|
variant?: "caveman" | "basic" | "civilized";
|
|
298
298
|
backgroundColor?: string;
|
|
299
|
-
alertType?: string;
|
|
300
|
-
alertDescription?: string;
|
|
299
|
+
alertType?: string | React__default.ReactNode;
|
|
300
|
+
alertDescription?: string | React__default.ReactNode;
|
|
301
301
|
datatestid?: string;
|
|
302
302
|
viewed?: boolean;
|
|
303
|
-
timeStamp?: string;
|
|
304
|
-
appName?: string;
|
|
303
|
+
timeStamp?: string | React__default.ReactNode;
|
|
304
|
+
appName?: string | React__default.ReactNode;
|
|
305
305
|
url?: string;
|
|
306
|
-
initiator?: string;
|
|
307
306
|
onClose?: () => void;
|
|
308
307
|
}
|
|
309
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url,
|
|
308
|
+
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
310
309
|
|
|
311
310
|
interface WavelengthFooterProps {
|
|
312
311
|
text?: string;
|
|
@@ -332,14 +331,20 @@ interface WavelengthBannerProps {
|
|
|
332
331
|
}
|
|
333
332
|
declare function WavelengthBanner({ headerText, headerColor, textColor, opacity, zIndex, id }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
334
333
|
|
|
335
|
-
interface
|
|
334
|
+
interface WavelengthAppLogoProps {
|
|
336
335
|
width?: number;
|
|
337
336
|
height?: number;
|
|
338
337
|
name?: string;
|
|
339
338
|
grayscale?: boolean;
|
|
340
339
|
id?: string;
|
|
341
340
|
}
|
|
342
|
-
declare function
|
|
341
|
+
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
interface DefaultProps {
|
|
344
|
+
width?: string;
|
|
345
|
+
height?: number;
|
|
346
|
+
}
|
|
347
|
+
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
343
348
|
|
|
344
349
|
interface HeaderProps {
|
|
345
350
|
numberOfPlanes?: number;
|
|
@@ -348,13 +353,7 @@ interface HeaderProps {
|
|
|
348
353
|
opacity?: number;
|
|
349
354
|
gradient?: boolean;
|
|
350
355
|
}
|
|
351
|
-
declare function
|
|
352
|
-
|
|
353
|
-
interface DefaultProps {
|
|
354
|
-
width?: string;
|
|
355
|
-
height?: number;
|
|
356
|
-
}
|
|
357
|
-
declare function DefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
356
|
+
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
358
357
|
|
|
359
358
|
interface WavelengthPlaneTrailProps {
|
|
360
359
|
trailDir?: "right" | "left";
|
|
@@ -476,7 +475,7 @@ interface Testprops {
|
|
|
476
475
|
customVertyAlign?: string;
|
|
477
476
|
}
|
|
478
477
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
479
|
-
declare function
|
|
478
|
+
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
480
479
|
|
|
481
480
|
interface sliderProps {
|
|
482
481
|
width?: string;
|
|
@@ -545,8 +544,10 @@ interface TextFieldProps {
|
|
|
545
544
|
height?: string;
|
|
546
545
|
label?: string;
|
|
547
546
|
borderColor?: string;
|
|
547
|
+
value?: string;
|
|
548
548
|
labelColor?: string;
|
|
549
549
|
focusColor?: string;
|
|
550
|
+
inputRef?: React__default.Ref<any> | undefined;
|
|
550
551
|
shrink?: boolean;
|
|
551
552
|
textColor?: string;
|
|
552
553
|
required?: boolean;
|
|
@@ -584,4 +585,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
584
585
|
}
|
|
585
586
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
586
587
|
|
|
587
|
-
export {
|
|
588
|
+
export { ButtonIcon, ButtonMenu, DefaultCarousel, DefaultPagination, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -159,10 +159,10 @@ interface SearchProps {
|
|
|
159
159
|
}
|
|
160
160
|
declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
|
|
161
161
|
|
|
162
|
-
declare function
|
|
162
|
+
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
163
163
|
|
|
164
|
-
interface
|
|
165
|
-
|
|
164
|
+
interface WavelengthNotAvailablePageProps {
|
|
165
|
+
WavelengthAppLogoName?: string;
|
|
166
166
|
errorMessage: string;
|
|
167
167
|
backgroundColor?: string;
|
|
168
168
|
buttonText: string;
|
|
@@ -171,7 +171,7 @@ interface NotAvailablePageProps {
|
|
|
171
171
|
buttonColorTwo?: string;
|
|
172
172
|
id?: string;
|
|
173
173
|
}
|
|
174
|
-
declare function
|
|
174
|
+
declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
|
|
175
175
|
|
|
176
176
|
interface SubSectionItem {
|
|
177
177
|
title?: string;
|
|
@@ -296,17 +296,16 @@ interface WavelengthAlertProps {
|
|
|
296
296
|
width?: string;
|
|
297
297
|
variant?: "caveman" | "basic" | "civilized";
|
|
298
298
|
backgroundColor?: string;
|
|
299
|
-
alertType?: string;
|
|
300
|
-
alertDescription?: string;
|
|
299
|
+
alertType?: string | React__default.ReactNode;
|
|
300
|
+
alertDescription?: string | React__default.ReactNode;
|
|
301
301
|
datatestid?: string;
|
|
302
302
|
viewed?: boolean;
|
|
303
|
-
timeStamp?: string;
|
|
304
|
-
appName?: string;
|
|
303
|
+
timeStamp?: string | React__default.ReactNode;
|
|
304
|
+
appName?: string | React__default.ReactNode;
|
|
305
305
|
url?: string;
|
|
306
|
-
initiator?: string;
|
|
307
306
|
onClose?: () => void;
|
|
308
307
|
}
|
|
309
|
-
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url,
|
|
308
|
+
declare function WavelengthAlert({ viewed, width, height, backgroundColor, appName, alertType, alertDescription, datatestid, variant, timeStamp, url, id, onClose, }: WavelengthAlertProps): react_jsx_runtime.JSX.Element;
|
|
310
309
|
|
|
311
310
|
interface WavelengthFooterProps {
|
|
312
311
|
text?: string;
|
|
@@ -332,14 +331,20 @@ interface WavelengthBannerProps {
|
|
|
332
331
|
}
|
|
333
332
|
declare function WavelengthBanner({ headerText, headerColor, textColor, opacity, zIndex, id }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
334
333
|
|
|
335
|
-
interface
|
|
334
|
+
interface WavelengthAppLogoProps {
|
|
336
335
|
width?: number;
|
|
337
336
|
height?: number;
|
|
338
337
|
name?: string;
|
|
339
338
|
grayscale?: boolean;
|
|
340
339
|
id?: string;
|
|
341
340
|
}
|
|
342
|
-
declare function
|
|
341
|
+
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
interface DefaultProps {
|
|
344
|
+
width?: string;
|
|
345
|
+
height?: number;
|
|
346
|
+
}
|
|
347
|
+
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
343
348
|
|
|
344
349
|
interface HeaderProps {
|
|
345
350
|
numberOfPlanes?: number;
|
|
@@ -348,13 +353,7 @@ interface HeaderProps {
|
|
|
348
353
|
opacity?: number;
|
|
349
354
|
gradient?: boolean;
|
|
350
355
|
}
|
|
351
|
-
declare function
|
|
352
|
-
|
|
353
|
-
interface DefaultProps {
|
|
354
|
-
width?: string;
|
|
355
|
-
height?: number;
|
|
356
|
-
}
|
|
357
|
-
declare function DefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
356
|
+
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
358
357
|
|
|
359
358
|
interface WavelengthPlaneTrailProps {
|
|
360
359
|
trailDir?: "right" | "left";
|
|
@@ -476,7 +475,7 @@ interface Testprops {
|
|
|
476
475
|
customVertyAlign?: string;
|
|
477
476
|
}
|
|
478
477
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
479
|
-
declare function
|
|
478
|
+
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
480
479
|
|
|
481
480
|
interface sliderProps {
|
|
482
481
|
width?: string;
|
|
@@ -545,8 +544,10 @@ interface TextFieldProps {
|
|
|
545
544
|
height?: string;
|
|
546
545
|
label?: string;
|
|
547
546
|
borderColor?: string;
|
|
547
|
+
value?: string;
|
|
548
548
|
labelColor?: string;
|
|
549
549
|
focusColor?: string;
|
|
550
|
+
inputRef?: React__default.Ref<any> | undefined;
|
|
550
551
|
shrink?: boolean;
|
|
551
552
|
textColor?: string;
|
|
552
553
|
required?: boolean;
|
|
@@ -584,4 +585,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
584
585
|
}
|
|
585
586
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
586
587
|
|
|
587
|
-
export {
|
|
588
|
+
export { ButtonIcon, ButtonMenu, DefaultCarousel, DefaultPagination, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|