@qoretechnologies/reqore 0.44.0 → 0.46.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 (226) hide show
  1. package/dist/constants/theme.d.ts +8 -1
  2. package/dist/constants/theme.d.ts.map +1 -1
  3. package/dist/constants/theme.js +16 -2
  4. package/dist/constants/theme.js.map +1 -1
  5. package/package.json +1 -1
  6. package/tests.json +1 -1
  7. package/.eslintrc.js +0 -40
  8. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  9. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  10. package/.github/ISSUE_TEMPLATE/new-component.md +0 -20
  11. package/.github/ISSUE_TEMPLATE/visual-bug-report.md +0 -38
  12. package/.github/workflows/beta_release.yml +0 -100
  13. package/.github/workflows/tests.yml +0 -84
  14. package/.gitpod.yml +0 -11
  15. package/.jest-test-results.json +0 -1
  16. package/.prettierrc +0 -7
  17. package/.vscode/settings.json +0 -0
  18. package/__tests__/breadcrumbs.test.tsx +0 -75
  19. package/__tests__/button.test.tsx +0 -218
  20. package/__tests__/checkbox.test.tsx +0 -45
  21. package/__tests__/collection.test.tsx +0 -243
  22. package/__tests__/containers/paging.test.tsx +0 -138
  23. package/__tests__/control_group.test.tsx +0 -32
  24. package/__tests__/drawer.test.tsx +0 -140
  25. package/__tests__/dropdown.test.tsx +0 -381
  26. package/__tests__/effect.test.tsx +0 -70
  27. package/__tests__/heading.test.tsx +0 -58
  28. package/__tests__/helpers/colors.test.tsx +0 -18
  29. package/__tests__/helpers/table.test.tsx +0 -67
  30. package/__tests__/hooks/useLatestZIndex.test.tsx +0 -10
  31. package/__tests__/hooks/useReqorePaging.test.tsx +0 -271
  32. package/__tests__/hooks/useTheme.test.tsx +0 -31
  33. package/__tests__/icon.test.tsx +0 -53
  34. package/__tests__/input.test.tsx +0 -482
  35. package/__tests__/layout.test.tsx +0 -37
  36. package/__tests__/menu.test.tsx +0 -65
  37. package/__tests__/messages.test.tsx +0 -79
  38. package/__tests__/modal.test.tsx +0 -204
  39. package/__tests__/multiselect.test.tsx +0 -458
  40. package/__tests__/navbar.test.tsx +0 -31
  41. package/__tests__/notifications.test.tsx +0 -178
  42. package/__tests__/pagination.test.tsx +0 -437
  43. package/__tests__/panel.test.tsx +0 -243
  44. package/__tests__/popover.test.tsx +0 -282
  45. package/__tests__/radiogroup.test.tsx +0 -47
  46. package/__tests__/setup.js +0 -8
  47. package/__tests__/stories/Collection.stories.tsx +0 -0
  48. package/__tests__/table.test.tsx +0 -647
  49. package/__tests__/tabs.test.tsx +0 -321
  50. package/__tests__/tag.test.tsx +0 -160
  51. package/__tests__/textarea.test.tsx +0 -467
  52. package/__tests__/timeAgo.test.tsx +0 -27
  53. package/__tests__/tree.test.tsx +0 -58
  54. package/build-storybook.log +0 -491
  55. package/chromatic.config.json +0 -1
  56. package/icons.ts +0 -1
  57. package/migration-storybook.log +0 -56
  58. package/public/logo-dark.png +0 -0
  59. package/public/logo.png +0 -0
  60. package/public/q-symbol-small.png +0 -0
  61. package/public/q-symbol.png +0 -0
  62. package/public/qoreLogo-dark.png +0 -0
  63. package/public/qoreLogo.png +0 -0
  64. package/src/components/Breadcrumbs/index.tsx +0 -254
  65. package/src/components/Breadcrumbs/item.tsx +0 -44
  66. package/src/components/Button/index.tsx +0 -633
  67. package/src/components/Checkbox/index.tsx +0 -388
  68. package/src/components/Collection/index.tsx +0 -426
  69. package/src/components/Collection/item.tsx +0 -267
  70. package/src/components/Columns/column.tsx +0 -27
  71. package/src/components/Columns/index.tsx +0 -41
  72. package/src/components/Comment/index.tsx +0 -141
  73. package/src/components/CommentFeed/index.tsx +0 -34
  74. package/src/components/Content/index.tsx +0 -34
  75. package/src/components/Content/wrapper.tsx +0 -36
  76. package/src/components/ControlGroup/index.tsx +0 -523
  77. package/src/components/DatePicker/index.tsx +0 -347
  78. package/src/components/Drawer/backdrop.tsx +0 -54
  79. package/src/components/Drawer/index.tsx +0 -365
  80. package/src/components/Dropdown/index.tsx +0 -153
  81. package/src/components/Dropdown/item.tsx +0 -33
  82. package/src/components/Dropdown/list.tsx +0 -222
  83. package/src/components/Effect/index.tsx +0 -464
  84. package/src/components/ExportModal/index.tsx +0 -99
  85. package/src/components/Header/index.tsx +0 -81
  86. package/src/components/Icon/index.tsx +0 -184
  87. package/src/components/Input/index.tsx +0 -295
  88. package/src/components/InputClearButton/index.tsx +0 -59
  89. package/src/components/InternalPopover/index.tsx +0 -303
  90. package/src/components/KeyValueTable/index.tsx +0 -192
  91. package/src/components/Label/index.tsx +0 -10
  92. package/src/components/Layout/content.tsx +0 -31
  93. package/src/components/Layout/index.tsx +0 -55
  94. package/src/components/Menu/divider.tsx +0 -92
  95. package/src/components/Menu/index.tsx +0 -141
  96. package/src/components/Menu/item.tsx +0 -137
  97. package/src/components/Menu/section.tsx +0 -81
  98. package/src/components/Message/index.tsx +0 -220
  99. package/src/components/Modal/index.tsx +0 -26
  100. package/src/components/MultiSelect/index.tsx +0 -288
  101. package/src/components/Navbar/divider.tsx +0 -50
  102. package/src/components/Navbar/group.tsx +0 -53
  103. package/src/components/Navbar/index.tsx +0 -82
  104. package/src/components/Navbar/item.tsx +0 -92
  105. package/src/components/Notifications/index.tsx +0 -57
  106. package/src/components/Notifications/notification.tsx +0 -362
  107. package/src/components/Paging/index.tsx +0 -321
  108. package/src/components/Panel/LabelEditor.tsx +0 -67
  109. package/src/components/Panel/NonResponsiveActions.tsx +0 -79
  110. package/src/components/Panel/__screenshots__/linux/panel-SomePanel.png +0 -0
  111. package/src/components/Panel/index.tsx +0 -912
  112. package/src/components/Panel/panel.screenshot.tsx +0 -29
  113. package/src/components/Paragraph/index.tsx +0 -43
  114. package/src/components/Popover/index.tsx +0 -68
  115. package/src/components/RadioGroup/index.tsx +0 -71
  116. package/src/components/Slider/index.tsx +0 -358
  117. package/src/components/Spacer/index.tsx +0 -142
  118. package/src/components/Spinner/index.tsx +0 -74
  119. package/src/components/Table/body.tsx +0 -109
  120. package/src/components/Table/cell.tsx +0 -136
  121. package/src/components/Table/header.tsx +0 -236
  122. package/src/components/Table/headerCell.tsx +0 -203
  123. package/src/components/Table/helpers.ts +0 -308
  124. package/src/components/Table/index.tsx +0 -797
  125. package/src/components/Table/row.tsx +0 -288
  126. package/src/components/Table/value.tsx +0 -28
  127. package/src/components/Tabs/content.tsx +0 -68
  128. package/src/components/Tabs/index.tsx +0 -124
  129. package/src/components/Tabs/item.tsx +0 -198
  130. package/src/components/Tabs/list.tsx +0 -381
  131. package/src/components/Tag/group.tsx +0 -73
  132. package/src/components/Tag/index.tsx +0 -463
  133. package/src/components/Textarea/index.tsx +0 -277
  134. package/src/components/TimeAgo/index.tsx +0 -15
  135. package/src/components/Tree/index.tsx +0 -271
  136. package/src/constants/animations.ts +0 -9
  137. package/src/constants/colors.ts +0 -13
  138. package/src/constants/paging.ts +0 -93
  139. package/src/constants/sizes.ts +0 -185
  140. package/src/constants/theme.ts +0 -122
  141. package/src/containers/Paging.tsx +0 -136
  142. package/src/containers/PopoverProvider.tsx +0 -124
  143. package/src/containers/ReqoreProvider.tsx +0 -289
  144. package/src/containers/ThemeProvider.tsx +0 -12
  145. package/src/containers/UIProvider.tsx +0 -101
  146. package/src/context/PopoverContext.tsx +0 -11
  147. package/src/context/ReqoreContext.tsx +0 -47
  148. package/src/context/ThemeContext.tsx +0 -4
  149. package/src/helpers/animations.ts +0 -13
  150. package/src/helpers/colors.ts +0 -335
  151. package/src/helpers/time.ts +0 -21
  152. package/src/helpers/utils.ts +0 -152
  153. package/src/hooks/useAutoFocus.ts +0 -106
  154. package/src/hooks/useCloneThroughFragments.ts +0 -39
  155. package/src/hooks/useCombinedRefs.ts +0 -26
  156. package/src/hooks/useLatestZIndex.ts +0 -13
  157. package/src/hooks/useOutsideClick.ts +0 -29
  158. package/src/hooks/usePaging.ts +0 -128
  159. package/src/hooks/usePopover.tsx +0 -220
  160. package/src/hooks/useQueryWithDelay.ts +0 -30
  161. package/src/hooks/useReqore.ts +0 -12
  162. package/src/hooks/useReqoreContext.ts +0 -16
  163. package/src/hooks/useReqoreEffect.ts +0 -49
  164. package/src/hooks/useTextareaAutoSize.ts +0 -22
  165. package/src/hooks/useTheme.ts +0 -48
  166. package/src/hooks/useTooltip.ts +0 -40
  167. package/src/hooks/useWhyDidYouUpdate.ts +0 -32
  168. package/src/icons.json +0 -2295
  169. package/src/index.tsx +0 -80
  170. package/src/mock/breadcrumbs.ts +0 -146
  171. package/src/mock/collectionData.tsx +0 -380
  172. package/src/mock/data.json +0 -11000
  173. package/src/mock/icons.ts +0 -32
  174. package/src/mock/menu.ts +0 -93
  175. package/src/mock/multiSelect.ts +0 -71
  176. package/src/mock/object.json +0 -317
  177. package/src/mock/styleMock.js +0 -1
  178. package/src/mock/tableData.ts +0 -64
  179. package/src/stories/Breadcrumbs/Breadcrumbs.stories.tsx +0 -27
  180. package/src/stories/Button/Button.stories.tsx +0 -405
  181. package/src/stories/Checkbox/Checkbox.stories.tsx +0 -75
  182. package/src/stories/Collection/Collection.stories.tsx +0 -317
  183. package/src/stories/Columns/Columns.stories.tsx +0 -158
  184. package/src/stories/Comment/Comment.stories.tsx +0 -136
  185. package/src/stories/ControlGroup/ControlGroup.stories.tsx +0 -399
  186. package/src/stories/DatePicker/DatePicker.stories.tsx +0 -348
  187. package/src/stories/Drawer/Drawer.stories.tsx +0 -294
  188. package/src/stories/Dropdown/Dropdown.stories.tsx +0 -375
  189. package/src/stories/Dropdown/DropdownTests.stories.tsx +0 -111
  190. package/src/stories/ExportModal/ExportModal.stories.tsx +0 -18
  191. package/src/stories/Header/Header.stories.tsx +0 -108
  192. package/src/stories/Icon/Icon.stories.tsx +0 -162
  193. package/src/stories/Input/Input.stories.tsx +0 -220
  194. package/src/stories/KeyValueTable/KeyValueTable.stories.tsx +0 -346
  195. package/src/stories/Label/Label.stories.tsx +0 -33
  196. package/src/stories/Menu/Menu.stories.tsx +0 -367
  197. package/src/stories/Message/Message.stories.tsx +0 -167
  198. package/src/stories/Modal/Manager.stories.tsx +0 -192
  199. package/src/stories/Modal/Modal.stories.tsx +0 -252
  200. package/src/stories/MultiSelect/MultiSelect.stories.tsx +0 -140
  201. package/src/stories/Navbar/Navbar.stories.tsx +0 -119
  202. package/src/stories/Notifications/Interactive.stories.tsx +0 -117
  203. package/src/stories/Notifications/Notification.stories.tsx +0 -216
  204. package/src/stories/Notifications/Notifications.stories.tsx +0 -81
  205. package/src/stories/Paging/Paging.stories.tsx +0 -255
  206. package/src/stories/Panel/Panel.stories.tsx +0 -753
  207. package/src/stories/Paragraph/Paragraph.stories.tsx +0 -108
  208. package/src/stories/Popover/Popover.stories.tsx +0 -510
  209. package/src/stories/RadioGroup/RadioGroup.stories.tsx +0 -212
  210. package/src/stories/Slider/Slider.stories.tsx +0 -173
  211. package/src/stories/Spacer/Spacer.stories.tsx +0 -100
  212. package/src/stories/Spinner/Spinner.stories.tsx +0 -82
  213. package/src/stories/Table/Table.stories.tsx +0 -571
  214. package/src/stories/Tabs/Tabs.stories.tsx +0 -346
  215. package/src/stories/Tag/Tag.stories.tsx +0 -381
  216. package/src/stories/Tag/TagGroup.stories.tsx +0 -307
  217. package/src/stories/TextArea/TextArea.stories.tsx +0 -287
  218. package/src/stories/TextArea/TextAreaTests.stories.tsx +0 -108
  219. package/src/stories/Tree/Tree.stories.tsx +0 -124
  220. package/src/stories/Wrapper.tsx +0 -13
  221. package/src/stories/utils/args.ts +0 -151
  222. package/src/stories/utils.ts +0 -39
  223. package/src/styles.ts +0 -124
  224. package/src/types/global.ts +0 -211
  225. package/src/types/icons.ts +0 -2272
  226. package/tsconfig.prod.json +0 -26
