fictoan-react 0.41.18 → 0.41.21

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