@youngonesworks/ui 0.1.79 → 0.1.81
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/dist/index.cjs +191 -113
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +90 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/.storybook/main.d.ts +0 -3
- package/dist/.storybook/preview.d.ts +0 -12
- package/dist/components/arbitraryExample.d.ts +0 -1
- package/dist/components/calendar/index.d.ts +0 -0
- package/dist/components/checkbox/Checkbox.stories.d.ts +0 -9
- package/dist/components/linkText/LinkText.stories.d.ts +0 -6
- package/dist/components/linkText/index.d.ts +0 -11
- package/dist/components/phoneInput/index.d.ts +0 -0
- package/dist/components/phoneNumberInput/PhoneInputSelect.test.d.ts +0 -1
- package/dist/components/profileMenu/ProfileMenu.d.ts +0 -20
- package/dist/components/scrollToTop/scrollToTop.css +0 -36
- package/dist/components/test/index.d.ts +0 -1
- package/dist/react-is-esm.d.ts +0 -38
- package/dist/react-is-shim.d.ts +0 -4
- package/dist/react-tooltip-shim.d.ts +0 -2
- package/dist/src/components/accordion/Accordion.stories.d.ts +0 -6
- package/dist/src/components/accordion/AccordionItem.d.ts +0 -14
- package/dist/src/components/accordion/AccordionItem.stories.d.ts +0 -11
- package/dist/src/components/accordion/AccordionItem.test.d.ts +0 -1
- package/dist/src/components/accordion/AccordionWrapper.d.ts +0 -7
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/actionIcon/ActionIcon.stories.d.ts +0 -9
- package/dist/src/components/actionIcon/index.d.ts +0 -24
- package/dist/src/components/alert/Alert.stories.d.ts +0 -6
- package/dist/src/components/alert/Alert.test.d.ts +0 -1
- package/dist/src/components/alert/index.d.ts +0 -18
- package/dist/src/components/appleAppButtonIcon/AppleAppButtonIcon.stories.d.ts +0 -6
- package/dist/src/components/appleAppButtonIcon/index.d.ts +0 -2
- package/dist/src/components/autoCompleteInput/AutoCompleteInput.stories.d.ts +0 -6
- package/dist/src/components/autoCompleteInput/index.d.ts +0 -16
- package/dist/src/components/avatar/Avatar.stories.d.ts +0 -6
- package/dist/src/components/avatar/index.d.ts +0 -22
- package/dist/src/components/avatarIndicator/AvatarIndicator.stories.d.ts +0 -6
- package/dist/src/components/avatarIndicator/index.d.ts +0 -6
- package/dist/src/components/badge/Badge.stories.d.ts +0 -6
- package/dist/src/components/badge/index.d.ts +0 -27
- package/dist/src/components/bigBadge/BigBadge.stories.d.ts +0 -6
- package/dist/src/components/bigBadge/index.d.ts +0 -9
- package/dist/src/components/breadCrumb/BreadCrumb.stories.d.ts +0 -6
- package/dist/src/components/breadCrumb/index.d.ts +0 -9
- package/dist/src/components/button/Button.stories.d.ts +0 -9
- package/dist/src/components/button/buttonVariants.d.ts +0 -10
- package/dist/src/components/button/index.d.ts +0 -16
- package/dist/src/components/calendar/index.d.ts +0 -0
- package/dist/src/components/checkbox/Checkbox.stories.d.ts +0 -9
- package/dist/src/components/checkbox/index.d.ts +0 -11
- package/dist/src/components/divider/Divider.stories.d.ts +0 -6
- package/dist/src/components/divider/index.d.ts +0 -6
- package/dist/src/components/favouriteButton/FavouriteButton.stories.d.ts +0 -6
- package/dist/src/components/favouriteButton/FavouriteButton.test.d.ts +0 -1
- package/dist/src/components/favouriteButton/index.d.ts +0 -24
- package/dist/src/components/filters/FilterButton.d.ts +0 -9
- package/dist/src/components/filters/FilterButton.stories.d.ts +0 -7
- package/dist/src/components/filters/FilterButton.test.d.ts +0 -1
- package/dist/src/components/filters/FilterItem.d.ts +0 -7
- package/dist/src/components/filters/FilterItem.stories.d.ts +0 -7
- package/dist/src/components/filters/FilterItem.test.d.ts +0 -1
- package/dist/src/components/filters/Filters.stories.d.ts +0 -7
- package/dist/src/components/filters/index.d.ts +0 -11
- package/dist/src/components/googleAppButtonIcon/GoogleAppButtonIcon.stories.d.ts +0 -6
- package/dist/src/components/googleAppButtonIcon/index.d.ts +0 -2
- package/dist/src/components/hamburgerMenuButton/HamburgerMenuButton.stories.d.ts +0 -6
- package/dist/src/components/hamburgerMenuButton/index.d.ts +0 -6
- package/dist/src/components/hr/HR.stories.d.ts +0 -6
- package/dist/src/components/hr/index.d.ts +0 -8
- package/dist/src/components/island/Island.stories.d.ts +0 -6
- package/dist/src/components/island/index.d.ts +0 -11
- package/dist/src/components/label/Label.stories.d.ts +0 -6
- package/dist/src/components/label/index.d.ts +0 -7
- package/dist/src/components/linkText/LinkText.stories.d.ts +0 -6
- package/dist/src/components/linkText/index.d.ts +0 -11
- package/dist/src/components/loader/Loader.stories.d.ts +0 -6
- package/dist/src/components/loader/index.d.ts +0 -4
- package/dist/src/components/logo/Logo.stories.d.ts +0 -6
- package/dist/src/components/logo/index.d.ts +0 -2
- package/dist/src/components/modal/Modal.stories.d.ts +0 -6
- package/dist/src/components/modal/index.d.ts +0 -19
- package/dist/src/components/navButtons/NavButtons.stories.d.ts +0 -10
- package/dist/src/components/navButtons/NavButtons.test.d.ts +0 -1
- package/dist/src/components/navButtons/index.d.ts +0 -6
- package/dist/src/components/numberField/NumberField.stories.d.ts +0 -6
- package/dist/src/components/numberField/index.d.ts +0 -14
- package/dist/src/components/pageUnavailable/PageUnavailable.stories.d.ts +0 -6
- package/dist/src/components/pageUnavailable/index.d.ts +0 -7
- package/dist/src/components/passwordInput/PasswordInput.stories.d.ts +0 -6
- package/dist/src/components/passwordInput/index.d.ts +0 -3
- package/dist/src/components/phoneInput/index.d.ts +0 -0
- package/dist/src/components/popover/Popover.stories.d.ts +0 -6
- package/dist/src/components/popover/index.d.ts +0 -15
- package/dist/src/components/progressBar/ProgressBar.stories.d.ts +0 -6
- package/dist/src/components/progressBar/index.d.ts +0 -7
- package/dist/src/components/radioButton/RadioButton.stories.d.ts +0 -6
- package/dist/src/components/radioButton/index.d.ts +0 -17
- package/dist/src/components/rating/Rating.stories.d.ts +0 -7
- package/dist/src/components/rating/index.d.ts +0 -10
- package/dist/src/components/regionSelector/RegionSelector.stories.d.ts +0 -6
- package/dist/src/components/regionSelector/index.d.ts +0 -11
- package/dist/src/components/reviews/Reviews.stories.d.ts +0 -6
- package/dist/src/components/reviews/index.d.ts +0 -13
- package/dist/src/components/scrollToTop/ScrollToTop.stories.d.ts +0 -6
- package/dist/src/components/scrollToTop/index.d.ts +0 -3
- package/dist/src/components/searchInput/SearchInput.stories.d.ts +0 -6
- package/dist/src/components/searchInput/index.d.ts +0 -1
- package/dist/src/components/select/Select.stories.d.ts +0 -6
- package/dist/src/components/select/index.d.ts +0 -26
- package/dist/src/components/settingsCard/SettingsCard.stories.d.ts +0 -6
- package/dist/src/components/settingsCard/index.d.ts +0 -14
- package/dist/src/components/skeleton/Skeleton.stories.d.ts +0 -6
- package/dist/src/components/skeleton/index.d.ts +0 -5
- package/dist/src/components/skillPill/SkillPill.stories.d.ts +0 -6
- package/dist/src/components/skillPill/index.d.ts +0 -6
- package/dist/src/components/stepper/NumberedStepper.d.ts +0 -13
- package/dist/src/components/stepper/NumberedStepper.stories.d.ts +0 -8
- package/dist/src/components/stepper/NumberedStepper.test.d.ts +0 -1
- package/dist/src/components/stepper/Stepper.d.ts +0 -16
- package/dist/src/components/stepper/Stepper.stories.d.ts +0 -9
- package/dist/src/components/stepper/Stepper.test.d.ts +0 -1
- package/dist/src/components/stepper/index.d.ts +0 -2
- package/dist/src/components/stickyMobileButton/StickyMobileButtonWrapper.stories.d.ts +0 -6
- package/dist/src/components/stickyMobileButton/index.d.ts +0 -6
- package/dist/src/components/table/Table.stories.d.ts +0 -6
- package/dist/src/components/table/index.d.ts +0 -6
- package/dist/src/components/table/tableCell/TableCell.stories.d.ts +0 -6
- package/dist/src/components/table/tableCell/index.d.ts +0 -7
- package/dist/src/components/table/tableHeader/TableHeader.stories.d.ts +0 -6
- package/dist/src/components/table/tableHeader/index.d.ts +0 -5
- package/dist/src/components/table/tableHeaderItem/TableHeaderItem.stories.d.ts +0 -6
- package/dist/src/components/table/tableHeaderItem/index.d.ts +0 -7
- package/dist/src/components/table/tableHeaderRow/TableHeaderRow.stories.d.ts +0 -6
- package/dist/src/components/table/tableHeaderRow/index.d.ts +0 -6
- package/dist/src/components/table/tableRow/TableRow.stories.d.ts +0 -6
- package/dist/src/components/table/tableRow/index.d.ts +0 -8
- package/dist/src/components/tabs/Tab.d.ts +0 -11
- package/dist/src/components/tabs/Tab.stories.d.ts +0 -15
- package/dist/src/components/tabs/Tab.test.d.ts +0 -1
- package/dist/src/components/tabs/TabsBadge.d.ts +0 -8
- package/dist/src/components/tabs/TabsBadge.stories.d.ts +0 -19
- package/dist/src/components/tabs/TabsBadge.test.d.ts +0 -1
- package/dist/src/components/tabs/TabsWrapper.d.ts +0 -17
- package/dist/src/components/tabs/index.d.ts +0 -2
- package/dist/src/components/textArea/Textarea.stories.d.ts +0 -6
- package/dist/src/components/textArea/index.d.ts +0 -8
- package/dist/src/components/textInput/TextInput.stories.d.ts +0 -8
- package/dist/src/components/textInput/index.d.ts +0 -22
- package/dist/src/components/themeIcon/ThemeIcon.stories.d.ts +0 -8
- package/dist/src/components/themeIcon/index.d.ts +0 -9
- package/dist/src/components/toggle/Toggle.stories.d.ts +0 -7
- package/dist/src/components/toggle/index.d.ts +0 -7
- package/dist/src/components/tooltip/Tooltip.stories.d.ts +0 -8
- package/dist/src/components/tooltip/index.d.ts +0 -13
- package/dist/src/components/truncatedText/TruncatedText.stories.d.ts +0 -7
- package/dist/src/components/truncatedText/index.d.ts +0 -6
- package/dist/src/components/unorderedList/UnorderedList.stories.d.ts +0 -7
- package/dist/src/components/unorderedList/index.d.ts +0 -7
- package/dist/src/components/unorderedListItem/UnorderedListItem.stories.d.ts +0 -7
- package/dist/src/components/unorderedListItem/index.d.ts +0 -9
- package/dist/src/components/unstyledButton/UnstyledButton.stories.d.ts +0 -6
- package/dist/src/components/unstyledButton/index.d.ts +0 -6
- package/dist/src/components/wysiwygEditor/WysiwygEditor.stories.d.ts +0 -7
- package/dist/src/components/wysiwygEditor/index.d.ts +0 -16
- package/dist/src/icons/IconLoading.d.ts +0 -2
- package/dist/src/icons/IconStarEmpty.d.ts +0 -2
- package/dist/src/icons/IconStarFilled.d.ts +0 -2
- package/dist/src/icons/IconStarHalfFilled.d.ts +0 -2
- package/dist/src/icons/index.d.ts +0 -4
- package/dist/src/index.d.ts +0 -60
- package/dist/src/jsx-runtime-shim.d.ts +0 -4
- package/dist/src/stories/Button.d.ts +0 -15
- package/dist/src/stories/Button.stories.d.ts +0 -23
- package/dist/src/stories/Header.d.ts +0 -12
- package/dist/src/stories/Header.stories.d.ts +0 -18
- package/dist/src/stories/Page.d.ts +0 -3
- package/dist/src/stories/Page.stories.d.ts +0 -12
- package/dist/src/utils/cn.d.ts +0 -2
- package/dist/src/utils/enums.d.ts +0 -48
- package/dist/src/utils/formatIcon.d.ts +0 -8
- package/dist/styles/arbitrary-values.css +0 -43
- package/dist/styles.css +0 -13
- package/dist/tailwind-theme.d.ts +0 -19
- package/dist/use-client.d.ts +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type HTMLAttributes } from 'react';
|
|
2
|
-
interface ITableHeaderItem extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
smallPadding?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const TableHeaderItem: ({ children, smallPadding, className }: ITableHeaderItem) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
-
interface ITableRow extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare const TableHeaderRow: ({ children, ...props }: ITableRow) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
-
interface ITableRow extends Omit<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
header?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const TableRow: import("react").ForwardRefExoticComponent<ITableRow & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode, type RefObject } from 'react';
|
|
2
|
-
export interface TabProps {
|
|
3
|
-
setActiveTab: (tab: string) => void;
|
|
4
|
-
tabId: string;
|
|
5
|
-
ref: RefObject<HTMLButtonElement | null>;
|
|
6
|
-
activeTab: boolean;
|
|
7
|
-
tabContent: ReactNode | ReactNode[] | string;
|
|
8
|
-
rightSection?: ReactNode | undefined;
|
|
9
|
-
clickFnc: (tabId: string) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const Tab: React.ForwardRefExoticComponent<Omit<TabProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").ForwardRefExoticComponent<Omit<import("./Tab").TabProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
export declare const Default: Story;
|
|
13
|
-
export declare const Active: Story;
|
|
14
|
-
export declare const WithBadge: Story;
|
|
15
|
-
export declare const LongContent: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: {
|
|
5
|
-
({ children }: import("./TabsBadge").TabsBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
};
|
|
11
|
-
tags: string[];
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof meta>;
|
|
15
|
-
export declare const SingleDigit: Story;
|
|
16
|
-
export declare const MultipleDigits: Story;
|
|
17
|
-
export declare const SingleCharacter: Story;
|
|
18
|
-
export declare const Text: Story;
|
|
19
|
-
export declare const LongText: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ReactElement, type ReactNode } from 'react';
|
|
2
|
-
interface ITab {
|
|
3
|
-
name: string;
|
|
4
|
-
value: string;
|
|
5
|
-
rightSection?: ReactElement | undefined;
|
|
6
|
-
clickFnc: (val: string) => void;
|
|
7
|
-
requiredPermissions?: string[];
|
|
8
|
-
}
|
|
9
|
-
interface TabsWrapperProps {
|
|
10
|
-
children?: ReactNode | ReactNode[];
|
|
11
|
-
defaultActive?: string;
|
|
12
|
-
setActiveTab: (value: string) => void;
|
|
13
|
-
activeTab?: string;
|
|
14
|
-
tabs: ITab[];
|
|
15
|
-
}
|
|
16
|
-
export declare const TabsWrapper: ({ setActiveTab, activeTab, tabs }: TabsWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type TextareaHTMLAttributes } from 'react';
|
|
2
|
-
export interface ITextarea extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'rows'> {
|
|
3
|
-
label?: ReactNode;
|
|
4
|
-
error?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
rows?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const Textarea: import("react").ForwardRefExoticComponent<ITextarea & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { TextInput } from './index';
|
|
3
|
-
declare const meta: Meta<typeof TextInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TextInput>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithIcon: Story;
|
|
8
|
-
export declare const Password: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { type ChangeEvent, type FocusEvent, type InputHTMLAttributes, type KeyboardEvent, type ReactNode } from 'react';
|
|
2
|
-
export interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
rightSection?: ReactNode;
|
|
4
|
-
leftSection?: ReactNode;
|
|
5
|
-
label?: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
min?: string | undefined | number;
|
|
8
|
-
max?: string | undefined | number;
|
|
9
|
-
error?: string;
|
|
10
|
-
showRightSection?: boolean;
|
|
11
|
-
step?: string;
|
|
12
|
-
autoFocus?: boolean;
|
|
13
|
-
wrapperClassName?: string;
|
|
14
|
-
maxLength?: undefined | number;
|
|
15
|
-
password?: boolean;
|
|
16
|
-
autoComplete?: string;
|
|
17
|
-
enablePasswordManagerAutofill?: boolean;
|
|
18
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
19
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
20
|
-
onKeyDown?: (e: KeyboardEvent<HTMLInputElement>) => void;
|
|
21
|
-
}
|
|
22
|
-
export declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ThemeIcon } from './index';
|
|
3
|
-
declare const meta: Meta<typeof ThemeIcon>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ThemeIcon>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Warning: Story;
|
|
8
|
-
export declare const PinkHeart: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { type HTMLAttributes } from 'react';
|
|
2
|
-
export interface IThemeIcon extends Omit<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
3
|
-
styleVariant?: 'black' | 'gray' | 'pink' | 'pink-with-background' | 'turquoise' | 'accent-blue' | 'check' | 'warning' | 'error';
|
|
4
|
-
icon: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
adjustedSize?: string | number;
|
|
7
|
-
title: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const ThemeIcon: React.ForwardRefExoticComponent<IThemeIcon & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Toggle } from './index';
|
|
3
|
-
declare const meta: Meta<typeof Toggle>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Toggle>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Disabled: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Tooltip } from './index';
|
|
3
|
-
declare const meta: Meta<typeof Tooltip>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Tooltip>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WhiteVariant: Story;
|
|
8
|
-
export declare const AlwaysOpen: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
interface ITooltipProps {
|
|
3
|
-
content: ReactNode;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
passedOpen?: boolean;
|
|
6
|
-
size?: 'sm' | 'md' | 'lg';
|
|
7
|
-
variant?: 'default' | 'white';
|
|
8
|
-
}
|
|
9
|
-
export declare const Tooltip: {
|
|
10
|
-
({ content, children, passedOpen, size, variant }: ITooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { TruncatedText } from './index';
|
|
3
|
-
declare const meta: Meta<typeof TruncatedText>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TruncatedText>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const ShortLimit: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { UnorderedList } from './index';
|
|
3
|
-
declare const meta: Meta<typeof UnorderedList>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof UnorderedList>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithAction: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type IUnorderedListProps = {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
className?: string;
|
|
4
|
-
actionItem?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
export declare const UnorderedList: ({ children, className, actionItem, ...props }: IUnorderedListProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { UnorderedListItem } from './index';
|
|
3
|
-
declare const meta: Meta<typeof UnorderedListItem>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof UnorderedListItem>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithAction: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
type IUnorderedListProps = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
actionItem?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
header?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const UnorderedListItem: ({ children, actionItem, className, header, ...props }: IUnorderedListProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ButtonHTMLAttributes } from 'react';
|
|
2
|
-
interface IUnstyledButton extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className'> {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const UnstyledButton: import("react").ForwardRefExoticComponent<IUnstyledButton & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { WysiwygEditor } from './index';
|
|
3
|
-
declare const meta: Meta<typeof WysiwygEditor>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof WysiwygEditor>;
|
|
6
|
-
export declare const Editable: Story;
|
|
7
|
-
export declare const ReadOnly: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface IWysiwygEditorImperativeHandle {
|
|
2
|
-
resetContent: (newContent: string) => void;
|
|
3
|
-
}
|
|
4
|
-
interface IWysiwygEditor {
|
|
5
|
-
id: string;
|
|
6
|
-
content?: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
forceRefresh?: boolean;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
onChange?: (v: string) => void;
|
|
11
|
-
error?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
formName?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const WysiwygEditor: import("react").ForwardRefExoticComponent<IWysiwygEditor & import("react").RefAttributes<IWysiwygEditorImperativeHandle>>;
|
|
16
|
-
export {};
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import './styles.css';
|
|
2
|
-
import './jsx-runtime-shim';
|
|
3
|
-
export { AccordionItem, AccordionWrapper } from './components/accordion';
|
|
4
|
-
export { ActionIcon } from './components/actionIcon';
|
|
5
|
-
export { Alert } from './components/alert';
|
|
6
|
-
export { AppleAppButtonIcon } from './components/appleAppButtonIcon';
|
|
7
|
-
export { AutoCompleteInput } from './components/autoCompleteInput';
|
|
8
|
-
export { Avatar } from './components/avatar';
|
|
9
|
-
export { AvatarIndicator } from './components/avatarIndicator';
|
|
10
|
-
export { Badge } from './components/badge';
|
|
11
|
-
export { BigBadge } from './components/bigBadge';
|
|
12
|
-
export { BreadCrumb } from './components/breadCrumb';
|
|
13
|
-
export { Button } from './components/button';
|
|
14
|
-
export { buttonVariants } from './components/button/buttonVariants';
|
|
15
|
-
export { Checkbox } from './components/checkbox';
|
|
16
|
-
export { Divider } from './components/divider';
|
|
17
|
-
export { Filters } from './components/filters';
|
|
18
|
-
export { GoogleAppButtonIcon } from './components/googleAppButtonIcon';
|
|
19
|
-
export { HamburgerMenuButton } from './components/hamburgerMenuButton';
|
|
20
|
-
export { HR } from './components/hr';
|
|
21
|
-
export { Island } from './components/island';
|
|
22
|
-
export { Label } from './components/label';
|
|
23
|
-
export { LinkText } from './components/linkText';
|
|
24
|
-
export { Loader } from './components/loader';
|
|
25
|
-
export { LogoBlack } from './components/logo';
|
|
26
|
-
export { Modal } from './components/modal';
|
|
27
|
-
export { NavButtons } from './components/navButtons';
|
|
28
|
-
export { NumberField } from './components/numberField';
|
|
29
|
-
export { PageUnavailable } from './components/pageUnavailable';
|
|
30
|
-
export { PasswordInput } from './components/passwordInput';
|
|
31
|
-
export { Popover } from './components/popover';
|
|
32
|
-
export { ProgressBar } from './components/progressBar';
|
|
33
|
-
export { RadioButton } from './components/radioButton';
|
|
34
|
-
export { Rating } from './components/rating';
|
|
35
|
-
export { RegionSelector } from './components/regionSelector';
|
|
36
|
-
export { Reviews } from './components/reviews';
|
|
37
|
-
export { ScrollToTop } from './components/scrollToTop';
|
|
38
|
-
export { SearchInput } from './components/searchInput';
|
|
39
|
-
export { Select } from './components/select';
|
|
40
|
-
export { SettingsCard } from './components/settingsCard';
|
|
41
|
-
export { Skeleton } from './components/skeleton';
|
|
42
|
-
export { SkillPill } from './components/skillPill';
|
|
43
|
-
export { NumberedStepper, Stepper } from './components/stepper';
|
|
44
|
-
export { StickyMobileButtonWrapper } from './components/stickyMobileButton';
|
|
45
|
-
export { Table } from './components/table';
|
|
46
|
-
export { TableCell } from './components/table/tableCell';
|
|
47
|
-
export { TableHeader } from './components/table/tableHeader';
|
|
48
|
-
export { TableHeaderItem } from './components/table/tableHeaderItem';
|
|
49
|
-
export { TableHeaderRow } from './components/table/tableHeaderRow';
|
|
50
|
-
export { TableRow } from './components/table/tableRow';
|
|
51
|
-
export { Textarea } from './components/textArea';
|
|
52
|
-
export { TextInput } from './components/textInput';
|
|
53
|
-
export { ThemeIcon } from './components/themeIcon';
|
|
54
|
-
export { Toggle } from './components/toggle';
|
|
55
|
-
export { Tooltip } from './components/tooltip';
|
|
56
|
-
export { TruncatedText } from './components/truncatedText';
|
|
57
|
-
export { UnorderedList } from './components/unorderedList';
|
|
58
|
-
export { UnorderedListItem } from './components/unorderedListItem';
|
|
59
|
-
export { UnstyledButton } from './components/unstyledButton';
|
|
60
|
-
export { WysiwygEditor } from './components/wysiwygEditor';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import './button.css';
|
|
2
|
-
export interface ButtonProps {
|
|
3
|
-
/** Is this the principal call to action on the page? */
|
|
4
|
-
primary?: boolean;
|
|
5
|
-
/** What background color to use */
|
|
6
|
-
backgroundColor?: string;
|
|
7
|
-
/** How large should the button be? */
|
|
8
|
-
size?: 'small' | 'medium' | 'large';
|
|
9
|
-
/** Button contents */
|
|
10
|
-
label: string;
|
|
11
|
-
/** Optional click handler */
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
}
|
|
14
|
-
/** Primary UI component for user interaction */
|
|
15
|
-
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ primary, size, backgroundColor, label, ...props }: import("./Button").ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
backgroundColor: {
|
|
11
|
-
control: "color";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
onClick: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const Primary: Story;
|
|
21
|
-
export declare const Secondary: Story;
|
|
22
|
-
export declare const Large: Story;
|
|
23
|
-
export declare const Small: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import './header.css';
|
|
2
|
-
type User = {
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export interface HeaderProps {
|
|
6
|
-
user?: User;
|
|
7
|
-
onLogin?: () => void;
|
|
8
|
-
onLogout?: () => void;
|
|
9
|
-
onCreateAccount?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ user, onLogin, onLogout, onCreateAccount }: import("./Header").HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
args: {
|
|
10
|
-
onLogin: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
11
|
-
onLogout: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
12
|
-
onCreateAccount: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const LoggedIn: Story;
|
|
18
|
-
export declare const LoggedOut: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("react").FC<{}>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
export declare const LoggedOut: Story;
|
|
12
|
-
export declare const LoggedIn: Story;
|
package/dist/src/utils/cn.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare enum ACTION_ICON_STYLE_VARIANT {
|
|
2
|
-
DEFAULT = "default",
|
|
3
|
-
TRANSPARENT = "transparent",
|
|
4
|
-
SMALL = "small",
|
|
5
|
-
ROUND = "round"
|
|
6
|
-
}
|
|
7
|
-
export declare enum THEME_ICON_STYLE_VARIANT {
|
|
8
|
-
PINK_WITH_BACKGROUND = "pink-with-background"
|
|
9
|
-
}
|
|
10
|
-
export declare enum COLOR {
|
|
11
|
-
PRIMARY = "primary",
|
|
12
|
-
BLACK = "black",
|
|
13
|
-
NAVY_BLUE = "navy-blue",
|
|
14
|
-
LIGHT_BLUE = "light-blue",
|
|
15
|
-
LIGHT_BLUE_DISABLED = "light-blue-disabled",
|
|
16
|
-
GREEN = "green",
|
|
17
|
-
GREEN_LIGHT = "green-light",
|
|
18
|
-
PINK = "pink",
|
|
19
|
-
PINK_LIGHT = "pink-light",
|
|
20
|
-
ORANGE = "orange",
|
|
21
|
-
ORANGE_LIGHT = "orange-light",
|
|
22
|
-
ACCENT_BLUE = "accent-blue",
|
|
23
|
-
ACCENT_BLUE_LIGHT = "accent-blue-light",
|
|
24
|
-
YELLOW = "yellow",
|
|
25
|
-
CHECK = "check",
|
|
26
|
-
WARNING = "warning",
|
|
27
|
-
ERROR = "error",
|
|
28
|
-
SUCCESS = "success",
|
|
29
|
-
WARNING_LIGHT = "warning-light",
|
|
30
|
-
ULTRA_LIGHT_BLUE = "ultra-light-blue",
|
|
31
|
-
ULTRA_LIGHT_GRAY = "ultra-light-gray",
|
|
32
|
-
TURQUOISE = "turquoise",
|
|
33
|
-
RED = "red",
|
|
34
|
-
GRAY = "gray",
|
|
35
|
-
WHITE = "white",
|
|
36
|
-
PURPLE = "purple",
|
|
37
|
-
PURPLE_LIGHT = "purple-light",
|
|
38
|
-
NAVY_BLUE_SHADES = "navy-blue-shades"
|
|
39
|
-
}
|
|
40
|
-
export declare enum REGION {
|
|
41
|
-
NETHERLANDS = "nl",
|
|
42
|
-
BELGIUM = "nl-BE",
|
|
43
|
-
UNITED_KINGDOM = "gb"
|
|
44
|
-
}
|
|
45
|
-
export declare enum TOOLTIP_COLOR {
|
|
46
|
-
DEFAULT = "default",
|
|
47
|
-
WHITE = "white"
|
|
48
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { type HTMLAttributes, type ReactNode, type SVGAttributes } from 'react';
|
|
2
|
-
import { type TablerIconsProps } from '@tabler/icons-react';
|
|
3
|
-
/**
|
|
4
|
-
* Format icon with default attributes. Icon attributes will
|
|
5
|
-
* always supersede default attributes which in term will supersede
|
|
6
|
-
* global default attributes.
|
|
7
|
-
*/
|
|
8
|
-
export default function formatIcon(icon: ReactNode, defaultFormatAttributes: (SVGAttributes<SVGElement> & HTMLAttributes<SVGElement>) | TablerIconsProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null | undefined;
|