@launchpad-ui/icons
Advanced tools
Comparing version 0.1.2 to 0.1.3
/// <reference types="react" /> | ||
import type { IconSize } from './types'; | ||
import './styles.css'; | ||
export declare type IconProps = Omit<React.HTMLProps<HTMLSpanElement>, 'size'> & { | ||
declare type IconProps = Omit<React.HTMLProps<HTMLSpanElement>, 'size'> & { | ||
name?: string; | ||
@@ -11,2 +11,3 @@ subtle?: boolean; | ||
export { Icon }; | ||
export type { IconProps }; | ||
//# sourceMappingURL=Icon.d.ts.map |
@@ -8,4 +8,4 @@ // ../../scripts/react-shim.js | ||
// src/Icon.tsx | ||
import classNames from "classnames"; | ||
import { Children, cloneElement, isValidElement, useEffect, useRef } from "react"; | ||
import classNames from "classnames"; | ||
import { v4 } from "uuid"; | ||
@@ -33,3 +33,3 @@ import "./styles.css"; | ||
} | ||
}, []); | ||
}, [name]); | ||
return /* @__PURE__ */ React.createElement("span", { | ||
@@ -36,0 +36,0 @@ ...props, |
@@ -45,4 +45,4 @@ var __create = Object.create; | ||
// src/Icon.tsx | ||
var import_classnames = __toESM(require("classnames")); | ||
var import_react = require("react"); | ||
var import_classnames = __toESM(require("classnames")); | ||
var import_uuid = require("uuid"); | ||
@@ -70,3 +70,3 @@ var import_styles = require("./styles.css"); | ||
} | ||
}, []); | ||
}, [name]); | ||
return /* @__PURE__ */ React.createElement("span", { | ||
@@ -73,0 +73,0 @@ ...props, |
@@ -8,6 +8,7 @@ import { Component } from 'react'; | ||
}; | ||
export declare class KindIcon extends Component<KindIconProps> { | ||
declare class KindIcon extends Component<KindIconProps> { | ||
render(): JSX.Element; | ||
} | ||
export {}; | ||
export { KindIcon }; | ||
export type { KindIconProps }; | ||
//# sourceMappingURL=KindIcon.d.ts.map |
{ | ||
"name": "@launchpad-ui/icons", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"publishConfig": { | ||
@@ -29,3 +29,3 @@ "access": "public" | ||
"dependencies": { | ||
"@launchpad-ui/tokens": "~0.1.2", | ||
"@launchpad-ui/tokens": "~0.1.3", | ||
"classnames": "^2.3.1", | ||
@@ -45,4 +45,5 @@ "uuid": "^8.3.2" | ||
"scripts": { | ||
"build": "pnpm build:icons && tsc && node build.js", | ||
"build": "pnpm build:icons && tsc --project tsconfig.build.json && node build.js", | ||
"build:icons": "svgr --silent -- icons", | ||
"clean": "rm -rf dist", | ||
"e2e": "exit 0", | ||
@@ -49,0 +50,0 @@ "lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
57253
607
Updated@launchpad-ui/tokens@~0.1.3