fictoan-react 0.41.15 → 0.41.18

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 (186) hide show
  1. package/CHANGELOG.md +336 -215
  2. package/dist/cjs/components/Badge/Badge.styled.js +1 -1
  3. package/dist/cjs/components/Badge/Badge.styled.js.map +1 -1
  4. package/dist/cjs/components/BottomDrawer/BottomDrawer.d.ts +1 -0
  5. package/dist/cjs/components/BottomDrawer/BottomDrawer.js +1 -1
  6. package/dist/cjs/components/BottomDrawer/BottomDrawer.js.map +1 -1
  7. package/dist/cjs/components/BottomDrawer/BottomDrawer.styled.js +1 -1
  8. package/dist/cjs/components/BottomDrawer/BottomDrawer.styled.js.map +1 -1
  9. package/dist/cjs/components/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.styled.js +1 -1
  10. package/dist/cjs/components/Breadcrumbs/BreadcrumbsWrapper/BreadcrumbsWrapper.styled.js +1 -1
  11. package/dist/cjs/components/Button/Button.styled.js +1 -1
  12. package/dist/cjs/components/Button/Button.styled.js.map +1 -1
  13. package/dist/cjs/components/Callout/Callout.js.map +1 -1
  14. package/dist/cjs/components/Callout/Callout.styled.js +1 -1
  15. package/dist/cjs/components/Callout/Callout.styled.js.map +1 -1
  16. package/dist/cjs/components/Card/Card.styled.js +1 -1
  17. package/dist/cjs/components/CodeBlock/Code.styled.js +1 -1
  18. package/dist/cjs/components/CodeBlock/Code.styled.js.map +1 -1
  19. package/dist/cjs/components/CodeBlock/CodeBlock.js.map +1 -1
  20. package/dist/cjs/components/ContentWrapper/ContentWrapper.styled.js +1 -1
  21. package/dist/cjs/components/ExpandableContent/ExpandableContent.styled.js +1 -1
  22. package/dist/cjs/components/ExpandableContent/ExpandableContent.styled.js.map +1 -1
  23. package/dist/cjs/components/Form/BaseInputComponent/BaseInputComponent.js.map +1 -1
  24. package/dist/cjs/components/Form/CheckBox/CheckBox.styled.js +1 -1
  25. package/dist/cjs/components/Form/CheckBox/CheckBox.styled.js.map +1 -1
  26. package/dist/cjs/components/Form/CheckBox/Switch.js.map +1 -1
  27. package/dist/cjs/components/Form/FormItem/FormItem.styled.js +1 -1
  28. package/dist/cjs/components/Form/FormItem/FormItem.styled.js.map +1 -1
  29. package/dist/cjs/components/Form/FormItemGroup/FormItemGroup.js.map +1 -1
  30. package/dist/cjs/components/Form/FormItemGroup/FormItemGroup.styled.js +1 -1
  31. package/dist/cjs/components/Form/FormItemGroup/FormItemGroup.styled.js.map +1 -1
  32. package/dist/cjs/components/Form/FormWrapper/FormGenerator.js.map +1 -1
  33. package/dist/cjs/components/Form/FormWrapper/FormWrapper.js.map +1 -1
  34. package/dist/cjs/components/Form/FormWrapper/FormWrapper.styled.js +1 -1
  35. package/dist/cjs/components/Form/InputField/InputField.styled.js +1 -1
  36. package/dist/cjs/components/Form/InputLabel/InputLabel.js.map +1 -1
  37. package/dist/cjs/components/Form/RadioButton/RadioButton.styled.js +1 -1
  38. package/dist/cjs/components/Form/Select/Select.styled.js +1 -1
  39. package/dist/cjs/components/Form/Select/Select.styled.js.map +1 -1
  40. package/dist/cjs/components/Form/TextArea/TextArea.styled.js +1 -1
  41. package/dist/cjs/components/HRule/HRule.js.map +1 -1
  42. package/dist/cjs/components/HRule/HRule.styled.js +1 -1
  43. package/dist/cjs/components/InfoPanel/InfoPanel.d.ts +1 -0
  44. package/dist/cjs/components/InfoPanel/InfoPanel.js +1 -1
  45. package/dist/cjs/components/InfoPanel/InfoPanel.js.map +1 -1
  46. package/dist/cjs/components/InfoPanel/InfoPanel.styled.js +1 -1
  47. package/dist/cjs/components/InfoPanel/InfoPanel.styled.js.map +1 -1
  48. package/dist/cjs/components/Notifications/NotificationsItem/NotificationItem.styled.js +1 -1
  49. package/dist/cjs/components/Notifications/NotificationsWrapper/NotificationsWrapper.styled.js +1 -1
  50. package/dist/cjs/components/Notifications/NotificationsWrapper/NotificationsWrapper.styled.js.map +1 -1
  51. package/dist/cjs/components/PinInputField/PinInputField.js.map +1 -1
  52. package/dist/cjs/components/PinInputField/PinInputField.styled.js +1 -1
  53. package/dist/cjs/components/Portion/Portion.styled.js +1 -1
  54. package/dist/cjs/components/ProgressBar/ProgressBar.js.map +1 -1
  55. package/dist/cjs/components/ProgressBar/ProgressBar.styled.js +1 -1
  56. package/dist/cjs/components/ProgressBar/ProgressBar.styled.js.map +1 -1
  57. package/dist/cjs/components/Row/Row.js.map +1 -1
  58. package/dist/cjs/components/Row/Row.styled.js +1 -1
  59. package/dist/cjs/components/Sidebar/SidebarFooter/SidebarFooter.js.map +1 -1
  60. package/dist/cjs/components/Sidebar/SidebarFooter/SidebarFooter.styled.js +1 -1
  61. package/dist/cjs/components/Sidebar/SidebarFooter/SidebarFooter.styled.js.map +1 -1
  62. package/dist/cjs/components/Sidebar/SidebarHeader/SidebarHeader.js.map +1 -1
  63. package/dist/cjs/components/Sidebar/SidebarHeader/SidebarHeader.styled.js +1 -1
  64. package/dist/cjs/components/Sidebar/SidebarHeader/SidebarHeader.styled.js.map +1 -1
  65. package/dist/cjs/components/Sidebar/SidebarItem/SidebarItem.js.map +1 -1
  66. package/dist/cjs/components/Sidebar/SidebarItem/SidebarItem.styled.js +1 -1
  67. package/dist/cjs/components/Sidebar/SidebarItemIcon/SidebarItemIcon.js.map +1 -1
  68. package/dist/cjs/components/Sidebar/SidebarItemIcon/SidebarItemIcon.styled.js +1 -1
  69. package/dist/cjs/components/Sidebar/SidebarItemIcon/SidebarItemIcon.styled.js.map +1 -1
  70. package/dist/cjs/components/Sidebar/SidebarItemText/SidebarItemText.js.map +1 -1
  71. package/dist/cjs/components/Sidebar/SidebarItemText/SidebarItemText.styled.js +1 -1
  72. package/dist/cjs/components/Sidebar/SidebarWrapper/SidebarWrapper.js.map +1 -1
  73. package/dist/cjs/components/Sidebar/SidebarWrapper/SidebarWrapper.styled.js +1 -1
  74. package/dist/cjs/components/Sidebar/SidebarWrapper/SidebarWrapper.styled.js.map +1 -1
  75. package/dist/cjs/components/Spinner/Spinner.styled.js +1 -1
  76. package/dist/cjs/components/Table/Table.styled.js +1 -1
  77. package/dist/cjs/components/Table/TablePagination/TablePagination.js.map +1 -1
  78. package/dist/cjs/components/Table/TablePagination/TablePagination.styled.js +1 -1
  79. package/dist/cjs/components/Tabs/Tabs.js +1 -1
  80. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  81. package/dist/cjs/components/Tabs/Tabs.styled.js +1 -1
  82. package/dist/cjs/components/Tabs/Tabs.styled.js.map +1 -1
  83. package/dist/cjs/components/Toast/ToastItem/ToastItem.js.map +1 -1
  84. package/dist/cjs/components/Toast/ToastItem/ToastItem.styled.js +1 -1
  85. package/dist/cjs/components/Toast/ToastsWrapper/ToastsWrapper.js.map +1 -1
  86. package/dist/cjs/components/Toast/ToastsWrapper/ToastsWrapper.styled.js +1 -1
  87. package/dist/cjs/components/Toast/ToastsWrapper/ToastsWrapper.styled.js.map +1 -1
  88. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  89. package/dist/cjs/components/Tooltip/Tooltip.styled.js +1 -1
  90. package/dist/cjs/components/Typography/Typography.styled.js +1 -1
  91. package/dist/cjs/components/Typography/Typography.styled.js.map +1 -1
  92. package/dist/cjs/external/Element.js.map +1 -1
  93. package/dist/cjs/hooks/UseClickOutside.d.ts +1 -0
  94. package/dist/es/components/Badge/Badge.styled.js +1 -1
  95. package/dist/es/components/Badge/Badge.styled.js.map +1 -1
  96. package/dist/es/components/BottomDrawer/BottomDrawer.d.ts +1 -0
  97. package/dist/es/components/BottomDrawer/BottomDrawer.js +1 -1
  98. package/dist/es/components/BottomDrawer/BottomDrawer.js.map +1 -1
  99. package/dist/es/components/BottomDrawer/BottomDrawer.styled.js +1 -1
  100. package/dist/es/components/BottomDrawer/BottomDrawer.styled.js.map +1 -1
  101. package/dist/es/components/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.styled.js +1 -1
  102. package/dist/es/components/Breadcrumbs/BreadcrumbsWrapper/BreadcrumbsWrapper.styled.js +1 -1
  103. package/dist/es/components/Button/Button.styled.js +1 -1
  104. package/dist/es/components/Button/Button.styled.js.map +1 -1
  105. package/dist/es/components/Callout/Callout.js.map +1 -1
  106. package/dist/es/components/Callout/Callout.styled.js +1 -1
  107. package/dist/es/components/Callout/Callout.styled.js.map +1 -1
  108. package/dist/es/components/Card/Card.styled.js +1 -1
  109. package/dist/es/components/CodeBlock/Code.styled.js +1 -1
  110. package/dist/es/components/CodeBlock/Code.styled.js.map +1 -1
  111. package/dist/es/components/CodeBlock/CodeBlock.js.map +1 -1
  112. package/dist/es/components/ContentWrapper/ContentWrapper.styled.js +1 -1
  113. package/dist/es/components/ExpandableContent/ExpandableContent.styled.js +1 -1
  114. package/dist/es/components/ExpandableContent/ExpandableContent.styled.js.map +1 -1
  115. package/dist/es/components/Form/BaseInputComponent/BaseInputComponent.js.map +1 -1
  116. package/dist/es/components/Form/CheckBox/CheckBox.styled.js +1 -1
  117. package/dist/es/components/Form/CheckBox/CheckBox.styled.js.map +1 -1
  118. package/dist/es/components/Form/CheckBox/Switch.js.map +1 -1
  119. package/dist/es/components/Form/FormItem/FormItem.styled.js +1 -1
  120. package/dist/es/components/Form/FormItem/FormItem.styled.js.map +1 -1
  121. package/dist/es/components/Form/FormItemGroup/FormItemGroup.js.map +1 -1
  122. package/dist/es/components/Form/FormItemGroup/FormItemGroup.styled.js +1 -1
  123. package/dist/es/components/Form/FormItemGroup/FormItemGroup.styled.js.map +1 -1
  124. package/dist/es/components/Form/FormWrapper/FormGenerator.js.map +1 -1
  125. package/dist/es/components/Form/FormWrapper/FormWrapper.js.map +1 -1
  126. package/dist/es/components/Form/FormWrapper/FormWrapper.styled.js +1 -1
  127. package/dist/es/components/Form/InputField/InputField.styled.js +1 -1
  128. package/dist/es/components/Form/InputLabel/InputLabel.js.map +1 -1
  129. package/dist/es/components/Form/RadioButton/RadioButton.styled.js +1 -1
  130. package/dist/es/components/Form/Select/Select.styled.js +1 -1
  131. package/dist/es/components/Form/Select/Select.styled.js.map +1 -1
  132. package/dist/es/components/Form/TextArea/TextArea.styled.js +1 -1
  133. package/dist/es/components/HRule/HRule.js.map +1 -1
  134. package/dist/es/components/HRule/HRule.styled.js +1 -1
  135. package/dist/es/components/InfoPanel/InfoPanel.d.ts +1 -0
  136. package/dist/es/components/InfoPanel/InfoPanel.js +1 -1
  137. package/dist/es/components/InfoPanel/InfoPanel.js.map +1 -1
  138. package/dist/es/components/InfoPanel/InfoPanel.styled.js +1 -1
  139. package/dist/es/components/InfoPanel/InfoPanel.styled.js.map +1 -1
  140. package/dist/es/components/Notifications/NotificationsItem/NotificationItem.styled.js +1 -1
  141. package/dist/es/components/Notifications/NotificationsWrapper/NotificationsWrapper.styled.js +1 -1
  142. package/dist/es/components/Notifications/NotificationsWrapper/NotificationsWrapper.styled.js.map +1 -1
  143. package/dist/es/components/PinInputField/PinInputField.js.map +1 -1
  144. package/dist/es/components/PinInputField/PinInputField.styled.js +1 -1
  145. package/dist/es/components/Portion/Portion.styled.js +1 -1
  146. package/dist/es/components/ProgressBar/ProgressBar.js.map +1 -1
  147. package/dist/es/components/ProgressBar/ProgressBar.styled.js +1 -1
  148. package/dist/es/components/ProgressBar/ProgressBar.styled.js.map +1 -1
  149. package/dist/es/components/Row/Row.js.map +1 -1
  150. package/dist/es/components/Row/Row.styled.js +1 -1
  151. package/dist/es/components/Sidebar/SidebarFooter/SidebarFooter.js.map +1 -1
  152. package/dist/es/components/Sidebar/SidebarFooter/SidebarFooter.styled.js +1 -1
  153. package/dist/es/components/Sidebar/SidebarFooter/SidebarFooter.styled.js.map +1 -1
  154. package/dist/es/components/Sidebar/SidebarHeader/SidebarHeader.js.map +1 -1
  155. package/dist/es/components/Sidebar/SidebarHeader/SidebarHeader.styled.js +1 -1
  156. package/dist/es/components/Sidebar/SidebarHeader/SidebarHeader.styled.js.map +1 -1
  157. package/dist/es/components/Sidebar/SidebarItem/SidebarItem.js.map +1 -1
  158. package/dist/es/components/Sidebar/SidebarItem/SidebarItem.styled.js +1 -1
  159. package/dist/es/components/Sidebar/SidebarItemIcon/SidebarItemIcon.js.map +1 -1
  160. package/dist/es/components/Sidebar/SidebarItemIcon/SidebarItemIcon.styled.js +1 -1
  161. package/dist/es/components/Sidebar/SidebarItemIcon/SidebarItemIcon.styled.js.map +1 -1
  162. package/dist/es/components/Sidebar/SidebarItemText/SidebarItemText.js.map +1 -1
  163. package/dist/es/components/Sidebar/SidebarItemText/SidebarItemText.styled.js +1 -1
  164. package/dist/es/components/Sidebar/SidebarWrapper/SidebarWrapper.js.map +1 -1
  165. package/dist/es/components/Sidebar/SidebarWrapper/SidebarWrapper.styled.js +1 -1
  166. package/dist/es/components/Sidebar/SidebarWrapper/SidebarWrapper.styled.js.map +1 -1
  167. package/dist/es/components/Spinner/Spinner.styled.js +1 -1
  168. package/dist/es/components/Table/Table.styled.js +1 -1
  169. package/dist/es/components/Table/TablePagination/TablePagination.js.map +1 -1
  170. package/dist/es/components/Table/TablePagination/TablePagination.styled.js +1 -1
  171. package/dist/es/components/Tabs/Tabs.js +1 -1
  172. package/dist/es/components/Tabs/Tabs.js.map +1 -1
  173. package/dist/es/components/Tabs/Tabs.styled.js +1 -1
  174. package/dist/es/components/Tabs/Tabs.styled.js.map +1 -1
  175. package/dist/es/components/Toast/ToastItem/ToastItem.js.map +1 -1
  176. package/dist/es/components/Toast/ToastItem/ToastItem.styled.js +1 -1
  177. package/dist/es/components/Toast/ToastsWrapper/ToastsWrapper.js.map +1 -1
  178. package/dist/es/components/Toast/ToastsWrapper/ToastsWrapper.styled.js +1 -1
  179. package/dist/es/components/Toast/ToastsWrapper/ToastsWrapper.styled.js.map +1 -1
  180. package/dist/es/components/Tooltip/Tooltip.js.map +1 -1
  181. package/dist/es/components/Tooltip/Tooltip.styled.js +1 -1
  182. package/dist/es/components/Typography/Typography.styled.js +1 -1
  183. package/dist/es/components/Typography/Typography.styled.js.map +1 -1
  184. package/dist/es/external/Element.js.map +1 -1
  185. package/dist/es/hooks/UseClickOutside.d.ts +1 -0
  186. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,452 +1,573 @@
