@melony/ui-kit 0.1.8 → 0.1.10
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-CcWhFzuN.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-CcWhFzuN.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-CcWhFzuN.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-CcWhFzuN.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-CcWhFzuN.js';
|
|
3
3
|
import 'melony';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -57,6 +57,7 @@ interface UIContract {
|
|
|
57
57
|
group?: boolean;
|
|
58
58
|
flex?: number;
|
|
59
59
|
overflow?: "hidden" | "visible" | "scroll" | "auto";
|
|
60
|
+
onClickAction?: Event;
|
|
60
61
|
};
|
|
61
62
|
spacer: {
|
|
62
63
|
size?: UISpacing;
|
|
@@ -88,7 +89,6 @@ interface UIContract {
|
|
|
88
89
|
height?: string | number;
|
|
89
90
|
radius?: UIRadius;
|
|
90
91
|
objectFit?: "cover" | "contain" | "fill";
|
|
91
|
-
groupId?: string;
|
|
92
92
|
};
|
|
93
93
|
video: {
|
|
94
94
|
src: string;
|
|
@@ -205,6 +205,8 @@ interface UIContract {
|
|
|
205
205
|
disabled?: boolean;
|
|
206
206
|
width?: UIWidth;
|
|
207
207
|
onClickAction?: Event;
|
|
208
|
+
justify?: UIJustify;
|
|
209
|
+
truncate?: boolean;
|
|
208
210
|
};
|
|
209
211
|
popover: {
|
|
210
212
|
side?: "top" | "right" | "bottom" | "left";
|