@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.
Files changed (58) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/Drag.js +2 -0
  3. package/dist/Drag.js.map +1 -0
  4. package/dist/Edit.js +1 -1
  5. package/dist/Edit.js.map +1 -1
  6. package/dist/NoFilter.js +2 -0
  7. package/dist/NoFilter.js.map +1 -0
  8. package/dist/Read.js +2 -0
  9. package/dist/Read.js.map +1 -0
  10. package/dist/Resize.js +2 -0
  11. package/dist/Resize.js.map +1 -0
  12. package/dist/Write.js +2 -0
  13. package/dist/Write.js.map +1 -0
  14. package/dist/esm/Drag.js +2 -0
  15. package/dist/esm/Drag.js.map +1 -0
  16. package/dist/esm/Edit.js +1 -1
  17. package/dist/esm/Edit.js.map +1 -1
  18. package/dist/esm/NoFilter.js +2 -0
  19. package/dist/esm/NoFilter.js.map +1 -0
  20. package/dist/esm/Read.js +2 -0
  21. package/dist/esm/Read.js.map +1 -0
  22. package/dist/esm/Resize.js +2 -0
  23. package/dist/esm/Resize.js.map +1 -0
  24. package/dist/esm/Write.js +2 -0
  25. package/dist/esm/Write.js.map +1 -0
  26. package/dist/esm/index.js +1 -1
  27. package/dist/esm/index.js.map +1 -1
  28. package/dist/generated/Drag.d.ts +17 -0
  29. package/dist/generated/Drag.d.ts.map +1 -0
  30. package/dist/generated/Edit.d.ts.map +1 -1
  31. package/dist/generated/NoFilter.d.ts +17 -0
  32. package/dist/generated/NoFilter.d.ts.map +1 -0
  33. package/dist/generated/Read.d.ts +17 -0
  34. package/dist/generated/Read.d.ts.map +1 -0
  35. package/dist/generated/Resize.d.ts +17 -0
  36. package/dist/generated/Resize.d.ts.map +1 -0
  37. package/dist/generated/Write.d.ts +17 -0
  38. package/dist/generated/Write.d.ts.map +1 -0
  39. package/dist/glyphs/index.d.ts +21 -1
  40. package/dist/glyphs/index.d.ts.map +1 -1
  41. package/dist/index.js +1 -1
  42. package/dist/index.js.map +1 -1
  43. package/package.json +2 -2
  44. package/src/Icon.story.tsx +14 -2
  45. package/src/generated/Drag.tsx +87 -0
  46. package/src/generated/Edit.tsx +5 -14
  47. package/src/generated/NoFilter.tsx +71 -0
  48. package/src/generated/Read.tsx +79 -0
  49. package/src/generated/Resize.tsx +75 -0
  50. package/src/generated/Write.tsx +79 -0
  51. package/src/glyphs/Drag.svg +8 -0
  52. package/src/glyphs/Edit.svg +1 -8
  53. package/src/glyphs/NoFilter.svg +4 -0
  54. package/src/glyphs/Read.svg +6 -0
  55. package/src/glyphs/Resize.svg +4 -0
  56. package/src/glyphs/Write.svg +6 -0
  57. package/src/glyphs/index.ts +10 -0
  58. 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"}
@@ -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;AAiHnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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