myshell-react-lib 0.1.1 → 0.1.2

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 (40) hide show
  1. package/dist/index.cjs +4080 -4
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +121 -12
  4. package/dist/index.d.ts +121 -12
  5. package/dist/index.js +4022 -5
  6. package/dist/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/components/accordion.tsx +1 -1
  9. package/src/components/audio-player.tsx +4 -2
  10. package/src/components/{icons/solid/audio-playing.tsx → audio-playing.tsx} +4 -2
  11. package/src/components/badge.tsx +3 -1
  12. package/src/components/icon.tsx +1 -0
  13. package/src/components/icons/index.tsx +13 -0
  14. package/src/components/icons/outline/ArrowLeftIcon.tsx +28 -0
  15. package/src/components/icons/outline/ArrowUpTrayIcon.tsx +28 -0
  16. package/src/components/icons/outline/CheckCircleIcon.tsx +27 -0
  17. package/src/components/icons/outline/{config.tsx → ConfigIcon.tsx} +2 -2
  18. package/src/components/icons/outline/DownIcon.tsx +1 -1
  19. package/src/components/icons/outline/PencilSquareIcon.tsx +28 -0
  20. package/src/components/icons/outline/WindowIcon.tsx +26 -0
  21. package/src/components/icons/solid/CaretDownIcon.tsx +22 -0
  22. package/src/components/icons/solid/CodeIcon.tsx +25 -0
  23. package/src/components/icons/solid/DragIcon.tsx +24 -0
  24. package/src/components/icons/solid/{phone.tsx → PhoneIcon.tsx} +9 -3
  25. package/src/components/icons/solid/RectangleGroupIcon.tsx +26 -0
  26. package/src/components/marquee/marquee.tsx +1 -1
  27. package/src/components/tabs.tsx +1 -1
  28. package/src/index.ts +4 -0
  29. package/src/components/icons/outline/arrow-left.tsx +0 -16
  30. package/src/components/icons/outline/arrow-up-tray.tsx +0 -16
  31. package/src/components/icons/outline/check-circle.tsx +0 -17
  32. package/src/components/icons/outline/pencil-square.tsx +0 -16
  33. package/src/components/icons/outline/trash.tsx +0 -17
  34. package/src/components/icons/outline/window.tsx +0 -16
  35. package/src/components/icons/outline/x-circle.tsx +0 -17
  36. package/src/components/icons/outline/x-mark.tsx +0 -16
  37. package/src/components/icons/solid/caret-down.tsx +0 -14
  38. package/src/components/icons/solid/code.tsx +0 -18
  39. package/src/components/icons/solid/drag.tsx +0 -14
  40. package/src/components/icons/solid/rectangle-group.tsx +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myshell-react-lib",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "React component library with Tailwind CSS integration",
6
6
  "main": "./dist/index.cjs",
@@ -8,7 +8,7 @@ import { cn } from '@/lib/utils';
8
8
  import { Icon } from './icon';
9
9
  import { Separator } from './separator';
10
10
  import { Text } from './typography';
11
- import DownIcon from './icons/outline/DownIcon';
11
+ import { DownIcon } from './icons/outline/DownIcon';
12
12
 
13
13
  const Accordion = AccordionPrimitive.Root;
14
14
 
@@ -3,14 +3,14 @@ import { useAudio } from 'react-use';
3
3
 
4
4
  import useAudioPlayer from '@/common/hooks/useAudioPlayer';
5
5
  import { IconButton } from './button/icon-button';
6
- import AudioPlaying from './icons/solid/audio-playing';
6
+ import { AudioPlaying } from './audio-playing';
7
7
  import { durationFormatter, getPercent } from '@/common/utils/common-helper';
8
8
 
9
9
  export interface IAudioProps {
10
10
  src: string;
11
11
  }
12
12
 
