@simplybusiness/mobius 5.29.2 → 5.29.4

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 (150) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  3. package/dist/types/src/components/Accordion/Accordion.stories.d.ts +1 -1
  4. package/dist/types/src/components/AddressLookup/AddressLookup.stories.d.ts +1 -1
  5. package/dist/types/src/components/Alert/Alert.stories.d.ts +1 -1
  6. package/dist/types/src/components/Box/Box.stories.d.ts +1 -1
  7. package/dist/types/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
  8. package/dist/types/src/components/Button/Button.stories.d.ts +1 -1
  9. package/dist/types/src/components/Checkbox/Checkbox.stories.d.ts +1 -1
  10. package/dist/types/src/components/Checkbox/CheckboxGroup.stories.d.ts +1 -1
  11. package/dist/types/src/components/Combobox/Combobox.stories.d.ts +1 -1
  12. package/dist/types/src/components/Combobox/types.d.ts +1 -1
  13. package/dist/types/src/components/Container/Container.stories.d.ts +1 -1
  14. package/dist/types/src/components/DateField/DateField.stories.d.ts +1 -1
  15. package/dist/types/src/components/Divider/Divider.stories.d.ts +1 -1
  16. package/dist/types/src/components/Drawer/Drawer.stories.d.ts +1 -1
  17. package/dist/types/src/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  18. package/dist/types/src/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -1
  19. package/dist/types/src/components/Fieldset/Fieldset.stories.d.ts +1 -1
  20. package/dist/types/src/components/Flex/Flex.stories.d.ts +1 -1
  21. package/dist/types/src/components/Grid/Grid.stories.d.ts +1 -1
  22. package/dist/types/src/components/Icon/Icon.stories.d.ts +1 -1
  23. package/dist/types/src/components/Image/Image.stories.d.ts +1 -1
  24. package/dist/types/src/components/Label/Label.stories.d.ts +1 -1
  25. package/dist/types/src/components/Link/Link.stories.d.ts +1 -1
  26. package/dist/types/src/components/LinkButton/LinkButton.stories.d.ts +1 -1
  27. package/dist/types/src/components/List/List.stories.d.ts +1 -1
  28. package/dist/types/src/components/LoadingIndicator/LoadingIndicator.stories.d.ts +1 -1
  29. package/dist/types/src/components/Logo/Logo.stories.d.ts +1 -1
  30. package/dist/types/src/components/Modal/Modal.stories.d.ts +1 -1
  31. package/dist/types/src/components/NumberField/NumberField.stories.d.ts +1 -1
  32. package/dist/types/src/components/PasswordField/PasswordField.stories.d.ts +1 -1
  33. package/dist/types/src/components/Popover/Popover.stories.d.ts +1 -1
  34. package/dist/types/src/components/Progress/Progress.stories.d.ts +1 -1
  35. package/dist/types/src/components/Radio/Radio.stories.d.ts +1 -1
  36. package/dist/types/src/components/SVG/SVG.stories.d.ts +1 -1
  37. package/dist/types/src/components/Segment/Segment.stories.d.ts +1 -1
  38. package/dist/types/src/components/Select/Select.stories.d.ts +1 -1
  39. package/dist/types/src/components/Slider/Slider.stories.d.ts +1 -1
  40. package/dist/types/src/components/Stack/Stack.stories.d.ts +1 -1
  41. package/dist/types/src/components/Switch/Switch.stories.d.ts +1 -1
  42. package/dist/types/src/components/Table/Table.stories.d.ts +1 -1
  43. package/dist/types/src/components/Text/Text.stories.d.ts +1 -1
  44. package/dist/types/src/components/TextArea/TextArea.stories.d.ts +1 -1
  45. package/dist/types/src/components/TextField/TextField.stories.d.ts +1 -1
  46. package/dist/types/src/components/Title/Title.stories.d.ts +1 -1
  47. package/dist/types/src/components/Trust/Trust.stories.d.ts +1 -1
  48. package/dist/types/src/components/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -1
  49. package/dist/types/src/hooks/useBreakpoint/useBreakpoint.stories.d.ts +1 -1
  50. package/package.json +8 -5
  51. package/src/components/Accordion/Accordion.mdx +1 -1
  52. package/src/components/Accordion/Accordion.stories.tsx +1 -1
  53. package/src/components/AddressLookup/AddressLookup.stories.tsx +1 -1
  54. package/src/components/Alert/Alert.mdx +1 -1
  55. package/src/components/Alert/Alert.stories.tsx +1 -1
  56. package/src/components/Box/Box.mdx +1 -1
  57. package/src/components/Box/Box.stories.tsx +1 -1
  58. package/src/components/Breadcrumbs/Breadcrumbs.mdx +1 -1
  59. package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  60. package/src/components/Button/Button.css +0 -11
  61. package/src/components/Button/Button.mdx +1 -1
  62. package/src/components/Button/Button.stories.tsx +1 -1
  63. package/src/components/Checkbox/Checkbox.mdx +1 -1
  64. package/src/components/Checkbox/Checkbox.stories.tsx +1 -1
  65. package/src/components/Checkbox/CheckboxGroup.mdx +1 -1
  66. package/src/components/Checkbox/CheckboxGroup.stories.tsx +1 -1
  67. package/src/components/Combobox/Combobox.css +0 -14
  68. package/src/components/Combobox/Combobox.mdx +1 -1
  69. package/src/components/Combobox/Combobox.stories.tsx +1 -1
  70. package/src/components/Combobox/types.tsx +1 -1
  71. package/src/components/Container/Container.mdx +1 -1
  72. package/src/components/Container/Container.stories.tsx +1 -1
  73. package/src/components/DateField/DateField.mdx +1 -1
  74. package/src/components/DateField/DateField.stories.tsx +1 -1
  75. package/src/components/Divider/Divider.mdx +1 -1
  76. package/src/components/Divider/Divider.stories.tsx +1 -1
  77. package/src/components/Drawer/Drawer.mdx +1 -1
  78. package/src/components/Drawer/Drawer.stories.tsx +1 -1
  79. package/src/components/DropdownMenu/DropdownMenu.css +0 -5
  80. package/src/components/DropdownMenu/DropdownMenu.mdx +1 -1
  81. package/src/components/DropdownMenu/DropdownMenu.stories.tsx +1 -1
  82. package/src/components/ErrorMessage/ErrorMessage.mdx +1 -1
  83. package/src/components/ErrorMessage/ErrorMessage.stories.tsx +1 -1
  84. package/src/components/Fieldset/Fieldset.mdx +1 -1
  85. package/src/components/Fieldset/Fieldset.stories.tsx +1 -1
  86. package/src/components/Flex/Flex.mdx +1 -1
  87. package/src/components/Flex/Flex.stories.tsx +1 -1
  88. package/src/components/Grid/Grid.mdx +1 -1
  89. package/src/components/Grid/Grid.stories.tsx +1 -1
  90. package/src/components/Icon/Icon.mdx +1 -1
  91. package/src/components/Icon/Icon.stories.tsx +1 -1
  92. package/src/components/Image/Image.mdx +1 -1
  93. package/src/components/Image/Image.stories.tsx +1 -1
  94. package/src/components/Label/Label.css +0 -6
  95. package/src/components/Label/Label.mdx +1 -1
  96. package/src/components/Label/Label.stories.tsx +1 -1
  97. package/src/components/Link/Link.mdx +1 -1
  98. package/src/components/Link/Link.stories.tsx +1 -1
  99. package/src/components/LinkButton/LinkButton.mdx +1 -1
  100. package/src/components/LinkButton/LinkButton.stories.tsx +1 -1
  101. package/src/components/List/List.mdx +1 -1
  102. package/src/components/List/List.stories.tsx +1 -1
  103. package/src/components/LoadingIndicator/LoadingIndicator.mdx +1 -1
  104. package/src/components/LoadingIndicator/LoadingIndicator.stories.tsx +1 -1
  105. package/src/components/Logo/Logo.stories.tsx +1 -1
  106. package/src/components/Modal/Modal.css +3 -10
  107. package/src/components/Modal/Modal.mdx +1 -1
  108. package/src/components/Modal/Modal.stories.tsx +1 -1
  109. package/src/components/NumberField/NumberField.css +0 -5
  110. package/src/components/NumberField/NumberField.mdx +1 -1
  111. package/src/components/NumberField/NumberField.stories.tsx +1 -1
  112. package/src/components/PasswordField/PasswordField.mdx +1 -1
  113. package/src/components/PasswordField/PasswordField.stories.tsx +1 -1
  114. package/src/components/Popover/Popover.stories.tsx +1 -1
  115. package/src/components/Progress/Progress.mdx +1 -1
  116. package/src/components/Progress/Progress.stories.tsx +1 -1
  117. package/src/components/Radio/Radio.mdx +1 -1
  118. package/src/components/Radio/Radio.stories.tsx +1 -1
  119. package/src/components/SVG/SVG.mdx +1 -1
  120. package/src/components/SVG/SVG.stories.tsx +1 -1
  121. package/src/components/Segment/Segment.css +0 -5
  122. package/src/components/Segment/Segment.mdx +1 -1
  123. package/src/components/Segment/Segment.stories.tsx +1 -1
  124. package/src/components/Select/Select.css +0 -5
  125. package/src/components/Select/Select.mdx +1 -1
  126. package/src/components/Select/Select.stories.tsx +1 -1
  127. package/src/components/Slider/Slider.css +0 -9
  128. package/src/components/Slider/Slider.mdx +1 -1
  129. package/src/components/Slider/Slider.stories.tsx +1 -1
  130. package/src/components/Stack/Stack.stories.tsx +1 -1
  131. package/src/components/Switch/Switch.css +0 -5
  132. package/src/components/Switch/Switch.stories.tsx +1 -1
  133. package/src/components/Table/Table.css +0 -5
  134. package/src/components/Table/Table.mdx +1 -1
  135. package/src/components/Table/Table.stories.tsx +1 -1
  136. package/src/components/Text/Text.mdx +1 -1
  137. package/src/components/Text/Text.stories.tsx +1 -1
  138. package/src/components/TextArea/TextArea.mdx +1 -1
  139. package/src/components/TextArea/TextArea.stories.tsx +1 -1
  140. package/src/components/TextField/TextField.css +0 -5
  141. package/src/components/TextField/TextField.mdx +1 -1
  142. package/src/components/TextField/TextField.stories.tsx +1 -1
  143. package/src/components/Title/Title.css +0 -5
  144. package/src/components/Title/Title.mdx +1 -1
  145. package/src/components/Title/Title.stories.tsx +1 -1
  146. package/src/components/Trust/Trust.stories.tsx +1 -1
  147. package/src/components/VisuallyHidden/VisuallyHidden.mdx +1 -1
  148. package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +1 -1
  149. package/src/hooks/useBreakpoint/useBreakpoint.mdx +1 -1
  150. package/src/hooks/useBreakpoint/useBreakpoint.stories.tsx +1 -1
