@steez-ui/icons 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Thomas Vu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # Steez UI
2
+
3
+ Shared Phantasy UI primitives and shadcn-compatible registry output.
4
+
5
+ Registry frontend: `https://steez-ui.pages.dev`
6
+
7
+ ## Packages
8
+
9
+ - `@steez-ui/theme`
10
+ - `@steez-ui/icons`
11
+ - `@steez-ui/ui`
12
+
13
+ ## App
14
+
15
+ - `@steez-ui/registry`
16
+
17
+ ## Scripts
18
+
19
+ - `bun run build`
20
+ - `bun run check:release`
21
+ - `bun run publish:packages:dry-run`
22
+ - `bun run publish:packages`
23
+ - `bun run deploy:registry`
24
+ - `bun run generate:registry`
25
+ - `bun run test`
26
+ - `bun run test:install-smoke`
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ bunx shadcn@latest add https://steez-ui.pages.dev/r/foundation.json
32
+ ```
33
+
34
+ ```bash
35
+ bun add @steez-ui/theme @steez-ui/icons @steez-ui/ui
36
+ ```
37
+
38
+ ## Release Flow
39
+
40
+ 1. `bun install`
41
+ 2. `bun run check:release`
42
+ 3. `bun run publish:packages`
43
+ 4. `bun run deploy:registry`
44
+
45
+ GitHub Actions mirror the same path for CI, npm publish, and Cloudflare Pages deployment.
46
+
47
+ ## One-Time External Setup
48
+
49
+ - Create or claim the npm scope `@steez-ui`, then grant the publishing account access.
50
+ - Add `NPM_TOKEN` to the GitHub repository secrets before using the package publish workflow.
51
+ - Add `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` to the GitHub repository secrets before relying on the Pages deploy workflow.
52
+ - Until those secrets exist, the GitHub publish and deploy workflows will skip with a notice instead of failing.
package/dist/Icon.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import type { SteezIconName, SteezIconProps } from "./types";
2
+ export interface IconProps extends SteezIconProps {
3
+ icon: SteezIconName;
4
+ }
5
+ export declare function Icon({ icon, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAiB7D,MAAM,WAAW,SAAU,SAAQ,cAAc;IAC/C,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAGjD"}
package/dist/Icon.js ADDED
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { CheckIcon, ChevronLeftIcon, CloseIcon, CopyIcon, ErrorIcon, EyeIcon, InfoIcon, MoonIcon, RefreshIcon, SlidersIcon, SunIcon, WarningIcon, } from "./icons";
3
+ const ICONS = {
4
+ check: CheckIcon,
5
+ chevronLeft: ChevronLeftIcon,
6
+ close: CloseIcon,
7
+ copy: CopyIcon,
8
+ error: ErrorIcon,
9
+ eye: EyeIcon,
10
+ info: InfoIcon,
11
+ moon: MoonIcon,
12
+ refresh: RefreshIcon,
13
+ sliders: SlidersIcon,
14
+ sun: SunIcon,
15
+ warning: WarningIcon,
16
+ };
17
+ export function Icon({ icon, ...props }) {
18
+ const Component = ICONS[icon];
19
+ return _jsx(Component, { ...props });
20
+ }
21
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,WAAW,GACZ,MAAM,SAAS,CAAC;AAGjB,MAAM,KAAK,GAA+D;IACxE,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,SAAS;IAChB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,SAAS;IAChB,GAAG,EAAE,OAAO;IACZ,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,GAAG,EAAE,OAAO;IACZ,OAAO,EAAE,WAAW;CACrB,CAAC;AAMF,MAAM,UAAU,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa;IAChD,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9B,OAAO,KAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ interface IconProviderValue {
3
+ size: number;
4
+ strokeWidth: number;
5
+ }
6
+ export interface SteezIconProviderProps {
7
+ size?: number;
8
+ strokeWidth?: number;
9
+ children: React.ReactNode;
10
+ }
11
+ export declare function SteezIconProvider({ size, strokeWidth, children, }: SteezIconProviderProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function useSteezIconDefaults(): IconProviderValue;
13
+ export {};
14
+ //# sourceMappingURL=IconProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconProvider.d.ts","sourceRoot":"","sources":["../src/IconProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AASD,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAyB,EACzB,WAAuC,EACvC,QAAQ,GACT,EAAE,sBAAsB,2CAMxB;AAED,wBAAgB,oBAAoB,sBAEnC"}
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { createContext, useContext } from "react";
3
+ const DEFAULT_VALUE = {
4
+ size: 16,
5
+ strokeWidth: 2,
6
+ };
7
+ const IconProviderContext = createContext(DEFAULT_VALUE);
8
+ export function SteezIconProvider({ size = DEFAULT_VALUE.size, strokeWidth = DEFAULT_VALUE.strokeWidth, children, }) {
9
+ return (_jsx(IconProviderContext.Provider, { value: { size, strokeWidth }, children: children }));
10
+ }
11
+ export function useSteezIconDefaults() {
12
+ return useContext(IconProviderContext);
13
+ }
14
+ //# sourceMappingURL=IconProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconProvider.js","sourceRoot":"","sources":["../src/IconProvider.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOzD,MAAM,aAAa,GAAsB;IACvC,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,CAAC;CACf,CAAC;AAEF,MAAM,mBAAmB,GAAG,aAAa,CAAoB,aAAa,CAAC,CAAC;AAQ5E,MAAM,UAAU,iBAAiB,CAAC,EAChC,IAAI,GAAG,aAAa,CAAC,IAAI,EACzB,WAAW,GAAG,aAAa,CAAC,WAAW,EACvC,QAAQ,GACe;IACvB,OAAO,CACL,KAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,YACvD,QAAQ,GACoB,CAChC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oBAAoB;IAClC,OAAO,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACzC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import type { SteezIconProps } from "./types";
3
+ export declare const CopyIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
4
+ export declare const CheckIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
+ export declare const ErrorIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6
+ export declare const InfoIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
7
+ export declare const WarningIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
8
+ export declare const RefreshIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
9
+ export declare const CloseIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
10
+ export declare const ChevronLeftIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
11
+ export declare const SlidersIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12
+ export declare const EyeIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
13
+ export declare const SunIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
14
+ export declare const MoonIcon: ({ width, height, color, ...props }: SteezIconProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
15
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2B9C,eAAO,MAAM,QAAQ,uCAdhB,cAAc,uEAgCjB,CAAC;AAEH,eAAO,MAAM,SAAS,uCAlCjB,cAAc,uEAmDjB,CAAC;AAEH,eAAO,MAAM,SAAS,uCArDjB,cAAc,uEAwEjB,CAAC;AAEH,eAAO,MAAM,QAAQ,uCA1EhB,cAAc,uEA6FjB,CAAC;AAEH,eAAO,MAAM,WAAW,uCA/FnB,cAAc,uEAkHjB,CAAC;AAEH,eAAO,MAAM,WAAW,uCApHnB,cAAc,uEAwIjB,CAAC;AAEH,eAAO,MAAM,SAAS,uCA1IjB,cAAc,uEA4JjB,CAAC;AAEH,eAAO,MAAM,eAAe,uCA9JvB,cAAc,uEA+KjB,CAAC;AAEH,eAAO,MAAM,WAAW,uCAjLnB,cAAc,uEA0MjB,CAAC;AAEH,eAAO,MAAM,OAAO,uCA5Mf,cAAc,uEA8NjB,CAAC;AAEH,eAAO,MAAM,OAAO,uCAhOf,cAAc,uEAyPjB,CAAC;AAEH,eAAO,MAAM,QAAQ,uCA3PhB,cAAc,uEAyQjB,CAAC"}
package/dist/icons.js ADDED
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useSteezIconDefaults } from "./IconProvider";
3
+ function createIcon(render) {
4
+ return function SteezIcon({ width, height, color = "currentColor", ...props }) {
5
+ const defaults = useSteezIconDefaults();
6
+ return render({
7
+ width: width ?? defaults.size,
8
+ height: height ?? defaults.size,
9
+ color,
10
+ ...props,
11
+ }, defaults.strokeWidth);
12
+ };
13
+ }
14
+ export const CopyIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }), _jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })] })));
15
+ export const CheckIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: _jsx("polyline", { points: "20 6 9 17 4 12" }) })));
16
+ export const ErrorIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("line", { x1: "12", y1: "8", x2: "12", y2: "12" }), _jsx("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })] })));
17
+ export const InfoIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("line", { x1: "12", y1: "16", x2: "12", y2: "12" }), _jsx("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })] })));
18
+ export const WarningIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.72 3h16.92a2 2 0 0 0 1.72-3L13.71 3.86a2 2 0 0 0-3.42 0Z" }), _jsx("line", { x1: "12", y1: "9", x2: "12", y2: "13" }), _jsx("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })] })));
19
+ export const RefreshIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("polyline", { points: "23 4 23 10 17 10" }), _jsx("polyline", { points: "1 20 1 14 7 14" }), _jsx("path", { d: "M3.51 9a9 9 0 0 1 14.13-3.36L23 10" }), _jsx("path", { d: "M20.49 15a9 9 0 0 1-14.13 3.36L1 14" })] })));
20
+ export const CloseIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] })));
21
+ export const ChevronLeftIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: _jsx("polyline", { points: "15 18 9 12 15 6" }) })));
22
+ export const SlidersIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("line", { x1: "4", y1: "21", x2: "4", y2: "14" }), _jsx("line", { x1: "4", y1: "10", x2: "4", y2: "3" }), _jsx("line", { x1: "12", y1: "21", x2: "12", y2: "12" }), _jsx("line", { x1: "12", y1: "8", x2: "12", y2: "3" }), _jsx("line", { x1: "20", y1: "21", x2: "20", y2: "16" }), _jsx("line", { x1: "20", y1: "12", x2: "20", y2: "3" }), _jsx("line", { x1: "1", y1: "14", x2: "7", y2: "14" }), _jsx("line", { x1: "9", y1: "8", x2: "15", y2: "8" }), _jsx("line", { x1: "17", y1: "16", x2: "23", y2: "16" })] })));
23
+ export const EyeIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12Z" }), _jsx("circle", { cx: "12", cy: "12", r: "3" })] })));
24
+ export const SunIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round", className: className, style: style, ...props, children: [_jsx("circle", { cx: "12", cy: "12", r: "4" }), _jsx("path", { d: "M12 2v2" }), _jsx("path", { d: "M12 20v2" }), _jsx("path", { d: "m4.93 4.93 1.41 1.41" }), _jsx("path", { d: "m17.66 17.66 1.41 1.41" }), _jsx("path", { d: "M2 12h2" }), _jsx("path", { d: "M20 12h2" }), _jsx("path", { d: "m6.34 17.66-1.41 1.41" }), _jsx("path", { d: "m19.07 4.93-1.41 1.41" })] })));
25
+ export const MoonIcon = createIcon(({ width, height, color, className, style, ...props }, strokeWidth) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, viewBox: "0 0 24 24", fill: "currentColor", stroke: "none", className: className, style: style, ...props, children: _jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79Z" }) })));
26
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,SAAS,UAAU,CACjB,MAGuB;IAEvB,OAAO,SAAS,SAAS,CAAC,EACxB,KAAK,EACL,MAAM,EACN,KAAK,GAAG,cAAc,EACtB,GAAG,KAAK,EACO;QACf,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;QACxC,OAAO,MAAM,CACX;YACE,KAAK,EAAE,KAAK,IAAI,QAAQ,CAAC,IAAI;YAC7B,MAAM,EAAE,MAAM,IAAI,QAAQ,CAAC,IAAI;YAC/B,KAAK;YACL,GAAG,KAAK;SACT,EACD,QAAQ,CAAC,WAAW,CACrB,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,QAA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} from "./types";
2
+ export { Icon } from "./Icon";
3
+ export { SteezIconProvider, useSteezIconDefaults } from "./IconProvider";
4
+ export { CheckIcon, ChevronLeftIcon, CloseIcon, CopyIcon, ErrorIcon, EyeIcon, InfoIcon, MoonIcon, RefreshIcon, SlidersIcon, SunIcon, WarningIcon, } from "./icons";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,WAAW,GACZ,MAAM,SAAS,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export { Icon } from "./Icon";
2
+ export { SteezIconProvider, useSteezIconDefaults } from "./IconProvider";
3
+ export { CheckIcon, ChevronLeftIcon, CloseIcon, CopyIcon, ErrorIcon, EyeIcon, InfoIcon, MoonIcon, RefreshIcon, SlidersIcon, SunIcon, WarningIcon, } from "./icons";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,WAAW,GACZ,MAAM,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { CSSProperties, SVGProps } from "react";
2
+ export interface SteezIconProps extends SVGProps<SVGSVGElement> {
3
+ width?: number;
4
+ height?: number;
5
+ color?: string;
6
+ className?: string;
7
+ style?: CSSProperties;
8
+ }
9
+ export type SteezIconName = "copy" | "check" | "error" | "info" | "warning" | "refresh" | "close" | "chevronLeft" | "sliders" | "eye" | "sun" | "moon";
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,cAAe,SAAQ,QAAQ,CAAC,aAAa,CAAC;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,SAAS,GACT,SAAS,GACT,OAAO,GACP,aAAa,GACb,SAAS,GACT,KAAK,GACL,KAAK,GACL,MAAM,CAAC"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@steez-ui/icons",
3
+ "version": "0.1.0",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "peerDependencies": {
10
+ "react": ">=18"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/thomasjvu/steez-ui.git"
24
+ },
25
+ "homepage": "https://steez-ui.pages.dev",
26
+ "bugs": {
27
+ "url": "https://github.com/thomasjvu/steez-ui/issues"
28
+ }
29
+ }