13
- export default function AudioPlayer({ src }: IAudioProps) {
13
+ function AudioPlayer({ src }: IAudioProps) {
14
14
  const AudioComp = useAudioPlayer();
15
15
 
16
16
  const [audio, state, controls, ref] = useAudio(
@@ -56,3 +56,5 @@ export default function AudioPlayer({ src }: IAudioProps) {
56
56
  </div>
57
57
  );
58
58
  }
59
+
60
+ export { AudioPlayer };
@@ -5,7 +5,7 @@ export interface Props {
5
5
  bright?: boolean;
6
6
  }
7
7
 
8
- export default function AudioPlaying(props: Props) {
8
+ function AudioPlaying(props: Props) {
9
9
  const playingRef = useRef<HTMLDivElement>(null);
10
10
 
11
11
  useEffect(() => {
@@ -19,7 +19,7 @@ export default function AudioPlaying(props: Props) {
19
19
  renderer: 'svg', // 根据需要选择渲染器:svg / canvas / html
20
20
  loop: true,
21
21
  autoplay: true,
22
- animationData: require('@/common/assets/audio-playing.json')
22
+ animationData: require('@/common/assets/audio-playing.json'),
23
23
  });
24
24
  }
25
25
 
@@ -29,3 +29,5 @@ export default function AudioPlaying(props: Props) {
29
29
 
30
30
  return <div ref={playingRef} className="size-3" />;
31
31
  }
32
+
33
+ export { AudioPlaying };
@@ -43,7 +43,7 @@ interface BadgeProps extends VariantProps<typeof badgeVariants> {
43
43
  count?: number;
44
44
  }
45
45
 
46
- export default function Badge(props: BadgeProps) {
46
+ function Badge(props: BadgeProps) {
47
47
  const { status, count, className } = props;
48
48
  const unReadCount = count && count < 100 ? count : '99+';
49
49
 
@@ -63,3 +63,5 @@ export default function Badge(props: BadgeProps) {
63
63
  </div>
64
64
  );
65
65
  }
66
+
67
+ export { Badge };
@@ -45,6 +45,7 @@ const iconVariants = cva('inline-flex shrink-0', {
45
45
  disabled: 'text-Colors-Foreground-Disabled',
46
46
  bolder: 'text-Colors-Foreground-Bolder',
47
47
  inverse: 'text-Colors-Foreground-Static-White',
48
+ critical: 'text-Colors-Foreground-Critical-Default',
48
49
  },
49
50
  rotate: {
50
51
  '45': 'rotate-45',
@@ -0,0 +1,13 @@
1
+ export * from './outline/DownIcon';
2
+ export * from './outline/ArrowLeftIcon';
3
+ export * from './outline/ArrowUpTrayIcon';
4
+ export * from './outline/WindowIcon';
5
+ export * from './outline/CheckCircleIcon';
6
+ export * from './outline/FilterIcon';
7
+ export * from './outline/PencilSquareIcon';
8
+ export * from './outline/ConfigIcon';
9
+ export * from './solid/CaretDownIcon';
10
+ export * from './solid/CodeIcon';
11
+ export * from './solid/DragIcon';
12
+ export * from './solid/PhoneIcon';
13
+ export * from './solid/RectangleGroupIcon';
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const ArrowLeftIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ viewBox="0 0 24 24"
12
+ fill="none"
13
+ strokeWidth="1.5"
14
+ stroke="currentColor"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <path
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"
21
+ />
22
+ </svg>
23
+ </Icon>
24
+ );
25
+ }
26
+ );
27
+
28
+ export { ArrowLeftIcon };
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const ArrowUpTrayIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ viewBox="0 0 24 24"
12
+ fill="none"
13
+ strokeWidth="1.5"
14
+ stroke="currentColor"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <path
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"
21
+ />
22
+ </svg>
23
+ </Icon>
24
+ );
25
+ }
26
+ );
27
+
28
+ export { ArrowUpTrayIcon };
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const CheckCircleIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ viewBox="0 0 24 24"
12
+ fill="currentColor"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ >
15
+ <path d="M15.4359 9.1397C15.773 9.38046 15.8511 9.84887 15.6103 10.1859L11.8603 15.4359C11.7322 15.6153 11.5316 15.7293 11.3119 15.7474C11.0921 15.7656 10.8756 15.6862 10.7197 15.5303L8.46967 13.2803C8.17678 12.9874 8.17678 12.5126 8.46967 12.2197C8.76256 11.9268 9.23744 11.9268 9.53033 12.2197L11.1543 13.8436L14.3897 9.31407C14.6305 8.97701 15.0989 8.89894 15.4359 9.1397Z" />
16
+ <path
17
+ fillRule="evenodd"
18
+ clipRule="evenodd"
19
+ d="M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z"
20
+ />
21
+ </svg>
22
+ </Icon>
23
+ );
24
+ }
25
+ );
26
+
27
+ export { CheckCircleIcon };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Icon, IconProps } from '../../icon';
3
3
 
