@innovaccer/design-system 2.5.0-4 → 2.6.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 (264) hide show
  1. package/.all-contributorsrc +1 -1
  2. package/.eslintrc.json +53 -0
  3. package/.github/workflows/jira.yml +1 -2
  4. package/.github/workflows/main.yml +2 -2
  5. package/.github/workflows/pull_request.yml +1 -1
  6. package/.github/workflows/test.yml +1 -1
  7. package/.husky/commit-msg +4 -0
  8. package/.prettierrc +2 -2
  9. package/CHANGELOG.md +38 -88
  10. package/CONTRIBUTING.md +173 -97
  11. package/README.md +1 -1
  12. package/commitlint.config.js +1 -0
  13. package/core/accessibility/utils/index.ts +5 -0
  14. package/core/accessibility/utils/isEnterKey.ts +5 -0
  15. package/core/accessibility/utils/isSpaceKey.ts +5 -0
  16. package/core/accessibility/utils/useAccessibilityProps.ts +31 -0
  17. package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +8 -0
  18. package/core/components/atoms/_chip/index.tsx +2 -0
  19. package/core/components/atoms/button/__stories__/Alert.story.tsx +8 -1
  20. package/core/components/atoms/button/__stories__/Cancel.story.tsx +4 -1
  21. package/core/components/atoms/button/__stories__/IconButtonGroup.story.tsx +12 -3
  22. package/core/components/atoms/button/__stories__/IconButtonSecondary.story.tsx +6 -1
  23. package/core/components/atoms/button/__stories__/IconLeftSecondary.story.tsx +4 -1
  24. package/core/components/atoms/button/__stories__/IconRightSecondary.story.tsx +4 -1
  25. package/core/components/atoms/button/__stories__/IconTransparent.story.tsx +4 -1
  26. package/core/components/atoms/button/__stories__/LabelButtonGroup.story.tsx +14 -3
  27. package/core/components/atoms/button/__stories__/LargeIconExpanded.story.tsx +4 -1
  28. package/core/components/atoms/button/__stories__/LoadingPrimary.story.tsx +4 -1
  29. package/core/components/atoms/button/__stories__/Primary.story.tsx +5 -2
  30. package/core/components/atoms/button/__stories__/SplitButton.story.tsx +6 -1
  31. package/core/components/atoms/button/__stories__/Transparent.story.tsx +8 -1
  32. package/core/components/atoms/button/__stories__/index.story.tsx +11 -1
  33. package/core/components/atoms/button/__stories__/variants/Appearance.story.tsx +4 -0
  34. package/core/components/atoms/button/__stories__/variants/Expanded.story.tsx +4 -0
  35. package/core/components/atoms/button/__stories__/variants/Size.story.tsx +4 -0
  36. package/core/components/atoms/button/__stories__/variants/icon/Icon.story.tsx +15 -0
  37. package/core/components/atoms/button/__stories__/variants/icon/IconLeft.story.tsx +4 -0
  38. package/core/components/atoms/button/__stories__/variants/icon/IconRight.story.tsx +4 -0
  39. package/core/components/atoms/button/__stories__/variants/state/Alert.story.tsx +7 -17
  40. package/core/components/atoms/button/__stories__/variants/state/Basic.story.tsx +9 -17
  41. package/core/components/atoms/button/__stories__/variants/state/Primary.story.tsx +7 -17
  42. package/core/components/atoms/button/__stories__/variants/state/Success.story.tsx +7 -17
  43. package/core/components/atoms/button/__stories__/variants/state/Transparent.story.tsx +13 -17
  44. package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +6 -0
  45. package/core/components/atoms/collapsible/__stories__/index.story.tsx +2 -2
  46. package/core/components/atoms/collapsible/__tests__/__snapshots__/Collapsible.test.tsx.snap +8 -0
  47. package/core/components/atoms/divider/Divider.tsx +44 -0
  48. package/core/components/atoms/divider/__stories__/BasicDividerInCard.story.tsx +74 -0
  49. package/core/components/atoms/divider/__stories__/HeaderDividerInCard.story.tsx +35 -0
  50. package/core/components/atoms/divider/__stories__/IndentedDivider.story.tsx +49 -0
  51. package/core/components/atoms/divider/__stories__/Vertical.story.tsx +51 -0
  52. package/core/components/atoms/divider/__stories__/index.story.tsx +91 -0
  53. package/core/components/atoms/divider/__stories__/variants/HorizontalDivider.story.tsx +27 -0
  54. package/core/components/atoms/divider/__tests__/Divider.test.tsx +50 -0
  55. package/core/components/atoms/divider/__tests__/__snapshots__/Divider.test.tsx.snap +53 -0
  56. package/core/components/atoms/divider/index.tsx +2 -0
  57. package/core/components/atoms/dropdown/DropdownList.tsx +8 -2
  58. package/core/components/atoms/dropdown/__stories__/variants/controlledDropdown/MultiSelect.story.tsx +27 -17
  59. package/core/components/atoms/dropdown/option/DefaultOption.tsx +3 -0
  60. package/core/components/atoms/dropdown/option/IconOption.tsx +3 -0
  61. package/core/components/atoms/dropdown/option/IconWithMetaOption.tsx +3 -0
  62. package/core/components/atoms/dropdown/option/MetaOption.tsx +3 -0
  63. package/core/components/atoms/editable/Editable.tsx +3 -0
  64. package/core/components/atoms/icon/Icon.tsx +14 -3
  65. package/core/components/atoms/icon/__stories__/variants/Image.story.tsx +6 -1
  66. package/core/components/atoms/icon/__tests__/__snapshots__/Icon.test.tsx.snap +74 -0
  67. package/core/components/atoms/input/Input.tsx +14 -4
  68. package/core/components/atoms/input/__stories__/BasicInput.story.tsx +2 -1
  69. package/core/components/atoms/input/__stories__/InputWithCaption.story.tsx +29 -9
  70. package/core/components/atoms/input/__stories__/InputWithLabel.story.tsx +11 -3
  71. package/core/components/atoms/input/__stories__/LabelPosition.story.tsx +8 -4
  72. package/core/components/atoms/input/__stories__/RequiredVsOptional.story.tsx +12 -8
  73. package/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap +19 -0
  74. package/core/components/atoms/legend/Legend.tsx +3 -0
  75. package/core/components/atoms/message/__stories__/CustomDescription.tsx +25 -0
  76. package/core/components/atoms/metricInput/MetricInput.tsx +12 -2
  77. package/core/components/atoms/metricInput/__stories__/DefaultMetric.story.tsx +8 -2
  78. package/core/components/atoms/metricInput/__stories__/WithPrefix.story.tsx +6 -2
  79. package/core/components/atoms/metricInput/__stories__/index.story.tsx +1 -0
  80. package/core/components/atoms/metricInput/__stories__/variants/Controlled.story.tsx +2 -0
  81. package/core/components/atoms/metricInput/__stories__/variants/Size.story.tsx +2 -2
  82. package/core/components/atoms/metricInput/__stories__/withSuffix.story.tsx +6 -2
  83. package/core/components/atoms/metricInput/__tests__/__snapshots__/MetricInput.test.tsx.snap +20 -4
  84. package/core/components/atoms/multiSlider/Handle.tsx +3 -0
  85. package/core/components/atoms/multiSlider/index.tsx +6 -0
  86. package/core/components/atoms/outsideClick/__stories__/index.story.tsx +1 -1
  87. package/core/components/atoms/statusHint/StatusHint.tsx +3 -0
  88. package/core/components/atoms/switchInput/Switch.tsx +10 -4
  89. package/core/components/atoms/switchInput/__stories__/DefaultSwitch.story.tsx +4 -1
  90. package/core/components/atoms/switchInput/__stories__/OffState.story.tsx +4 -1
  91. package/core/components/atoms/switchInput/__stories__/index.story.tsx +26 -3
  92. package/core/components/atoms/switchInput/__stories__/variants/Size.story.tsx +10 -1
  93. package/core/components/atoms/switchInput/__stories__/variants/State.story.tsx +9 -2
  94. package/core/components/atoms/textarea/__stories__/TextareaWithCaption.story.tsx +9 -3
  95. package/core/components/atoms/textarea/__stories__/defaultTextarea.story.tsx +10 -2
  96. package/core/components/atoms/textarea/__stories__/index.story.tsx +1 -0
  97. package/core/components/atoms/textarea/__stories__/variants/Disable.story.tsx +1 -0
  98. package/core/components/atoms/toast/__tests__/__snapshots__/Toast.test.tsx.snap +30 -0
  99. package/core/components/css-utilities/Align/Align.story.tsx +1 -1
  100. package/core/components/css-utilities/Background/Background.story.tsx +1 -1
  101. package/core/components/css-utilities/Border/Border.story.tsx +1 -1
  102. package/core/components/css-utilities/Display/Display.story.tsx +1 -1
  103. package/core/components/css-utilities/Flex/Flex.story.tsx +1 -1
  104. package/core/components/css-utilities/Miscellaneous/Miscellaneous.story.tsx +1 -1
  105. package/core/components/css-utilities/Overflow/Overflow.story.tsx +1 -1
  106. package/core/components/css-utilities/Position/Position.story.tsx +1 -1
  107. package/core/components/css-utilities/Sizing/Sizing.story.tsx +1 -1
  108. package/core/components/css-utilities/Spacing/Spacing.story.tsx +1 -1
  109. package/core/components/molecules/chatMessage/Box.tsx +3 -0
  110. package/core/components/molecules/chipInput/ChipInput.tsx +3 -0
  111. package/core/components/molecules/chipInput/__tests__/__snapshots__/ChipInput.test.tsx.snap +12 -0
  112. package/core/components/molecules/dropzone/Dropzone.tsx +3 -0
  113. package/core/components/molecules/dropzone/FileSelectorUtils.tsx +1 -1
  114. package/core/components/molecules/editableChipInput/EditableChipInput.tsx +9 -5
  115. package/core/components/molecules/editableChipInput/__stories__/Uncontrolled.story.tsx +1 -1
  116. package/core/components/molecules/editableChipInput/__tests__/__snapshots__/EditableChipInput.test.tsx.snap +8 -0
  117. package/core/components/molecules/editableDropdown/EditableDropdown.tsx +2 -2
  118. package/core/components/molecules/editableInput/EditableInput.tsx +13 -4
  119. package/core/components/molecules/emptyState/EmptyState.tsx +5 -1
  120. package/core/components/molecules/fileList/FileListItem.tsx +2 -0
  121. package/core/components/molecules/fileUploader/FileUploaderItem.tsx +2 -0
  122. package/core/components/molecules/fileUploader/__stories__/index.story.tsx +156 -21
  123. package/core/components/molecules/inputMask/InputMask.tsx +1 -1
  124. package/core/components/molecules/inputMask/__tests__/__snapshots__/InputMask.test.tsx.snap +1 -0
  125. package/core/components/molecules/pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +5 -1
  126. package/core/components/molecules/stepper/Step.tsx +2 -0
  127. package/core/components/molecules/tabs/Tabs.tsx +2 -0
  128. package/core/components/molecules/tabs/TabsWrapper.tsx +2 -0
  129. package/core/components/molecules/tabs/__stories__/CustomLabels.story.tsx +1 -1
  130. package/core/components/molecules/verificationCodeInput/VerificationCodeInput.tsx +8 -4
  131. package/core/components/molecules/verificationCodeInput/__stories__/index.story.tsx +3 -1
  132. package/core/components/molecules/verificationCodeInput/__tests__/__snapshots__/VerificationCodeInput.test.tsx.snap +1 -0
  133. package/core/components/organisms/calendar/Calendar.tsx +130 -8
  134. package/core/components/organisms/calendar/__tests__/Calendar.test.tsx +27 -0
  135. package/core/components/organisms/choiceList/ChoiceList.tsx +1 -1
  136. package/core/components/organisms/datePicker/DatePicker.tsx +30 -15
  137. package/core/components/organisms/datePicker/__tests__/DatePicker.test.tsx +136 -46
  138. package/core/components/organisms/datePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +4388 -1857
  139. package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +112 -40
  140. package/core/components/organisms/grid/Cell.tsx +4 -0
  141. package/core/components/organisms/grid/GridRow.tsx +4 -0
  142. package/core/components/organisms/grid/__stories__/_common_/fetchData.ts +2 -2
  143. package/core/components/organisms/horizontalNav/HorizontalNav.tsx +2 -0
  144. package/core/components/organisms/inlineMessage/InlineMessage.tsx +3 -5
  145. package/core/components/organisms/inlineMessage/__tests__/__snapshots__/InlineMessage.test.tsx.snap +30 -40
  146. package/core/components/organisms/navigation/VerticalNavigation.tsx +4 -0
  147. package/core/components/organisms/table/Table.tsx +1 -0
  148. package/core/components/organisms/table/__stories__/NestedTableWithNestedCard.story.tsx +4 -1
  149. package/core/components/organisms/table/__stories__/ResourceTable.story.tsx +3 -2
  150. package/core/components/organisms/table/__stories__/Selection.story.tsx +2 -2
  151. package/core/components/organisms/table/__stories__/TableAsDescriptionList.story.tsx +1 -1
  152. package/core/components/organisms/table/__stories__/TableAsOptionList.story.tsx +1 -1
  153. package/core/components/organisms/table/__stories__/syncTable.story.tsx +14 -6
  154. package/core/components/organisms/table/__stories__/variants/nestedRows.story.tsx +5 -2
  155. package/core/components/organisms/table/__stories__/variants/withHeader.story.tsx +0 -2
  156. package/core/components/organisms/timePicker/TimePicker.tsx +1 -1
  157. package/core/components/organisms/timePicker/__tests__/__snapshots__/TimePicker.test.tsx.snap +14 -2
  158. package/core/components/organisms/verticalNav/MenuItem.tsx +2 -0
  159. package/core/components/patterns/datePicker/datePickerWithPresets.story.tsx +126 -0
  160. package/core/components/patterns/dateRangePicker/withCustomPopover.story.tsx +8 -8
  161. package/core/components/patterns/forms/CreatePassword.story.tsx +1 -1
  162. package/core/components/patterns/forms/VerificationCodeInput.story.tsx +2 -2
  163. package/core/components/patterns/table/Table with Header/tableWithHeader.story.jsx +7 -7
  164. package/core/index.tsx +1 -0
  165. package/core/index.type.tsx +1 -0
  166. package/core/utils/Keys.ts +4 -0
  167. package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +544 -536
  168. package/core/utils/docPage/index.tsx +22 -17
  169. package/core/utils/testHelper.ts +1 -1
  170. package/core/utils/validators.ts +37 -34
  171. package/css/dist/index.css +1523 -1402
  172. package/css/dist/index.css.map +1 -1
  173. package/css/src/components/Legend.css +7 -7
  174. package/css/src/components/ProgressBar.css +1 -1
  175. package/css/src/components/avatarGroup.css +1 -1
  176. package/css/src/components/backdrop.css +12 -6
  177. package/css/src/components/badge.css +52 -52
  178. package/css/src/components/button.css +99 -94
  179. package/css/src/components/calendar.css +137 -126
  180. package/css/src/components/card.css +0 -1
  181. package/css/src/components/cardSubdued.css +3 -5
  182. package/css/src/components/chat.css +1 -1
  183. package/css/src/components/checkbox.css +71 -70
  184. package/css/src/components/chip.css +14 -13
  185. package/css/src/components/chipGroup.css +5 -5
  186. package/css/src/components/chipInput.css +1 -1
  187. package/css/src/components/choiceList.css +4 -4
  188. package/css/src/components/dateRangePicker.css +13 -13
  189. package/css/src/components/divider.css +20 -0
  190. package/css/src/components/dropdown.css +61 -61
  191. package/css/src/components/dropdownButton.css +36 -36
  192. package/css/src/components/dropzone.css +16 -20
  193. package/css/src/components/editableChipInput.css +10 -9
  194. package/css/src/components/editableDropdown.css +1 -1
  195. package/css/src/components/editableInput.css +1 -1
  196. package/css/src/components/emptyState.css +15 -15
  197. package/css/src/components/fileList.css +44 -45
  198. package/css/src/components/grid.css +217 -199
  199. package/css/src/components/horizontalNav.css +0 -1
  200. package/css/src/components/icon.css +1 -7
  201. package/css/src/components/inlineMessage.css +2 -1
  202. package/css/src/components/input.css +62 -62
  203. package/css/src/components/link.css +1 -1
  204. package/css/src/components/list.css +10 -10
  205. package/css/src/components/message.css +69 -70
  206. package/css/src/components/metaList.css +26 -26
  207. package/css/src/components/metricInput.css +3 -4
  208. package/css/src/components/modal.css +1 -1
  209. package/css/src/components/navigation.css +3 -3
  210. package/css/src/components/pageHeader.css +1 -2
  211. package/css/src/components/pagination.css +36 -36
  212. package/css/src/components/pills.css +19 -19
  213. package/css/src/components/placeholder.css +10 -5
  214. package/css/src/components/popover.css +2 -2
  215. package/css/src/components/progressRing.css +1 -1
  216. package/css/src/components/radio.css +74 -74
  217. package/css/src/components/slider.css +5 -5
  218. package/css/src/components/statusHints.css +15 -15
  219. package/css/src/components/switch.css +45 -41
  220. package/css/src/components/table.css +15 -15
  221. package/css/src/components/tabs.css +53 -53
  222. package/css/src/components/textarea.css +1 -1
  223. package/css/src/components/toast.css +53 -53
  224. package/css/src/components/verificationCodeInput.css +5 -6
  225. package/css/src/components/verticalNav.css +1 -2
  226. package/css/src/core/base.css +3 -0
  227. package/css/src/core/typography.css +1 -1
  228. package/css/src/core/utilities.css +1 -1
  229. package/css/src/tokens/index.css +63 -63
  230. package/css/src/utils/align.css +1 -1
  231. package/css/src/utils/background.css +1 -1
  232. package/css/src/utils/cursor.css +1 -1
  233. package/css/src/utils/display.css +1 -1
  234. package/css/src/utils/flex.css +1 -1
  235. package/css/src/utils/grid.css +1 -1
  236. package/css/src/utils/overflow.css +1 -1
  237. package/css/src/utils/position.css +1 -1
  238. package/css/src/utils/spacing.css +1 -1
  239. package/css/src/utils/utility.css +13 -13
  240. package/css/src/variables/index.css +1 -1
  241. package/dist/core/accessibility/utils/index.d.ts +4 -0
  242. package/dist/core/accessibility/utils/isEnterKey.d.ts +3 -0
  243. package/dist/core/accessibility/utils/isSpaceKey.d.ts +3 -0
  244. package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +15 -0
  245. package/dist/core/components/atoms/divider/Divider.d.ts +15 -0
  246. package/dist/core/components/atoms/divider/index.d.ts +2 -0
  247. package/dist/core/components/atoms/icon/Icon.d.ts +3 -1
  248. package/dist/core/components/atoms/input/Input.d.ts +1 -1
  249. package/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts +50 -49
  250. package/dist/core/components/atoms/switchInput/Switch.d.ts +2 -1
  251. package/dist/core/components/organisms/calendar/Calendar.d.ts +31 -0
  252. package/dist/core/components/organisms/datePicker/DatePicker.d.ts +2 -0
  253. package/dist/core/components/patterns/datePicker/datePickerWithPresets.story.d.ts +15 -0
  254. package/dist/core/index.d.ts +1 -0
  255. package/dist/core/index.type.d.ts +1 -0
  256. package/dist/index.esm.js +829 -495
  257. package/dist/index.js +313 -144
  258. package/dist/index.js.map +1 -1
  259. package/dist/index.umd.js +1 -1
  260. package/dist/index.umd.js.br +0 -0
  261. package/dist/index.umd.js.gz +0 -0
  262. package/package.json +17 -14
  263. package/.husky/prepare-commit-msg +0 -6
  264. package/tslint.json +0 -30