package/src/mock/icons.ts DELETED
@@ -1,32 +0,0 @@
1
- import { IReqoreIconName } from '../types/icons';
2
-
3
- export const Icons: { [key: string]: IReqoreIconName } = {
4
- Dashboard: 'Home2Fill',
5
- Workflow: 'ExchangeLine',
6
- Services: 'GitMergeLine',
7
- Jobs: 'CalendarLine',
8
- Groups: 'BubbleChartFill',
9
- Connections: 'StackshareLine',
10
- Search: 'SearchLine',
11
- Global: 'LayoutGridFill',
12
- RBAC: 'GroupLine',
13
- Valuemaps: 'MapLine',
14
- SLAs: 'TimeLine',
15
- Releases: 'InstallLine',
16
- Errors: 'ErrorWarningLine',
17
- Types: 'Key2Fill',
18
- System: 'Settings2Line',
19
- Alerts: 'AlarmWarningLine',
20
- Cluster: 'GridFill',
21
- OrderStats: 'PieChartLine',
22
- Options: 'SettingsLine',
23
- Properties: 'StackLine',
24
- Cache: 'DatabaseLine',
25
- HTTPServices: 'GlobeLine',
26
- ConfigItems: 'Settings6Line',
27
- More: 'MoreFill',
28
- Library: 'Book3Line',
29
- Extensions: 'AppsLine',
30
- Logs: 'FileTextLine',
31
- Info: 'InformationLine',
32
- };
package/src/mock/menu.ts DELETED
@@ -1,93 +0,0 @@
1
- export const qorusSidebarItems = {
2
- Menu: {
3
- title: 'Menu',
4
- items: [
5
- {
6
- name: 'Menu item 1',
7
- as: 'a',
8
- props: {
9
- href: '/item-1',
10
- },
11
- icon: 'Home3Line',
12
- id: 'menu-item-1',
13
- },
14
- {
15
- name: 'Menu item 2',
16
- as: 'a',
17
- props: {
18
- href: '/item-2',
19
- },
20
- icon: 'Settings4Fill',
21
- id: 'menu-item-2',
22
- },
23
- {
24
- name: 'Menu item 3',
25
- icon: 'File3Line',
26
- id: 'menu-item-3',
27
- activePaths: ['/item-3'],
28
- submenu: [
29
- {
30
- name: 'Submenu item 1',
31
- as: 'a',
32
- props: {
33
- href: '/item-3/item-1',
34
- },
35
- icon: 'NodeTree',
36
- id: 'submenu-item-1',
37
- },
38
- {
39
- name: 'Submenu item 2',
40
- as: 'a',
41
- props: {
42
- href: '/item-3/item-2',
43
- },
44
- icon: 'Chat3Fill',
45
- id: 'submenu-item-2',
46
- },
47
- {
48
- name: 'Super really long Submenu item 3',
49
- as: 'a',
50
- props: {
51
- href: '/item-3/item-3',
52
- },
53
- icon: 'DatabaseFill',
54
- id: 'submenu-item-3',
55
- },
56
- ],
57
- },
58
- ],
59
- },
60
- Menu2: {
61
- items: [
62
- {
63
- name: 'Super Long Really Another item 1',
64
- as: 'a',
65
- props: {
66
- href: '/another-item-1',
67
- },
68
- icon: 'Home6Line',
69
- id: 'another-item-1',
70
- },
71
- {
72
- name: 'Another item 2',
73
- as: 'a',
74
- props: {
75
- href: '/another-item-2',
76
- },
77
- icon: 'TableFill',
78
- id: 'another-item-2',
79
- },
80
- {
81
- name: 'Another item 3',
82
- as: 'a',
83
- props: {
84
- onClick: () => {
85
- alert('Click');
86
- },
87
- },
88
- icon: 'BellLine',
89
- id: 'another-item-3',
90
- },
91
- ],
92
- },
93
- };
@@ -1,71 +0,0 @@
1
- import { TReqoreMultiSelectItem } from '../components/MultiSelect';
2
-
3
- export const MultiSelectItems: TReqoreMultiSelectItem[] = [
4
- {
5
- label: 'Existing item 1',
6
- value: 'Existing item 1',
7
- icon: 'SunCloudyLine',
8
- },
9
- {
10
- label:
11
- 'Existing item 2 this is a really long item that needs to wrap and if it does not wrap then its bugged because we supplied the wrap prop so it should wrap',
12
- wrap: true,
13
- value: 'Existing item 2',
14
- icon: 'BatteryChargeFill',
15
- },
16
- {
17
- label: 'Existing item 3',
18
- value: 'Existing item 3',
19
- icon: 'DropboxFill',
20
- intent: 'info',
21
- rightIcon: 'ArrowRightLine',
22
- },
23
- {
24
- label: 'Existing item 4',
25
- value: 'Existing item 4',
26
- icon: 'PagesLine',
27
- effect: { gradient: { colors: { 0: 'success', 100: 'info:darken:1' } } },
28
- },
29
- {
30
- disabled: true,
31
- label: 'Disabled item',
32
- value: 'Disabled item',
33
- icon: 'StopCircleLine',
34
- },
35
- {
36
- minimal: true,
37
- label: 'Minimal item',
38
- value: 'Minimal item',
39
- icon: 'StopCircleLine',
40
- },
41
- {
42
- divider: true,
43
- icon: 'CheckDoubleLine',
44
- },
45
- {
46
- value: 'itemWithNoLabel',
47
- icon: 'TakeawayLine',
48
- actions: [
49
- {
50
- icon: 'ArrowLeftUpFill',
51
- onClick: () => console.log('clicked'),
52
- intent: 'pending',
53
- },
54
- ],
55
- },
56
- {
57
- label: 'Other Item 1',
58
- value: 'Other Item 1',
59
- icon: 'MapFill',
60
- },
61
- {
62
- label: 'Other Item 2',
63
- value: 'Other Item 2',
64
- icon: 'ArrowLeftUpFill',
65
- },
66
- {
67
- label: 'Other Item 3',
68
- value: 'Other Item 3',
69
- icon: 'MicLine',
70
- },
71
- ];
@@ -1,317 +0,0 @@
1
- [
2
- {
3
- "_id": "606d4c955f96372fd1b8bcd1",
4
- "index": 0,
5
- "guid": "d08cde5f-e18e-4d7f-80a9-6541848ab830",
6
- "isActive": false,
7
- "balance": "$3,219.32",
8
- "picture": "http://placehold.it/32x32",
9
- "age": 25,
10
- "eyeColor": "brown",
11
- "name": "Zelma Short",
12
- "gender": "female",
13
- "company": "LINGOAGE",
14
- "email": "zelmashort@lingoage.com",
15
- "phone": "+1 (840) 429-2274",
16
- "address": "757 Woodside Avenue, Winchester, Marshall Islands, 2032",
17
- "about": "Ipsum est ex nisi veniam proident adipisicing. Occaecat Lorem minim amet aliqua laboris excepteur sint eu mollit laborum sunt. Duis aliquip nulla cillum labore culpa ullamco labore non in nostrud. Cupidatat nisi enim ullamco quis voluptate Lorem voluptate minim dolore esse irure eiusmod aliquip amet. Dolore laboris Lorem laboris irure magna sint dolor. In irure adipisicing minim ullamco commodo ad dolore elit occaecat dolor. Cillum commodo est commodo dolor enim velit.\r\n",
18
- "registered": "2015-03-19T05:00:22 -01:00",
19
- "latitude": -8.97737,
20
- "longitude": 110.576471,
21
- "tags": [
22
- "aute",
23
- "qui",
24
- "ut",
25
- "mollit",
26
- "culpa",
27
- "qui",
28
- "irure"
29
- ],
30
- "friends": [
31
- {
32
- "id": 0,
33
- "name": "Angel Gallagher"
34
- },
35
- {
36
- "id": 1,
37
- "name": "Rose Farmer"
38
- },
39
- {
40
- "id": 2,
41
- "name": "Jaclyn Keith"
42
- }
43
- ],
44
- "greeting": "Hello, Zelma Short! You have 5 unread messages.",
45
- "favoriteFruit": "banana"
46
- },
47
- {
48
- "_id": "606d4c957cc794c26ad703f6",
49
- "index": 1,
50
- "guid": "366ccd74-64e4-4336-a660-78b55cccd653",
51
- "isActive": true,
52
- "balance": "$3,464.91",
53
- "picture": "http://placehold.it/32x32",
54
- "age": 32,
55
- "eyeColor": "green",
56
- "name": "Jennings Briggs",
57
- "gender": "male",
58
- "company": "FROSNEX",
59
- "email": "jenningsbriggs@frosnex.com",
60
- "phone": "+1 (821) 563-3061",
61
- "address": "485 Auburn Place, Toftrees, North Carolina, 3460",
62
- "about": "Sit voluptate ut ipsum aliquip officia eiusmod esse sint exercitation officia. Velit ex ex mollit ad enim voluptate Lorem nisi minim. Sit officia sit eu est anim Lorem aute anim nulla officia.\r\n",
63
- "registered": "2014-11-25T11:58:45 -01:00",
64
- "latitude": 32.968241,
65
- "longitude": 21.905937,
66
- "tags": [
67
- "occaecat",
68
- "id",
69
- "sit",
70
- "eiusmod",
71
- "tempor",
72
- "adipisicing",
73
- "sint"
74
- ],
75
- "friends": [
76
- {
77
- "id": 0,
78
- "name": "Buck Watts"
79
- },
80
- {
81
- "id": 1,
82
- "name": "Barr Hull"
83
- },
84
- {
85
- "id": 2,
86
- "name": "Muriel Lowery"
87
- }
88
- ],
89
- "greeting": "Hello, Jennings Briggs! You have 8 unread messages.",
90
- "favoriteFruit": "banana"
91
- },
92
- {
93
- "_id": "606d4c953ed5ee3081404d98",
94
- "index": 2,
95
- "guid": "ed26f92f-26a7-492f-b3c8-a6767297526c",
96
- "isActive": false,
97
- "balance": "$3,974.33",
98
- "picture": "http://placehold.it/32x32",
99
- "age": 35,
100
- "eyeColor": "green",
101
- "name": "Stephenson Dunlap",
102
- "gender": "male",
103
- "company": "PLASMOS",
104
- "email": "stephensondunlap@plasmos.com",
105
- "phone": "+1 (809) 545-2664",
106
- "address": "463 Cambridge Place, Cloverdale, South Dakota, 8144",
107
- "about": "Laboris sit tempor laborum cupidatat ea quis commodo ut incididunt. Commodo dolor irure sit non. Enim pariatur sunt cupidatat enim aliquip velit laboris eiusmod sint. Esse eiusmod minim dolore sint. Quis duis id ut tempor tempor laboris fugiat quis proident. Irure proident deserunt consequat voluptate labore irure eu nulla commodo incididunt nisi officia amet est.\r\n",
108
- "registered": "2019-06-05T08:58:50 -02:00",
109
- "latitude": -41.239498,
110
- "longitude": 11.237437,
111
- "tags": [
112
- "ut",
113
- "consectetur",
114
- "enim",
115
- "deserunt",
116
- "anim",
117
- "adipisicing",
118
- "irure"
119
- ],
120
- "friends": [
121
- {
122
- "id": 0,
123
- "name": "Cora Hobbs"
124
- },
125
- {
126
- "id": 1,
127
- "name": "Smith Gray"
128
- },
129
- {
130
- "id": 2,
131
- "name": "Rosanne Winters"
132
- }
133
- ],
134
- "greeting": "Hello, Stephenson Dunlap! You have 9 unread messages.",
135
- "favoriteFruit": "strawberry"
136
- },
137
- {
138
- "_id": "606d4c95cc5c1b49eaf17919",
139
- "index": 3,
140
- "guid": "904ad88c-c754-4575-b626-202d2b6324c7",
141
- "isActive": true,
142
- "balance": "$2,267.87",
143
- "picture": "http://placehold.it/32x32",
144
- "age": 21,
145
- "eyeColor": "blue",
146
- "name": "Sheryl Barton",
147
- "gender": "female",
148
- "company": "NAMEGEN",
149
- "email": "sherylbarton@namegen.com",
150
- "phone": "+1 (974) 505-2024",
151
- "address": "524 Shale Street, Wauhillau, Idaho, 4275",
152
- "about": "Enim aute ea anim sunt occaecat pariatur nisi excepteur eiusmod. Proident labore dolore elit veniam incididunt. Ad deserunt ipsum deserunt ad id.\r\n",
153
- "registered": "2020-02-24T06:26:21 -01:00",
154
- "latitude": -79.669108,
155
- "longitude": 19.666959,
156
- "tags": [
157
- "magna",
158
- "nisi",
159
- "eiusmod",
160
- "elit",
161
- "eu",
162
- "in",
163
- "anim"
164
- ],
165
- "friends": [
166
- {
167
- "id": 0,
168
- "name": "Lowery Lucas"
169
- },
170
- {
171
- "id": 1,
172
- "name": "Lilia Mendoza"
173
- },
174
- {
175
- "id": 2,
176
- "name": "Frieda Valenzuela"
177
- }
178
- ],
179
- "greeting": "Hello, Sheryl Barton! You have 8 unread messages.",
180
- "favoriteFruit": "strawberry"
181
- },
182
- {
183
- "_id": "606d4c95dcb57310a73b8feb",
184
- "index": 4,
185
- "guid": "eaf6380a-7fb7-4924-b09f-5b37ed134f57",
186
- "isActive": true,
187
- "balance": "$3,578.40",
188
- "picture": "http://placehold.it/32x32",
189
- "age": 30,
190
- "eyeColor": "brown",
191
- "name": "Hahn Stanley",
192
- "gender": "male",
193
- "company": "GOGOL",
194
- "email": "hahnstanley@gogol.com",
195
- "phone": "+1 (948) 430-2371",
196
- "address": "569 Bushwick Court, Jamestown, Tennessee, 3203",
197
- "about": "Est ipsum enim occaecat dolor nisi excepteur. Officia magna veniam occaecat velit consectetur reprehenderit. Ut exercitation laboris est deserunt anim dolor sint pariatur. Commodo ut ex culpa incididunt irure cupidatat irure deserunt. Cillum excepteur quis sunt sunt in ex consectetur adipisicing incididunt labore adipisicing laboris sint.\r\n",
198
- "registered": "2018-05-30T10:39:01 -02:00",
199
- "latitude": 39.987328,
200
- "longitude": -18.121186,
201
- "tags": [
202
- "amet",
203
- "reprehenderit",
204
- "elit",
205
- "nostrud",
206
- "sunt",
207
- "consequat",
208
- "fugiat"
209
- ],
210
- "friends": [
211
- {
212
- "id": 0,
213
- "name": "Mclaughlin Melendez"
214
- },
215
- {
216
- "id": 1,
217
- "name": "Freeman Barber"
218
- },
219
- {
220
- "id": 2,
221
- "name": "Acevedo Newton"
222
- }
223
- ],
224
- "greeting": "Hello, Hahn Stanley! You have 5 unread messages.",
225
- "favoriteFruit": "banana"
226
- },
227
- {
228
- "_id": "606d4c95769391999f8151f4",
229
- "index": 5,
230
- "guid": "eaa5653d-7576-4663-a2d9-58083caeb4df",
231
- "isActive": true,
232
- "balance": "$1,380.84",
233
- "picture": "http://placehold.it/32x32",
234
- "age": 38,
235
- "eyeColor": "brown",
236
- "name": "Paulette Perez",
237
- "gender": "female",
238
- "company": "VELOS",
239
- "email": "pauletteperez@velos.com",
240
- "phone": "+1 (861) 551-3633",
241
- "address": "732 Bridgewater Street, Welch, Florida, 989",
242
- "about": "Cupidatat veniam occaecat magna anim officia Lorem. Commodo amet pariatur deserunt consectetur excepteur dolor dolore ipsum enim duis dolor est. Et ad amet enim esse deserunt cupidatat qui esse. Enim ad sit Lorem sit voluptate dolore sit nisi aliqua sint exercitation. Commodo non ex adipisicing magna. Occaecat consequat minim sunt sint duis veniam mollit ullamco dolor in dolore.\r\n",
243
- "registered": "2015-09-29T09:39:54 -02:00",
244
- "latitude": -18.968669,
245
- "longitude": -33.485271,
246
- "tags": [
247
- "mollit",
248
- "officia",
249
- "ipsum",
250
- "veniam",
251
- "laborum",
252
- "laboris",
253
- "consectetur"
254
- ],
255
- "friends": [
256
- {
257
- "id": 0,
258
- "name": "Young Bolton"
259
- },
260
- {
261
- "id": 1,
262
- "name": "Terrie Burke"
263
- },
264
- {
265
- "id": 2,
266
- "name": "Hill Adams"
267
- }
268
- ],
269
- "greeting": "Hello, Paulette Perez! You have 9 unread messages.",
270
- "favoriteFruit": "banana"
271
- },
272
- {
273
- "_id": "606d4c9524bd1bd2d57b00c2",
274
- "index": 6,
275
- "guid": "e4c19c95-0d20-4919-80c6-7bf05b80b66a",
276
- "isActive": true,
277
- "balance": "$3,334.46",
278
- "picture": "http://placehold.it/32x32",
279
- "age": 22,
280
- "eyeColor": "blue",
281
- "name": "Levine Bray",
282
- "gender": "male",
283
- "company": "AUSTEX",
284
- "email": "levinebray@austex.com",
285
- "phone": "+1 (968) 524-2455",
286
- "address": "932 Debevoise Street, Wolcott, Palau, 8906",
287
- "about": "Qui excepteur deserunt nulla tempor do tempor occaecat commodo et ipsum velit quis adipisicing id. Ullamco ad pariatur excepteur consectetur sit sit. Aute id anim id proident sint est irure culpa amet aute ex. Sint adipisicing aliqua velit nostrud elit aliquip voluptate occaecat duis voluptate occaecat reprehenderit et. Aliquip aute cillum ex cillum officia aliquip. Commodo enim ex aute elit consequat esse eiusmod. Eu cillum officia culpa in eiusmod non.\r\n",
288
- "registered": "2014-12-29T03:11:31 -01:00",
289
- "latitude": 55.032528,
290
- "longitude": 178.669012,
291
- "tags": [
292
- "sit",
293
- "non",
294
- "et",
295
- "labore",
296
- "consectetur",
297
- "voluptate",
298
- "ea"
299
- ],
300
- "friends": [
301
- {
302
- "id": 0,
303
- "name": "Delores Clay"
304
- },
305
- {
306
- "id": 1,
307
- "name": "Tanner Elliott"
308
- },
309
- {
310
- "id": 2,
311
- "name": "Jeanne Randall"
312
- }
313
- ],
314
- "greeting": "Hello, Levine Bray! You have 5 unread messages.",
315
- "favoriteFruit": "strawberry"
316
- }
317
- ]
@@ -1 +0,0 @@
1
- module.exports = {};
@@ -1,64 +0,0 @@
1
- import { IReqoreTableProps } from '../components/Table';
2
- import data from './data.json';
3
-
4
- export type TestTableItem = {
5
- id: number;
6
- firstName: string;
7
- lastName: string;
8
- address: string;
9
- age: number;
10
- occupation: string;
11
- group: string;
12
- _selectId: number;
13
- _disabled: boolean;
14
- };
15
-
16
- export const tableData = data;
17
- export const testColumns: IReqoreTableProps['columns'] = [
18
- {
19
- dataId: 'id',
20
- header: { label: 'ID' },
21
- width: 50,
22
- align: 'center',
23
- },
24
- {
25
- dataId: 'name',
26
- header: {
27
- label: 'Name',
28
- columns: [
29
- { dataId: 'firstName', header: { label: 'First Name' }, width: 150 },
30
- { dataId: 'lastName', header: { label: 'Last Name' }, width: 150 },
31
- ],
32
- },
33
- },
34
- { dataId: 'address', header: { label: 'Address' }, width: 300, grow: 2 },
35
- {
36
- dataId: 'age',
37
- header: { label: 'Really long age header' },
38
- width: 50,
39
- align: 'center',
40
- cell: {
41
- intent: 'success',
42
- },
43
- },
44
- {
45
- dataId: 'data',
46
- header: {
47
- label: 'Data',
48
- columns: [
49
- { dataId: 'occupation', header: { label: 'Ocuppation' }, width: 200 },
50
- { dataId: 'group', header: { label: 'Group' }, width: 150, intent: 'muted' },
51
- ],
52
- },
53
- },
54
- { dataId: 'date', header: { label: 'Date' }, width: 150, cell: { content: 'time-ago' } },
55
- ];
56
-
57
- export default {
58
- columns: testColumns,
59
- data: data.map((datum) => ({
60
- ...datum,
61
- date: Date.now(),
62
- })),
63
- height: 300,
64
- };
@@ -1,27 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- import { ReqoreBreadcrumbs } from '../../index';
3
- import breadcrumbs, { breadcrumbsTabs, specialbreadcrumbs } from '../../mock/breadcrumbs';
4
- import { StoryMeta } from '../utils';
5
- import { SizeArg } from '../utils/args';
6
-
7
- const meta = {
8
- title: 'Navigation/Breadcrumbs/Stories',
9
- component: ReqoreBreadcrumbs,
10
- argTypes: {
11
- withTabs: {
12
- name: 'With tabs',
13
- description: 'Whether tabs should be shown alongside the breadcrumbs',
14
- control: 'boolean',
15
- },
16
- ...SizeArg,
17
- },
18
- args: { items: breadcrumbs },
19
- } as StoryMeta<typeof ReqoreBreadcrumbs>;
20
-
21
- export default meta;
22
- type Story = StoryObj<typeof meta>;
23
-
24
- export const Default: Story = {};
25
- export const WithTabs: Story = { args: { items: [...breadcrumbs, breadcrumbsTabs] } };
26
- export const Flat: Story = { args: { flat: true } };
27
- export const Special: Story = { args: { items: specialbreadcrumbs } };