@superdispatch/ui 0.21.8 → 0.21.13

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.
Files changed (231) hide show
  1. package/.babelrc.js +5 -0
  2. package/.turbo/turbo-version.log +28 -0
  3. package/package.json +65 -39
  4. package/pkg/README.md +30 -0
  5. package/{dist-types → pkg/dist-types}/index.d.ts +364 -364
  6. package/pkg/package.json +39 -0
  7. package/playroom.ts +31 -0
  8. package/src/__tests__/index.spec.ts +134 -0
  9. package/src/adaptive-toolbar/AdaptiveToolbar.stories.tsx +50 -0
  10. package/src/adaptive-toolbar/AdaptiveToolbar.tsx +199 -0
  11. package/src/adaptive-toolbar/__tests__/AdaptiveToolbar.spec.tsx +11 -0
  12. package/src/adaptive-vertical-toolbar/AdaptiveVerticalToolbar.stories.tsx +49 -0
  13. package/src/adaptive-vertical-toolbar/AdaptiveVerticalToolbar.tsx +171 -0
  14. package/src/app-bar/AppBar.stories.tsx +62 -0
  15. package/src/app-bar/AppBarOverrides.ts +9 -0
  16. package/src/app-bar/__tests__/AppBar.spec.tsx +86 -0
  17. package/src/autocomplete/Autocomplete.stories.tsx +76 -0
  18. package/src/autocomplete/AutocompleteOverrides.tsx +58 -0
  19. package/src/autocomplete/__tests__/Autocomplete.spec.tsx +323 -0
  20. package/src/avatar/Avatar.stories.tsx +17 -0
  21. package/src/avatar/AvatarOverrides.ts +24 -0
  22. package/src/avatar/__tests__/Avatar.spec.tsx +71 -0
  23. package/src/avatar-button/AvatarButton.stories.tsx +153 -0
  24. package/src/avatar-button/AvatarButton.tsx +223 -0
  25. package/src/avatar-button/__tests__/AvatarButton.spec.tsx +126 -0
  26. package/src/button/Button.tsx +51 -0
  27. package/src/button/ButtonOverrides.ts +375 -0
  28. package/src/button/__tests__/Button.spec.tsx +599 -0
  29. package/src/card/Card.stories.tsx +39 -0
  30. package/src/card/CardOverrides.ts +9 -0
  31. package/src/card/__tests__/Card.spec.tsx +68 -0
  32. package/src/card-button/CardButton.stories.tsx +36 -0
  33. package/src/card-button/CardButton.tsx +202 -0
  34. package/src/card-button/__tests__/CardButton.spec.tsx +95 -0
  35. package/src/checkbox/CheckboxField.stories.tsx +61 -0
  36. package/src/checkbox/CheckboxField.tsx +56 -0
  37. package/src/checkbox/CheckboxGroudField.tsx +53 -0
  38. package/src/checkbox/CheckboxOverrides.tsx +55 -0
  39. package/src/checkbox/__tests__/Checkbox.spec.tsx +105 -0
  40. package/src/chip/Chip.stories.tsx +26 -0
  41. package/src/chip/ChipOverrides.tsx +111 -0
  42. package/src/chip/__tests__/Chip.spec.tsx +308 -0
  43. package/src/columns/Column.tsx +124 -0
  44. package/src/columns/Columns.stories.tsx +426 -0
  45. package/src/columns/Columns.tsx +76 -0
  46. package/src/description-list/DescriptionList.spec.tsx +137 -0
  47. package/src/description-list/DescriptionList.stories.tsx +148 -0
  48. package/src/description-list/DescriptionList.tsx +170 -0
  49. package/src/dialog/Dialog.playroom.tsx +24 -0
  50. package/src/dialog/Dialog.stories.tsx +60 -0
  51. package/src/dialog/DialogOverrides.ts +39 -0
  52. package/src/dialog/__tests__/Dialog.spec.tsx +219 -0
  53. package/src/drawer/Drawer.playroom.tsx +22 -0
  54. package/src/drawer/Drawer.stories.tsx +194 -0
  55. package/src/drawer/DrawerActions.tsx +69 -0
  56. package/src/drawer/DrawerContent.tsx +30 -0
  57. package/src/drawer/DrawerList.tsx +60 -0
  58. package/src/drawer/DrawerOverrides.ts +19 -0
  59. package/src/drawer/DrawerTitle.tsx +143 -0
  60. package/src/drawer/__tests__/Drawer.spec.tsx +227 -0
  61. package/src/dropdown-button/DropdownButton.stories.tsx +15 -0
  62. package/src/dropdown-button/DropdownButton.tsx +131 -0
  63. package/src/grid/GridStack.tsx +45 -0
  64. package/src/grid/InlineGrid.tsx +56 -0
  65. package/src/icon-button/IconButton.stories.tsx +53 -0
  66. package/src/icon-button/IconButtonOverrides.ts +32 -0
  67. package/src/icon-button/__tests__/IconButton.spec.tsx +124 -0
  68. package/src/index.ts +47 -0
  69. package/src/info-card/InfoCard.stories.tsx +29 -0
  70. package/src/info-card/InfoCard.tsx +95 -0
  71. package/src/info-card/__tests__/InfoCard.spec.tsx +22 -0
  72. package/src/info-tooltip/InfoTooltip.stories.tsx +77 -0
  73. package/src/info-tooltip/InfoTooltip.tsx +72 -0
  74. package/src/info-tooltip/__tests__/InfoTooltip.spec.tsx +166 -0
  75. package/src/inline/Inline.stories.tsx +135 -0
  76. package/src/inline/Inline.tsx +144 -0
  77. package/src/link/Link.stories.tsx +41 -0
  78. package/src/link/LinkOverrides.ts +43 -0
  79. package/src/link/__tests__/Link.spec.tsx +98 -0
  80. package/src/list/ListOverrides.ts +11 -0
  81. package/src/list/__tests__/List.spec.tsx +182 -0
  82. package/src/menu/Menu.stories.tsx +35 -0
  83. package/src/menu/MenuOverrides.ts +17 -0
  84. package/src/menu/__tests__/Menu.spec.tsx +99 -0
  85. package/src/number-field/NumberField.stories.tsx +123 -0
  86. package/src/number-field/NumberField.tsx +98 -0
  87. package/src/overflow-text/OverflowText.stories.tsx +32 -0
  88. package/src/overflow-text/OverflowText.tsx +114 -0
  89. package/src/overflow-text/__tests__/OverflowText.spec.tsx +24 -0
  90. package/src/pagination/Pagination.stories.tsx +36 -0
  91. package/src/pagination/PaginationOverrides.ts +47 -0
  92. package/src/pagination/__tests__/Pagination.spec.tsx +228 -0
  93. package/src/paper/PaperOverrides.ts +10 -0
  94. package/src/paper/__tests__/Paper.spec.tsx +155 -0
  95. package/src/props/AlignProps.ts +22 -0
  96. package/src/props/CollapseProp.ts +13 -0
  97. package/src/props/ResponsiveProp.ts +65 -0
  98. package/src/props/SpaceProp.ts +40 -0
  99. package/src/radio/RadioField.stories.tsx +42 -0
  100. package/src/radio/RadioField.tsx +55 -0
  101. package/src/radio/RadioGroupField.tsx +64 -0
  102. package/src/radio/RadioOverrides.tsx +51 -0
  103. package/src/radio/__tests__/Radio.spec.tsx +90 -0
  104. package/src/responsive/CollapseBreakpoint.ts +21 -0
  105. package/src/responsive/MinBreakpoint.ts +21 -0
  106. package/src/responsive/ResponsiveContext.tsx +57 -0
  107. package/src/snackbar/Snackbar.stories.tsx +196 -0
  108. package/src/snackbar/Snackbar.tsx +83 -0
  109. package/src/snackbar/SnackbarContent.tsx +147 -0
  110. package/src/snackbar/SnackbarOverrides.ts +23 -0
  111. package/src/snackbar/SnackbarStack.tsx +160 -0
  112. package/src/snackbar/__tests__/Snackbar.spec.tsx +196 -0
  113. package/src/stack/Stack.stories.tsx +113 -0
  114. package/src/stack/Stack.tsx +86 -0
  115. package/src/svg-icon/SvgIcon.stories.tsx +29 -0
  116. package/src/svg-icon/SvgIconOverrides.ts +32 -0
  117. package/src/svg-icon/__tests__/SvgIcon.spec.tsx +67 -0
  118. package/src/switch/Switch.stories.tsx +60 -0
  119. package/src/switch/SwitchOverrides.ts +88 -0
  120. package/src/switch/__tests__/Switch.spec.tsx +204 -0
  121. package/src/tabs/Tabs.stories.tsx +40 -0
  122. package/src/tabs/TabsOverrides.ts +45 -0
  123. package/src/tabs/__tests__/Tabs.spec.tsx +226 -0
  124. package/src/tag/Tag.stories.tsx +53 -0
  125. package/src/tag/Tag.tsx +130 -0
  126. package/src/tag/__tests__/Tag.spec.tsx +82 -0
  127. package/src/text-field/TextField.stories.tsx +50 -0
  128. package/src/text-field/TextFieldOverrides.tsx +149 -0
  129. package/src/text-field/__tests__/TextField.spec.tsx +662 -0
  130. package/src/theme/Color.ts +117 -0
  131. package/src/theme/SuperDispatchTheme.ts +3 -0
  132. package/src/theme/ThemeProvider.tsx +179 -0
  133. package/src/theme/__tests__/CssBaseline.spec.tsx +49 -0
  134. package/src/theme/__tests__/ThemeProvider.spec.ts +40 -0
  135. package/src/theme/__tests__/__snapshots__/ThemeProvider.spec.ts.snap +204 -0
  136. package/src/tiles/Tiles.stories.tsx +69 -0
  137. package/src/tiles/Tiles.tsx +163 -0
  138. package/src/tiles/__tests__/Tiles.spec.tsx +221 -0
  139. package/src/toolbar/ToolbarOverrides.ts +14 -0
  140. package/src/toolbar/__tests__/Toolbar.spec.tsx +50 -0
  141. package/src/tooltip/Tooltip.stories.tsx +32 -0
  142. package/src/tooltip/TooltipOverrides.ts +34 -0
  143. package/src/tooltip/__tests__/Tooltip.spec.tsx +182 -0
  144. package/src/typography/Typography.stories.tsx +132 -0
  145. package/src/typography/TypographyOverrides.ts +125 -0
  146. package/src/typography/__tests__/Typography.spec.tsx +253 -0
  147. package/src/utils/ExitTransitionPlaceholder.tsx +22 -0
  148. package/src/utils/ResizeObserver.tsx +28 -0
  149. package/src/utils/VisibilityObserver.tsx +75 -0
  150. package/src/utils/__tests__/ExitTransitionPlaceholder.spec.tsx +34 -0
  151. package/src/utils/isEmptyReactNode.ts +11 -0
  152. package/src/utils/mergeRefs.ts +21 -0
  153. package/src/utils/renderChildren.ts +10 -0
  154. package/src/utils/useUID.ts +9 -0
  155. package/tsconfig.json +19 -0
  156. package/LICENSE +0 -21
  157. /package/{dist-node → pkg/dist-node}/index.js +0 -0
  158. /package/{dist-node → pkg/dist-node}/index.js.map +0 -0
  159. /package/{dist-src → pkg/dist-src}/adaptive-toolbar/AdaptiveToolbar.js +0 -0
  160. /package/{dist-src → pkg/dist-src}/adaptive-vertical-toolbar/AdaptiveVerticalToolbar.js +0 -0
  161. /package/{dist-src → pkg/dist-src}/app-bar/AppBarOverrides.js +0 -0
  162. /package/{dist-src → pkg/dist-src}/autocomplete/AutocompleteOverrides.js +0 -0
  163. /package/{dist-src → pkg/dist-src}/avatar/AvatarOverrides.js +0 -0
  164. /package/{dist-src → pkg/dist-src}/avatar-button/AvatarButton.js +0 -0
  165. /package/{dist-src → pkg/dist-src}/button/Button.js +0 -0
  166. /package/{dist-src → pkg/dist-src}/button/ButtonOverrides.js +0 -0
  167. /package/{dist-src → pkg/dist-src}/card/CardOverrides.js +0 -0
  168. /package/{dist-src → pkg/dist-src}/card-button/CardButton.js +0 -0
  169. /package/{dist-src → pkg/dist-src}/checkbox/CheckboxField.js +0 -0
  170. /package/{dist-src → pkg/dist-src}/checkbox/CheckboxGroudField.js +0 -0
  171. /package/{dist-src → pkg/dist-src}/checkbox/CheckboxOverrides.js +0 -0
  172. /package/{dist-src → pkg/dist-src}/chip/ChipOverrides.js +0 -0
  173. /package/{dist-src → pkg/dist-src}/columns/Column.js +0 -0
  174. /package/{dist-src → pkg/dist-src}/columns/Columns.js +0 -0
  175. /package/{dist-src → pkg/dist-src}/description-list/DescriptionList.js +0 -0
  176. /package/{dist-src → pkg/dist-src}/dialog/DialogOverrides.js +0 -0
  177. /package/{dist-src → pkg/dist-src}/drawer/DrawerActions.js +0 -0
  178. /package/{dist-src → pkg/dist-src}/drawer/DrawerContent.js +0 -0
  179. /package/{dist-src → pkg/dist-src}/drawer/DrawerList.js +0 -0
  180. /package/{dist-src → pkg/dist-src}/drawer/DrawerOverrides.js +0 -0
  181. /package/{dist-src → pkg/dist-src}/drawer/DrawerTitle.js +0 -0
  182. /package/{dist-src → pkg/dist-src}/dropdown-button/DropdownButton.js +0 -0
  183. /package/{dist-src → pkg/dist-src}/grid/GridStack.js +0 -0
  184. /package/{dist-src → pkg/dist-src}/grid/InlineGrid.js +0 -0
  185. /package/{dist-src → pkg/dist-src}/icon-button/IconButtonOverrides.js +0 -0
  186. /package/{dist-src → pkg/dist-src}/index.js +0 -0
  187. /package/{dist-src → pkg/dist-src}/info-card/InfoCard.js +0 -0
  188. /package/{dist-src → pkg/dist-src}/inline/Inline.js +0 -0
  189. /package/{dist-src → pkg/dist-src}/link/LinkOverrides.js +0 -0
  190. /package/{dist-src → pkg/dist-src}/list/ListOverrides.js +0 -0
  191. /package/{dist-src → pkg/dist-src}/menu/MenuOverrides.js +0 -0
  192. /package/{dist-src → pkg/dist-src}/number-field/NumberField.js +0 -0
  193. /package/{dist-src → pkg/dist-src}/overflow-text/OverflowText.js +0 -0
  194. /package/{dist-src → pkg/dist-src}/pagination/PaginationOverrides.js +0 -0
  195. /package/{dist-src → pkg/dist-src}/paper/PaperOverrides.js +0 -0
  196. /package/{dist-src → pkg/dist-src}/props/AlignProps.js +0 -0
  197. /package/{dist-src → pkg/dist-src}/props/CollapseProp.js +0 -0
  198. /package/{dist-src → pkg/dist-src}/props/ResponsiveProp.js +0 -0
  199. /package/{dist-src → pkg/dist-src}/props/SpaceProp.js +0 -0
  200. /package/{dist-src → pkg/dist-src}/radio/RadioField.js +0 -0
  201. /package/{dist-src → pkg/dist-src}/radio/RadioGroupField.js +0 -0
  202. /package/{dist-src → pkg/dist-src}/radio/RadioOverrides.js +0 -0
  203. /package/{dist-src → pkg/dist-src}/responsive/CollapseBreakpoint.js +0 -0
  204. /package/{dist-src → pkg/dist-src}/responsive/MinBreakpoint.js +0 -0
  205. /package/{dist-src → pkg/dist-src}/responsive/ResponsiveContext.js +0 -0
  206. /package/{dist-src → pkg/dist-src}/snackbar/Snackbar.js +0 -0
  207. /package/{dist-src → pkg/dist-src}/snackbar/SnackbarContent.js +0 -0
  208. /package/{dist-src → pkg/dist-src}/snackbar/SnackbarOverrides.js +0 -0
  209. /package/{dist-src → pkg/dist-src}/snackbar/SnackbarStack.js +0 -0
  210. /package/{dist-src → pkg/dist-src}/stack/Stack.js +0 -0
  211. /package/{dist-src → pkg/dist-src}/svg-icon/SvgIconOverrides.js +0 -0
  212. /package/{dist-src → pkg/dist-src}/switch/SwitchOverrides.js +0 -0
  213. /package/{dist-src → pkg/dist-src}/tabs/TabsOverrides.js +0 -0
  214. /package/{dist-src → pkg/dist-src}/tag/Tag.js +0 -0
  215. /package/{dist-src → pkg/dist-src}/text-field/TextFieldOverrides.js +0 -0
  216. /package/{dist-src → pkg/dist-src}/theme/Color.js +0 -0
  217. /package/{dist-src → pkg/dist-src}/theme/SuperDispatchTheme.js +0 -0
  218. /package/{dist-src → pkg/dist-src}/theme/ThemeProvider.js +0 -0
  219. /package/{dist-src → pkg/dist-src}/tiles/Tiles.js +0 -0
  220. /package/{dist-src → pkg/dist-src}/toolbar/ToolbarOverrides.js +0 -0
  221. /package/{dist-src → pkg/dist-src}/tooltip/TooltipOverrides.js +0 -0
  222. /package/{dist-src → pkg/dist-src}/typography/TypographyOverrides.js +0 -0
  223. /package/{dist-src → pkg/dist-src}/utils/ExitTransitionPlaceholder.js +0 -0
  224. /package/{dist-src → pkg/dist-src}/utils/ResizeObserver.js +0 -0
  225. /package/{dist-src → pkg/dist-src}/utils/VisibilityObserver.js +0 -0
  226. /package/{dist-src → pkg/dist-src}/utils/isEmptyReactNode.js +0 -0
  227. /package/{dist-src → pkg/dist-src}/utils/mergeRefs.js +0 -0
  228. /package/{dist-src → pkg/dist-src}/utils/renderChildren.js +0 -0
  229. /package/{dist-src → pkg/dist-src}/utils/useUID.js +0 -0
  230. /package/{dist-web → pkg/dist-web}/index.js +0 -0
  231. /package/{dist-web → pkg/dist-web}/index.js.map +0 -0
