@wavelengthusaf/components 4.12.0 → 4.15.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/dist/cjs/index.cjs +338 -257
- package/dist/cjs/index.d.cts +65 -24
- package/dist/esm/index.d.ts +65 -24
- package/dist/esm/index.js +642 -561
- package/package.json +2 -2
package/dist/cjs/index.d.cts
CHANGED
|
@@ -171,6 +171,10 @@ declare namespace WavelengthExampleComponent {
|
|
|
171
171
|
type StyleProp = {
|
|
172
172
|
[selector: string]: any;
|
|
173
173
|
} & CSSProperties;
|
|
174
|
+
/** Extending from this instead of HTMLElement in component refs allows for integration with the styling mixin in web components*/
|
|
175
|
+
interface StylableElement extends HTMLElement {
|
|
176
|
+
customStyles: StyleProp;
|
|
177
|
+
}
|
|
174
178
|
|
|
175
179
|
interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
176
180
|
testProp?: string;
|
|
@@ -465,6 +469,29 @@ interface WavelengthToolTipProps extends React__default.HTMLAttributes<HTMLEleme
|
|
|
465
469
|
}
|
|
466
470
|
declare const WavelengthToolTip: React__default.FC<WavelengthToolTipProps>;
|
|
467
471
|
|
|
472
|
+
interface WavelengthBadgeProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
473
|
+
customStyle: StyleProp;
|
|
474
|
+
variant?: "Basic" | "withInstance";
|
|
475
|
+
badgeBorderRadius?: string;
|
|
476
|
+
fontSize?: string;
|
|
477
|
+
href?: string;
|
|
478
|
+
badgeColor?: string;
|
|
479
|
+
badgeTextColor?: string;
|
|
480
|
+
badgeHoverColor?: string;
|
|
481
|
+
badgeContent?: string | number;
|
|
482
|
+
badgeFont?: string;
|
|
483
|
+
badgeSize?: string;
|
|
484
|
+
textBoxWidth?: string;
|
|
485
|
+
textBoxHeight?: string;
|
|
486
|
+
textBoxBackgroundColor?: string;
|
|
487
|
+
textBoxTextColor?: string;
|
|
488
|
+
textBoxBorderColor?: string;
|
|
489
|
+
textBoxBorderRadius?: string;
|
|
490
|
+
textBoxHoverBorderColor?: string;
|
|
491
|
+
item?: React__default.ReactNode;
|
|
492
|
+
}
|
|
493
|
+
declare const WavelengthBadge: React__default.FC<WavelengthBadgeProps>;
|
|
494
|
+
|
|
468
495
|
interface WavelengthFooterProps {
|
|
469
496
|
text?: string;
|
|
470
497
|
textColor?: string;
|
|
@@ -627,8 +654,8 @@ interface WavelengthConfirmationModalProps {
|
|
|
627
654
|
height?: string;
|
|
628
655
|
fontFamily?: string;
|
|
629
656
|
textColor?: string;
|
|
630
|
-
cancelButton?:
|
|
631
|
-
submitButton?:
|
|
657
|
+
cancelButton?: React__default.ReactNode;
|
|
658
|
+
submitButton?: React__default.ReactNode;
|
|
632
659
|
backgroundColor?: string;
|
|
633
660
|
}
|
|
634
661
|
declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -648,27 +675,16 @@ declare namespace WavelengthContentModal {
|
|
|
648
675
|
var displayName: string;
|
|
649
676
|
}
|
|
650
677
|
|
|
651
|
-
interface
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
customIcon?: React__default.ReactNode;
|
|
662
|
-
width?: string;
|
|
663
|
-
menuDirection?: "top" | "bottom";
|
|
664
|
-
color?: string;
|
|
665
|
-
border?: string;
|
|
666
|
-
id?: string;
|
|
667
|
-
}
|
|
668
|
-
declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, id, border }: PopUPMenuProps): react_jsx_runtime.JSX.Element;
|
|
669
|
-
declare namespace WavelengthPopUpMenu {
|
|
670
|
-
var displayName: string;
|
|
671
|
-
}
|
|
678
|
+
interface WavelengthPopUpMenuProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
679
|
+
customStyle?: StyleProp;
|
|
680
|
+
variant?: "menu" | "card";
|
|
681
|
+
trigger?: "click" | "hover";
|
|
682
|
+
menuDirection?: "up" | "down" | "left" | "right";
|
|
683
|
+
menuOffset?: number;
|
|
684
|
+
menuItems?: any[];
|
|
685
|
+
badgeLabel?: string;
|
|
686
|
+
}
|
|
687
|
+
declare const WavelengthPopUpMenu: React__default.ForwardRefExoticComponent<WavelengthPopUpMenuProps & React__default.RefAttributes<StylableElement>>;
|
|
672
688
|
|
|
673
689
|
interface WavelengthDropdownProps extends React.HTMLAttributes<HTMLElement> {
|
|
674
690
|
options?: {
|
|
@@ -727,6 +743,30 @@ interface WavelengthSwitchProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
727
743
|
}
|
|
728
744
|
declare const WavelengthSwitch: React__default.FC<WavelengthSwitchProps>;
|
|
729
745
|
|
|
746
|
+
interface WavelengthDialogProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
747
|
+
customStyle?: StyleProp;
|
|
748
|
+
dialogTitle?: string;
|
|
749
|
+
leftBtnLabel?: string;
|
|
750
|
+
rightBtnLabel?: string;
|
|
751
|
+
boxColor?: string;
|
|
752
|
+
maxWidth?: string;
|
|
753
|
+
maxHeight?: string;
|
|
754
|
+
shadow?: string;
|
|
755
|
+
borderRadius?: string;
|
|
756
|
+
borderColor?: string;
|
|
757
|
+
textColor?: string;
|
|
758
|
+
leftBtnBg?: string;
|
|
759
|
+
leftBtnColor?: string;
|
|
760
|
+
rightBtnBg?: string;
|
|
761
|
+
rightBtnColor?: string;
|
|
762
|
+
overlay?: boolean;
|
|
763
|
+
fontFamily?: string;
|
|
764
|
+
open?: boolean;
|
|
765
|
+
onWlLeftBtnClick?: (e: CustomEvent) => void;
|
|
766
|
+
onWlRightBtnClick?: (e: CustomEvent) => void;
|
|
767
|
+
}
|
|
768
|
+
declare const WavelengthDialog: React__default.FC<WavelengthDialogProps>;
|
|
769
|
+
|
|
730
770
|
interface WavelengthPaginationProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
731
771
|
testProp?: string;
|
|
732
772
|
customStyle: StyleProp;
|
|
@@ -892,6 +932,7 @@ interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
892
932
|
required?: boolean;
|
|
893
933
|
forceError?: boolean;
|
|
894
934
|
disabled?: boolean;
|
|
935
|
+
multiLine?: boolean;
|
|
895
936
|
width?: string;
|
|
896
937
|
height?: string;
|
|
897
938
|
padding?: string;
|
|
@@ -1080,4 +1121,4 @@ interface MultiSelectAutocompleteProps {
|
|
|
1080
1121
|
}
|
|
1081
1122
|
declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
|
|
1082
1123
|
|
|
1083
|
-
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthSwitch, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch,
|
|
1124
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDialog, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthSwitch, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, useOutsideClick, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -171,6 +171,10 @@ declare namespace WavelengthExampleComponent {
|
|
|
171
171
|
type StyleProp = {
|
|
172
172
|
[selector: string]: any;
|
|
173
173
|
} & CSSProperties;
|
|
174
|
+
/** Extending from this instead of HTMLElement in component refs allows for integration with the styling mixin in web components*/
|
|
175
|
+
interface StylableElement extends HTMLElement {
|
|
176
|
+
customStyles: StyleProp;
|
|
177
|
+
}
|
|
174
178
|
|
|
175
179
|
interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
176
180
|
testProp?: string;
|
|
@@ -465,6 +469,29 @@ interface WavelengthToolTipProps extends React__default.HTMLAttributes<HTMLEleme
|
|
|
465
469
|
}
|
|
466
470
|
declare const WavelengthToolTip: React__default.FC<WavelengthToolTipProps>;
|
|
467
471
|
|
|
472
|
+
interface WavelengthBadgeProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
473
|
+
customStyle: StyleProp;
|
|
474
|
+
variant?: "Basic" | "withInstance";
|
|
475
|
+
badgeBorderRadius?: string;
|
|
476
|
+
fontSize?: string;
|
|
477
|
+
href?: string;
|
|
478
|
+
badgeColor?: string;
|
|
479
|
+
badgeTextColor?: string;
|
|
480
|
+
badgeHoverColor?: string;
|
|
481
|
+
badgeContent?: string | number;
|
|
482
|
+
badgeFont?: string;
|
|
483
|
+
badgeSize?: string;
|
|
484
|
+
textBoxWidth?: string;
|
|
485
|
+
textBoxHeight?: string;
|
|
486
|
+
textBoxBackgroundColor?: string;
|
|
487
|
+
textBoxTextColor?: string;
|
|
488
|
+
textBoxBorderColor?: string;
|
|
489
|
+
textBoxBorderRadius?: string;
|
|
490
|
+
textBoxHoverBorderColor?: string;
|
|
491
|
+
item?: React__default.ReactNode;
|
|
492
|
+
}
|
|
493
|
+
declare const WavelengthBadge: React__default.FC<WavelengthBadgeProps>;
|
|
494
|
+
|
|
468
495
|
interface WavelengthFooterProps {
|
|
469
496
|
text?: string;
|
|
470
497
|
textColor?: string;
|
|
@@ -627,8 +654,8 @@ interface WavelengthConfirmationModalProps {
|
|
|
627
654
|
height?: string;
|
|
628
655
|
fontFamily?: string;
|
|
629
656
|
textColor?: string;
|
|
630
|
-
cancelButton?:
|
|
631
|
-
submitButton?:
|
|
657
|
+
cancelButton?: React__default.ReactNode;
|
|
658
|
+
submitButton?: React__default.ReactNode;
|
|
632
659
|
backgroundColor?: string;
|
|
633
660
|
}
|
|
634
661
|
declare function WavelengthConfirmationModal(props: WavelengthConfirmationModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -648,27 +675,16 @@ declare namespace WavelengthContentModal {
|
|
|
648
675
|
var displayName: string;
|
|
649
676
|
}
|
|
650
677
|
|
|
651
|
-
interface
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
customIcon?: React__default.ReactNode;
|
|
662
|
-
width?: string;
|
|
663
|
-
menuDirection?: "top" | "bottom";
|
|
664
|
-
color?: string;
|
|
665
|
-
border?: string;
|
|
666
|
-
id?: string;
|
|
667
|
-
}
|
|
668
|
-
declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection, color, id, border }: PopUPMenuProps): react_jsx_runtime.JSX.Element;
|
|
669
|
-
declare namespace WavelengthPopUpMenu {
|
|
670
|
-
var displayName: string;
|
|
671
|
-
}
|
|
678
|
+
interface WavelengthPopUpMenuProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
679
|
+
customStyle?: StyleProp;
|
|
680
|
+
variant?: "menu" | "card";
|
|
681
|
+
trigger?: "click" | "hover";
|
|
682
|
+
menuDirection?: "up" | "down" | "left" | "right";
|
|
683
|
+
menuOffset?: number;
|
|
684
|
+
menuItems?: any[];
|
|
685
|
+
badgeLabel?: string;
|
|
686
|
+
}
|
|
687
|
+
declare const WavelengthPopUpMenu: React__default.ForwardRefExoticComponent<WavelengthPopUpMenuProps & React__default.RefAttributes<StylableElement>>;
|
|
672
688
|
|
|
673
689
|
interface WavelengthDropdownProps extends React.HTMLAttributes<HTMLElement> {
|
|
674
690
|
options?: {
|
|
@@ -727,6 +743,30 @@ interface WavelengthSwitchProps extends React__default.HTMLAttributes<HTMLElemen
|
|
|
727
743
|
}
|
|
728
744
|
declare const WavelengthSwitch: React__default.FC<WavelengthSwitchProps>;
|
|
729
745
|
|
|
746
|
+
interface WavelengthDialogProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
747
|
+
customStyle?: StyleProp;
|
|
748
|
+
dialogTitle?: string;
|
|
749
|
+
leftBtnLabel?: string;
|
|
750
|
+
rightBtnLabel?: string;
|
|
751
|
+
boxColor?: string;
|
|
752
|
+
maxWidth?: string;
|
|
753
|
+
maxHeight?: string;
|
|
754
|
+
shadow?: string;
|
|
755
|
+
borderRadius?: string;
|
|
756
|
+
borderColor?: string;
|
|
757
|
+
textColor?: string;
|
|
758
|
+
leftBtnBg?: string;
|
|
759
|
+
leftBtnColor?: string;
|
|
760
|
+
rightBtnBg?: string;
|
|
761
|
+
rightBtnColor?: string;
|
|
762
|
+
overlay?: boolean;
|
|
763
|
+
fontFamily?: string;
|
|
764
|
+
open?: boolean;
|
|
765
|
+
onWlLeftBtnClick?: (e: CustomEvent) => void;
|
|
766
|
+
onWlRightBtnClick?: (e: CustomEvent) => void;
|
|
767
|
+
}
|
|
768
|
+
declare const WavelengthDialog: React__default.FC<WavelengthDialogProps>;
|
|
769
|
+
|
|
730
770
|
interface WavelengthPaginationProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
731
771
|
testProp?: string;
|
|
732
772
|
customStyle: StyleProp;
|
|
@@ -892,6 +932,7 @@ interface WavelengthInputProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
892
932
|
required?: boolean;
|
|
893
933
|
forceError?: boolean;
|
|
894
934
|
disabled?: boolean;
|
|
935
|
+
multiLine?: boolean;
|
|
895
936
|
width?: string;
|
|
896
937
|
height?: string;
|
|
897
938
|
padding?: string;
|
|
@@ -1080,4 +1121,4 @@ interface MultiSelectAutocompleteProps {
|
|
|
1080
1121
|
}
|
|
1081
1122
|
declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
|
|
1082
1123
|
|
|
1083
|
-
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthSwitch, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch,
|
|
1124
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBadge, type WavelengthBadgeProps, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCheckbox, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDefaultPagination, WavelengthDialog, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFileDropZone, type WavelengthFileDropZoneProps, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthMenu, WavelengthMultiSelectAutocomplete, WavelengthNavBar, type WavelengthNavBarProps, WavelengthNotAvailablePage, WavelengthNotificationPanel, WavelengthPagination, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthSwitch, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, useOutsideClick, useThemeContext };
|