@spothero/ui 15.10.8 → 16.0.0-beta.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.
Files changed (317) hide show
  1. package/.eslintignore +2 -1
  2. package/dex.config.js +1 -1
  3. package/jest.config.json +1 -2
  4. package/package.json +8 -24
  5. package/styles/{v2/components → components}/Accordion/Accordion.stories.js +2 -2
  6. package/styles/{v2/components → components}/Accordion/styles/button.js +1 -1
  7. package/styles/{v2/components → components}/Alert/Alert.jsx +2 -2
  8. package/styles/{v2/components → components}/AutoSuggestSelect/AutoSuggestSelect.jsx +7 -0
  9. package/styles/{v2/components → components}/Button/stories/button.js +1 -1
  10. package/styles/{v2/components → components}/Button/stories/overview.js +1 -1
  11. package/styles/{v2/components → components}/FormControl/FormControl.jsx +2 -0
  12. package/styles/{v2/components → components}/Grid/Grid.stories.js +1 -1
  13. package/styles/{v2/components → components}/Heading/Heading.styles.js +1 -1
  14. package/styles/{v2/components → components}/Image/Image.jsx +23 -2
  15. package/styles/{v2/components → components}/Link/Link.stories.js +2 -2
  16. package/styles/{v2/components → components}/List/List.stories.js +2 -2
  17. package/styles/{v2/components → components}/Modal/Modal.jsx +0 -1
  18. package/styles/{v2/components → components}/Modal/Modal.stories.js +4 -4
  19. package/styles/{v2/components → components}/Popover/Popover.stories.js +1 -1
  20. package/styles/{v2/components → components}/Popover/styles/index.js +1 -1
  21. package/styles/{v2/components/Popover/styles/popper.js → components/Popover/styles/popover-content.js} +8 -5
  22. package/styles/components/Popover/styles/popper.js +5 -0
  23. package/styles/{v2/components → components}/Skeleton/index.js +1 -1
  24. package/styles/{v2/components → components}/Spinner/Spinner.stories.js +1 -1
  25. package/styles/{v2/components → components}/Table/Table.styles.js +1 -1
  26. package/styles/{v2/components → components}/Tabs/Tabs.jsx +2 -3
  27. package/styles/{v2/components → components}/Tabs/combineSizeWithVariant.js +5 -3
  28. package/styles/{v2/components → components}/Text/Text.styles.js +1 -1
  29. package/styles/{v2/components → components}/Text/combineAsWithVariant.js +1 -1
  30. package/styles/{v2/components → components}/ThemeProvider/ThemeProvider.jsx +2 -2
  31. package/styles/{v2/components → components}/ThemeProvider/ThemeProvider.stories.js +2 -2
  32. package/v2/index.js +1 -1
  33. package/v2/index.js.map +1 -1
  34. package/backlog/Alert/Alert.js +0 -37
  35. package/backlog/AutoSuggestInput/AutoSuggestInput.js +0 -474
  36. package/backlog/AutoSuggestInput/AutoSuggestItem.js +0 -99
  37. package/backlog/AutoSuggestInput/AutoSuggestList.js +0 -126
  38. package/backlog/Badge/Badge.js +0 -28
  39. package/backlog/Chart/Chart.js +0 -211
  40. package/backlog/Checkbox/Checkbox.js +0 -167
  41. package/backlog/DateTime/DatePicker.js +0 -279
  42. package/backlog/DateTime/DatePickerCalendar.js +0 -199
  43. package/backlog/DateTime/DatePickerCalendarNavigation.js +0 -102
  44. package/backlog/DateTime/DatePickerCalendarWithRange.js +0 -241
  45. package/backlog/DateTime/DateTimePicker.js +0 -216
  46. package/backlog/DateTime/DateTimeRangePicker.js +0 -530
  47. package/backlog/DateTime/TimePicker.js +0 -180
  48. package/backlog/DateTime/date-time-assertions.js +0 -66
  49. package/backlog/DateTime/index.js +0 -55
  50. package/backlog/ErrorBoundary/ErrorBoundary.js +0 -125
  51. package/backlog/Flyout/Flyout.js +0 -198
  52. package/backlog/Form/Form.js +0 -193
  53. package/backlog/Form/FormElementError.js +0 -24
  54. package/backlog/Form/FormGroup.js +0 -30
  55. package/backlog/Form/FormGroupError.js +0 -28
  56. package/backlog/Form/index.js +0 -39
  57. package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +0 -253
  58. package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +0 -38
  59. package/backlog/GooglePlacesSearchInput/index.js +0 -23
  60. package/backlog/HorizontalRule/HorizontalRule.js +0 -30
  61. package/backlog/Label/Label.js +0 -31
  62. package/backlog/Notification/Notification.js +0 -178
  63. package/backlog/Notification/NotificationContainer.js +0 -131
  64. package/backlog/Notification/NotificationPropTypes.js +0 -37
  65. package/backlog/Notification/index.js +0 -23
  66. package/backlog/PasswordControl/PasswordControl.js +0 -201
  67. package/backlog/Portal/Portal.js +0 -110
  68. package/backlog/PulseLoader/PulseLoader.js +0 -62
  69. package/backlog/Radio/Radio.js +0 -135
  70. package/backlog/Radio/RadioGroup.js +0 -123
  71. package/backlog/Radio/index.js +0 -23
  72. package/backlog/RenderInBody/RenderInBody.js +0 -103
  73. package/backlog/Select/Select.js +0 -275
  74. package/backlog/Select/SelectItemPropTypes.js +0 -32
  75. package/backlog/Select/index.js +0 -23
  76. package/backlog/SelectControlled/SelectControlled.js +0 -270
  77. package/backlog/SelectControlled/index.js +0 -15
  78. package/backlog/Sprite/Sprite.js +0 -24
  79. package/backlog/Tabs/Tab.js +0 -94
  80. package/backlog/Tabs/TabContent.js +0 -56
  81. package/backlog/Tabs/TabNavigation.js +0 -108
  82. package/backlog/Tabs/TabPanel.js +0 -29
  83. package/backlog/Tabs/Tabs.js +0 -126
  84. package/backlog/Tabs/index.js +0 -47
  85. package/backlog/TextArea/TextArea.js +0 -155
  86. package/backlog/TextInput/TextInput.js +0 -230
  87. package/backlog/TextInput/TextInputPropTypes.js +0 -114
  88. package/backlog/TextInput/index.js +0 -23
  89. package/backlog/Tooltip/Tooltip.js +0 -249
  90. package/backlog/index.js +0 -393
  91. package/backlog/v1/components/Button/Button.js +0 -64
  92. package/backlog/v1/components/Button/button-props.js +0 -48
  93. package/backlog/v1/components/Image/Image.js +0 -193
  94. package/backlog/v1/components/Loader/Loader.js +0 -51
  95. package/backlog/v1/components/Modal/Modal.js +0 -325
  96. package/backlog/v1/components/Modal/ModalContent.js +0 -154
  97. package/backlog/v1/components/Modal/ModalFooter.js +0 -89
  98. package/backlog/v1/components/Modal/index.js +0 -31
  99. package/backlog/v1/components/Panel/Panel.js +0 -209
  100. package/backlog/v1/components/Table/Table.js +0 -336
  101. package/backlog/v1/components/Table/TableCell.js +0 -28
  102. package/backlog/v1/components/Table/TableCellPropTypes.js +0 -22
  103. package/backlog/v1/components/Table/TableControls.js +0 -56
  104. package/backlog/v1/components/Table/TableFooter.js +0 -63
  105. package/backlog/v1/components/Table/TableHeading.js +0 -126
  106. package/backlog/v1/components/Table/TableHeadingPropTypes.js +0 -35
  107. package/backlog/v1/components/Table/TableSortSelector.js +0 -125
  108. package/backlog/v1/components/Table/TableSortType.js +0 -11
  109. package/backlog/v1/components/Table/index.js +0 -47
  110. package/backlog/v1/components/TextButton/TextButton.js +0 -74
  111. package/backlog/v1/components/index.js +0 -75
  112. package/backlog/v1/utils/deprecate.js +0 -61
  113. package/styles/Alert/_Alert.scss +0 -51
  114. package/styles/AutoSuggestInput/_AutoSuggestInput.scss +0 -116
  115. package/styles/Badge/_Badge.scss +0 -33
  116. package/styles/Chart/_Chart.scss +0 -105
  117. package/styles/Chart/_chartist-settings.scss +0 -131
  118. package/styles/Chart/_chartist.scss +0 -295
  119. package/styles/Checkbox/_Checkbox.scss +0 -173
  120. package/styles/DateTime/_DatePicker.scss +0 -61
  121. package/styles/DateTime/_DatePickerCalendar.scss +0 -159
  122. package/styles/DateTime/_DateTime.scss +0 -4
  123. package/styles/DateTime/_DateTimePicker.scss +0 -46
  124. package/styles/DateTime/_TimePicker.scss +0 -30
  125. package/styles/ErrorBoundary/_ErrorBoundary.scss +0 -18
  126. package/styles/Flyout/_Flyout.scss +0 -73
  127. package/styles/Form/_Form.scss +0 -53
  128. package/styles/GooglePlacesSearchInput/_GooglePlacesSearchInput.scss +0 -3
  129. package/styles/GooglePlacesSearchInput/_PoweredByGoogle.scss +0 -21
  130. package/styles/HorizontalRule/_HorizontalRule.scss +0 -48
  131. package/styles/Label/_Label.scss +0 -6
  132. package/styles/Notification/_Notification.scss +0 -113
  133. package/styles/PasswordControl/_PasswordControl.scss +0 -86
  134. package/styles/PulseLoader/_PulseLoader.scss +0 -60
  135. package/styles/Radio/_Radio.scss +0 -93
  136. package/styles/Select/_Select.scss +0 -94
  137. package/styles/Tabs/_Tabs.scss +0 -57
  138. package/styles/TextArea/_TextArea.scss +0 -26
  139. package/styles/TextInput/_TextInput.scss +0 -43
  140. package/styles/Tooltip/_Tooltip.scss +0 -108
  141. package/styles/_index.scss +0 -34
  142. package/styles/common/sass/_control-sizing.scss +0 -5
  143. package/styles/common/sass/_disable-scrolling.scss +0 -7
  144. package/styles/common/sass/_forms.scss +0 -72
  145. package/styles/index.js +0 -50
  146. package/styles/v1/components/Button/Button.jsx +0 -48
  147. package/styles/v1/components/Button/Button.spec.js +0 -76
  148. package/styles/v1/components/Button/_Button.scss +0 -178
  149. package/styles/v1/components/Button/button-props.js +0 -30
  150. package/styles/v1/components/Button/stories/button.js +0 -20
  151. package/styles/v1/components/Button/stories/index.stories.js +0 -92
  152. package/styles/v1/components/Button/stories/overview.js +0 -87
  153. package/styles/v1/components/Button/stories/types.js +0 -31
  154. package/styles/v1/components/Image/Image.jsx +0 -175
  155. package/styles/v1/components/Image/Image.spec.js +0 -113
  156. package/styles/v1/components/Image/_Image.scss +0 -24
  157. package/styles/v1/components/Image/stories/Cloudinary.stories.js +0 -39
  158. package/styles/v1/components/Image/stories/Display.stories.js +0 -92
  159. package/styles/v1/components/Loader/Loader.jsx +0 -54
  160. package/styles/v1/components/Loader/Loader.spec.js +0 -67
  161. package/styles/v1/components/Loader/_Loader.scss +0 -18
  162. package/styles/v1/components/Loader/stories/Display.stories.js +0 -55
  163. package/styles/v1/components/Modal/Modal.jsx +0 -315
  164. package/styles/v1/components/Modal/Modal.spec.js +0 -293
  165. package/styles/v1/components/Modal/ModalContent.jsx +0 -126
  166. package/styles/v1/components/Modal/ModalFooter.jsx +0 -53
  167. package/styles/v1/components/Modal/_Modal.scss +0 -262
  168. package/styles/v1/components/Modal/index.js +0 -3
  169. package/styles/v1/components/Modal/stories/Content.stories.js +0 -314
  170. package/styles/v1/components/Modal/stories/Display.stories.js +0 -208
  171. package/styles/v1/components/Modal/stories/Methods.stories.js +0 -44
  172. package/styles/v1/components/Modal/stories/Width.stories.js +0 -82
  173. package/styles/v1/components/Modal/stories/helpers/ReduxConsumer.jsx +0 -21
  174. package/styles/v1/components/Panel/Panel.jsx +0 -202
  175. package/styles/v1/components/Panel/Panel.spec.js +0 -196
  176. package/styles/v1/components/Panel/_Panel.scss +0 -55
  177. package/styles/v1/components/Panel/stories/Display.stories.js +0 -82
  178. package/styles/v1/components/Panel/stories/Methods.stories.js +0 -76
  179. package/styles/v1/components/Table/Table.jsx +0 -367
  180. package/styles/v1/components/Table/Table.spec.js +0 -526
  181. package/styles/v1/components/Table/TableCell.jsx +0 -17
  182. package/styles/v1/components/Table/TableCellPropTypes.js +0 -10
  183. package/styles/v1/components/Table/TableControls.jsx +0 -61
  184. package/styles/v1/components/Table/TableFooter.jsx +0 -72
  185. package/styles/v1/components/Table/TableHeading.jsx +0 -58
  186. package/styles/v1/components/Table/TableHeadingPropTypes.js +0 -20
  187. package/styles/v1/components/Table/TableSortSelector.jsx +0 -63
  188. package/styles/v1/components/Table/TableSortType.js +0 -4
  189. package/styles/v1/components/Table/_Table.scss +0 -263
  190. package/styles/v1/components/Table/index.js +0 -5
  191. package/styles/v1/components/Table/stories/Display.stories.js +0 -194
  192. package/styles/v1/components/Table/stories/Methods.stories.js +0 -141
  193. package/styles/v1/components/Table/stories/helpers/TableCellEmail.jsx +0 -25
  194. package/styles/v1/components/Table/stories/helpers/TableCustomRow.jsx +0 -35
  195. package/styles/v1/components/Table/stories/helpers/TableHeadingEmail.jsx +0 -20
  196. package/styles/v1/components/Table/stories/helpers/table-data.js +0 -26
  197. package/styles/v1/components/Table/stories/helpers/table-headers.js +0 -14
  198. package/styles/v1/components/TextButton/TextButton.jsx +0 -78
  199. package/styles/v1/components/TextButton/TextButton.spec.js +0 -95
  200. package/styles/v1/components/TextButton/_TextButton.scss +0 -114
  201. package/styles/v1/components/TextButton/stories/Display.stories.js +0 -46
  202. package/styles/v1/components/index.js +0 -7
  203. package/styles/v1/utils/deprecate.js +0 -45
  204. package/styles/v2/components/Popover/styles/popover-content.js +0 -8
  205. package/styles/v2/components/index.js +0 -70
  206. package/styles/v2/components/styles.js +0 -21
  207. package/styles/v2/theme/global.js +0 -118
  208. package/styles/v2/theme/index.js +0 -27
  209. package/styles/v2/utils/Spaces.js +0 -16
  210. package/v1/assets-manifest.json +0 -5
  211. package/v1/index.html +0 -1
  212. package/v1/index.js +0 -3
  213. package/v1/index.js.LICENSE.txt +0 -23
  214. package/v1/index.js.map +0 -1
  215. /package/styles/{v2/components → components}/Accordion/Accordion.jsx +0 -0
  216. /package/styles/{v2/components → components}/Accordion/index.js +0 -0
  217. /package/styles/{v2/components → components}/Accordion/styles/container.js +0 -0
  218. /package/styles/{v2/components → components}/Accordion/styles/index.js +0 -0
  219. /package/styles/{v2/components → components}/Accordion/styles/panel.js +0 -0
  220. /package/styles/{v2/components → components}/Alert/Alert.stories.js +0 -0
  221. /package/styles/{v2/components → components}/Alert/index.js +0 -0
  222. /package/styles/{v2/components → components}/Alert/styles/index.js +0 -0
  223. /package/styles/{v2/components → components}/AutoSuggestSelect/index.js +0 -0
  224. /package/styles/{v2/components → components}/Badge/Badge.jsx +0 -0
  225. /package/styles/{v2/components → components}/Badge/Badge.stories.js +0 -0
  226. /package/styles/{v2/components → components}/Badge/styles/index.js +0 -0
  227. /package/styles/{v2/components → components}/Button/Button.jsx +0 -0
  228. /package/styles/{v2/components → components}/Button/Button.spec.js +0 -0
  229. /package/styles/{v2/components → components}/Button/Button.styles.js +0 -0
  230. /package/styles/{v2/components → components}/Button/button-props.js +0 -0
  231. /package/styles/{v2/components → components}/Button/index.js +0 -0
  232. /package/styles/{v2/components → components}/Button/stories/index.stories.js +0 -0
  233. /package/styles/{v2/components → components}/Card/Card.jsx +0 -0
  234. /package/styles/{v2/components → components}/Card/Card.stories.js +0 -0
  235. /package/styles/{v2/components → components}/Checkbox/Checkbox.jsx +0 -0
  236. /package/styles/{v2/components → components}/Checkbox/Checkbox.stories.js +0 -0
  237. /package/styles/{v2/components → components}/Checkbox/index.js +0 -0
  238. /package/styles/{v2/components → components}/Checkbox/styles/index.js +0 -0
  239. /package/styles/{v2/components → components}/Container/Container.jsx +0 -0
  240. /package/styles/{v2/components → components}/Container/Container.stories.js +0 -0
  241. /package/styles/{v2/components → components}/Container/Container.styles.js +0 -0
  242. /package/styles/{v2/components → components}/Divider/Divider.jsx +0 -0
  243. /package/styles/{v2/components → components}/Divider/Divider.stories.js +0 -0
  244. /package/styles/{v2/components → components}/Divider/Divider.styles.js +0 -0
  245. /package/styles/{v2/components → components}/Grid/Grid.jsx +0 -0
  246. /package/styles/{v2/components → components}/Grid/Grid.styles.js +0 -0
  247. /package/styles/{v2/components → components}/Grid/GridItem.jsx +0 -0
  248. /package/styles/{v2/components → components}/Grid/GridItem.styles.js +0 -0
  249. /package/styles/{v2/components → components}/Grid/index.js +0 -0
  250. /package/styles/{v2/components → components}/Heading/Heading.jsx +0 -0
  251. /package/styles/{v2/components → components}/Heading/Heading.stories.js +0 -0
  252. /package/styles/{v2/components → components}/Icon/Icon.jsx +0 -0
  253. /package/styles/{v2/components → components}/Icon/Icon.stories.js +0 -0
  254. /package/styles/{v2/components → components}/Image/Image.spec.js +0 -0
  255. /package/styles/{v2/components → components}/Image/Image.stories.js +0 -0
  256. /package/styles/{v2/components → components}/Input/Input.jsx +0 -0
  257. /package/styles/{v2/components → components}/Input/Input.stories.js +0 -0
  258. /package/styles/{v2/components → components}/Input/index.js +0 -0
  259. /package/styles/{v2/components → components}/Input/styles/index.js +0 -0
  260. /package/styles/{v2/components → components}/Link/Link.jsx +0 -0
  261. /package/styles/{v2/components → components}/Link/Link.styles.js +0 -0
  262. /package/styles/{v2/components → components}/List/List.jsx +0 -0
  263. /package/styles/{v2/components → components}/List/index.js +0 -0
  264. /package/styles/{v2/components → components}/List/styles/index.js +0 -0
  265. /package/styles/{v2/components → components}/List/styles/item.styles.js +0 -0
  266. /package/styles/{v2/components → components}/Loader/Loader.jsx +0 -0
  267. /package/styles/{v2/components → components}/Loader/Loader.stories.js +0 -0
  268. /package/styles/{v2/components → components}/Modal/index.js +0 -0
  269. /package/styles/{v2/components → components}/Modal/styles/body.js +0 -0
  270. /package/styles/{v2/components → components}/Modal/styles/closeButton.js +0 -0
  271. /package/styles/{v2/components → components}/Modal/styles/dialog.js +0 -0
  272. /package/styles/{v2/components → components}/Modal/styles/dialogContainer.js +0 -0
  273. /package/styles/{v2/components → components}/Modal/styles/footer.js +0 -0
  274. /package/styles/{v2/components → components}/Modal/styles/header.js +0 -0
  275. /package/styles/{v2/components → components}/Modal/styles/index.js +0 -0
  276. /package/styles/{v2/components → components}/Modal/styles/overlay.js +0 -0
  277. /package/styles/{v2/components → components}/Popover/Popover.jsx +0 -0
  278. /package/styles/{v2/components → components}/Popover/PopoverArrow.jsx +0 -0
  279. /package/styles/{v2/components → components}/Popover/PopoverCloseButton.jsx +0 -0
  280. /package/styles/{v2/components → components}/Popover/PopoverContent.jsx +0 -0
  281. /package/styles/{v2/components → components}/Popover/index.js +0 -0
  282. /package/styles/{v2/components → components}/Popover/styles/popover-arrow.js +0 -0
  283. /package/styles/{v2/components → components}/Popover/styles/popover-body.js +0 -0
  284. /package/styles/{v2/components → components}/Popover/styles/popover-close-button.js +0 -0
  285. /package/styles/{v2/components → components}/Popover/styles/popover-header.js +0 -0
  286. /package/styles/{v2/components → components}/Radio/Radio.jsx +0 -0
  287. /package/styles/{v2/components → components}/Radio/Radio.stories.js +0 -0
  288. /package/styles/{v2/components → components}/Radio/RadioGroup.jsx +0 -0
  289. /package/styles/{v2/components → components}/Radio/index.js +0 -0
  290. /package/styles/{v2/components → components}/Radio/styles/index.js +0 -0
  291. /package/styles/{v2/components → components}/Select/Select.jsx +0 -0
  292. /package/styles/{v2/components → components}/Select/Select.stories.js +0 -0
  293. /package/styles/{v2/components → components}/Select/index.js +0 -0
  294. /package/styles/{v2/components → components}/Select/styles/index.js +0 -0
  295. /package/styles/{v2/components → components}/Skeleton/Skeleton.stories.jsx +0 -0
  296. /package/styles/{v2/components → components}/Skeleton/Skeleton.styles.js +0 -0
  297. /package/styles/{v2/components → components}/Spinner/Spinner.jsx +0 -0
  298. /package/styles/{v2/components → components}/Spinner/Spinner.styles.js +0 -0
  299. /package/styles/{v2/components → components}/Switch/Switch.jsx +0 -0
  300. /package/styles/{v2/components → components}/Switch/Switch.stories.js +0 -0
  301. /package/styles/{v2/components → components}/Switch/index.js +0 -0
  302. /package/styles/{v2/components → components}/Switch/styles/index.js +0 -0
  303. /package/styles/{v2/components → components}/Table/Table.jsx +0 -0
  304. /package/styles/{v2/components → components}/Table/Table.stories.js +0 -0
  305. /package/styles/{v2/components → components}/Table/index.js +0 -0
  306. /package/styles/{v2/components → components}/Tabs/Tabs.stories.js +0 -0
  307. /package/styles/{v2/components → components}/Tabs/index.js +0 -0
  308. /package/styles/{v2/components → components}/Tabs/styles/index.js +0 -0
  309. /package/styles/{v2/components → components}/Text/Text.jsx +0 -0
  310. /package/styles/{v2/components → components}/Text/Text.stories.js +0 -0
  311. /package/styles/{v2/components → components}/Text/options.js +0 -0
  312. /package/styles/{v2/theme → theme}/base/breakpoints.js +0 -0
  313. /package/styles/{v2/theme → theme}/base/colors.js +0 -0
  314. /package/styles/{v2/theme → theme}/base/index.js +0 -0
  315. /package/styles/{v2/theme → theme}/base/sizes.js +0 -0
  316. /package/styles/{v2/theme → theme}/base/typography.js +0 -0
  317. /package/styles/{v2/theme → theme}/base/zindices.js +0 -0
