@ncino/styles 9.2.0-preview.3 → 9.2.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/README.md +159 -0
- package/dist/gator/themes/MUIGatorTheme.js +183 -0
- package/dist/gator/themes/components/accordion.js +68 -0
- package/dist/gator/themes/components/alert.js +55 -0
- package/dist/gator/themes/components/autocomplete.js +139 -0
- package/dist/gator/themes/components/avatar.js +49 -0
- package/dist/gator/themes/components/badge.js +53 -0
- package/dist/gator/themes/components/button.js +65 -0
- package/dist/gator/themes/components/card.js +190 -0
- package/dist/gator/themes/components/checkbox.js +69 -0
- package/dist/gator/themes/components/chip.js +220 -0
- package/dist/gator/themes/components/dialog.js +61 -0
- package/dist/gator/themes/components/fab.js +77 -0
- package/dist/gator/themes/components/form-control.js +97 -0
- package/dist/gator/themes/components/radio.js +43 -0
- package/dist/gator/themes/components/select.js +69 -0
- package/dist/gator/themes/components/switch.js +113 -0
- package/dist/gator/themes/components/table.js +178 -0
- package/dist/gator/themes/components/tabs.js +150 -0
- package/dist/gator/themes/components/text-field.js +103 -0
- package/dist/gator/themes/utils/themeConfig.js +155 -0
- package/dist/gator/tokens/primitive-inline.js +4 -0
- package/dist/gator/tokens/primitive.tokens.css.js +4 -0
- package/dist/gator/tokens/semantic-inline.js +4 -0
- package/dist/gator/tokens/semantic.tokens.css.js +4 -0
- package/dist/gator/types/mui-augmentations.js +1 -0
- package/dist/index.js +5 -0
- package/dist/styles.css +1 -0
- package/dist/types/gator/themes/MUIGatorTheme.d.ts +6 -0
- package/dist/types/gator/themes/components/accordion.d.ts +65 -0
- package/dist/types/gator/themes/components/alert.d.ts +51 -0
- package/dist/types/gator/themes/components/autocomplete.d.ts +127 -0
- package/dist/types/gator/themes/components/avatar.d.ts +63 -0
- package/dist/types/gator/themes/components/badge.d.ts +42 -0
- package/dist/types/gator/themes/components/button.d.ts +61 -0
- package/dist/types/gator/themes/components/card.d.ts +193 -0
- package/dist/types/gator/themes/components/checkbox.d.ts +61 -0
- package/dist/types/gator/themes/components/chip.d.ts +201 -0
- package/dist/types/gator/themes/components/dialog.d.ts +58 -0
- package/dist/types/gator/themes/components/fab.d.ts +78 -0
- package/dist/types/gator/themes/components/form-control.d.ts +86 -0
- package/dist/types/gator/themes/components/radio.d.ts +45 -0
- package/dist/types/gator/themes/components/select.d.ts +64 -0
- package/dist/types/gator/themes/components/switch.d.ts +105 -0
- package/dist/types/gator/themes/components/table.d.ts +170 -0
- package/dist/types/gator/themes/components/tabs.d.ts +163 -0
- package/dist/types/gator/themes/components/text-field.d.ts +100 -0
- package/dist/types/gator/themes/utils/themeConfig.d.ts +92 -0
- package/dist/types/gator/tokens/primitive-inline.d.ts +2 -0
- package/dist/types/gator/tokens/semantic-inline.d.ts +2 -0
- package/dist/types/gator/types/mui-augmentations.d.ts +49 -0
- package/dist/types/index.d.ts +6 -0
- package/package.json +50 -10
- package/src/gator/themes/MUIGatorTheme.ts +0 -237
- package/src/gator/themes/components/accordion.ts +0 -67
- package/src/gator/themes/components/alert.ts +0 -53
- package/src/gator/themes/components/autocomplete.ts +0 -156
- package/src/gator/themes/components/avatar.ts +0 -65
- package/src/gator/themes/components/badge.ts +0 -55
- package/src/gator/themes/components/button.ts +0 -74
- package/src/gator/themes/components/card.ts +0 -202
- package/src/gator/themes/components/checkbox.ts +0 -73
- package/src/gator/themes/components/chip.ts +0 -270
- package/src/gator/themes/components/dialog.ts +0 -62
- package/src/gator/themes/components/form-control.ts +0 -103
- package/src/gator/themes/components/radio.ts +0 -53
- package/src/gator/themes/components/select.ts +0 -74
- package/src/gator/themes/components/switch.ts +0 -145
- package/src/gator/themes/components/table.ts +0 -200
- package/src/gator/themes/components/tabs.ts +0 -167
- package/src/gator/themes/components/text-field.ts +0 -100
- package/src/gator/themes/utils/themeConfig.ts +0 -111
- package/src/gator/types/mui-augmentations.d.ts +0 -27
- /package/{src → dist}/gator/_fonts.css +0 -0
- /package/{src → dist}/gator/_gator-grid.css +0 -0
- /package/{src → dist}/gator/_gator-sizing.css +0 -0
- /package/{src → dist}/gator/_gator-typography.css +0 -0
- /package/{src → dist}/gator/fonts/OpenSans-VariableFont.woff2 +0 -0
- /package/{src → dist}/gator/gator-global-styles.css +0 -0
- /package/{src → dist}/gator/tokens/_gator-global-tokens.css +0 -0
- /package/{src → dist}/gator/tokens/primitive.tokens.css +0 -0
- /package/{src → dist}/gator/tokens/semantic.tokens.css +0 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export declare const MUIGatorTableOverrides: {
|
|
2
|
+
MuiPaper: {
|
|
3
|
+
styleOverrides: {
|
|
4
|
+
root: {
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
boxShadow: string;
|
|
7
|
+
'&:has(.MuiToolbar-root + .MuiTableContainer-root)': {
|
|
8
|
+
'.MuiToolbar-root': {
|
|
9
|
+
background: string;
|
|
10
|
+
marginBottom: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
display: string;
|
|
13
|
+
gap: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
MuiTableContainer: {
|
|
20
|
+
styleOverrides: {
|
|
21
|
+
root: {
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
borderRadius: string;
|
|
24
|
+
overflow: string;
|
|
25
|
+
boxShadow: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
MuiTable: {
|
|
30
|
+
styleOverrides: {
|
|
31
|
+
root: {
|
|
32
|
+
borderCollapse: "separate";
|
|
33
|
+
borderSpacing: number;
|
|
34
|
+
width: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
MuiTableHead: {
|
|
39
|
+
styleOverrides: {
|
|
40
|
+
root: {
|
|
41
|
+
'& .MuiTableCell-head': {
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
color: string;
|
|
44
|
+
fontWeight: number;
|
|
45
|
+
borderBottom: string;
|
|
46
|
+
'&:hover': {
|
|
47
|
+
backgroundColor: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
MuiTableBody: {
|
|
54
|
+
styleOverrides: {
|
|
55
|
+
root: {
|
|
56
|
+
'& .MuiTableRow-root': {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
transition: string;
|
|
59
|
+
'&:hover': {
|
|
60
|
+
backgroundColor: string;
|
|
61
|
+
};
|
|
62
|
+
'&.Mui-selected': {
|
|
63
|
+
backgroundColor: string;
|
|
64
|
+
'&:hover': {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
'&:last-child .MuiTableCell-root': {
|
|
69
|
+
borderBottom: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
MuiTableRow: {
|
|
76
|
+
styleOverrides: {
|
|
77
|
+
root: {
|
|
78
|
+
'&:not(:has(.MuiCheckbox-root)) .MuiTableCell-root': {
|
|
79
|
+
padding: string;
|
|
80
|
+
'&:first-of-type': {
|
|
81
|
+
paddingLeft: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
'&.Mui-selected': {
|
|
85
|
+
backgroundColor: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
MuiTableCell: {
|
|
91
|
+
styleOverrides: {
|
|
92
|
+
root: {
|
|
93
|
+
fontFamily: string;
|
|
94
|
+
fontSize: string;
|
|
95
|
+
color: string;
|
|
96
|
+
borderBottom: string;
|
|
97
|
+
letterSpacing: string;
|
|
98
|
+
'&:first-of-type': {
|
|
99
|
+
paddingLeft: number;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
head: {
|
|
103
|
+
fontWeight: number;
|
|
104
|
+
fontSize: string;
|
|
105
|
+
color: string;
|
|
106
|
+
backgroundColor: string;
|
|
107
|
+
borderBottom: string;
|
|
108
|
+
letterSpacing: string;
|
|
109
|
+
'&:first-of-type': {
|
|
110
|
+
paddingLeft: number;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
body: {
|
|
114
|
+
fontSize: string;
|
|
115
|
+
fontWeight: number;
|
|
116
|
+
};
|
|
117
|
+
paddingCheckbox: {
|
|
118
|
+
width: string;
|
|
119
|
+
padding: string;
|
|
120
|
+
};
|
|
121
|
+
sizeSmall: {
|
|
122
|
+
padding: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
MuiTablePagination: {
|
|
127
|
+
styleOverrides: {
|
|
128
|
+
root: {
|
|
129
|
+
color: string;
|
|
130
|
+
fontSize: string;
|
|
131
|
+
padding: string;
|
|
132
|
+
borderTop: string;
|
|
133
|
+
};
|
|
134
|
+
toolbar: {
|
|
135
|
+
minHeight: string;
|
|
136
|
+
paddingLeft: number;
|
|
137
|
+
paddingRight: number;
|
|
138
|
+
};
|
|
139
|
+
selectLabel: {
|
|
140
|
+
margin: number;
|
|
141
|
+
};
|
|
142
|
+
displayedRows: {
|
|
143
|
+
margin: number;
|
|
144
|
+
};
|
|
145
|
+
select: {
|
|
146
|
+
color: string;
|
|
147
|
+
fontSize: string;
|
|
148
|
+
fontWeight: number;
|
|
149
|
+
};
|
|
150
|
+
input: {
|
|
151
|
+
border: string;
|
|
152
|
+
padding: number;
|
|
153
|
+
textDecoration: string;
|
|
154
|
+
textUnderlineOffset: string;
|
|
155
|
+
textDecorationColor: string;
|
|
156
|
+
'&:focus': {
|
|
157
|
+
borderRadius: string;
|
|
158
|
+
backgroundColor: string;
|
|
159
|
+
borderColor: string;
|
|
160
|
+
};
|
|
161
|
+
'&:hover': {
|
|
162
|
+
textDecorationColor: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
selectIcon: {
|
|
166
|
+
color: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gator Design System - MUI Tabs Component Overrides
|
|
3
|
+
*
|
|
4
|
+
* Maps Gator Tabs design specifications to MUI Tabs and Tab components.
|
|
5
|
+
* Supports small, medium, and large size variants with proper styling.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MUIGatorTabsOverrides: {
|
|
8
|
+
MuiTabs: {
|
|
9
|
+
defaultProps: {
|
|
10
|
+
size: "medium";
|
|
11
|
+
TabIndicatorProps: {
|
|
12
|
+
style: {
|
|
13
|
+
height: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
variants: ({
|
|
18
|
+
props: {
|
|
19
|
+
size: "small";
|
|
20
|
+
};
|
|
21
|
+
style: {
|
|
22
|
+
'& .MuiTab-root': {
|
|
23
|
+
padding: string;
|
|
24
|
+
fontSize: string;
|
|
25
|
+
'&:hover:not(.Mui-selected)': {
|
|
26
|
+
paddingBottom: string;
|
|
27
|
+
};
|
|
28
|
+
borderRadius?: undefined;
|
|
29
|
+
border?: undefined;
|
|
30
|
+
borderBottom?: undefined;
|
|
31
|
+
background?: undefined;
|
|
32
|
+
'&:hover'?: undefined;
|
|
33
|
+
'&.Mui-selected'?: undefined;
|
|
34
|
+
};
|
|
35
|
+
borderBottom?: undefined;
|
|
36
|
+
position?: undefined;
|
|
37
|
+
'&::after'?: undefined;
|
|
38
|
+
'& span[class*="MuiTabs-indicator"]'?: undefined;
|
|
39
|
+
'& .MuiTabs-flexContainer'?: undefined;
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
42
|
+
props: {
|
|
43
|
+
size: "large";
|
|
44
|
+
};
|
|
45
|
+
style: {
|
|
46
|
+
borderBottom: string;
|
|
47
|
+
position: "relative";
|
|
48
|
+
'&::after': {
|
|
49
|
+
content: string;
|
|
50
|
+
position: string;
|
|
51
|
+
bottom: number;
|
|
52
|
+
left: number;
|
|
53
|
+
right: number;
|
|
54
|
+
height: string;
|
|
55
|
+
width: string;
|
|
56
|
+
backgroundColor: string;
|
|
57
|
+
};
|
|
58
|
+
'& span[class*="MuiTabs-indicator"]': {
|
|
59
|
+
display: string;
|
|
60
|
+
};
|
|
61
|
+
'& .MuiTabs-flexContainer': {
|
|
62
|
+
gap: string;
|
|
63
|
+
};
|
|
64
|
+
'& .MuiTab-root': {
|
|
65
|
+
borderRadius: string;
|
|
66
|
+
border: string;
|
|
67
|
+
borderBottom: string;
|
|
68
|
+
padding: string;
|
|
69
|
+
fontSize: string;
|
|
70
|
+
background: string;
|
|
71
|
+
'&:hover': {
|
|
72
|
+
backgroundColor: string;
|
|
73
|
+
borderTop: string;
|
|
74
|
+
borderLeft: string;
|
|
75
|
+
borderRight: string;
|
|
76
|
+
borderBottom: string;
|
|
77
|
+
padding: string;
|
|
78
|
+
};
|
|
79
|
+
'&.Mui-selected': {
|
|
80
|
+
border: string;
|
|
81
|
+
background: string;
|
|
82
|
+
position: string;
|
|
83
|
+
'&::after': {
|
|
84
|
+
content: string;
|
|
85
|
+
position: string;
|
|
86
|
+
bottom: number;
|
|
87
|
+
left: number;
|
|
88
|
+
right: number;
|
|
89
|
+
height: string;
|
|
90
|
+
backgroundColor: string;
|
|
91
|
+
zIndex: string;
|
|
92
|
+
};
|
|
93
|
+
'&:hover': {
|
|
94
|
+
borderTop: string;
|
|
95
|
+
borderLeft: string;
|
|
96
|
+
borderRight: string;
|
|
97
|
+
borderBottom: string;
|
|
98
|
+
backgroundColor: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
'&:hover:not(.Mui-selected)'?: undefined;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
})[];
|
|
105
|
+
styleOverrides: {
|
|
106
|
+
root: {
|
|
107
|
+
minHeight: string;
|
|
108
|
+
borderBottom: string;
|
|
109
|
+
};
|
|
110
|
+
indicator: {
|
|
111
|
+
backgroundColor: string;
|
|
112
|
+
height: string;
|
|
113
|
+
};
|
|
114
|
+
flexContainer: {
|
|
115
|
+
display: string;
|
|
116
|
+
marginBottom: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
MuiTab: {
|
|
121
|
+
defaultProps: {
|
|
122
|
+
disableRipple: boolean;
|
|
123
|
+
};
|
|
124
|
+
styleOverrides: {
|
|
125
|
+
root: {
|
|
126
|
+
fontFamily: string;
|
|
127
|
+
fontWeight: string;
|
|
128
|
+
textTransform: string;
|
|
129
|
+
color: string;
|
|
130
|
+
display: string;
|
|
131
|
+
minHeight: string;
|
|
132
|
+
minWidth: string;
|
|
133
|
+
border: string;
|
|
134
|
+
borderBottom: string;
|
|
135
|
+
background: string;
|
|
136
|
+
backgroundColor: string;
|
|
137
|
+
cursor: string;
|
|
138
|
+
padding: string;
|
|
139
|
+
fontSize: string;
|
|
140
|
+
'&:hover': {
|
|
141
|
+
backgroundColor: string;
|
|
142
|
+
borderBottom: string;
|
|
143
|
+
'&:not(.Mui-selected)': {
|
|
144
|
+
paddingBottom: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
'&.Mui-selected': {
|
|
148
|
+
color: string;
|
|
149
|
+
fontWeight: string;
|
|
150
|
+
borderBottom: string;
|
|
151
|
+
'&:hover': {
|
|
152
|
+
borderBottom: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
'&.Mui-focusVisible': {
|
|
156
|
+
outline: string;
|
|
157
|
+
outlineOffset: string;
|
|
158
|
+
borderRadius: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const MUIGatorTextFieldOverrides: {
|
|
2
|
+
MuiInputLabel: {
|
|
3
|
+
defaultProps: {
|
|
4
|
+
shrink: boolean;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
MuiInputBase: {
|
|
8
|
+
styleOverrides: {
|
|
9
|
+
root: {
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
lineHeight: string;
|
|
13
|
+
background: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
border: string;
|
|
16
|
+
marginTop: string;
|
|
17
|
+
'&:before': {
|
|
18
|
+
display: string;
|
|
19
|
+
};
|
|
20
|
+
'&:after': {
|
|
21
|
+
display: string;
|
|
22
|
+
};
|
|
23
|
+
'&:hover': {
|
|
24
|
+
borderColor: string;
|
|
25
|
+
};
|
|
26
|
+
'&.Mui-focused': {
|
|
27
|
+
outline: string;
|
|
28
|
+
};
|
|
29
|
+
'&.Mui-disabled': {
|
|
30
|
+
background: string;
|
|
31
|
+
color: string;
|
|
32
|
+
borderColor: string;
|
|
33
|
+
};
|
|
34
|
+
'&.Mui-error': {
|
|
35
|
+
borderColor: string;
|
|
36
|
+
};
|
|
37
|
+
'&.Mui-readOnly': {
|
|
38
|
+
background: string;
|
|
39
|
+
borderColor: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
input: {
|
|
43
|
+
padding: number;
|
|
44
|
+
color: string;
|
|
45
|
+
fontSize: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
'&::placeholder': {
|
|
48
|
+
color: string;
|
|
49
|
+
opacity: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
MuiOutlinedInput: {
|
|
55
|
+
defaultProps: {
|
|
56
|
+
notched: boolean;
|
|
57
|
+
};
|
|
58
|
+
styleOverrides: {
|
|
59
|
+
root: {
|
|
60
|
+
padding: number;
|
|
61
|
+
fieldset: {
|
|
62
|
+
display: string;
|
|
63
|
+
};
|
|
64
|
+
input: {
|
|
65
|
+
padding: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
MuiFilledInput: {
|
|
71
|
+
defaultProps: {
|
|
72
|
+
disableUnderline: boolean;
|
|
73
|
+
};
|
|
74
|
+
styleOverrides: {
|
|
75
|
+
root: {
|
|
76
|
+
backgroundColor: string;
|
|
77
|
+
'&:hover': {
|
|
78
|
+
backgroundColor: string;
|
|
79
|
+
};
|
|
80
|
+
'&.Mui-focused': {
|
|
81
|
+
backgroundColor: string;
|
|
82
|
+
};
|
|
83
|
+
'&.Mui-disabled': {
|
|
84
|
+
backgroundColor: string;
|
|
85
|
+
};
|
|
86
|
+
'&.Mui-readOnly': {
|
|
87
|
+
backgroundColor: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
input: {
|
|
91
|
+
padding: number;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
MuiTextField: {
|
|
96
|
+
defaultProps: {
|
|
97
|
+
variant: "standard";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare const gatorColorValues: {
|
|
2
|
+
brand: {
|
|
3
|
+
main: string;
|
|
4
|
+
light: string;
|
|
5
|
+
dark: string;
|
|
6
|
+
contrastText: string;
|
|
7
|
+
};
|
|
8
|
+
error: {
|
|
9
|
+
main: string;
|
|
10
|
+
light: string;
|
|
11
|
+
dark: string;
|
|
12
|
+
contrastText: string;
|
|
13
|
+
};
|
|
14
|
+
success: {
|
|
15
|
+
main: string;
|
|
16
|
+
light: string;
|
|
17
|
+
dark: string;
|
|
18
|
+
contrastText: string;
|
|
19
|
+
};
|
|
20
|
+
warning: {
|
|
21
|
+
main: string;
|
|
22
|
+
light: string;
|
|
23
|
+
dark: string;
|
|
24
|
+
contrastText: string;
|
|
25
|
+
};
|
|
26
|
+
info: {
|
|
27
|
+
main: string;
|
|
28
|
+
light: string;
|
|
29
|
+
dark: string;
|
|
30
|
+
contrastText: string;
|
|
31
|
+
};
|
|
32
|
+
ai: {
|
|
33
|
+
main: string;
|
|
34
|
+
light: string;
|
|
35
|
+
dark: string;
|
|
36
|
+
contrastText: string;
|
|
37
|
+
};
|
|
38
|
+
secondary: {
|
|
39
|
+
main: string;
|
|
40
|
+
light: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
contrastText: string;
|
|
43
|
+
};
|
|
44
|
+
neutral: {
|
|
45
|
+
0: string;
|
|
46
|
+
10: string;
|
|
47
|
+
20: string;
|
|
48
|
+
30: string;
|
|
49
|
+
35: string;
|
|
50
|
+
40: string;
|
|
51
|
+
45: string;
|
|
52
|
+
50: string;
|
|
53
|
+
60: string;
|
|
54
|
+
70: string;
|
|
55
|
+
80: string;
|
|
56
|
+
};
|
|
57
|
+
text: {
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
disabled: string;
|
|
61
|
+
};
|
|
62
|
+
background: {
|
|
63
|
+
default: string;
|
|
64
|
+
paper: string;
|
|
65
|
+
};
|
|
66
|
+
divider: string;
|
|
67
|
+
};
|
|
68
|
+
export declare const gatorTypography: {
|
|
69
|
+
fontFamily: {
|
|
70
|
+
body: string;
|
|
71
|
+
headings: string;
|
|
72
|
+
};
|
|
73
|
+
fontWeight: {
|
|
74
|
+
regular: number;
|
|
75
|
+
medium: number;
|
|
76
|
+
semiBold: number;
|
|
77
|
+
bold: number;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare const gatorSpacing = 8;
|
|
81
|
+
export declare const gatorBorderRadius: {
|
|
82
|
+
none: number;
|
|
83
|
+
xsmall: number;
|
|
84
|
+
small: number;
|
|
85
|
+
medium: number;
|
|
86
|
+
large: number;
|
|
87
|
+
xlarge: number;
|
|
88
|
+
xxlarge: number;
|
|
89
|
+
xxxlarge: number;
|
|
90
|
+
circle: number;
|
|
91
|
+
};
|
|
92
|
+
export declare const gatorShadows: [string, ...string[]];
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PaletteColor, PaletteColorOptions } from '@mui/material/styles';
|
|
2
|
+
declare module '@mui/material/Badge' {
|
|
3
|
+
interface BadgePropsVariantOverrides {
|
|
4
|
+
tile: true;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
declare module '@mui/material/Button' {
|
|
8
|
+
interface ButtonPropsColorOverrides {
|
|
9
|
+
ai: true;
|
|
10
|
+
neutral: true;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare module '@mui/material/Chip' {
|
|
14
|
+
interface ChipPropsColorOverrides {
|
|
15
|
+
ai: true;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
declare module '@mui/material/Fab' {
|
|
19
|
+
interface FabPropsSizeOverrides {
|
|
20
|
+
xlarge: true;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
declare module '@mui/material/Paper' {
|
|
24
|
+
interface PaperPropsVariantOverrides {
|
|
25
|
+
elevated: true;
|
|
26
|
+
'small-left': true;
|
|
27
|
+
'small-right': true;
|
|
28
|
+
'full-image': true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
declare module '@mui/material/styles' {
|
|
32
|
+
interface Palette {
|
|
33
|
+
ai: PaletteColor;
|
|
34
|
+
neutral: PaletteColor;
|
|
35
|
+
}
|
|
36
|
+
interface PaletteOptions {
|
|
37
|
+
ai?: PaletteColorOptions;
|
|
38
|
+
neutral?: PaletteColorOptions;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
declare module '@mui/material/Tabs' {
|
|
42
|
+
interface TabsOwnProps {
|
|
43
|
+
/**
|
|
44
|
+
* The size of the tabs.
|
|
45
|
+
* @default 'medium'
|
|
46
|
+
*/
|
|
47
|
+
size?: 'small' | 'medium' | 'large';
|
|
48
|
+
}
|
|
49
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncino/styles",
|
|
3
3
|
"author": "nCino",
|
|
4
|
-
"version": "9.2.0
|
|
4
|
+
"version": "9.2.0",
|
|
5
5
|
"description": "nCino Shared Web Component Styling",
|
|
6
6
|
"license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
|
|
7
7
|
"publishConfig": {
|
|
@@ -12,17 +12,46 @@
|
|
|
12
12
|
"url": "git@github.com:ncino/force-sdk-web-components.git"
|
|
13
13
|
},
|
|
14
14
|
"private": false,
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"typesVersions": {
|
|
17
|
+
"*": {
|
|
18
|
+
"*": [
|
|
19
|
+
"./dist/types/index.d.ts"
|
|
20
|
+
],
|
|
21
|
+
"gator/themes/MUIGatorTheme": [
|
|
22
|
+
"./dist/types/gator/themes/MUIGatorTheme.d.ts"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
15
26
|
"exports": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/types/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./gator": {
|
|
32
|
+
"import": "./dist/gator/gator-global-styles.css"
|
|
33
|
+
},
|
|
34
|
+
"./gator/themes/MUIGatorTheme": {
|
|
35
|
+
"types": "./dist/types/gator/themes/MUIGatorTheme.d.ts",
|
|
36
|
+
"import": "./dist/gator/themes/MUIGatorTheme.js"
|
|
37
|
+
},
|
|
38
|
+
"./gator/tokens/primitive": {
|
|
39
|
+
"import": "./dist/gator/tokens/primitive.tokens.css"
|
|
40
|
+
},
|
|
41
|
+
"./gator/tokens/primitive-inline": {
|
|
42
|
+
"types": "./dist/types/gator/tokens/primitive-inline.d.ts",
|
|
43
|
+
"import": "./dist/gator/tokens/primitive-inline.js"
|
|
44
|
+
},
|
|
45
|
+
"./gator/tokens/semantic": {
|
|
46
|
+
"import": "./dist/gator/tokens/semantic.tokens.css"
|
|
47
|
+
},
|
|
48
|
+
"./gator/tokens/semantic-inline": {
|
|
49
|
+
"types": "./dist/types/gator/tokens/semantic-inline.d.ts",
|
|
50
|
+
"import": "./dist/gator/tokens/semantic-inline.js"
|
|
51
|
+
}
|
|
20
52
|
},
|
|
21
53
|
"files": [
|
|
22
|
-
"
|
|
23
|
-
"src/**/*.d.ts",
|
|
24
|
-
"src/**/*.css",
|
|
25
|
-
"src/**/*.woff2"
|
|
54
|
+
"dist"
|
|
26
55
|
],
|
|
27
56
|
"bugs": {
|
|
28
57
|
"url": "https://github.com/ncino/force-sdk-web-components/issues"
|
|
@@ -31,6 +60,16 @@
|
|
|
31
60
|
"@mui/icons-material": "^7.3.4",
|
|
32
61
|
"@mui/material": "^7.3.4"
|
|
33
62
|
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@types/react": "^19",
|
|
65
|
+
"@types/react-dom": "^19.2.3",
|
|
66
|
+
"glob": "^13.0.0",
|
|
67
|
+
"rimraf": "^6.1.2",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"vite": "7.3.0",
|
|
70
|
+
"vite-plugin-dts": "4.5.4",
|
|
71
|
+
"vite-plugin-static-copy": "^3.1.4"
|
|
72
|
+
},
|
|
34
73
|
"peerDependencies": {
|
|
35
74
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
36
75
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
@@ -38,6 +77,7 @@
|
|
|
38
77
|
"homepage": "https://github.com/ncino/force-sdk-web-components#readme",
|
|
39
78
|
"customElements": "custom-elements.json",
|
|
40
79
|
"scripts": {
|
|
41
|
-
"build": "
|
|
80
|
+
"build": "rimraf dist && vite build",
|
|
81
|
+
"build:watch": "rimraf dist && vite build --watch"
|
|
42
82
|
}
|
|
43
83
|
}
|