@herca/rn-kit 0.1.16 → 0.1.17

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 (124) hide show
  1. package/lib/module/Alert/Alert.js +5 -2
  2. package/lib/module/Alert/Alert.js.map +1 -1
  3. package/lib/module/Calendar/Calendar.js +7 -0
  4. package/lib/module/Calendar/Calendar.js.map +1 -1
  5. package/lib/module/Chip/Chip.js +6 -4
  6. package/lib/module/Chip/Chip.js.map +1 -1
  7. package/lib/module/Chip/README.md +2 -0
  8. package/lib/module/DatePicker/DatePicker.js +77 -8
  9. package/lib/module/DatePicker/DatePicker.js.map +1 -1
  10. package/lib/module/Icon/Icon.js +27 -3
  11. package/lib/module/Icon/Icon.js.map +1 -1
  12. package/lib/module/Icon/README.md +14 -1
  13. package/lib/module/Icon/icons/Bell.js +35 -0
  14. package/lib/module/Icon/icons/Bell.js.map +1 -0
  15. package/lib/module/Icon/icons/BookmarkUser.js +22 -0
  16. package/lib/module/Icon/icons/BookmarkUser.js.map +1 -0
  17. package/lib/module/Icon/icons/ClipBoardList.js +22 -0
  18. package/lib/module/Icon/icons/ClipBoardList.js.map +1 -0
  19. package/lib/module/Icon/icons/ClipBoardListCheck.js +22 -0
  20. package/lib/module/Icon/icons/ClipBoardListCheck.js.map +1 -0
  21. package/lib/module/Icon/icons/FileListCheck.js +22 -0
  22. package/lib/module/Icon/icons/FileListCheck.js.map +1 -0
  23. package/lib/module/Icon/icons/FileText.js +22 -0
  24. package/lib/module/Icon/icons/FileText.js.map +1 -0
  25. package/lib/module/Icon/icons/FolderClock.js +22 -0
  26. package/lib/module/Icon/icons/FolderClock.js.map +1 -0
  27. package/lib/module/Icon/icons/HomeFill.js +24 -0
  28. package/lib/module/Icon/icons/HomeFill.js.map +1 -0
  29. package/lib/module/Icon/icons/HomeOutline.js +22 -0
  30. package/lib/module/Icon/icons/HomeOutline.js.map +1 -0
  31. package/lib/module/Icon/icons/Megaphone.js +22 -0
  32. package/lib/module/Icon/icons/Megaphone.js.map +1 -0
  33. package/lib/module/Icon/icons/Plus.js +22 -0
  34. package/lib/module/Icon/icons/Plus.js.map +1 -0
  35. package/lib/module/Icon/icons/UserCircleFill.js +22 -0
  36. package/lib/module/Icon/icons/UserCircleFill.js.map +1 -0
  37. package/lib/module/Icon/icons/UserCircleOutline.js +22 -0
  38. package/lib/module/Icon/icons/UserCircleOutline.js.map +1 -0
  39. package/lib/module/Select/README.md +2 -0
  40. package/lib/module/Select/Select.js +3 -1
  41. package/lib/module/Select/Select.js.map +1 -1
  42. package/lib/module/Ui/Card.js +6 -3
  43. package/lib/module/Ui/Card.js.map +1 -1
  44. package/lib/module/Ui/README_CARD.md +22 -0
  45. package/lib/typescript/src/Alert/Alert.d.ts +1 -0
  46. package/lib/typescript/src/Alert/Alert.d.ts.map +1 -1
  47. package/lib/typescript/src/Calendar/Calendar.d.ts +1 -0
  48. package/lib/typescript/src/Calendar/Calendar.d.ts.map +1 -1
  49. package/lib/typescript/src/Calendar/CalendarPropsType.d.ts +2 -1
  50. package/lib/typescript/src/Calendar/CalendarPropsType.d.ts.map +1 -1
  51. package/lib/typescript/src/Chip/Chip.d.ts.map +1 -1
  52. package/lib/typescript/src/Chip/type.d.ts +2 -1
  53. package/lib/typescript/src/Chip/type.d.ts.map +1 -1
  54. package/lib/typescript/src/DatePicker/DatePicker.d.ts +8 -2
  55. package/lib/typescript/src/DatePicker/DatePicker.d.ts.map +1 -1
  56. package/lib/typescript/src/Icon/Icon.d.ts.map +1 -1
  57. package/lib/typescript/src/Icon/icons/Bell.d.ts +9 -0
  58. package/lib/typescript/src/Icon/icons/Bell.d.ts.map +1 -0
  59. package/lib/typescript/src/Icon/icons/BookmarkUser.d.ts +9 -0
  60. package/lib/typescript/src/Icon/icons/BookmarkUser.d.ts.map +1 -0
  61. package/lib/typescript/src/Icon/icons/ClipBoardList.d.ts +9 -0
  62. package/lib/typescript/src/Icon/icons/ClipBoardList.d.ts.map +1 -0
  63. package/lib/typescript/src/Icon/icons/ClipBoardListCheck.d.ts +9 -0
  64. package/lib/typescript/src/Icon/icons/ClipBoardListCheck.d.ts.map +1 -0
  65. package/lib/typescript/src/Icon/icons/FileListCheck.d.ts +9 -0
  66. package/lib/typescript/src/Icon/icons/FileListCheck.d.ts.map +1 -0
  67. package/lib/typescript/src/Icon/icons/FileText.d.ts +9 -0
  68. package/lib/typescript/src/Icon/icons/FileText.d.ts.map +1 -0
  69. package/lib/typescript/src/Icon/icons/FolderClock.d.ts +9 -0
  70. package/lib/typescript/src/Icon/icons/FolderClock.d.ts.map +1 -0
  71. package/lib/typescript/src/Icon/icons/HomeFill.d.ts +9 -0
  72. package/lib/typescript/src/Icon/icons/HomeFill.d.ts.map +1 -0
  73. package/lib/typescript/src/Icon/icons/HomeOutline.d.ts +9 -0
  74. package/lib/typescript/src/Icon/icons/HomeOutline.d.ts.map +1 -0
  75. package/lib/typescript/src/Icon/icons/Megaphone.d.ts +9 -0
  76. package/lib/typescript/src/Icon/icons/Megaphone.d.ts.map +1 -0
  77. package/lib/typescript/src/Icon/icons/Plus.d.ts +9 -0
  78. package/lib/typescript/src/Icon/icons/Plus.d.ts.map +1 -0
  79. package/lib/typescript/src/Icon/icons/UserCircleFill.d.ts +9 -0
  80. package/lib/typescript/src/Icon/icons/UserCircleFill.d.ts.map +1 -0
  81. package/lib/typescript/src/Icon/icons/UserCircleOutline.d.ts +9 -0
  82. package/lib/typescript/src/Icon/icons/UserCircleOutline.d.ts.map +1 -0
  83. package/lib/typescript/src/Icon/type.d.ts +1 -1
  84. package/lib/typescript/src/Icon/type.d.ts.map +1 -1
  85. package/lib/typescript/src/Select/Select.d.ts +1 -1
  86. package/lib/typescript/src/Select/Select.d.ts.map +1 -1
  87. package/lib/typescript/src/Select/type.d.ts +2 -1
  88. package/lib/typescript/src/Select/type.d.ts.map +1 -1
  89. package/lib/typescript/src/Ui/Card.d.ts +2 -1
  90. package/lib/typescript/src/Ui/Card.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/src/Alert/Alert.tsx +7 -1
  93. package/src/Calendar/Calendar.tsx +7 -1
  94. package/src/Calendar/CalendarPropsType.tsx +3 -1
  95. package/src/Chip/Chip.tsx +4 -2
  96. package/src/Chip/README.md +2 -0
  97. package/src/Chip/type.tsx +2 -1
  98. package/src/DatePicker/DatePicker.tsx +85 -7
  99. package/src/Icon/Icon.tsx +26 -2
  100. package/src/Icon/README.md +14 -1
  101. package/src/Icon/icons/Bell.tsx +37 -0
  102. package/src/Icon/icons/BookmarkUser.tsx +29 -0
  103. package/src/Icon/icons/ClipBoardList.tsx +29 -0
  104. package/src/Icon/icons/ClipBoardListCheck.tsx +29 -0
  105. package/src/Icon/icons/FileListCheck.tsx +29 -0
  106. package/src/Icon/icons/FileText.tsx +25 -0
  107. package/src/Icon/icons/FolderClock.tsx +25 -0
  108. package/src/Icon/icons/HomeFill.tsx +27 -0
  109. package/src/Icon/icons/HomeOutline.tsx +25 -0
  110. package/src/Icon/icons/Megaphone.tsx +19 -0
  111. package/src/Icon/icons/Plus.tsx +19 -0
  112. package/src/Icon/icons/UserCircleFill.tsx +23 -0
  113. package/src/Icon/icons/UserCircleOutline.tsx +23 -0
  114. package/src/Icon/type.tsx +14 -2
  115. package/src/Select/README.md +2 -0
  116. package/src/Select/Select.tsx +2 -0
  117. package/src/Select/type.tsx +2 -1
  118. package/src/Ui/Card.tsx +4 -1
  119. package/src/Ui/README_CARD.md +22 -0
  120. package/lib/module/Icon/icons/Home.js +0 -8
  121. package/lib/module/Icon/icons/Home.js.map +0 -1
  122. package/lib/typescript/src/Icon/icons/Home.d.ts +0 -2
  123. package/lib/typescript/src/Icon/icons/Home.d.ts.map +0 -1
  124. package/src/Icon/icons/Home.tsx +0 -5
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ size?: number;
4
+ color?: string;
5
+ style?: object;
6
+ }
7
+ declare const UserCircleFill: React.FC<Props>;
8
+ export default UserCircleFill;
9
+ //# sourceMappingURL=UserCircleFill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserCircleFill.d.ts","sourceRoot":"","sources":["../../../../../src/Icon/icons/UserCircleFill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAWnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ size?: number;
4
+ color?: string;
5
+ style?: object;
6
+ }
7
+ declare const UserCircleOutline: React.FC<Props>;
8
+ export default UserCircleOutline;
9
+ //# sourceMappingURL=UserCircleOutline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserCircleOutline.d.ts","sourceRoot":"","sources":["../../../../../src/Icon/icons/UserCircleOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAWtC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type ViewStyle } from 'react-native';
2
- export type IconNameProps = 'Home' | 'Search' | 'User' | 'Eye' | 'EyeOpen' | 'ArrowRight' | 'ArrowLeft' | 'Document' | 'Calendar' | 'ExclamationMark' | 'Download' | 'x-circle' | 'StickyNote' | 'RadioButton' | 'Pdf' | 'ArrowBackAlt' | 'ArrowForwardAlt' | 'ArrowDown' | 'ArrowUp' | 'Check' | 'Filter' | 'AirPlane' | 'Camera' | 'Image' | 'Times';
2
+ export type IconNameProps = 'Search' | 'User' | 'Eye' | 'EyeOpen' | 'ArrowRight' | 'ArrowLeft' | 'Document' | 'Calendar' | 'ExclamationMark' | 'Download' | 'x-circle' | 'StickyNote' | 'RadioButton' | 'Pdf' | 'ArrowBackAlt' | 'ArrowForwardAlt' | 'ArrowDown' | 'ArrowUp' | 'Check' | 'Filter' | 'AirPlane' | 'Camera' | 'Image' | 'Times' | 'Plus' | 'Bell' | 'file-list-check' | 'file-text' | 'bookmark-user' | 'folder-clock' | 'home-fill' | 'home-outline' | 'user-circle-outline' | 'user-circle-fill' | 'clipboard-list-check' | 'clipboard-list' | 'Megaphone';
3
3
  export interface IconProps {
4
4
  name: IconNameProps;
5
5
  size?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/Icon/type.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,QAAQ,GACR,MAAM,GACN,KAAK,GACL,SAAS,GACT,YAAY,GACZ,WAAW,GACX,UAAU,GACV,UAAU,GACV,iBAAiB,GACjB,UAAU,GACV,UAAU,GACV,YAAY,GACZ,aAAa,GACb,KAAK,GACL,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,SAAS,GACT,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,OAAO,GACP,OAAO,CAAC;AAEZ,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/Icon/type.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,MAAM,GACN,KAAK,GACL,SAAS,GACT,YAAY,GACZ,WAAW,GACX,UAAU,GACV,UAAU,GACV,iBAAiB,GACjB,UAAU,GACV,UAAU,GACV,YAAY,GACZ,aAAa,GACb,KAAK,GACL,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,SAAS,GACT,OAAO,GACP,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,cAAc,GACd,WAAW,GACX,cAAc,GACd,qBAAqB,GACrB,kBAAkB,GAClB,sBAAsB,GACtB,gBAAgB,GAChB,WAAW,CAAC;AAEhB,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB"}
@@ -1,3 +1,3 @@
1
1
  import { type SelectProps } from './type';
2
- export default function Select({ isOpen, data, renderItem, onClose, onSubmit, multiple, onSearch, required, loading, delaySearch, height, onRefresh, refreshing, footer, onEndReached, }: SelectProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function Select({ isOpen, data, renderItem, onClose, onSubmit, multiple, onSearch, required, loading, delaySearch, height, onRefresh, refreshing, footer, header, onEndReached, }: SelectProps): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/Select/Select.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAQ1C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,MAAM,EACN,IAAI,EACJ,UAAU,EACV,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAgB,EAChB,OAAe,EACf,WAAiB,EACjB,MAAM,EACN,SAAS,EACT,UAAU,EACV,MAAM,EACN,YAAY,GACb,EAAE,WAAW,2CAkFb"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/Select/Select.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAQ1C,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,MAAM,EACN,IAAI,EACJ,UAAU,EACV,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAgB,EAChB,OAAe,EACf,WAAiB,EACjB,MAAM,EACN,SAAS,EACT,UAAU,EACV,MAAM,EACN,MAAM,EACN,YAAY,GACb,EAAE,WAAW,2CAmFb"}
@@ -21,6 +21,7 @@ export interface SelectProps {
21
21
  onRefresh?: () => void;
22
22
  onEndReached?: () => void;
23
23
  refreshing?: boolean;
24
- footer?: React.ReactElement;
24
+ footer?: React.ReactNode | (() => React.ReactNode);
25
+ header?: React.ReactNode | (() => React.ReactNode);
25
26
  }
26
27
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/Select/type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,qBAAqB,GAAG,CAClC,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,OAAO,EACjB,QAAQ,EAAE,OAAO,KACd,KAAK,CAAC,SAAS,CAAC;AAErB,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC7B"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/Select/type.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,qBAAqB,GAAG,CAClC,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,OAAO,EACjB,QAAQ,EAAE,OAAO,KACd,KAAK,CAAC,SAAS,CAAC;AAErB,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;IACnD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;CACpD"}
@@ -5,7 +5,8 @@ interface CardProps {
5
5
  style?: StyleProp<ViewStyle>;
6
6
  backgroundImage?: any;
7
7
  backgroundColor?: string;
8
+ borderColor?: string;
8
9
  }
