@wavelengthusaf/components 1.0.6 → 1.0.7

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/index.d.mts CHANGED
@@ -30,8 +30,9 @@ interface OutlinedButtonProps {
30
30
  disabled?: boolean;
31
31
  children?: ReactNode;
32
32
  data_test?: string;
33
+ borderRadius?: string;
33
34
  }
34
- declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children }: OutlinedButtonProps): React__default.JSX.Element;
35
+ declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius }: OutlinedButtonProps): React__default.JSX.Element;
35
36
 
36
37
  interface ButtonProps {
37
38
  onClick?: any;
@@ -96,7 +97,7 @@ interface SearchResult {
96
97
  subtitle?: string;
97
98
  }
98
99
  interface SearchProps {
99
- id?: string | number;
100
+ id?: string;
100
101
  mode: "automatic" | "manual";
101
102
  borderRadius?: number | string;
102
103
  label?: string;
@@ -106,7 +107,7 @@ interface SearchProps {
106
107
  searchFunction: (value: string) => SearchResult[];
107
108
  onSearchItemSelected: (selectedItem: SearchResult | string) => void;
108
109
  }
109
- declare function WavelengthSearch({ mode, width, height, label, borderRadius, children, searchFunction, onSearchItemSelected }: SearchProps): React__default.JSX.Element | undefined;
110
+ declare function WavelengthSearch({ id, mode, width, height, label, borderRadius, children, searchFunction, onSearchItemSelected }: SearchProps): React__default.JSX.Element | undefined;
110
111
 
111
112
  declare function SearchTextField(): React__default.JSX.Element;
112
113
 
@@ -114,10 +115,13 @@ declare function WavelengthFooter(): React__default.JSX.Element;
114
115
 
115
116
  declare function WavelengthTitleBar(): React__default.JSX.Element;
116
117
 
117
- interface BannerHeaderProps {
118
- name?: string;
118
+ interface WavelengthBannerHeaderProps {
119
+ classification?: "unclassified" | "controlled" | "controlled unclassified information" | "cui" | "u" | "confidential" | "c" | "secret" | "s" | "top secret" | "ts" | string;
120
+ control?: ("cui" | "sci" | "fouo" | "nf" | "propin" | "frd" | "gbr s" | "si" | "si-g" | "tk" | "relido" | "rd" | "rd-n" | "rel" | "fvey" | "hcs" | string)[];
121
+ headerColor?: string;
122
+ textColor?: string;
119
123
  }
120
- declare function BannerHeader({ name }: BannerHeaderProps): React__default.JSX.Element;
124
+ declare function WavelengthBannerHeader({ classification, control, headerColor, textColor }: WavelengthBannerHeaderProps): React__default.JSX.Element;
121
125
 
122
126
  interface bee {
123
127
  width?: number;
@@ -175,8 +179,16 @@ interface DefaultProps {
175
179
  }
176
180
  declare function DefaultIcon({ width, height }: DefaultProps): React__default.JSX.Element;
177
181
 
182
+ interface AppLogoProps {
183
+ width?: number;
184
+ height?: number;
185
+ name?: string;
186
+ grayscale?: boolean;
187
+ }
188
+ declare function AppLogo({ width, height, name, grayscale }: AppLogoProps): React__default.JSX.Element;
189
+
178
190
  interface HeaderProps {
179
- numberOfPlanes: number;
191
+ numberOfPlanes?: number;
180
192
  trailDir?: "right" | "left";
181
193
  color?: string;
182
194
  }
@@ -209,4 +221,18 @@ interface WavelengthContentModalProps {
209
221
  }
210
222
  declare function WavelengthContentModal(props: WavelengthContentModalProps): React__default.JSX.Element;
211
223
 
212
- export { AceOfSpadesComponent, ArrowIcon, BannerHeader, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthSearch, WavelengthTitleBar, add, concat, findBestStringMatch, useThemeContext };
224
+ interface menuItemProps {
225
+ itemType: "header" | "link" | "footer" | string;
226
+ label: string | number;
227
+ link?: string;
228
+ end?: boolean;
229
+ }
230
+ interface PopUPMenuProps {
231
+ menuItems: menuItemProps[];
232
+ customIcon?: React__default.ReactNode;
233
+ width?: string;
234
+ menuDirection?: "top" | "bottom";
235
+ }
236
+ declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection }: PopUPMenuProps): React__default.JSX.Element;
237
+
238
+ export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useThemeContext };
package/dist/index.d.ts CHANGED
@@ -30,8 +30,9 @@ interface OutlinedButtonProps {
30
30
  disabled?: boolean;
31
31
  children?: ReactNode;
32
32
  data_test?: string;
33
+ borderRadius?: string;
33
34
  }
34
- declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children }: OutlinedButtonProps): React__default.JSX.Element;
35
+ declare function WavelengthButton({ id, variant, colorOne, colorTwo, margin, padding, autoFocus, disabled, onClick, children, borderRadius }: OutlinedButtonProps): React__default.JSX.Element;
35
36
 
