@youngonesworks/ui 0.1.79 → 0.1.82

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 (187) hide show
  1. package/dist/components/phoneNumberInput/index.d.ts +1 -1
  2. package/dist/dist/index.css.map +1 -1
  3. package/dist/index.cjs +192 -114
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +91 -13
  6. package/dist/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/.storybook/main.d.ts +0 -3
  9. package/dist/.storybook/preview.d.ts +0 -12
  10. package/dist/components/arbitraryExample.d.ts +0 -1
  11. package/dist/components/calendar/index.d.ts +0 -0
  12. package/dist/components/checkbox/Checkbox.stories.d.ts +0 -9
  13. package/dist/components/linkText/LinkText.stories.d.ts +0 -6
  14. package/dist/components/linkText/index.d.ts +0 -11
  15. package/dist/components/phoneInput/index.d.ts +0 -0
  16. package/dist/components/phoneNumberInput/PhoneInputSelect.test.d.ts +0 -1
  17. package/dist/components/profileMenu/ProfileMenu.d.ts +0 -20
  18. package/dist/components/scrollToTop/scrollToTop.css +0 -36
  19. package/dist/components/test/index.d.ts +0 -1
  20. package/dist/react-is-esm.d.ts +0 -38
  21. package/dist/react-is-shim.d.ts +0 -4
  22. package/dist/react-tooltip-shim.d.ts +0 -2
  23. package/dist/src/components/accordion/Accordion.stories.d.ts +0 -6
  24. package/dist/src/components/accordion/AccordionItem.d.ts +0 -14
  25. package/dist/src/components/accordion/AccordionItem.stories.d.ts +0 -11
  26. package/dist/src/components/accordion/AccordionItem.test.d.ts +0 -1
  27. package/dist/src/components/accordion/AccordionWrapper.d.ts +0 -7
  28. package/dist/src/components/accordion/index.d.ts +0 -2
  29. package/dist/src/components/actionIcon/ActionIcon.stories.d.ts +0 -9
  30. package/dist/src/components/actionIcon/index.d.ts +0 -24
  31. package/dist/src/components/alert/Alert.stories.d.ts +0 -6
  32. package/dist/src/components/alert/Alert.test.d.ts +0 -1
  33. package/dist/src/components/alert/index.d.ts +0 -18
  34. package/dist/src/components/appleAppButtonIcon/AppleAppButtonIcon.stories.d.ts +0 -6
  35. package/dist/src/components/appleAppButtonIcon/index.d.ts +0 -2
  36. package/dist/src/components/autoCompleteInput/AutoCompleteInput.stories.d.ts +0 -6
  37. package/dist/src/components/autoCompleteInput/index.d.ts +0 -16
  38. package/dist/src/components/avatar/Avatar.stories.d.ts +0 -6
  39. package/dist/src/components/avatar/index.d.ts +0 -22
  40. package/dist/src/components/avatarIndicator/AvatarIndicator.stories.d.ts +0 -6
  41. package/dist/src/components/avatarIndicator/index.d.ts +0 -6
  42. package/dist/src/components/badge/Badge.stories.d.ts +0 -6
  43. package/dist/src/components/badge/index.d.ts +0 -27
  44. package/dist/src/components/bigBadge/BigBadge.stories.d.ts +0 -6
  45. package/dist/src/components/bigBadge/index.d.ts +0 -9
  46. package/dist/src/components/breadCrumb/BreadCrumb.stories.d.ts +0 -6
  47. package/dist/src/components/breadCrumb/index.d.ts +0 -9
  48. package/dist/src/components/button/Button.stories.d.ts +0 -9
  49. package/dist/src/components/button/buttonVariants.d.ts +0 -10
  50. package/dist/src/components/button/index.d.ts +0 -16
  51. package/dist/src/components/calendar/index.d.ts +0 -0
  52. package/dist/src/components/checkbox/Checkbox.stories.d.ts +0 -9
  53. package/dist/src/components/checkbox/index.d.ts +0 -11
  54. package/dist/src/components/divider/Divider.stories.d.ts +0 -6
  55. package/dist/src/components/divider/index.d.ts +0 -6
  56. package/dist/src/components/favouriteButton/FavouriteButton.stories.d.ts +0 -6
  57. package/dist/src/components/favouriteButton/FavouriteButton.test.d.ts +0 -1
  58. package/dist/src/components/favouriteButton/index.d.ts +0 -24
  59. package/dist/src/components/filters/FilterButton.d.ts +0 -9
  60. package/dist/src/components/filters/FilterButton.stories.d.ts +0 -7
  61. package/dist/src/components/filters/FilterButton.test.d.ts +0 -1
  62. package/dist/src/components/filters/FilterItem.d.ts +0 -7
  63. package/dist/src/components/filters/FilterItem.stories.d.ts +0 -7
  64. package/dist/src/components/filters/FilterItem.test.d.ts +0 -1
  65. package/dist/src/components/filters/Filters.stories.d.ts +0 -7
  66. package/dist/src/components/filters/index.d.ts +0 -11
  67. package/dist/src/components/googleAppButtonIcon/GoogleAppButtonIcon.stories.d.ts +0 -6
  68. package/dist/src/components/googleAppButtonIcon/index.d.ts +0 -2
  69. package/dist/src/components/hamburgerMenuButton/HamburgerMenuButton.stories.d.ts +0 -6
  70. package/dist/src/components/hamburgerMenuButton/index.d.ts +0 -6
  71. package/dist/src/components/hr/HR.stories.d.ts +0 -6
  72. package/dist/src/components/hr/index.d.ts +0 -8
  73. package/dist/src/components/island/Island.stories.d.ts +0 -6
  74. package/dist/src/components/island/index.d.ts +0 -11
  75. package/dist/src/components/label/Label.stories.d.ts +0 -6
  76. package/dist/src/components/label/index.d.ts +0 -7
  77. package/dist/src/components/linkText/LinkText.stories.d.ts +0 -6
  78. package/dist/src/components/linkText/index.d.ts +0 -11
  79. package/dist/src/components/loader/Loader.stories.d.ts +0 -6
  80. package/dist/src/components/loader/index.d.ts +0 -4
  81. package/dist/src/components/logo/Logo.stories.d.ts +0 -6
  82. package/dist/src/components/logo/index.d.ts +0 -2
  83. package/dist/src/components/modal/Modal.stories.d.ts +0 -6
  84. package/dist/src/components/modal/index.d.ts +0 -19
  85. package/dist/src/components/navButtons/NavButtons.stories.d.ts +0 -10
  86. package/dist/src/components/navButtons/NavButtons.test.d.ts +0 -1
  87. package/dist/src/components/navButtons/index.d.ts +0 -6
  88. package/dist/src/components/numberField/NumberField.stories.d.ts +0 -6
  89. package/dist/src/components/numberField/index.d.ts +0 -14
  90. package/dist/src/components/pageUnavailable/PageUnavailable.stories.d.ts +0 -6
  91. package/dist/src/components/pageUnavailable/index.d.ts +0 -7
  92. package/dist/src/components/passwordInput/PasswordInput.stories.d.ts +0 -6
  93. package/dist/src/components/passwordInput/index.d.ts +0 -3
  94. package/dist/src/components/phoneInput/index.d.ts +0 -0
  95. package/dist/src/components/popover/Popover.stories.d.ts +0 -6
  96. package/dist/src/components/popover/index.d.ts +0 -15
  97. package/dist/src/components/progressBar/ProgressBar.stories.d.ts +0 -6
  98. package/dist/src/components/progressBar/index.d.ts +0 -7
  99. package/dist/src/components/radioButton/RadioButton.stories.d.ts +0 -6
  100. package/dist/src/components/radioButton/index.d.ts +0 -17
  101. package/dist/src/components/rating/Rating.stories.d.ts +0 -7
  102. package/dist/src/components/rating/index.d.ts +0 -10
  103. package/dist/src/components/regionSelector/RegionSelector.stories.d.ts +0 -6
  104. package/dist/src/components/regionSelector/index.d.ts +0 -11
  105. package/dist/src/components/reviews/Reviews.stories.d.ts +0 -6
  106. package/dist/src/components/reviews/index.d.ts +0 -13
  107. package/dist/src/components/scrollToTop/ScrollToTop.stories.d.ts +0 -6
  108. package/dist/src/components/scrollToTop/index.d.ts +0 -3
  109. package/dist/src/components/searchInput/SearchInput.stories.d.ts +0 -6
  110. package/dist/src/components/searchInput/index.d.ts +0 -1
  111. package/dist/src/components/select/Select.stories.d.ts +0 -6
  112. package/dist/src/components/select/index.d.ts +0 -26
  113. package/dist/src/components/settingsCard/SettingsCard.stories.d.ts +0 -6
  114. package/dist/src/components/settingsCard/index.d.ts +0 -14
  115. package/dist/src/components/skeleton/Skeleton.stories.d.ts +0 -6
  116. package/dist/src/components/skeleton/index.d.ts +0 -5
  117. package/dist/src/components/skillPill/SkillPill.stories.d.ts +0 -6
  118. package/dist/src/components/skillPill/index.d.ts +0 -6
  119. package/dist/src/components/stepper/NumberedStepper.d.ts +0 -13
  120. package/dist/src/components/stepper/NumberedStepper.stories.d.ts +0 -8
  121. package/dist/src/components/stepper/NumberedStepper.test.d.ts +0 -1
  122. package/dist/src/components/stepper/Stepper.d.ts +0 -16
  123. package/dist/src/components/stepper/Stepper.stories.d.ts +0 -9
  124. package/dist/src/components/stepper/Stepper.test.d.ts +0 -1
  125. package/dist/src/components/stepper/index.d.ts +0 -2
  126. package/dist/src/components/stickyMobileButton/StickyMobileButtonWrapper.stories.d.ts +0 -6
  127. package/dist/src/components/stickyMobileButton/index.d.ts +0 -6
  128. package/dist/src/components/table/Table.stories.d.ts +0 -6
  129. package/dist/src/components/table/index.d.ts +0 -6
  130. package/dist/src/components/table/tableCell/TableCell.stories.d.ts +0 -6
  131. package/dist/src/components/table/tableCell/index.d.ts +0 -7
  132. package/dist/src/components/table/tableHeader/TableHeader.stories.d.ts +0 -6
  133. package/dist/src/components/table/tableHeader/index.d.ts +0 -5
  134. package/dist/src/components/table/tableHeaderItem/TableHeaderItem.stories.d.ts +0 -6
  135. package/dist/src/components/table/tableHeaderItem/index.d.ts +0 -7
  136. package/dist/src/components/table/tableHeaderRow/TableHeaderRow.stories.d.ts +0 -6
  137. package/dist/src/components/table/tableHeaderRow/index.d.ts +0 -6
  138. package/dist/src/components/table/tableRow/TableRow.stories.d.ts +0 -6
  139. package/dist/src/components/table/tableRow/index.d.ts +0 -8
  140. package/dist/src/components/tabs/Tab.d.ts +0 -11
  141. package/dist/src/components/tabs/Tab.stories.d.ts +0 -15
  142. package/dist/src/components/tabs/Tab.test.d.ts +0 -1
  143. package/dist/src/components/tabs/TabsBadge.d.ts +0 -8
  144. package/dist/src/components/tabs/TabsBadge.stories.d.ts +0 -19
  145. package/dist/src/components/tabs/TabsBadge.test.d.ts +0 -1
  146. package/dist/src/components/tabs/TabsWrapper.d.ts +0 -17
  147. package/dist/src/components/tabs/index.d.ts +0 -2
  148. package/dist/src/components/textArea/Textarea.stories.d.ts +0 -6
  149. package/dist/src/components/textArea/index.d.ts +0 -8
  150. package/dist/src/components/textInput/TextInput.stories.d.ts +0 -8
  151. package/dist/src/components/textInput/index.d.ts +0 -22
  152. package/dist/src/components/themeIcon/ThemeIcon.stories.d.ts +0 -8
  153. package/dist/src/components/themeIcon/index.d.ts +0 -9
  154. package/dist/src/components/toggle/Toggle.stories.d.ts +0 -7
  155. package/dist/src/components/toggle/index.d.ts +0 -7
  156. package/dist/src/components/tooltip/Tooltip.stories.d.ts +0 -8
  157. package/dist/src/components/tooltip/index.d.ts +0 -13
  158. package/dist/src/components/truncatedText/TruncatedText.stories.d.ts +0 -7
  159. package/dist/src/components/truncatedText/index.d.ts +0 -6
  160. package/dist/src/components/unorderedList/UnorderedList.stories.d.ts +0 -7
  161. package/dist/src/components/unorderedList/index.d.ts +0 -7
  162. package/dist/src/components/unorderedListItem/UnorderedListItem.stories.d.ts +0 -7
  163. package/dist/src/components/unorderedListItem/index.d.ts +0 -9
  164. package/dist/src/components/unstyledButton/UnstyledButton.stories.d.ts +0 -6
  165. package/dist/src/components/unstyledButton/index.d.ts +0 -6
  166. package/dist/src/components/wysiwygEditor/WysiwygEditor.stories.d.ts +0 -7
  167. package/dist/src/components/wysiwygEditor/index.d.ts +0 -16
  168. package/dist/src/icons/IconLoading.d.ts +0 -2
  169. package/dist/src/icons/IconStarEmpty.d.ts +0 -2
  170. package/dist/src/icons/IconStarFilled.d.ts +0 -2
  171. package/dist/src/icons/IconStarHalfFilled.d.ts +0 -2
  172. package/dist/src/icons/index.d.ts +0 -4
  173. package/dist/src/index.d.ts +0 -60
  174. package/dist/src/jsx-runtime-shim.d.ts +0 -4
  175. package/dist/src/stories/Button.d.ts +0 -15
  176. package/dist/src/stories/Button.stories.d.ts +0 -23
  177. package/dist/src/stories/Header.d.ts +0 -12
  178. package/dist/src/stories/Header.stories.d.ts +0 -18
  179. package/dist/src/stories/Page.d.ts +0 -3
  180. package/dist/src/stories/Page.stories.d.ts +0 -12
  181. package/dist/src/utils/cn.d.ts +0 -2
  182. package/dist/src/utils/enums.d.ts +0 -48
  183. package/dist/src/utils/formatIcon.d.ts +0 -8
  184. package/dist/styles/arbitrary-values.css +0 -43
  185. package/dist/styles.css +0 -13
  186. package/dist/tailwind-theme.d.ts +0 -19
  187. package/dist/use-client.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youngonesworks/ui",