1
+ ### 0.41.18
2
+
3
+ - Remove style overrides in Tabs component
4
+
5
+ ### 0.41.17
6
+
7
+ - Add `closeOnClickOutside` prop for `InfoPanel` & `BottomDrawer`
8
+
9
+ ### 0.41.16
10
+
11
+ - Fix wrong font value for links in theme file
12
+
1
13
  ### 0.41.15
2
- - `BottomDrawer` overlay is now theme-able and style-able with props
14
+
15
+ - `BottomDrawer` overlay is now theme-able and style-able with props
3
16
 
4
17
  ### 0.41.14
5
- - Overhaul `BottomDrawer` to now come with a page overlay
18
+
19
+ - Overhaul `BottomDrawer` to now come with a page overlay
6
20
 
7
21
  ### 0.41.13
8
- - Add span types for `Portion`
22
+
23
+ - Add span types for `Portion`
9
24
 
10
25
  ### 0.41.11
11
- - Add `spacing` prop for `PinInputField`
26
+
27
+ - Add `spacing` prop for `PinInputField`
12
28
 
13
29
  ### 0.41.10
14
- - Add separate theme object for `BottomDrawer`
30
+
31
+ - Add separate theme object for `BottomDrawer`
15
32
 
16
33
  ### 0.41.9
