@capillarytech/blaze-ui 0.1.6-alpha.3 → 0.1.6-alpha.32
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/components/CapInput/CapInput.js +60 -0
- package/components/CapInput/Number.js +39 -0
- package/components/CapInput/Search.js +34 -0
- package/components/CapInput/TextArea.js +41 -0
- package/components/CapInput/index.js +13 -0
- package/components/CapInput/messages.js +24 -0
- package/components/CapInput/styles.js +8 -0
- package/components/CapSkeleton/CapSkeleton.js +24 -0
- package/components/CapSkeleton/index.js +7 -0
- package/components/CapSpin/CapSpin.js +30 -0
- package/components/CapSpin/index.js +7 -0
- package/components/CapTable/CapTable.js +118 -0
- package/components/CapTable/index.js +7 -0
- package/components/CapTable/loadable.js +18 -0
- package/components/CapTable/styles.js +23 -0
- package/components/CapTestSelect/CapTestSelect.js +36 -0
- package/components/CapTestSelect/index.js +7 -0
- package/components/CapUnifiedSelect/CapUnifiedSelect.js +359 -0
- package/components/CapUnifiedSelect/index.js +7 -0
- package/components/CapUnifiedSelect/messages.js +27 -0
- package/components/CapUnifiedSelect/styles.js +36 -0
- package/components/LocaleHoc/index.js +42 -0
- package/components/index.js +33 -0
- package/components/styled/index.js +14 -0
- package/components/styled/variables.js +70 -0
- package/{translations → components/translations}/en.js +37 -35
- package/dist/components/CapSkeleton/CapSkeleton.js +29 -0
- package/dist/components/CapSkeleton/index.js +13 -0
- package/dist/components/CapSpin/CapSpin.js +35 -0
- package/dist/components/CapSpin/index.js +13 -0
- package/dist/{CapTable → components/CapTable}/loadable.js +4 -4
- package/dist/components/CapTestSelect/CapTestSelect.js +40 -0
- package/dist/components/CapTestSelect/index.js +13 -0
- package/dist/components/CapUnifiedSelect/CapUnifiedSelect.js +406 -0
- package/dist/components/CapUnifiedSelect/index.js +13 -0
- package/dist/components/CapUnifiedSelect/messages.js +29 -0
- package/dist/components/CapUnifiedSelect/styles.js +39 -0
- package/dist/{index.js → components/index.js} +27 -0
- package/dist/esm/{CapRow/CapRow.js → components/CapSkeleton/CapSkeleton.js} +12 -12
- package/dist/esm/components/CapSkeleton/index.js +1 -0
- package/dist/esm/components/CapSpin/CapSpin.js +28 -0
- package/dist/esm/components/CapSpin/index.js +1 -0
- package/dist/esm/components/CapTable/loadable.js +12 -0
- package/dist/esm/components/CapTestSelect/CapTestSelect.js +34 -0
- package/dist/esm/components/CapTestSelect/index.js +1 -0
- package/dist/esm/components/CapUnifiedSelect/CapUnifiedSelect.js +398 -0
- package/dist/esm/components/CapUnifiedSelect/index.js +1 -0
- package/dist/esm/components/CapUnifiedSelect/styles.js +31 -0
- package/dist/esm/{index.js → components/index.js} +5 -1
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/withStyles.js +23 -0
- package/dist/utils/index.js +13 -0
- package/dist/utils/withStyles.js +29 -0
- package/package.json +6 -10
- package/utils/index.js +7 -0
- package/utils/withStyles.js +15 -0
- package/CapHeading/CapHeading.js +0 -71
- package/CapHeading/index.js +0 -1
- package/CapHeading/styles.js +0 -125
- package/CapInfoNote/CapInfoNote.js +0 -54
- package/CapInfoNote/index.js +0 -1
- package/CapInfoNote/styles.js +0 -63
- package/CapInput/CapInput.js +0 -67
- package/CapInput/Number.js +0 -38
- package/CapInput/Search.js +0 -32
- package/CapInput/TextArea.js +0 -45
- package/CapInput/index.js +0 -10
- package/CapInput/loadable.js +0 -9
- package/CapInput/messages.js +0 -27
- package/CapInput/styles.js +0 -81
- package/CapLabel/CapLabel.js +0 -106
- package/CapLabel/index.js +0 -1
- package/CapLabel/styles.js +0 -221
- package/CapRow/CapRow.js +0 -22
- package/CapRow/index.js +0 -1
- package/CapRow/styles.js +0 -9
- package/CapTable/CapTable.js +0 -146
- package/CapTable/index.js +0 -3
- package/CapTable/loadable.js +0 -13
- package/CapTable/styles.js +0 -134
- package/CapTooltip/CapTooltip.js +0 -36
- package/CapTooltip/index.js +0 -1
- package/CapTooltip/styles.js +0 -42
- package/CapUnifiedSelect/CapUnifiedSelect.js +0 -121
- package/CapUnifiedSelect/index.js +0 -4
- package/CapUnifiedSelect/loadable.js +0 -3
- package/CapUnifiedSelect/messages.js +0 -24
- package/CapUnifiedSelect/styles.js +0 -223
- package/LocaleHoc/index.js +0 -38
- package/dist/235.index.js +0 -2
- package/dist/235.index.js.LICENSE.txt +0 -29
- package/dist/603.index.js +0 -1
- package/dist/esm/CapHeading/CapHeading.js +0 -41
- package/dist/esm/CapHeading/index.js +0 -1
- package/dist/esm/CapHeading/styles.js +0 -123
- package/dist/esm/CapInfoNote/CapInfoNote.js +0 -62
- package/dist/esm/CapInfoNote/index.js +0 -1
- package/dist/esm/CapInfoNote/styles.js +0 -6
- package/dist/esm/CapInput/loadable.js +0 -9
- package/dist/esm/CapLabel/CapLabel.js +0 -50
- package/dist/esm/CapLabel/index.js +0 -1
- package/dist/esm/CapLabel/styles.js +0 -219
- package/dist/esm/CapRow/index.js +0 -1
- package/dist/esm/CapRow/styles.js +0 -5
- package/dist/esm/CapTable/loadable.js +0 -12
- package/dist/esm/CapTooltip/CapTooltip.js +0 -34
- package/dist/esm/CapTooltip/index.js +0 -1
- package/dist/esm/CapTooltip/styles.js +0 -6
- package/dist/esm/CapUnifiedSelect/CapUnifiedSelect.js +0 -101
- package/dist/esm/CapUnifiedSelect/index.js +0 -3
- package/dist/esm/CapUnifiedSelect/loadable.js +0 -4
- package/dist/esm/CapUnifiedSelect/styles.js +0 -15
- package/dist/index.js.LICENSE.txt +0 -7
- package/index.js +0 -10
- package/styled/index.js +0 -6
- package/styled/variables.js +0 -89
- /package/dist/{CapInput → components/CapInput}/CapInput.js +0 -0
- /package/dist/{CapInput → components/CapInput}/Number.js +0 -0
- /package/dist/{CapInput → components/CapInput}/Search.js +0 -0
- /package/dist/{CapInput → components/CapInput}/TextArea.js +0 -0
- /package/dist/{CapInput → components/CapInput}/index.js +0 -0
- /package/dist/{CapInput → components/CapInput}/messages.js +0 -0
- /package/dist/{CapInput → components/CapInput}/styles.js +0 -0
- /package/dist/{CapTable → components/CapTable}/CapTable.js +0 -0
- /package/dist/{CapTable → components/CapTable}/index.js +0 -0
- /package/dist/{CapTable → components/CapTable}/styles.js +0 -0
- /package/dist/{LocaleHoc → components/LocaleHoc}/index.js +0 -0
- /package/dist/{styled → components/styled}/index.js +0 -0
- /package/dist/{styled → components/styled}/variables.js +0 -0
- /package/dist/{translations → components/translations}/en.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/CapInput.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/Number.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/Search.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/TextArea.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/index.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/messages.js +0 -0
- /package/dist/esm/{CapInput → components/CapInput}/styles.js +0 -0
- /package/dist/esm/{CapTable → components/CapTable}/CapTable.js +0 -0
- /package/dist/esm/{CapTable → components/CapTable}/index.js +0 -0
- /package/dist/esm/{CapTable → components/CapTable}/styles.js +0 -0
- /package/dist/esm/{CapUnifiedSelect → components/CapUnifiedSelect}/messages.js +0 -0
- /package/dist/esm/{LocaleHoc → components/LocaleHoc}/index.js +0 -0
- /package/dist/esm/{styled → components/styled}/index.js +0 -0
- /package/dist/esm/{styled → components/styled}/variables.js +0 -0
- /package/dist/esm/{translations → components/translations}/en.js +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
// CapUnifiedSelect component using Ant Design v5 Select and TreeSelect directly
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import { Select, TreeSelect } from 'antd';
|
|
6
|
-
import { SelectWrapper, HeaderWrapper, StyledInfoIcon } from './styles';
|
|
7
|
-
import CapLabel from '../CapLabel';
|
|
8
|
-
import CapTooltip from '../CapTooltip';
|
|
9
|
-
function CapUnifiedSelect(_ref) {
|
|
10
|
-
var type = _ref.type,
|
|
11
|
-
_ref$options = _ref.options,
|
|
12
|
-
options = _ref$options === void 0 ? [] : _ref$options,
|
|
13
|
-
treeData = _ref.treeData,
|
|
14
|
-
value = _ref.value,
|
|
15
|
-
onChange = _ref.onChange,
|
|
16
|
-
_ref$placeholder = _ref.placeholder,
|
|
17
|
-
placeholder = _ref$placeholder === void 0 ? 'Select an option' : _ref$placeholder,
|
|
18
|
-
className = _ref.className,
|
|
19
|
-
style = _ref.style,
|
|
20
|
-
_ref$allowClear = _ref.allowClear,
|
|
21
|
-
allowClear = _ref$allowClear === void 0 ? false : _ref$allowClear,
|
|
22
|
-
_ref$showSearch = _ref.showSearch,
|
|
23
|
-
showSearch = _ref$showSearch === void 0 ? false : _ref$showSearch,
|
|
24
|
-
label = _ref.label,
|
|
25
|
-
tooltip = _ref.tooltip,
|
|
26
|
-
_ref$disabled = _ref.disabled,
|
|
27
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
28
|
-
var selectVirtualizationProps = {
|
|
29
|
-
listHeight: 256
|
|
30
|
-
};
|
|
31
|
-
var treeSelectVirtualizationProps = {
|
|
32
|
-
listHeight: 256,
|
|
33
|
-
listItemHeight: 32
|
|
34
|
-
};
|
|
35
|
-
var renderHeader = function renderHeader() {
|
|
36
|
-
if (!label && !tooltip) return null;
|
|
37
|
-
return /*#__PURE__*/React.createElement(HeaderWrapper, {
|
|
38
|
-
className: disabled ? 'disabled' : ''
|
|
39
|
-
}, label && /*#__PURE__*/React.createElement(CapLabel, {
|
|
40
|
-
type: "label16",
|
|
41
|
-
className: disabled ? 'disabled' : ''
|
|
42
|
-
}, label), tooltip && /*#__PURE__*/React.createElement(CapTooltip, {
|
|
43
|
-
title: tooltip
|
|
44
|
-
}, /*#__PURE__*/React.createElement(StyledInfoIcon, {
|
|
45
|
-
className: disabled ? 'disabled' : ''
|
|
46
|
-
})));
|
|
47
|
-
};
|
|
48
|
-
var renderDropdown = function renderDropdown() {
|
|
49
|
-
if (type === 'treeSelect' || type === 'multiTreeSelect') {
|
|
50
|
-
return /*#__PURE__*/React.createElement(TreeSelect, _extends({
|
|
51
|
-
treeData: treeData || options,
|
|
52
|
-
value: value,
|
|
53
|
-
onChange: onChange,
|
|
54
|
-
placeholder: placeholder,
|
|
55
|
-
className: className,
|
|
56
|
-
style: style,
|
|
57
|
-
allowClear: allowClear,
|
|
58
|
-
showSearch: showSearch,
|
|
59
|
-
multiple: type === 'multiTreeSelect' ? true : false,
|
|
60
|
-
virtual: true,
|
|
61
|
-
treeDefaultExpandAll: true,
|
|
62
|
-
disabled: disabled
|
|
63
|
-
}, treeSelectVirtualizationProps));
|
|
64
|
-
}
|
|
65
|
-
return /*#__PURE__*/React.createElement(Select, _extends({
|
|
66
|
-
value: value,
|
|
67
|
-
onChange: onChange,
|
|
68
|
-
placeholder: placeholder,
|
|
69
|
-
className: className,
|
|
70
|
-
style: style,
|
|
71
|
-
allowClear: allowClear,
|
|
72
|
-
showSearch: showSearch,
|
|
73
|
-
options: options,
|
|
74
|
-
mode: type === 'multiSelect' ? 'multiple' : undefined,
|
|
75
|
-
virtual: true,
|
|
76
|
-
disabled: disabled
|
|
77
|
-
}, selectVirtualizationProps));
|
|
78
|
-
};
|
|
79
|
-
return /*#__PURE__*/React.createElement(SelectWrapper, null, renderHeader(), renderDropdown());
|
|
80
|
-
}
|
|
81
|
-
CapUnifiedSelect.propTypes = {
|
|
82
|
-
type: PropTypes.oneOf(['select', 'multiSelect', 'treeSelect', 'multiTreeSelect']),
|
|
83
|
-
options: PropTypes.array,
|
|
84
|
-
treeData: PropTypes.array,
|
|
85
|
-
value: PropTypes.any,
|
|
86
|
-
onChange: PropTypes.func,
|
|
87
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
88
|
-
className: PropTypes.string,
|
|
89
|
-
style: PropTypes.object,
|
|
90
|
-
allowClear: PropTypes.bool,
|
|
91
|
-
showSearch: PropTypes.bool,
|
|
92
|
-
label: PropTypes.string,
|
|
93
|
-
tooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
94
|
-
disabled: PropTypes.bool
|
|
95
|
-
};
|
|
96
|
-
CapUnifiedSelect.defaultProps = {
|
|
97
|
-
type: 'select',
|
|
98
|
-
allowClear: false,
|
|
99
|
-
showSearch: false
|
|
100
|
-
};
|
|
101
|
-
export default CapUnifiedSelect;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components';
|
|
2
|
-
import * as styledVars from '../styled/variables';
|
|
3
|
-
export var SelectWrapper = styled.div.withConfig({
|
|
4
|
-
displayName: "SelectWrapper",
|
|
5
|
-
componentId: "sc-3v7xpu-0"
|
|
6
|
-
})(["display:flex;flex-direction:column;gap:8px;width:100%;&.disabled{cursor:not-allowed;}"]);
|
|
7
|
-
export var HeaderWrapper = styled.div.withConfig({
|
|
8
|
-
displayName: "HeaderWrapper",
|
|
9
|
-
componentId: "sc-3v7xpu-1"
|
|
10
|
-
})(["display:flex;align-items:center;gap:4px;&.disabled{opacity:0.5;cursor:not-allowed;}"]);
|
|
11
|
-
export var StyledInfoIcon = styled.span.withConfig({
|
|
12
|
-
displayName: "StyledInfoIcon",
|
|
13
|
-
componentId: "sc-3v7xpu-2"
|
|
14
|
-
})(["color:", ";font-size:16px;cursor:help;&:hover{color:", ";}&.disabled{cursor:not-allowed;&:hover{color:", ";}}"], styledVars.CAP_G2, styledVars.CAP_G1, styledVars.CAP_G2);
|
|
15
|
-
export var selectStyles = css(["&.cap-unified-select{width:100%;font-family:", ";.ant-select-selector{border-radius:", ";transition:", ";padding:0 12px;min-height:32px;display:flex;align-items:center;&:hover{border-color:", ";}}.cap-unified-select-right-slot{display:flex;align-items:center;gap:8px;margin-left:8px;}&.ant-select-focused{.ant-select-selector{border-color:", " !important;box-shadow:none !important;}}&.ant-select-status-error{.ant-select-selector{border-color:", ";}}&.ant-select-disabled{.ant-select-selector{background-color:", ";cursor:not-allowed;}}.ant-select-dropdown{padding:4px;border-radius:", ";box-shadow:0 2px 8px rgba(0,0,0,0.15);.ant-select-item{border-radius:", ";padding:8px 12px;transition:", ";&-option-selected{background-color:", ";color:", ";font-weight:500;}&-option-active{background-color:", ";}}.ant-select-search{padding:8px;input{border-radius:", ";transition:", ";&:focus{border-color:", ";box-shadow:none;}}}}&.ant-select-multiple{.ant-select-selection-item{background-color:", ";border-color:", ";border-radius:", ";color:", ";margin:2px 4px 2px 0;padding:0 8px;height:24px;line-height:22px;&-remove{color:", ";&:hover{color:", ";}}}.ant-select-selection-overflow{flex-wrap:wrap;gap:4px;}}.ant-select-tree{padding:4px 0;.ant-select-tree-node-content-wrapper{padding:4px 8px;border-radius:", ";transition:", ";&:hover{background-color:", ";}&.ant-select-tree-node-selected{background-color:", ";color:", ";font-weight:500;}}.ant-select-tree-switcher{width:24px;height:24px;line-height:24px;}.ant-select-tree-checkbox{margin:4px 8px 4px 0;}}&.ant-select-lg{.ant-select-selector{height:40px;padding:0 16px;}.ant-select-selection-item{height:28px;line-height:26px;}}&.ant-select-sm{.ant-select-selector{height:24px;padding:0 8px;}.ant-select-selection-item{height:20px;line-height:18px;}}&.ant-select-loading{.ant-select-arrow{.anticon-loading{color:", ";}}}}"], styledVars.FONT_FAMILY, styledVars.RADIUS_04, styledVars.TRANSITION_ALL, styledVars.CAP_G11, styledVars.CAP_G01, styledVars.CAP_RED, styledVars.CAP_G08, styledVars.RADIUS_04, styledVars.RADIUS_04, styledVars.TRANSITION_ALL, styledVars.CAP_PRIMARY.light, styledVars.CAP_PRIMARY.base, styledVars.CAP_G08, styledVars.RADIUS_04, styledVars.TRANSITION_ALL, styledVars.CAP_G01, styledVars.CAP_PRIMARY.light, styledVars.CAP_PRIMARY.light, styledVars.RADIUS_04, styledVars.CAP_PRIMARY.base, styledVars.CAP_PRIMARY.base, styledVars.CAP_PRIMARY.hover, styledVars.RADIUS_04, styledVars.TRANSITION_ALL, styledVars.CAP_G08, styledVars.CAP_PRIMARY.light, styledVars.CAP_PRIMARY.base, styledVars.CAP_PRIMARY.base);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** */
|
|
2
|
-
|
|
3
|
-
/** */
|
|
4
|
-
|
|
5
|
-
/** */
|
|
6
|
-
|
|
7
|
-
/** */
|
package/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Import and export all components
|
|
2
|
-
export { default as CapInput } from './CapInput';
|
|
3
|
-
export { default as CapTable } from './CapTable';
|
|
4
|
-
|
|
5
|
-
// Export utilities
|
|
6
|
-
export { default as LocaleHoc } from './LocaleHoc';
|
|
7
|
-
|
|
8
|
-
// Export styled utilities
|
|
9
|
-
export * as styledVars from './styled/variables';
|
|
10
|
-
export { default as styled } from './styled';
|
package/styled/index.js
DELETED
package/styled/variables.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/* Color Palette */
|
|
2
|
-
//========================
|
|
3
|
-
|
|
4
|
-
// Primary colors
|
|
5
|
-
export const CAP_PRIMARY = {
|
|
6
|
-
base: "#47af46",
|
|
7
|
-
hover: "#1f9a1d",
|
|
8
|
-
disabled: "#a1d8a0",
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
// Secondary colors
|
|
12
|
-
export const CAP_SECONDARY = {
|
|
13
|
-
base: "#2466ea",
|
|
14
|
-
light: 'rgba("#2466ea", 0.1)',
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
// Custom colors
|
|
18
|
-
export const CAP_ORANGE = "#f87d23";
|
|
19
|
-
export const CAP_ORANGE01 = "#ffe5d2";
|
|
20
|
-
export const CAP_ORANGE02 = "#fa7d02";
|
|
21
|
-
export const CAP_YELLOW = "#fec52e";
|
|
22
|
-
export const CAP_YELLOW01 = "#e8bc25";
|
|
23
|
-
export const CAP_YELLOW02 = "#f9d438";
|
|
24
|
-
export const CAP_BLUE = "#23cccc";
|
|
25
|
-
export const CAP_PURPLE = "#8517e5";
|
|
26
|
-
export const CAP_PINK = "#e51fa3";
|
|
27
|
-
export const CAP_RED = "#ea213a";
|
|
28
|
-
export const CAP_ICON = "#7a869a";
|
|
29
|
-
export const CAP_PALE_GREY = "#e9f0fe";
|
|
30
|
-
export const CAP_BLUE01 = "#2466eb";
|
|
31
|
-
export const CAP_BLUE02 = "#1d61ee";
|
|
32
|
-
export const CAP_RED01 = "#e51fa3";
|
|
33
|
-
export const CAP_RED02 = "#f5222d";
|
|
34
|
-
export const CAP_RED03 = "#ed1b34";
|
|
35
|
-
export const CAP_PURPLE01 = "#6563ff";
|
|
36
|
-
export const CAP_PURPLE02 = "#a451ff";
|
|
37
|
-
export const CAP_PURPLE03 = "#f2e7fe";
|
|
38
|
-
export const CAP_PURPLE04 = "#d4e1fc";
|
|
39
|
-
export const CAP_GREEN01 = "#6bb56b";
|
|
40
|
-
export const CAP_GREEN02 = "#ecf7ec";
|
|
41
|
-
|
|
42
|
-
// Grey colors
|
|
43
|
-
export const CAP_G01 = "#091e42";
|
|
44
|
-
export const CAP_G02 = "#253858";
|
|
45
|
-
export const CAP_G03 = "#42526e";
|
|
46
|
-
export const CAP_G04 = "#5e6c84";
|
|
47
|
-
export const CAP_G05 = "#97a0af";
|
|
48
|
-
export const CAP_G06 = "#b3bac5";
|
|
49
|
-
export const CAP_G07 = "#dfe2e7";
|
|
50
|
-
export const CAP_G08 = "#ebecf0";
|
|
51
|
-
export const CAP_G09 = "#f4f5f7";
|
|
52
|
-
export const CAP_G10 = "#fafbfc";
|
|
53
|
-
export const CAP_G11 = "#7a869a";
|
|
54
|
-
export const CAP_G12 = "#e8e8e8";
|
|
55
|
-
export const CAP_G13 = "#ecece7";
|
|
56
|
-
export const CAP_G14 = "#e9f0fd";
|
|
57
|
-
export const CAP_G15 = "#efefef";
|
|
58
|
-
export const CAP_G16 = "#2a2a2a";
|
|
59
|
-
export const CAP_G17 = "#7F8185";
|
|
60
|
-
export const CAP_G18 = "#dcdee2";
|
|
61
|
-
export const CAP_G19 = "#8a9ab2";
|
|
62
|
-
export const CAP_G20 = "#c2c2c2";
|
|
63
|
-
|
|
64
|
-
export const CAP_WHITE = "#ffffff";
|
|
65
|
-
export const CAP_BLACK = "#000000";
|
|
66
|
-
|
|
67
|
-
/* Fonts */
|
|
68
|
-
// ==============
|
|
69
|
-
export const FONT_FAMILY = '"Roboto", sans-serif';
|
|
70
|
-
export const FONT_WEIGHT_REGULAR = 400;
|
|
71
|
-
export const FONT_WEIGHT_MEDIUM = 500;
|
|
72
|
-
|
|
73
|
-
/* Spacing */
|
|
74
|
-
// ==============
|
|
75
|
-
export const SPACING_04 = "4px";
|
|
76
|
-
export const SPACING_08 = "8px";
|
|
77
|
-
export const SPACING_12 = "12px";
|
|
78
|
-
export const SPACING_16 = "16px";
|
|
79
|
-
export const SPACING_24 = "24px";
|
|
80
|
-
export const SPACING_32 = "32px";
|
|
81
|
-
|
|
82
|
-
/* Border Radius */
|
|
83
|
-
// ==============
|
|
84
|
-
export const RADIUS_04 = "4px";
|
|
85
|
-
export const RADIUS_08 = "8px";
|
|
86
|
-
|
|
87
|
-
/* Transition */
|
|
88
|
-
// ==============
|
|
89
|
-
export const TRANSITION_ALL = "all 0.3s ease";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|