@utilitywarehouse/hearth-react-native 0.31.0 → 0.32.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +13 -13
- package/CHANGELOG.md +71 -0
- package/build/components/Rating/Rating.d.ts +6 -0
- package/build/components/Rating/Rating.js +76 -0
- package/build/components/Rating/Rating.props.d.ts +18 -0
- package/build/components/Rating/Rating.props.js +1 -0
- package/build/components/Rating/RatingStarEmpty.d.ts +6 -0
- package/build/components/Rating/RatingStarEmpty.js +9 -0
- package/build/components/Rating/RatingStarFilled.d.ts +6 -0
- package/build/components/Rating/RatingStarFilled.js +9 -0
- package/build/components/Rating/index.d.ts +2 -0
- package/build/components/Rating/index.js +1 -0
- package/build/components/Roundel/Roundel.d.ts +6 -0
- package/build/components/Roundel/Roundel.js +40 -0
- package/build/components/Roundel/Roundel.props.d.ts +6 -0
- package/build/components/Roundel/Roundel.props.js +1 -0
- package/build/components/Roundel/index.d.ts +2 -0
- package/build/components/Roundel/index.js +1 -0
- package/build/components/StepperInput/StepperButton.d.ts +22 -0
- package/build/components/StepperInput/StepperButton.js +55 -0
- package/build/components/StepperInput/StepperInput.d.ts +6 -0
- package/build/components/StepperInput/StepperInput.js +196 -0
- package/build/components/StepperInput/StepperInput.props.d.ts +31 -0
- package/build/components/StepperInput/StepperInput.props.js +1 -0
- package/build/components/StepperInput/index.d.ts +2 -0
- package/build/components/StepperInput/index.js +1 -0
- package/build/components/Table/TableHeaderCell.js +10 -1
- package/build/components/Textarea/Textarea.d.ts +1 -1
- package/build/components/Textarea/Textarea.js +10 -3
- package/build/components/Textarea/Textarea.props.d.ts +11 -0
- package/build/components/index.d.ts +3 -0
- package/build/components/index.js +3 -0
- package/build/core/themes.d.ts +92 -88
- package/build/tokens/color.d.ts +82 -80
- package/build/tokens/color.js +41 -40
- package/build/tokens/components/dark/alert.d.ts +6 -6
- package/build/tokens/components/dark/alert.js +6 -6
- package/build/tokens/components/dark/bottom-navigation.d.ts +2 -2
- package/build/tokens/components/dark/bottom-navigation.js +2 -2
- package/build/tokens/components/dark/checkbox.d.ts +1 -1
- package/build/tokens/components/dark/checkbox.js +1 -1
- package/build/tokens/components/dark/icon-button.d.ts +3 -3
- package/build/tokens/components/dark/icon-button.js +3 -3
- package/build/tokens/components/dark/inline-link.d.ts +1 -1
- package/build/tokens/components/dark/inline-link.js +1 -1
- package/build/tokens/components/dark/link.d.ts +3 -3
- package/build/tokens/components/dark/link.js +3 -3
- package/build/tokens/components/dark/navigation.d.ts +2 -2
- package/build/tokens/components/dark/navigation.js +2 -2
- package/build/tokens/components/dark/parts.d.ts +2 -2
- package/build/tokens/components/dark/parts.js +2 -2
- package/build/tokens/components/dark/progress-bar.d.ts +3 -3
- package/build/tokens/components/dark/progress-bar.js +3 -3
- package/build/tokens/components/dark/progress-stepper.d.ts +1 -1
- package/build/tokens/components/dark/progress-stepper.js +1 -1
- package/build/tokens/components/dark/spinner.d.ts +1 -1
- package/build/tokens/components/dark/spinner.js +1 -1
- package/build/tokens/components/dark/table.d.ts +2 -0
- package/build/tokens/components/dark/table.js +2 -0
- package/build/tokens/components/dark/time-picker.d.ts +1 -0
- package/build/tokens/components/dark/time-picker.js +1 -0
- package/build/tokens/components/light/parts.d.ts +3 -3
- package/build/tokens/components/light/parts.js +3 -3
- package/build/tokens/components/light/table.d.ts +2 -0
- package/build/tokens/components/light/table.js +2 -0
- package/build/tokens/components/light/time-picker.d.ts +1 -0
- package/build/tokens/components/light/time-picker.js +1 -0
- package/build/tokens/semantic-dark.d.ts +40 -40
- package/build/tokens/semantic-dark.js +40 -40
- package/docs/adding-shadows.mdx +2 -2
- package/docs/changelog.mdx +165 -0
- package/docs/components/AllComponents.web.tsx +30 -1
- package/docs/dark-mode-best-practice.mdx +328 -0
- package/package.json +1 -1
- package/src/components/Modal/Modal.docs.mdx +58 -4
- package/src/components/NavModal/NavModal.docs.mdx +2 -2
- package/src/components/Rating/Rating.docs.mdx +178 -0
- package/src/components/Rating/Rating.figma.tsx +20 -0
- package/src/components/Rating/Rating.props.ts +22 -0
- package/src/components/Rating/Rating.stories.tsx +95 -0
- package/src/components/Rating/Rating.tsx +140 -0
- package/src/components/Rating/RatingStarEmpty.tsx +22 -0
- package/src/components/Rating/RatingStarFilled.tsx +27 -0
- package/src/components/Rating/index.ts +2 -0
- package/src/components/Roundel/Roundel.docs.mdx +48 -0
- package/src/components/Roundel/Roundel.figma.tsx +17 -0
- package/src/components/Roundel/Roundel.props.ts +8 -0
- package/src/components/Roundel/Roundel.stories.tsx +49 -0
- package/src/components/Roundel/Roundel.tsx +51 -0
- package/src/components/Roundel/index.ts +2 -0
- package/src/components/StepperInput/StepperButton.tsx +83 -0
- package/src/components/StepperInput/StepperInput.docs.mdx +121 -0
- package/src/components/StepperInput/StepperInput.figma.tsx +45 -0
- package/src/components/StepperInput/StepperInput.props.ts +39 -0
- package/src/components/StepperInput/StepperInput.stories.tsx +270 -0
- package/src/components/StepperInput/StepperInput.tsx +349 -0
- package/src/components/StepperInput/index.ts +2 -0
- package/src/components/Table/TableHeaderCell.tsx +10 -1
- package/src/components/Textarea/Textarea.docs.mdx +2 -0
- package/src/components/Textarea/Textarea.props.ts +11 -0
- package/src/components/Textarea/Textarea.stories.tsx +14 -0
- package/src/components/Textarea/Textarea.tsx +11 -2
- package/src/components/index.ts +3 -0
- package/src/tokens/color.ts +41 -40
- package/src/tokens/components/dark/alert.ts +6 -6
- package/src/tokens/components/dark/bottom-navigation.ts +2 -2
- package/src/tokens/components/dark/checkbox.ts +1 -1
- package/src/tokens/components/dark/icon-button.ts +3 -3
- package/src/tokens/components/dark/inline-link.ts +1 -1
- package/src/tokens/components/dark/link.ts +3 -3
- package/src/tokens/components/dark/navigation.ts +2 -2
- package/src/tokens/components/dark/parts.ts +2 -2
- package/src/tokens/components/dark/progress-bar.ts +3 -3
- package/src/tokens/components/dark/progress-stepper.ts +1 -1
- package/src/tokens/components/dark/spinner.ts +1 -1
- package/src/tokens/components/dark/table.ts +2 -0
- package/src/tokens/components/dark/time-picker.ts +1 -0
- package/src/tokens/components/light/parts.ts +3 -3
- package/src/tokens/components/light/table.ts +2 -0
- package/src/tokens/components/light/time-picker.ts +1 -0
- package/src/tokens/semantic-dark.ts +40 -40
- package/vercel.json +0 -21
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ComponentType, Ref } from 'react';
|
|
2
|
+
import type { TextInput, TextInputProps, ViewProps } from 'react-native';
|
|
3
|
+
export interface StepperBaseProps {
|
|
4
|
+
ref?: Ref<TextInput>;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
validationStatus?: 'initial' | 'valid' | 'invalid';
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
focused?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
inBottomSheet?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
labelVariant?: 'heading' | 'body';
|
|
14
|
+
helperText?: string;
|
|
15
|
+
helperIcon?: ComponentType;
|
|
16
|
+
validText?: string;
|
|
17
|
+
invalidText?: string;
|
|
18
|
+
value?: number | string;
|
|
19
|
+
defaultValue?: number;
|
|
20
|
+
min?: number;
|
|
21
|
+
max?: number;
|
|
22
|
+
step?: number;
|
|
23
|
+
onChangeValue?: (value: number) => void;
|
|
24
|
+
focusInputOnStepPress?: boolean;
|
|
25
|
+
decrementAccessibilityLabel?: string;
|
|
26
|
+
incrementAccessibilityLabel?: string;
|
|
27
|
+
}
|
|
28
|
+
export type StepperInputProps = StepperBaseProps & Omit<TextInputProps, 'children' | 'value' | 'defaultValue' | 'onChangeText' | 'editable' | 'keyboardType'> & ViewProps & {
|
|
29
|
+
onChangeText?: (text: string) => void;
|
|
30
|
+
};
|
|
31
|
+
export default StepperInputProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StepperInput } from './StepperInput';
|
|
@@ -6,8 +6,9 @@ import { BodyText } from '../BodyText';
|
|
|
6
6
|
import { useTableContext } from './Table.context';
|
|
7
7
|
import { getColumnStyle } from './Table.utils';
|
|
8
8
|
const renderContent = (children, weight = 'semibold', color = 'white') => {
|
|
9
|
+
styles.useVariants({ color });
|
|
9
10
|
if (typeof children === 'string' || typeof children === 'number') {
|
|
10
|
-
return (_jsx(BodyText, { size: "md", weight: weight, style: styles.text,
|
|
11
|
+
return (_jsx(BodyText, { size: "md", weight: weight, style: styles.text, children: children }));
|
|
11
12
|
}
|
|
12
13
|
return children;
|
|
13
14
|
};
|
|
@@ -91,6 +92,14 @@ const styles = StyleSheet.create(theme => ({
|
|
|
91
92
|
color: theme.color.text.primary,
|
|
92
93
|
},
|
|
93
94
|
},
|
|
95
|
+
color: {
|
|
96
|
+
purple: {
|
|
97
|
+
color: theme.components.table.headerCell.foregoundColorInverted,
|
|
98
|
+
},
|
|
99
|
+
white: {
|
|
100
|
+
color: theme.components.table.headerCell.foregoundColor,
|
|
101
|
+
},
|
|
102
|
+
},
|
|
94
103
|
},
|
|
95
104
|
},
|
|
96
105
|
}));
|
|
@@ -7,5 +7,5 @@ export declare const TextareaComponent: import("@gluestack-ui/textarea/lib/types
|
|
|
7
7
|
};
|
|
8
8
|
}, import("react-native").TextInputProps>;
|
|
9
9
|
export declare const TextareaField: import("react").ForwardRefExoticComponent<import("react-native").TextInputProps & import("react").RefAttributes<import("react-native").TextInputProps> & import("@gluestack-ui/textarea/lib/typescript/types").IInputProps>;
|
|
10
|
-
declare const Textarea: ({ validationStatus, children, resizable, disabled, focused, readonly, label, labelVariant, helperText, validText, invalidText, required, helperIcon, onLayout, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Textarea: ({ validationStatus, children, resizable, defaultHeight, disabled, focused, readonly, label, labelVariant, helperText, validText, invalidText, required, helperIcon, onLayout, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default Textarea;
|
|
@@ -18,7 +18,7 @@ export const TextareaField = TextareaComponent.Input;
|
|
|
18
18
|
const DEFAULT_TEXTAREA_HEIGHT = 96;
|
|
19
19
|
const RESIZE_HANDLE_TOUCH_SIZE = 28;
|
|
20
20
|
const RESIZE_HANDLE_ICON_SIZE = 9;
|
|
21
|
-
const Textarea = ({ validationStatus = 'initial', children, resizable = false, disabled, focused, readonly, label, labelVariant, helperText, validText, invalidText, required, helperIcon, onLayout, ...props }) => {
|
|
21
|
+
const Textarea = ({ validationStatus = 'initial', children, resizable = false, defaultHeight, disabled, focused, readonly, label, labelVariant, helperText, validText, invalidText, required, helperIcon, onLayout, ...props }) => {
|
|
22
22
|
const formFieldContext = useFormFieldContext();
|
|
23
23
|
const hasMeasuredHeight = useRef(false);
|
|
24
24
|
const textareaLabel = label ?? formFieldContext?.label;
|
|
@@ -29,14 +29,21 @@ const Textarea = ({ validationStatus = 'initial', children, resizable = false, d
|
|
|
29
29
|
const textareaDisabled = disabled ?? formFieldContext?.disabled;
|
|
30
30
|
const textareaReadonly = readonly ?? formFieldContext?.readonly;
|
|
31
31
|
const textareaValidationStatus = formFieldContext?.validationStatus ?? validationStatus;
|
|
32
|
-
const
|
|
33
|
-
const
|
|
32
|
+
const textareaDefaultHeight = defaultHeight ?? DEFAULT_TEXTAREA_HEIGHT;
|
|
33
|
+
const textareaHeight = useSharedValue(textareaDefaultHeight);
|
|
34
|
+
const resizeStartHeight = useSharedValue(textareaDefaultHeight);
|
|
34
35
|
const theme = useTheme();
|
|
35
36
|
useEffect(() => {
|
|
36
37
|
if (formFieldContext?.setShouldHandleAccessibility) {
|
|
37
38
|
formFieldContext.setShouldHandleAccessibility(true);
|
|
38
39
|
}
|
|
39
40
|
}, [formFieldContext]);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (!hasMeasuredHeight.current) {
|
|
43
|
+
textareaHeight.value = textareaDefaultHeight;
|
|
44
|
+
resizeStartHeight.value = textareaDefaultHeight;
|
|
45
|
+
}
|
|
46
|
+
}, [resizeStartHeight, textareaDefaultHeight, textareaHeight]);
|
|
40
47
|
const getAccessibilityLabel = () => {
|
|
41
48
|
let accessibilityLabel = '';
|
|
42
49
|
if (textareaLabel) {
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { TextInputProps, ViewProps } from 'react-native';
|
|
2
2
|
export interface TextareaBaseProps {
|
|
3
|
+
/**
|
|
4
|
+
* Sets the initial height of a resizable textarea in pixels.
|
|
5
|
+
* Has no effect unless `resizable` is enabled.
|
|
6
|
+
*
|
|
7
|
+
* @type number
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Textarea resizable defaultHeight={140} />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
defaultHeight?: number;
|
|
3
14
|
/**
|
|
4
15
|
* If true, the textarea can be resized vertically using a drag handle.
|
|
5
16
|
*
|
|
@@ -47,11 +47,14 @@ export * from './ProgressBar';
|
|
|
47
47
|
export * from './ProgressStepper';
|
|
48
48
|
export * from './Radio';
|
|
49
49
|
export * from './RadioCard';
|
|
50
|
+
export * from './Rating';
|
|
51
|
+
export * from './Roundel';
|
|
50
52
|
export * from './SectionHeader';
|
|
51
53
|
export * from './SegmentedControl';
|
|
52
54
|
export * from './Select';
|
|
53
55
|
export * from './Skeleton';
|
|
54
56
|
export * from './Spinner';
|
|
57
|
+
export * from './StepperInput';
|
|
55
58
|
export * from './Switch';
|
|
56
59
|
export * from './Table';
|
|
57
60
|
export * from './Tabs';
|
|
@@ -48,11 +48,14 @@ export * from './ProgressBar';
|
|
|
48
48
|
export * from './ProgressStepper';
|
|
49
49
|
export * from './Radio';
|
|
50
50
|
export * from './RadioCard';
|
|
51
|
+
export * from './Rating';
|
|
52
|
+
export * from './Roundel';
|
|
51
53
|
export * from './SectionHeader';
|
|
52
54
|
export * from './SegmentedControl';
|
|
53
55
|
export * from './Select';
|
|
54
56
|
export * from './Skeleton';
|
|
55
57
|
export * from './Spinner';
|
|
58
|
+
export * from './StepperInput';
|
|
56
59
|
export * from './Switch';
|
|
57
60
|
export * from './Table';
|
|
58
61
|
export * from './Tabs';
|
package/build/core/themes.d.ts
CHANGED
|
@@ -1276,6 +1276,7 @@ export declare const lightTheme: {
|
|
|
1276
1276
|
readonly '700': "#4c4c4c";
|
|
1277
1277
|
readonly '800': "#3f3f3f";
|
|
1278
1278
|
readonly '900': "#3a3837";
|
|
1279
|
+
readonly '925': "#2f2d2d";
|
|
1279
1280
|
readonly '950': "#232323";
|
|
1280
1281
|
readonly '975': "#191919";
|
|
1281
1282
|
readonly '1000': "#101010";
|
|
@@ -1409,14 +1410,14 @@ export declare const darkTheme: {
|
|
|
1409
1410
|
readonly helpers: {
|
|
1410
1411
|
readonly semanticColor: {
|
|
1411
1412
|
readonly background: {
|
|
1412
|
-
readonly brand: "#
|
|
1413
|
+
readonly brand: "#442484";
|
|
1413
1414
|
readonly loading: "#30302c";
|
|
1414
1415
|
readonly primary: "#191917";
|
|
1415
|
-
readonly secondary: "#
|
|
1416
|
+
readonly secondary: "#2f2d2d";
|
|
1416
1417
|
};
|
|
1417
1418
|
readonly border: {
|
|
1418
|
-
readonly strong: "#
|
|
1419
|
-
readonly subtle: "#
|
|
1419
|
+
readonly strong: "#888888";
|
|
1420
|
+
readonly subtle: "#5b5b5b";
|
|
1420
1421
|
};
|
|
1421
1422
|
readonly text: {
|
|
1422
1423
|
readonly affirmative: "#58ca93";
|
|
@@ -2360,25 +2361,25 @@ export declare const darkTheme: {
|
|
|
2360
2361
|
*/
|
|
2361
2362
|
readonly black: "#000000";
|
|
2362
2363
|
readonly background: {
|
|
2363
|
-
readonly brand: "#
|
|
2364
|
+
readonly brand: "#442484";
|
|
2364
2365
|
readonly loading: "#30302c";
|
|
2365
2366
|
readonly primary: "#191917";
|
|
2366
|
-
readonly secondary: "#
|
|
2367
|
+
readonly secondary: "#2f2d2d";
|
|
2367
2368
|
};
|
|
2368
2369
|
readonly border: {
|
|
2369
|
-
readonly strong: "#
|
|
2370
|
-
readonly subtle: "#
|
|
2370
|
+
readonly strong: "#888888";
|
|
2371
|
+
readonly subtle: "#5b5b5b";
|
|
2371
2372
|
};
|
|
2372
2373
|
readonly feedback: {
|
|
2373
2374
|
readonly danger: {
|
|
2374
|
-
readonly border: "#
|
|
2375
|
+
readonly border: "#f4412a";
|
|
2375
2376
|
readonly foreground: {
|
|
2376
|
-
readonly default: "#
|
|
2377
|
+
readonly default: "#ffffff";
|
|
2377
2378
|
readonly subtle: "#ff7964";
|
|
2378
2379
|
};
|
|
2379
2380
|
readonly surface: {
|
|
2380
|
-
readonly default: "#
|
|
2381
|
-
readonly subtle: "#
|
|
2381
|
+
readonly default: "#de2612";
|
|
2382
|
+
readonly subtle: "#6b1f1a";
|
|
2382
2383
|
};
|
|
2383
2384
|
};
|
|
2384
2385
|
readonly functional: {
|
|
@@ -2393,36 +2394,36 @@ export declare const darkTheme: {
|
|
|
2393
2394
|
};
|
|
2394
2395
|
};
|
|
2395
2396
|
readonly info: {
|
|
2396
|
-
readonly border: "#
|
|
2397
|
+
readonly border: "#2786f1";
|
|
2397
2398
|
readonly foreground: {
|
|
2398
|
-
readonly default: "#
|
|
2399
|
+
readonly default: "#ffffff";
|
|
2399
2400
|
readonly subtle: "#6bb0ff";
|
|
2400
2401
|
};
|
|
2401
2402
|
readonly surface: {
|
|
2402
|
-
readonly default: "#
|
|
2403
|
-
readonly subtle: "#
|
|
2403
|
+
readonly default: "#1c6cd4";
|
|
2404
|
+
readonly subtle: "#0b3375";
|
|
2404
2405
|
};
|
|
2405
2406
|
};
|
|
2406
2407
|
readonly positive: {
|
|
2407
|
-
readonly border: "#
|
|
2408
|
+
readonly border: "#19a660";
|
|
2408
2409
|
readonly foreground: {
|
|
2409
|
-
readonly default: "#
|
|
2410
|
+
readonly default: "#ffffff";
|
|
2410
2411
|
readonly subtle: "#58ca93";
|
|
2411
2412
|
};
|
|
2412
2413
|
readonly surface: {
|
|
2413
|
-
readonly default: "#
|
|
2414
|
-
readonly subtle: "#
|
|
2414
|
+
readonly default: "#0f834a";
|
|
2415
|
+
readonly subtle: "#074b2a";
|
|
2415
2416
|
};
|
|
2416
2417
|
};
|
|
2417
2418
|
readonly warning: {
|
|
2418
|
-
readonly border: "#
|
|
2419
|
+
readonly border: "#f56e00";
|
|
2419
2420
|
readonly foreground: {
|
|
2420
|
-
readonly default: "#
|
|
2421
|
+
readonly default: "#ffffff";
|
|
2421
2422
|
readonly subtle: "#ff9639";
|
|
2422
2423
|
};
|
|
2423
2424
|
readonly surface: {
|
|
2424
|
-
readonly default: "#
|
|
2425
|
-
readonly subtle: "#
|
|
2425
|
+
readonly default: "#cf5d00";
|
|
2426
|
+
readonly subtle: "#893900";
|
|
2426
2427
|
};
|
|
2427
2428
|
};
|
|
2428
2429
|
};
|
|
@@ -2465,9 +2466,9 @@ export declare const darkTheme: {
|
|
|
2465
2466
|
};
|
|
2466
2467
|
readonly surface: {
|
|
2467
2468
|
readonly strong: {
|
|
2468
|
-
readonly active: "#
|
|
2469
|
-
readonly default: "#
|
|
2470
|
-
readonly hover: "#
|
|
2469
|
+
readonly active: "#ddd5eb";
|
|
2470
|
+
readonly default: "#af90de";
|
|
2471
|
+
readonly hover: "#c6b5e2";
|
|
2471
2472
|
};
|
|
2472
2473
|
};
|
|
2473
2474
|
};
|
|
@@ -2550,52 +2551,52 @@ export declare const darkTheme: {
|
|
|
2550
2551
|
};
|
|
2551
2552
|
};
|
|
2552
2553
|
readonly shadow: {
|
|
2553
|
-
readonly brand: "#
|
|
2554
|
-
readonly broadband: "#
|
|
2555
|
-
readonly cashback: "#
|
|
2556
|
-
readonly default: "#
|
|
2557
|
-
readonly energy: "#
|
|
2558
|
-
readonly insurance: "#
|
|
2559
|
-
readonly mobile: "#
|
|
2560
|
-
readonly pig: "#
|
|
2554
|
+
readonly brand: "#442484";
|
|
2555
|
+
readonly broadband: "#4f6b20";
|
|
2556
|
+
readonly cashback: "#7429b5";
|
|
2557
|
+
readonly default: "#3f3f3f";
|
|
2558
|
+
readonly energy: "#2c6370";
|
|
2559
|
+
readonly insurance: "#7f4518";
|
|
2560
|
+
readonly mobile: "#8a3260";
|
|
2561
|
+
readonly pig: "#7a1f7e";
|
|
2561
2562
|
};
|
|
2562
2563
|
readonly surface: {
|
|
2563
2564
|
readonly brand: {
|
|
2564
|
-
readonly default: "#
|
|
2565
|
+
readonly default: "#af90de";
|
|
2565
2566
|
readonly strong: "#26164f";
|
|
2566
2567
|
readonly subtle: "#442484";
|
|
2567
2568
|
};
|
|
2568
2569
|
readonly broadband: {
|
|
2569
2570
|
readonly default: "#506c21";
|
|
2570
|
-
readonly subtle: "#
|
|
2571
|
+
readonly subtle: "#4f6b20";
|
|
2571
2572
|
};
|
|
2572
2573
|
readonly cashback: {
|
|
2573
2574
|
readonly default: "#8b2bc9";
|
|
2574
|
-
readonly subtle: "#
|
|
2575
|
+
readonly subtle: "#7429b5";
|
|
2575
2576
|
};
|
|
2576
2577
|
readonly energy: {
|
|
2577
2578
|
readonly default: "#326e7a";
|
|
2578
|
-
readonly subtle: "#
|
|
2579
|
+
readonly subtle: "#2c6370";
|
|
2579
2580
|
};
|
|
2580
2581
|
readonly highlight: {
|
|
2581
2582
|
readonly default: "#ffb921";
|
|
2582
|
-
readonly subtle: "#
|
|
2583
|
+
readonly subtle: "#82692b";
|
|
2583
2584
|
};
|
|
2584
2585
|
readonly insurance: {
|
|
2585
2586
|
readonly default: "#9b4c0e";
|
|
2586
|
-
readonly subtle: "#
|
|
2587
|
+
readonly subtle: "#7f4518";
|
|
2587
2588
|
};
|
|
2588
2589
|
readonly mobile: {
|
|
2589
2590
|
readonly default: "#a7266d";
|
|
2590
|
-
readonly subtle: "#
|
|
2591
|
+
readonly subtle: "#8a3260";
|
|
2591
2592
|
};
|
|
2592
2593
|
readonly neutral: {
|
|
2593
|
-
readonly strong: "#
|
|
2594
|
+
readonly strong: "#2f2d2d";
|
|
2594
2595
|
readonly subtle: "#191917";
|
|
2595
2596
|
};
|
|
2596
2597
|
readonly pig: {
|
|
2597
2598
|
readonly default: "#8f358f";
|
|
2598
|
-
readonly subtle: "#
|
|
2599
|
+
readonly subtle: "#7a1f7e";
|
|
2599
2600
|
};
|
|
2600
2601
|
};
|
|
2601
2602
|
readonly text: {
|
|
@@ -2692,6 +2693,7 @@ export declare const darkTheme: {
|
|
|
2692
2693
|
readonly '700': "#4c4c4c";
|
|
2693
2694
|
readonly '800': "#3f3f3f";
|
|
2694
2695
|
readonly '900': "#3a3837";
|
|
2696
|
+
readonly '925': "#2f2d2d";
|
|
2695
2697
|
readonly '950': "#232323";
|
|
2696
2698
|
readonly '975': "#191919";
|
|
2697
2699
|
readonly '1000': "#101010";
|
|
@@ -4098,6 +4100,7 @@ export declare const themes: {
|
|
|
4098
4100
|
readonly '700': "#4c4c4c";
|
|
4099
4101
|
readonly '800': "#3f3f3f";
|
|
4100
4102
|
readonly '900': "#3a3837";
|
|
4103
|
+
readonly '925': "#2f2d2d";
|
|
4101
4104
|
readonly '950': "#232323";
|
|
4102
4105
|
readonly '975': "#191919";
|
|
4103
4106
|
readonly '1000': "#101010";
|
|
@@ -4231,14 +4234,14 @@ export declare const themes: {
|
|
|
4231
4234
|
readonly helpers: {
|
|
4232
4235
|
readonly semanticColor: {
|
|
4233
4236
|
readonly background: {
|
|
4234
|
-
readonly brand: "#
|
|
4237
|
+
readonly brand: "#442484";
|
|
4235
4238
|
readonly loading: "#30302c";
|
|
4236
4239
|
readonly primary: "#191917";
|
|
4237
|
-
readonly secondary: "#
|
|
4240
|
+
readonly secondary: "#2f2d2d";
|
|
4238
4241
|
};
|
|
4239
4242
|
readonly border: {
|
|
4240
|
-
readonly strong: "#
|
|
4241
|
-
readonly subtle: "#
|
|
4243
|
+
readonly strong: "#888888";
|
|
4244
|
+
readonly subtle: "#5b5b5b";
|
|
4242
4245
|
};
|
|
4243
4246
|
readonly text: {
|
|
4244
4247
|
readonly affirmative: "#58ca93";
|
|
@@ -5182,25 +5185,25 @@ export declare const themes: {
|
|
|
5182
5185
|
*/
|
|
5183
5186
|
readonly black: "#000000";
|
|
5184
5187
|
readonly background: {
|
|
5185
|
-
readonly brand: "#
|
|
5188
|
+
readonly brand: "#442484";
|
|
5186
5189
|
readonly loading: "#30302c";
|
|
5187
5190
|
readonly primary: "#191917";
|
|
5188
|
-
readonly secondary: "#
|
|
5191
|
+
readonly secondary: "#2f2d2d";
|
|
5189
5192
|
};
|
|
5190
5193
|
readonly border: {
|
|
5191
|
-
readonly strong: "#
|
|
5192
|
-
readonly subtle: "#
|
|
5194
|
+
readonly strong: "#888888";
|
|
5195
|
+
readonly subtle: "#5b5b5b";
|
|
5193
5196
|
};
|
|
5194
5197
|
readonly feedback: {
|
|
5195
5198
|
readonly danger: {
|
|
5196
|
-
readonly border: "#
|
|
5199
|
+
readonly border: "#f4412a";
|
|
5197
5200
|
readonly foreground: {
|
|
5198
|
-
readonly default: "#
|
|
5201
|
+
readonly default: "#ffffff";
|
|
5199
5202
|
readonly subtle: "#ff7964";
|
|
5200
5203
|
};
|
|
5201
5204
|
readonly surface: {
|
|
5202
|
-
readonly default: "#
|
|
5203
|
-
readonly subtle: "#
|
|
5205
|
+
readonly default: "#de2612";
|
|
5206
|
+
readonly subtle: "#6b1f1a";
|
|
5204
5207
|
};
|
|
5205
5208
|
};
|
|
5206
5209
|
readonly functional: {
|
|
@@ -5215,36 +5218,36 @@ export declare const themes: {
|
|
|
5215
5218
|
};
|
|
5216
5219
|
};
|
|
5217
5220
|
readonly info: {
|
|
5218
|
-
readonly border: "#
|
|
5221
|
+
readonly border: "#2786f1";
|
|
5219
5222
|
readonly foreground: {
|
|
5220
|
-
readonly default: "#
|
|
5223
|
+
readonly default: "#ffffff";
|
|
5221
5224
|
readonly subtle: "#6bb0ff";
|
|
5222
5225
|
};
|
|
5223
5226
|
readonly surface: {
|
|
5224
|
-
readonly default: "#
|
|
5225
|
-
readonly subtle: "#
|
|
5227
|
+
readonly default: "#1c6cd4";
|
|
5228
|
+
readonly subtle: "#0b3375";
|
|
5226
5229
|
};
|
|
5227
5230
|
};
|
|
5228
5231
|
readonly positive: {
|
|
5229
|
-
readonly border: "#
|
|
5232
|
+
readonly border: "#19a660";
|
|
5230
5233
|
readonly foreground: {
|
|
5231
|
-
readonly default: "#
|
|
5234
|
+
readonly default: "#ffffff";
|
|
5232
5235
|
readonly subtle: "#58ca93";
|
|
5233
5236
|
};
|
|
5234
5237
|
readonly surface: {
|
|
5235
|
-
readonly default: "#
|
|
5236
|
-
readonly subtle: "#
|
|
5238
|
+
readonly default: "#0f834a";
|
|
5239
|
+
readonly subtle: "#074b2a";
|
|
5237
5240
|
};
|
|
5238
5241
|
};
|
|
5239
5242
|
readonly warning: {
|
|
5240
|
-
readonly border: "#
|
|
5243
|
+
readonly border: "#f56e00";
|
|
5241
5244
|
readonly foreground: {
|
|
5242
|
-
readonly default: "#
|
|
5245
|
+
readonly default: "#ffffff";
|
|
5243
5246
|
readonly subtle: "#ff9639";
|
|
5244
5247
|
};
|
|
5245
5248
|
readonly surface: {
|
|
5246
|
-
readonly default: "#
|
|
5247
|
-
readonly subtle: "#
|
|
5249
|
+
readonly default: "#cf5d00";
|
|
5250
|
+
readonly subtle: "#893900";
|
|
5248
5251
|
};
|
|
5249
5252
|
};
|
|
5250
5253
|
};
|
|
@@ -5287,9 +5290,9 @@ export declare const themes: {
|
|
|
5287
5290
|
};
|
|
5288
5291
|
readonly surface: {
|
|
5289
5292
|
readonly strong: {
|
|
5290
|
-
readonly active: "#
|
|
5291
|
-
readonly default: "#
|
|
5292
|
-
readonly hover: "#
|
|
5293
|
+
readonly active: "#ddd5eb";
|
|
5294
|
+
readonly default: "#af90de";
|
|
5295
|
+
readonly hover: "#c6b5e2";
|
|
5293
5296
|
};
|
|
5294
5297
|
};
|
|
5295
5298
|
};
|
|
@@ -5372,52 +5375,52 @@ export declare const themes: {
|
|
|
5372
5375
|
};
|
|
5373
5376
|
};
|
|
5374
5377
|
readonly shadow: {
|
|
5375
|
-
readonly brand: "#
|
|
5376
|
-
readonly broadband: "#
|
|
5377
|
-
readonly cashback: "#
|
|
5378
|
-
readonly default: "#
|
|
5379
|
-
readonly energy: "#
|
|
5380
|
-
readonly insurance: "#
|
|
5381
|
-
readonly mobile: "#
|
|
5382
|
-
readonly pig: "#
|
|
5378
|
+
readonly brand: "#442484";
|
|
5379
|
+
readonly broadband: "#4f6b20";
|
|
5380
|
+
readonly cashback: "#7429b5";
|
|
5381
|
+
readonly default: "#3f3f3f";
|
|
5382
|
+
readonly energy: "#2c6370";
|
|
5383
|
+
readonly insurance: "#7f4518";
|
|
5384
|
+
readonly mobile: "#8a3260";
|
|
5385
|
+
readonly pig: "#7a1f7e";
|
|
5383
5386
|
};
|
|
5384
5387
|
readonly surface: {
|
|
5385
5388
|
readonly brand: {
|
|
5386
|
-
readonly default: "#
|
|
5389
|
+
readonly default: "#af90de";
|
|
5387
5390
|
readonly strong: "#26164f";
|
|
5388
5391
|
readonly subtle: "#442484";
|
|
5389
5392
|
};
|
|
5390
5393
|
readonly broadband: {
|
|
5391
5394
|
readonly default: "#506c21";
|
|
5392
|
-
readonly subtle: "#
|
|
5395
|
+
readonly subtle: "#4f6b20";
|
|
5393
5396
|
};
|
|
5394
5397
|
readonly cashback: {
|
|
5395
5398
|
readonly default: "#8b2bc9";
|
|
5396
|
-
readonly subtle: "#
|
|
5399
|
+
readonly subtle: "#7429b5";
|
|
5397
5400
|
};
|
|
5398
5401
|
readonly energy: {
|
|
5399
5402
|
readonly default: "#326e7a";
|
|
5400
|
-
readonly subtle: "#
|
|
5403
|
+
readonly subtle: "#2c6370";
|
|
5401
5404
|
};
|
|
5402
5405
|
readonly highlight: {
|
|
5403
5406
|
readonly default: "#ffb921";
|
|
5404
|
-
readonly subtle: "#
|
|
5407
|
+
readonly subtle: "#82692b";
|
|
5405
5408
|
};
|
|
5406
5409
|
readonly insurance: {
|
|
5407
5410
|
readonly default: "#9b4c0e";
|
|
5408
|
-
readonly subtle: "#
|
|
5411
|
+
readonly subtle: "#7f4518";
|
|
5409
5412
|
};
|
|
5410
5413
|
readonly mobile: {
|
|
5411
5414
|
readonly default: "#a7266d";
|
|
5412
|
-
readonly subtle: "#
|
|
5415
|
+
readonly subtle: "#8a3260";
|
|
5413
5416
|
};
|
|
5414
5417
|
readonly neutral: {
|
|
5415
|
-
readonly strong: "#
|
|
5418
|
+
readonly strong: "#2f2d2d";
|
|
5416
5419
|
readonly subtle: "#191917";
|
|
5417
5420
|
};
|
|
5418
5421
|
readonly pig: {
|
|
5419
5422
|
readonly default: "#8f358f";
|
|
5420
|
-
readonly subtle: "#
|
|
5423
|
+
readonly subtle: "#7a1f7e";
|
|
5421
5424
|
};
|
|
5422
5425
|
};
|
|
5423
5426
|
readonly text: {
|
|
@@ -5514,6 +5517,7 @@ export declare const themes: {
|
|
|
5514
5517
|
readonly '700': "#4c4c4c";
|
|
5515
5518
|
readonly '800': "#3f3f3f";
|
|
5516
5519
|
readonly '900': "#3a3837";
|
|
5520
|
+
readonly '925': "#2f2d2d";
|
|
5517
5521
|
readonly '950': "#232323";
|
|
5518
5522
|
readonly '975': "#191919";
|
|
5519
5523
|
readonly '1000': "#101010";
|