36
37
  interface ButtonProps {
37
38
  onClick?: any;
@@ -96,7 +97,7 @@ interface SearchResult {
96
97
  subtitle?: string;
97
98
  }
98
99
  interface SearchProps {
99
- id?: string | number;
100
+ id?: string;
100
101
  mode: "automatic" | "manual";
101
102
  borderRadius?: number | string;
102
103
  label?: string;
@@ -106,7 +107,7 @@ interface SearchProps {
106
107
  searchFunction: (value: string) => SearchResult[];
107
108
  onSearchItemSelected: (selectedItem: SearchResult | string) => void;
108
109
  }
109
- declare function WavelengthSearch({ mode, width, height, label, borderRadius, children, searchFunction, onSearchItemSelected }: SearchProps): React__default.JSX.Element | undefined;
110
+ declare function WavelengthSearch({ id, mode, width, height, label, borderRadius, children, searchFunction, onSearchItemSelected }: SearchProps): React__default.JSX.Element | undefined;
110
111
 
111
112
  declare function SearchTextField(): React__default.JSX.Element;
112
113
 
@@ -114,10 +115,13 @@ declare function WavelengthFooter(): React__default.JSX.Element;
114
115
 
115
116
  declare function WavelengthTitleBar(): React__default.JSX.Element;
116
117
 
117
- interface BannerHeaderProps {
118
- name?: string;
118
+ interface WavelengthBannerHeaderProps {
119
+ classification?: "unclassified" | "controlled" | "controlled unclassified information" | "cui" | "u" | "confidential" | "c" | "secret" | "s" | "top secret" | "ts" | string;
120
+ control?: ("cui" | "sci" | "fouo" | "nf" | "propin" | "frd" | "gbr s" | "si" | "si-g" | "tk" | "relido" | "rd" | "rd-n" | "rel" | "fvey" | "hcs" | string)[];
121
+ headerColor?: string;
122
+ textColor?: string;
119
123
  }
120
- declare function BannerHeader({ name }: BannerHeaderProps): React__default.JSX.Element;
124
+ declare function WavelengthBannerHeader({ classification, control, headerColor, textColor }: WavelengthBannerHeaderProps): React__default.JSX.Element;
121
125
 
122
126
  interface bee {
123
127
  width?: number;
@@ -175,8 +179,16 @@ interface DefaultProps {
175
179
  }
176
180
  declare function DefaultIcon({ width, height }: DefaultProps): React__default.JSX.Element;
177
181
 
182
+ interface AppLogoProps {
183
+ width?: number;
184
+ height?: number;
185
+ name?: string;
186
+ grayscale?: boolean;
187
+ }
188
+ declare function AppLogo({ width, height, name, grayscale }: AppLogoProps): React__default.JSX.Element;
189
+
178
190
  interface HeaderProps {
179
- numberOfPlanes: number;
191
+ numberOfPlanes?: number;
180
192
  trailDir?: "right" | "left";
181
193
  color?: string;
182
194
  }
@@ -209,4 +221,18 @@ interface WavelengthContentModalProps {
209
221
  }
210
222
  declare function WavelengthContentModal(props: WavelengthContentModalProps): React__default.JSX.Element;
211
223
 
212
- export { AceOfSpadesComponent, ArrowIcon, BannerHeader, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthSearch, WavelengthTitleBar, add, concat, findBestStringMatch, useThemeContext };
224
+ interface menuItemProps {
225
+ itemType: "header" | "link" | "footer" | string;
226
+ label: string | number;
227
+ link?: string;
228
+ end?: boolean;
229
+ }
230
+ interface PopUPMenuProps {
231
+ menuItems: menuItemProps[];
232
+ customIcon?: React__default.ReactNode;
233
+ width?: string;
234
+ menuDirection?: "top" | "bottom";
235
+ }
236
+ declare function WavelengthPopUpMenu({ menuItems, customIcon, width, menuDirection }: PopUPMenuProps): React__default.JSX.Element;
237
+
238
+ export { AceOfSpadesComponent, AppLogo, ArrowIcon, BomberBeeIcon, ButtonIcon, ButtonMenu, DefaultIcon, ManyPlanesComponent, Old563EWSLogo, PortalIcon, RapidrefIcon, type SearchResult, SearchTextField, SquadronIcon, SwarmIcon, type ThemeProperties, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBannerHeader, WavelengthBox, WavelengthButton, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFooter, WavelengthIcon, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthSearch, WavelengthTitleBar, add, concat, findBestStringMatch, type menuItemProps, useThemeContext };