gdsi 0.0.1

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 ADDED
@@ -0,0 +1,47 @@
1
+ # Geist Design System Icons
2
+
3
+ ## Install
4
+ ```sh
5
+ pnpm i gdsi
6
+ # or
7
+ npm i gdsi
8
+ ```
9
+
10
+ ## Usage
11
+
12
+ ### Vanilla(native)
13
+
14
+ ```ts
15
+ import { AccessibilityIcon } from 'gdsi'
16
+
17
+ const app = document.querySelector('#app')
18
+
19
+ app.innerHTML = AccessibilityIcon
20
+ ```
21
+
22
+ ### Vue3
23
+
24
+ ```vue
25
+ <script setup>
26
+ import { AccessibilityIcon } from 'gdsi/vue'
27
+ </script>
28
+
29
+ <template>
30
+ <div>
31
+ <AccessibilityIcon />
32
+ </div>
33
+ </template>
34
+ ```
35
+
36
+ ### React
37
+ ```ts
38
+ import { AccessibilityIcon } from 'gdsi/react'
39
+
40
+ export default function App() {
41
+ return (
42
+ <div>
43
+ <AccessibilityIcon />
44
+ </div>
45
+ )
46
+ }
47
+ ```
@@ -0,0 +1 @@
1
+ export declare const AccessibilityIcon: import('react').NamedExoticComponent<HTMLOrSVGElement>;
package/dist/react.js ADDED
@@ -0,0 +1 @@
1
+ import{memo as e,createElement as o}from"react";const i=e(function(t){return o("svg",{strokeLinejoin:"round",viewBox:"0 0 16 16",...t,dangerouslySetInnerHTML:{__html:'<path d="M8 3C8.82843 3 9.5 2.32843 9.5 1.5C9.5 0.671573 8.82843 0 8 0C7.17157 0 6.5 0.671573 6.5 1.5C6.5 2.32843 7.17157 3 8 3Z" fill="currentColor"></path><path d="M4.67148 6C5.89632 6 6.83343 7.09104 6.64857 8.30185L6.43 9.73346C6.3381 10.2159 6.1906 10.6874 6 11.1401L4.33 15.2L5.92164 15.888L7.594 11.9162C7.72668 11.6011 8.27332 11.6011 8.406 11.9162L10.0784 15.888L11.67 15.2L10 11.1401C9.8094 10.6874 9.6619 10.2159 9.57 9.73346L9.2835 8.42904C9.00946 7.18131 9.95947 6 11.2369 6H14V4.5H2V6H4.67148Z" fill="currentColor"></path>'}})});export{i as AccessibilityIcon};
@@ -0,0 +1 @@
1
+ export declare const AccessibilityIcon = "<svg stroke-linejoin=\"round\" viewBox=\"0 0 16 16\"><path d=\"M8 3C8.82843 3 9.5 2.32843 9.5 1.5C9.5 0.671573 8.82843 0 8 0C7.17157 0 6.5 0.671573 6.5 1.5C6.5 2.32843 7.17157 3 8 3Z\" fill=\"currentColor\"></path><path d=\"M4.67148 6C5.89632 6 6.83343 7.09104 6.64857 8.30185L6.43 9.73346C6.3381 10.2159 6.1906 10.6874 6 11.1401L4.33 15.2L5.92164 15.888L7.594 11.9162C7.72668 11.6011 8.27332 11.6011 8.406 11.9162L10.0784 15.888L11.67 15.2L10 11.1401C9.8094 10.6874 9.6619 10.2159 9.57 9.73346L9.2835 8.42904C9.00946 7.18131 9.95947 6 11.2369 6H14V4.5H2V6H4.67148Z\" fill=\"currentColor\"></path></svg>";
@@ -0,0 +1 @@
1
+ const o='<svg stroke-linejoin="round" viewBox="0 0 16 16"><path d="M8 3C8.82843 3 9.5 2.32843 9.5 1.5C9.5 0.671573 8.82843 0 8 0C7.17157 0 6.5 0.671573 6.5 1.5C6.5 2.32843 7.17157 3 8 3Z" fill="currentColor"></path><path d="M4.67148 6C5.89632 6 6.83343 7.09104 6.64857 8.30185L6.43 9.73346C6.3381 10.2159 6.1906 10.6874 6 11.1401L4.33 15.2L5.92164 15.888L7.594 11.9162C7.72668 11.6011 8.27332 11.6011 8.406 11.9162L10.0784 15.888L11.67 15.2L10 11.1401C9.8094 10.6874 9.6619 10.2159 9.57 9.73346L9.2835 8.42904C9.00946 7.18131 9.95947 6 11.2369 6H14V4.5H2V6H4.67148Z" fill="currentColor"></path></svg>';export{o as AccessibilityIcon};
package/dist/vue.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const AccessibilityIcon: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
package/dist/vue.js ADDED
@@ -0,0 +1 @@
1
+ import{defineComponent as o,h as i}from"vue";const e=o(()=>()=>i("svg",{innerHTML:'<path d="M8 3C8.82843 3 9.5 2.32843 9.5 1.5C9.5 0.671573 8.82843 0 8 0C7.17157 0 6.5 0.671573 6.5 1.5C6.5 2.32843 7.17157 3 8 3Z" fill="currentColor"></path><path d="M4.67148 6C5.89632 6 6.83343 7.09104 6.64857 8.30185L6.43 9.73346C6.3381 10.2159 6.1906 10.6874 6 11.1401L4.33 15.2L5.92164 15.888L7.594 11.9162C7.72668 11.6011 8.27332 11.6011 8.406 11.9162L10.0784 15.888L11.67 15.2L10 11.1401C9.8094 10.6874 9.6619 10.2159 9.57 9.73346L9.2835 8.42904C9.00946 7.18131 9.95947 6 11.2369 6H14V4.5H2V6H4.67148Z" fill="currentColor"></path>',"stroke-linejoin":"round",viewBox:"0 0 16 16"}),{name:"AccessibilityIcon"});export{e as AccessibilityIcon};
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "gdsi",
3
+ "type": "module",
4
+ "version": "0.0.1",
5
+ "description": "Geist design system icons maintained by the community.",
6
+ "author": "Libon <bon.li@outlook.com>",
7
+ "license": "ISC",
8
+ "keywords": [
9
+ "geist design system",
10
+ "geist",
11
+ "icons",
12
+ "svg"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/vanilla.d.ts",
17
+ "default": "./dist/vanilla.js"
18
+ },
19
+ "./vue": {
20
+ "types": "./dist/vue.d.ts",
21
+ "default": "./dist/vue.js"
22
+ },
23
+ "./react": {
24
+ "types": "./dist/react.d.ts",
25
+ "default": "./dist/react.js"
26
+ },
27
+ "./*": "./dist/*",
28
+ "./svg/*": "./svg/*"
29
+ },
30
+ "main": "dist/vanilla.js",
31
+ "types": "./dist/vanilla.d.ts",
32
+ "files": [
33
+ "dist",
34
+ "svg"
35
+ ],
36
+ "scripts": {
37
+ "dev": "tsx --watch scripts/gen.ts",
38
+ "gen": "tsx scripts/gen.ts",
39
+ "prebuild": "npm run gen vue react vanilla",
40
+ "build": "vite build",
41
+ "lint": "eslint .",
42
+ "lint:fix": "eslint . --fix"
43
+ },
44
+ "devDependencies": {
45
+ "@antfu/eslint-config": "^3.11.2",
46
+ "@types/node": "^22.10.2",
47
+ "@types/react": "^19.0.1",
48
+ "eslint": "^9.16.0",
49
+ "fast-glob": "^3.3.2",
50
+ "react": "^19.0.0",
51
+ "tsx": "^4.19.2",
52
+ "typescript": "^5.7.2",
53
+ "vite": "^6.0.3",
54
+ "vite-plugin-dts": "^4.3.0",
55
+ "vue": "^3.5.13"
56
+ }
57
+ }
@@ -0,0 +1,4 @@
1
+ <svg stroke-linejoin="round" viewBox="0 0 16 16">
2
+ <path d="M8 3C8.82843 3 9.5 2.32843 9.5 1.5C9.5 0.671573 8.82843 0 8 0C7.17157 0 6.5 0.671573 6.5 1.5C6.5 2.32843 7.17157 3 8 3Z" fill="currentColor"></path>
3
+ <path d="M4.67148 6C5.89632 6 6.83343 7.09104 6.64857 8.30185L6.43 9.73346C6.3381 10.2159 6.1906 10.6874 6 11.1401L4.33 15.2L5.92164 15.888L7.594 11.9162C7.72668 11.6011 8.27332 11.6011 8.406 11.9162L10.0784 15.888L11.67 15.2L10 11.1401C9.8094 10.6874 9.6619 10.2159 9.57 9.73346L9.2835 8.42904C9.00946 7.18131 9.95947 6 11.2369 6H14V4.5H2V6H4.67148Z" fill="currentColor"></path>
4
+ </svg>