17
- - Allow controlling auto-focus behaviour for `PinInputField`
34
+
35
+ - Allow controlling auto-focus behaviour for `PinInputField`
18
36
 
19
37
  ### 0.41.8
20
- - Add ability to theme disabled states for `primary`, `secondary` and `tertiary` buttons separately
38
+
39
+ - Add ability to theme disabled states for `primary`, `secondary` and `tertiary` buttons separately
21
40
 
22
41
  ### 0.41.7
23
- - Add different letter spacing values for empty and filled `input[type=password]`
42
+
43
+ - Add different letter spacing values for empty and filled `input[type=password]`
24
44
 
25
45
  ### 0.41.6
26
- - Fix `InputField` text colour dark theme bug
46
+
47
+ - Fix `InputField` text colour dark theme bug
27
48
 
28
49
  ### 0.41.5
29
- - Add `spacing` and `retainLayout` props for `FormItemGroup`
50
+
51
+ - Add `spacing` and `retainLayout` props for `FormItemGroup`
30
52
 
31
53
  ### 0.41.4
32
- - Fix bug in `onChange` implementation for `PinInputField`
54
+
55
+ - Fix bug in `onChange` implementation for `PinInputField`
33
56
 
34
57
  ### 0.41.3
35
- - Fix missing font family for `hepText` and `errorText`
58
+
59
+ - Fix missing font family for `hepText` and `errorText`
36
60
 