@@ -0,0 +1,662 @@
1
+ import { InputAdornment, MenuItem, TextField } from '@material-ui/core';
2
+ import { renderCSS, renderTheme } from '@superdispatch/ui-testutils';
3
+
4
+ it('checks default props', () => {
5
+ const { props } = renderTheme();
6
+
7
+ expect(props.MuiInputBase).toMatchInlineSnapshot(`undefined`);
8
+ expect(props.MuiInputLabel).toMatchInlineSnapshot(`
9
+ Object {
10
+ "shrink": true,
11
+ }
12
+ `);
13
+ expect(props.MuiFormLabel).toMatchInlineSnapshot(`undefined`);
14
+ expect(props.MuiOutlinedInput).toMatchInlineSnapshot(`
15
+ Object {
16
+ "notched": false,
17
+ }
18
+ `);
19
+ expect(props.MuiSelect).toMatchInlineSnapshot(`
20
+ Object {
21
+ "IconComponent": React.forwardRef(SelectIcon),
22
+ }
23
+ `);
24
+ expect(props.MuiFormHelperText).toMatchInlineSnapshot(`undefined`);
25
+ expect(props.MuiTextField).toMatchInlineSnapshot(`
26
+ Object {
27
+ "maxRows": 4,
28
+ "minRows": 4,
29
+ "variant": "outlined",
30
+ }
31
+ `);
32
+ });
33
+
34
+ it('checks component css', () => {
35
+ expect(
36
+ renderCSS(
37
+ <>
38
+ <TextField
39
+ label="Text"
40
+ helperText="Text"
41
+ InputProps={{
42
+ startAdornment: (
43
+ <InputAdornment position="start">
44
+ <div />
45
+ </InputAdornment>
46
+ ),
47
+ }}
48
+ />
49
+
50
+ <TextField select={true}>
51
+ <MenuItem />
52
+ </TextField>
53
+ </>,
54
+ [
55
+ 'MuiFormControl',
56
+ 'MuiFormHelperText',
57
+ 'MuiFormLabel',
58
+ 'MuiInputAdornment',
59
+ 'MuiInputBase',
60
+ 'MuiInputLabel',
61
+ 'MuiOutlinedInput',
62
+ 'MuiSelect',
63
+ 'MuiTextField',
64
+ 'PrivateNotchedOutline',
65
+ ],
66
+ ),
67
+ ).toMatchInlineSnapshot(`
68
+ .MuiFormControl-root {
69
+ border: 0;
70
+ margin: 0;
71
+ display: inline-flex;
72
+ padding: 0;
73
+ position: relative;
74
+ min-width: 0;
75
+ flex-direction: column;
76
+ vertical-align: top;
77
+ }
78
+
79
+ .MuiFormControl-marginNormal {
80
+ margin-top: 16px;
81
+ margin-bottom: 8px;
82
+ }
83
+
84
+ .MuiFormControl-marginDense {
85
+ margin-top: 8px;
86
+ margin-bottom: 4px;
87
+ }
88
+
89
+ .MuiFormControl-fullWidth {
90
+ width: 100%;
91
+ }
92
+
93
+ .MuiFormHelperText-root {
94
+ color: Color.Dark200;
95
+ margin: 0;
96
+ font-size: 14px;
97
+ margin-top: 4px;
98
+ text-align: left;
99
+ font-family: 'Inter', sans-serif;
100
+ font-weight: 400;
101
+ line-height: 20px;
102
+ }
103
+
104
+ @media (min-width: 0px) and (max-width: 599.95px) {
105
+ .MuiFormHelperText-root {
106
+ font-size: 16px;
107
+ line-height: 24px;
108
+ }
109
+ }
110
+
111
+ .MuiFormHelperText-root.Mui-disabled {
112
+ color: Color.Dark100;
113
+ }
114
+
115
+ .MuiFormHelperText-root.Mui-error {
116
+ color: Color.Red300;
117
+ }
118
+
119
+ .MuiFormHelperText-marginDense {
120
+ margin-top: 4px;
121
+ }
122
+
123
+ .MuiFormLabel-root {
124
+ color: Color.Dark400;
125
+ padding: 0;
126
+ font-size: 14px;
127
+ font-family: 'Inter', sans-serif;
128
+ font-weight: 400;
129
+ line-height: 20px;
130
+ }
131
+
132
+ @media (min-width: 0px) and (max-width: 599.95px) {
133
+ .MuiFormLabel-root {
134
+ font-size: 16px;
135
+ line-height: 24px;
136
+ }
137
+ }
138
+
139
+ .MuiFormLabel-colorSecondary.Mui-focused {
140
+ color: #f50057;
141
+ }
142
+
143
+ .MuiFormLabel-asterisk.Mui-error {
144
+ color: Color.Red300;
145
+ }
146
+
147
+ .MuiInputAdornment-root {
148
+ height: 0.01em;
149
+ display: flex;
150
+ max-height: 2em;
151
+ align-items: center;
152
+ white-space: nowrap;
153
+ }
154
+
155
+ .MuiInputAdornment-root .MuiSvgIcon-root:not(.MuiSvgIcon-fontSizeSmall) {
156
+ font-size: 24px;
157
+ }
158
+
159
+ .MuiInputAdornment-root .MuiIconButton-root {
160
+ padding: 8px;
161
+ }
162
+
163
+ @media (min-width: 600px) {
164
+ .MuiInputAdornment-root .MuiSvgIcon-root:not(.MuiSvgIcon-fontSizeSmall) {
165
+ font-size: 20px;
166
+ }
167
+ }
168
+
169
+ .MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.MuiInputAdornment-hiddenLabel) {
170
+ margin-top: 16px;
171
+ }
172
+
173
+ .MuiInputAdornment-positionStart {
174
+ margin-right: 8px;
175
+ }
176
+
177
+ .MuiInputAdornment-positionStart .MuiIconButton-root {
178
+ margin-left: -4px;
179
+ }
180
+
181
+ @media (min-width: 600px) {
182
+ .MuiInputAdornment-positionStart .MuiIconButton-root {
183
+ margin-left: -6px;
184
+ }
185
+ }
186
+
187
+ .MuiInputAdornment-positionEnd {
188
+ margin-left: 8px;
189
+ }
190
+
191
+ .MuiInputAdornment-positionEnd .MuiIconButton-root {
192
+ margin-right: -4px;
193
+ }
194
+
195
+ @media (min-width: 600px) {
196
+ .MuiInputAdornment-positionEnd .MuiIconButton-root {
197
+ margin-right: -6px;
198
+ }
199
+ }
200
+
201
+ .MuiInputAdornment-disablePointerEvents {
202
+ pointer-events: none;
203
+ }
204
+
205
+ @keyframes mui-auto-fill {
206
+ }
207
+
208
+ @keyframes mui-auto-fill-cancel {
209
+ }
210
+
211
+ .MuiInputBase-root {
212
+ color: Color.Dark500;
213
+ cursor: text;
214
+ display: inline-flex;
215
+ position: relative;
216
+ font-size: 14px;
217
+ box-sizing: border-box;
218
+ align-items: center;
219
+ font-family: 'Inter', sans-serif;
220
+ font-weight: 400;
221
+ line-height: 20px;
222
+ }
223
+
224
+ @media (min-width: 0px) and (max-width: 599.95px) {
225
+ .MuiInputBase-root {
226
+ font-size: 16px;
227
+ line-height: 24px;
228
+ }
229
+ }
230
+
231
+ .MuiInputBase-root.Mui-disabled {
232
+ color: Color.Dark100;
233
+ cursor: default;
234
+ background-color: Color.Silver100;
235
+ }
236
+
237
+ .MuiInputBase-multiline {
238
+ padding: 6px 0 7px;
239
+ }
240
+
241
+ .MuiInputBase-multiline.MuiInputBase-marginDense {
242
+ padding-top: 3px;
243
+ }
244
+
245
+ .MuiInputBase-fullWidth {
246
+ width: 100%;
247
+ }
248
+
249
+ .MuiInputBase-input {
250
+ font: inherit;
251
+ color: currentColor;
252
+ width: 100%;
253
+ border: 0;
254
+ height: 24px;
255
+ margin: 0;
256
+ display: block;
257
+ padding: 6px 0 7px;
258
+ min-width: 0;
259
+ background: none;
260
+ box-sizing: content-box;
261
+ text-overflow: ellipsis;
262
+ animation-name: mui-auto-fill-cancel;
263
+ letter-spacing: inherit;
264
+ animation-duration: 10ms;
265
+ -webkit-tap-highlight-color: transparent;
266
+ }
267
+
268
+ .MuiInputBase-input::-webkit-input-placeholder {
269
+ color: currentColor;
270
+ opacity: 0.42;
271
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
272
+ }
273
+
274
+ .MuiInputBase-input::-moz-placeholder {
275
+ color: currentColor;
276
+ opacity: 0.42;
277
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
278
+ }
279
+
280
+ .MuiInputBase-input:-ms-input-placeholder {
281
+ color: currentColor;
282
+ opacity: 0.42;
283
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
284
+ }
285
+
286
+ .MuiInputBase-input::-ms-input-placeholder {
287
+ color: currentColor;
288
+ opacity: 0.42;
289
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
290
+ }
291
+
292
+ .MuiInputBase-input:focus {
293
+ outline: 0;
294
+ }
295
+
296
+ .MuiInputBase-input:invalid {
297
+ box-shadow: none;
298
+ }
299
+
300
+ .MuiInputBase-input::-webkit-search-decoration {
301
+ -webkit-appearance: none;
302
+ }
303
+
304
+ .MuiInputBase-input.Mui-disabled {
305
+ opacity: 1;
306
+ }
307
+
308
+ .MuiInputBase-input:-webkit-autofill {
309
+ animation-name: mui-auto-fill;
310
+ animation-duration: 5000s;
311
+ }
312
+
313
+ @media (min-width: 600px) {
314
+ .MuiInputBase-input {
315
+ height: 20px;
316
+ }
317
+ }
318
+
319
+ label[data-shrink='false']
320
+ + .MuiInputBase-formControl
321
+ .MuiInputBase-input::-webkit-input-placeholder {
322
+ opacity: 0 !important;
323
+ }
324
+
325
+ label[data-shrink='false']
326
+ + .MuiInputBase-formControl
327
+ .MuiInputBase-input::-moz-placeholder {
328
+ opacity: 0 !important;
329
+ }
330
+
331
+ label[data-shrink='false']
332
+ + .MuiInputBase-formControl
333
+ .MuiInputBase-input:-ms-input-placeholder {
334
+ opacity: 0 !important;
335
+ }
336
+
337
+ label[data-shrink='false']
338
+ + .MuiInputBase-formControl
339
+ .MuiInputBase-input::-ms-input-placeholder {
340
+ opacity: 0 !important;
341
+ }
342
+
343
+ label[data-shrink='false']
344
+ + .MuiInputBase-formControl
345
+ .MuiInputBase-input:focus::-webkit-input-placeholder {
346
+ opacity: 0.42;
347
+ }
348
+
349
+ label[data-shrink='false']
350
+ + .MuiInputBase-formControl
351
+ .MuiInputBase-input:focus::-moz-placeholder {
352
+ opacity: 0.42;
353
+ }
354
+
355
+ label[data-shrink='false']
356
+ + .MuiInputBase-formControl
357
+ .MuiInputBase-input:focus:-ms-input-placeholder {
358
+ opacity: 0.42;
359
+ }
360
+
361
+ label[data-shrink='false']
362
+ + .MuiInputBase-formControl
363
+ .MuiInputBase-input:focus::-ms-input-placeholder {
364
+ opacity: 0.42;
365
+ }
366
+
367
+ .MuiInputBase-inputMarginDense {
368
+ padding-top: 3px;
369
+ }
370
+
371
+ .MuiInputBase-inputMultiline {
372
+ height: auto;
373
+ resize: vertical;
374
+ padding: 0;
375
+ }
376
+
377
+ .MuiInputBase-inputTypeSearch {
378
+ -moz-appearance: textfield;
379
+ -webkit-appearance: textfield;
380
+ }
381
+
382
+ .MuiInputLabel-root {
383
+ display: block;
384
+ margin-bottom: 4px;
385
+ }
386
+
387
+ .MuiInputLabel-marginDense {
388
+ transform: translate(0, 21px) scale(1);
389
+ }
390
+
391
+ .MuiInputLabel-animated {
392
+ transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
393
+ transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
394
+ }
395
+
396
+ .MuiInputLabel-filled {
397
+ z-index: 1;
398
+ transform: translate(12px, 20px) scale(1);
399
+ pointer-events: none;
400
+ }
401
+
402
+ .MuiInputLabel-filled.MuiInputLabel-marginDense {
403
+ transform: translate(12px, 17px) scale(1);
404
+ }
405
+
406
+ .MuiInputLabel-filled.MuiInputLabel-shrink {
407
+ transform: translate(12px, 10px) scale(0.75);
408
+ }
409
+
410
+ .MuiInputLabel-filled.MuiInputLabel-shrink.MuiInputLabel-marginDense {
411
+ transform: translate(12px, 7px) scale(0.75);
412
+ }
413
+
414
+ .MuiInputLabel-outlined.MuiInputLabel-marginDense {
415
+ transform: translate(14px, 12px) scale(1);
416
+ }
417
+
418
+ .MuiOutlinedInput-root {
419
+ position: relative;
420
+ border-radius: 4px;
421
+ }
422
+
423
+ @media (hover: none) {
424
+ .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
425
+ border-color: rgba(0, 0, 0, 0.23);
426
+ }
427
+ }
428
+
429
+ .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
430
+ border-color: Color.Blue300;
431
+ border-width: 2px;
432
+ }
433
+
434
+ .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline {
435
+ border-color: Color.Red300;
436
+ }
437
+
438
+ .MuiOutlinedInput-root.Mui-disabled .MuiOutlinedInput-notchedOutline {
439
+ border-color: Color.Silver400;
440
+ }
441
+
442
+ .MuiOutlinedInput-colorSecondary.Mui-focused .MuiOutlinedInput-notchedOutline {
443
+ border-color: #f50057;
444
+ }
445
+
446
+ .MuiOutlinedInput-adornedStart {
447
+ padding-left: 8px;
448
+ }
449
+
450
+ .MuiOutlinedInput-adornedEnd {
451
+ padding-right: 8px;
452
+ }
453
+
454
+ .MuiOutlinedInput-multiline {
455
+ padding: 6px 8px;
456
+ }
457
+
458
+ .MuiOutlinedInput-multiline.MuiOutlinedInput-marginDense {
459
+ padding-top: 10.5px;
460
+ padding-bottom: 10.5px;
461
+ }
462
+
463
+ .MuiOutlinedInput-notchedOutline {
464
+ top: 0;
465
+ border-color: Color.Silver500;
466
+ }
467
+
468
+ .MuiOutlinedInput-notchedOutline legend {
469
+ display: none;
470
+ }
471
+
472
+ .MuiOutlinedInput-input {
473
+ padding: 10px 12px;
474
+ }
475
+
476
+ .MuiOutlinedInput-input:-webkit-autofill {
477
+ border-radius: inherit;
478
+ }
479
+
480
+ @media (min-width: 600px) {
481
+ .MuiOutlinedInput-input {
482
+ padding: 6px 8px;
483
+ }
484
+ }
485
+
486
+ .MuiOutlinedInput-inputMarginDense {
487
+ padding-top: 10.5px;
488
+ padding-bottom: 10.5px;
489
+ }
490
+
491
+ .MuiOutlinedInput-inputMultiline {
492
+ padding: 0;
493
+ }
494
+
495
+ .MuiOutlinedInput-inputAdornedStart {
496
+ padding-left: 0;
497
+ }
498
+
499
+ .MuiOutlinedInput-inputAdornedEnd {
500
+ padding-right: 0;
501
+ }
502
+
503
+ .MuiSelect-select {
504
+ cursor: pointer;
505
+ min-width: 16px;
506
+ user-select: none;
507
+ border-radius: 0;
508
+ -moz-appearance: none;
509
+ -webkit-appearance: none;
510
+ }
511
+
512
+ .MuiSelect-select:focus {
513
+ border-radius: 0;
514
+ }
515
+
516
+ .MuiSelect-select::-ms-expand {
517
+ display: none;
518
+ }
519
+
520
+ .MuiSelect-select.Mui-disabled {
521
+ cursor: default;
522
+ }
523
+
524
+ .MuiSelect-select[multiple] {
525
+ height: auto;
526
+ }
527
+
528
+ .MuiSelect-select:not([multiple]) option,
529
+ .MuiSelect-select:not([multiple]) optgroup {
530
+ background-color: Color.White;
531
+ }
532
+
533
+ .MuiSelect-select.MuiSelect-select {
534
+ padding-right: 24px;
535
+ }
536
+
537
+ .MuiSelect-filled.MuiSelect-filled {
538
+ padding-right: 32px;
539
+ }
540
+
541
+ .MuiSelect-outlined {
542
+ border-radius: 4px;
543
+ }
544
+
545
+ .MuiSelect-outlined.MuiSelect-outlined {
546
+ padding-right: 32px;
547
+ }
548
+
549
+ .MuiSelect-selectMenu {
550
+ height: auto;
551
+ overflow: hidden;
552
+ min-height: 1.1876em;
553
+ white-space: nowrap;
554
+ text-overflow: ellipsis;
555
+ }
556
+
557
+ .MuiSelect-selectMenu.MuiSelect-selectMenu {
558
+ padding-right: 36px;
559
+ }
560
+
561
+ @media (min-width: 600px) {
562
+ .MuiSelect-selectMenu.MuiSelect-selectMenu {
563
+ right: 32px;
564
+ }
565
+ }
566
+
567
+ .MuiSelect-icon {
568
+ top: calc(50% - 0.5em);
569
+ color: rgba(0, 0, 0, 0.54);
570
+ right: 0;
571
+ position: absolute;
572
+ font-size: 24px;
573
+ pointer-events: none;
574
+ }
575
+
576
+ .MuiSelect-icon.Mui-disabled {
577
+ color: Color.Silver400;
578
+ }
579
+
580
+ .Mui-disabled .MuiSelect-icon {
581
+ color: Color.Dark100;
582
+ }
583
+
584
+ @media (min-width: 600px) {
585
+ .MuiSelect-icon {
586
+ font-size: 16px;
587
+ }
588
+ }
589
+
590
+ .MuiSelect-iconOpen {
591
+ transform: rotate(180deg);
592
+ }
593
+
594
+ .MuiSelect-iconFilled {
595
+ right: 7px;
596
+ }
597
+
598
+ .MuiSelect-iconOutlined {
599
+ right: 12px;
600
+ }
601
+
602
+ @media (min-width: 600px) {
603
+ .MuiSelect-iconOutlined {
604
+ right: 8px;
605
+ }
606
+ }
607
+
608
+ .MuiSelect-nativeInput {
609
+ left: 0;
610
+ width: 100%;
611
+ bottom: 0;
612
+ opacity: 0;
613
+ position: absolute;
614
+ pointer-events: none;
615
+ }
616
+
617
+ .PrivateNotchedOutline-root-1 {
618
+ top: -5px;
619
+ left: 0;
620
+ right: 0;
621
+ bottom: 0;
622
+ margin: 0;
623
+ padding: 0 8px;
624
+ overflow: hidden;
625
+ position: absolute;
626
+ border-style: solid;
627
+ border-width: 1px;
628
+ border-radius: inherit;
629
+ pointer-events: none;
630
+ }
631
+
632
+ .PrivateNotchedOutline-legend-2 {
633
+ padding: 0;
634
+ text-align: left;
635
+ transition: width 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
636
+ line-height: 11px;
637
+ }
638
+
639
+ .PrivateNotchedOutline-legendLabelled-3 {
640
+ width: auto;
641
+ height: 11px;
642
+ display: block;
643
+ padding: 0;
644
+ font-size: 0.75em;
645
+ max-width: 0.01px;
646
+ text-align: left;
647
+ transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;
648
+ visibility: hidden;
649
+ }
650
+
651
+ .PrivateNotchedOutline-legendLabelled-3 > span {
652
+ display: inline-block;
653
+ padding-left: 5px;
654
+ padding-right: 5px;
655
+ }
656
+
657
+ .PrivateNotchedOutline-legendNotched-4 {
658
+ max-width: 1000px;
659
+ transition: max-width 100ms cubic-bezier(0, 0, 0.2, 1) 50ms;
660
+ }
661
+ `);
662
+ });