chop-logic-components 2.5.3 → 3.0.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 (257) hide show
  1. package/dist/chop-logic-components.css +1 -1
  2. package/dist/index.cjs.js +18 -18
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +492 -7
  5. package/dist/index.es.js +2031 -1726
  6. package/dist/index.es.js.map +1 -1
  7. package/package.json +6 -5
  8. package/dist/assets/icons/__tests__/icons.test.d.ts +0 -1
  9. package/dist/assets/icons/index.d.ts +0 -8
  10. package/dist/assets/icons/svg/ArrowDownIcon.d.ts +0 -3
  11. package/dist/assets/icons/svg/ArrowUpIcon.d.ts +0 -3
  12. package/dist/assets/icons/svg/BackIcon.d.ts +0 -3
  13. package/dist/assets/icons/svg/CancelIcon.d.ts +0 -3
  14. package/dist/assets/icons/svg/CheckMarkIcon.d.ts +0 -3
  15. package/dist/assets/icons/svg/CheckboxCheckedIcon.d.ts +0 -3
  16. package/dist/assets/icons/svg/CheckboxUncheckedIcon.d.ts +0 -3
  17. package/dist/assets/icons/svg/ChevronDownIcon.d.ts +0 -3
  18. package/dist/assets/icons/svg/ChevronLeftIcon.d.ts +0 -3
  19. package/dist/assets/icons/svg/ChevronRightIcon.d.ts +0 -3
  20. package/dist/assets/icons/svg/ChevronUpIcon.d.ts +0 -3
  21. package/dist/assets/icons/svg/ClearIcon.d.ts +0 -3
  22. package/dist/assets/icons/svg/CopyIcon.d.ts +0 -3
  23. package/dist/assets/icons/svg/CutIcon.d.ts +0 -3
  24. package/dist/assets/icons/svg/DeleteIcon.d.ts +0 -3
  25. package/dist/assets/icons/svg/DownloadIcon.d.ts +0 -3
  26. package/dist/assets/icons/svg/ErrorIcon.d.ts +0 -3
  27. package/dist/assets/icons/svg/ForwardIcon.d.ts +0 -3
  28. package/dist/assets/icons/svg/GraduateIcon.d.ts +0 -3
  29. package/dist/assets/icons/svg/HelpIcon.d.ts +0 -3
  30. package/dist/assets/icons/svg/HideIcon.d.ts +0 -3
  31. package/dist/assets/icons/svg/HomeIcon.d.ts +0 -3
  32. package/dist/assets/icons/svg/InfoIcon.d.ts +0 -3
  33. package/dist/assets/icons/svg/LoginIcon.d.ts +0 -3
  34. package/dist/assets/icons/svg/PasteIcon.d.ts +0 -3
  35. package/dist/assets/icons/svg/QuestionIcon.d.ts +0 -3
  36. package/dist/assets/icons/svg/RemoveIcon.d.ts +0 -3
  37. package/dist/assets/icons/svg/SaveIcon.d.ts +0 -3
  38. package/dist/assets/icons/svg/ShowIcon.d.ts +0 -3
  39. package/dist/assets/icons/svg/UploadIcon.d.ts +0 -3
  40. package/dist/assets/icons/svg/WarningIcon.d.ts +0 -3
  41. package/dist/atoms/grid/body/GridBody.d.ts +0 -13
  42. package/dist/atoms/grid/body/GridBody.test.d.ts +0 -1
  43. package/dist/atoms/grid/checkbox/GridCheckbox.d.ts +0 -6
  44. package/dist/atoms/grid/column-group/GridColumnGroup.d.ts +0 -6
  45. package/dist/atoms/grid/column-group/GridColumnGroup.test.d.ts +0 -1
  46. package/dist/atoms/grid/data-cell/GridDataCell.d.ts +0 -4
  47. package/dist/atoms/grid/grid-row/GridRow.d.ts +0 -12
  48. package/dist/atoms/grid/grid-row/GridRow.test.d.ts +0 -1
  49. package/dist/atoms/grid/head/GridHead.d.ts +0 -13
  50. package/dist/atoms/grid/head/GridHead.test.d.ts +0 -1
  51. package/dist/atoms/grid/header-cell/HeaderCell.d.ts +0 -5
  52. package/dist/atoms/grid/select-all-grid-rows-cell/SelectAllGridRowsCell.d.ts +0 -10
  53. package/dist/atoms/grid/select-all-grid-rows-cell/SelectAllGridRowsCell.test.d.ts +0 -1
  54. package/dist/atoms/grid/select-grid-row-cell/SelectGridRowCell.d.ts +0 -10
  55. package/dist/atoms/grid/select-grid-row-cell/SelectGridRowCell.test.d.ts +0 -1
  56. package/dist/atoms/header/Header.d.ts +0 -4
  57. package/dist/atoms/header/Header.test.d.ts +0 -1
  58. package/dist/atoms/header/__docs__/Header.stories.d.ts +0 -6
  59. package/dist/atoms/icon/Icon.d.ts +0 -4
  60. package/dist/atoms/icon/Icon.test.d.ts +0 -1
  61. package/dist/atoms/icon/__docs__/Icon.stories.d.ts +0 -6
  62. package/dist/atoms/index.d.ts +0 -22
  63. package/dist/atoms/input/error-message/ErrorMessage.d.ts +0 -10
  64. package/dist/atoms/input/error-message/ErrorMessage.test.d.ts +0 -1
  65. package/dist/atoms/input/icon-button/IconButton.d.ts +0 -4
  66. package/dist/atoms/input/icon-button/IconButton.test.d.ts +0 -1
  67. package/dist/atoms/input/inner-button/InnerButton.d.ts +0 -9
  68. package/dist/atoms/input/inner-button/InnerButton.test.d.ts +0 -1
  69. package/dist/atoms/input/input/Input.d.ts +0 -4
  70. package/dist/atoms/input/label/Label.d.ts +0 -11
  71. package/dist/atoms/input/label/Label.test.d.ts +0 -1
  72. package/dist/atoms/input/multi-select/Combobox.d.ts +0 -15
  73. package/dist/atoms/input/multi-select/Dropdown.d.ts +0 -11
  74. package/dist/atoms/input/multi-select/Option.d.ts +0 -8
  75. package/dist/atoms/input/primary-button/PrimaryButton.d.ts +0 -4
  76. package/dist/atoms/input/primary-button/PrimaryButton.test.d.ts +0 -1
  77. package/dist/atoms/input/secondary-button/SecondaryButton.d.ts +0 -4
  78. package/dist/atoms/input/secondary-button/SecondaryButton.test.d.ts +0 -1
  79. package/dist/atoms/input/select/combobox/Combobox.d.ts +0 -15
  80. package/dist/atoms/input/select/dropdown/Dropdown.d.ts +0 -14
  81. package/dist/atoms/input/select/option/Option.d.ts +0 -10
  82. package/dist/atoms/loader/Loader.d.ts +0 -4
  83. package/dist/atoms/loader/Loader.test.d.ts +0 -1
  84. package/dist/atoms/loader/__docs__/Loader.example.d.ts +0 -3
  85. package/dist/atoms/loader/__docs__/Loader.stories.d.ts +0 -6
  86. package/dist/atoms/menu/item/MenuItem.d.ts +0 -10
  87. package/dist/atoms/menu/item/MenuItem.test.d.ts +0 -1
  88. package/dist/atoms/menu/leaf/MenuLeaf.d.ts +0 -5
  89. package/dist/atoms/menu/leaf/MenuLeaf.test.d.ts +0 -1
  90. package/dist/atoms/menu/sub-menu/SubMenu.d.ts +0 -14
  91. package/dist/atoms/menu/sub-menu/SubMenu.test.d.ts +0 -1
  92. package/dist/atoms/portal/Portal.d.ts +0 -5
  93. package/dist/atoms/portal/Portal.test.d.ts +0 -1
  94. package/dist/atoms/portal/__docs__/Portal.example.d.ts +0 -2
  95. package/dist/atoms/portal/__docs__/Portal.stories.d.ts +0 -6
  96. package/dist/atoms/tabs/button/TabButton.d.ts +0 -13
  97. package/dist/atoms/tabs/button/TabButton.test.d.ts +0 -1
  98. package/dist/atoms/tabs/content/TabContent.d.ts +0 -6
  99. package/dist/atoms/tabs/content/TabContent.test.d.ts +0 -1
  100. package/dist/atoms/tabs/list/TabList.d.ts +0 -13
  101. package/dist/atoms/tabs/list/TabList.test.d.ts +0 -1
  102. package/dist/atoms/tooltip/Tooltip.controller.d.ts +0 -19
  103. package/dist/atoms/tooltip/Tooltip.d.ts +0 -4
  104. package/dist/atoms/tooltip/Tooltip.test.d.ts +0 -1
  105. package/dist/atoms/tooltip/__docs__/Tooltip.example.d.ts +0 -3
  106. package/dist/atoms/tooltip/__docs__/Tooltip.stories.d.ts +0 -9
  107. package/dist/contexts/form/context.d.ts +0 -8
  108. package/dist/contexts/index.d.ts +0 -3
  109. package/dist/contexts/theme/context.d.ts +0 -6
  110. package/dist/contexts/theme/provider.d.ts +0 -6
  111. package/dist/enums/chop-logic-alert-mode.d.ts +0 -7
  112. package/dist/enums/chop-logic-button-view.d.ts +0 -6
  113. package/dist/enums/chop-logic-icon-name.d.ts +0 -33
  114. package/dist/enums/chop-logic-loader-view.d.ts +0 -11
  115. package/dist/enums/chop-logic-orientation-mode.d.ts +0 -4
  116. package/dist/enums/chop-logic-theme-mode.d.ts +0 -4
  117. package/dist/enums/chop-logic-tooltip-container.d.ts +0 -7
  118. package/dist/enums/index.d.ts +0 -7
  119. package/dist/hocs/index.d.ts +0 -1
  120. package/dist/hocs/with-tooltip/with-tooltip.d.ts +0 -7
  121. package/dist/hocs/with-tooltip/with-tooltip.test.d.ts +0 -1
  122. package/dist/hooks/index.d.ts +0 -12
  123. package/dist/hooks/use-auto-close/__docs__/use-auto-close.example.d.ts +0 -2
  124. package/dist/hooks/use-auto-close/__docs__/use-auto-close.stories.d.ts +0 -6
  125. package/dist/hooks/use-auto-close/use-auto-close.d.ts +0 -6
  126. package/dist/hooks/use-auto-close/use-auto-close.test.d.ts +0 -1
  127. package/dist/hooks/use-chop-logic-theme/use-chop-logic-theme.d.ts +0 -1
  128. package/dist/hooks/use-click-outside/__docs__/use-click-outside.example.d.ts +0 -1
  129. package/dist/hooks/use-click-outside/__docs__/use-click-outside.stories.d.ts +0 -6
  130. package/dist/hooks/use-click-outside/use-click-outside.d.ts +0 -8
  131. package/dist/hooks/use-click-outside/use-click-outside.test.d.ts +0 -1
  132. package/dist/hooks/use-container-dimensions/__docs__/use-container-dimensions.example.d.ts +0 -1
  133. package/dist/hooks/use-container-dimensions/__docs__/use-container-dimensions.stories.d.ts +0 -6
  134. package/dist/hooks/use-container-dimensions/use-container-dimensions.d.ts +0 -8
  135. package/dist/hooks/use-element-ids/use-element-ids.d.ts +0 -5
  136. package/dist/hooks/use-element-ids/use-element-ids.test.d.ts +0 -1
  137. package/dist/hooks/use-is-mounted/__docs__/use-is-mounted.example.d.ts +0 -1
  138. package/dist/hooks/use-is-mounted/__docs__/use-is-mounted.stories.d.ts +0 -6
  139. package/dist/hooks/use-is-mounted/use-is-mounted.d.ts +0 -1
  140. package/dist/hooks/use-is-mounted/use-is-mounted.test.d.ts +0 -1
  141. package/dist/hooks/use-is-overflow/__docs__/use-is-overflow.example.d.ts +0 -4
  142. package/dist/hooks/use-is-overflow/__docs__/use-is-overflow.stories.d.ts +0 -6
  143. package/dist/hooks/use-is-overflow/use-is-overflow.d.ts +0 -2
  144. package/dist/hooks/use-is-overflow/use-is-overflow.test.d.ts +0 -1
  145. package/dist/hooks/use-key-press/__docs__/use-key-press.example.d.ts +0 -1
  146. package/dist/hooks/use-key-press/__docs__/use-key-press.stories.d.ts +0 -6
  147. package/dist/hooks/use-key-press/use-key-press.d.ts +0 -8
  148. package/dist/hooks/use-key-press/use-key-press.test.d.ts +0 -1
  149. package/dist/hooks/use-modal-focus-trap/__docs__/use-modal-focus-trap.example.d.ts +0 -1
  150. package/dist/hooks/use-modal-focus-trap/__docs__/use-modal-focus-trap.stories.d.ts +0 -6
  151. package/dist/hooks/use-modal-focus-trap/use-modal-focus-trap.d.ts +0 -7
  152. package/dist/hooks/use-modal-focus-trap/use-modal-focus-trap.test.d.ts +0 -1
  153. package/dist/hooks/use-reset-form-input/use-reset-form-input.d.ts +0 -1
  154. package/dist/hooks/use-tooltip-position/__docs__/use-tooltip-position.example.d.ts +0 -1
  155. package/dist/hooks/use-tooltip-position/__docs__/use-tooltip-position.stories.d.ts +0 -6
  156. package/dist/hooks/use-tooltip-position/use-tooltip-position.d.ts +0 -12
  157. package/dist/hooks/use-tooltip-position/use-tooltip-position.test.d.ts +0 -1
  158. package/dist/hooks/use-window-dimensions/__docs__/use-window-dimensions.example.d.ts +0 -1
  159. package/dist/hooks/use-window-dimensions/__docs__/use-window-dimensions.stories.d.ts +0 -6
  160. package/dist/hooks/use-window-dimensions/use-window-dimensions.d.ts +0 -2
  161. package/dist/hooks/use-window-dimensions/use-window-dimensions.test.d.ts +0 -1
  162. package/dist/models/_common.d.ts +0 -33
  163. package/dist/models/alert.d.ts +0 -11
  164. package/dist/models/button.d.ts +0 -14
  165. package/dist/models/checkbox.d.ts +0 -8
  166. package/dist/models/dialog.d.ts +0 -9
  167. package/dist/models/form.d.ts +0 -19
  168. package/dist/models/grid.d.ts +0 -23
  169. package/dist/models/header.d.ts +0 -9
  170. package/dist/models/icon.d.ts +0 -11
  171. package/dist/models/index.d.ts +0 -17
  172. package/dist/models/loader.d.ts +0 -6
  173. package/dist/models/menu.d.ts +0 -17
  174. package/dist/models/multi-select.d.ts +0 -7
  175. package/dist/models/numeric.d.ts +0 -16
  176. package/dist/models/select.d.ts +0 -7
  177. package/dist/models/tabs.d.ts +0 -14
  178. package/dist/models/text.d.ts +0 -17
  179. package/dist/models/tooltip.d.ts +0 -10
  180. package/dist/molecules/index.d.ts +0 -6
  181. package/dist/molecules/inputs/button/Button.d.ts +0 -7
  182. package/dist/molecules/inputs/button/Button.test.d.ts +0 -1
  183. package/dist/molecules/inputs/button/__docs__/Button.example.d.ts +0 -3
  184. package/dist/molecules/inputs/button/__docs__/Button.stories.d.ts +0 -9
  185. package/dist/molecules/inputs/checkbox/Checkbox.controller.d.ts +0 -9
  186. package/dist/molecules/inputs/checkbox/Checkbox.d.ts +0 -4
  187. package/dist/molecules/inputs/checkbox/Checkbox.helpers.d.ts +0 -6
  188. package/dist/molecules/inputs/checkbox/__docs__/Checkbox.example.d.ts +0 -3
  189. package/dist/molecules/inputs/checkbox/__docs__/Checkbox.stories.d.ts +0 -8
  190. package/dist/molecules/inputs/checkbox/__tests__/Checkbox.test.d.ts +0 -1
  191. package/dist/molecules/inputs/multi-select/MultiSelect.d.ts +0 -4
  192. package/dist/molecules/inputs/multi-select/Multiselect.controller.d.ts +0 -13
  193. package/dist/molecules/inputs/multi-select/Multiselect.helpers.d.ts +0 -9
  194. package/dist/molecules/inputs/multi-select/__docs__/MultiSelect.example.d.ts +0 -3
  195. package/dist/molecules/inputs/multi-select/__docs__/MultiSelect.stories.d.ts +0 -6
  196. package/dist/molecules/inputs/multi-select/__tests__/MultiSelect.test.d.ts +0 -1
  197. package/dist/molecules/inputs/multi-select/__tests__/helpers.test.d.ts +0 -1
  198. package/dist/molecules/inputs/numeric/NumericInput.controller.d.ts +0 -21
  199. package/dist/molecules/inputs/numeric/NumericInput.d.ts +0 -4
  200. package/dist/molecules/inputs/numeric/NumericInput.helpers.d.ts +0 -13
  201. package/dist/molecules/inputs/numeric/__docs__/NumericInput.example.d.ts +0 -3
  202. package/dist/molecules/inputs/numeric/__docs__/NumericInput.stories.d.ts +0 -6
  203. package/dist/molecules/inputs/numeric/__tests__/NumericInput.test.d.ts +0 -1
  204. package/dist/molecules/inputs/numeric/__tests__/helpers.test.d.ts +0 -1
  205. package/dist/molecules/inputs/select/Select.controller.d.ts +0 -14
  206. package/dist/molecules/inputs/select/Select.d.ts +0 -4
  207. package/dist/molecules/inputs/select/Select.helpers.d.ts +0 -7
  208. package/dist/molecules/inputs/select/__docs__/Select.example.d.ts +0 -3
  209. package/dist/molecules/inputs/select/__docs__/Select.stories.d.ts +0 -6
  210. package/dist/molecules/inputs/select/__tests__/Select.test.d.ts +0 -1
  211. package/dist/molecules/inputs/select/__tests__/helpers.test.d.ts +0 -1
  212. package/dist/molecules/inputs/text/TextInput.controller.d.ts +0 -17
  213. package/dist/molecules/inputs/text/TextInput.d.ts +0 -4
  214. package/dist/molecules/inputs/text/TextInput.helpers.d.ts +0 -11
  215. package/dist/molecules/inputs/text/__docs__/TextInput.example.d.ts +0 -3
  216. package/dist/molecules/inputs/text/__docs__/TextInput.stories.d.ts +0 -8
  217. package/dist/molecules/inputs/text/__tests__/TextInput.test.d.ts +0 -1
  218. package/dist/molecules/inputs/text/__tests__/helpers.test.d.ts +0 -1
  219. package/dist/organisms/alert/Alert.d.ts +0 -4
  220. package/dist/organisms/alert/Alert.helpers.d.ts +0 -3
  221. package/dist/organisms/alert/Alert.test.d.ts +0 -1
  222. package/dist/organisms/alert/__docs__/Alert.example.d.ts +0 -3
  223. package/dist/organisms/alert/__docs__/Alert.stories.d.ts +0 -6
  224. package/dist/organisms/dialog/Dialog.d.ts +0 -4
  225. package/dist/organisms/dialog/Dialog.test.d.ts +0 -1
  226. package/dist/organisms/dialog/__docs__/Dialog.example.d.ts +0 -3
  227. package/dist/organisms/dialog/__docs__/Dialog.stories.d.ts +0 -6
  228. package/dist/organisms/form/Form.controller.d.ts +0 -14
  229. package/dist/organisms/form/Form.d.ts +0 -4
  230. package/dist/organisms/form/Form.helpers.d.ts +0 -4
  231. package/dist/organisms/form/Form.helpers.test.d.ts +0 -1
  232. package/dist/organisms/form/__docs__/Form.example.d.ts +0 -3
  233. package/dist/organisms/form/__docs__/Form.stories.d.ts +0 -6
  234. package/dist/organisms/form/__tests__/Form.test.d.ts +0 -1
  235. package/dist/organisms/grid/Grid.controller.d.ts +0 -15
  236. package/dist/organisms/grid/Grid.d.ts +0 -4
  237. package/dist/organisms/grid/Grid.helpers.d.ts +0 -7
  238. package/dist/organisms/grid/__docs__/Grid.example.d.ts +0 -3
  239. package/dist/organisms/grid/__docs__/Grid.stories.d.ts +0 -7
  240. package/dist/organisms/grid/__tests__/Grid.test.d.ts +0 -1
  241. package/dist/organisms/grid/__tests__/helpers.test.d.ts +0 -1
  242. package/dist/organisms/index.d.ts +0 -6
  243. package/dist/organisms/menu/Menu.d.ts +0 -4
  244. package/dist/organisms/menu/Menu.test.d.ts +0 -1
  245. package/dist/organisms/menu/__docs__/Menu.example.d.ts +0 -4
  246. package/dist/organisms/menu/__docs__/Menu.stories.d.ts +0 -8
  247. package/dist/organisms/tabs/Tabs.d.ts +0 -4
  248. package/dist/organisms/tabs/Tabs.test.d.ts +0 -1
  249. package/dist/organisms/tabs/__docs__/Tabs.example.d.ts +0 -3
  250. package/dist/organisms/tabs/__docs__/Tabs.stories.d.ts +0 -7
  251. package/dist/utils/__tests__/get-class-name.test.d.ts +0 -1
  252. package/dist/utils/__tests__/handle-dropdown-list-key-press.test.d.ts +0 -1
  253. package/dist/utils/__tests__/move-focus-on-element-by-id.test.d.ts +0 -1
  254. package/dist/utils/get-class-name.d.ts +0 -5
  255. package/dist/utils/handle-dropdown-list-key-press.d.ts +0 -7
  256. package/dist/utils/index.d.ts +0 -3
  257. package/dist/utils/move-focus-on-element-by-id.d.ts +0 -1
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/ChopLogic/chop-logic-components.git"
6
6
  },