3
- "version": "0.1.79",
3
+ "version": "0.1.82",
4
4
  "description": "A Youngones UI component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -1,3 +0,0 @@
1
- import type { StorybookConfig } from '@storybook/react-vite';
2
- declare const config: StorybookConfig;
3
- export default config;
@@ -1,12 +0,0 @@
1
- import '../src/globals.css';
2
- export declare const parameters: {
3
- actions: {
4
- argTypesRegex: string;
5
- };
6
- controls: {
7
- matchers: {
8
- color: RegExp;
9
- date: RegExp;
10
- };
11
- };
12
- };
@@ -1 +0,0 @@
1
- export declare const ArbitraryExample: () => import("react/jsx-runtime").JSX.Element;
File without changes
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Checkbox } from './index';
3
- declare const meta: Meta<typeof Checkbox>;
4
- export default meta;
5
- type Story = StoryObj<typeof Checkbox>;
6
- export declare const Default: Story;
7
- export declare const Small: Story;
8
- export declare const Indeterminate: Story;
9
- export declare const ErrorState: Story;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { LinkText } from './index';
3
- declare const meta: Meta<typeof LinkText>;
4
- export default meta;
5
- type Story = StoryObj<typeof LinkText>;
6
- export declare const Default: Story;
@@ -1,11 +0,0 @@
1
- import { type ReactElement } from 'react';
2
- interface ILinkText {
3
- children: ReactElement | string | ReactElement[];
4
- classNames?: string;
5
- }
6
- /** @deprecated dont use this anymore, instead use the next link */
7
- export declare const LinkText: {
8
- ({ children, classNames }: ILinkText): import("react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
11
- export {};
File without changes
@@ -1,20 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface IProfileMenu {
3
- title?: ReactNode;
4
- metaTitle?: string;
5
- icon?: ReactNode;
6
- disabled?: boolean;
7
- classNames?: {
8
- root?: string;
9
- button?: string;
10
- menu?: string;
11
- };
12
- content: {
13
- key: number;
14
- onClick: () => void;
15
- title: string;
16
- disabled?: boolean;
17
- }[];
18
- }
19
- declare const ProfileMenu: ({ title, metaTitle, icon, content, disabled, classNames }: IProfileMenu) => import("react/jsx-runtime").JSX.Element;
20
- export default ProfileMenu;
@@ -1,36 +0,0 @@
1
- /* ScrollToTop component styles */
2
- .scroll-to-top-button {
3
- position: fixed;
4
- right: -10px;
5
- bottom: 105px;
6
- z-index: 40;
7
- display: flex;
8
- height: 43px;
9
- width: 62px;
10
- cursor: pointer;
11
- align-items: center;
12
- justify-content: center;
13
- border-radius: 24px 0 0 24px;
14
- border: 0;
15
- padding-left: 0.5rem;
16
- padding-right: 0.5rem;
17
- color: black;
18
- transition-duration: 500ms;
19
- background-color: var(--color-turquoise-700);
20
- }
21
-
22
- .scroll-to-top-button:hover {
23
- background-color: var(--color-turquoise-600);
24
- }
25
-
26
- .scroll-to-top-button:active {
27
- transform: translateY(1px);
28
- }
29
-
30
- .scroll-to-top-button.visible {
31
- transform: translateX(0);
32
- }
33
-
34
- .scroll-to-top-button.hidden {
35
- transform: translateX(60px);
36
- }
@@ -1 +0,0 @@
1
- export declare const TestComponent: () => import("react/jsx-runtime").JSX.Element;
@@ -1,38 +0,0 @@
1
- export declare function isValidElementType(type: any): boolean;
2
- export declare function typeOf(object: any): any;
3
- export declare function isElement(object: any): boolean;
4
- export declare function isFragment(object: any): boolean;
5
- export declare function isPortal(object: any): boolean;
6
- export declare function isLazy(object: any): boolean;
7
- export declare function isMemo(object: any): boolean;
8
- export declare function isForwardRef(object: any): boolean;
9
- export declare function isContext(object: any): boolean;
10
- export declare function isContextProvider(object: any): boolean;
11
- export declare function isContextConsumer(object: any): boolean;
12
- declare const ReactIs: {
13
- isElement: typeof isElement;
14
- isFragment: typeof isFragment;
15
- isPortal: typeof isPortal;
16
- isLazy: typeof isLazy;
17
- isMemo: typeof isMemo;
18
- isForwardRef: typeof isForwardRef;
19
- isContext: typeof isContext;
20
- isContextProvider: typeof isContextProvider;
21
- isContextConsumer: typeof isContextConsumer;
22
- isValidElementType: typeof isValidElementType;
23
- typeOf: typeof typeOf;
24
- REACT_ELEMENT_TYPE: symbol;
25
- REACT_PORTAL_TYPE: symbol;
26
- REACT_FRAGMENT_TYPE: symbol;
27
- REACT_STRICT_MODE_TYPE: symbol;
28
- REACT_PROFILER_TYPE: symbol;
29
- REACT_PROVIDER_TYPE: symbol;
30
- REACT_CONTEXT_TYPE: symbol;
31
- REACT_SERVER_CONTEXT_TYPE: symbol;
32
- REACT_FORWARD_REF_TYPE: symbol;
33
- REACT_SUSPENSE_TYPE: symbol;
34
- REACT_SUSPENSE_LIST_TYPE: symbol;
35
- REACT_MEMO_TYPE: symbol;
36
- REACT_LAZY_TYPE: symbol;
37
- };
38
- export default ReactIs;
@@ -1,4 +0,0 @@
1
- import ReactIs from './react-is-esm';
2
- export { ReactIs };
3
- export default ReactIs;
4
- export declare const isElement: typeof import("./react-is-esm").isElement, isFragment: typeof import("./react-is-esm").isFragment, isPortal: typeof import("./react-is-esm").isPortal, isLazy: typeof import("./react-is-esm").isLazy, isMemo: typeof import("./react-is-esm").isMemo, isForwardRef: typeof import("./react-is-esm").isForwardRef, isContext: typeof import("./react-is-esm").isContext, isContextProvider: typeof import("./react-is-esm").isContextProvider, isContextConsumer: typeof import("./react-is-esm").isContextConsumer, isValidElementType: typeof import("./react-is-esm").isValidElementType, typeOf: typeof import("./react-is-esm").typeOf;
@@ -1,2 +0,0 @@
1
- import * as ReactTooltip from 'react-tooltip';
2
- export { ReactTooltip };
@@ -1,6 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react-vite';
2
- import { AccordionWrapper } from '.';
3
- declare const meta: Meta<typeof AccordionWrapper>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const AccordionWrapperStory: Story;
@@ -1,14 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface IAccordionItem {
3
- controlContent: ReactNode;
4
- panelContent: ReactNode;
5
- endContent?: ReactNode;
6
- style?: 'light' | 'dark' | 'onboarding';
7
- border?: boolean;
8
- disabled?: boolean;
9
- chevronPosition?: 'left' | 'right';
10
- active?: boolean;
11
- className?: string;
12
- }
13
- export declare const AccordionItem: ({ controlContent, panelContent, style, border, chevronPosition, disabled, active, endContent, className, }: IAccordionItem) => import("react/jsx-runtime").JSX.Element;
14
- export {};
@@ -1,11 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { AccordionItem } from './AccordionItem';
3
- declare const meta: Meta<typeof AccordionItem>;
4
- export default meta;
5
- type Story = StoryObj<typeof AccordionItem>;
6
- export declare const Default: Story;
7
- export declare const WithEndContent: Story;
8
- export declare const DarkStyle: Story;
9
- export declare const WithBorder: Story;
10
- export declare const ChevronRight: Story;
11
- export declare const Playground: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface AccordionProps {
3
- children?: ReactNode;
4
- className?: string;
5
- }
6
- export declare const AccordionWrapper: ({ children, className }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- export * from './AccordionItem';
2
- export * from './AccordionWrapper';
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ActionIcon } from './index';
3
- declare const meta: Meta<typeof ActionIcon>;
4
- export default meta;
5
- type Story = StoryObj<typeof ActionIcon>;
6
- export declare const Default: Story;
7
- export declare const Transparent: Story;
8
- export declare const Small: Story;
9
- export declare const Round: Story;
@@ -1,24 +0,0 @@
1
- import type { MouseEvent, ReactNode } from 'react';
2
- export interface ActionIconProps {
3
- 'data-testid'?: string;
4
- title: string;
5
- disabled?: boolean;
6
- type?: 'button' | 'submit' | 'reset' | undefined;
7
- styleVariant?: 'default' | 'transparent' | 'small' | 'round';
8
- onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
9
- icon?: ReactNode;
10
- iconSize?: number;
11
- strokeWidth?: number;
12
- className?: string;
13
- children?: ReactNode;
14
- /**
15
- * @deprecated Can be removed and replaced by iconSize
16
- */
17
- width?: string;
18
- /**
19
- * @deprecated Can be removed and replaced by iconSize
20
- */
21
- height?: string;
22
- }
23
- declare const ActionIcon: React.ForwardRefExoticComponent<ActionIconProps & React.RefAttributes<HTMLButtonElement>>;
24
- export { ActionIcon };
@@ -1,6 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react-vite';
2
- import { Alert } from './index';
3
- declare const meta: Meta<typeof Alert>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const AlertStory: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface IAlert {
3
- show: boolean;
4
- message: ReactNode;
5
- type: 'warning' | 'error' | 'success';
6
- 'data-testid'?: string;
7
- plain?: boolean;
8
- /**
9
- * @deprecated Can be removed entirely.
10
- */
11
- closable?: boolean;
12
- className?: string;
13
- }
14
- export declare const Alert: {
15
- ({ show, message, type, plain, className }: IAlert): import("react/jsx-runtime").JSX.Element | null;
16
- displayName: string;
17
- };
18
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { AppleAppButtonIcon } from './index';
3
- declare const meta: Meta<typeof AppleAppButtonIcon>;
4
- export default meta;
5
- type Story = StoryObj<typeof AppleAppButtonIcon>;
6
- export declare const Default: Story;
@@ -1,2 +0,0 @@
1
- import { type SVGProps } from 'react';
2
- export declare const AppleAppButtonIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { AutoCompleteInput } from './index';
3
- declare const meta: Meta<typeof AutoCompleteInput>;
4
- export default meta;
5
- type Story = StoryObj<typeof AutoCompleteInput>;
6
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import { type ChangeEvent, type KeyboardEvent, type ReactNode, type Ref } from 'react';
2
- import { type TextInputProps } from '../textInput';
3
- interface ISearchLocationFormProps extends TextInputProps {
4
- label: string;
5
- onChange: (e: ChangeEvent<HTMLInputElement>) => void;
6
- onFocus?: () => void;
7
- inputValue?: string;
8
- showSuggestions: boolean;
9
- handleOnKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void;
10
- children: ReactNode;
11
- loading?: boolean;
12
- rightSection?: ReactNode;
13
- inputRef?: Ref<HTMLInputElement>;
14
- }
15
- export declare const AutoCompleteInput: ({ label, onChange, onFocus, inputValue, showSuggestions, handleOnKeyDown, children, error, rightSection, inputRef, }: ISearchLocationFormProps) => import("react/jsx-runtime").JSX.Element;
16
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Avatar } from './index';
3
- declare const meta: Meta<typeof Avatar>;
4
- export default meta;
5
- type Story = StoryObj<typeof Avatar>;
6
- export declare const Default: Story;
@@ -1,22 +0,0 @@
1
- interface IAvatarProps {
2
- 'data-testid'?: string;
3
- src: string;
4
- alt?: string;
5
- size?: number;
6
- radius?: keyof typeof radiusFormatter;
7
- }
8
- declare const radiusFormatter: {
9
- 0: string;
10
- 2: string;
11
- 4: string;
12
- 6: string;
13
- 8: string;
14
- 10: string;
15
- 12: string;
16
- 100: string;
17
- };
18
- export declare const Avatar: {
19
- ({ src, alt, size, radius }: IAvatarProps): import("react/jsx-runtime").JSX.Element;
20
- displayName: string;
21
- };
22
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { AvatarIndicator } from './index';
3
- declare const meta: Meta<typeof AvatarIndicator>;
4
- export default meta;
5
- type Story = StoryObj<typeof AvatarIndicator>;
6
- export declare const Default: Story;
@@ -1,6 +0,0 @@
1
- interface IAvatarIndicator {
2
- indicatorCount?: number;
3
- className?: string;
4
- }
5
- export declare const AvatarIndicator: ({ indicatorCount, className }: IAvatarIndicator) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Badge } from './index';
3
- declare const meta: Meta<typeof Badge>;
4
- export default meta;
5
- type Story = StoryObj<typeof Badge>;
6
- export declare const Default: Story;
@@ -1,27 +0,0 @@
1
- interface IBadgeProps {
2
- styleVariant?: 'green-light' | 'red' | 'accent-blue' | 'warning' | 'gray' | 'black' | 'purple' | 'pink' | 'pink-light' | 'gray' | 'white';
3
- color?: 'dark' | 'gray' | 'red' | 'pink' | 'grape' | 'violet' | 'indigo' | 'blue' | 'cyan' | 'green' | 'lime' | 'yellow' | 'orange' | 'teal';
4
- /** Controls appearance */
5
- variant?: 'light' | 'filled' | 'outline' | 'dot' | 'gradient';
6
- /** Badge height and font size */
7
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
8
- /** Key of theme.radius or any valid CSS value to set border-radius, "xl" by default */
9
- radius?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
10
- /** Sets badge width to 100% of parent element, hides overflow text with text-overflow: ellipsis */
11
- fullWidth?: boolean;
12
- /** Section rendered on the left side of label */
13
- leftSection?: React.ReactNode;
14
- /** Section rendered on the right side of label */
15
- rightSection?: React.ReactNode;
16
- favorite?: boolean;
17
- /** Badge label */
18
- children?: React.ReactNode;
19
- mobile?: boolean;
20
- className?: string;
21
- badgeBorder?: boolean;
22
- }
23
- export declare const Badge: {
24
- ({ styleVariant, className, favorite, mobile, badgeBorder, ...props }: IBadgeProps): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
27
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { BigBadge } from './index';
3
- declare const meta: Meta<typeof BigBadge>;
4
- export default meta;
5
- type Story = StoryObj<typeof BigBadge>;
6
- export declare const Default: Story;
@@ -1,9 +0,0 @@
1
- import { type HTMLAttributes, type ReactNode } from 'react';
2
- interface IBigBadgeProps extends HTMLAttributes<HTMLDivElement> {
3
- className?: string;
4
- styleVariant?: 'green' | 'red' | 'white' | 'accent-blue' | 'orange';
5
- 'data-testid'?: string;
6
- children: ReactNode;
7
- }
8
- export declare const BigBadge: ({ styleVariant, className, children, ...props }: IBigBadgeProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { BreadCrumb } from './index';
3
- declare const meta: Meta<typeof BreadCrumb>;
4
- export default meta;
5
- type Story = StoryObj<typeof BreadCrumb>;
6
- export declare const Default: Story;
@@ -1,9 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface IBreadCrumb {
3
- children: ReactNode;
4
- }
5
- export declare const BreadCrumb: {
6
- ({ children }: IBreadCrumb): import("react/jsx-runtime").JSX.Element;
7
- displayName: string;
8
- };
9
- export {};
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Button } from './index';
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof Button>;
6
- export declare const Primary: Story;
7
- export declare const Secondary: Story;
8
- export declare const Outline: Story;
9
- export declare const Loading: Story;
@@ -1,10 +0,0 @@
1
- export declare const buttonVariants: {
2
- readonly primary: string;
3
- readonly secondary: string;
4
- readonly danger: string;
5
- readonly link: string;
6
- readonly outline: string;
7
- readonly search: string;
8
- readonly icon__primary: string;
9
- readonly icon__danger: string;
10
- };
@@ -1,16 +0,0 @@
1
- import { type ButtonHTMLAttributes, type ReactNode } from 'react';
2
- import { buttonVariants } from './buttonVariants';
3
- export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
4
- variant?: keyof typeof buttonVariants;
5
- ariaLabel?: string;
6
- isLoading?: boolean;
7
- block?: boolean;
8
- dataTestId?: string;
9
- icon?: ReactNode;
10
- iconRight?: boolean;
11
- children?: ReactNode;
12
- }
13
- export declare function Button({ type, variant, ariaLabel, block, isLoading, icon: iconFromProps, iconRight, onClick, className, children, dataTestId, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
14
- export declare namespace Button {
15
- var displayName: string;
16
- }
File without changes
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Checkbox } from './index';
3
- declare const meta: Meta<typeof Checkbox>;
4
- export default meta;
5
- type Story = StoryObj<typeof Checkbox>;
6
- export declare const Default: Story;
7
- export declare const Small: Story;
8
- export declare const Indeterminate: Story;
9
- export declare const ErrorState: Story;
@@ -1,11 +0,0 @@
1
- import { type InputHTMLAttributes, type ReactNode } from 'react';
2
- export interface ICheckbox extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'size' | 'disabled'> {
3
- size?: 'sm' | 'md';
4
- mediumBoldText?: boolean;
5
- label?: ReactNode;
6
- disabled?: boolean;
7
- className?: string;
8
- indeterminate?: boolean;
9
- error?: string;
10
- }
11
- export declare const Checkbox: import("react").ForwardRefExoticComponent<ICheckbox & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Divider } from './index';
3
- declare const meta: Meta<typeof Divider>;
4
- export default meta;
5
- type Story = StoryObj<typeof Divider>;
6
- export declare const Default: Story;
@@ -1,6 +0,0 @@
1
- interface DividerProps {
2
- 'data-testid'?: string;
3
- className?: string;
4
- }
5
- export declare const Divider: ({ className, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react-vite';
2
- import { FavouriteButton } from './index';
3
- declare const meta: Meta<typeof FavouriteButton>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const FavouriteButtonStory: Story;
@@ -1,24 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface IFavouriteButtonProps {
3
- onClick: () => void;
4
- favourite: boolean;
5
- iconOutline?: ReactNode;
6
- iconFilled?: ReactNode;
7
- /**
8
- * @deprecated Can be removed and replaced by iconSize
9
- */
10
- width?: string;
11
- /**
12
- * @deprecated Can be removed and replaced by iconSize
13
- */
14
- height?: string;
15
- iconSize?: number;
16
- className?: string;
17
- favouriteTitle?: string;
18
- 'data-testid'?: string;
19
- iconColor?: string;
20
- iconColorSelected?: string;
21
- styleVariant?: 'transparent' | 'small' | 'default' | 'round' | undefined;
22
- }
23
- export declare const FavouriteButton: import("react").ForwardRefExoticComponent<IFavouriteButtonProps & import("react").RefAttributes<HTMLButtonElement & HTMLAnchorElement>>;
24
- export {};
@@ -1,9 +0,0 @@
1
- interface IFilterButtonProps {
2
- onClick: () => void;
3
- hasFilters: boolean;
4
- reset: () => void;
5
- filtersText: string;
6
- resetText: string;
7
- }
8
- export declare const FilterButton: ({ onClick, hasFilters, reset, filtersText, resetText }: IFilterButtonProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { FilterButton } from './FilterButton';
3
- declare const meta: Meta<typeof FilterButton>;
4
- export default meta;
5
- type Story = StoryObj<typeof FilterButton>;
6
- export declare const Default: Story;
7
- export declare const WithActiveFilters: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- interface IFilterItemProps {
2
- title: string;
3
- isActive?: boolean;
4
- onClick?: () => void;
5
- }
6
- export declare const FilterItem: ({ title, isActive, onClick }: IFilterItemProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { FilterItem } from './FilterItem';
3
- declare const meta: Meta<typeof FilterItem>;
4
- export default meta;
5
- type Story = StoryObj<typeof FilterItem>;
6
- export declare const Default: Story;
7
- export declare const Active: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Filters } from '.';
3
- declare const meta: Meta<typeof Filters>;
4
- export default meta;
5
- type Story = StoryObj<typeof Filters>;
6
- export declare const Default: Story;
7
- export declare const WithSelectedFilters: Story;