@leafygreen-ui/icon 11.12.2 → 11.12.3
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 +7 -0
- package/dist/Drag.js +2 -0
- package/dist/Drag.js.map +1 -0
- package/dist/Edit.js +1 -1
- package/dist/Edit.js.map +1 -1
- package/dist/Read.js +2 -0
- package/dist/Read.js.map +1 -0
- package/dist/Resize.js +2 -0
- package/dist/Resize.js.map +1 -0
- package/dist/Write.js +2 -0
- package/dist/Write.js.map +1 -0
- package/dist/esm/Drag.js +2 -0
- package/dist/esm/Drag.js.map +1 -0
- package/dist/esm/Edit.js +1 -1
- package/dist/esm/Edit.js.map +1 -1
- package/dist/esm/Read.js +2 -0
- package/dist/esm/Read.js.map +1 -0
- package/dist/esm/Resize.js +2 -0
- package/dist/esm/Resize.js.map +1 -0
- package/dist/esm/Write.js +2 -0
- package/dist/esm/Write.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/generated/Drag.d.ts +17 -0
- package/dist/generated/Drag.d.ts.map +1 -0
- package/dist/generated/Edit.d.ts.map +1 -1
- package/dist/generated/Read.d.ts +17 -0
- package/dist/generated/Read.d.ts.map +1 -0
- package/dist/generated/Resize.d.ts +17 -0
- package/dist/generated/Resize.d.ts.map +1 -0
- package/dist/generated/Write.d.ts +17 -0
- package/dist/generated/Write.d.ts.map +1 -0
- 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 +1 -1
- package/src/generated/Drag.tsx +87 -0
- package/src/generated/Edit.tsx +5 -14
- package/src/generated/Read.tsx +79 -0
- package/src/generated/Resize.tsx +75 -0
- package/src/generated/Write.tsx +79 -0
- package/src/glyphs/Drag.svg +8 -0
- package/src/glyphs/Edit.svg +1 -8
- package/src/glyphs/Read.svg +6 -0
- package/src/glyphs/Resize.svg +4 -0
- package/src/glyphs/Write.svg +6 -0
- package/src/glyphs/index.ts +8 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { LGGlyph } from '../types';
|
|
4
|
+
export interface ReadProps extends LGGlyph.ComponentProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Read: {
|
|
7
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: ReadProps): 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 Read;
|
|
17
|
+
//# sourceMappingURL=Read.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../src/generated/Read.tsx"],"names":[],"mappings":";AAOA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,SAAU,SAAQ,OAAO,CAAC,cAAc;CAAG;AAE5D,QAAA,MAAM,IAAI;uHASP,SAAS;;;;;;;;CA8CX,CAAC;AASF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { LGGlyph } from '../types';
|
|
4
|
+
export interface ResizeProps extends LGGlyph.ComponentProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Resize: {
|
|
7
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: ResizeProps): 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 Resize;
|
|
17
|
+
//# sourceMappingURL=Resize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Resize.d.ts","sourceRoot":"","sources":["../../src/generated/Resize.tsx"],"names":[],"mappings":";AAOA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,cAAc;CAAG;AAE9D,QAAA,MAAM,MAAM;uHAST,WAAW;;;;;;;;CA0Cb,CAAC;AASF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { LGGlyph } from '../types';
|
|
4
|
+
export interface WriteProps extends LGGlyph.ComponentProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Write: {
|
|
7
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: WriteProps): 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 Write;
|
|
17
|
+
//# sourceMappingURL=Write.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Write.d.ts","sourceRoot":"","sources":["../../src/generated/Write.tsx"],"names":[],"mappings":";AAOA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,UAAW,SAAQ,OAAO,CAAC,cAAc;CAAG;AAE7D,QAAA,MAAM,KAAK;uHASR,UAAU;;;;;;;;CA8CZ,CAAC;AASF,eAAe,KAAK,CAAC"}
|
package/dist/glyphs/index.d.ts
CHANGED
|
@@ -165,6 +165,10 @@ declare const _glyphs: {
|
|
|
165
165
|
title?: string | null | undefined;
|
|
166
166
|
role?: "img" | "presentation" | undefined;
|
|
167
167
|
}>;
|
|
168
|
+
readonly Drag: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
169
|
+
title?: string | null | undefined;
|
|
170
|
+
role?: "img" | "presentation" | undefined;
|
|
171
|
+
}>;
|
|
168
172
|
readonly Edit: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
169
173
|
title?: string | null | undefined;
|
|
170
174
|
role?: "img" | "presentation" | undefined;
|
|
@@ -309,6 +313,10 @@ declare const _glyphs: {
|
|
|
309
313
|
title?: string | null | undefined;
|
|
310
314
|
role?: "img" | "presentation" | undefined;
|
|
311
315
|
}>;
|
|
316
|
+
readonly Read: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
317
|
+
title?: string | null | undefined;
|
|
318
|
+
role?: "img" | "presentation" | undefined;
|
|
319
|
+
}>;
|
|
312
320
|
readonly Redo: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
313
321
|
title?: string | null | undefined;
|
|
314
322
|
role?: "img" | "presentation" | undefined;
|
|
@@ -325,6 +333,10 @@ declare const _glyphs: {
|
|
|
325
333
|
title?: string | null | undefined;
|
|
326
334
|
role?: "img" | "presentation" | undefined;
|
|
327
335
|
}>;
|
|
336
|
+
readonly Resize: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
337
|
+
title?: string | null | undefined;
|
|
338
|
+
role?: "img" | "presentation" | undefined;
|
|
339
|
+
}>;
|
|
328
340
|
readonly Save: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
329
341
|
title?: string | null | undefined;
|
|
330
342
|
role?: "img" | "presentation" | undefined;
|
|
@@ -429,6 +441,10 @@ declare const _glyphs: {
|
|
|
429
441
|
title?: string | null | undefined;
|
|
430
442
|
role?: "img" | "presentation" | undefined;
|
|
431
443
|
}>;
|
|
444
|
+
readonly Write: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
445
|
+
title?: string | null | undefined;
|
|
446
|
+
role?: "img" | "presentation" | undefined;
|
|
447
|
+
}>;
|
|
432
448
|
readonly X: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
433
449
|
title?: string | null | undefined;
|
|
434
450
|
role?: "img" | "presentation" | undefined;
|
|
@@ -439,6 +455,6 @@ declare const _glyphs: {
|
|
|
439
455
|
}>;
|
|
440
456
|
};
|
|
441
457
|
export declare type GlyphName = keyof typeof _glyphs;
|
|
442
|
-
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Building" | "Bulb" | "Calendar" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "GlobeAmericas" | "GovernmentBuilding" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "Link" | "Lock" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "Support" | "Sweep" | "Table" | "TimeSeries" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
458
|
+
export declare const glyphs: Record<"ActivityFeed" | "AddFile" | "Apps" | "Array" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Beaker" | "Bell" | "Biometric" | "Building" | "Bulb" | "Calendar" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "Charts" | "Checkmark" | "CheckmarkWithCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Clock" | "ClockWithArrow" | "Clone" | "Cloud" | "Code" | "Connect" | "Copy" | "CreditCard" | "CurlyBraces" | "Cursor" | "Database" | "Diagram" | "Diagram2" | "Diagram3" | "Disconnect" | "Download" | "Drag" | "Edit" | "Ellipsis" | "Email" | "Export" | "Favorite" | "File" | "Filter" | "FullScreenEnter" | "FullScreenExit" | "Folder" | "GlobeAmericas" | "GovernmentBuilding" | "Home" | "Import" | "ImportantWithCircle" | "InfoWithCircle" | "InviteUser" | "Key" | "Laptop" | "Link" | "Lock" | "MagnifyingGlass" | "Megaphone" | "Menu" | "Minus" | "NotAllowed" | "Note" | "OpenNewTab" | "Pause" | "Person" | "PersonGroup" | "PersonWithLock" | "Play" | "Plus" | "PlusWithCircle" | "QuestionMarkWithCircle" | "Read" | "Redo" | "Refresh" | "Relationship" | "ReplicaSet" | "Resize" | "Save" | "Serverless" | "ShardedCluster" | "Settings" | "Shell" | "SMS" | "SortAscending" | "SortDescending" | "SplitHorizontal" | "SplitVertical" | "Stitch" | "Support" | "Sweep" | "Table" | "TimeSeries" | "Trash" | "Undo" | "University" | "Unlock" | "Unsorted" | "UpDownCarets" | "Upload" | "VerticalEllipsis" | "Visibility" | "VisibilityOff" | "Warning" | "Write" | "X" | "XWithCircle", LGGlyph.Component>;
|
|
443
459
|
export {};
|
|
444
460
|
//# 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;AAqHnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHH,CAAC;AAEX,oBAAY,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,4/CAI2B,CAAC"}
|