37
61
  ### 0.41.2
38
- - Replace `onComplete` with `onChange` callback for `PinInputField`
62
+
63
+ - Replace `onComplete` with `onChange` callback for `PinInputField`
39
64
 
40
65
  ### 0.41.1
41
- - Add `PinInputField` component
66
+
67
+ - Add `PinInputField` component
42
68
 
43
69
  ### 0.40.0
44
- - Add `BottomDrawer` component
70
+
71
+ - Add `BottomDrawer` component
45
72
 
46
73
  ### 0.39.3
47
- - Rename `timeout` prop for `BottomDrawer` and `NotificationItem` to `showFor`
48
- - Fix `Select` border-radius bug
74
+
75
+ - Rename `timeout` prop for `BottomDrawer` and `NotificationItem` to `showFor`
76
+ - Fix `Select` border-radius bug
49
77
 
50
78
  ### 0.39.2
51
- - Move `unit` prop in the `ProgressBar` from being displayed via CSS to markup
79
+
80
+ - Move `unit` prop in the `ProgressBar` from being displayed via CSS to markup
52
81
 
53
82
  ### 0.39.1
54
- - Tweak `Badge` padding values
83
+
84
+ - Tweak `Badge` padding values
55
85
 
56
86
  ### 0.39.0
57
- - Fix `Badge` line height bug
58
- - Fix `Switch` theme colour mismatch
87
+
88
+ - Fix `Badge` line height bug
89
+ - Fix `Switch` theme colour mismatch
59
90
 
60
91
  ### 0.38.3
61
- - Tweak `Badge` padding values
92
+
93
+ - Tweak `Badge` padding values
62
94
 
63
95
  ### 0.38.2
64
- - Fix `Badge` height bug
96
+
97
+ - Fix `Badge` height bug
65
98
 
66
99
  ### 0.38.1
67
- - Add opinionated defaults for `mark` element
100
+
101
+ - Add opinionated defaults for `mark` element
68
102
 
69
103
  ### 0.38.0
70
- - Add `Badge` component
104
+
105
+ - Add `Badge` component
71
106
 
72
107
  ### 0.37.1
73
- - Rename `Toast` to `BottomDrawer` for better consistency
108
+
109
+ - Rename `Toast` to `BottomDrawer` for better consistency
74
110
 
75
111
  ### 0.37.0
76
- - Add `Toast` component
112
+
113
+ - Add `Toast` component
77
114
 
78
115
  ### 0.36.4
79
- - Add `horizontallyCentreThis`, `horizontallyCenterThis`, `verticallyCentreItems`, `verticallyCenterItems`, `pushItemsToEnds` as props instead of class names
116
+
117
+ - Add `horizontallyCentreThis`, `horizontallyCenterThis`, `verticallyCentreItems`, `verticallyCenterItems`, `pushItemsToEnds` as props instead of class names
80
118
 
81
119
  ### 0.36.3
82
- - Fix `Select` border-radius inheritance bug
83
- - Fix `SidebarItemText` hover state text colour
120
+
121
+ - Fix `Select` border-radius inheritance bug
122
+ - Fix `SidebarItemText` hover state text colour
84
123
 
85
124
  ### 0.36.2
86
- - Fix inconsistent `tabLS` and `tabPT` props
125
+
126
+ - Fix inconsistent `tabLS` and `tabPT` props
87
127
 
88
128
  ### 0.36.1
89
- - Add types for `Element`’s `as` attribute
129
+
130
+ - Add types for `Element`’s `as` attribute
90
131
 
91
132
  ### 0.36.0
92
- - Fix text colour for nested links in sidebar for better differentiation
93
- - Fix typo in `portionProps`
94
- - Refactor sidebar theme object hierarchy for links and sublinks, remove `linksWrapper` object
95
- - Mention `styled-components` requirement in the README
133
+
134
+ - Fix text colour for nested links in sidebar for better differentiation
135
+ - Fix typo in `portionProps`
136
+ - Refactor sidebar theme object hierarchy for links and sublinks, remove `linksWrapper` object
137
+ - Mention `styled-components` requirement in the README
96
138
 
97
139
  ### 0.35.4
98
- - Rename `tabLS` to `tabletLandscape` and `tabPT` to `tabletPortrait` for more consistency with the naming scheme and less ambiguity.
140
+
141
+ - Rename `tabLS` to `tabletLandscape` and `tabPT` to `tabletPortrait` for more consistency with the naming scheme and less ambiguity.
99
142
 
100
143
  ### 0.35.3
101
- - Fix focus states for checkbox, switch, radio and select
144
+
145
+ - Fix focus states for checkbox, switch, radio and select
102
146
 
103
147
  ### 0.35.2
104
- - Fix theme throwing error on colour overrides
105
- - Add custom colours to ColorPropsType and export it from library
106
- - Fix InputField element type
148
+
149
+ - Fix theme throwing error on colour overrides
150
+ - Add custom colours to ColorPropsType and export it from library
151
+ - Fix InputField element type
107
152
 
