@nulogy/components 13.3.0 → 13.4.0
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/main.js +23 -0
- package/dist/main.module.js +23 -1
- package/dist/src/Table/Table.types.d.ts +2 -1
- package/dist/src/VerticalDivider/VerticalDivider.d.ts +7 -0
- package/dist/src/VerticalDivider/VerticalDivider.story.d.ts +8 -0
- package/dist/src/VerticalDivider/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -49189,6 +49189,28 @@
|
|
|
49189
49189
|
}, props), children);
|
|
49190
49190
|
};
|
|
49191
49191
|
|
|
49192
|
+
var VerticalDivider = styled__default["default"].div.withConfig({
|
|
49193
|
+
displayName: "VerticalDivider",
|
|
49194
|
+
componentId: "sc-18klwrc-0"
|
|
49195
|
+
})(function (_ref) {
|
|
49196
|
+
var theme = _ref.theme,
|
|
49197
|
+
color = _ref.color,
|
|
49198
|
+
secondary = _ref.secondary;
|
|
49199
|
+
return {
|
|
49200
|
+
display: "inline",
|
|
49201
|
+
borderLeftColor: color || (secondary ? theme.colors.whiteGrey : theme.colors.lightGrey),
|
|
49202
|
+
borderLeftWidth: "1px",
|
|
49203
|
+
borderLeftStyle: "solid",
|
|
49204
|
+
borderTop: "none",
|
|
49205
|
+
borderBottom: "none",
|
|
49206
|
+
borderRight: "none",
|
|
49207
|
+
height: theme.sizes.x2,
|
|
49208
|
+
marginLeft: theme.space.x2,
|
|
49209
|
+
marginRight: theme.space.x2
|
|
49210
|
+
};
|
|
49211
|
+
}, addStyledProps);
|
|
49212
|
+
VerticalDivider.displayName = "VerticalDivider";
|
|
49213
|
+
|
|
49192
49214
|
exports.ALL_NDS_LOCALES = ALL_NDS_LOCALES;
|
|
49193
49215
|
exports.Alert = Alert$1;
|
|
49194
49216
|
exports.AnimatedBox = AnimatedBox;
|
|
@@ -49291,6 +49313,7 @@
|
|
|
49291
49313
|
exports.Tooltip = Tooltip;
|
|
49292
49314
|
exports.TopBar = TopBar;
|
|
49293
49315
|
exports.TruncatedText = TruncatedText;
|
|
49316
|
+
exports.VerticalDivider = VerticalDivider;
|
|
49294
49317
|
exports.addStyledProps = addStyledProps;
|
|
49295
49318
|
exports.desktop = legacy;
|
|
49296
49319
|
exports.phone = phone;
|
package/dist/main.module.js
CHANGED
|
@@ -49172,4 +49172,26 @@ var TruncatedText = function TruncatedText(_a) {
|
|
|
49172
49172
|
}, props), children);
|
|
49173
49173
|
};
|
|
49174
49174
|
|
|
49175
|
-
|
|
49175
|
+
var VerticalDivider = styled.div.withConfig({
|
|
49176
|
+
displayName: "VerticalDivider",
|
|
49177
|
+
componentId: "sc-18klwrc-0"
|
|
49178
|
+
})(function (_ref) {
|
|
49179
|
+
var theme = _ref.theme,
|
|
49180
|
+
color = _ref.color,
|
|
49181
|
+
secondary = _ref.secondary;
|
|
49182
|
+
return {
|
|
49183
|
+
display: "inline",
|
|
49184
|
+
borderLeftColor: color || (secondary ? theme.colors.whiteGrey : theme.colors.lightGrey),
|
|
49185
|
+
borderLeftWidth: "1px",
|
|
49186
|
+
borderLeftStyle: "solid",
|
|
49187
|
+
borderTop: "none",
|
|
49188
|
+
borderBottom: "none",
|
|
49189
|
+
borderRight: "none",
|
|
49190
|
+
height: theme.sizes.x2,
|
|
49191
|
+
marginLeft: theme.space.x2,
|
|
49192
|
+
marginRight: theme.space.x2
|
|
49193
|
+
};
|
|
49194
|
+
}, addStyledProps);
|
|
49195
|
+
VerticalDivider.displayName = "VerticalDivider";
|
|
49196
|
+
|
|
49197
|
+
export { ALL_NDS_LOCALES, Alert$1 as Alert, AnimatedBox, ApplicationFrame, AsyncSelect, Banner, BottomSheet, BottomSheetParts, Box, BrandLogoContainer, NavBar as BrandedNavBar, Branding, Breadcrumbs, Button, ButtonGroup, Card, CardSet, Checkbox, CheckboxGroup, ControlIcon, DangerButton, DatePicker, DateRange, DescriptionDetails, DescriptionList, DescriptionTerm, DesktopMenu, Divider$1 as Divider, DropdownButton, DropdownItem, DropdownLink, DropdownMenu, DropdownText, EnvironmentBanner, Field, FieldLabel, Fieldset, Flex, Form, FormSection, Header$1 as Header, Heading1, Heading2, Heading3, Heading4, HelpText$1 as HelpText, Icon, IconicButton, InlineIcon, InlineValidation, Input, Link, List, ListItem, LoadingAnimation, MenuTrigger, Modal, MonthPicker, NDSProvider, NavBarBackground, NotificationTypes, Overlay$1 as Overlay, Page, Pagination, PrimaryButton, QuietButton, Radio, RadioGroup, RangeContainer, RequirementText, NDSSelect as Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption$1 as SelectOption, Sidebar, SmallNavBar, SortingTable, StatusIndicator, StatusIndicatorValues, Summary, SummaryDivider, SummaryItem, Switch$1 as Switch, Switcher, Tab, Table, Tabs, Text, Textarea, TimePicker, TimeRange, Toast, ToastContainer, ToggleComponent as Toggle, Tooltip, TopBar, TruncatedText, VerticalDivider, addStyledProps, legacy as desktop, phone, tablet, themes, toast, useMediaQuery, useWindowDimensions };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StyledProps } from "../StyledProps";
|
|
3
|
+
export interface DividerProps extends StyledProps, React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
secondary?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const VerticalDivider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, DividerProps>> & string;
|
|
7
|
+
export default VerticalDivider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("./VerticalDivider").DividerProps>> & string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: () => React.JSX.Element;
|
|
8
|
+
export declare const WithCustomColourAndSpacing: () => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VerticalDivider } from "./VerticalDivider";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -61,3 +61,4 @@ export { Heading1, Heading2, Heading3, Heading4, Text } from "./Type";
|
|
|
61
61
|
export type { TextProps } from "./Type";
|
|
62
62
|
export { useWindowDimensions } from "./utils";
|
|
63
63
|
export { InlineValidation } from "./Validation";
|
|
64
|
+
export { VerticalDivider } from "./VerticalDivider";
|