thewatch-icons 0.0.1 → 0.0.2

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.
@@ -1,6 +1,3 @@
1
1
  import { JSX } from 'solid-js/jsx-runtime';
2
2
  export type IconData = [elementName: keyof JSX.IntrinsicElements, attrs: Record<string, string>][];
3
3
  export type SVGAttributes = Partial<JSX.SvgSVGAttributes<SVGSVGElement>>;
4
- export interface IconContextValue {
5
- class?: string;
6
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thewatch-icons",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Custom SVG icon set generated as SolidJS components",
5
5
  "keywords": [
6
6
  "solidjs",
@@ -1,7 +0,0 @@
1
- import { createContext, useContext } from "solid-js";
2
- const IconContext = createContext({});
3
- const useIconContext = () => useContext(IconContext);
4
- export {
5
- IconContext,
6
- useIconContext
7
- };
@@ -1,7 +0,0 @@
1
- import { createContext, useContext } from "solid-js";
2
- const IconContext = createContext({});
3
- const useIconContext = () => useContext(IconContext);
4
- export {
5
- IconContext,
6
- useIconContext
7
- };
@@ -1,3 +0,0 @@
1
- import type { IconContextValue } from './types';
2
- export declare const IconContext: import("solid-js").Context<IconContextValue>;
3
- export declare const useIconContext: () => IconContextValue;