@surrealdb/ui 1.0.41 → 1.0.43
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 +15 -1
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js +753 -753
- package/dist/ui.js.map +1 -1
- package/package.json +6 -2
- package/tools/icon-parser.ts +72 -0
package/README.md
CHANGED
|
@@ -14,4 +14,18 @@ Start the Storybook development server:
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
bun run storybook:dev
|
|
17
|
-
```
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Icon tool
|
|
20
|
+
|
|
21
|
+
The icon tool is used to convert the SVG icons to a format that can be used in the UI Kit.
|
|
22
|
+
|
|
23
|
+
### Requirements
|
|
24
|
+
- Install [picosvg](https://github.com/googlefonts/picosvg)
|
|
25
|
+
- Export an SVG zip and locate it in the root of the project.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
bun run icons
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
This will generate the `src/constants/icons.ts` file.
|
package/dist/ui.d.ts
CHANGED