@spothero/ui 24.1.0 → 24.1.1-beta.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/components/Icon/Icon.d.ts +1 -0
- package/dist/components/RefreshedInput/FormControl/index.d.ts +7 -0
- package/dist/components/RefreshedInput/Select/Select.d.ts +8 -0
- package/dist/components/RefreshedInput/Select/index.d.ts +1 -0
- package/dist/components/Select/styles/index.d.ts +221 -0
- package/dist/index.cjs.js +314 -297
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +314 -297
- package/dist/index.esm.js.map +1 -1
- package/dist/theme/base/breakpoints.d.ts +7 -0
- package/dist/theme/base/colors.d.ts +142 -0
- package/dist/theme/base/index.d.ts +7 -0
- package/dist/theme/base/notifications.d.ts +133 -0
- package/dist/theme/base/shadows.d.ts +17 -0
- package/dist/theme/base/sizes.d.ts +47 -0
- package/dist/theme/base/typography.d.ts +23 -0
- package/dist/theme/base/zindices.d.ts +16 -0
- package/package.json +5 -5
- /package/dist/{AccordionActionButton.d.ts → components/Accordion/AccordionActionButton.d.ts} +0 -0
- /package/dist/{index.d.ts → components/Accordion/index.d.ts} +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export default colors;
|
|
2
|
+
declare namespace colors {
|
|
3
|
+
export const gray: {
|
|
4
|
+
light: string;
|
|
5
|
+
medium: string;
|
|
6
|
+
dark: string;
|
|
7
|
+
50: string;
|
|
8
|
+
100: string;
|
|
9
|
+
200: string;
|
|
10
|
+
300: string;
|
|
11
|
+
400: string;
|
|
12
|
+
500: string;
|
|
13
|
+
600: string;
|
|
14
|
+
700: string;
|
|
15
|
+
800: string;
|
|
16
|
+
900: string;
|
|
17
|
+
};
|
|
18
|
+
export { blue };
|
|
19
|
+
export { navy };
|
|
20
|
+
export const red: {
|
|
21
|
+
default: string;
|
|
22
|
+
50: string;
|
|
23
|
+
100: string;
|
|
24
|
+
200: string;
|
|
25
|
+
300: string;
|
|
26
|
+
400: string;
|
|
27
|
+
500: string;
|
|
28
|
+
600: string;
|
|
29
|
+
700: string;
|
|
30
|
+
800: string;
|
|
31
|
+
900: string;
|
|
32
|
+
};
|
|
33
|
+
export const green: {
|
|
34
|
+
default: string;
|
|
35
|
+
50: string;
|
|
36
|
+
100: string;
|
|
37
|
+
200: string;
|
|
38
|
+
300: string;
|
|
39
|
+
400: string;
|
|
40
|
+
500: string;
|
|
41
|
+
600: string;
|
|
42
|
+
700: string;
|
|
43
|
+
800: string;
|
|
44
|
+
900: string;
|
|
45
|
+
};
|
|
46
|
+
export const yellow: {
|
|
47
|
+
default: string;
|
|
48
|
+
50: string;
|
|
49
|
+
100: string;
|
|
50
|
+
200: string;
|
|
51
|
+
300: string;
|
|
52
|
+
400: string;
|
|
53
|
+
500: string;
|
|
54
|
+
600: string;
|
|
55
|
+
700: string;
|
|
56
|
+
800: string;
|
|
57
|
+
900: string;
|
|
58
|
+
};
|
|
59
|
+
export const primary: {
|
|
60
|
+
default: string;
|
|
61
|
+
50: string;
|
|
62
|
+
100: string;
|
|
63
|
+
200: string;
|
|
64
|
+
300: string;
|
|
65
|
+
400: string;
|
|
66
|
+
500: string;
|
|
67
|
+
600: string;
|
|
68
|
+
700: string;
|
|
69
|
+
800: string;
|
|
70
|
+
900: string;
|
|
71
|
+
};
|
|
72
|
+
export const secondary: {
|
|
73
|
+
default: string;
|
|
74
|
+
50: string;
|
|
75
|
+
100: string;
|
|
76
|
+
200: string;
|
|
77
|
+
300: string;
|
|
78
|
+
400: string;
|
|
79
|
+
500: string;
|
|
80
|
+
600: string;
|
|
81
|
+
700: string;
|
|
82
|
+
800: string;
|
|
83
|
+
900: string;
|
|
84
|
+
};
|
|
85
|
+
export const success: string;
|
|
86
|
+
export const warning: string;
|
|
87
|
+
export const error: string;
|
|
88
|
+
export const accent: string;
|
|
89
|
+
export namespace text {
|
|
90
|
+
export namespace primary_1 {
|
|
91
|
+
export { black as light };
|
|
92
|
+
export { white as dark };
|
|
93
|
+
}
|
|
94
|
+
export { primary_1 as primary };
|
|
95
|
+
export namespace secondary_1 {
|
|
96
|
+
const light: string;
|
|
97
|
+
}
|
|
98
|
+
export { secondary_1 as secondary };
|
|
99
|
+
export namespace link {
|
|
100
|
+
const light_1: string;
|
|
101
|
+
export { light_1 as light };
|
|
102
|
+
export { white as dark };
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export namespace background {
|
|
106
|
+
const gray_1: string;
|
|
107
|
+
export { gray_1 as gray };
|
|
108
|
+
export { white };
|
|
109
|
+
}
|
|
110
|
+
export { white };
|
|
111
|
+
export { black };
|
|
112
|
+
export { brandBlue };
|
|
113
|
+
export { modalOverlay };
|
|
114
|
+
}
|
|
115
|
+
declare const blue: {
|
|
116
|
+
50: string;
|
|
117
|
+
100: string;
|
|
118
|
+
200: string;
|
|
119
|
+
300: string;
|
|
120
|
+
400: string;
|
|
121
|
+
500: string;
|
|
122
|
+
600: string;
|
|
123
|
+
700: string;
|
|
124
|
+
800: string;
|
|
125
|
+
900: string;
|
|
126
|
+
};
|
|
127
|
+
declare const navy: {
|
|
128
|
+
50: string;
|
|
129
|
+
100: string;
|
|
130
|
+
200: string;
|
|
131
|
+
300: string;
|
|
132
|
+
400: string;
|
|
133
|
+
500: string;
|
|
134
|
+
600: string;
|
|
135
|
+
700: string;
|
|
136
|
+
800: string;
|
|
137
|
+
900: string;
|
|
138
|
+
};
|
|
139
|
+
declare const black: "#000000";
|
|
140
|
+
declare const white: "#ffffff";
|
|
141
|
+
declare const brandBlue: "#0082ff";
|
|
142
|
+
declare const modalOverlay: "#21212160";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as sizes } from "./sizes";
|
|
2
|
+
export { default as colors } from "./colors";
|
|
3
|
+
export { default as shadows } from "./shadows";
|
|
4
|
+
export { default as zIndices } from "./zindices";
|
|
5
|
+
export { default as breakpoints } from "./breakpoints";
|
|
6
|
+
export { fonts, fontSizes, fontWeights } from "./typography";
|
|
7
|
+
export { notificationBaseStyle, notificationStatusStyles, NOTIFICATION_STATUSES } from "./notifications";
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export namespace NOTIFICATION_STATUSES {
|
|
2
|
+
const NEUTRAL: string;
|
|
3
|
+
const ERROR: string;
|
|
4
|
+
const WARNING: string;
|
|
5
|
+
const SUCCESS: string;
|
|
6
|
+
}
|
|
7
|
+
export namespace notificationBaseStyle {
|
|
8
|
+
namespace container {
|
|
9
|
+
const paddingY: number;
|
|
10
|
+
const borderRadius: string;
|
|
11
|
+
}
|
|
12
|
+
namespace actionButton {
|
|
13
|
+
const fontSize: string;
|
|
14
|
+
const height: string;
|
|
15
|
+
const lineHeight: string;
|
|
16
|
+
const color: string;
|
|
17
|
+
namespace _hover {
|
|
18
|
+
const color_1: string;
|
|
19
|
+
export { color_1 as color };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
namespace dismissButton {
|
|
23
|
+
const color_2: string;
|
|
24
|
+
export { color_2 as color };
|
|
25
|
+
export const borderColor: string;
|
|
26
|
+
export const borderWidth: string;
|
|
27
|
+
export const padding: number;
|
|
28
|
+
export const width: number;
|
|
29
|
+
const height_1: number;
|
|
30
|
+
export { height_1 as height };
|
|
31
|
+
export const backgroundColor: string;
|
|
32
|
+
const borderRadius_1: string;
|
|
33
|
+
export { borderRadius_1 as borderRadius };
|
|
34
|
+
export const marginLeft: number;
|
|
35
|
+
export namespace _hover_1 {
|
|
36
|
+
const color_3: string;
|
|
37
|
+
export { color_3 as color };
|
|
38
|
+
}
|
|
39
|
+
export { _hover_1 as _hover };
|
|
40
|
+
export namespace _focus {
|
|
41
|
+
const color_4: string;
|
|
42
|
+
export { color_4 as color };
|
|
43
|
+
const borderColor_1: string;
|
|
44
|
+
export { borderColor_1 as borderColor };
|
|
45
|
+
export const boxShadow: string;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
namespace icon {
|
|
49
|
+
const width_1: number;
|
|
50
|
+
export { width_1 as width };
|
|
51
|
+
export const marginRight: number;
|
|
52
|
+
const height_2: string;
|
|
53
|
+
export { height_2 as height };
|
|
54
|
+
}
|
|
55
|
+
namespace description {
|
|
56
|
+
const lineHeight_1: number;
|
|
57
|
+
export { lineHeight_1 as lineHeight };
|
|
58
|
+
}
|
|
59
|
+
namespace title {
|
|
60
|
+
const lineHeight_2: number;
|
|
61
|
+
export { lineHeight_2 as lineHeight };
|
|
62
|
+
}
|
|
63
|
+
const variants: {};
|
|
64
|
+
namespace sizes {
|
|
65
|
+
namespace sm {
|
|
66
|
+
export namespace title_1 {
|
|
67
|
+
const fontSize_1: string;
|
|
68
|
+
export { fontSize_1 as fontSize };
|
|
69
|
+
}
|
|
70
|
+
export { title_1 as title };
|
|
71
|
+
export namespace description_1 {
|
|
72
|
+
const fontSize_2: string;
|
|
73
|
+
export { fontSize_2 as fontSize };
|
|
74
|
+
}
|
|
75
|
+
export { description_1 as description };
|
|
76
|
+
}
|
|
77
|
+
namespace md {
|
|
78
|
+
export namespace title_2 {
|
|
79
|
+
const fontSize_3: string;
|
|
80
|
+
export { fontSize_3 as fontSize };
|
|
81
|
+
}
|
|
82
|
+
export { title_2 as title };
|
|
83
|
+
export namespace description_2 {
|
|
84
|
+
const fontSize_4: string;
|
|
85
|
+
export { fontSize_4 as fontSize };
|
|
86
|
+
}
|
|
87
|
+
export { description_2 as description };
|
|
88
|
+
}
|
|
89
|
+
namespace lg {
|
|
90
|
+
export namespace title_3 {
|
|
91
|
+
const fontSize_5: string;
|
|
92
|
+
export { fontSize_5 as fontSize };
|
|
93
|
+
}
|
|
94
|
+
export { title_3 as title };
|
|
95
|
+
export namespace description_3 {
|
|
96
|
+
const fontSize_6: string;
|
|
97
|
+
export { fontSize_6 as fontSize };
|
|
98
|
+
}
|
|
99
|
+
export { description_3 as description };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
export function notificationStatusStyles(status: any): {
|
|
104
|
+
container: {
|
|
105
|
+
background: string;
|
|
106
|
+
};
|
|
107
|
+
icon: {
|
|
108
|
+
color: string;
|
|
109
|
+
};
|
|
110
|
+
dismissButton: {
|
|
111
|
+
_hover: {
|
|
112
|
+
background: string;
|
|
113
|
+
};
|
|
114
|
+
_focus: {
|
|
115
|
+
background: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
} | {
|
|
119
|
+
container?: undefined;
|
|
120
|
+
icon?: undefined;
|
|
121
|
+
dismissButton?: undefined;
|
|
122
|
+
};
|
|
123
|
+
export function notificationSizeStyles(size: any): {
|
|
124
|
+
title: {
|
|
125
|
+
fontSize: string;
|
|
126
|
+
};
|
|
127
|
+
description: {
|
|
128
|
+
fontSize: string;
|
|
129
|
+
};
|
|
130
|
+
} | {
|
|
131
|
+
title?: undefined;
|
|
132
|
+
description?: undefined;
|
|
133
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
xs: string;
|
|
3
|
+
sm: string;
|
|
4
|
+
base: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
xl: string;
|
|
8
|
+
"2xl": string;
|
|
9
|
+
outline: string;
|
|
10
|
+
inner: string;
|
|
11
|
+
none: string;
|
|
12
|
+
"dark-lg": string;
|
|
13
|
+
} & {
|
|
14
|
+
outline: string;
|
|
15
|
+
drawer: string;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export default sizes;
|
|
2
|
+
declare const sizes: {
|
|
3
|
+
container: {
|
|
4
|
+
base: string;
|
|
5
|
+
tablet: string;
|
|
6
|
+
desktop: string;
|
|
7
|
+
};
|
|
8
|
+
0: string;
|
|
9
|
+
0.5: string;
|
|
10
|
+
1: string;
|
|
11
|
+
1.5: string;
|
|
12
|
+
2: string;
|
|
13
|
+
2.5: string;
|
|
14
|
+
3: string;
|
|
15
|
+
3.5: string;
|
|
16
|
+
4: string;
|
|
17
|
+
4.5: string;
|
|
18
|
+
5: string;
|
|
19
|
+
5.5: string;
|
|
20
|
+
6: string;
|
|
21
|
+
7: string;
|
|
22
|
+
8: string;
|
|
23
|
+
9: string;
|
|
24
|
+
10: string;
|
|
25
|
+
12: string;
|
|
26
|
+
14: string;
|
|
27
|
+
16: string;
|
|
28
|
+
20: string;
|
|
29
|
+
24: string;
|
|
30
|
+
28: string;
|
|
31
|
+
32: string;
|
|
32
|
+
36: string;
|
|
33
|
+
40: string;
|
|
34
|
+
44: string;
|
|
35
|
+
48: string;
|
|
36
|
+
52: string;
|
|
37
|
+
56: string;
|
|
38
|
+
60: string;
|
|
39
|
+
64: string;
|
|
40
|
+
72: string;
|
|
41
|
+
80: string;
|
|
42
|
+
96: string;
|
|
43
|
+
px: string;
|
|
44
|
+
full: string;
|
|
45
|
+
max: string;
|
|
46
|
+
min: string;
|
|
47
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export namespace fonts {
|
|
2
|
+
const heading: string;
|
|
3
|
+
const body: string;
|
|
4
|
+
}
|
|
5
|
+
export const fontSizes: {
|
|
6
|
+
'5xl': string;
|
|
7
|
+
'4xl': string;
|
|
8
|
+
'3xl': string;
|
|
9
|
+
'2xl': string;
|
|
10
|
+
xl: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
md: string;
|
|
13
|
+
base: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
xs: string;
|
|
16
|
+
};
|
|
17
|
+
export namespace fontWeights {
|
|
18
|
+
const light: number;
|
|
19
|
+
const normal: number;
|
|
20
|
+
const medium: number;
|
|
21
|
+
const semibold: number;
|
|
22
|
+
const bold: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default indices;
|
|
2
|
+
declare namespace indices {
|
|
3
|
+
const hide: number;
|
|
4
|
+
const auto: string;
|
|
5
|
+
const base: number;
|
|
6
|
+
const layer1: number;
|
|
7
|
+
const layer2: number;
|
|
8
|
+
const layer3: number;
|
|
9
|
+
const layer4: number;
|
|
10
|
+
const layer5: number;
|
|
11
|
+
const layer6: number;
|
|
12
|
+
const layer7: number;
|
|
13
|
+
const layer8: number;
|
|
14
|
+
const layer9: number;
|
|
15
|
+
const layer10: number;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spothero/ui",
|
|
3
|
-
"version": "24.1.
|
|
3
|
+
"version": "24.1.1-beta.1",
|
|
4
4
|
"description": "SpotHero's React component UI library.",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -104,12 +104,12 @@
|
|
|
104
104
|
"webpack-merge": "5.1.4",
|
|
105
105
|
"@spothero/babel-preset-spothero": "5.1.0",
|
|
106
106
|
"@spothero/core": "7.0.1",
|
|
107
|
-
"@spothero/
|
|
107
|
+
"@spothero/browserslist-config": "4.0.0",
|
|
108
|
+
"@spothero/icons": "9.1.3",
|
|
108
109
|
"@spothero/npm-publisher": "7.0.0",
|
|
109
|
-
"@spothero/
|
|
110
|
+
"@spothero/eslint-config": "6.1.0",
|
|
110
111
|
"@spothero/prettier-config": "4.0.0",
|
|
111
|
-
"@spothero/
|
|
112
|
-
"@spothero/icons": "9.1.3"
|
|
112
|
+
"@spothero/stylelint-config": "6.0.0"
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@babel/preset-env": "7.23.9",
|
/package/dist/{AccordionActionButton.d.ts → components/Accordion/AccordionActionButton.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|