@stokelp/ui 2.91.0 → 2.93.0
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/components/accordion/Accordion.d.ts +2 -1
- package/dist/components/action-card/ActionCard.d.ts +0 -1
- package/dist/components/alert/Alert.d.ts +2 -1
- package/dist/components/app/navigation/AppNavigation.d.ts +0 -1
- package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.d.ts +0 -1
- package/dist/components/app/price-tag/PriceTag.d.ts +0 -1
- package/dist/components/app/product-card-catalog/styled.d.ts +0 -1
- package/dist/components/avatar/styled.d.ts +0 -1
- package/dist/components/box/Box.d.ts +0 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/button/Button.d.ts +0 -1
- package/dist/components/button-filter/ButtonFilter.d.ts +0 -1
- package/dist/components/chat/Chat.d.ts +0 -1
- package/dist/components/chat/ChatDocumentMessage.d.ts +0 -1
- package/dist/components/chat/ChatMessage.d.ts +0 -1
- package/dist/components/chat/ChatProfileAvatar.d.ts +0 -1
- package/dist/components/chat/ChatTextInput.d.ts +0 -1
- package/dist/components/checkbox/Checkbox.d.ts +0 -1
- package/dist/components/checkbox-card/CheckboxCard.d.ts +0 -1
- package/dist/components/chip/Chip.d.ts +0 -1
- package/dist/components/collapsible/styled.d.ts +0 -1
- package/dist/components/combobox/Combobox.d.ts +0 -1
- package/dist/components/date-picker/DatePicker.d.ts +0 -1
- package/dist/components/dialog/styled.d.ts +0 -1
- package/dist/components/drawer/Drawer.d.ts +0 -1
- package/dist/components/flag/styled.d.ts +0 -1
- package/dist/components/form/FormControl.d.ts +0 -1
- package/dist/components/form/FormHelperText.d.ts +0 -1
- package/dist/components/form/FormLabel.d.ts +0 -1
- package/dist/components/heading/Heading.d.ts +0 -1
- package/dist/components/icon/Icon.d.ts +0 -1
- package/dist/components/icon-button/IconButton.d.ts +0 -1
- package/dist/components/illustration/Illustration.d.ts +0 -1
- package/dist/components/input/Input.d.ts +0 -1
- package/dist/components/input/InputAddon.d.ts +0 -1
- package/dist/components/input/InputGroup.d.ts +0 -1
- package/dist/components/input/PhoneNumberInput.d.ts +0 -1
- package/dist/components/menu/Menu.d.ts +0 -1
- package/dist/components/pagination/Pagination.d.ts +0 -1
- package/dist/components/popover/Popover.d.ts +0 -1
- package/dist/components/radio-button-group/RadioButtonGroup.d.ts +0 -1
- package/dist/components/radio-card-group/RadioCardGroup.d.ts +0 -1
- package/dist/components/radio-group/RadioGroup.d.ts +0 -1
- package/dist/components/select/Select.d.ts +0 -1
- package/dist/components/select-language/SelectLanguage.d.ts +0 -1
- package/dist/components/status-tag-select/StatusTagSelect.d.ts +0 -1
- package/dist/components/switch/Switch.d.ts +0 -1
- package/dist/components/switch-card/SwitchCard.d.ts +0 -1
- package/dist/components/table/Table.d.ts +0 -1
- package/dist/components/table/TableProvider.d.ts +0 -1
- package/dist/components/tabs/Tabs.d.ts +0 -1
- package/dist/components/tag/Tag.d.ts +0 -1
- package/dist/components/text/Text.d.ts +0 -1
- package/dist/components/textarea/Textarea.d.ts +0 -1
- package/dist/components/tooltip/Tooltip.d.ts +0 -1
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/shared/ConditionalWrapper.d.ts +0 -1
- package/dist/theme/recipes/checkbox-card.d.ts +0 -1
- package/dist/theme/recipes/icon-button.d.ts +0 -1
- package/dist/theme/recipes/switch-card.d.ts +0 -1
- package/dist/theme/utilities.d.ts +0 -1
- package/dist/ui.cjs +19 -19
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.css +1 -0
- package/dist/ui.js +4887 -4878
- package/dist/ui.js.map +1 -1
- package/dist/utils/slots.d.ts +0 -1
- package/package.json +11 -11
- package/dist/style.css +0 -1
|
@@ -3,7 +3,8 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { AccordionRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
6
|
+
export type { UseAccordionProps, UseAccordionReturn } from '@ark-ui/react';
|
|
7
|
+
export { useAccordion } from '@ark-ui/react';
|
|
7
8
|
export declare const Accordion: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkAccordion.RootProps & RefAttributes<HTMLDivElement>>, {}>, AccordionRecipe>;
|
|
8
9
|
export declare const AccordionItem: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
10
|
export declare const AccordionItemContent: StyledComponent<ForwardRefExoticComponent<ArkAccordion.ItemContentProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentVariants } from '../../utils/slots.tsx';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
5
5
|
import { ActionCardRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const ActionCard: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>, {}>, ActionCardRecipe>;
|
|
8
7
|
export declare const ActionCardTitle: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLHeadingElement> & HTMLAttributes<HTMLHeadingElement> & PolymorphicProps>, {}>;
|
|
9
8
|
export declare const ActionCardDescription: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLParagraphElement> & HTMLAttributes<HTMLParagraphElement> & PolymorphicProps>, {}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode, ForwardRefExoticComponent, ClassAttributes, HTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import { IconButtonProps } from '../icon-button/IconButton';
|
|
3
|
+
import { IconProps } from '..';
|
|
3
4
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
5
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
6
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
6
7
|
import { AlertRecipe } from '@stokelp/styled-system/recipes';
|
|
7
|
-
|
|
8
8
|
declare const StyledAlert: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, {}>, AlertRecipe>;
|
|
9
9
|
export interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'children' | 'title'> {
|
|
10
10
|
title: ReactNode;
|
|
@@ -13,6 +13,7 @@ export interface AlertProps extends Omit<ComponentProps<typeof StyledAlert>, 'ch
|
|
|
13
13
|
showDismissTrigger?: boolean;
|
|
14
14
|
showIcon?: boolean;
|
|
15
15
|
icon?: ReactNode;
|
|
16
|
+
iconProps?: IconProps;
|
|
16
17
|
}
|
|
17
18
|
export declare const Alert: ForwardRefExoticComponent<Omit<AlertProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
18
19
|
export {};
|
|
@@ -3,7 +3,6 @@ import { ComponentVariants } from '../../../utils/slots';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { AppNavigationRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { IconProps, TagProps } from '../..';
|
|
6
|
-
|
|
7
6
|
export declare const Root: ComponentVariants<StyledComponent<"nav", {}>, AppNavigationRecipe>;
|
|
8
7
|
export declare const Header: StyledComponent<"header", {}>;
|
|
9
8
|
export declare const Body: StyledComponent<"main", {}>;
|
|
@@ -2,7 +2,6 @@ import { SelectRootProps } from '@ark-ui/react';
|
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { appNavigationLanguageSelect } from '@stokelp/styled-system/recipes';
|
|
4
4
|
import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
|
|
5
|
-
|
|
6
5
|
type SelectItem = {
|
|
7
6
|
value: string | number;
|
|
8
7
|
label: string;
|
|
@@ -2,7 +2,6 @@ import { JsxStyleProps, RecipeVariantProps, ConditionalValue } from '@stokelp/st
|
|
|
2
2
|
import { priceTag } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { Assign, HTMLProps } from '@ark-ui/react';
|
|
4
4
|
import { ReactNode, ForwardRefExoticComponent, HTMLAttributes, DetailedHTMLProps, RefAttributes } from 'react';
|
|
5
|
-
|
|
6
5
|
type PriceTagVariants = RecipeVariantProps<typeof priceTag>;
|
|
7
6
|
export type PriceTagProps = Assign<JsxStyleProps, HTMLProps<'span'>> & PriceTagVariants & {
|
|
8
7
|
price: ReactNode;
|
|
@@ -3,7 +3,6 @@ import { ComponentVariants } from '../../../utils/slots';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
5
5
|
import { ProductCardCatalogRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, {}>, ProductCardCatalogRecipe>;
|
|
8
7
|
export declare const Title: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLHeadingElement> & HTMLAttributes<HTMLHeadingElement> & PolymorphicProps>, {}>;
|
|
9
8
|
export declare const Image: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLImageElement> & ImgHTMLAttributes<HTMLImageElement> & PolymorphicProps>, {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ReactNode, ForwardRefExoticComponent, ClassAttributes,
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { AvatarGroupVariantProps, AvatarRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { ComponentVariants } from '../../utils/slots';
|
|
6
|
-
|
|
7
6
|
declare const InnerGroup: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, AvatarGroupVariantProps>;
|
|
8
7
|
export declare const Group: ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
9
8
|
export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<Avatar.RootProps & RefAttributes<HTMLDivElement>>, {}>, AvatarRecipe>;
|
|
@@ -3,7 +3,6 @@ import { ComponentVariants } from '../../utils/slots';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { BreadcrumbRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
6
|
-
|
|
7
6
|
declare const StyledBreadcrumb: ComponentVariants<StyledComponent<"nav", {}>, BreadcrumbRecipe>;
|
|
8
7
|
export declare const BreadcrumbItem: StyledComponent<"li", {}>;
|
|
9
8
|
export declare const BreadcrumbLink: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLAnchorElement> & AnchorHTMLAttributes<HTMLAnchorElement> & PolymorphicProps>, {}>;
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, ButtonHTMLA
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { ButtonVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
export declare const Button: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>, ButtonVariantProps>;
|
|
7
6
|
export interface ButtonProps extends ComponentProps<typeof Button> {
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, ButtonHTMLA
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { ButtonFilterVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
export declare const ButtonFilter: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & PolymorphicProps>, ButtonFilterVariantProps>;
|
|
7
6
|
export interface ButtonFilterProps extends ComponentProps<typeof ButtonFilter> {
|
|
8
7
|
}
|
|
@@ -6,7 +6,6 @@ import { HTMLStyledProps, RecipeVariantProps, StyledComponent } from '@stokelp/s
|
|
|
6
6
|
import { ChatProfileAvatarProps } from './ChatProfileAvatar.tsx';
|
|
7
7
|
import { ComponentVariants } from '../../utils/slots.tsx';
|
|
8
8
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
9
|
-
|
|
10
9
|
export declare const MessageContainer: ComponentVariants<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatRecipe>;
|
|
11
10
|
export declare const Message: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>, ChatRecipe>;
|
|
12
11
|
export declare const DocumentMessage: ComponentVariants<FC<ChatDocumentMessageProps>, ChatRecipe>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
|
|
3
3
|
import { chatDocumentMessage } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
export type ChatDocumentMessageProps = {
|
|
6
5
|
documentID: number | string;
|
|
7
6
|
documentName: string;
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, HTMLAttribu
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { ChatMessageVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
export declare const ChatMessage: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, ChatMessageVariantProps>;
|
|
7
6
|
export interface ChatMessageProps extends ComponentProps<typeof ChatMessage> {
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { CheckboxRootProps, CheckboxGroupProps as ArkCheckboxGroupProps } from '
|
|
|
2
2
|
import { FC, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
3
|
import { CheckboxVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
4
|
import { Assign, JsxStyleProps } from '@stokelp/styled-system/types';
|
|
5
|
-
|
|
6
5
|
type StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>;
|
|
7
6
|
export interface CheckboxProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxVariantProps {
|
|
8
7
|
value?: string | number;
|
|
@@ -3,7 +3,6 @@ import { CheckboxCardVariantProps } from '@stokelp/styled-system/recipes';
|
|
|
3
3
|
import { Assign, JsxStyleProps, StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttributes, ImgHTMLAttributes } from 'react';
|
|
5
5
|
import { CheckboxProps } from '../checkbox';
|
|
6
|
-
|
|
7
6
|
type StyledCheckboxRootProps = Assign<JsxStyleProps, CheckboxRootProps>;
|
|
8
7
|
export interface CheckboxCardProps extends Omit<StyledCheckboxRootProps, 'value'>, CheckboxCardVariantProps {
|
|
9
8
|
value?: string | number;
|
|
@@ -3,7 +3,6 @@ import { ComponentVariants } from '../../utils/slots';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
5
5
|
import { ChipRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const Chip: ComponentVariants<StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement> & PolymorphicProps>, {}>, ChipRecipe>;
|
|
8
7
|
export declare const ChipAvatar: StyledComponent<"img", {}>;
|
|
9
8
|
export declare const ChipLabel: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement> & PolymorphicProps>, {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { CollapsibleRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const Root: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkCollapsible.RootProps & RefAttributes<HTMLDivElement>>, {}>, CollapsibleRecipe>;
|
|
8
7
|
export declare const Content: StyledComponent<ForwardRefExoticComponent<ArkCollapsible.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
8
|
export declare const Trigger: StyledComponent<ForwardRefExoticComponent<ArkCollapsible.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -2,7 +2,6 @@ import { ComboboxRootProps } from '@ark-ui/react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { combobox } from '@stokelp/styled-system/recipes';
|
|
4
4
|
import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
|
|
5
|
-
|
|
6
5
|
export type ComboboxItem = {
|
|
7
6
|
value: string | number;
|
|
8
7
|
label: string;
|
|
@@ -2,7 +2,6 @@ import { DatePicker as ArkDatePicker } from '@ark-ui/react';
|
|
|
2
2
|
import { ComponentProps, FC, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { DatepickerRecipe } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
declare const DatePickerRoot: ComponentVariants<ForwardRefExoticComponent<ArkDatePicker.RootProps & RefAttributes<HTMLDivElement>>, DatepickerRecipe>;
|
|
7
6
|
export interface DatePickerProps extends ComponentProps<typeof DatePickerRoot> {
|
|
8
7
|
placeholder?: string;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttribut
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { DialogRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
6
|
-
|
|
7
6
|
export declare const Root: ComponentVariants<(props: ArkDialog.RootProps) => import("react/jsx-runtime").JSX.Element, DialogRecipe>;
|
|
8
7
|
export declare const Backdrop: StyledComponent<ForwardRefExoticComponent<ArkDialog.BackdropProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
8
|
export declare const CloseTrigger: StyledComponent<ForwardRefExoticComponent<ArkDialog.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, HTMLAttribu
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { DrawerRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
6
|
-
|
|
7
6
|
export declare const Drawer: ComponentVariants<(props: ArkDrawer.RootProps) => import("react/jsx-runtime").JSX.Element, DrawerRecipe>;
|
|
8
7
|
export declare const DrawerBody: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLElement> & HTMLAttributes<HTMLElement> & PolymorphicProps>, {}>;
|
|
9
8
|
export declare const DrawerCloseTrigger: StyledComponent<ForwardRefExoticComponent<ArkDrawer.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, SVGProps, RefAttributes } fr
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { FlagVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
declare const flags: {
|
|
7
6
|
af: import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
al: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC } from 'react';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { FormControlVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
declare const StyledFormControl: StyledComponent<"div", FormControlVariantProps>;
|
|
6
5
|
export interface FormControlProps extends ComponentProps<typeof StyledFormControl> {
|
|
7
6
|
isInvalid?: boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { FormHelperTextVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
export declare const FormHelperText: StyledComponent<"p", FormHelperTextVariantProps>;
|
|
6
5
|
export interface FormHelperTextProps extends ComponentProps<typeof FormHelperText> {
|
|
7
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { FormLabelVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
declare const StyledFormLabel: StyledComponent<"label", FormLabelVariantProps>;
|
|
6
5
|
export interface FormLabelProps extends ComponentProps<typeof StyledFormLabel> {
|
|
7
6
|
addon?: ReactNode;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { HTMLStyledProps } from '@stokelp/styled-system/jsx';
|
|
3
3
|
import { IconVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
export interface IconProps extends IconVariantProps, HTMLStyledProps<'svg'> {
|
|
6
5
|
children: ReactElement | ReactNode;
|
|
7
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IconButtonVariantProps } from '@stokelp/styled-system/recipes';
|
|
2
2
|
import { Assign, StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { ComponentProps } from 'react';
|
|
4
|
-
|
|
5
4
|
export declare const IconButton: StyledComponent<"button", IconButtonVariantProps & {
|
|
6
5
|
"aria-label": string;
|
|
7
6
|
}>;
|
|
@@ -2,6 +2,5 @@ import { HTMLArkProps } from '@ark-ui/react/factory';
|
|
|
2
2
|
import { IllustrationVariantProps } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { Assign, JsxStyleProps } from '@stokelp/styled-system/types';
|
|
4
4
|
import { FC } from 'react';
|
|
5
|
-
|
|
6
5
|
export type IllustrationProps = Omit<Assign<JsxStyleProps, HTMLArkProps<'div'>>, 'children'> & IllustrationVariantProps;
|
|
7
6
|
export declare const Illustration: FC<IllustrationProps>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { InputVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
export declare const Input: StyledComponent<"input", InputVariantProps>;
|
|
6
5
|
export interface InputProps extends ComponentProps<typeof Input> {
|
|
7
6
|
}
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, HTMLAttribu
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { InputAddonVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
export declare const InputAddon: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & PolymorphicProps>, InputAddonVariantProps>;
|
|
7
6
|
export interface InputAddonProps extends ComponentProps<typeof InputAddon> {
|
|
8
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { InputGroupVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
-
|
|
5
4
|
export declare const InputGroup: StyledComponent<"div", InputGroupVariantProps>;
|
|
6
5
|
export interface InputGroupProps extends ComponentProps<typeof InputGroup> {
|
|
7
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Props as FeatureProps } from 'react-phone-number-input';
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { HTMLStyledProps } from '@stokelp/styled-system/jsx';
|
|
4
|
-
|
|
5
4
|
type StyledFeatureProps = FeatureProps<HTMLStyledProps<'input'>>;
|
|
6
5
|
export type PhoneNumberInputProps = Omit<StyledFeatureProps, 'onChange'> & {
|
|
7
6
|
onChange?: StyledFeatureProps['onChange'];
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { MenuRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
6
|
-
|
|
7
6
|
export declare const Root: ComponentVariants<(props: ArkMenu.RootProps) => import("react/jsx-runtime").JSX.Element, MenuRecipe>;
|
|
8
7
|
export declare const Content: StyledComponent<ForwardRefExoticComponent<Omit<ArkMenu.ContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
8
|
export declare const Item: StyledComponent<ForwardRefExoticComponent<ArkMenu.ItemProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, FC } from 'react';
|
|
|
2
2
|
import { ComponentVariants } from '../../utils/slots';
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { PaginationRecipe } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
declare const StyledPagination: ComponentVariants<StyledComponent<"div", {}>, PaginationRecipe>;
|
|
7
6
|
type StyledPaginationProps = ComponentProps<typeof StyledPagination>;
|
|
8
7
|
export interface PaginationProps extends Omit<StyledPaginationProps, 'children' | 'defaultValue' | 'onChange'> {
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ReactNode } f
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { PopoverRecipe } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
6
|
-
|
|
7
6
|
export declare const Popover: ComponentVariants<(props: ArkPopover.RootProps) => import("react/jsx-runtime").JSX.Element, PopoverRecipe>;
|
|
8
7
|
export declare const PopoverCloseTrigger: StyledComponent<ForwardRefExoticComponent<ArkPopover.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
9
8
|
export declare const PopoverTrigger: StyledComponent<ForwardRefExoticComponent<ArkPopover.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { RadioButtonGroupRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const RadioButtonGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioButtonGroupRecipe>;
|
|
8
7
|
export declare const RadioButtonGroupItem: StyledComponent<ForwardRefExoticComponent<Omit<Omit<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>, "ref">, "value"> & {
|
|
9
8
|
value: string | number | boolean;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttribut
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { ComponentVariants } from '../../utils/slots';
|
|
5
5
|
import { RadioCardGroupRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const RadioCardGroupItemTitle: StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.ItemTextProps & RefAttributes<HTMLSpanElement>>, {}>;
|
|
8
7
|
export declare const RadioCardGroupItemContent: StyledComponent<"div", {}>;
|
|
9
8
|
export declare const RadioCardGroupItemDescription: StyledComponent<"p", {}>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { RadioGroupRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const RadioGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioGroupRecipe>;
|
|
8
7
|
export declare const RadioGroupItem: StyledComponent<ForwardRefExoticComponent<Omit<Omit<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>, "ref">, "value"> & {
|
|
9
8
|
value: string | number | boolean;
|
|
@@ -2,7 +2,6 @@ import { SelectRootProps } from '@ark-ui/react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { select } from '@stokelp/styled-system/recipes';
|
|
4
4
|
import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
|
|
5
|
-
|
|
6
5
|
export interface SelectItem {
|
|
7
6
|
value: string | number;
|
|
8
7
|
label: string;
|
|
@@ -2,7 +2,6 @@ import { SelectRootProps } from '@ark-ui/react';
|
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { selectLanguage } from '@stokelp/styled-system/recipes';
|
|
4
4
|
import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
|
|
5
|
-
|
|
6
5
|
type SelectItem = {
|
|
7
6
|
value: string | number;
|
|
8
7
|
label: string;
|
|
@@ -2,7 +2,6 @@ import { StatusTagSelectVariantProps } from '@stokelp/styled-system/recipes';
|
|
|
2
2
|
import { HTMLStyledProps } from '@stokelp/styled-system/types';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
import { SelectRootProps } from '@ark-ui/react';
|
|
5
|
-
|
|
6
5
|
type Severity = StatusTagSelectVariantProps['severity'];
|
|
7
6
|
export type StatusTagSelectItem = {
|
|
8
7
|
value: string | number;
|
|
@@ -2,7 +2,6 @@ import { SwitchRootProps } from '@ark-ui/react';
|
|
|
2
2
|
import { SwitchRecipeVariantProps } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { Assign, JsxStyleProps } from '@stokelp/styled-system/types';
|
|
4
4
|
import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
|
|
6
5
|
export interface SwitchProps extends Assign<JsxStyleProps, SwitchRootProps>, SwitchRecipeVariantProps {
|
|
7
6
|
children?: ReactNode;
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { Switch as ArkSwitch, SwitchRootProps, PolymorphicProps } from '@ark-ui/
|
|
|
2
2
|
import { SwitchCardVariantProps } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { Assign, JsxStyleProps, StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttributes, ImgHTMLAttributes } from 'react';
|
|
5
|
-
|
|
6
5
|
export interface SwitchCardProps extends Assign<JsxStyleProps, SwitchRootProps>, SwitchCardVariantProps {
|
|
7
6
|
}
|
|
8
7
|
export declare const SwitchCardTitle: StyledComponent<ForwardRefExoticComponent<ArkSwitch.LabelProps & RefAttributes<HTMLSpanElement>>, {}>;
|
|
@@ -3,7 +3,6 @@ import { TableProviderProps } from './TableProvider';
|
|
|
3
3
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
4
4
|
import { TableContainerVariantProps, TableRecipe, TableGroupTitleVariantProps, TableEmptyRowVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
5
|
import { ComponentVariants } from '../../utils/slots';
|
|
6
|
-
|
|
7
6
|
export declare const TableContainer: StyledComponent<"div", TableContainerVariantProps>;
|
|
8
7
|
declare const StyledTable: ComponentVariants<StyledComponent<"table", {}>, TableRecipe>;
|
|
9
8
|
type StyledTableProps = ComponentProps<typeof StyledTable>;
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ForwardRefExoticComponent, RefAttributes, ClassAttribut
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots.tsx';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { TabsRecipe, TabsChipVariantProps } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkTab.RootProps & RefAttributes<HTMLDivElement>>, {}>, TabsRecipe>;
|
|
8
7
|
export declare const TabsContent: StyledComponent<ForwardRefExoticComponent<ArkTab.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
|
|
9
8
|
export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<ArkTab.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
|
|
@@ -2,7 +2,6 @@ import { HTMLArkProps } from '@ark-ui/react';
|
|
|
2
2
|
import { TagVariantProps } from '@stokelp/styled-system/recipes';
|
|
3
3
|
import { Assign, JsxStyleProps } from '@stokelp/styled-system/types';
|
|
4
4
|
import { ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
|
|
6
5
|
export interface TagProps extends Assign<JsxStyleProps, HTMLArkProps<'div'>>, TagVariantProps {
|
|
7
6
|
children: ReactNode;
|
|
8
7
|
}
|
|
@@ -2,7 +2,6 @@ import { ComponentProps, ForwardRefExoticComponent, ClassAttributes, TextareaHTM
|
|
|
2
2
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
3
3
|
import { PolymorphicProps } from '@ark-ui/react';
|
|
4
4
|
import { TextareaVariantProps } from '@stokelp/styled-system/recipes';
|
|
5
|
-
|
|
6
5
|
export declare const Textarea: StyledComponent<ForwardRefExoticComponent< ClassAttributes<HTMLTextAreaElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & PolymorphicProps>, TextareaVariantProps>;
|
|
7
6
|
export interface TextareaProps extends ComponentProps<typeof Textarea> {
|
|
8
7
|
}
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, FC, ReactNode } from 'react';
|
|
|
3
3
|
import { ComponentVariants } from '../../utils/slots';
|
|
4
4
|
import { StyledComponent } from '@stokelp/styled-system/types';
|
|
5
5
|
import { TooltipRecipe } from '@stokelp/styled-system/recipes';
|
|
6
|
-
|
|
7
6
|
declare const TooltipRoot: ComponentVariants<StyledComponent<(props: ArkTooltip.RootProps) => import("react/jsx-runtime").JSX.Element, {}>, TooltipRecipe>;
|
|
8
7
|
interface TooltipRootProps extends ComponentProps<typeof TooltipRoot> {
|
|
9
8
|
}
|
package/dist/icons.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.cjs","sources":["../src/icons/index.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { cloneElement, forwardRef, ReactElement, ReactSVGElement, SVGProps } from 'react'\n\nconst createIcon = (node: ReactElement<SVGProps<ReactSVGElement>, 'svg'>) => {\n return forwardRef<SVGSVGElement>((props, ref) => {\n return cloneElement(node as any, {\n height: undefined,\n ref,\n width: undefined,\n ...props,\n })\n })\n}\n\nexport const SnowflakeIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M20.1 11.1H17.247L19.533 8.814C19.884 8.463 19.884 7.896 19.533 7.545C19.182 7.194 18.606 7.194 18.255 7.545L14.7 11.1H12.9V9.3L16.455 5.745C16.806 5.394 16.806 4.818 16.455 4.467C16.104 4.116 15.537 4.116 15.186 4.467L12.9 6.753V3.9C12.9 3.405 12.495 3 12 3C11.505 3 11.1 3.405 11.1 3.9V6.753L8.814 4.467C8.463 4.116 7.896 4.116 7.545 4.467C7.194 4.818 7.194 5.394 7.545 5.745L11.1 9.3V11.1H9.3L5.745 7.545C5.394 7.194 4.818 7.194 4.467 7.545C4.116 7.896 4.116 8.463 4.467 8.814L6.753 11.1H3.9C3.405 11.1 3 11.505 3 12C3 12.495 3.405 12.9 3.9 12.9H6.753L4.467 15.186C4.116 15.537 4.116 16.104 4.467 16.455C4.818 16.806 5.394 16.806 5.745 16.455L9.3 12.9H11.1V14.7L7.545 18.255C7.194 18.606 7.194 19.182 7.545 19.533C7.896 19.884 8.463 19.884 8.814 19.533L11.1 17.247V20.1C11.1 20.595 11.505 21 12 21C12.495 21 12.9 20.595 12.9 20.1V17.247L15.186 19.533C15.537 19.884 16.104 19.884 16.455 19.533C16.806 19.182 16.806 18.606 16.455 18.255L12.9 14.7V12.9H14.7L18.255 16.455C18.606 16.806 19.182 16.806 19.533 16.455C19.884 16.104 19.884 15.537 19.533 15.186L17.247 12.9H20.1C20.595 12.9 21 12.495 21 12C21 11.505 20.595 11.1 20.1 11.1Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const WindIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.5632 8.65C18.1248 9.1 17.6215 9.44167 17.0533 9.675C16.485 9.90833 15.9168 10.025 15.3486 10.025C14.7803 10.025 14.2202 9.91267 13.6682 9.688C13.1162 9.46267 12.621 9.11667 12.1826 8.65L10.3562 6.775C10.1126 6.525 9.83663 6.33733 9.52816 6.212C9.21969 6.08733 8.90309 6.025 8.57839 6.025C8.25368 6.025 7.93709 6.08733 7.62861 6.212C7.32014 6.33733 7.04414 6.525 6.80061 6.775L5.68037 7.925C5.48554 8.125 5.25402 8.225 4.98581 8.225C4.71825 8.225 4.48706 8.125 4.29224 7.925C4.09741 7.725 4 7.48767 4 7.213C4 6.93767 4.09741 6.7 4.29224 6.5L5.41248 5.35C5.85084 4.9 6.34602 4.56233 6.89802 4.337C7.45003 4.11233 8.01015 4 8.57839 4C9.14663 4 9.70285 4.11233 10.2471 4.337C10.7906 4.56233 11.2816 4.9 11.7199 5.35L13.5464 7.225C13.8062 7.49167 14.0903 7.68733 14.3988 7.812C14.7073 7.93733 15.0238 8 15.3486 8C15.6733 8 15.9941 7.93733 16.311 7.812C16.6273 7.68733 16.9153 7.49167 17.175 7.225L18.3196 6.05C18.5145 5.85 18.7457 5.75 19.0132 5.75C19.2814 5.75 19.5129 5.85 19.7078 6.05C19.9026 6.25 20 6.48733 20 6.762C20 7.03733 19.9026 7.275 19.7078 7.475L18.5632 8.65ZM18.5632 13.65C18.1248 14.1 17.6254 14.4373 17.065 14.662C16.5052 14.8873 15.9411 15 15.3729 15C14.8047 15 14.2406 14.8873 13.6809 14.662C13.1204 14.4373 12.621 14.1 12.1826 13.65L10.3562 11.775C10.1126 11.525 9.83663 11.3373 9.52816 11.212C9.21969 11.0873 8.90309 11.025 8.57839 11.025C8.25368 11.025 7.93709 11.0873 7.62861 11.212C7.32014 11.3373 7.04414 11.525 6.80061 11.775L5.65601 12.95C5.47742 13.1333 5.25013 13.225 4.97412 13.225C4.69812 13.225 4.46271 13.1333 4.26788 12.95C4.08929 12.75 4 12.5083 4 12.225C4 11.9417 4.08929 11.7083 4.26788 11.525L5.41248 10.35C5.85084 9.9 6.34602 9.56233 6.89802 9.337C7.45003 9.11233 8.01015 9 8.57839 9C9.14663 9 9.70285 9.11233 10.2471 9.337C10.7906 9.56233 11.2816 9.9 11.7199 10.35L13.5464 12.225C13.8062 12.4917 14.0903 12.6873 14.3988 12.812C14.7073 12.9373 15.0238 13 15.3486 13C15.6733 13 15.9941 12.9373 16.311 12.812C16.6273 12.6873 16.9153 12.4917 17.175 12.225L18.3196 11.05C18.5145 10.85 18.7457 10.75 19.0132 10.75C19.2814 10.75 19.5129 10.85 19.7078 11.05C19.9026 11.25 20 11.4873 20 11.762C20 12.0373 19.9026 12.275 19.7078 12.475L18.5632 13.65ZM18.5388 18.65C18.1005 19.1 17.6053 19.4377 17.0533 19.663C16.5013 19.8877 15.9411 20 15.3729 20C14.8047 20 14.2406 19.8877 13.6809 19.663C13.1204 19.4377 12.621 19.1 12.1826 18.65L10.3318 16.775C10.0883 16.525 9.81228 16.3373 9.5038 16.212C9.19533 16.0873 8.87874 16.025 8.55403 16.025C8.22932 16.025 7.91273 16.0873 7.60426 16.212C7.29579 16.3373 7.01979 16.525 6.77626 16.775L5.65601 17.925C5.46119 18.125 5.22967 18.225 4.96146 18.225C4.6939 18.225 4.46271 18.125 4.26788 17.925C4.08929 17.7417 4 17.5083 4 17.225C4 16.9417 4.08929 16.7083 4.26788 16.525L5.41248 15.35C5.85084 14.9 6.34602 14.5623 6.89802 14.337C7.45003 14.1123 8.01015 14 8.57839 14C9.14663 14 9.70285 14.1123 10.2471 14.337C10.7906 14.5623 11.2816 14.9 11.7199 15.35L13.5464 17.225C13.8062 17.4917 14.0945 17.6873 14.4114 17.812C14.7277 17.9373 15.0482 18 15.3729 18C15.6976 18 16.0142 17.9373 16.3227 17.812C16.6312 17.6873 16.9153 17.4917 17.175 17.225L18.3196 16.05C18.4982 15.8667 18.7255 15.775 19.0015 15.775C19.2775 15.775 19.5048 15.8667 19.6834 16.05C19.8782 16.25 19.9756 16.4877 19.9756 16.763C19.9756 17.0377 19.8782 17.275 19.6834 17.475L18.5388 18.65Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const ThermometerIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M12 20C10.8933 20 9.95013 19.6101 9.1704 18.8304C8.39013 18.0501 8 17.1067 8 16C8 15.36 8.14 14.7632 8.42 14.2096C8.7 13.6565 9.09333 13.1867 9.6 12.8V6.4C9.6 5.73333 9.83333 5.16667 10.3 4.7C10.7667 4.23333 11.3333 4 12 4C12.6667 4 13.2333 4.23333 13.7 4.7C14.1667 5.16667 14.4 5.73333 14.4 6.4V12.8C14.9067 13.1867 15.3 13.6565 15.58 14.2096C15.86 14.7632 16 15.36 16 16C16 17.1067 15.6101 18.0501 14.8304 18.8304C14.0501 19.6101 13.1067 20 12 20ZM11.2 12.2H12.8V10.4H12V9.6H12.8V8H12V7.2H12.8V6.4C12.8 6.17333 12.7235 5.9832 12.5704 5.8296C12.4168 5.67653 12.2267 5.6 12 5.6C11.7733 5.6 11.5835 5.67653 11.4304 5.8296C11.2768 5.9832 11.2 6.17333 11.2 6.4V12.2Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const RecyclingIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M7.08857 7.41429L9.19714 3.91714C9.53143 3.36 10.3371 3.36 10.6714 3.91714L11.94 6.02571L10.8857 7.79143L10.0286 9.18L7.08857 7.41429ZM20.76 12.4029L19.3886 10.1229L16.4229 11.8371L18.3171 15H19.2857C19.9371 15 20.5286 14.6314 20.82 14.0486C20.94 13.8086 21 13.5514 21 13.2857C21 12.9771 20.9143 12.6771 20.76 12.4029ZM15.8571 19.2857H17.1429C17.7943 19.2857 18.3857 18.9171 18.6771 18.3343L19.92 15.8571H15.8571V14.1429L12.4286 17.5714L15.8571 21V19.2857ZM10.7143 15.8571H7.02857L6.30857 17.0657C6.05143 17.4943 6.03429 18.0257 6.25714 18.48C6.49714 18.9686 7.00286 19.2857 7.56 19.2857H10.7143V15.8571ZM7.38857 13.5857L8.87143 14.4771L7.69714 9.77143L3 10.9457L4.45714 11.82L4.10571 12.4114C3.80571 12.9171 3.78 13.5343 4.04571 14.0571L5.44286 16.8514L7.38857 13.5857ZM16.7314 5.69143L15.6171 3.83143C15.3 3.31714 14.7429 3 14.1429 3H11.1171L13.7914 7.45714L12.3171 8.34L17.0229 9.51429L18.1971 4.80857L16.7314 5.69143Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const LeafIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5 12C5 8.00222 8.26667 5 12 5H18C18.5523 5 19 5.44772 19 6V12C19 13.7889 18.3156 15.5856 16.9467 16.9467C15.5856 18.3156 13.7889 19 12 19C10.3511 19 8.83444 18.4244 7.62889 17.4678L6.64569 18.451C6.34247 18.7542 5.85086 18.7542 5.54764 18.451C5.24496 18.1483 5.24434 17.6578 5.54625 17.3543L6.53222 16.3633C5.57556 15.1656 5 13.6489 5 12ZM15.85 15.85C16.8767 14.8233 17.4444 13.4544 17.4444 12V7.55556C17.4444 7.00327 16.9967 6.55556 16.4444 6.55556H12C10.5689 6.55556 9.21556 7.10778 8.18889 8.11889C7.13111 9.13778 6.55556 10.5222 6.55556 12C6.55556 15.0022 8.99778 17.4444 12 17.4444C13.4544 17.4444 14.8233 16.8767 15.85 15.85ZM15.0303 10.0372C15.3232 9.74427 15.3232 9.2694 15.0303 8.97651C14.7374 8.68361 14.2626 8.68361 13.9697 8.97651L9.96967 12.9765C9.67678 13.2694 9.67678 13.7443 9.96967 14.0372C10.2626 14.3301 10.7374 14.3301 11.0303 14.0372L15.0303 10.0372Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n"],"names":["createIcon","node","forwardRef","props","ref","cloneElement","SnowflakeIcon","jsx","WindIcon","ThermometerIcon","RecyclingIcon","LeafIcon"],"mappings":"qJAGMA,EAAcC,GACXC,
|
|
1
|
+
{"version":3,"file":"icons.cjs","sources":["../src/icons/index.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { cloneElement, forwardRef, ReactElement, ReactSVGElement, SVGProps } from 'react'\n\nconst createIcon = (node: ReactElement<SVGProps<ReactSVGElement>, 'svg'>) => {\n return forwardRef<SVGSVGElement>((props, ref) => {\n return cloneElement(node as any, {\n height: undefined,\n ref,\n width: undefined,\n ...props,\n })\n })\n}\n\nexport const SnowflakeIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M20.1 11.1H17.247L19.533 8.814C19.884 8.463 19.884 7.896 19.533 7.545C19.182 7.194 18.606 7.194 18.255 7.545L14.7 11.1H12.9V9.3L16.455 5.745C16.806 5.394 16.806 4.818 16.455 4.467C16.104 4.116 15.537 4.116 15.186 4.467L12.9 6.753V3.9C12.9 3.405 12.495 3 12 3C11.505 3 11.1 3.405 11.1 3.9V6.753L8.814 4.467C8.463 4.116 7.896 4.116 7.545 4.467C7.194 4.818 7.194 5.394 7.545 5.745L11.1 9.3V11.1H9.3L5.745 7.545C5.394 7.194 4.818 7.194 4.467 7.545C4.116 7.896 4.116 8.463 4.467 8.814L6.753 11.1H3.9C3.405 11.1 3 11.505 3 12C3 12.495 3.405 12.9 3.9 12.9H6.753L4.467 15.186C4.116 15.537 4.116 16.104 4.467 16.455C4.818 16.806 5.394 16.806 5.745 16.455L9.3 12.9H11.1V14.7L7.545 18.255C7.194 18.606 7.194 19.182 7.545 19.533C7.896 19.884 8.463 19.884 8.814 19.533L11.1 17.247V20.1C11.1 20.595 11.505 21 12 21C12.495 21 12.9 20.595 12.9 20.1V17.247L15.186 19.533C15.537 19.884 16.104 19.884 16.455 19.533C16.806 19.182 16.806 18.606 16.455 18.255L12.9 14.7V12.9H14.7L18.255 16.455C18.606 16.806 19.182 16.806 19.533 16.455C19.884 16.104 19.884 15.537 19.533 15.186L17.247 12.9H20.1C20.595 12.9 21 12.495 21 12C21 11.505 20.595 11.1 20.1 11.1Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const WindIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.5632 8.65C18.1248 9.1 17.6215 9.44167 17.0533 9.675C16.485 9.90833 15.9168 10.025 15.3486 10.025C14.7803 10.025 14.2202 9.91267 13.6682 9.688C13.1162 9.46267 12.621 9.11667 12.1826 8.65L10.3562 6.775C10.1126 6.525 9.83663 6.33733 9.52816 6.212C9.21969 6.08733 8.90309 6.025 8.57839 6.025C8.25368 6.025 7.93709 6.08733 7.62861 6.212C7.32014 6.33733 7.04414 6.525 6.80061 6.775L5.68037 7.925C5.48554 8.125 5.25402 8.225 4.98581 8.225C4.71825 8.225 4.48706 8.125 4.29224 7.925C4.09741 7.725 4 7.48767 4 7.213C4 6.93767 4.09741 6.7 4.29224 6.5L5.41248 5.35C5.85084 4.9 6.34602 4.56233 6.89802 4.337C7.45003 4.11233 8.01015 4 8.57839 4C9.14663 4 9.70285 4.11233 10.2471 4.337C10.7906 4.56233 11.2816 4.9 11.7199 5.35L13.5464 7.225C13.8062 7.49167 14.0903 7.68733 14.3988 7.812C14.7073 7.93733 15.0238 8 15.3486 8C15.6733 8 15.9941 7.93733 16.311 7.812C16.6273 7.68733 16.9153 7.49167 17.175 7.225L18.3196 6.05C18.5145 5.85 18.7457 5.75 19.0132 5.75C19.2814 5.75 19.5129 5.85 19.7078 6.05C19.9026 6.25 20 6.48733 20 6.762C20 7.03733 19.9026 7.275 19.7078 7.475L18.5632 8.65ZM18.5632 13.65C18.1248 14.1 17.6254 14.4373 17.065 14.662C16.5052 14.8873 15.9411 15 15.3729 15C14.8047 15 14.2406 14.8873 13.6809 14.662C13.1204 14.4373 12.621 14.1 12.1826 13.65L10.3562 11.775C10.1126 11.525 9.83663 11.3373 9.52816 11.212C9.21969 11.0873 8.90309 11.025 8.57839 11.025C8.25368 11.025 7.93709 11.0873 7.62861 11.212C7.32014 11.3373 7.04414 11.525 6.80061 11.775L5.65601 12.95C5.47742 13.1333 5.25013 13.225 4.97412 13.225C4.69812 13.225 4.46271 13.1333 4.26788 12.95C4.08929 12.75 4 12.5083 4 12.225C4 11.9417 4.08929 11.7083 4.26788 11.525L5.41248 10.35C5.85084 9.9 6.34602 9.56233 6.89802 9.337C7.45003 9.11233 8.01015 9 8.57839 9C9.14663 9 9.70285 9.11233 10.2471 9.337C10.7906 9.56233 11.2816 9.9 11.7199 10.35L13.5464 12.225C13.8062 12.4917 14.0903 12.6873 14.3988 12.812C14.7073 12.9373 15.0238 13 15.3486 13C15.6733 13 15.9941 12.9373 16.311 12.812C16.6273 12.6873 16.9153 12.4917 17.175 12.225L18.3196 11.05C18.5145 10.85 18.7457 10.75 19.0132 10.75C19.2814 10.75 19.5129 10.85 19.7078 11.05C19.9026 11.25 20 11.4873 20 11.762C20 12.0373 19.9026 12.275 19.7078 12.475L18.5632 13.65ZM18.5388 18.65C18.1005 19.1 17.6053 19.4377 17.0533 19.663C16.5013 19.8877 15.9411 20 15.3729 20C14.8047 20 14.2406 19.8877 13.6809 19.663C13.1204 19.4377 12.621 19.1 12.1826 18.65L10.3318 16.775C10.0883 16.525 9.81228 16.3373 9.5038 16.212C9.19533 16.0873 8.87874 16.025 8.55403 16.025C8.22932 16.025 7.91273 16.0873 7.60426 16.212C7.29579 16.3373 7.01979 16.525 6.77626 16.775L5.65601 17.925C5.46119 18.125 5.22967 18.225 4.96146 18.225C4.6939 18.225 4.46271 18.125 4.26788 17.925C4.08929 17.7417 4 17.5083 4 17.225C4 16.9417 4.08929 16.7083 4.26788 16.525L5.41248 15.35C5.85084 14.9 6.34602 14.5623 6.89802 14.337C7.45003 14.1123 8.01015 14 8.57839 14C9.14663 14 9.70285 14.1123 10.2471 14.337C10.7906 14.5623 11.2816 14.9 11.7199 15.35L13.5464 17.225C13.8062 17.4917 14.0945 17.6873 14.4114 17.812C14.7277 17.9373 15.0482 18 15.3729 18C15.6976 18 16.0142 17.9373 16.3227 17.812C16.6312 17.6873 16.9153 17.4917 17.175 17.225L18.3196 16.05C18.4982 15.8667 18.7255 15.775 19.0015 15.775C19.2775 15.775 19.5048 15.8667 19.6834 16.05C19.8782 16.25 19.9756 16.4877 19.9756 16.763C19.9756 17.0377 19.8782 17.275 19.6834 17.475L18.5388 18.65Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const ThermometerIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M12 20C10.8933 20 9.95013 19.6101 9.1704 18.8304C8.39013 18.0501 8 17.1067 8 16C8 15.36 8.14 14.7632 8.42 14.2096C8.7 13.6565 9.09333 13.1867 9.6 12.8V6.4C9.6 5.73333 9.83333 5.16667 10.3 4.7C10.7667 4.23333 11.3333 4 12 4C12.6667 4 13.2333 4.23333 13.7 4.7C14.1667 5.16667 14.4 5.73333 14.4 6.4V12.8C14.9067 13.1867 15.3 13.6565 15.58 14.2096C15.86 14.7632 16 15.36 16 16C16 17.1067 15.6101 18.0501 14.8304 18.8304C14.0501 19.6101 13.1067 20 12 20ZM11.2 12.2H12.8V10.4H12V9.6H12.8V8H12V7.2H12.8V6.4C12.8 6.17333 12.7235 5.9832 12.5704 5.8296C12.4168 5.67653 12.2267 5.6 12 5.6C11.7733 5.6 11.5835 5.67653 11.4304 5.8296C11.2768 5.9832 11.2 6.17333 11.2 6.4V12.2Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const RecyclingIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M7.08857 7.41429L9.19714 3.91714C9.53143 3.36 10.3371 3.36 10.6714 3.91714L11.94 6.02571L10.8857 7.79143L10.0286 9.18L7.08857 7.41429ZM20.76 12.4029L19.3886 10.1229L16.4229 11.8371L18.3171 15H19.2857C19.9371 15 20.5286 14.6314 20.82 14.0486C20.94 13.8086 21 13.5514 21 13.2857C21 12.9771 20.9143 12.6771 20.76 12.4029ZM15.8571 19.2857H17.1429C17.7943 19.2857 18.3857 18.9171 18.6771 18.3343L19.92 15.8571H15.8571V14.1429L12.4286 17.5714L15.8571 21V19.2857ZM10.7143 15.8571H7.02857L6.30857 17.0657C6.05143 17.4943 6.03429 18.0257 6.25714 18.48C6.49714 18.9686 7.00286 19.2857 7.56 19.2857H10.7143V15.8571ZM7.38857 13.5857L8.87143 14.4771L7.69714 9.77143L3 10.9457L4.45714 11.82L4.10571 12.4114C3.80571 12.9171 3.78 13.5343 4.04571 14.0571L5.44286 16.8514L7.38857 13.5857ZM16.7314 5.69143L15.6171 3.83143C15.3 3.31714 14.7429 3 14.1429 3H11.1171L13.7914 7.45714L12.3171 8.34L17.0229 9.51429L18.1971 4.80857L16.7314 5.69143Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n\nexport const LeafIcon = createIcon(\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5 12C5 8.00222 8.26667 5 12 5H18C18.5523 5 19 5.44772 19 6V12C19 13.7889 18.3156 15.5856 16.9467 16.9467C15.5856 18.3156 13.7889 19 12 19C10.3511 19 8.83444 18.4244 7.62889 17.4678L6.64569 18.451C6.34247 18.7542 5.85086 18.7542 5.54764 18.451C5.24496 18.1483 5.24434 17.6578 5.54625 17.3543L6.53222 16.3633C5.57556 15.1656 5 13.6489 5 12ZM15.85 15.85C16.8767 14.8233 17.4444 13.4544 17.4444 12V7.55556C17.4444 7.00327 16.9967 6.55556 16.4444 6.55556H12C10.5689 6.55556 9.21556 7.10778 8.18889 8.11889C7.13111 9.13778 6.55556 10.5222 6.55556 12C6.55556 15.0022 8.99778 17.4444 12 17.4444C13.4544 17.4444 14.8233 16.8767 15.85 15.85ZM15.0303 10.0372C15.3232 9.74427 15.3232 9.2694 15.0303 8.97651C14.7374 8.68361 14.2626 8.68361 13.9697 8.97651L9.96967 12.9765C9.67678 13.2694 9.67678 13.7443 9.96967 14.0372C10.2626 14.3301 10.7374 14.3301 11.0303 14.0372L15.0303 10.0372Z\"\n fill=\"currentColor\"\n />\n </svg>,\n)\n"],"names":["createIcon","node","forwardRef","props","ref","cloneElement","SnowflakeIcon","jsx","WindIcon","ThermometerIcon","RecyclingIcon","LeafIcon"],"mappings":"qJAGMA,EAAcC,GACXC,EAAAA,WAA0B,CAACC,EAAOC,IAChCC,EAAAA,aAAaJ,EAAa,CAC/B,OAAQ,OACR,IAAAG,EACA,MAAO,OACP,GAAGD,CAAA,CACJ,CACF,EAGUG,EAAgBN,EAC3BO,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,EAAE,gnCACF,KAAK,cAAA,CAAA,CACP,CACF,CACF,EAEaC,EAAWR,EACtBO,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,EAAE,wvGACF,KAAK,cAAA,CAAA,CACP,CACF,CACF,EAEaE,EAAkBT,EAC7BO,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,EAAE,0pBACF,KAAK,cAAA,CAAA,CACP,CACF,CACF,EAEaG,EAAgBV,EAC3BO,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,EAAE,45BACF,KAAK,cAAA,CAAA,CACP,CACF,CACF,EAEaI,EAAWX,EACtBO,EAAAA,IAAC,MAAA,CAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,SAAAA,EAAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,22BACF,KAAK,cAAA,CAAA,CACP,CACF,CACF"}
|