@nulogy/components 10.0.0 → 10.0.2
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 +45 -34
- package/dist/main.module.js +45 -34
- package/dist/src/AsyncSelect/AsyncSelect.d.ts +3 -0
- package/dist/src/Form/Form.d.ts +4 -8
- package/dist/src/Form/Form.story.d.ts +1 -0
- package/dist/src/Select/Select.d.ts +26 -38
- package/dist/src/Select/Select.spec-utils.d.ts +5 -2
- package/dist/src/Select/Select.story.d.ts +1 -1
- package/dist/src/Select/SelectOption.d.ts +6 -1
- package/dist/src/Select/customReactSelectStyles.d.ts +12 -949
- package/dist/src/theme.d.ts +1 -1
- package/dist/src/theme.type.d.ts +22 -22
- package/package.json +2 -2
package/dist/src/theme.d.ts
CHANGED
package/dist/src/theme.type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface Colors {
|
|
2
2
|
black: string;
|
|
3
3
|
blackBlue: string;
|
|
4
4
|
darkBlue: string;
|
|
@@ -22,8 +22,8 @@ type Colors = {
|
|
|
22
22
|
categorical4: string;
|
|
23
23
|
categorical5: string;
|
|
24
24
|
categorical6: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
25
|
+
}
|
|
26
|
+
interface FontSizes {
|
|
27
27
|
smaller: string;
|
|
28
28
|
small: string;
|
|
29
29
|
medium: string;
|
|
@@ -34,8 +34,8 @@ type FontSizes = {
|
|
|
34
34
|
heading2: string;
|
|
35
35
|
heading3: string;
|
|
36
36
|
heading4: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
37
|
+
}
|
|
38
|
+
interface LineHeights {
|
|
39
39
|
base: string;
|
|
40
40
|
smallTextBase: string;
|
|
41
41
|
smallTextCompressed: string;
|
|
@@ -47,14 +47,14 @@ type LineHeights = {
|
|
|
47
47
|
title: string;
|
|
48
48
|
sectionTitle: string;
|
|
49
49
|
subsectionTitle: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
50
|
+
}
|
|
51
|
+
interface FontWeights {
|
|
52
52
|
light: number;
|
|
53
53
|
normal: number;
|
|
54
54
|
medium: number;
|
|
55
55
|
bold: number;
|
|
56
|
-
}
|
|
57
|
-
|
|
56
|
+
}
|
|
57
|
+
interface Space {
|
|
58
58
|
none: string;
|
|
59
59
|
half: string;
|
|
60
60
|
x1: string;
|
|
@@ -64,33 +64,33 @@ type Space = {
|
|
|
64
64
|
x5: string;
|
|
65
65
|
x6: string;
|
|
66
66
|
x8: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
67
|
+
}
|
|
68
|
+
interface Fonts {
|
|
69
69
|
base: string;
|
|
70
70
|
mono: string;
|
|
71
71
|
sc: string;
|
|
72
|
-
}
|
|
72
|
+
}
|
|
73
73
|
type Borders = Array<any>;
|
|
74
|
-
|
|
74
|
+
interface Shadows {
|
|
75
75
|
small: string;
|
|
76
76
|
medium: string;
|
|
77
77
|
large: string;
|
|
78
78
|
focus: string;
|
|
79
79
|
error: string;
|
|
80
|
-
}
|
|
81
|
-
|
|
80
|
+
}
|
|
81
|
+
interface Radii {
|
|
82
82
|
small: string;
|
|
83
83
|
medium: string;
|
|
84
84
|
circle: string;
|
|
85
|
-
}
|
|
86
|
-
export
|
|
85
|
+
}
|
|
86
|
+
export interface Breakpoints {
|
|
87
87
|
extraSmall: string;
|
|
88
88
|
small: string;
|
|
89
89
|
medium: string;
|
|
90
90
|
large: string;
|
|
91
91
|
extraLarge: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
92
|
+
}
|
|
93
|
+
interface ZIndices {
|
|
94
94
|
content: number;
|
|
95
95
|
tabsScollIndicator: number;
|
|
96
96
|
tabsBar: number;
|
|
@@ -101,8 +101,8 @@ type ZIndices = {
|
|
|
101
101
|
openControl: number;
|
|
102
102
|
sidebar: number;
|
|
103
103
|
navBar: number;
|
|
104
|
-
}
|
|
105
|
-
export
|
|
104
|
+
}
|
|
105
|
+
export interface DefaultNDSThemeType {
|
|
106
106
|
colors: Colors;
|
|
107
107
|
fontSizes: FontSizes;
|
|
108
108
|
lineHeights: LineHeights;
|
|
@@ -115,7 +115,7 @@ export type DefaultNDSThemeType = {
|
|
|
115
115
|
radii: Radii;
|
|
116
116
|
breakpoints: Breakpoints;
|
|
117
117
|
zIndices: ZIndices;
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
type RecursivePartial<T> = {
|
|
120
120
|
[P in keyof T]?: RecursivePartial<T[P]>;
|
|
121
121
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nulogy/components",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "Component library for the Nulogy Design System - http://nulogy.design",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"react-popper": "1.3.11",
|
|
161
161
|
"react-popper-2": "npm:react-popper@2.2.4",
|
|
162
162
|
"react-resize-detector": "^9.1.0",
|
|
163
|
-
"react-windowed-select": "2.0
|
|
163
|
+
"react-windowed-select": "^5.2.0",
|
|
164
164
|
"smoothscroll-polyfill": "^0.4.4",
|
|
165
165
|
"react-select": "^5.8.0",
|
|
166
166
|
"styled-system": "^5.1.4",
|