@livechat/design-system-react-components 1.0.0-alpha.4 → 1.0.0-alpha.41
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/dsrc.cjs.js +15 -0
- package/dist/dsrc.es.js +4418 -0
- package/dist/dsrc.umd.js +15 -0
- package/dist/shadow/shadow.css +27 -0
- package/dist/shadow/shadow.css.map +1 -0
- package/dist/shadow/spacing.css +18 -0
- package/dist/shadow/spacing.css.map +1 -0
- package/dist/spacing/shadow.css +27 -0
- package/dist/spacing/shadow.css.map +1 -0
- package/dist/spacing/spacing.css +18 -0
- package/dist/spacing/spacing.css.map +1 -0
- package/dist/src/components/Alert/Alert.d.ts +9 -0
- package/dist/src/components/Avatar/Avatar.d.ts +19 -0
- package/dist/src/components/Avatar/Avatar.helpers.d.ts +2 -0
- package/dist/src/components/Avatar/index.d.ts +1 -0
- package/dist/src/components/Badge/Badge.d.ts +9 -0
- package/dist/src/components/Badge/Badge.helpers.d.ts +1 -0
- package/dist/src/components/Button/Button.d.ts +13 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +12 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +7 -0
- package/dist/src/components/Checkbox/index.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/src/components/DatePicker/DatePickerNavbar.d.ts +4 -0
- package/dist/src/components/DatePicker/RangeDatePicker.d.ts +16 -0
- package/dist/src/components/DatePicker/helpers.d.ts +39 -0
- package/dist/src/components/DatePicker/hooks.d.ts +6 -0
- package/dist/src/components/DatePicker/index.d.ts +2 -0
- package/dist/src/components/DatePicker/types.d.ts +100 -0
- package/dist/src/components/FieldDescription/FieldDescription.d.ts +3 -0
- package/dist/src/components/FieldError/FieldError.d.ts +3 -0
- package/dist/src/components/FieldGroup/FieldGroup.d.ts +8 -0
- package/dist/src/components/FileUploadProgress/FileUploadProgress.d.ts +15 -0
- package/dist/src/components/FileUploadProgress/FileUploadProgressActions.d.ts +9 -0
- package/dist/src/components/FileUploadProgress/index.d.ts +2 -0
- package/dist/src/components/Form/Form.d.ts +7 -0
- package/dist/src/components/FormField/FormField.d.ts +13 -0
- package/dist/src/components/FormField/index.d.ts +1 -0
- package/dist/src/components/FormGroup/FormGroup.d.ts +7 -0
- package/dist/src/components/Icon/Icon.d.ts +14 -0
- package/dist/src/components/Icon/index.d.ts +1 -0
- package/dist/src/components/Input/Input.d.ts +14 -0
- package/dist/src/components/Input/index.d.ts +1 -0
- package/{src/components/Link/Link.tsx → dist/src/components/Link/Link.d.ts} +3 -26
- package/dist/src/components/Loader/Loader.d.ts +10 -0
- package/dist/src/components/Modal/Modal.d.ts +9 -0
- package/dist/src/components/Modal/ModalBase.d.ts +7 -0
- package/dist/src/components/Modal/ModalCloseButton.d.ts +6 -0
- package/dist/src/components/Modal/ModalPortal.d.ts +7 -0
- package/{src/components/Modal/index.ts → dist/src/components/Modal/index.d.ts} +0 -3
- package/dist/src/components/NumericInput/NumericInput.d.ts +14 -0
- package/dist/src/components/NumericInput/index.d.ts +1 -0
- package/dist/src/components/Picker/Picker.d.ts +23 -0
- package/dist/src/components/Picker/PickerList.d.ts +23 -0
- package/dist/src/components/Picker/Trigger.d.ts +15 -0
- package/dist/src/components/Picker/TriggerBody.d.ts +16 -0
- package/dist/src/components/Picker/constants.d.ts +21 -0
- package/dist/src/components/Picker/index.d.ts +2 -0
- package/dist/src/components/Popover/Popover.d.ts +12 -0
- package/dist/src/components/Progress/ProgressBar.d.ts +9 -0
- package/dist/src/components/Progress/ProgressCircle.d.ts +9 -0
- package/dist/src/components/Progress/constants.d.ts +4 -0
- package/dist/src/components/Progress/helpers.d.ts +3 -0
- package/{src/components/Progress/index.ts → dist/src/components/Progress/index.d.ts} +1 -0
- package/dist/src/components/PromoBanner/PromoBanner.d.ts +13 -0
- package/dist/src/components/RadioButton/RadioButton.d.ts +7 -0
- package/dist/src/components/Search/Search.d.ts +12 -0
- package/dist/src/components/Search/index.d.ts +1 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +18 -0
- package/dist/src/components/SegmentedControl/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +17 -0
- package/dist/src/components/Tab/Tab.d.ts +15 -0
- package/dist/src/components/Tab/TabsWrapper.d.ts +3 -0
- package/dist/src/components/Tag/Tag.d.ts +14 -0
- package/dist/src/components/TagInput/EditableTag.d.ts +11 -0
- package/dist/src/components/TagInput/EditableTagContent.d.ts +11 -0
- package/dist/src/components/TagInput/EmailTagInput.d.ts +5 -0
- package/dist/src/components/TagInput/TagInput.d.ts +13 -0
- package/dist/src/components/Textarea/Textarea.d.ts +6 -0
- package/dist/src/components/Textarea/index.d.ts +1 -0
- package/dist/src/components/Toast/Toast.d.ts +16 -0
- package/dist/src/components/Toast/ToastWrapper.d.ts +20 -0
- package/dist/src/components/Tooltip/Info.d.ts +8 -0
- package/dist/src/components/Tooltip/Interactive.d.ts +14 -0
- package/dist/src/components/Tooltip/Simple.d.ts +4 -0
- package/dist/src/components/Tooltip/SpotlightOverlay.d.ts +7 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +22 -0
- package/dist/src/components/Tooltip/UserGuide.d.ts +12 -0
- package/dist/src/components/Tooltip/helpers.d.ts +2 -0
- package/dist/src/components/Tooltip/index.d.ts +5 -0
- package/dist/src/components/Tooltip/virtualElementReference.d.ts +9 -0
- package/dist/src/components/Typography/Heading.d.ts +11 -0
- package/dist/src/components/Typography/Text.d.ts +15 -0
- package/dist/src/components/UploadBar/UploadBar.d.ts +16 -0
- package/dist/src/components/UploadBar/index.d.ts +1 -0
- package/dist/src/foundations/shadow-token.d.ts +5 -0
- package/dist/src/foundations/spacing-token.d.ts +16 -0
- package/{src/index.ts → dist/src/index.d.ts} +16 -7
- package/dist/src/themes/design-token.d.ts +226 -0
- package/dist/src/utils/constants.d.ts +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/keyCodes.d.ts +12 -0
- package/dist/src/utils/noop.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/themes/dark.css +253 -0
- package/dist/themes/dark.css.map +1 -0
- package/dist/themes/legacy.css +254 -0
- package/dist/themes/legacy.css.map +1 -0
- package/dist/themes/light.css +253 -0
- package/dist/themes/light.css.map +1 -0
- package/package.json +26 -13
- package/.eslintrc +0 -9
- package/.storybook/main.js +0 -20
- package/.storybook/preview-head.html +0 -31
- package/.storybook/preview.js +0 -21
- package/src/components/Alert/Alert.module.scss +0 -88
- package/src/components/Alert/Alert.spec.tsx +0 -78
- package/src/components/Alert/Alert.stories.tsx +0 -73
- package/src/components/Alert/Alert.tsx +0 -94
- package/src/components/Badge/Badge.module.scss +0 -23
- package/src/components/Badge/Badge.spec.tsx +0 -12
- package/src/components/Badge/Badge.stories.tsx +0 -24
- package/src/components/Badge/Badge.tsx +0 -24
- package/src/components/Button/Button.module.scss +0 -257
- package/src/components/Button/Button.spec.tsx +0 -110
- package/src/components/Button/Button.stories.tsx +0 -152
- package/src/components/Button/Button.tsx +0 -88
- package/src/components/Button/index.ts +0 -2
- package/src/components/ButtonGroup/ButtonGroup.module.scss +0 -31
- package/src/components/ButtonGroup/ButtonGroup.spec.tsx +0 -61
- package/src/components/ButtonGroup/ButtonGroup.stories.tsx +0 -53
- package/src/components/ButtonGroup/ButtonGroup.tsx +0 -75
- package/src/components/ButtonGroup/index.ts +0 -1
- package/src/components/Card/Card.module.scss +0 -31
- package/src/components/Card/Card.spec.tsx +0 -38
- package/src/components/Card/Card.stories.tsx +0 -30
- package/src/components/Card/Card.tsx +0 -34
- package/src/components/Checkbox/Checkbox.module.scss +0 -99
- package/src/components/Checkbox/Checkbox.tsx +0 -39
- package/src/components/Checkbox/CheckboxField.spec.tsx +0 -58
- package/src/components/Checkbox/CheckboxField.stories.tsx +0 -30
- package/src/components/Checkbox/CheckboxField.tsx +0 -46
- package/src/components/Checkbox/index.ts +0 -2
- package/src/components/FieldDescription/FieldDescription.module.scss +0 -5
- package/src/components/FieldDescription/FieldDescription.tsx +0 -23
- package/src/components/FieldError/FieldError.module.scss +0 -5
- package/src/components/FieldError/FieldError.tsx +0 -23
- package/src/components/FieldGroup/FieldGroup.module.scss +0 -25
- package/src/components/FieldGroup/FieldGroup.spec.tsx +0 -42
- package/src/components/FieldGroup/FieldGroup.stories.tsx +0 -34
- package/src/components/FieldGroup/FieldGroup.tsx +0 -38
- package/src/components/Form/Form.module.scss +0 -22
- package/src/components/Form/Form.spec.tsx +0 -38
- package/src/components/Form/Form.stories.tsx +0 -42
- package/src/components/Form/Form.tsx +0 -46
- package/src/components/FormGroup/FormGroup.module.scss +0 -20
- package/src/components/FormGroup/FormGroup.spec.tsx +0 -34
- package/src/components/FormGroup/FormGroup.stories.tsx +0 -30
- package/src/components/FormGroup/FormGroup.tsx +0 -44
- package/src/components/Icon/Icon.module.scss +0 -70
- package/src/components/Icon/Icon.stories.tsx +0 -53
- package/src/components/Icon/Icon.tsx +0 -118
- package/src/components/Icon/index.ts +0 -1
- package/src/components/InputField/InputField.module.scss +0 -37
- package/src/components/InputField/InputField.spec.tsx +0 -53
- package/src/components/InputField/InputField.stories.tsx +0 -73
- package/src/components/InputField/InputField.tsx +0 -72
- package/src/components/InputField/index.ts +0 -1
- package/src/components/Link/Link.module.scss +0 -18
- package/src/components/Link/Link.stories.tsx +0 -17
- package/src/components/Loader/Loader.module.scss +0 -66
- package/src/components/Loader/Loader.spec.tsx +0 -64
- package/src/components/Loader/Loader.stories.tsx +0 -25
- package/src/components/Loader/Loader.tsx +0 -48
- package/src/components/Modal/ActionModal.tsx +0 -37
- package/src/components/Modal/Modal.module.scss +0 -131
- package/src/components/Modal/Modal.stories.tsx +0 -85
- package/src/components/Modal/Modal.tsx +0 -41
- package/src/components/Modal/ModalBase.spec.tsx +0 -58
- package/src/components/Modal/ModalBase.tsx +0 -66
- package/src/components/Modal/ModalCloseButton.tsx +0 -20
- package/src/components/Modal/ModalPortal.tsx +0 -35
- package/src/components/NumericInput/NumericInput.module.scss +0 -110
- package/src/components/NumericInput/NumericInput.spec.tsx +0 -129
- package/src/components/NumericInput/NumericInput.stories.tsx +0 -56
- package/src/components/NumericInput/NumericInput.tsx +0 -161
- package/src/components/NumericInput/NumericInputField.stories.tsx +0 -58
- package/src/components/NumericInput/NumericInputField.tsx +0 -57
- package/src/components/NumericInput/index.ts +0 -2
- package/src/components/Popover/Popover.module.scss +0 -16
- package/src/components/Popover/Popover.spec.tsx +0 -39
- package/src/components/Popover/Popover.stories.css +0 -23
- package/src/components/Popover/Popover.stories.tsx +0 -164
- package/src/components/Popover/Popover.tsx +0 -124
- package/src/components/Progress/ProgressBar.module.scss +0 -48
- package/src/components/Progress/ProgressBar.spec.tsx +0 -33
- package/src/components/Progress/ProgressBar.stories.tsx +0 -23
- package/src/components/Progress/ProgressBar.tsx +0 -62
- package/src/components/Progress/ProgressCircle.module.scss +0 -64
- package/src/components/Progress/ProgressCircle.spec.tsx +0 -34
- package/src/components/Progress/ProgressCircle.stories.tsx +0 -28
- package/src/components/Progress/ProgressCircle.tsx +0 -104
- package/src/components/Progress/constants.ts +0 -23
- package/src/components/Progress/helpers.ts +0 -23
- package/src/components/PromoBanner/PromoBanner.module.scss +0 -121
- package/src/components/PromoBanner/PromoBanner.spec.tsx +0 -119
- package/src/components/PromoBanner/PromoBanner.stories.tsx +0 -125
- package/src/components/PromoBanner/PromoBanner.tsx +0 -99
- package/src/components/RadioButton/RadioButton.module.scss +0 -100
- package/src/components/RadioButton/RadioButton.spec.tsx +0 -70
- package/src/components/RadioButton/RadioButton.stories.tsx +0 -34
- package/src/components/RadioButton/RadioButton.tsx +0 -54
- package/src/components/Switch/Switch.module.scss +0 -126
- package/src/components/Switch/Switch.spec.tsx +0 -40
- package/src/components/Switch/Switch.stories.tsx +0 -23
- package/src/components/Switch/Switch.tsx +0 -100
- package/src/components/Tab/Tab.module.scss +0 -56
- package/src/components/Tab/Tab.spec.tsx +0 -34
- package/src/components/Tab/Tab.stories.tsx +0 -20
- package/src/components/Tab/Tab.tsx +0 -49
- package/src/components/Tab/TabsWrapper.module.scss +0 -11
- package/src/components/Tab/TabsWrapper.spec.tsx +0 -19
- package/src/components/Tab/TabsWrapper.stories.tsx +0 -46
- package/src/components/Tab/TabsWrapper.tsx +0 -24
- package/src/components/Tag/Tag.module.scss +0 -131
- package/src/components/Tag/Tag.spec.tsx +0 -93
- package/src/components/Tag/Tag.stories.tsx +0 -151
- package/src/components/Tag/Tag.tsx +0 -129
- package/src/components/TagInput/EditableTag.tsx +0 -54
- package/src/components/TagInput/EditableTagContent.tsx +0 -81
- package/src/components/TagInput/EmailTagInput.tsx +0 -31
- package/src/components/TagInput/TagInput.module.scss +0 -81
- package/src/components/TagInput/TagInput.spec.tsx +0 -58
- package/src/components/TagInput/TagInput.stories.tsx +0 -49
- package/src/components/TagInput/TagInput.tsx +0 -133
- package/src/components/TextField/TextField.module.scss +0 -90
- package/src/components/TextField/TextField.spec.tsx +0 -40
- package/src/components/TextField/TextField.stories.tsx +0 -60
- package/src/components/TextField/TextField.tsx +0 -100
- package/src/components/TextField/index.ts +0 -1
- package/src/components/Toast/Toast.module.scss +0 -218
- package/src/components/Toast/Toast.spec.tsx +0 -96
- package/src/components/Toast/Toast.stories.tsx +0 -64
- package/src/components/Toast/Toast.tsx +0 -121
- package/src/components/Toast/ToastWrapper.spec.tsx +0 -13
- package/src/components/Toast/ToastWrapper.stories.tsx +0 -55
- package/src/components/Toast/ToastWrapper.tsx +0 -87
- package/src/components/Typography/Heading.tsx +0 -36
- package/src/components/Typography/Text.tsx +0 -49
- package/src/components/Typography/Typography.module.scss +0 -132
- package/src/index.scss +0 -9
- package/src/stories/ColorTokens.stories.mdx +0 -10
- package/src/stories/Icons.stories.mdx +0 -12
- package/src/stories/Typography.stories.mdx +0 -65
- package/src/stories/components/ColorTokens.tsx +0 -99
- package/src/stories/components/IconsShowcase.tsx +0 -25
- package/src/stories/components/iconsShowcase.css +0 -13
- package/src/test/setup.ts +0 -1
- package/src/test/utils.ts +0 -3
- package/src/themes/dark.scss +0 -127
- package/src/themes/designTokens.ts +0 -126
- package/src/themes/legacy.scss +0 -128
- package/src/themes/light.scss +0 -127
- package/src/utils/keyCodes.ts +0 -12
- package/src/utils/noop.ts +0 -2
- package/tsconfig.json +0 -25
- package/tsconfig.node.json +0 -8
- package/vite.config.ts +0 -44
- /package/{src/components/Alert/index.ts → dist/src/components/Alert/index.d.ts} +0 -0
- /package/{src/components/Badge/index.ts → dist/src/components/Badge/index.d.ts} +0 -0
- /package/{src/components/Card/index.ts → dist/src/components/Card/index.d.ts} +0 -0
- /package/{src/components/FieldDescription/index.ts → dist/src/components/FieldDescription/index.d.ts} +0 -0
- /package/{src/components/FieldError/index.ts → dist/src/components/FieldError/index.d.ts} +0 -0
- /package/{src/components/FieldGroup/index.ts → dist/src/components/FieldGroup/index.d.ts} +0 -0
- /package/{src/components/Form/index.ts → dist/src/components/Form/index.d.ts} +0 -0
- /package/{src/components/FormGroup/index.ts → dist/src/components/FormGroup/index.d.ts} +0 -0
- /package/{src/components/Link/index.ts → dist/src/components/Link/index.d.ts} +0 -0
- /package/{src/components/Loader/index.ts → dist/src/components/Loader/index.d.ts} +0 -0
- /package/{src/components/Popover/index.ts → dist/src/components/Popover/index.d.ts} +0 -0
- /package/{src/components/PromoBanner/index.ts → dist/src/components/PromoBanner/index.d.ts} +0 -0
- /package/{src/components/RadioButton/index.ts → dist/src/components/RadioButton/index.d.ts} +0 -0
- /package/{src/components/Switch/index.ts → dist/src/components/Switch/index.d.ts} +0 -0
- /package/{src/components/Tab/index.ts → dist/src/components/Tab/index.d.ts} +0 -0
- /package/{src/components/Tag/index.ts → dist/src/components/Tag/index.d.ts} +0 -0
- /package/{src/components/TagInput/index.ts → dist/src/components/TagInput/index.d.ts} +0 -0
- /package/{src/components/Toast/index.ts → dist/src/components/Toast/index.d.ts} +0 -0
- /package/{src/components/Typography/index.ts → dist/src/components/Typography/index.d.ts} +0 -0
- /package/{src → dist/src}/vite-env.d.ts +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import cx from 'clsx';
|
|
3
|
-
|
|
4
|
-
import styles from './Typography.module.scss';
|
|
5
|
-
|
|
6
|
-
type TSize = 'md' | 'sm' | 'xs';
|
|
7
|
-
|
|
8
|
-
interface IProps {
|
|
9
|
-
/** DOM element name that will be rendered */
|
|
10
|
-
as?: string;
|
|
11
|
-
size?: TSize;
|
|
12
|
-
/** Optional custom className */
|
|
13
|
-
className?: string;
|
|
14
|
-
caps?: boolean;
|
|
15
|
-
bold?: boolean;
|
|
16
|
-
underline?: boolean;
|
|
17
|
-
strike?: boolean;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const Text: React.FC<IProps> = ({
|
|
21
|
-
as = 'p',
|
|
22
|
-
size = 'md',
|
|
23
|
-
caps = false,
|
|
24
|
-
bold = false,
|
|
25
|
-
underline = false,
|
|
26
|
-
strike = false,
|
|
27
|
-
children,
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}) => {
|
|
31
|
-
const baseClassPrefix = caps ? 'caps' : `paragraph-${size}`;
|
|
32
|
-
|
|
33
|
-
return React.createElement(
|
|
34
|
-
as,
|
|
35
|
-
{
|
|
36
|
-
className: cx(
|
|
37
|
-
{
|
|
38
|
-
[styles[`${baseClassPrefix}`]]: true,
|
|
39
|
-
[styles[`${baseClassPrefix}--bold`]]: bold,
|
|
40
|
-
[styles[`${baseClassPrefix}--strike`]]: strike,
|
|
41
|
-
[styles[`${baseClassPrefix}--underline`]]: underline,
|
|
42
|
-
},
|
|
43
|
-
className
|
|
44
|
-
),
|
|
45
|
-
...props,
|
|
46
|
-
},
|
|
47
|
-
children
|
|
48
|
-
);
|
|
49
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
@mixin heading-xl {
|
|
2
|
-
font-size: 32px;
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: 600;
|
|
5
|
-
letter-spacing: 0;
|
|
6
|
-
line-height: 40px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin heading-lg {
|
|
10
|
-
font-size: 24px;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
letter-spacing: 0;
|
|
14
|
-
line-height: 32px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin heading-md {
|
|
18
|
-
font-size: 20px;
|
|
19
|
-
font-style: normal;
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
letter-spacing: 0;
|
|
22
|
-
line-height: 28px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin heading-sm {
|
|
26
|
-
font-size: 18px;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
font-weight: 600;
|
|
29
|
-
letter-spacing: 0;
|
|
30
|
-
line-height: 24px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin heading-xs {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
letter-spacing: 0;
|
|
38
|
-
line-height: 24px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin caps {
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 400;
|
|
45
|
-
letter-spacing: 0.2px;
|
|
46
|
-
line-height: 20px;
|
|
47
|
-
text-transform: uppercase;
|
|
48
|
-
|
|
49
|
-
&--bold {
|
|
50
|
-
font-weight: 600;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin paragraph-md {
|
|
55
|
-
font-size: 15px;
|
|
56
|
-
font-style: normal;
|
|
57
|
-
font-weight: 400;
|
|
58
|
-
letter-spacing: 0;
|
|
59
|
-
line-height: 22px;
|
|
60
|
-
|
|
61
|
-
&--bold {
|
|
62
|
-
font-weight: 600;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&--underline {
|
|
66
|
-
text-decoration-line: underline;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&--strike {
|
|
70
|
-
text-decoration-line: line-through;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@mixin paragraph-sm {
|
|
75
|
-
font-size: 14px;
|
|
76
|
-
font-style: normal;
|
|
77
|
-
font-weight: 400;
|
|
78
|
-
letter-spacing: 0;
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
|
|
81
|
-
&--bold {
|
|
82
|
-
font-weight: 600;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@mixin paragraph-xs {
|
|
87
|
-
font-size: 12px;
|
|
88
|
-
font-style: normal;
|
|
89
|
-
font-weight: 400;
|
|
90
|
-
letter-spacing: 0.2px;
|
|
91
|
-
line-height: 16px;
|
|
92
|
-
|
|
93
|
-
&--bold {
|
|
94
|
-
font-weight: 600;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.heading-xl {
|
|
99
|
-
@include heading-xl;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.heading-lg {
|
|
103
|
-
@include heading-lg;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.heading-md {
|
|
107
|
-
@include heading-md;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.heading-sm {
|
|
111
|
-
@include heading-sm;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.heading-xs {
|
|
115
|
-
@include heading-xs;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.caps {
|
|
119
|
-
@include caps;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.paragraph-md {
|
|
123
|
-
@include paragraph-md;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.paragraph-sm {
|
|
127
|
-
@include paragraph-sm;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.paragraph-xs {
|
|
131
|
-
@include paragraph-xs;
|
|
132
|
-
}
|
package/src/index.scss
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
@use './themes/legacy';
|
|
2
|
-
|
|
3
|
-
*[class^='lc-'] {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, Segoe UI,
|
|
6
|
-
Helvetica Neue, Arial, sans-serif;
|
|
7
|
-
-webkit-font-smoothing: antialiased;
|
|
8
|
-
-moz-osx-font-smoothing: grayscale;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas } from '@storybook/addon-docs';
|
|
2
|
-
import { ColorTokensPallete } from './components/ColorTokens';
|
|
3
|
-
|
|
4
|
-
<Meta title="Foundations/Color Tokens" />
|
|
5
|
-
|
|
6
|
-
# Color Tokens
|
|
7
|
-
|
|
8
|
-
List of available color tokens. Click on token to copy it's value to clipboard.
|
|
9
|
-
|
|
10
|
-
<ColorTokensPallete />
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, ArgsTable } from "@storybook/addon-docs";
|
|
2
|
-
|
|
3
|
-
import { Icon, IconTypeName, IconSizeName } from "../components/Icon";
|
|
4
|
-
import { IconsShowcase } from "./components/IconsShowcase";
|
|
5
|
-
|
|
6
|
-
<Meta title="Foundations/Icons" />
|
|
7
|
-
|
|
8
|
-
# Icons
|
|
9
|
-
|
|
10
|
-
List of the icons available in the design system.
|
|
11
|
-
|
|
12
|
-
<IconsShowcase />
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, ArgsTable } from "@storybook/addon-docs";
|
|
2
|
-
|
|
3
|
-
import { Heading, Text } from "../components/Typography";
|
|
4
|
-
|
|
5
|
-
<Meta title="Foundations/Typography" />
|
|
6
|
-
|
|
7
|
-
# Typography
|
|
8
|
-
|
|
9
|
-
This guide will help you create a typography hierarchy in the interface you build. This can be achieved by using size and weight.
|
|
10
|
-
|
|
11
|
-
## Heading
|
|
12
|
-
|
|
13
|
-
`Heading` component renders heading element with given size.
|
|
14
|
-
|
|
15
|
-
You can modify the output element via `as` prop. For example if you want to render XLarge heading as `h3` just pass `as='h3'`
|
|
16
|
-
|
|
17
|
-
```jsx
|
|
18
|
-
<Heading size="xl" as="h3">
|
|
19
|
-
My h3 heading
|
|
20
|
-
</Heading>
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
<ArgsTable of={Heading} />
|
|
24
|
-
|
|
25
|
-
<Canvas style={{ color: "var(--content-default)" }}>
|
|
26
|
-
<Heading size="xl">Heading XLarge</Heading>
|
|
27
|
-
<Heading size="lg">Heading Large</Heading>
|
|
28
|
-
<Heading size="md">Heading Medium</Heading>
|
|
29
|
-
<Heading size="sm">Heading Small</Heading>
|
|
30
|
-
<Heading size="xs">Heading XSmall</Heading>
|
|
31
|
-
</Canvas>
|
|
32
|
-
|
|
33
|
-
## Text
|
|
34
|
-
|
|
35
|
-
`Text` component renders a paragraph.
|
|
36
|
-
|
|
37
|
-
```jsx
|
|
38
|
-
<Text size="sm" bold>
|
|
39
|
-
This text is a small bold p
|
|
40
|
-
</Text>
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
<ArgsTable of={Text} />
|
|
44
|
-
|
|
45
|
-
<Canvas style={{ color: "var(--content-default)" }}>
|
|
46
|
-
<Text>Paragraph Medium</Text>
|
|
47
|
-
<Text bold>Paragraph Medium Bold</Text>
|
|
48
|
-
<Text underline>Paragraph Medium Underline</Text>
|
|
49
|
-
<Text strike>Paragraph Medium Strikethrough</Text>
|
|
50
|
-
<Text size="sm">Paragraph Small</Text>
|
|
51
|
-
<Text size="sm" bold>
|
|
52
|
-
Paragraph Small Bold
|
|
53
|
-
</Text>
|
|
54
|
-
<Text size="xs">Paragraph XSmall</Text>
|
|
55
|
-
<Text size="xs" bold>
|
|
56
|
-
Paragraph XSmall Bold
|
|
57
|
-
</Text>
|
|
58
|
-
<Text caps>Caps</Text>
|
|
59
|
-
<Text caps bold>
|
|
60
|
-
Bold Caps
|
|
61
|
-
</Text>
|
|
62
|
-
<Text as="div" size="sm">
|
|
63
|
-
Small text as div
|
|
64
|
-
</Text>
|
|
65
|
-
</Canvas>
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DesignTokens } from '../../themes/designTokens';
|
|
3
|
-
import { Text } from '../../components/Typography';
|
|
4
|
-
|
|
5
|
-
interface TokensGroup {
|
|
6
|
-
background: string[];
|
|
7
|
-
surface: string[];
|
|
8
|
-
content: string[];
|
|
9
|
-
border: string[];
|
|
10
|
-
color: string[];
|
|
11
|
-
decor: string[];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
type TokenGroupName =
|
|
15
|
-
| 'background'
|
|
16
|
-
| 'surface'
|
|
17
|
-
| 'content'
|
|
18
|
-
| 'border'
|
|
19
|
-
| 'color'
|
|
20
|
-
| 'decor';
|
|
21
|
-
|
|
22
|
-
const Tokens: TokensGroup = Object.values(
|
|
23
|
-
DesignTokens as { [key: string]: string }
|
|
24
|
-
).reduce(
|
|
25
|
-
(acc: TokensGroup, value) => {
|
|
26
|
-
const groupName = value.split('-').filter(Boolean)[0] as TokenGroupName;
|
|
27
|
-
acc[groupName].push(value);
|
|
28
|
-
|
|
29
|
-
return acc;
|
|
30
|
-
},
|
|
31
|
-
{ background: [], surface: [], content: [], border: [], color: [], decor: [] }
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
const CONTENT = {
|
|
35
|
-
background: {
|
|
36
|
-
heading: 'Background',
|
|
37
|
-
content:
|
|
38
|
-
'Basic layer of the UI – this represents the canvas (for developers) or frame (for designers)',
|
|
39
|
-
},
|
|
40
|
-
surface: {
|
|
41
|
-
heading: 'Surface',
|
|
42
|
-
content:
|
|
43
|
-
'Background of components, like cards, input fields, tooltips, ect.',
|
|
44
|
-
},
|
|
45
|
-
content: {
|
|
46
|
-
heading: 'Content',
|
|
47
|
-
content: 'Fonts & icons (mostly)',
|
|
48
|
-
},
|
|
49
|
-
border: {
|
|
50
|
-
heading: 'Border',
|
|
51
|
-
content: 'Style for components borders',
|
|
52
|
-
},
|
|
53
|
-
color: {
|
|
54
|
-
heading: 'Accent colors',
|
|
55
|
-
content:
|
|
56
|
-
'All colors that drive attention in the UI - it can be either action, warning, negative or positive',
|
|
57
|
-
},
|
|
58
|
-
decor: {
|
|
59
|
-
heading: 'Decor',
|
|
60
|
-
content:
|
|
61
|
-
'Those colors can be used for specific elements of the UI, they were purposely separated from all other tokens, as they are used only for decorative means. Those colors are shared between all three themes — Legacy, Light & Dark. This palette is not yet fully supported in dark mode.',
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const ColorTokensPallete: React.FC = () => (
|
|
66
|
-
<div style={{ color: 'var(--content-default)' }}>
|
|
67
|
-
{Object.entries(CONTENT).map(([section, { heading, content }]) => (
|
|
68
|
-
<React.Fragment key={section}>
|
|
69
|
-
<h2>{heading}</h2>
|
|
70
|
-
<Text as="p">{content}</Text>
|
|
71
|
-
<ul style={{ display: 'grid', gridTemplateColumns: '1fr 1fr 1fr' }}>
|
|
72
|
-
{Tokens[section as TokenGroupName].map((colorToken: string) => (
|
|
73
|
-
<li
|
|
74
|
-
key={colorToken}
|
|
75
|
-
style={{
|
|
76
|
-
display: 'flex',
|
|
77
|
-
cursor: 'pointer',
|
|
78
|
-
alignItems: 'center',
|
|
79
|
-
}}
|
|
80
|
-
onClick={() => navigator.clipboard.writeText(colorToken)}
|
|
81
|
-
>
|
|
82
|
-
<div
|
|
83
|
-
style={{
|
|
84
|
-
backgroundColor: `var(${colorToken})`,
|
|
85
|
-
border: '1px solid var(--border-subtle)',
|
|
86
|
-
borderRadius: '4px',
|
|
87
|
-
width: '50px',
|
|
88
|
-
height: '50px',
|
|
89
|
-
margin: '5px',
|
|
90
|
-
}}
|
|
91
|
-
/>
|
|
92
|
-
<Text>{colorToken}</Text>
|
|
93
|
-
</li>
|
|
94
|
-
))}
|
|
95
|
-
</ul>
|
|
96
|
-
</React.Fragment>
|
|
97
|
-
))}
|
|
98
|
-
</div>
|
|
99
|
-
);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
import * as MaterialIcons from '@livechat/design-system-icons/react/material';
|
|
4
|
-
import { Icon, IconSizeName } from '../../components/Icon';
|
|
5
|
-
import './iconsShowcase.css';
|
|
6
|
-
|
|
7
|
-
export type IconsMap = {
|
|
8
|
-
[key: string]: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const Icons = MaterialIcons as IconsMap;
|
|
12
|
-
|
|
13
|
-
export const IconsShowcase = (): React.ReactElement => {
|
|
14
|
-
const iconsGrid = Object.keys(Icons).map((item) => {
|
|
15
|
-
const iconSource = Icons[item];
|
|
16
|
-
return (
|
|
17
|
-
<div className="icon-showcase-card">
|
|
18
|
-
<Icon source={iconSource} size={IconSizeName.XLarge}></Icon>
|
|
19
|
-
<p>{item}</p>
|
|
20
|
-
</div>
|
|
21
|
-
);
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
return <div className="icons-showcase-wrapper">{iconsGrid}</div>;
|
|
25
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
.icons-showcase-card {
|
|
2
|
-
align-items: center;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.icons-showcase-wrapper {
|
|
9
|
-
display: grid;
|
|
10
|
-
gap: 10px;
|
|
11
|
-
grid-auto-rows: minmax(100px, auto);
|
|
12
|
-
grid-template-columns: repeat(8, 1fr);
|
|
13
|
-
}
|
package/src/test/setup.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
package/src/test/utils.ts
DELETED
package/src/themes/dark.scss
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
.lc-dark-theme {
|
|
2
|
-
--background: #131317;
|
|
3
|
-
--surface-basic-default: #202024;
|
|
4
|
-
--surface-basic-subtle: #29292f;
|
|
5
|
-
--surface-basic-hover: rgba(255, 255, 255, 0.1);
|
|
6
|
-
--surface-basic-active: rgba(255, 255, 255, 0.2);
|
|
7
|
-
--surface-basic-disabled: #2d2d32;
|
|
8
|
-
--surface-secondary-default: #767680;
|
|
9
|
-
--surface-secondary-subtle: #3b3b43;
|
|
10
|
-
--surface-secondary-hover: #ababb1;
|
|
11
|
-
--surface-secondary-disabled: #3b3b43;
|
|
12
|
-
--surface-feedback-info: #323640;
|
|
13
|
-
--surface-feedback-negative: #3a3136;
|
|
14
|
-
--surface-feedback-warning: #3a362b;
|
|
15
|
-
--surface-feedback-positive: #263532;
|
|
16
|
-
--surface-invert-default: #eeeeef;
|
|
17
|
-
--surface-invert-subtle: #c9c9cd;
|
|
18
|
-
--surface-invert-disabled: #29292f;
|
|
19
|
-
--surface-overlay: rgba(19, 19, 23, 0.9);
|
|
20
|
-
--content-default: rgba(255, 255, 255, 0.8);
|
|
21
|
-
--content-subtle: rgba(255, 255, 255, 0.6);
|
|
22
|
-
--content-disabled: rgba(255, 255, 255, 0.4);
|
|
23
|
-
--content-white-locked: #fff;
|
|
24
|
-
--content-invert-default: #131317;
|
|
25
|
-
--content-invert-subtle: rgba(19, 19, 23, 0.7);
|
|
26
|
-
--content-invert-disabled: rgba(19, 19, 23, 0.3);
|
|
27
|
-
--border-default: rgba(255, 255, 255, 0.4);
|
|
28
|
-
--border-subtle: rgba(255, 255, 255, 0.1);
|
|
29
|
-
--border-hover: rgba(255, 255, 255, 0.6);
|
|
30
|
-
--border-disabled: rgba(255, 255, 255, 0.5);
|
|
31
|
-
--border-invert-default: rgba(19, 19, 23, 0.5);
|
|
32
|
-
--border-invert-subtle: rgba(19, 19, 23, 0.1);
|
|
33
|
-
--border-invert-hover: rgba(19, 19, 23, 0.7);
|
|
34
|
-
--border-invert-disabled: rgba(19, 19, 23, 0.3);
|
|
35
|
-
--color-action-active: #b6d5fb;
|
|
36
|
-
--color-action-hover: #8abbf9;
|
|
37
|
-
--color-action-default: #6daaf8;
|
|
38
|
-
--color-action-default-rgb: 157, 206, 255;
|
|
39
|
-
--color-action-disabled: #6daaf8;
|
|
40
|
-
--color-negative-active: #ffe5e5;
|
|
41
|
-
--color-negative-hover: #ffb7b7;
|
|
42
|
-
--color-negative-default: #ff4c4d;
|
|
43
|
-
--color-negative-disabled: rgba(255, 76, 77, 0.3);
|
|
44
|
-
--color-warning-default: #fed65e;
|
|
45
|
-
--color-warning-hover: #fedc89;
|
|
46
|
-
--color-positive-default: #00c057;
|
|
47
|
-
--color-positive-hover: #00e066;
|
|
48
|
-
--color-positive-disabled: #4d735e;
|
|
49
|
-
--color-bot: #50009c;
|
|
50
|
-
--color-black: #131317;
|
|
51
|
-
--color-white: #fff;
|
|
52
|
-
--decor-blue900: #003288;
|
|
53
|
-
--decor-blue800: #003fa4;
|
|
54
|
-
--decor-blue700: #004bc2;
|
|
55
|
-
--decor-blue600: #0059e1;
|
|
56
|
-
--decor-blue500: #06f;
|
|
57
|
-
--decor-blue400: #328dff;
|
|
58
|
-
--decor-blue300: #68afff;
|
|
59
|
-
--decor-blue200: #9dceff;
|
|
60
|
-
--decor-blue100: #daedff;
|
|
61
|
-
--decor-blue50: #f4faff;
|
|
62
|
-
--decor-orange900: #6c1d00;
|
|
63
|
-
--decor-orange800: #842600;
|
|
64
|
-
--decor-orange700: #9c2e00;
|
|
65
|
-
--decor-orange600: #b43700;
|
|
66
|
-
--decor-orange500: #d54300;
|
|
67
|
-
--decor-orange400: #ff5100;
|
|
68
|
-
--decor-orange300: #ff8a77;
|
|
69
|
-
--decor-orange200: #ffb8af;
|
|
70
|
-
--decor-orange100: #ffe5e3;
|
|
71
|
-
--decor-orange50: #fff8f7;
|
|
72
|
-
--decor-yellow900: #493700;
|
|
73
|
-
--decor-yellow800: #755b00;
|
|
74
|
-
--decor-yellow700: #c9a100;
|
|
75
|
-
--decor-yellow600: #e8bb00;
|
|
76
|
-
--decor-yellow500: #f3c600;
|
|
77
|
-
--decor-yellow400: #d1aa00;
|
|
78
|
-
--decor-yellow300: #fed65e;
|
|
79
|
-
--decor-yellow200: #fedc89;
|
|
80
|
-
--decor-yellow100: #fff2d6;
|
|
81
|
-
--decor-yellow50: #fff9ed;
|
|
82
|
-
--decor-gray950: #131317;
|
|
83
|
-
--decor-gray900: #1b1b20;
|
|
84
|
-
--decor-gray800: #29292f;
|
|
85
|
-
--decor-gray700: #3b3b43;
|
|
86
|
-
--decor-gray600: #4e4e58;
|
|
87
|
-
--decor-gray500: #62626d;
|
|
88
|
-
--decor-gray400: #767680;
|
|
89
|
-
--decor-gray300: #8d8d95;
|
|
90
|
-
--decor-gray200: #ababb1;
|
|
91
|
-
--decor-gray150: #c9c9cd;
|
|
92
|
-
--decor-gray100: #c9c9cd;
|
|
93
|
-
--decor-gray75: #eeeeef;
|
|
94
|
-
--decor-gray50: #e2e2e4;
|
|
95
|
-
--decor-gray40: #eeeeef;
|
|
96
|
-
--decor-gray20: #fcfcfc;
|
|
97
|
-
--decor-green900: #00431a;
|
|
98
|
-
--decor-green800: #005321;
|
|
99
|
-
--decor-green700: #006329;
|
|
100
|
-
--decor-green600: #007331;
|
|
101
|
-
--decor-green500: #00893c;
|
|
102
|
-
--decor-green400: #00a449;
|
|
103
|
-
--decor-green300: #00c057;
|
|
104
|
-
--decor-green200: #7edd92;
|
|
105
|
-
--decor-green100: #e4f4ed;
|
|
106
|
-
--decor-green50: #f3fcf4;
|
|
107
|
-
--decor-red900: #790002;
|
|
108
|
-
--decor-red800: #930002;
|
|
109
|
-
--decor-red700: #ae0003;
|
|
110
|
-
--decor-red600: #ca0005;
|
|
111
|
-
--decor-red500: #ee0007;
|
|
112
|
-
--decor-red400: #ff4c4d;
|
|
113
|
-
--decor-red300: #ff8889;
|
|
114
|
-
--decor-red200: #ffb7b7;
|
|
115
|
-
--decor-red100: #ffe5e5;
|
|
116
|
-
--decor-red50: #fff8f8;
|
|
117
|
-
--decor-purple900: #50009c;
|
|
118
|
-
--decor-purple800: #6100bd;
|
|
119
|
-
--decor-purple700: #7400df;
|
|
120
|
-
--decor-purple600: #8609ff;
|
|
121
|
-
--decor-purple500: #9146ff;
|
|
122
|
-
--decor-purple400: #a372ff;
|
|
123
|
-
--decor-purple300: #b99aff;
|
|
124
|
-
--decor-purple200: #d1c0ff;
|
|
125
|
-
--decor-purple100: #eee8ff;
|
|
126
|
-
--decor-purple50: #faf8ff;
|
|
127
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
export const DesignTokens = {
|
|
2
|
-
Background: '--background',
|
|
3
|
-
SurfaceBasicDefault: '--surface-basic-default',
|
|
4
|
-
SurfaceBasicSubtle: '--surface-basic-subtle',
|
|
5
|
-
SurfaceBasicHover: '--surface-basic-hover',
|
|
6
|
-
SurfaceBasicActive: '--surface-basic-active',
|
|
7
|
-
SurfaceBasicDisabled: '--surface-basic-disabled',
|
|
8
|
-
SurfaceSecondaryDefault: '--surface-secondary-default',
|
|
9
|
-
SurfaceSecondarySubtle: '--surface-secondary-subtle',
|
|
10
|
-
SurfaceSecondaryHover: '--surface-secondary-hover',
|
|
11
|
-
SurfaceSecondaryDisabled: '--surface-secondary-disabled',
|
|
12
|
-
SurfaceFeedbackInfo: '--surface-feedback-info',
|
|
13
|
-
SurfaceFeedbackNegative: '--surface-feedback-negative',
|
|
14
|
-
SurfaceFeedbackWarning: '--surface-feedback-warning',
|
|
15
|
-
SurfaceFeedbackPositive: '--surface-feedback-positive',
|
|
16
|
-
SurfaceInvertDefault: '--surface-invert-default',
|
|
17
|
-
SurfaceInvertSubtle: '--surface-invert-subtle',
|
|
18
|
-
SurfaceInvertDisabled: '--surface-invert-disabled',
|
|
19
|
-
SurfaceOverlay: '--surface-overlay',
|
|
20
|
-
ContentDefault: '--content-default',
|
|
21
|
-
ContentSubtle: '--content-subtle',
|
|
22
|
-
ContentDisabled: '--content-disabled',
|
|
23
|
-
ContentWhiteLocked: '--content-white-locked',
|
|
24
|
-
ContentInvertDefault: '--content-invert-default',
|
|
25
|
-
ContentInvertSubtle: '--content-invert-subtle',
|
|
26
|
-
ContentInvertDisabled: '--content-invert-disabled',
|
|
27
|
-
BorderDefault: '--border-default',
|
|
28
|
-
BorderSubtle: '--border-subtle',
|
|
29
|
-
BorderHover: '--border-hover',
|
|
30
|
-
BorderDisabled: '--border-disabled',
|
|
31
|
-
BorderInvertDefault: '--border-invert-default',
|
|
32
|
-
BorderInvertSubtle: '--border-invert-subtle',
|
|
33
|
-
BorderInvertHover: '--border-invert-hover',
|
|
34
|
-
BorderInvertDisabled: '--border-invert-disabled',
|
|
35
|
-
ColorActionActive: '--color-action-active',
|
|
36
|
-
ColorActionHover: '--color-action-hover',
|
|
37
|
-
ColorActionDefault: '--color-action-default',
|
|
38
|
-
ColorActionDisabled: '--color-action-disabled',
|
|
39
|
-
ColorNegativeActive: '--color-negative-active',
|
|
40
|
-
ColorNegativeHover: '--color-negative-hover',
|
|
41
|
-
ColorNegativeDefault: '--color-negative-default',
|
|
42
|
-
ColorNegativeDisabled: '--color-negative-disabled',
|
|
43
|
-
ColorWarningDefault: '--color-warning-default',
|
|
44
|
-
ColorWarningHover: '--color-warning-hover',
|
|
45
|
-
ColorPositiveDefault: '--color-positive-default',
|
|
46
|
-
ColorPositiveHover: '--color-positive-hover',
|
|
47
|
-
ColorPositiveDisabled: '--color-positive-disabled',
|
|
48
|
-
ColorBot: '--color-bot',
|
|
49
|
-
ColorBlack: '--color-black',
|
|
50
|
-
ColorWhite: '--color-white',
|
|
51
|
-
DecorBlue900: '--decor-blue900',
|
|
52
|
-
DecorBlue800: '--decor-blue800',
|
|
53
|
-
DecorBlue700: '--decor-blue700',
|
|
54
|
-
DecorBlue600: '--decor-blue600',
|
|
55
|
-
DecorBlue500: '--decor-blue500',
|
|
56
|
-
DecorBlue400: '--decor-blue400',
|
|
57
|
-
DecorBlue300: '--decor-blue300',
|
|
58
|
-
DecorBlue200: '--decor-blue200',
|
|
59
|
-
DecorBlue100: '--decor-blue100',
|
|
60
|
-
DecorBlue50: '--decor-blue50',
|
|
61
|
-
DecorOrange900: '--decor-orange900',
|
|
62
|
-
DecorOrange800: '--decor-orange800',
|
|
63
|
-
DecorOrange700: '--decor-orange700',
|
|
64
|
-
DecorOrange600: '--decor-orange600',
|
|
65
|
-
DecorOrange500: '--decor-orange500',
|
|
66
|
-
DecorOrange400: '--decor-orange400',
|
|
67
|
-
DecorOrange300: '--decor-orange300',
|
|
68
|
-
DecorOrange200: '--decor-orange200',
|
|
69
|
-
DecorOrange100: '--decor-orange100',
|
|
70
|
-
DecorOrange50: '--decor-orange50',
|
|
71
|
-
DecorYellow900: '--decor-yellow900',
|
|
72
|
-
DecorYellow800: '--decor-yellow800',
|
|
73
|
-
DecorYellow700: '--decor-yellow700',
|
|
74
|
-
DecorYellow600: '--decor-yellow600',
|
|
75
|
-
DecorYellow500: '--decor-yellow500',
|
|
76
|
-
DecorYellow400: '--decor-yellow400',
|
|
77
|
-
DecorYellow300: '--decor-yellow300',
|
|
78
|
-
DecorYellow200: '--decor-yellow200',
|
|
79
|
-
DecorYellow100: '--decor-yellow100',
|
|
80
|
-
DecorYellow50: '--decor-yellow50',
|
|
81
|
-
DecorGray950: '--decor-gray950',
|
|
82
|
-
DecorGray900: '--decor-gray900',
|
|
83
|
-
DecorGray800: '--decor-gray800',
|
|
84
|
-
DecorGray700: '--decor-gray700',
|
|
85
|
-
DecorGray600: '--decor-gray600',
|
|
86
|
-
DecorGray500: '--decor-gray500',
|
|
87
|
-
DecorGray400: '--decor-gray400',
|
|
88
|
-
DecorGray300: '--decor-gray300',
|
|
89
|
-
DecorGray200: '--decor-gray200',
|
|
90
|
-
DecorGray150: '--decor-gray150',
|
|
91
|
-
DecorGray100: '--decor-gray100',
|
|
92
|
-
DecorGray75: '--decor-gray75',
|
|
93
|
-
DecorGray50: '--decor-gray50',
|
|
94
|
-
DecorGray40: '--decor-gray40',
|
|
95
|
-
DecorGray20: '--decor-gray20',
|
|
96
|
-
DecorGreen900: '--decor-green900',
|
|
97
|
-
DecorGreen800: '--decor-green800',
|
|
98
|
-
DecorGreen700: '--decor-green700',
|
|
99
|
-
DecorGreen600: '--decor-green600',
|
|
100
|
-
DecorGreen500: '--decor-green500',
|
|
101
|
-
DecorGreen400: '--decor-green400',
|
|
102
|
-
DecorGreen300: '--decor-green300',
|
|
103
|
-
DecorGreen200: '--decor-green200',
|
|
104
|
-
DecorGreen100: '--decor-green100',
|
|
105
|
-
DecorGreen50: '--decor-green50',
|
|
106
|
-
DecorRed900: '--decor-red900',
|
|
107
|
-
DecorRed800: '--decor-red800',
|
|
108
|
-
DecorRed700: '--decor-red700',
|
|
109
|
-
DecorRed600: '--decor-red600',
|
|
110
|
-
DecorRed500: '--decor-red500',
|
|
111
|
-
DecorRed400: '--decor-red400',
|
|
112
|
-
DecorRed300: '--decor-red300',
|
|
113
|
-
DecorRed200: '--decor-red200',
|
|
114
|
-
DecorRed100: '--decor-red100',
|
|
115
|
-
DecorRed50: '--decor-red50',
|
|
116
|
-
DecorPurple900: '--decor-purple900',
|
|
117
|
-
DecorPurple800: '--decor-purple800',
|
|
118
|
-
DecorPurple700: '--decor-purple700',
|
|
119
|
-
DecorPurple600: '--decor-purple600',
|
|
120
|
-
DecorPurple500: '--decor-purple500',
|
|
121
|
-
DecorPurple400: '--decor-purple400',
|
|
122
|
-
DecorPurple300: '--decor-purple300',
|
|
123
|
-
DecorPurple200: '--decor-purple200',
|
|
124
|
-
DecorPurple100: '--decor-purple100',
|
|
125
|
-
DecorPurple50: '--decor-purple50',
|
|
126
|
-
};
|