am-shared-assets 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +73 -73
  3. package/package.json +5 -2
  4. package/dist/App.d.ts +0 -2
  5. package/dist/am-shared-assets.js +0 -10482
  6. package/dist/components/Alert.d.ts +0 -18
  7. package/dist/components/Badge.d.ts +0 -9
  8. package/dist/components/Button.d.ts +0 -14
  9. package/dist/components/Chip.d.ts +0 -10
  10. package/dist/components/Input.d.ts +0 -17
  11. package/dist/components/Radio.d.ts +0 -13
  12. package/dist/components/RangeSlider.d.ts +0 -13
  13. package/dist/components/Select.d.ts +0 -1
  14. package/dist/components/Switch.d.ts +0 -11
  15. package/dist/components/Tooltip.d.ts +0 -11
  16. package/dist/components/index.d.ts +0 -10
  17. package/dist/icons/components/AddIcon.d.ts +0 -5
  18. package/dist/icons/components/ArrowDownIcon.d.ts +0 -5
  19. package/dist/icons/components/ArrowRightIcon.d.ts +0 -5
  20. package/dist/icons/components/BagIcon.d.ts +0 -5
  21. package/dist/icons/components/BoxIcon.d.ts +0 -5
  22. package/dist/icons/components/BoxTimeIcon.d.ts +0 -5
  23. package/dist/icons/components/CardTickIcon.d.ts +0 -5
  24. package/dist/icons/components/CardsIcon.d.ts +0 -5
  25. package/dist/icons/components/CategoryIcon.d.ts +0 -5
  26. package/dist/icons/components/ChevronBottomIcon.d.ts +0 -5
  27. package/dist/icons/components/ChevronLeftIcon.d.ts +0 -5
  28. package/dist/icons/components/ChevronRightIcon.d.ts +0 -5
  29. package/dist/icons/components/ChevronTopIcon.d.ts +0 -5
  30. package/dist/icons/components/CloseCircleIcon.d.ts +0 -5
  31. package/dist/icons/components/CloseIcon.d.ts +0 -5
  32. package/dist/icons/components/DislikeIcon.d.ts +0 -5
  33. package/dist/icons/components/EditIcon.d.ts +0 -5
  34. package/dist/icons/components/HeartIcon.d.ts +0 -5
  35. package/dist/icons/components/HomeIcon.d.ts +0 -5
  36. package/dist/icons/components/InfoIcon.d.ts +0 -5
  37. package/dist/icons/components/LikeIcon.d.ts +0 -5
  38. package/dist/icons/components/MessageIcon.d.ts +0 -5
  39. package/dist/icons/components/MoneyIcon.d.ts +0 -5
  40. package/dist/icons/components/MoreIcon.d.ts +0 -5
  41. package/dist/icons/components/OutlineTickCircleIcon.d.ts +0 -5
  42. package/dist/icons/components/RotateBoxIcon.d.ts +0 -5
  43. package/dist/icons/components/RotateInfoIcon.d.ts +0 -5
  44. package/dist/icons/components/SearchIcon.d.ts +0 -5
  45. package/dist/icons/components/SettingIcon.d.ts +0 -5
  46. package/dist/icons/components/ShareIcon.d.ts +0 -5
  47. package/dist/icons/components/ShopIcon.d.ts +0 -5
  48. package/dist/icons/components/ShoppingCartIcon.d.ts +0 -5
  49. package/dist/icons/components/SpinnerIcon.d.ts +0 -5
  50. package/dist/icons/components/StarIcon.d.ts +0 -5
  51. package/dist/icons/components/TickCircleIcon.d.ts +0 -5
  52. package/dist/icons/components/TrashIcon.d.ts +0 -5
  53. package/dist/icons/components/TruckIcon.d.ts +0 -5
  54. package/dist/icons/components/UserIcon.d.ts +0 -5
  55. package/dist/icons/components/WalletCheckIcon.d.ts +0 -5
  56. package/dist/icons/components/WarningIcon.d.ts +0 -5
  57. package/dist/icons/index.d.ts +0 -41
  58. package/dist/index.d.ts +0 -2
  59. package/dist/main.d.ts +0 -0
  60. package/dist/stories/Button.stories.d.ts +0 -75
  61. package/dist/stories/IconGallery.stories.d.ts +0 -13
  62. package/dist/stories/RangeSlider.stories.d.ts +0 -35
  63. package/dist/stories/Select.stories.d.ts +0 -12
  64. package/dist/vite.svg +0 -1
