@melony/ui-kit 0.1.3 → 0.1.5
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/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as UIContract, k as UINode } from './types-
|
|
2
|
-
export { a as UIAlign, e as UIColor, l as UIEvent, b as UIJustify, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-
|
|
1
|
+
import { j as UIContract, k as UINode } from './types-DyQAm50R.js';
|
|
2
|
+
export { a as UIAlign, e as UIColor, l as UIEvent, b as UIJustify, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-DyQAm50R.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
import 'melony';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ui } from './server.js';
|
|
2
|
-
export { a as UIAlign, e as UIColor, j as UIContract, l as UIEvent, b as UIJustify, k as UINode, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-
|
|
2
|
+
export { a as UIAlign, e as UIColor, j as UIContract, l as UIEvent, b as UIJustify, k as UINode, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-DyQAm50R.js';
|
|
3
3
|
export { MelonyComponents, MelonyRenderer, MelonyRendererProps, MelonyUIContextValue, MelonyUIProvider, MelonyUIProviderProps, useMelonyUI } from './client.js';
|
|
4
4
|
import 'melony';
|
|
5
5
|
import 'react/jsx-runtime';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as UIContract, k as UINode, l as UIEvent } from './types-
|
|
2
|
-
export { a as UIAlign, e as UIColor, b as UIJustify, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-
|
|
1
|
+
import { j as UIContract, k as UINode, l as UIEvent } from './types-DyQAm50R.js';
|
|
2
|
+
export { a as UIAlign, e as UIColor, b as UIJustify, d as UIOrientation, i as UIRadius, h as UIShadow, U as UISize, f as UISpacing, g as UIWidth, c as UIWrap } from './types-DyQAm50R.js';
|
|
3
3
|
import 'melony';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -83,6 +83,7 @@ interface UIContract {
|
|
|
83
83
|
weight?: "normal" | "medium" | "semibold" | "bold";
|
|
84
84
|
color?: UIColor;
|
|
85
85
|
align?: UIAlign;
|
|
86
|
+
className?: string;
|
|
86
87
|
};
|
|
87
88
|
heading: {
|
|
88
89
|
value: string;
|
|
@@ -145,6 +146,7 @@ interface UIContract {
|
|
|
145
146
|
padding?: UISpacing;
|
|
146
147
|
background?: UIColor;
|
|
147
148
|
radius?: UIRadius;
|
|
149
|
+
truncate?: boolean;
|
|
148
150
|
};
|
|
149
151
|
form: {
|
|
150
152
|
onSubmitAction?: Event | ((data: any) => Event);
|
|
@@ -264,9 +266,7 @@ interface UIContract {
|
|
|
264
266
|
placeholder?: string;
|
|
265
267
|
messages?: any[];
|
|
266
268
|
autoFocus?: boolean;
|
|
267
|
-
|
|
268
|
-
welcomeMessage?: string;
|
|
269
|
-
suggestions?: string[];
|
|
269
|
+
children?: React.ReactNode;
|
|
270
270
|
};
|
|
271
271
|
themeToggle: {
|
|
272
272
|
theme?: "light" | "dark" | "system";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@melony/ui-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": "^18.0.0 || ^19.0.0",
|
|
30
30
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
31
|
-
"melony": "0.2.
|
|
31
|
+
"melony": "0.2.8"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"react": "^19.0.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typescript": "^5.5.4",
|
|
40
40
|
"rimraf": "^5.0.10",
|
|
41
41
|
"@types/node": "^20.14.10",
|
|
42
|
-
"melony": "0.2.
|
|
42
|
+
"melony": "0.2.8"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|