108
153
  ### 0.35.0
154
+
109
155
  **General**
110
- - Add Storybook for easy testing and documentation
111
- - Each component folder now contains a `<component_name>.stories.tsx` (to create stories) and `<component_name>.stories.mdx` (to write docs) file
112
- - Add make commands for easy creation of components
113
- - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
114
- - Remove `as` from RadioButton and CheckBox props
115
- - Make `shadow` a global prop
116
- - Make `shape` a global prop
117
- - Add `ExpandableContent` component which implements details and summary tags
118
- - Add `Tag` component
119
- - Add `opacity` as a global prop
120
- - HRule now supports custom background colors
121
- - Add `hr.default` to theme
122
- - All colour props are now typed
123
- - Add command (`make color-props`) to generate colour props from default colors
156
+
157
+ - Add Storybook for easy testing and documentation
158
+ - Each component folder now contains a `<component_name>.stories.tsx` (to create stories) and `<component_name>.stories.mdx` (to write docs) file
159
+ - Add make commands for easy creation of components
160
+ - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
161
+ - Remove `as` from RadioButton and CheckBox props
162
+ - Make `shadow` a global prop
163
+ - Make `shape` a global prop
164
+ - Add `ExpandableContent` component which implements details and summary tags
165
+ - Add `Tag` component
166
+ - Add `opacity` as a global prop
167
+ - HRule now supports custom background colors
168
+ - Add `hr.default` to theme
169
+ - All colour props are now typed
170
+ - Add command (`make color-props`) to generate colour props from default colors
124
171
 
125
172
  **Form improvements**
126
- - Remove `isAnswers` prop from FormItem
127
- - Remove FormItemJointGroup component
128
- - Add `isJoint` prop to FormItemGroup
129
- - Remove Extra spacing after FormItemGroup
130
- - Add `fields` and `onFieldsChange` prop to FormWrapper to allow form creation using an array of config 🎉
131
- - RadioGroup and Select now use BaseInputComponent
132
- - Add better and consistent help & error text for each form field
133
- - Make InputLabel atomic
134
- - Add error text for FormWrapper which uses Callout component
135
- - Add sizes to Switch component
136
- - Make Select chevron consistent with ExpandableContent
137
- - Make required and disabled states consistent in form fields
138
- - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
173
+
174
+ - Remove `isAnswers` prop from FormItem
175
+ - Remove FormItemJointGroup component
176
+ - Add `isJoint` prop to FormItemGroup
177
+ - Remove Extra spacing after FormItemGroup
178
+ - Add `fields` and `onFieldsChange` prop to FormWrapper to allow form creation using an array of config 🎉
179
+ - RadioGroup and Select now use BaseInputComponent
180
+ - Add better and consistent help & error text for each form field
181
+ - Make InputLabel atomic
182
+ - Add error text for FormWrapper which uses Callout component
183
+ - Add sizes to Switch component
184
+ - Make Select chevron consistent with ExpandableContent
185
+ - Make required and disabled states consistent in form fields
186
+ - Remove `name` props from RadioGroup `options` type; Add `label` and `id`
139
187
 
140
188
  **Sidebar improvements**
141
- - Remove `isSticky` from Sidebar footer
142
- - `sidebar.body.bg` is now `sidebar.bg` in theme
143
- - Add sidebar width properties to theme; SidebarHeader, SidebarFooter and SidebarItem span 100% automatically
144
- - Remove `isSticky` from SidebarFooter, it always sticks to bottom
145
- - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
146
- - Make SidebarHeader and SidebarFooter sticky instead of fixed to get simpler and consistent sidebar layout
147
- - Remove `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` from theme
148
- - Remove SidebarItemsGroup and SidebarItemsGroupHeader
189
+
190
+ - Remove `isSticky` from Sidebar footer
191
+ - `sidebar.body.bg` is now `sidebar.bg` in theme
192
+ - Add sidebar width properties to theme; SidebarHeader, SidebarFooter and SidebarItem span 100% automatically
193
+ - Remove `isSticky` from SidebarFooter, it always sticks to bottom
194
+ - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
195
+ - Make SidebarHeader and SidebarFooter sticky instead of fixed to get simpler and consistent sidebar layout
196
+ - Remove `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` from theme
197
+ - Remove SidebarItemsGroup and SidebarItemsGroupHeader
149
198
 
150
199
  **New components**
151
- - Tooltip (very basic, might overflow screens)
152
- - Callout
153
- - ExpandableContent
154
- - Tag
200
+
201
+ - Tooltip (very basic, might overflow screens)
202
+ - Callout
203
+ - ExpandableContent
204
+ - Tag
155
205
 
156
206
  **Removed components**
157
- - FormItemJointGroup
158
- - SidebarLink
159
- - SidebarNestedLinks
160
- - SidebarLinksWrapper
161
- - SidebarItemsGroup
162
- - SidebarItemsGroupHeader
163
-
164
- ## BREAKING CHANGES ⚠️
165
- - Inside theme:
166
- - `inputField.default.helpText` is now `inputField.onFocus.helpText`
167
- - `inputField.isInvalid.helpText` is now `inputField.isInvalid.errorText`
168
- - `sidebar.body.bg` is now `sidebar.bg`
169
- - `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` have been removed
170
- - Remove `isSticky` from SidebarFooter
171
- - It always sticks to bottom
172
- - Remove FormItemJointGroup
173
- - Use `isJoint` prop inside FormItemGroup instead
174
- - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
175
- - Remove SidebarItemsGroup and SidebarItemsGroupHeader
176
- - Use ExpandableContent component instead
177
- - Default Switch size now `medium` which is larger than before
178
- - Set to size `small` for old size
179
207
 
