@nulogy/components 10.0.0 → 10.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.
@@ -1,3 +1,3 @@
1
- import { DefaultNDSThemeType } from "./theme.type";
1
+ import type { DefaultNDSThemeType } from "./theme.type";
2
2
  declare const Theme: DefaultNDSThemeType;
3
3
  export default Theme;
@@ -1,4 +1,4 @@
1
- type Colors = {
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
- type FontSizes = {
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
- type LineHeights = {
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
- type FontWeights = {
50
+ }
51
+ interface FontWeights {
52
52
  light: number;
53
53
  normal: number;
54
54
  medium: number;
55
55
  bold: number;
56
- };
57
- type Space = {
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
- type Fonts = {
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
- type Shadows = {
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
- type Radii = {
80
+ }
81
+ interface Radii {
82
82
  small: string;
83
83
  medium: string;
84
84
  circle: string;
85
- };
86
- export type Breakpoints = {
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
- type ZIndices = {
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 type DefaultNDSThemeType = {
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.0",
3
+ "version": "10.0.1",
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.5",
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",