4
- const Config = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
4
+ const ConfigIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
5
  return (
6
6
  <Icon {...props}>
7
7
  <svg
@@ -39,4 +39,4 @@ const Config = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
39
39
  );
40
40
  });
41
41
 
42
- export { Config };
42
+ export { ConfigIcon };
@@ -15,4 +15,4 @@ function DownIcon({ className }: { className?: string }) {
15
15
  );
16
16
  }
17
17
 
18
- export default DownIcon;
18
+ export { DownIcon };
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const PencilSquareIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ fill="none"
13
+ viewBox="0 0 24 24"
14
+ strokeWidth="1.5"
15
+ stroke="currentColor"
16
+ >
17
+ <path
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"
21
+ />
22
+ </svg>
23
+ </Icon>
24
+ );
25
+ }
26
+ );
27
+
28
+ export { PencilSquareIcon };
@@ -0,0 +1,26 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const WindowIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
+ return (
6
+ <Icon {...props}>
7
+ <svg
8
+ ref={ref}
9
+ className="w-full h-full"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ viewBox="0 0 24 24"
12
+ fill="none"
13
+ strokeWidth="1.5"
14
+ stroke="currentColor"
15
+ >
16
+ <path
17
+ strokeLinecap="round"
18
+ strokeLinejoin="round"
19
+ d="M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"
20
+ />
21
+ </svg>
22
+ </Icon>
23
+ );
24
+ });
25
+
26
+ export { WindowIcon };
@@ -0,0 +1,22 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const CaretDownIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ viewBox="0 0 24 24"
12
+ fill="currentColor"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ >
15
+ <path d="M13.5119 17.7818C12.7143 18.7028 11.2857 18.7028 10.4881 17.7818L2.74159 8.83689C1.61984 7.54161 2.53995 5.52759 4.25345 5.52759L19.7466 5.52759C21.4601 5.52759 22.3802 7.54161 21.2584 8.8369L13.5119 17.7818Z" />
16
+ </svg>
17
+ </Icon>
18
+ );
19
+ }
20
+ );
21
+
22
+ export { CaretDownIcon };
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const CodeIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
+ return (
6
+ <Icon {...props}>
7
+ <svg
8
+ ref={ref}
9
+ className="w-full h-full"
10
+ viewBox="0 0 24 24"
11
+ fill="currentColor"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <path d="M15.3995 7.375C15.6066 7.01628 15.4837 6.55759 15.125 6.35048C14.7663 6.14337 14.3076 6.26628 14.1005 6.625L8.35048 16.5843C8.14337 16.943 8.26628 17.4017 8.625 17.6088C8.98372 17.8159 9.44241 17.693 9.64952 17.3343L15.3995 7.375Z" />
15
+ <path
16
+ fillRule="evenodd"
17
+ clipRule="evenodd"
18
+ d="M6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H6ZM4.5 6C4.5 5.17157 5.17157 4.5 6 4.5H18C18.8284 4.5 19.5 5.17157 19.5 6V18C19.5 18.8284 18.8284 19.5 18 19.5H6C5.17157 19.5 4.5 18.8284 4.5 18V6Z"
19
+ />
20
+ </svg>
21
+ </Icon>
22
+ );
23
+ });
24
+
25
+ export { CodeIcon };
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const DragIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
+ return (
6
+ <Icon {...props}>
7
+ <svg
8
+ ref={ref}
9
+ className="w-full h-full"
10
+ viewBox="0 0 24 24"
11
+ fill="currentColor"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <path
15
+ fillRule="evenodd"
16
+ clipRule="evenodd"
17
+ d="M7.5 5C7.5 4.17157 8.17157 3.5 9 3.5C9.82843 3.5 10.5 4.17157 10.5 5C10.5 5.82843 9.82843 6.5 9 6.5C8.17157 6.5 7.5 5.82843 7.5 5ZM13.5 5C13.5 4.17157 14.1716 3.5 15 3.5C15.8284 3.5 16.5 4.17157 16.5 5C16.5 5.82843 15.8284 6.5 15 6.5C14.1716 6.5 13.5 5.82843 13.5 5ZM7.5 12C7.5 11.1716 8.17157 10.5 9 10.5C9.82843 10.5 10.5 11.1716 10.5 12C10.5 12.8284 9.82843 13.5 9 13.5C8.17157 13.5 7.5 12.8284 7.5 12ZM13.5 12C13.5 11.1716 14.1716 10.5 15 10.5C15.8284 10.5 16.5 11.1716 16.5 12C16.5 12.8284 15.8284 13.5 15 13.5C14.1716 13.5 13.5 12.8284 13.5 12ZM7.5 19C7.5 18.1716 8.17157 17.5 9 17.5C9.82843 17.5 10.5 18.1716 10.5 19C10.5 19.8284 9.82843 20.5 9 20.5C8.17157 20.5 7.5 19.8284 7.5 19ZM13.5 19C13.5 18.1716 14.1716 17.5 15 17.5C15.8284 17.5 16.5 18.1716 16.5 19C16.5 19.8284 15.8284 20.5 15 20.5C14.1716 20.5 13.5 19.8284 13.5 19Z"
18
+ />
19
+ </svg>
20
+ </Icon>
21
+ );
22
+ });
23
+
24
+ export { DragIcon };
@@ -1,10 +1,16 @@
1
1
  import * as React from 'react';
