@wavelengthusaf/components 4.9.0 → 4.11.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.
@@ -3,8 +3,8 @@ import React__default, { ReactNode, ChangeEvent, ReactElement, CSSProperties as
3
3
  export { ChildDataTable as ChildDataTableElement, SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthMultiSelectAutocomplete as WavelengthMultiSelectAutocompleteElement, WavelengthPagination as WavelengthPaginationElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { TextFieldVariants } from '@mui/material';
6
- import { z } from 'zod';
7
6
  import { CSSProperties } from 'styled-components';
7
+ import { z } from 'zod';
8
8
  import { Mark } from '@mui/material/Slider/useSlider.types';
9
9
 
10
10
  /**
@@ -168,38 +168,31 @@ declare namespace WavelengthExampleComponent {
168
168
  var displayName: string;
169
169
  }
170
170
 
171
- interface SearchResult {
172
- id: number | string;
173
- title: string;
174
- subtitle?: string;
175
- }
176
- interface SearchProps {
177
- id?: string;
178
- mode: "automatic" | "manual";
179
- type?: "text-box" | "search-bar";
180
- iconPos?: "start" | "end";
181
- clearIconMarginRight?: string;
182
- borderRadius?: number | string;
183
- label?: string;
171
+ type StyleProp = {
172
+ [selector: string]: any;
173
+ } & CSSProperties;
174
+
175
+ interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
176
+ testProp?: string;
177
+ customStyle: StyleProp;
184
178
  width?: string;
185
- height?: string | number;
186
- children?: ReactNode;
179
+ mode?: string;
180
+ fontSize?: string;
181
+ height?: "small" | "medium" | "large" | string;
182
+ borderWidth?: string;
183
+ borderRadius?: string;
187
184
  borderColor?: string;
188
- hoverColor?: string;
189
- textColor?: string;
190
185
  backgroundColor?: string;
186
+ iconPos?: "start" | "end";
187
+ hoverColor?: string;
188
+ options?: string;
191
189
  placeholder?: string;
192
- onEnter?: (arg0?: any) => any;
193
- size?: "small" | "medium";
194
- fontSize?: string;
195
- options: SearchResult[];
196
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
197
- onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
198
- }
199
- 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;
200
- declare namespace WavelengthSearch {
201
- var displayName: string;
190
+ placeholderColor?: string;
191
+ placeholderFont?: string;
192
+ inputColor?: string;
193
+ inputFont?: string;
202
194
  }
195
+ declare const WavelengthSearch: React__default.FC<WavelengthSearchProps>;
203
196
 
204
197
  declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
205
198
  declare namespace WavelengthSearchTextField {
@@ -610,10 +603,6 @@ interface WavelengthManyPlanesProps extends React__default.HTMLAttributes<HTMLEl
610
603
  }
611
604
  declare const WavelengthManyPlanes: React__default.FC<WavelengthManyPlanesProps>;
612
605
 
613
- type StyleProp = {
614
- [selector: string]: any;
615
- } & CSSProperties;
616
-
617
606
  interface WavelengthPlaneTrailProps extends React__default.HTMLAttributes<HTMLElement> {
618
607
  trailDir?: "left" | "right";
619
608
  color?: string;
@@ -1077,4 +1066,4 @@ interface MultiSelectAutocompleteProps {
1077
1066
  }
1078
1067
  declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
1079
1068
 
1080
- export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, 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, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
1069
+ 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, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
@@ -3,8 +3,8 @@ import React__default, { ReactNode, ChangeEvent, ReactElement, CSSProperties as
3
3
  export { ChildDataTable as ChildDataTableElement, SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthMultiSelectAutocomplete as WavelengthMultiSelectAutocompleteElement, WavelengthPagination as WavelengthPaginationElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { TextFieldVariants } from '@mui/material';
6
- import { z } from 'zod';
7
6
  import { CSSProperties } from 'styled-components';
7
+ import { z } from 'zod';
8
8
  import { Mark } from '@mui/material/Slider/useSlider.types';
9
9
 
10
10
  /**
@@ -168,38 +168,31 @@ declare namespace WavelengthExampleComponent {
168
168
  var displayName: string;
169
169
  }
170
170
 
171
- interface SearchResult {
172
- id: number | string;
173
- title: string;
174
- subtitle?: string;
175
- }
176
- interface SearchProps {
177
- id?: string;
178
- mode: "automatic" | "manual";
179
- type?: "text-box" | "search-bar";
180
- iconPos?: "start" | "end";
181
- clearIconMarginRight?: string;
182
- borderRadius?: number | string;
183
- label?: string;
171
+ type StyleProp = {
172
+ [selector: string]: any;
173
+ } & CSSProperties;
174
+
175
+ interface WavelengthSearchProps extends React__default.HTMLAttributes<HTMLElement> {
176
+ testProp?: string;
177
+ customStyle: StyleProp;
184
178
  width?: string;
185
- height?: string | number;
186
- children?: ReactNode;
179
+ mode?: string;
180
+ fontSize?: string;
181
+ height?: "small" | "medium" | "large" | string;
182
+ borderWidth?: string;
183
+ borderRadius?: string;
187
184
  borderColor?: string;
188
- hoverColor?: string;
189
- textColor?: string;
190
185
  backgroundColor?: string;
186
+ iconPos?: "start" | "end";
187
+ hoverColor?: string;
188
+ options?: string;
191
189
  placeholder?: string;
192
- onEnter?: (arg0?: any) => any;
193
- size?: "small" | "medium";
194
- fontSize?: string;
195
- options: SearchResult[];
196
- onChange?: React__default.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
197
- onSearchItemSelected?: (selectedItem: SearchResult | string) => void;
198
- }
199
- 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;
200
- declare namespace WavelengthSearch {
201
- var displayName: string;
190
+ placeholderColor?: string;
191
+ placeholderFont?: string;
192
+ inputColor?: string;
193
+ inputFont?: string;
202
194
  }
195
+ declare const WavelengthSearch: React__default.FC<WavelengthSearchProps>;
203
196
 
204
197
  declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
205
198
  declare namespace WavelengthSearchTextField {
@@ -610,10 +603,6 @@ interface WavelengthManyPlanesProps extends React__default.HTMLAttributes<HTMLEl
610
603
  }
611
604
  declare const WavelengthManyPlanes: React__default.FC<WavelengthManyPlanesProps>;
612
605
 
613
- type StyleProp = {
614
- [selector: string]: any;
615
- } & CSSProperties;
616
-
617
606
  interface WavelengthPlaneTrailProps extends React__default.HTMLAttributes<HTMLElement> {
618
607
  trailDir?: "left" | "right";
619
608
  color?: string;
@@ -1077,4 +1066,4 @@ interface MultiSelectAutocompleteProps {
1077
1066
  }
1078
1067
  declare const WavelengthMultiSelectAutocomplete: React__default.FC<MultiSelectAutocompleteProps>;
1079
1068
 
1080
- export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, type IFileSelectedEventDetail, type NavItem, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, 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, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };
1069
+ 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, WavelengthTestSnackbar, WavelengthTitleBar, WavelengthToolTip, WavelengthWebSnackbar, type WavelengthWebSnackbarProps, add, concat, findBestStringMatch, type menuItemProps, useOutsideClick, useThemeContext };