@spothero/ui 15.10.9 → 16.0.0-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.
Files changed (317) hide show
  1. package/.eslintignore +1 -1
  2. package/babel.config.js +1 -0
  3. package/dex.config.js +1 -1
  4. package/jest.config.json +4 -2
  5. package/package.json +11 -26
  6. package/v2/index.js +1 -1
  7. package/v2/index.js.map +1 -1
  8. package/backlog/Alert/Alert.js +0 -37
  9. package/backlog/AutoSuggestInput/AutoSuggestInput.js +0 -474
  10. package/backlog/AutoSuggestInput/AutoSuggestItem.js +0 -99
  11. package/backlog/AutoSuggestInput/AutoSuggestList.js +0 -126
  12. package/backlog/Badge/Badge.js +0 -28
  13. package/backlog/Chart/Chart.js +0 -211
  14. package/backlog/Checkbox/Checkbox.js +0 -167
  15. package/backlog/DateTime/DatePicker.js +0 -279
  16. package/backlog/DateTime/DatePickerCalendar.js +0 -199
  17. package/backlog/DateTime/DatePickerCalendarNavigation.js +0 -102
  18. package/backlog/DateTime/DatePickerCalendarWithRange.js +0 -241
  19. package/backlog/DateTime/DateTimePicker.js +0 -216
  20. package/backlog/DateTime/DateTimeRangePicker.js +0 -530
  21. package/backlog/DateTime/TimePicker.js +0 -180
  22. package/backlog/DateTime/date-time-assertions.js +0 -66
  23. package/backlog/DateTime/index.js +0 -55
  24. package/backlog/ErrorBoundary/ErrorBoundary.js +0 -125
  25. package/backlog/Flyout/Flyout.js +0 -198
  26. package/backlog/Form/Form.js +0 -193
  27. package/backlog/Form/FormElementError.js +0 -24
  28. package/backlog/Form/FormGroup.js +0 -30
  29. package/backlog/Form/FormGroupError.js +0 -28
  30. package/backlog/Form/index.js +0 -39
  31. package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +0 -253
  32. package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +0 -38
  33. package/backlog/GooglePlacesSearchInput/index.js +0 -23
  34. package/backlog/HorizontalRule/HorizontalRule.js +0 -30
  35. package/backlog/Label/Label.js +0 -31
  36. package/backlog/Notification/Notification.js +0 -178
  37. package/backlog/Notification/NotificationContainer.js +0 -131
  38. package/backlog/Notification/NotificationPropTypes.js +0 -37
  39. package/backlog/Notification/index.js +0 -23
  40. package/backlog/PasswordControl/PasswordControl.js +0 -201
  41. package/backlog/Portal/Portal.js +0 -110
  42. package/backlog/PulseLoader/PulseLoader.js +0 -62
  43. package/backlog/Radio/Radio.js +0 -135
  44. package/backlog/Radio/RadioGroup.js +0 -123
  45. package/backlog/Radio/index.js +0 -23
  46. package/backlog/RenderInBody/RenderInBody.js +0 -103
  47. package/backlog/Select/Select.js +0 -275
  48. package/backlog/Select/SelectItemPropTypes.js +0 -32
  49. package/backlog/Select/index.js +0 -23
  50. package/backlog/SelectControlled/SelectControlled.js +0 -270
  51. package/backlog/SelectControlled/index.js +0 -15
  52. package/backlog/Sprite/Sprite.js +0 -24
  53. package/backlog/Tabs/Tab.js +0 -94
  54. package/backlog/Tabs/TabContent.js +0 -56
  55. package/backlog/Tabs/TabNavigation.js +0 -108
  56. package/backlog/Tabs/TabPanel.js +0 -29
  57. package/backlog/Tabs/Tabs.js +0 -126
  58. package/backlog/Tabs/index.js +0 -47
  59. package/backlog/TextArea/TextArea.js +0 -155
  60. package/backlog/TextInput/TextInput.js +0 -230
  61. package/backlog/TextInput/TextInputPropTypes.js +0 -114
  62. package/backlog/TextInput/index.js +0 -23
  63. package/backlog/Tooltip/Tooltip.js +0 -249
  64. package/backlog/index.js +0 -393
  65. package/backlog/v1/components/Button/Button.js +0 -64
  66. package/backlog/v1/components/Button/button-props.js +0 -48
  67. package/backlog/v1/components/Image/Image.js +0 -193
  68. package/backlog/v1/components/Loader/Loader.js +0 -51
  69. package/backlog/v1/components/Modal/Modal.js +0 -325
  70. package/backlog/v1/components/Modal/ModalContent.js +0 -154
  71. package/backlog/v1/components/Modal/ModalFooter.js +0 -89
  72. package/backlog/v1/components/Modal/index.js +0 -31
  73. package/backlog/v1/components/Panel/Panel.js +0 -209
  74. package/backlog/v1/components/Table/Table.js +0 -336
  75. package/backlog/v1/components/Table/TableCell.js +0 -28
  76. package/backlog/v1/components/Table/TableCellPropTypes.js +0 -22
  77. package/backlog/v1/components/Table/TableControls.js +0 -56
  78. package/backlog/v1/components/Table/TableFooter.js +0 -63
  79. package/backlog/v1/components/Table/TableHeading.js +0 -126
  80. package/backlog/v1/components/Table/TableHeadingPropTypes.js +0 -35
  81. package/backlog/v1/components/Table/TableSortSelector.js +0 -125
  82. package/backlog/v1/components/Table/TableSortType.js +0 -11
  83. package/backlog/v1/components/Table/index.js +0 -47
  84. package/backlog/v1/components/TextButton/TextButton.js +0 -74
  85. package/backlog/v1/components/index.js +0 -75
  86. package/backlog/v1/utils/deprecate.js +0 -61
  87. package/styles/Alert/_Alert.scss +0 -51
  88. package/styles/AutoSuggestInput/_AutoSuggestInput.scss +0 -116
  89. package/styles/Badge/_Badge.scss +0 -33
  90. package/styles/Chart/_Chart.scss +0 -105
  91. package/styles/Chart/_chartist-settings.scss +0 -131
  92. package/styles/Chart/_chartist.scss +0 -295
  93. package/styles/Checkbox/_Checkbox.scss +0 -173
  94. package/styles/DateTime/_DatePicker.scss +0 -61
  95. package/styles/DateTime/_DatePickerCalendar.scss +0 -159
  96. package/styles/DateTime/_DateTime.scss +0 -4
  97. package/styles/DateTime/_DateTimePicker.scss +0 -46
  98. package/styles/DateTime/_TimePicker.scss +0 -30
  99. package/styles/ErrorBoundary/_ErrorBoundary.scss +0 -18
  100. package/styles/Flyout/_Flyout.scss +0 -73
  101. package/styles/Form/_Form.scss +0 -53
  102. package/styles/GooglePlacesSearchInput/_GooglePlacesSearchInput.scss +0 -3
  103. package/styles/GooglePlacesSearchInput/_PoweredByGoogle.scss +0 -21
  104. package/styles/HorizontalRule/_HorizontalRule.scss +0 -48
  105. package/styles/Label/_Label.scss +0 -6
  106. package/styles/Notification/_Notification.scss +0 -113
  107. package/styles/PasswordControl/_PasswordControl.scss +0 -86
  108. package/styles/PulseLoader/_PulseLoader.scss +0 -60
  109. package/styles/Radio/_Radio.scss +0 -93
  110. package/styles/Select/_Select.scss +0 -94
  111. package/styles/Tabs/_Tabs.scss +0 -57
  112. package/styles/TextArea/_TextArea.scss +0 -26
  113. package/styles/TextInput/_TextInput.scss +0 -43
  114. package/styles/Tooltip/_Tooltip.scss +0 -108
  115. package/styles/_index.scss +0 -34
  116. package/styles/common/sass/_control-sizing.scss +0 -5
  117. package/styles/common/sass/_disable-scrolling.scss +0 -7
  118. package/styles/common/sass/_forms.scss +0 -72
  119. package/styles/index.js +0 -50
  120. package/styles/v1/components/Button/Button.jsx +0 -48
  121. package/styles/v1/components/Button/Button.spec.js +0 -76
  122. package/styles/v1/components/Button/_Button.scss +0 -178
  123. package/styles/v1/components/Button/button-props.js +0 -30
  124. package/styles/v1/components/Button/stories/button.js +0 -20
  125. package/styles/v1/components/Button/stories/index.stories.js +0 -92
  126. package/styles/v1/components/Button/stories/overview.js +0 -87
  127. package/styles/v1/components/Button/stories/types.js +0 -31
  128. package/styles/v1/components/Image/Image.jsx +0 -175
  129. package/styles/v1/components/Image/Image.spec.js +0 -113
  130. package/styles/v1/components/Image/_Image.scss +0 -24
  131. package/styles/v1/components/Image/stories/Cloudinary.stories.js +0 -39
  132. package/styles/v1/components/Image/stories/Display.stories.js +0 -92
  133. package/styles/v1/components/Loader/Loader.jsx +0 -54
  134. package/styles/v1/components/Loader/Loader.spec.js +0 -67
  135. package/styles/v1/components/Loader/_Loader.scss +0 -18
  136. package/styles/v1/components/Loader/stories/Display.stories.js +0 -55
  137. package/styles/v1/components/Modal/Modal.jsx +0 -315
  138. package/styles/v1/components/Modal/Modal.spec.js +0 -293
  139. package/styles/v1/components/Modal/ModalContent.jsx +0 -126
  140. package/styles/v1/components/Modal/ModalFooter.jsx +0 -53
  141. package/styles/v1/components/Modal/_Modal.scss +0 -262
  142. package/styles/v1/components/Modal/index.js +0 -3
  143. package/styles/v1/components/Modal/stories/Content.stories.js +0 -314
  144. package/styles/v1/components/Modal/stories/Display.stories.js +0 -208
  145. package/styles/v1/components/Modal/stories/Methods.stories.js +0 -44
  146. package/styles/v1/components/Modal/stories/Width.stories.js +0 -82
  147. package/styles/v1/components/Modal/stories/helpers/ReduxConsumer.jsx +0 -21
  148. package/styles/v1/components/Panel/Panel.jsx +0 -202
  149. package/styles/v1/components/Panel/Panel.spec.js +0 -196
  150. package/styles/v1/components/Panel/_Panel.scss +0 -55
  151. package/styles/v1/components/Panel/stories/Display.stories.js +0 -82
  152. package/styles/v1/components/Panel/stories/Methods.stories.js +0 -76
  153. package/styles/v1/components/Table/Table.jsx +0 -367
  154. package/styles/v1/components/Table/Table.spec.js +0 -526
  155. package/styles/v1/components/Table/TableCell.jsx +0 -17
  156. package/styles/v1/components/Table/TableCellPropTypes.js +0 -10
  157. package/styles/v1/components/Table/TableControls.jsx +0 -61
  158. package/styles/v1/components/Table/TableFooter.jsx +0 -72
  159. package/styles/v1/components/Table/TableHeading.jsx +0 -58
  160. package/styles/v1/components/Table/TableHeadingPropTypes.js +0 -20
  161. package/styles/v1/components/Table/TableSortSelector.jsx +0 -63
  162. package/styles/v1/components/Table/TableSortType.js +0 -4
  163. package/styles/v1/components/Table/_Table.scss +0 -263
  164. package/styles/v1/components/Table/index.js +0 -5
  165. package/styles/v1/components/Table/stories/Display.stories.js +0 -194
  166. package/styles/v1/components/Table/stories/Methods.stories.js +0 -141
  167. package/styles/v1/components/Table/stories/helpers/TableCellEmail.jsx +0 -25
  168. package/styles/v1/components/Table/stories/helpers/TableCustomRow.jsx +0 -35
  169. package/styles/v1/components/Table/stories/helpers/TableHeadingEmail.jsx +0 -20
  170. package/styles/v1/components/Table/stories/helpers/table-data.js +0 -26
  171. package/styles/v1/components/Table/stories/helpers/table-headers.js +0 -14
  172. package/styles/v1/components/TextButton/TextButton.jsx +0 -78
  173. package/styles/v1/components/TextButton/TextButton.spec.js +0 -95
  174. package/styles/v1/components/TextButton/_TextButton.scss +0 -114
  175. package/styles/v1/components/TextButton/stories/Display.stories.js +0 -46
  176. package/styles/v1/components/index.js +0 -7
  177. package/styles/v1/utils/deprecate.js +0 -45
  178. package/styles/v2/components/Accordion/Accordion.jsx +0 -1
  179. package/styles/v2/components/Accordion/Accordion.stories.js +0 -103
  180. package/styles/v2/components/Accordion/index.js +0 -7
  181. package/styles/v2/components/Accordion/styles/button.js +0 -16
  182. package/styles/v2/components/Accordion/styles/container.js +0 -9
  183. package/styles/v2/components/Accordion/styles/index.js +0 -19
  184. package/styles/v2/components/Accordion/styles/panel.js +0 -7
  185. package/styles/v2/components/Alert/Alert.jsx +0 -121
  186. package/styles/v2/components/Alert/Alert.stories.js +0 -50
  187. package/styles/v2/components/Alert/index.js +0 -1
  188. package/styles/v2/components/Alert/styles/index.js +0 -166
  189. package/styles/v2/components/AutoSuggestSelect/AutoSuggestSelect.jsx +0 -187
  190. package/styles/v2/components/AutoSuggestSelect/index.js +0 -1
  191. package/styles/v2/components/Badge/Badge.jsx +0 -1
  192. package/styles/v2/components/Badge/Badge.stories.js +0 -32
  193. package/styles/v2/components/Badge/styles/index.js +0 -29
  194. package/styles/v2/components/Button/Button.jsx +0 -31
  195. package/styles/v2/components/Button/Button.spec.js +0 -29
  196. package/styles/v2/components/Button/Button.styles.js +0 -156
  197. package/styles/v2/components/Button/button-props.js +0 -66
  198. package/styles/v2/components/Button/index.js +0 -2
  199. package/styles/v2/components/Button/stories/button.js +0 -59
  200. package/styles/v2/components/Button/stories/index.stories.js +0 -82
  201. package/styles/v2/components/Button/stories/overview.js +0 -73
  202. package/styles/v2/components/Card/Card.jsx +0 -16
  203. package/styles/v2/components/Card/Card.stories.js +0 -33
  204. package/styles/v2/components/Checkbox/Checkbox.jsx +0 -1
  205. package/styles/v2/components/Checkbox/Checkbox.stories.js +0 -41
  206. package/styles/v2/components/Checkbox/index.js +0 -1
  207. package/styles/v2/components/Checkbox/styles/index.js +0 -31
  208. package/styles/v2/components/Container/Container.jsx +0 -10
  209. package/styles/v2/components/Container/Container.stories.js +0 -52
  210. package/styles/v2/components/Container/Container.styles.js +0 -11
  211. package/styles/v2/components/Divider/Divider.jsx +0 -31
  212. package/styles/v2/components/Divider/Divider.stories.js +0 -41
  213. package/styles/v2/components/Divider/Divider.styles.js +0 -15
  214. package/styles/v2/components/FormControl/FormControl.jsx +0 -77
  215. package/styles/v2/components/Grid/Grid.jsx +0 -25
  216. package/styles/v2/components/Grid/Grid.stories.js +0 -128
  217. package/styles/v2/components/Grid/Grid.styles.js +0 -12
  218. package/styles/v2/components/Grid/GridItem.jsx +0 -10
  219. package/styles/v2/components/Grid/GridItem.styles.js +0 -8
  220. package/styles/v2/components/Grid/index.js +0 -2
  221. package/styles/v2/components/Heading/Heading.jsx +0 -23
  222. package/styles/v2/components/Heading/Heading.stories.js +0 -40
  223. package/styles/v2/components/Heading/Heading.styles.js +0 -61
  224. package/styles/v2/components/Icon/Icon.jsx +0 -1
  225. package/styles/v2/components/Icon/Icon.stories.js +0 -38
  226. package/styles/v2/components/Image/Image.jsx +0 -97
  227. package/styles/v2/components/Image/Image.spec.js +0 -100
  228. package/styles/v2/components/Image/Image.stories.js +0 -142
  229. package/styles/v2/components/Input/Input.jsx +0 -51
  230. package/styles/v2/components/Input/Input.stories.js +0 -60
  231. package/styles/v2/components/Input/index.js +0 -1
  232. package/styles/v2/components/Input/styles/index.js +0 -49
  233. package/styles/v2/components/Link/Link.jsx +0 -1
  234. package/styles/v2/components/Link/Link.stories.js +0 -82
  235. package/styles/v2/components/Link/Link.styles.js +0 -38
  236. package/styles/v2/components/List/List.jsx +0 -57
  237. package/styles/v2/components/List/List.stories.js +0 -96
  238. package/styles/v2/components/List/index.js +0 -2
  239. package/styles/v2/components/List/styles/index.js +0 -12
  240. package/styles/v2/components/List/styles/item.styles.js +0 -5
  241. package/styles/v2/components/Loader/Loader.jsx +0 -75
  242. package/styles/v2/components/Loader/Loader.stories.js +0 -145
  243. package/styles/v2/components/Modal/Modal.jsx +0 -71
  244. package/styles/v2/components/Modal/Modal.stories.js +0 -278
  245. package/styles/v2/components/Modal/index.js +0 -1
  246. package/styles/v2/components/Modal/styles/body.js +0 -24
  247. package/styles/v2/components/Modal/styles/closeButton.js +0 -17
  248. package/styles/v2/components/Modal/styles/dialog.js +0 -10
  249. package/styles/v2/components/Modal/styles/dialogContainer.js +0 -10
  250. package/styles/v2/components/Modal/styles/footer.js +0 -5
  251. package/styles/v2/components/Modal/styles/header.js +0 -7
  252. package/styles/v2/components/Modal/styles/index.js +0 -47
  253. package/styles/v2/components/Modal/styles/overlay.js +0 -4
  254. package/styles/v2/components/Popover/Popover.jsx +0 -28
  255. package/styles/v2/components/Popover/Popover.stories.js +0 -113
  256. package/styles/v2/components/Popover/PopoverArrow.jsx +0 -10
  257. package/styles/v2/components/Popover/PopoverCloseButton.jsx +0 -10
  258. package/styles/v2/components/Popover/PopoverContent.jsx +0 -41
  259. package/styles/v2/components/Popover/index.js +0 -3
  260. package/styles/v2/components/Popover/styles/index.js +0 -21
  261. package/styles/v2/components/Popover/styles/popover-arrow.js +0 -5
  262. package/styles/v2/components/Popover/styles/popover-body.js +0 -5
  263. package/styles/v2/components/Popover/styles/popover-close-button.js +0 -17
  264. package/styles/v2/components/Popover/styles/popover-content.js +0 -16
  265. package/styles/v2/components/Popover/styles/popover-header.js +0 -6
  266. package/styles/v2/components/Popover/styles/popper.js +0 -5
  267. package/styles/v2/components/Radio/Radio.jsx +0 -50
  268. package/styles/v2/components/Radio/Radio.stories.js +0 -155
  269. package/styles/v2/components/Radio/RadioGroup.jsx +0 -69
  270. package/styles/v2/components/Radio/index.js +0 -2
  271. package/styles/v2/components/Radio/styles/index.js +0 -52
  272. package/styles/v2/components/Select/Select.jsx +0 -62
  273. package/styles/v2/components/Select/Select.stories.js +0 -60
  274. package/styles/v2/components/Select/index.js +0 -1
  275. package/styles/v2/components/Select/styles/index.js +0 -29
  276. package/styles/v2/components/Skeleton/Skeleton.stories.jsx +0 -34
  277. package/styles/v2/components/Skeleton/Skeleton.styles.js +0 -3
  278. package/styles/v2/components/Skeleton/index.js +0 -1
  279. package/styles/v2/components/Spinner/Spinner.jsx +0 -40
  280. package/styles/v2/components/Spinner/Spinner.stories.js +0 -98
  281. package/styles/v2/components/Spinner/Spinner.styles.js +0 -57
  282. package/styles/v2/components/Switch/Switch.jsx +0 -52
  283. package/styles/v2/components/Switch/Switch.stories.js +0 -88
  284. package/styles/v2/components/Switch/index.js +0 -1
  285. package/styles/v2/components/Switch/styles/index.js +0 -17
  286. package/styles/v2/components/Table/Table.jsx +0 -1
  287. package/styles/v2/components/Table/Table.stories.js +0 -90
  288. package/styles/v2/components/Table/Table.styles.js +0 -66
  289. package/styles/v2/components/Table/index.js +0 -2
  290. package/styles/v2/components/Tabs/Tabs.jsx +0 -39
  291. package/styles/v2/components/Tabs/Tabs.stories.js +0 -47
  292. package/styles/v2/components/Tabs/combineSizeWithVariant.js +0 -29
  293. package/styles/v2/components/Tabs/index.js +0 -2
  294. package/styles/v2/components/Tabs/styles/index.js +0 -40
  295. package/styles/v2/components/Text/Text.jsx +0 -35
  296. package/styles/v2/components/Text/Text.stories.js +0 -47
  297. package/styles/v2/components/Text/Text.styles.js +0 -33
  298. package/styles/v2/components/Text/combineAsWithVariant.js +0 -106
  299. package/styles/v2/components/Text/options.js +0 -92
  300. package/styles/v2/components/ThemeProvider/ThemeProvider.jsx +0 -39
  301. package/styles/v2/components/ThemeProvider/ThemeProvider.stories.js +0 -85
  302. package/styles/v2/components/index.js +0 -70
  303. package/styles/v2/components/styles.js +0 -21
  304. package/styles/v2/theme/base/breakpoints.js +0 -16
  305. package/styles/v2/theme/base/colors.js +0 -136
  306. package/styles/v2/theme/base/index.js +0 -5
  307. package/styles/v2/theme/base/sizes.js +0 -48
  308. package/styles/v2/theme/base/typography.js +0 -24
  309. package/styles/v2/theme/base/zindices.js +0 -17
  310. package/styles/v2/theme/global.js +0 -118
  311. package/styles/v2/theme/index.js +0 -27
  312. package/styles/v2/utils/Spaces.js +0 -16
  313. package/v1/assets-manifest.json +0 -5
  314. package/v1/index.html +0 -1
  315. package/v1/index.js +0 -3
  316. package/v1/index.js.LICENSE.txt +0 -23
  317. package/v1/index.js.map +0 -1
