@kaizen/components 1.24.0 → 1.24.1
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/{SuccessIcon-30c8cfe6.js → SuccessIcon-b5aaeec4.js} +1 -1
- package/dist/cjs/{SuccessIcon-30c8cfe6.js.map → SuccessIcon-b5aaeec4.js.map} +1 -1
- package/dist/cjs/{SuccessIcon-3b7434ae.js → SuccessIcon-d357871a.js} +1 -1
- package/dist/cjs/{SuccessIcon-3b7434ae.js.map → SuccessIcon-d357871a.js.map} +1 -1
- package/dist/cjs/dts/Avatar/Avatar.d.ts +50 -0
- package/dist/cjs/dts/Avatar/index.d.ts +1 -0
- package/dist/cjs/dts/AvatarGroup/AvatarGroup.d.ts +28 -0
- package/dist/cjs/dts/AvatarGroup/_docs/example-data.d.ts +8 -0
- package/dist/cjs/dts/AvatarGroup/index.d.ts +1 -0
- package/dist/cjs/dts/Badge/Badge.d.ts +32 -0
- package/dist/cjs/dts/Badge/index.d.ts +1 -0
- package/dist/cjs/dts/BrandMoment/BrandMoment.d.ts +4 -0
- package/dist/cjs/dts/Button/subcomponents/GenericButton.d.ts +2 -2
- package/dist/cjs/dts/Card/Card.d.ts +26 -0
- package/dist/cjs/dts/Card/index.d.ts +1 -0
- package/dist/cjs/dts/Divider/Divider.d.ts +14 -0
- package/dist/cjs/dts/Divider/index.d.ts +1 -0
- package/dist/cjs/dts/EmptyState/EmptyState.d.ts +24 -0
- package/dist/cjs/dts/EmptyState/index.d.ts +1 -0
- package/dist/cjs/dts/Heading/Heading.d.ts +26 -0
- package/dist/cjs/dts/Heading/index.d.ts +1 -0
- package/dist/cjs/dts/MultiSelect/subcomponents/Popover/Popover.d.ts +18 -0
- package/dist/cjs/dts/MultiSelect/subcomponents/Popover/index.d.ts +2 -0
- package/dist/cjs/dts/Notification/GenericNotification/GenericNotification.d.ts +38 -0
- package/dist/cjs/dts/Notification/GenericNotification/index.d.ts +3 -0
- package/dist/cjs/dts/Notification/GlobalNotification/GlobalNotification.d.ts +17 -0
- package/dist/cjs/dts/Notification/GlobalNotification/index.d.ts +1 -0
- package/dist/cjs/dts/Notification/InlineNotification/InlineNotification.d.ts +25 -0
- package/dist/cjs/dts/Notification/InlineNotification/index.d.ts +1 -0
- package/dist/cjs/dts/Notification/index.d.ts +2 -0
- package/dist/cjs/dts/Notification/types.d.ts +1 -0
- package/dist/cjs/dts/Text/Text.d.ts +23 -0
- package/dist/cjs/dts/Text/index.d.ts +1 -0
- package/dist/cjs/dts/index.d.ts +1 -1
- package/dist/cjs/dts/types/OverrideClassName.d.ts +1 -0
- package/dist/cjs/future.js +1 -1
- package/dist/cjs/index.css +4 -4
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/{SuccessIcon-24e9ab24.js → SuccessIcon-29cb253a.js} +1 -1
- package/dist/esm/{SuccessIcon-24e9ab24.js.map → SuccessIcon-29cb253a.js.map} +1 -1
- package/dist/esm/{SuccessIcon-a3db6485.js → SuccessIcon-9ed1bf2f.js} +1 -1
- package/dist/esm/{SuccessIcon-a3db6485.js.map → SuccessIcon-9ed1bf2f.js.map} +1 -1
- package/dist/esm/dts/Avatar/Avatar.d.ts +50 -0
- package/dist/esm/dts/Avatar/index.d.ts +1 -0
- package/dist/esm/dts/AvatarGroup/AvatarGroup.d.ts +28 -0
- package/dist/esm/dts/AvatarGroup/_docs/example-data.d.ts +8 -0
- package/dist/esm/dts/AvatarGroup/index.d.ts +1 -0
- package/dist/esm/dts/Badge/Badge.d.ts +32 -0
- package/dist/esm/dts/Badge/index.d.ts +1 -0
- package/dist/esm/dts/BrandMoment/BrandMoment.d.ts +4 -0
- package/dist/esm/dts/Button/subcomponents/GenericButton.d.ts +2 -2
- package/dist/esm/dts/Card/Card.d.ts +26 -0
- package/dist/esm/dts/Card/index.d.ts +1 -0
- package/dist/esm/dts/Divider/Divider.d.ts +14 -0
- package/dist/esm/dts/Divider/index.d.ts +1 -0
- package/dist/esm/dts/EmptyState/EmptyState.d.ts +24 -0
- package/dist/esm/dts/EmptyState/index.d.ts +1 -0
- package/dist/esm/dts/Heading/Heading.d.ts +26 -0
- package/dist/esm/dts/Heading/index.d.ts +1 -0
- package/dist/esm/dts/MultiSelect/subcomponents/Popover/Popover.d.ts +18 -0
- package/dist/esm/dts/MultiSelect/subcomponents/Popover/index.d.ts +2 -0
- package/dist/esm/dts/Notification/GenericNotification/GenericNotification.d.ts +38 -0
- package/dist/esm/dts/Notification/GenericNotification/index.d.ts +3 -0
- package/dist/esm/dts/Notification/GlobalNotification/GlobalNotification.d.ts +17 -0
- package/dist/esm/dts/Notification/GlobalNotification/index.d.ts +1 -0
- package/dist/esm/dts/Notification/InlineNotification/InlineNotification.d.ts +25 -0
- package/dist/esm/dts/Notification/InlineNotification/index.d.ts +1 -0
- package/dist/esm/dts/Notification/index.d.ts +2 -0
- package/dist/esm/dts/Notification/types.d.ts +1 -0
- package/dist/esm/dts/Text/Text.d.ts +23 -0
- package/dist/esm/dts/Text/index.d.ts +1 -0
- package/dist/esm/dts/index.d.ts +1 -1
- package/dist/esm/dts/types/OverrideClassName.d.ts +1 -0
- package/dist/esm/future.js +1 -1
- package/dist/esm/index.css +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +375 -374
- package/dist/styles.css +1 -1
- package/future/README.md +1 -1
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1, { MouseEvent, FocusEvent, ComponentType, ButtonHTMLAttributes, HTMLAttributes, ReactNode, InputHTMLAttributes, CSSProperties, Context
|
|
2
|
+
import React$1, { MouseEvent, FocusEvent, ComponentType, ButtonHTMLAttributes, HTMLAttributes, ReactNode, SVGAttributes, InputHTMLAttributes, CSSProperties, Context } from 'react';
|
|
3
3
|
import { DateInputProps, CalendarSingleProps, DisabledDays, DateRange } from '@kaizen/date-picker';
|
|
4
4
|
export { DateRange, DisabledDays } from '@kaizen/date-picker';
|
|
5
5
|
import { FieldMessageStatus } from '@kaizen/draft-form';
|
|
@@ -53,7 +53,7 @@ type WorkingProps = {
|
|
|
53
53
|
type WorkingUndefinedProps = {
|
|
54
54
|
working?: false;
|
|
55
55
|
};
|
|
56
|
-
type
|
|
56
|
+
type ButtonBadgeProps = {
|
|
57
57
|
text: string;
|
|
58
58
|
animateChange?: boolean;
|
|
59
59
|
variant?: "default" | "dark" | "active";
|
|
@@ -76,7 +76,7 @@ type ButtonProps = GenericProps & ButtonFormAttributes & (WorkingProps | Working
|
|
|
76
76
|
secondary?: boolean;
|
|
77
77
|
/** @default "regular" */
|
|
78
78
|
size?: "small" | "regular";
|
|
79
|
-
badge?:
|
|
79
|
+
badge?: ButtonBadgeProps;
|
|
80
80
|
type?: "submit" | "reset" | "button";
|
|
81
81
|
fullWidth?: boolean;
|
|
82
82
|
iconPosition?: "start" | "end";
|
|
@@ -91,6 +91,7 @@ type ButtonProps = GenericProps & ButtonFormAttributes & (WorkingProps | Working
|
|
|
91
91
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<ButtonRef | undefined>>;
|
|
92
92
|
|
|
93
93
|
type OverrideClassName<T extends Record<string, any>> = Omit<T, "className"> & {
|
|
94
|
+
/** Add extra classnames to the component. Try out some Tailwind classes (eg. `!mb-48`) to see! */
|
|
94
95
|
classNameOverride?: string;
|
|
95
96
|
};
|
|
96
97
|
|
|
@@ -781,364 +782,6 @@ declare const FilterBar: {
|
|
|
781
782
|
};
|
|
782
783
|
};
|
|
783
784
|
|
|
784
|
-
type InputSearchProps = {
|
|
785
|
-
id: string;
|
|
786
|
-
reversed?: boolean;
|
|
787
|
-
loading?: boolean;
|
|
788
|
-
secondary?: boolean;
|
|
789
|
-
onClear?: () => void;
|
|
790
|
-
} & OverrideClassName<Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue">>;
|
|
791
|
-
declare const InputSearch: {
|
|
792
|
-
(props: InputSearchProps): JSX.Element;
|
|
793
|
-
displayName: string;
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
* Use this class to set and apply themes, and to access or subscribe to the currently active one.
|
|
798
|
-
* This class fulfills the idea of theming and runtime theme switching by relying on CSS variables,
|
|
799
|
-
* and the ability to update them in JavaScript - a framework agnostic method.
|
|
800
|
-
*
|
|
801
|
-
* It works by converting a Theme interface to a flattened map of CSS variable keys and values, then calling `document.documentElement.style.setProperty(key, value)`.
|
|
802
|
-
*/
|
|
803
|
-
declare class ThemeManager<Theme extends Theme$1 = Theme$1> {
|
|
804
|
-
private themeChangeListeners;
|
|
805
|
-
private theme;
|
|
806
|
-
private rootElement;
|
|
807
|
-
private rootElementId;
|
|
808
|
-
constructor(theme: Theme, rootElementId?: string, apply?: boolean);
|
|
809
|
-
getRootElement: () => HTMLElement | null;
|
|
810
|
-
getRootElementId: () => string;
|
|
811
|
-
getCurrentTheme: () => Theme;
|
|
812
|
-
setRootElement: (element: HTMLElement) => void;
|
|
813
|
-
setRootElementId: (rootElementId: string) => string;
|
|
814
|
-
setAndApplyTheme: (theme: Theme, force?: boolean) => void;
|
|
815
|
-
addThemeChangeListener: (listener: (theme: Theme) => void) => void;
|
|
816
|
-
removeThemeChangeListener: (listener: (theme: Theme) => void) => void;
|
|
817
|
-
applyCurrentTheme: () => void;
|
|
818
|
-
private notifyThemeChangeListeners;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* Use a custom type for CSS properties becauase we should eventually write a more strongly typed version using template literal types.
|
|
823
|
-
* This could definitely be contributed back to the community too. An example starting point here https://github.com/ghoullier/awesome-template-literal-types#css-parser
|
|
824
|
-
* For example:
|
|
825
|
-
* ```ts
|
|
826
|
-
* type Font = {
|
|
827
|
-
* fontSize: `${number}rem`,
|
|
828
|
-
*
|
|
829
|
-
* }
|
|
830
|
-
* type HexDigit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F ;
|
|
831
|
-
* type Color = `rgba(${number}, ${number}, ${number}, ${number}) | #${HexDigit}${HexDigit}${HexDigit}` // You get the point
|
|
832
|
-
*
|
|
833
|
-
* ```
|
|
834
|
-
* */
|
|
835
|
-
type KaizenCSSProperties = CSSProperties;
|
|
836
|
-
type Hex = string;
|
|
837
|
-
type TypographyFont = {
|
|
838
|
-
fontFamily: KaizenCSSProperties["fontFamily"];
|
|
839
|
-
fontWeight: KaizenCSSProperties["fontWeight"];
|
|
840
|
-
fontSize: KaizenCSSProperties["fontSize"];
|
|
841
|
-
lineHeight: KaizenCSSProperties["lineHeight"];
|
|
842
|
-
letterSpacing: KaizenCSSProperties["letterSpacing"];
|
|
843
|
-
};
|
|
844
|
-
type ThemeKey = "heart" | "custom";
|
|
845
|
-
type Theme = {
|
|
846
|
-
themeKey: ThemeKey;
|
|
847
|
-
border: {
|
|
848
|
-
solid: {
|
|
849
|
-
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
850
|
-
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
851
|
-
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
852
|
-
borderColor: KaizenCSSProperties["borderColor"];
|
|
853
|
-
};
|
|
854
|
-
dashed: {
|
|
855
|
-
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
856
|
-
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
857
|
-
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
858
|
-
};
|
|
859
|
-
borderless: {
|
|
860
|
-
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
861
|
-
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
862
|
-
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
863
|
-
borderColor: KaizenCSSProperties["borderColor"];
|
|
864
|
-
};
|
|
865
|
-
focusRing: {
|
|
866
|
-
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
867
|
-
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
868
|
-
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
869
|
-
};
|
|
870
|
-
};
|
|
871
|
-
animation: {
|
|
872
|
-
easingFunction: {
|
|
873
|
-
easeInOut: string;
|
|
874
|
-
easeIn: string;
|
|
875
|
-
easeOut: string;
|
|
876
|
-
linear: string;
|
|
877
|
-
bounceIn: string;
|
|
878
|
-
bounceOut: string;
|
|
879
|
-
bounceInOut: string;
|
|
880
|
-
};
|
|
881
|
-
duration: {
|
|
882
|
-
instant: string;
|
|
883
|
-
immediate: string;
|
|
884
|
-
rapid: string;
|
|
885
|
-
fast: string;
|
|
886
|
-
slow: string;
|
|
887
|
-
deliberate: string;
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
color: {
|
|
891
|
-
purple: {
|
|
892
|
-
"100": Hex;
|
|
893
|
-
"200": Hex;
|
|
894
|
-
"300": Hex;
|
|
895
|
-
"400": Hex;
|
|
896
|
-
"500": Hex;
|
|
897
|
-
"600": Hex;
|
|
898
|
-
"700": Hex;
|
|
899
|
-
"800": Hex;
|
|
900
|
-
};
|
|
901
|
-
blue: {
|
|
902
|
-
"100": Hex;
|
|
903
|
-
"200": Hex;
|
|
904
|
-
"300": Hex;
|
|
905
|
-
"400": Hex;
|
|
906
|
-
"500": Hex;
|
|
907
|
-
"600": Hex;
|
|
908
|
-
"700": Hex;
|
|
909
|
-
};
|
|
910
|
-
green: {
|
|
911
|
-
"100": Hex;
|
|
912
|
-
"200": Hex;
|
|
913
|
-
"300": Hex;
|
|
914
|
-
"400": Hex;
|
|
915
|
-
"500": Hex;
|
|
916
|
-
"600": Hex;
|
|
917
|
-
"700": Hex;
|
|
918
|
-
};
|
|
919
|
-
yellow: {
|
|
920
|
-
"100": Hex;
|
|
921
|
-
"200": Hex;
|
|
922
|
-
"300": Hex;
|
|
923
|
-
"400": Hex;
|
|
924
|
-
"500": Hex;
|
|
925
|
-
"600": Hex;
|
|
926
|
-
"700": Hex;
|
|
927
|
-
};
|
|
928
|
-
red: {
|
|
929
|
-
"100": Hex;
|
|
930
|
-
"200": Hex;
|
|
931
|
-
"300": Hex;
|
|
932
|
-
"400": Hex;
|
|
933
|
-
"500": Hex;
|
|
934
|
-
"600": Hex;
|
|
935
|
-
"700": Hex;
|
|
936
|
-
};
|
|
937
|
-
orange: {
|
|
938
|
-
"100": Hex;
|
|
939
|
-
"200": Hex;
|
|
940
|
-
"300": Hex;
|
|
941
|
-
"400": Hex;
|
|
942
|
-
"500": Hex;
|
|
943
|
-
"600": Hex;
|
|
944
|
-
"700": Hex;
|
|
945
|
-
};
|
|
946
|
-
gray: {
|
|
947
|
-
"100": Hex;
|
|
948
|
-
"200": Hex;
|
|
949
|
-
"300": Hex;
|
|
950
|
-
"400": Hex;
|
|
951
|
-
"500": Hex;
|
|
952
|
-
"600": Hex;
|
|
953
|
-
};
|
|
954
|
-
white: Hex;
|
|
955
|
-
};
|
|
956
|
-
dataViz: {
|
|
957
|
-
favorable: Hex;
|
|
958
|
-
unfavorable: Hex;
|
|
959
|
-
};
|
|
960
|
-
layout: {
|
|
961
|
-
contentMaxWidth: string;
|
|
962
|
-
contentMaxWidthWithSidebar: string;
|
|
963
|
-
contentSideMargin: string;
|
|
964
|
-
mobileActionsDrawerHeight: string;
|
|
965
|
-
navigationBarHeight: string;
|
|
966
|
-
breakpoints: {
|
|
967
|
-
medium: string;
|
|
968
|
-
large: string;
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
|
-
shadow: {
|
|
972
|
-
small: {
|
|
973
|
-
boxShadow: string;
|
|
974
|
-
};
|
|
975
|
-
large: {
|
|
976
|
-
boxShadow: string;
|
|
977
|
-
};
|
|
978
|
-
};
|
|
979
|
-
spacing: {
|
|
980
|
-
xs: string;
|
|
981
|
-
sm: string;
|
|
982
|
-
md: string;
|
|
983
|
-
lg: string;
|
|
984
|
-
xl: string;
|
|
985
|
-
xxl: string;
|
|
986
|
-
xxxl: string;
|
|
987
|
-
xxxxl: string;
|
|
988
|
-
xxxxxl: string;
|
|
989
|
-
0: string;
|
|
990
|
-
1: string;
|
|
991
|
-
2: string;
|
|
992
|
-
4: string;
|
|
993
|
-
6: string;
|
|
994
|
-
8: string;
|
|
995
|
-
12: string;
|
|
996
|
-
16: string;
|
|
997
|
-
24: string;
|
|
998
|
-
32: string;
|
|
999
|
-
40: string;
|
|
1000
|
-
48: string;
|
|
1001
|
-
56: string;
|
|
1002
|
-
64: string;
|
|
1003
|
-
72: string;
|
|
1004
|
-
80: string;
|
|
1005
|
-
96: string;
|
|
1006
|
-
112: string;
|
|
1007
|
-
128: string;
|
|
1008
|
-
160: string;
|
|
1009
|
-
200: string;
|
|
1010
|
-
240: string;
|
|
1011
|
-
280: string;
|
|
1012
|
-
320: string;
|
|
1013
|
-
};
|
|
1014
|
-
typography: {
|
|
1015
|
-
dataLarge: TypographyFont;
|
|
1016
|
-
dataLargeUnits: TypographyFont;
|
|
1017
|
-
dataMedium: TypographyFont;
|
|
1018
|
-
dataMediumUnits: TypographyFont;
|
|
1019
|
-
dataSmall: TypographyFont;
|
|
1020
|
-
dataSmallUnits: TypographyFont;
|
|
1021
|
-
display0: TypographyFont;
|
|
1022
|
-
heading1: TypographyFont;
|
|
1023
|
-
heading2: TypographyFont;
|
|
1024
|
-
heading3: TypographyFont;
|
|
1025
|
-
heading4: TypographyFont;
|
|
1026
|
-
heading5: TypographyFont;
|
|
1027
|
-
heading6: TypographyFont;
|
|
1028
|
-
paragraphIntroLede: TypographyFont;
|
|
1029
|
-
paragraphBody: TypographyFont;
|
|
1030
|
-
paragraphSmall: TypographyFont;
|
|
1031
|
-
paragraphExtraSmall: TypographyFont;
|
|
1032
|
-
paragraphBold: {
|
|
1033
|
-
fontWeight: KaizenCSSProperties["fontWeight"];
|
|
1034
|
-
};
|
|
1035
|
-
buttonPrimary: TypographyFont;
|
|
1036
|
-
buttonSecondary: TypographyFont;
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
1039
|
-
type DeepMapObjectLeafs<T, LeafType> = T extends string | number | bigint | boolean | symbol | null | undefined | ((...params: any[]) => any) ? LeafType : T extends Record<any, any> ? {
|
|
1040
|
-
[Key in keyof T]: DeepMapObjectLeafs<T[Key], LeafType>;
|
|
1041
|
-
} : T;
|
|
1042
|
-
/**
|
|
1043
|
-
* Apologies for the complex types.
|
|
1044
|
-
* This type represents the Theme type but with every leaf value in the tree mapped strictly to a string, rather than a number or a more complex type such as a string union.
|
|
1045
|
-
* The reason for this is to have a more accurate type for the generated hierarchy of design tokens which are represented as CSS custom properties, e.g. `var(--color-purple-800)`.
|
|
1046
|
-
*/
|
|
1047
|
-
type CSSVariableTheme = DeepMapObjectLeafs<Theme, string>;
|
|
1048
|
-
|
|
1049
|
-
declare const heartTheme: Theme;
|
|
1050
|
-
|
|
1051
|
-
declare const defaultTheme: Theme;
|
|
1052
|
-
|
|
1053
|
-
declare const ThemeContext: Context<Theme>;
|
|
1054
|
-
/**
|
|
1055
|
-
* Wrap your application in this provider using a ThemeManager, to synchronise it with a react context.
|
|
1056
|
-
* This allows child react elements to more easily use theme variables, using the {@link useTheme} hook.
|
|
1057
|
-
*/
|
|
1058
|
-
declare const ThemeProvider: ({ themeManager, ...props }: {
|
|
1059
|
-
themeManager?: ThemeManager<_kaizen_design_tokens.Theme> | undefined;
|
|
1060
|
-
children: React$1.ReactNode;
|
|
1061
|
-
}) => JSX.Element;
|
|
1062
|
-
declare const useTheme: () => Theme;
|
|
1063
|
-
|
|
1064
|
-
type KaizenProviderProps = {
|
|
1065
|
-
children: React$1.ReactNode;
|
|
1066
|
-
themeManager?: ThemeManager;
|
|
1067
|
-
locale?: string;
|
|
1068
|
-
};
|
|
1069
|
-
declare const KaizenProvider: {
|
|
1070
|
-
({ children, themeManager, locale, }: KaizenProviderProps): JSX.Element;
|
|
1071
|
-
displayName: string;
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
type ProgressStepperProps = {
|
|
1075
|
-
stepName: string;
|
|
1076
|
-
steps: [string, ...string[]];
|
|
1077
|
-
isComplete?: boolean;
|
|
1078
|
-
};
|
|
1079
|
-
|
|
1080
|
-
type FooterProps = {
|
|
1081
|
-
/** An action to return to a previous step */
|
|
1082
|
-
previousAction?: JSX.Element;
|
|
1083
|
-
/** An action to progress to the next step or submit the form */
|
|
1084
|
-
nextAction?: JSX.Element;
|
|
1085
|
-
} & ProgressStepperProps & OverrideClassName<Omit<HTMLAttributes<HTMLElement>, "children">>;
|
|
1086
|
-
|
|
1087
|
-
type WorkflowStatus = {
|
|
1088
|
-
/** @default: "statusDraft" */
|
|
1089
|
-
variant?: DefaultTagProps["variant"];
|
|
1090
|
-
content?: string;
|
|
1091
|
-
};
|
|
1092
|
-
type WorkflowTitlesProps = {
|
|
1093
|
-
workflowName: string;
|
|
1094
|
-
stepName: string;
|
|
1095
|
-
status?: WorkflowStatus;
|
|
1096
|
-
} & OverrideClassName<HTMLAttributes<HTMLDivElement>>;
|
|
1097
|
-
|
|
1098
|
-
type WorkflowActionsProps = {
|
|
1099
|
-
/**
|
|
1100
|
-
* Header actions will render in order of the array.
|
|
1101
|
-
*/
|
|
1102
|
-
headerActions?: JSX.Element[];
|
|
1103
|
-
} & OverrideClassName<Omit<HTMLAttributes<HTMLDivElement>, "children">>;
|
|
1104
|
-
|
|
1105
|
-
type HeaderProps = WorkflowTitlesProps & WorkflowActionsProps;
|
|
1106
|
-
|
|
1107
|
-
type WorkflowMainProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
1108
|
-
children: ReactNode;
|
|
1109
|
-
};
|
|
1110
|
-
|
|
1111
|
-
type WorkflowWrapperProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
1112
|
-
children: ReactNode;
|
|
1113
|
-
};
|
|
1114
|
-
|
|
1115
|
-
type WorkflowProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & FooterProps & HeaderProps;
|
|
1116
|
-
/**
|
|
1117
|
-
* @deprecated Use { Workflow } from `@kaizen/components/future`
|
|
1118
|
-
*/
|
|
1119
|
-
declare const Workflow: (({ stepName, steps, isComplete, workflowName, status, headerActions, children, nextAction, previousAction, classNameOverride, ...restProps }: WorkflowProps) => JSX.Element) & {
|
|
1120
|
-
Header: {
|
|
1121
|
-
({ workflowName, stepName, status, headerActions, ...restProps }: HeaderProps): JSX.Element;
|
|
1122
|
-
displayName: string;
|
|
1123
|
-
};
|
|
1124
|
-
Footer: {
|
|
1125
|
-
({ steps, stepName, isComplete, previousAction, nextAction, ...restProps }: FooterProps): JSX.Element;
|
|
1126
|
-
displayName: string;
|
|
1127
|
-
};
|
|
1128
|
-
Main: {
|
|
1129
|
-
({ children, classNameOverride, ...restProps }: WorkflowMainProps): JSX.Element;
|
|
1130
|
-
displayName: string;
|
|
1131
|
-
};
|
|
1132
|
-
ProgressStepper: {
|
|
1133
|
-
({ stepName, steps, isComplete, ...restprops }: ProgressStepperProps): JSX.Element;
|
|
1134
|
-
displayName: string;
|
|
1135
|
-
};
|
|
1136
|
-
Wrapper: {
|
|
1137
|
-
({ children, classNameOverride, ...restProps }: WorkflowWrapperProps): JSX.Element;
|
|
1138
|
-
displayName: string;
|
|
1139
|
-
};
|
|
1140
|
-
};
|
|
1141
|
-
|
|
1142
785
|
type BaseSVGProps = {
|
|
1143
786
|
inheritSize?: boolean;
|
|
1144
787
|
} & OverrideClassName<SVGAttributes<SVGElement>>;
|
|
@@ -1600,28 +1243,386 @@ declare const UnderlineIcon: (props: IconProps) => JSX.Element;
|
|
|
1600
1243
|
|
|
1601
1244
|
declare const UndoIcon: (props: IconProps) => JSX.Element;
|
|
1602
1245
|
|
|
1603
|
-
declare const UserAddIcon: (props: IconProps) => JSX.Element;
|
|
1246
|
+
declare const UserAddIcon: (props: IconProps) => JSX.Element;
|
|
1247
|
+
|
|
1248
|
+
declare const UserDeleteIcon: (props: IconProps) => JSX.Element;
|
|
1249
|
+
|
|
1250
|
+
declare const UserExitIcon: (props: IconProps) => JSX.Element;
|
|
1251
|
+
|
|
1252
|
+
declare const UserIcon: (props: IconProps) => JSX.Element;
|
|
1253
|
+
|
|
1254
|
+
declare const UserSelectIcon: (props: IconProps) => JSX.Element;
|
|
1255
|
+
|
|
1256
|
+
declare const UserSettingsIcon: (props: IconProps) => JSX.Element;
|
|
1257
|
+
|
|
1258
|
+
declare const UserUpdateIcon: (props: IconProps) => JSX.Element;
|
|
1259
|
+
|
|
1260
|
+
declare const UsersIcon: (props: IconProps) => JSX.Element;
|
|
1261
|
+
|
|
1262
|
+
declare const VisibleIcon: (props: IconProps) => JSX.Element;
|
|
1263
|
+
|
|
1264
|
+
declare const WritingIcon: (props: IconProps) => JSX.Element;
|
|
1265
|
+
|
|
1266
|
+
declare const ZoomInIcon: (props: IconProps) => JSX.Element;
|
|
1267
|
+
|
|
1268
|
+
declare const ZoomOutIcon: (props: IconProps) => JSX.Element;
|
|
1269
|
+
|
|
1270
|
+
type InputSearchProps = {
|
|
1271
|
+
id: string;
|
|
1272
|
+
reversed?: boolean;
|
|
1273
|
+
loading?: boolean;
|
|
1274
|
+
secondary?: boolean;
|
|
1275
|
+
onClear?: () => void;
|
|
1276
|
+
} & OverrideClassName<Omit<InputHTMLAttributes<HTMLInputElement>, "defaultValue">>;
|
|
1277
|
+
declare const InputSearch: {
|
|
1278
|
+
(props: InputSearchProps): JSX.Element;
|
|
1279
|
+
displayName: string;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Use this class to set and apply themes, and to access or subscribe to the currently active one.
|
|
1284
|
+
* This class fulfills the idea of theming and runtime theme switching by relying on CSS variables,
|
|
1285
|
+
* and the ability to update them in JavaScript - a framework agnostic method.
|
|
1286
|
+
*
|
|
1287
|
+
* It works by converting a Theme interface to a flattened map of CSS variable keys and values, then calling `document.documentElement.style.setProperty(key, value)`.
|
|
1288
|
+
*/
|
|
1289
|
+
declare class ThemeManager<Theme extends Theme$1 = Theme$1> {
|
|
1290
|
+
private themeChangeListeners;
|
|
1291
|
+
private theme;
|
|
1292
|
+
private rootElement;
|
|
1293
|
+
private rootElementId;
|
|
1294
|
+
constructor(theme: Theme, rootElementId?: string, apply?: boolean);
|
|
1295
|
+
getRootElement: () => HTMLElement | null;
|
|
1296
|
+
getRootElementId: () => string;
|
|
1297
|
+
getCurrentTheme: () => Theme;
|
|
1298
|
+
setRootElement: (element: HTMLElement) => void;
|
|
1299
|
+
setRootElementId: (rootElementId: string) => string;
|
|
1300
|
+
setAndApplyTheme: (theme: Theme, force?: boolean) => void;
|
|
1301
|
+
addThemeChangeListener: (listener: (theme: Theme) => void) => void;
|
|
1302
|
+
removeThemeChangeListener: (listener: (theme: Theme) => void) => void;
|
|
1303
|
+
applyCurrentTheme: () => void;
|
|
1304
|
+
private notifyThemeChangeListeners;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Use a custom type for CSS properties becauase we should eventually write a more strongly typed version using template literal types.
|
|
1309
|
+
* This could definitely be contributed back to the community too. An example starting point here https://github.com/ghoullier/awesome-template-literal-types#css-parser
|
|
1310
|
+
* For example:
|
|
1311
|
+
* ```ts
|
|
1312
|
+
* type Font = {
|
|
1313
|
+
* fontSize: `${number}rem`,
|
|
1314
|
+
*
|
|
1315
|
+
* }
|
|
1316
|
+
* type HexDigit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F ;
|
|
1317
|
+
* type Color = `rgba(${number}, ${number}, ${number}, ${number}) | #${HexDigit}${HexDigit}${HexDigit}` // You get the point
|
|
1318
|
+
*
|
|
1319
|
+
* ```
|
|
1320
|
+
* */
|
|
1321
|
+
type KaizenCSSProperties = CSSProperties;
|
|
1322
|
+
type Hex = string;
|
|
1323
|
+
type TypographyFont = {
|
|
1324
|
+
fontFamily: KaizenCSSProperties["fontFamily"];
|
|
1325
|
+
fontWeight: KaizenCSSProperties["fontWeight"];
|
|
1326
|
+
fontSize: KaizenCSSProperties["fontSize"];
|
|
1327
|
+
lineHeight: KaizenCSSProperties["lineHeight"];
|
|
1328
|
+
letterSpacing: KaizenCSSProperties["letterSpacing"];
|
|
1329
|
+
};
|
|
1330
|
+
type ThemeKey = "heart" | "custom";
|
|
1331
|
+
type Theme = {
|
|
1332
|
+
themeKey: ThemeKey;
|
|
1333
|
+
border: {
|
|
1334
|
+
solid: {
|
|
1335
|
+
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
1336
|
+
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
1337
|
+
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
1338
|
+
borderColor: KaizenCSSProperties["borderColor"];
|
|
1339
|
+
};
|
|
1340
|
+
dashed: {
|
|
1341
|
+
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
1342
|
+
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
1343
|
+
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
1344
|
+
};
|
|
1345
|
+
borderless: {
|
|
1346
|
+
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
1347
|
+
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
1348
|
+
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
1349
|
+
borderColor: KaizenCSSProperties["borderColor"];
|
|
1350
|
+
};
|
|
1351
|
+
focusRing: {
|
|
1352
|
+
borderWidth: KaizenCSSProperties["borderWidth"];
|
|
1353
|
+
borderRadius: KaizenCSSProperties["borderRadius"];
|
|
1354
|
+
borderStyle: KaizenCSSProperties["borderStyle"];
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
animation: {
|
|
1358
|
+
easingFunction: {
|
|
1359
|
+
easeInOut: string;
|
|
1360
|
+
easeIn: string;
|
|
1361
|
+
easeOut: string;
|
|
1362
|
+
linear: string;
|
|
1363
|
+
bounceIn: string;
|
|
1364
|
+
bounceOut: string;
|
|
1365
|
+
bounceInOut: string;
|
|
1366
|
+
};
|
|
1367
|
+
duration: {
|
|
1368
|
+
instant: string;
|
|
1369
|
+
immediate: string;
|
|
1370
|
+
rapid: string;
|
|
1371
|
+
fast: string;
|
|
1372
|
+
slow: string;
|
|
1373
|
+
deliberate: string;
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
color: {
|
|
1377
|
+
purple: {
|
|
1378
|
+
"100": Hex;
|
|
1379
|
+
"200": Hex;
|
|
1380
|
+
"300": Hex;
|
|
1381
|
+
"400": Hex;
|
|
1382
|
+
"500": Hex;
|
|
1383
|
+
"600": Hex;
|
|
1384
|
+
"700": Hex;
|
|
1385
|
+
"800": Hex;
|
|
1386
|
+
};
|
|
1387
|
+
blue: {
|
|
1388
|
+
"100": Hex;
|
|
1389
|
+
"200": Hex;
|
|
1390
|
+
"300": Hex;
|
|
1391
|
+
"400": Hex;
|
|
1392
|
+
"500": Hex;
|
|
1393
|
+
"600": Hex;
|
|
1394
|
+
"700": Hex;
|
|
1395
|
+
};
|
|
1396
|
+
green: {
|
|
1397
|
+
"100": Hex;
|
|
1398
|
+
"200": Hex;
|
|
1399
|
+
"300": Hex;
|
|
1400
|
+
"400": Hex;
|
|
1401
|
+
"500": Hex;
|
|
1402
|
+
"600": Hex;
|
|
1403
|
+
"700": Hex;
|
|
1404
|
+
};
|
|
1405
|
+
yellow: {
|
|
1406
|
+
"100": Hex;
|
|
1407
|
+
"200": Hex;
|
|
1408
|
+
"300": Hex;
|
|
1409
|
+
"400": Hex;
|
|
1410
|
+
"500": Hex;
|
|
1411
|
+
"600": Hex;
|
|
1412
|
+
"700": Hex;
|
|
1413
|
+
};
|
|
1414
|
+
red: {
|
|
1415
|
+
"100": Hex;
|
|
1416
|
+
"200": Hex;
|
|
1417
|
+
"300": Hex;
|
|
1418
|
+
"400": Hex;
|
|
1419
|
+
"500": Hex;
|
|
1420
|
+
"600": Hex;
|
|
1421
|
+
"700": Hex;
|
|
1422
|
+
};
|
|
1423
|
+
orange: {
|
|
1424
|
+
"100": Hex;
|
|
1425
|
+
"200": Hex;
|
|
1426
|
+
"300": Hex;
|
|
1427
|
+
"400": Hex;
|
|
1428
|
+
"500": Hex;
|
|
1429
|
+
"600": Hex;
|
|
1430
|
+
"700": Hex;
|
|
1431
|
+
};
|
|
1432
|
+
gray: {
|
|
1433
|
+
"100": Hex;
|
|
1434
|
+
"200": Hex;
|
|
1435
|
+
"300": Hex;
|
|
1436
|
+
"400": Hex;
|
|
1437
|
+
"500": Hex;
|
|
1438
|
+
"600": Hex;
|
|
1439
|
+
};
|
|
1440
|
+
white: Hex;
|
|
1441
|
+
};
|
|
1442
|
+
dataViz: {
|
|
1443
|
+
favorable: Hex;
|
|
1444
|
+
unfavorable: Hex;
|
|
1445
|
+
};
|
|
1446
|
+
layout: {
|
|
1447
|
+
contentMaxWidth: string;
|
|
1448
|
+
contentMaxWidthWithSidebar: string;
|
|
1449
|
+
contentSideMargin: string;
|
|
1450
|
+
mobileActionsDrawerHeight: string;
|
|
1451
|
+
navigationBarHeight: string;
|
|
1452
|
+
breakpoints: {
|
|
1453
|
+
medium: string;
|
|
1454
|
+
large: string;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
shadow: {
|
|
1458
|
+
small: {
|
|
1459
|
+
boxShadow: string;
|
|
1460
|
+
};
|
|
1461
|
+
large: {
|
|
1462
|
+
boxShadow: string;
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
spacing: {
|
|
1466
|
+
xs: string;
|
|
1467
|
+
sm: string;
|
|
1468
|
+
md: string;
|
|
1469
|
+
lg: string;
|
|
1470
|
+
xl: string;
|
|
1471
|
+
xxl: string;
|
|
1472
|
+
xxxl: string;
|
|
1473
|
+
xxxxl: string;
|
|
1474
|
+
xxxxxl: string;
|
|
1475
|
+
0: string;
|
|
1476
|
+
1: string;
|
|
1477
|
+
2: string;
|
|
1478
|
+
4: string;
|
|
1479
|
+
6: string;
|
|
1480
|
+
8: string;
|
|
1481
|
+
12: string;
|
|
1482
|
+
16: string;
|
|
1483
|
+
24: string;
|
|
1484
|
+
32: string;
|
|
1485
|
+
40: string;
|
|
1486
|
+
48: string;
|
|
1487
|
+
56: string;
|
|
1488
|
+
64: string;
|
|
1489
|
+
72: string;
|
|
1490
|
+
80: string;
|
|
1491
|
+
96: string;
|
|
1492
|
+
112: string;
|
|
1493
|
+
128: string;
|
|
1494
|
+
160: string;
|
|
1495
|
+
200: string;
|
|
1496
|
+
240: string;
|
|
1497
|
+
280: string;
|
|
1498
|
+
320: string;
|
|
1499
|
+
};
|
|
1500
|
+
typography: {
|
|
1501
|
+
dataLarge: TypographyFont;
|
|
1502
|
+
dataLargeUnits: TypographyFont;
|
|
1503
|
+
dataMedium: TypographyFont;
|
|
1504
|
+
dataMediumUnits: TypographyFont;
|
|
1505
|
+
dataSmall: TypographyFont;
|
|
1506
|
+
dataSmallUnits: TypographyFont;
|
|
1507
|
+
display0: TypographyFont;
|
|
1508
|
+
heading1: TypographyFont;
|
|
1509
|
+
heading2: TypographyFont;
|
|
1510
|
+
heading3: TypographyFont;
|
|
1511
|
+
heading4: TypographyFont;
|
|
1512
|
+
heading5: TypographyFont;
|
|
1513
|
+
heading6: TypographyFont;
|
|
1514
|
+
paragraphIntroLede: TypographyFont;
|
|
1515
|
+
paragraphBody: TypographyFont;
|
|
1516
|
+
paragraphSmall: TypographyFont;
|
|
1517
|
+
paragraphExtraSmall: TypographyFont;
|
|
1518
|
+
paragraphBold: {
|
|
1519
|
+
fontWeight: KaizenCSSProperties["fontWeight"];
|
|
1520
|
+
};
|
|
1521
|
+
buttonPrimary: TypographyFont;
|
|
1522
|
+
buttonSecondary: TypographyFont;
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
type DeepMapObjectLeafs<T, LeafType> = T extends string | number | bigint | boolean | symbol | null | undefined | ((...params: any[]) => any) ? LeafType : T extends Record<any, any> ? {
|
|
1526
|
+
[Key in keyof T]: DeepMapObjectLeafs<T[Key], LeafType>;
|
|
1527
|
+
} : T;
|
|
1528
|
+
/**
|
|
1529
|
+
* Apologies for the complex types.
|
|
1530
|
+
* This type represents the Theme type but with every leaf value in the tree mapped strictly to a string, rather than a number or a more complex type such as a string union.
|
|
1531
|
+
* The reason for this is to have a more accurate type for the generated hierarchy of design tokens which are represented as CSS custom properties, e.g. `var(--color-purple-800)`.
|
|
1532
|
+
*/
|
|
1533
|
+
type CSSVariableTheme = DeepMapObjectLeafs<Theme, string>;
|
|
1534
|
+
|
|
1535
|
+
declare const heartTheme: Theme;
|
|
1604
1536
|
|
|
1605
|
-
declare const
|
|
1537
|
+
declare const defaultTheme: Theme;
|
|
1606
1538
|
|
|
1607
|
-
declare const
|
|
1539
|
+
declare const ThemeContext: Context<Theme>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Wrap your application in this provider using a ThemeManager, to synchronise it with a react context.
|
|
1542
|
+
* This allows child react elements to more easily use theme variables, using the {@link useTheme} hook.
|
|
1543
|
+
*/
|
|
1544
|
+
declare const ThemeProvider: ({ themeManager, ...props }: {
|
|
1545
|
+
themeManager?: ThemeManager<_kaizen_design_tokens.Theme> | undefined;
|
|
1546
|
+
children: React$1.ReactNode;
|
|
1547
|
+
}) => JSX.Element;
|
|
1548
|
+
declare const useTheme: () => Theme;
|
|
1608
1549
|
|
|
1609
|
-
|
|
1550
|
+
type KaizenProviderProps = {
|
|
1551
|
+
children: React$1.ReactNode;
|
|
1552
|
+
themeManager?: ThemeManager;
|
|
1553
|
+
locale?: string;
|
|
1554
|
+
};
|
|
1555
|
+
declare const KaizenProvider: {
|
|
1556
|
+
({ children, themeManager, locale, }: KaizenProviderProps): JSX.Element;
|
|
1557
|
+
displayName: string;
|
|
1558
|
+
};
|
|
1610
1559
|
|
|
1611
|
-
|
|
1560
|
+
type ProgressStepperProps = {
|
|
1561
|
+
stepName: string;
|
|
1562
|
+
steps: [string, ...string[]];
|
|
1563
|
+
isComplete?: boolean;
|
|
1564
|
+
};
|
|
1612
1565
|
|
|
1613
|
-
|
|
1566
|
+
type FooterProps = {
|
|
1567
|
+
/** An action to return to a previous step */
|
|
1568
|
+
previousAction?: JSX.Element;
|
|
1569
|
+
/** An action to progress to the next step or submit the form */
|
|
1570
|
+
nextAction?: JSX.Element;
|
|
1571
|
+
} & ProgressStepperProps & OverrideClassName<Omit<HTMLAttributes<HTMLElement>, "children">>;
|
|
1614
1572
|
|
|
1615
|
-
|
|
1573
|
+
type WorkflowStatus = {
|
|
1574
|
+
/** @default: "statusDraft" */
|
|
1575
|
+
variant?: DefaultTagProps["variant"];
|
|
1576
|
+
content?: string;
|
|
1577
|
+
};
|
|
1578
|
+
type WorkflowTitlesProps = {
|
|
1579
|
+
workflowName: string;
|
|
1580
|
+
stepName: string;
|
|
1581
|
+
status?: WorkflowStatus;
|
|
1582
|
+
} & OverrideClassName<HTMLAttributes<HTMLDivElement>>;
|
|
1616
1583
|
|
|
1617
|
-
|
|
1584
|
+
type WorkflowActionsProps = {
|
|
1585
|
+
/**
|
|
1586
|
+
* Header actions will render in order of the array.
|
|
1587
|
+
*/
|
|
1588
|
+
headerActions?: JSX.Element[];
|
|
1589
|
+
} & OverrideClassName<Omit<HTMLAttributes<HTMLDivElement>, "children">>;
|
|
1618
1590
|
|
|
1619
|
-
|
|
1591
|
+
type HeaderProps = WorkflowTitlesProps & WorkflowActionsProps;
|
|
1620
1592
|
|
|
1621
|
-
|
|
1593
|
+
type WorkflowMainProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
1594
|
+
children: ReactNode;
|
|
1595
|
+
};
|
|
1622
1596
|
|
|
1623
|
-
|
|
1597
|
+
type WorkflowWrapperProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
1598
|
+
children: ReactNode;
|
|
1599
|
+
};
|
|
1624
1600
|
|
|
1625
|
-
|
|
1601
|
+
type WorkflowProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & FooterProps & HeaderProps;
|
|
1602
|
+
/**
|
|
1603
|
+
* @deprecated Use { Workflow } from `@kaizen/components/future`
|
|
1604
|
+
*/
|
|
1605
|
+
declare const Workflow: (({ stepName, steps, isComplete, workflowName, status, headerActions, children, nextAction, previousAction, classNameOverride, ...restProps }: WorkflowProps) => JSX.Element) & {
|
|
1606
|
+
Header: {
|
|
1607
|
+
({ workflowName, stepName, status, headerActions, ...restProps }: HeaderProps): JSX.Element;
|
|
1608
|
+
displayName: string;
|
|
1609
|
+
};
|
|
1610
|
+
Footer: {
|
|
1611
|
+
({ steps, stepName, isComplete, previousAction, nextAction, ...restProps }: FooterProps): JSX.Element;
|
|
1612
|
+
displayName: string;
|
|
1613
|
+
};
|
|
1614
|
+
Main: {
|
|
1615
|
+
({ children, classNameOverride, ...restProps }: WorkflowMainProps): JSX.Element;
|
|
1616
|
+
displayName: string;
|
|
1617
|
+
};
|
|
1618
|
+
ProgressStepper: {
|
|
1619
|
+
({ stepName, steps, isComplete, ...restprops }: ProgressStepperProps): JSX.Element;
|
|
1620
|
+
displayName: string;
|
|
1621
|
+
};
|
|
1622
|
+
Wrapper: {
|
|
1623
|
+
({ children, classNameOverride, ...restProps }: WorkflowWrapperProps): JSX.Element;
|
|
1624
|
+
displayName: string;
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1626
1627
|
|
|
1627
|
-
export { AcademyIcon, ActionOffIcon, ActionOffWhiteIcon, ActionOnIcon, type ActiveFiltersArray, AddIcon, AddLinkIcon, AddWhiteIcon, ArchivedIcon, ArchivedWhiteIcon, ArrowBackwardIcon, ArrowDownIcon, ArrowForwardIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon,
|
|
1628
|
+
export { AcademyIcon, ActionOffIcon, ActionOffWhiteIcon, ActionOnIcon, type ActiveFiltersArray, AddIcon, AddLinkIcon, AddWhiteIcon, ArchivedIcon, ArchivedWhiteIcon, ArrowBackwardIcon, ArrowDownIcon, ArrowForwardIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BlankIcon, BoldIcon, BookmarkOffIcon, BookmarkOnIcon, BranchingIcon, BullettedListIcon, Button, type ButtonBadgeProps, type ButtonFormAttributes, type ButtonProps, type ButtonRef, type ButtonType, type CSSVariableTheme, CaMonogramIcon, CameraIcon, CautionIcon, CautionWhiteIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClearButton, type ClearButtonProps, ClearIcon, ClearWhiteIcon, CloseIcon, ClosedIcon, ClosedWhiteIcon, CommentAddIcon, CommentAddWhiteIcon, CommentBankIcon, CommentDisabledIcon, CommentDisabledWhiteIcon, CommentIcon, CommentWhiteIcon, CommunicationsIcon, CompetencyLibraryIcon, ConfigureIcon, ConnectIcon, ConnectLineIcon, type CustomButtonProps, CustomIcon, DashboardIcon, DateEndIcon, DateEndWhiteIcon, type DateRangeFieldValidationMessage, DateRangeIcon, DateRangeWhiteIcon, DateStartIcon, DateStartWhiteIcon, type DateValidationResponse, DecreaseIndentIcon, type DeepMapObjectLeafs, DeltaBareIcon, DeltaBareWhiteIcon, DeltaFlatIcon, DeltaIcon, DeltaNegativeIcon, DeltaPositiveIcon, DeltaWhiteIcon, DemographicsIcon, DepartmentIcon, DraftIcon, DraftWhiteIcon, DragIcon, DuplicateIcon, EditIcon, EffectivenessIcon, EllipsisIcon, EmailIcon, EmptyIcon, EmptyWhiteIcon, EndIcon, EngagementIcon, EngagementWhiteIcon, EqualIcon, EqualWhiteIcon, ErrorPage, type ErrorPageProps, ExclamationIcon, ExclamationOctagonIcon, ExclamationOctagonWhiteIcon, ExclamationWhiteIcon, ExperienceIcon, ExportIcon, ExportWhiteIcon, ExternalLinkIcon, FaceDissatisfiedIcon, FaceDissatisfiedWhiteIcon, FaceNeutralIcon, FaceNeutralWhiteIcon, FaceSatisfiedIcon, FaceSatisfiedWhiteIcon, FaceVeryDissatisfiedIcon, FaceVeryDissatisfiedWhiteIcon, FaceVerySatisfiedIcon, FaceVerySatisfiedWhiteIcon, FactorsIcon, FavoriteOffIcon, FavoriteOnIcon, FeedbackClassifyIcon, FeedbackClassifyWhiteIcon, FeedbackCompletedIcon, FeedbackCompletedWhiteIcon, FeedbackReportIcon, FeedbackReportWhiteIcon, FeedbackReviewIcon, FeedbackReviewWhiteIcon, FeedbackShareIcon, FeedbackShareWhiteIcon, FileIcon, FileWhiteIcon, Filter, type FilterAttributes, FilterBar, type FilterBarContextValue, type FilterBarProps, FilterBarProvider, type FilterBarProviderProps, type FilterBarState, type FilterBarStateFilters, FilterButton, type FilterButtonProps, FilterButtonRemovable, type FilterButtonRemovableProps, type FilterButtonRemovableRefs, FilterContents, type FilterContentsProps, FilterDatePicker, FilterDatePickerField, type FilterDatePickerFieldProps, type FilterDatePickerProps, FilterDateRangePicker, type FilterDateRangePickerProps, type FilterDateSupportedLocales, FilterIcon, type FilterIsUsableWhen, FilterMultiSelect, type FilterMultiSelectProps, type FilterProps, FilterSelect, type FilterSelectProps, type FilterState, type FilterStateEditableAttributes, type FilterTriggerButtonProps, type FilterTriggerRef, type Filters, type FiltersValues, FlagOffIcon, FlagOffWhiteIcon, FlagOnIcon, FullIcon, type GenericProps, type GetDateValidationHandlerArgs, GridViewIcon, GuidanceIcon, HamburgerIcon, HeatmapIcon, HeatmapWhiteIcon, HierarchyIcon, HomeIcon, ImportIcon, ImportWhiteIcon, IncreaseIndentIcon, IndicatorActiveIcon, IndicatorInactiveIcon, InformationIcon, InformationWhiteIcon, InputSearch, type InputSearchProps, InsightIcon, InsightsIcon, type InternalFilterState, InvisibleIcon, ItalicsIcon, type ItemType, KaizenProvider, type KaizenProviderProps, KebabIcon, KioskIcon, KioskWhiteIcon, LaunchIcon, LaunchWhiteIcon, LeaderboardIcon, type ListBoxItems, type ListBoxProps, type ListBoxSectionProps$1 as ListBoxSectionProps, ListViewIcon, LiveIcon, type LoadMoreButtonProps, LockIcon, LockWhiteIcon, LogOutIcon, type MappedFilters, MaximizeIcon, MeatballsIcon, type MenuFooterProps, type MenuLoadingSkeletonProps, MenuTriggerConsumer, MenuTriggerProvider, type MenuTriggerProviderContextType, type MenuTriggerProviderProps, MinimizeIcon, MinusIcon, type MultiSelectItem, type MultiSelectOptionProps, NavigatorIcon, type NoResultsProps, NotificationIcon, NumberedListIcon, NumberedListRtlIcon, OpenIcon, OpenWhiteIcon, OrganizationIcon, ParticipationIcon, ParticipationWhiteIcon, PauseIcon, PauseWhiteIcon, PercentageIcon, PermissionsIcon, PersonIcon, PhotoUploadIcon, PowerIcon, PrintIcon, PrintWhiteIcon, ProcessManagerIcon, PromotionIcon, PromotionWhiteIcon, QuestionIcon, QuestionWhiteIcon, QuestionsIcon, RedoIcon, RefreshIcon, type RemovableFilterTriggerProps, RemoveLinkIcon, type RenderProps, RepeatsIcon, ReportIcon, ReportSharingIcon, RestoreIcon, SaveIcon, SearchIcon, type SearchInputProps, SearchWhiteIcon, SecurityTipIcon, type SelectItem, type SelectItemNode, type SelectOption, type SelectOptionGroup, type SelectOptionGroupNode, type SelectOptionNode, SelectionConsumer, SelectionProvider, type SelectionProviderContextType, type SelectionProviderProps, SendIcon, SendRtlIcon, SettingsIcon, SettingsWhiteIcon, ShareIcon, SkipIcon, SkipWhiteIcon, SortAscendingIcon, SortDescendingIcon, type SourceFiltersState, SpinnerIcon, StarOffIcon, StarOnIcon, StartIcon, SubtractIcon, SubtractWhiteIcon, SuccessIcon, SuccessWhiteIcon, SupportIcon, SurveysIcon, SurveysWhiteIcon, SyncIcon, TagIcon, TasksIcon, TasksWhiteIcon, TemplateIcon, TemplateWhiteIcon, TextAnalyticsIcon, TextAnalyticsWhiteIcon, type Theme, ThemeContext, type ThemeKey, ThemeManager, ThemeProvider, ThumbsDownIcon, ThumbsUpIcon, TimeIcon, TimeWhiteIcon, TranslationIcon, TrashIcon, type TypographyFont, UnattributedIcon, UnattributedWhiteIcon, UnderlineIcon, UndoIcon, type UseDateValidationArgs, type UseDateValidationValue, UserAddIcon, UserDeleteIcon, UserExitIcon, UserIcon, UserSelectIcon, UserSettingsIcon, UserUpdateIcon, UsersIcon, type ValidateDateResponse, type ValidationMessage, type ValueType, VisibleIcon, Workflow, type WorkflowProps, type WorkingProps, type WorkingUndefinedProps, WritingIcon, ZoomInIcon, ZoomOutIcon, defaultTheme, getDateValidationHandler, getSelectedOptionKeys, getSelectedOptionLabels, getTruncatedLabels, heartTheme, useDateValidation, useFilterBarContext, useMenuTriggerContext, useSelectionContext, useTheme, validateDate };
|