@djangocfg/ui-tools 2.1.259 → 2.1.260
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 +11 -6
- package/src/stories/index.ts +31 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/ui-tools",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.260",
|
|
4
4
|
"description": "Heavy React tools with lazy loading - for Electron, Vite, CRA, Next.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui-tools",
|
|
@@ -39,6 +39,11 @@
|
|
|
39
39
|
"import": "./dist/index.mjs",
|
|
40
40
|
"require": "./dist/index.cjs"
|
|
41
41
|
},
|
|
42
|
+
"./stories": {
|
|
43
|
+
"types": "./src/stories/index.ts",
|
|
44
|
+
"import": "./src/stories/index.ts",
|
|
45
|
+
"require": "./src/stories/index.ts"
|
|
46
|
+
},
|
|
42
47
|
"./gallery": {
|
|
43
48
|
"types": "./src/tools/Gallery/index.ts",
|
|
44
49
|
"import": "./src/tools/Gallery/index.ts",
|
|
@@ -85,8 +90,8 @@
|
|
|
85
90
|
"check": "tsc --noEmit"
|
|
86
91
|
},
|
|
87
92
|
"peerDependencies": {
|
|
88
|
-
"@djangocfg/i18n": "^2.1.
|
|
89
|
-
"@djangocfg/ui-core": "^2.1.
|
|
93
|
+
"@djangocfg/i18n": "^2.1.260",
|
|
94
|
+
"@djangocfg/ui-core": "^2.1.260",
|
|
90
95
|
"consola": "^3.4.2",
|
|
91
96
|
"lucide-react": "^0.545.0",
|
|
92
97
|
"react": "^19.1.0",
|
|
@@ -128,10 +133,10 @@
|
|
|
128
133
|
"@maplibre/maplibre-gl-geocoder": "^1.7.0"
|
|
129
134
|
},
|
|
130
135
|
"devDependencies": {
|
|
131
|
-
"@djangocfg/i18n": "^2.1.
|
|
136
|
+
"@djangocfg/i18n": "^2.1.260",
|
|
132
137
|
"@djangocfg/playground": "workspace:*",
|
|
133
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
134
|
-
"@djangocfg/ui-core": "^2.1.
|
|
138
|
+
"@djangocfg/typescript-config": "^2.1.260",
|
|
139
|
+
"@djangocfg/ui-core": "^2.1.260",
|
|
135
140
|
"@types/mapbox__mapbox-gl-draw": "^1.4.8",
|
|
136
141
|
"@types/node": "^24.7.2",
|
|
137
142
|
"@types/react": "^19.1.0",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI-Tools story modules registry.
|
|
3
|
+
*
|
|
4
|
+
* Exporting stories via an explicit package subpath keeps Next.js consumers stable:
|
|
5
|
+
* no file-system scanning, no deep-imports that violate package `exports`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { StoryModule } from '@djangocfg/playground';
|
|
9
|
+
|
|
10
|
+
import * as JsonForm from '../tools/JsonForm/JsonForm.story';
|
|
11
|
+
import * as JsonTree from '../tools/JsonTree/JsonTree.story';
|
|
12
|
+
import * as OpenapiViewer from '../tools/OpenapiViewer/OpenapiViewer.story';
|
|
13
|
+
import * as Mermaid from '../tools/Mermaid/Mermaid.story';
|
|
14
|
+
import * as Map from '../tools/Map/Map.story';
|
|
15
|
+
import * as Tour from '../tools/Tour/Tour.story';
|
|
16
|
+
import * as CodeEditor from '../tools/CodeEditor/CodeEditor.story';
|
|
17
|
+
import * as PrettyCode from '../tools/PrettyCode/PrettyCode.story';
|
|
18
|
+
import * as MarkdownEditor from '../tools/MarkdownEditor/MarkdownEditor.story';
|
|
19
|
+
|
|
20
|
+
export const uiToolsStoryModules: Record<string, StoryModule> = {
|
|
21
|
+
'JsonForm.story.tsx': JsonForm,
|
|
22
|
+
'JsonTree.story.tsx': JsonTree,
|
|
23
|
+
'OpenapiViewer.story.tsx': OpenapiViewer,
|
|
24
|
+
'Mermaid.story.tsx': Mermaid,
|
|
25
|
+
'Map.story.tsx': Map,
|
|
26
|
+
'Tour.story.tsx': Tour,
|
|
27
|
+
'CodeEditor.story.tsx': CodeEditor,
|
|
28
|
+
'PrettyCode.story.tsx': PrettyCode,
|
|
29
|
+
'MarkdownEditor.story.tsx': MarkdownEditor,
|
|
30
|
+
};
|
|
31
|
+
|