@langchain/untitled-ui-icons 1.0.9-beta.1 → 1.0.9
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/README.md +39 -2
- package/dist/components/SortAscending.d.ts +3 -0
- package/dist/components/SortAscending.js +3 -0
- package/dist/components/SortDescending.d.ts +3 -0
- package/dist/components/SortDescending.js +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,2 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Icons library for LangSmith
|
|
2
|
+
|
|
3
|
+
## Adding a New Icon
|
|
4
|
+
|
|
5
|
+
Simply add your SVG file to `src/svg/` with kebab-case naming (e.g., `my-new-icon.svg`) and push to main.
|
|
6
|
+
|
|
7
|
+
GitHub Actions will automatically:
|
|
8
|
+
1. Generate the React component in `src/components/`
|
|
9
|
+
2. Update `src/index.ts` with the export
|
|
10
|
+
3. Build and deploy the docs site to GitHub Pages
|
|
11
|
+
|
|
12
|
+
## Publishing to NPM (Manual)
|
|
13
|
+
|
|
14
|
+
After icons are auto-generated and pushed:
|
|
15
|
+
1. Bump version in `package.json`
|
|
16
|
+
2. Run `npm publish`
|
|
17
|
+
|
|
18
|
+
## Local Development
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Install dependencies
|
|
22
|
+
yarn install
|
|
23
|
+
|
|
24
|
+
# Generate components from SVGs
|
|
25
|
+
yarn generate
|
|
26
|
+
|
|
27
|
+
# Build the library
|
|
28
|
+
yarn build
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Docs Preview
|
|
32
|
+
|
|
33
|
+
View available icons at: https://ideal-adventure-kgrlqgn.pages.github.io/
|
|
34
|
+
|
|
35
|
+
## TODO
|
|
36
|
+
|
|
37
|
+
- Better handling of unexpected cases, malformed SVGs, incorrect naming convention, etc.
|
|
38
|
+
- Tagging ([example](https://github.com/clipboard-history-io/extension/blob/main/.github/workflows/upgrade.yml)) + publishing ([example](https://github.com/clipboard-history-io/extension/blob/main/.github/workflows/release.yml)) with CI
|
|
39
|
+
- Protect main.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const SortAscending = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: "24px", height: "24px", ...props, children: [_jsx("path", { fill: "currentColor", d: "M7.5 14.25a.75.75 0 0 1 .75-.75h3a.75.75 0 1 1 0 1.5h-3a.75.75 0 0 1-.75-.75m-6-9a.75.75 0 0 1 .75-.75h9a.75.75 0 1 1 0 1.5h-9a.75.75 0 0 1-.75-.75m3 4.5A.75.75 0 0 1 5.25 9h6a.75.75 0 1 1 0 1.5h-6a.75.75 0 0 1-.75-.75" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", d: "m18.486 20.303 3-3m-3 3-3-3m3 3v-7.428" })] }));
|
|
3
|
+
export { SortAscending };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const SortDescending = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: "24px", height: "24px", ...props, children: [_jsx("path", { fill: "currentColor", d: "M7.5 14.25a.75.75 0 0 1 .75-.75h3a.75.75 0 1 1 0 1.5h-3a.75.75 0 0 1-.75-.75m-6-9a.75.75 0 0 1 .75-.75h9a.75.75 0 1 1 0 1.5h-9a.75.75 0 0 1-.75-.75m3 4.5A.75.75 0 0 1 5.25 9h6a.75.75 0 1 1 0 1.5h-6a.75.75 0 0 1-.75-.75" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2px", d: "m18.486 12.875 3 3m-3-3-3 3m3-3v7.428" })] }));
|
|
3
|
+
export { SortDescending };
|
package/dist/index.d.ts
CHANGED
|
@@ -988,6 +988,8 @@ export { Sliders03 as Sliders03Icon } from "./components/Sliders03";
|
|
|
988
988
|
export { Sliders04 as Sliders04Icon } from "./components/Sliders04";
|
|
989
989
|
export { Snowflake01 as Snowflake01Icon } from "./components/Snowflake01";
|
|
990
990
|
export { Snowflake02 as Snowflake02Icon } from "./components/Snowflake02";
|
|
991
|
+
export { SortAscending as SortAscendingIcon } from "./components/SortAscending";
|
|
992
|
+
export { SortDescending as SortDescendingIcon } from "./components/SortDescending";
|
|
991
993
|
export { SpacingHeight01 as SpacingHeight01Icon } from "./components/SpacingHeight01";
|
|
992
994
|
export { SpacingHeight02 as SpacingHeight02Icon } from "./components/SpacingHeight02";
|
|
993
995
|
export { SpacingWidth01 as SpacingWidth01Icon } from "./components/SpacingWidth01";
|
package/dist/index.js
CHANGED
|
@@ -989,6 +989,8 @@ export { Sliders03 as Sliders03Icon } from "./components/Sliders03";
|
|
|
989
989
|
export { Sliders04 as Sliders04Icon } from "./components/Sliders04";
|
|
990
990
|
export { Snowflake01 as Snowflake01Icon } from "./components/Snowflake01";
|
|
991
991
|
export { Snowflake02 as Snowflake02Icon } from "./components/Snowflake02";
|
|
992
|
+
export { SortAscending as SortAscendingIcon } from "./components/SortAscending";
|
|
993
|
+
export { SortDescending as SortDescendingIcon } from "./components/SortDescending";
|
|
992
994
|
export { SpacingHeight01 as SpacingHeight01Icon } from "./components/SpacingHeight01";
|
|
993
995
|
export { SpacingHeight02 as SpacingHeight02Icon } from "./components/SpacingHeight02";
|
|
994
996
|
export { SpacingWidth01 as SpacingWidth01Icon } from "./components/SpacingWidth01";
|