@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
|
@@ -1,167 +0,0 @@
|
|
|
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 const MUIGatorTabsOverrides = {
|
|
8
|
-
MuiTabs: {
|
|
9
|
-
defaultProps: {
|
|
10
|
-
size: 'medium',
|
|
11
|
-
TabIndicatorProps: {
|
|
12
|
-
style: {
|
|
13
|
-
height: '2px'
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
variants: [
|
|
18
|
-
{
|
|
19
|
-
props: { size: 'small' },
|
|
20
|
-
style: {
|
|
21
|
-
// Style child Tab components for small size
|
|
22
|
-
'& .MuiTab-root': {
|
|
23
|
-
padding: 'var(--spacing-6) var(--spacing-8)',
|
|
24
|
-
fontSize: 'var(--font-size-subtitle-2)',
|
|
25
|
-
|
|
26
|
-
'&:hover:not(.Mui-selected)': {
|
|
27
|
-
paddingBottom: 'calc(var(--spacing-6) - 1px)'
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
props: { size: 'large' },
|
|
34
|
-
style: {
|
|
35
|
-
borderBottom: 'none',
|
|
36
|
-
position: 'relative',
|
|
37
|
-
|
|
38
|
-
'&::after': {
|
|
39
|
-
content: '""',
|
|
40
|
-
position: 'absolute',
|
|
41
|
-
bottom: 0,
|
|
42
|
-
left: 0,
|
|
43
|
-
right: 0,
|
|
44
|
-
height: '1px',
|
|
45
|
-
width: '100%',
|
|
46
|
-
backgroundColor: 'var(--color-border-secondary)'
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
'& span[class*="MuiTabs-indicator"]': {
|
|
50
|
-
display: 'none !important'
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
'& .MuiTabs-flexContainer': {
|
|
54
|
-
gap: 'var(--spacing-5)'
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
// Style child Tab components for large size (card style)
|
|
58
|
-
'& .MuiTab-root': {
|
|
59
|
-
borderRadius: 'var(--border-radius-medium) var(--border-radius-medium) 0 0',
|
|
60
|
-
border: '1px solid var(--color-border-tertiary)',
|
|
61
|
-
borderBottom: '1px solid var(--color-border-secondary)',
|
|
62
|
-
padding: 'var(--spacing-8) var(--spacing-9)',
|
|
63
|
-
fontSize: 'var(--font-size-body-1)',
|
|
64
|
-
background: 'var(--color-surface-primary)',
|
|
65
|
-
|
|
66
|
-
'&:hover': {
|
|
67
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
68
|
-
borderTop: '1px solid var(--color-border-secondary)',
|
|
69
|
-
borderLeft: '1px solid var(--color-border-secondary)',
|
|
70
|
-
borderRight: '1px solid var(--color-border-secondary)',
|
|
71
|
-
borderBottom: '1px solid var(--color-border-secondary)',
|
|
72
|
-
padding: 'var(--spacing-8) var(--spacing-9)'
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
'&.Mui-selected': {
|
|
76
|
-
border: '1px solid var(--color-border-secondary)',
|
|
77
|
-
background: 'var(--color-surface-primary)',
|
|
78
|
-
position: 'relative',
|
|
79
|
-
|
|
80
|
-
'&::after': {
|
|
81
|
-
content: '""',
|
|
82
|
-
position: 'absolute',
|
|
83
|
-
bottom: 0,
|
|
84
|
-
left: 0,
|
|
85
|
-
right: 0,
|
|
86
|
-
height: '2px',
|
|
87
|
-
backgroundColor: 'var(--color-surface-primary)',
|
|
88
|
-
zIndex: '10'
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
'&:hover': {
|
|
92
|
-
borderTop: '1px solid var(--color-border-secondary)',
|
|
93
|
-
borderLeft: '1px solid var(--color-border-secondary)',
|
|
94
|
-
borderRight: '1px solid var(--color-border-secondary)',
|
|
95
|
-
borderBottom: '1px solid var(--color-border-inverse)',
|
|
96
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
styleOverrides: {
|
|
104
|
-
root: {
|
|
105
|
-
minHeight: 'unset',
|
|
106
|
-
borderBottom: '1px solid var(--color-border-secondary)'
|
|
107
|
-
},
|
|
108
|
-
indicator: {
|
|
109
|
-
backgroundColor: 'var(--color-border-brand)',
|
|
110
|
-
height: '2px'
|
|
111
|
-
},
|
|
112
|
-
flexContainer: {
|
|
113
|
-
display: 'flex',
|
|
114
|
-
marginBottom: '-1px'
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
MuiTab: {
|
|
119
|
-
defaultProps: {
|
|
120
|
-
disableRipple: true
|
|
121
|
-
},
|
|
122
|
-
styleOverrides: {
|
|
123
|
-
root: {
|
|
124
|
-
fontFamily: 'var(--font-family-body, \'Open Sans\'), sans-serif',
|
|
125
|
-
fontWeight: 'var(--font-weight-regular)',
|
|
126
|
-
textTransform: 'none',
|
|
127
|
-
color: 'var(--color-text-primary)',
|
|
128
|
-
display: 'inline-flex',
|
|
129
|
-
minHeight: 'unset',
|
|
130
|
-
minWidth: 'unset',
|
|
131
|
-
border: 'none',
|
|
132
|
-
borderBottom: '1px solid var(--color-border-secondary)',
|
|
133
|
-
background: 'var(--color-surface-primary)',
|
|
134
|
-
backgroundColor: 'unset',
|
|
135
|
-
cursor: 'pointer',
|
|
136
|
-
|
|
137
|
-
// Default (medium) size
|
|
138
|
-
padding: 'var(--spacing-5) var(--spacing-8)',
|
|
139
|
-
fontSize: 'var(--font-size-subtitle-1)',
|
|
140
|
-
|
|
141
|
-
'&:hover': {
|
|
142
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
143
|
-
borderBottom: '2px solid var(--color-border-brand)',
|
|
144
|
-
|
|
145
|
-
'&:not(.Mui-selected)': {
|
|
146
|
-
paddingBottom: 'calc(var(--spacing-5) - 1px)'
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
'&.Mui-selected': {
|
|
151
|
-
color: 'var(--color-text-primary)',
|
|
152
|
-
fontWeight: 'bold',
|
|
153
|
-
borderBottom: '2px solid var(--color-border-brand)',
|
|
154
|
-
'&:hover': {
|
|
155
|
-
borderBottom: '2px solid var(--color-border-brand)'
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
'&.Mui-focusVisible': {
|
|
160
|
-
outline: '2px solid var(--color-border-focus)',
|
|
161
|
-
outlineOffset: '-6px',
|
|
162
|
-
borderRadius: 'var(--border-radius-medium)'
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
export const MUIGatorTextFieldOverrides = {
|
|
2
|
-
MuiInputLabel: {
|
|
3
|
-
defaultProps: {
|
|
4
|
-
shrink: true,
|
|
5
|
-
},
|
|
6
|
-
},
|
|
7
|
-
MuiInputBase: {
|
|
8
|
-
styleOverrides: {
|
|
9
|
-
root: {
|
|
10
|
-
borderRadius: 'var(--border-radius-x-small)',
|
|
11
|
-
fontSize: 'var(--font-size-body-1)',
|
|
12
|
-
lineHeight: 'var(--line-height-body-1)',
|
|
13
|
-
background: 'var(--color-surface-primary)',
|
|
14
|
-
padding: 'var(--spacing-7) var(--spacing-8)',
|
|
15
|
-
border: '1px solid var(--color-border-primary)',
|
|
16
|
-
marginTop: '0 !important',
|
|
17
|
-
'&:before': {
|
|
18
|
-
display: 'none',
|
|
19
|
-
},
|
|
20
|
-
'&:after': {
|
|
21
|
-
display: 'none',
|
|
22
|
-
},
|
|
23
|
-
'&:hover': {
|
|
24
|
-
borderColor: 'var(--color-border-brand-secondary)',
|
|
25
|
-
},
|
|
26
|
-
'&.Mui-focused': {
|
|
27
|
-
outline: '2px solid var(--color-border-focus)',
|
|
28
|
-
},
|
|
29
|
-
'&.Mui-disabled': {
|
|
30
|
-
background: 'var(--color-surface-tertiary)',
|
|
31
|
-
color: 'var(--color-text-disabled)',
|
|
32
|
-
borderColor: 'transparent',
|
|
33
|
-
},
|
|
34
|
-
'&.Mui-error': {
|
|
35
|
-
borderColor: 'var(--color-border-error-secondary)',
|
|
36
|
-
},
|
|
37
|
-
'&.Mui-readOnly': {
|
|
38
|
-
background: 'var(--color-surface-tertiary)',
|
|
39
|
-
borderColor: 'var(--color-border-secondary)',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
input: {
|
|
43
|
-
padding: 0,
|
|
44
|
-
color: 'var(--color-text-primary)',
|
|
45
|
-
fontSize: 'var(--font-size-body-1)',
|
|
46
|
-
lineHeight: 'var(--line-height-body-1)',
|
|
47
|
-
'&::placeholder': {
|
|
48
|
-
color: 'var(--color-text-placeholder)',
|
|
49
|
-
opacity: 1
|
|
50
|
-
},
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
MuiOutlinedInput: {
|
|
55
|
-
defaultProps: {
|
|
56
|
-
notched: false,
|
|
57
|
-
},
|
|
58
|
-
styleOverrides: {
|
|
59
|
-
root: {
|
|
60
|
-
padding: 0,
|
|
61
|
-
'fieldset': {
|
|
62
|
-
display: 'none'
|
|
63
|
-
},
|
|
64
|
-
input: {
|
|
65
|
-
padding: 'var(--spacing-7) var(--spacing-8)',
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
MuiFilledInput: {
|
|
71
|
-
defaultProps: {
|
|
72
|
-
disableUnderline: true,
|
|
73
|
-
},
|
|
74
|
-
styleOverrides: {
|
|
75
|
-
root: {
|
|
76
|
-
backgroundColor: 'var(--color-surface-primary)',
|
|
77
|
-
'&:hover': {
|
|
78
|
-
backgroundColor: 'var(--color-surface-primary)',
|
|
79
|
-
},
|
|
80
|
-
'&.Mui-focused': {
|
|
81
|
-
backgroundColor: 'var(--color-surface-primary)',
|
|
82
|
-
},
|
|
83
|
-
'&.Mui-disabled': {
|
|
84
|
-
backgroundColor: 'var(--color-surface-tertiary)',
|
|
85
|
-
},
|
|
86
|
-
'&.Mui-readOnly': {
|
|
87
|
-
backgroundColor: 'var(--color-surface-tertiary)',
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
input: {
|
|
91
|
-
padding: 0
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
MuiTextField: {
|
|
96
|
-
defaultProps: {
|
|
97
|
-
variant: 'standard',
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
export const gatorColorValues = {
|
|
2
|
-
brand: {
|
|
3
|
-
main: '#103656', // --color-brand-30
|
|
4
|
-
light: '#F0F5FA', // --color-brand-0
|
|
5
|
-
dark: '#0D2B45', // --color-brand-40
|
|
6
|
-
contrastText: '#FFFFFF',
|
|
7
|
-
},
|
|
8
|
-
error: {
|
|
9
|
-
main: '#D44011', // --color-red-30
|
|
10
|
-
light: '#FAEBE7', // --color-red-10
|
|
11
|
-
dark: '#AA330E', // --color-red-40
|
|
12
|
-
contrastText: '#FFFFFF',
|
|
13
|
-
},
|
|
14
|
-
success: {
|
|
15
|
-
main: '#22A969', // --color-green-30
|
|
16
|
-
light: '#E9F7F0', // --color-green-10
|
|
17
|
-
dark: '#1B8754', // --color-green-40
|
|
18
|
-
contrastText: '#FFFFFF',
|
|
19
|
-
},
|
|
20
|
-
warning: {
|
|
21
|
-
main: '#EC7000', // --color-orange-30
|
|
22
|
-
light: '#FEF1E6', // --color-orange-10
|
|
23
|
-
dark: '#BD5A00', // --color-orange-40
|
|
24
|
-
contrastText: '#040404', // Dark text for better contrast on orange
|
|
25
|
-
},
|
|
26
|
-
info: {
|
|
27
|
-
main: '#3355FF', // --color-blue-30
|
|
28
|
-
light: '#E8ECFF', // --color-blue-10
|
|
29
|
-
dark: '#2A46D4', // --color-blue-40
|
|
30
|
-
contrastText: '#FFFFFF',
|
|
31
|
-
},
|
|
32
|
-
ai: {
|
|
33
|
-
main: '#8000FF', // --color-purple-30
|
|
34
|
-
light: '#F6EEFF', // --color-purple-10
|
|
35
|
-
dark: '#6600CC', // --color-purple-40
|
|
36
|
-
contrastText: '#FFFFFF',
|
|
37
|
-
},
|
|
38
|
-
secondary: {
|
|
39
|
-
main: '#18A600', // --color-gator-green-30
|
|
40
|
-
light: '#EFFAED', // --color-gator-green-10
|
|
41
|
-
dark: '#107000', // --color-gator-green-40
|
|
42
|
-
contrastText: '#FFFFFF',
|
|
43
|
-
},
|
|
44
|
-
neutral: {
|
|
45
|
-
0: '#FFFFFF', // --color-neutral-0
|
|
46
|
-
10: '#F7F7F7', // --color-neutral-10
|
|
47
|
-
20: '#F2F2F2', // --color-neutral-20
|
|
48
|
-
30: '#E5E5E5', // --color-neutral-30
|
|
49
|
-
35: '#DBDBDB', // --color-neutral-35
|
|
50
|
-
40: '#BFBFBF', // --color-neutral-40
|
|
51
|
-
45: '#808080', // --color-neutral-45
|
|
52
|
-
50: '#6D6D6D', // --color-neutral-50
|
|
53
|
-
60: '#404040', // --color-neutral-60
|
|
54
|
-
70: '#1F1F1F', // --color-neutral-70
|
|
55
|
-
80: '#040404', // --color-neutral-80
|
|
56
|
-
},
|
|
57
|
-
text: {
|
|
58
|
-
primary: '#1F1F1F', // --color-text-primary / --color-neutral-70
|
|
59
|
-
secondary: '#6D6D6D', // --color-text-secondary / --color-neutral-50
|
|
60
|
-
disabled: '#BFBFBF', // --color-text-disabled / --color-neutral-40
|
|
61
|
-
},
|
|
62
|
-
background: {
|
|
63
|
-
default: '#FFFFFF', // --color-background-primary / --color-neutral-0
|
|
64
|
-
paper: '#F7F7F7', // --color-background-secondary / --color-neutral-10
|
|
65
|
-
},
|
|
66
|
-
divider: '#BFBFBF', // --color-border-primary / --color-neutral-50
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export const gatorTypography = {
|
|
70
|
-
fontFamily: {
|
|
71
|
-
body: '"Open Sans", system-ui, -apple-system, sans-serif',
|
|
72
|
-
headings: '"Lexend Deca", system-ui, -apple-system, sans-serif',
|
|
73
|
-
},
|
|
74
|
-
fontWeight: {
|
|
75
|
-
regular: 400,
|
|
76
|
-
medium: 500,
|
|
77
|
-
semiBold: 600,
|
|
78
|
-
bold: 700,
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
// Gator uses 8px base spacing which aligns with MUI's default
|
|
83
|
-
// Gator spacing scale: 1=2px, 2=4px, 3=8px, 4=16px, 6=24px, 7=32px
|
|
84
|
-
// MUI multiplies by 8, so spacing(1)=8px, spacing(2)=16px, etc.
|
|
85
|
-
export const gatorSpacing = 8;
|
|
86
|
-
|
|
87
|
-
export const gatorBorderRadius = {
|
|
88
|
-
none: 0, // --border-radius-no-radius
|
|
89
|
-
xsmall: 2, // --border-radius-x-small (0.125rem = 2px)
|
|
90
|
-
small: 4, // --border-radius-small (0.25rem = 4px)
|
|
91
|
-
medium: 8, // --border-radius-medium (0.5rem = 8px)
|
|
92
|
-
large: 12, // --border-radius-large (0.75rem = 12px)
|
|
93
|
-
xlarge: 16, // --border-radius-x-large (1rem = 16px)
|
|
94
|
-
xxlarge: 24, // --border-radius-xx-large (1.5rem = 24px)
|
|
95
|
-
xxxlarge: 32, // --border-radius-xxx-large (2rem = 32px)
|
|
96
|
-
circle: 9999, // --border-radius-circle
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export const gatorShadows = [
|
|
100
|
-
'none',
|
|
101
|
-
// shadow-1-card
|
|
102
|
-
'0 1px 1.5px 0px rgba(31, 31, 31, 0.04), 0 2px 5px 0px rgba(31, 31, 31, 0.05), 0 3px 9px 6px rgba(31, 31, 31, 0.08)',
|
|
103
|
-
// shadow-2-card-raised
|
|
104
|
-
'0 5px 10px 0px rgba(31, 31, 31, 0.05), 0 7px 14px 0px rgba(31, 31, 31, 0.08), 0 3px 6px 0px rgba(31, 31, 31, 0.04)',
|
|
105
|
-
// shadow-3-dropdown
|
|
106
|
-
'0 7px 12px 0px rgba(31, 31, 31, 0.05), 0 8px 16px 0px rgba(31, 31, 31, 0.08), 0 9px 18px 0px rgba(31, 31, 31, 0.10)',
|
|
107
|
-
// shadow-4-modal
|
|
108
|
-
'0 9px 15px 0px rgba(31, 31, 31, 0.05), 0 10px 20px 0px rgba(31, 31, 31, 0.08), 0 9px 20px 0px rgba(31, 31, 31, 0.10)',
|
|
109
|
-
// Repeat shadow-4-modal for indices 5-24 (MUI requires 25 shadow values)
|
|
110
|
-
...Array(20).fill('0 9px 15px 0px rgba(31, 31, 31, 0.05), 0 10px 20px 0px rgba(31, 31, 31, 0.08), 0 9px 20px 0px rgba(31, 31, 31, 0.10)'),
|
|
111
|
-
] as [string, ...string[]];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MUI Component Type Augmentations for Gator Design System
|
|
3
|
-
*
|
|
4
|
-
* This file extends MUI component prop types to support custom Gator Design System props.
|
|
5
|
-
* These augmentations work in conjunction with the theme variants defined in the Gator theme.
|
|
6
|
-
*
|
|
7
|
-
* Setup Instructions:
|
|
8
|
-
* Add this file to your TypeScript configuration to enable type support for custom props.
|
|
9
|
-
*
|
|
10
|
-
* In your tsconfig.json, add to the "include" array:
|
|
11
|
-
* {
|
|
12
|
-
* "include": [
|
|
13
|
-
* "node_modules/@ncino/styles/src/gator/types/mui-augmentations.d.ts"
|
|
14
|
-
* ]
|
|
15
|
-
* }
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
// Augment Tabs to support custom 'size' prop
|
|
19
|
-
declare module '@mui/material/Tabs' {
|
|
20
|
-
interface TabsOwnProps {
|
|
21
|
-
/**
|
|
22
|
-
* The size of the tabs.
|
|
23
|
-
* @default 'medium'
|
|
24
|
-
*/
|
|
25
|
-
size?: 'small' | 'medium' | 'large';
|
|
26
|
-
}
|
|
27
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|