@veracity/vui 2.8.0-rc.2 → 2.8.0-rc.4
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/cjs/card/card.js +1 -1
- package/dist/cjs/card/theme.d.ts +1 -1
- package/dist/cjs/card/theme.js +1 -1
- package/dist/cjs/menu/menuList.js +1 -1
- package/dist/cjs/panel/panel.d.ts.map +1 -1
- package/dist/cjs/panel/panel.js +1 -1
- package/dist/cjs/panel/theme.d.ts +3 -1
- package/dist/cjs/panel/theme.d.ts.map +1 -1
- package/dist/cjs/panel/theme.js +3 -1
- package/dist/cjs/theme/components.d.ts +4 -2
- package/dist/cjs/theme/components.d.ts.map +1 -1
- package/dist/cjs/theme/defaultTheme.d.ts +4 -2
- package/dist/cjs/theme/defaultTheme.d.ts.map +1 -1
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/theme.d.ts +1 -1
- package/dist/esm/card/theme.js +1 -1
- package/dist/esm/menu/menuList.js +1 -1
- package/dist/esm/panel/panel.d.ts.map +1 -1
- package/dist/esm/panel/panel.js +1 -1
- package/dist/esm/panel/theme.d.ts +3 -1
- package/dist/esm/panel/theme.d.ts.map +1 -1
- package/dist/esm/panel/theme.js +3 -1
- package/dist/esm/theme/components.d.ts +4 -2
- package/dist/esm/theme/components.d.ts.map +1 -1
- package/dist/esm/theme/defaultTheme.d.ts +4 -2
- package/dist/esm/theme/defaultTheme.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/card/card.tsx +1 -1
- package/src/card/theme.ts +1 -1
- package/src/core/vui.ts +1 -1
- package/src/menu/menuList.tsx +1 -1
- package/src/panel/panel.tsx +1 -3
- package/src/panel/theme.ts +3 -1
package/dist/cjs/card/card.js
CHANGED
package/dist/cjs/card/theme.d.ts
CHANGED
package/dist/cjs/card/theme.js
CHANGED
|
@@ -25,7 +25,7 @@ const context_1 = require("./context");
|
|
|
25
25
|
exports.MenuList = (0, core_1.vui)((props, ref) => {
|
|
26
26
|
const { className, contentProps, contentRef } = props, rest = __rest(props, ["className", "contentProps", "contentRef"]);
|
|
27
27
|
const styles = (0, core_1.useStyleConfig)('Menu', (0, context_1.useMenuContext)());
|
|
28
|
-
return (react_1.default.createElement(popover_1.PopoverContent, Object.assign({ borderRadius:
|
|
28
|
+
return (react_1.default.createElement(popover_1.PopoverContent, Object.assign({ borderRadius: 0, ref: contentRef }, contentProps),
|
|
29
29
|
react_1.default.createElement(list_1.default, Object.assign({ className: (0, utils_1.cs)('vui-menuList', className), py: 1, ref: ref, w: "100%" }, styles.list, rest))));
|
|
30
30
|
});
|
|
31
31
|
exports.MenuList.Divider = list_1.default.Divider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/panel/panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C;;;GAGG;AACH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/panel/panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAKhB,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
package/dist/cjs/panel/panel.js
CHANGED
|
@@ -26,6 +26,6 @@ const utils_1 = require("../utils");
|
|
|
26
26
|
exports.Panel = (0, core_1.vui)((props, ref) => {
|
|
27
27
|
const _a = (0, core_1.omitThemingProps)(props), { className } = _a, rest = __rest(_a, ["className"]);
|
|
28
28
|
const styles = (0, core_1.useStyleConfig)('Panel', props);
|
|
29
|
-
return
|
|
29
|
+
return react_1.default.createElement(box_1.default, Object.assign({ bg: "white", className: (0, utils_1.cs)('vui-panel', className), p: 2, ref: ref }, styles, rest));
|
|
30
30
|
});
|
|
31
31
|
exports.default = exports.Panel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/panel/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/panel/theme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,wBAKC"}
|
package/dist/cjs/panel/theme.js
CHANGED
|
@@ -664,7 +664,7 @@ declare const _default: {
|
|
|
664
664
|
Card: {
|
|
665
665
|
baseStyle: {
|
|
666
666
|
bg: string;
|
|
667
|
-
borderRadius:
|
|
667
|
+
borderRadius: number;
|
|
668
668
|
ring: number;
|
|
669
669
|
ringColor: string;
|
|
670
670
|
shadow: string;
|
|
@@ -1496,7 +1496,9 @@ declare const _default: {
|
|
|
1496
1496
|
variants: {};
|
|
1497
1497
|
};
|
|
1498
1498
|
Panel: {
|
|
1499
|
-
baseStyle: {
|
|
1499
|
+
baseStyle: {
|
|
1500
|
+
borderRadius: number;
|
|
1501
|
+
};
|
|
1500
1502
|
defaultProps: {
|
|
1501
1503
|
variant: string;
|
|
1502
1504
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,wBA6CC"}
|
|
@@ -1168,7 +1168,7 @@ declare const defaultTheme: {
|
|
|
1168
1168
|
Card: {
|
|
1169
1169
|
baseStyle: {
|
|
1170
1170
|
bg: string;
|
|
1171
|
-
borderRadius:
|
|
1171
|
+
borderRadius: number;
|
|
1172
1172
|
ring: number;
|
|
1173
1173
|
ringColor: string;
|
|
1174
1174
|
shadow: string;
|
|
@@ -2000,7 +2000,9 @@ declare const defaultTheme: {
|
|
|
2000
2000
|
variants: {};
|
|
2001
2001
|
};
|
|
2002
2002
|
Panel: {
|
|
2003
|
-
baseStyle: {
|
|
2003
|
+
baseStyle: {
|
|
2004
|
+
borderRadius: number;
|
|
2005
|
+
};
|
|
2004
2006
|
defaultProps: {
|
|
2005
2007
|
variant: string;
|
|
2006
2008
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjB,CAAA;AAED,eAAe,YAAY,CAAA"}
|
package/dist/esm/card/card.js
CHANGED
package/dist/esm/card/theme.d.ts
CHANGED
package/dist/esm/card/theme.js
CHANGED
|
@@ -8,7 +8,7 @@ import { useMenuContext } from './context';
|
|
|
8
8
|
export const MenuList = vui((props, ref) => {
|
|
9
9
|
const { className, contentProps, contentRef, ...rest } = props;
|
|
10
10
|
const styles = useStyleConfig('Menu', useMenuContext());
|
|
11
|
-
return (React.createElement(PopoverContent, { borderRadius:
|
|
11
|
+
return (React.createElement(PopoverContent, { borderRadius: 0, ref: contentRef, ...contentProps },
|
|
12
12
|
React.createElement(List, { className: cs('vui-menuList', className), py: 1, ref: ref, w: "100%", ...styles.list, ...rest })));
|
|
13
13
|
});
|
|
14
14
|
MenuList.Divider = List.Divider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/panel/panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C;;;GAGG;AACH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/panel/panel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C;;;GAGG;AACH,eAAO,MAAM,KAAK,mDAKhB,CAAA;AAEF,eAAe,KAAK,CAAA"}
|
package/dist/esm/panel/panel.js
CHANGED
|
@@ -9,6 +9,6 @@ import { cs } from '../utils';
|
|
|
9
9
|
export const Panel = vui((props, ref) => {
|
|
10
10
|
const { className, ...rest } = omitThemingProps(props);
|
|
11
11
|
const styles = useStyleConfig('Panel', props);
|
|
12
|
-
return
|
|
12
|
+
return React.createElement(Box, { bg: "white", className: cs('vui-panel', className), p: 2, ref: ref, ...styles, ...rest });
|
|
13
13
|
});
|
|
14
14
|
export default Panel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/panel/theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/panel/theme.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,wBAKC"}
|
package/dist/esm/panel/theme.js
CHANGED
|
@@ -664,7 +664,7 @@ declare const _default: {
|
|
|
664
664
|
Card: {
|
|
665
665
|
baseStyle: {
|
|
666
666
|
bg: string;
|
|
667
|
-
borderRadius:
|
|
667
|
+
borderRadius: number;
|
|
668
668
|
ring: number;
|
|
669
669
|
ringColor: string;
|
|
670
670
|
shadow: string;
|
|
@@ -1496,7 +1496,9 @@ declare const _default: {
|
|
|
1496
1496
|
variants: {};
|
|
1497
1497
|
};
|
|
1498
1498
|
Panel: {
|
|
1499
|
-
baseStyle: {
|
|
1499
|
+
baseStyle: {
|
|
1500
|
+
borderRadius: number;
|
|
1501
|
+
};
|
|
1500
1502
|
defaultProps: {
|
|
1501
1503
|
variant: string;
|
|
1502
1504
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,wBA6CC"}
|
|
@@ -1168,7 +1168,7 @@ declare const defaultTheme: {
|
|
|
1168
1168
|
Card: {
|
|
1169
1169
|
baseStyle: {
|
|
1170
1170
|
bg: string;
|
|
1171
|
-
borderRadius:
|
|
1171
|
+
borderRadius: number;
|
|
1172
1172
|
ring: number;
|
|
1173
1173
|
ringColor: string;
|
|
1174
1174
|
shadow: string;
|
|
@@ -2000,7 +2000,9 @@ declare const defaultTheme: {
|
|
|
2000
2000
|
variants: {};
|
|
2001
2001
|
};
|
|
2002
2002
|
Panel: {
|
|
2003
|
-
baseStyle: {
|
|
2003
|
+
baseStyle: {
|
|
2004
|
+
borderRadius: number;
|
|
2005
|
+
};
|
|
2004
2006
|
defaultProps: {
|
|
2005
2007
|
variant: string;
|
|
2006
2008
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjB,CAAA;AAED,eAAe,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veracity/vui",
|
|
3
|
-
"version": "2.8.0-rc.
|
|
3
|
+
"version": "2.8.0-rc.4",
|
|
4
4
|
"description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
package/src/card/card.tsx
CHANGED
package/src/card/theme.ts
CHANGED
package/src/core/vui.ts
CHANGED
|
@@ -13,7 +13,7 @@ export function vui<C extends React.ElementType, Props = {}>(
|
|
|
13
13
|
const { memoCompare, isMemo = true } = config ?? {}
|
|
14
14
|
|
|
15
15
|
if (isMemo) {
|
|
16
|
-
return React.memo(React.forwardRef(component), memoCompare) as unknown as VuiComponent<C, Props>
|
|
16
|
+
return React.memo(React.forwardRef(component), memoCompare as unknown as any) as unknown as VuiComponent<C, Props>
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
return React.forwardRef(component) as unknown as VuiComponent<C, Props>
|
package/src/menu/menuList.tsx
CHANGED
|
@@ -13,7 +13,7 @@ export const MenuList = vui<'ul', MenuListProps>((props, ref) => {
|
|
|
13
13
|
const styles = useStyleConfig('Menu', useMenuContext())
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
|
-
<PopoverContent borderRadius=
|
|
16
|
+
<PopoverContent borderRadius={0} ref={contentRef} {...contentProps}>
|
|
17
17
|
<List className={cs('vui-menuList', className)} py={1} ref={ref} w="100%" {...styles.list} {...rest} />
|
|
18
18
|
</PopoverContent>
|
|
19
19
|
)
|
package/src/panel/panel.tsx
CHANGED
|
@@ -13,9 +13,7 @@ export const Panel = vui<'div', PanelProps>((props, ref) => {
|
|
|
13
13
|
const { className, ...rest } = omitThemingProps(props)
|
|
14
14
|
const styles = useStyleConfig('Panel', props)
|
|
15
15
|
|
|
16
|
-
return (
|
|
17
|
-
<Box bg="white" borderRadius="md" className={cs('vui-panel', className)} p={2} ref={ref} {...styles} {...rest} />
|
|
18
|
-
)
|
|
16
|
+
return <Box bg="white" className={cs('vui-panel', className)} p={2} ref={ref} {...styles} {...rest} />
|
|
19
17
|
})
|
|
20
18
|
|
|
21
19
|
export default Panel
|