@leafygreen-ui/icon 11.21.0 → 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 +13 -0
- package/README.md +8 -8
- 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/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/Pin.d.ts +17 -0
- package/dist/generated/Pin.d.ts.map +1 -0
- package/dist/glyphs/index.d.ts +5 -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/Pin.tsx +45 -0
- package/src/generated/ThumbsDown.tsx +1 -1
- package/src/generated/ThumbsUp.tsx +1 -1
- package/src/generated/Warning.tsx +2 -2
- 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 +2 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { LGGlyph } from '../types';
|
|
4
|
+
export interface PinProps extends LGGlyph.ComponentProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Pin: {
|
|
7
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: PinProps): JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
isGlyph: boolean;
|
|
10
|
+
propTypes: {
|
|
11
|
+
fill: PropTypes.Requireable<string>;
|
|
12
|
+
size: PropTypes.Requireable<string | number>;
|
|
13
|
+
className: PropTypes.Requireable<string>;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default Pin;
|
|
17
|
+
//# sourceMappingURL=Pin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pin.d.ts","sourceRoot":"","sources":["../../src/generated/Pin.tsx"],"names":[],"mappings":";AAOA,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 Pin: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
361
|
+
title?: string | null | undefined;
|
|
362
|
+
role?: "img" | "presentation" | undefined;
|
|
363
|
+
}>;
|
|
360
364
|
readonly Play: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
361
365
|
title?: string | null | undefined;
|
|
362
366
|
role?: "img" | "presentation" | undefined;
|
|
@@ -543,6 +547,6 @@ declare const _glyphs: {
|
|
|
543
547
|
}>;
|
|
544
548
|
};
|
|
545
549
|
export declare type GlyphName = keyof typeof _glyphs;
|
|
546
|
-
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" | "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" | "MultiDirectionArrow" | "MultiLayers" | "NavCollapse" | "NavExpand" | "NoFilter" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "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" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
550
|
+
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" | "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" | "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" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Wizard" | "Wrench" | "Write" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
547
551
|
export {};
|
|
548
552
|
//# 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;AA4InC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyIH,CAAC;AAEX,oBAAY,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,yyDAI2B,CAAC"}
|