@veracity/vui 0.0.6 → 0.0.7
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/list/list.js +1 -1
- package/list/list.types.d.ts +2 -2
- package/package.json +1 -1
package/list/list.js
CHANGED
|
@@ -57,7 +57,7 @@ var listIcon_1 = __importDefault(require("./listIcon"));
|
|
|
57
57
|
var listItem_1 = __importDefault(require("./listItem"));
|
|
58
58
|
var core_1 = require("../core");
|
|
59
59
|
var utils_1 = require("../utils");
|
|
60
|
-
var generator = styled_components_1.compose(styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space, styled_components_1.typography);
|
|
60
|
+
var generator = styled_components_1.compose(styled_components_1.borders, styled_components_1.flexboxes, styled_components_1.sizing, styled_components_1.space, styled_components_1.typography);
|
|
61
61
|
exports.ListBase = styled_components_2.default.ul.withConfig(core_1.forwardPropConfig(generator))(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t", "\n"], ["\n\t", "\n"])), generator);
|
|
62
62
|
exports.List = core_1.forwardRef(function (props, ref) {
|
|
63
63
|
var children = props.children, className = props.className, colorScheme = props.colorScheme, isInteractive = props.isInteractive, size = props.size, subheader = props.subheader, variant = props.variant, rest = __rest(props, ["children", "className", "colorScheme", "isInteractive", "size", "subheader", "variant"]);
|
package/list/list.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlexboxesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
|
|
1
|
+
import { BordersProps, FlexboxesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps } from '../system';
|
|
2
2
|
import { ThemingProps } from '../theme';
|
|
3
3
|
export interface ListProps extends ListStyleProps, ThemingProps<'List'> {
|
|
4
4
|
colorScheme?: 'blue' | 'grey';
|
|
@@ -6,5 +6,5 @@ export interface ListProps extends ListStyleProps, ThemingProps<'List'> {
|
|
|
6
6
|
isInteractive?: boolean;
|
|
7
7
|
subheader?: string;
|
|
8
8
|
}
|
|
9
|
-
export interface ListStyleProps extends FlexboxesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
|
|
9
|
+
export interface ListStyleProps extends BordersProps, FlexboxesProps, SizingProps, SpaceProps, TransitionsProps, TypographyProps {
|
|
10
10
|
}
|