@nulogy/components 6.7.5 → 7.0.1
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 +227 -356
- package/dist/main.module.js +223 -353
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +23 -0
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +3 -6
- package/dist/src/DropdownMenu/DropdownText.d.ts +4 -0
- package/dist/src/DropdownMenu/index.d.ts +1 -0
- package/dist/src/Table/Table.story.d.ts +1 -6
- package/dist/src/Type/Text.d.ts +4 -1
- package/dist/src/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -45,3 +45,26 @@ export declare const WithReactRouter: {
|
|
|
45
45
|
name: string;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
+
export declare const WithHamburgerMenu: {
|
|
49
|
+
(): JSX.Element;
|
|
50
|
+
parameters: {
|
|
51
|
+
viewport: {
|
|
52
|
+
defaultViewport: string;
|
|
53
|
+
};
|
|
54
|
+
chromatic: {
|
|
55
|
+
viewports: number[];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const CustomRendering: () => JSX.Element;
|
|
60
|
+
export declare const CustomRenderingInHamburger: {
|
|
61
|
+
(): JSX.Element;
|
|
62
|
+
parameters: {
|
|
63
|
+
viewport: {
|
|
64
|
+
defaultViewport: string;
|
|
65
|
+
};
|
|
66
|
+
chromatic: {
|
|
67
|
+
viewports: number[];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -27,18 +27,15 @@ export declare const WithButtonClosingMenu: {
|
|
|
27
27
|
name: string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
export declare const
|
|
31
|
-
|
|
32
|
-
story: {
|
|
33
|
-
name: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
30
|
+
export declare const WithCustomLink: () => JSX.Element;
|
|
31
|
+
export declare const WithCustomText: () => JSX.Element;
|
|
36
32
|
export declare const SetToDefaultOpen: {
|
|
37
33
|
(): JSX.Element;
|
|
38
34
|
story: {
|
|
39
35
|
name: string;
|
|
40
36
|
};
|
|
41
37
|
};
|
|
38
|
+
export declare const WithVisitedLinks: () => JSX.Element;
|
|
42
39
|
export declare const SetToDisabled: {
|
|
43
40
|
(): JSX.Element;
|
|
44
41
|
story: {
|
|
@@ -2,3 +2,4 @@ export { default as DropdownMenu } from "./DropdownMenu";
|
|
|
2
2
|
export { default as DropdownButton } from "./DropdownButton";
|
|
3
3
|
export { default as DropdownLink } from "./DropdownLink";
|
|
4
4
|
export { default as DropdownItem } from "./DropdownItem";
|
|
5
|
+
export { default as DropdownText } from "./DropdownText";
|
package/dist/src/Type/Text.d.ts
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
import { SpaceProps, TypographyProps, ColorProps, OverflowProps, LayoutProps } from "styled-system";
|
|
3
3
|
import { TextOverflowProps } from "../StyledProps/textOverflow";
|
|
4
4
|
import { CursorProps } from "../StyledProps/cursor";
|
|
5
|
+
import type { DefaultNDSThemeType } from "../theme.type";
|
|
5
6
|
export declare type TextProps = React.HTMLAttributes<HTMLParagraphElement> & {
|
|
6
7
|
inline?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
|
|
9
10
|
fontSize?: string;
|
|
10
|
-
} & SpaceProps & OverflowProps & LayoutProps & TextOverflowProps & TypographyProps & CursorProps & ColorProps
|
|
11
|
+
} & SpaceProps & OverflowProps & LayoutProps & TextOverflowProps & TypographyProps & CursorProps & ColorProps & {
|
|
12
|
+
theme?: DefaultNDSThemeType;
|
|
13
|
+
};
|
|
11
14
|
declare const Text: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, TextProps, never>;
|
|
12
15
|
export default Text;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { Link } from "./Link";
|
|
|
11
11
|
export { InlineValidation } from "./Validation";
|
|
12
12
|
export { Alert } from "./Alert";
|
|
13
13
|
export { Branding } from "./Branding";
|
|
14
|
-
export { DropdownMenu, DropdownLink, DropdownButton, DropdownItem, } from "./DropdownMenu";
|
|
14
|
+
export { DropdownMenu, DropdownLink, DropdownButton, DropdownItem, DropdownText, } from "./DropdownMenu";
|
|
15
15
|
export { HelpText, RequirementText, FieldLabel } from "./FieldLabel";
|
|
16
16
|
export { Input } from "./Input";
|
|
17
17
|
export { NavBar } from "./NavBar";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@babel/runtime": "^7.9.6",
|
|
141
|
-
"@nulogy/tokens": "^5.
|
|
141
|
+
"@nulogy/tokens": "^5.3.0",
|
|
142
142
|
"@styled-system/prop-types": "^5.1.4",
|
|
143
143
|
"@styled-system/theme-get": "^5.1.2",
|
|
144
144
|
"body-scroll-lock": "^3.1.5",
|