@djangocfg/ui-core 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 +9 -4
- package/src/stories/index.ts +28 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/ui-core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.260",
|
|
4
4
|
"description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui-components",
|
|
@@ -33,6 +33,11 @@
|
|
|
33
33
|
"import": "./src/index.ts",
|
|
34
34
|
"require": "./src/index.ts"
|
|
35
35
|
},
|
|
36
|
+
"./stories": {
|
|
37
|
+
"types": "./src/stories/index.ts",
|
|
38
|
+
"import": "./src/stories/index.ts",
|
|
39
|
+
"require": "./src/stories/index.ts"
|
|
40
|
+
},
|
|
36
41
|
"./components": {
|
|
37
42
|
"types": "./src/components/index.ts",
|
|
38
43
|
"import": "./src/components/index.ts",
|
|
@@ -81,7 +86,7 @@
|
|
|
81
86
|
"playground": "playground dev"
|
|
82
87
|
},
|
|
83
88
|
"peerDependencies": {
|
|
84
|
-
"@djangocfg/i18n": "^2.1.
|
|
89
|
+
"@djangocfg/i18n": "^2.1.260",
|
|
85
90
|
"consola": "^3.4.2",
|
|
86
91
|
"lucide-react": "^0.545.0",
|
|
87
92
|
"moment": "^2.30.1",
|
|
@@ -143,9 +148,9 @@
|
|
|
143
148
|
"vaul": "1.1.2"
|
|
144
149
|
},
|
|
145
150
|
"devDependencies": {
|
|
146
|
-
"@djangocfg/i18n": "^2.1.
|
|
151
|
+
"@djangocfg/i18n": "^2.1.260",
|
|
147
152
|
"@djangocfg/playground": "workspace:*",
|
|
148
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
153
|
+
"@djangocfg/typescript-config": "^2.1.260",
|
|
149
154
|
"@types/node": "^24.7.2",
|
|
150
155
|
"@types/react": "^19.1.0",
|
|
151
156
|
"@types/react-dom": "^19.1.0",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI-Core story modules registry.
|
|
3
|
+
*
|
|
4
|
+
* Re-export stories through a package subpath instead of deep importing files from apps.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { StoryModule } from '@djangocfg/playground';
|
|
8
|
+
|
|
9
|
+
import * as Button from '../components/button.story';
|
|
10
|
+
import * as Input from '../components/input.story';
|
|
11
|
+
import * as Select from '../components/select.story';
|
|
12
|
+
import * as Slider from '../components/slider.story';
|
|
13
|
+
import * as Dialog from '../components/dialog.story';
|
|
14
|
+
import * as Tabs from '../components/tabs.story';
|
|
15
|
+
import * as Popover from '../components/popover.story';
|
|
16
|
+
import * as Tooltip from '../components/tooltip.story';
|
|
17
|
+
|
|
18
|
+
export const uiCoreStoryModules: Record<string, StoryModule> = {
|
|
19
|
+
'button.story.tsx': Button,
|
|
20
|
+
'input.story.tsx': Input,
|
|
21
|
+
'select.story.tsx': Select,
|
|
22
|
+
'slider.story.tsx': Slider,
|
|
23
|
+
'dialog.story.tsx': Dialog,
|
|
24
|
+
'tabs.story.tsx': Tabs,
|
|
25
|
+
'popover.story.tsx': Popover,
|
|
26
|
+
'tooltip.story.tsx': Tooltip,
|
|
27
|
+
};
|
|
28
|
+
|