@qoretechnologies/reqore 0.20.1 → 0.20.4
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.
- package/__tests__/modal.test.tsx +3 -8
- package/__tests__/panel.test.tsx +3 -3
- package/dist/src/components/Breadcrumbs/index.d.ts +33 -0
- package/dist/src/components/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/src/components/Breadcrumbs/index.js +167 -0
- package/dist/src/components/Breadcrumbs/index.js.map +1 -0
- package/dist/src/components/Breadcrumbs/item.d.ts +14 -0
- package/dist/src/components/Breadcrumbs/item.d.ts.map +1 -0
- package/dist/src/components/Breadcrumbs/item.js +84 -0
- package/dist/src/components/Breadcrumbs/item.js.map +1 -0
- package/dist/src/components/Button/index.d.ts +33 -0
- package/dist/src/components/Button/index.d.ts.map +1 -0
- package/dist/src/components/Button/index.js +154 -0
- package/dist/src/components/Button/index.js.map +1 -0
- package/dist/src/components/Checkbox/index.d.ts +26 -0
- package/dist/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/src/components/Checkbox/index.js +108 -0
- package/dist/src/components/Checkbox/index.js.map +1 -0
- package/dist/src/components/Columns/column.d.ts +5 -0
- package/dist/src/components/Columns/column.d.ts.map +1 -0
- package/dist/src/components/Columns/column.js +37 -0
- package/dist/src/components/Columns/column.js.map +1 -0
- package/dist/src/components/Columns/index.d.ts +17 -0
- package/dist/src/components/Columns/index.d.ts.map +1 -0
- package/dist/src/components/Columns/index.js +69 -0
- package/dist/src/components/Columns/index.js.map +1 -0
- package/dist/src/components/Comment/index.d.ts +24 -0
- package/dist/src/components/Comment/index.d.ts.map +1 -0
- package/dist/src/components/Comment/index.js +71 -0
- package/dist/src/components/Comment/index.js.map +1 -0
- package/dist/src/components/CommentFeed/index.d.ts +7 -0
- package/dist/src/components/CommentFeed/index.d.ts.map +1 -0
- package/dist/src/components/CommentFeed/index.js +49 -0
- package/dist/src/components/CommentFeed/index.js.map +1 -0
- package/dist/src/components/Content/index.d.ts +11 -0
- package/dist/src/components/Content/index.d.ts.map +1 -0
- package/dist/src/components/Content/index.js +70 -0
- package/dist/src/components/Content/index.js.map +1 -0
- package/dist/src/components/Content/wrapper.d.ts +11 -0
- package/dist/src/components/Content/wrapper.d.ts.map +1 -0
- package/dist/src/components/Content/wrapper.js +43 -0
- package/dist/src/components/Content/wrapper.js.map +1 -0
- package/dist/src/components/ControlGroup/index.d.ts +17 -0
- package/dist/src/components/ControlGroup/index.d.ts.map +1 -0
- package/dist/src/components/ControlGroup/index.js +90 -0
- package/dist/src/components/ControlGroup/index.js.map +1 -0
- package/dist/src/components/Drawer/index.d.ts +36 -0
- package/dist/src/components/Drawer/index.d.ts.map +1 -0
- package/dist/src/components/Drawer/index.js +251 -0
- package/dist/src/components/Drawer/index.js.map +1 -0
- package/dist/src/components/Dropdown/index.d.ts +24 -0
- package/dist/src/components/Dropdown/index.d.ts.map +1 -0
- package/dist/src/components/Dropdown/index.js +38 -0
- package/dist/src/components/Dropdown/index.js.map +1 -0
- package/dist/src/components/Dropdown/item.d.ts +10 -0
- package/dist/src/components/Dropdown/item.d.ts.map +1 -0
- package/dist/src/components/Dropdown/item.js +35 -0
- package/dist/src/components/Dropdown/item.js.map +1 -0
- package/dist/src/components/Dropdown/list.d.ts +14 -0
- package/dist/src/components/Dropdown/list.d.ts.map +1 -0
- package/dist/src/components/Dropdown/list.js +47 -0
- package/dist/src/components/Dropdown/list.js.map +1 -0
- package/dist/src/components/Header/index.d.ts +13 -0
- package/dist/src/components/Header/index.d.ts.map +1 -0
- package/dist/src/components/Header/index.js +44 -0
- package/dist/src/components/Header/index.js.map +1 -0
- package/dist/src/components/Icon/index.d.ts +16 -0
- package/dist/src/components/Icon/index.d.ts.map +1 -0
- package/dist/src/components/Icon/index.js +81 -0
- package/dist/src/components/Icon/index.js.map +1 -0
- package/dist/src/components/Input/index.d.ts +33 -0
- package/dist/src/components/Input/index.d.ts.map +1 -0
- package/dist/src/components/Input/index.js +115 -0
- package/dist/src/components/Input/index.js.map +1 -0
- package/dist/src/components/InputClearButton/index.d.ts +10 -0
- package/dist/src/components/InputClearButton/index.d.ts.map +1 -0
- package/dist/src/components/InputClearButton/index.js +49 -0
- package/dist/src/components/InputClearButton/index.js.map +1 -0
- package/dist/src/components/InternalPopover/index.d.ts +7 -0
- package/dist/src/components/InternalPopover/index.d.ts.map +1 -0
- package/dist/src/components/InternalPopover/index.js +132 -0
- package/dist/src/components/InternalPopover/index.js.map +1 -0
- package/dist/src/components/Layout/content.d.ts +8 -0
- package/dist/src/components/Layout/content.d.ts.map +1 -0
- package/dist/src/components/Layout/content.js +41 -0
- package/dist/src/components/Layout/content.js.map +1 -0
- package/dist/src/components/Layout/index.d.ts +8 -0
- package/dist/src/components/Layout/index.d.ts.map +1 -0
- package/dist/src/components/Layout/index.js +69 -0
- package/dist/src/components/Layout/index.js.map +1 -0
- package/dist/src/components/Menu/divider.d.ts +7 -0
- package/dist/src/components/Menu/divider.d.ts.map +1 -0
- package/dist/src/components/Menu/divider.js +49 -0
- package/dist/src/components/Menu/divider.js.map +1 -0
- package/dist/src/components/Menu/index.d.ts +17 -0
- package/dist/src/components/Menu/index.d.ts.map +1 -0
- package/dist/src/components/Menu/index.js +89 -0
- package/dist/src/components/Menu/index.js.map +1 -0
- package/dist/src/components/Menu/item.d.ts +31 -0
- package/dist/src/components/Menu/item.d.ts.map +1 -0
- package/dist/src/components/Menu/item.js +121 -0
- package/dist/src/components/Menu/item.js.map +1 -0
- package/dist/src/components/Message/index.d.ts +25 -0
- package/dist/src/components/Message/index.d.ts.map +1 -0
- package/dist/src/components/Message/index.js +54 -0
- package/dist/src/components/Message/index.js.map +1 -0
- package/dist/src/components/Modal/index.d.ts +14 -0
- package/dist/src/components/Modal/index.d.ts.map +1 -0
- package/dist/src/components/Modal/index.js +33 -0
- package/dist/src/components/Modal/index.js.map +1 -0
- package/dist/src/components/Navbar/divider.d.ts +9 -0
- package/dist/src/components/Navbar/divider.d.ts.map +1 -0
- package/dist/src/components/Navbar/divider.js +47 -0
- package/dist/src/components/Navbar/divider.js.map +1 -0
- package/dist/src/components/Navbar/group.d.ts +15 -0
- package/dist/src/components/Navbar/group.d.ts.map +1 -0
- package/dist/src/components/Navbar/group.js +75 -0
- package/dist/src/components/Navbar/group.js.map +1 -0
- package/dist/src/components/Navbar/index.d.ts +16 -0
- package/dist/src/components/Navbar/index.d.ts.map +1 -0
- package/dist/src/components/Navbar/index.js +86 -0
- package/dist/src/components/Navbar/index.js.map +1 -0
- package/dist/src/components/Navbar/item.d.ts +16 -0
- package/dist/src/components/Navbar/item.d.ts.map +1 -0
- package/dist/src/components/Navbar/item.js +81 -0
- package/dist/src/components/Navbar/item.js.map +1 -0
- package/dist/src/components/Notifications/index.d.ts +12 -0
- package/dist/src/components/Notifications/index.d.ts.map +1 -0
- package/dist/src/components/Notifications/index.js +60 -0
- package/dist/src/components/Notifications/index.js.map +1 -0
- package/dist/src/components/Notifications/notification.d.ts +43 -0
- package/dist/src/components/Notifications/notification.d.ts.map +1 -0
- package/dist/src/components/Notifications/notification.js +140 -0
- package/dist/src/components/Notifications/notification.js.map +1 -0
- package/dist/src/components/Panel/index.d.ts +49 -0
- package/dist/src/components/Panel/index.d.ts.map +1 -0
- package/dist/src/components/Panel/index.js +172 -0
- package/dist/src/components/Panel/index.js.map +1 -0
- package/dist/src/components/Panel/panel.screenshot.d.ts +3 -0
- package/dist/src/components/Panel/panel.screenshot.d.ts.map +1 -0
- package/dist/src/components/Panel/panel.screenshot.js +30 -0
- package/dist/src/components/Panel/panel.screenshot.js.map +1 -0
- package/dist/src/components/Paragraph/index.d.ts +8 -0
- package/dist/src/components/Paragraph/index.d.ts.map +1 -0
- package/dist/src/components/Paragraph/index.js +64 -0
- package/dist/src/components/Paragraph/index.js.map +1 -0
- package/dist/src/components/Popover/index.d.ts +16 -0
- package/dist/src/components/Popover/index.d.ts.map +1 -0
- package/dist/src/components/Popover/index.js +55 -0
- package/dist/src/components/Popover/index.js.map +1 -0
- package/dist/src/components/RadioGroup/index.d.ts +17 -0
- package/dist/src/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/src/components/RadioGroup/index.js +48 -0
- package/dist/src/components/RadioGroup/index.js.map +1 -0
- package/dist/src/components/Sidebar/index.d.ts +60 -0
- package/dist/src/components/Sidebar/index.d.ts.map +1 -0
- package/dist/src/components/Sidebar/index.js +265 -0
- package/dist/src/components/Sidebar/index.js.map +1 -0
- package/dist/src/components/Sidebar/item.d.ts +36 -0
- package/dist/src/components/Sidebar/item.d.ts.map +1 -0
- package/dist/src/components/Sidebar/item.js +106 -0
- package/dist/src/components/Sidebar/item.js.map +1 -0
- package/dist/src/components/Table/body.d.ts +10 -0
- package/dist/src/components/Table/body.d.ts.map +1 -0
- package/dist/src/components/Table/body.js +44 -0
- package/dist/src/components/Table/body.js.map +1 -0
- package/dist/src/components/Table/header.d.ts +29 -0
- package/dist/src/components/Table/header.d.ts.map +1 -0
- package/dist/src/components/Table/header.js +106 -0
- package/dist/src/components/Table/header.js.map +1 -0
- package/dist/src/components/Table/headerCell.d.ts +18 -0
- package/dist/src/components/Table/headerCell.d.ts.map +1 -0
- package/dist/src/components/Table/headerCell.js +92 -0
- package/dist/src/components/Table/headerCell.js.map +1 -0
- package/dist/src/components/Table/helpers.d.ts +8 -0
- package/dist/src/components/Table/helpers.d.ts.map +1 -0
- package/dist/src/components/Table/helpers.js +41 -0
- package/dist/src/components/Table/helpers.js.map +1 -0
- package/dist/src/components/Table/index.d.ts +75 -0
- package/dist/src/components/Table/index.d.ts.map +1 -0
- package/dist/src/components/Table/index.js +165 -0
- package/dist/src/components/Table/index.js.map +1 -0
- package/dist/src/components/Table/row.d.ts +58 -0
- package/dist/src/components/Table/row.d.ts.map +1 -0
- package/dist/src/components/Table/row.js +204 -0
- package/dist/src/components/Table/row.js.map +1 -0
- package/dist/src/components/Tabs/content.d.ts +8 -0
- package/dist/src/components/Tabs/content.d.ts.map +1 -0
- package/dist/src/components/Tabs/content.js +41 -0
- package/dist/src/components/Tabs/content.js.map +1 -0
- package/dist/src/components/Tabs/index.d.ts +39 -0
- package/dist/src/components/Tabs/index.d.ts.map +1 -0
- package/dist/src/components/Tabs/index.js +83 -0
- package/dist/src/components/Tabs/index.js.map +1 -0
- package/dist/src/components/Tabs/item.d.ts +23 -0
- package/dist/src/components/Tabs/item.d.ts.map +1 -0
- package/dist/src/components/Tabs/item.js +71 -0
- package/dist/src/components/Tabs/item.js.map +1 -0
- package/dist/src/components/Tabs/list.d.ts +17 -0
- package/dist/src/components/Tabs/list.d.ts.map +1 -0
- package/dist/src/components/Tabs/list.js +189 -0
- package/dist/src/components/Tabs/list.js.map +1 -0
- package/dist/src/components/Tag/group.d.ts +10 -0
- package/dist/src/components/Tag/group.d.ts.map +1 -0
- package/dist/src/components/Tag/group.js +50 -0
- package/dist/src/components/Tag/group.js.map +1 -0
- package/dist/src/components/Tag/index.d.ts +36 -0
- package/dist/src/components/Tag/index.d.ts.map +1 -0
- package/dist/src/components/Tag/index.js +136 -0
- package/dist/src/components/Tag/index.js.map +1 -0
- package/dist/src/components/Textarea/index.d.ts +26 -0
- package/dist/src/components/Textarea/index.d.ts.map +1 -0
- package/dist/src/components/Textarea/index.js +85 -0
- package/dist/src/components/Textarea/index.js.map +1 -0
- package/dist/src/components/TimeAgo/index.d.ts +4 -0
- package/dist/src/components/TimeAgo/index.d.ts.map +1 -0
- package/dist/src/components/TimeAgo/index.js +21 -0
- package/dist/src/components/TimeAgo/index.js.map +1 -0
- package/dist/src/components/Tree/index.d.ts +16 -0
- package/dist/src/components/Tree/index.d.ts.map +1 -0
- package/dist/src/components/Tree/index.js +155 -0
- package/dist/src/components/Tree/index.js.map +1 -0
- package/dist/src/constants/animations.d.ts +5 -0
- package/dist/src/constants/animations.d.ts.map +1 -0
- package/dist/src/constants/animations.js +8 -0
- package/dist/src/constants/animations.js.map +1 -0
- package/dist/src/constants/colors.d.ts +10 -0
- package/dist/src/constants/colors.d.ts.map +1 -0
- package/dist/src/constants/colors.js +13 -0
- package/dist/src/constants/colors.js.map +1 -0
- package/dist/src/constants/sizes.d.ts +59 -0
- package/dist/src/constants/sizes.d.ts.map +1 -0
- package/dist/src/constants/sizes.js +60 -0
- package/dist/src/constants/sizes.js.map +1 -0
- package/dist/src/constants/theme.d.ts +81 -0
- package/dist/src/constants/theme.d.ts.map +1 -0
- package/dist/src/constants/theme.js +20 -0
- package/dist/src/constants/theme.js.map +1 -0
- package/dist/src/containers/PopoverProvider.d.ts +13 -0
- package/dist/src/containers/PopoverProvider.d.ts.map +1 -0
- package/dist/src/containers/PopoverProvider.js +81 -0
- package/dist/src/containers/PopoverProvider.js.map +1 -0
- package/dist/src/containers/ReqoreProvider.d.ts +40 -0
- package/dist/src/containers/ReqoreProvider.d.ts.map +1 -0
- package/dist/src/containers/ReqoreProvider.js +125 -0
- package/dist/src/containers/ReqoreProvider.js.map +1 -0
- package/dist/src/containers/ThemeProvider.d.ts +8 -0
- package/dist/src/containers/ThemeProvider.d.ts.map +1 -0
- package/dist/src/containers/ThemeProvider.js +27 -0
- package/dist/src/containers/ThemeProvider.js.map +1 -0
- package/dist/src/containers/UIProvider.d.ts +13 -0
- package/dist/src/containers/UIProvider.d.ts.map +1 -0
- package/dist/src/containers/UIProvider.js +43 -0
- package/dist/src/containers/UIProvider.js.map +1 -0
- package/dist/src/context/PopoverContext.d.ts +11 -0
- package/dist/src/context/PopoverContext.d.ts.map +1 -0
- package/dist/src/context/PopoverContext.js +5 -0
- package/dist/src/context/PopoverContext.js.map +1 -0
- package/dist/src/context/ReqoreContext.d.ts +15 -0
- package/dist/src/context/ReqoreContext.d.ts.map +1 -0
- package/dist/src/context/ReqoreContext.js +10 -0
- package/dist/src/context/ReqoreContext.js.map +1 -0
- package/dist/src/context/ThemeContext.d.ts +5 -0
- package/dist/src/context/ThemeContext.d.ts.map +1 -0
- package/dist/src/context/ThemeContext.js +6 -0
- package/dist/src/context/ThemeContext.js.map +1 -0
- package/dist/src/helpers/animations.d.ts +2 -0
- package/dist/src/helpers/animations.d.ts.map +1 -0
- package/dist/src/helpers/animations.js +11 -0
- package/dist/src/helpers/animations.js.map +1 -0
- package/dist/src/helpers/colors.d.ts +14 -0
- package/dist/src/helpers/colors.d.ts.map +1 -0
- package/dist/src/helpers/colors.js +108 -0
- package/dist/src/helpers/colors.js.map +1 -0
- package/dist/src/helpers/sidebar.d.ts +4 -0
- package/dist/src/helpers/sidebar.d.ts.map +1 -0
- package/dist/src/helpers/sidebar.js +90 -0
- package/dist/src/helpers/sidebar.js.map +1 -0
- package/dist/src/helpers/time.d.ts +8 -0
- package/dist/src/helpers/time.d.ts.map +1 -0
- package/dist/src/helpers/time.js +25 -0
- package/dist/src/helpers/time.js.map +1 -0
- package/dist/src/helpers/utils.d.ts +5 -0
- package/dist/src/helpers/utils.d.ts.map +1 -0
- package/dist/src/helpers/utils.js +103 -0
- package/dist/src/helpers/utils.js.map +1 -0
- package/dist/src/hooks/useCombinedRefs.d.ts +3 -0
- package/dist/src/hooks/useCombinedRefs.d.ts.map +1 -0
- package/dist/src/hooks/useCombinedRefs.js +29 -0
- package/dist/src/hooks/useCombinedRefs.js.map +1 -0
- package/dist/src/hooks/useLatestZIndex.d.ts +3 -0
- package/dist/src/hooks/useLatestZIndex.d.ts.map +1 -0
- package/dist/src/hooks/useLatestZIndex.js +11 -0
- package/dist/src/hooks/useLatestZIndex.js.map +1 -0
- package/dist/src/hooks/useOutsideClick.d.ts +4 -0
- package/dist/src/hooks/useOutsideClick.d.ts.map +1 -0
- package/dist/src/hooks/useOutsideClick.js +19 -0
- package/dist/src/hooks/useOutsideClick.js.map +1 -0
- package/dist/src/hooks/usePopover.d.ts +19 -0
- package/dist/src/hooks/usePopover.d.ts.map +1 -0
- package/dist/src/hooks/usePopover.js +86 -0
- package/dist/src/hooks/usePopover.js.map +1 -0
- package/dist/src/hooks/useShareForwardedRef.d.ts +3 -0
- package/dist/src/hooks/useShareForwardedRef.d.ts.map +1 -0
- package/dist/src/hooks/useShareForwardedRef.js +25 -0
- package/dist/src/hooks/useShareForwardedRef.js.map +1 -0
- package/dist/src/hooks/useTheme.d.ts +3 -0
- package/dist/src/hooks/useTheme.d.ts.map +1 -0
- package/dist/src/hooks/useTheme.js +21 -0
- package/dist/src/hooks/useTheme.js.map +1 -0
- package/dist/src/hooks/useTooltip.d.ts +3 -0
- package/dist/src/hooks/useTooltip.d.ts.map +1 -0
- package/dist/src/hooks/useTooltip.js +24 -0
- package/dist/src/hooks/useTooltip.js.map +1 -0
- package/dist/src/icons.json +2295 -0
- package/dist/src/index.d.ts +50 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +122 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mock/breadcrumbs.d.ts +5 -0
- package/dist/src/mock/breadcrumbs.d.ts.map +1 -0
- package/dist/src/mock/breadcrumbs.js +94 -0
- package/dist/src/mock/breadcrumbs.js.map +1 -0
- package/dist/src/mock/icons.d.ts +5 -0
- package/dist/src/mock/icons.d.ts.map +1 -0
- package/dist/src/mock/icons.js +34 -0
- package/dist/src/mock/icons.js.map +1 -0
- package/dist/src/mock/menu.d.ts +3 -0
- package/dist/src/mock/menu.d.ts.map +1 -0
- package/dist/src/mock/menu.js +97 -0
- package/dist/src/mock/menu.js.map +1 -0
- package/dist/src/mock/object.json +317 -0
- package/dist/src/mock/tableData.d.ts +8 -0
- package/dist/src/mock/tableData.d.ts.map +1 -0
- package/dist/src/mock/tableData.js +53 -0
- package/dist/src/mock/tableData.js.map +1 -0
- package/dist/src/stories/Breadcrumbs/Breadcrumbs.stories.d.ts +10 -0
- package/dist/src/stories/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/dist/src/stories/Breadcrumbs/Breadcrumbs.stories.js +72 -0
- package/dist/src/stories/Breadcrumbs/Breadcrumbs.stories.js.map +1 -0
- package/dist/src/stories/Button/Button.stories.d.ts +12 -0
- package/dist/src/stories/Button/Button.stories.d.ts.map +1 -0
- package/dist/src/stories/Button/Button.stories.js +57 -0
- package/dist/src/stories/Button/Button.stories.js.map +1 -0
- package/dist/src/stories/Checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/src/stories/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/src/stories/Checkbox/Checkbox.stories.js +29 -0
- package/dist/src/stories/Checkbox/Checkbox.stories.js.map +1 -0
- package/dist/src/stories/Columns/Columns.stories.d.ts +10 -0
- package/dist/src/stories/Columns/Columns.stories.d.ts.map +1 -0
- package/dist/src/stories/Columns/Columns.stories.js +49 -0
- package/dist/src/stories/Columns/Columns.stories.js.map +1 -0
- package/dist/src/stories/Comment/Comment.stories.d.ts +7 -0
- package/dist/src/stories/Comment/Comment.stories.d.ts.map +1 -0
- package/dist/src/stories/Comment/Comment.stories.js +43 -0
- package/dist/src/stories/Comment/Comment.stories.js.map +1 -0
- package/dist/src/stories/ControlGroup/ControlGroup.stories.d.ts +8 -0
- package/dist/src/stories/ControlGroup/ControlGroup.stories.d.ts.map +1 -0
- package/dist/src/stories/ControlGroup/ControlGroup.stories.js +44 -0
- package/dist/src/stories/ControlGroup/ControlGroup.stories.js.map +1 -0
- package/dist/src/stories/Drawer/Drawer.stories.d.ts +8 -0
- package/dist/src/stories/Drawer/Drawer.stories.d.ts.map +1 -0
- package/dist/src/stories/Drawer/Drawer.stories.js +97 -0
- package/dist/src/stories/Drawer/Drawer.stories.js.map +1 -0
- package/dist/src/stories/Dropdown/Dropdown.stories.d.ts +8 -0
- package/dist/src/stories/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/src/stories/Dropdown/Dropdown.stories.js +141 -0
- package/dist/src/stories/Dropdown/Dropdown.stories.js.map +1 -0
- package/dist/src/stories/Icon/Icon.stories.d.ts +6 -0
- package/dist/src/stories/Icon/Icon.stories.d.ts.map +1 -0
- package/dist/src/stories/Icon/Icon.stories.js +13 -0
- package/dist/src/stories/Icon/Icon.stories.js.map +1 -0
- package/dist/src/stories/Input/Input.stories.d.ts +6 -0
- package/dist/src/stories/Input/Input.stories.d.ts.map +1 -0
- package/dist/src/stories/Input/Input.stories.js +38 -0
- package/dist/src/stories/Input/Input.stories.js.map +1 -0
- package/dist/src/stories/Menu/Menu.stories.d.ts +6 -0
- package/dist/src/stories/Menu/Menu.stories.d.ts.map +1 -0
- package/dist/src/stories/Menu/Menu.stories.js +48 -0
- package/dist/src/stories/Menu/Menu.stories.js.map +1 -0
- package/dist/src/stories/Message/Message.stories.d.ts +8 -0
- package/dist/src/stories/Message/Message.stories.d.ts.map +1 -0
- package/dist/src/stories/Message/Message.stories.js +50 -0
- package/dist/src/stories/Message/Message.stories.js.map +1 -0
- package/dist/src/stories/Modal/Modal.stories.d.ts +7 -0
- package/dist/src/stories/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/src/stories/Modal/Modal.stories.js +77 -0
- package/dist/src/stories/Modal/Modal.stories.js.map +1 -0
- package/dist/src/stories/Navbar/Navbar.stories.d.ts +6 -0
- package/dist/src/stories/Navbar/Navbar.stories.d.ts.map +1 -0
- package/dist/src/stories/Navbar/Navbar.stories.js +33 -0
- package/dist/src/stories/Navbar/Navbar.stories.js.map +1 -0
- package/dist/src/stories/Notifications/Interactive.stories.d.ts +9 -0
- package/dist/src/stories/Notifications/Interactive.stories.d.ts.map +1 -0
- package/dist/src/stories/Notifications/Interactive.stories.js +100 -0
- package/dist/src/stories/Notifications/Interactive.stories.js.map +1 -0
- package/dist/src/stories/Notifications/Notification.stories.d.ts +9 -0
- package/dist/src/stories/Notifications/Notification.stories.d.ts.map +1 -0
- package/dist/src/stories/Notifications/Notification.stories.js +96 -0
- package/dist/src/stories/Notifications/Notification.stories.js.map +1 -0
- package/dist/src/stories/Notifications/Notifications.stories.d.ts +10 -0
- package/dist/src/stories/Notifications/Notifications.stories.d.ts.map +1 -0
- package/dist/src/stories/Notifications/Notifications.stories.js +63 -0
- package/dist/src/stories/Notifications/Notifications.stories.js.map +1 -0
- package/dist/src/stories/Panel/Panel.stories.d.ts +9 -0
- package/dist/src/stories/Panel/Panel.stories.d.ts.map +1 -0
- package/dist/src/stories/Panel/Panel.stories.js +79 -0
- package/dist/src/stories/Panel/Panel.stories.js.map +1 -0
- package/dist/src/stories/Popover/Popover.stories.d.ts +6 -0
- package/dist/src/stories/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/src/stories/Popover/Popover.stories.js +46 -0
- package/dist/src/stories/Popover/Popover.stories.js.map +1 -0
- package/dist/src/stories/RadioGroup/RadioGroup.stories.d.ts +7 -0
- package/dist/src/stories/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
- package/dist/src/stories/RadioGroup/RadioGroup.stories.js +54 -0
- package/dist/src/stories/RadioGroup/RadioGroup.stories.js.map +1 -0
- package/dist/src/stories/Sidebar/Sidebar.stories.d.ts +6 -0
- package/dist/src/stories/Sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/src/stories/Sidebar/Sidebar.stories.js +65 -0
- package/dist/src/stories/Sidebar/Sidebar.stories.js.map +1 -0
- package/dist/src/stories/Table/Table.stories.d.ts +10 -0
- package/dist/src/stories/Table/Table.stories.d.ts.map +1 -0
- package/dist/src/stories/Table/Table.stories.js +157 -0
- package/dist/src/stories/Table/Table.stories.js.map +1 -0
- package/dist/src/stories/Tabs/Tabs.stories.d.ts +12 -0
- package/dist/src/stories/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/src/stories/Tabs/Tabs.stories.js +127 -0
- package/dist/src/stories/Tabs/Tabs.stories.js.map +1 -0
- package/dist/src/stories/Tag/Tag.stories.d.ts +8 -0
- package/dist/src/stories/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/src/stories/Tag/Tag.stories.js +79 -0
- package/dist/src/stories/Tag/Tag.stories.js.map +1 -0
- package/dist/src/stories/TextArea/TextArea.stories.d.ts +8 -0
- package/dist/src/stories/TextArea/TextArea.stories.d.ts.map +1 -0
- package/dist/src/stories/TextArea/TextArea.stories.js +65 -0
- package/dist/src/stories/TextArea/TextArea.stories.js.map +1 -0
- package/dist/src/stories/Tree/Tree.stories.d.ts +7 -0
- package/dist/src/stories/Tree/Tree.stories.d.ts.map +1 -0
- package/dist/src/stories/Tree/Tree.stories.js +52 -0
- package/dist/src/stories/Tree/Tree.stories.js.map +1 -0
- package/dist/src/stories/Wrapper.d.ts +4 -0
- package/dist/src/stories/Wrapper.d.ts.map +1 -0
- package/dist/src/stories/Wrapper.js +38 -0
- package/dist/src/stories/Wrapper.js.map +1 -0
- package/dist/src/stories/utils/args.d.ts +61 -0
- package/dist/src/stories/utils/args.d.ts.map +1 -0
- package/dist/src/stories/utils/args.js +120 -0
- package/dist/src/stories/utils/args.js.map +1 -0
- package/dist/src/stories/utils.d.ts +11 -0
- package/dist/src/stories/utils.d.ts.map +1 -0
- package/dist/src/stories/utils.js +17 -0
- package/dist/src/stories/utils.js.map +1 -0
- package/dist/src/styles.d.ts +5 -0
- package/dist/src/styles.d.ts.map +1 -0
- package/dist/src/styles.js +16 -0
- package/dist/src/styles.js.map +1 -0
- package/dist/src/types/global.d.ts +9 -0
- package/dist/src/types/global.d.ts.map +1 -0
- package/dist/src/types/global.js +3 -0
- package/dist/src/types/global.js.map +1 -0
- package/dist/src/types/icons.d.ts +2 -0
- package/dist/src/types/icons.d.ts.map +1 -0
- package/dist/src/types/icons.js +3 -0
- package/dist/src/types/icons.js.map +1 -0
- package/dist/src/types/icons____.d.ts +2 -0
- package/dist/src/types/icons____.d.ts.map +1 -0
- package/dist/src/types/icons____.js +5 -0
- package/dist/src/types/icons____.js.map +1 -0
- package/dist/tests.json +1 -1
- package/package.json +2 -2
- package/src/components/Breadcrumbs/index.tsx +286 -0
- package/src/components/Breadcrumbs/item.tsx +162 -0
- package/src/components/Button/index.tsx +270 -0
- package/src/components/Checkbox/index.tsx +161 -0
- package/src/components/Columns/column.tsx +26 -0
- package/src/components/Columns/index.tsx +40 -0
- package/src/components/Comment/index.tsx +139 -0
- package/src/components/CommentFeed/index.tsx +34 -0
- package/src/components/Content/index.tsx +39 -0
- package/src/components/Content/wrapper.tsx +37 -0
- package/src/components/ControlGroup/index.tsx +81 -0
- package/src/components/Drawer/index.tsx +387 -0
- package/src/components/Dropdown/index.tsx +81 -0
- package/src/components/Dropdown/item.tsx +20 -0
- package/src/components/Dropdown/list.tsx +76 -0
- package/src/components/Header/index.tsx +38 -0
- package/src/components/Icon/index.tsx +83 -0
- package/src/components/Input/index.tsx +185 -0
- package/src/components/InputClearButton/index.tsx +34 -0
- package/src/components/InternalPopover/index.tsx +185 -0
- package/src/components/Layout/content.tsx +31 -0
- package/src/components/Layout/index.tsx +55 -0
- package/src/components/Menu/divider.tsx +36 -0
- package/src/components/Menu/index.tsx +64 -0
- package/src/components/Menu/item.tsx +219 -0
- package/src/components/Message/index.tsx +136 -0
- package/src/components/Modal/index.tsx +26 -0
- package/src/components/Navbar/divider.tsx +51 -0
- package/src/components/Navbar/group.tsx +57 -0
- package/src/components/Navbar/index.tsx +81 -0
- package/src/components/Navbar/item.tsx +75 -0
- package/src/components/Notifications/index.tsx +56 -0
- package/src/components/Notifications/notification.tsx +288 -0
- package/src/components/Panel/__screenshots__/linux/panel-SomePanel.png +0 -0
- package/src/components/Panel/index.tsx +333 -0
- package/src/components/Panel/panel.screenshot.tsx +29 -0
- package/src/components/Paragraph/index.tsx +25 -0
- package/src/components/Popover/index.tsx +65 -0
- package/src/components/RadioGroup/index.tsx +52 -0
- package/src/components/Sidebar/index.tsx +526 -0
- package/src/components/Sidebar/item.tsx +269 -0
- package/src/components/Table/body.tsx +46 -0
- package/src/components/Table/header.tsx +173 -0
- package/src/components/Table/headerCell.tsx +117 -0
- package/src/components/Table/helpers.ts +19 -0
- package/src/components/Table/index.tsx +265 -0
- package/src/components/Table/row.tsx +355 -0
- package/src/components/Tabs/content.tsx +23 -0
- package/src/components/Tabs/index.tsx +117 -0
- package/src/components/Tabs/item.tsx +151 -0
- package/src/components/Tabs/list.tsx +281 -0
- package/src/components/Tag/group.tsx +32 -0
- package/src/components/Tag/index.tsx +237 -0
- package/src/components/Textarea/index.tsx +121 -0
- package/src/components/TimeAgo/index.tsx +15 -0
- package/src/components/Tree/index.tsx +255 -0
- package/src/constants/animations.ts +4 -0
- package/src/constants/colors.ts +9 -0
- package/src/constants/sizes.ts +66 -0
- package/src/constants/theme.ts +102 -0
- package/src/containers/PopoverProvider.tsx +85 -0
- package/src/containers/ReqoreProvider.tsx +194 -0
- package/src/containers/ThemeProvider.tsx +22 -0
- package/src/containers/UIProvider.tsx +54 -0
- package/src/context/PopoverContext.tsx +10 -0
- package/src/context/ReqoreContext.tsx +20 -0
- package/src/context/ThemeContext.tsx +4 -0
- package/src/helpers/animations.ts +13 -0
- package/src/helpers/colors.ts +127 -0
- package/src/helpers/sidebar.ts +105 -0
- package/src/helpers/time.ts +21 -0
- package/src/helpers/utils.ts +75 -0
- package/src/hooks/useCombinedRefs.ts +19 -0
- package/src/hooks/useLatestZIndex.ts +11 -0
- package/src/hooks/useOutsideClick.ts +29 -0
- package/src/hooks/usePopover.tsx +118 -0
- package/src/hooks/useShareForwardedRef.ts +23 -0
- package/src/hooks/useTheme.ts +20 -0
- package/src/hooks/useTooltip.ts +15 -0
- package/src/icons.json +2295 -0
- package/src/index.tsx +49 -0
- package/src/mock/breadcrumbs.ts +93 -0
- package/src/mock/icons.ts +32 -0
- package/src/mock/menu.ts +95 -0
- package/src/mock/object.json +317 -0
- package/src/mock/styleMock.js +1 -0
- package/src/mock/tableData.ts +40 -0
- package/src/stories/Breadcrumbs/Breadcrumbs.stories.tsx +38 -0
- package/src/stories/Button/Button.stories.tsx +69 -0
- package/src/stories/Checkbox/Checkbox.stories.tsx +26 -0
- package/src/stories/Columns/Columns.stories.tsx +71 -0
- package/src/stories/Comment/Comment.stories.tsx +127 -0
- package/src/stories/ControlGroup/ControlGroup.stories.tsx +43 -0
- package/src/stories/Drawer/Drawer.stories.tsx +181 -0
- package/src/stories/Dropdown/Dropdown.stories.tsx +160 -0
- package/src/stories/Icon/Icon.stories.tsx +35 -0
- package/src/stories/Input/Input.stories.tsx +77 -0
- package/src/stories/Menu/Menu.stories.tsx +94 -0
- package/src/stories/Message/Message.stories.tsx +52 -0
- package/src/stories/Modal/Modal.stories.tsx +148 -0
- package/src/stories/Navbar/Navbar.stories.tsx +109 -0
- package/src/stories/Notifications/Interactive.stories.tsx +105 -0
- package/src/stories/Notifications/Notification.stories.tsx +200 -0
- package/src/stories/Notifications/Notifications.stories.tsx +65 -0
- package/src/stories/Panel/Panel.stories.tsx +107 -0
- package/src/stories/Popover/Popover.stories.tsx +54 -0
- package/src/stories/RadioGroup/RadioGroup.stories.tsx +51 -0
- package/src/stories/Sidebar/Sidebar.stories.tsx +78 -0
- package/src/stories/Table/Table.stories.tsx +151 -0
- package/src/stories/Tabs/Tabs.stories.tsx +233 -0
- package/src/stories/Tag/Tag.stories.tsx +72 -0
- package/src/stories/TextArea/TextArea.stories.tsx +74 -0
- package/src/stories/Tree/Tree.stories.tsx +43 -0
- package/src/stories/Wrapper.tsx +13 -0
- package/src/stories/utils/args.ts +138 -0
- package/src/stories/utils.ts +17 -0
- package/src/styles.ts +38 -0
- package/src/types/global.ts +9 -0
- package/src/types/icons.ts +2272 -0
- package/src/types/icons____.ts +5 -0
- package/tests.json +1 -1
- package/tsconfig.prod.json +26 -0
|
@@ -0,0 +1,317 @@
|
|
|
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
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableData.d.ts","sourceRoot":"","sources":["../../../src/mock/tableData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;;;;;AAE3E,wBAoCE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
+
if (ar || !(i in from)) {
|
|
5
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
+
ar[i] = from[i];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
exports.__esModule = true;
|
|
15
|
+
var shortid_1 = __importDefault(require("shortid"));
|
|
16
|
+
exports["default"] = {
|
|
17
|
+
columns: [
|
|
18
|
+
{
|
|
19
|
+
dataId: 'id',
|
|
20
|
+
header: 'ID',
|
|
21
|
+
width: 50,
|
|
22
|
+
align: 'center'
|
|
23
|
+
},
|
|
24
|
+
{ dataId: 'firstName', header: 'First Name', width: 150 },
|
|
25
|
+
{ dataId: 'lastName', header: 'Last Name', width: 150 },
|
|
26
|
+
{ dataId: 'address', header: 'Address', width: 300, grow: 2 },
|
|
27
|
+
{
|
|
28
|
+
dataId: 'age',
|
|
29
|
+
header: 'Really long age header',
|
|
30
|
+
width: 50,
|
|
31
|
+
align: 'center',
|
|
32
|
+
intent: 'success'
|
|
33
|
+
},
|
|
34
|
+
{ dataId: 'occupation', header: 'Ocuppation', width: 200 },
|
|
35
|
+
{ dataId: 'group', header: 'Group', width: 150, intent: 'muted' },
|
|
36
|
+
{ dataId: 'date', header: 'Date', width: 150, content: 'time-ago' },
|
|
37
|
+
],
|
|
38
|
+
data: __spreadArray([], new Array(100), true).map(function (_val, index) { return ({
|
|
39
|
+
id: index,
|
|
40
|
+
firstName: shortid_1["default"].generate(),
|
|
41
|
+
lastName: shortid_1["default"].generate(),
|
|
42
|
+
address: "".concat(shortid_1["default"].generate(), ", ").concat(shortid_1["default"].generate(), ", ").concat(shortid_1["default"].generate()),
|
|
43
|
+
age: 99 - index,
|
|
44
|
+
occupation: shortid_1["default"].generate(),
|
|
45
|
+
group: shortid_1["default"].generate(),
|
|
46
|
+
date: Date.now(),
|
|
47
|
+
_intent: index === 2 || index === 3 || index === 4 ? 'info' : undefined,
|
|
48
|
+
_selectId: index !== 3 && index !== 6 ? "Row-".concat(index) : null,
|
|
49
|
+
_disabled: index === 5
|
|
50
|
+
}); }),
|
|
51
|
+
height: 300
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=tableData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableData.js","sourceRoot":"","sources":["../../../src/mock/tableData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,oDAA8B;AAG9B,qBAAe;IACb,OAAO,EAAE;QACP;YACE,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,IAAI;YACZ,KAAK,EAAE,EAAE;YACT,KAAK,EAAE,QAAQ;SAChB;QACD,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE;QACzD,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE;QACvD,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE;QAC7D;YACE,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,wBAAwB;YAChC,KAAK,EAAE,EAAE;YACT,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,SAAS;SAClB;QACD,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE;QAC1D,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;QACjE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE;KAC5C;IACzB,IAAI,EAAE,kBAAI,IAAI,KAAK,CAAC,GAAG,CAAC,QAAE,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAAC;QAC9C,EAAE,EAAE,KAAK;QACT,SAAS,EAAE,oBAAO,CAAC,QAAQ,EAAE;QAC7B,QAAQ,EAAE,oBAAO,CAAC,QAAQ,EAAE;QAC5B,OAAO,EAAE,UAAG,oBAAO,CAAC,QAAQ,EAAE,eAAK,oBAAO,CAAC,QAAQ,EAAE,eAAK,oBAAO,CAAC,QAAQ,EAAE,CAAE;QAC9E,GAAG,EAAE,EAAE,GAAG,KAAK;QACf,UAAU,EAAE,oBAAO,CAAC,QAAQ,EAAE;QAC9B,KAAK,EAAE,oBAAO,CAAC,QAAQ,EAAE;QACzB,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE;QAChB,OAAO,EAAE,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;QACvE,SAAS,EAAE,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,cAAO,KAAK,CAAE,CAAC,CAAC,CAAC,IAAI;QAC7D,SAAS,EAAE,KAAK,KAAK,CAAC;KACvB,CAAC,EAZ6C,CAY7C,CAAqB;IACvB,MAAM,EAAE,GAAG;CACZ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { IReqoreBreadcrumbsProps } from '../../components/Breadcrumbs';
|
|
4
|
+
declare const _default: ComponentMeta<import("react").FC<IReqoreBreadcrumbsProps> & {
|
|
5
|
+
withTabs?: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: any;
|
|
9
|
+
export declare const WithTabs: any;
|
|
10
|
+
//# sourceMappingURL=Breadcrumbs.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAyB,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;;eAkBnC,OAAO;;AAblE,wBAasE;AAiBtE,eAAO,MAAM,OAAO,KAA0B,CAAC;AAC/C,eAAO,MAAM,QAAQ,KAA8C,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
37
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
38
|
+
if (ar || !(i in from)) {
|
|
39
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
40
|
+
ar[i] = from[i];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
44
|
+
};
|
|
45
|
+
exports.__esModule = true;
|
|
46
|
+
exports.WithTabs = exports.Default = void 0;
|
|
47
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
48
|
+
var index_1 = require("../../index");
|
|
49
|
+
var breadcrumbs_1 = __importStar(require("../../mock/breadcrumbs"));
|
|
50
|
+
var utils_1 = require("../utils");
|
|
51
|
+
exports["default"] = {
|
|
52
|
+
title: 'Components/Breadcrumbs',
|
|
53
|
+
argTypes: {
|
|
54
|
+
withTabs: {
|
|
55
|
+
name: 'With tabs',
|
|
56
|
+
defaultValue: false,
|
|
57
|
+
description: 'Whether tabs should be shown alongside the breadcrumbs',
|
|
58
|
+
control: 'boolean'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
parameters: {
|
|
62
|
+
jest: ['breadcrumbs.test.tsx']
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
var Template = function (args) {
|
|
66
|
+
var items = args.withTabs ? __spreadArray(__spreadArray([], breadcrumbs_1["default"], true), [breadcrumbs_1.breadcrumbsTabs], false) : breadcrumbs_1["default"];
|
|
67
|
+
var customTheme = args.customTheme ? { main: args.customTheme } : undefined;
|
|
68
|
+
return ((0, jsx_runtime_1.jsx)(index_1.ReqoreBreadcrumbs, __assign({}, args, { items: items, customTheme: customTheme })));
|
|
69
|
+
};
|
|
70
|
+
exports.Default = (0, utils_1.buildTemplate)(Template);
|
|
71
|
+
exports.WithTabs = (0, utils_1.buildTemplate)(Template, { withTabs: true });
|
|
72
|
+
//# sourceMappingURL=Breadcrumbs.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.stories.js","sourceRoot":"","sources":["../../../../src/stories/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,qCAAgD;AAChD,oEAAsE;AACtE,kCAAyC;AAEzC,qBAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,IAAI,EAAE,WAAW;YACjB,YAAY,EAAE,KAAK;YACnB,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE,SAAS;SACnB;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE,CAAC,sBAAsB,CAAC;KAC/B;CACkE,CAAC;AAEtE,IAAM,QAAQ,GAAsE,UAClF,IAAsD;IAEtD,IAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,iCAAK,wBAAW,UAAE,6BAAe,UAAE,CAAC,CAAC,wBAAW,CAAC;IAC9E,IAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9E,OAAO,CACL,uBAAC,yBAAiB,eACZ,IAAI,IACR,KAAK,EAAE,KAAgC,EACvC,WAAW,EAAE,WAAkB,IAC/B,CACH,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,qBAAa,EAAC,QAAQ,CAAC,CAAC;AAClC,QAAA,QAAQ,GAAG,IAAA,qBAAa,EAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<import("../../components/Button").IReqoreButtonProps & import("react").RefAttributes<unknown>>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
|
6
|
+
export declare const Info: any;
|
|
7
|
+
export declare const Success: any;
|
|
8
|
+
export declare const Warning: any;
|
|
9
|
+
export declare const Pending: any;
|
|
10
|
+
export declare const Danger: any;
|
|
11
|
+
export declare const Muted: any;
|
|
12
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Button/Button.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;;AAKjE,wBASwC;AA8BxC,eAAO,MAAM,OAAO,KAAoB,CAAC;AACzC,eAAO,MAAM,IAAI,KAAoB,CAAC;AAItC,eAAO,MAAM,OAAO,KAAoB,CAAC;AAIzC,eAAO,MAAM,OAAO,KAAoB,CAAC;AAIzC,eAAO,MAAM,OAAO,KAAoB,CAAC;AAIzC,eAAO,MAAM,MAAM,KAAoB,CAAC;AAIxC,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
exports.__esModule = true;
|
|
17
|
+
exports.Muted = exports.Danger = exports.Pending = exports.Warning = exports.Success = exports.Info = exports.Default = void 0;
|
|
18
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
var Button_1 = __importDefault(require("../../components/Button"));
|
|
20
|
+
var index_1 = require("../../index");
|
|
21
|
+
var args_1 = require("../utils/args");
|
|
22
|
+
exports["default"] = {
|
|
23
|
+
title: 'Components/Button',
|
|
24
|
+
parameters: {
|
|
25
|
+
jest: ['button.test.tsx']
|
|
26
|
+
},
|
|
27
|
+
argTypes: __assign(__assign({}, (0, args_1.IconArg)('icon', 'Icon')), (0, args_1.IconArg)('rightIcon', 'Right Icon'))
|
|
28
|
+
};
|
|
29
|
+
var Template = function (buttonProps) {
|
|
30
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(index_1.ReqoreControlGroup, __assign({ size: buttonProps.size }, { children: [(0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { children: "Default" })), (0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { disabled: true }, { children: "Disabled" })), (0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { active: true }, { children: "Active" })), (0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { flat: true }, { children: "Flat" })), (0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { minimal: true }, { children: "Minimal" }))] })), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)(index_1.ReqoreControlGroup, __assign({ fluid: true }, { children: (0, jsx_runtime_1.jsx)(Button_1["default"], __assign({}, buttonProps, { fluid: true }, { children: "Fluid button" })) }))] }));
|
|
31
|
+
};
|
|
32
|
+
exports.Default = Template.bind({});
|
|
33
|
+
exports.Info = Template.bind({});
|
|
34
|
+
exports.Info.args = {
|
|
35
|
+
intent: 'info'
|
|
36
|
+
};
|
|
37
|
+
exports.Success = Template.bind({});
|
|
38
|
+
exports.Success.args = {
|
|
39
|
+
intent: 'success'
|
|
40
|
+
};
|
|
41
|
+
exports.Warning = Template.bind({});
|
|
42
|
+
exports.Warning.args = {
|
|
43
|
+
intent: 'warning'
|
|
44
|
+
};
|
|
45
|
+
exports.Pending = Template.bind({});
|
|
46
|
+
exports.Pending.args = {
|
|
47
|
+
intent: 'pending'
|
|
48
|
+
};
|
|
49
|
+
exports.Danger = Template.bind({});
|
|
50
|
+
exports.Danger.args = {
|
|
51
|
+
intent: 'danger'
|
|
52
|
+
};
|
|
53
|
+
exports.Muted = Template.bind({});
|
|
54
|
+
exports.Muted.args = {
|
|
55
|
+
intent: 'muted'
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=Button.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../../src/stories/Button/Button.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,mEAAmD;AACnD,qCAAiD;AACjD,sCAAwC;AAExC,qBAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,UAAU,EAAE;QACV,IAAI,EAAE,CAAC,iBAAiB,CAAC;KAC1B;IACD,QAAQ,wBACH,IAAA,cAAO,EAAC,MAAM,EAAE,MAAM,CAAC,GACvB,IAAA,cAAO,EAAC,WAAW,EAAE,YAAY,CAAC,CACtC;CACoC,CAAC;AAExC,IAAM,QAAQ,GAAwC,UAAC,WAAW;IAChE,OAAO,CACL,6DACE,wBAAC,0BAAkB,aAAC,IAAI,EAAE,WAAW,CAAC,IAAI,iBACxC,uBAAC,mBAAY,eAAK,WAAW,2BAAwB,EACrD,uBAAC,mBAAY,eAAK,WAAW,IAAE,QAAQ,oCAExB,EACf,uBAAC,mBAAY,eAAK,WAAW,IAAE,MAAM,kCAEtB,EACf,uBAAC,mBAAY,eAAK,WAAW,IAAE,IAAI,gCAEpB,EACf,uBAAC,mBAAY,eAAK,WAAW,IAAE,OAAO,mCAEvB,KACI,EACrB,gCAAM,EACN,uBAAC,0BAAkB,aAAC,KAAK,sBACvB,uBAAC,mBAAY,eAAK,WAAW,IAAE,KAAK,wCAErB,IACI,IACpB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5B,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtC,YAAI,CAAC,IAAI,GAAG;IACV,MAAM,EAAE,MAAM;CACf,CAAC;AACW,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACb,MAAM,EAAE,SAAS;CAClB,CAAC;AACW,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACb,MAAM,EAAE,SAAS;CAClB,CAAC;AACW,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACb,MAAM,EAAE,SAAS;CAClB,CAAC;AACW,QAAA,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,cAAM,CAAC,IAAI,GAAG;IACZ,MAAM,EAAE,QAAQ;CACjB,CAAC;AACW,QAAA,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvC,aAAK,CAAC,IAAI,GAAG;IACX,MAAM,EAAE,OAAO;CAChB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<import("../../components/Checkbox").IReqoreCheckboxProps & import("react").RefAttributes<unknown>>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Basic: any;
|
|
6
|
+
export declare const Switch: any;
|
|
7
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;;AAIjE,wBAGoC;AAcpC,eAAO,MAAM,KAAK,KAAoB,CAAC;AACvC,eAAO,MAAM,MAAM,KAAoB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
exports.__esModule = true;
|
|
14
|
+
exports.Switch = exports.Basic = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var index_1 = require("../../index");
|
|
17
|
+
exports["default"] = {
|
|
18
|
+
title: 'Components/Checkbox',
|
|
19
|
+
parameters: ['checkbox.test.tsx']
|
|
20
|
+
};
|
|
21
|
+
var Template = function (args) {
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.ReqoreCheckbox, __assign({}, args)), (0, jsx_runtime_1.jsx)(index_1.ReqoreCheckbox, __assign({}, args, { label: 'Label', labelDetail: 'Detail', labelDetailPosition: 'left' })), (0, jsx_runtime_1.jsx)(index_1.ReqoreCheckbox, __assign({}, args, { checked: true })), (0, jsx_runtime_1.jsx)(index_1.ReqoreCheckbox, __assign({}, args, { disabled: true })), (0, jsx_runtime_1.jsx)(index_1.ReqoreCheckbox, __assign({}, args, { label: 'Label', labelDetail: 'Detail', labelPosition: 'left' }))] }));
|
|
23
|
+
};
|
|
24
|
+
exports.Basic = Template.bind({});
|
|
25
|
+
exports.Switch = Template.bind({});
|
|
26
|
+
exports.Switch.args = {
|
|
27
|
+
asSwitch: true
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=Checkbox.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.js","sourceRoot":"","sources":["../../../../src/stories/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,qCAA6C;AAE7C,qBAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,UAAU,EAAE,CAAC,mBAAmB,CAAC;CACA,CAAC;AAEpC,IAAM,QAAQ,GAAoC,UAAC,IAAI;IACrD,OAAO,CACL,6DACE,uBAAC,sBAAc,eAAK,IAAI,EAAI,EAC5B,uBAAC,sBAAc,eAAK,IAAI,IAAE,KAAK,EAAC,OAAO,EAAC,WAAW,EAAC,QAAQ,EAAC,mBAAmB,EAAC,MAAM,IAAG,EAC1F,uBAAC,sBAAc,eAAK,IAAI,IAAE,OAAO,UAAG,EACpC,uBAAC,sBAAc,eAAK,IAAI,IAAE,QAAQ,UAAG,EACrC,uBAAC,sBAAc,eAAK,IAAI,IAAE,KAAK,EAAC,OAAO,EAAC,WAAW,EAAC,QAAQ,EAAC,aAAa,EAAC,MAAM,IAAG,IACnF,CACJ,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC1B,QAAA,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACxC,cAAM,CAAC,IAAI,GAAG;IACZ,QAAQ,EAAE,IAAI;CACf,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { IReqoreColumnsProps } from '../../components/Columns';
|
|
3
|
+
export interface IColumnsStoryArgs extends IReqoreColumnsProps {
|
|
4
|
+
multipleColumns?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: Meta<IColumnsStoryArgs>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Basic: any;
|
|
9
|
+
export declare const MultipleColumns: any;
|
|
10
|
+
//# sourceMappingURL=Columns.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Columns.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Columns/Columns.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAS,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAI/D,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;;AAID,wBA8B6B;AAyB7B,eAAO,MAAM,KAAK,KAAoB,CAAC;AACvC,eAAO,MAAM,eAAe,KAAoB,CAAC"}
|