@@ -1,4 +1,4 @@
1
- import { ArgTypes, Meta, Story } from "@storybook/blocks";
1
+ import { ArgTypes, Meta, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Drawer } from ".";
3
3
  import * as DrawerStories from "./Drawer.stories";
4
4
  import TestingDocs from "../../../../../.storybook/pages/jestHTMLDialogPolyfillTestingDocs.mdx";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { useState } from "react";
3
3
  import type { DrawerProps } from ".";
4
4
  import { Drawer } from ".";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --dropdown-menu-max-width: 200px;
4
- }
5
-
6
1
  .mobius-dropdown-menu {
7
2
  position: relative;
8
3
  max-width: var(--dropdown-menu-max-width);
@@ -1,5 +1,5 @@
1
1
  import { forwardRef } from "react";
2
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
2
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
3
3
  import { DropdownMenu } from ".";
4
4
  import { Icon } from "../Icon";
5
5
  import * as DropdownMenuStories from "./DropdownMenu.stories";
@@ -1,5 +1,5 @@
1
1
  import { chevronDown } from "@simplybusiness/icons";
2
- import type { Meta, StoryObj } from "@storybook/react";
2
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
3
3
  import classNames from "classnames/dedupe";
4
4
  import type { Ref } from "react";
5
5
  import { forwardRef } from "react";
@@ -1,4 +1,4 @@
1
- import { Meta, Canvas } from "@storybook/blocks";
1
+ import { Meta, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import * as ErrorMessageStories from "./ErrorMessage.stories";
3
3
 
4
4
  <Meta of={ErrorMessageStories} />
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { ErrorMessageProps } from ".";
3
3
  import { ErrorMessage } from ".";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Fieldset } from "./Fieldset";
3
3
  import * as FieldsetStories from "./Fieldset.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import { TextField } from "../TextField";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Flex } from "./Flex";
3
3
  import { Box } from "../Box";
4
4
  import * as FlexStories from "./Flex.stories";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { CSSProperties, ReactNode } from "react";
3
3
  import { Flex } from "./Flex";
4
4
  import { Box } from "../Box";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Grid } from ".";
