@wavelengthusaf/components 3.4.0 → 4.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 +16 -7
- package/dist/cjs/index.cjs +306 -4395
- package/dist/cjs/index.d.cts +6 -14
- package/dist/esm/index.d.ts +6 -14
- package/dist/esm/index.js +304 -4393
- package/package.json +10 -7
- package/dist/cjs/index.cjs.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/fonts/fonts/b612-latin-400-normal.woff +0 -0
- package/dist/fonts/fonts/b612-latin-400-normal.woff2 +0 -0
- package/dist/fonts/fonts/goldman-latin-400-normal.woff +0 -0
- package/dist/fonts/fonts/goldman-latin-400-normal.woff2 +0 -0
- package/dist/styles/styles/fontBase64.tsx +0 -16
- package/dist/styles/styles/fontSheet.tsx +0 -19
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
|
|
3
|
+
export { SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
|
|
3
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
5
6
|
import { z } from 'zod';
|
|
@@ -385,13 +386,6 @@ interface ButtonConfig {
|
|
|
385
386
|
interface WavelengthInputAttributes extends React__default.HTMLAttributes<HTMLElement> {
|
|
386
387
|
[key: string]: any;
|
|
387
388
|
}
|
|
388
|
-
type FormDetail<T> = {
|
|
389
|
-
value: T;
|
|
390
|
-
issues: z.ZodIssue[];
|
|
391
|
-
};
|
|
392
|
-
type FormInvalidDetail<T> = FormDetail<Partial<T>>;
|
|
393
|
-
type FormValidDetail<T> = FormDetail<T>;
|
|
394
|
-
type FormChangeDetail<T> = FormDetail<Partial<T>>;
|
|
395
389
|
interface WavelengthFormProps<T extends object = Record<string, unknown>> {
|
|
396
390
|
/** A Zod object schema */
|
|
397
391
|
schema: z.ZodType<T>;
|
|
@@ -843,17 +837,15 @@ interface AutocompleteProps {
|
|
|
843
837
|
inputFocusBorderColor?: string;
|
|
844
838
|
autoBackGroundColor?: string;
|
|
845
839
|
labelColor?: string;
|
|
846
|
-
|
|
840
|
+
focusedLabelColor?: string;
|
|
847
841
|
id?: string;
|
|
848
842
|
name?: string;
|
|
849
843
|
}
|
|
850
|
-
declare const
|
|
851
|
-
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor,
|
|
844
|
+
declare const WavelengthAutoComplete: {
|
|
845
|
+
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, focusedLabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
852
846
|
displayName: string;
|
|
853
847
|
};
|
|
854
848
|
|
|
855
|
-
declare const WLInputDatePicker: React.FC;
|
|
856
|
-
|
|
857
849
|
type timeVariant = "date" | "datetime-local" | "";
|
|
858
850
|
interface DateInputProps {
|
|
859
851
|
floatLabel: string;
|
|
@@ -871,7 +863,7 @@ interface DateInputProps {
|
|
|
871
863
|
id?: string;
|
|
872
864
|
name?: string;
|
|
873
865
|
}
|
|
874
|
-
declare const
|
|
866
|
+
declare const WavelengthDatePicker: {
|
|
875
867
|
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
876
868
|
displayName: string;
|
|
877
869
|
};
|
|
@@ -881,4 +873,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
881
873
|
}
|
|
882
874
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
883
875
|
|
|
884
|
-
export {
|
|
876
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ChangeEvent, ReactElement } from 'react';
|
|
3
|
+
export { SampleComponent as SampleComponentElement, WavelengthBanner as WavelengthBannerElement, WavelengthButton as WavelengthButtonElement, WavelengthDatePicker as WavelengthDatePickerElement, WavelengthForm as WavelengthFormElement, WavelengthInput as WavelengthInputElement, WavelengthProgressBar as WavelengthProgressBarElement, WavelengthTitleBar as WavelengthTitleBarElement } from '@wavelengthusaf/web-components';
|
|
3
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import { TextFieldVariants, SxProps, Theme } from '@mui/material';
|
|
5
6
|
import { z } from 'zod';
|
|
@@ -385,13 +386,6 @@ interface ButtonConfig {
|
|
|
385
386
|
interface WavelengthInputAttributes extends React__default.HTMLAttributes<HTMLElement> {
|
|
386
387
|
[key: string]: any;
|
|
387
388
|
}
|
|
388
|
-
type FormDetail<T> = {
|
|
389
|
-
value: T;
|
|
390
|
-
issues: z.ZodIssue[];
|
|
391
|
-
};
|
|
392
|
-
type FormInvalidDetail<T> = FormDetail<Partial<T>>;
|
|
393
|
-
type FormValidDetail<T> = FormDetail<T>;
|
|
394
|
-
type FormChangeDetail<T> = FormDetail<Partial<T>>;
|
|
395
389
|
interface WavelengthFormProps<T extends object = Record<string, unknown>> {
|
|
396
390
|
/** A Zod object schema */
|
|
397
391
|
schema: z.ZodType<T>;
|
|
@@ -843,17 +837,15 @@ interface AutocompleteProps {
|
|
|
843
837
|
inputFocusBorderColor?: string;
|
|
844
838
|
autoBackGroundColor?: string;
|
|
845
839
|
labelColor?: string;
|
|
846
|
-
|
|
840
|
+
focusedLabelColor?: string;
|
|
847
841
|
id?: string;
|
|
848
842
|
name?: string;
|
|
849
843
|
}
|
|
850
|
-
declare const
|
|
851
|
-
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor,
|
|
844
|
+
declare const WavelengthAutoComplete: {
|
|
845
|
+
({ floatLabel, data, height, width, inputBorderStyle, inputFocusBorderColor, onDataChange, autoBackGroundColor, labelColor, focusedLabelColor, id, name, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
852
846
|
displayName: string;
|
|
853
847
|
};
|
|
854
848
|
|
|
855
|
-
declare const WLInputDatePicker: React.FC;
|
|
856
|
-
|
|
857
849
|
type timeVariant = "date" | "datetime-local" | "";
|
|
858
850
|
interface DateInputProps {
|
|
859
851
|
floatLabel: string;
|
|
@@ -871,7 +863,7 @@ interface DateInputProps {
|
|
|
871
863
|
id?: string;
|
|
872
864
|
name?: string;
|
|
873
865
|
}
|
|
874
|
-
declare const
|
|
866
|
+
declare const WavelengthDatePicker: {
|
|
875
867
|
({ id, name, inputBorderStyle, floatLabel, labelColor, inputFocusBorderColor, FocusLabelColor, backgroundColor, height, width, min, max, inputTimeType, OnDataChange, }: DateInputProps): react_jsx_runtime.JSX.Element;
|
|
876
868
|
displayName: string;
|
|
877
869
|
};
|
|
@@ -881,4 +873,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
881
873
|
}
|
|
882
874
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
883
875
|
|
|
884
|
-
export {
|
|
876
|
+
export { ButtonIcon, ButtonMenu, ChildDataTable, DefaultCarousel, DefaultPagination, NestedDataTable, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutoComplete, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDatePicker, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthForm, WavelengthInput, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|