@pan-stack/ui 0.0.0-stage → 0.2.31

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/package.json CHANGED
@@ -1,6 +1,117 @@
1
1
  {
2
2
  "name": "@pan-stack/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.31",
4
+ "description": "Pan Design System — React 19 + Tailwind v4 component library: three minified bundles (index, lib, hooks) with type declarations, including Ant Design molecules and a TipTap WYSIWYG editor.",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "**/*.css"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "./lib": {
17
+ "types": "./dist/lib.d.ts",
18
+ "import": "./dist/lib.js",
19
+ "default": "./dist/lib.js"
20
+ },
21
+ "./hooks": {
22
+ "types": "./dist/hooks.d.ts",
23
+ "import": "./dist/hooks.js",
24
+ "default": "./dist/hooks.js"
25
+ },
26
+ "./globals.css": "./dist/styles/globals.css",
27
+ "./postcss.config": "./postcss.config.mjs",
28
+ "./new-types": "./dist/new-types.d.ts",
29
+ "./styles/*": "./dist/styles/*",
30
+ "./i18n/*": "./dist/i18n/*",
31
+ "./shims/next-link": "./shims/next-link.js",
32
+ "./shims/next-navigation": "./shims/next-navigation.js"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "shims",
37
+ "postcss.config.mjs",
38
+ "README.md",
39
+ "LICENSE.txt"
40
+ ],
41
+ "types": "./dist/index.d.ts",
42
+ "peerDependencies": {
43
+ "next-themes": "^0.4.6",
44
+ "react": "^19.2.4",
45
+ "react-dom": "^19.2.4",
46
+ "react-hook-form": "^7.72.0"
47
+ },
48
+ "dependencies": {
49
+ "@airwallex/components-sdk": "^1.35.2",
50
+ "@ant-design/icons": "^6.3.2",
51
+ "@base-ui/react": "^1.3.0",
52
+ "@codemirror/lang-yaml": "^6.1.3",
53
+ "@codemirror/theme-one-dark": "^6.1.3",
54
+ "@dagrejs/dagre": "1.1.4",
55
+ "@emotion/react": "^11.14.0",
56
+ "@emotion/styled": "^11.14.1",
57
+ "@headless-tree/core": "^1.7.0",
58
+ "@headless-tree/react": "^1.7.0",
59
+ "@mui/icons-material": "^9.2.0",
60
+ "@mui/material": "^9.2.0",
61
+ "@mui/x-date-pickers": "^9.10.1",
62
+ "@mui/x-tree-view": "^9.10.1",
63
+ "@tanstack/react-query": "^5.96.1",
64
+ "@tanstack/react-table": "^8.21.3",
65
+ "@tiptap/core": "3.30.0",
66
+ "@tiptap/extension-image": "3.30.0",
67
+ "@tiptap/extension-mention": "3.30.0",
68
+ "@tiptap/extension-youtube": "3.30.0",
69
+ "@tiptap/extensions": "3.30.0",
70
+ "@tiptap/pm": "3.30.0",
71
+ "@tiptap/react": "3.30.0",
72
+ "@tiptap/starter-kit": "3.30.0",
73
+ "@tiptap/suggestion": "3.30.0",
74
+ "@uiw/react-codemirror": "^4.25.11",
75
+ "@xyflow/react": "12.3.6",
76
+ "antd": "^6.5.1",
77
+ "class-variance-authority": "^0.7.1",
78
+ "clsx": "^2.1.1",
79
+ "cmdk": "^1.1.1",
80
+ "date-fns": "^4.1.0",
81
+ "embla-carousel-react": "^8.6.0",
82
+ "fflate": "^0.8.3",
83
+ "file-saver": "^2.0.5",
84
+ "firebase": "^12.19.0",
85
+ "framer-motion": "^12.23.12",
86
+ "html-to-image": "1.11.11",
87
+ "i18next": "^26.0.3",
88
+ "i18next-http-backend": "^3.0.4",
89
+ "input-otp": "^1.4.2",
90
+ "js-cookie": "^3.0.5",
91
+ "lucide-react": "^0.577.0",
92
+ "lz-string": "^1.5.0",
93
+ "motion": "^12.23.26",
94
+ "radix-ui": "^1.4.3",
95
+ "react-day-picker": "^9.14.0",
96
+ "react-i18next": "^17.0.2",
97
+ "react-markdown": "^10.1.0",
98
+ "react-resizable-panels": "^4.7.4",
99
+ "read-vietnamese-number": "^2.3.1",
100
+ "recharts": "2.15.4",
101
+ "remark-gfm": "^4.0.1",
102
+ "shadcn": "^4.1.0",
103
+ "slugify": "^1.6.9",
104
+ "sonner": "^2.0.7",
105
+ "tailwind-merge": "^3.5.0",
106
+ "tiptap-extension-resize-image": "1.4.6",
107
+ "tw-animate-css": "^1.4.0",
108
+ "vaul": "^1.1.2",
109
+ "xlsx": "^0.18.5",
110
+ "yaml": "^2.6.1",
111
+ "zod": "^4.3.6"
112
+ },
113
+ "publishConfig": {
114
+ "access": "public",
115
+ "registry": "https://registry.npmjs.org/"
116
+ }
117
+ }
@@ -0,0 +1,6 @@
1
+ /** @type {import('postcss-load-config').Config} */
2
+ const config = {
3
+ plugins: { '@tailwindcss/postcss': {} },
4
+ }
5
+
6
+ export default config
@@ -0,0 +1 @@
1
+ import{jsx as n}from"react/jsx-runtime";function o({href:e,children:r,passHref:s,...t}){return n("a",{href:e,...t,children:r})}export{o as default};
@@ -0,0 +1 @@
1
+ function o(){return typeof window<"u"?window.location.pathname:"/"}function i(){if(typeof window>"u")return new URLSearchParams;const n=window.location.search.startsWith("?")?window.location.search.slice(1):window.location.search;return new URLSearchParams(n)}function t(){return{push:n=>{typeof window<"u"&&window.location.assign(n)},replace:(n,e)=>{typeof window<"u"&&window.location.replace(n)},back:()=>{typeof window<"u"&&window.history.back()}}}export{o as usePathname,t as useRouter,i as useSearchParams};