@@ -1,248 +1,259 @@
1
1
  /* calendar */
2
2
 
3
3
  .Calendar-wrapper {
4
- display: flex;
5
- flex-wrap: wrap;
4
+ display: flex;
5
+ flex-wrap: wrap;
6
6
  }
7
7
 
8
8
  .Calendar {
9
- display: flex;
10
- flex-direction: column;
11
- box-sizing: border-box;
9
+ display: flex;
10
+ flex-direction: column;
11
+ box-sizing: border-box;
12
12
  }
13
13
 
14
14
  .Calendar--small {
15
- padding: var(--spacing-l);
16
- padding-bottom: var(--spacing);
17
- width: 212px;
15
+ padding: var(--spacing-l);
16
+ padding-bottom: var(--spacing);
17
+ width: 212px;
18
18
  }
19
19
 
20
- .Calendar--date--small{
21
- height: 248px;
20
+ .Calendar--date--small {
21
+ height: 248px;
22
22
  }
23
23
 
24
- .Calendar--month--small{
25
- height: 208px;
24
+ .Calendar--month--small {
25
+ height: 192px;
26
26
  }
27
27
 
28
- .Calendar--year--small{
29
- height: 208px;
28
+ .Calendar--year--small {
29
+ height: 192px;
30
30
  }
31
31
 
32
32
  .Calendar--large {
33
- padding-top: var(--spacing-2);
34
- padding-left: var(--spacing-2);
35
- padding-right: var(--spacing-2);
36
- padding-bottom: var(--spacing-l);
37
- width: 316px;
33
+ padding-top: var(--spacing-2);
34
+ padding-left: var(--spacing-2);
35
+ padding-right: var(--spacing-2);
36
+ padding-bottom: var(--spacing-l);
37
+ width: 316px;
38
38
  }
39
39
 
40
- .Calendar--date--large{
41
- height: 324px;
40
+ .Calendar--date--large {
41
+ height: 324px;
42
42
  }
43
43
 
44
- .Calendar--month--large{
45
- height: 274px;
44
+ .Calendar--month--large {
45
+ height: 272px;
46
46
  }
47
47
 
48
- .Calendar--year--large{
49
- height: 274px;
48
+ .Calendar--year--large {
49
+ height: 272px;
50
50
  }
51
51
 
52
52
  .Calendar-header--large {
53
- position: relative;
54
- display: flex;
55
- justify-content: center;
56
- align-items: center;
57
- padding-bottom: var(--spacing-l);
53
+ position: relative;
54
+ display: flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+ padding-bottom: var(--spacing-l);
58
58
  }
59
59
 
60
60
  .Calendar-header--small {
61
- position: relative;
62
- display: flex;
63
- justify-content: center;
64
- align-items: center;
65
- padding-bottom: var(--spacing-m);
61
+ position: relative;
62
+ display: flex;
63
+ justify-content: center;
64
+ align-items: center;
65
+ padding-bottom: var(--spacing-m);
66
66
  }
67
67
 
68
68
  .Calendar-headerIcon {
69
- position: absolute;
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- cursor: pointer;
74
- user-select: none;
69
+ position: absolute;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ cursor: pointer;
74
+ user-select: none;
75
75
  }
76
76
 
77
77
  .Calendar-headerIcon--prev {
78
- left: 0;
78
+ left: 0;
79
79
  }
80
80
 
81
81
  .Calendar-headerIcon--next {
82
- right: 0;
82
+ right: 0;
83
83
  }
84
84
 
85
85
  .Calendar-headerContent {
86
- display: flex;
87
- white-space: nowrap;
88
- cursor: pointer;
89
- padding-top: var(--spacing-m);
90
- padding-bottom: var(--spacing-m);
91
- user-select: none;
86
+ display: flex;
87
+ white-space: nowrap;
88
+ cursor: pointer;
89
+ padding-top: var(--spacing-m);
90
+ padding-bottom: var(--spacing-m);
91
+ user-select: none;
92
92
  }
93
93
 
94
94
  .Calendar-body {
95
- display: flex;
96
- flex-direction: column;
97
- flex-grow: 1;
98
- justify-content: space-around;
95
+ display: flex;
96
+ flex-direction: column;
97
+ flex-grow: 1;
98
+ justify-content: space-around;
99
99
  }
100
100
 
101
101
  .Calendar-valueRow {
102
- display: flex;
103
- justify-content: space-around;
104
- padding-top: var(--spacing-s);
105
- padding-bottom: var(--spacing-s);
102
+ display: flex;
103
+ justify-content: space-between;
104
+ padding-top: var(--spacing-s);
105
+ padding-bottom: var(--spacing-s);
106
106
  }
107
107
 
108
108
  .Calendar-valueWrapper {
109
- display: inline-flex;
110
- flex: 1 0 0;
111
- justify-content: center;
112
- position: relative;
109
+ display: inline-flex;
110
+ flex: 1 0 0;
111
+ justify-content: center;
112
+ position: relative;
113
113
  }
114
114
 
115
115
  .Calendar-valueWrapper--inRange {
116
- background: var(--primary-lightest);
116
+ background: var(--primary-lightest);
117
117
  }
118
118
 
119
119
  .Calendar-valueWrapper--inRangeError {
120
- background: var(--alert-lightest);
120
+ background: var(--alert-lightest);
121
121
  }
122
122
 
123
123
  .Calendar-valueWrapper--start {
124
- background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%);
125
- border-radius: var(--spacing-m) 0 0 var(--spacing-m);
124
+ background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%);
125
+ border-radius: var(--spacing-m) 0 0 var(--spacing-m);
126
126
  }
127
127
 
128
128
  .Calendar-valueWrapper--startError {
129
- background: linear-gradient(90deg, white 50%, var(--alert-lightest) 50%);
129
+ background: linear-gradient(90deg, white 50%, var(--alert-lightest) 50%);
130
130
  }
131
131
 
132
132
  .Calendar-valueWrapper--end {
133
- background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%);
134
- border-radius: 0 var(--spacing-m) var(--spacing-m) 0;
133
+ background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%);
134
+ border-radius: 0 var(--spacing-m) var(--spacing-m) 0;
135
135
  }
136
136
 
137
137
  .Calendar-valueWrapper--endError {
138
- background: linear-gradient(90deg, var(--alert-lightest) 50%, white 50%);
138
+ background: linear-gradient(90deg, var(--alert-lightest) 50%, white 50%);
139
139
  }
140
140
 
141
141
  .Calendar-valueWrapper--startEnd {
142
- background: transparent;
142
+ background: transparent;
143
143
  }
144
144
 
145
145
  .Calendar-value {
146
- display: inline-flex;
147
- align-items: center;
148
- justify-content: center;
149
- text-align: center;
150
- cursor: pointer;
151
- user-select: none;
152
- border-radius: var(--spacing-m);
146
+ display: inline-flex;
147
+ align-items: center;
148
+ justify-content: center;
149
+ text-align: center;
150
+ cursor: pointer;
151
+ user-select: none;
152
+ border-radius: var(--spacing-m);
153
153
  }
154
154
 
155
155
  .Calendar-value:hover {
156
- background: var(--secondary);
156
+ background: var(--secondary);
157
157
  }
158
158
 
159
- .Calendar-value--start:hover, .Calendar-value--end:hover {
160
- background: var(--primary-lightest);
159
+ .Calendar-value--start:hover,
160
+ .Calendar-value--end:hover {
161
+ background: var(--primary-lightest);
161
162
  }
162
163
 
163
- .Calendar-value--startError:hover, .Calendar-value--endError:hover {
164
- background: var(--alert-lightest);
164
+ .Calendar-value--startError:hover,
165
+ .Calendar-value--endError:hover {
166
+ background: var(--alert-lightest);
165
167
  }
166
168
 
167
- .Calendar-value--start, .Calendar-value--end {
168
- background: var(--primary-lightest);
169
+ .Calendar-value--start,
170
+ .Calendar-value--end {
171
+ background: var(--primary-lightest);
169
172
  }
170
173
 
171
- .Calendar-value--startError, .Calendar-value--endError {
172
- background: var(--alert-lightest);
174
+ .Calendar-value--startError,
175
+ .Calendar-value--endError {
176
+ background: var(--alert-lightest);
173
177
  }
174
178
 
175
- .Calendar-value--currDateMonthYear, .Calendar-value--currDateMonthYear:hover {
176
- background: var(--primary-lightest) !important;
179
+ .Calendar-value--currDateMonthYear,
180
+ .Calendar-value--currDateMonthYear:hover {
181
+ background: var(--primary-lightest) !important;
177
182
  }
178
183
 
179
- .Calendar-value--active, .Calendar-value--active:hover {
180
- background: var(--primary) !important;
181
- font-weight: var(--font-weight-bold);
184
+ .Calendar-value--active,
185
+ .Calendar-value--active:hover {
186
+ background: var(--primary) !important;
187
+ font-weight: var(--font-weight-bold);
182
188
  }
183
189
 
184
- .Calendar-yearValue, .Calendar-monthValue {}
190
+ .Calendar-yearValue,
191
+ .Calendar-monthValue {
192
+ }
185
193
 
186
- .Calendar-yearValue--small, .Calendar-monthValue--small {
187
- height: var(--spacing-xl);
188
- width: var(--spacing-4);
194
+ .Calendar-yearValue--small,
195
+ .Calendar-monthValue--small {
196
+ height: var(--spacing-xl);
197
+ width: var(--spacing-4);
189
198
  }
190
199
 
191
- .Calendar-yearValue--large, .Calendar-monthValue--large {
192
- height: var(--spacing-3);
193
- width: var(--spacing-5);
200
+ .Calendar-yearValue--large,
201
+ .Calendar-monthValue--large {
202
+ height: var(--spacing-3);
203
+ width: var(--spacing-5);
194
204
  }
195
205
 
196
- .Calendar-dateValue {}
206
+ .Calendar-dateValue {
207
+ }
197
208
 
198
209
  .Calendar-dateValue--small {
199
- height: var(--spacing-xl);
200
- width: var(--spacing-xl);
210
+ height: var(--spacing-xl);
211
+ width: var(--spacing-xl);
201
212
  }
202
213
 
203
214
  .Calendar-dateValue--large {
204
- height: var(--spacing-3);
205
- width: var(--spacing-3);
215
+ height: var(--spacing-3);
216
+ width: var(--spacing-3);
206
217
  }
207
218
 
208
219
  .Calendar-valueWrapper--dummy {
209
- opacity: 0.58;
220
+ opacity: 0.58;
210
221
  }
211
222
 
212
223
  .Calendar-value--disabled {
213
- pointer-events: none;
224
+ pointer-events: none;
214
225
  }
215
226
 
216
227
  .Calendar-dayValues {
217
- display: flex;
218
- justify-content: center;
219
- padding-top: var(--spacing);
220
- padding-bottom: var(--spacing);
228
+ display: flex;
229
+ justify-content: center;
230
+ padding-top: var(--spacing);
231
+ padding-bottom: var(--spacing);
221
232
  }
222
233
 
223
234
  .Calendar-dateValues {
224
- display: flex;
225
- flex-direction: column;
226
- flex-grow: 1;
227
- justify-content: space-around;
235
+ display: flex;
236
+ flex-direction: column;
237
+ flex-grow: 1;
238
+ justify-content: space-around;
228
239
  }
229
240
 
230
241
  .Calendar-dayValues .Calendar-value {
231
- padding: 0;
242
+ padding: 0;
232
243
  }
233
244
 
234
- .Calendar-eventsIndicator{
235
- position: absolute;
236
- bottom: var(--spacing-s);
237
- width: var(--spacing-m);
238
- height: var(--spacing-m);
239
- background-color: var(--alert);
240
- border-radius: 50%;
245
+ .Calendar-eventsIndicator {
246
+ position: absolute;
247
+ bottom: var(--spacing-s);
248
+ width: var(--spacing-m);
249
+ height: var(--spacing-m);
250
+ background-color: var(--alert);
251
+ border-radius: 50%;
241
252
  }
242
- .Calendar-eventsIndicator--small{
243
- width: 3px;
244
- height: 3px;
253
+ .Calendar-eventsIndicator--small {
254
+ width: 3px;
255
+ height: 3px;
245
256
  }
246
- .Calendar-eventsIndicator--active{
247
- background-color: var(--white);
257
+ .Calendar-eventsIndicator--active {
258
+ background-color: var(--white);
248
259
  }
@@ -38,4 +38,3 @@
38
38
  .Card-footer--withSeperator {
39
39
  border-top: var(--spacing-xs) solid var(--secondary-light);
40
40
  }
41
-
@@ -1,4 +1,3 @@
1
-
2
1
  .CardSubdued {
3
2
  background: var(--card-subdued-bg);
4
3
  padding: var(--spacing-2);
@@ -9,14 +8,13 @@
9
8
  }
10
9
 
11
10
  .CardSubdued--left {
12
- border-left: var(--spacing-xs) solid var(--secondary-light);;
11
+ border-left: var(--spacing-xs) solid var(--secondary-light);
13
12
  }
14
13
 
15
14
  .CardSubdued--right {
16
- border-right: var(--spacing-xs) solid var(--secondary-light);;
15
+ border-right: var(--spacing-xs) solid var(--secondary-light);
17
16
  }
18
17
 
19
18
  .CardSubdued--bottom {
20
- border-bottom: var(--spacing-xs) solid var(--secondary-light);;
19
+ border-bottom: var(--spacing-xs) solid var(--secondary-light);
21
20
  }
22
-
@@ -1,7 +1,7 @@
1
1
  .Box {
2
2
  width: 100%;
3
3
  border-radius: var(--spacing);
4
- padding: var(--spacing-l)
4
+ padding: var(--spacing-l);
5
5
  }
6
6
 
7
7
  .Box--typing {
@@ -1,123 +1,124 @@
1
1
  /* badge */
2
2
 
3
3
  .Checkbox {
4
- display: flex;
5
- -webkit-user-select: none;
6
- -moz-user-select: none;
7
- -ms-user-select: none;
8
- user-select: none;
9
- line-height: initial;
10
- box-sizing: border-box;
11
- padding-top: var(--spacing-s);
12
- padding-bottom: var(--spacing-s);
4
+ display: flex;
5
+ -webkit-user-select: none;
6
+ -moz-user-select: none;
7
+ -ms-user-select: none;
8
+ user-select: none;
9
+ line-height: initial;
10
+ box-sizing: border-box;
11
+ padding-top: var(--spacing-s);
12
+ padding-bottom: var(--spacing-s);
13
13
  }
14
14
 
15
15
  .Checkbox-input {
16
- position: absolute;
17
- z-index: 2;
18
- opacity: 0;
19
- cursor: pointer;
20
- height: 100%;
21
- width: 100%;
22
- margin: 0;
16
+ position: absolute;
17
+ z-index: 2;
18
+ opacity: 0;
19
+ cursor: pointer;
20
+ height: 100%;
21
+ width: 100%;
22
+ margin: 0;
23
23
  }
24
24
 
25
25
  .Checkbox-labelWrapper {
26
- padding-left: var(--spacing);
27
- display: flex;
28
- flex-direction: column;
26
+ padding-left: var(--spacing);
27
+ display: flex;
28
+ flex-direction: column;
29
+ min-width: 0;
29
30
  }
30
31
 
31
32
  .Checkbox-label {
32
- display: flex;
33
- cursor: pointer;
33
+ display: flex;
34
+ cursor: pointer;
34
35
  }
35
36
 
36
37
  .Checkbox-outerWrapper {
37
- position: relative;
38
- margin-top: var(--spacing-s);
38
+ position: relative;
39
+ margin-top: var(--spacing-s);
39
40
  }
40
41
 
41
42
  .Checkbox-outerWrapper--regular {
42
- height: var(--spacing-2);
43
- min-width: var(--spacing-2);
43
+ height: var(--spacing-2);
44
+ min-width: var(--spacing-2);
44
45
  }
45
46
 
46
47
  .Checkbox-outerWrapper--tiny {
47
- height: var(--spacing-l);
48
- min-width: var(--spacing-l);
48
+ height: var(--spacing-l);
49
+ min-width: var(--spacing-l);
49
50
  }
50
51
 
51
52
  /* Type: Unchecked */
52
53
 
53
54
  .Checkbox-wrapper {
54
- top: 0;
55
- left: 0;
56
- border: var(--border);
57
- border-radius: var(--spacing-s);
58
- display: flex;
59
- align-items: center;
60
- box-sizing: border-box;
61
- height: 100%;
62
- width: 100%;
55
+ top: 0;
56
+ left: 0;
57
+ border: var(--border);
58
+ border-radius: var(--spacing-s);
59
+ display: flex;
60
+ align-items: center;
61
+ box-sizing: border-box;
62
+ height: 100%;
63
+ width: 100%;
63
64
  }
64
65
 
65
66
  .Checkbox-input:focus {
66
- outline: 0;
67
+ outline: 0;
67
68
  }
68
69
 
69
- .Checkbox-input:focus~.Checkbox-wrapper {
70
- box-shadow: var(--shadow-spread) var(--secondary-shadow);
70
+ .Checkbox-input:focus ~ .Checkbox-wrapper {
71
+ box-shadow: var(--shadow-spread) var(--secondary-shadow);
71
72
  }
72
73
 
73
- .Checkbox-input:hover~.Checkbox-wrapper {
74
- border: var(--spacing-xs) solid var(--inverse-lightest);
75
- background-color: var(--shadow-0);
74
+ .Checkbox-input:hover ~ .Checkbox-wrapper {
75
+ border: var(--spacing-xs) solid var(--inverse-lightest);
76
+ background-color: var(--shadow-0);
76
77
  }
77
78
 
78
- .Checkbox-input:active~.Checkbox-wrapper {
79
- border: var(--spacing-xs) solid var(--inverse-lightest);
80
- background-color: var(--secondary-light);
79
+ .Checkbox-input:active ~ .Checkbox-wrapper {
80
+ border: var(--spacing-xs) solid var(--inverse-lightest);
81
+ background-color: var(--secondary-light);
81
82
  }
82
83
 
83
84
  .Checkbox--disabled {
84
- pointer-events: none;
85
+ pointer-events: none;
85
86
  }
86
87
 
87
88
  .Checkbox--disabled .Checkbox-wrapper {
88
- border: var(--spacing-xs) solid var(--secondary-light);
89
- background-color: var(--secondary-lightest);
89
+ border: var(--spacing-xs) solid var(--secondary-light);
90
+ background-color: var(--secondary-lightest);
90
91
  }
91
92
 
92
93
  /* Type: checked && Type: indeterminate */
93
94
 
94
- .Checkbox-input--checked~.Checkbox-wrapper,
95
- .Checkbox-input--indeterminate~.Checkbox-wrapper {
96
- background-color: var(--primary);
97
- border: 0;
95
+ .Checkbox-input--checked ~ .Checkbox-wrapper,
96
+ .Checkbox-input--indeterminate ~ .Checkbox-wrapper {
97
+ background-color: var(--primary);
98
+ border: 0;
98
99
  }
99
100
 
100
- .Checkbox-input--checked:focus~.Checkbox-wrapper,
101
- .Checkbox-input--indeterminate:focus~.Checkbox-wrapper {
102
- box-shadow: var(--shadow-spread) var(--primary-shadow);
103
- background-color: var(--primary);
104
- border: 0;
101
+ .Checkbox-input--checked:focus ~ .Checkbox-wrapper,
102
+ .Checkbox-input--indeterminate:focus ~ .Checkbox-wrapper {
103
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
104
+ background-color: var(--primary);
105
+ border: 0;
105
106
  }
106
107
 
107
- .Checkbox-input--checked:hover~.Checkbox-wrapper,
108
- .Checkbox-input--indeterminate:hover~.Checkbox-wrapper {
109
- background-color: var(--primary-dark);
110
- border: 0;
108
+ .Checkbox-input--checked:hover ~ .Checkbox-wrapper,
109
+ .Checkbox-input--indeterminate:hover ~ .Checkbox-wrapper {
110
+ background-color: var(--primary-dark);
111
+ border: 0;
111
112
  }
112
113
 
113
- .Checkbox-input--checked:active~.Checkbox-wrapper,
114
- .Checkbox-input--indeterminate:active~.Checkbox-wrapper {
115
- background-color: var(--primary-darker);
116
- border: 0;
114
+ .Checkbox-input--checked:active ~ .Checkbox-wrapper,
115
+ .Checkbox-input--indeterminate:active ~ .Checkbox-wrapper {
116
+ background-color: var(--primary-darker);
117
+ border: 0;
117
118
  }
118
119
 
119
- .Checkbox--disabled .Checkbox-input--checked~.Checkbox-wrapper,
120
- .Checkbox--disabled .Checkbox-input--indeterminate~.Checkbox-wrapper {
121
- background-color: var(--primary-lighter);
122
- border: 0;
123
- }
120
+ .Checkbox--disabled .Checkbox-input--checked ~ .Checkbox-wrapper,
121
+ .Checkbox--disabled .Checkbox-input--indeterminate ~ .Checkbox-wrapper {
122
+ background-color: var(--primary-lighter);
123
+ border: 0;
124
+ }