@simplybusiness/mobius 4.0.0-beta.5 → 4.0.0-beta.6

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 (2) hide show
  1. package/CHANGELOG.md +437 -0
  2. package/package.json +3 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,437 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file, or link in [archives](#archived).
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## Unreleased
9
+
10
+ ### Added
11
+
12
+ - `useBreakPoint` hook supports initialisation with custom breakpoints array.
13
+
14
+ ## [4.0.0-beta.3] - 2023-11-09
15
+
16
+ ### Added
17
+
18
+ - Added optional `onOpen` and `onClose` props to `<Accordion>`, which triggers a callback. Replaces the previous `onClick` event.
19
+
20
+ ### Changed
21
+
22
+ - Changed all `React.SyntheticEvent` callback types to `HTMLElementEvent`, which includes a type definition for `e.target.value` and prevents TypeScript complaints in consuming apps.
23
+
24
+ ## [4.0.0-beta.1] - 2023-11-07
25
+
26
+ ### Added
27
+
28
+ - Add optional `onChange` prop to `<MaskedField>`, which provides the entire change event object
29
+
30
+ ### Changed
31
+
32
+ - Removed invalid `aria-describedby` attribute on `Select`
33
+ - Removed `@react-aria/textfield` library from `TextArea`
34
+ - Removed `@react-aria/textfield` library from `TextField`
35
+ - Removed `@react-aria/breadcrumbs` library
36
+ - Removed `@react-aria/link` library
37
+ - Removed `@react-aria/separator` library
38
+ - Updated `Select` to use `useLabel` from Mobius
39
+ - Make `<Icon>` lighter: remove `name` prop. Use `icon` prop instead
40
+ - Make `<Accordion>` 18% lighter by replacing `react-animate-height` dependency with native animation. Other changes: 1) Prevent animation when `startOpen` value changes; 2) Attach `--is-open` class to icon and other components to make it easier to style; 3) Animate icon by default; 4) Remove `show` and `hide` classes in favour of `--is-open` when `<Accordion>` is expanded. This is to prevent accidental side-effects from generic CSS classes.
41
+ - Move `<MaskedField>` to `@simplybusiness/chopin` package since it is Chopin specific
42
+
43
+ ## [4.0.0-alpha.0] - 2023-10-23
44
+
45
+ ### Changed
46
+
47
+ - Make `<Button>` lighter: 1) remove use of `useHover()` and `useFocusRing()` hooks to reduce component size; 2) remove `--is-hovered`, `--is-focus-visible`, `--has-icon`, `hide-children` classes. Replace `--is-hovered` and `--is-focus-visible` with `:hover` and `:focus-visible` selectors; 3) remove `<Icon>` component use inside `<Button>`; add `icon` and `iconPosition` prop deprecation warning in button
48
+ - Removed `useHover` and `useFocusFing` hooks from `TextField`
49
+ - Removed `useHover` and `useFocusFing` hooks from `TextArea`
50
+ - Make `<Select>` lighter: 1) remove use of `useHover()` and `useFocusRing()` hooks to reduce component size; 2) remove `--is-hovered`, `--is-focus-visible` classes. Replace with `:hover` and `:focus-visible` selectors. Replace `onChange` event value to return the entire default event, instead of `event.target.value`, which can be limiting in some use cases.
51
+ - Removed react-modal dependency to put Modal atom on a diet, using the new HTML Dialog element. Note that some props are deprecated: (`appElement`, `preventCloseOnEsc`, `shouldFocusAfterRender`, `parentSelector` and `mobius/ModalOverlay.--is-closing`)
52
+ - Make `<Radio>` and `<RadioButton>` lighter: 1) remove use of `useHover()` and `useFocusRing()` hooks to reduce component size; 2) remove `--is-hovered`, `--is-focus-visible` classes. Replace with `:hover` and `:focus-visible` selectors; 3) Replace `onChange` event value to return the entire default event, instead of `event.target.value`, which can be limiting in some use cases; 4) the following CSS variables have been removed in favour of native CSS `::after` element styling on `<Radio>` and `<RadioButton>`: `--bullet-width`, `--bullet-empty`, `--bullet-hover`, `--bullet-disabled`, `--bullet-disabled-selected`, `--bullet-valid`, `--bullet-valid-selected`, `--bullet-selected`, `--bullet-selected-hover`, `--bullet-invalid`, `--bullet-invalid-selected`; 5) remove `circular` prop and styles. Following design refresh in Chopin, this style is no longer used; 6) `<RadioButton>` now mostly uses `<Radio>` CSS classes due to underlying implementation being shared; 7) Controlled value support has been removed in order to only support existing use cases.
53
+ - Make `<Checkbox>` and `<CheckboxGroup>` lighter: 1) remove use of `useHover()`, `useFocusRing()`, `useCheckboxGroup()`, `useCheckboxGroupState()` hooks to reduce component size; 2) remove `--is-hovered`, `--is-focus-visible` classes. Replace with `:hover` and `:focus-visible` selectors; 3) Replace `onChange` event value to return the entire default event for `<Checkbox>`, instead of `event.target.value`, which can be limiting in some use cases; 4) the following CSS variables have been removed in favour of native CSS `::after` element styling on `<Checkbox>`: `--checkbox-empty`, `--checkbox-empty-hover`, `--checkbox-valid`, `--checkbox-invalid`, `--checkbox-indeterminate`, `--checkbox-indeterminate-valid`, `--checkbox-indeterminate-invalid`. To replace the icon use `--checkbox` and target background colour in order to amend styles based on state; 5) remove unused `indeterminate` prop and styles to reduce complexity that needs ongoing maintenance; 6) `<CheckboxItem>` and `<CheckboxGroupitem>` now use a single `<Checkbox>` instead; 7) `<CheckboxContext>` in favour of `<CheckboxGroup>` passing relevant props to children; 8) Controlled value support has been removed in order to only support existing use cases.
54
+ - `Progress` no longer relies on React-aria as a dependency.
55
+ - `Slider` no longer relies on React-aria as a dependency.
56
+ - `Fieldset` no longer relies on React-aria as a dependency.
57
+ - `NumberField` no longer relies on React-aria as a dependency. It no longer supports formatOptions, though we expect to add that back before release.
58
+ - Remove `icons` from `ThemeContext`; icons should be imported at application level, rather than set in Context. This is a breaking change, and Storybook no longer shows custom icons when changing theme.
59
+ - Chopin package no longer relies on React-aria as a dependency.
60
+ - Removed sb-legacy theme
61
+
62
+ ## [3.12.2] - 2023-09-27
63
+
64
+ ### Added
65
+
66
+ - Add `onChange` to `<Accordion>` to inform user when component is expanded/collapsed (true/false)
67
+
68
+ ## [3.12.1] - 2023-09-27
69
+
70
+ ### Fixed
71
+
72
+ - Fix `startOpen` prop in `<Accordion>`. Changing the prop doesn't update the internal state of the component. For example, if initial state is `true`, which then changes to `false`, the component remains in initial state.
73
+ - Fix `<Accordion>` toggle not rendering `aria-expanded` attribute
74
+
75
+ ## [3.12.0] - 2023-09-25
76
+
77
+ ### Added
78
+
79
+ - Add `headerChildren` prop to `<Accordion>` in order to enable additional content to be added in the header part of the component.
80
+
81
+ ## [3.11.0] - 2023-09-14
82
+
83
+ ### Removed
84
+
85
+ - Removed DataTable atom, which is unused in any application and adds heavy dependencies from `react-table` to the core library
86
+
87
+ ### Changed
88
+
89
+ - Moved all Chopin components into their own package, now available under `@simplybusiness/mobius-chopin`. Previous Chopin component imports - `import { Chopin } from "@simplybusiness/mobius"`. For example `<Chopin.TradeSelector />` would have to be imported as `import { TradeSelector } from "@simplybusiness/mobius-chopin";`. The motivation behind this change is to reduce the weight of Mobius imports.
90
+ - Moved `<DatePicker>` component into its own package. Any `import { DatePicker } from "@simplybusiness/mobius"` would have to be changed to `import { DatePicker } from "@simplybusiness/mobius-datepicker";`. The motivation behind this change is to reduce the weight of Mobius imports.
91
+
92
+ ## [3.10.0] - 2023-08-20
93
+
94
+ ### Changed
95
+
96
+ - Migrated all icons to [FontAwesome Sharp Regular](https://fontawesome.com/search?o=r&s=regular&f=sharp) equivalents. This was a design decision to make it easier to have uniform looking icons, and also so we have a larger pool of icons to choose from.
97
+ - Updated Icon component to better support FontAwesome icons
98
+
99
+ ## [3.9.4] - 2023-08-17
100
+
101
+ ### Added
102
+
103
+ - Add docs for `<NumberField>` `formatOptions` prop with example
104
+ - Exclude tests and stories from ESM build
105
+
106
+ ## [3.9.3] - 2023-08-17
107
+
108
+ ### Added
109
+
110
+ - Added explicit types export to mobius package.json
111
+
112
+ ## [3.9.0] - 2023-08-14
113
+
114
+ ### Changed
115
+
116
+ - Upgrade Storybook from 6.5.13 to 7.2.1
117
+
118
+ ### Fixed
119
+
120
+ - Add missing `<Checkbox>` `label` prop type. Storybook entry for the component contains JSX element as prop value. This fix adds the missing type
121
+
122
+ - Fix an issue where `gap` prop is ignored in `<Grid>`. This mostly affects examples where both `gap` and `rowGap` / `columnGap` values are provided. If `gap` has a value and `rowGap` / `columnGap` have `undefined`, the combined result will be `undefined` for `gap`. This is similar issue to `<Flex>` that's been recently fixed
123
+
124
+ ## [3.8.0] - 2023-08-01
125
+
126
+ ### Added
127
+
128
+ - Added custom `useBodyScrollLock` hook to prevent scrolling of body when modal is open
129
+
130
+ ## [3.7.0] - 2023-07-31
131
+
132
+ ### Added
133
+
134
+ - New simpler `useButton` hook implemenation, to work correctly with
135
+ shadow DOM
136
+
137
+ ## [3.6.2] - 2023-07-26
138
+
139
+ ### Fixed
140
+
141
+ - Fix missing `:focus-visible` state for `<Button variant="basic">`
142
+
143
+ ## [3.6.1] - 2023-07-26
144
+
145
+ ### Fixed
146
+
147
+ - Add `:focus-visible` default styles alongisde programatically added `--is-focus-visible`, `--is-focused` CSS class names. This is to address an issue where no styles display when using keyboard navigation in ShadowDOM.
148
+ - Fix previewing `@simplybusiness/icons` in Storybook. When an icon isn't published, Storybook only displays icons from an installed package as opposed to locally available set of icons.
149
+
150
+ ## [3.6.0] - 2023-07-20
151
+
152
+ ### Changed
153
+
154
+ - Remove Emotion in favour of plain CSS. Emotion isn't deeply integrated in Mobius and it presents issues when embedding Mobius containing apps in ShadowDOM.
155
+
156
+ ### Fixed
157
+
158
+ - Fix `<Icon>` not adhering to provided styles in `<Alert>` and `<StepItem>`. Also, fix `<Icon>` 'Spinning' variant not spinning.
159
+
160
+ ### Added
161
+
162
+ - Add `Modal` `size` prop docs. Currently only `fullscreen` is documented. A user may assume that default sizing is provided out of the box. However, only a CSS class name is applied and user has to add their own styles. Documenting for clarity.
163
+
164
+ ## [3.5.1] - 2023-07-07
165
+
166
+ ### Fixed
167
+
168
+ - Fix an issue where `gap` prop is ignored in `<Flex>`
169
+
170
+ ## [3.5.0] - 2023-04-28
171
+
172
+ ### Added
173
+
174
+ - `MaskedField` atom, to be used for formatting user input based on available input formatters - SSN (Social Security Number) or FEIN (Federal Employer Identification Number).
175
+ - `watch` script for running build task automatically when developing Mobius
176
+ - "use client" at the root level, for React server component compatibility
177
+
178
+ ### Changed
179
+
180
+ - Removed Emotion jsx import source.
181
+
182
+ ### Fixed
183
+
184
+ - Checkbox only shows a focus ring around the box icon, rather than the entire label.
185
+
186
+ ## [3.4.4] - 2023-03-28
187
+
188
+ ### Added
189
+
190
+ - Allow `data-cy` as prop to `<TradeSelector>`. This is to allow for easier Cypress testing. Currently, component has to be wrapped with a div that has `data-cy` attribute. However, since `<Question>` expects direct children to handle `errorMessage` and `validationState`, spreading all props is not an option.
191
+
192
+ ### Fixed
193
+
194
+ - Fix an issue where `<QuestionHelp>` `onChange` handler is called twice on render. It should only be invoked when help text button is pressed
195
+
196
+ ## [3.4.3] - 2023-03-28
197
+
198
+ ### Changed
199
+
200
+ - Updated Turbo to 1.8.5
201
+ - Updated Storybook tasks to utilise Turbo cache
202
+
203
+ ### Added
204
+
205
+ - Added missing secondary colour variable to On The Tools (ott) partner theme.
206
+
207
+ ## [3.4.2] - 2023-03-27
208
+
209
+ ### Added
210
+
211
+ - Add onChange prop to `<Question>` for when help text is shown/hidden. This is to enable Snowplow analytics events to be attached
212
+
213
+ ## [3.4.1] - 2023-03-23
214
+
215
+ ### Fixed
216
+
217
+ - Fix an issue where disabled button ghost variant would change colour on click
218
+ - Replace 301 Moved Permanently with 307 Temporary Redirect for homepage
219
+
220
+ ## [3.4.0] - 2023-03-06
221
+
222
+ ### Added
223
+
224
+ - Add support for `vertical` and `searchScope` properties on `TradeSelector`.
225
+ - Add basic implementation of Trade Selector 2, which does not depend on heavy libraries
226
+ - Update README with suggestion for testing Mobius impact in project
227
+ - Add Trade Selector 2 CSS styles
228
+ - Enable selecting and editing a trade in Trade Selector 2
229
+ - Add missing features to Trade Selector 2: call real API, show loading/error/empty state, add aria labels, onTradeSelected prop
230
+ - Add unit tests for Trade Selector 2
231
+ - Trade Selector: on Enter, select first trade from the list
232
+
233
+ ### Changed
234
+
235
+ - To improve code readability and maintainability in Trade Selector 2: split component state between parent component and Search Results component; extract trade fetching into its own hook; extract header into its own component; move labels into the config helper in order to colocate configuration related parameters
236
+ - Remove Trade Selector; rename Trade Selector 2 to Trade Selector
237
+
238
+ ### Fixed
239
+
240
+ - Fixed an issue in Trade Selector 2 where 'View all trades' link may appear when minimum input threshold is met
241
+
242
+ ## [3.3.2] - 2023-02-07
243
+
244
+ ### Fixed
245
+
246
+ - PasswordField did not reveal text after clicking 'show'
247
+
248
+ ## [3.3.1] - 2023-01-24
249
+
250
+ ### Changed
251
+
252
+ - Change selected trade from TradeProps to string in Trade Selector. When loading Trade Selector where trade is already known, string value is sufficient to display the chosen trade. Example use case: Chopin API, which retains trade value as a string
253
+
254
+ ## [3.3.0] - 2023-01-23
255
+
256
+ ### Added
257
+
258
+ - Add ability to have selected trade on initial render in Trade Selector
259
+
260
+ ## [3.2.3] - 2023-01-11
261
+
262
+ ### Changed
263
+
264
+ - Change `<Chopin.Actions />` to render as buttons by default. Previously, in order to render actions as buttons we would have to provide `elementType` prop, but that still required for `href` to be present. Now, with `href` provided, a `<LinkButton>` will show, otherwise `<Button>` will show
265
+
266
+ ### Fixed
267
+
268
+ - Fixed `<Button />` default transition during page load by specifying only the properties that we want transitioning. This fixes an issue where conditionally added padding scales button in size in an inelegant way.
269
+
270
+ ## [3.2.2] - 2023-01-06
271
+
272
+ ### Fixed
273
+
274
+ - Fixed `onClick` type for `<LinkButton>`, so that it always expects default event
275
+
276
+ ## [3.2.0] - 2023-01-04
277
+
278
+ ### Changed
279
+
280
+ - Allow providing a `ReactNode` as the `errorMessage` prop for `Question`
281
+
282
+ ### Fixed
283
+
284
+ - Fixed typo in `<Chopin.Actions />` docs
285
+ - Fixed `<Chopin.Actions />` back button styles when disabled
286
+
287
+ ## [3.1.3] - 2022-12-19
288
+
289
+ ### Fixed
290
+
291
+ - Prevent `isSelected` prop from being applied as DOM attribute on `<Checkbox>`
292
+
293
+ ### Added
294
+
295
+ - Added docs for controlling state of individual and group `<Checkbox>`, `<Radio>`, `<RadioButton>` components
296
+
297
+ ## [3.1.2] - 2022-12-14
298
+
299
+ ### Added
300
+
301
+ - Added default spacing between `<Question>` components
302
+ - Added `closeHelpOnOutsideClick` to `<Question>` to make closing of help text on outside click behaviour optional.
303
+
304
+ ### Changed
305
+
306
+ - Changed default `<Question>` width to take up 100% of container width
307
+ - Changed default `<Question>` help text styles to always display inline. This is to match current behaviour in Chopin.
308
+
309
+ ## [3.1.1] - 2022-11-30
310
+
311
+ ### Added
312
+
313
+ - Make `<DatePicker>` component available
314
+
315
+ ### Changed
316
+
317
+ - Render `<Question>` label as `<span>` when no child components provided. This is to accommodate for `renderAs: "info"` in Chopin-next
318
+
319
+ ## [3.1.0] - 2022-11-24
320
+
321
+ ### Changed
322
+
323
+ - Refactored props in `Chopin.Actions` molecule to only require back/next labels and respective `LinkButton` props; this allows users to assign any link or button attributes to buttons, e.g. disabled state.
324
+
325
+ ## [3.0.0] - 2022-11-23
326
+
327
+ ### Breaking Changes
328
+
329
+ #### Imports
330
+
331
+ Mobius imports have changed to become clearer, shorter and more consistent. We recommend uninstalling old imports before importing V3 libraries (lock files will be cleaner):
332
+
333
+ ```javascript
334
+ import { Container } from "@simplybusiness/mobius";
335
+ import "@simplybusiness/theme-sb";
336
+ ```
337
+
338
+ - `mobius-core` is now simply `mobius`
339
+ - Themes are all named `theme-{partner}`
340
+ - Some themes expose extra components, e.g. breakpoint maps and custom icons. e.g.
341
+
342
+ ```javascript
343
+ import { tick } from "@simplybusiness/theme-ott/icons";
344
+ ```
345
+
346
+ Additionally, mobius and themes are available on the public NPM registry and can be used in code sandboxes withount needing an `.npmrc` file.
347
+
348
+ #### "is" prefix on Input props
349
+
350
+ - Change `<Button />` props: `disabled` -> `isDisabled`, `success` -> `isSuccess`, `loading` -> `isLoading`
351
+ - Change `<Checkbox />`, `<CheckboxGroupContext />`, `<CheckboxItem />`, `<CheckboxGroup />`, `<CheckboxGroupItem />` props: `disabled` -> `isDisabled`, `indeterminate` -> `isIndeterminate`, `selected` -> `isSelected`
352
+ - Change `<Link />`, `<LinkButton />` props: `disabled` -> `isDisabled`, `success` -> `isSuccess`, `loading` -> `isLoading`
353
+ - Change `<NumberField />` `disabled` prop to `isDisabled`
354
+ - Change `<NumberFieldButton />` `disabled` prop to `isDisabled`
355
+ - Change `<PasswordField />`, `<TextField />` `disabled` prop to `isDisabled`
356
+ - Change `<Radio />`, `<RadioButton />`, `<RadioGroup />`, `<RadioContext />` `disabled` prop to `isDisabled`
357
+ - Change `<Select />`, `<Option />` `disabled` prop to `isDisabled`
358
+ - Change `<Slider />` `disabled` prop to `isDisabled`
359
+ - Change `<TextArea />`, `disabled` prop to `isDisabled`
360
+ - Change `<Modal>` `open` prop to `isOpen`
361
+ - Change `<DataTable />` `sortable` prop to `isSortable`
362
+ - Change `<List />` props: `ordered` -> `isOrdered`, `reversed` -> `isReversed`
363
+
364
+ ### Added
365
+
366
+ - Handle beta releases more elegantly. New `premajor` and `preminor` scripts adjust the version before appending `-beta.X`, do not update release docs and prompt for confirmation before committing and tagging. Tags are set as `beta` rather than
367
+ `latest` and beta packages are only published to Nexus.
368
+ - Add 'All themes' documentation page to Storybook
369
+ - Add `icons` prop to `<ThemeProvider />` to optionally load partner icon customisations.
370
+ - `<Select />`: apply `aria-required` attribute when `isRequired` is set
371
+ - Add spacing beneath `<TradeSelector />` to make it consistent with other form fields
372
+ - Add `hideLabel` prop to `<TradeSelector />` to optionally hide label
373
+ - Add optional description, placeholder labels to `<TradeSelector />`
374
+
375
+ ### Changed
376
+
377
+ - Update `<Select />` code examples to include first disabled option
378
+ - Remove setting partner styles in `<ThemeProvider />` via `styles` prop. Guide users to import partner styles at the root level
379
+ - `Question` and `QuestionGroup` handle responsive layout for mobile and desktop breakpoints (where 'desktop' is `md` or larger). They no longer use `size` props.
380
+ - Added percent format to `PercentageTotalsQuestion` inputs
381
+ - `DatePicker` styling in `sb2` theme
382
+ - Rename `@simplybusiness/mobius-theme-simplybusiness` theme to `@simplybusiness/theme-sb-legacy`. This is to make theme name consistent with other theme names. Also, the rename will clearly differentiate between the new `sb` theme
383
+ - Rename `@simplybusiness/theme-sb2` to `@simplybusiness/theme-sb` simplify theme naming across the board
384
+ - Use `sb` theme as base for `chopin`, `sb-legacy` and `ott` themes; remove duplicate code
385
+ - Consolidate CSS variables across all themes; remove redundant SCSS modules and CSS properties as a result
386
+ - Reduce unique `chopin` theme file count by extending from `sb-legacy` theme
387
+ - Update colour palettes for all themes by only retaining colours used
388
+ - Swap primary and secondary colours in `chopin` and `sb-legacy` themes in order to reflect real-life usage
389
+
390
+ ### Fixed
391
+
392
+ - Fix `<Checkbox />` Storybook entry where user is unable to toggle. This is due to incorrectly set initial value.
393
+ - Fix `<NumberField />` standalone input styles; also when used inside `<PercentageTotalsQuestion />` in `sb2` theme
394
+ - Fix `<DatePicker />` input color to match other input fields in `sb2` theme
395
+ - Address color TODOs for `simplybusiness` and `chopin` themes
396
+ - Fix `<TextField />` `type` attribute by defining available options
397
+ - Fix number formatting on blur on `<NumberField />`
398
+ - Prevent `defaultSelected` prop from spilling onto `<Checkbox />` DOM attributes
399
+ - Fixed `<Label />` validation CSS. Now valid and invalid states apply across components
400
+
401
+ ## Github Links
402
+
403
+ [3.12.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.12.2
404
+ [3.12.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.12.1
405
+ [3.12.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.12.0
406
+ [3.11.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.11.0
407
+ [3.10.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.10.0
408
+ [3.9.4]: https://github.com/simplybusiness/mobius/releases/tag/v3.9.4
409
+ [3.9.3]: https://github.com/simplybusiness/mobius/releases/tag/v3.9.3
410
+ [3.9.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.9.0
411
+ [3.8.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.8.0
412
+ [3.7.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.7.0
413
+ [3.6.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.2
414
+ [3.6.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.1
415
+ [3.6.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.0
416
+ [3.5.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.5.1
417
+ [3.5.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.5.0
418
+ [3.4.4]: https://github.com/simplybusiness/mobius/releases/tag/v3.4.4
419
+ [3.4.3]: https://github.com/simplybusiness/mobius/releases/tag/v3.4.3
420
+ [3.4.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.4.2
421
+ [3.4.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.4.1
422
+ [3.4.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.4.0
423
+ [3.3.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.3.2
424
+ [3.3.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.3.1
425
+ [3.3.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.3.0
426
+ [3.2.3]: https://github.com/simplybusiness/mobius/releases/tag/v3.2.3
427
+ [3.2.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.2.2
428
+ [3.2.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.2.0
429
+ [3.1.3]: https://github.com/simplybusiness/mobius/releases/tag/v3.1.3
430
+ [3.1.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.1.2
431
+ [3.1.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.1.1
432
+ [3.1.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.1.0
433
+ [3.0.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.0.0
434
+
435
+ ## Archived
436
+
437
+ [Version 2 Changelog](./CHANGELOG-v2.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplybusiness/mobius",
3
3
  "license": "UNLICENSED",
4
- "version": "4.0.0-beta.5",
4
+ "version": "4.0.0-beta.6",
5
5
  "description": "Core library of Mobius react components",
6
6
  "repository": {
7
7
  "type": "git",
@@ -26,7 +26,6 @@
26
26
  },
27
27
  "scripts": {
28
28
  "build": "yarn run -T turbo run turbo:build",
29
- "prepack": "yarn run build",
30
29
  "build:cjs": "tsc",
31
30
  "build:esm": "tsc -p tsconfig.esm.json",
32
31
  "build:extract-api": "api-extractor run",
@@ -85,7 +84,7 @@
85
84
  "react-dom": "^16.13.1 || ^17.0.1 || ^18.0.0"
86
85
  },
87
86
  "dependencies": {
88
- "@simplybusiness/icons": "workspace:^",
87
+ "@simplybusiness/icons": "^4.0.0-beta.6",
89
88
  "classnames": "^2.3.2",
90
89
  "dialog-polyfill": "^0.5.6",
91
90
  "lodash.debounce": "^4.0.8",
@@ -94,4 +93,4 @@
94
93
  "lint-staged": {
95
94
  "*.{js,ts,jsx,tsx}": "eslint --ext .tsx,.ts,.js,.jsx,.mjs --fix"
96
95
  }
97
- }
96
+ }