@leafygreen-ui/icon 11.24.0 → 11.25.1
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 +13 -0
- package/README.md +7 -7
- package/dist/Boolean.js +2 -0
- package/dist/Boolean.js.map +1 -0
- package/dist/Key.js +1 -1
- package/dist/Key.js.map +1 -1
- package/dist/LightningBolt.js +2 -0
- package/dist/LightningBolt.js.map +1 -0
- package/dist/String.js +2 -0
- package/dist/String.js.map +1 -0
- package/dist/esm/Boolean.js +2 -0
- package/dist/esm/Boolean.js.map +1 -0
- package/dist/esm/Key.js +1 -1
- package/dist/esm/Key.js.map +1 -1
- package/dist/esm/LightningBolt.js +2 -0
- package/dist/esm/LightningBolt.js.map +1 -0
- package/dist/esm/String.js +2 -0
- package/dist/esm/String.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/Boolean.d.ts +23 -0
- package/dist/generated/Boolean.d.ts.map +1 -0
- package/dist/generated/Key.d.ts +1 -1
- package/dist/generated/LightningBolt.d.ts +23 -0
- package/dist/generated/LightningBolt.d.ts.map +1 -0
- package/dist/generated/String.d.ts +23 -0
- package/dist/generated/String.d.ts.map +1 -0
- package/dist/glyphs/index.d.ts +13 -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 +2 -2
- package/src/generated/Boolean.tsx +45 -0
- package/src/generated/Key.tsx +2 -2
- package/src/generated/LightningBolt.tsx +45 -0
- package/src/generated/String.tsx +45 -0
- package/src/glyphs/Boolean.svg +3 -0
- package/src/glyphs/Key.svg +1 -1
- package/src/glyphs/LightningBolt.svg +3 -0
- package/src/glyphs/String.svg +3 -0
- package/src/glyphs/index.ts +6 -0
- package/stories.js +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
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 481f956d3f26c3bc1a4d26d1fa6d0897
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { LGGlyph } from '../types';
|
|
10
|
+
export interface BooleanProps extends LGGlyph.ComponentProps {
|
|
11
|
+
}
|
|
12
|
+
declare const Boolean: {
|
|
13
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: BooleanProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
isGlyph: boolean;
|
|
16
|
+
propTypes: {
|
|
17
|
+
fill: PropTypes.Requireable<string>;
|
|
18
|
+
size: PropTypes.Requireable<string | number>;
|
|
19
|
+
className: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Boolean;
|
|
23
|
+
//# sourceMappingURL=Boolean.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Boolean.d.ts","sourceRoot":"","sources":["../../src/generated/Boolean.tsx"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,cAAc;CAAG;AAC/D,QAAA,MAAM,OAAO;uHASV,YAAY;;;;;;;;CAed,CAAC;AAQF,eAAe,OAAO,CAAC"}
|
package/dist/generated/Key.d.ts
CHANGED
|
@@ -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 0e68d2d43abc00d908961394d698765c
|
|
6
6
|
*/
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,23 @@
|
|
|
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 ae062790b82d82a5c11a37a16da576b4
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { LGGlyph } from '../types';
|
|
10
|
+
export interface LightningBoltProps extends LGGlyph.ComponentProps {
|
|
11
|
+
}
|
|
12
|
+
declare const LightningBolt: {
|
|
13
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: LightningBoltProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
isGlyph: boolean;
|
|
16
|
+
propTypes: {
|
|
17
|
+
fill: PropTypes.Requireable<string>;
|
|
18
|
+
size: PropTypes.Requireable<string | number>;
|
|
19
|
+
className: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default LightningBolt;
|
|
23
|
+
//# sourceMappingURL=LightningBolt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LightningBolt.d.ts","sourceRoot":"","sources":["../../src/generated/LightningBolt.tsx"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,kBAAmB,SAAQ,OAAO,CAAC,cAAc;CAAG;AACrE,QAAA,MAAM,aAAa;uHAShB,kBAAkB;;;;;;;;CAepB,CAAC;AAQF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 18153fd33ca7f9f7251f6cc9f4b3f9db
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { LGGlyph } from '../types';
|
|
10
|
+
export interface StringProps extends LGGlyph.ComponentProps {
|
|
11
|
+
}
|
|
12
|
+
declare const String: {
|
|
13
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: StringProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
isGlyph: boolean;
|
|
16
|
+
propTypes: {
|
|
17
|
+
fill: PropTypes.Requireable<string>;
|
|
18
|
+
size: PropTypes.Requireable<string | number>;
|
|
19
|
+
className: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default String;
|
|
23
|
+
//# sourceMappingURL=String.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"String.d.ts","sourceRoot":"","sources":["../../src/generated/String.tsx"],"names":[],"mappings":"AAAA;;;;;EAKE;AACF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,cAAc;CAAG;AAC9D,QAAA,MAAM,MAAM;uHAST,WAAW;;;;;;;;CAeb,CAAC;AAQF,eAAe,MAAM,CAAC"}
|
package/dist/glyphs/index.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ declare const _glyphs: {
|
|
|
49
49
|
title?: string | null | undefined;
|
|
50
50
|
role?: "img" | "presentation" | undefined;
|
|
51
51
|
}>;
|
|
52
|
+
readonly Boolean: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
53
|
+
title?: string | null | undefined;
|
|
54
|
+
role?: "img" | "presentation" | undefined;
|
|
55
|
+
}>;
|
|
52
56
|
readonly Building: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
53
57
|
title?: string | null | undefined;
|
|
54
58
|
role?: "img" | "presentation" | undefined;
|
|
@@ -277,6 +281,10 @@ declare const _glyphs: {
|
|
|
277
281
|
title?: string | null | undefined;
|
|
278
282
|
role?: "img" | "presentation" | undefined;
|
|
279
283
|
}>;
|
|
284
|
+
readonly LightningBolt: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
285
|
+
title?: string | null | undefined;
|
|
286
|
+
role?: "img" | "presentation" | undefined;
|
|
287
|
+
}>;
|
|
280
288
|
readonly Link: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
281
289
|
title?: string | null | undefined;
|
|
282
290
|
role?: "img" | "presentation" | undefined;
|
|
@@ -461,6 +469,10 @@ declare const _glyphs: {
|
|
|
461
469
|
title?: string | null | undefined;
|
|
462
470
|
role?: "img" | "presentation" | undefined;
|
|
463
471
|
}>;
|
|
472
|
+
readonly String: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
473
|
+
title?: string | null | undefined;
|
|
474
|
+
role?: "img" | "presentation" | undefined;
|
|
475
|
+
}>;
|
|
464
476
|
readonly Support: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
465
477
|
title?: string | null | undefined;
|
|
466
478
|
role?: "img" | "presentation" | undefined;
|
|
@@ -559,6 +571,6 @@ declare const _glyphs: {
|
|
|
559
571
|
}>;
|
|
560
572
|
};
|
|
561
573
|
export declare type GlyphName = keyof typeof _glyphs;
|
|
562
|
-
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Building" | "Bulb" | "Calendar" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "ChartFilled" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "CodeBlock" | "Colon" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Dashboard" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Drag" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Highlight" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "Link" | "List" | "Lock" | "LogIn" | "LogOut" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "Mobile" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Pin" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Read" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "Sparkle" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "Support" | "Sweep" | "Table" | "Tag" | "ThumbsDown" | "ThumbsUp" | "TimeSeries" | "TimeSeriesCollection" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
574
|
+
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Boolean" | "Building" | "Bulb" | "Calendar" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "ChartFilled" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "CodeBlock" | "Colon" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Dashboard" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Drag" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Highlight" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "LightningBolt" | "Link" | "List" | "Lock" | "LogIn" | "LogOut" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "Mobile" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Pin" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Read" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "Sparkle" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "String" | "Support" | "Sweep" | "Table" | "Tag" | "ThumbsDown" | "ThumbsUp" | "TimeSeries" | "TimeSeriesCollection" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
563
575
|
export {};
|
|
564
576
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/glyphs/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/glyphs/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAkJnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IH,CAAC;AAEX,oBAAY,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,g4DAI2B,CAAC"}
|