@utilitywarehouse/hearth-react-native 0.4.0 → 0.4.2
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +16 -0
- package/build/components/Checkbox/CheckboxTextContent.d.ts +1 -1
- package/build/components/Checkbox/CheckboxTextContent.js +9 -2
- package/build/components/CurrencyInput/CurrencyInput.d.ts +1 -1
- package/build/components/CurrencyInput/CurrencyInput.js +3 -3
- package/build/components/CurrencyInput/CurrencyInput.props.d.ts +2 -2
- package/build/components/Radio/RadioTextContent.d.ts +1 -1
- package/build/components/Radio/RadioTextContent.js +9 -2
- package/build/core/themes.d.ts +482 -0
- package/build/core/themes.js +31 -0
- package/build/legacyTokens/common/brand.d.ts +16 -0
- package/build/legacyTokens/common/brand.js +17 -0
- package/build/legacyTokens/common/index.d.ts +8 -0
- package/build/legacyTokens/common/index.js +9 -0
- package/build/legacyTokens/common/service.d.ts +20 -0
- package/build/legacyTokens/common/service.js +21 -0
- package/build/legacyTokens/dark/apple.d.ts +28 -0
- package/build/legacyTokens/dark/apple.js +29 -0
- package/build/legacyTokens/dark/cyan.d.ts +48 -0
- package/build/legacyTokens/dark/cyan.js +49 -0
- package/build/legacyTokens/dark/gold.d.ts +44 -0
- package/build/legacyTokens/dark/gold.js +45 -0
- package/build/legacyTokens/dark/grape.d.ts +28 -0
- package/build/legacyTokens/dark/grape.js +29 -0
- package/build/legacyTokens/dark/green.d.ts +40 -0
- package/build/legacyTokens/dark/green.js +41 -0
- package/build/legacyTokens/dark/grey.d.ts +60 -0
- package/build/legacyTokens/dark/grey.js +61 -0
- package/build/legacyTokens/dark/index.d.ts +40 -0
- package/build/legacyTokens/dark/index.js +41 -0
- package/build/legacyTokens/dark/pink.d.ts +28 -0
- package/build/legacyTokens/dark/pink.js +29 -0
- package/build/legacyTokens/dark/purple.d.ts +48 -0
- package/build/legacyTokens/dark/purple.js +49 -0
- package/build/legacyTokens/dark/red.d.ts +40 -0
- package/build/legacyTokens/dark/red.js +41 -0
- package/build/legacyTokens/dark/rose.d.ts +28 -0
- package/build/legacyTokens/dark/rose.js +29 -0
- package/build/legacyTokens/index.d.ts +12 -0
- package/build/legacyTokens/index.js +13 -0
- package/build/legacyTokens/light/apple.d.ts +28 -0
- package/build/legacyTokens/light/apple.js +29 -0
- package/build/legacyTokens/light/cyan.d.ts +48 -0
- package/build/legacyTokens/light/cyan.js +49 -0
- package/build/legacyTokens/light/gold.d.ts +44 -0
- package/build/legacyTokens/light/gold.js +45 -0
- package/build/legacyTokens/light/grape.d.ts +28 -0
- package/build/legacyTokens/light/grape.js +29 -0
- package/build/legacyTokens/light/green.d.ts +40 -0
- package/build/legacyTokens/light/green.js +41 -0
- package/build/legacyTokens/light/grey.d.ts +60 -0
- package/build/legacyTokens/light/grey.js +61 -0
- package/build/legacyTokens/light/index.d.ts +40 -0
- package/build/legacyTokens/light/index.js +41 -0
- package/build/legacyTokens/light/pink.d.ts +28 -0
- package/build/legacyTokens/light/pink.js +29 -0
- package/build/legacyTokens/light/purple.d.ts +48 -0
- package/build/legacyTokens/light/purple.js +49 -0
- package/build/legacyTokens/light/red.d.ts +40 -0
- package/build/legacyTokens/light/red.js +41 -0
- package/build/legacyTokens/light/rose.d.ts +32 -0
- package/build/legacyTokens/light/rose.js +33 -0
- package/build/utils/getFlattenedColorValue.js +2 -19
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/styleUtils.d.ts +0 -4
- package/build/utils/styleUtils.js +0 -50
- package/build/utils/themeValueHelpers.d.ts +17 -0
- package/build/utils/themeValueHelpers.js +54 -0
- package/docs/getting-started.mdx +13 -5
- package/docs/introduction.mdx +50 -5
- package/package.json +4 -4
- package/src/components/Checkbox/CheckboxTextContent.tsx +11 -3
- package/src/components/CurrencyInput/CurrencyInput.docs.mdx +4 -4
- package/src/components/CurrencyInput/CurrencyInput.props.ts +2 -2
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +17 -15
- package/src/components/CurrencyInput/CurrencyInput.tsx +3 -3
- package/src/components/Radio/RadioTextContent.tsx +11 -3
- package/src/core/themes.ts +31 -0
- package/src/legacyTokens/common/brand.ts +18 -0
- package/src/legacyTokens/common/index.ts +10 -0
- package/src/legacyTokens/common/service.ts +22 -0
- package/src/legacyTokens/dark/apple.ts +30 -0
- package/src/legacyTokens/dark/cyan.ts +50 -0
- package/src/legacyTokens/dark/gold.ts +46 -0
- package/src/legacyTokens/dark/grape.ts +30 -0
- package/src/legacyTokens/dark/green.ts +42 -0
- package/src/legacyTokens/dark/grey.ts +62 -0
- package/src/legacyTokens/dark/index.ts +42 -0
- package/src/legacyTokens/dark/pink.ts +30 -0
- package/src/legacyTokens/dark/purple.ts +50 -0
- package/src/legacyTokens/dark/red.ts +42 -0
- package/src/legacyTokens/dark/rose.ts +30 -0
- package/src/legacyTokens/index.ts +14 -0
- package/src/legacyTokens/light/apple.ts +30 -0
- package/src/legacyTokens/light/cyan.ts +50 -0
- package/src/legacyTokens/light/gold.ts +46 -0
- package/src/legacyTokens/light/grape.ts +30 -0
- package/src/legacyTokens/light/green.ts +42 -0
- package/src/legacyTokens/light/grey.ts +62 -0
- package/src/legacyTokens/light/index.ts +42 -0
- package/src/legacyTokens/light/pink.ts +30 -0
- package/src/legacyTokens/light/purple.ts +50 -0
- package/src/legacyTokens/light/red.ts +42 -0
- package/src/legacyTokens/light/rose.ts +34 -0
- package/src/utils/getFlattenedColorValue.ts +2 -21
- package/src/utils/getStyleValue.ts +0 -3
- package/src/utils/index.ts +1 -0
- package/src/utils/styleUtils.ts +0 -57
- package/src/utils/themeValueHelpers.ts +60 -0
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @utilitywarehouse/hearth-react-native@0.4.
|
|
2
|
+
> @utilitywarehouse/hearth-react-native@0.4.2 lint /home/runner/work/hearth/hearth/packages/react-native
|
|
3
3
|
> TIMING=1 eslint --max-warnings 0
|
|
4
4
|
|
|
5
5
|
Rule | Time (ms) | Relative
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @utilitywarehouse/hearth-react-native
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#570](https://github.com/utilitywarehouse/hearth/pull/570) [`364e1ac`](https://github.com/utilitywarehouse/hearth/commit/364e1ac1ee6c83327b0614d90bf280e283144ae6) Thanks [@dorota-uw](https://github.com/dorota-uw)! - Switched the logic for enabling/disabling comma separator in CurrencyInput
|
|
8
|
+
|
|
9
|
+
- [#573](https://github.com/utilitywarehouse/hearth/pull/573) [`2c28614`](https://github.com/utilitywarehouse/hearth/commit/2c28614b5a9335dda15895c90e08774574d82d85) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Radio` and `Checkbox` helper overflow issue
|
|
10
|
+
|
|
11
|
+
- [#573](https://github.com/utilitywarehouse/hearth/pull/573) [`2c28614`](https://github.com/utilitywarehouse/hearth/commit/2c28614b5a9335dda15895c90e08774574d82d85) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes semantic text colour issue
|
|
12
|
+
|
|
13
|
+
## 0.4.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#544](https://github.com/utilitywarehouse/hearth/pull/544) [`98e6423`](https://github.com/utilitywarehouse/hearth/commit/98e642347a0aca8c23babb15ea6b5c70b6adca0f) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds legacy colour palette for backwards compatibility
|
|
18
|
+
|
|
3
19
|
## 0.4.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import FlexProps from '../Flex/Flex.props';
|
|
2
2
|
declare const CheckboxTextContent: {
|
|
3
|
-
({ children, ...props }: FlexProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ children, style, ...props }: FlexProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default CheckboxTextContent;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { StyleSheet } from 'react-native-unistyles';
|
|
2
3
|
import { Flex } from '../Flex';
|
|
3
|
-
const CheckboxTextContent = ({ children, ...props }) => {
|
|
4
|
-
return (_jsx(Flex, { direction: "column", space: "none", ...props, children: children }));
|
|
4
|
+
const CheckboxTextContent = ({ children, style, ...props }) => {
|
|
5
|
+
return (_jsx(Flex, { style: [styles.content, style], direction: "column", space: "none", ...props, children: children }));
|
|
5
6
|
};
|
|
7
|
+
const styles = StyleSheet.create({
|
|
8
|
+
content: {
|
|
9
|
+
flex: 1,
|
|
10
|
+
flexShrink: 1,
|
|
11
|
+
},
|
|
12
|
+
});
|
|
6
13
|
CheckboxTextContent.displayName = 'CheckboxTextContent';
|
|
7
14
|
export default CheckboxTextContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type CurrencyInputProps from './CurrencyInput.props';
|
|
2
2
|
declare const CurrencyInput: {
|
|
3
|
-
({ validationStatus, disabled, focused, readonly, placeholder, inBottomSheet, required,
|
|
3
|
+
({ validationStatus, disabled, focused, readonly, placeholder, inBottomSheet, required, disableGroupSeparator, value, onChangeText, ...rest }: CurrencyInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default CurrencyInput;
|
|
@@ -5,14 +5,14 @@ import { formatThousands } from '../../utils';
|
|
|
5
5
|
import { DetailText } from '../DetailText';
|
|
6
6
|
import { useFormFieldContext } from '../FormField';
|
|
7
7
|
import { Input, InputField, InputSlot } from '../Input';
|
|
8
|
-
const CurrencyInput = ({ validationStatus = 'initial', disabled, focused, readonly, placeholder, inBottomSheet = false, required,
|
|
8
|
+
const CurrencyInput = ({ validationStatus = 'initial', disabled, focused, readonly, placeholder, inBottomSheet = false, required, disableGroupSeparator = false, value, onChangeText, ...rest }) => {
|
|
9
9
|
const formFieldContext = useFormFieldContext();
|
|
10
10
|
const { disabled: formFieldDisabled } = formFieldContext;
|
|
11
11
|
const validationStatusFromContext = formFieldContext?.validationStatus ?? validationStatus;
|
|
12
12
|
const defaultFormat = '0.00';
|
|
13
13
|
const getPlaceholder = placeholder ?? defaultFormat;
|
|
14
14
|
const handleChangeText = (text) => {
|
|
15
|
-
if (
|
|
15
|
+
if (!disableGroupSeparator) {
|
|
16
16
|
const formatted = formatThousands(text);
|
|
17
17
|
onChangeText?.(formatted);
|
|
18
18
|
}
|
|
@@ -20,7 +20,7 @@ const CurrencyInput = ({ validationStatus = 'initial', disabled, focused, readon
|
|
|
20
20
|
onChangeText?.(text);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
-
const displayValue =
|
|
23
|
+
const displayValue = !disableGroupSeparator && typeof value === 'string' ? formatThousands(value) : value;
|
|
24
24
|
return (_jsxs(Input, { validationStatus: validationStatusFromContext, disabled: formFieldDisabled ?? disabled, readonly: readonly, focused: focused, style: styles.wrap, children: [_jsx(InputSlot, { children: _jsx(DetailText, { size: "4xl", style: styles.text, accessible: false, children: "\u00A3" }) }), _jsx(InputField, { inputMode: "decimal", inBottomSheet: inBottomSheet, accessibilityHint: 'Enter the amount in pounds and pence, for example "10.99"', ...rest, placeholder: getPlaceholder, keyboardType: "decimal-pad", style: styles.input, value: displayValue, onChangeText: handleChangeText })] }));
|
|
25
25
|
};
|
|
26
26
|
CurrencyInput.displayName = 'CurrencyInput';
|
|
@@ -7,8 +7,8 @@ export interface CurrencyInputBaseProps {
|
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
inBottomSheet?: boolean;
|
|
9
9
|
required?: boolean;
|
|
10
|
-
/** When
|
|
11
|
-
|
|
10
|
+
/** When not specifically disabled, the numeric value is automatically formatted with thousand separators (e.g. 1234 -> 1,234). */
|
|
11
|
+
disableGroupSeparator?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export type CurrencyInputProps = CurrencyInputBaseProps & Omit<TextInputProps, 'children'> & ViewProps;
|
|
14
14
|
export default CurrencyInputProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import FlexProps from '../Flex/Flex.props';
|
|
2
2
|
declare const RadioTextContent: {
|
|
3
|
-
({ children, ...props }: FlexProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ children, style, ...props }: FlexProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default RadioTextContent;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { StyleSheet } from 'react-native-unistyles';
|
|
2
3
|
import { Flex } from '../Flex';
|
|
3
|
-
const RadioTextContent = ({ children, ...props }) => {
|
|
4
|
-
return (_jsx(Flex, { direction: "column", space: "none", ...props, children: children }));
|
|
4
|
+
const RadioTextContent = ({ children, style, ...props }) => {
|
|
5
|
+
return (_jsx(Flex, { direction: "column", space: "none", style: [styles.content, style], ...props, children: children }));
|
|
5
6
|
};
|
|
7
|
+
const styles = StyleSheet.create({
|
|
8
|
+
content: {
|
|
9
|
+
flex: 1,
|
|
10
|
+
flexShrink: 1,
|
|
11
|
+
},
|
|
12
|
+
});
|
|
6
13
|
RadioTextContent.displayName = 'RadioTextContent';
|
|
7
14
|
export default RadioTextContent;
|
package/build/core/themes.d.ts
CHANGED
|
@@ -771,6 +771,121 @@ export declare const lightTheme: {
|
|
|
771
771
|
readonly colorMode: "light";
|
|
772
772
|
readonly isLight: true;
|
|
773
773
|
readonly isDark: false;
|
|
774
|
+
/**
|
|
775
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility
|
|
776
|
+
*/
|
|
777
|
+
readonly colors: {
|
|
778
|
+
readonly white: "#ffffff";
|
|
779
|
+
readonly black: "#000000";
|
|
780
|
+
readonly brandMidnight: "#1e0a46";
|
|
781
|
+
readonly brandWhite: "#ffffff";
|
|
782
|
+
readonly brandPink: "#f495f9";
|
|
783
|
+
readonly brandPrimaryPurple: "#550091";
|
|
784
|
+
readonly serviceGas: "#75A7FD";
|
|
785
|
+
readonly serviceElectricity: "#62DD99";
|
|
786
|
+
readonly serviceInsurance: "#F25192";
|
|
787
|
+
readonly serviceMobile: "#FFD76F";
|
|
788
|
+
readonly serviceLandline: "#A66DE8";
|
|
789
|
+
readonly red50: "#ffebeb";
|
|
790
|
+
readonly red100: "#ffd8d9";
|
|
791
|
+
readonly red200: "#ffb3b4";
|
|
792
|
+
readonly red300: "#f58e92";
|
|
793
|
+
readonly red400: "#ec515d";
|
|
794
|
+
readonly red500: "#df2a38";
|
|
795
|
+
readonly red600: "#c31d2a";
|
|
796
|
+
readonly red700: "#891e27";
|
|
797
|
+
readonly red800: "#611a20";
|
|
798
|
+
readonly red900: "#3b1216";
|
|
799
|
+
readonly pink50: "#fde6fb";
|
|
800
|
+
readonly pink100: "#fccff9";
|
|
801
|
+
readonly pink200: "#f9bdfa";
|
|
802
|
+
readonly pink300: "#f495f9";
|
|
803
|
+
readonly pink500: "#c933d1";
|
|
804
|
+
readonly pink700: "#8f248f";
|
|
805
|
+
readonly pink900: "#48104b";
|
|
806
|
+
readonly grey25: "#fafafa";
|
|
807
|
+
readonly grey50: "#f5f5f5";
|
|
808
|
+
readonly grey75: "#f0f0f0";
|
|
809
|
+
readonly grey100: "#e3e3e3";
|
|
810
|
+
readonly grey150: "#d8d8d8";
|
|
811
|
+
readonly grey175: "#cccccc";
|
|
812
|
+
readonly grey200: "#c1c1c1";
|
|
813
|
+
readonly grey300: "#b8b8b8";
|
|
814
|
+
readonly grey400: "#a0a0a0";
|
|
815
|
+
readonly grey500: "#888888";
|
|
816
|
+
readonly grey600: "#707070";
|
|
817
|
+
readonly grey700: "#585858";
|
|
818
|
+
readonly grey800: "#414141";
|
|
819
|
+
readonly grey900: "#242424";
|
|
820
|
+
readonly grey1000: "#121212";
|
|
821
|
+
readonly apple50: "#e5f9ed";
|
|
822
|
+
readonly apple200: "#c1f0d3";
|
|
823
|
+
readonly apple300: "#96e6b7";
|
|
824
|
+
readonly apple400: "#62dd99";
|
|
825
|
+
readonly apple700: "#10b259";
|
|
826
|
+
readonly apple800: "#087a3c";
|
|
827
|
+
readonly apple900: "#03361b";
|
|
828
|
+
readonly cyan50: "#ecf4fe";
|
|
829
|
+
readonly cyan75: "#e5f1ff";
|
|
830
|
+
readonly cyan100: "#cce0ff";
|
|
831
|
+
readonly cyan200: "#a6c8fc";
|
|
832
|
+
readonly cyan300: "#8fbaff";
|
|
833
|
+
readonly cyan400: "#75a7fd";
|
|
834
|
+
readonly cyan500: "#4789fa";
|
|
835
|
+
readonly cyan600: "#0550d1";
|
|
836
|
+
readonly cyan700: "#003a9e";
|
|
837
|
+
readonly cyan800: "#002b75";
|
|
838
|
+
readonly cyan900: "#001e52";
|
|
839
|
+
readonly cyan1000: "#001333";
|
|
840
|
+
readonly gold50: "#fef9e6";
|
|
841
|
+
readonly gold75: "#fef6dc";
|
|
842
|
+
readonly gold100: "#fff1d1";
|
|
843
|
+
readonly gold200: "#ffe6a8";
|
|
844
|
+
readonly gold300: "#ffd76f";
|
|
845
|
+
readonly gold400: "#f7b51d";
|
|
846
|
+
readonly gold500: "#c77800";
|
|
847
|
+
readonly gold600: "#ac6406";
|
|
848
|
+
readonly gold700: "#894e16";
|
|
849
|
+
readonly gold800: "#6e3311";
|
|
850
|
+
readonly gold900: "#52210c";
|
|
851
|
+
readonly green50: "#eefcf3";
|
|
852
|
+
readonly green100: "#e0f5e8";
|
|
853
|
+
readonly green200: "#bdead0";
|
|
854
|
+
readonly green300: "#a3e1bf";
|
|
855
|
+
readonly green400: "#2fb66d";
|
|
856
|
+
readonly green500: "#1c874d";
|
|
857
|
+
readonly green600: "#297f50";
|
|
858
|
+
readonly green700: "#21693f";
|
|
859
|
+
readonly green800: "#0a522c";
|
|
860
|
+
readonly green900: "#003d1e";
|
|
861
|
+
readonly grape50: "#f1e6fb";
|
|
862
|
+
readonly grape100: "#e4d3f8";
|
|
863
|
+
readonly grape200: "#d4baf3";
|
|
864
|
+
readonly grape300: "#bc92ed";
|
|
865
|
+
readonly grape400: "#a66de8";
|
|
866
|
+
readonly grape500: "#7b39c6";
|
|
867
|
+
readonly grape800: "#2c094e";
|
|
868
|
+
readonly rose50: "#fde2ec";
|
|
869
|
+
readonly rose200: "#f9b6d0";
|
|
870
|
+
readonly rose300: "#f586b1";
|
|
871
|
+
readonly rose400: "#f25192";
|
|
872
|
+
readonly rose500: "#ed176c";
|
|
873
|
+
readonly rose700: "#c8185c";
|
|
874
|
+
readonly rose800: "#9f1446";
|
|
875
|
+
readonly rose900: "#4a1125";
|
|
876
|
+
readonly purple50: "#f8f5fe";
|
|
877
|
+
readonly purple75: "#f1ebfe";
|
|
878
|
+
readonly purple100: "#e5d7fe";
|
|
879
|
+
readonly purple200: "#cfadff";
|
|
880
|
+
readonly purple300: "#c08dfc";
|
|
881
|
+
readonly purple400: "#b46ef7";
|
|
882
|
+
readonly purple500: "#9d38f0";
|
|
883
|
+
readonly purple600: "#8f23e7";
|
|
884
|
+
readonly purple700: "#7415c1";
|
|
885
|
+
readonly purple800: "#550091";
|
|
886
|
+
readonly purple900: "#48007a";
|
|
887
|
+
readonly purple1000: "#35005c";
|
|
888
|
+
};
|
|
774
889
|
readonly color: {
|
|
775
890
|
readonly white: "#ffffff";
|
|
776
891
|
readonly black: "#000000";
|
|
@@ -2006,8 +2121,134 @@ export declare const darkTheme: {
|
|
|
2006
2121
|
readonly colorMode: "dark";
|
|
2007
2122
|
readonly isLight: false;
|
|
2008
2123
|
readonly isDark: true;
|
|
2124
|
+
/**
|
|
2125
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
2126
|
+
*/
|
|
2127
|
+
readonly colors: {
|
|
2128
|
+
/**
|
|
2129
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
2130
|
+
*/
|
|
2131
|
+
readonly white: "#ffffff";
|
|
2132
|
+
/**
|
|
2133
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
2134
|
+
*/
|
|
2135
|
+
readonly black: "#000000";
|
|
2136
|
+
readonly brandMidnight: "#1e0a46";
|
|
2137
|
+
readonly brandWhite: "#ffffff";
|
|
2138
|
+
readonly brandPink: "#f495f9";
|
|
2139
|
+
readonly brandPrimaryPurple: "#550091";
|
|
2140
|
+
readonly serviceGas: "#75A7FD";
|
|
2141
|
+
readonly serviceElectricity: "#62DD99";
|
|
2142
|
+
readonly serviceInsurance: "#F25192";
|
|
2143
|
+
readonly serviceMobile: "#FFD76F";
|
|
2144
|
+
readonly serviceLandline: "#A66DE8";
|
|
2145
|
+
readonly gold50: "#2e1103";
|
|
2146
|
+
readonly gold75: "#411907";
|
|
2147
|
+
readonly gold100: "#52210c";
|
|
2148
|
+
readonly gold200: "#743711";
|
|
2149
|
+
readonly gold300: "#925317";
|
|
2150
|
+
readonly gold400: "#cd7d04";
|
|
2151
|
+
readonly gold500: "#f7b51d";
|
|
2152
|
+
readonly gold600: "#fbc64b";
|
|
2153
|
+
readonly gold700: "#ffd76f";
|
|
2154
|
+
readonly gold800: "#ffe6a8";
|
|
2155
|
+
readonly gold900: "#fff6e0";
|
|
2156
|
+
readonly pink50: "#2c0a2e";
|
|
2157
|
+
readonly pink100: "#48104b";
|
|
2158
|
+
readonly pink300: "#8f248f";
|
|
2159
|
+
readonly pink500: "#c933d1";
|
|
2160
|
+
readonly pink700: "#f495f9";
|
|
2161
|
+
readonly pink900: "#fccff9";
|
|
2162
|
+
readonly pink950: "#fde6fb";
|
|
2163
|
+
readonly grey25: "#050505";
|
|
2164
|
+
readonly grey50: "#0b0b0b";
|
|
2165
|
+
readonly grey75: "#121212";
|
|
2166
|
+
readonly grey100: "#1d1d1d";
|
|
2167
|
+
readonly grey150: "#242424";
|
|
2168
|
+
readonly grey175: "#2c2c2c";
|
|
2169
|
+
readonly grey200: "#323232";
|
|
2170
|
+
readonly grey300: "#414141";
|
|
2171
|
+
readonly grey400: "#585858";
|
|
2172
|
+
readonly grey500: "#707070";
|
|
2173
|
+
readonly grey600: "#b8b8b8";
|
|
2174
|
+
readonly grey700: "#c1c1c1";
|
|
2175
|
+
readonly grey800: "#e3e3e3";
|
|
2176
|
+
readonly grey900: "#f0f0f0";
|
|
2177
|
+
readonly grey1000: "#fafafa";
|
|
2178
|
+
readonly cyan50: "#010a19";
|
|
2179
|
+
readonly cyan75: "#001333";
|
|
2180
|
+
readonly cyan100: "#011537";
|
|
2181
|
+
readonly cyan200: "#00225c";
|
|
2182
|
+
readonly cyan300: "#002d80";
|
|
2183
|
+
readonly cyan400: "#013992";
|
|
2184
|
+
readonly cyan500: "#0658e5";
|
|
2185
|
+
readonly cyan600: "#5692fb";
|
|
2186
|
+
readonly cyan700: "#75a7fd";
|
|
2187
|
+
readonly cyan800: "#a6c8fc";
|
|
2188
|
+
readonly cyan900: "#dbeaff";
|
|
2189
|
+
readonly cyan1000: "#ecf4fe";
|
|
2190
|
+
readonly red50: "#3b1216";
|
|
2191
|
+
readonly red100: "#581a20";
|
|
2192
|
+
readonly red200: "#721d25";
|
|
2193
|
+
readonly red300: "#891e27";
|
|
2194
|
+
readonly red400: "#bd1f2c";
|
|
2195
|
+
readonly red500: "#f24550";
|
|
2196
|
+
readonly red600: "#f2636a";
|
|
2197
|
+
readonly red700: "#f58e92";
|
|
2198
|
+
readonly red800: "#f9aeb3";
|
|
2199
|
+
readonly red900: "#ffebeb";
|
|
2200
|
+
readonly green50: "#133922";
|
|
2201
|
+
readonly green100: "#164429";
|
|
2202
|
+
readonly green200: "#1b5533";
|
|
2203
|
+
readonly green300: "#21693f";
|
|
2204
|
+
readonly green400: "#34a868";
|
|
2205
|
+
readonly green500: "#55ce8b";
|
|
2206
|
+
readonly green600: "#76d5a1";
|
|
2207
|
+
readonly green700: "#90dab2";
|
|
2208
|
+
readonly green800: "#bae8cf";
|
|
2209
|
+
readonly green900: "#e3faeb";
|
|
2210
|
+
readonly apple100: "#03361b";
|
|
2211
|
+
readonly apple200: "#087a3c";
|
|
2212
|
+
readonly apple300: "#10b259";
|
|
2213
|
+
readonly apple600: "#62dd99";
|
|
2214
|
+
readonly apple700: "#96e6b7";
|
|
2215
|
+
readonly apple800: "#c1f0d3";
|
|
2216
|
+
readonly apple950: "#e5f9ed";
|
|
2217
|
+
readonly grape100: "#240444";
|
|
2218
|
+
readonly grape200: "#2d025e";
|
|
2219
|
+
readonly grape500: "#7b39c6";
|
|
2220
|
+
readonly grape600: "#a66de8";
|
|
2221
|
+
readonly grape700: "#bc92ed";
|
|
2222
|
+
readonly grape800: "#d4baf3";
|
|
2223
|
+
readonly grape950: "#f1e6fb";
|
|
2224
|
+
readonly rose100: "#45081e";
|
|
2225
|
+
readonly rose200: "#710e32";
|
|
2226
|
+
readonly rose500: "#e34584";
|
|
2227
|
+
readonly rose600: "#f25192";
|
|
2228
|
+
readonly rose700: "#f586b1";
|
|
2229
|
+
readonly rose800: "#f9b6d0";
|
|
2230
|
+
readonly rose950: "#fde2ec";
|
|
2231
|
+
readonly purple50: "#2f0052";
|
|
2232
|
+
readonly purple75: "#35005c";
|
|
2233
|
+
readonly purple100: "#48007a";
|
|
2234
|
+
readonly purple200: "#550091";
|
|
2235
|
+
readonly purple300: "#7415c1";
|
|
2236
|
+
readonly purple400: "#8f23e7";
|
|
2237
|
+
readonly purple500: "#9d38f0";
|
|
2238
|
+
readonly purple600: "#b46ef7";
|
|
2239
|
+
readonly purple700: "#c08dfc";
|
|
2240
|
+
readonly purple800: "#cfadff";
|
|
2241
|
+
readonly purple900: "#e5d7fe";
|
|
2242
|
+
readonly purple1000: "#f1ebfe";
|
|
2243
|
+
};
|
|
2009
2244
|
readonly color: {
|
|
2245
|
+
/**
|
|
2246
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
2247
|
+
*/
|
|
2010
2248
|
readonly white: "#ffffff";
|
|
2249
|
+
/**
|
|
2250
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
2251
|
+
*/
|
|
2011
2252
|
readonly black: "#000000";
|
|
2012
2253
|
readonly background: {
|
|
2013
2254
|
readonly brand: "#7a42c8";
|
|
@@ -3242,6 +3483,121 @@ export declare const themes: {
|
|
|
3242
3483
|
readonly colorMode: "light";
|
|
3243
3484
|
readonly isLight: true;
|
|
3244
3485
|
readonly isDark: false;
|
|
3486
|
+
/**
|
|
3487
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility
|
|
3488
|
+
*/
|
|
3489
|
+
readonly colors: {
|
|
3490
|
+
readonly white: "#ffffff";
|
|
3491
|
+
readonly black: "#000000";
|
|
3492
|
+
readonly brandMidnight: "#1e0a46";
|
|
3493
|
+
readonly brandWhite: "#ffffff";
|
|
3494
|
+
readonly brandPink: "#f495f9";
|
|
3495
|
+
readonly brandPrimaryPurple: "#550091";
|
|
3496
|
+
readonly serviceGas: "#75A7FD";
|
|
3497
|
+
readonly serviceElectricity: "#62DD99";
|
|
3498
|
+
readonly serviceInsurance: "#F25192";
|
|
3499
|
+
readonly serviceMobile: "#FFD76F";
|
|
3500
|
+
readonly serviceLandline: "#A66DE8";
|
|
3501
|
+
readonly red50: "#ffebeb";
|
|
3502
|
+
readonly red100: "#ffd8d9";
|
|
3503
|
+
readonly red200: "#ffb3b4";
|
|
3504
|
+
readonly red300: "#f58e92";
|
|
3505
|
+
readonly red400: "#ec515d";
|
|
3506
|
+
readonly red500: "#df2a38";
|
|
3507
|
+
readonly red600: "#c31d2a";
|
|
3508
|
+
readonly red700: "#891e27";
|
|
3509
|
+
readonly red800: "#611a20";
|
|
3510
|
+
readonly red900: "#3b1216";
|
|
3511
|
+
readonly pink50: "#fde6fb";
|
|
3512
|
+
readonly pink100: "#fccff9";
|
|
3513
|
+
readonly pink200: "#f9bdfa";
|
|
3514
|
+
readonly pink300: "#f495f9";
|
|
3515
|
+
readonly pink500: "#c933d1";
|
|
3516
|
+
readonly pink700: "#8f248f";
|
|
3517
|
+
readonly pink900: "#48104b";
|
|
3518
|
+
readonly grey25: "#fafafa";
|
|
3519
|
+
readonly grey50: "#f5f5f5";
|
|
3520
|
+
readonly grey75: "#f0f0f0";
|
|
3521
|
+
readonly grey100: "#e3e3e3";
|
|
3522
|
+
readonly grey150: "#d8d8d8";
|
|
3523
|
+
readonly grey175: "#cccccc";
|
|
3524
|
+
readonly grey200: "#c1c1c1";
|
|
3525
|
+
readonly grey300: "#b8b8b8";
|
|
3526
|
+
readonly grey400: "#a0a0a0";
|
|
3527
|
+
readonly grey500: "#888888";
|
|
3528
|
+
readonly grey600: "#707070";
|
|
3529
|
+
readonly grey700: "#585858";
|
|
3530
|
+
readonly grey800: "#414141";
|
|
3531
|
+
readonly grey900: "#242424";
|
|
3532
|
+
readonly grey1000: "#121212";
|
|
3533
|
+
readonly apple50: "#e5f9ed";
|
|
3534
|
+
readonly apple200: "#c1f0d3";
|
|
3535
|
+
readonly apple300: "#96e6b7";
|
|
3536
|
+
readonly apple400: "#62dd99";
|
|
3537
|
+
readonly apple700: "#10b259";
|
|
3538
|
+
readonly apple800: "#087a3c";
|
|
3539
|
+
readonly apple900: "#03361b";
|
|
3540
|
+
readonly cyan50: "#ecf4fe";
|
|
3541
|
+
readonly cyan75: "#e5f1ff";
|
|
3542
|
+
readonly cyan100: "#cce0ff";
|
|
3543
|
+
readonly cyan200: "#a6c8fc";
|
|
3544
|
+
readonly cyan300: "#8fbaff";
|
|
3545
|
+
readonly cyan400: "#75a7fd";
|
|
3546
|
+
readonly cyan500: "#4789fa";
|
|
3547
|
+
readonly cyan600: "#0550d1";
|
|
3548
|
+
readonly cyan700: "#003a9e";
|
|
3549
|
+
readonly cyan800: "#002b75";
|
|
3550
|
+
readonly cyan900: "#001e52";
|
|
3551
|
+
readonly cyan1000: "#001333";
|
|
3552
|
+
readonly gold50: "#fef9e6";
|
|
3553
|
+
readonly gold75: "#fef6dc";
|
|
3554
|
+
readonly gold100: "#fff1d1";
|
|
3555
|
+
readonly gold200: "#ffe6a8";
|
|
3556
|
+
readonly gold300: "#ffd76f";
|
|
3557
|
+
readonly gold400: "#f7b51d";
|
|
3558
|
+
readonly gold500: "#c77800";
|
|
3559
|
+
readonly gold600: "#ac6406";
|
|
3560
|
+
readonly gold700: "#894e16";
|
|
3561
|
+
readonly gold800: "#6e3311";
|
|
3562
|
+
readonly gold900: "#52210c";
|
|
3563
|
+
readonly green50: "#eefcf3";
|
|
3564
|
+
readonly green100: "#e0f5e8";
|
|
3565
|
+
readonly green200: "#bdead0";
|
|
3566
|
+
readonly green300: "#a3e1bf";
|
|
3567
|
+
readonly green400: "#2fb66d";
|
|
3568
|
+
readonly green500: "#1c874d";
|
|
3569
|
+
readonly green600: "#297f50";
|
|
3570
|
+
readonly green700: "#21693f";
|
|
3571
|
+
readonly green800: "#0a522c";
|
|
3572
|
+
readonly green900: "#003d1e";
|
|
3573
|
+
readonly grape50: "#f1e6fb";
|
|
3574
|
+
readonly grape100: "#e4d3f8";
|
|
3575
|
+
readonly grape200: "#d4baf3";
|
|
3576
|
+
readonly grape300: "#bc92ed";
|
|
3577
|
+
readonly grape400: "#a66de8";
|
|
3578
|
+
readonly grape500: "#7b39c6";
|
|
3579
|
+
readonly grape800: "#2c094e";
|
|
3580
|
+
readonly rose50: "#fde2ec";
|
|
3581
|
+
readonly rose200: "#f9b6d0";
|
|
3582
|
+
readonly rose300: "#f586b1";
|
|
3583
|
+
readonly rose400: "#f25192";
|
|
3584
|
+
readonly rose500: "#ed176c";
|
|
3585
|
+
readonly rose700: "#c8185c";
|
|
3586
|
+
readonly rose800: "#9f1446";
|
|
3587
|
+
readonly rose900: "#4a1125";
|
|
3588
|
+
readonly purple50: "#f8f5fe";
|
|
3589
|
+
readonly purple75: "#f1ebfe";
|
|
3590
|
+
readonly purple100: "#e5d7fe";
|
|
3591
|
+
readonly purple200: "#cfadff";
|
|
3592
|
+
readonly purple300: "#c08dfc";
|
|
3593
|
+
readonly purple400: "#b46ef7";
|
|
3594
|
+
readonly purple500: "#9d38f0";
|
|
3595
|
+
readonly purple600: "#8f23e7";
|
|
3596
|
+
readonly purple700: "#7415c1";
|
|
3597
|
+
readonly purple800: "#550091";
|
|
3598
|
+
readonly purple900: "#48007a";
|
|
3599
|
+
readonly purple1000: "#35005c";
|
|
3600
|
+
};
|
|
3245
3601
|
readonly color: {
|
|
3246
3602
|
readonly white: "#ffffff";
|
|
3247
3603
|
readonly black: "#000000";
|
|
@@ -4477,8 +4833,134 @@ export declare const themes: {
|
|
|
4477
4833
|
readonly colorMode: "dark";
|
|
4478
4834
|
readonly isLight: false;
|
|
4479
4835
|
readonly isDark: true;
|
|
4836
|
+
/**
|
|
4837
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
4838
|
+
*/
|
|
4839
|
+
readonly colors: {
|
|
4840
|
+
/**
|
|
4841
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
4842
|
+
*/
|
|
4843
|
+
readonly white: "#ffffff";
|
|
4844
|
+
/**
|
|
4845
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
4846
|
+
*/
|
|
4847
|
+
readonly black: "#000000";
|
|
4848
|
+
readonly brandMidnight: "#1e0a46";
|
|
4849
|
+
readonly brandWhite: "#ffffff";
|
|
4850
|
+
readonly brandPink: "#f495f9";
|
|
4851
|
+
readonly brandPrimaryPurple: "#550091";
|
|
4852
|
+
readonly serviceGas: "#75A7FD";
|
|
4853
|
+
readonly serviceElectricity: "#62DD99";
|
|
4854
|
+
readonly serviceInsurance: "#F25192";
|
|
4855
|
+
readonly serviceMobile: "#FFD76F";
|
|
4856
|
+
readonly serviceLandline: "#A66DE8";
|
|
4857
|
+
readonly gold50: "#2e1103";
|
|
4858
|
+
readonly gold75: "#411907";
|
|
4859
|
+
readonly gold100: "#52210c";
|
|
4860
|
+
readonly gold200: "#743711";
|
|
4861
|
+
readonly gold300: "#925317";
|
|
4862
|
+
readonly gold400: "#cd7d04";
|
|
4863
|
+
readonly gold500: "#f7b51d";
|
|
4864
|
+
readonly gold600: "#fbc64b";
|
|
4865
|
+
readonly gold700: "#ffd76f";
|
|
4866
|
+
readonly gold800: "#ffe6a8";
|
|
4867
|
+
readonly gold900: "#fff6e0";
|
|
4868
|
+
readonly pink50: "#2c0a2e";
|
|
4869
|
+
readonly pink100: "#48104b";
|
|
4870
|
+
readonly pink300: "#8f248f";
|
|
4871
|
+
readonly pink500: "#c933d1";
|
|
4872
|
+
readonly pink700: "#f495f9";
|
|
4873
|
+
readonly pink900: "#fccff9";
|
|
4874
|
+
readonly pink950: "#fde6fb";
|
|
4875
|
+
readonly grey25: "#050505";
|
|
4876
|
+
readonly grey50: "#0b0b0b";
|
|
4877
|
+
readonly grey75: "#121212";
|
|
4878
|
+
readonly grey100: "#1d1d1d";
|
|
4879
|
+
readonly grey150: "#242424";
|
|
4880
|
+
readonly grey175: "#2c2c2c";
|
|
4881
|
+
readonly grey200: "#323232";
|
|
4882
|
+
readonly grey300: "#414141";
|
|
4883
|
+
readonly grey400: "#585858";
|
|
4884
|
+
readonly grey500: "#707070";
|
|
4885
|
+
readonly grey600: "#b8b8b8";
|
|
4886
|
+
readonly grey700: "#c1c1c1";
|
|
4887
|
+
readonly grey800: "#e3e3e3";
|
|
4888
|
+
readonly grey900: "#f0f0f0";
|
|
4889
|
+
readonly grey1000: "#fafafa";
|
|
4890
|
+
readonly cyan50: "#010a19";
|
|
4891
|
+
readonly cyan75: "#001333";
|
|
4892
|
+
readonly cyan100: "#011537";
|
|
4893
|
+
readonly cyan200: "#00225c";
|
|
4894
|
+
readonly cyan300: "#002d80";
|
|
4895
|
+
readonly cyan400: "#013992";
|
|
4896
|
+
readonly cyan500: "#0658e5";
|
|
4897
|
+
readonly cyan600: "#5692fb";
|
|
4898
|
+
readonly cyan700: "#75a7fd";
|
|
4899
|
+
readonly cyan800: "#a6c8fc";
|
|
4900
|
+
readonly cyan900: "#dbeaff";
|
|
4901
|
+
readonly cyan1000: "#ecf4fe";
|
|
4902
|
+
readonly red50: "#3b1216";
|
|
4903
|
+
readonly red100: "#581a20";
|
|
4904
|
+
readonly red200: "#721d25";
|
|
4905
|
+
readonly red300: "#891e27";
|
|
4906
|
+
readonly red400: "#bd1f2c";
|
|
4907
|
+
readonly red500: "#f24550";
|
|
4908
|
+
readonly red600: "#f2636a";
|
|
4909
|
+
readonly red700: "#f58e92";
|
|
4910
|
+
readonly red800: "#f9aeb3";
|
|
4911
|
+
readonly red900: "#ffebeb";
|
|
4912
|
+
readonly green50: "#133922";
|
|
4913
|
+
readonly green100: "#164429";
|
|
4914
|
+
readonly green200: "#1b5533";
|
|
4915
|
+
readonly green300: "#21693f";
|
|
4916
|
+
readonly green400: "#34a868";
|
|
4917
|
+
readonly green500: "#55ce8b";
|
|
4918
|
+
readonly green600: "#76d5a1";
|
|
4919
|
+
readonly green700: "#90dab2";
|
|
4920
|
+
readonly green800: "#bae8cf";
|
|
4921
|
+
readonly green900: "#e3faeb";
|
|
4922
|
+
readonly apple100: "#03361b";
|
|
4923
|
+
readonly apple200: "#087a3c";
|
|
4924
|
+
readonly apple300: "#10b259";
|
|
4925
|
+
readonly apple600: "#62dd99";
|
|
4926
|
+
readonly apple700: "#96e6b7";
|
|
4927
|
+
readonly apple800: "#c1f0d3";
|
|
4928
|
+
readonly apple950: "#e5f9ed";
|
|
4929
|
+
readonly grape100: "#240444";
|
|
4930
|
+
readonly grape200: "#2d025e";
|
|
4931
|
+
readonly grape500: "#7b39c6";
|
|
4932
|
+
readonly grape600: "#a66de8";
|
|
4933
|
+
readonly grape700: "#bc92ed";
|
|
4934
|
+
readonly grape800: "#d4baf3";
|
|
4935
|
+
readonly grape950: "#f1e6fb";
|
|
4936
|
+
readonly rose100: "#45081e";
|
|
4937
|
+
readonly rose200: "#710e32";
|
|
4938
|
+
readonly rose500: "#e34584";
|
|
4939
|
+
readonly rose600: "#f25192";
|
|
4940
|
+
readonly rose700: "#f586b1";
|
|
4941
|
+
readonly rose800: "#f9b6d0";
|
|
4942
|
+
readonly rose950: "#fde2ec";
|
|
4943
|
+
readonly purple50: "#2f0052";
|
|
4944
|
+
readonly purple75: "#35005c";
|
|
4945
|
+
readonly purple100: "#48007a";
|
|
4946
|
+
readonly purple200: "#550091";
|
|
4947
|
+
readonly purple300: "#7415c1";
|
|
4948
|
+
readonly purple400: "#8f23e7";
|
|
4949
|
+
readonly purple500: "#9d38f0";
|
|
4950
|
+
readonly purple600: "#b46ef7";
|
|
4951
|
+
readonly purple700: "#c08dfc";
|
|
4952
|
+
readonly purple800: "#cfadff";
|
|
4953
|
+
readonly purple900: "#e5d7fe";
|
|
4954
|
+
readonly purple1000: "#f1ebfe";
|
|
4955
|
+
};
|
|
4480
4956
|
readonly color: {
|
|
4957
|
+
/**
|
|
4958
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
4959
|
+
*/
|
|
4481
4960
|
readonly white: "#ffffff";
|
|
4961
|
+
/**
|
|
4962
|
+
* @deprecated This will be removed in the next major version. This is kept for backward compatibility.
|
|
4963
|
+
*/
|
|
4482
4964
|
readonly black: "#000000";
|
|
4483
4965
|
readonly background: {
|
|
4484
4966
|
readonly brand: "#7a42c8";
|