2
2
  import { Icon, IconProps } from '../../icon';
3
3
 
4
- const Phone = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
4
+ const PhoneIcon = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
5
  return (
6
6
  <Icon {...props}>
7
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
7
+ <svg
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ width="20"
10
+ height="20"
11
+ viewBox="0 0 20 20"
12
+ fill="none"
13
+ >
8
14
  <path
9
15
  d="M8.75 15.625C8.40482 15.625 8.125 15.9048 8.125 16.25C8.125 16.5952 8.40482 16.875 8.75 16.875H11.25C11.5952 16.875 11.875 16.5952 11.875 16.25C11.875 15.9048 11.5952 15.625 11.25 15.625H8.75Z"
10
16
  fill="#3E5CFA"
@@ -20,4 +26,4 @@ const Phone = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
20
26
  );
21
27
  });
22
28
 
23
- export { Phone };
29
+ export { PhoneIcon };
@@ -0,0 +1,26 @@
1
+ import * as React from 'react';
2
+ import { Icon, IconProps } from '../../icon';
3
+
4
+ const RectangleGroupIcon = React.forwardRef<SVGSVGElement, IconProps>(
5
+ (props, ref) => {
6
+ return (
7
+ <Icon {...props}>
8
+ <svg
9
+ ref={ref}
10
+ className="w-full h-full"
11
+ viewBox="0 0 24 24"
12
+ fill="currentColor"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ >
15
+ <path
16
+ fillRule="evenodd"
17
+ clipRule="evenodd"
18
+ d="M1.5 7.125C1.5 6.08947 2.33947 5.25 3.375 5.25H9.375C10.4105 5.25 11.25 6.08947 11.25 7.125V10.875C11.25 11.9105 10.4105 12.75 9.375 12.75H3.375C2.33947 12.75 1.5 11.9105 1.5 10.875V7.125ZM13.5 8.625C13.5 7.58947 14.3395 6.75 15.375 6.75H20.625C21.6605 6.75 22.5 7.58947 22.5 8.625V16.875C22.5 17.9105 21.6605 18.75 20.625 18.75H15.375C14.3395 18.75 13.5 17.9105 13.5 16.875V8.625ZM3 16.125C3 15.0895 3.83947 14.25 4.875 14.25H10.125C11.1605 14.25 12 15.0895 12 16.125V18.375C12 19.4105 11.1605 20.25 10.125 20.25H4.875C3.83947 20.25 3 19.4105 3 18.375V16.125Z"
19
+ />
20
+ </svg>
21
+ </Icon>
22
+ );
23
+ }
24
+ );
25
+
26
+ export { RectangleGroupIcon };
@@ -217,4 +217,4 @@ const Marquee: FC<MarqueeProps> = forwardRef(function Marquee(
217
217
  );
218
218
  });
219
219
 
220
- export default Marquee;
220
+ export { Marquee };
@@ -6,7 +6,7 @@ import * as React from 'react';
6
6
 
7
7
  import { cn } from '@/lib/utils';
8
8
 
9
- import Badge from './badge';
9
+ import { Badge } from './badge';
10
10
  import { Icon } from './icon';
11
11
  import Link from './link';
12
12
  import { Tooltip } from './tooltip';
package/src/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from './components/alert';
4
4
  export * from './components/alert-dialog';