3
3
  import { Box } from "../Box";
4
4
  import { Flex } from "../Flex";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { ReactNode } from "react";
3
3
  import type { GridItemProps, GridProps } from ".";
4
4
  import { Grid } from ".";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Icon } from "./Icon";
3
3
  import * as IconStories from "./Icon.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import * as baseIcons from "@simplybusiness/icons/src";
3
3
  import { Icon } from "./Icon";
4
4
  import { excludeControls } from "../../utils";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Image } from "./Image";
3
3
  import * as ImageStories from "./Image.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { ImageProps } from "./Image";
3
3
  import { Image } from "./Image";
4
4
 
@@ -1,9 +1,3 @@
1
- :root,
2
- :host {
3
- --label-font-weight: var(--font-weight-bold);
4
- --label-font-variation-settings: normal;
5
- }
6
-
7
1
  .mobius-label {
8
2
  box-sizing: border-box;
9
3
  font-size: var(--font-size-regular);
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Label } from "./Label";
3
3
  import * as LabelStories from "./Label.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { LabelProps } from "./Label";
3
3
  import { Label } from "./Label";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Link } from "./Link";
3
3
  import * as LinkStories from "./Link.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { LinkProps } from "./Link";
3
3
  import { Link } from "./Link";
4
4
  import { excludeControls } from "../../utils";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { LinkButton } from "./LinkButton";