9
- export default function Card({ children, style, backgroundImage, backgroundColor, }: CardProps): import("react/jsx-runtime").JSX.Element;
10
+ export default function Card({ children, style, backgroundImage, backgroundColor, borderColor, }: CardProps): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
11
12
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/Ui/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,UAAU,SAAS;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,QAAQ,EACR,KAAK,EACL,eAAe,EACf,eAAe,GAChB,EAAE,SAAS,2CAuBX"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/Ui/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,UAAU,SAAS;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,QAAQ,EACR,KAAK,EACL,eAAe,EACf,eAAe,EACf,WAA+B,GAChC,EAAE,SAAS,2CAwBX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herca/rn-kit",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "React Native UI Kit",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -14,6 +14,7 @@ interface AlertProps {
14
14
  style?: ViewStyle;
15
15
  titleStyle?: StyleProp<ViewStyle>;
16
16
  messageStyle?: StyleProp<ViewStyle>;
17
+ hide?: boolean;
17
18
  }
18
19
 
19
20
  const COLORS: Record<
@@ -73,6 +74,7 @@ const Alert: React.FC<AlertProps> = ({
73
74
  color = 'primary',
74
75
  titleStyle,
75
76
  messageStyle,
77
+ hide = false,
76
78
  }) => {
77
79
  const { background, fontColor, borderColor } = COLORS[color];
78
80
 
@@ -80,7 +82,11 @@ const Alert: React.FC<AlertProps> = ({
80
82
  <View
81
83
  style={[
82
84
  styles.container,
83
- { backgroundColor: background, borderColor: borderColor },
85
+ {
86
+ backgroundColor: background,
87
+ borderColor: borderColor,
88
+ },
89
+ hide ? { display: 'none' } : null,
84
90
  ]}
85
91
  >
86
92
  <View style={{ marginRight: 10 }}>
@@ -21,7 +21,13 @@ const DEFAULT_SELECTED_BACKGROUND_COLOR = Color.primary[1000];
21
21
  const DEFAULT_SELECTED_TEXT_COLOR = Color.base.white100;
22
22
  const DEFAULT_DISABLED_BACKGROUND_COLOR = Color.base.white100;
23
23
  const DEFAULT_DISABLED_TEXT_COLOR = Color.gray[400];
24
-
24
+ export const formatDate = (date: Date | undefined | null) => {
25
+ if (!date) return null;
26
+ const y = date.getFullYear();
27
+ const m = `${date.getMonth() + 1}`.padStart(2, '0');
28
+ const d = `${date.getDate()}`.padStart(2, '0');
29
+ return `${y}-${m}-${d}`;
30
+ };
25
31
  const Calendar = ({
26
32
  markedDates = {},
27
33
  disabledDays,
@@ -40,8 +40,10 @@ export type DayNameTuple = [
40
40
  string,
41
41
  ];
42
42
 
43
+ export type CalendarModeType = 'single' | 'range';
44
+
43
45
  export interface CalendarTypes {
44
- mode?: 'single' | 'range';
46
+ mode?: CalendarModeType;
45
47
  markedDates?: {
46
48
  [date: string]: MarkedDate;
47
49
  };
package/src/Chip/Chip.tsx CHANGED
@@ -23,7 +23,8 @@ const Chip: React.FC<ChipProps> = ({
23
23
  onRefresh,
24
24
  refreshing = false,
25
25
  onEndReached,
26
- footer,
26
+ // footer,
27
+ // header,
27
28
  }) => {
28
29
  const isHorizontal = direction === 'horizontal';
29
30
 
@@ -101,7 +102,8 @@ const Chip: React.FC<ChipProps> = ({
101
102
  },
102
103
  ]}
103
104
  columnWrapperStyle={numColumns > 1 ? styles.wrapperStyle : undefined}
104
- ListFooterComponent={footer}
105
+ // ListFooterComponent={footer}
106
+ // ListHeaderComponent={header}
105
107
  />
106
108
  );
107
109
  };
@@ -19,6 +19,8 @@ Komponen `Chip` digunakan untuk menampilkan daftar pilihan seperti tag, filter,
19
19
  | `block` | `boolean` | `false` | Jika `true` dan `direction='vertical'`, maka chip akan memenuhi lebar kontainer (full width). |
20
20
  | `color` | `'default' \| 'success' \| 'danger' \| 'primary' \| 'warning' \| 'info' \| 'orange' \| 'purple'` | `'default'` | Warna tema chip. |
21
21
  | `renderItem` | `(item, isSelected, isDisabled) => ReactNode`| – | Jika ingin custom tampilan chip secara manual. |
22
+ | `header` | ReactElement| – | Jika ingin chip mempunyai header. |
23
+ | `footer` | ReactElement| – | Jika ingin chip mempunyai footer. |
22
24
 
23
25
  ---
24
26
 
package/src/Chip/type.tsx CHANGED
@@ -150,5 +150,6 @@ export interface ChipProps {
150
150
  onRefresh?: () => void;
151
151
  onEndReached?: () => void;
152
152
  refreshing?: boolean;
153
- footer?: React.ReactElement;
153
+ footer?: React.ReactNode | (() => React.ReactNode);
154
+ header?: React.ReactNode | (() => React.ReactNode);
154
155
  }
@@ -1,13 +1,24 @@
1
- import { useCallback, useState } from 'react';
1
+ import { useCallback, useState, useEffect } from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
3
  import BottomSheet from '../BottomSheet/BottomSheet';
4
4
  import Calendar from '../Calendar/Calendar';
5
5
  import Button from '../Button/Button';
6
- import { type DateRangeProps } from '../Calendar/CalendarPropsType';
6
+ import Alert from '../Alert/Alert';
7
+ import {
8
+ type CalendarModeType,
9
+ type DateRangeProps,
10
+ } from '../Calendar/CalendarPropsType';
11
+
7
12
  interface DatePickerProps {
8
13
  onChange: (selectedDate: DateRangeProps) => void;
9
14
  isOpen: boolean;
10
15
  onClose: () => void;
16
+ required?: boolean;
17
+ hasError?: boolean;
18
+ onHasError?: (val: boolean) => void;
19
+ hint?: string;
20
+ mode?: CalendarModeType;
21
+ value?: DateRangeProps;
11
22
  [key: string]: any;
12
23
  }
13
24
 
@@ -15,27 +26,84 @@ export default function DatePicker({
15
26
  onChange,
16
27
  isOpen,
17
28
  onClose,
29
+ required = false,
30
+ hasError = false,
31
+ onHasError,
32
+ hint,
33
+ mode,
34
+ // value,
18
35
  ...calendarProps
19
36
  }: DatePickerProps) {
20
- const [valueDatepicker, setValueDatepicker] = useState<DateRangeProps>({
37
+ const [errorValidate, setErrorValidate] = useState<boolean>(false);
38
+ // const [markDates, setMarkDates] = useState();
39
+ const [valueOnChange, setValueOnChange] = useState<DateRangeProps>({
21
40
  startDate: null,
22
41
  endDate: null,
23
42
  date: null,
24
43
  });
44
+ // const [valueSelected, setValueSelected] = useState<DateRangeProps>({
45
+ // startDate: null,
46
+ // endDate: null,
47
+ // date: null,
48
+ // });
25
49
 
26
50
  const handleOnChangeCalendar = useCallback((value: DateRangeProps) => {
27
- setValueDatepicker(value);
51
+ // setMarkDates(null);
52
+ setValueOnChange(value);
53
+ setErrorValidate(false);
28
54
  }, []);
29
55
 
56
+ // const setDefaultValue = () => {
57
+ // if (mode === 'single' && valueOnChange.date) {
58
+ // setMarkDates({
59
+ // [formatDate(valueOnChange.date)]: { selected: true },
60
+ // });
61
+ // } else if (
62
+ // (mode === 'range' || mode === 'multiple') &&
63
+ // valueOnChange.startDate &&
64
+ // valueOnChange.endDate
65
+ // ) {
66
+ // const start = new Date(valueOnChange.startDate);
67
+ // const end = new Date(valueOnChange.endDate);
68
+ // const marks: Record<string, any> = {};
69
+ // for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) {
70
+ // const key = formatDate(new Date(d));
71
+ // marks[key] = { selected: true };
72
+ // }
73
+ // setMarkDates(marks);
74
+ // }
75
+ // };
76
+
30
77
  const handleOnPressSubmitButton = useCallback(() => {
31
- onChange?.(valueDatepicker);
78
+ const { startDate, endDate, date } = valueOnChange;
79
+ const isEmpty = !startDate && !endDate && !date;
80
+ const isRangeMode = mode === 'range';
81
+ const isInvalidRange = isRangeMode && (!startDate || !endDate);
82
+
83
+ if ((required && isEmpty) || isInvalidRange) {
84
+ onHasError?.(true);
85
+ setErrorValidate(true);
86
+ return;
87
+ }
88
+
89
+ onChange?.(valueOnChange);
32
90
  onClose?.();
33
- }, [valueDatepicker, onChange, onClose]);
91
+ // setDefaultValue();
92
+ // setValueSelected(valueOnChange);
93
+ }, [required, mode, valueOnChange, onChange, onClose, onHasError]);
34
94
 
35
95
  const handleOnPressCancelButton = useCallback(() => {
36
96
  onClose?.();
37
97
  }, [onClose]);
38
98
 
99
+ useEffect(() => {
100
+ setErrorValidate(hasError);
101
+ }, [hasError]);
102
+
103
+ // useEffect(() => {
104
+ // setDefaultValue();
105
+ // }, [isOpen, setDefaultValue, valueSelected]);
106
+
39
107
  return (
40
108
  <View>
41
109
  <BottomSheet
@@ -61,7 +129,17 @@ export default function DatePicker({
61
129
  </View>
62
130
  }
63
131
  >
64
- <Calendar onChange={handleOnChangeCalendar} {...calendarProps} />
132
+ <Calendar
133
+ // markedDates={markDates}
134
+ mode={mode}
135
+ onChange={handleOnChangeCalendar}
136
+ {...calendarProps}
137
+ />
138
+ <Alert
139
+ color="danger"
140
+ message={hint ? hint : 'Error validation'}
141
+ hide={!errorValidate}
142
+ />
65
143
  </BottomSheet>
66
144
  </View>
67
145
  );
package/src/Icon/Icon.tsx CHANGED
@@ -22,16 +22,27 @@ import Times from './icons/Times';
22
22
  import ArrowDown from './icons/ArrowDown';
23
23
  import ArrowUp from './icons/ArrowUp';
24
24
  import Search from './icons/Search';
25
- import Home from './icons/Home';
26
25
  import ArrowLeft from './icons/ArrowLeft';
27
26
  import EyeOpen from './icons/EyeOpen';
28
27
  import ExclamationMark from './icons/ExclamationMark';
28
+ import FileListCheck from './icons/FileListCheck';
29
+ import FileText from './icons/FileText';
30
+ import FolderClock from './icons/FolderClock';
31
+ import HomeFill from './icons/HomeFill';
32
+ import HomeOutline from './icons/HomeOutline';
33
+ import Plus from './icons/Plus';
34
+ import UserCircleFill from './icons/UserCircleFill';
35
+ import UserCircleOutline from './icons/UserCircleOutline';
36
+ import ClipBoardListCheck from './icons/ClipBoardListCheck';
37
+ import ClipBoardList from './icons/ClipBoardList';
38
+ import Megaphone from './icons/Megaphone';
39
+ import Bell from './icons/Bell';
40
+ import BookmarkUser from './icons/BookmarkUser';
29
41
 
30
42
  const icons: Record<
31
43
  IconNameProps,
32
44
  React.FC<{ size: number; color: string; style?: ViewStyle }>
33
45
  > = {
34
- 'Home': Home,
35
46
  'Search': Search,
36
47
  'User': User,
37
48
  'Eye': Eye,
@@ -56,6 +67,19 @@ const icons: Record<
56
67
  'Times': Times,
57
68
  'ArrowDown': ArrowDown,
58
69
  'ArrowUp': ArrowUp,
70
+ 'Plus': Plus,
71
+ 'Bell': Bell,
72
+ 'file-list-check': FileListCheck,
73
+ 'file-text': FileText,
74
+ 'bookmark-user': BookmarkUser,
75
+ 'folder-clock': FolderClock,
76
+ 'home-fill': HomeFill,
77
+ 'home-outline': HomeOutline,
78
+ 'user-circle-outline': UserCircleOutline,
79
+ 'user-circle-fill': UserCircleFill,
80
+ 'clipboard-list-check': ClipBoardListCheck,
81
+ 'clipboard-list': ClipBoardList,
82
+ 'Megaphone': Megaphone,
59
83
  };
60
84
 
61
85
  const Icon: React.FC<IconProps> = ({
@@ -70,4 +70,17 @@ export default function App() {
70
70
  - StickyNote
71
71
  - Times
72
72
  - User
73
- - x-circle
73
+ - x-circle
74
+ - Plus
75
+ - Bell
76
+ - file-list-check
77
+ - file-text
78
+ - bookmark-user
79
+ - folder-clock
80
+ - home-fill
81
+ - home-outline
82
+ - user-circle-outline
83
+ - user-circle-fill
84
+ - clipboard-list-check
85
+ - clipboard-list
86
+ - Megaphone
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import Svg, { ClipPath, Defs, G, Path, Rect } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const Bell: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size + 1}
14
+ viewBox="0 0 24 25"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <G clip-path="url(#clip0_9105_4207)">
19
+ <Path
20
+ d="M12 2.9231C10.1435 2.9231 8.36301 3.66059 7.05026 4.97335C5.7375 6.2861 5.00001 8.06658 5.00001 9.9231V13.4511C5.00015 13.6062 4.9642 13.7593 4.89501 13.8981L3.17801 17.3311C3.09413 17.4988 3.05453 17.6852 3.06296 17.8725C3.07138 18.0599 3.12756 18.2419 3.22615 18.4014C3.32474 18.5609 3.46248 18.6926 3.62627 18.7839C3.79007 18.8752 3.97448 18.9231 4.16201 18.9231H19.838C20.0255 18.9231 20.2099 18.8752 20.3737 18.7839C20.5375 18.6926 20.6753 18.5609 20.7739 18.4014C20.8725 18.2419 20.9286 18.0599 20.9371 17.8725C20.9455 17.6852 20.9059 17.4988 20.822 17.3311L19.106 13.8981C19.0365 13.7593 19.0002 13.6063 19 13.4511V9.9231C19 8.06658 18.2625 6.2861 16.9498 4.97335C15.637 3.66059 13.8565 2.9231 12 2.9231ZM12 21.9231C11.3794 21.9233 10.774 21.731 10.2672 21.3729C9.76033 21.0147 9.37702 20.5082 9.17001 19.9231H14.83C14.623 20.5082 14.2397 21.0147 13.7329 21.3729C13.226 21.731 12.6206 21.9233 12 21.9231Z"
21
+ fill={color}
22
+ />
23
+ </G>
24
+ <Defs>
25
+ <ClipPath id="clip0_9105_4207">
26
+ <Rect
27
+ width={size}
28
+ height={size}
29
+ fill={color}
30
+ transform="translate(0 0.923096)"
31
+ />
32
+ </ClipPath>
33
+ </Defs>
34
+ </Svg>
35
+ );
36
+
37
+ export default Bell;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const BookmarkUser: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg
16
+ width={size}
17
+ height={size + 3}
18
+ viewBox="0 0 17 20"
19
+ fill="none"
20
+ style={style}
21
+ >
22
+ <Path
23
+ d="M16.4971 2.56995V16L16.49 15.986V16L14.1411 14.656C14.0471 14.603 13.99 14.503 13.99 14.396C13.99 14.396 13.99 6.50495 13.99 6.47095C13.949 3.98395 12.4439 2.501 9.92993 2.5H4.71704C4.54304 2.5 4.4911 2.34805 4.5061 2.17505C4.6311 0.731049 5.48506 0 7.06006 0H13.9199H13.927C15.637 0 16.4971 0.859946 16.4971 2.56995ZM12.5 6.57104V20L6.5 16.572L0.5 20V6.57104C0.5 4.85705 1.35704 4 3.07104 4H9.92798C11.643 4 12.5 4.85705 12.5 6.57104ZM4.6001 8.40002C4.6001 9.44802 5.453 10.3 6.5 10.3C7.547 10.3 8.3999 9.44802 8.3999 8.40002C8.3999 7.35202 7.547 6.5 6.5 6.5C5.453 6.5 4.6001 7.35202 4.6001 8.40002ZM9.52002 13.746C9.52002 12.58 8.66804 11.4 7.04004 11.4H5.96191C4.33291 11.4 3.48193 12.58 3.48193 13.746V14C3.48193 14.276 3.70593 14.5 3.98193 14.5H9.021C9.297 14.5 9.521 14.276 9.521 14V13.746H9.52002Z"
24
+ fill={color}
25
+ />
26
+ </Svg>
27
+ );
28
+
29
+ export default BookmarkUser;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const ClipBoardList: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg
16
+ width={size}
17
+ height={size + 1}
18
+ viewBox="0 0 24 25"
19
+ fill="none"
20
+ style={style}
21
+ >
22
+ <Path
23
+ d="M8 6.26917V5.26917C8 4.26917 8.5 3.76917 9.5 3.76917H14.5C15.5 3.76917 16 4.26917 16 5.26917V6.26917C16 7.26917 15.5 7.76917 14.5 7.76917H9.5C8.5 7.76917 8 7.26917 8 6.26917ZM20 8.76917V18.7692C20 20.7692 19 21.7692 17 21.7692H7C5 21.7692 4 20.7692 4 18.7692V8.76917C4 7.02716 4.75189 6.04617 6.26489 5.82617C6.38589 5.80817 6.5 5.90815 6.5 6.03015V6.26819C6.5 8.08819 7.68 9.26819 9.5 9.26819H14.5C16.32 9.26819 17.5 8.08819 17.5 6.26819V6.03015C17.5 5.90815 17.6151 5.80817 17.7351 5.82617C19.2481 6.04617 20 7.02716 20 8.76917ZM8.75 16.7692C8.75 16.3552 8.414 16.0192 8 16.0192C7.586 16.0192 7.25 16.3552 7.25 16.7692C7.25 17.1832 7.586 17.5192 8 17.5192C8.414 17.5192 8.75 17.1832 8.75 16.7692ZM8.75 12.7692C8.75 12.3552 8.414 12.0192 8 12.0192C7.586 12.0192 7.25 12.3552 7.25 12.7692C7.25 13.1832 7.586 13.5192 8 13.5192C8.414 13.5192 8.75 13.1832 8.75 12.7692ZM16.75 16.7692C16.75 16.3552 16.414 16.0192 16 16.0192H11C10.586 16.0192 10.25 16.3552 10.25 16.7692C10.25 17.1832 10.586 17.5192 11 17.5192H16C16.414 17.5192 16.75 17.1832 16.75 16.7692ZM16.75 12.7692C16.75 12.3552 16.414 12.0192 16 12.0192H11C10.586 12.0192 10.25 12.3552 10.25 12.7692C10.25 13.1832 10.586 13.5192 11 13.5192H16C16.414 13.5192 16.75 13.1832 16.75 12.7692Z"
24
+ fill={color}
25
+ />
26
+ </Svg>
27
+ );
28
+
29
+ export default ClipBoardList;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const ClipBoardListCheck: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg
16
+ width={size}
17
+ height={size + 1}
18
+ viewBox="0 0 24 25"
19
+ fill="none"
20
+ style={style}
21
+ >
22
+ <Path
23
+ d="M17.7351 5.82617C17.6141 5.80817 17.5 5.90815 17.5 6.03015V6.26819C17.5 8.08819 16.32 9.26819 14.5 9.26819H9.5C7.68 9.26819 6.5 8.08819 6.5 6.26819V6.03015C6.5 5.90815 6.38489 5.80817 6.26489 5.82617C4.75189 6.04617 4 7.02716 4 8.76917V18.7692C4 20.7692 5 21.7692 7 21.7692H17C19 21.7692 20 20.7692 20 18.7692V8.76917C20 7.02716 19.2481 6.04617 17.7351 5.82617ZM10.03 16.6332L8.69702 17.9662C8.55602 18.1072 8.36599 18.1862 8.16699 18.1862C7.96799 18.1862 7.77696 18.1072 7.63696 17.9672L6.96997 17.3002C6.67697 17.0072 6.67697 16.5321 6.96997 16.2391C7.26297 15.9461 7.73801 15.9461 8.03101 16.2391L8.16797 16.3762L8.97095 15.5732C9.26395 15.2802 9.73898 15.2802 10.032 15.5732C10.323 15.8652 10.323 16.3402 10.03 16.6332ZM10.03 12.6332L8.69702 13.9662C8.55602 14.1072 8.36599 14.1862 8.16699 14.1862C7.96799 14.1862 7.77696 14.1072 7.63696 13.9672L6.96997 13.3002C6.67697 13.0072 6.67697 12.5321 6.96997 12.2391C7.26297 11.9461 7.73801 11.9461 8.03101 12.2391L8.16797 12.3762L8.97095 11.5732C9.26395 11.2802 9.73898 11.2802 10.032 11.5732C10.323 11.8652 10.323 12.3402 10.03 12.6332ZM16.5 17.5192H12.5C12.086 17.5192 11.75 17.1832 11.75 16.7692C11.75 16.3552 12.086 16.0192 12.5 16.0192H16.5C16.914 16.0192 17.25 16.3552 17.25 16.7692C17.25 17.1832 16.914 17.5192 16.5 17.5192ZM16.5 13.5192H12.5C12.086 13.5192 11.75 13.1832 11.75 12.7692C11.75 12.3552 12.086 12.0192 12.5 12.0192H16.5C16.914 12.0192 17.25 12.3552 17.25 12.7692C17.25 13.1832 16.914 13.5192 16.5 13.5192ZM8 6.26917V5.26917C8 4.26917 8.5 3.76917 9.5 3.76917H14.5C15.5 3.76917 16 4.26917 16 5.26917V6.26917C16 7.26917 15.5 7.76917 14.5 7.76917H9.5C8.5 7.76917 8 7.26917 8 6.26917Z"
24
+ fill={color}
25
+ />
26
+ </Svg>
27
+ );
28
+
29
+ export default ClipBoardListCheck;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const FileListCheck: React.FC<Props> = ({
11
+ size = 24,
12
+ color = '#000',
13
+ style,
14
+ }) => (
15
+ <Svg
16
+ width={size}
17
+ height={size + 1}
18
+ viewBox="0 0 24 25"
19
+ fill="none"
20
+ style={style}
21
+ >
22
+ <Path
23
+ d="M12.75 5.53845V3.28845L17.25 7.78845H15C13.42 7.78845 12.75 7.11845 12.75 5.53845ZM12.74 20.1385C12.8 20.3385 12.66 20.5385 12.46 20.5385H6C4 20.5385 3 19.5385 3 17.5385V5.53845C3 3.53845 4 2.53845 6 2.53845H11.25V5.53845C11.25 7.95845 12.58 9.28845 15 9.28845H18V12.7484C18 12.9084 17.87 13.0385 17.71 13.0485C14.82 13.1985 12.5 15.6085 12.5 18.5385C12.5 19.0985 12.58 19.6385 12.74 20.1385ZM7.75 15.5385C7.75 15.1245 7.414 14.7885 7 14.7885C6.586 14.7885 6.25 15.1245 6.25 15.5385C6.25 15.9525 6.586 16.2885 7 16.2885C7.414 16.2885 7.75 15.9525 7.75 15.5385ZM7.75 11.5385C7.75 11.1245 7.414 10.7885 7 10.7885C6.586 10.7885 6.25 11.1245 6.25 11.5385C6.25 11.9525 6.586 12.2885 7 12.2885C7.414 12.2885 7.75 11.9525 7.75 11.5385ZM11.75 15.5385C11.75 15.1245 11.414 14.7885 11 14.7885H9.5C9.086 14.7885 8.75 15.1245 8.75 15.5385C8.75 15.9525 9.086 16.2885 9.5 16.2885H11C11.414 16.2885 11.75 15.9525 11.75 15.5385ZM14 12.2885C14.414 12.2885 14.75 11.9525 14.75 11.5385C14.75 11.1245 14.414 10.7885 14 10.7885H9.5C9.086 10.7885 8.75 11.1245 8.75 11.5385C8.75 11.9525 9.086 12.2885 9.5 12.2885H14ZM22 18.5385C22 20.7475 20.209 22.5385 18 22.5385C15.791 22.5385 14 20.7475 14 18.5385C14 16.3295 15.791 14.5385 18 14.5385C20.209 14.5385 22 16.3295 22 18.5385ZM19.604 17.3514C19.409 17.1564 19.092 17.1564 18.897 17.3514L17.584 18.6645L17.105 18.1844C16.91 17.9894 16.5929 17.9894 16.3979 18.1844C16.2029 18.3794 16.2029 18.6964 16.3979 18.8914L17.231 19.7245C17.325 19.8185 17.452 19.8705 17.585 19.8705C17.718 19.8705 17.845 19.8175 17.939 19.7245L19.606 18.0575C19.799 17.8635 19.799 17.5474 19.604 17.3514Z"
24
+ fill={color}
25
+ />
26
+ </Svg>
27
+ );
28
+
29
+ export default FileListCheck;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const FileText: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size + 1}
14
+ viewBox="0 0 24 25"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <Path
19
+ d="M19.25 8.40381H17C15.42 8.40381 14.75 7.73381 14.75 6.15381V3.90381L19.25 8.40381ZM20 9.90381V18.1538C20 20.1538 19 21.1538 17 21.1538H8C6 21.1538 5 20.1538 5 18.1538V6.15381C5 4.15381 6 3.15381 8 3.15381H13.25V6.15381C13.25 8.57381 14.58 9.90381 17 9.90381H20ZM13.75 16.1538C13.75 15.7398 13.414 15.4038 13 15.4038H9C8.586 15.4038 8.25 15.7398 8.25 16.1538C8.25 16.5678 8.586 16.9038 9 16.9038H13C13.414 16.9038 13.75 16.5678 13.75 16.1538ZM16.75 12.1538C16.75 11.7398 16.414 11.4038 16 11.4038H9C8.586 11.4038 8.25 11.7398 8.25 12.1538C8.25 12.5678 8.586 12.9038 9 12.9038H16C16.414 12.9038 16.75 12.5678 16.75 12.1538Z"
20
+ fill={color}
21
+ />
22
+ </Svg>
23
+ );
24
+
25
+ export default FileText;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const FolderClock: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size - 2}
14
+ viewBox="0 0 19 16"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <Path
19
+ d="M10.791 10.084C10.986 10.279 10.986 10.596 10.791 10.791C10.693 10.889 10.565 10.937 10.437 10.937C10.309 10.937 10.181 10.888 10.083 10.791L9.14502 9.854C9.05102 9.76 8.99902 9.633 8.99902 9.5V8.18799C8.99902 7.91199 9.22302 7.68799 9.49902 7.68799C9.77502 7.68799 9.99902 7.91199 9.99902 8.18799V9.293L10.791 10.084ZM18.5 6V13C18.5 15 17.5 16 15.5 16H3.5C1.5 16 0.5 15 0.5 13V3C0.5 1 1.5 0 3.5 0H7.5L10.5 3H15.5C17.5 3 18.5 4 18.5 6ZM13 9.5C13 7.567 11.433 6 9.5 6C7.567 6 6 7.567 6 9.5C6 11.433 7.567 13 9.5 13C11.433 13 13 11.433 13 9.5Z"
20
+ fill={color}
21
+ />
22
+ </Svg>
23
+ );
24
+
25
+ export default FolderClock;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+
4
+ interface Props {
5
+ size?: number;
6
+ color?: string;
7
+ style?: object;
8
+ }
9
+
10
+ const HomeFill: React.FC<Props> = ({ size = 24, color = '#000', style }) => (
11
+ <Svg
12
+ width={size}
13
+ height={size + 1}
14
+ viewBox="0 0 24 25"
15
+ fill="none"
16
+ style={style}
17
+ >
18
+ <Path
19
+ fill-rule="evenodd"
20
+ clip-rule="evenodd"
21
+ d="M20.2701 9.36973L13.5881 3.87668C12.6651 3.11768 11.3341 3.11768 10.4111 3.87668L3.73003 9.36973C3.16903 9.83073 2.90203 10.5587 3.03203 11.2727L4.48711 19.2547C4.70411 20.4427 5.73909 21.3067 6.94609 21.3067H17.052C18.26 21.3067 19.295 20.4427 19.511 19.2547L20.966 11.2717C21.098 10.5597 20.8311 9.83073 20.2701 9.36973ZM14 18.0577H10C9.58605 18.0577 9.25005 17.7217 9.25005 17.3077C9.25005 16.8937 9.58605 16.5577 10 16.5577H14C14.414 16.5577 14.75 16.8937 14.75 17.3077C14.75 17.7217 14.414 18.0577 14 18.0577Z"
22
+ fill={color}
23
+ />
24
+ </Svg>
25
+ );
26
+
27
+ export default HomeFill;