@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.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/components/Accordion/Accordion.stories.d.ts +1 -1
- package/dist/types/src/components/AddressLookup/AddressLookup.stories.d.ts +1 -1
- package/dist/types/src/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/types/src/components/Box/Box.stories.d.ts +1 -1
- package/dist/types/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/dist/types/src/components/Button/Button.stories.d.ts +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/types/src/components/Checkbox/CheckboxGroup.stories.d.ts +1 -1
- package/dist/types/src/components/Combobox/Combobox.stories.d.ts +1 -1
- package/dist/types/src/components/Combobox/types.d.ts +1 -1
- package/dist/types/src/components/Container/Container.stories.d.ts +1 -1
- package/dist/types/src/components/DateField/DateField.stories.d.ts +1 -1
- package/dist/types/src/components/Divider/Divider.stories.d.ts +1 -1
- package/dist/types/src/components/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/types/src/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/dist/types/src/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -1
- package/dist/types/src/components/Fieldset/Fieldset.stories.d.ts +1 -1
- package/dist/types/src/components/Flex/Flex.stories.d.ts +1 -1
- package/dist/types/src/components/Grid/Grid.stories.d.ts +1 -1
- package/dist/types/src/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/types/src/components/Image/Image.stories.d.ts +1 -1
- package/dist/types/src/components/Label/Label.stories.d.ts +1 -1
- package/dist/types/src/components/Link/Link.stories.d.ts +1 -1
- package/dist/types/src/components/LinkButton/LinkButton.stories.d.ts +1 -1
- package/dist/types/src/components/List/List.stories.d.ts +1 -1
- package/dist/types/src/components/LoadingIndicator/LoadingIndicator.stories.d.ts +1 -1
- package/dist/types/src/components/Logo/Logo.stories.d.ts +1 -1
- package/dist/types/src/components/Modal/Modal.stories.d.ts +1 -1
- package/dist/types/src/components/NumberField/NumberField.stories.d.ts +1 -1
- package/dist/types/src/components/PasswordField/PasswordField.stories.d.ts +1 -1
- package/dist/types/src/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/types/src/components/Progress/Progress.stories.d.ts +1 -1
- package/dist/types/src/components/Radio/Radio.stories.d.ts +1 -1
- package/dist/types/src/components/SVG/SVG.stories.d.ts +1 -1
- package/dist/types/src/components/Segment/Segment.stories.d.ts +1 -1
- package/dist/types/src/components/Select/Select.stories.d.ts +1 -1
- package/dist/types/src/components/Slider/Slider.stories.d.ts +1 -1
- package/dist/types/src/components/Stack/Stack.stories.d.ts +1 -1
- package/dist/types/src/components/Switch/Switch.stories.d.ts +1 -1
- package/dist/types/src/components/Table/Table.stories.d.ts +1 -1
- package/dist/types/src/components/Text/Text.stories.d.ts +1 -1
- package/dist/types/src/components/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/types/src/components/TextField/TextField.stories.d.ts +1 -1
- package/dist/types/src/components/Title/Title.stories.d.ts +1 -1
- package/dist/types/src/components/Trust/Trust.stories.d.ts +1 -1
- package/dist/types/src/components/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -1
- package/dist/types/src/hooks/useBreakpoint/useBreakpoint.stories.d.ts +1 -1
- package/package.json +8 -5
- package/src/components/Accordion/Accordion.mdx +1 -1
- package/src/components/Accordion/Accordion.stories.tsx +1 -1
- package/src/components/AddressLookup/AddressLookup.stories.tsx +1 -1
- package/src/components/Alert/Alert.mdx +1 -1
- package/src/components/Alert/Alert.stories.tsx +1 -1
- package/src/components/Box/Box.mdx +1 -1
- package/src/components/Box/Box.stories.tsx +1 -1
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +1 -1
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
- package/src/components/Button/Button.css +0 -11
- package/src/components/Button/Button.mdx +1 -1
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/Checkbox/Checkbox.mdx +1 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/Checkbox/CheckboxGroup.mdx +1 -1
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +1 -1
- package/src/components/Combobox/Combobox.css +0 -14
- package/src/components/Combobox/Combobox.mdx +1 -1
- package/src/components/Combobox/Combobox.stories.tsx +1 -1
- package/src/components/Combobox/types.tsx +1 -1
- package/src/components/Container/Container.mdx +1 -1
- package/src/components/Container/Container.stories.tsx +1 -1
- package/src/components/DateField/DateField.mdx +1 -1
- package/src/components/DateField/DateField.stories.tsx +1 -1
- package/src/components/Divider/Divider.mdx +1 -1
- package/src/components/Divider/Divider.stories.tsx +1 -1
- package/src/components/Drawer/Drawer.mdx +1 -1
- package/src/components/Drawer/Drawer.stories.tsx +1 -1
- package/src/components/DropdownMenu/DropdownMenu.css +0 -5
- package/src/components/DropdownMenu/DropdownMenu.mdx +1 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +1 -1
- package/src/components/ErrorMessage/ErrorMessage.mdx +1 -1
- package/src/components/ErrorMessage/ErrorMessage.stories.tsx +1 -1
- package/src/components/Fieldset/Fieldset.mdx +1 -1
- package/src/components/Fieldset/Fieldset.stories.tsx +1 -1
- package/src/components/Flex/Flex.mdx +1 -1
- package/src/components/Flex/Flex.stories.tsx +1 -1
- package/src/components/Grid/Grid.mdx +1 -1
- package/src/components/Grid/Grid.stories.tsx +1 -1
- package/src/components/Icon/Icon.mdx +1 -1
- package/src/components/Icon/Icon.stories.tsx +1 -1
- package/src/components/Image/Image.mdx +1 -1
- package/src/components/Image/Image.stories.tsx +1 -1
- package/src/components/Label/Label.css +0 -6
- package/src/components/Label/Label.mdx +1 -1
- package/src/components/Label/Label.stories.tsx +1 -1
- package/src/components/Link/Link.mdx +1 -1
- package/src/components/Link/Link.stories.tsx +1 -1
- package/src/components/LinkButton/LinkButton.mdx +1 -1
- package/src/components/LinkButton/LinkButton.stories.tsx +1 -1
- package/src/components/List/List.mdx +1 -1
- package/src/components/List/List.stories.tsx +1 -1
- package/src/components/LoadingIndicator/LoadingIndicator.mdx +1 -1
- package/src/components/LoadingIndicator/LoadingIndicator.stories.tsx +1 -1
- package/src/components/Logo/Logo.stories.tsx +1 -1
- package/src/components/Modal/Modal.css +3 -10
- package/src/components/Modal/Modal.mdx +1 -1
- package/src/components/Modal/Modal.stories.tsx +1 -1
- package/src/components/NumberField/NumberField.css +0 -5
- package/src/components/NumberField/NumberField.mdx +1 -1
- package/src/components/NumberField/NumberField.stories.tsx +1 -1
- package/src/components/PasswordField/PasswordField.mdx +1 -1
- package/src/components/PasswordField/PasswordField.stories.tsx +1 -1
- package/src/components/Popover/Popover.stories.tsx +1 -1
- package/src/components/Progress/Progress.mdx +1 -1
- package/src/components/Progress/Progress.stories.tsx +1 -1
- package/src/components/Radio/Radio.mdx +1 -1
- package/src/components/Radio/Radio.stories.tsx +1 -1
- package/src/components/SVG/SVG.mdx +1 -1
- package/src/components/SVG/SVG.stories.tsx +1 -1
- package/src/components/Segment/Segment.css +0 -5
- package/src/components/Segment/Segment.mdx +1 -1
- package/src/components/Segment/Segment.stories.tsx +1 -1
- package/src/components/Select/Select.css +0 -5
- package/src/components/Select/Select.mdx +1 -1
- package/src/components/Select/Select.stories.tsx +1 -1
- package/src/components/Slider/Slider.css +0 -9
- package/src/components/Slider/Slider.mdx +1 -1
- package/src/components/Slider/Slider.stories.tsx +1 -1
- package/src/components/Stack/Stack.stories.tsx +1 -1
- package/src/components/Switch/Switch.css +0 -5
- package/src/components/Switch/Switch.stories.tsx +1 -1
- package/src/components/Table/Table.css +0 -5
- package/src/components/Table/Table.mdx +1 -1
- package/src/components/Table/Table.stories.tsx +1 -1
- package/src/components/Text/Text.mdx +1 -1
- package/src/components/Text/Text.stories.tsx +1 -1
- package/src/components/TextArea/TextArea.mdx +1 -1
- package/src/components/TextArea/TextArea.stories.tsx +1 -1
- package/src/components/TextField/TextField.css +0 -5
- package/src/components/TextField/TextField.mdx +1 -1
- package/src/components/TextField/TextField.stories.tsx +1 -1
- package/src/components/Title/Title.css +0 -5
- package/src/components/Title/Title.mdx +1 -1
- package/src/components/Title/Title.stories.tsx +1 -1
- package/src/components/Trust/Trust.stories.tsx +1 -1
- package/src/components/VisuallyHidden/VisuallyHidden.mdx +1 -1
- package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +1 -1
- package/src/hooks/useBreakpoint/useBreakpoint.mdx +1 -1
- 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,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 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,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,16 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
:
|
|
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:
|
|
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 { excludeControls } from "../../utils";
|
|
3
3
|
import { StoryContainer } from "../../utils/StoryContainer";
|
|
4
4
|
import type { NumberFieldProps } from "./NumberField";
|
|
@@ -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 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,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,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 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,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,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,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,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";
|