@launchpad-ui/icons
Advanced tools
Comparing version 0.1.6 to 0.2.0
/// <reference types="react" /> | ||
import type { IconSize } from './types'; | ||
import './styles.css'; | ||
import './styles/Icon.css'; | ||
declare type IconProps = Omit<React.HTMLProps<HTMLSpanElement>, 'size'> & { | ||
@@ -5,0 +5,0 @@ name?: string; |
@@ -11,3 +11,3 @@ // ../../scripts/react-shim.js | ||
import { v4 } from "uuid"; | ||
import "./styles.css"; | ||
import "./styles/Icon.css"; | ||
var Icon = ({ name, subtle, className, size, children, ...props }) => { | ||
@@ -14,0 +14,0 @@ const sizeClass = size ? `Icon--${size}` : false; |
@@ -48,3 +48,3 @@ var __create = Object.create; | ||
var import_uuid = require("uuid"); | ||
var import_styles = require("./styles.css"); | ||
var import_Icon = require("./styles/Icon.css"); | ||
var Icon = ({ name, subtle, className, size, children, ...props }) => { | ||
@@ -51,0 +51,0 @@ const sizeClass = size ? `Icon--${size}` : false; |
{ | ||
"name": "@launchpad-ui/icons", | ||
"version": "0.1.6", | ||
"version": "0.2.0", | ||
"publishConfig": { | ||
@@ -25,3 +25,3 @@ "access": "public" | ||
"./package.json": "./package.json", | ||
"./styles.css": "./dist/styles.css" | ||
"./styles/*": "./dist/styles/*" | ||
}, | ||
@@ -41,4 +41,4 @@ "source": "src/index.ts", | ||
"@types/uuid": "^8.3.4", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "scripts": { |
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
56556