@nulogy/components 14.6.2 → 14.7.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 +8010 -20121
- package/dist/main.module.js +8073 -20184
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +1 -0
- package/dist/src/Select/Select.story.d.ts +1 -0
- package/dist/src/locale.story.d.ts +9 -0
- package/dist/src/locales.const.d.ts +42 -5
- package/dist/src/utils/story/resizable.d.ts +2 -2
- package/package.json +2 -2
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +0 -11
- package/dist/src/NavBarSearch/index.d.ts +0 -1
- package/dist/src/Table/Table.mock-utils.d.ts +0 -32
- package/dist/src/testing/matchers/toMatchDate.d.ts +0 -0
- package/dist/src/testing/mockUtils/mockDates.d.ts +0 -2
- package/dist/src/utils/DetectOutsideClick.d.ts +0 -8
- package/dist/src/utils/ScrollIndicators.d.ts +0 -16
- package/dist/src/utils/convertPxToNumber.d.ts +0 -2
- package/dist/src/utils/datePickerLocales.d.ts +0 -1
- package/dist/src/utils/generateId.d.ts +0 -2
- package/dist/src/utils/omit.d.ts +0 -2
- package/dist/src/utils/subset.d.ts +0 -3
- package/dist/src/utils/useWindowDimension.story.d.ts +0 -6
- package/dist/src/utils/useWindowDimensions.d.ts +0 -39
- package/dist/src/utils/withWindowDimensions.d.ts +0 -3
|
@@ -107,3 +107,4 @@ export declare const UsingRefToControlFocus: () => React.JSX.Element;
|
|
|
107
107
|
export declare const WithTopMenuPlacement: () => React.JSX.Element;
|
|
108
108
|
export declare const WithCustomStyles: () => React.JSX.Element;
|
|
109
109
|
export declare const WithCustomOptionFields: () => React.JSX.Element;
|
|
110
|
+
export declare const WithACustomNoOptionsMessage: () => React.JSX.Element;
|
|
@@ -2,6 +2,7 @@ export declare const NDS_TO_DATE_FN_LOCALES_MAP: {
|
|
|
2
2
|
readonly de_DE: Locale;
|
|
3
3
|
readonly en_US: Locale;
|
|
4
4
|
readonly es_MX: Locale;
|
|
5
|
+
readonly es_ES: Locale;
|
|
5
6
|
readonly fr_FR: Locale;
|
|
6
7
|
readonly nl_NL: Locale;
|
|
7
8
|
readonly pl_PL: Locale;
|
|
@@ -9,8 +10,44 @@ export declare const NDS_TO_DATE_FN_LOCALES_MAP: {
|
|
|
9
10
|
readonly ro_RO: Locale;
|
|
10
11
|
readonly zh_CN: Locale;
|
|
11
12
|
};
|
|
12
|
-
export declare const ALL_NDS_LOCALES: {
|
|
13
|
-
label:
|
|
14
|
-
value:
|
|
15
|
-
dateFnsValue: Locale;
|
|
16
|
-
}
|
|
13
|
+
export declare const ALL_NDS_LOCALES: readonly [{
|
|
14
|
+
readonly label: "German (Germany)";
|
|
15
|
+
readonly value: "de_DE";
|
|
16
|
+
readonly dateFnsValue: Locale;
|
|
17
|
+
}, {
|
|
18
|
+
readonly label: "English (US)";
|
|
19
|
+
readonly value: "en_US";
|
|
20
|
+
readonly dateFnsValue: Locale;
|
|
21
|
+
}, {
|
|
22
|
+
readonly label: "Spanish (Mexico)";
|
|
23
|
+
readonly value: "es_MX";
|
|
24
|
+
readonly dateFnsValue: Locale;
|
|
25
|
+
}, {
|
|
26
|
+
readonly label: "France (French)";
|
|
27
|
+
readonly value: "fr_FR";
|
|
28
|
+
readonly dateFnsValue: Locale;
|
|
29
|
+
}, {
|
|
30
|
+
readonly label: "Dutch (Netherlands)";
|
|
31
|
+
readonly value: "nl_NL";
|
|
32
|
+
readonly dateFnsValue: Locale;
|
|
33
|
+
}, {
|
|
34
|
+
readonly label: "Polish (Poland)";
|
|
35
|
+
readonly value: "pl_PL";
|
|
36
|
+
readonly dateFnsValue: Locale;
|
|
37
|
+
}, {
|
|
38
|
+
readonly label: "Portuguese (Brazil)";
|
|
39
|
+
readonly value: "pt_BR";
|
|
40
|
+
readonly dateFnsValue: Locale;
|
|
41
|
+
}, {
|
|
42
|
+
readonly label: "Romanian (Romania)";
|
|
43
|
+
readonly value: "ro_RO";
|
|
44
|
+
readonly dateFnsValue: Locale;
|
|
45
|
+
}, {
|
|
46
|
+
readonly label: "Simplified Chinese (China)";
|
|
47
|
+
readonly value: "zh_CN";
|
|
48
|
+
readonly dateFnsValue: Locale;
|
|
49
|
+
}, {
|
|
50
|
+
readonly label: "Spanish (Spain)";
|
|
51
|
+
readonly value: "es_ES";
|
|
52
|
+
readonly dateFnsValue: Locale;
|
|
53
|
+
}];
|
|
@@ -6,14 +6,14 @@ interface ResizableProps {
|
|
|
6
6
|
showContainerOutline?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const Resizable: ({ children, containerWidth, onResize, showContainerOutline, }: ResizableProps) => React.JSX.Element;
|
|
9
|
-
export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "
|
|
9
|
+
export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof React.HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
|
|
10
10
|
variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
11
11
|
inline?: boolean;
|
|
12
12
|
compact?: boolean;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
|
|
15
15
|
fontSize?: string;
|
|
16
|
-
} & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "
|
|
16
|
+
} & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "inline" | "compact" | "disabled" | keyof React.HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
|
|
17
17
|
variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
|
|
18
18
|
inline?: boolean;
|
|
19
19
|
compact?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.7.1",
|
|
4
4
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"rollup-plugin-babel": "^4.4.0",
|
|
140
140
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
141
141
|
"rollup-plugin-replace": "^2.2.0",
|
|
142
|
-
"rollup-plugin-typescript2": "^0.
|
|
142
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
143
143
|
"semantic-release": "^17.2.1",
|
|
144
144
|
"source-map-loader": "^1.0.1",
|
|
145
145
|
"storybook-addon-performance": "^0.17.1",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default NavBarSearch;
|
|
2
|
-
declare const NavBarSearch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
name?: string;
|
|
5
|
-
onSubmit: any;
|
|
6
|
-
}, never>> & string & Omit<({ name, onSubmit, ...props }: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
name?: string;
|
|
9
|
-
onSubmit: any;
|
|
10
|
-
}) => React.JSX.Element, keyof React.Component<any, {}, any>>;
|
|
11
|
-
import React from "react";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as NavBarSearch } from "./NavBarSearch";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export function getMockRows(numRows: any): {
|
|
2
|
-
id: number;
|
|
3
|
-
c1: string;
|
|
4
|
-
c2: string;
|
|
5
|
-
c3: string;
|
|
6
|
-
c4: string;
|
|
7
|
-
c5: string;
|
|
8
|
-
c6: string;
|
|
9
|
-
c7: string;
|
|
10
|
-
c8: string;
|
|
11
|
-
c9: string;
|
|
12
|
-
c10: string;
|
|
13
|
-
c11: string;
|
|
14
|
-
c12: string;
|
|
15
|
-
c13: string;
|
|
16
|
-
c14: string;
|
|
17
|
-
c15: string;
|
|
18
|
-
c16: string;
|
|
19
|
-
c17: string;
|
|
20
|
-
c18: string;
|
|
21
|
-
c19: string;
|
|
22
|
-
c20: string;
|
|
23
|
-
c21: string;
|
|
24
|
-
}[];
|
|
25
|
-
export const mockColumns: {
|
|
26
|
-
label: string;
|
|
27
|
-
dataKey: string;
|
|
28
|
-
}[];
|
|
29
|
-
export function getMockColumns(n: any): {
|
|
30
|
-
label: string;
|
|
31
|
-
dataKey: string;
|
|
32
|
-
}[];
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export default class DetectOutsideClick extends React.Component<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
handleOutsideClick(e: any): void;
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
componentWillUnmount(): void;
|
|
6
|
-
render(): React.JSX.Element;
|
|
7
|
-
}
|
|
8
|
-
import React from "react";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default ScrollIndicators;
|
|
2
|
-
declare class ScrollIndicators extends React.Component<any, any, any> {
|
|
3
|
-
constructor();
|
|
4
|
-
state: {
|
|
5
|
-
scrollTop: number;
|
|
6
|
-
};
|
|
7
|
-
menuRef: React.RefObject<any>;
|
|
8
|
-
handleScroll(): void;
|
|
9
|
-
offsetHeight: any;
|
|
10
|
-
scrollHeight: any;
|
|
11
|
-
componentDidMount(): void;
|
|
12
|
-
contentHiddenBelow(): boolean;
|
|
13
|
-
contentHiddenAbove(): boolean;
|
|
14
|
-
render(): React.JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
import React from "react";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function registerDatePickerLocales(): any[];
|
package/dist/src/utils/omit.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export function getWindowDimensionInfo(width: any, height: any, theme: any): {
|
|
2
|
-
width: any;
|
|
3
|
-
height: any;
|
|
4
|
-
widthBreakpoints: {
|
|
5
|
-
xlargeBreakpoint: number;
|
|
6
|
-
largeBreakpoint: number;
|
|
7
|
-
mediumBreakpoint: number;
|
|
8
|
-
smallBreakpoint: number;
|
|
9
|
-
xSmallBreakpoint: number;
|
|
10
|
-
isXlargeScreen: boolean;
|
|
11
|
-
isLargeScreen: boolean;
|
|
12
|
-
isMediumScreen: boolean;
|
|
13
|
-
isSmallScreen: boolean;
|
|
14
|
-
isSmallestScreen: boolean;
|
|
15
|
-
isGreaterThanLargeScreen: boolean;
|
|
16
|
-
isGreaterThanMediumScreen: boolean;
|
|
17
|
-
isGreaterThanSmallScreen: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default useWindowDimensions;
|
|
21
|
-
declare function useWindowDimensions(): {
|
|
22
|
-
width: any;
|
|
23
|
-
height: any;
|
|
24
|
-
widthBreakpoints: {
|
|
25
|
-
xlargeBreakpoint: number;
|
|
26
|
-
largeBreakpoint: number;
|
|
27
|
-
mediumBreakpoint: number;
|
|
28
|
-
smallBreakpoint: number;
|
|
29
|
-
xSmallBreakpoint: number;
|
|
30
|
-
isXlargeScreen: boolean;
|
|
31
|
-
isLargeScreen: boolean;
|
|
32
|
-
isMediumScreen: boolean;
|
|
33
|
-
isSmallScreen: boolean;
|
|
34
|
-
isSmallestScreen: boolean;
|
|
35
|
-
isGreaterThanLargeScreen: boolean;
|
|
36
|
-
isGreaterThanMediumScreen: boolean;
|
|
37
|
-
isGreaterThanSmallScreen: boolean;
|
|
38
|
-
};
|
|
39
|
-
};
|