@ntbjs/react-components 1.1.22 → 1.1.24
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/{ActionButton-607bc22f.js → ActionButton-5bc79370.js} +1 -1
- package/{Alert-7bbe87f3.js → Alert-edd9f6a7.js} +1 -1
- package/{AssetAction-7afc83d9.js → AssetAction-790fe46c.js} +71 -69
- package/{AssetPreviewTopBar-14bd42d0.js → AssetPreviewTopBar-6eaa7df8.js} +1 -1
- package/{Badge-dc50d116.js → Badge-00b2f311.js} +1 -1
- package/{Button-86626421.js → Button-82e91acb.js} +26 -26
- package/{Checkbox-876f71f0.js → Checkbox-c441fdba.js} +3 -3
- package/{CompactAutocompleteSelect-32a19c92.js → CompactAutocompleteSelect-a8ccfcad.js} +40 -40
- package/{CompactStarRating-ddbeaf93.js → CompactStarRating-3fa89ec7.js} +22 -22
- package/{CompactTextInput-337b6320.js → CompactTextInput-483d7ff1.js} +36 -26
- package/{ContextMenu-b6ba7a22.js → ContextMenu-9645746f.js} +1 -1
- package/{ContextMenuItem-30f7d64d.js → ContextMenuItem-ae252503.js} +1 -1
- package/InfoCard-005063b4.js +86 -0
- package/{InputGroup-d25c66ad.js → InputGroup-3598e37c.js} +1 -1
- package/{Instructions-dd2880ae.js → Instructions-2c2537ff.js} +13 -13
- package/{MultiLevelCheckboxSelect-cd1ced5d.js → MultiLevelCheckboxSelect-375c4785.js} +15 -15
- package/{MultiSelect-0cfc8d6c.js → MultiSelect-0bdad346.js} +24 -24
- package/{Popover-5e9ab515.js → Popover-f00121a3.js} +2 -2
- package/ProgressBar-7d31fd95.js +154 -0
- package/{Radio-8282d0d6.js → Radio-758fd8f3.js} +1 -1
- package/{SectionSeparator-c9ec6fac.js → SectionSeparator-43e1647d.js} +1 -1
- package/{Switch-57f729bb.js → Switch-26547abb.js} +1 -1
- package/{Tab-572141e4.js → Tab-d3ee0a3b.js} +1 -1
- package/{Tabs-9dbd5b85.js → Tabs-243c5e0b.js} +5 -5
- package/{TextArea-a125b7b3.js → TextArea-9c459b6e.js} +84 -60
- package/{TextInput-9e62ab60.js → TextInput-70cb3df7.js} +18 -18
- package/{Tooltip-5bbe5971.js → Tooltip-7dc4676b.js} +2 -2
- package/{VerificationStatusIcon-10460fe7.js → VerificationStatusIcon-f3c44ef8.js} +1 -1
- package/arrow-forward-d7c77ae3.js +37 -0
- package/data/Alert/index.js +2 -2
- package/data/Badge/index.js +2 -2
- package/data/Popover/index.js +3 -3
- package/data/Tab/index.js +2 -2
- package/data/Tabs/index.js +3 -3
- package/data/Tooltip/index.js +3 -3
- package/data/index.js +9 -9
- package/{defaultTheme-06b819a9.js → defaultTheme-24ea5c47.js} +1 -1
- package/icons/arrow-forward.svg +3 -0
- package/icons/index.js +2 -0
- package/inputs/ActionButton/index.js +2 -2
- package/inputs/Button/index.js +5 -5
- package/inputs/Checkbox/index.js +2 -2
- package/inputs/CompactAutocompleteSelect/index.js +11 -11
- package/inputs/CompactStarRating/index.js +10 -10
- package/inputs/CompactTextInput/index.js +10 -10
- package/inputs/MultiSelect/index.js +3 -3
- package/inputs/Radio/index.js +2 -2
- package/inputs/Switch/index.js +2 -2
- package/inputs/TextArea/index.js +10 -10
- package/inputs/TextInput/index.js +2 -2
- package/inputs/index.js +25 -25
- package/layout/InputGroup/index.js +2 -2
- package/layout/SectionSeparator/index.js +2 -2
- package/layout/index.js +3 -3
- package/package.json +2 -1
- package/{react-select-creatable.esm-3c7b7450.js → react-select-creatable.esm-09b1be95.js} +17 -12
- package/{shift-away-subtle-16a9f31b.js → shift-away-subtle-dce50395.js} +1 -1
- package/styles/config.scss +2 -0
- package/widgets/AssetGallery/index.js +32 -29
- package/widgets/AssetPreview/AssetPreviewTopBar/index.js +2 -2
- package/widgets/ContextMenu/ContextMenuItem/index.js +2 -2
- package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +1 -1
- package/widgets/ContextMenu/index.js +2 -2
- package/widgets/InfoCard/index.js +11 -0
- package/widgets/Instructions/index.js +13 -13
- package/widgets/ProgressBar/index.js +11 -0
- package/widgets/index.js +34 -29
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-24ea5c47.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var lodash = require('lodash');
|
|
6
6
|
var useMergedRefs = require('./useMergedRefs-b6d2f8fc.js');
|
|
7
7
|
var nanoid = require('nanoid');
|
|
8
|
-
require('./Alert-
|
|
9
|
-
require('./Badge-
|
|
10
|
-
require('./Popover-
|
|
11
|
-
require('./Tab-
|
|
12
|
-
require('./Tabs-
|
|
13
|
-
var Tooltip = require('./Tooltip-
|
|
14
|
-
require('./VerificationStatusIcon-
|
|
8
|
+
require('./Alert-edd9f6a7.js');
|
|
9
|
+
require('./Badge-00b2f311.js');
|
|
10
|
+
require('./Popover-f00121a3.js');
|
|
11
|
+
require('./Tab-d3ee0a3b.js');
|
|
12
|
+
require('./Tabs-243c5e0b.js');
|
|
13
|
+
var Tooltip = require('./Tooltip-7dc4676b.js');
|
|
14
|
+
require('./VerificationStatusIcon-f3c44ef8.js');
|
|
15
15
|
var editNote = require('./edit-note-cefe2215.js');
|
|
16
16
|
var styled = require('styled-components');
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
20
20
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
21
21
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
22
22
|
|
|
23
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46;
|
|
23
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46;
|
|
24
24
|
var fadeInCheck = styled.keyframes(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n from {\n opacity: 0\n }\n to {\n opacity: 1\n }\n"])));
|
|
25
25
|
var fadeOutCheck = styled.keyframes(_templateObject2 || (_templateObject2 = defaultTheme._taggedTemplateLiteral(["\n from {\n opacity: 1\n }\n to {\n opacity: 0\n }\n"])));
|
|
26
26
|
var activeLabel = styled.css(_templateObject3 || (_templateObject3 = defaultTheme._taggedTemplateLiteral(["\n font-size: 0.75rem;\n padding: 0 3px;\n top: -7px;\n letter-spacing: 0.03em;\n left: 8px !important;\n opacity: 1 !important;\n"])));
|
|
@@ -42,88 +42,112 @@ var errorPlaceholderHover = styled.css(_templateObject8 || (_templateObject8 = d
|
|
|
42
42
|
return props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('red-600'), props.theme.getColor('red-600'), 1);
|
|
43
43
|
});
|
|
44
44
|
var TextAreaContainter = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject9 || (_templateObject9 = defaultTheme._taggedTemplateLiteral(["\n display: flex;\n"])));
|
|
45
|
-
var Label = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(
|
|
45
|
+
var Label = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(_templateObject0 || (_templateObject0 = defaultTheme._taggedTemplateLiteral(["\n ", ";\n flex-basis: 33.33%;\n font-size: 0.875rem;\n line-height: 1rem;\n height: 19px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-top: 13px;\n ", "\n"])), function (props) {
|
|
46
46
|
return props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700'));
|
|
47
47
|
}, function (props) {
|
|
48
|
-
return props.disabled && styled.css(
|
|
48
|
+
return props.disabled && styled.css(_templateObject1 || (_templateObject1 = defaultTheme._taggedTemplateLiteral(["\n cursor: not-allowed;\n "])));
|
|
49
49
|
});
|
|
50
|
-
var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(
|
|
50
|
+
var InputIconContainer = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject10 || (_templateObject10 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0;\n pointer-events: none;\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n display: flex;\n align-items: flex-start;\n\n position: absolute;\n right: 15px;\n top: 10px;\n bottom: 0;\n > .smallPadingIcon {\n padding: 4px;\n width: 15px;\n height: 15px;\n border-radius: 5px;\n opacity: 1;\n margin-top: -5px;\n ", "\n }\n svg {\n width: 15px;\n opacity: 0.7;\n transition: opacity 250ms;\n\n ", "\n }\n"])), function (props) {
|
|
51
51
|
return props.theme.themeProp('background-color', props.theme.getColor('gray-900'), props.theme.getColor('gray-300'), '!important');
|
|
52
52
|
}, function (props) {
|
|
53
|
-
return props.disabled && styled.css(
|
|
53
|
+
return props.disabled && styled.css(_templateObject11 || (_templateObject11 = defaultTheme._taggedTemplateLiteral(["\n display: none;\n "])));
|
|
54
54
|
});
|
|
55
|
-
var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.applyDefaultTheme)(
|
|
56
|
-
return props.
|
|
57
|
-
}, function (props) {
|
|
58
|
-
return props.theme.themeProp('color', 'white', 'black');
|
|
55
|
+
var TextInputField = styled__default["default"].textarea.attrs(defaultTheme.applyDefaultTheme)(_templateObject12 || (_templateObject12 = defaultTheme._taggedTemplateLiteral(["\n width: 100%;\n font-family: inherit;\n font-size: 0.875rem;\n border-radius: 3px;\n padding: 5px 10px;\n resize: vertical;\n z-index: 0;\n box-sizing: border-box;\n appearance: none;\n border: 1px solid;\n transition: height 550ms ease-in-out, border-color 350ms, background 350ms;\n\n ", "\n\n ", "\n\n ", "\n\n\n ", "\n\n ", "\n\n\n ", " \n\n ", "\n\n ", "\n\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n &&:hover:not(:focus) {\n ", "\n\n ", "\n\n ", "\n\n & + ", " {\n opacity: 1;\n ", "\n }\n }\n\n &::placeholder {\n ", "\n ", "\n ", "\n }\n\n &:hover::placeholder {\n ", "\n ", "\n }\n\n &:focus::placeholder {\n ", "\n ", "\n }\n\n &&:focus {\n outline: none;\n\n ", "\n }\n\n &&:not(:hover):not(:focus) {\n ", "\n\n ", "\n\n ", "\n }\n"])), function (props) {
|
|
56
|
+
return props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'));
|
|
59
57
|
}, function (props) {
|
|
60
|
-
return props.
|
|
58
|
+
return props.borderRadius && styled.css(_templateObject13 || (_templateObject13 = defaultTheme._taggedTemplateLiteral(["\n border-radius: ", "px;\n "])), props.borderRadius);
|
|
61
59
|
}, function (props) {
|
|
62
|
-
|
|
60
|
+
if (props.type === 'error') {
|
|
61
|
+
return styled.css(_templateObject14 || (_templateObject14 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#7f1b1b', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6'));
|
|
62
|
+
} else if (props.type === 'warning') {
|
|
63
|
+
return styled.css(_templateObject15 || (_templateObject15 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#634E01', '#FFFDE8'), props.theme.themeProp('border-color', '#634E01', '#FFFDE8'));
|
|
64
|
+
} else if (props.type === 'error-border') {
|
|
65
|
+
return styled.css(_templateObject16 || (_templateObject16 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')), props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('white')), props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
|
|
66
|
+
} else if (props.type === 'warning-border') {
|
|
67
|
+
return styled.css(_templateObject17 || (_templateObject17 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')), props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('white')), props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
|
|
68
|
+
} else {
|
|
69
|
+
return styled.css(_templateObject18 || (_templateObject18 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')), props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('white')), props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400')));
|
|
70
|
+
}
|
|
63
71
|
}, function (props) {
|
|
64
|
-
return props.
|
|
72
|
+
return props.readOnly && styled.css(_templateObject19 || (_templateObject19 = defaultTheme._taggedTemplateLiteral(["\n cursor: default;\n border-color: transparent !important;\n padding: 12px 10px;\n "])));
|
|
65
73
|
}, function (props) {
|
|
66
|
-
return props.
|
|
74
|
+
return props.disabled && styled.css(_templateObject20 || (_templateObject20 = defaultTheme._taggedTemplateLiteral(["\n cursor: not-allowed;\n "])));
|
|
67
75
|
}, function (props) {
|
|
68
|
-
return props.
|
|
69
|
-
}, function (props) {
|
|
70
|
-
return props.noBorder && styled.css(_templateObject18 || (_templateObject18 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
76
|
+
return props.noBorder && !props.type && styled.css(_templateObject21 || (_templateObject21 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
71
77
|
return props.theme.themeProp('border-color', props.theme.getColor('gray-900'), props.theme.getColor('white'));
|
|
72
78
|
});
|
|
73
79
|
}, function (props) {
|
|
74
|
-
return props.type === 'warning' && styled.css(
|
|
75
|
-
}, function (props) {
|
|
76
|
-
return props.type === 'error' && styled.css(_templateObject20 || (_templateObject20 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('color', 'white', 'black'), props.theme.themeProp('background', '#7f1b1b', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6'));
|
|
77
|
-
}, function (props) {
|
|
78
|
-
return props.noBorder && props.type === 'warning' && styled.css(_templateObject21 || (_templateObject21 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
80
|
+
return props.noBorder && props.type === 'warning' && styled.css(_templateObject22 || (_templateObject22 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
79
81
|
return props.theme.themeProp('border-color', '#634E01', '#FFFDE8');
|
|
80
82
|
});
|
|
81
83
|
}, function (props) {
|
|
82
|
-
return props.noBorder && props.type === 'error' && styled.css(
|
|
84
|
+
return props.noBorder && props.type === 'error' && styled.css(_templateObject23 || (_templateObject23 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
83
85
|
return props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6');
|
|
84
86
|
});
|
|
85
87
|
}, function (props) {
|
|
86
|
-
return props.
|
|
87
|
-
}, function (props) {
|
|
88
|
-
return props.type === 'error-border' && styled.css(_templateObject24 || (_templateObject24 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('border-color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
|
|
88
|
+
return props.padding === 'small' && styled.css(_templateObject24 || (_templateObject24 = defaultTheme._taggedTemplateLiteral(["\n padding: 5px 10px;\n "])));
|
|
89
89
|
}, function (props) {
|
|
90
|
-
return props.padding === '
|
|
90
|
+
return props.padding === 'medium' && styled.css(_templateObject25 || (_templateObject25 = defaultTheme._taggedTemplateLiteral(["\n padding: 13px 15px;\n "])));
|
|
91
91
|
}, function (props) {
|
|
92
|
-
return props.padding === '
|
|
92
|
+
return props.padding === 'large' && styled.css(_templateObject26 || (_templateObject26 = defaultTheme._taggedTemplateLiteral(["\n padding: 15px 55px;\n "])));
|
|
93
93
|
}, function (props) {
|
|
94
|
-
return props.
|
|
94
|
+
return props.hasIcon && styled.css(_templateObject27 || (_templateObject27 = defaultTheme._taggedTemplateLiteral(["\n padding-left: 55px;\n padding-right: 35px;\n padding-top: 13.5px;\n "])));
|
|
95
95
|
}, function (props) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
if (props.disabled) {
|
|
97
|
+
return '';
|
|
98
|
+
}
|
|
99
|
+
if (props.readOnly) {
|
|
100
|
+
if (props.type === 'error') {
|
|
101
|
+
return props.theme.themeProp('background', '#7f1b1b', '#FBEAE6');
|
|
102
|
+
} else if (props.type === 'warning') {
|
|
103
|
+
return props.theme.themeProp('background', '#634E01', '#FFFDE8');
|
|
104
|
+
}
|
|
105
|
+
return '';
|
|
106
|
+
}
|
|
107
|
+
if (props.type === 'error') {
|
|
108
|
+
return props.theme.themeProp('background', '#901d1d', '#F7D5D0');
|
|
109
|
+
} else if (props.type === 'warning') {
|
|
110
|
+
return props.theme.themeProp('background', '#806403', '#FFFEBF');
|
|
111
|
+
} else if (!props.disabled) {
|
|
112
|
+
return props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100'));
|
|
113
|
+
}
|
|
114
|
+
return '';
|
|
99
115
|
}, function (props) {
|
|
100
116
|
return props.edit && props.theme.themeProp('border-color', props.theme.getColor('gray-700'), props.theme.getColor('gray-100'));
|
|
101
117
|
}, function (props) {
|
|
102
|
-
return props.type
|
|
103
|
-
}, function (props) {
|
|
104
|
-
return props.type === 'error' && props.theme.themeProp('background', '#901d1d', '#F7D5D0');
|
|
105
|
-
}, function (props) {
|
|
106
|
-
return props.noBorder && !props.readOnly && props.type != 'warning' && props.type != 'error' ? props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')) : 'background: transparent';
|
|
118
|
+
return props.noBorder && !props.readOnly && props.type !== 'warning' && props.type !== 'error' ? props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')) : '';
|
|
107
119
|
}, InputIconContainer, function (props) {
|
|
108
|
-
return props.type === 'success' && styled.css(
|
|
120
|
+
return props.type === 'success' && styled.css(_templateObject28 || (_templateObject28 = defaultTheme._taggedTemplateLiteral(["\n opacity: 0;\n "])));
|
|
109
121
|
}, placeholderBaseStyle, warningPlaceholder, errorPlaceholder, warningPlaceholderHover, errorPlaceholderHover, warningPlaceholderHover, errorPlaceholderHover, function (props) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return props.theme.themeProp('border-color', '#D83018', '#D83018');
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
if (props.readOnly) {
|
|
123
|
+
if (props.type === 'error') {
|
|
124
|
+
return props.theme.themeProp('background', '#7f1b1b', '#FBEAE6');
|
|
125
|
+
} else if (props.type === 'warning') {
|
|
126
|
+
return props.theme.themeProp('background', '#634E01', '#FFFDE8');
|
|
127
|
+
}
|
|
128
|
+
return '';
|
|
129
|
+
}
|
|
130
|
+
if (props.type === 'error') {
|
|
131
|
+
return styled.css(_templateObject29 || (_templateObject29 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('border-color', '#D83018', '#D83018'), props.theme.themeProp('background', 'white', 'white'), props.theme.themeProp('color', 'black', 'black'));
|
|
132
|
+
} else if (props.type === 'warning') {
|
|
133
|
+
return styled.css(_templateObject30 || (_templateObject30 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n "])), props.theme.themeProp('border-color', '#F4E21E', '#F4E21E'), props.theme.themeProp('background', 'white', 'white'), props.theme.themeProp('color', 'black', 'black'));
|
|
134
|
+
} else {
|
|
135
|
+
return styled.css(_templateObject31 || (_templateObject31 = defaultTheme._taggedTemplateLiteral(["\n ", "\n ", "\n "])), props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-600')), props.theme.themeProp('background', 'transparent', props.theme.getColor('white')));
|
|
136
|
+
}
|
|
137
|
+
}, function (props) {
|
|
138
|
+
if (props.edit) {
|
|
139
|
+
if (props.type === 'error') {
|
|
140
|
+
return props.theme.themeProp('background', '#7f1b1b', '#FEE2E2');
|
|
141
|
+
} else if (props.type === 'warning') {
|
|
142
|
+
return props.theme.themeProp('background', '#634E01', '#FFFDE8');
|
|
143
|
+
} else {
|
|
144
|
+
return props.theme.themeProp('background', 'rgba(39,39,42, 0.7)', 'rgba(244,244,245, 0.3)');
|
|
145
|
+
}
|
|
146
|
+
}
|
|
123
147
|
}, function (props) {
|
|
124
148
|
return props.edit && props.theme.themeProp('border-color', 'rgba(39,39,42, 0.7)', 'rgba(228,228,231, 0.3)');
|
|
125
149
|
}, function (props) {
|
|
126
|
-
return props.noBorder && props.edit && styled.css(_templateObject32 || (_templateObject32 = defaultTheme._taggedTemplateLiteral(["\n
|
|
150
|
+
return props.noBorder && props.edit && styled.css(_templateObject32 || (_templateObject32 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), function (props) {
|
|
127
151
|
return props.theme.themeProp('border-color', '#27272A', 'rgba(244,244,245, 0.3)');
|
|
128
152
|
});
|
|
129
153
|
});
|
|
@@ -142,7 +166,7 @@ var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.apply
|
|
|
142
166
|
var TextInputFieldIconAlert = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject38 || (_templateObject38 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 2.8px;\n display: flex;\n padding: 0 10px 0 30px;\n opacity: 0.6;\n transition: opacity 250ms;\n ", "\n svg {\n margin-top: 12px;\n width: 15px;\n }\n"])), function (props) {
|
|
143
167
|
return props.type === 'warning' && props.theme.themeProp('color', '#EAB308', '#2F2402');
|
|
144
168
|
});
|
|
145
|
-
var TextInput = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject39 || (_templateObject39 = defaultTheme._taggedTemplateLiteral(["\n position: relative;\n flex-basis: ", ";\n\n ", "\n\n ", "\n\n
|
|
169
|
+
var TextInput = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject39 || (_templateObject39 = defaultTheme._taggedTemplateLiteral(["\n position: relative;\n flex-basis: ", ";\n\n ", "\n\n ", "\n\n &:focus-within {\n ", " {\n ", ";\n }\n\n ", " {\n svg {\n opacity: 1;\n }\n }\n }\n\n ", ":not(:placeholder-shown) + ", " {\n ", ";\n ", "\n }\n"])), function (props) {
|
|
146
170
|
return props.$fieldLabel ? '66.66%' : '100%';
|
|
147
171
|
}, function (props) {
|
|
148
172
|
return props.readOnly && styled.css(_templateObject40 || (_templateObject40 = defaultTheme._taggedTemplateLiteral(["\n overflow: auto;\n "])));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-24ea5c47.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var nanoid = require('nanoid');
|
|
6
6
|
var useMergedRefs = require('./useMergedRefs-b6d2f8fc.js');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
15
15
|
|
|
16
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23
|
|
16
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23;
|
|
17
17
|
var activeLabel = styled.css(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n font-size: 0.75rem;\n padding: 0 3px;\n top: -7px;\n letter-spacing: 0.03em;\n left: 8px !important;\n opacity: 1 !important;\n"])));
|
|
18
18
|
var Adornment = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject2 || (_templateObject2 = defaultTheme._taggedTemplateLiteral(["\n flex-shrink: 0;\n font-family: inherit;\n font-size: 0.875rem;\n line-height: initial;\n padding: 13px 10px;\n\n ", "\n ", "\n border: 1px solid;\n ", "\n border-radius: 3px;\n ", "\n box-sizing: border-box;\n appearance: none;\n transition: border-color 350ms;\n height: 2.75rem;\n\n ", "\n ", "\n"])), function (props) {
|
|
19
19
|
return props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500'));
|
|
@@ -45,13 +45,13 @@ var TextInputField = styled__default["default"].input.attrs(defaultTheme.applyDe
|
|
|
45
45
|
}, function (props) {
|
|
46
46
|
return props.noBorder || props.readOnly ? 'border-color: transparent !important' : props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-400'));
|
|
47
47
|
}, function (props) {
|
|
48
|
-
return props.readOnly && styled.css(
|
|
48
|
+
return props.readOnly && styled.css(_templateObject0 || (_templateObject0 = defaultTheme._taggedTemplateLiteral(["\n user-select: text;\n cursor: default;\n "])));
|
|
49
49
|
}, function (props) {
|
|
50
|
-
return props.warning && styled.css(
|
|
50
|
+
return props.warning && styled.css(_templateObject1 || (_templateObject1 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('orange-500'));
|
|
51
51
|
}, function (props) {
|
|
52
|
-
return props.error && styled.css(
|
|
52
|
+
return props.error && styled.css(_templateObject10 || (_templateObject10 = defaultTheme._taggedTemplateLiteral(["\n border-color: ", " !important;\n "])), props.theme.getColor('red-500'));
|
|
53
53
|
}, function (props) {
|
|
54
|
-
return props.hasIcon && styled.css(
|
|
54
|
+
return props.hasIcon && styled.css(_templateObject11 || (_templateObject11 = defaultTheme._taggedTemplateLiteral(["\n padding-left: 35px;\n "])));
|
|
55
55
|
}, function (props) {
|
|
56
56
|
return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600'), 1);
|
|
57
57
|
}, function (props) {
|
|
@@ -61,35 +61,35 @@ var TextInputField = styled__default["default"].input.attrs(defaultTheme.applyDe
|
|
|
61
61
|
}, InputIconContainer, function (props) {
|
|
62
62
|
return props.theme.getColor('gray-600');
|
|
63
63
|
}, function (props) {
|
|
64
|
-
return props.readOnly && styled.css(
|
|
64
|
+
return props.readOnly && styled.css(_templateObject12 || (_templateObject12 = defaultTheme._taggedTemplateLiteral(["\n outline: none;\n "])));
|
|
65
65
|
});
|
|
66
|
-
var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(
|
|
66
|
+
var TextInputLabel = styled__default["default"].label.attrs(defaultTheme.applyDefaultTheme)(_templateObject13 || (_templateObject13 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 15px;\n left: 11px;\n line-height: 1.2;\n font-size: 0.875rem;\n transition: all 150ms;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n ", "\n"])), function (props) {
|
|
67
67
|
return props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600'));
|
|
68
68
|
}, function (props) {
|
|
69
69
|
return props.theme.themeProp('opacity', 0.6, 0.5);
|
|
70
70
|
}, function (props) {
|
|
71
71
|
return props.theme.themeProp('background', "linear-gradient(0deg, ".concat(props.theme.getColor('gray-900'), " calc(50% + 1px), transparent 50%)"), "linear-gradient(0deg, ".concat(props.theme.getColor('white'), " calc(50% + 1px), transparent 50%)"));
|
|
72
72
|
}, function (props) {
|
|
73
|
-
return (props.hasPlaceholder || props.hasAdornments) && styled.css(
|
|
73
|
+
return (props.hasPlaceholder || props.hasAdornments) && styled.css(_templateObject14 || (_templateObject14 = defaultTheme._taggedTemplateLiteral(["\n ", ";\n "])), activeLabel);
|
|
74
74
|
}, function (props) {
|
|
75
|
-
return props.hasIcon && styled.css(
|
|
75
|
+
return props.hasIcon && styled.css(_templateObject15 || (_templateObject15 = defaultTheme._taggedTemplateLiteral(["\n left: 35px;\n "])));
|
|
76
76
|
});
|
|
77
|
-
var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(
|
|
78
|
-
var TextInput$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(
|
|
79
|
-
return props.disabled && styled.css(
|
|
77
|
+
var TextInputFieldIcon = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject16 || (_templateObject16 = defaultTheme._taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n height: 2.625rem;\n display: flex;\n padding: 0 10px;\n\n svg {\n width: 15px;\n opacity: 0.6;\n transition: opacity 250ms;\n }\n"])));
|
|
78
|
+
var TextInput$1 = styled__default["default"].div.attrs(defaultTheme.applyDefaultTheme)(_templateObject17 || (_templateObject17 = defaultTheme._taggedTemplateLiteral(["\n position: relative;\n\n ", "\n\n &:focus-within {\n ", " {\n ", ";\n }\n\n ", " {\n svg {\n opacity: 1;\n }\n }\n }\n\n ", ":not(:placeholder-shown) + ", " {\n ", ";\n ", "\n\n ", "\n ", " \n } \n \n}\n"])), function (props) {
|
|
79
|
+
return props.disabled && styled.css(_templateObject18 || (_templateObject18 = defaultTheme._taggedTemplateLiteral(["\n user-select: none;\n opacity: 0.5;\n cursor: not-allowed;\n > * {\n pointer-events: none;\n }\n "])));
|
|
80
80
|
}, TextInputLabel, activeLabel, TextInputFieldIcon, TextInputField, TextInputLabel, activeLabel, function (props) {
|
|
81
81
|
return props.error && props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500'));
|
|
82
82
|
}, function (props) {
|
|
83
|
-
return props.error && styled.css(
|
|
83
|
+
return props.error && styled.css(_templateObject19 || (_templateObject19 = defaultTheme._taggedTemplateLiteral(["\n color: ", ";\n "])), props.theme.getColor('red-500'));
|
|
84
84
|
}, function (props) {
|
|
85
|
-
return props.warning && styled.css(
|
|
85
|
+
return props.warning && styled.css(_templateObject20 || (_templateObject20 = defaultTheme._taggedTemplateLiteral(["\n color: ", ";\n "])), props.theme.getColor('orange-500'));
|
|
86
86
|
});
|
|
87
|
-
var Description = styled__default["default"].p.attrs(defaultTheme.applyDefaultTheme)(
|
|
87
|
+
var Description = styled__default["default"].p.attrs(defaultTheme.applyDefaultTheme)(_templateObject21 || (_templateObject21 = defaultTheme._taggedTemplateLiteral(["\n margin: 8px 0 0 0;\n padding: 0 0.6875rem;\n font-size: 0.75rem;\n line-height: 1.333;\n\n ", ";\n\n ", "\n\n ", "\n"])), function (props) {
|
|
88
88
|
return props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500'));
|
|
89
89
|
}, function (props) {
|
|
90
|
-
return props.error && styled.css(
|
|
90
|
+
return props.error && styled.css(_templateObject22 || (_templateObject22 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('red-500')));
|
|
91
91
|
}, function (props) {
|
|
92
|
-
return props.warning && styled.css(
|
|
92
|
+
return props.warning && styled.css(_templateObject23 || (_templateObject23 = defaultTheme._taggedTemplateLiteral(["\n ", "\n "])), props.theme.themeProp('color', props.theme.getColor('red-200'), props.theme.getColor('orange-500')));
|
|
93
93
|
});
|
|
94
94
|
|
|
95
95
|
var _excluded = ["value", "defaultValue", "name", "label", "placeholder", "type", "required", "disabled", "readOnly", "autoComplete", "description", "error", "warning", "icon", "adornments", "className", "style", "onChange", "onBlur", "noBorder"];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var defaultTheme = require('./defaultTheme-
|
|
3
|
+
var defaultTheme = require('./defaultTheme-24ea5c47.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var styled = require('styled-components');
|
|
6
6
|
var TippyTooltip = require('@tippyjs/react');
|
|
7
|
-
require('./shift-away-subtle-
|
|
7
|
+
require('./shift-away-subtle-dce50395.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function _interopNamespace(e) {
|
|
6
|
+
if (e && e.__esModule) return e;
|
|
7
|
+
var n = Object.create(null);
|
|
8
|
+
if (e) {
|
|
9
|
+
Object.keys(e).forEach(function (k) {
|
|
10
|
+
if (k !== 'default') {
|
|
11
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return e[k]; }
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
n["default"] = e;
|
|
20
|
+
return Object.freeze(n);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
24
|
+
|
|
25
|
+
var _path;
|
|
26
|
+
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); }
|
|
27
|
+
function SvgArrowForward(props) {
|
|
28
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
viewBox: "0 0 16 16"
|
|
31
|
+
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
32
|
+
className: "arrow-forward_svg__st0",
|
|
33
|
+
d: "M12.2 9H0V7h12.2L6.6 1.4 8 0l8 8-8 8-1.4-1.4L12.2 9z"
|
|
34
|
+
})));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.SvgArrowForward = SvgArrowForward;
|
package/data/Alert/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Alert = require('../../Alert-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Alert = require('../../Alert-edd9f6a7.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
7
7
|
require('lodash');
|
package/data/Badge/index.js
CHANGED
package/data/Popover/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Popover = require('../../Popover-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Popover = require('../../Popover-f00121a3.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('lodash');
|
|
7
7
|
require('react');
|
|
8
8
|
require('polished');
|
|
9
9
|
require('@tippyjs/react');
|
|
10
|
-
require('../../shift-away-subtle-
|
|
10
|
+
require('../../shift-away-subtle-dce50395.js');
|
|
11
11
|
require('popper-max-size-modifier');
|
|
12
12
|
|
|
13
13
|
|
package/data/Tab/index.js
CHANGED
package/data/Tabs/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Tabs = require('../../Tabs-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Tabs = require('../../Tabs-243c5e0b.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('lodash');
|
|
7
7
|
require('react');
|
|
8
|
-
require('../../Tab-
|
|
8
|
+
require('../../Tab-d3ee0a3b.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
package/data/Tooltip/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Tooltip = require('../../Tooltip-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Tooltip = require('../../Tooltip-7dc4676b.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@tippyjs/react');
|
|
8
|
-
require('../../shift-away-subtle-
|
|
8
|
+
require('../../shift-away-subtle-dce50395.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
package/data/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Alert = require('../Alert-
|
|
6
|
-
var Badge = require('../Badge-
|
|
7
|
-
var Popover = require('../Popover-
|
|
8
|
-
var Tab = require('../Tab-
|
|
9
|
-
var Tabs = require('../Tabs-
|
|
10
|
-
var Tooltip = require('../Tooltip-
|
|
11
|
-
var VerificationStatusIcon = require('../VerificationStatusIcon-
|
|
12
|
-
require('../defaultTheme-
|
|
5
|
+
var Alert = require('../Alert-edd9f6a7.js');
|
|
6
|
+
var Badge = require('../Badge-00b2f311.js');
|
|
7
|
+
var Popover = require('../Popover-f00121a3.js');
|
|
8
|
+
var Tab = require('../Tab-d3ee0a3b.js');
|
|
9
|
+
var Tabs = require('../Tabs-243c5e0b.js');
|
|
10
|
+
var Tooltip = require('../Tooltip-7dc4676b.js');
|
|
11
|
+
var VerificationStatusIcon = require('../VerificationStatusIcon-f3c44ef8.js');
|
|
12
|
+
require('../defaultTheme-24ea5c47.js');
|
|
13
13
|
require('styled-components');
|
|
14
14
|
require('react');
|
|
15
15
|
require('lodash');
|
|
16
16
|
require('polished');
|
|
17
17
|
require('@tippyjs/react');
|
|
18
|
-
require('../shift-away-subtle-
|
|
18
|
+
require('../shift-away-subtle-dce50395.js');
|
|
19
19
|
require('popper-max-size-modifier');
|
|
20
20
|
|
|
21
21
|
|
|
@@ -1332,7 +1332,7 @@ function styleInject(css, ref) {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
1334
|
var css_248z = "/**\n * Colors\n */";
|
|
1335
|
-
var importedColors = {"orange-500":"#ff9900","orange-400":"#ffcb7e","emerald-600":"#296c58","emerald-500":"#30826a","emerald-400":"#64b49d","emerald-300":"#bfe0d5","emerald-200":"#f3f9f7","gray-900":"#141313","gray-800":"#272727","gray-700":"#323232","gray-600":"#505050","gray-500":"#767676","gray-400":"#b0b6b9","gray-300":"#d9dce0","gray-200":"#eff1f4","gray-100":"#f7f8f9","cercise-500":"#5f1031","cercise-400":"#854962","cercise-300":"#d099b0","cercise-100":"#f9f3f5","red-600":"#7f1b1b","red-500":"#d83000","red-200":"#fbeae6","brown-500":"#634e01","signal-yellow-500":"#f4e21e","signal-yellow-400":"#fff36c","signal-green-500":"#00bd98","signal-green-400":"#a3ffe0","black":"#202435","white":"#ffffff"};
|
|
1335
|
+
var importedColors = {"orange-600":"#634e01","orange-500":"#ff9900","orange-400":"#ffcb7e","emerald-600":"#296c58","emerald-500":"#30826a","emerald-400":"#64b49d","emerald-300":"#bfe0d5","emerald-200":"#f3f9f7","gray-900":"#141313","gray-800":"#272727","gray-700":"#323232","gray-600":"#505050","gray-500":"#767676","gray-400":"#b0b6b9","gray-300":"#d9dce0","gray-200":"#eff1f4","gray-100":"#f7f8f9","cercise-500":"#5f1031","cercise-400":"#854962","cercise-300":"#d099b0","cercise-200":"#fecaca","cercise-100":"#f9f3f5","red-600":"#7f1b1b","red-500":"#d83000","red-200":"#fbeae6","brown-500":"#634e01","signal-yellow-500":"#f4e21e","signal-yellow-400":"#fff36c","signal-green-500":"#00bd98","signal-green-400":"#a3ffe0","black":"#202435","white":"#ffffff"};
|
|
1336
1336
|
styleInject(css_248z);
|
|
1337
1337
|
|
|
1338
1338
|
var _excluded = ["theme"];
|
package/icons/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { ReactComponent as AddIcon } from './add.svg';
|
|
|
2
2
|
import { ReactComponent as AddCircleIcon } from './add-circle.svg';
|
|
3
3
|
import { ReactComponent as AlbumIcon } from './album.svg';
|
|
4
4
|
import { ReactComponent as ArrowBackIcon } from './arrow-back.svg';
|
|
5
|
+
import { ReactComponent as ArrowForwardIcon } from './arrow-forward.svg';
|
|
5
6
|
import { ReactComponent as ArrowDropDownIcon } from './arrow-drop-down.svg';
|
|
6
7
|
import { ReactComponent as AudioIcon } from './audio.svg';
|
|
7
8
|
import { ReactComponent as BellIcon } from './bell.svg';
|
|
@@ -42,6 +43,7 @@ export {
|
|
|
42
43
|
AlbumIcon,
|
|
43
44
|
ArrowBackIcon,
|
|
44
45
|
ArrowDropDownIcon,
|
|
46
|
+
ArrowForwardIcon,
|
|
45
47
|
AudioIcon,
|
|
46
48
|
BellIcon,
|
|
47
49
|
CheckCircleIcon,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var ActionButton = require('../../ActionButton-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var ActionButton = require('../../ActionButton-5bc79370.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
7
7
|
require('polished');
|
package/inputs/Button/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Button = require('../../Button-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Button = require('../../Button-82e91acb.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
7
|
-
require('../../Popover-
|
|
7
|
+
require('../../Popover-f00121a3.js');
|
|
8
8
|
require('lodash');
|
|
9
9
|
require('polished');
|
|
10
10
|
require('@tippyjs/react');
|
|
11
|
-
require('../../shift-away-subtle-
|
|
11
|
+
require('../../shift-away-subtle-dce50395.js');
|
|
12
12
|
require('popper-max-size-modifier');
|
|
13
|
-
require('../../ContextMenu-
|
|
13
|
+
require('../../ContextMenu-9645746f.js');
|
|
14
14
|
require('../../expand-more-d74e2bd2.js');
|
|
15
15
|
|
|
16
16
|
|
package/inputs/Checkbox/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Checkbox = require('../../Checkbox-
|
|
4
|
-
require('../../defaultTheme-
|
|
3
|
+
var Checkbox = require('../../Checkbox-c441fdba.js');
|
|
4
|
+
require('../../defaultTheme-24ea5c47.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
7
7
|
require('nanoid');
|