@xqmsg/ui-core 0.16.7 → 0.17.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.
Files changed (116) hide show
  1. package/dist/0ec7ec81c9033f9a.svg +9 -0
  2. package/dist/35c8475f2bf403f9.svg +9 -0
  3. package/dist/components/icons/chevron/down/index.d.ts +8 -0
  4. package/dist/components/icons/chevron/right/index.d.ts +8 -0
  5. package/dist/components/icons/clock/index.d.ts +8 -0
  6. package/dist/components/icons/close/index.d.ts +9 -0
  7. package/dist/components/icons/dropdown/index.d.ts +8 -0
  8. package/dist/components/icons/error/index.d.ts +8 -0
  9. package/dist/components/icons/file/fill/index.d.ts +8 -0
  10. package/dist/components/icons/file/outline/index.d.ts +8 -0
  11. package/dist/components/icons/folder/add/fill/index.d.ts +8 -0
  12. package/dist/components/icons/folder/add/outline/index.d.ts +8 -0
  13. package/dist/components/icons/folder/fill/index.d.ts +8 -0
  14. package/dist/components/icons/folder/outline/index.d.ts +8 -0
  15. package/dist/components/icons/google/drive/index.d.ts +8 -0
  16. package/dist/components/icons/google/index.d.ts +8 -0
  17. package/dist/components/icons/group/index.d.ts +8 -0
  18. package/dist/components/icons/home/index.d.ts +8 -0
  19. package/dist/components/icons/image/index.d.ts +8 -0
  20. package/dist/components/icons/index.d.ts +28 -0
  21. package/dist/components/icons/link/index.d.ts +8 -0
  22. package/dist/components/icons/menu/index.d.ts +8 -0
  23. package/dist/components/icons/microsoft/index.d.ts +8 -0
  24. package/dist/components/icons/microsoft/onedrive/index.d.ts +8 -0
  25. package/dist/components/icons/neutral/index.d.ts +8 -0
  26. package/dist/components/icons/positive/index.d.ts +8 -0
  27. package/dist/components/icons/search/index.d.ts +8 -0
  28. package/dist/components/icons/settings/index.d.ts +8 -0
  29. package/dist/components/icons/table/fill/index.d.ts +8 -0
  30. package/dist/components/icons/table/outline/index.d.ts +8 -0
  31. package/dist/components/icons/trash/index.d.ts +8 -0
  32. package/dist/components/icons/warning/index.d.ts +8 -0
  33. package/dist/components/navigation/NavigationMenu.stories.d.ts +5 -0
  34. package/dist/components/navigation/components/header/index.d.ts +8 -0
  35. package/dist/components/navigation/components/items/index.d.ts +14 -0
  36. package/dist/components/navigation/index.d.ts +14 -0
  37. package/dist/index.d.ts +2 -0
  38. package/dist/ui-core.cjs.development.js +994 -99
  39. package/dist/ui-core.cjs.development.js.map +1 -1
  40. package/dist/ui-core.cjs.production.min.js +1 -1
  41. package/dist/ui-core.cjs.production.min.js.map +1 -1
  42. package/dist/ui-core.esm.js +969 -102
  43. package/dist/ui-core.esm.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/components/banner/index.tsx +9 -9
  46. package/src/components/button/google/index.tsx +7 -2
  47. package/src/components/button/microsoft/index.tsx +7 -2
  48. package/src/components/icons/chevron/down/chevron-down.svg +3 -0
  49. package/src/components/icons/chevron/down/index.tsx +14 -0
  50. package/src/components/icons/chevron/right/chevron-right.svg +3 -0
  51. package/src/components/icons/chevron/right/index.tsx +13 -0
  52. package/src/components/icons/clock/clock.svg +3 -0
  53. package/src/components/icons/clock/index.tsx +13 -0
  54. package/src/components/{input/components/token/assets/svg → icons/close}/close.svg +0 -0
  55. package/src/components/icons/close/index.tsx +14 -0
  56. package/src/components/{input/StackedSelect/assets/svg/subtract.svg → icons/dropdown/dropdown.svg} +0 -0
  57. package/src/components/icons/dropdown/index.tsx +13 -0
  58. package/src/components/{banner/assets/svg → icons/error}/error.svg +0 -0
  59. package/src/components/icons/error/index.tsx +13 -0
  60. package/src/components/icons/file/fill/file-fill.svg +4 -0
  61. package/src/components/icons/file/fill/index.tsx +13 -0
  62. package/src/components/icons/file/outline/file-outline.svg +3 -0
  63. package/src/components/icons/file/outline/index.tsx +13 -0
  64. package/src/components/icons/folder/add/fill/folder-add-fill.svg +3 -0
  65. package/src/components/icons/folder/add/fill/index.tsx +13 -0
  66. package/src/components/icons/folder/add/outline/folder-add-outline.svg +3 -0
  67. package/src/components/icons/folder/add/outline/index.tsx +15 -0
  68. package/src/components/icons/folder/fill/folder-fill.svg +4 -0
  69. package/src/components/icons/folder/fill/index.tsx +13 -0
  70. package/src/components/icons/folder/outline/folder-outline.svg +3 -0
  71. package/src/components/icons/folder/outline/index.tsx +13 -0
  72. package/src/components/icons/google/drive/google-drive.svg +9 -0
  73. package/src/components/icons/google/drive/index.tsx +13 -0
  74. package/src/components/{button/google/assets/GoogleLogo.svg → icons/google/google.svg} +0 -0
  75. package/src/components/icons/google/index.tsx +13 -0
  76. package/src/components/icons/group/group.svg +3 -0
  77. package/src/components/icons/group/index.tsx +13 -0
  78. package/src/components/icons/home/home.svg +3 -0
  79. package/src/components/icons/home/index.tsx +13 -0
  80. package/src/components/icons/image/image.svg +3 -0
  81. package/src/components/icons/image/index.tsx +13 -0
  82. package/src/components/icons/index.tsx +57 -0
  83. package/src/components/icons/link/index.tsx +13 -0
  84. package/src/components/icons/link/link.svg +4 -0
  85. package/src/components/icons/menu/index.tsx +13 -0
  86. package/src/components/icons/menu/menu.svg +3 -0
  87. package/src/components/icons/microsoft/index.tsx +13 -0
  88. package/src/components/{button/microsoft/assets/MicrosoftLogo.svg → icons/microsoft/microsoft.svg} +0 -0
  89. package/src/components/icons/microsoft/onedrive/index.tsx +15 -0
  90. package/src/components/icons/microsoft/onedrive/microsoft-onedrive.svg +9 -0
  91. package/src/components/icons/neutral/index.tsx +13 -0
  92. package/src/components/{banner/assets/svg → icons/neutral}/neutral.svg +0 -0
  93. package/src/components/icons/positive/index.tsx +13 -0
  94. package/src/components/{banner/assets/svg → icons/positive}/positive.svg +0 -0
  95. package/src/components/icons/search/index.tsx +13 -0
  96. package/src/components/icons/search/search.svg +3 -0
  97. package/src/components/icons/settings/index.tsx +14 -0
  98. package/src/components/icons/settings/settings.svg +6 -0
  99. package/src/components/icons/table/fill/index.tsx +13 -0
  100. package/src/components/icons/table/fill/table-fill.svg +3 -0
  101. package/src/components/icons/table/outline/index.tsx +13 -0
  102. package/src/components/icons/table/outline/table-outline.svg +3 -0
  103. package/src/components/icons/trash/index.tsx +13 -0
  104. package/src/components/icons/trash/trash.svg +3 -0
  105. package/src/components/icons/warning/index.tsx +13 -0
  106. package/src/components/{banner/assets/svg → icons/warning}/warning.svg +0 -0
  107. package/src/components/input/Input.stories.tsx +2 -56
  108. package/src/components/input/StackedMultiSelect/index.tsx +5 -7
  109. package/src/components/input/StackedPilledInput/index.tsx +20 -8
  110. package/src/components/input/StackedSelect/index.tsx +3 -9
  111. package/src/components/input/components/token/index.tsx +2 -7
  112. package/src/components/navigation/NavigationMenu.stories.tsx +85 -0
  113. package/src/components/navigation/components/header/index.tsx +26 -0
  114. package/src/components/navigation/components/items/index.tsx +62 -0
  115. package/src/components/navigation/index.tsx +59 -0
  116. package/src/index.tsx +6 -0
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.16.7",
2
+ "version": "0.17.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -1,10 +1,10 @@
1
1
  import React, { ReactNode, useMemo } from 'react';
