@seedgrid/fe-components 2026.3.13 → 2026.3.17
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 +8 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/inputs/SgInputCurrency.d.ts.map +1 -1
- package/dist/inputs/SgInputCurrency.js +1 -1
- package/dist/inputs/SgInputNumber.d.ts.map +1 -1
- package/dist/inputs/SgInputNumber.js +1 -1
- package/dist/inputs/SgInputPassword.d.ts.map +1 -1
- package/dist/inputs/SgInputPassword.js +14 -8
- package/dist/inputs/SgInputText.d.ts.map +1 -1
- package/dist/inputs/SgInputText.js +2 -1
- package/dist/inputs/SgInputTextArea.d.ts.map +1 -1
- package/dist/inputs/SgInputTextArea.js +1 -1
- package/dist/sandbox.cjs +38 -384
- package/package.json +75 -76
- package/dist/others/SgPlayground.d.ts +0 -38
- package/dist/others/SgPlayground.d.ts.map +0 -1
- package/dist/others/SgPlayground.js +0 -1461
package/package.json
CHANGED
|
@@ -1,79 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
"name": "@seedgrid/fe-components",
|
|
3
|
+
"version": "2026.3.17",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/SeedGrid/seedgrid-fe-components.git",
|
|
9
|
+
"directory": "packages/seedgrid-fe-components"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/SeedGrid/seedgrid-fe-components/tree/main/packages/seedgrid-fe-components",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/SeedGrid/seedgrid-fe-components/issues"
|
|
14
|
+
},
|
|
15
|
+
"main": "dist/index.js",
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
29
|
+
"build": "pnpm run clean && tsc -p tsconfig.json && pnpm run build:sandbox",
|
|
30
|
+
"build:sandbox": "tsup --config tsup.sandbox.config.ts",
|
|
31
|
+
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@tiptap/core": "^2.9.1",
|
|
36
|
+
"@tiptap/extension-color": "^2.9.1",
|
|
37
|
+
"@tiptap/extension-font-family": "^2.9.1",
|
|
38
|
+
"@tiptap/extension-highlight": "^2.9.1",
|
|
39
|
+
"@tiptap/extension-image": "^2.9.1",
|
|
40
|
+
"@tiptap/extension-link": "^2.9.1",
|
|
41
|
+
"@tiptap/pm": "^2.9.1",
|
|
42
|
+
"@tiptap/extension-subscript": "^2.9.1",
|
|
43
|
+
"@tiptap/extension-superscript": "^2.9.1",
|
|
44
|
+
"@tiptap/extension-text-align": "^2.9.1",
|
|
45
|
+
"@tiptap/extension-text-style": "^2.9.1",
|
|
46
|
+
"@tiptap/extension-underline": "^2.9.1",
|
|
47
|
+
"@tiptap/react": "^2.9.1",
|
|
48
|
+
"@tiptap/starter-kit": "^2.9.1",
|
|
49
|
+
"lucide-react": "^0.468.0",
|
|
50
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
51
|
+
"react-hook-form": "^7.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"tsup": "^8.4.0",
|
|
55
|
+
"@tiptap/core": "^2.9.1",
|
|
56
|
+
"@tiptap/extension-color": "^2.9.1",
|
|
57
|
+
"@tiptap/extension-font-family": "^2.9.1",
|
|
58
|
+
"@tiptap/extension-highlight": "^2.9.1",
|
|
59
|
+
"@tiptap/extension-image": "^2.9.1",
|
|
60
|
+
"@tiptap/extension-link": "^2.9.1",
|
|
61
|
+
"@tiptap/pm": "^2.9.1",
|
|
62
|
+
"@tiptap/extension-subscript": "^2.9.1",
|
|
63
|
+
"@tiptap/extension-superscript": "^2.9.1",
|
|
64
|
+
"@tiptap/extension-text-align": "^2.9.1",
|
|
65
|
+
"@tiptap/extension-text-style": "^2.9.1",
|
|
66
|
+
"@tiptap/extension-underline": "^2.9.1",
|
|
67
|
+
"@tiptap/react": "^2.9.1",
|
|
68
|
+
"@tiptap/starter-kit": "^2.9.1",
|
|
69
|
+
"lucide-react": "^0.468.0",
|
|
70
|
+
"react": "19.0.0",
|
|
71
|
+
"react-dom": "19.0.0",
|
|
72
|
+
"react-hook-form": "^7.0.0"
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@pqina/flip": "^1.8.4",
|
|
76
|
+
"qrcode.react": "^4.2.0"
|
|
21
77
|
}
|
|
22
|
-
},
|
|
23
|
-
"sideEffects": false,
|
|
24
|
-
"files": [
|
|
25
|
-
"dist"
|
|
26
|
-
],
|
|
27
|
-
"scripts": {
|
|
28
|
-
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
29
|
-
"build": "pnpm run clean && tsc -p tsconfig.json && pnpm run build:sandbox",
|
|
30
|
-
"build:sandbox": "tsup --config tsup.sandbox.config.ts",
|
|
31
|
-
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
|
|
32
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
33
|
-
},
|
|
34
|
-
"peerDependencies": {
|
|
35
|
-
"@tiptap/core": "^2.9.1",
|
|
36
|
-
"@tiptap/extension-color": "^2.9.1",
|
|
37
|
-
"@tiptap/extension-font-family": "^2.9.1",
|
|
38
|
-
"@tiptap/extension-highlight": "^2.9.1",
|
|
39
|
-
"@tiptap/extension-image": "^2.9.1",
|
|
40
|
-
"@tiptap/extension-link": "^2.9.1",
|
|
41
|
-
"@tiptap/pm": "^2.9.1",
|
|
42
|
-
"@tiptap/extension-subscript": "^2.9.1",
|
|
43
|
-
"@tiptap/extension-superscript": "^2.9.1",
|
|
44
|
-
"@tiptap/extension-text-align": "^2.9.1",
|
|
45
|
-
"@tiptap/extension-text-style": "^2.9.1",
|
|
46
|
-
"@tiptap/extension-underline": "^2.9.1",
|
|
47
|
-
"@tiptap/react": "^2.9.1",
|
|
48
|
-
"@tiptap/starter-kit": "^2.9.1",
|
|
49
|
-
"lucide-react": "^0.468.0",
|
|
50
|
-
"react": "^18.2.0 || ^19.0.0",
|
|
51
|
-
"react-hook-form": "^7.0.0"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"tsup": "^8.4.0",
|
|
55
|
-
"@tiptap/core": "^2.9.1",
|
|
56
|
-
"@tiptap/extension-color": "^2.9.1",
|
|
57
|
-
"@tiptap/extension-font-family": "^2.9.1",
|
|
58
|
-
"@tiptap/extension-highlight": "^2.9.1",
|
|
59
|
-
"@tiptap/extension-image": "^2.9.1",
|
|
60
|
-
"@tiptap/extension-link": "^2.9.1",
|
|
61
|
-
"@tiptap/pm": "^2.9.1",
|
|
62
|
-
"@tiptap/extension-subscript": "^2.9.1",
|
|
63
|
-
"@tiptap/extension-superscript": "^2.9.1",
|
|
64
|
-
"@tiptap/extension-text-align": "^2.9.1",
|
|
65
|
-
"@tiptap/extension-text-style": "^2.9.1",
|
|
66
|
-
"@tiptap/extension-underline": "^2.9.1",
|
|
67
|
-
"@tiptap/react": "^2.9.1",
|
|
68
|
-
"@tiptap/starter-kit": "^2.9.1",
|
|
69
|
-
"lucide-react": "^0.468.0",
|
|
70
|
-
"react": "19.0.0",
|
|
71
|
-
"react-dom": "19.0.0",
|
|
72
|
-
"react-hook-form": "^7.0.0"
|
|
73
|
-
},
|
|
74
|
-
"dependencies": {
|
|
75
|
-
"@codesandbox/sandpack-react": "^2.20.0",
|
|
76
|
-
"@pqina/flip": "^1.8.4",
|
|
77
|
-
"qrcode.react": "^4.2.0"
|
|
78
|
-
}
|
|
79
78
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type SgPlaygroundProps = {
|
|
3
|
-
code: string;
|
|
4
|
-
interactive?: boolean;
|
|
5
|
-
codeContract?: "renderBody" | "appFile";
|
|
6
|
-
preset?: SgPlaygroundPreset;
|
|
7
|
-
title?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
height?: number | string;
|
|
10
|
-
expandedHeight?: number | string;
|
|
11
|
-
expandable?: boolean;
|
|
12
|
-
resizable?: boolean;
|
|
13
|
-
resizeAxis?: "vertical" | "horizontal" | "both";
|
|
14
|
-
previewPadding?: number | string;
|
|
15
|
-
className?: string;
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
dependencies?: Record<string, string>;
|
|
18
|
-
defaultImports?: string;
|
|
19
|
-
previewWrapperClassName?: string;
|
|
20
|
-
seedgridDependency?: string;
|
|
21
|
-
bundlerURL?: string;
|
|
22
|
-
bundlerTimeoutMs?: number;
|
|
23
|
-
npmRegistries?: SgPlaygroundNpmRegistry[];
|
|
24
|
-
withCard?: boolean;
|
|
25
|
-
collapsible?: boolean;
|
|
26
|
-
defaultOpen?: boolean;
|
|
27
|
-
cardId?: string;
|
|
28
|
-
};
|
|
29
|
-
export type SgPlaygroundPreset = "auto" | "basic" | "seedgrid" | "editor" | "full";
|
|
30
|
-
export type SgPlaygroundNpmRegistry = {
|
|
31
|
-
enabledScopes: string[];
|
|
32
|
-
limitToScopes: boolean;
|
|
33
|
-
registryUrl: string;
|
|
34
|
-
proxyEnabled: boolean;
|
|
35
|
-
registryAuthToken?: string;
|
|
36
|
-
};
|
|
37
|
-
export default function SgPlayground(props: Readonly<SgPlaygroundProps>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
//# sourceMappingURL=SgPlayground.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SgPlayground.d.ts","sourceRoot":"","sources":["../../src/others/SgPlayground.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AACnF,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AA6nCF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC,2CAkmBtE"}
|