@mailstep/design-system 0.8.45 → 0.8.46

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 (25) hide show
  1. package/package.json +7 -7
  2. package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.d.ts +0 -1
  3. package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.js +6 -16
  4. package/ui/Blocks/Header/components/MenuItems/index.d.ts +0 -1
  5. package/ui/Blocks/Header/components/MenuItems/index.js +2 -3
  6. package/ui/Blocks/Header/components/MenuItems/styles.d.ts +0 -3
  7. package/ui/Blocks/Header/components/MenuItems/styles.js +2 -15
  8. package/ui/Blocks/Header/index.d.ts +0 -1
  9. package/ui/Blocks/Header/index.js +3 -5
  10. package/ui/Blocks/Header/stories/Header.stories.d.ts +0 -1
  11. package/ui/Blocks/HidePrint/stories/HidePrint.stories.d.ts +12 -0
  12. package/ui/Blocks/Popover/stories/Popover.stories.d.ts +16 -0
  13. package/ui/Elements/Avatar/Avatar.js +2 -2
  14. package/ui/Elements/Avatar/types.d.ts +0 -2
  15. package/ui/Elements/DatePicker/stories/DatePicker.stories.d.ts +11 -0
  16. package/ui/Elements/DropdownMenu/stories/DropdownMenu.stories.d.ts +10 -0
  17. package/ui/Elements/DropdownSelect/stories/DropdownSelect.stories.d.ts +22 -0
  18. package/ui/Elements/HighlightBox/HighlightBox.d.ts +3 -1
  19. package/ui/Elements/HighlightBox/HighlightBox.js +2 -0
  20. package/ui/Elements/HighlightBox/stories/HighlightBox.stories.d.ts +31 -0
  21. package/ui/Elements/Icon/Icon.js +2 -4
  22. package/ui/Elements/Link/stories/Link.stories.d.ts +0 -1
  23. package/ui/Elements/Portal/stories/Portal.stories.d.ts +11 -0
  24. package/ui/Elements/SimpleLink/stories/SimpleLink.stories.d.ts +13 -0
  25. package/ui/Elements/SingleSelect/stories/SingleSelect.stories.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.8.45",
3
+ "version": "0.8.46",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -40,10 +40,10 @@
40
40
  "@lingui/core": "^5.0.0",
41
41
  "@lingui/react": "^5.0.0",
42
42
  "@popperjs/core": "^2.11.8",
43
- "@storybook/addon-designs": "^11.1.2",
44
- "@storybook/addon-docs": "10.2.8",
45
- "@storybook/addon-links": "10.2.8",
46
- "@storybook/react-webpack5": "10.2.8",
43
+ "@storybook/addon-designs": "^11.1.3",
44
+ "@storybook/addon-docs": "10.4.2",
45
+ "@storybook/addon-links": "10.4.2",
46
+ "@storybook/react-webpack5": "10.4.2",
47
47
  "@svgr/rollup": "^8.0.1",
48
48
  "@swc/core": "^1.15.30",
49
49
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -73,7 +73,7 @@
73
73
  "eslint-plugin-react": "^7.35.0",
74
74
  "eslint-plugin-react-hooks": "^4.6.2",
75
75
  "eslint-plugin-react-perf": "^3.3.2",
76
- "eslint-plugin-storybook": "10.2.8",
76
+ "eslint-plugin-storybook": "10.4.2",
77
77
  "faker": "^5.1.0",
78
78
  "husky": "^9.1.7",
79
79
  "immer": "^9.0.19",
@@ -96,7 +96,7 @@
96
96
  "react-use-draggable-scroll": "^0.4.7",
97
97
  "redux": ">=4.0.5",
98
98
  "reselect": "5.0.0-alpha.2",
99
- "storybook": "10.2.8",
99
+ "storybook": "10.4.2",
100
100
  "string-width": "6.1.0",
101
101
  "styled-components": "^5.3.10",
102
102
  "swiper": "^11.0.3",
@@ -4,7 +4,6 @@ import type { HeaderVariant } from '../../../../types';
4
4
  type MenuItemProps = {
5
5
  item: MenuItemType;
6
6
  variant?: HeaderVariant;
7
- iconsBreakpoint?: string;
8
7
  };
