@flodesk/grain 10.10.10 → 10.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/box2.js +2 -4
- package/es/icons/icon-bold.js +28 -0
- package/es/icons/icon-bullet-list.js +21 -0
- package/es/icons/icon-italic.js +28 -0
- package/es/icons/icon-number-list.js +21 -0
- package/es/icons/icon-strike.js +28 -0
- package/es/icons/icon-underline.js +28 -0
- package/es/icons/index.js +7 -1
- package/package.json +1 -1
package/es/components/box2.js
CHANGED
|
@@ -14,8 +14,6 @@ var _excluded = ["color", "colorHover", "backgroundColor", "backgroundColorHover
|
|
|
14
14
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
15
15
|
|
|
16
16
|
import "core-js/modules/es.string.trim.js";
|
|
17
|
-
import "core-js/modules/es.regexp.exec.js";
|
|
18
|
-
import "core-js/modules/es.string.replace.js";
|
|
19
17
|
|
|
20
18
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21
19
|
|
|
@@ -163,12 +161,12 @@ export var Box2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
163
161
|
shadow: shadow,
|
|
164
162
|
shadowHover: shadowHover,
|
|
165
163
|
radius: radius
|
|
166
|
-
}, _defineProperty(_generateClassNameAtt, "position", position), _defineProperty(_generateClassNameAtt, "overflow", overflow), _defineProperty(_generateClassNameAtt, "transition", transition), _defineProperty(_generateClassNameAtt, "transitionHover", transitionHover), _defineProperty(_generateClassNameAtt, "cursor", cursor), _defineProperty(_generateClassNameAtt, "alignSelf", alignSelf), _defineProperty(_generateClassNameAtt, "borderColor", borderColor), _defineProperty(_generateClassNameAtt, "borderColorHover", borderColorHover), _defineProperty(_generateClassNameAtt, "borderWidth", borderWidth), _defineProperty(_generateClassNameAtt, "borderSide", borderSide), _generateClassNameAtt)), propClassName].join(' ').
|
|
164
|
+
}, _defineProperty(_generateClassNameAtt, "position", position), _defineProperty(_generateClassNameAtt, "overflow", overflow), _defineProperty(_generateClassNameAtt, "transition", transition), _defineProperty(_generateClassNameAtt, "transitionHover", transitionHover), _defineProperty(_generateClassNameAtt, "cursor", cursor), _defineProperty(_generateClassNameAtt, "alignSelf", alignSelf), _defineProperty(_generateClassNameAtt, "borderColor", borderColor), _defineProperty(_generateClassNameAtt, "borderColorHover", borderColorHover), _defineProperty(_generateClassNameAtt, "borderWidth", borderWidth), _defineProperty(_generateClassNameAtt, "borderSide", borderSide), _generateClassNameAtt)), propClassName].join(' ').trim();
|
|
167
165
|
var Tag = tag;
|
|
168
166
|
return ___EmotionJSX(Tag, _extends({
|
|
169
167
|
ref: ref,
|
|
170
168
|
style: styles,
|
|
171
|
-
className: classNames
|
|
169
|
+
className: classNames || undefined
|
|
172
170
|
}, otherProps), children);
|
|
173
171
|
});
|
|
174
172
|
Box2.propTypes = {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconBold = function IconBold(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 18 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("g", {
|
|
14
|
+
clipPath: "url(#prefix__clip0_1288_666)"
|
|
15
|
+
}, ___EmotionJSX("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M0 24V0h6.978c1.834 0 3.81.32 5.357 1.31C13.951 2.34 15 4.037 15 6.5s-1.049 4.16-2.665 5.19a6.77 6.77 0 01-.087.056c.38.157.744.344 1.088.563C14.95 13.341 16 15.04 16 17.5c0 2.462-1.049 4.16-2.665 5.19-1.548.99-3.523 1.31-5.357 1.31H0zm2-2h5.978c1.655 0 3.19-.299 4.281-.995C13.282 20.352 14 19.299 14 17.5c0-1.8-.718-2.852-1.74-3.505C11.167 13.299 9.632 13 7.977 13H2v9zm9.26-19.005C12.281 3.648 13 4.7 13 6.5c0 1.8-.718 2.852-1.74 3.505-1.092.696-2.627.995-4.282.995H2V2h4.978c1.655 0 3.19.299 4.281.995z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
})), ___EmotionJSX("defs", null, ___EmotionJSX("clipPath", {
|
|
21
|
+
id: "prefix__clip0_1288_666"
|
|
22
|
+
}, ___EmotionJSX("path", {
|
|
23
|
+
fill: "#fff",
|
|
24
|
+
d: "M0 0h16v24H0z"
|
|
25
|
+
}))));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default IconBold;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconBulletList = function IconBulletList(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
clipRule: "evenodd",
|
|
16
|
+
d: "M2 7a2 2 0 100-4 2 2 0 000 4zm22-3H6v2h18V4zm0 7H6v2h18v-2zM6 18h18v2H6v-2zm-2 1a2 2 0 11-4 0 2 2 0 014 0zm-2-5a2 2 0 100-4 2 2 0 000 4z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default IconBulletList;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconItalic = function IconItalic(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 18 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("g", {
|
|
14
|
+
clipPath: "url(#prefix__clip0_1288_675)"
|
|
15
|
+
}, ___EmotionJSX("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M6 0h12v2h-5.236L7.309 22H12v2H0v-2h5.236l5.455-20H6V0z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
})), ___EmotionJSX("defs", null, ___EmotionJSX("clipPath", {
|
|
21
|
+
id: "prefix__clip0_1288_675"
|
|
22
|
+
}, ___EmotionJSX("path", {
|
|
23
|
+
fill: "#fff",
|
|
24
|
+
d: "M0 0h18v24H0z"
|
|
25
|
+
}))));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default IconItalic;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconNumberList = function IconNumberList(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
clipRule: "evenodd",
|
|
16
|
+
d: "M2 3.5H1v-1h1.5A.5.5 0 013 3v3.5h2v1H0v-1h2v-3zM7 4h17v2H7V4zm0 7h17v2H7v-2zm17 7H7v2h17v-2zM1 10.5v-1h3.5a.5.5 0 01.5.5v1.6a.5.5 0 01-.402.49L1 12.81v.69h4v1H.5A.5.5 0 010 14v-1.6a.5.5 0 01.402-.49L4 11.19v-.69H1zm-1 6v1h4v1H2v1h2v1H0v1h4.5A.5.5 0 005 21v-4a.5.5 0 00-.5-.5H0z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default IconNumberList;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconStrike = function IconStrike(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("g", {
|
|
14
|
+
clipPath: "url(#prefix__clip0_1288_730)"
|
|
15
|
+
}, ___EmotionJSX("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M11.727.004c5.499-.149 7.8 3.742 8.25 5.804l-1.954.426c-.304-1.394-1.956-4.347-6.241-4.23C9.86 2.056 7.978 2.52 6.759 4c-.474.577-.772 1.446-.766 2.352.005.9.308 1.73.895 2.295.753.724 1.979 1.77 5.2 2.352H24v2H0v-2h6.583a9.682 9.682 0 01-1.081-.91c-1.056-1.017-1.5-2.407-1.51-3.724-.008-1.31.412-2.65 1.223-3.636C6.985.58 9.597.062 11.727.004zm.538 23.992c-5.498.15-7.8-3.742-8.25-5.803l1.955-.427c.304 1.394 1.956 4.347 6.241 4.23 1.921-.051 3.804-.516 5.022-1.997.475-.576.773-1.446.767-2.352-.006-.9-.308-1.73-.896-2.295A9.348 9.348 0 0016.72 15h2.61c.46.82.664 1.744.67 2.634.008 1.31-.412 2.651-1.223 3.636-1.77 2.15-4.382 2.668-6.512 2.726z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
})), ___EmotionJSX("defs", null, ___EmotionJSX("clipPath", {
|
|
21
|
+
id: "prefix__clip0_1288_730"
|
|
22
|
+
}, ___EmotionJSX("path", {
|
|
23
|
+
fill: "#fff",
|
|
24
|
+
d: "M0 0h24v24H0z"
|
|
25
|
+
}))));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default IconStrike;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "core-js/modules/es.object.assign.js";
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
4
|
+
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
|
+
|
|
8
|
+
var IconUnderline = function IconUnderline(props) {
|
|
9
|
+
return ___EmotionJSX("svg", _extends({
|
|
10
|
+
viewBox: "0 0 20 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, props), ___EmotionJSX("g", {
|
|
14
|
+
clipPath: "url(#prefix__clip0_1288_698)"
|
|
15
|
+
}, ___EmotionJSX("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M16 8.066V0h2v8.066c0 2.31-.405 4.764-1.623 6.671-1.262 1.976-3.334 3.266-6.377 3.266-3.043 0-5.115-1.29-6.377-3.266C2.405 12.83 2 10.376 2 8.066V0h2v8.066c0 2.13.383 4.145 1.31 5.595.882 1.383 2.31 2.342 4.69 2.342 2.38 0 3.808-.959 4.69-2.342.927-1.45 1.31-3.465 1.31-5.595zM20 22v2H0v-2h20z",
|
|
19
|
+
fill: "currentColor"
|
|
20
|
+
})), ___EmotionJSX("defs", null, ___EmotionJSX("clipPath", {
|
|
21
|
+
id: "prefix__clip0_1288_698"
|
|
22
|
+
}, ___EmotionJSX("path", {
|
|
23
|
+
fill: "#fff",
|
|
24
|
+
d: "M0 0h20v24H0z"
|
|
25
|
+
}))));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default IconUnderline;
|
package/es/icons/index.js
CHANGED
|
@@ -66,4 +66,10 @@ export { default as ColumnAndRows } from './icon-column-and-rows';
|
|
|
66
66
|
export { default as Columns } from './icon-columns';
|
|
67
67
|
export { default as Rows } from './icon-rows';
|
|
68
68
|
export { default as RowAndColumns } from './icon-row-and-columns';
|
|
69
|
-
export { default as RowsAndColumn } from './icon-rows-and-column';
|
|
69
|
+
export { default as RowsAndColumn } from './icon-rows-and-column';
|
|
70
|
+
export { default as IconItalic } from './icon-italic';
|
|
71
|
+
export { default as IconStrike } from './icon-strike';
|
|
72
|
+
export { default as IconBold } from './icon-bold';
|
|
73
|
+
export { default as IconUnderline } from './icon-underline';
|
|
74
|
+
export { default as IconBulletList } from './icon-bullet-list';
|
|
75
|
+
export { default as IconNumberList } from './icon-number-list';
|