3
3
  import * as LinkButtonStories from "./LinkButton.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { LinkButtonProps } from "./LinkButton";
3
3
  import { LinkButton } from "./LinkButton";
4
4
  import { excludeControls } from "../../utils";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { List, ListItem } from ".";
3
3
  import * as ListStories from "./List.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { cross, tick } from "@simplybusiness/icons";
3
3
  import { Icon, Text } from "../index";
4
4
  import type { ListProps } from ".";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { LoadingIndicator } from "./LoadingIndicator";
3
3
  import * as LoadingIndicatorStories from "./LoadingIndicator.stories";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { home, loading, refreshArrow } from "@simplybusiness/icons";
2
- import type { Meta, StoryObj } from "@storybook/react";
2
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
3
3
  import type { LoadingIndicatorProps } from "./LoadingIndicator";
4
4
  import { LoadingIndicator } from "./LoadingIndicator";
5
5
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { LogoProps } from "..";
3
3
  import { Logo } from "..";
4
4
  import { excludeControls } from "../../utils";
@@ -1,16 +1,9 @@
1
- :root,
2
- :host,
3
- ::backdrop {
4
- --modal-transition-duration: 0;
5
- --backdrop-color: #18181d;
6
- }
7
-
8
- /* Enable transitions only if reduce motion flag is off */
9
- @media (prefers-reduced-motion: no-preference) {
1
+ /* Disable transitions if reduce motion flag is on */
2
+ @media (prefers-reduced-motion: ) {
10
3
  :root,
11
4
  :host,
12
5
  ::backdrop {
13
- --modal-transition-duration: 300ms;
6
+ --modal-transition-duration: 0;
14
7
  }
15
8
  }
16
9
 
@@ -1,4 +1,4 @@
1
- import { ArgTypes, Meta, Story } from "@storybook/blocks";
1
+ import { ArgTypes, Meta, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Modal } from ".";
3
3
  import * as ModalStories from "./Modal.stories";
4
4
  import TestingDocs from "../../../../../.storybook/pages/jestHTMLDialogPolyfillTestingDocs.mdx";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { useState } from "react";
3
3
  import type { ModalProps } from ".";
4
4
  import { Modal } from ".";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --number-input-max-width: none;
4
- }
5
-
6
1
  .mobius-number-field {
7
2
  box-sizing: border-box;
8
3
  width: 100%;
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { NumberField } from "./NumberField";
3
3
  import * as NumberFieldStories from "./NumberField.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import type { NumberFieldProps } from "./NumberField";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { PasswordField } from "./PasswordField";
3
3
  import * as PasswordFieldStories from "./PasswordField.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import type { PasswordFieldProps } from "./PasswordField";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { circleQuestion } from "@simplybusiness/icons";
3
3
  import type { PopoverProps } from "..";
4
4
  import { Button, Flex, Popover, Icon } from "..";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Progress } from "./Progress";
3
3
  import * as ProgressStories from "./Progress.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import type { ProgressProps } from "./Progress";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Radio } from "./Radio";
3
3
  import { RadioGroup } from "./RadioGroup";
4
4
  import * as RadioStories from "./Radio.stories";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import { Divider } from "../Divider";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { SVG } from "./SVG";
3
3
  import * as SvgStories from "./SVG.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { SVGProps } from "./SVG";
3
3
  import { SVG } from "./SVG";
4
4
 
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --segment-border: var(--size-border-width) solid var(--color-border-light);
4
- }
5
-
6
1
  /*-----------------------------------------------------------------------------
7
2
  Wrapper around select and dropdown icon
8
3
  ----------------------------------------------------------------------------*/
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Segment } from "./Segment";
3
3
  import { SegmentGroup } from "./SegmentGroup";
4
4
  import * as SegmentStories from "./Segment.stories";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { SegmentProps } from "./Segment";
3
3
  import { Segment } from "./Segment";