@@ -1,116 +0,0 @@
1
- .AutoSuggestInput {
2
- position: relative;
3
-
4
- .FormElement-item {
5
- padding-right: 35px;
6
- }
7
- }
8
-
9
- .AutoSuggestInput-suggestions-active {
10
- .FormElement-item {
11
- border-bottom-right-radius: 0;
12
- border-bottom-left-radius: 0;
13
- }
14
- }
15
-
16
- .AutoSuggestInput-no-suggestions {
17
- .FormElement-item {
18
- border-bottom-left-radius: 4px;
19
- border-bottom-right-radius: 4px;
20
-
21
- @include breakpoint($breakpoint-md) {
22
- border-bottom-left-radius: 3px;
23
- border-bottom-right-radius: 3px;
24
- }
25
- }
26
- }
27
-
28
- .AutoSuggestInput-suggestions {
29
- position: absolute;
30
- top: 100%;
31
- left: 0;
32
- right: 0;
33
- max-height: 224px;
34
- padding: 0;
35
- margin-top: -1px;
36
- background: $color-white;
37
- border: 1px solid $color-dashboard;
38
- overflow-x: hidden;
39
- overflow-y: auto;
40
- list-style: none;
41
- text-align: left;
42
- z-index: $z-index-layer1;
43
- border-bottom-left-radius: 2px;
44
- border-bottom-right-radius: 2px;
45
- transition: max-height 0.2s, border 0.2s;
46
-
47
- .AutoSuggestInput-no-suggestions & {
48
- display: none;
49
- }
50
-
51
- @include breakpoint($breakpoint-md) {
52
- max-height: 25em;
53
- border-color: $color-black;
54
- }
55
- }
56
-
57
- .AutoSuggestInput-suggestions-hidden {
58
- max-height: 0;
59
- overflow: hidden;
60
- border-width: 0;
61
- }
62
-
63
- .AutoSuggestInput-item {
64
- @include ellipsis;
65
- font-size: 14px;
66
- cursor: pointer;
67
- padding: 7px 10px 7px 16px;
68
-
69
- &:hover,
70
- &:focus {
71
- background: $color-pavement;
72
- }
73
-
74
- @include breakpoint($breakpoint-md) {
75
- font-size: 13px;
76
- padding: 5px 10px 5px 18px;
77
- }
78
- }
79
-
80
- %active-suggestions {
81
- background: $color-shift;
82
- color: $color-white;
83
- }
84
-
85
- .AutoSuggestInput-item-active {
86
- @extend %active-suggestions;
87
-
88
- &:hover,
89
- &:focus {
90
- background: $color-shift-hover;
91
- }
92
- }
93
-
94
- .AutoSuggestInput-clear {
95
- @include center(false, true);
96
- left: auto;
97
- right: 10px;
98
- margin: auto;
99
- height: 18px;
100
- padding: 0;
101
- color: $color-shift;
102
-
103
- &:hover {
104
- color: $color-shift-hover;
105
- }
106
-
107
- .Icon {
108
- width: 18px;
109
- height: 18px;
110
-
111
- // Updated to account for small positioning changes
112
- // due to the Chakra implementation. Allowed the icon
113
- // to inherit 'display: inline-block;', and the margin
114
- // from the v1 Button css.
115
- }
116
- }
@@ -1,33 +0,0 @@
1
- .Badge {
2
- font-size: 10px;
3
- display: inline-block;
4
- min-width: 16px;
5
- min-height: 16px;
6
- border: 1px solid $color-white;
7
- border-radius: 8px;
8
- padding: 0.1em 0.5em;
9
- color: $color-white;
10
- font-weight: $font-weight-bold;
11
- text-align: center;
12
- }
13
-
14
- .Badge-default {
15
- background-color: $color-shift;
16
- }
17
-
18
- .Badge-danger {
19
- background-color: $color-stop;
20
- }
21
-
22
- .Badge-warning {
23
- background-color: $color-caution;
24
- }
25
-
26
- .Badge-success {
27
- background-color: $color-go;
28
- }
29
-
30
- .Badge-info {
31
- border: 1px solid $color-dashboard;
32
- color: $color-cement;
33
- }
@@ -1,105 +0,0 @@
1
- @use "sass:list";
2
- @import "chartist";
3
-
4
- .ct-area,
5
- .ct-line {
6
- pointer-events: none;
7
- }
8
-
9
- .ct-circle {
10
- fill: $color-white;
11
- stroke-width: 2;
12
- stroke: $color-go;
13
- }
14
-
15
- .ct-series {
16
- @for $i from 0 to length($ct-series-colors) {
17
- .ct-circle-#{$i} {
18
- stroke: list.nth($ct-series-colors, $i + 1);
19
- }
20
- }
21
- }
22
-
23
- .ct-label {
24
- &.ct-horizontal {
25
- transform: translateX(-50%);
26
- white-space: nowrap;
27
- }
28
- }
29
-
30
- .ct-legend {
31
- position: relative;
32
- color: $color-fuel;
33
-
34
- li {
35
- position: relative;
36
- list-style: none;
37
- padding-left: 20px;
38
- margin-bottom: 5px;
39
-
40
- &::before {
41
- position: absolute;
42
- left: 0;
43
- top: 3px;
44
- width: $ct-point-size;
45
- height: $ct-point-size;
46
- content: "";
47
- border: $ct-line-width solid transparent;
48
- border-radius: 50%;
49
- }
50
-
51
- &.inactive {
52
- &::before {
53
- background: transparent;
54
- }
55
- }
56
- }
57
-
58
- &.ct-legend-inside {
59
- position: absolute;
60
- top: 0;
61
- right: 0;
62
- }
63
-
64
- @for $i from 0 to length($ct-series-colors) {
65
- /* stylelint-disable */
66
- .ct-series-#{$i}::before {
67
- background-color: list.nth($ct-series-colors, $i + 1);
68
- border-color: list.nth($ct-series-colors, $i + 1);
69
- }
70
- /* stylelint-enable */
71
- }
72
- }
73
-
74
- .chartist-tooltip {
75
- position: absolute;
76
- display: inline-block;
77
- padding: 10px;
78
- background-color: $color-white;
79
- color: $color-fuel;
80
- border-top: 4px solid $color-go;
81
- border-radius: 4px;
82
- box-shadow: 0 0 24px 0 rgba($color-fuel, 0.15);
83
- opacity: 0;
84
- pointer-events: none;
85
- z-index: $z-index-mid;
86
- transition: opacity $animation;
87
-
88
- &::before {
89
- content: "";
90
- position: absolute;
91
- width: 0;
92
- height: 0;
93
- border-color: transparent;
94
- border-style: solid;
95
- top: 100%;
96
- left: 50%;
97
- transform: translateX(-50%);
98
- border-width: 10px 5px 0;
99
- border-top-color: $color-white;
100
- }
101
-
102
- &.tooltip-show {
103
- opacity: 1;
104
- }
105
- }
@@ -1,131 +0,0 @@
1
- // stylelint-disable
2
-
3
- /*
4
-
5
- THIS FILE HAS BEEN MODIFIED FROM THE ORIGINAL CHARTIST SOURCE. DO NOT BLINDLY OVERWRITE!!!
6
-
7
- */
8
-
9
- // Scales for responsive SVG containers
10
- $ct-scales: (
11
- (1),
12
- (15/16),
13
- (8/9),
14
- (5/6),
15
- (4/5),
16
- (3/4),
17
- (2/3),
18
- (5/8),
19
- (1/1.618),
20
- (3/5),
21
- (9/16),
22
- (8/15),
23
- (1/2),
24
- (2/5),
25
- (3/8),
26
- (1/3),
27
- (1/4)
28
- ) !default;
29
- $ct-scales-names: (
30
- ct-square,
31
- ct-minor-second,
32
- ct-major-second,
33
- ct-minor-third,
34
- ct-major-third,
35
- ct-perfect-fourth,
36
- ct-perfect-fifth,
37
- ct-minor-sixth,
38
- ct-golden-section,
39
- ct-major-sixth,
40
- ct-minor-seventh,
41
- ct-major-seventh,
42
- ct-octave,
43
- ct-major-tenth,
44
- ct-major-eleventh,
45
- ct-major-twelfth,
46
- ct-double-octave
47
- ) !default;
48
-
49
- // Class names to be used when generating CSS
50
- $ct-class-chart: ct-chart !default;
51
- $ct-class-chart-line: ct-chart-line !default;
52
- $ct-class-chart-bar: ct-chart-bar !default;
53
- $ct-class-horizontal-bars: ct-horizontal-bars !default;
54
- $ct-class-chart-pie: ct-chart-pie !default;
55
- $ct-class-chart-donut: ct-chart-donut !default;
56
- $ct-class-label: ct-label !default;
57
- $ct-class-series: ct-series !default;
58
- $ct-class-line: ct-line !default;
59
- $ct-class-point: ct-point !default;
60
- $ct-class-area: ct-area !default;
61
- $ct-class-bar: ct-bar !default;
62
- $ct-class-slice-pie: ct-slice-pie !default;
63
- $ct-class-slice-donut: ct-slice-donut !default;
64
- $ct-class-grid: ct-grid !default;
65
- $ct-class-grid-background: ct-grid-background !default;
66
- $ct-class-vertical: ct-vertical !default;
67
- $ct-class-horizontal: ct-horizontal !default;
68
- $ct-class-start: ct-start !default;
69
- $ct-class-end: ct-end !default;
70
-
71
- // Container ratio
72
- $ct-container-ratio: (1/1.618) !default;
73
-
74
- // Text styles for labels
75
- $ct-text-color: $color-cement !default;
76
- $ct-text-size: 14px !default;
77
- $ct-text-align: flex-start !default;
78
- $ct-text-justify: flex-start !default;
79
- $ct-text-line-height: 1;
80
-
81
- // Grid styles
82
- $ct-grid-color: $color-dashboard !default;
83
- $ct-grid-dasharray: false !default;
84
- $ct-grid-width: 1px !default;
85
- $ct-grid-background-fill: none !default;
86
-
87
- // Line chart properties
88
- $ct-line-width: 2px !default;
89
- $ct-line-dasharray: false !default;
90
- $ct-point-size: 10px !default;
91
- // Line chart point, can be either round or square
92
- $ct-point-shape: round !default;
93
- // Area fill transparency between 0 and 1
94
- $ct-area-opacity: 0.1 !default;
95
-
96
- // Bar chart bar width
97
- $ct-bar-width: 10px !default;
98
-
99
- // Donut width (If donut width is to big it can cause issues where the shape gets distorted)
100
- $ct-donut-width: 60px !default;
101
-
102
- // If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you
103
- // should set this property to false
104
- $ct-include-classes: true !default;
105
-
106
- // If this is set to true the CSS will contain colored series. You can extend or change the color with the
107
- // properties below
108
- $ct-include-colored-series: $ct-include-classes !default;
109
-
110
- // If set to true this will include all responsive container variations using the scales defined at the top of the script
111
- $ct-include-alternative-responsive-containers: $ct-include-classes !default;
112
-
113
- // Series names and colors. This can be extended or customized as desired. Just add more series and colors.
114
- $ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default;
115
- $ct-series-colors: (
116
- $color-go,
117
- $color-caution,
118
- $color-shift,
119
- $color-fuel,
120
- $color-stop,
121
- #59922b,
122
- #0544d3,
123
- #6b0392,
124
- #f05b4f,
125
- #dda458,
126
- #eacf7d,
127
- #86797d,
128
- #b2c326,
129
- #6188e2,
130
- #a748ca
131
- ) !default;
@@ -1,295 +0,0 @@
1
- // stylelint-disable
2
-
3
- /*
4
-
5
- THIS FILE HAS BEEN MODIFIED FROM THE ORIGINAL CHARTIST SOURCE. DO NOT BLINDLY OVERWRITE!!!
6
-
7
- */
8
-
9
- @import "chartist-settings";
10
-
11
- @mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) {
12
- display: block;
13
- position: relative;
14
- width: $width;
15
-
16
- &:before {
17
- display: block;
18
- float: left;
19
- content: "";
20
- width: 0;
21
- height: 0;
22
- padding-bottom: $ratio * 100%;
23
- }
24
-
25
- &:after {
26
- content: "";
27
- display: table;
28
- clear: both;
29
- }
30
-
31
- > svg {
32
- display: block;
33
- position: absolute;
34
- top: 0;
35
- left: 0;
36
- }
37
- }
38
-
39
- @mixin ct-align-justify(
40
- $ct-text-align: $ct-text-align,
41
- $ct-text-justify: $ct-text-justify
42
- ) {
43
- -webkit-box-align: $ct-text-align;
44
- -webkit-align-items: $ct-text-align;
45
- -ms-flex-align: $ct-text-align;
46
- align-items: $ct-text-align;
47
- -webkit-box-pack: $ct-text-justify;
48
- -webkit-justify-content: $ct-text-justify;
49
- -ms-flex-pack: $ct-text-justify;
50
- justify-content: $ct-text-justify;
51
- // Fallback to text-align for non-flex browsers
52
- @if ($ct-text-justify == "flex-start") {
53
- text-align: left;
54
- } @else if ($ct-text-justify == "flex-end") {
55
- text-align: right;
56
- } @else {
57
- text-align: center;
58
- }
59
- }
60
-
61
- @mixin ct-flex() {
62
- // Fallback to block
63
- display: block;
64
- display: -webkit-box;
65
- display: -moz-box;
66
- display: -ms-flexbox;
67
- display: -webkit-flex;
68
- display: flex;
69
- }
70
-
71
- @mixin ct-chart-label(
72
- $ct-text-color: $ct-text-color,
73
- $ct-text-size: $ct-text-size,
74
- $ct-text-line-height: $ct-text-line-height
75
- ) {
76
- fill: $ct-text-color;
77
- color: $ct-text-color;
78
- font-size: $ct-text-size;
79
- line-height: $ct-text-line-height;
80
- }
81
-
82
- @mixin ct-chart-grid(
83
- $ct-grid-color: $ct-grid-color,
84
- $ct-grid-width: $ct-grid-width,
85
- $ct-grid-dasharray: $ct-grid-dasharray
86
- ) {
87
- stroke: $ct-grid-color;
88
- stroke-width: $ct-grid-width;
89
-
90
- @if ($ct-grid-dasharray) {
91
- stroke-dasharray: $ct-grid-dasharray;
92
- }
93
- }
94
-
95
- @mixin ct-chart-point(
96
- $ct-point-size: $ct-point-size,
97
- $ct-point-shape: $ct-point-shape
98
- ) {
99
- stroke-width: $ct-point-size;
100
- stroke-linecap: $ct-point-shape;
101
- }
102
-
103
- @mixin ct-chart-line(
104
- $ct-line-width: $ct-line-width,
105
- $ct-line-dasharray: $ct-line-dasharray
106
- ) {
107
- fill: none;
108
- stroke-width: $ct-line-width;
109
-
110
- @if ($ct-line-dasharray) {
111
- stroke-dasharray: $ct-line-dasharray;
112
- }
113
- }
114
-
115
- @mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) {
116
- stroke: none;
117
- fill-opacity: $ct-area-opacity;
118
- }
119
-
120
- @mixin ct-chart-bar($ct-bar-width: $ct-bar-width) {
121
- fill: none;
122
- stroke-width: $ct-bar-width;
123
- }
124
-
125
- @mixin ct-chart-donut($ct-donut-width: $ct-donut-width) {
126
- fill: none;
127
- stroke-width: $ct-donut-width;
128
- }
129
-
130
- @mixin ct-chart-series-color($color) {
131
- .#{$ct-class-point},
132
- .#{$ct-class-line},
133
- .#{$ct-class-bar},
134
- .#{$ct-class-slice-donut} {
135
- stroke: $color;
136
- }
137
-
138
- .#{$ct-class-slice-pie},
139
- .#{$ct-class-area} {
140
- fill: $color;
141
- }
142
- }
143
-
144
- @mixin ct-chart(
145
- $ct-container-ratio: $ct-container-ratio,
146
- $ct-text-color: $ct-text-color,
147
- $ct-text-size: $ct-text-size,
148
- $ct-grid-color: $ct-grid-color,
149
- $ct-grid-width: $ct-grid-width,
150
- $ct-grid-dasharray: $ct-grid-dasharray,
151
- $ct-point-size: $ct-point-size,
152
- $ct-point-shape: $ct-point-shape,
153
- $ct-line-width: $ct-line-width,
154
- $ct-bar-width: $ct-bar-width,
155
- $ct-donut-width: $ct-donut-width,
156
- $ct-series-names: $ct-series-names,
157
- $ct-series-colors: $ct-series-colors
158
- ) {
159
- .#{$ct-class-label} {
160
- @include ct-chart-label($ct-text-color, $ct-text-size);
161
- }
162
-
163
- .#{$ct-class-chart-line} .#{$ct-class-label},
164
- .#{$ct-class-chart-bar} .#{$ct-class-label} {
165
- @include ct-flex();
166
- }
167
-
168
- .#{$ct-class-chart-pie} .#{$ct-class-label},
169
- .#{$ct-class-chart-donut} .#{$ct-class-label} {
170
- dominant-baseline: central;
171
- }
172
-
173
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
174
- @include ct-align-justify(flex-end, flex-start);
175
- // Fallback for browsers that don't support foreignObjects
176
- text-anchor: start;
177
- }
178
-
179
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
180
- @include ct-align-justify(center, center);
181
- // Fallback for browsers that don't support foreignObjects
182
- text-anchor: start;
183
- }
184
-
185
- .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
186
- @include ct-align-justify(flex-end, flex-end);
187
- // Fallback for browsers that don't support foreignObjects
188
- text-anchor: end;
189
- }
190
-
191
- .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
192
- @include ct-align-justify(flex-end, flex-start);
193
- // Fallback for browsers that don't support foreignObjects
194
- text-anchor: start;
195
- }
196
-
197
- .#{$ct-class-chart-bar}
198
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
199
- @include ct-align-justify(flex-end, center);
200
- // Fallback for browsers that don't support foreignObjects
201
- text-anchor: start;
202
- }
203
-
204
- .#{$ct-class-chart-bar}
205
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
206
- @include ct-align-justify(flex-start, center);
207
- // Fallback for browsers that don't support foreignObjects
208
- text-anchor: start;
209
- }
210
-
211
- .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
212
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
213
- @include ct-align-justify(flex-end, flex-start);
214
- // Fallback for browsers that don't support foreignObjects
215
- text-anchor: start;
216
- }
217
-
218
- .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
219
- .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
220
- @include ct-align-justify(flex-start, flex-start);
221
- // Fallback for browsers that don't support foreignObjects
222
- text-anchor: start;
223
- }
224
-
225
- .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
226
- .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
227
- //@include ct-chart-label($ct-text-color, $ct-text-size, center, $ct-vertical-text-justify);
228
- @include ct-align-justify(center, flex-end);
229
- // Fallback for browsers that don't support foreignObjects
230
- text-anchor: end;
231
- }
232
-
233
- .#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
234
- .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
235
- @include ct-align-justify(center, flex-start);
236
- // Fallback for browsers that don't support foreignObjects
237
- text-anchor: end;
238
- }
239
-
240
- .#{$ct-class-grid} {
241
- @include ct-chart-grid(
242
- $ct-grid-color,
243
- $ct-grid-width,
244
- $ct-grid-dasharray
245
- );
246
- }
247
-
248
- .#{$ct-class-grid-background} {
249
- fill: $ct-grid-background-fill;
250
- }
251
-
252
- .#{$ct-class-point} {
253
- @include ct-chart-point($ct-point-size, $ct-point-shape);
254
- }
255
-
256
- .#{$ct-class-line} {
257
- @include ct-chart-line($ct-line-width);
258
- }
259
-
260
- .#{$ct-class-area} {
261
- @include ct-chart-area();
262
- }
263
-
264
- .#{$ct-class-bar} {
265
- @include ct-chart-bar($ct-bar-width);
266
- }
267
-
268
- .#{$ct-class-slice-donut} {
269
- @include ct-chart-donut($ct-donut-width);
270
- }
271
-
272
- @if $ct-include-colored-series {
273
- @for $i from 0 to length($ct-series-names) {
274
- .#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {
275
- $color: nth($ct-series-colors, $i + 1);
276
-
277
- @include ct-chart-series-color($color);
278
- }
279
- }
280
- }
281
- }
282
-
283
- @if $ct-include-classes {
284
- @include ct-chart();
285
-
286
- @if $ct-include-alternative-responsive-containers {
287
- @for $i from 0 to length($ct-scales-names) {
288
- .#{nth($ct-scales-names, $i + 1)} {
289
- @include ct-responsive-svg-container(
290
- $ratio: nth($ct-scales, $i + 1)
291
- );
292
- }
293
- }
294
- }
295
- }