9
8
  export declare const MenuItem: FC<MenuItemProps>;
10
9
  export {};
@@ -1,10 +1,10 @@
1
1
  import Icon from "../../../../../../Elements/Icon/Icon.js";
2
- import { MenuItemDropdownArrow, MenuItemIcon, MenuItemLabel, MenuItemsListItem, SubMenuItemRow, SubMenuList } from "../../styles.js";
2
+ import { MenuItemDropdownArrow, MenuItemLabel, MenuItemsListItem, SubMenuItemRow, SubMenuList } from "../../styles.js";
3
3
  import { isItemActive, isLinkExactActive } from "./utils/isItemActive.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Link, useLocation } from "react-router-dom";
6
6
  //#region packages/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.tsx
7
- const MenuItem = ({ item, variant = "light", iconsBreakpoint }) => {
7
+ const MenuItem = ({ item, variant = "light" }) => {
8
8
  const hasSubmenu = Array.isArray(item.items) && item.items.length > 0;
9
9
  const { pathname, search } = useLocation();
10
10
  const isActive = isItemActive(pathname, item);
@@ -14,20 +14,10 @@ const MenuItem = ({ item, variant = "light", iconsBreakpoint }) => {
14
14
  $isActive: isActive,
15
15
  children: [/* @__PURE__ */ jsxs(MenuItemLabel, {
16
16
  onClick: item.onClick,
17
- children: [
18
- item.icon && /* @__PURE__ */ jsx(MenuItemIcon, {
19
- $iconsBreakpoint: iconsBreakpoint,
20
- children: typeof item.icon === "string" ? /* @__PURE__ */ jsx(Icon, {
21
- icon: item.icon,
22
- size: 18
23
- }) : item.icon
24
- }),
25
- item.link && !hasSubmenu ? /* @__PURE__ */ jsx(Link, {
26
- to: item.link,
27
- children: item.title
28
- }) : /* @__PURE__ */ jsx("span", { children: item.title }),
29
- hasSubmenu && /* @__PURE__ */ jsx(MenuItemDropdownArrow, { children: /* @__PURE__ */ jsx(Icon, { icon: "goDown" }) })
30
- ]
17
+ children: [item.link && !hasSubmenu ? /* @__PURE__ */ jsx(Link, {
18
+ to: item.link,
19
+ children: item.title
20
+ }) : /* @__PURE__ */ jsx("span", { children: item.title }), hasSubmenu && /* @__PURE__ */ jsx(MenuItemDropdownArrow, { children: /* @__PURE__ */ jsx(Icon, { icon: "goDown" }) })]
31
21
  }), hasSubmenu && /* @__PURE__ */ jsx(SubMenuList, { children: item.items?.map((subItem, key) => /* @__PURE__ */ jsx(SubMenuItemRow, {
32
22
  pointer: !!subItem.onClick,
33
23
  onClick: subItem.onClick,
@@ -4,7 +4,6 @@ import type { HeaderVariant } from '../../types';
4
4
  type MenuItemsProps = {
5
5
  items?: MenuItemType[];
6
6
  variant?: HeaderVariant;
7
- iconsBreakpoint?: string;
8
7
  };
9
8
  export declare const MenuItems: FC<MenuItemsProps>;
10
9
  export {};
@@ -2,11 +2,10 @@ import { MenuItemsList } from "./styles.js";
2
2
  import { MenuItem } from "./components/MenuItem/index.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region packages/ui/Blocks/Header/components/MenuItems/index.tsx
5
- const MenuItems = ({ items, variant = "light", iconsBreakpoint }) => {
5
+ const MenuItems = ({ items, variant = "light" }) => {
6
6
  return /* @__PURE__ */ jsx(MenuItemsList, { children: items?.map((item, key) => /* @__PURE__ */ jsx(MenuItem, {
7
7
  item,
8
- variant,
9
- iconsBreakpoint
8
+ variant
10
9
  }, key)) });
11
10
  };
12
11
  //#endregion
@@ -7,9 +7,6 @@ export declare const MenuItemsListItem: import("styled-components").StyledCompon
7
7
  $isActive?: boolean;
8
8
  }, never>;
9
9
  export declare const MenuItemLabel: import("styled-components").StyledComponent<"div", import("@xstyled/styled-components").Theme, {}, never>;
10
- export declare const MenuItemIcon: import("styled-components").StyledComponent<"span", import("@xstyled/styled-components").Theme, {
11
- $iconsBreakpoint?: string;
12
- }, never>;
13
10
  export declare const MenuItemDropdownArrow: import("styled-components").StyledComponent<"span", import("@xstyled/styled-components").Theme, {}, never>;
14
11
  export declare const SubMenuItemRow: import("styled-components").StyledComponent<"li", import("@xstyled/styled-components").Theme, {
15
12
  pointer?: boolean;
@@ -1,4 +1,4 @@
1
- import styled$1, { css, th } from "@xstyled/styled-components";
1
+ import styled$1, { th } from "@xstyled/styled-components";
2
2
  //#region packages/ui/Blocks/Header/components/MenuItems/styles.ts
3
3
  const MenuItemsList = styled$1.ul`
4
4
  display: flex;
@@ -76,19 +76,6 @@ const MenuItemLabel = styled$1.div`
76
76
  user-select: none;
77
77
  height: 100%;
78
78
  `;
79
- const MenuItemIcon = styled$1.span`
80
- display: inline-flex;
81
- align-items: center;
82
- justify-content: center;
83
- flex-shrink: 0;
84
- ${({ $iconsBreakpoint }) => $iconsBreakpoint && css`
85
- display: none;
86
-
87
- @media (min-width: ${$iconsBreakpoint}) {
88
- display: inline-flex;
89
- }
90
- `}
91
- `;
92
79
  const MenuItemDropdownArrow = styled$1.span`
93
80
  display: inline-flex;
94
81
  align-items: center;
@@ -134,4 +121,4 @@ const SubMenuItemRow = styled$1.li`
134
121
  }
135
122
  `;
136
123
  //#endregion
137
- export { MenuItemDropdownArrow, MenuItemIcon, MenuItemLabel, MenuItemsList, MenuItemsListItem, SubMenuItemRow, SubMenuList };
124
+ export { MenuItemDropdownArrow, MenuItemLabel, MenuItemsList, MenuItemsListItem, SubMenuItemRow, SubMenuList };
@@ -27,7 +27,6 @@ type Props = {
27
27
  height?: string;
28
28
  smallLogoBreakpoint?: string;
29
29
  mobileMenuBreakpoint?: string;
30
- menuIconsBreakpoint?: string;
31
30
  languageItems?: LanguageItem[];
32
31
  showLanguageWithTitle?: boolean;
33
32
  languageFlagWrapBackgroundColor?: string;
@@ -11,7 +11,7 @@ import { useCallback, useState } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  import { Link } from "react-router-dom";
13
13
  //#region packages/ui/Blocks/Header/index.tsx
14
- const Header = ({ isMobileMenuOpen, homeLink, logo, logoVariant, logoVariantSmall, logoWidth = "145px", logoSmallWidth = "45px", logoSrc, logoSrcWidth, user, currentLanguage, hasUserMenu = false, leftMenuItems, rightMenuItems, rightSideStart, userMenuOverride, withInitials = false, withChevron = false, withName = false, variant = "light", height = "60px", smallLogoBreakpoint = "1801px", mobileMenuBreakpoint = "1024px", menuIconsBreakpoint, showLanguageWithTitle, languageFlagWrapBackgroundColor, languageItems: languageItems$1 = languageItems, withLanguageSwitch = true, ignoreClickOutsideClosest, onOpenMobileSideMenu, onChangeLanguage, onLogout }) => {
14
+ const Header = ({ isMobileMenuOpen, homeLink, logo, logoVariant, logoVariantSmall, logoWidth = "145px", logoSmallWidth = "45px", logoSrc, logoSrcWidth, user, currentLanguage, hasUserMenu = false, leftMenuItems, rightMenuItems, rightSideStart, userMenuOverride, withInitials = false, withChevron = false, withName = false, variant = "light", height = "60px", smallLogoBreakpoint = "1801px", mobileMenuBreakpoint = "1024px", showLanguageWithTitle, languageFlagWrapBackgroundColor, languageItems: languageItems$1 = languageItems, withLanguageSwitch = true, ignoreClickOutsideClosest, onOpenMobileSideMenu, onChangeLanguage, onLogout }) => {
15
15
  const { handleChangeLanguage } = useChangeLanguage({ onChangeLanguage });
16
16
  const hasLeftMenu = Array.isArray(leftMenuItems) && leftMenuItems.length > 0;
17
17
  const hasInternalMobileMenu = hasLeftMenu && !onOpenMobileSideMenu;
@@ -62,16 +62,14 @@ const Header = ({ isMobileMenuOpen, homeLink, logo, logoVariant, logoVariantSmal
62
62
  $mobileMenuBreakpoint: mobileMenuBreakpoint,
63
63
  children: /* @__PURE__ */ jsx(MenuItems, {
64
64
  items: leftMenuItems,
65
- variant,
66
- iconsBreakpoint: menuIconsBreakpoint
65
+ variant
67
66
  })
68
67
  })
69
68
  ] }), /* @__PURE__ */ jsxs(RightSide, { children: [
70
69
  rightSideStart,
71
70
  !!rightMenuItems?.length && /* @__PURE__ */ jsx(MenuItems, {
72
71
  items: rightMenuItems,
73
- variant,
74
- iconsBreakpoint: menuIconsBreakpoint
72
+ variant
75
73
  }),
76
74
  withLanguageSwitch && /* @__PURE__ */ jsx(LanguageWrapper, { children: /* @__PURE__ */ jsx(LanguageSwitch_default, {
77
75
  languageItems: languageItems$1,
@@ -25,7 +25,6 @@ declare const meta: {
25
25
  height?: string;
26
26
  smallLogoBreakpoint?: string;
27
27
  mobileMenuBreakpoint?: string;
28
- menuIconsBreakpoint?: string;
29
28
  languageItems?: import("../../LanguageSwitch").LanguageItem[];
30
29
  showLanguageWithTitle?: boolean;
31
30
  languageFlagWrapBackgroundColor?: string;
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").FC<{
5
+ children: React.ReactNode;
6
+ }>;
7
+ tags: string[];
8
+ argTypes: {};
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
@@ -0,0 +1,16 @@
1
+ import { type FC } from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: FC<{
5
+ parentRef: React.MutableRefObject<HTMLDivElement | null | undefined>;
6
+ onClose?: () => void;
7
+ children: React.ReactNode;
8
+ placement?: import("@popperjs/core").Placement;
9
+ wrapper?: import("styled-components").StyledComponent<any, any>;
10
+ ignoreClickOutsideClosest?: string;
11
+ }>;
12
+ tags: string[];
13
+ argTypes: {};
14
+ };
15
+ export default meta;
16
+ export declare const Default: FC;
@@ -9,7 +9,7 @@ const getInitials = (user) => {
9
9
  if (initials) return initials;
10
10
  return (user?.username ?? "?").slice(0, 2).toUpperCase();
11
11
  };
12
- const Avatar = ({ user, src, size = 34, colorFront, colorBack, className, hoverColorBack, onClick, withInitials, withChevron, withName, children }) => {
12
+ const Avatar = ({ user, src, size = 34, colorFront, colorBack, className, hoverColorBack, onClick, withInitials, withChevron, withName }) => {
13
13
  return /* @__PURE__ */ jsxs(AvatarWrap, {
14
14
  onClick,
15
15
  children: [
@@ -29,7 +29,7 @@ const Avatar = ({ user, src, size = 34, colorFront, colorBack, className, hoverC
29
29
  !src && !withInitials && /* @__PURE__ */ jsx(Profile, { stroke: colorFront })
30
30
  ]
31
31
  }),
32
- /* @__PURE__ */ jsxs("div", { children: [withName && user?.username, children] }),
32
+ withName && user?.username,
33
33
  withChevron && /* @__PURE__ */ jsx(Chevron, { children: /* @__PURE__ */ jsx(Icon, {
34
34
  icon: "goDown",
35
35
  fill: "white",
@@ -1,4 +1,3 @@
1
- import { type ReactNode } from 'react';
2
1
  export type Props = {
3
2
  user?: {
4
3
  firstName?: string;
@@ -16,5 +15,4 @@ export type Props = {
16
15
  withInitials?: boolean;
17
16
  withChevron?: boolean;
18
17
  withName?: boolean;
19
- children?: ReactNode;
20
18
  };
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").NamedExoticComponent<import("../DatePicker").DatePickerType>;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default meta;
9
+ export declare const Default: FC;
10
+ export declare const WithTime: FC;
11
+ export declare const Disabled: FC;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: <T extends import("../types").Item>({ items, showMenu, className, ItemComponent, header, footer, ...rest }: import("../types").DropdownMenuProps<T>) => import("react").ReactElement;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default meta;
9
+ export declare const Default: FC;
10
+ export declare const WithCounts: FC;
@@ -0,0 +1,22 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").FC<{
5
+ label: string | import("react").ReactNode;
6
+ appearance?: import("../../Button").AppearanceValue;
7
+ variant?: import("../../Button/types").VariantValue;
8
+ options: import("../DropdownSelect").DropdownSelectItem[];
9
+ showChevron?: boolean;
10
+ onSelect?: (value: import("../DropdownSelect").DropdownSelectItem["value"]) => void;
11
+ icon?: import("react").ReactNode;
12
+ disabled?: boolean;
13
+ ButtonComponent?: React.FC;
14
+ }>;
15
+ tags: string[];
16
+ argTypes: {};
17
+ };
18
+ export default meta;
19
+ type Story = StoryObj<typeof meta>;
20
+ export declare const Default: Story;
21
+ export declare const WithoutChevron: Story;
22
+ export declare const Disabled: Story;
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- export type FlagAppearanceType = 'neutralBold' | 'neutralSubtle' | 'blueBold' | 'blueSubtle' | 'tealBold' | 'tealSubtle' | 'greenBold' | 'greenSubtle' | 'orangeBold' | 'orangeSubtle' | 'yellowBold' | 'yellowSubtle' | 'pinkBold' | 'pinkSubtle' | 'purpleBold' | 'purpleSubtle' | 'redBold' | 'redSubtle';
2
+ export type FlagAppearanceType = 'neutralBold' | 'neutralMedium' | 'neutralSubtle' | 'blueBold' | 'blueSubtle' | 'tealBold' | 'tealSubtle' | 'greenBold' | 'greenSubtle' | 'orangeBold' | 'orangeSubtle' | 'yellowBold' | 'yellowSubtle' | 'pinkBold' | 'pinkSubtle' | 'purpleBold' | 'purpleSubtle' | 'redBold' | 'redSubtle';
3
3
  export declare const flagAppearanceToColorMap: {
4
4
  neutralBold: string;
5
+ neutralMedium: string;
5
6
  neutralSubtle: string;
6
7
  blueBold: string;
7
8
  blueSubtle: string;
@@ -22,6 +23,7 @@ export declare const flagAppearanceToColorMap: {
22
23
  };
23
24
  export declare const flagAppearanceToFontColorMap: {
24
25
  neutralBold: string;
26
+ neutralMedium: string;
25
27
  neutralSubtle: string;
26
28
  blueBold: string;
27
29
  blueSubtle: string;
@@ -48,6 +48,7 @@ const OverflowWrap = styled$1.span`
48
48
  `;
49
49
  const flagAppearanceToColorMap = {
50
50
  neutralBold: "neutral300",
51
+ neutralMedium: "#D2D8DF",
51
52
  neutralSubtle: "bgLightGray2",
52
53
  blueBold: "blue70",
53
54
  blueSubtle: "blue20",
@@ -68,6 +69,7 @@ const flagAppearanceToColorMap = {
68
69
  };
69
70
  const flagAppearanceToFontColorMap = {
70
71
  neutralBold: "white",
72
+ neutralMedium: "#22394E",
71
73
  neutralSubtle: "#22394E",
72
74
  blueBold: "#ffffff",
73
75
  blueSubtle: "blue80",
@@ -0,0 +1,31 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").FC<{
5
+ children: React.ReactNode;
6
+ appearance: import("../HighlightBox").FlagAppearanceType;
7
+ size?: "default" | "small" | "wide" | "fitContent";
8
+ className?: string;
9
+ cursor?: string;
10
+ prefix?: string;
11
+ }>;
12
+ tags: string[];
13
+ argTypes: {
14
+ appearance: {
15
+ control: "select";
16
+ options: string[];
17
+ };
18
+ size: {
19
+ control: "select";
20
+ options: string[];
21
+ };
22
+ };
23
+ };
24
+ export default meta;
25
+ type Story = StoryObj<typeof meta>;
26
+ export declare const Default: Story;
27
+ export declare const Subtle: Story;
28
+ export declare const Small: Story;
29
+ export declare const Wide: Story;
30
+ export declare const FitContent: Story;
31
+ export declare const AllAppearances: Story;
@@ -14,7 +14,6 @@ import { faPaperclip } from "@fortawesome/pro-light-svg-icons/faPaperclip";
14
14
  import { faStopwatch } from "@fortawesome/pro-light-svg-icons/faStopwatch";
15
15
  import { faArrowRightToBracket } from "@fortawesome/pro-regular-svg-icons/faArrowRightToBracket";
16
16
  import { faBell } from "@fortawesome/pro-regular-svg-icons/faBell";
17
- import { faBolt } from "@fortawesome/pro-regular-svg-icons/faBolt";
18
17
  import { faBox } from "@fortawesome/pro-regular-svg-icons/faBox";
19
18
  import { faCalendar } from "@fortawesome/pro-regular-svg-icons/faCalendar";
20
19
  import { faCalendarPlus } from "@fortawesome/pro-regular-svg-icons/faCalendarPlus";
@@ -144,7 +143,6 @@ const iconDictionary = {
144
143
  paperPlane: faPaperPlane,
145
144
  flaskRoundPotion: faFlaskRoundPotion,
146
145
  batteryBolt: faBatteryBolt,
147
- bolt: faBolt,
148
146
  ellipsisVertical: faEllipsisVertical,
149
147
  greaterThanEqual: faGreaterThanEqual,
150
148
  home: faHome,
@@ -267,8 +265,8 @@ const Icon = ({ icon, fill, stroke, style = "normal", size, width, height, class
267
265
  $colorSecondary: colorSecondary,
268
266
  $fixedWidth: fixedWidth,
269
267
  children: IconComponent ? /* @__PURE__ */ jsx(IconComponent, {
270
- ...colorFill ? { fill: colorFill } : {},
271
- ...colorStroke ? { stroke: colorStroke } : {},
268
+ fill: colorFill,
269
+ stroke: colorStroke,
272
270
  onClick,
273
271
  cursor: cursor ?? (onClick ? "pointer" : void 0),
274
272
  ...width ?? size ? { width: width ?? size } : {},
@@ -18,7 +18,6 @@ declare const meta: {
18
18
  }>;
19
19
  tags: string[];
20
20
  argTypes: {};
21
- decorators: never[];
22
21
  };
23
22
  export default meta;
24
23
  type Story = StoryObj<typeof meta>;
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: FC<{
5
+ children?: import("react").ReactNode;
6
+ }>;
7
+ tags: string[];
8
+ argTypes: {};
9
+ };
10
+ export default meta;
11
+ export declare const Default: FC;
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("styled-components").StyledComponent<typeof import("react-router-dom").Link, import("@xstyled/styled-components").Theme, import("../SimpleLink").Props, never>;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default meta;
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const Default: Story;
11
+ export declare const Decorated: Story;
12
+ export declare const Disabled: Story;
13
+ export declare const External: Story;
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: FC<import("../SingleSelect").Props>;
5
+ tags: string[];
6
+ argTypes: {};
7
+ };
8
+ export default meta;
9
+ export declare const Default: FC;
10
+ export declare const Searchable: FC;