@@ -1,173 +0,0 @@
1
- .Checkbox {
2
- position: relative;
3
-
4
- %checkbox-common {
5
- position: absolute;
6
- width: 20px;
7
- height: 20px;
8
- background-color: $color-white;
9
- }
10
-
11
- .FormElement-item {
12
- @extend %checkbox-common;
13
- top: 2px;
14
- left: 1px;
15
- overflow: hidden;
16
- opacity: 0;
17
- z-index: $z-index-mid;
18
-
19
- &:checked {
20
- ~ .Icon {
21
- opacity: 1;
22
- }
23
-
24
- ~ .Label {
25
- &::before {
26
- border-color: $color-shift;
27
- background-color: $color-shift;
28
- }
29
- }
30
- }
31
-
32
- &:disabled {
33
- ~ .Label {
34
- color: $color-dashboard;
35
- cursor: not-allowed;
36
-
37
- &::before {
38
- border-color: $color-dashboard;
39
- }
40
- }
41
-
42
- &:checked {
43
- ~ .Label {
44
- &::before {
45
- background-color: $color-dashboard;
46
- }
47
- }
48
- }
49
- }
50
- }
51
-
52
- .Icon {
53
- position: absolute;
54
-
55
- // Chakra's implementation created some small issues
56
- // with how elements were positioned, this updates the
57
- // element to parody the original design
58
- top: 5px;
59
- left: 5px;
60
- width: 10px;
61
- color: $color-white;
62
- z-index: $z-index-mid;
63
- opacity: 0;
64
- pointer-events: none;
65
- transition: opacity $animation;
66
- }
67
-
68
- .Label {
69
- position: relative;
70
- padding-left: 28px;
71
- font-weight: $font-weight-normal;
72
- color: $color-black;
73
-
74
- &::before {
75
- @extend %checkbox-common;
76
-
77
- // Chakra's implementation created some small issues
78
- // with how elements were positioned, this updates the
79
- // element to parody the original design
80
- top: 0;
81
- left: 0;
82
- content: "";
83
- border: 1px solid $color-dashboard;
84
- border-radius: 4px;
85
- transition: background-color $animation, border-color $animation;
86
- }
87
- }
88
-
89
- &.FormElement-contains-error {
90
- .Label {
91
- color: $color-stop;
92
-
93
- &::before {
94
- border-color: $color-stop;
95
- }
96
- }
97
- }
98
-
99
- .FormElementError {
100
- margin-top: 20px;
101
- }
102
- }
103
-
104
- .Checkbox-toggle {
105
- display: inline-block;
106
-
107
- .FormElement-item {
108
- width: 36px;
109
- cursor: pointer;
110
-
111
- &:checked {
112
- ~ .Label {
113
- background-color: $color-shift;
114
-
115
- &::after {
116
- background-color: $color-white;
117
- box-shadow: 0 3px 8px 0 rgba($color-white, 0.3);
118
- transform: translateX(16px);
119
- }
120
- }
121
- }
122
-
123
- &:disabled {
124
- cursor: not-allowed;
125
-
126
- ~ .Label {
127
- background-color: rgba($color-dashboard, 0.5);
128
- }
129
- }
130
- }
131
-
132
- .Icon {
133
- display: none;
134
- }
135
-
136
- .Label {
137
- display: block;
138
- width: 36px;
139
- height: 20px;
140
- margin: 0;
141
- padding-left: 0;
142
- background: $color-dashboard;
143
- border-radius: 10px;
144
- cursor: pointer;
145
- pointer-events: none;
146
- user-select: none;
147
- transition: background-color $animation;
148
-
149
- &::before,
150
- &::after {
151
- position: absolute;
152
- top: 2px;
153
- left: 2px;
154
- display: block;
155
- content: "";
156
- width: 16px;
157
- height: 16px;
158
- }
159
-
160
- &::before {
161
- display: none;
162
- }
163
-
164
- &::after {
165
- border-radius: 50%;
166
- background-color: $color-white;
167
- box-shadow: 0 3px 8px 0 rgba($color-dashboard, 0.3);
168
- z-index: $z-index-mid;
169
- transition: transform $animation, box-shadow $animation,
170
- background-color $animation;
171
- }
172
- }
173
- }
@@ -1,61 +0,0 @@
1
- html {
2
- &.DatePicker-tether-shim-open {
3
- @extend %disable-scrolling;
4
- }
5
- }
6
-
7
- .DatePicker {
8
- &.FormElement-contains-error {
9
- @extend %form-element-error;
10
- }
11
- }
12
-
13
- .DatePicker-input-container {
14
- > span {
15
- display: inline-block;
16
- }
17
-
18
- .FormElement-item {
19
- cursor: pointer;
20
- }
21
- }
22
-
23
- .DatePicker-input-container-with-icon {
24
- .TextInput {
25
- .Icon-calendar {
26
- fill: $color-shift;
27
- pointer-events: none;
28
-
29
- .DatePicker-disabled & {
30
- fill: $color-cement;
31
- }
32
- }
33
- }
34
- }
35
-
36
- .DatePicker-tether {
37
- z-index: $z-index-modal;
38
- }
39
-
40
- // !important is necessary here to override JS settings for this particular instance
41
- .DatePicker-tether-centered-with-shim {
42
- /* stylelint-disable declaration-no-important */
43
- position: fixed !important;
44
- top: 50% !important;
45
- left: 50% !important;
46
- transform: translate(-50%, -50%) !important;
47
- /* stylelint-enable declaration-no-important */
48
- }
49
-
50
- .DatePicker-calendar-shim {
51
- position: fixed;
52
- left: 0;
53
- top: 0;
54
- bottom: 0;
55
- right: 0;
56
- width: 100%;
57
- height: 100%;
58
- margin: auto;
59
- background-color: rgba($color-fuel, 0.9);
60
- z-index: $z-index-modal-shim;
61
- }
@@ -1,159 +0,0 @@
1
- .DayPicker {
2
- font-size: 14px;
3
- position: relative;
4
- width: 280px;
5
- background-color: $color-white;
6
- border: 1px solid $color-dashboard;
7
- box-shadow: 0 6px 18px 1px rgba($color-black, 0.12);
8
- border-radius: 0 0 4px 4px;
9
- cursor: default;
10
- outline: none;
11
- }
12
-
13
- .DayPicker-NavBar {
14
- position: absolute;
15
- left: 0;
16
- right: 0;
17
- }
18
-
19
- .DayPicker-NavButton {
20
- position: absolute;
21
- padding: 3px 10px;
22
- top: 8px;
23
- cursor: pointer;
24
-
25
- .Icon {
26
- margin: 0;
27
- fill: $color-cement;
28
- }
29
- }
30
-
31
- .DayPicker-NavButton--prev {
32
- left: 40px;
33
- }
34
-
35
- .DayPicker-NavButton--next {
36
- right: 40px;
37
- }
38
-
39
- .DayPicker-Caption {
40
- font-size: 16px;
41
- width: 100%;
42
- height: 41px;
43
- line-height: 41px;
44
- text-align: center;
45
- font-weight: $font-weight-semi-bold;
46
- background-color: $color-white;
47
- }
48
-
49
- .DayPicker-Weekdays {
50
- margin: 0 6px;
51
- padding: 10px 0;
52
- border-bottom: 1px solid $color-dashboard;
53
- }
54
-
55
- .DayPicker-Weekday {
56
- display: inline-block;
57
- width: 38px;
58
- text-align: center;
59
- font-weight: $font-weight-semi-bold;
60
-
61
- abbr {
62
- border-bottom: none;
63
- text-decoration: none;
64
- }
65
- }
66
-
67
- .DayPicker-Body {
68
- padding: 5px;
69
- }
70
-
71
- .DayPicker-Day {
72
- display: table-cell;
73
- width: 38px;
74
- height: 38px;
75
- vertical-align: middle;
76
- background-color: $color-white;
77
- text-align: center;
78
- cursor: pointer;
79
- outline: none;
80
- border-radius: 19px;
81
-
82
- /* stylelint-disable */
83
- &:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected) {
84
- &:hover {
85
- border: 1px solid $color-go;
86
- border-radius: 100%;
87
- }
88
- }
89
- /* stylelint-enable */
90
- }
91
-
92
- .DayPicker--interactionDisabled {
93
- .DayPicker-Day {
94
- cursor: default;
95
- }
96
- }
97
-
98
- .DayPicker-Day--today {
99
- color: $color-go;
100
- }
101
-
102
- .DayPicker-Day--disabled {
103
- color: $color-cement;
104
- cursor: default;
105
- }
106
- /* stylelint-disable */
107
- .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
108
- color: $color-white;
109
- background-color: $color-go;
110
- }
111
- /* stylelint-enable */
112
-
113
- .DatePicker-calendar-with-range {
114
- .DayPicker-Day {
115
- border-radius: 0;
116
-
117
- &.DayPicker-Day--outside {
118
- &:hover {
119
- border: none;
120
- }
121
- }
122
- }
123
-
124
- /* stylelint-disable */
125
- .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
126
- color: $color-white;
127
- background-color: rgba($color-go, 0.33);
128
-
129
- &.DayPicker-Day--start-without-end {
130
- background-color: transparent;
131
- }
132
- }
133
- /* stylelint-enable */
134
-
135
- .DayPicker-Day--start,
136
- .DayPicker-Day--end {
137
- color: $color-white;
138
-
139
- .DatePicker-Day--wrapper {
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- height: 100%;
144
- width: 100%;
145
- border-radius: 100%;
146
- background-color: $color-go;
147
- }
148
- }
149
-
150
- .DayPicker-Day--start {
151
- border-top-left-radius: 50%;
152
- border-bottom-left-radius: 50%;
153
- }
154
-
155
- .DayPicker-Day--end {
156
- border-top-right-radius: 50%;
157
- border-bottom-right-radius: 50%;
158
- }
159
- }
@@ -1,4 +0,0 @@
1
- @import "DatePickerCalendar";
2
- @import "DatePicker";
3
- @import "TimePicker";
4
- @import "DateTimePicker";
@@ -1,46 +0,0 @@
1
- @use "sass:color";
2
-
3
- @keyframes HIGHLIGHT {
4
- 5% {
5
- background-color: color.adjust($color-highlight, $lightness: 40%);
6
- }
7
- }
8
-
9
- .DateTimePicker {
10
- .DatePicker {
11
- display: inline-block;
12
- margin-right: 20px;
13
- vertical-align: top;
14
- }
15
-
16
- .TimePicker {
17
- display: inline-block;
18
- vertical-align: top;
19
- }
20
- }
21
-
22
- .DateTimePicker-highlight {
23
- .FormElement-item {
24
- animation: HIGHLIGHT 3s;
25
- }
26
- }
27
-
28
- .DateTimePicker-error {
29
- @extend %form-element-error;
30
-
31
- .DatePicker-input-container-with-icon {
32
- .Icon {
33
- fill: $color-stop;
34
- }
35
- }
36
-
37
- .TimePicker-with-icon {
38
- .FormElement {
39
- .Select-icon {
40
- .Icon {
41
- fill: $color-stop;
42
- }
43
- }
44
- }
45
- }
46
- }
@@ -1,30 +0,0 @@
1
- .TimePicker {
2
- position: relative;
3
-
4
- &.FormElement-contains-error {
5
- @extend %form-element-error;
6
- }
7
- }
8
-
9
- .TimePicker-with-icon {
10
- .FormElement {
11
- .FormElement-item {
12
- padding-right: 40px;
13
- cursor: pointer;
14
- }
15
-
16
- .Icon-chevron-down {
17
- display: none;
18
- }
19
-
20
- &.FormElement-with-icon {
21
- .Select-icon {
22
- pointer-events: none;
23
-
24
- .Icon {
25
- fill: $color-shift;
26
- }
27
- }
28
- }
29
- }
30
- }
@@ -1,18 +0,0 @@
1
- .ErrorBoundary {
2
- width: 100%;
3
- height: 100%;
4
- color: $color-fuel;
5
- }
6
-
7
- .ErrorBoundary-content {
8
- display: flex;
9
- flex-direction: column;
10
- justify-content: center;
11
- align-items: center;
12
- text-align: center;
13
- }
14
-
15
- .ErrorBoundary-info {
16
- font-size: 20px;
17
- padding-bottom: 8px;
18
- }
@@ -1,73 +0,0 @@
1
- html {
2
- &.Flyout-no-scroll {
3
- @extend %disable-scrolling;
4
- }
5
- }
6
-
7
- .Flyout-container {
8
- position: fixed;
9
- top: 0;
10
- left: 0;
11
- width: 100%;
12
- height: 100%;
13
- overflow: hidden;
14
- z-index: $z-index-modal;
15
- }
16
-
17
- .Flyout-wrapper {
18
- position: absolute;
19
- top: 2px;
20
- left: 100%;
21
- width: 320px;
22
- height: calc(100% - 2px);
23
- background-color: $color-white;
24
- border-radius: 4px 0 0 4px;
25
- box-shadow: -8px 0 16px 0 rgba($color-black, 0.1);
26
- transform: translateX(100%);
27
- transition: transform $animation;
28
- }
29
-
30
- .Flyout-active {
31
- transform: translateX(-100%);
32
- transition: transform $animation;
33
- }
34
-
35
- .Flyout-shim {
36
- position: fixed;
37
- left: 0;
38
- top: 0;
39
- bottom: 0;
40
- right: 0;
41
- margin: auto;
42
- height: 100%;
43
- width: 100%;
44
- }
45
-
46
- .Flyout-heading {
47
- position: relative;
48
- width: 100%;
49
- height: 64px;
50
- border-bottom: 1px solid $color-dashboard;
51
-
52
- h1 {
53
- @include center(false, true);
54
- left: 24px;
55
- }
56
- }
57
-
58
- .Flyout-close {
59
- @include center(false, true);
60
- left: auto;
61
- right: 16px;
62
- padding: 8px;
63
-
64
- .Icon {
65
- fill: $color-cement;
66
- }
67
- }
68
-
69
- .Flyout-content {
70
- height: calc(100% - 64px);
71
- padding: 24px;
72
- overflow: auto;
73
- }
@@ -1,53 +0,0 @@
1
- .FormElement-inline {
2
- display: table-cell;
3
- vertical-align: middle;
4
-
5
- .Label {
6
- display: inline-block;
7
- margin-right: 10px;
8
- }
9
-
10
- .FormElement-control {
11
- display: inline-block;
12
- }
13
- }
14
-
15
- .FormElementError {
16
- font-size: 12px;
17
- display: block;
18
- margin: 8px 0 0;
19
- padding: 0;
20
- color: $color-stop;
21
- }
22
-
23
- .FormGroup-inline {
24
- > .FormElement {
25
- display: inline-block;
26
- vertical-align: top;
27
-
28
- &:not(:last-child) {
29
- margin-right: 24px;
30
- }
31
- }
32
- }
33
-
34
- .FormGroupError {
35
- position: relative;
36
- margin: 24px 0;
37
- padding: 0;
38
- font-weight: $font-weight-semi-bold;
39
- color: $color-stop;
40
- border: 2px solid $color-stop;
41
- border-radius: 4px;
42
-
43
- > .Icon {
44
- @include center(false, true);
45
- left: 24px;
46
- width: 20px;
47
- height: 20px;
48
- }
49
- }
50
-
51
- .FormGroupError-content {
52
- padding: 24px 32px 24px 60px;
53
- }
@@ -1,3 +0,0 @@
1
- .GooglePlacesSearchInput {
2
- text-align: left;
3
- }
@@ -1,21 +0,0 @@
1
- .PoweredByGoogle {
2
- position: relative;
3
- height: 28px;
4
- background: $color-pavement;
5
- padding: 7px 10px 7px 16px;
6
-
7
- &:hover {
8
- cursor: pointer;
9
- background: $color-pavement;
10
- }
11
-
12
- @include breakpoint($breakpoint-md) {
13
- padding: 5px 10px 5px 18px;
14
- }
15
- }
16
-
17
- .PoweredByGoogleImage {
18
- position: absolute;
19
- top: auto;
20
- right: 10px;
21
- }
@@ -1,48 +0,0 @@
1
- .HorizontalRule {
2
- font-size: 16px;
3
- border: none;
4
- border-bottom: 1px dotted $color-dashboard;
5
- margin: 1.6em 0 1.8em;
6
- height: 10px;
7
- width: 100%;
8
- color: $color-dashboard;
9
- display: block;
10
- position: relative;
11
- text-align: center;
12
- background: none;
13
-
14
- > span {
15
- display: inline-block;
16
- background: $color-white;
17
- padding: 0 15px;
18
- text-transform: uppercase;
19
- }
20
- }
21
-
22
- .HorizontalRule-dotted {
23
- border-bottom-style: dotted;
24
- }
25
-
26
- .HorizontalRule-dashed {
27
- border-bottom-style: dashed;
28
- }
29
-
30
- .HorizontalRule-solid {
31
- border-bottom-style: solid;
32
- }
33
-
34
- .HorizontalRule-left {
35
- text-align: left;
36
-
37
- > span {
38
- margin-left: 60px;
39
- }
40
- }
41
-
42
- .HorizontalRule-right {
43
- text-align: right;
44
-
45
- > span {
46
- margin-right: 60px;
47
- }
48
- }
@@ -1,6 +0,0 @@
1
- .Label {
2
- display: block;
3
- margin-bottom: 8px;
4
- font-weight: $font-weight-semi-bold;
5
- color: $color-cement;
6
- }