208
+ - FormItemJointGroup
209
+ - SidebarLink
210
+ - SidebarNestedLinks
211
+ - SidebarLinksWrapper
212
+ - SidebarItemsGroup
213
+ - SidebarItemsGroupHeader
214
+
215
+ ## BREAKING CHANGES ⚠️
216
+
217
+ - Inside theme:
218
+ - `inputField.default.helpText` is now `inputField.onFocus.helpText`
219
+ - `inputField.isInvalid.helpText` is now `inputField.isInvalid.errorText`
220
+ - `sidebar.body.bg` is now `sidebar.bg`
221
+ - `sidebar.linksWrapper.marginTop` and `sidebar.linksWrapper.marginBottom` have been removed
222
+ - Remove `isSticky` from SidebarFooter
223
+ - It always sticks to bottom
224
+ - Remove FormItemJointGroup
225
+ - Use `isJoint` prop inside FormItemGroup instead
226
+ - Remove SidebarLink, SidebarNestedLinks and SidebarLinksWrapper
227
+ - Remove SidebarItemsGroup and SidebarItemsGroupHeader
228
+ - Use ExpandableContent component instead
229
+ - Default Switch size now `medium` which is larger than before
230
+ - Set to size `small` for old size
180
231
 
181
232
  ### 0.34.0
182
- - Replace `react-syntax-highlighter` with `prism-react-renderer`
183
- - Add simple wrappers for `prism-components` to import specific languages from `prismjs`
184
- - Fix CodeBlock erratic output issue
233
+
234
+ - Replace `react-syntax-highlighter` with `prism-react-renderer`
235
+ - Add simple wrappers for `prism-components` to import specific languages from `prismjs`
236
+ - Fix CodeBlock erratic output issue
185
237
 
186
238
  ### 0.33.15
187
- - Fix `spinner` padding
239
+
240
+ - Fix `spinner` padding
188
241
 
189
242
  ### 0.33.14
190
- - Add `Spinner` component
243
+
244
+ - Add `Spinner` component
191
245
 
192
246
  ### 0.33.12
193
- - Remove `Element` props being passed to all HTML elements as attributes
194
- - Fix Badge `is-loading` colours
247
+
248
+ - Remove `Element` props being passed to all HTML elements as attributes
249
+ - Fix Badge `is-loading` colours
195
250
 
196
251
  ### 0.33.11
197
- - Fix transition for `SidebarHeader`
252
+
253
+ - Fix transition for `SidebarHeader`
198
254
 
199
255
  ### 0.33.10
200
- - Add `isSticky` prop for `SidebarHeader` and `SidebarFooter`
201
- - Add new component `SidebarLinksWrapper` to better manage `SidebarHeader` and `SidebarFooter`
256
+
257
+ - Add `isSticky` prop for `SidebarHeader` and `SidebarFooter`
258
+ - Add new component `SidebarLinksWrapper` to better manage `SidebarHeader` and `SidebarFooter`
202
259
 
203
260
  ### 0.33.9
204
- - Fix `polished` imports
261
+
262
+ - Fix `polished` imports
205
263
 
206
264
  ### 0.33.8
265
+
207
266
  Breaking changes
208
267
 
209
- - Breadcrumbs
210
- - `BreadcrumbWrapper` renamed to `BreadcrumbsWrapper`
211
- - The `separator` is now configurable in the theme file
268
+ - Breadcrumbs
269
+
270
+ - `BreadcrumbWrapper` renamed to `BreadcrumbsWrapper`
271
+ - The `separator` is now configurable in the theme file
272
+
273
+ - Badge
274
+
275
+ - `isLoading` class now works for `custom` kind buttons also
276
+ - Fix padding inconsistencies
277
+ - `with-loader` and `with-delete` classes renamed to `is-loading` and `has-delete`
278
+
279
+ - Form elements
280
+
281
+ - `input` theme object is now `inputField`
282
+ - `CheckBox`, `RadioButton`, `Select` etc have been moved out from inside `input`
212
283
 
213
- - Badge
214
- - `isLoading` class now works for `custom` kind buttons also
215
- - Fix padding inconsistencies
216
- - `with-loader` and `with-delete` classes renamed to `is-loading` and `has-delete`
284
+ - InfoPanel
217
285
 
218
- - Form elements
219
- - `input` theme object is now `inputField`
220
- - `CheckBox`, `RadioButton`, `Select` etc have been moved out from inside `input`
286
+ - Dismiss button now styled differently, and does not interfere with the content
221
287
 
222
- - InfoPanel
223
- - Dismiss button now styled differently, and does not interfere with the content
288
+ - Notifications
224
289
 
225
- - Notifications
226
- - The `type` prop is now `kind` to be more consistent with the rest of the components
227
- - `onClose` is renamed to `onCloseCallback`
228
- - `NotificationWrapper` has a `order` prop to set the stacking order of `NotificationItem` children
290
+ - The `type` prop is now `kind` to be more consistent with the rest of the components
291
+ - `onClose` is renamed to `onCloseCallback`
292
+ - `NotificationWrapper` has a `order` prop to set the stacking order of `NotificationItem` children
229
293
 
230
- - ProgressBar
231
- - `isThin` prop is deprecated in favour of a far more flexible `height` prop
232
- - `shape` prop is now available just like the `Badge`
294
+ - ProgressBar
233
295
 
234
- - The theme object is now called `FictoanTheme`
296
+ - `isThin` prop is deprecated in favour of a far more flexible `height` prop
297
+ - `shape` prop is now available just like the `Badge`
298
+
299
+ - The theme object is now called `FictoanTheme`
235
300
 
236
301
  ### 0.33.7
237
- - Fix types for `CodeBlock`, `BaseInputElement`, `ProgressBar`, `TextArea`, and `Select`.
302
+
303
+ - Fix types for `CodeBlock`, `BaseInputElement`, `ProgressBar`, `TextArea`, and `Select`.
238
304
 
239
305
  ### 0.33.6
240
- - Add autoprefixer to add vendor styles to CSS
306
+
307
+ - Add autoprefixer to add vendor styles to CSS
241
308
 
242
309
  ### 0.33.5
243
- - Fix `alignText` styling for `Table` 😬
310
+
311
+ - Fix `alignText` styling for `Table` 😬
244
312
 
245
313
  ### 0.33.4
246
- - Add `alignText` prop for `Table`
314
+
315
+ - Add `alignText` prop for `Table`
247
316
 
248
317
  ### 0.33.3
249
- - Fix npm publish bug
318
+
319
+ - Fix npm publish bug
250
320
 
251
321
  ### 0.33.2
252
- - Fix CSS overrides for all components
322
+
323
+ - Fix CSS overrides for all components
253
324
 
