@aragon/gov-ui-kit 1.22.0 → 1.23.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/README.md +31 -1
- package/build.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/types/.storybook/theme.d.ts +1 -1
- package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/model/index.d.ts +1 -0
- package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/state/index.d.ts +1 -0
- package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/transform/index.d.ts +1 -0
- package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/view/index.d.ts +1 -0
- package/dist/types/src/core/utils/index.d.ts +1 -0
- package/dist/types/src/core/utils/urlUtils/index.d.ts +1 -0
- package/dist/types/src/core/utils/urlUtils/urlUtils.d.ts +12 -0
- package/package.json +28 -23
- package/CHANGELOG.md +0 -1413
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("storybook/theming").ThemeVars;
|
|
1
|
+
declare const _default: import("storybook/internal/theming").ThemeVars;
|
|
2
2
|
export default _default;
|
package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/model/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'prosemirror-model';
|
package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/state/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'prosemirror-state';
|
package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/transform/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'prosemirror-transform';
|
package/dist/types/node_modules/.pnpm/@tiptap+pm@3.7.2/node_modules/@tiptap/pm/view/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'prosemirror-view';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './urlUtils';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare class UrlUtils {
|
|
2
|
+
private hasProtocol;
|
|
3
|
+
private isLikelyHost;
|
|
4
|
+
/**
|
|
5
|
+
* Normalizes external URLs by adding appropriate protocols.
|
|
6
|
+
* @param value - The URL string to normalize
|
|
7
|
+
* @returns Normalized URL string or undefined if input is invalid
|
|
8
|
+
*/
|
|
9
|
+
normalizeExternalHref: (value: string | null | undefined) => string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare const urlUtils: UrlUtils;
|
|
12
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon/gov-ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "Implementation of the Aragon's Governance UI Kit",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -12,21 +12,6 @@
|
|
|
12
12
|
"src/**/*.css",
|
|
13
13
|
"src/theme/fonts/*"
|
|
14
14
|
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"setup": "husky",
|
|
17
|
-
"storybook": "storybook dev -p 6006",
|
|
18
|
-
"build": "rollup -c",
|
|
19
|
-
"build:watch": "rollup -c --watch",
|
|
20
|
-
"build:analyze": "cross-env ANALYZE=true rollup -c",
|
|
21
|
-
"build:storybook": "storybook build",
|
|
22
|
-
"test": "jest --watch",
|
|
23
|
-
"test:coverage": "jest --coverage",
|
|
24
|
-
"lint": "eslint . --max-warnings=0",
|
|
25
|
-
"lint:fix": "eslint . --fix",
|
|
26
|
-
"prettify": "prettier . --check",
|
|
27
|
-
"prettify:fix": "prettier . --write",
|
|
28
|
-
"type-check": "tsc --noemit"
|
|
29
|
-
},
|
|
30
15
|
"repository": {
|
|
31
16
|
"type": "git",
|
|
32
17
|
"url": "git+https://github.com/aragon/gov-ui-kit.git"
|
|
@@ -63,6 +48,7 @@
|
|
|
63
48
|
"blockies-ts": "^1.0.0",
|
|
64
49
|
"classnames": "^2.5.0",
|
|
65
50
|
"framer-motion": "^12.23.0",
|
|
51
|
+
"imask": "7.6.1",
|
|
66
52
|
"luxon": "^3.7.0",
|
|
67
53
|
"react-dropzone": "^14.3.0",
|
|
68
54
|
"react-imask": "^7.6.0",
|
|
@@ -104,8 +90,9 @@
|
|
|
104
90
|
"@testing-library/user-event": "^14.6.1",
|
|
105
91
|
"@types/jest": "^30.0.0",
|
|
106
92
|
"@types/luxon": "^3.7.1",
|
|
107
|
-
"@types/
|
|
108
|
-
"@types/react
|
|
93
|
+
"@types/node": "^22.12.0",
|
|
94
|
+
"@types/react": "^18",
|
|
95
|
+
"@types/react-dom": "^18",
|
|
109
96
|
"@types/sanitize-html": "^2.16.0",
|
|
110
97
|
"cross-env": "^10.0.0",
|
|
111
98
|
"eslint": "^9.36.0",
|
|
@@ -125,8 +112,8 @@
|
|
|
125
112
|
"prettier": "^3.6.2",
|
|
126
113
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
127
114
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
128
|
-
"react": "^
|
|
129
|
-
"react-dom": "^
|
|
115
|
+
"react": "^18.2.0",
|
|
116
|
+
"react-dom": "^18.2.0",
|
|
130
117
|
"react-hook-form": "^7.63.0",
|
|
131
118
|
"rollup": "^4.52.1",
|
|
132
119
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
@@ -135,6 +122,7 @@
|
|
|
135
122
|
"storybook": "^9.1.7",
|
|
136
123
|
"tailwindcss": "^4.1.13",
|
|
137
124
|
"ts-jest": "^29.4.4",
|
|
125
|
+
"tslib": "2.8.1",
|
|
138
126
|
"typescript": "^5.9.2",
|
|
139
127
|
"typescript-eslint": "^8.44.1",
|
|
140
128
|
"vercel": "^48.1.1",
|
|
@@ -143,14 +131,16 @@
|
|
|
143
131
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
144
132
|
"vite-plugin-static-copy": "^3.1.2",
|
|
145
133
|
"vite-plugin-svgr": "^4.5.0",
|
|
146
|
-
"wagmi": "^2.17.2"
|
|
134
|
+
"wagmi": "^2.17.2",
|
|
135
|
+
"zod": "^3.23.8"
|
|
147
136
|
},
|
|
148
137
|
"bugs": {
|
|
149
138
|
"url": "https://github.com/aragon/gov-ui-kit/issues"
|
|
150
139
|
},
|
|
151
140
|
"homepage": "https://github.com/aragon/gov-ui-kit#readme",
|
|
152
141
|
"engines": {
|
|
153
|
-
"node": ">=22.0.0"
|
|
142
|
+
"node": ">=22.0.0",
|
|
143
|
+
"pnpm": ">=10.0.0"
|
|
154
144
|
},
|
|
155
145
|
"exports": {
|
|
156
146
|
".": {
|
|
@@ -160,5 +150,20 @@
|
|
|
160
150
|
"./index.css": "./index.css",
|
|
161
151
|
"./build.css": "./build.css"
|
|
162
152
|
},
|
|
163
|
-
"
|
|
153
|
+
"scripts": {
|
|
154
|
+
"setup": "husky",
|
|
155
|
+
"storybook": "storybook dev -p 6006",
|
|
156
|
+
"build": "rollup -c",
|
|
157
|
+
"build:watch": "rollup -c --watch",
|
|
158
|
+
"build:analyze": "cross-env ANALYZE=true rollup -c",
|
|
159
|
+
"build:storybook": "storybook build",
|
|
160
|
+
"test": "jest",
|
|
161
|
+
"test:watch": "jest --watch",
|
|
162
|
+
"test:coverage": "jest --coverage",
|
|
163
|
+
"lint": "eslint . --max-warnings=0",
|
|
164
|
+
"lint:fix": "eslint . --fix",
|
|
165
|
+
"prettify": "prettier . --check",
|
|
166
|
+
"prettify:fix": "prettier . --write",
|
|
167
|
+
"type-check": "tsc --noemit"
|
|
168
|
+
}
|
|
164
169
|
}
|