2
- import { Alert, AlertDescription, Box, Flex, Image } from '@chakra-ui/react';
3
- import ErrorIcon from './assets/svg/error.svg';
4
- import PositiveIcon from './assets/svg/positive.svg';
5
- import NeutralIcon from './assets/svg/neutral.svg';
6
- import WarningIcon from './assets/svg/warning.svg';
2
+ import { Alert, AlertDescription, Box, Flex } from '@chakra-ui/react';
7
3
  import { Button } from '../button';
4
+ import { Error } from '../icons/error';
5
+ import { Neutral } from '../icons/neutral';
6
+ import { Positive } from '../icons/positive';
7
+ import { Warning } from '../icons/warning';
8
8
 
9
9
  export type BannerVariant = 'positive' | 'warning' | 'error' | 'neutral';
10
10
 
@@ -29,13 +29,13 @@ export const Banner: React.FC<BannerProps> = ({
29
29
  const Icon = useMemo(() => {
30
30
  switch (variant) {
31
31
  case 'error':
32
- return <Image src={ErrorIcon} alt="error" boxSize="16px" />;
32
+ return <Error boxSize="16px" />;
33
33
  case 'neutral':
34
- return <Image src={NeutralIcon} alt="neutral" boxSize="16px" />;
34
+ return <Neutral boxSize="16px" />;
35
35
  case 'positive':
36
- return <Image src={PositiveIcon} alt="positive" boxSize="16px" />;
36
+ return <Positive boxSize="16px" />;
37
37
  case 'warning':
38
- return <Image src={WarningIcon} alt="warning" boxSize="16px" />;
38
+ return <Warning boxSize="16px" />;
39
39
  default:
40
40
  return null;
41
41
  }
@@ -1,6 +1,7 @@
1
+ import { Box } from '@chakra-ui/react';
1
2
  import React from 'react';
3
+ import { Google } from '../../icons/google';
2
4
  import { Button, ButtonProps } from '..';
3
- import { ReactComponent as GoogleLogo } from './assets/GoogleLogo.svg';
4
5
 
5
6
  export interface GoogleButtonProps extends Partial<ButtonProps> {
6
7
  onClick: () => void;
@@ -19,7 +20,11 @@ export const GoogleButton: React.FC<GoogleButtonProps> = ({
19
20
  variant="secondary"
20
21
  ariaLabel="google-login-button"
21
22
  className="google-button"
22
- leftIcon={<GoogleLogo width={18} height={18} mr={3} />}
23
+ leftIcon={
24
+ <Box mr={3}>
25
+ <Google boxSize="18px" />
26
+ </Box>
27
+ }
23
28
  text="Sign in with Google"
24
29
  width="variable"
25
30
  type={type}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
- import { ReactComponent as MicrosoftLogo } from './assets/MicrosoftLogo.svg';
2
+ import { Microsoft } from '../../icons/microsoft';
3
3
  import { Button, ButtonProps } from '..';
4
+ import { Box } from '@chakra-ui/react';
4
5
 
5
6
  export interface MicrosoftButtonProps extends Partial<ButtonProps> {
6
7
  onClick: () => void;
@@ -19,7 +20,11 @@ export const MicrosoftButton: React.FC<MicrosoftButtonProps> = ({
19
20
  variant="secondary"
20
21
  ariaLabel="microsoft-login-button"
21
22
  className="microsoft-button"
22
- leftIcon={<MicrosoftLogo width={18} height={18} mr={3} />}
23
+ leftIcon={
24
+ <Box mr={3}>
25
+ <Microsoft boxSize="18px" />
26
+ </Box>
27
+ }
23
28
  text="Sign in with Microsoft"
24
29
  width="variable"
25
30
  type={type}
@@ -0,0 +1,3 @@
1
+ <svg width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.184136 0.767507C0.422999 0.537831 0.802824 0.545278 1.0325 0.784142L4 3.93434L6.9675 0.784142C7.19718 0.545279 7.577 0.537831 7.81587 0.767507C8.05473 0.997183 8.06218 1.37701 7.8325 1.61587L4.4325 5.21587C4.31938 5.33352 4.16321 5.40001 4 5.40001C3.83679 5.40001 3.68062 5.33352 3.5675 5.21587L0.167501 1.61587C-0.0621751 1.37701 -0.0547276 0.997183 0.184136 0.767507Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import colors from '../../../../theme/foundations/colors';
3
+ import { ReactComponent as ChevronDownIcon } from './chevron-down.svg';
4
+
5
+ export interface ChevronDownProps {
6
+ boxSize: number | string;
7
+ }
8
+
9
+ /**
10
+ * A functional React component utilized to render the `ChevronDown` icon component
11
+ */
12
+ export const ChevronDown: React.FC<ChevronDownProps> = ({ boxSize }) => {
13
+ return <ChevronDownIcon boxSize={boxSize} fill={colors.fill.action} />;
14
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="6" height="8" viewBox="0 0 6 8" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.767599 7.81586C0.537923 7.577 0.54537 7.19718 0.784233 6.9675L3.93443 4L0.784233 1.0325C0.54537 0.802823 0.537922 0.422997 0.767598 0.184134C0.997274 -0.0547285 1.3771 -0.0621767 1.61596 0.167499L5.21596 3.5675C5.33361 3.68062 5.4001 3.83679 5.4001 4C5.4001 4.16321 5.33361 4.31938 5.21596 4.4325L1.61596 7.8325C1.3771 8.06218 0.997275 8.05473 0.767599 7.81586Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as ChevronRightIcon } from './chevron-right.svg';
3
+
4
+ export interface ChevronRightProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `ChevronRight` icon component
10
+ */
11
+ export const ChevronRight: React.FC<ChevronRightProps> = ({ boxSize }) => {
12
+ return <ChevronRightIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7 3V7H10M13 7C13 10.3137 10.3137 13 7 13C3.68629 13 1 10.3137 1 7C1 3.68629 3.68629 1 7 1C10.3137 1 13 3.68629 13 7Z" stroke="#0082ff" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as ClockIcon } from './clock.svg';
3
+
4
+ export interface ClockProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `Clock` icon component
10
+ */
11
+ export const Clock: React.FC<ClockProps> = ({ boxSize }) => {
12
+ return <ClockIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ReactComponent as CloseIcon } from './close.svg';
3
+
4
+ export interface CloseProps {
5
+ boxSize: number | string;
6
+ onClick: () => void;
7
+ }
8
+
9
+ /**
10
+ * A functional React component utilized to render the `Close` icon component
11
+ */
12
+ export const Close: React.FC<CloseProps> = ({ boxSize, onClick }) => {
13
+ return <CloseIcon boxSize={boxSize} onClick={onClick} cursor="pointer" />;
14
+ };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as DropdownIcon } from './dropdown.svg';
3
+
4
+ export interface DropdownProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `Dropdown` icon component
10
+ */
11
+ export const Dropdown: React.FC<DropdownProps> = ({ boxSize }) => {
12
+ return <DropdownIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as ErrorIcon } from './error.svg';
3
+
4
+ export interface ErrorProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `Error` icon component
10
+ */
11
+ export const Error: React.FC<ErrorProps> = ({ boxSize }) => {
12
+ return <ErrorIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,4 @@
1
+ <svg width="12" height="14" viewBox="0 0 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.75 0C1.05964 0 0.5 0.559644 0.5 1.25V12.75C0.5 13.4404 1.05964 14 1.75 14H10.25C10.9404 14 11.5 13.4404 11.5 12.75V7.5C11.5 6.11929 10.3807 5 9 5H7.75C7.05964 5 6.5 4.44036 6.5 3.75V2.5C6.5 1.11929 5.38071 0 4 0H1.75Z" fill="white"/>
3
+ <path d="M6.64746 0.210603C7.17864 0.824319 7.5 1.62463 7.5 2.5V3.75C7.5 3.88807 7.61193 4 7.75 4H9C9.87537 4 10.6757 4.32136 11.2894 4.85254C10.6975 2.58658 8.91342 0.802516 6.64746 0.210603Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FileFillIcon } from './file-fill.svg';
3
+
4
+ export interface FileFillProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FileFill` icon component
10
+ */
11
+ export const FileFill: React.FC<FileFillProps> = ({ boxSize }) => {
12
+ return <FileFillIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="12" height="14" viewBox="0 0 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.0461 8.47693V6.75385C11.0461 5.53033 10.0542 4.53847 8.83072 4.53847H7.84611C7.43826 4.53847 7.10764 4.20785 7.10764 3.80001V2.81539C7.10764 1.59187 6.11578 0.600006 4.89226 0.600006H3.66149M5.13841 0.600006H1.93841C1.53057 0.600006 1.19995 0.930626 1.19995 1.33847V12.6615C1.19995 13.0694 1.53057 13.4 1.93841 13.4H10.3076C10.7155 13.4 11.0461 13.0694 11.0461 12.6615V6.5077C11.0461 3.24497 8.40114 0.600006 5.13841 0.600006Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FileOutlineIcon } from './file-outline.svg';
3
+
4
+ export interface FileOutlineProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FileOutline` icon component
10
+ */
11
+ export const FileOutline: React.FC<FileOutlineProps> = ({ boxSize }) => {
12
+ return <FileOutlineIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 7V11M10 9H6M8.70711 4.20711L7.29289 2.79289C7.10536 2.60536 6.851 2.5 6.58579 2.5H3C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V6C14.5 5.17157 13.8284 4.5 13 4.5H9.41421C9.149 4.5 8.89464 4.39464 8.70711 4.20711Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FolderAddFillIcon } from './folder-add-fill.svg';
3
+
4
+ export interface FolderAddFillProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FolderAddFill` icon component
10
+ */
11
+ export const FolderAddFill: React.FC<FolderAddFillProps> = ({ boxSize }) => {
12
+ return <FolderAddFillIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7 5V9M9 7H5M7.70711 2.20711L6.29289 0.792893C6.10536 0.605357 5.851 0.5 5.58579 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V10C0.5 10.8284 1.17157 11.5 2 11.5H12C12.8284 11.5 13.5 10.8284 13.5 10V4C13.5 3.17157 12.8284 2.5 12 2.5H8.41421C8.149 2.5 7.89464 2.39464 7.70711 2.20711Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FolderAddOutlineIcon } from './folder-add-outline.svg';
3
+
4
+ export interface FolderAddOutlineProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FolderAddOutline` icon component
10
+ */
11
+ export const FolderAddOutline: React.FC<FolderAddOutlineProps> = ({
12
+ boxSize,
13
+ }) => {
14
+ return <FolderAddOutlineIcon boxSize={boxSize} />;
15
+ };
@@ -0,0 +1,4 @@
1
+ <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.0001 0.399994C1.2269 0.399994 0.600098 1.02679 0.600098 1.79999V4.40872C1.00422 4.14999 1.48464 3.99999 2.0001 3.99999H12.0001C12.5156 3.99999 12.996 4.14999 13.4001 4.40872V3.39999C13.4001 2.6268 12.7733 1.99999 12.0001 1.99999H8.13147C8.07842 1.99999 8.02755 1.97892 7.99005 1.94142L6.85868 0.810044C6.59613 0.547493 6.24003 0.399994 5.86873 0.399994H2.0001Z" fill="white"/>
3
+ <path d="M2.0001 5.19999C1.2269 5.19999 0.600098 5.8268 0.600098 6.59999V10.2C0.600098 10.9732 1.2269 11.6 2.0001 11.6H12.0001C12.7733 11.6 13.4001 10.9732 13.4001 10.2V6.59999C13.4001 5.8268 12.7733 5.19999 12.0001 5.19999H2.0001Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FolderFillIcon } from './folder-fill.svg';
3
+
4
+ export interface FolderFillProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FolderFill` icon component
10
+ */
11
+ export const FolderFill: React.FC<FolderFillProps> = ({ boxSize }) => {
12
+ return <FolderFillIcon boxSize={boxSize} />;
13
+ };
@@ -0,0 +1,3 @@
1
+ <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1 6.53846V6.07692C1 5.31222 1.61991 4.69231 2.38462 4.69231H11.6154C12.3801 4.69231 13 5.31222 13 6.07692V6.53846M7.65271 2.57579L6.34729 1.27036C6.17418 1.09725 5.93939 1 5.69457 1H2.38462C1.61991 1 1 1.61991 1 2.38462V9.76923C1 10.5339 1.61991 11.1538 2.38462 11.1538H11.6154C12.3801 11.1538 13 10.5339 13 9.76923V4.23077C13 3.46607 12.3801 2.84615 11.6154 2.84615H8.30543C8.06061 2.84615 7.82582 2.7489 7.65271 2.57579Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { ReactComponent as FolderOutlineIcon } from './folder-outline.svg';
3
+
4
+ export interface FolderOutlineProps {
5
+ boxSize: number | string;
6
+ }
7
+
8
+ /**
9
+ * A functional React component utilized to render the `FolderOutline` icon component
10
+ */
11
+ export const FolderOutline: React.FC<FolderOutlineProps> = ({ boxSize }) => {
12
+ return <FolderOutlineIcon boxSize={boxSize} />;
13
+ };