@leafygreen-ui/icon 11.12.2 → 11.12.4
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 +14 -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/NoFilter.js +2 -0
- package/dist/NoFilter.js.map +1 -0
- 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/NoFilter.js +2 -0
- package/dist/esm/NoFilter.js.map +1 -0
- 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/NoFilter.d.ts +17 -0
- package/dist/generated/NoFilter.d.ts.map +1 -0
- 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 +21 -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/Icon.story.tsx +14 -2
- package/src/generated/Drag.tsx +87 -0
- package/src/generated/Edit.tsx +5 -14
- package/src/generated/NoFilter.tsx +71 -0
- 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/NoFilter.svg +4 -0
- 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 +10 -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 NoFilterProps extends LGGlyph.ComponentProps {
|
|
5
|
+
}
|
|
6
|
+
declare const NoFilter: {
|
|
7
|
+
({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: NoFilterProps): 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 NoFilter;
|
|
17
|
+
//# sourceMappingURL=NoFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoFilter.d.ts","sourceRoot":"","sources":["../../src/generated/NoFilter.tsx"],"names":[],"mappings":";AAOA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,cAAc;CAAG;AAEhE,QAAA,MAAM,QAAQ;uHASX,aAAa;;;;;;;;CAsCf,CAAC;AASF,eAAe,QAAQ,CAAC"}
|
|
@@ -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;
|
|
@@ -265,6 +269,10 @@ declare const _glyphs: {
|
|
|
265
269
|
title?: string | null | undefined;
|
|
266
270
|
role?: "img" | "presentation" | undefined;
|
|
267
271
|
}>;
|
|
272
|
+
readonly NoFilter: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
273
|
+
title?: string | null | undefined;
|
|
274
|
+
role?: "img" | "presentation" | undefined;
|
|
275
|
+
}>;
|
|
268
276
|
readonly NotAllowed: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
269
277
|
title?: string | null | undefined;
|
|
270
278
|
role?: "img" | "presentation" | undefined;
|
|
@@ -309,6 +317,10 @@ declare const _glyphs: {
|
|
|
309
317
|
title?: string | null | undefined;
|
|
310
318
|
role?: "img" | "presentation" | undefined;
|
|
311
319
|
}>;
|
|
320
|
+
readonly Read: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
321
|
+
title?: string | null | undefined;
|
|
322
|
+
role?: "img" | "presentation" | undefined;
|
|
323
|
+
}>;
|
|
312
324
|
readonly Redo: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
313
325
|
title?: string | null | undefined;
|
|
314
326
|
role?: "img" | "presentation" | undefined;
|
|
@@ -325,6 +337,10 @@ declare const _glyphs: {
|
|
|
325
337
|
title?: string | null | undefined;
|
|
326
338
|
role?: "img" | "presentation" | undefined;
|
|
327
339
|
}>;
|
|
340
|
+
readonly Resize: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
341
|
+
title?: string | null | undefined;
|
|
342
|
+
role?: "img" | "presentation" | undefined;
|
|
343
|
+
}>;
|
|
328
344
|
readonly Save: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
329
345
|
title?: string | null | undefined;
|
|
330
346
|
role?: "img" | "presentation" | undefined;
|
|
@@ -429,6 +445,10 @@ declare const _glyphs: {
|
|
|
429
445
|
title?: string | null | undefined;
|
|
430
446
|
role?: "img" | "presentation" | undefined;
|
|
431
447
|
}>;
|
|
448
|
+
readonly Write: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
449
|
+
title?: string | null | undefined;
|
|
450
|
+
role?: "img" | "presentation" | undefined;
|
|
451
|
+
}>;
|
|
432
452
|
readonly X: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
433
453
|
title?: string | null | undefined;
|
|
434
454
|
role?: "img" | "presentation" | undefined;
|
|
@@ -439,6 +459,6 @@ declare const _glyphs: {
|
|
|
439
459
|
}>;
|
|
440
460
|
};
|
|
441
461
|
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>;
|
|
462
|
+
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" | "NoFilter" | "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
463
|
export {};
|
|
444
464
|
//# 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;AAsHnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHH,CAAC;AAEX,oBAAY,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,ygDAI2B,CAAC"}
|