254
325
  ### 0.33.1
255
- - Support heading in `InfoPanel`
326
+
327
+ - Support heading in `InfoPanel`
256
328
 
257
329
  ### 0.33.0
258
- - Replace lodash with lodash-es for tree shaking
259
- - Bump rollup to 2.52.7
260
- - Replace `prism-react-renderer` and `prismjs` with `react-syntax-highlighter` which is more customizable and tree-shakable
261
- - Add `@rollup/plugin-babel` to add /*#__PURE__*/ prefix to `React.forwardRef` which is required for tree-shaking
262
- - Add CSS files for Normalize, Reset, Colours and Utility to move static styles out of JS. Injecting to head tag using `rollup-plugin-styles`
263
- - Programmatically generate Colours.styled.tsx classes (To be added to build flow soon)
330
+
331
+ - Replace lodash with lodash-es for tree shaking
332
+ - Bump rollup to 2.52.7
333
+ - Replace `prism-react-renderer` and `prismjs` with `react-syntax-highlighter` which is more customizable and tree-shakable
334
+ - Add `@rollup/plugin-babel` to add /_#**PURE**_/ prefix to `React.forwardRef` which is required for tree-shaking
335
+ - Add CSS files for Normalize, Reset, Colours and Utility to move static styles out of JS. Injecting to head tag using `rollup-plugin-styles`
336
+ - Programmatically generate Colours.styled.tsx classes (To be added to build flow soon)
264
337
 
265
338
  ### 0.32.14
266
- - Fix crash in tabs component
339
+
340
+ - Fix crash in tabs component
267
341
 
268
342
  ### 0.32.13
269
- - Simplify TablePagination component (breaking)
343
+
344
+ - Simplify TablePagination component (breaking)
270
345
 
271
346
  ### 0.32.10
272
- - Add TablePagination component
347
+
348
+ - Add TablePagination component
273
349
 
274
350
  ### 0.32.9
275
- - Fix `InfoPanel` close button fixed position bug
351
+
352
+ - Fix `InfoPanel` close button fixed position bug
276
353
 
277
354
  ### 0.32.7
278
- - Cap `sidePadding` and `sideMargin` for `Row` and `HRule` in ultra-wide res displays above 2400px
355
+
356
+ - Cap `sidePadding` and `sideMargin` for `Row` and `HRule` in ultra-wide res displays above 2400px
279
357
 
280
358
  ### 0.32.5
281
- - Add @emotion/is-prop-valid as an optional dependency
359
+
360
+ - Add @emotion/is-prop-valid as an optional dependency
282
361
 
283
362
  ### 0.32.3
284
- - Add ability to set Sidebar logo width via the theme
363
+
364
+ - Add ability to set Sidebar logo width via the theme
285
365
 
286
366
  ### 0.32.1
287
- - Add Tabs component
367
+
368
+ - Add Tabs component
288
369
 
289
370
  ### 0.31.22
290
- - Remove opinionated `ul`, `ol`, and `li` styles
371
+
372
+ - Remove opinionated `ul`, `ol`, and `li` styles
291
373
 
292
374
  ### 0.31.21
293
- - Add opinionated version of Normalize.css
375
+
376
+ - Add opinionated version of Normalize.css
294
377
 
295
378
  ### 0.31.20
296
- - Remove Normalize.css
379
+
380
+ - Remove Normalize.css
297
381
 
298
382
  ### 0.31.19
299
- - Add theme variables for `RadioButton`, `CheckBox` and `ToggleSwitch`
383
+
384
+ - Add theme variables for `RadioButton`, `CheckBox` and `ToggleSwitch`
300
385
 
301
386
  ### 0.31.18
302
- - Upgrade to React 17.0.1
303
- - Tweak colour and font family for other input elements
387
+
388
+ - Upgrade to React 17.0.1
389
+ - Tweak colour and font family for other input elements
304
390
 
305
391
  ### 0.31.17
306
- - Change `fontFamily` to `font` for `Badge` component
307
- - Fix font fallback styling inconsistency for labels, tables, and links
392
+
393
+ - Change `fontFamily` to `font` for `Badge` component
394
+ - Fix font fallback styling inconsistency for labels, tables, and links
308
395
 
309
396
  ### 0.31.16
310
- - Rework Notification component
397
+
398
+ - Rework Notification component
311
399
 
312
400
  ### 0.31.15
313
- - Fix `bg` of `SidebarWrapper`
401
+
402
+ - Fix `bg` of `SidebarWrapper`
314
403
 
315
404
  ### 0.31.13
316
- - Add `size` property for `SidebarItemIcon` to be picked from theme file
405
+
406
+ - Add `size` property for `SidebarItemIcon` to be picked from theme file
317
407
 
318
408
  ### 0.31.12
319
- - Add `font-family` to tables, and inherit from body font
409
+
410
+ - Add `font-family` to tables, and inherit from body font
320
411
 
321
412
  ### 0.31.11
322
- - Remove improper colour override for dark sidebar theme
413
+
414
+ - Remove improper colour override for dark sidebar theme
323
415
 
324
416
  ### 0.31.10
325
- - Move React & styled-components to peerDependencies
417
+
418
+ - Move React & styled-components to peerDependencies
326
419
 
327
420
  ### 0.31.8
328
- - Switch to useState & useEffect for merging theme
421
+
422
+ - Switch to useState & useEffect for merging theme
329
423
 
330
424
  ### 0.31.7
331
- - Fix BottomDrawer theme issue for setting `borderRadius`
425
+
426
+ - Fix BottomDrawer theme issue for setting `borderRadius`
332
427
 
333
428
  ### 0.31.6
334
- - Fix broken builds (0.31.2 - 0.31.5)
429
+
430
+ - Fix broken builds (0.31.2 - 0.31.5)
335
431
 
336
432
  ### 0.31.2
337
- - Set ThemeType to recursive optional typeof RFTheme
433
+
434
+ - Set ThemeType to recursive optional typeof RFTheme
338
435
 
339
436
  ### 0.31.1
340
- - Export `StaticGlobalStyles`
437
+
438
+ - Export `StaticGlobalStyles`
341
439
 
342
440
  ### 0.31.0
343
- - Add support for passing `refs`
441
+
442
+ - Add support for passing `refs`
344
443
 
