From 33e10e54a66bcd6ee259970498eefd57ffcd049a Mon Sep 17 00:00:00 2001 From: Adam Thompson <2414030+TheSonOfThomp@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:01:53 -0700 Subject: [PATCH] rebuilds icons (#1878) --- packages/icon/src/generated/List.tsx | 74 ++++++------------------- packages/icon/src/generated/Return.tsx | 57 ++++++------------- packages/icon/src/generated/Sparkle.tsx | 62 ++++++--------------- 3 files changed, 51 insertions(+), 142 deletions(-) diff --git a/packages/icon/src/generated/List.tsx b/packages/icon/src/generated/List.tsx index 327f03a6a0..1e582eecee 100644 --- a/packages/icon/src/generated/List.tsx +++ b/packages/icon/src/generated/List.tsx @@ -1,13 +1,12 @@ /** - * This is a generated file. Do not modify it manually. - * - * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts - * @checksum 2f6fd7ab3c0fa1b30f13a813cae7e765 - */ -import { css, cx } from '@leafygreen-ui/emotion'; +* This is a generated file. Do not modify it manually. +* +* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts +* @checksum 13856fbbed35bc479e5113e9f3561e8e +*/ +import * as React from "react"; import PropTypes from 'prop-types'; -import * as React from 'react'; - +import { css, cx } from '@leafygreen-ui/emotion'; import { generateAccessibleProps, sizeMap } from '../glyphCommon'; import { LGGlyph } from '../types'; export interface ListProps extends LGGlyph.ComponentProps {} @@ -22,64 +21,25 @@ const List = ({ ...props }: ListProps) => { const fillStyle = css` - color: ${fill}; - `; + color: ${fill}; + `; const noFlexShrink = css` - flex-shrink: 0; - `; + flex-shrink: 0; + `; const accessibleProps = generateAccessibleProps(role, 'List', { title, ['aria-label']: ariaLabel, - ['aria-labelledby']: ariaLabelledby, + ['aria-labelledby']: ariaLabelledby }); - return ( - - - - - - - - - ); + return ; }; List.displayName = 'List'; List.isGlyph = true; List.propTypes = { fill: PropTypes.string, size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - className: PropTypes.string, + className: PropTypes.string }; -export default List; +export default List; \ No newline at end of file diff --git a/packages/icon/src/generated/Return.tsx b/packages/icon/src/generated/Return.tsx index ec8f3f57b5..18ce38a3cf 100644 --- a/packages/icon/src/generated/Return.tsx +++ b/packages/icon/src/generated/Return.tsx @@ -1,13 +1,12 @@ /** - * This is a generated file. Do not modify it manually. - * - * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts - * @checksum b05e3bc3c6c7479a3cbaa93aba8c7b37 - */ -import { css, cx } from '@leafygreen-ui/emotion'; +* This is a generated file. Do not modify it manually. +* +* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts +* @checksum 088ef2cc9a4519b2bddcd4a7af33d5e1 +*/ +import * as React from "react"; import PropTypes from 'prop-types'; -import * as React from 'react'; - +import { css, cx } from '@leafygreen-ui/emotion'; import { generateAccessibleProps, sizeMap } from '../glyphCommon'; import { LGGlyph } from '../types'; export interface ReturnProps extends LGGlyph.ComponentProps {} @@ -22,47 +21,25 @@ const Return = ({ ...props }: ReturnProps) => { const fillStyle = css` - color: ${fill}; - `; + color: ${fill}; + `; const noFlexShrink = css` - flex-shrink: 0; - `; + flex-shrink: 0; + `; const accessibleProps = generateAccessibleProps(role, 'Return', { title, ['aria-label']: ariaLabel, - ['aria-labelledby']: ariaLabelledby, + ['aria-labelledby']: ariaLabelledby }); - return ( - - - - - - ); + return ; }; Return.displayName = 'Return'; Return.isGlyph = true; Return.propTypes = { fill: PropTypes.string, size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - className: PropTypes.string, + className: PropTypes.string }; -export default Return; +export default Return; \ No newline at end of file diff --git a/packages/icon/src/generated/Sparkle.tsx b/packages/icon/src/generated/Sparkle.tsx index dc813ff1b0..13e9cfa2be 100644 --- a/packages/icon/src/generated/Sparkle.tsx +++ b/packages/icon/src/generated/Sparkle.tsx @@ -1,13 +1,12 @@ /** - * This is a generated file. Do not modify it manually. - * - * @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts - * @checksum 5150a0036cfe4b450e93815d1feeae5f - */ -import { css, cx } from '@leafygreen-ui/emotion'; +* This is a generated file. Do not modify it manually. +* +* @script ./node_modules/.bin/ts-node packages/icon/scripts/build.ts +* @checksum 90addb5f1c30daa93d14be4b89af617b +*/ +import * as React from "react"; import PropTypes from 'prop-types'; -import * as React from 'react'; - +import { css, cx } from '@leafygreen-ui/emotion'; import { generateAccessibleProps, sizeMap } from '../glyphCommon'; import { LGGlyph } from '../types'; export interface SparkleProps extends LGGlyph.ComponentProps {} @@ -22,52 +21,25 @@ const Sparkle = ({ ...props }: SparkleProps) => { const fillStyle = css` - color: ${fill}; - `; + color: ${fill}; + `; const noFlexShrink = css` - flex-shrink: 0; - `; + flex-shrink: 0; + `; const accessibleProps = generateAccessibleProps(role, 'Sparkle', { title, ['aria-label']: ariaLabel, - ['aria-labelledby']: ariaLabelledby, + ['aria-labelledby']: ariaLabelledby }); - return ( - - - - - - ); + return ; }; Sparkle.displayName = 'Sparkle'; Sparkle.isGlyph = true; Sparkle.propTypes = { fill: PropTypes.string, size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), - className: PropTypes.string, + className: PropTypes.string }; -export default Sparkle; +export default Sparkle; \ No newline at end of file