@leafygreen-ui/icon 11.20.1 → 11.22.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/CHANGELOG.md +19 -0
- package/README.md +8 -8
- package/dist/AllProducts.js +2 -0
- package/dist/AllProducts.js.map +1 -0
- package/dist/NavCollapse.js +2 -0
- package/dist/NavCollapse.js.map +1 -0
- package/dist/NavExpand.js +2 -0
- package/dist/NavExpand.js.map +1 -0
- package/dist/Pin.js +2 -0
- package/dist/Pin.js.map +1 -0
- package/dist/ThumbsDown.js.map +1 -1
- package/dist/ThumbsUp.js.map +1 -1
- package/dist/Warning.js +1 -1
- package/dist/Warning.js.map +1 -1
- package/dist/esm/AllProducts.js +2 -0
- package/dist/esm/AllProducts.js.map +1 -0
- package/dist/esm/NavCollapse.js +2 -0
- package/dist/esm/NavCollapse.js.map +1 -0
- package/dist/esm/NavExpand.js +2 -0
- package/dist/esm/NavExpand.js.map +1 -0
- package/dist/esm/Pin.js +2 -0
- package/dist/esm/Pin.js.map +1 -0
- package/dist/esm/ThumbsDown.js.map +1 -1
- package/dist/esm/ThumbsUp.js.map +1 -1
- package/dist/esm/Warning.js +1 -1
- package/dist/esm/Warning.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/AllProducts.d.ts +17 -0
- package/dist/generated/AllProducts.d.ts.map +1 -0
- package/dist/generated/List.d.ts.map +1 -1
- package/dist/generated/NavCollapse.d.ts +17 -0
- package/dist/generated/NavCollapse.d.ts.map +1 -0
- package/dist/generated/NavExpand.d.ts +17 -0
- package/dist/generated/NavExpand.d.ts.map +1 -0
- package/dist/generated/Pin.d.ts +17 -0
- package/dist/generated/Pin.d.ts.map +1 -0
- package/dist/generated/Return.d.ts.map +1 -1
- package/dist/generated/Sparkle.d.ts.map +1 -1
- package/dist/glyphs/index.d.ts +17 -1
- package/dist/glyphs/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/generated/AllProducts.tsx +45 -0
- package/src/generated/List.tsx +17 -57
- package/src/generated/NavCollapse.tsx +45 -0
- package/src/generated/NavExpand.tsx +45 -0
- package/src/generated/Pin.tsx +45 -0
- package/src/generated/Return.tsx +17 -40
- package/src/generated/Sparkle.tsx +17 -45
- package/src/generated/ThumbsDown.tsx +1 -1
- package/src/generated/ThumbsUp.tsx +1 -1
- package/src/generated/Warning.tsx +2 -2
- package/src/glyphs/AllProducts.svg +11 -0
- package/src/glyphs/NavCollapse.svg +5 -0
- package/src/glyphs/NavExpand.svg +5 -0
- package/src/glyphs/Pin.svg +3 -0
- package/src/glyphs/ThumbsDown.svg +1 -1
- package/src/glyphs/ThumbsUp.svg +1 -1
- package/src/glyphs/Warning.svg +1 -1
- package/src/glyphs/index.ts +8 -0
- package/.turbo/turbo-build.log +0 -814
- package/.turbo/turbo-docs.log +0 -3
- package/.turbo/turbo-tsc.log +0 -1
- package/stories.js +0 -1
- package/tsconfig.tsbuildinfo +0 -1
- package/tsdoc.json +0 -94
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafygreen-ui/icon",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.22.0",
|
|
4
4
|
"description": "LeafyGreen UI Kit Icons",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@leafygreen-ui/palette": "^4.0.
|
|
26
|
+
"@leafygreen-ui/palette": "^4.0.6",
|
|
27
27
|
"@types/xml2json": "^0.11.0",
|
|
28
28
|
"xml2json": "^0.12.0",
|
|
29
|
-
"@leafygreen-ui/lib": "^10.4.
|
|
29
|
+
"@leafygreen-ui/lib": "^10.4.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@leafygreen-ui/emotion": "^4.0.
|
|
32
|
+
"@leafygreen-ui/emotion": "^4.0.6",
|
|
33
33
|
"@svgr/core": "^5.3.1",
|
|
34
34
|
"@types/meow": "^6.0.0",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum dbd199479a1021c896ec23bcdb476edc
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
10
|
+
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
11
|
+
import { LGGlyph } from '../types';
|
|
12
|
+
export interface AllProductsProps extends LGGlyph.ComponentProps {}
|
|
13
|
+
const AllProducts = ({
|
|
14
|
+
className,
|
|
15
|
+
size = 16,
|
|
16
|
+
title,
|
|
17
|
+
['aria-label']: ariaLabel,
|
|
18
|
+
['aria-labelledby']: ariaLabelledby,
|
|
19
|
+
fill,
|
|
20
|
+
role = 'img',
|
|
21
|
+
...props
|
|
22
|
+
}: AllProductsProps) => {
|
|
23
|
+
const fillStyle = css`
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
26
|
+
const noFlexShrink = css`
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
29
|
+
const accessibleProps = generateAccessibleProps(role, 'AllProducts', {
|
|
30
|
+
title,
|
|
31
|
+
['aria-label']: ariaLabel,
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
33
|
+
});
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M2.5 3.5C2.5 2.94772 2.94772 2.5 3.5 2.5H4.5C5.05228 2.5 5.5 2.94772 5.5 3.5V4.5C5.5 5.05228 5.05228 5.5 4.5 5.5H3.5C2.94772 5.5 2.5 5.05228 2.5 4.5V3.5Z" fill={'currentColor'} /><path d="M6.5 3.5C6.5 2.94772 6.94772 2.5 7.5 2.5H8.5C9.05228 2.5 9.5 2.94772 9.5 3.5V4.5C9.5 5.05228 9.05228 5.5 8.5 5.5H7.5C6.94772 5.5 6.5 5.05228 6.5 4.5V3.5Z" fill={'currentColor'} /><path d="M11.5 2.5C10.9477 2.5 10.5 2.94772 10.5 3.5V4.5C10.5 5.05228 10.9477 5.5 11.5 5.5H12.5C13.0523 5.5 13.5 5.05228 13.5 4.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5H11.5Z" fill={'currentColor'} /><path d="M2.5 7.5C2.5 6.94772 2.94772 6.5 3.5 6.5H4.5C5.05228 6.5 5.5 6.94772 5.5 7.5V8.5C5.5 9.05228 5.05228 9.5 4.5 9.5H3.5C2.94772 9.5 2.5 9.05228 2.5 8.5V7.5Z" fill={'currentColor'} /><path d="M7.5 6.5C6.94772 6.5 6.5 6.94772 6.5 7.5V8.5C6.5 9.05228 6.94772 9.5 7.5 9.5H8.5C9.05228 9.5 9.5 9.05228 9.5 8.5V7.5C9.5 6.94772 9.05228 6.5 8.5 6.5H7.5Z" fill={'currentColor'} /><path d="M10.5 7.5C10.5 6.94772 10.9477 6.5 11.5 6.5H12.5C13.0523 6.5 13.5 6.94772 13.5 7.5V8.5C13.5 9.05228 13.0523 9.5 12.5 9.5H11.5C10.9477 9.5 10.5 9.05228 10.5 8.5V7.5Z" fill={'currentColor'} /><path d="M3.5 10.5C2.94772 10.5 2.5 10.9477 2.5 11.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H4.5C5.05228 13.5 5.5 13.0523 5.5 12.5V11.5C5.5 10.9477 5.05228 10.5 4.5 10.5H3.5Z" fill={'currentColor'} /><path d="M6.5 11.5C6.5 10.9477 6.94772 10.5 7.5 10.5H8.5C9.05228 10.5 9.5 10.9477 9.5 11.5V12.5C9.5 13.0523 9.05228 13.5 8.5 13.5H7.5C6.94772 13.5 6.5 13.0523 6.5 12.5V11.5Z" fill={'currentColor'} /><path d="M11.5 10.5C10.9477 10.5 10.5 10.9477 10.5 11.5V12.5C10.5 13.0523 10.9477 13.5 11.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V11.5C13.5 10.9477 13.0523 10.5 12.5 10.5H11.5Z" fill={'currentColor'} /></svg>;
|
|
37
|
+
};
|
|
38
|
+
AllProducts.displayName = 'AllProducts';
|
|
39
|
+
AllProducts.isGlyph = true;
|
|
40
|
+
AllProducts.propTypes = {
|
|
41
|
+
fill: PropTypes.string,
|
|
42
|
+
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
43
|
+
className: PropTypes.string
|
|
44
|
+
};
|
|
45
|
+
export default AllProducts;
|
package/src/generated/List.tsx
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum 13856fbbed35bc479e5113e9f3561e8e
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
10
|
-
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
11
10
|
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
12
11
|
import { LGGlyph } from '../types';
|
|
13
12
|
export interface ListProps extends LGGlyph.ComponentProps {}
|
|
@@ -22,64 +21,25 @@ const List = ({
|
|
|
22
21
|
...props
|
|
23
22
|
}: ListProps) => {
|
|
24
23
|
const fillStyle = css`
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
27
26
|
const noFlexShrink = css`
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
30
29
|
const accessibleProps = generateAccessibleProps(role, 'List', {
|
|
31
30
|
title,
|
|
32
31
|
['aria-label']: ariaLabel,
|
|
33
|
-
['aria-labelledby']: ariaLabelledby
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
34
33
|
});
|
|
35
|
-
return (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
[fillStyle]: fill != null,
|
|
40
|
-
},
|
|
41
|
-
noFlexShrink,
|
|
42
|
-
className,
|
|
43
|
-
)}
|
|
44
|
-
height={typeof size === 'number' ? size : sizeMap[size]}
|
|
45
|
-
width={typeof size === 'number' ? size : sizeMap[size]}
|
|
46
|
-
role={role}
|
|
47
|
-
{...accessibleProps}
|
|
48
|
-
{...props}
|
|
49
|
-
viewBox="0 0 16 16"
|
|
50
|
-
>
|
|
51
|
-
<path
|
|
52
|
-
d="M3.125 2.75C2.43464 2.75 1.875 3.30964 1.875 4C1.875 4.69036 2.43464 5.25 3.125 5.25C3.81536 5.25 4.375 4.69036 4.375 4C4.375 3.30964 3.81536 2.75 3.125 2.75Z"
|
|
53
|
-
fill={'currentColor'}
|
|
54
|
-
/>
|
|
55
|
-
<path
|
|
56
|
-
d="M3.125 6.75C2.43464 6.75 1.875 7.30964 1.875 8C1.875 8.69036 2.43464 9.25 3.125 9.25C3.81536 9.25 4.375 8.69036 4.375 8C4.375 7.30964 3.81536 6.75 3.125 6.75Z"
|
|
57
|
-
fill={'currentColor'}
|
|
58
|
-
/>
|
|
59
|
-
<path
|
|
60
|
-
d="M1.875 12C1.875 11.3096 2.43464 10.75 3.125 10.75C3.81536 10.75 4.375 11.3096 4.375 12C4.375 12.6904 3.81536 13.25 3.125 13.25C2.43464 13.25 1.875 12.6904 1.875 12Z"
|
|
61
|
-
fill={'currentColor'}
|
|
62
|
-
/>
|
|
63
|
-
<path
|
|
64
|
-
d="M6.625 3C6.07272 3 5.625 3.44772 5.625 4C5.625 4.55228 6.07272 5 6.625 5H13.125C13.6773 5 14.125 4.55228 14.125 4C14.125 3.44772 13.6773 3 13.125 3H6.625Z"
|
|
65
|
-
fill={'currentColor'}
|
|
66
|
-
/>
|
|
67
|
-
<path
|
|
68
|
-
d="M5.625 8C5.625 7.44772 6.07272 7 6.625 7H13.125C13.6773 7 14.125 7.44772 14.125 8C14.125 8.55228 13.6773 9 13.125 9H6.625C6.07272 9 5.625 8.55228 5.625 8Z"
|
|
69
|
-
fill={'currentColor'}
|
|
70
|
-
/>
|
|
71
|
-
<path
|
|
72
|
-
d="M6.625 11C6.07272 11 5.625 11.4477 5.625 12C5.625 12.5523 6.07272 13 6.625 13H13.125C13.6773 13 14.125 12.5523 14.125 12C14.125 11.4477 13.6773 11 13.125 11H6.625Z"
|
|
73
|
-
fill={'currentColor'}
|
|
74
|
-
/>
|
|
75
|
-
</svg>
|
|
76
|
-
);
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M3.125 2.75C2.43464 2.75 1.875 3.30964 1.875 4C1.875 4.69036 2.43464 5.25 3.125 5.25C3.81536 5.25 4.375 4.69036 4.375 4C4.375 3.30964 3.81536 2.75 3.125 2.75Z" fill={'currentColor'} /><path d="M3.125 6.75C2.43464 6.75 1.875 7.30964 1.875 8C1.875 8.69036 2.43464 9.25 3.125 9.25C3.81536 9.25 4.375 8.69036 4.375 8C4.375 7.30964 3.81536 6.75 3.125 6.75Z" fill={'currentColor'} /><path d="M1.875 12C1.875 11.3096 2.43464 10.75 3.125 10.75C3.81536 10.75 4.375 11.3096 4.375 12C4.375 12.6904 3.81536 13.25 3.125 13.25C2.43464 13.25 1.875 12.6904 1.875 12Z" fill={'currentColor'} /><path d="M6.625 3C6.07272 3 5.625 3.44772 5.625 4C5.625 4.55228 6.07272 5 6.625 5H13.125C13.6773 5 14.125 4.55228 14.125 4C14.125 3.44772 13.6773 3 13.125 3H6.625Z" fill={'currentColor'} /><path d="M5.625 8C5.625 7.44772 6.07272 7 6.625 7H13.125C13.6773 7 14.125 7.44772 14.125 8C14.125 8.55228 13.6773 9 13.125 9H6.625C6.07272 9 5.625 8.55228 5.625 8Z" fill={'currentColor'} /><path d="M6.625 11C6.07272 11 5.625 11.4477 5.625 12C5.625 12.5523 6.07272 13 6.625 13H13.125C13.6773 13 14.125 12.5523 14.125 12C14.125 11.4477 13.6773 11 13.125 11H6.625Z" fill={'currentColor'} /></svg>;
|
|
77
37
|
};
|
|
78
38
|
List.displayName = 'List';
|
|
79
39
|
List.isGlyph = true;
|
|
80
40
|
List.propTypes = {
|
|
81
41
|
fill: PropTypes.string,
|
|
82
42
|
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
83
|
-
className: PropTypes.string
|
|
43
|
+
className: PropTypes.string
|
|
84
44
|
};
|
|
85
|
-
export default List;
|
|
45
|
+
export default List;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum 2ea5bd5022b3f89ef21314161e9c7bb6
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
10
|
+
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
11
|
+
import { LGGlyph } from '../types';
|
|
12
|
+
export interface NavCollapseProps extends LGGlyph.ComponentProps {}
|
|
13
|
+
const NavCollapse = ({
|
|
14
|
+
className,
|
|
15
|
+
size = 16,
|
|
16
|
+
title,
|
|
17
|
+
['aria-label']: ariaLabel,
|
|
18
|
+
['aria-labelledby']: ariaLabelledby,
|
|
19
|
+
fill,
|
|
20
|
+
role = 'img',
|
|
21
|
+
...props
|
|
22
|
+
}: NavCollapseProps) => {
|
|
23
|
+
const fillStyle = css`
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
26
|
+
const noFlexShrink = css`
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
29
|
+
const accessibleProps = generateAccessibleProps(role, 'NavCollapse', {
|
|
30
|
+
title,
|
|
31
|
+
['aria-label']: ariaLabel,
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
33
|
+
});
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M7.5 4H6.5C5.39543 4 4.5 4.89543 4.5 6V10C4.5 11.1046 5.39543 12 6.5 12H7.5V4Z" fill={'currentColor'} /><path d="M8.21716 8.28284C8.06095 8.12663 8.06095 7.87337 8.21716 7.71716L10.7627 5.17157C10.919 5.01536 11.1722 5.01536 11.3284 5.17157C11.4846 5.32778 11.4846 5.58105 11.3284 5.73726L9.06569 8L11.3284 10.2627C11.4846 10.419 11.4846 10.6722 11.3284 10.8284C11.1722 10.9846 10.919 10.9846 10.7627 10.8284L8.21716 8.28284Z" fill={'currentColor'} /><path fillRule="evenodd" clipRule="evenodd" d="M2 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V4ZM4 3.25H12C12.4142 3.25 12.75 3.58579 12.75 4V12C12.75 12.4142 12.4142 12.75 12 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12V4C3.25 3.58579 3.58579 3.25 4 3.25Z" fill={'currentColor'} /></svg>;
|
|
37
|
+
};
|
|
38
|
+
NavCollapse.displayName = 'NavCollapse';
|
|
39
|
+
NavCollapse.isGlyph = true;
|
|
40
|
+
NavCollapse.propTypes = {
|
|
41
|
+
fill: PropTypes.string,
|
|
42
|
+
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
43
|
+
className: PropTypes.string
|
|
44
|
+
};
|
|
45
|
+
export default NavCollapse;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum e5a0c8d34e8fcc2a863a98a6e53e105f
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
10
|
+
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
11
|
+
import { LGGlyph } from '../types';
|
|
12
|
+
export interface NavExpandProps extends LGGlyph.ComponentProps {}
|
|
13
|
+
const NavExpand = ({
|
|
14
|
+
className,
|
|
15
|
+
size = 16,
|
|
16
|
+
title,
|
|
17
|
+
['aria-label']: ariaLabel,
|
|
18
|
+
['aria-labelledby']: ariaLabelledby,
|
|
19
|
+
fill,
|
|
20
|
+
role = 'img',
|
|
21
|
+
...props
|
|
22
|
+
}: NavExpandProps) => {
|
|
23
|
+
const fillStyle = css`
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
26
|
+
const noFlexShrink = css`
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
29
|
+
const accessibleProps = generateAccessibleProps(role, 'NavExpand', {
|
|
30
|
+
title,
|
|
31
|
+
['aria-label']: ariaLabel,
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
33
|
+
});
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M8.5 4H9.5C10.6046 4 11.5 4.89543 11.5 6V10C11.5 11.1046 10.6046 12 9.5 12H8.5V4Z" fill={'currentColor'} /><path d="M7.78284 8.28284C7.93905 8.12663 7.93905 7.87337 7.78284 7.71716L5.23726 5.17157C5.08105 5.01536 4.82778 5.01536 4.67157 5.17157C4.51536 5.32778 4.51536 5.58105 4.67157 5.73726L6.93431 8L4.67157 10.2627C4.51536 10.419 4.51536 10.6722 4.67157 10.8284C4.82778 10.9846 5.08105 10.9846 5.23726 10.8284L7.78284 8.28284Z" fill={'currentColor'} /><path fillRule="evenodd" clipRule="evenodd" d="M14 4C14 2.89543 13.1046 2 12 2H4C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4ZM12 3.25H4C3.58579 3.25 3.25 3.58579 3.25 4V12C3.25 12.4142 3.58579 12.75 4 12.75H12C12.4142 12.75 12.75 12.4142 12.75 12V4C12.75 3.58579 12.4142 3.25 12 3.25Z" fill={'currentColor'} /></svg>;
|
|
37
|
+
};
|
|
38
|
+
NavExpand.displayName = 'NavExpand';
|
|
39
|
+
NavExpand.isGlyph = true;
|
|
40
|
+
NavExpand.propTypes = {
|
|
41
|
+
fill: PropTypes.string,
|
|
42
|
+
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
43
|
+
className: PropTypes.string
|
|
44
|
+
};
|
|
45
|
+
export default NavExpand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum af3241bbc283fa461885e25ad52d20b7
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
10
|
+
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
11
|
+
import { LGGlyph } from '../types';
|
|
12
|
+
export interface PinProps extends LGGlyph.ComponentProps {}
|
|
13
|
+
const Pin = ({
|
|
14
|
+
className,
|
|
15
|
+
size = 16,
|
|
16
|
+
title,
|
|
17
|
+
['aria-label']: ariaLabel,
|
|
18
|
+
['aria-labelledby']: ariaLabelledby,
|
|
19
|
+
fill,
|
|
20
|
+
role = 'img',
|
|
21
|
+
...props
|
|
22
|
+
}: PinProps) => {
|
|
23
|
+
const fillStyle = css`
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
26
|
+
const noFlexShrink = css`
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
29
|
+
const accessibleProps = generateAccessibleProps(role, 'Pin', {
|
|
30
|
+
title,
|
|
31
|
+
['aria-label']: ariaLabel,
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
33
|
+
});
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M10 8.5V3.3H10.6833C11.0423 3.3 11.3333 3.00898 11.3333 2.65C11.3333 2.29101 11.0423 2 10.6833 2H5.31667C4.95768 2 4.66667 2.29101 4.66667 2.65C4.66667 3.00898 4.95768 3.3 5.31667 3.3H6V8.5L4.38343 9.55077C4.14428 9.70621 4 9.97208 4 10.2573C4 10.7227 4.37728 11.1 4.84269 11.1H7.46667V14.4667C7.46667 14.7612 7.70545 15 8 15C8.29455 15 8.53333 14.7612 8.53333 14.4667V11.1H11.1573C11.6227 11.1 12 10.7227 12 10.2573C12 9.97208 11.8557 9.70622 11.6166 9.55077L10 8.5Z" fill={'currentColor'} /></svg>;
|
|
37
|
+
};
|
|
38
|
+
Pin.displayName = 'Pin';
|
|
39
|
+
Pin.isGlyph = true;
|
|
40
|
+
Pin.propTypes = {
|
|
41
|
+
fill: PropTypes.string,
|
|
42
|
+
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
43
|
+
className: PropTypes.string
|
|
44
|
+
};
|
|
45
|
+
export default Pin;
|
package/src/generated/Return.tsx
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum 088ef2cc9a4519b2bddcd4a7af33d5e1
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
10
|
-
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
11
10
|
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
12
11
|
import { LGGlyph } from '../types';
|
|
13
12
|
export interface ReturnProps extends LGGlyph.ComponentProps {}
|
|
@@ -22,47 +21,25 @@ const Return = ({
|
|
|
22
21
|
...props
|
|
23
22
|
}: ReturnProps) => {
|
|
24
23
|
const fillStyle = css`
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
27
26
|
const noFlexShrink = css`
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
30
29
|
const accessibleProps = generateAccessibleProps(role, 'Return', {
|
|
31
30
|
title,
|
|
32
31
|
['aria-label']: ariaLabel,
|
|
33
|
-
['aria-labelledby']: ariaLabelledby
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
34
33
|
});
|
|
35
|
-
return (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
[fillStyle]: fill != null,
|
|
40
|
-
},
|
|
41
|
-
noFlexShrink,
|
|
42
|
-
className,
|
|
43
|
-
)}
|
|
44
|
-
height={typeof size === 'number' ? size : sizeMap[size]}
|
|
45
|
-
width={typeof size === 'number' ? size : sizeMap[size]}
|
|
46
|
-
role={role}
|
|
47
|
-
{...accessibleProps}
|
|
48
|
-
{...props}
|
|
49
|
-
viewBox="0 0 16 16"
|
|
50
|
-
>
|
|
51
|
-
<g id="Return">
|
|
52
|
-
<path
|
|
53
|
-
id="Union"
|
|
54
|
-
d="M5 2C4.44772 2 4 2.44772 4 3C4 3.55228 4.44772 4 5 4H10C11.3807 4 12.5 5.11929 12.5 6.5C12.5 7.88071 11.3807 9 10 9H5.20328L6.65079 7.75927C7.07012 7.39985 7.11868 6.76855 6.75926 6.34923C6.39983 5.9299 5.76853 5.88134 5.34921 6.24076L1.84921 9.24076C1.62756 9.43074 1.5 9.70809 1.5 10C1.5 10.2919 1.62756 10.5693 1.84921 10.7593L5.34921 13.7593C5.76853 14.1187 6.39983 14.0701 6.75926 13.6508C7.11868 13.2315 7.07012 12.6002 6.65079 12.2408L5.20324 11H10C12.4853 11 14.5 8.98528 14.5 6.5C14.5 4.01472 12.4853 2 10 2H5Z"
|
|
55
|
-
fill={'currentColor'}
|
|
56
|
-
/>
|
|
57
|
-
</g>
|
|
58
|
-
</svg>
|
|
59
|
-
);
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><g id="Return"><path id="Union" d="M5 2C4.44772 2 4 2.44772 4 3C4 3.55228 4.44772 4 5 4H10C11.3807 4 12.5 5.11929 12.5 6.5C12.5 7.88071 11.3807 9 10 9H5.20328L6.65079 7.75927C7.07012 7.39985 7.11868 6.76855 6.75926 6.34923C6.39983 5.9299 5.76853 5.88134 5.34921 6.24076L1.84921 9.24076C1.62756 9.43074 1.5 9.70809 1.5 10C1.5 10.2919 1.62756 10.5693 1.84921 10.7593L5.34921 13.7593C5.76853 14.1187 6.39983 14.0701 6.75926 13.6508C7.11868 13.2315 7.07012 12.6002 6.65079 12.2408L5.20324 11H10C12.4853 11 14.5 8.98528 14.5 6.5C14.5 4.01472 12.4853 2 10 2H5Z" fill={'currentColor'} /></g></svg>;
|
|
60
37
|
};
|
|
61
38
|
Return.displayName = 'Return';
|
|
62
39
|
Return.isGlyph = true;
|
|
63
40
|
Return.propTypes = {
|
|
64
41
|
fill: PropTypes.string,
|
|
65
42
|
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
66
|
-
className: PropTypes.string
|
|
43
|
+
className: PropTypes.string
|
|
67
44
|
};
|
|
68
|
-
export default Return;
|
|
45
|
+
export default Return;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
2
|
+
* This is a generated file. Do not modify it manually.
|
|
3
|
+
*
|
|
4
|
+
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
+
* @checksum 90addb5f1c30daa93d14be4b89af617b
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
10
|
-
|
|
9
|
+
import { css, cx } from '@leafygreen-ui/emotion';
|
|
11
10
|
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
|
|
12
11
|
import { LGGlyph } from '../types';
|
|
13
12
|
export interface SparkleProps extends LGGlyph.ComponentProps {}
|
|
@@ -22,52 +21,25 @@ const Sparkle = ({
|
|
|
22
21
|
...props
|
|
23
22
|
}: SparkleProps) => {
|
|
24
23
|
const fillStyle = css`
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
color: ${fill};
|
|
25
|
+
`;
|
|
27
26
|
const noFlexShrink = css`
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
30
29
|
const accessibleProps = generateAccessibleProps(role, 'Sparkle', {
|
|
31
30
|
title,
|
|
32
31
|
['aria-label']: ariaLabel,
|
|
33
|
-
['aria-labelledby']: ariaLabelledby
|
|
32
|
+
['aria-labelledby']: ariaLabelledby
|
|
34
33
|
});
|
|
35
|
-
return (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
[fillStyle]: fill != null,
|
|
40
|
-
},
|
|
41
|
-
noFlexShrink,
|
|
42
|
-
className,
|
|
43
|
-
)}
|
|
44
|
-
height={typeof size === 'number' ? size : sizeMap[size]}
|
|
45
|
-
width={typeof size === 'number' ? size : sizeMap[size]}
|
|
46
|
-
role={role}
|
|
47
|
-
{...accessibleProps}
|
|
48
|
-
{...props}
|
|
49
|
-
viewBox="0 0 16 16"
|
|
50
|
-
>
|
|
51
|
-
<path
|
|
52
|
-
d="M6.27334 2.89343L5.27501 5.88842C5.1749 6.18877 4.93922 6.42445 4.63887 6.52456L1.64388 7.52289C1.18537 7.67573 1.18537 8.32427 1.64388 8.47711L4.63887 9.47544C4.93922 9.57555 5.1749 9.81123 5.27501 10.1116L6.27334 13.1066C6.42618 13.5651 7.07472 13.5651 7.22756 13.1066L8.22589 10.1116C8.326 9.81123 8.56168 9.57555 8.86203 9.47544L11.857 8.47711C12.3155 8.32427 12.3155 7.67573 11.857 7.52289L8.86203 6.52456C8.56168 6.42445 8.326 6.18877 8.22589 5.88842L7.22756 2.89343C7.07472 2.43492 6.42618 2.43492 6.27334 2.89343Z"
|
|
53
|
-
fill={'currentColor'}
|
|
54
|
-
/>
|
|
55
|
-
<path
|
|
56
|
-
d="M12.5469 1.17194L12.3158 1.8651C12.2157 2.16545 11.98 2.40113 11.6797 2.50125L10.9865 2.7323C10.7573 2.80872 10.7573 3.13299 10.9865 3.20941L11.6797 3.44046C11.98 3.54058 12.2157 3.77626 12.3158 4.0766L12.5469 4.76977C12.6233 4.99902 12.9476 4.99902 13.024 4.76977L13.255 4.0766C13.3552 3.77626 13.5908 3.54058 13.8912 3.44046L14.5843 3.20941C14.8136 3.13299 14.8136 2.80872 14.5843 2.7323L13.8912 2.50125C13.5908 2.40113 13.3552 2.16545 13.255 1.8651L13.024 1.17194C12.9476 0.942687 12.6233 0.942687 12.5469 1.17194Z"
|
|
57
|
-
fill={'currentColor'}
|
|
58
|
-
/>
|
|
59
|
-
<path
|
|
60
|
-
d="M12.5469 11.2302L12.3158 11.9234C12.2157 12.2237 11.98 12.4594 11.6797 12.5595L10.9865 12.7906C10.7573 12.867 10.7573 13.1913 10.9865 13.2677L11.6797 13.4988C11.98 13.5989 12.2157 13.8346 12.3158 14.1349L12.5469 14.8281C12.6233 15.0573 12.9476 15.0573 13.024 14.8281L13.255 14.1349C13.3552 13.8346 13.5908 13.5989 13.8912 13.4988L14.5843 13.2677C14.8136 13.1913 14.8136 12.867 14.5843 12.7906L13.8912 12.5595C13.5908 12.4594 13.3552 12.2237 13.255 11.9234L13.024 11.2302C12.9476 11.001 12.6233 11.001 12.5469 11.2302Z"
|
|
61
|
-
fill={'currentColor'}
|
|
62
|
-
/>
|
|
63
|
-
</svg>
|
|
64
|
-
);
|
|
34
|
+
return <svg className={cx({
|
|
35
|
+
[fillStyle]: fill != null
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path d="M6.27334 2.89343L5.27501 5.88842C5.1749 6.18877 4.93922 6.42445 4.63887 6.52456L1.64388 7.52289C1.18537 7.67573 1.18537 8.32427 1.64388 8.47711L4.63887 9.47544C4.93922 9.57555 5.1749 9.81123 5.27501 10.1116L6.27334 13.1066C6.42618 13.5651 7.07472 13.5651 7.22756 13.1066L8.22589 10.1116C8.326 9.81123 8.56168 9.57555 8.86203 9.47544L11.857 8.47711C12.3155 8.32427 12.3155 7.67573 11.857 7.52289L8.86203 6.52456C8.56168 6.42445 8.326 6.18877 8.22589 5.88842L7.22756 2.89343C7.07472 2.43492 6.42618 2.43492 6.27334 2.89343Z" fill={'currentColor'} /><path d="M12.5469 1.17194L12.3158 1.8651C12.2157 2.16545 11.98 2.40113 11.6797 2.50125L10.9865 2.7323C10.7573 2.80872 10.7573 3.13299 10.9865 3.20941L11.6797 3.44046C11.98 3.54058 12.2157 3.77626 12.3158 4.0766L12.5469 4.76977C12.6233 4.99902 12.9476 4.99902 13.024 4.76977L13.255 4.0766C13.3552 3.77626 13.5908 3.54058 13.8912 3.44046L14.5843 3.20941C14.8136 3.13299 14.8136 2.80872 14.5843 2.7323L13.8912 2.50125C13.5908 2.40113 13.3552 2.16545 13.255 1.8651L13.024 1.17194C12.9476 0.942687 12.6233 0.942687 12.5469 1.17194Z" fill={'currentColor'} /><path d="M12.5469 11.2302L12.3158 11.9234C12.2157 12.2237 11.98 12.4594 11.6797 12.5595L10.9865 12.7906C10.7573 12.867 10.7573 13.1913 10.9865 13.2677L11.6797 13.4988C11.98 13.5989 12.2157 13.8346 12.3158 14.1349L12.5469 14.8281C12.6233 15.0573 12.9476 15.0573 13.024 14.8281L13.255 14.1349C13.3552 13.8346 13.5908 13.5989 13.8912 13.4988L14.5843 13.2677C14.8136 13.1913 14.8136 12.867 14.5843 12.7906L13.8912 12.5595C13.5908 12.4594 13.3552 12.2237 13.255 11.9234L13.024 11.2302C12.9476 11.001 12.6233 11.001 12.5469 11.2302Z" fill={'currentColor'} /></svg>;
|
|
65
37
|
};
|
|
66
38
|
Sparkle.displayName = 'Sparkle';
|
|
67
39
|
Sparkle.isGlyph = true;
|
|
68
40
|
Sparkle.propTypes = {
|
|
69
41
|
fill: PropTypes.string,
|
|
70
42
|
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
71
|
-
className: PropTypes.string
|
|
43
|
+
className: PropTypes.string
|
|
72
44
|
};
|
|
73
|
-
export default Sparkle;
|
|
45
|
+
export default Sparkle;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This is a generated file. Do not modify it manually.
|
|
3
3
|
*
|
|
4
4
|
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
-
* @checksum
|
|
5
|
+
* @checksum b6b01c1f22b5d6b3f95b000d74920803
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This is a generated file. Do not modify it manually.
|
|
3
3
|
*
|
|
4
4
|
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
-
* @checksum
|
|
5
|
+
* @checksum 11798319d8cc6c8c6aa2004d4d1da071
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This is a generated file. Do not modify it manually.
|
|
3
3
|
*
|
|
4
4
|
* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts
|
|
5
|
-
* @checksum
|
|
5
|
+
* @checksum e9c2a4040a3148c4e10b1b4d8ea687ac
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -33,7 +33,7 @@ const Warning = ({
|
|
|
33
33
|
});
|
|
34
34
|
return <svg className={cx({
|
|
35
35
|
[fillStyle]: fill != null
|
|
36
|
-
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path fillRule="evenodd" clipRule="evenodd" d="M8.8639
|
|
36
|
+
}, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16"><path fillRule="evenodd" clipRule="evenodd" d="M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z" fill={'currentColor'} /></svg>;
|
|
37
37
|
};
|
|
38
38
|
Warning.displayName = 'Warning';
|
|
39
39
|
Warning.isGlyph = true;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.5 3.5C2.5 2.94772 2.94772 2.5 3.5 2.5H4.5C5.05228 2.5 5.5 2.94772 5.5 3.5V4.5C5.5 5.05228 5.05228 5.5 4.5 5.5H3.5C2.94772 5.5 2.5 5.05228 2.5 4.5V3.5Z" fill="#000"/>
|
|
3
|
+
<path d="M6.5 3.5C6.5 2.94772 6.94772 2.5 7.5 2.5H8.5C9.05228 2.5 9.5 2.94772 9.5 3.5V4.5C9.5 5.05228 9.05228 5.5 8.5 5.5H7.5C6.94772 5.5 6.5 5.05228 6.5 4.5V3.5Z" fill="#000"/>
|
|
4
|
+
<path d="M11.5 2.5C10.9477 2.5 10.5 2.94772 10.5 3.5V4.5C10.5 5.05228 10.9477 5.5 11.5 5.5H12.5C13.0523 5.5 13.5 5.05228 13.5 4.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5H11.5Z" fill="#000"/>
|
|
5
|
+
<path d="M2.5 7.5C2.5 6.94772 2.94772 6.5 3.5 6.5H4.5C5.05228 6.5 5.5 6.94772 5.5 7.5V8.5C5.5 9.05228 5.05228 9.5 4.5 9.5H3.5C2.94772 9.5 2.5 9.05228 2.5 8.5V7.5Z" fill="#000"/>
|
|
6
|
+
<path d="M7.5 6.5C6.94772 6.5 6.5 6.94772 6.5 7.5V8.5C6.5 9.05228 6.94772 9.5 7.5 9.5H8.5C9.05228 9.5 9.5 9.05228 9.5 8.5V7.5C9.5 6.94772 9.05228 6.5 8.5 6.5H7.5Z" fill="#000"/>
|
|
7
|
+
<path d="M10.5 7.5C10.5 6.94772 10.9477 6.5 11.5 6.5H12.5C13.0523 6.5 13.5 6.94772 13.5 7.5V8.5C13.5 9.05228 13.0523 9.5 12.5 9.5H11.5C10.9477 9.5 10.5 9.05228 10.5 8.5V7.5Z" fill="#000"/>
|
|
8
|
+
<path d="M3.5 10.5C2.94772 10.5 2.5 10.9477 2.5 11.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H4.5C5.05228 13.5 5.5 13.0523 5.5 12.5V11.5C5.5 10.9477 5.05228 10.5 4.5 10.5H3.5Z" fill="#000"/>
|
|
9
|
+
<path d="M6.5 11.5C6.5 10.9477 6.94772 10.5 7.5 10.5H8.5C9.05228 10.5 9.5 10.9477 9.5 11.5V12.5C9.5 13.0523 9.05228 13.5 8.5 13.5H7.5C6.94772 13.5 6.5 13.0523 6.5 12.5V11.5Z" fill="#000"/>
|
|
10
|
+
<path d="M11.5 10.5C10.9477 10.5 10.5 10.9477 10.5 11.5V12.5C10.5 13.0523 10.9477 13.5 11.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V11.5C13.5 10.9477 13.0523 10.5 12.5 10.5H11.5Z" fill="#000"/>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.5 4H6.5C5.39543 4 4.5 4.89543 4.5 6V10C4.5 11.1046 5.39543 12 6.5 12H7.5V4Z" fill="#000"/>
|
|
3
|
+
<path d="M8.21716 8.28284C8.06095 8.12663 8.06095 7.87337 8.21716 7.71716L10.7627 5.17157C10.919 5.01536 11.1722 5.01536 11.3284 5.17157C11.4846 5.32778 11.4846 5.58105 11.3284 5.73726L9.06569 8L11.3284 10.2627C11.4846 10.419 11.4846 10.6722 11.3284 10.8284C11.1722 10.9846 10.919 10.9846 10.7627 10.8284L8.21716 8.28284Z" fill="#000"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V4ZM4 3.25H12C12.4142 3.25 12.75 3.58579 12.75 4V12C12.75 12.4142 12.4142 12.75 12 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12V4C3.25 3.58579 3.58579 3.25 4 3.25Z" fill="#000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.5 4H9.5C10.6046 4 11.5 4.89543 11.5 6V10C11.5 11.1046 10.6046 12 9.5 12H8.5V4Z" fill="#000"/>
|
|
3
|
+
<path d="M7.78284 8.28284C7.93905 8.12663 7.93905 7.87337 7.78284 7.71716L5.23726 5.17157C5.08105 5.01536 4.82778 5.01536 4.67157 5.17157C4.51536 5.32778 4.51536 5.58105 4.67157 5.73726L6.93431 8L4.67157 10.2627C4.51536 10.419 4.51536 10.6722 4.67157 10.8284C4.82778 10.9846 5.08105 10.9846 5.23726 10.8284L7.78284 8.28284Z" fill="#000"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 4C14 2.89543 13.1046 2 12 2H4C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4ZM12 3.25H4C3.58579 3.25 3.25 3.58579 3.25 4V12C3.25 12.4142 3.58579 12.75 4 12.75H12C12.4142 12.75 12.75 12.4142 12.75 12V4C12.75 3.58579 12.4142 3.25 12 3.25Z" fill="#000"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 8.5V3.3H10.6833C11.0423 3.3 11.3333 3.00898 11.3333 2.65C11.3333 2.29101 11.0423 2 10.6833 2H5.31667C4.95768 2 4.66667 2.29101 4.66667 2.65C4.66667 3.00898 4.95768 3.3 5.31667 3.3H6V8.5L4.38343 9.55077C4.14428 9.70621 4 9.97208 4 10.2573C4 10.7227 4.37728 11.1 4.84269 11.1H7.46667V14.4667C7.46667 14.7612 7.70545 15 8 15C8.29455 15 8.53333 14.7612 8.53333 14.4667V11.1H11.1573C11.6227 11.1 12 10.7227 12 10.2573C12 9.97208 11.8557 9.70622 11.6166 9.55077L10 8.5Z" fill="#000"/>
|
|
3
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.01852 15C8.53023 15 8.99812 14.7199 9.22744 14.2764L11.728 9.43945C11.7542 9.38879 11.7773 9.33683 11.7972 9.28386C11.8277 9.28652 11.8584 9.28788 11.8896 9.28788L13.9843 9.28788C14.5453 9.28788 15 8.84694 15 8.30303L15 3.18182C15 2.6379 14.5453 2 13.9844 2L11.8896 2C11.6144 2 11 2 11 2C11 2 10.3639 2 9.85827 2L3.99311 2C3.02273 2 2.18787 2.66552 2.00017 3.5887L1.03904 8.31597C0.791531 9.53331 1.7524 10.6667 3.03198 10.6667L5.31958 10.6667L5.31958 12.3829C5.31958 13.8283 6.52794 15 8.01852 15ZM9.85827 8.66091L7.65371 12.9252C7.47137 12.8096 7.35088 12.6099 7.35088 12.3829L7.35088 10.0758C7.35088 9.31427 6.71427 8.69697 5.92897 8.69697L3.64387 8.69697C3.32769 8.69697 3.09089 8.40718 3.15389 8.09735L3.9117 4.37008C3.95907 4.1371 4.16394 3.9697 4.40168 3.9697L9.85827 3.9697L9.85827 8.66091Z" fill="#000"/>
|
|
3
3
|
</svg>
|
package/src/glyphs/ThumbsUp.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.98148 1C7.46977 1 7.00188 1.28007 6.77256 1.72365L4.27198 6.56054C4.24579 6.61121 4.22269 6.66317 4.20275 6.71614C4.17234 6.71348 4.14155 6.71212 4.11043 6.71212H2.01565C1.45472 6.71212 1 7.15306 1 7.69697V12.8182C1 13.3621 1.45472 14 2.01565 14H4.11043C4.38564 14 5 14 5 14C5 14 5.63614 14 6.14173 14H12.0069C12.9773 14 13.8121 13.3345 13.9998 12.4113L14.961 7.68402C15.2085 6.46669 14.2476 5.33333 12.968 5.33333H10.6804V3.61709C10.6804 2.17171 9.47206 1 7.98148 1ZM6.14173 7.33909L8.34629 3.0748C8.52863 3.19038 8.64912 3.39009 8.64912 3.61709V5.92424C8.64912 6.68572 9.28573 7.30303 10.071 7.30303H12.3561C12.6723 7.30303 12.9091 7.59282 12.8461 7.90265L12.0883 11.6299C12.0409 11.8629 11.8361 12.0303 11.5983 12.0303L6.14173 12.0303V7.33909Z" fill="#000"/>
|
|
3
3
|
</svg>
|
package/src/glyphs/Warning.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.8639
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.8639 1.51357C8.49039 0.828811 7.50961 0.828811 7.1361 1.51357L1.12218 12.5388C0.763263 13.1968 1.23814 14 1.98608 14H14.0139C14.7619 14 15.2367 13.1968 14.8778 12.5388L8.8639 1.51357ZM7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10C7.44772 10 7 9.55228 7 9V5ZM9 12C9 12.5523 8.55228 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11C8.55228 11 9 11.4477 9 12Z" fill="#000"/>
|
|
3
3
|
</svg>
|
package/src/glyphs/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { LGGlyph } from '../types';
|
|
|
4
4
|
// Glyphs
|
|
5
5
|
import ActivityFeed from './ActivityFeed.svg';
|
|
6
6
|
import AddFile from './AddFile.svg';
|
|
7
|
+
import AllProducts from './AllProducts.svg';
|
|
7
8
|
import Apps from './Apps.svg';
|
|
8
9
|
import Array from './Array.svg';
|
|
9
10
|
import ArrowDown from './ArrowDown.svg';
|
|
@@ -80,6 +81,8 @@ import Menu from './Menu.svg';
|
|
|
80
81
|
import Minus from './Minus.svg';
|
|
81
82
|
import MultiDirectionArrow from './MultiDirectionArrow.svg';
|
|
82
83
|
import MultiLayers from './MultiLayers.svg';
|
|
84
|
+
import NavCollapse from './NavCollapse.svg';
|
|
85
|
+
import NavExpand from './NavExpand.svg';
|
|
83
86
|
import NoFilter from './NoFilter.svg';
|
|
84
87
|
import NotAllowed from './NotAllowed.svg';
|
|
85
88
|
import Note from './Note.svg';
|
|
@@ -88,6 +91,7 @@ import Pause from './Pause.svg';
|
|
|
88
91
|
import Person from './Person.svg';
|
|
89
92
|
import PersonGroup from './PersonGroup.svg';
|
|
90
93
|
import PersonWithLock from './PersonWithLock.svg';
|
|
94
|
+
import Pin from './Pin.svg';
|
|
91
95
|
import Play from './Play.svg';
|
|
92
96
|
import Plus from './Plus.svg';
|
|
93
97
|
import PlusWithCircle from './PlusWithCircle.svg';
|
|
@@ -138,6 +142,7 @@ import XWithCircle from './XWithCircle.svg';
|
|
|
138
142
|
const _glyphs = {
|
|
139
143
|
ActivityFeed,
|
|
140
144
|
AddFile,
|
|
145
|
+
AllProducts,
|
|
141
146
|
Apps,
|
|
142
147
|
Array,
|
|
143
148
|
ArrowDown,
|
|
@@ -214,6 +219,8 @@ const _glyphs = {
|
|
|
214
219
|
Minus,
|
|
215
220
|
MultiDirectionArrow,
|
|
216
221
|
MultiLayers,
|
|
222
|
+
NavCollapse,
|
|
223
|
+
NavExpand,
|
|
217
224
|
NoFilter,
|
|
218
225
|
NotAllowed,
|
|
219
226
|
Note,
|
|
@@ -222,6 +229,7 @@ const _glyphs = {
|
|
|
222
229
|
Person,
|
|
223
230
|
PersonGroup,
|
|
224
231
|
PersonWithLock,
|
|
232
|
+
Pin,
|
|
225
233
|
Play,
|
|
226
234
|
Plus,
|
|
227
235
|
PlusWithCircle,
|