4
4
  import type { SegmentGroupProps } from "./SegmentGroup";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --select-wrapper-max-width: none;
4
- }
5
-
6
1
  .mobius-select__outer {
7
2
  box-sizing: border-box;
8
3
  width: 100%;
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story } from "@storybook/addon-docs/blocks";
2
2
  import { Select } from "./Select";
3
3
  import * as SelectStories from "./Select.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { StoryContainer } from "../../utils/StoryContainer";
3
3
  import { Option } from "../Option";
4
4
  import type { SelectProps } from "./Select";
@@ -1,12 +1,3 @@
1
- :root,
2
- :host {
3
- --slider-primary-track-background: var(--color-primary-lighter);
4
- --slider-primary-thumb-background: var(--color-primary);
5
- --slider-secondary-track-background: var(--color-accent-lighter);
6
- --slider-secondary-thumb-background: var(--color-accent);
7
- --thumb-size: 20px;
8
- }
9
-
10
1
  .mobius-slider {
11
2
  position: relative;
12
3
  display: grid;
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Slider } from "./Slider";
3
3
  import * as SliderStories from "./Slider.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import type { SliderProps } from "./Slider";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { StackProps } from ".";
3
3
  import { Stack } from ".";
4
4
  import { excludeControls } from "../../utils";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --switch-transition-duration: 0.15s;
4
- }
5
-
6
1
  .mobius-switch {
7
2
  position: relative;
8
3
  display: inline-block;
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from "react";
2
- import type { Meta, StoryObj } from "@storybook/react";
2
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
3
3
  import { Switch as Control, type SwitchProps } from ".";
4
4
  import { excludeControls } from "../../utils";
5
5
 
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --table-border-width: 1px;
4
- }
5
-
6
1
  .mobius-table {
7
2
  display: table;
8
3
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Table } from ".";
3
3
  import * as TableStories from "./Table.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { TableProps } from ".";
3
3
  import { Table } from ".";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Story, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Story, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Text } from "./Text";
3
3
  import * as TextStories from "./Text.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { Box } from "../Box";
4
4
  import type { TextProps } from "./Text";
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { TextArea } from "./TextArea";
3
3
  import * as TextAreaStories from "./TextArea.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { excludeControls } from "../../utils";
3
3
  import { StoryContainer } from "../../utils/StoryContainer";
4
4
  import type { TextAreaProps } from "./TextArea";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --text-input-max-width: none;
4
- }
5
-
6
1
  .mobius-text-field {
7
2
  box-sizing: border-box;
8
3
  width: 100%;
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { TextField } from "./TextField";
3
3
  import * as TextFieldStories from "./TextField.stories";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { search } from "@simplybusiness/icons";
2
- import type { Meta, StoryObj } from "@storybook/react";
2
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
3
3
  import { useRef } from "react";
4
4
  import { excludeControls } from "../../utils";
5
5
  import { StoryContainer } from "../../utils/StoryContainer";
@@ -1,8 +1,3 @@
1
- :root,
2
- :host {
3
- --title-decorator-width: 8px;
4
- }
5
-
6
1
  .mobius-title {
7
2
  display: flex;
8
3
  padding-left: var(--size-sm);
@@ -1,4 +1,4 @@
1
- import { Meta, ArgTypes, Canvas } from "@storybook/blocks";
1
+ import { Meta, ArgTypes, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import { Title } from "./Title";
3
3
  import * as TitleStories from "./Title.stories";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { TitleProps } from "./Title";
3
3
  import { Title } from "./Title";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { Trust, type TrustProps } from "..";
3
3
  import { excludeControls } from "../../utils";
4
4
  import { TrustpilotProvider } from "./TrustpilotProvider";
@@ -1,4 +1,4 @@
1
- import { Meta, Canvas } from "@storybook/blocks";
1
+ import { Meta, Canvas } from "@storybook/addon-docs/blocks";
2
2
  import * as VisuallyHiddenStories from "./VisuallyHidden.stories";
3
3
 
4
4
  <Meta of={VisuallyHiddenStories} />
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import type { VisuallyHiddenProps } from ".";
3
3
  import { VisuallyHidden } from ".";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Canvas, Meta } from "@storybook/blocks";
1
+ import { Canvas, Meta } from "@storybook/addon-docs/blocks";
2
2
  import * as UseBreakpointStories from "./useBreakpoint.stories";
3
3
  import { useBreakpoint } from "./useBreakpoint";
4
4
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import { useBreakpoint } from "./useBreakpoint";
3
3
 
4
4
  type StoryType = StoryObj<typeof useBreakpoint>;