5
5
  export * from './components/aspect-ratio';
6
6
  export * from './components/audio-player';
7
+ export * from './components/audio-playing';
7
8
  export * from './components/avatar';
8
9
  export * from './components/badge';
9
10
  export * from './components/button/button';
@@ -64,3 +65,6 @@ export * from './common/hooks/useNativeBridge';
64
65
  export * from './common/hooks/useDevice';
65
66
  export * from './common/hooks/useWindowWidth';
66
67
  export * from './common/hooks/useAudioPlayer';
68
+
69
+ // 导出icons
70
+ export * from './components/icons';
@@ -1,16 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const ArrowLeft = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="none" strokeWidth="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" />
11
- </svg>
12
- </Icon>
13
- )
14
- });
15
-
16
- export { ArrowLeft }
@@ -1,16 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const ArrowUpTray = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="none" strokeWidth="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5" />
11
- </svg>
12
- </Icon>
13
- )
14
- });
15
-
16
- export { ArrowUpTray }
@@ -1,17 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const CheckCircle = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M15.4359 9.1397C15.773 9.38046 15.8511 9.84887 15.6103 10.1859L11.8603 15.4359C11.7322 15.6153 11.5316 15.7293 11.3119 15.7474C11.0921 15.7656 10.8756 15.6862 10.7197 15.5303L8.46967 13.2803C8.17678 12.9874 8.17678 12.5126 8.46967 12.2197C8.76256 11.9268 9.23744 11.9268 9.53033 12.2197L11.1543 13.8436L14.3897 9.31407C14.6305 8.97701 15.0989 8.89894 15.4359 9.1397Z" />
11
- <path fillRule="evenodd" clipRule="evenodd" d="M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z" />
12
- </svg>
13
- </Icon>
14
- )
15
- });
16
-
17
- export { CheckCircle }
@@ -1,16 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const PencilSquare = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" />
11
- </svg>
12
- </Icon>
13
- )
14
- });
15
-
16
- export { PencilSquare }
@@ -1,17 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const Trash = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="none" troke-width="1.5" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" />
11
- </svg>
12
-
13
- </Icon>
14
- )
15
- });
16
-
17
- export { Trash }
@@ -1,16 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const Window = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" strokeWidth="1.5" stroke="currentColor">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z" />
11
- </svg>
12
- </Icon>
13
- )
14
- });
15
-
16
- export { Window }
@@ -1,17 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const XCircle = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M9.21967 9.21967C9.51256 8.92678 9.98744 8.92678 10.2803 9.21967L12 10.9393L13.7197 9.21967C14.0126 8.92678 14.4874 8.92678 14.7803 9.21967C15.0732 9.51256 15.0732 9.98744 14.7803 10.2803L13.0607 12L14.7803 13.7197C15.0732 14.0126 15.0732 14.4874 14.7803 14.7803C14.4874 15.0732 14.0126 15.0732 13.7197 14.7803L12 13.0607L10.2803 14.7803C9.98744 15.0732 9.51256 15.0732 9.21967 14.7803C8.92678 14.4874 8.92678 14.0126 9.21967 13.7197L10.9393 12L9.21967 10.2803C8.92678 9.98744 8.92678 9.51256 9.21967 9.21967Z" />
11
- <path fillRule="evenodd" clipRule="evenodd" d="M2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75Z" />
12
- </svg>
13
- </Icon>
14
- )
15
- });
16
-
17
- export { XCircle }
@@ -1,16 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const XMark = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg className="w-full h-full" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor">
10
- <path strokeLinecap="round" strokeLinejoin="round" d="M6 18 18 6M6 6l12 12" />
11
- </svg>
12
- </Icon>
13
- )
14
- });
15
-
16
- export { XMark }
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon, IconProps } from '../../icon';
3
-
4
- const CaretDown = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
- return (
6
- <Icon {...props}>
7
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
8
- <path d="M13.5119 17.7818C12.7143 18.7028 11.2857 18.7028 10.4881 17.7818L2.74159 8.83689C1.61984 7.54161 2.53995 5.52759 4.25345 5.52759L19.7466 5.52759C21.4601 5.52759 22.3802 7.54161 21.2584 8.8369L13.5119 17.7818Z" />
9
- </svg>
10
- </Icon>
11
- )
12
- });
13
-
14
- export { CaretDown };
@@ -1,18 +0,0 @@
1
-
2
-
3
- import * as React from 'react';
4
- import { Icon, IconProps } from '../../icon';
5
-
6
- const Code = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
7
- return (
8
- <Icon {...props}>
9
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
10
- <path d="M15.3995 7.375C15.6066 7.01628 15.4837 6.55759 15.125 6.35048C14.7663 6.14337 14.3076 6.26628 14.1005 6.625L8.35048 16.5843C8.14337 16.943 8.26628 17.4017 8.625 17.6088C8.98372 17.8159 9.44241 17.693 9.64952 17.3343L15.3995 7.375Z" />
11
- <path fillRule="evenodd" clipRule="evenodd" d="M6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H6ZM4.5 6C4.5 5.17157 5.17157 4.5 6 4.5H18C18.8284 4.5 19.5 5.17157 19.5 6V18C19.5 18.8284 18.8284 19.5 18 19.5H6C5.17157 19.5 4.5 18.8284 4.5 18V6Z" />
12
- </svg>
13
-
14
- </Icon>
15
- )
16
- });
17
-
18
- export { Code }
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon, IconProps } from '../../icon';
3
-
4
- const Drag = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
- return (
6
- <Icon {...props}>
7
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
8
- <path fillRule="evenodd" clipRule="evenodd" d="M7.5 5C7.5 4.17157 8.17157 3.5 9 3.5C9.82843 3.5 10.5 4.17157 10.5 5C10.5 5.82843 9.82843 6.5 9 6.5C8.17157 6.5 7.5 5.82843 7.5 5ZM13.5 5C13.5 4.17157 14.1716 3.5 15 3.5C15.8284 3.5 16.5 4.17157 16.5 5C16.5 5.82843 15.8284 6.5 15 6.5C14.1716 6.5 13.5 5.82843 13.5 5ZM7.5 12C7.5 11.1716 8.17157 10.5 9 10.5C9.82843 10.5 10.5 11.1716 10.5 12C10.5 12.8284 9.82843 13.5 9 13.5C8.17157 13.5 7.5 12.8284 7.5 12ZM13.5 12C13.5 11.1716 14.1716 10.5 15 10.5C15.8284 10.5 16.5 11.1716 16.5 12C16.5 12.8284 15.8284 13.5 15 13.5C14.1716 13.5 13.5 12.8284 13.5 12ZM7.5 19C7.5 18.1716 8.17157 17.5 9 17.5C9.82843 17.5 10.5 18.1716 10.5 19C10.5 19.8284 9.82843 20.5 9 20.5C8.17157 20.5 7.5 19.8284 7.5 19ZM13.5 19C13.5 18.1716 14.1716 17.5 15 17.5C15.8284 17.5 16.5 18.1716 16.5 19C16.5 19.8284 15.8284 20.5 15 20.5C14.1716 20.5 13.5 19.8284 13.5 19Z" />
9
- </svg>
10
- </Icon>
11
- )
12
- });
13
-
14
- export { Drag };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon, IconProps } from '../../icon';
3
-
4
- const RectangleGroup = React.forwardRef<SVGSVGElement, IconProps>((props, ref) => {
5
- return (
6
- <Icon {...props}>
7
- <svg ref={ref} className="w-full h-full" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
8
- <path fillRule="evenodd" clipRule="evenodd" d="M1.5 7.125C1.5 6.08947 2.33947 5.25 3.375 5.25H9.375C10.4105 5.25 11.25 6.08947 11.25 7.125V10.875C11.25 11.9105 10.4105 12.75 9.375 12.75H3.375C2.33947 12.75 1.5 11.9105 1.5 10.875V7.125ZM13.5 8.625C13.5 7.58947 14.3395 6.75 15.375 6.75H20.625C21.6605 6.75 22.5 7.58947 22.5 8.625V16.875C22.5 17.9105 21.6605 18.75 20.625 18.75H15.375C14.3395 18.75 13.5 17.9105 13.5 16.875V8.625ZM3 16.125C3 15.0895 3.83947 14.25 4.875 14.25H10.125C11.1605 14.25 12 15.0895 12 16.125V18.375C12 19.4105 11.1605 20.25 10.125 20.25H4.875C3.83947 20.25 3 19.4105 3 18.375V16.125Z" />
9
- </svg>
10
- </Icon>
11
- )
12
- });
13
-
14
- export { RectangleGroup };