7
- "version": "2.5.3",
7
+ "version": "3.0.0",
8
8
  "description": "Reusable React components and hooks for the Chop Logic project",
9
9
  "type": "module",
10
10
  "main": "dist/index.cjs.js",
@@ -13,6 +13,7 @@
13
13
  "files": [
14
14
  "/dist"
15
15
  ],
16
+ "sideEffects": false,
16
17
  "scripts": {
17
18
  "start": "storybook dev -p 6006 --no-open",
18
19
  "build": "tsc && vite build",
@@ -58,8 +59,8 @@
58
59
  "@commitlint/cli": "^19.7.1",
59
60
  "@commitlint/config-conventional": "^19.7.1",
60
61
  "@eslint/js": "^9.20.0",
61
- "@storybook/addon-docs": "^9.1.1",
62
- "@storybook/react-vite": "^9.1.1",
62
+ "@storybook/addon-docs": "^9.1.5",
63
+ "@storybook/react-vite": "^9.1.5",
63
64
  "@testing-library/jest-dom": "^6.6.3",
64
65
  "@testing-library/react": "^16.2.0",
65
66
  "@types/node": "^22.13.0",
@@ -71,7 +72,7 @@
71
72
  "eslint-plugin-react-hooks": "^5.1.0",
72
73
  "eslint-plugin-react-refresh": "^0.4.18",
73
74
  "eslint-plugin-simple-import-sort": "^12.1.1",
74
- "eslint-plugin-storybook": "^9.1.1",
75
+ "eslint-plugin-storybook": "^9.1.5",
75
76
  "globals": "^15.14.0",
76
77
  "husky": "^9.1.7",
77
78
  "husky-init": "^8.0.0",
@@ -79,7 +80,7 @@
79
80
  "prettier": "^3.4.2",
80
81
  "remark-gfm": "^4.0.1",
81
82
  "sass": "^1.87.0",
82
- "storybook": "^9.1.1",
83
+ "storybook": "^9.1.5",
83
84
  "typescript": "^5.7.3",
84
85
  "typescript-eslint": "^8.23.0",
85
86
  "vite": "^6.0.11",
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import { ChopLogicIconName } from '../../enums';
2
- import { ChopLogicSVGElementProps } from '../../models';
3
- import { ReactElement } from 'react';
4
- type ChopLogicIcons = {
5
- [key in ChopLogicIconName]: ({ title, ...rest }: ChopLogicSVGElementProps) => ReactElement;
6
- };
7
- export declare const ChopLogicIconDictionary: ChopLogicIcons;
8
- export {};
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ArrowDownIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ArrowDownIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ArrowUpIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ArrowUpIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function BackIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default BackIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CancelIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CancelIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CheckMarkIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CheckMarkIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CheckboxCheckedIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CheckboxCheckedIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CheckboxUncheckedIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CheckboxUncheckedIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ChevronDownIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ChevronDownIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ChevronLeftIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ChevronLeftIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ChevronRightIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ChevronRightIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ChevronUpIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ChevronUpIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ClearIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ClearIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CopyIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CopyIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function CutIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default CutIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function DeleteIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default DeleteIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function DownloadIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default DownloadIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ErrorIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ErrorIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ForwardIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ForwardIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare const GraduateIcon: ({ title, ...rest }: ChopLogicSVGElementProps) => import("react/jsx-runtime").JSX.Element;
3
- export default GraduateIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function HelpIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default HelpIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function HideIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default HideIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare const HomeIcon: ({ title, ...rest }: ChopLogicSVGElementProps) => import("react/jsx-runtime").JSX.Element;
3
- export default HomeIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function InfoIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default InfoIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare const LoginIcon: ({ title, ...rest }: ChopLogicSVGElementProps) => import("react/jsx-runtime").JSX.Element;
3
- export default LoginIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function PasteIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default PasteIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function QuestionIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default QuestionIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function RemoveIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default RemoveIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function SaveIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default SaveIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function ShowIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default ShowIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function UploadIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default UploadIcon;
@@ -1,3 +0,0 @@
1
- import { ChopLogicSVGElementProps } from '../../../models';
2
- declare function WarningIcon({ title, ...rest }: ChopLogicSVGElementProps): import("react/jsx-runtime").JSX.Element;
3
- export default WarningIcon;
@@ -1,13 +0,0 @@
1
- import { ChopLogicGridColumn, ChopLogicGridItem, RenderDataItemCallback } from '../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- data: ChopLogicGridItem[];
5
- columns: ChopLogicGridColumn[];
6
- selectedIds: string[];
7
- selectRowById: (id: string) => void;
8
- deselectRowById: (id: string) => void;
9
- renderDataItem?: RenderDataItemCallback;
10
- selectable: boolean;
11
- };
12
- export declare const GridBody: React.FC<Props>;
13
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- type Props = React.InputHTMLAttributes<HTMLInputElement> & {
3
- label: string;
4
- };
5
- export declare const GridCheckbox: React.FC<Props>;
6
- export {};
@@ -1,6 +0,0 @@
1
- import { ChopLogicGridColumn } from '../../../models';
2
- import { default as React } from 'react';
3
- export declare const GridColumnGroup: React.FC<{
4
- columns: ChopLogicGridColumn[];
5
- selectable: boolean;
6
- }>;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const GridDataCell: React.FC<{
3
- value: React.ReactElement | string;
4
- }>;
@@ -1,12 +0,0 @@
1
- import { default as React } from 'react';
2
- type Props = {
3
- rowId: string;
4
- selectedIds: string[];
5
- selectRowById: (id: string) => void;
6
- deselectRowById: (id: string) => void;
7
- selectable: boolean;
8
- values: (string | React.ReactElement)[];
9
- disabled?: boolean;
10
- };
11
- export declare const GridRow: React.FC<Props>;
12
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import { ChopLogicGridColumn } from '../../../models';
2
- import { default as React } from 'react';
3
- type ChopLogicGridHeadProps = {
4
- columns: ChopLogicGridColumn[];
5
- gridId: string;
6
- selectable: boolean;
7
- isAllSelected: boolean;
8
- isAllCheckboxDisabled?: boolean;
9
- selectAll: () => void;
10
- deselectAll: () => void;
11
- };
12
- export declare const GridHead: React.FC<ChopLogicGridHeadProps>;
13
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const GridHeaderCell: React.FC<{
3
- title?: string;
4
- component?: React.ReactElement;
5
- }>;
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- type Props = {
3
- gridId: string;
4
- isAllSelected: boolean;
5
- selectAll: () => void;
6
- deselectAll: () => void;
7
- disabled?: boolean;
8
- };
9
- export declare const SelectAllGridRowsCell: React.FC<Props>;
10
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- type Props = {
3
- rowId: string;
4
- isRowSelected: boolean;
5
- selectRowById: (id: string) => void;
6
- deselectRowById: (id: string) => void;
7
- disabled?: boolean;
8
- };
9
- export declare const SelectGridRowCell: React.FC<Props>;
10
- export {};
@@ -1,4 +0,0 @@
1
- import { ChopLogicHeaderProps } from '../../models';
2
- import { FC } from 'react';
3
- declare const Header: FC<ChopLogicHeaderProps>;
4
- export default Header;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '../../../storybook/react-vite';
2
- import { default as ChopLogicHeader } from '../Header';
3
- declare const meta: Meta<typeof ChopLogicHeader>;
4
- export default meta;
5
- type Story = StoryObj<typeof ChopLogicHeader>;
6
- export declare const Default: Story;
@@ -1,4 +0,0 @@
1
- import { ChopLogicIconProps } from '../../models';
2
- import { default as React } from 'react';
3
- declare const ChopLogicIcon: React.FC<ChopLogicIconProps>;
4
- export default ChopLogicIcon;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '../../../storybook/react-vite';
2
- import { default as ChopLogicIcon } from '../Icon';
3
- declare const meta: Meta<typeof ChopLogicIcon>;
4
- export default meta;
5
- type Story = StoryObj<typeof ChopLogicIcon>;
6
- export declare const Default: Story;
@@ -1,22 +0,0 @@
1
- export { GridBody } from './grid/body/GridBody';
2
- export { GridColumnGroup } from './grid/column-group/GridColumnGroup';
3
- export { GridHead } from './grid/head/GridHead';
4
- export { ErrorMessage } from './input/error-message/ErrorMessage';
5
- export { IconButton } from './input/icon-button/IconButton';
6
- export { InnerButton } from './input/inner-button/InnerButton';
7
- export { Input } from './input/input/Input';
8
- export { Label } from './input/label/Label';
9
- export { MultiSelectCombobox } from './input/multi-select/Combobox';
10
- export { MultiSelectDropdown } from './input/multi-select/Dropdown';
11
- export { PrimaryButton } from './input/primary-button/PrimaryButton';
12
- export { SecondaryButton } from './input/secondary-button/SecondaryButton';
13
- export { SelectCombobox } from './input/select/combobox/Combobox';
14
- export { SelectDropdown } from './input/select/dropdown/Dropdown';
15
- export { MenuItem } from './menu/item/MenuItem';
16
- export { TabContent } from './tabs/content/TabContent';
17
- export { TabList } from './tabs/list/TabList';
18
- export { default as ChopLogicHeader } from './header/Header';
19
- export { default as ChopLogicIcon } from './icon/Icon';
20
- export { default as ChopLogicLoader } from './loader/Loader';
21
- export { default as ChopLogicPortal } from './portal/Portal';
22
- export { default as ChopLogicTooltip } from './tooltip/Tooltip';
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- type ErrorMessageProps = {
3
- errorId: string;
4
- visible?: boolean;
5
- message?: string;
6
- testId?: string;
7
- className?: string;
8
- };
9
- export declare const ErrorMessage: React.FC<ErrorMessageProps>;
10
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { ButtonHTMLAttributes, FC, PropsWithChildren } from 'react';
2
- type Props = ButtonHTMLAttributes<HTMLButtonElement> & PropsWithChildren;
3
- export declare const IconButton: FC<Props>;
4
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { ChopLogicIconName } from '../../../enums';
2
- import { default as React, ButtonHTMLAttributes } from 'react';
3
- type Props = {
4
- label?: string;
5
- icon?: ChopLogicIconName;
6
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
7
- } & ButtonHTMLAttributes<HTMLButtonElement>;
8
- export declare const InnerButton: React.FC<Props>;
9
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import { FC, InputHTMLAttributes, PropsWithChildren } from 'react';
2
- type Props = InputHTMLAttributes<HTMLInputElement> & PropsWithChildren;
3
- export declare const Input: FC<Props>;
4
- export {};
@@ -1,11 +0,0 @@
1
- import { FC, ReactElement } from 'react';
2
- type LabelProps = {
3
- label: string;
4
- required: boolean;
5
- inputId: string;
6
- isTextHidden?: boolean;
7
- icon?: ReactElement;
8
- iconPosition?: 'left' | 'right';
9
- };
10
- export declare const Label: FC<LabelProps>;
11
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import { ChopLogicMultiSelectValue } from '../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- opened: boolean;
5
- disabled: boolean;
6
- required: boolean;
7
- onClick: () => void;
8
- comboboxId: string;
9
- dropdownId: string;
10
- values?: ChopLogicMultiSelectValue[];
11
- placeholder?: string;
12
- name: string;
13
- };
14
- export declare const MultiSelectCombobox: React.FC<Props>;
15
- export {};
@@ -1,11 +0,0 @@
1
- import { ChopLogicMultiSelectValue } from '../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- options: ChopLogicMultiSelectValue[];
5
- opened: boolean;
6
- dropdownId: string;
7
- onClose: () => void;
8
- onSelect: (id: string) => void;
9
- };
10
- export declare const MultiSelectDropdown: React.FC<Props>;
11
- export {};
@@ -1,8 +0,0 @@
1
- import { ChopLogicMultiSelectValue } from '../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- value: ChopLogicMultiSelectValue;
5
- onSelect: (id: string) => void;
6
- };
7
- export declare const MultiSelectOption: React.FC<Props>;
8
- export {};
@@ -1,4 +0,0 @@
1
- import { ButtonHTMLAttributes, FC, PropsWithChildren } from 'react';
2
- type Props = ButtonHTMLAttributes<HTMLButtonElement> & PropsWithChildren;
3
- export declare const PrimaryButton: FC<Props>;
4
- export {};
@@ -1,4 +0,0 @@
1
- import { ButtonHTMLAttributes, FC, PropsWithChildren } from 'react';
2
- type Props = ButtonHTMLAttributes<HTMLButtonElement> & PropsWithChildren;
3
- export declare const SecondaryButton: FC<Props>;
4
- export {};
@@ -1,15 +0,0 @@
1
- import { ChopLogicSelectValue } from '../../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- opened: boolean;
5
- disabled: boolean;
6
- required: boolean;
7
- onClick: () => void;
8
- comboboxId: string;
9
- dropdownId: string;
10
- selected?: ChopLogicSelectValue;
11
- placeholder?: string;
12
- name: string;
13
- };
14
- export declare const SelectCombobox: React.FC<Props>;
15
- export {};
@@ -1,14 +0,0 @@
1
- import { ChopLogicSelectValue } from '../../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- options: ChopLogicSelectValue[];
5
- opened: boolean;
6
- dropdownId: string;
7
- comboboxId: string;
8
- onClose: () => void;
9
- selected?: ChopLogicSelectValue;
10
- onSelect: (id: string) => void;
11
- onClear: () => void;
12
- };
13
- export declare const SelectDropdown: React.FC<Props>;
14
- export {};
@@ -1,10 +0,0 @@
1
- import { ChopLogicSelectValue } from '../../../../models';
2
- import { default as React } from 'react';
3
- type Props = {
4
- value: ChopLogicSelectValue;
5
- selected: boolean;
6
- onSelect: (id: string) => void;
7
- onClear: () => void;
8
- };
9
- export declare const SelectOption: React.FC<Props>;
10
- export {};
@@ -1,4 +0,0 @@
1
- import { ChopLogicLoaderProps } from '../../models';
2
- import { default as React } from 'react';
3
- declare const ChopLogicLoader: React.FC<ChopLogicLoaderProps>;
4
- export default ChopLogicLoader;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { ChopLogicLoaderProps } from '../../../models';
2
- import { default as React } from 'react';
3
- export declare const LoaderExample: React.FC<ChopLogicLoaderProps>;
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '../../../storybook/react-vite';
2
- import { default as ChopLogicLoader } from '../Loader';
3
- declare const meta: Meta<typeof ChopLogicLoader>;
4
- export default meta;
5
- type Story = StoryObj<typeof ChopLogicLoader>;
6
- export declare const LoaderGallery: Story;
@@ -1,10 +0,0 @@
1
- import { ChopLogicOrientationMode } from '../../../enums';
2
- import { ChopLogicMenuItem } from '../../../models';
3
- import { default as React, PropsWithChildren } from 'react';
4
- type Props = PropsWithChildren & {
5
- item: ChopLogicMenuItem;
6
- mode: ChopLogicOrientationMode;
7
- openedOn?: 'hover' | 'click';
8
- };
9
- export declare const MenuItem: React.FC<Props>;
10
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { ChopLogicMenuItem } from '../../../models';
2
- import { default as React } from 'react';
3
- export declare const MenuLeaf: ({ item }: {
4
- item: ChopLogicMenuItem;
5
- }) => React.ReactElement;
@@ -1 +0,0 @@
1
- export {};