@@ -1,18 +0,0 @@
1
- interface AlertProps {
2
- title?: string;
3
- description?: string;
4
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
5
- size?: "sm" | "md";
6
- width?: "default" | "full";
7
- rounded?: "none" | "sm" | "md" | "lg" | "full";
8
- infoIconAlignment?: "start" | "center";
9
- isInfoIcon?: boolean;
10
- hasCloseButton?: boolean;
11
- hasButton?: boolean;
12
- buttonTitle?: string;
13
- buttonTextColor?: "black" | "white";
14
- buttonClickHandler?: () => void;
15
- closeAlertHandler?: () => void;
16
- }
17
- export declare const Alert: ({ title, description, color, size, width, rounded, infoIconAlignment, isInfoIcon, hasCloseButton, hasButton, buttonTitle, buttonTextColor, buttonClickHandler, closeAlertHandler, }: AlertProps) => import("react/jsx-runtime").JSX.Element;
18
- export {};
@@ -1,9 +0,0 @@
1
- interface IBadgeProps {
2
- label: string;
3
- size?: "sm" | "md" | "lg";
4
- color?: "neutral" | "default" | "primary" | "danger" | "success";
5
- textColor?: "white" | "black";
6
- type?: "pill" | "Rectangle";
7
- }
8
- export declare const Badge: ({ label, color, type, size, textColor, }: IBadgeProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,14 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface ButtonProps {
3
- variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow";
4
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
5
- textColor?: "black" | "white";
6
- size?: "sm" | "md" | "lg";
7
- rounded?: "none" | "sm" | "md" | "lg" | "full";
8
- label?: string;
9
- icon?: ReactNode;
10
- iconPosition?: "right" | "left";
11
- width?: "full" | "auto";
12
- onClick?: () => void;
13
- }
14
- export declare const Button: ({ variant, color, textColor, size, rounded, label, icon, iconPosition, width, onClick, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- interface IChipProps {
2
- variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow" | "dot";
3
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
4
- textColor?: "black" | "white";
5
- size?: "sm" | "md" | "lg";
6
- rounded?: "none" | "sm" | "md" | "lg" | "full";
7
- label?: string;
8
- }
9
- export declare const Chip: ({ variant, color, textColor, label, size, rounded, }: IChipProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,17 +0,0 @@
1
- interface IInputProps {
2
- id: string | number;
3
- label?: string;
4
- required?: boolean;
5
- value?: string;
6
- onChange?: (value: string) => void;
7
- placeHolder?: string;
8
- variant?: "flat" | "bordered" | "faded";
9
- color?: "default" | "primary" | "success" | "warning" | "danger";
10
- size?: "sm" | "lg";
11
- rounded?: "sm" | "full";
12
- description?: string;
13
- errorMsg?: string;
14
- hasError?: boolean;
15
- }
16
- export declare const Input: ({ id, label, required, value, onChange, placeHolder, variant, color, size, rounded, description, errorMsg, hasError, }: IInputProps) => import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface IRadioProps {
3
- name: string;
4
- value?: string;
5
- checked: boolean;
6
- disabled?: boolean;
7
- onChange?: (value: string) => void;
8
- size?: "sm" | "md" | "lg";
9
- color?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral";
10
- children?: ReactNode;
11
- }
12
- export declare const Radio: ({ name, value, checked, disabled, onChange, size, color, children, }: IRadioProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,13 +0,0 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- interface IRangeSliderProps {
3
- value: number | number[];
4
- setValue: Dispatch<SetStateAction<any>>;
5
- min?: number;
6
- max?: number;
7
- step?: number;
8
- color?: "foreground" | "primary" | "secondary" | "success" | "warning" | "danger";
9
- tooltipColor?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
10
- tooltipTextColor?: "white" | "black";
11
- }
12
- export declare const RangeSlider: ({ value, setValue, min, max, step, color, tooltipColor, tooltipTextColor, }: IRangeSliderProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1 +0,0 @@
1
- export declare const Select: () => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- interface ISwitchProps {
2
- enabled: boolean;
3
- onChange: () => void;
4
- label?: string;
5
- labelPosition?: "right" | "left";
6
- size?: "sm" | "md" | "lg";
7
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
8
- disabled?: boolean;
9
- }
10
- export declare const Switch: ({ enabled, onChange, label, labelPosition, size, color, disabled, }: ISwitchProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,11 +0,0 @@
1
- interface ITooltipProps {
2
- label?: string;
3
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
4
- textColor?: "black" | "white";
5
- size?: "sm" | "md" | "lg";
6
- rounded?: "none" | "sm" | "md" | "lg" | "full";
7
- direction?: "top" | "right" | "left" | "bottom";
8
- position?: "start" | "center" | "end";
9
- }
10
- export declare const Tooltip: ({ label, color, textColor, size, rounded, direction, position, }: ITooltipProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,10 +0,0 @@
1
- export { Alert } from './Alert';
2
- export { Badge } from './Badge';
3
- export { Button } from './Button';
4
- export { Chip } from './Chip';
5
- export { Input } from './Input';
6
- export { Radio } from './Radio';
7
- export { RangeSlider } from './RangeSlider';
8
- export { Select } from './Select';
9
- export { Switch } from './Switch';
10
- export { Tooltip } from './Tooltip';
@@ -1,5 +0,0 @@
1
- declare const AddIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default AddIcon;
@@ -1,5 +0,0 @@
1
- declare const ArrowDownIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ArrowDownIcon;
@@ -1,5 +0,0 @@
1
- declare const ArrowRightIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ArrowRightIcon;
@@ -1,5 +0,0 @@
1
- declare const BagIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default BagIcon;
@@ -1,5 +0,0 @@
1
- declare const BoxIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default BoxIcon;
@@ -1,5 +0,0 @@
1
- declare const BoxTimeIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default BoxTimeIcon;
@@ -1,5 +0,0 @@
1
- declare const CardTickIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CardTickIcon;
@@ -1,5 +0,0 @@
1
- declare const CardsIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CardsIcon;
@@ -1,5 +0,0 @@
1
- declare const CategoryIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CategoryIcon;
@@ -1,5 +0,0 @@
1
- declare const ChevronBottomIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ChevronBottomIcon;
@@ -1,5 +0,0 @@
1
- declare const ChevronLeftIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ChevronLeftIcon;
@@ -1,5 +0,0 @@
1
- declare const ChevronRightIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ChevronRightIcon;
@@ -1,5 +0,0 @@
1
- declare const ChevronTopIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ChevronTopIcon;
@@ -1,5 +0,0 @@
1
- declare const CloseCircleIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CloseCircleIcon;
@@ -1,5 +0,0 @@
1
- declare const CloseIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CloseIcon;
@@ -1,5 +0,0 @@
1
- declare const DislikeIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default DislikeIcon;
@@ -1,5 +0,0 @@
1
- declare const EditIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default EditIcon;
@@ -1,5 +0,0 @@
1
- declare const HeartIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default HeartIcon;
@@ -1,5 +0,0 @@
1
- declare const HomeIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default HomeIcon;
@@ -1,5 +0,0 @@
1
- declare const InfoIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default InfoIcon;
@@ -1,5 +0,0 @@
1
- declare const LikeIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default LikeIcon;
@@ -1,5 +0,0 @@
1
- declare const MessageIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default MessageIcon;
@@ -1,5 +0,0 @@
1
- declare const MoneyIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default MoneyIcon;
@@ -1,5 +0,0 @@
1
- declare const MoreIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default MoreIcon;
@@ -1,5 +0,0 @@
1
- declare const OutlineTickCircleIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default OutlineTickCircleIcon;
@@ -1,5 +0,0 @@
1
- declare const RotateBoxIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default RotateBoxIcon;
@@ -1,5 +0,0 @@
1
- declare const RotateInfoIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default RotateInfoIcon;
@@ -1,5 +0,0 @@
1
- declare const SearchIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default SearchIcon;
@@ -1,5 +0,0 @@
1
- declare const SettingIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default SettingIcon;
@@ -1,5 +0,0 @@
1
- declare const ShareIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ShareIcon;
@@ -1,5 +0,0 @@
1
- declare const ShopIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ShopIcon;
@@ -1,5 +0,0 @@
1
- declare const ShoppingCartIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default ShoppingCartIcon;
@@ -1,5 +0,0 @@
1
- declare const SpinnerIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default SpinnerIcon;
@@ -1,5 +0,0 @@
1
- declare const StarIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default StarIcon;
@@ -1,5 +0,0 @@
1
- declare const TickCircleIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default TickCircleIcon;
@@ -1,5 +0,0 @@
1
- declare const TrashIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default TrashIcon;
@@ -1,5 +0,0 @@
1
- declare const TruckIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default TruckIcon;
@@ -1,5 +0,0 @@
1
- declare const UserIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default UserIcon;
@@ -1,5 +0,0 @@
1
- declare const WalletCheckIcon: ({ color, size, }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default WalletCheckIcon;
@@ -1,5 +0,0 @@
1
- declare const WarningIcon: ({ color, size }: {
2
- color?: string;
3
- size?: number;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default WarningIcon;
@@ -1,41 +0,0 @@
1
- import { default as CloseIcon } from './components/CloseIcon';
2
- import { default as InfoIcon } from './components/InfoIcon';
3
- import { default as WarningIcon } from './components/WarningIcon';
4
- import { default as CloseCircleIcon } from './components/CloseCircleIcon';
5
- import { default as TickCircleIcon } from './components/TickCircleIcon';
6
- import { default as ShoppingCartIcon } from './components/ShoppingCartIcon';
7
- import { default as SearchIcon } from './components/SearchIcon';
8
- import { default as ArrowRightIcon } from './components/ArrowRightIcon';
9
- import { default as ChevronLeftIcon } from './components/ChevronLeftIcon';
10
- import { default as ChevronRightIcon } from './components/ChevronRightIcon';
11
- import { default as ChevronTopIcon } from './components/ChevronTopIcon';
12
- import { default as ShopIcon } from './components/ShopIcon';
13
- import { default as StarIcon } from './components/StarIcon';
14
- import { default as HeartIcon } from './components/HeartIcon';
15
- import { default as ShareIcon } from './components/ShareIcon';
16
- import { default as TruckIcon } from './components/TruckIcon';
17
- import { default as BoxIcon } from './components/BoxIcon';
18
- import { default as CardTickIcon } from './components/CardTickIcon';
19
- import { default as CardsIcon } from './components/CardsIcon';
20
- import { default as WalletCheckIcon } from './components/WalletCheckIcon';
21
- import { default as RotateBoxIcon } from './components/RotateBoxIcon';
22
- import { default as LikeIcon } from './components/LikeIcon';
23
- import { default as DislikeIcon } from './components/DislikeIcon';
24
- import { default as RotateInfoIcon } from './components/RotateInfoIcon';
25
- import { default as ChevronBottomIcon } from './components/ChevronBottomIcon';
26
- import { default as EditIcon } from './components/EditIcon';
27
- import { default as SettingIcon } from './components/SettingIcon';
28
- import { default as UserIcon } from './components/UserIcon';
29
- import { default as BagIcon } from './components/BagIcon';
30
- import { default as CategoryIcon } from './components/CategoryIcon';
31
- import { default as HomeIcon } from './components/HomeIcon';
32
- import { default as TrashIcon } from './components/TrashIcon';
33
- import { default as MoreIcon } from './components/MoreIcon';
34
- import { default as MessageIcon } from './components/MessageIcon';
35
- import { default as AddIcon } from './components/AddIcon';
36
- import { default as BoxTimeIcon } from './components/BoxTimeIcon';
37
- import { default as MoneyIcon } from './components/MoneyIcon';
38
- import { default as ArrowDownIcon } from './components/ArrowDownIcon';
39
- import { default as SpinnerIcon } from './components/SpinnerIcon';
40
- import { default as OutlineTickCircleIcon } from './components/OutlineTickCircleIcon';
41
- export { CloseIcon, InfoIcon, WarningIcon, CloseCircleIcon, TickCircleIcon, ShoppingCartIcon, SearchIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon, ChevronTopIcon, ShopIcon, StarIcon, HeartIcon, ShareIcon, TruckIcon, BoxIcon, CardTickIcon, CardsIcon, WalletCheckIcon, RotateBoxIcon, LikeIcon, DislikeIcon, RotateInfoIcon, ChevronBottomIcon, EditIcon, SettingIcon, UserIcon, BagIcon, CategoryIcon, HomeIcon, TrashIcon, MoreIcon, MessageIcon, AddIcon, BoxTimeIcon, MoneyIcon, ArrowDownIcon, SpinnerIcon, OutlineTickCircleIcon };
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './components';
2
- export * from './icons';
package/dist/main.d.ts DELETED
File without changes
@@ -1,75 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import * as icons from "../icons";
3
- type IconName = keyof typeof icons;
4
- declare const meta: {
5
- title: string;
6
- component: (args: {
7
- icon?: IconName;
8
- iconColor?: string;
9
- iconSize?: number;
10
- variant?: "solid" | "bordered" | "light" | "flat" | "faded" | "shadow";
11
- color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
12
- textColor?: "black" | "white";
13
- size?: "sm" | "md" | "lg";
14
- width?: "full" | "auto";
15
- rounded?: "none" | "sm" | "md" | "lg" | "full";
16
- iconPosition?: "right" | "left";
17
- label?: string;
18
- }) => import("react/jsx-runtime").JSX.Element;
19
- parameters: {
20
- layout: string;
21
- docs: {
22
- source: {
23
- transform: (_: any, context: any) => string;
24
- };
25
- };
26
- };
27
- tags: string[];
28
- argTypes: {
29
- variant: {
30
- control: "select";
31
- options: string[];
32
- };
33
- color: {
34
- control: "select";
35
- options: string[];
36
- };
37
- textColor: {
38
- control: "select";
39
- options: string[];
40
- };
41
- size: {
42
- control: "select";
43
- options: string[];
44
- };
45
- width: {
46
- control: "select";
47
- options: string[];
48
- };
49
- rounded: {
50
- control: "select";
51
- options: string[];
52
- };
53
- iconPosition: {
54
- control: "select";
55
- options: string[];
56
- };
57
- icon: {
58
- control: "text";
59
- };
60
- iconColor: {
61
- control: "color";
62
- };
63
- iconSize: {
64
- control: {
65
- type: "range";
66
- min: number;
67
- max: number;
68
- step: number;
69
- };
70
- };
71
- };
72
- };
73
- export default meta;
74
- type Story = StoryObj<typeof meta>;
75
- export declare const Primary: Story;
@@ -1,13 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import * as icons from "../icons";
3
- type IconName = keyof typeof icons;
4
- type IconProps = {
5
- icon: IconName;
6
- size?: number;
7
- color?: string;
8
- };
9
- declare const Icon: ({ icon, size, color }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
10
- declare const meta: Meta<typeof Icon>;
11
- export default meta;
12
- type Story = StoryObj<typeof Icon>;
13
- export declare const Gallery: Story;
@@ -1,35 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- component: (args: any) => import("react/jsx-runtime").JSX.Element;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- argTypes: {
10
- min: {
11
- control: "number";
12
- };
13
- max: {
14
- control: "number";
15
- };
16
- step: {
17
- control: "number";
18
- };
19
- color: {
20
- control: "select";
21
- options: string[];
22
- };
23
- tooltipColor: {
24
- control: "select";
25
- options: string[];
26
- };
27
- tooltipTextColor: {
28
- control: "select";
29
- options: string[];
30
- };
31
- };
32
- };
33
- export default meta;
34
- type Story = StoryObj<typeof meta>;
35
- export declare const Primary: Story;
@@ -1,12 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- component: () => import("react/jsx-runtime").JSX.Element;
5
- parameters: {
6
- layout: string;
7
- };
8
- tags: string[];
9
- };
10
- export default meta;
11
- type Story = StoryObj<typeof meta>;
12
- export declare const Primary: Story;
package/dist/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>