@leafygreen-ui/icon 12.5.4 → 12.7.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.
@@ -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 944c4a3d45c0ff1cf5c6a8227b3d7964
6
+ */
7
+ import * as React from "react";
8
+ import PropTypes from 'prop-types';
9
+ import { LGGlyph } from '../types';
10
+ export interface EmptyDatabaseProps extends LGGlyph.ComponentProps {
11
+ }
12
+ declare const EmptyDatabase: {
13
+ ({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: EmptyDatabaseProps): 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 EmptyDatabase;
23
+ //# sourceMappingURL=EmptyDatabase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyDatabase.d.ts","sourceRoot":"","sources":["../../src/generated/EmptyDatabase.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,kBAAmB,SAAQ,OAAO,CAAC,cAAc;CAAG;AACrE,QAAA,MAAM,aAAa;uHAShB,kBAAkB;;;;;;;;CAepB,CAAC;AAQF,eAAe,aAAa,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 8a09ec616c2f43419d091f5b19d867ae
6
+ */
7
+ import * as React from "react";
8
+ import PropTypes from 'prop-types';
9
+ import { LGGlyph } from '../types';
10
+ export interface EmptyFolderProps extends LGGlyph.ComponentProps {
11
+ }
12
+ declare const EmptyFolder: {
13
+ ({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: EmptyFolderProps): 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 EmptyFolder;
23
+ //# sourceMappingURL=EmptyFolder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyFolder.d.ts","sourceRoot":"","sources":["../../src/generated/EmptyFolder.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,gBAAiB,SAAQ,OAAO,CAAC,cAAc;CAAG;AACnE,QAAA,MAAM,WAAW;uHASd,gBAAgB;;;;;;;;CAelB,CAAC;AAQF,eAAe,WAAW,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 095e6dc89a43f71d355a360fbc593cc3
6
+ */
7
+ import * as React from "react";
8
+ import PropTypes from 'prop-types';
9
+ import { LGGlyph } from '../types';
10
+ export interface PendingProps extends LGGlyph.ComponentProps {
11
+ }
12
+ declare const Pending: {
13
+ ({ className, size, title, ["aria-label"]: ariaLabel, ["aria-labelledby"]: ariaLabelledby, fill, role, ...props }: PendingProps): 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 Pending;
23
+ //# sourceMappingURL=Pending.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pending.d.ts","sourceRoot":"","sources":["../../src/generated/Pending.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,YAAa,SAAQ,OAAO,CAAC,cAAc;CAAG;AAC/D,QAAA,MAAM,OAAO;uHASV,YAAY;;;;;;;;CAed,CAAC;AAQF,eAAe,OAAO,CAAC"}
@@ -213,6 +213,14 @@ declare const _glyphs: {
213
213
  title?: string | null | undefined;
214
214
  role?: "img" | "presentation" | undefined;
215
215
  }>;
216
+ readonly EmptyDatabase: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
217
+ title?: string | null | undefined;
218
+ role?: "img" | "presentation" | undefined;
219
+ }>;
220
+ readonly EmptyFolder: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
221
+ title?: string | null | undefined;
222
+ role?: "img" | "presentation" | undefined;
223
+ }>;
216
224
  readonly Eraser: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
217
225
  title?: string | null | undefined;
218
226
  role?: "img" | "presentation" | undefined;
@@ -397,6 +405,10 @@ declare const _glyphs: {
397
405
  title?: string | null | undefined;
398
406
  role?: "img" | "presentation" | undefined;
399
407
  }>;
408
+ readonly Pending: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
409
+ title?: string | null | undefined;
410
+ role?: "img" | "presentation" | undefined;
411
+ }>;
400
412
  readonly Person: import("react").ComponentType<import("react").SVGProps<SVGSVGElement> & {
401
413
  title?: string | null | undefined;
402
414
  role?: "img" | "presentation" | undefined;
@@ -635,6 +647,6 @@ declare const _glyphs: {
635
647
  }>;
636
648
  };
637
649
  export type GlyphName = keyof typeof _glyphs;
638
- 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" | "Stop" | "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>;
650
+ 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" | "EmptyDatabase" | "EmptyFolder" | "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" | "Pending" | "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" | "Stop" | "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>;
639
651
  export {};
640
652
  //# 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;AAkKnC,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKH,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,OAAO,CAAC;AAI7C,eAAO,MAAM,MAAM,unEAI2B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { createGlyphComponent } from './createGlyphComponent';
2
2
  export type { IconProps } from './createIconComponent';
3
3
  export { createIconComponent } from './createIconComponent';
4
- export { Size } from './glyphCommon';
4
+ export { Size, sizeMap } from './glyphCommon';
5
5
  export { type GlyphName, glyphs } from './glyphs';
6
6
  export { Icon as default } from './Icon';
7
7
  export { isComponentGlyph } from './isComponentGlyph';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}