@leafygreen-ui/icon 12.2.0 → 12.3.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 +6 -0
- package/README.md +7 -7
- package/dist/Moon.js +2 -0
- package/dist/Moon.js.map +1 -0
- package/dist/Sun.js +2 -0
- package/dist/Sun.js.map +1 -0
- package/dist/esm/Moon.js +2 -0
- package/dist/esm/Moon.js.map +1 -0
- package/dist/esm/Sun.js +2 -0
- package/dist/esm/Sun.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/Moon.d.ts +23 -0
- package/dist/generated/Moon.d.ts.map +1 -0
- package/dist/generated/Sun.d.ts +23 -0
- package/dist/generated/Sun.d.ts.map +1 -0
- package/dist/glyphs/index.d.ts +9 -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 +1 -1
- package/src/generated/Moon.tsx +45 -0
- package/src/generated/Sun.tsx +45 -0
- package/src/glyphs/Moon.svg +3 -0
- package/src/glyphs/Sun.svg +11 -0
- package/src/glyphs/index.ts +4 -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 4c2d7672aa71f7e5c28bcdf6b86b5832
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { LGGlyph } from '../types';
|
|
10
|
+
export interface MoonProps extends LGGlyph.ComponentProps {
|
|
11
|
+
}
|
|
12
|
+
declare const Moon: {
|
|
13
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: MoonProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
isGlyph: boolean;
|
|
16
|
+
propTypes: {
|
|
17
|
+
fill: PropTypes.Requireable<string>;
|
|
18
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
19
|
+
className: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Moon;
|
|
23
|
+
//# sourceMappingURL=Moon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Moon.d.ts","sourceRoot":"","sources":["../../src/generated/Moon.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,SAAU,SAAQ,OAAO,CAAC,cAAc;CAAG;AAC5D,QAAA,MAAM,IAAI;uHASP,SAAS;;;;;;;;CAeX,CAAC;AAQF,eAAe,IAAI,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 0c0cdc9afd7329ab5567a45016c55163
|
|
6
|
+
*/
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { LGGlyph } from '../types';
|
|
10
|
+
export interface SunProps extends LGGlyph.ComponentProps {
|
|
11
|
+
}
|
|
12
|
+
declare const Sun: {
|
|
13
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: SunProps): React.JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
isGlyph: boolean;
|
|
16
|
+
propTypes: {
|
|
17
|
+
fill: PropTypes.Requireable<string>;
|
|
18
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
19
|
+
className: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Sun;
|
|
23
|
+
//# sourceMappingURL=Sun.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sun.d.ts","sourceRoot":"","sources":["../../src/generated/Sun.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,QAAS,SAAQ,OAAO,CAAC,cAAc;CAAG;AAC3D,QAAA,MAAM,GAAG;uHASN,QAAQ;;;;;;;;CAeV,CAAC;AAQF,eAAe,GAAG,CAAC"}
|
package/dist/glyphs/index.d.ts
CHANGED
|
@@ -357,6 +357,10 @@ declare const _glyphs: {
|
|
|
357
357
|
title?: string | null | undefined;
|
|
358
358
|
role?: "img" | "presentation" | undefined;
|
|
359
359
|
}>;
|
|
360
|
+
readonly Moon: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
361
|
+
title?: string | null | undefined;
|
|
362
|
+
role?: "img" | "presentation" | undefined;
|
|
363
|
+
}>;
|
|
360
364
|
readonly MultiDirectionArrow: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
361
365
|
title?: string | null | undefined;
|
|
362
366
|
role?: "img" | "presentation" | undefined;
|
|
@@ -525,6 +529,10 @@ declare const _glyphs: {
|
|
|
525
529
|
title?: string | null | undefined;
|
|
526
530
|
role?: "img" | "presentation" | undefined;
|
|
527
531
|
}>;
|
|
532
|
+
readonly Sun: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
533
|
+
title?: string | null | undefined;
|
|
534
|
+
role?: "img" | "presentation" | undefined;
|
|
535
|
+
}>;
|
|
528
536
|
readonly Support: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
529
537
|
title?: string | null | undefined;
|
|
530
538
|
role?: "img" | "presentation" | undefined;
|
|
@@ -623,6 +631,6 @@ declare const _glyphs: {
|
|
|
623
631
|
}>;
|
|
624
632
|
};
|
|
625
633
|
export type GlyphName = keyof typeof _glyphs;
|
|
626
|
-
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Boolean" | "Building" | "Bulb" | "Calendar" | "Camera" | "Cap" | "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" | "Eraser" | "Escalation" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Format" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Hash" | "Highlight" | "Home" | "HorizontalDrag" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InternalEmployee" | "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" | "Primary" | "Project" | "QuestionMarkWithCircle" | "Read" | "Recommended" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "SearchIndex" | "Secondary" | "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>;
|
|
634
|
+
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "AllProducts" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Boolean" | "Building" | "Bulb" | "Calendar" | "Camera" | "Cap" | "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" | "Eraser" | "Escalation" | "Export" | "Favorite" | "Federation" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "Format" | "Gauge" | "GlobeAmericas" | "GovernmentBuilding" | "Hash" | "Highlight" | "Home" | "HorizontalDrag" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InternalEmployee" | "InviteUser" | "Key" | "Laptop" | "LightningBolt" | "Link" | "List" | "Lock" | "LogIn" | "LogOut" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "Mobile" | "Moon" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Pin" | "Play" | "Plus" | "PlusWithCircle" | "Primary" | "Project" | "QuestionMarkWithCircle" | "Read" | "Recommended" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Return" | "Save" | "Serverless" | "ShardedCluster" | "SearchIndex" | "Secondary" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "Sparkle" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "String" | "Sun" | "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>;
|
|
627
635
|
export {};
|
|
628
636
|
//# 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;AAiKnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JH,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,gkEAI2B,CAAC"}
|