@nulogy/components 8.2.2 → 8.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 +301 -104
- package/dist/main.module.js +297 -101
- package/dist/src/BrandedNavBar/NavBarBackground.d.ts +1 -1
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +2 -11
- package/dist/src/Flex/Flex.d.ts +7 -3
- package/dist/src/Layout/Header.d.ts +17 -0
- package/dist/src/Layout/Header.story.d.ts +16 -0
- package/dist/src/Layout/Page.d.ts +2 -1
- package/dist/src/Layout/Page.story.d.ts +1 -0
- package/dist/src/Layout/index.d.ts +1 -0
- package/dist/src/NavBar/NavBar.d.ts +1 -1
- package/dist/src/Select/Select.d.ts +1 -1
- package/dist/src/Select/Select.story.d.ts +1 -0
- package/dist/src/Select/selectHelpers.d.ts +1 -0
- package/dist/src/Select/selectHelpers.spec.d.ts +1 -0
- package/dist/src/StatusIndicator/StatusIndicator.d.ts +7 -2
- package/dist/src/Summary/Summary.d.ts +6 -0
- package/dist/src/Summary/Summary.story.d.ts +16 -0
- package/dist/src/Summary/SummaryContext.d.ts +7 -0
- package/dist/src/Summary/SummaryDivider.d.ts +3 -0
- package/dist/src/Summary/SummaryItem.d.ts +7 -0
- package/dist/src/Summary/index.d.ts +1 -0
- package/dist/src/hooks/useMediaQuery.d.ts +2 -0
- package/dist/src/index.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SpaceProps, TypographyProps, FlexboxProps } from "styled-system";
|
|
3
|
+
declare type StatusIndicatorType = "neutral" | "dark" | "danger" | "informative" | "success" | "warning" | "quiet";
|
|
4
|
+
declare type StatusIndicatorProps = SpaceProps & TypographyProps & FlexboxProps & {
|
|
5
|
+
type?: StatusIndicatorType;
|
|
6
|
+
};
|
|
7
|
+
declare const StatusIndicator: React.FC<StatusIndicatorProps>;
|
|
3
8
|
export default StatusIndicator;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function Default(): JSX.Element;
|
|
3
|
+
export declare function WithMainInfoOnly(): JSX.Element;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
parameters: {
|
|
7
|
+
backgrounds: {
|
|
8
|
+
default: string;
|
|
9
|
+
values: {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Summary } from "./Summary";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { Toast } from "./Toast";
|
|
|
46
46
|
export { BrandedNavBar, MenuTrigger, EnvironmentBanner, NavBarBackground, BrandLogoContainer, DesktopMenu, SmallNavBar, } from "./BrandedNavBar";
|
|
47
47
|
export type { MenuTriggerProps, EnvironmentBannerProps, NavBarBackgroundProps, BrandLogoContainerProps, DesktopMenuProps, SmallNavBarProps, RenderMenuButtonProps, } from "./BrandedNavBar";
|
|
48
48
|
export { AsyncSelect } from "./AsyncSelect";
|
|
49
|
-
export { ApplicationFrame, Page, Sidebar } from "./Layout";
|
|
49
|
+
export { ApplicationFrame, Page, Sidebar, Header } from "./Layout";
|
|
50
50
|
export { useWindowDimensions } from "./utils";
|
|
51
51
|
export { Divider } from "./Divider";
|
|
52
52
|
export { SortingTable } from "./SortingTable";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
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.4.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",
|
|
@@ -179,6 +179,7 @@
|
|
|
179
179
|
],
|
|
180
180
|
"testMatch": [
|
|
181
181
|
"**/src/**/*.spec.tsx",
|
|
182
|
+
"**/src/**/*.spec.ts",
|
|
182
183
|
"**/spec/**/*.spec.tsx"
|
|
183
184
|
],
|
|
184
185
|
"setupFiles": [
|