@dscout/particle 1.0.0-alpha.3 → 1.0.0-alpha.4
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/lib/components/attribute_input.js +6 -3
- package/lib/components/attribute_selector.js +33 -17
- package/lib/components/avatar.js +2 -2
- package/lib/components/button.js +7 -1
- package/lib/components/button_control.js +1 -1
- package/lib/components/button_icon.js +3 -1
- package/lib/components/container.js +3 -1
- package/lib/components/file_input.js +1 -1
- package/lib/components/input_group.js +13 -2
- package/lib/components/modal.js +47 -20
- package/lib/components/tags_input.js +3 -3
- package/lib/components/theme_provider.js +170 -39
- package/lib/components/tooltip_container.js +1 -1
- package/lib/icons/circle_plus.js +4 -3
- package/lib/icons/exclude.js +81 -0
- package/lib/icons/multi_exclude.js +93 -0
- package/lib/icons/prop_types.js +1 -0
- package/lib/icons/reinclude.js +81 -0
- package/lib/icons/speaker_on.js +68 -0
- package/lib/index.js +32 -0
- package/lib/stylesheets/particle.css +628 -200
- package/lib/stylesheets/particle.css.map +1 -1
- package/lib/stylesheets/particle.min.css +1 -1
- package/lib/stylesheets/particle.min.css.gz +0 -0
- package/lib/utils/props.js +1 -1
- package/package.json +1 -1
- package/styles/_base.scss +0 -1
- package/styles/color_schemes/_bandit_dark.scss +53 -0
- package/styles/color_schemes/_bandit_dark_colors.scss +20 -0
- package/styles/color_schemes/_bandit_light.scss +6 -0
- package/styles/color_schemes/_bandit_light_colors.scss +20 -0
- package/styles/{themes/_researcher_colors.scss → color_schemes/_base_colors.scss} +8 -8
- package/styles/color_schemes/_color_scheme_builder.scss +169 -0
- package/styles/color_schemes/_index.scss +12 -0
- package/styles/color_schemes/_researcher_dark.scss +52 -0
- package/styles/color_schemes/_researcher_dark_colors.scss +14 -0
- package/styles/color_schemes/_researcher_light.scss +6 -0
- package/styles/color_schemes/_researcher_light_colors.scss +4 -0
- package/styles/components/_focus-intent.scss +2 -2
- package/styles/components/attribute_selector/_base.scss +23 -3
- package/styles/components/attribute_selector/themes/_theme_builder.scss +8 -6
- package/styles/components/avatar/_base.scss +4 -3
- package/styles/components/buttons/_base.scss +92 -12
- package/styles/components/buttons/themes/_theme_builder.scss +3 -3
- package/styles/components/dropdown/_base.scss +1 -0
- package/styles/components/grid/_base.scss +2 -1
- package/styles/components/input_group/_base.scss +3 -3
- package/styles/components/modal/base.scss +7 -10
- package/styles/components/pill/_base.scss +1 -1
- package/styles/components/toggle/_base.scss +1 -1
- package/styles/components/tooltip/_base.scss +8 -1
- package/styles/functions/_colors.scss +33 -0
- package/styles/particle.scss +3 -22
- package/styles/themes/_bandit.scss +5 -7
- package/styles/themes/_researcher.scss +1 -3
- package/styles/themes/_theme_builder.scss +4 -149
- package/styles/utilities/_colors.scss +61 -58
- package/styles/utilities/_typography.scss +5 -0
- package/styles/themes/_bandit_colors.scss +0 -9
|
@@ -13,7 +13,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
13
13
|
|
|
14
14
|
var _class_names = _interopRequireDefault(require("../utils/class_names"));
|
|
15
15
|
|
|
16
|
-
var _excluded = ["as", "children", "className", "
|
|
16
|
+
var _excluded = ["applyBackgroundColor", "applyColor", "as", "children", "className", "colorScheme", "theme", "global"];
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
@@ -23,61 +23,87 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
23
23
|
|
|
24
24
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
25
|
|
|
26
|
-
function
|
|
26
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
27
|
+
|
|
28
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
|
+
|
|
30
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
31
|
+
|
|
32
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
33
|
+
|
|
34
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
35
|
+
|
|
36
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
37
|
|
|
28
38
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
29
39
|
|
|
30
40
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
31
41
|
|
|
32
42
|
var propTypes = {
|
|
43
|
+
/**
|
|
44
|
+
Apply the color scheme's background color.
|
|
45
|
+
*/
|
|
46
|
+
applyBackgroundColor: _propTypes.default.bool,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
Apply the color scheme's text color.
|
|
50
|
+
*/
|
|
51
|
+
applyColor: _propTypes.default.bool,
|
|
52
|
+
|
|
33
53
|
/**
|
|
34
54
|
The root DOM element type to render.
|
|
35
55
|
*/
|
|
36
56
|
as: _propTypes.default.string,
|
|
37
57
|
children: _propTypes.default.node,
|
|
38
58
|
|
|
39
|
-
/**
|
|
59
|
+
/** Additional class name(s) to apply. */
|
|
40
60
|
className: _propTypes.default.string,
|
|
41
61
|
|
|
62
|
+
/**
|
|
63
|
+
Name of the color scheme to apply.
|
|
64
|
+
*/
|
|
65
|
+
colorScheme: _propTypes.default.oneOf(['light', 'dark', 'dark-close', 'dark-coachmark', 'dark-dscout', 'dark-success', 'dark-test']),
|
|
66
|
+
|
|
42
67
|
/**
|
|
43
68
|
Name of the theme to apply.
|
|
44
69
|
*/
|
|
45
|
-
|
|
70
|
+
theme: _propTypes.default.oneOf(['researcher', 'bandit']),
|
|
46
71
|
|
|
47
72
|
/**
|
|
48
73
|
Set the theme class on the `<body>` instead of the DOM element rendered by
|
|
49
74
|
this component. Use this on the top-level `<ThemeProvider />`.
|
|
50
75
|
*/
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
var THEMES = {
|
|
54
|
-
RESEARCHER: 'researcher',
|
|
55
|
-
BANDIT: 'bandit'
|
|
76
|
+
global: _propTypes.default.bool
|
|
56
77
|
};
|
|
57
78
|
|
|
58
|
-
var ThemeContext = _react.default.createContext(
|
|
79
|
+
var ThemeContext = _react.default.createContext({
|
|
80
|
+
theme: 'researcher',
|
|
81
|
+
colorScheme: 'light'
|
|
82
|
+
});
|
|
59
83
|
/**
|
|
60
84
|
Use the `<ThemeProvider />` to apply a theme to Particle. Particle is
|
|
61
85
|
largely unstyled without a defined theme, so each app will need to render a
|
|
62
86
|
`<ThemeProvider />` at the top level. The top-level provider should use the
|
|
63
|
-
`
|
|
87
|
+
`global` prop to set the theme class on the body element. You'll likely
|
|
88
|
+
want to also use the `applyBackgroundColor` prop on the top-level provider to
|
|
89
|
+
apply the color scheme's base background color to the whole page.
|
|
64
90
|
|
|
65
|
-
Themes can be nested to apply a different theme to only a
|
|
66
|
-
interface. Do not apply the `
|
|
91
|
+
Themes can be nested to apply a different theme or color scheme to only a
|
|
92
|
+
subsection of an interface. Do not apply the `global` prop for nested themes.
|
|
67
93
|
|
|
68
94
|
The `<ThemeProvider />` also renders a React context provider, so descendants
|
|
69
|
-
can use `ThemeContext` to customize their behavior based on the theme
|
|
70
|
-
example:
|
|
95
|
+
can use `ThemeContext` to customize their behavior based on the theme or
|
|
96
|
+
color scheme. For example:
|
|
71
97
|
|
|
72
98
|
```jsx
|
|
73
99
|
import React, { useContext } from 'react';
|
|
74
100
|
import { ThemeContext } from '@dscout/particle';
|
|
75
101
|
|
|
76
102
|
function Descendant() {
|
|
77
|
-
const theme = useContext(ThemeContext)
|
|
103
|
+
const { colorScheme, theme } = useContext(ThemeContext)
|
|
78
104
|
|
|
79
105
|
return (
|
|
80
|
-
<p>I'm in the {theme} theme!</p>
|
|
106
|
+
<p>I'm in the {theme} theme with the {colorScheme} color scheme!</p>
|
|
81
107
|
);
|
|
82
108
|
}
|
|
83
109
|
```
|
|
@@ -86,62 +112,124 @@ function Descendant() {
|
|
|
86
112
|
|
|
87
113
|
exports.ThemeContext = ThemeContext;
|
|
88
114
|
|
|
115
|
+
function splitClassNames(string) {
|
|
116
|
+
return string.trim().split(' ').filter(function (className) {
|
|
117
|
+
return Boolean(className);
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
89
121
|
function ThemeProvider(_ref) {
|
|
90
|
-
var _ref$
|
|
122
|
+
var _ref$applyBackgroundC = _ref.applyBackgroundColor,
|
|
123
|
+
applyBackgroundColor = _ref$applyBackgroundC === void 0 ? false : _ref$applyBackgroundC,
|
|
124
|
+
_ref$applyColor = _ref.applyColor,
|
|
125
|
+
applyColor = _ref$applyColor === void 0 ? true : _ref$applyColor,
|
|
126
|
+
_ref$as = _ref.as,
|
|
91
127
|
ElementToRenderAs = _ref$as === void 0 ? 'div' : _ref$as,
|
|
92
128
|
children = _ref.children,
|
|
93
129
|
className = _ref.className,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
_ref$
|
|
97
|
-
|
|
130
|
+
specifiedColorScheme = _ref.colorScheme,
|
|
131
|
+
specifiedTheme = _ref.theme,
|
|
132
|
+
_ref$global = _ref.global,
|
|
133
|
+
global = _ref$global === void 0 ? false : _ref$global,
|
|
98
134
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
99
135
|
|
|
100
|
-
var
|
|
136
|
+
var _useContext = (0, _react.useContext)(ThemeContext),
|
|
137
|
+
inheritedTheme = _useContext.theme,
|
|
138
|
+
inheritedColorScheme = _useContext.colorScheme;
|
|
139
|
+
|
|
140
|
+
var theme = specifiedTheme || inheritedTheme;
|
|
141
|
+
var colorScheme = specifiedColorScheme || inheritedColorScheme;
|
|
142
|
+
var themeClass = theme ? "theme--".concat(theme) : '';
|
|
143
|
+
var colorSchemeClass = colorScheme ? "color-scheme--".concat(theme, "-").concat(colorScheme) : '';
|
|
101
144
|
(0, _react.useLayoutEffect)(function () {
|
|
102
|
-
if (
|
|
103
|
-
|
|
145
|
+
if (global) {
|
|
146
|
+
var _document$body$classL;
|
|
147
|
+
|
|
148
|
+
var classes = [themeClass, colorSchemeClass];
|
|
149
|
+
|
|
150
|
+
if (applyBackgroundColor) {
|
|
151
|
+
classes.push('color-scheme--with-background-color');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (applyColor) {
|
|
155
|
+
classes.push('color-scheme--with-color');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (className) {
|
|
159
|
+
classes.push.apply(classes, _toConsumableArray(splitClassNames(className)));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
(_document$body$classL = document.body.classList).add.apply(_document$body$classL, classes);
|
|
163
|
+
|
|
104
164
|
return function () {
|
|
105
|
-
|
|
165
|
+
var _document$body$classL2;
|
|
166
|
+
|
|
167
|
+
(_document$body$classL2 = document.body.classList).remove.apply(_document$body$classL2, classes);
|
|
106
168
|
};
|
|
107
169
|
}
|
|
108
|
-
}, [themeClass,
|
|
170
|
+
}, [applyBackgroundColor, applyColor, themeClass, colorSchemeClass, global, className]);
|
|
171
|
+
|
|
172
|
+
var providerAndChildren = _react.default.createElement(ThemeContext.Provider, {
|
|
173
|
+
value: {
|
|
174
|
+
theme: theme,
|
|
175
|
+
colorScheme: colorScheme
|
|
176
|
+
}
|
|
177
|
+
}, children);
|
|
178
|
+
|
|
179
|
+
if (global) return providerAndChildren;
|
|
109
180
|
return _react.default.createElement(ElementToRenderAs, _extends({
|
|
110
|
-
className: (0, _class_names.default)(className,
|
|
181
|
+
className: (0, _class_names.default)(className, themeClass, colorSchemeClass, {
|
|
182
|
+
'color-scheme--with-background-color': applyBackgroundColor,
|
|
183
|
+
'color-scheme--with-color': applyColor
|
|
184
|
+
})
|
|
111
185
|
}, props), _react.default.createElement(ThemeContext.Provider, {
|
|
112
|
-
value:
|
|
186
|
+
value: {
|
|
187
|
+
theme: theme,
|
|
188
|
+
colorScheme: colorScheme
|
|
189
|
+
}
|
|
113
190
|
}, children));
|
|
114
191
|
}
|
|
115
192
|
|
|
116
193
|
ThemeProvider.propTypes = propTypes;
|
|
117
194
|
ThemeProvider.__docgenInfo = {
|
|
118
|
-
"description": "
|
|
195
|
+
"description": "",
|
|
119
196
|
"methods": [],
|
|
120
197
|
"displayName": "ThemeProvider",
|
|
121
198
|
"props": {
|
|
122
|
-
"
|
|
199
|
+
"applyBackgroundColor": {
|
|
123
200
|
"defaultValue": {
|
|
124
|
-
"value": "
|
|
201
|
+
"value": "false",
|
|
125
202
|
"computed": false
|
|
126
203
|
},
|
|
127
204
|
"type": {
|
|
128
|
-
"name": "
|
|
205
|
+
"name": "bool"
|
|
129
206
|
},
|
|
130
207
|
"required": false,
|
|
131
|
-
"description": "
|
|
208
|
+
"description": "Apply the color scheme's background color."
|
|
209
|
+
},
|
|
210
|
+
"applyColor": {
|
|
211
|
+
"defaultValue": {
|
|
212
|
+
"value": "true",
|
|
213
|
+
"computed": false
|
|
214
|
+
},
|
|
215
|
+
"type": {
|
|
216
|
+
"name": "bool"
|
|
217
|
+
},
|
|
218
|
+
"required": false,
|
|
219
|
+
"description": "Apply the color scheme's text color."
|
|
132
220
|
},
|
|
133
|
-
"
|
|
221
|
+
"as": {
|
|
134
222
|
"defaultValue": {
|
|
135
|
-
"value": "'
|
|
223
|
+
"value": "'div'",
|
|
136
224
|
"computed": false
|
|
137
225
|
},
|
|
138
226
|
"type": {
|
|
139
227
|
"name": "string"
|
|
140
228
|
},
|
|
141
229
|
"required": false,
|
|
142
|
-
"description": "
|
|
230
|
+
"description": "The root DOM element type to render."
|
|
143
231
|
},
|
|
144
|
-
"
|
|
232
|
+
"global": {
|
|
145
233
|
"defaultValue": {
|
|
146
234
|
"value": "false",
|
|
147
235
|
"computed": false
|
|
@@ -164,7 +252,50 @@ ThemeProvider.__docgenInfo = {
|
|
|
164
252
|
"name": "string"
|
|
165
253
|
},
|
|
166
254
|
"required": false,
|
|
167
|
-
"description": "
|
|
255
|
+
"description": "Additional class name(s) to apply."
|
|
256
|
+
},
|
|
257
|
+
"colorScheme": {
|
|
258
|
+
"type": {
|
|
259
|
+
"name": "enum",
|
|
260
|
+
"value": [{
|
|
261
|
+
"value": "'light'",
|
|
262
|
+
"computed": false
|
|
263
|
+
}, {
|
|
264
|
+
"value": "'dark'",
|
|
265
|
+
"computed": false
|
|
266
|
+
}, {
|
|
267
|
+
"value": "'dark-close'",
|
|
268
|
+
"computed": false
|
|
269
|
+
}, {
|
|
270
|
+
"value": "'dark-coachmark'",
|
|
271
|
+
"computed": false
|
|
272
|
+
}, {
|
|
273
|
+
"value": "'dark-dscout'",
|
|
274
|
+
"computed": false
|
|
275
|
+
}, {
|
|
276
|
+
"value": "'dark-success'",
|
|
277
|
+
"computed": false
|
|
278
|
+
}, {
|
|
279
|
+
"value": "'dark-test'",
|
|
280
|
+
"computed": false
|
|
281
|
+
}]
|
|
282
|
+
},
|
|
283
|
+
"required": false,
|
|
284
|
+
"description": "Name of the color scheme to apply."
|
|
285
|
+
},
|
|
286
|
+
"theme": {
|
|
287
|
+
"type": {
|
|
288
|
+
"name": "enum",
|
|
289
|
+
"value": [{
|
|
290
|
+
"value": "'researcher'",
|
|
291
|
+
"computed": false
|
|
292
|
+
}, {
|
|
293
|
+
"value": "'bandit'",
|
|
294
|
+
"computed": false
|
|
295
|
+
}]
|
|
296
|
+
},
|
|
297
|
+
"required": false,
|
|
298
|
+
"description": "Name of the theme to apply."
|
|
168
299
|
}
|
|
169
300
|
}
|
|
170
301
|
};
|
|
@@ -130,7 +130,7 @@ function TooltipContainer(_ref) {
|
|
|
130
130
|
"aria-label": ariaLabel,
|
|
131
131
|
"aria-labelledby": ariaLabelledby,
|
|
132
132
|
"aria-describedby": ariaDescribedby,
|
|
133
|
-
className: (0, _class_names.default)('
|
|
133
|
+
className: (0, _class_names.default)('Tooltip-Container', _modifierClass),
|
|
134
134
|
id: id,
|
|
135
135
|
onMouseEnter: displayTooltip,
|
|
136
136
|
onMouseLeave: hideTooltip,
|
package/lib/icons/circle_plus.js
CHANGED
|
@@ -20,6 +20,7 @@ function CirclePlus(_ref) {
|
|
|
20
20
|
ariaLabel = _ref['aria-label'],
|
|
21
21
|
ariaLabelledby = _ref['aria-labelledby'],
|
|
22
22
|
color = _ref.color,
|
|
23
|
+
solid = _ref.solid,
|
|
23
24
|
id = _ref.id,
|
|
24
25
|
size = _ref.size,
|
|
25
26
|
tight = _ref.tight,
|
|
@@ -41,13 +42,13 @@ function CirclePlus(_ref) {
|
|
|
41
42
|
cy: "12.5",
|
|
42
43
|
r: "8",
|
|
43
44
|
stroke: "currentColor",
|
|
44
|
-
fill:
|
|
45
|
+
fill: solid ? 'currentColor' : 'none'
|
|
45
46
|
}), _react.default.createElement("line", {
|
|
46
47
|
x1: "9.5",
|
|
47
48
|
y1: "12.5",
|
|
48
49
|
x2: "15.5",
|
|
49
50
|
y2: "12.5",
|
|
50
|
-
stroke:
|
|
51
|
+
stroke: solid ? 'white' : 'currentColor',
|
|
51
52
|
fill: "none",
|
|
52
53
|
strokeLinecap: "round",
|
|
53
54
|
strokeLinejoin: "round"
|
|
@@ -56,7 +57,7 @@ function CirclePlus(_ref) {
|
|
|
56
57
|
y1: "15.5",
|
|
57
58
|
x2: "12.5",
|
|
58
59
|
y2: "9.5",
|
|
59
|
-
stroke:
|
|
60
|
+
stroke: solid ? 'white' : 'currentColor',
|
|
60
61
|
fill: "none",
|
|
61
62
|
strokeLinecap: "round",
|
|
62
63
|
strokeLinejoin: "round"
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _common_svg = _interopRequireDefault(require("./common_svg"));
|
|
11
|
+
|
|
12
|
+
var _prop_types = _interopRequireDefault(require("./prop_types"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
/* eslint max-len: 'off' */
|
|
17
|
+
function IconExclude(_ref) {
|
|
18
|
+
var _modifierClass = _ref._modifierClass,
|
|
19
|
+
ariaDescribedby = _ref['aria-describedby'],
|
|
20
|
+
ariaHidden = _ref['aria-hidden'],
|
|
21
|
+
ariaLabel = _ref['aria-label'],
|
|
22
|
+
ariaLabelledby = _ref['aria-labelledby'],
|
|
23
|
+
color = _ref.color,
|
|
24
|
+
id = _ref.id,
|
|
25
|
+
size = _ref.size,
|
|
26
|
+
tight = _ref.tight,
|
|
27
|
+
title = _ref.title;
|
|
28
|
+
return _react.default.createElement(_common_svg.default, {
|
|
29
|
+
"aria-describedby": ariaDescribedby,
|
|
30
|
+
"aria-hidden": ariaHidden,
|
|
31
|
+
"aria-label": ariaLabel,
|
|
32
|
+
"aria-labelledby": ariaLabelledby,
|
|
33
|
+
color: color,
|
|
34
|
+
id: id,
|
|
35
|
+
size: size,
|
|
36
|
+
tight: tight,
|
|
37
|
+
tightViewBox: "6 0 13 25",
|
|
38
|
+
title: title,
|
|
39
|
+
_modifierClass: _modifierClass
|
|
40
|
+
}, _react.default.createElement("path", {
|
|
41
|
+
d: "M9 9.5H16",
|
|
42
|
+
stroke: "currentColor",
|
|
43
|
+
fill: "none",
|
|
44
|
+
strokeLineCap: "round",
|
|
45
|
+
strokeLineJoin: "round"
|
|
46
|
+
}), _react.default.createElement("path", {
|
|
47
|
+
d: "M9 11.5H14",
|
|
48
|
+
stroke: "currentColor",
|
|
49
|
+
fill: "none",
|
|
50
|
+
strokeLineCap: "round",
|
|
51
|
+
strokeLineJoin: "round"
|
|
52
|
+
}), _react.default.createElement("path", {
|
|
53
|
+
d: "M18.5 12.5V6.5C18.5 5.39543 17.6046 4.5 16.5 4.5H8.5C7.39543 4.5 6.5 5.39543 6.5 6.5V18.5C6.5 19.6046 7.39543 20.5 8.5 20.5H10.5",
|
|
54
|
+
stroke: "currentColor",
|
|
55
|
+
fill: "none",
|
|
56
|
+
strokeLineCap: "round",
|
|
57
|
+
strokeLineJoin: "round"
|
|
58
|
+
}), _react.default.createElement("path", {
|
|
59
|
+
d: "M18.3483 20.3484L14 16.0001",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
fill: "none",
|
|
62
|
+
strokeLineCap: "round",
|
|
63
|
+
strokeLineJoin: "round"
|
|
64
|
+
}), _react.default.createElement("path", {
|
|
65
|
+
d: "M14 20.3483L18.3483 16",
|
|
66
|
+
stroke: "currentColor",
|
|
67
|
+
fill: "none",
|
|
68
|
+
strokeLineCap: "round",
|
|
69
|
+
strokeLineJoin: "round"
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
IconExclude.propTypes = _prop_types.default;
|
|
74
|
+
IconExclude.__docgenInfo = {
|
|
75
|
+
"description": "",
|
|
76
|
+
"methods": [],
|
|
77
|
+
"displayName": "IconExclude",
|
|
78
|
+
"composes": ["./prop_types"]
|
|
79
|
+
};
|
|
80
|
+
var _default = IconExclude;
|
|
81
|
+
exports.default = _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _common_svg = _interopRequireDefault(require("./common_svg"));
|
|
11
|
+
|
|
12
|
+
var _prop_types = _interopRequireDefault(require("./prop_types"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
/* eslint max-len: 'off' */
|
|
17
|
+
function IconMultiExclude(_ref) {
|
|
18
|
+
var _modifierClass = _ref._modifierClass,
|
|
19
|
+
ariaDescribedby = _ref['aria-describedby'],
|
|
20
|
+
ariaHidden = _ref['aria-hidden'],
|
|
21
|
+
ariaLabel = _ref['aria-label'],
|
|
22
|
+
ariaLabelledby = _ref['aria-labelledby'],
|
|
23
|
+
color = _ref.color,
|
|
24
|
+
id = _ref.id,
|
|
25
|
+
size = _ref.size,
|
|
26
|
+
tight = _ref.tight,
|
|
27
|
+
title = _ref.title;
|
|
28
|
+
return _react.default.createElement(_common_svg.default, {
|
|
29
|
+
"aria-describedby": ariaDescribedby,
|
|
30
|
+
"aria-hidden": ariaHidden,
|
|
31
|
+
"aria-label": ariaLabel,
|
|
32
|
+
"aria-labelledby": ariaLabelledby,
|
|
33
|
+
color: color,
|
|
34
|
+
id: id,
|
|
35
|
+
size: size,
|
|
36
|
+
tight: tight,
|
|
37
|
+
tightViewBox: "2 0 21 25",
|
|
38
|
+
title: title,
|
|
39
|
+
_modifierClass: _modifierClass
|
|
40
|
+
}, _react.default.createElement("path", {
|
|
41
|
+
d: "M5.69995 11.0499L10.62 10.1799",
|
|
42
|
+
stroke: "currentColor",
|
|
43
|
+
fill: "none",
|
|
44
|
+
strokeLineCap: "round",
|
|
45
|
+
strokeLineJoin: "round"
|
|
46
|
+
}), _react.default.createElement("path", {
|
|
47
|
+
d: "M6.05005 13L9.05005 12.48",
|
|
48
|
+
stroke: "currentColor",
|
|
49
|
+
fill: "none",
|
|
50
|
+
strokeLineCap: "round",
|
|
51
|
+
strokeLineJoin: "round"
|
|
52
|
+
}), _react.default.createElement("path", {
|
|
53
|
+
d: "M19 19.9C19.3911 19.8182 19.7487 19.6211 20.0268 19.3341C20.3048 19.0472 20.4906 18.6835 20.56 18.29L22.29 8.44C22.3801 7.91902 22.2603 7.38354 21.9567 6.95066C21.6532 6.51778 21.1905 6.22272 20.67 6.13L20 6",
|
|
54
|
+
stroke: "currentColor",
|
|
55
|
+
fill: "none",
|
|
56
|
+
strokeLineCap: "round",
|
|
57
|
+
strokeLineJoin: "round"
|
|
58
|
+
}), _react.default.createElement("path", {
|
|
59
|
+
d: "M17.1726 18.5937C17.3857 18.2687 17.4995 17.8886 17.5001 17.5V7.5C17.5001 6.96957 17.2894 6.46086 16.9143 6.08579C16.5393 5.71071 16.0306 5.5 15.5001 5.5H14.8701",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
fill: "none",
|
|
62
|
+
strokeLineCap: "round",
|
|
63
|
+
strokeLineJoin: "round"
|
|
64
|
+
}), _react.default.createElement("path", {
|
|
65
|
+
d: "M8.24533 19.7452L6.76812 20.0057C5.68033 20.1975 4.64302 19.4712 4.45121 18.3834L2.71473 8.53529C2.52292 7.4475 3.24926 6.41018 4.33705 6.21838L10.2459 5.17649C11.3337 4.98468 12.371 5.71102 12.5628 6.79881L13.431 11.7228L13.6481 12.9539",
|
|
66
|
+
stroke: "currentColor",
|
|
67
|
+
fill: "none",
|
|
68
|
+
strokeLineCap: "round",
|
|
69
|
+
strokeLineJoin: "round"
|
|
70
|
+
}), _react.default.createElement("path", {
|
|
71
|
+
d: "M15.3483 20.3483L11 16",
|
|
72
|
+
stroke: "currentColor",
|
|
73
|
+
fill: "none",
|
|
74
|
+
strokeLineCap: "round",
|
|
75
|
+
strokeLineJoin: "round"
|
|
76
|
+
}), _react.default.createElement("path", {
|
|
77
|
+
d: "M11 20.3484L15.3483 16.0001",
|
|
78
|
+
stroke: "currentColor",
|
|
79
|
+
fill: "none",
|
|
80
|
+
strokeLineCap: "round",
|
|
81
|
+
strokeLineJoin: "round"
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
IconMultiExclude.propTypes = _prop_types.default;
|
|
86
|
+
IconMultiExclude.__docgenInfo = {
|
|
87
|
+
"description": "",
|
|
88
|
+
"methods": [],
|
|
89
|
+
"displayName": "IconMultiExclude",
|
|
90
|
+
"composes": ["./prop_types"]
|
|
91
|
+
};
|
|
92
|
+
var _default = IconMultiExclude;
|
|
93
|
+
exports.default = _default;
|
package/lib/icons/prop_types.js
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _common_svg = _interopRequireDefault(require("./common_svg"));
|
|
11
|
+
|
|
12
|
+
var _prop_types = _interopRequireDefault(require("./prop_types"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
/* eslint max-len: 'off' */
|
|
17
|
+
function IconReinclude(_ref) {
|
|
18
|
+
var _modifierClass = _ref._modifierClass,
|
|
19
|
+
ariaDescribedby = _ref['aria-describedby'],
|
|
20
|
+
ariaHidden = _ref['aria-hidden'],
|
|
21
|
+
ariaLabel = _ref['aria-label'],
|
|
22
|
+
ariaLabelledby = _ref['aria-labelledby'],
|
|
23
|
+
color = _ref.color,
|
|
24
|
+
id = _ref.id,
|
|
25
|
+
size = _ref.size,
|
|
26
|
+
tight = _ref.tight,
|
|
27
|
+
title = _ref.title;
|
|
28
|
+
return _react.default.createElement(_common_svg.default, {
|
|
29
|
+
"aria-describedby": ariaDescribedby,
|
|
30
|
+
"aria-hidden": ariaHidden,
|
|
31
|
+
"aria-label": ariaLabel,
|
|
32
|
+
"aria-labelledby": ariaLabelledby,
|
|
33
|
+
color: color,
|
|
34
|
+
id: id,
|
|
35
|
+
size: size,
|
|
36
|
+
tight: tight,
|
|
37
|
+
tightViewBox: "6 0 14 25",
|
|
38
|
+
title: title,
|
|
39
|
+
_modifierClass: _modifierClass
|
|
40
|
+
}, _react.default.createElement("path", {
|
|
41
|
+
d: "M9 9.5H16",
|
|
42
|
+
stroke: "currentColor",
|
|
43
|
+
fill: "none",
|
|
44
|
+
strokeLineCap: "round",
|
|
45
|
+
strokeLinejoin: "round"
|
|
46
|
+
}), _react.default.createElement("path", {
|
|
47
|
+
d: "M9 11.5H14",
|
|
48
|
+
stroke: "currentColor",
|
|
49
|
+
fill: "none",
|
|
50
|
+
strokeLineCap: "round",
|
|
51
|
+
strokeLinejoin: "round"
|
|
52
|
+
}), _react.default.createElement("path", {
|
|
53
|
+
d: "M18.5 12.5V6.5C18.5 5.39543 17.6046 4.5 16.5 4.5H8.5C7.39543 4.5 6.5 5.39543 6.5 6.5V18.5C6.5 19.6046 7.39543 20.5 8.5 20.5H10.5",
|
|
54
|
+
stroke: "currentColor",
|
|
55
|
+
fill: "none",
|
|
56
|
+
strokeLineCap: "round",
|
|
57
|
+
strokeLinejoin: "round"
|
|
58
|
+
}), _react.default.createElement("path", {
|
|
59
|
+
d: "M17 21L17 15",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
fill: "none",
|
|
62
|
+
strokeLineCap: "round",
|
|
63
|
+
strokeLinejoin: "round"
|
|
64
|
+
}), _react.default.createElement("path", {
|
|
65
|
+
d: "M14 18L20 18",
|
|
66
|
+
stroke: "currentColor",
|
|
67
|
+
fill: "none",
|
|
68
|
+
strokeLineCap: "round",
|
|
69
|
+
strokeLinejoin: "round"
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
IconReinclude.propTypes = _prop_types.default;
|
|
74
|
+
IconReinclude.__docgenInfo = {
|
|
75
|
+
"description": "",
|
|
76
|
+
"methods": [],
|
|
77
|
+
"displayName": "IconReinclude",
|
|
78
|
+
"composes": ["./prop_types"]
|
|
79
|
+
};
|
|
80
|
+
var _default = IconReinclude;
|
|
81
|
+
exports.default = _default;
|