@fluidattacks/design 1.2.16 → 1.2.18
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/design.js +210 -130
- package/dist/design.mjs +7033 -6894
- package/dist/src/components/@core/types.d.ts +7 -1
- package/dist/src/components/accordion/accordion-content/index.d.ts +3 -0
- package/dist/src/components/accordion/accordion-content/types.d.ts +15 -0
- package/dist/src/components/accordion/platform/index.stories.d.ts +6 -0
- package/dist/src/components/accordion/types.d.ts +3 -4
- package/dist/src/components/accordion/utils.d.ts +14 -6
- package/dist/src/components/grid-layout/index.stories.d.ts +2 -2
- package/dist/src/components/icon/types.d.ts +4 -0
- package/dist/src/components/language-selector/index.d.ts +1 -1
- package/dist/src/components/language-selector/index.stories.d.ts +2 -1
- package/dist/src/components/language-selector/item-list/index.d.ts +1 -1
- package/dist/src/components/language-selector/styles.d.ts +1 -5
- package/dist/src/components/language-selector/types.d.ts +1 -5
- package/dist/src/components/search-bar/dropdown-items/index.d.ts +0 -0
- package/dist/src/components/search-bar/item-searching/index.d.ts +3 -0
- package/dist/src/components/search-bar/item-searching/index.stories.d.ts +6 -0
- package/dist/src/components/search-bar/styles.d.ts +6 -0
- package/dist/src/components/search-bar/types.d.ts +13 -0
- package/dist/src/components/toggle-buttons/index.d.ts +3 -0
- package/dist/src/components/toggle-buttons/index.stories.d.ts +6 -0
- package/dist/src/components/toggle-buttons/styles.d.ts +3 -0
- package/dist/src/components/toggle-buttons/types.d.ts +12 -0
- package/dist/src/components/typography/styles.d.ts +2 -0
- package/dist/src/components/typography/types.d.ts +3 -6
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +14 -13
|
@@ -80,6 +80,7 @@ interface DefaultTheme {
|
|
|
80
80
|
white: string;
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
+
type TSize = keyof DefaultTheme["typography"]["heading"];
|
|
83
84
|
type TSpacing = keyof DefaultTheme["spacing"];
|
|
84
85
|
type TShadows = keyof DefaultTheme["shadows"];
|
|
85
86
|
type TIconSize = "xl" | "lg" | "md" | "sm" | "xs" | "xxs";
|
|
@@ -125,6 +126,11 @@ interface IIconModifiable {
|
|
|
125
126
|
iconColor?: string;
|
|
126
127
|
iconSize: TIconSize;
|
|
127
128
|
}
|
|
129
|
+
interface ISizeModifiable {
|
|
130
|
+
size: TSize;
|
|
131
|
+
sizeMd?: TSize;
|
|
132
|
+
sizeSm?: TSize;
|
|
133
|
+
}
|
|
128
134
|
interface IDisplayModifiable {
|
|
129
135
|
scroll?: "none" | "x" | "xy" | "y";
|
|
130
136
|
visibility?: Property.Visibility;
|
|
@@ -169,4 +175,4 @@ interface IInteractionModifiable {
|
|
|
169
175
|
shadowHover?: TShadows;
|
|
170
176
|
}
|
|
171
177
|
type TModifiable = IBorderModifiable & IDisplayModifiable & IInteractionModifiable & IMarginModifiable & IPaddingModifiable & IPositionModifiable & ITextModifiable;
|
|
172
|
-
export type { DefaultTheme as ThemeType, TSpacing, IPaddingModifiable, IMarginModifiable, IDisplayModifiable, IIconModifiable, ITextModifiable, IInteractionModifiable, IPositionModifiable, IBorderModifiable, TIconSize, TModifiable, TMode, TResolution, };
|
|
178
|
+
export type { DefaultTheme as ThemeType, TSpacing, IPaddingModifiable, IMarginModifiable, IDisplayModifiable, IIconModifiable, ITextModifiable, IInteractionModifiable, IPositionModifiable, IBorderModifiable, ISizeModifiable, TIconSize, TModifiable, TMode, TResolution, TSize, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IAccordionItemProps, TVariant } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Accordion Content props
|
|
4
|
+
* @property {boolean} [isSelectedAndOpen] If item in accordion is selected and open.
|
|
5
|
+
* @property {IAccordionItemProps} [item] Accordion item.
|
|
6
|
+
* @property {TVariant} [variant] Type of accordion.
|
|
7
|
+
* @property {boolean} [render] Render condition.
|
|
8
|
+
*/
|
|
9
|
+
interface IAccordionContentProps {
|
|
10
|
+
isSelectedAndOpen: boolean;
|
|
11
|
+
item: IAccordionItemProps;
|
|
12
|
+
variant: TVariant;
|
|
13
|
+
render: boolean;
|
|
14
|
+
}
|
|
15
|
+
export type { IAccordionContentProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IAccordionProps } from '../types';
|
|
3
|
+
declare const config: Meta;
|
|
4
|
+
declare const Default: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IAccordionProps>;
|
|
5
|
+
export { Default };
|
|
6
|
+
export default config;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { ICloudImageProps } from '../cloud-image';
|
|
2
1
|
type TVariant = "progress" | "simple" | "platform";
|
|
3
2
|
type TAligned = "end" | "start";
|
|
4
3
|
/**
|
|
5
4
|
* Accordion item props
|
|
6
5
|
* @property {string} [title] Accordion title.
|
|
7
6
|
* @property {string} [description] Accordion description.
|
|
8
|
-
* @property {
|
|
7
|
+
* @property {JSX.Element} [extraElement] Accordion extra components.
|
|
9
8
|
*/
|
|
10
9
|
interface IAccordionItemProps {
|
|
11
10
|
title: string;
|
|
12
|
-
description
|
|
13
|
-
|
|
11
|
+
description?: string;
|
|
12
|
+
extraElement?: JSX.Element;
|
|
14
13
|
}
|
|
15
14
|
/**
|
|
16
15
|
* Pass more than 1 item to activate progress variant
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { IconName } from '@fortawesome/free-solid-svg-icons';
|
|
2
2
|
import { Property } from 'csstype';
|
|
3
3
|
import { SetStateAction } from 'react';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare const
|
|
7
|
-
declare const
|
|
8
|
-
declare const
|
|
4
|
+
import { TAligned, TVariant } from './types';
|
|
5
|
+
import { TSize, TSpacing } from '../@core';
|
|
6
|
+
declare const getItemBorderBottom: (index: number, isSelectedAndOpen: boolean, totalItems: number, variant: TVariant) => string | undefined;
|
|
7
|
+
declare const getItemBorderTop: (isSelectedAndOpen: boolean, variant: TVariant) => string | undefined;
|
|
8
|
+
declare const getIcon: (isSelectedAndOpen: boolean, variant: TVariant) => IconName;
|
|
9
|
+
declare const getContentDisplay: (isSelectedAndOpen: boolean) => Property.Display;
|
|
9
10
|
declare const handleContentVisibility: (index: number, currentItem: number, setIsOpen: (value: SetStateAction<boolean>) => void) => void;
|
|
11
|
+
declare const getTitlePadding: (variant: TVariant) => [TSpacing, TSpacing, TSpacing, TSpacing];
|
|
12
|
+
declare const getContentPadding: (variant: TVariant) => [TSpacing, TSpacing, TSpacing, TSpacing] | undefined;
|
|
13
|
+
declare const getHoverBgColor: (variant: TVariant) => string | undefined;
|
|
14
|
+
declare const getBorderColor: (variant: TVariant) => string;
|
|
15
|
+
declare const getIconColor: (variant: TVariant) => string;
|
|
16
|
+
declare const getFlexDirection: (aligned: TAligned) => Property.FlexDirection;
|
|
17
|
+
declare const getFontSize: (variant: TVariant) => TSize;
|
|
10
18
|
declare const getDelay: (progressTime: number) => number;
|
|
11
19
|
declare const sleep: (seconds: number) => Promise<PromiseConstructor>;
|
|
12
|
-
export { getItemBorderBottom, getItemBorderTop, getContentDisplay,
|
|
20
|
+
export { getItemBorderBottom, getItemBorderTop, getBorderColor, getContentDisplay, getDelay, getFlexDirection, getFontSize, getHoverBgColor, getIconColor, getTitlePadding, getContentPadding, getIcon, handleContentVisibility, sleep, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
2
|
declare const config: Meta;
|
|
3
|
-
declare const
|
|
3
|
+
declare const PlatformLayout: () => JSX.Element;
|
|
4
4
|
declare const Large: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
5
5
|
columns: number;
|
|
6
6
|
}>;
|
|
@@ -13,5 +13,5 @@ declare const Tablet: import('@storybook/csf').AnnotatedStoryFn<import('@storybo
|
|
|
13
13
|
declare const Mobile: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
14
14
|
columns: number;
|
|
15
15
|
}>;
|
|
16
|
-
export {
|
|
16
|
+
export { PlatformLayout, Large, Medium, Tablet, Mobile };
|
|
17
17
|
export default config;
|
|
@@ -23,11 +23,15 @@ interface IIconWrapProps extends IIconModifiable, IMarginModifiable {
|
|
|
23
23
|
* Icon component props.
|
|
24
24
|
* @extends IIconWrapProps
|
|
25
25
|
* @property {string} [iconClass] The icon class from fontawesome.
|
|
26
|
+
* @property {string} [iconMask] The data-fa-mask prop of icon.
|
|
27
|
+
* @property {string} [iconTransform] The data-fa-transform prop of icon.
|
|
26
28
|
* @property {IconName} icon The icon name coming from fontawesome.
|
|
27
29
|
* @property {TIconType} iconType The icon type.
|
|
28
30
|
*/
|
|
29
31
|
interface IIconProps extends IIconWrapProps {
|
|
30
32
|
iconClass?: string;
|
|
33
|
+
iconMask?: string;
|
|
34
|
+
iconTransform?: string;
|
|
31
35
|
iconType?: TIconType;
|
|
32
36
|
}
|
|
33
37
|
export type { IIconProps, IIconWrapProps, TIconType };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ILangSelectorProps } from './types';
|
|
2
|
-
declare const LanguageSelector: ({ items, handleClick, mode,
|
|
2
|
+
declare const LanguageSelector: ({ items, handleClick, mode, }: Readonly<ILangSelectorProps>) => JSX.Element;
|
|
3
3
|
export { LanguageSelector };
|
|
@@ -2,6 +2,7 @@ import { Meta } from '@storybook/react';
|
|
|
2
2
|
import { ILangSelectorProps } from './types';
|
|
3
3
|
declare const config: Meta;
|
|
4
4
|
declare const Default: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ILangSelectorProps>;
|
|
5
|
+
declare const FullLanguage: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ILangSelectorProps>;
|
|
5
6
|
declare const DarkMode: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ILangSelectorProps>;
|
|
6
|
-
export { Default, DarkMode };
|
|
7
|
+
export { Default, FullLanguage, DarkMode };
|
|
7
8
|
export default config;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
interface IItemProps {
|
|
3
|
-
$resolution: IItemList["resolution"];
|
|
4
|
-
}
|
|
5
|
-
declare const StyledItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IItemProps>> & string;
|
|
1
|
+
declare const StyledItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
2
|
declare const StyledSelector: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
3
|
declare const StyledDropdown: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
4
|
declare const StyledLangSelector: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TMode
|
|
1
|
+
import { TMode } from '../@core';
|
|
2
2
|
/**
|
|
3
3
|
* Item list props
|
|
4
4
|
* @property {boolean} [disabled] Show the item as disabled.
|
|
@@ -13,14 +13,12 @@ interface IItem {
|
|
|
13
13
|
* @property {boolean} [disabled] Show the item as disabled.
|
|
14
14
|
* @property {TMode} [mode] The background theme: dark or light.
|
|
15
15
|
* @property {Function} [onClick] Function handler for click event.
|
|
16
|
-
* @property {TResolution} [resolution] The page resolution: desktop, or mobile.
|
|
17
16
|
* @property {string} [text] Item list text
|
|
18
17
|
*/
|
|
19
18
|
interface IItemList {
|
|
20
19
|
disabled?: boolean;
|
|
21
20
|
mode?: TMode;
|
|
22
21
|
onClick: () => void;
|
|
23
|
-
resolution?: TResolution;
|
|
24
22
|
text: string;
|
|
25
23
|
}
|
|
26
24
|
/**
|
|
@@ -28,12 +26,10 @@ interface IItemList {
|
|
|
28
26
|
* @property {IItem} [items] The custom items to make selection.
|
|
29
27
|
* @property {Function} handleClick Function handler for click event.
|
|
30
28
|
* @property {TMode} [mode] The background theme: dark or light.
|
|
31
|
-
* @property {TResolution} [resolution] The page resolution: desktop, or mobile.
|
|
32
29
|
*/
|
|
33
30
|
interface ILangSelectorProps {
|
|
34
31
|
items?: IItem[];
|
|
35
32
|
handleClick: (selection: string) => void;
|
|
36
33
|
mode?: TMode;
|
|
37
|
-
resolution?: TResolution;
|
|
38
34
|
}
|
|
39
35
|
export type { IItem, IItemList, ILangSelectorProps };
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IItemSearchingProps } from '../types';
|
|
3
|
+
declare const config: Meta;
|
|
4
|
+
declare const Default: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IItemSearchingProps>;
|
|
5
|
+
export { Default };
|
|
6
|
+
export default config;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const StyledItemSearching: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
declare const StyledSearchBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
declare const StyledSearchBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
declare const StyledDropdownItems: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export { IconWrapper, StyledDropdownItems, StyledItemSearching, StyledSearchBar, StyledSearchBox, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IIconModifiable } from '../@core';
|
|
2
|
+
/**
|
|
3
|
+
* Item searching component props.
|
|
4
|
+
* @property {IconName} [icon] Icon to show with item.
|
|
5
|
+
* @property {boolean} [showIcon] True if the item includes an icon.
|
|
6
|
+
* @property {string} title The title of the search page.
|
|
7
|
+
*/
|
|
8
|
+
interface IItemSearchingProps {
|
|
9
|
+
icon?: IIconModifiable["icon"];
|
|
10
|
+
showIcon?: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
13
|
+
export type { IItemSearchingProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IToggleButtonProps } from './types';
|
|
3
|
+
declare const config: Meta;
|
|
4
|
+
declare const Default: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IToggleButtonProps>;
|
|
5
|
+
export { Default };
|
|
6
|
+
export default config;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const ToggleContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const StyledToggleButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
+
export { StyledToggleButton, ToggleContainer };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle button component props.
|
|
3
|
+
* @property {string} [defaultSelection] The option selected by default.
|
|
4
|
+
* @property {string[]} options The list options label.
|
|
5
|
+
* @property {Function} handleClick The function to handle the click event.
|
|
6
|
+
*/
|
|
7
|
+
interface IToggleButtonProps {
|
|
8
|
+
defaultSelection?: string;
|
|
9
|
+
options: string[];
|
|
10
|
+
handleClick: (selection: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export type { IToggleButtonProps };
|
|
@@ -7,6 +7,8 @@ interface IStyledTextProps {
|
|
|
7
7
|
$letterSpacing?: TTextProps["letterSpacing"];
|
|
8
8
|
$lineSpacing?: TTextProps["lineSpacing"];
|
|
9
9
|
$size: TTextProps["size"];
|
|
10
|
+
$sizeMd: TTextProps["sizeMd"];
|
|
11
|
+
$sizeSm: TTextProps["sizeSm"];
|
|
10
12
|
$wordBreak?: TTextProps["wordBreak"];
|
|
11
13
|
}
|
|
12
14
|
declare const StyledHeading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import('../@core').IPaddingModifiable | keyof import('../@core').IMarginModifiable | keyof import('../@core').IPositionModifiable | keyof import('../@core').IBorderModifiable | keyof import('../@core').IDisplayModifiable | keyof import('../@core').ITextModifiable | keyof import('../@core').IInteractionModifiable> & import('../@core').IBorderModifiable & import('../@core').IDisplayModifiable & import('../@core').IInteractionModifiable & import('../@core').IMarginModifiable & import('../@core').IPaddingModifiable & import('../@core').IPositionModifiable & import('../@core').ITextModifiable, "ref"> & {
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { Property } from 'csstype';
|
|
2
|
-
import {
|
|
3
|
-
import { IMarginModifiable, IPaddingModifiable, ITextModifiable } from '../@core';
|
|
4
|
-
type TSize = keyof DefaultTheme["typography"]["heading"];
|
|
2
|
+
import { IMarginModifiable, IPaddingModifiable, ISizeModifiable, ITextModifiable } from '../@core';
|
|
5
3
|
/**
|
|
6
4
|
* Typography component props.
|
|
7
5
|
* @extends IMarginModifiable
|
|
8
6
|
* @extends IPaddingModifiable
|
|
7
|
+
* @extends ISizeModifiable
|
|
9
8
|
* @extends ITextModifiable
|
|
10
9
|
* @property {Display} [display] Text display layout.
|
|
11
|
-
* @property {TSize} size Text required size.
|
|
12
10
|
*/
|
|
13
|
-
interface ITypographyProps extends IMarginModifiable, IPaddingModifiable, Omit<ITextModifiable, "fontSize"> {
|
|
11
|
+
interface ITypographyProps extends IMarginModifiable, ISizeModifiable, IPaddingModifiable, Omit<ITextModifiable, "fontSize"> {
|
|
14
12
|
display?: Property.Display;
|
|
15
|
-
size: TSize;
|
|
16
13
|
}
|
|
17
14
|
type THeadingProps = ITypographyProps;
|
|
18
15
|
type TTextProps = ITypographyProps;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7,5 +7,6 @@ export * from './components/container';
|
|
|
7
7
|
export * from './components/icon';
|
|
8
8
|
export * from './components/language-selector';
|
|
9
9
|
export * from './components/logo';
|
|
10
|
+
export * from './components/toggle-buttons';
|
|
10
11
|
export * from './components/tooltip';
|
|
11
12
|
export * from './components/typography';
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-\[500px\]{height:500px}.max-h-min{max-height:-moz-min-content;max-height:min-content}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.gap-4{gap:1rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-\[500px\]{height:500px}.max-h-min{max-height:-moz-min-content;max-height:min-content}.max-w-72{max-width:18rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.flex-grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.justify-center{justify-content:center}.gap-4{gap:1rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-4{padding:1rem}.px-12{padding-left:3rem;padding-right:3rem}.px-8{padding-left:2rem;padding-right:2rem}.py-4{padding-top:1rem;padding-bottom:1rem}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@property --animate-position{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --border-angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@property --color-1{syntax: "<color>"; initial-value: #f32637; inherits: false;}@property --color-2{syntax: "<color>"; initial-value: #b8075d; inherits: false;}@property --btn-padding-x{syntax: "<length>"; initial-value: 16px; inherits: false;}@property --btn-padding-y{syntax: "<length>"; initial-value: 10px; inherits: false;}@property --btn-spacing{syntax: "<length>"; initial-value: 8px; inherits: false;}@property --grid-columns{syntax: "<number>"; initial-value: 12; inherits: false;}@property --grid-width{syntax: "<length>"; initial-value: 1440px; inherits: false;}@property --angle-grad{syntax: "<angle>"; initial-value: 45deg; inherits: false;}@property --opacity-grad{syntax: "<number>"; initial-value: 0; inherits: false;}@keyframes spinAnimation{to{--border-angle: 360deg}}@keyframes gradientAnimation{0%{--animate-position: 45deg}33%{--animate-position: -50deg}66%{--animate-position: -100deg}to{--animate-position: 45deg}}.icon-gradient{background-image:radial-gradient(#b8075d,#b8075d,#b8075d,#f32637,#b8075d,#fff,#fff,#fff,#fff);-webkit-text-fill-color:transparent}
|
package/package.json
CHANGED
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
"styled-components": "6.1.13"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@storybook/addon-essentials": "8.3.
|
|
20
|
-
"@storybook/addon-interactions": "8.3.
|
|
21
|
-
"@storybook/addon-links": "8.3.
|
|
22
|
-
"@storybook/
|
|
23
|
-
"@storybook/
|
|
24
|
-
"@storybook/react
|
|
25
|
-
"@storybook/
|
|
19
|
+
"@storybook/addon-essentials": "8.3.6",
|
|
20
|
+
"@storybook/addon-interactions": "8.3.6",
|
|
21
|
+
"@storybook/addon-links": "8.3.6",
|
|
22
|
+
"@storybook/addon-viewport": "8.3.6",
|
|
23
|
+
"@storybook/blocks": "8.3.6",
|
|
24
|
+
"@storybook/react": "8.3.6",
|
|
25
|
+
"@storybook/react-vite": "8.3.6",
|
|
26
|
+
"@storybook/test": "8.3.6",
|
|
26
27
|
"@types/react": "18.2.0",
|
|
27
28
|
"@types/react-dom": "18.2.0",
|
|
28
29
|
"@vitejs/plugin-react-swc": "3.7.1",
|
|
@@ -40,14 +41,14 @@
|
|
|
40
41
|
"postcss": "8.4.47",
|
|
41
42
|
"postcss-styled-syntax": "0.6.4",
|
|
42
43
|
"remark-gfm": "4.0.0",
|
|
43
|
-
"storybook": "8.3.
|
|
44
|
-
"stylelint": "16.
|
|
44
|
+
"storybook": "8.3.6",
|
|
45
|
+
"stylelint": "16.10.0",
|
|
45
46
|
"stylelint-config-standard": "36.0.1",
|
|
46
47
|
"tailwindcss": "3.4.13",
|
|
47
48
|
"typescript": "5.6.2",
|
|
48
|
-
"typescript-eslint": "8.
|
|
49
|
-
"vite": "5.4.
|
|
50
|
-
"vite-plugin-dts": "4.2.
|
|
49
|
+
"typescript-eslint": "8.10.0",
|
|
50
|
+
"vite": "5.4.9",
|
|
51
|
+
"vite-plugin-dts": "4.2.4"
|
|
51
52
|
},
|
|
52
53
|
"files": [
|
|
53
54
|
"README.md",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"preview": "vite preview",
|
|
79
80
|
"storybook": "storybook dev"
|
|
80
81
|
},
|
|
81
|
-
"version": "1.2.
|
|
82
|
+
"version": "1.2.18",
|
|
82
83
|
"eslintConfig": {
|
|
83
84
|
"extends": [
|
|
84
85
|
"plugin:storybook/recommended"
|