345
444
  ### 0.30.14
346
- - Upgrade `styled-components` from `5.0.1` to `5.1.1` for Jest reasons
445
+
446
+ - Upgrade `styled-components` from `5.0.1` to `5.1.1` for Jest reasons
347
447
 
348
448
  ### 0.30.13
349
- - Add `tertiary` button
449
+
450
+ - Add `tertiary` button
350
451
 
351
452
  ### 0.30.12
352
- - Add `transparent` as a `defaultColour`
453
+
454
+ - Add `transparent` as a `defaultColour`
353
455
 
354
456
  ### 0.30.11
355
- - Fix incorrect centering rule
457
+
458
+ - Fix incorrect centering rule
356
459
 
357
460
  ### 0.30.10
358
- - Make `borderRadius` themeable for cards and input fields
461
+
462
+ - Make `borderRadius` themeable for cards and input fields
359
463
 
360
464
  ### 0.30.9
361
- - Rename `baseColors` to `defaultColours`, and `mainColors` to `customColours`
465
+
466
+ - Rename `baseColors` to `defaultColours`, and `mainColors` to `customColours`
362
467
 
363
468
  ### 0.30.8
364
- - Memoize theme prop in ThemeProvider
469
+
470
+ - Memoize theme prop in ThemeProvider
365
471
 
366
472
  ### v0.30.7
367
- - Add missing props for theming some elements
473
+
474
+ - Add missing props for theming some elements
368
475
 
369
476
  ### v0.30.6
370
- - Add merge to reduce size of custom overrides
477
+
478
+ - Add merge to reduce size of custom overrides
371
479
 
372
480
  ### v0.30.5
373
- - Fix `a` tag hover colour bug
481
+
482
+ - Fix `a` tag hover colour bug
374
483
 
375
484
  ### v0.30.4
376
- - Fix type bug that wouldn’t let `paras` inherit `font-family`
485
+
486
+ - Fix type bug that wouldn’t let `paras` inherit `font-family`
377
487
 
378
488
  ### v0.30.3
379
- - Fix lodash `merge` speed issue
489
+
490
+ - Fix lodash `merge` speed issue
380
491
 
381
492
  ### v0.30.0
382
- - Remove static CSS classes from `GlobalStyles`
493
+
494
+ - Remove static CSS classes from `GlobalStyles`
383
495
 
384
496
  ### v0.29.3
385
- - Rename `Textarea` to `TextArea`
497
+
498
+ - Rename `Textarea` to `TextArea`
386
499
 
387
500
  ### v0.29.2
388
- - Add media queries for `InfoPanel` below `1200px` to handle `width` prop
501
+
502
+ - Add media queries for `InfoPanel` below `1200px` to handle `width` prop
389
503
 
390
504
  ### v0.29.1
391
- - Add `primary`, `secondary`, and `tertiary` props for the `HRule` element
505
+
506
+ - Add `primary`, `secondary`, and `tertiary` props for the `HRule` element
392
507
 
393
508
  ### v0.29.0
394
- - Add `bgColour`, `textColour`, `borderColour`, `strokeColour` and `fillColour` props with British English
509
+
510
+ - Add `bgColour`, `textColour`, `borderColour`, `strokeColour` and `fillColour` props with British English
395
511
 
396
512
  ### v0.28.7
397
- - Add `spring`, `brick` and `sienna` colour values
513
+
514
+ - Add `spring`, `brick` and `sienna` colour values
398
515
 
399
516
  ### v0.28.5
400
- - Fix `FormItem` margin bottom bug inside `FormItemGroup`
517
+
518
+ - Fix `FormItem` margin bottom bug inside `FormItemGroup`
401
519
 
402
520
  ### v0.28.4
403
- - Add `nano` and `micro` sizing for Text
521
+
522
+ - Add `nano` and `micro` sizing for Text
404
523
 
405
524
  ### v0.28.3
406
- - Tweak links theme styling
407
- - `links.default.text` is now `links.default.color`
408
- - `links.onHover.text` is now `links.onHover.color`
525
+
526
+ - Tweak links theme styling
527
+ - `links.default.text` is now `links.default.color`
528
+ - `links.onHover.text` is now `links.onHover.color`
409
529
 
410
530
  ### v0.28.2
411
- - Fix Textarea styling bug
412
- - Add `nano` and `micro` text sizes
413
- - Text theme tweaks
414
- - `size` object deprecated
415
- - `size.default` is now `paras.size`
416
- - `size.multiplier` is now `headings.multiplier`
417
531
 
532
+ - Fix Textarea styling bug
533
+ - Add `nano` and `micro` text sizes
534
+ - Text theme tweaks
535
+ - `size` object deprecated
536
+ - `size.default` is now `paras.size`
537
+ - `size.multiplier` is now `headings.multiplier`
418
538
 
419
539
  ### v0.27.0
420
- - Add props for ProgressBar to display a label and value
421
540
 
541
+ - Add props for ProgressBar to display a label and value
422
542
 
423
543
  ### v0.23.8
424
- - Remove all SCSS files
425
- - Remove unused svg icon
426
- - Move `theme` to `styles` folder
427
544
 
545
+ - Remove all SCSS files
546
+ - Remove unused svg icon
547
+ - Move `theme` to `styles` folder
428
548
 
429
549
  ### v0.23.7
430
- - Use relative path everywhere
431
550
 
551
+ - Use relative path everywhere
432
552
 
433
553
  ### v0.23.6
434
- - Generate typings
435
554
 
555
+ - Generate typings
436
556
 
437
557
  ### v0.23.5
438
- - Upgrade all packages
439
558
 
559
+ - Upgrade all packages
440
560
 
441
561
  ### v0.21.2
442
- - Update styled components
443
- - Remove unused component `EventHandler`
444
- - Fix rollup dependencies
445
562
 
563
+ - Update styled components
564
+ - Remove unused component `EventHandler`
565
+ - Fix rollup dependencies
446
566
 
447
567
  ### v0.21.1
448
- - Add `onCloseButtonClick` prop in `NotificationItem`
449
568
 
569
+ - Add `onCloseButtonClick` prop in `NotificationItem`
450
570
 
451
571
  ### v0.21.0
452
- - Code cleanup
572
+
573
+ - Code cleanup