@qoretechnologies/reqore 0.76.0-pr.673.g960750c → 0.76.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.
- package/.claude/CLAUDE.md +2 -32
- package/dist/components/Accordion/index.js +89 -53
- package/dist/components/Accordion/index.js.map +1 -1
- package/dist/components/Breadcrumbs/index.js +71 -33
- package/dist/components/Breadcrumbs/index.js.map +1 -1
- package/dist/components/Breadcrumbs/item.js +13 -8
- package/dist/components/Breadcrumbs/item.js.map +1 -1
- package/dist/components/Bubble/index.js +93 -53
- package/dist/components/Bubble/index.js.map +1 -1
- package/dist/components/Button/index.d.ts +11 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +156 -114
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Callout/index.js +84 -45
- package/dist/components/Callout/index.js.map +1 -1
- package/dist/components/Checkbox/index.js +106 -68
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Collapse/index.js +56 -19
- package/dist/components/Collapse/index.js.map +1 -1
- package/dist/components/CollapsibleContent/index.js +78 -39
- package/dist/components/CollapsibleContent/index.js.map +1 -1
- package/dist/components/Collection/index.d.ts +7 -8
- package/dist/components/Collection/index.d.ts.map +1 -1
- package/dist/components/Collection/index.js +117 -75
- package/dist/components/Collection/index.js.map +1 -1
- package/dist/components/Collection/item.js +73 -33
- package/dist/components/Collection/item.js.map +1 -1
- package/dist/components/Columns/column.js +39 -3
- package/dist/components/Columns/column.js.map +1 -1
- package/dist/components/Columns/index.js +47 -8
- package/dist/components/Columns/index.js.map +1 -1
- package/dist/components/Comment/index.js +29 -22
- package/dist/components/Comment/index.js.map +1 -1
- package/dist/components/CommentFeed/index.js +14 -7
- package/dist/components/CommentFeed/index.js.map +1 -1
- package/dist/components/Content/index.js +48 -10
- package/dist/components/Content/index.js.map +1 -1
- package/dist/components/Content/wrapper.js +13 -8
- package/dist/components/Content/wrapper.js.map +1 -1
- package/dist/components/ControlGroup/index.d.ts.map +1 -1
- package/dist/components/ControlGroup/index.js +171 -58
- package/dist/components/ControlGroup/index.js.map +1 -1
- package/dist/components/ControlGroup/item.js +18 -12
- package/dist/components/ControlGroup/item.js.map +1 -1
- package/dist/components/DataView/helpers.js +53 -37
- package/dist/components/DataView/helpers.js.map +1 -1
- package/dist/components/DataView/index.js +234 -182
- package/dist/components/DataView/index.js.map +1 -1
- package/dist/components/DatePicker/MonthYearDropdowns.js +19 -12
- package/dist/components/DatePicker/MonthYearDropdowns.js.map +1 -1
- package/dist/components/DatePicker/index.js +65 -58
- package/dist/components/DatePicker/index.js.map +1 -1
- package/dist/components/DescriptionList/index.js +65 -26
- package/dist/components/DescriptionList/index.js.map +1 -1
- package/dist/components/Drawer/backdrop.js +23 -17
- package/dist/components/Drawer/backdrop.js.map +1 -1
- package/dist/components/Drawer/index.d.ts +89 -0
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +236 -69
- package/dist/components/Drawer/index.js.map +1 -1
- package/dist/components/Dropdown/index.d.ts.map +1 -1
- package/dist/components/Dropdown/index.js +23 -18
- package/dist/components/Dropdown/index.js.map +1 -1
- package/dist/components/Dropdown/item.d.ts +1 -1
- package/dist/components/Dropdown/item.d.ts.map +1 -1
- package/dist/components/Dropdown/item.js +34 -11
- package/dist/components/Dropdown/item.js.map +1 -1
- package/dist/components/Dropdown/list.d.ts.map +1 -1
- package/dist/components/Dropdown/list.js +96 -74
- package/dist/components/Dropdown/list.js.map +1 -1
- package/dist/components/Effect/index.d.ts +24 -1
- package/dist/components/Effect/index.d.ts.map +1 -1
- package/dist/components/Effect/index.js +107 -65
- package/dist/components/Effect/index.js.map +1 -1
- package/dist/components/EmptyState/index.js +26 -20
- package/dist/components/EmptyState/index.js.map +1 -1
- package/dist/components/EntityRow/index.js +98 -59
- package/dist/components/EntityRow/index.js.map +1 -1
- package/dist/components/ErrorBoundary/index.js +15 -12
- package/dist/components/ErrorBoundary/index.js.map +1 -1
- package/dist/components/ExportModal/index.js +24 -17
- package/dist/components/ExportModal/index.js.map +1 -1
- package/dist/components/FadeScroller/index.js +29 -23
- package/dist/components/FadeScroller/index.js.map +1 -1
- package/dist/components/FeatureCard/index.js +84 -45
- package/dist/components/FeatureCard/index.js.map +1 -1
- package/dist/components/GlobalModalsWrapper/index.js +16 -13
- package/dist/components/GlobalModalsWrapper/index.js.map +1 -1
- package/dist/components/Header/index.js +33 -21
- package/dist/components/Header/index.js.map +1 -1
- package/dist/components/Icon/index.js +77 -41
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/IconPicker/index.js +80 -41
- package/dist/components/IconPicker/index.js.map +1 -1
- package/dist/components/Input/index.js +94 -55
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/InputClearButton/index.js +20 -14
- package/dist/components/InputClearButton/index.js.map +1 -1
- package/dist/components/InternalPopover/index.d.ts +1 -0
- package/dist/components/InternalPopover/index.d.ts.map +1 -1
- package/dist/components/InternalPopover/index.js +190 -54
- package/dist/components/InternalPopover/index.js.map +1 -1
- package/dist/components/KeyValueTable/index.js +18 -11
- package/dist/components/KeyValueTable/index.js.map +1 -1
- package/dist/components/KeyboardShortcut/index.js +28 -22
- package/dist/components/KeyboardShortcut/index.js.map +1 -1
- package/dist/components/Label/index.js +11 -5
- package/dist/components/Label/index.js.map +1 -1
- package/dist/components/Layout/content.js +10 -5
- package/dist/components/Layout/content.js.map +1 -1
- package/dist/components/Layout/index.js +46 -8
- package/dist/components/Layout/index.js.map +1 -1
- package/dist/components/Link/index.js +63 -24
- package/dist/components/Link/index.js.map +1 -1
- package/dist/components/Menu/divider.js +56 -20
- package/dist/components/Menu/divider.js.map +1 -1
- package/dist/components/Menu/index.js +67 -29
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Menu/item.js +20 -18
- package/dist/components/Menu/item.js.map +1 -1
- package/dist/components/Menu/section.js +19 -12
- package/dist/components/Menu/section.js.map +1 -1
- package/dist/components/Message/index.js +33 -28
- package/dist/components/Message/index.js.map +1 -1
- package/dist/components/Modal/index.js +18 -15
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/MultiSelect/index.d.ts +3 -3
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.js +10 -4
- package/dist/components/MultiSelect/index.js.map +1 -1
- package/dist/components/NavRail/index.js +145 -106
- package/dist/components/NavRail/index.js.map +1 -1
- package/dist/components/Navbar/divider.js +14 -9
- package/dist/components/Navbar/divider.js.map +1 -1
- package/dist/components/Navbar/group.js +45 -9
- package/dist/components/Navbar/group.js.map +1 -1
- package/dist/components/Navbar/index.js +53 -17
- package/dist/components/Navbar/index.js.map +1 -1
- package/dist/components/Navbar/item.js +50 -15
- package/dist/components/Navbar/item.js.map +1 -1
- package/dist/components/Notifications/index.js +44 -9
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/Notifications/notification.js +125 -79
- package/dist/components/Notifications/notification.js.map +1 -1
- package/dist/components/Notifications/styles.js +69 -33
- package/dist/components/Notifications/styles.js.map +1 -1
- package/dist/components/Paging/index.js +63 -24
- package/dist/components/Paging/index.js.map +1 -1
- package/dist/components/Panel/LabelEditor.js +21 -15
- package/dist/components/Panel/LabelEditor.js.map +1 -1
- package/dist/components/Panel/NonResponsiveActions.js +15 -9
- package/dist/components/Panel/NonResponsiveActions.js.map +1 -1
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/index.js +228 -180
- package/dist/components/Panel/index.js.map +1 -1
- package/dist/components/Panel/responsive.d.ts +24 -0
- package/dist/components/Panel/responsive.d.ts.map +1 -0
- package/dist/components/Panel/responsive.js +30 -0
- package/dist/components/Panel/responsive.js.map +1 -0
- package/dist/components/Paragraph/index.d.ts +8 -0
- package/dist/components/Paragraph/index.d.ts.map +1 -1
- package/dist/components/Paragraph/index.js +19 -13
- package/dist/components/Paragraph/index.js.map +1 -1
- package/dist/components/Popover/index.d.ts +46 -0
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +240 -42
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/Progress/index.js +78 -40
- package/dist/components/Progress/index.js.map +1 -1
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +23 -9
- package/dist/components/RadioGroup/index.js.map +1 -1
- package/dist/components/Rating/index.js +81 -43
- package/dist/components/Rating/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.d.ts.map +1 -1
- package/dist/components/RichTextEditor/index.js +362 -114
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/SegmentedControl/index.js +97 -59
- package/dist/components/SegmentedControl/index.js.map +1 -1
- package/dist/components/Select/index.d.ts +68 -29
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +75 -140
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/Select/valuePreview.d.ts +11 -0
- package/dist/components/Select/valuePreview.d.ts.map +1 -0
- package/dist/components/Select/valuePreview.js +64 -0
- package/dist/components/Select/valuePreview.js.map +1 -0
- package/dist/components/SeverityRow/index.js +85 -47
- package/dist/components/SeverityRow/index.js.map +1 -1
- package/dist/components/Skeleton/index.js +46 -9
- package/dist/components/Skeleton/index.js.map +1 -1
- package/dist/components/Slider/index.js +76 -37
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Spacer/index.js +61 -25
- package/dist/components/Spacer/index.js.map +1 -1
- package/dist/components/Span/index.js +19 -13
- package/dist/components/Span/index.js.map +1 -1
- package/dist/components/Spinner/index.js +16 -9
- package/dist/components/Spinner/index.js.map +1 -1
- package/dist/components/StackedBar/index.js +69 -34
- package/dist/components/StackedBar/index.js.map +1 -1
- package/dist/components/Statistic/index.js +73 -35
- package/dist/components/Statistic/index.js.map +1 -1
- package/dist/components/Table/body.d.ts.map +1 -1
- package/dist/components/Table/body.js +107 -48
- package/dist/components/Table/body.js.map +1 -1
- package/dist/components/Table/cell.d.ts.map +1 -1
- package/dist/components/Table/cell.js +68 -29
- package/dist/components/Table/cell.js.map +1 -1
- package/dist/components/Table/header.js +69 -33
- package/dist/components/Table/header.js.map +1 -1
- package/dist/components/Table/headerCell.js +65 -26
- package/dist/components/Table/headerCell.js.map +1 -1
- package/dist/components/Table/helpers.d.ts +62 -28
- package/dist/components/Table/helpers.d.ts.map +1 -1
- package/dist/components/Table/helpers.js +189 -111
- package/dist/components/Table/helpers.js.map +1 -1
- package/dist/components/Table/index.d.ts +30 -2
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +142 -95
- package/dist/components/Table/index.js.map +1 -1
- package/dist/components/Table/row.d.ts +29 -1
- package/dist/components/Table/row.d.ts.map +1 -1
- package/dist/components/Table/row.js +163 -60
- package/dist/components/Table/row.js.map +1 -1
- package/dist/components/Table/scrollbar.js +37 -31
- package/dist/components/Table/scrollbar.js.map +1 -1
- package/dist/components/Table/value.js +15 -9
- package/dist/components/Table/value.js.map +1 -1
- package/dist/components/Tabs/content.js +17 -12
- package/dist/components/Tabs/content.js.map +1 -1
- package/dist/components/Tabs/index.js +52 -14
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/item.js +65 -26
- package/dist/components/Tabs/item.js.map +1 -1
- package/dist/components/Tabs/list.js +101 -60
- package/dist/components/Tabs/list.js.map +1 -1
- package/dist/components/Tag/group.js +49 -11
- package/dist/components/Tag/group.js.map +1 -1
- package/dist/components/Tag/index.d.ts +5 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +147 -92
- package/dist/components/Tag/index.js.map +1 -1
- package/dist/components/Testimonial/index.js +82 -44
- package/dist/components/Testimonial/index.js.map +1 -1
- package/dist/components/Textarea/index.d.ts +10 -0
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +167 -63
- package/dist/components/Textarea/index.js.map +1 -1
- package/dist/components/Tier/index.js +58 -19
- package/dist/components/Tier/index.js.map +1 -1
- package/dist/components/TimeAgo/index.js +16 -9
- package/dist/components/TimeAgo/index.js.map +1 -1
- package/dist/components/Timeline/index.js +117 -78
- package/dist/components/Timeline/index.js.map +1 -1
- package/dist/components/TooltipComponent/index.js +10 -7
- package/dist/components/TooltipComponent/index.js.map +1 -1
- package/dist/components/Tree/index.d.ts +2 -1
- package/dist/components/Tree/index.d.ts.map +1 -1
- package/dist/components/Tree/index.js +99 -70
- package/dist/components/Tree/index.js.map +1 -1
- package/dist/components/Tree/modal.js +20 -13
- package/dist/components/Tree/modal.js.map +1 -1
- package/dist/constants/animations.js +5 -2
- package/dist/constants/animations.js.map +1 -1
- package/dist/constants/colors.js +5 -2
- package/dist/constants/colors.js.map +1 -1
- package/dist/constants/fonts.js +10 -6
- package/dist/constants/fonts.js.map +1 -1
- package/dist/constants/paging.js +6 -2
- package/dist/constants/paging.js.map +1 -1
- package/dist/constants/sizes.js +55 -51
- package/dist/constants/sizes.js.map +1 -1
- package/dist/constants/theme.js +22 -19
- package/dist/constants/theme.js.map +1 -1
- package/dist/containers/Paging.js +16 -13
- package/dist/containers/Paging.js.map +1 -1
- package/dist/containers/ReqoreProvider.d.ts.map +1 -1
- package/dist/containers/ReqoreProvider.js +62 -52
- package/dist/containers/ReqoreProvider.js.map +1 -1
- package/dist/containers/ThemeProvider.js +13 -8
- package/dist/containers/ThemeProvider.js.map +1 -1
- package/dist/containers/UIProvider.d.ts.map +1 -1
- package/dist/containers/UIProvider.js +63 -31
- package/dist/containers/UIProvider.js.map +1 -1
- package/dist/context/CustomThemeContext.js +5 -3
- package/dist/context/CustomThemeContext.js.map +1 -1
- package/dist/context/ReqoreContext.js +6 -4
- package/dist/context/ReqoreContext.js.map +1 -1
- package/dist/context/ThemeContext.js +5 -3
- package/dist/context/ThemeContext.js.map +1 -1
- package/dist/helpers/animations.js +5 -2
- package/dist/helpers/animations.js.map +1 -1
- package/dist/helpers/colors.js +103 -78
- package/dist/helpers/colors.js.map +1 -1
- package/dist/helpers/dates.js +17 -8
- package/dist/helpers/dates.js.map +1 -1
- package/dist/helpers/search.js +11 -5
- package/dist/helpers/search.js.map +1 -1
- package/dist/helpers/selectItem.d.ts +23 -0
- package/dist/helpers/selectItem.d.ts.map +1 -0
- package/dist/helpers/selectItem.js +147 -0
- package/dist/helpers/selectItem.js.map +1 -0
- package/dist/helpers/shortcuts.js +14 -7
- package/dist/helpers/shortcuts.js.map +1 -1
- package/dist/helpers/styled.js +5 -1
- package/dist/helpers/styled.js.map +1 -1
- package/dist/helpers/time.js +5 -1
- package/dist/helpers/time.js.map +1 -1
- package/dist/helpers/utils.js +58 -38
- package/dist/helpers/utils.js.map +1 -1
- package/dist/hooks/useAutoFocus.js +14 -10
- package/dist/hooks/useAutoFocus.js.map +1 -1
- package/dist/hooks/useCloneThroughFragments.js +45 -8
- package/dist/hooks/useCloneThroughFragments.js.map +1 -1
- package/dist/hooks/useCombinedRefs.js +11 -5
- package/dist/hooks/useCombinedRefs.js.map +1 -1
- package/dist/hooks/useComponentTooltip.js +11 -7
- package/dist/hooks/useComponentTooltip.js.map +1 -1
- package/dist/hooks/useFitTextSize.js +13 -9
- package/dist/hooks/useFitTextSize.js.map +1 -1
- package/dist/hooks/useFocusTrap.js +10 -7
- package/dist/hooks/useFocusTrap.js.map +1 -1
- package/dist/hooks/useLatestZIndex.js +8 -6
- package/dist/hooks/useLatestZIndex.js.map +1 -1
- package/dist/hooks/useMarqueeOnHover.js +34 -25
- package/dist/hooks/useMarqueeOnHover.js.map +1 -1
- package/dist/hooks/useNarrowContainer.js +12 -8
- package/dist/hooks/useNarrowContainer.js.map +1 -1
- package/dist/hooks/useOutsideClick.js +6 -4
- package/dist/hooks/useOutsideClick.js.map +1 -1
- package/dist/hooks/usePaging.js +27 -20
- package/dist/hooks/usePaging.js.map +1 -1
- package/dist/hooks/useQueryWithDelay.js +12 -8
- package/dist/hooks/useQueryWithDelay.js.map +1 -1
- package/dist/hooks/useReqore.js +11 -4
- package/dist/hooks/useReqore.js.map +1 -1
- package/dist/hooks/useReqoreContext.js +11 -4
- package/dist/hooks/useReqoreContext.js.map +1 -1
- package/dist/hooks/useReqoreEffect.js +9 -5
- package/dist/hooks/useReqoreEffect.js.map +1 -1
- package/dist/hooks/useScrollFade.js +12 -8
- package/dist/hooks/useScrollFade.js.map +1 -1
- package/dist/hooks/useTextareaAutoSize.js +5 -3
- package/dist/hooks/useTextareaAutoSize.js.map +1 -1
- package/dist/hooks/useTheme.js +22 -15
- package/dist/hooks/useTheme.js.map +1 -1
- package/dist/hooks/useWhyDidYouUpdate.js +7 -4
- package/dist/hooks/useWhyDidYouUpdate.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +284 -107
- package/dist/index.js.map +1 -1
- package/dist/styles.js +58 -22
- package/dist/styles.js.map +1 -1
- package/dist/testing/index.d.ts +3 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +23 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/tableGeometry.d.ts +75 -0
- package/dist/testing/tableGeometry.d.ts.map +1 -0
- package/dist/testing/tableGeometry.js +168 -0
- package/dist/testing/tableGeometry.js.map +1 -0
- package/dist/types/global.js +2 -1
- package/dist/types/icons.js +2 -1
- package/package.json +13 -9
- package/testing/package.json +7 -0
- package/tests.json +1 -0
- package/dist/components/Accordion/index.cjs +0 -199
- package/dist/components/Accordion/index.cjs.map +0 -1
- package/dist/components/Breadcrumbs/index.cjs +0 -239
- package/dist/components/Breadcrumbs/index.cjs.map +0 -1
- package/dist/components/Breadcrumbs/item.cjs +0 -43
- package/dist/components/Breadcrumbs/item.cjs.map +0 -1
- package/dist/components/Bubble/index.cjs +0 -281
- package/dist/components/Bubble/index.cjs.map +0 -1
- package/dist/components/Button/index.cjs +0 -401
- package/dist/components/Button/index.cjs.map +0 -1
- package/dist/components/Callout/index.cjs +0 -203
- package/dist/components/Callout/index.cjs.map +0 -1
- package/dist/components/Checkbox/index.cjs +0 -222
- package/dist/components/Checkbox/index.cjs.map +0 -1
- package/dist/components/Collapse/index.cjs +0 -127
- package/dist/components/Collapse/index.cjs.map +0 -1
- package/dist/components/CollapsibleContent/index.cjs +0 -244
- package/dist/components/CollapsibleContent/index.cjs.map +0 -1
- package/dist/components/Collection/index.cjs +0 -362
- package/dist/components/Collection/index.cjs.map +0 -1
- package/dist/components/Collection/item.cjs +0 -196
- package/dist/components/Collection/item.cjs.map +0 -1
- package/dist/components/Columns/column.cjs +0 -47
- package/dist/components/Columns/column.cjs.map +0 -1
- package/dist/components/Columns/index.cjs +0 -79
- package/dist/components/Columns/index.cjs.map +0 -1
- package/dist/components/Comment/index.cjs +0 -72
- package/dist/components/Comment/index.cjs.map +0 -1
- package/dist/components/CommentFeed/index.cjs +0 -49
- package/dist/components/CommentFeed/index.cjs.map +0 -1
- package/dist/components/Content/index.cjs +0 -80
- package/dist/components/Content/index.cjs.map +0 -1
- package/dist/components/Content/wrapper.cjs +0 -43
- package/dist/components/Content/wrapper.cjs.map +0 -1
- package/dist/components/ControlGroup/index.cjs +0 -437
- package/dist/components/ControlGroup/index.cjs.map +0 -1
- package/dist/components/ControlGroup/item.cjs +0 -86
- package/dist/components/ControlGroup/item.cjs.map +0 -1
- package/dist/components/DataView/helpers.cjs +0 -350
- package/dist/components/DataView/helpers.cjs.map +0 -1
- package/dist/components/DataView/index.cjs +0 -961
- package/dist/components/DataView/index.cjs.map +0 -1
- package/dist/components/DatePicker/MonthYearDropdowns.cjs +0 -64
- package/dist/components/DatePicker/MonthYearDropdowns.cjs.map +0 -1
- package/dist/components/DatePicker/index.cjs +0 -289
- package/dist/components/DatePicker/index.cjs.map +0 -1
- package/dist/components/DescriptionList/index.cjs +0 -183
- package/dist/components/DescriptionList/index.cjs.map +0 -1
- package/dist/components/Drawer/backdrop.cjs +0 -73
- package/dist/components/Drawer/backdrop.cjs.map +0 -1
- package/dist/components/Drawer/index.cjs +0 -302
- package/dist/components/Drawer/index.cjs.map +0 -1
- package/dist/components/Dropdown/index.cjs +0 -77
- package/dist/components/Dropdown/index.cjs.map +0 -1
- package/dist/components/Dropdown/item.cjs +0 -42
- package/dist/components/Dropdown/item.cjs.map +0 -1
- package/dist/components/Dropdown/list.cjs +0 -346
- package/dist/components/Dropdown/list.cjs.map +0 -1
- package/dist/components/Effect/index.cjs +0 -331
- package/dist/components/Effect/index.cjs.map +0 -1
- package/dist/components/EmptyState/index.cjs +0 -60
- package/dist/components/EmptyState/index.cjs.map +0 -1
- package/dist/components/EntityRow/index.cjs +0 -249
- package/dist/components/EntityRow/index.cjs.map +0 -1
- package/dist/components/ErrorBoundary/index.cjs +0 -118
- package/dist/components/ErrorBoundary/index.cjs.map +0 -1
- package/dist/components/ExportModal/index.cjs +0 -91
- package/dist/components/ExportModal/index.cjs.map +0 -1
- package/dist/components/FadeScroller/index.cjs +0 -327
- package/dist/components/FadeScroller/index.cjs.map +0 -1
- package/dist/components/FeatureCard/index.cjs +0 -168
- package/dist/components/FeatureCard/index.cjs.map +0 -1
- package/dist/components/GlobalModalsWrapper/index.cjs +0 -46
- package/dist/components/GlobalModalsWrapper/index.cjs.map +0 -1
- package/dist/components/Header/index.cjs +0 -70
- package/dist/components/Header/index.cjs.map +0 -1
- package/dist/components/Icon/index.cjs +0 -195
- package/dist/components/Icon/index.cjs.map +0 -1
- package/dist/components/IconPicker/index.cjs +0 -236
- package/dist/components/IconPicker/index.cjs.map +0 -1
- package/dist/components/Input/index.cjs +0 -203
- package/dist/components/Input/index.cjs.map +0 -1
- package/dist/components/InputClearButton/index.cjs +0 -62
- package/dist/components/InputClearButton/index.cjs.map +0 -1
- package/dist/components/InternalPopover/index.cjs +0 -315
- package/dist/components/InternalPopover/index.cjs.map +0 -1
- package/dist/components/KeyValueTable/index.cjs +0 -108
- package/dist/components/KeyValueTable/index.cjs.map +0 -1
- package/dist/components/KeyboardShortcut/index.cjs +0 -69
- package/dist/components/KeyboardShortcut/index.cjs.map +0 -1
- package/dist/components/Label/index.cjs +0 -24
- package/dist/components/Label/index.cjs.map +0 -1
- package/dist/components/Layout/content.cjs +0 -41
- package/dist/components/Layout/content.cjs.map +0 -1
- package/dist/components/Layout/index.cjs +0 -79
- package/dist/components/Layout/index.cjs.map +0 -1
- package/dist/components/Link/index.cjs +0 -168
- package/dist/components/Link/index.cjs.map +0 -1
- package/dist/components/Menu/divider.cjs +0 -98
- package/dist/components/Menu/divider.cjs.map +0 -1
- package/dist/components/Menu/index.cjs +0 -135
- package/dist/components/Menu/index.cjs.map +0 -1
- package/dist/components/Menu/item.cjs +0 -99
- package/dist/components/Menu/item.cjs.map +0 -1
- package/dist/components/Menu/section.cjs +0 -59
- package/dist/components/Menu/section.cjs.map +0 -1
- package/dist/components/Message/index.cjs +0 -78
- package/dist/components/Message/index.cjs.map +0 -1
- package/dist/components/Modal/index.cjs +0 -67
- package/dist/components/Modal/index.cjs.map +0 -1
- package/dist/components/MultiSelect/index.cjs +0 -36
- package/dist/components/MultiSelect/index.cjs.map +0 -1
- package/dist/components/NavRail/index.cjs +0 -666
- package/dist/components/NavRail/index.cjs.map +0 -1
- package/dist/components/Navbar/divider.cjs +0 -47
- package/dist/components/Navbar/divider.cjs.map +0 -1
- package/dist/components/Navbar/group.cjs +0 -85
- package/dist/components/Navbar/group.cjs.map +0 -1
- package/dist/components/Navbar/index.cjs +0 -97
- package/dist/components/Navbar/index.cjs.map +0 -1
- package/dist/components/Navbar/item.cjs +0 -98
- package/dist/components/Navbar/item.cjs.map +0 -1
- package/dist/components/Notifications/index.cjs +0 -66
- package/dist/components/Notifications/index.cjs.map +0 -1
- package/dist/components/Notifications/notification.cjs +0 -343
- package/dist/components/Notifications/notification.cjs.map +0 -1
- package/dist/components/Notifications/styles.cjs +0 -131
- package/dist/components/Notifications/styles.cjs.map +0 -1
- package/dist/components/Paging/index.cjs +0 -173
- package/dist/components/Paging/index.cjs.map +0 -1
- package/dist/components/Panel/LabelEditor.cjs +0 -62
- package/dist/components/Panel/LabelEditor.cjs.map +0 -1
- package/dist/components/Panel/NonResponsiveActions.cjs +0 -47
- package/dist/components/Panel/NonResponsiveActions.cjs.map +0 -1
- package/dist/components/Panel/index.cjs +0 -1054
- package/dist/components/Panel/index.cjs.map +0 -1
- package/dist/components/Paragraph/index.cjs +0 -55
- package/dist/components/Paragraph/index.cjs.map +0 -1
- package/dist/components/Popover/index.cjs +0 -348
- package/dist/components/Popover/index.cjs.map +0 -1
- package/dist/components/Progress/index.cjs +0 -187
- package/dist/components/Progress/index.cjs.map +0 -1
- package/dist/components/RadioGroup/index.cjs +0 -42
- package/dist/components/RadioGroup/index.cjs.map +0 -1
- package/dist/components/Rating/index.cjs +0 -207
- package/dist/components/Rating/index.cjs.map +0 -1
- package/dist/components/RichTextEditor/index.cjs +0 -424
- package/dist/components/RichTextEditor/index.cjs.map +0 -1
- package/dist/components/SegmentedControl/index.cjs +0 -364
- package/dist/components/SegmentedControl/index.cjs.map +0 -1
- package/dist/components/Select/index.cjs +0 -363
- package/dist/components/Select/index.cjs.map +0 -1
- package/dist/components/SeverityRow/index.cjs +0 -207
- package/dist/components/SeverityRow/index.cjs.map +0 -1
- package/dist/components/Skeleton/index.cjs +0 -58
- package/dist/components/Skeleton/index.cjs.map +0 -1
- package/dist/components/Slider/index.cjs +0 -154
- package/dist/components/Slider/index.cjs.map +0 -1
- package/dist/components/Spacer/index.cjs +0 -138
- package/dist/components/Spacer/index.cjs.map +0 -1
- package/dist/components/Span/index.cjs +0 -61
- package/dist/components/Span/index.cjs.map +0 -1
- package/dist/components/Spinner/index.cjs +0 -44
- package/dist/components/Spinner/index.cjs.map +0 -1
- package/dist/components/StackedBar/index.cjs +0 -209
- package/dist/components/StackedBar/index.cjs.map +0 -1
- package/dist/components/Statistic/index.cjs +0 -161
- package/dist/components/Statistic/index.cjs.map +0 -1
- package/dist/components/Table/body.cjs +0 -265
- package/dist/components/Table/body.cjs.map +0 -1
- package/dist/components/Table/cell.cjs +0 -179
- package/dist/components/Table/cell.cjs.map +0 -1
- package/dist/components/Table/header.cjs +0 -170
- package/dist/components/Table/header.cjs.map +0 -1
- package/dist/components/Table/headerCell.cjs +0 -277
- package/dist/components/Table/headerCell.cjs.map +0 -1
- package/dist/components/Table/helpers.cjs +0 -386
- package/dist/components/Table/helpers.cjs.map +0 -1
- package/dist/components/Table/index.cjs +0 -682
- package/dist/components/Table/index.cjs.map +0 -1
- package/dist/components/Table/row.cjs +0 -345
- package/dist/components/Table/row.cjs.map +0 -1
- package/dist/components/Table/scrollbar.cjs +0 -201
- package/dist/components/Table/scrollbar.cjs.map +0 -1
- package/dist/components/Table/value.cjs +0 -26
- package/dist/components/Table/value.cjs.map +0 -1
- package/dist/components/Tabs/content.cjs +0 -63
- package/dist/components/Tabs/content.cjs.map +0 -1
- package/dist/components/Tabs/index.cjs +0 -109
- package/dist/components/Tabs/index.cjs.map +0 -1
- package/dist/components/Tabs/item.cjs +0 -136
- package/dist/components/Tabs/item.cjs.map +0 -1
- package/dist/components/Tabs/list.cjs +0 -322
- package/dist/components/Tabs/list.cjs.map +0 -1
- package/dist/components/Tag/group.cjs +0 -107
- package/dist/components/Tag/group.cjs.map +0 -1
- package/dist/components/Tag/index.cjs +0 -343
- package/dist/components/Tag/index.cjs.map +0 -1
- package/dist/components/Testimonial/index.cjs +0 -166
- package/dist/components/Testimonial/index.cjs.map +0 -1
- package/dist/components/Textarea/index.cjs +0 -220
- package/dist/components/Textarea/index.cjs.map +0 -1
- package/dist/components/Tier/index.cjs +0 -107
- package/dist/components/Tier/index.cjs.map +0 -1
- package/dist/components/TimeAgo/index.cjs +0 -27
- package/dist/components/TimeAgo/index.cjs.map +0 -1
- package/dist/components/Timeline/index.cjs +0 -416
- package/dist/components/Timeline/index.cjs.map +0 -1
- package/dist/components/TooltipComponent/index.cjs +0 -37
- package/dist/components/TooltipComponent/index.cjs.map +0 -1
- package/dist/components/Tree/index.cjs +0 -321
- package/dist/components/Tree/index.cjs.map +0 -1
- package/dist/components/Tree/modal.cjs +0 -38
- package/dist/components/Tree/modal.cjs.map +0 -1
- package/dist/constants/animations.cjs +0 -12
- package/dist/constants/animations.cjs.map +0 -1
- package/dist/constants/colors.cjs +0 -16
- package/dist/constants/colors.cjs.map +0 -1
- package/dist/constants/fonts.cjs +0 -28
- package/dist/constants/fonts.cjs.map +0 -1
- package/dist/constants/paging.cjs +0 -63
- package/dist/constants/paging.cjs.map +0 -1
- package/dist/constants/sizes.cjs +0 -462
- package/dist/constants/sizes.cjs.map +0 -1
- package/dist/constants/theme.cjs +0 -43
- package/dist/constants/theme.cjs.map +0 -1
- package/dist/containers/Paging.cjs +0 -52
- package/dist/containers/Paging.cjs.map +0 -1
- package/dist/containers/ReqoreProvider.cjs +0 -275
- package/dist/containers/ReqoreProvider.cjs.map +0 -1
- package/dist/containers/ThemeProvider.cjs +0 -17
- package/dist/containers/ThemeProvider.cjs.map +0 -1
- package/dist/containers/UIProvider.cjs +0 -96
- package/dist/containers/UIProvider.cjs.map +0 -1
- package/dist/context/CustomThemeContext.cjs +0 -6
- package/dist/context/CustomThemeContext.cjs.map +0 -1
- package/dist/context/ReqoreContext.cjs +0 -25
- package/dist/context/ReqoreContext.cjs.map +0 -1
- package/dist/context/ThemeContext.cjs +0 -6
- package/dist/context/ThemeContext.cjs.map +0 -1
- package/dist/helpers/animations.cjs +0 -11
- package/dist/helpers/animations.cjs.map +0 -1
- package/dist/helpers/colors.cjs +0 -273
- package/dist/helpers/colors.cjs.map +0 -1
- package/dist/helpers/dates.cjs +0 -62
- package/dist/helpers/dates.cjs.map +0 -1
- package/dist/helpers/portal.cjs +0 -32
- package/dist/helpers/portal.cjs.map +0 -1
- package/dist/helpers/portal.d.ts +0 -18
- package/dist/helpers/portal.d.ts.map +0 -1
- package/dist/helpers/portal.js +0 -27
- package/dist/helpers/portal.js.map +0 -1
- package/dist/helpers/search.cjs +0 -63
- package/dist/helpers/search.cjs.map +0 -1
- package/dist/helpers/shortcuts.cjs +0 -152
- package/dist/helpers/shortcuts.cjs.map +0 -1
- package/dist/helpers/styled.cjs +0 -46
- package/dist/helpers/styled.cjs.map +0 -1
- package/dist/helpers/time.cjs +0 -25
- package/dist/helpers/time.cjs.map +0 -1
- package/dist/helpers/utils.cjs +0 -294
- package/dist/helpers/utils.cjs.map +0 -1
- package/dist/hooks/useAutoFocus.cjs +0 -84
- package/dist/hooks/useAutoFocus.cjs.map +0 -1
- package/dist/hooks/useCloneThroughFragments.cjs +0 -63
- package/dist/hooks/useCloneThroughFragments.cjs.map +0 -1
- package/dist/hooks/useCombinedRefs.cjs +0 -44
- package/dist/hooks/useCombinedRefs.cjs.map +0 -1
- package/dist/hooks/useComponentTooltip.cjs +0 -34
- package/dist/hooks/useComponentTooltip.cjs.map +0 -1
- package/dist/hooks/useFitTextSize.cjs +0 -75
- package/dist/hooks/useFitTextSize.cjs.map +0 -1
- package/dist/hooks/useFocusTrap.cjs +0 -119
- package/dist/hooks/useFocusTrap.cjs.map +0 -1
- package/dist/hooks/useLatestZIndex.cjs +0 -12
- package/dist/hooks/useLatestZIndex.cjs.map +0 -1
- package/dist/hooks/useMarqueeOnHover.cjs +0 -292
- package/dist/hooks/useMarqueeOnHover.cjs.map +0 -1
- package/dist/hooks/useNarrowContainer.cjs +0 -68
- package/dist/hooks/useNarrowContainer.cjs.map +0 -1
- package/dist/hooks/useOutsideClick.cjs +0 -19
- package/dist/hooks/useOutsideClick.cjs.map +0 -1
- package/dist/hooks/usePaging.cjs +0 -152
- package/dist/hooks/usePaging.cjs.map +0 -1
- package/dist/hooks/useQueryWithDelay.cjs +0 -25
- package/dist/hooks/useQueryWithDelay.cjs.map +0 -1
- package/dist/hooks/useReqore.cjs +0 -17
- package/dist/hooks/useReqore.cjs.map +0 -1
- package/dist/hooks/useReqoreContext.cjs +0 -19
- package/dist/hooks/useReqoreContext.cjs.map +0 -1
- package/dist/hooks/useReqoreEffect.cjs +0 -34
- package/dist/hooks/useReqoreEffect.cjs.map +0 -1
- package/dist/hooks/useScrollFade.cjs +0 -70
- package/dist/hooks/useScrollFade.cjs.map +0 -1
- package/dist/hooks/useTextareaAutoSize.cjs +0 -22
- package/dist/hooks/useTextareaAutoSize.cjs.map +0 -1
- package/dist/hooks/useTheme.cjs +0 -49
- package/dist/hooks/useTheme.cjs.map +0 -1
- package/dist/hooks/useWhyDidYouUpdate.cjs +0 -46
- package/dist/hooks/useWhyDidYouUpdate.cjs.map +0 -1
- package/dist/index.cjs +0 -271
- package/dist/index.cjs.map +0 -1
- package/dist/package.json +0 -3
- package/dist/styles.cjs +0 -88
- package/dist/styles.cjs.map +0 -1
- package/dist/types/global.cjs +0 -3
- package/dist/types/global.cjs.map +0 -1
- package/dist/types/icons.cjs +0 -3
- package/dist/types/icons.cjs.map +0 -1
package/dist/constants/sizes.cjs
DELETED
|
@@ -1,462 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PROGRESS_HEIGHT_FROM_SIZE = exports.PILL_RADIUS_MODIFIER = exports.WEIGHT_TO_NUMBER = exports.ICON_WRAPPER_FROM_HEADER_SIZE = exports.ICON_FROM_HEADER_SIZE = exports.ACCENT_SIZE_TO_PX = exports.RATING_GAP_FROM_SIZE = exports.GAP_FROM_SIZE = exports.BUBBLE_AVATAR_RADIUS_FROM_SIZE = exports.BUBBLE_RADIUS_FROM_RADIUS_SIZE = exports.BUBBLE_RADIUS_FROM_SIZE = exports.BADGE_RADIUS_FROM_RADIUS_SIZE = exports.BADGE_RADIUS_FROM_SIZE = exports.TAG_RADIUS_FROM_RADIUS_SIZE = exports.TAG_RADIUS_FROM_SIZE = exports.resolveRadius = exports.RADIUS_FROM_RADIUS_SIZE = exports.RADIUS_FROM_SIZE = exports.CONTROL_VERTICAL_PADDING_MODIFIER_FROM_SIZE = exports.CONTROL_VERTICAL_PADDING_FROM_SIZE = exports.CONTROL_HORIZONTAL_PADDING_FROM_SIZE = exports.TEXTAREA_PADDING_FROM_SIZE = exports.SPECIAL_PADDING_FROM_SIZE = exports.PADDING_FROM_SIZE = exports.HALF_PADDING_FROM_SIZE = exports.ICON_FROM_SIZE = exports.TAG_ICON_FROM_SIZE = exports.TAG_TEXT_FROM_SIZE = exports.CONTROL_TEXT_FROM_SIZE = exports.TEXT_FROM_SIZE = exports.MARGIN_FROM_SIZE = exports.TAG_HORIZONTAL_PADDING_FROM_SIZE = exports.TAG_VERTICAL_PADDING_FROM_SIZE = exports.TABS_PADDING_TO_PX = exports.TABLE_SIZE_TO_PX = exports.TABS_SIZE_TO_PX = exports.INDICATOR_SIZE_TO_PX = exports.BADGE_SIZE_TO_PX = exports.TAG_SIZE_TO_PX = exports.SIZE_TO_PX = exports.SWITCH_SIZE_TO_PX = exports.HEADER_SIZE_TO_NUMBER = exports.HEADER_LEVEL_TO_PX = exports.NUMBER_TO_SIZE = exports.SIZE_TO_NUMBER = exports.LINE_SIZE_TO_NUMBER = exports.SIZE_TO_MODIFIER = exports.SIZES = exports.ReqoreSizes = void 0;
|
|
4
|
-
exports.ReqoreSizes = {
|
|
5
|
-
MICRO: 'micro',
|
|
6
|
-
TINY: 'tiny',
|
|
7
|
-
SMALL: 'small',
|
|
8
|
-
NORMAL: 'normal',
|
|
9
|
-
BIG: 'big',
|
|
10
|
-
HUGE: 'huge',
|
|
11
|
-
MASSIVE: 'massive',
|
|
12
|
-
};
|
|
13
|
-
exports.SIZES = ['micro', 'tiny', 'small', 'normal', 'big', 'huge', 'massive'];
|
|
14
|
-
exports.SIZE_TO_MODIFIER = {
|
|
15
|
-
micro: 0.6,
|
|
16
|
-
tiny: 0.7,
|
|
17
|
-
small: 0.9,
|
|
18
|
-
normal: 1,
|
|
19
|
-
big: 1.1,
|
|
20
|
-
huge: 1.2,
|
|
21
|
-
massive: 1.4,
|
|
22
|
-
};
|
|
23
|
-
exports.LINE_SIZE_TO_NUMBER = {
|
|
24
|
-
none: 0,
|
|
25
|
-
micro: 0.5,
|
|
26
|
-
tiny: 1,
|
|
27
|
-
small: 1,
|
|
28
|
-
normal: 1.5,
|
|
29
|
-
big: 2,
|
|
30
|
-
huge: 3,
|
|
31
|
-
massive: 4,
|
|
32
|
-
};
|
|
33
|
-
exports.SIZE_TO_NUMBER = {
|
|
34
|
-
none: 0,
|
|
35
|
-
micro: 1,
|
|
36
|
-
tiny: 2,
|
|
37
|
-
small: 3,
|
|
38
|
-
normal: 4,
|
|
39
|
-
big: 5,
|
|
40
|
-
huge: 6,
|
|
41
|
-
massive: 7,
|
|
42
|
-
};
|
|
43
|
-
exports.NUMBER_TO_SIZE = {
|
|
44
|
-
1: 'micro',
|
|
45
|
-
2: 'tiny',
|
|
46
|
-
3: 'small',
|
|
47
|
-
4: 'normal',
|
|
48
|
-
5: 'big',
|
|
49
|
-
6: 'huge',
|
|
50
|
-
7: 'massive',
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* The px font-size each heading level renders at.
|
|
54
|
-
*
|
|
55
|
-
* `ReqoreHeading` reads this rather than carrying the numbers inline, so anything that
|
|
56
|
-
* needs to reason about a heading's size in px — `Panel`'s fit-to-width title, for one —
|
|
57
|
-
* is looking at the same scale the heading actually paints.
|
|
58
|
-
*/
|
|
59
|
-
exports.HEADER_LEVEL_TO_PX = {
|
|
60
|
-
1: 30,
|
|
61
|
-
2: 24,
|
|
62
|
-
3: 19,
|
|
63
|
-
4: 14,
|
|
64
|
-
5: 11,
|
|
65
|
-
6: 8,
|
|
66
|
-
};
|
|
67
|
-
exports.HEADER_SIZE_TO_NUMBER = {
|
|
68
|
-
micro: 6,
|
|
69
|
-
tiny: 5,
|
|
70
|
-
small: 4,
|
|
71
|
-
normal: 3,
|
|
72
|
-
big: 2,
|
|
73
|
-
huge: 1,
|
|
74
|
-
massive: 1,
|
|
75
|
-
};
|
|
76
|
-
exports.SWITCH_SIZE_TO_PX = {
|
|
77
|
-
micro: 16,
|
|
78
|
-
tiny: 20,
|
|
79
|
-
small: 26,
|
|
80
|
-
normal: 32,
|
|
81
|
-
big: 38,
|
|
82
|
-
huge: 48,
|
|
83
|
-
massive: 56,
|
|
84
|
-
};
|
|
85
|
-
exports.SIZE_TO_PX = {
|
|
86
|
-
micro: 22,
|
|
87
|
-
tiny: 26,
|
|
88
|
-
small: 32,
|
|
89
|
-
normal: 38,
|
|
90
|
-
big: 48,
|
|
91
|
-
huge: 58,
|
|
92
|
-
massive: 68,
|
|
93
|
-
};
|
|
94
|
-
exports.TAG_SIZE_TO_PX = {
|
|
95
|
-
micro: 10,
|
|
96
|
-
tiny: 14,
|
|
97
|
-
small: 20,
|
|
98
|
-
normal: 26,
|
|
99
|
-
big: 42,
|
|
100
|
-
huge: 52,
|
|
101
|
-
massive: 62,
|
|
102
|
-
};
|
|
103
|
-
exports.BADGE_SIZE_TO_PX = {
|
|
104
|
-
micro: 14,
|
|
105
|
-
tiny: 17,
|
|
106
|
-
small: 20,
|
|
107
|
-
normal: 26,
|
|
108
|
-
big: 32,
|
|
109
|
-
huge: 38,
|
|
110
|
-
massive: 44,
|
|
111
|
-
};
|
|
112
|
-
/** Diameter (px) of the button corner indicator dot per size. */
|
|
113
|
-
exports.INDICATOR_SIZE_TO_PX = {
|
|
114
|
-
micro: 5,
|
|
115
|
-
tiny: 6,
|
|
116
|
-
small: 7,
|
|
117
|
-
normal: 8,
|
|
118
|
-
big: 10,
|
|
119
|
-
huge: 12,
|
|
120
|
-
massive: 14,
|
|
121
|
-
};
|
|
122
|
-
exports.TABS_SIZE_TO_PX = {
|
|
123
|
-
micro: 16,
|
|
124
|
-
tiny: 20,
|
|
125
|
-
small: 30,
|
|
126
|
-
normal: 40,
|
|
127
|
-
big: 50,
|
|
128
|
-
huge: 60,
|
|
129
|
-
massive: 70,
|
|
130
|
-
};
|
|
131
|
-
exports.TABLE_SIZE_TO_PX = exports.SIZE_TO_PX;
|
|
132
|
-
exports.TABS_PADDING_TO_PX = {
|
|
133
|
-
micro: 5,
|
|
134
|
-
tiny: 5,
|
|
135
|
-
small: 5,
|
|
136
|
-
normal: 5,
|
|
137
|
-
big: 5,
|
|
138
|
-
huge: 5,
|
|
139
|
-
massive: 5,
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* A tag's VERTICAL padding, which is a different scale from its horizontal one.
|
|
143
|
-
*
|
|
144
|
-
* A tag is a inline object sitting on a line of text, so its vertical padding competes
|
|
145
|
-
* with the line height around it while its horizontal padding only competes with the
|
|
146
|
-
* words either side. `normal` is 4px — the value the tag hardcoded before this was
|
|
147
|
-
* configurable — so an explicit `paddingSize='normal'` reproduces the old rendering
|
|
148
|
-
* exactly, and the smaller steps exist for tags used inline in prose.
|
|
149
|
-
*/
|
|
150
|
-
exports.TAG_VERTICAL_PADDING_FROM_SIZE = {
|
|
151
|
-
micro: 0,
|
|
152
|
-
tiny: 1,
|
|
153
|
-
small: 2,
|
|
154
|
-
normal: 4,
|
|
155
|
-
big: 6,
|
|
156
|
-
huge: 8,
|
|
157
|
-
massive: 10,
|
|
158
|
-
};
|
|
159
|
-
exports.TAG_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
160
|
-
micro: 2,
|
|
161
|
-
tiny: 3,
|
|
162
|
-
small: 5,
|
|
163
|
-
normal: 6,
|
|
164
|
-
big: 9,
|
|
165
|
-
huge: 13,
|
|
166
|
-
massive: 17,
|
|
167
|
-
};
|
|
168
|
-
exports.MARGIN_FROM_SIZE = {
|
|
169
|
-
micro: 0,
|
|
170
|
-
tiny: 0,
|
|
171
|
-
small: 0,
|
|
172
|
-
normal: 10,
|
|
173
|
-
big: 20,
|
|
174
|
-
huge: 30,
|
|
175
|
-
massive: 40,
|
|
176
|
-
};
|
|
177
|
-
exports.TEXT_FROM_SIZE = {
|
|
178
|
-
micro: 7,
|
|
179
|
-
tiny: 9,
|
|
180
|
-
small: 12,
|
|
181
|
-
normal: 15,
|
|
182
|
-
big: 18,
|
|
183
|
-
huge: 21,
|
|
184
|
-
massive: 24,
|
|
185
|
-
};
|
|
186
|
-
exports.CONTROL_TEXT_FROM_SIZE = {
|
|
187
|
-
micro: 7,
|
|
188
|
-
tiny: 9,
|
|
189
|
-
small: 12,
|
|
190
|
-
normal: 14,
|
|
191
|
-
big: 17,
|
|
192
|
-
huge: 20,
|
|
193
|
-
massive: 23,
|
|
194
|
-
};
|
|
195
|
-
exports.TAG_TEXT_FROM_SIZE = {
|
|
196
|
-
micro: 8,
|
|
197
|
-
tiny: 10,
|
|
198
|
-
small: 13,
|
|
199
|
-
normal: 15,
|
|
200
|
-
big: 18,
|
|
201
|
-
huge: 21,
|
|
202
|
-
massive: 24,
|
|
203
|
-
};
|
|
204
|
-
exports.TAG_ICON_FROM_SIZE = {
|
|
205
|
-
micro: 10,
|
|
206
|
-
tiny: 12,
|
|
207
|
-
small: 14,
|
|
208
|
-
normal: 16,
|
|
209
|
-
big: 19,
|
|
210
|
-
huge: 22,
|
|
211
|
-
massive: 25,
|
|
212
|
-
};
|
|
213
|
-
exports.ICON_FROM_SIZE = {
|
|
214
|
-
micro: 10,
|
|
215
|
-
tiny: 13,
|
|
216
|
-
small: 17,
|
|
217
|
-
normal: 20,
|
|
218
|
-
big: 26,
|
|
219
|
-
huge: 33,
|
|
220
|
-
massive: 40,
|
|
221
|
-
};
|
|
222
|
-
exports.HALF_PADDING_FROM_SIZE = {
|
|
223
|
-
micro: 1.5,
|
|
224
|
-
tiny: 2,
|
|
225
|
-
small: 3,
|
|
226
|
-
normal: 4,
|
|
227
|
-
big: 5.5,
|
|
228
|
-
huge: 7,
|
|
229
|
-
massive: 8.5,
|
|
230
|
-
};
|
|
231
|
-
exports.PADDING_FROM_SIZE = {
|
|
232
|
-
micro: 3,
|
|
233
|
-
tiny: 4,
|
|
234
|
-
small: 6,
|
|
235
|
-
normal: 8,
|
|
236
|
-
big: 11,
|
|
237
|
-
huge: 14,
|
|
238
|
-
massive: 17,
|
|
239
|
-
};
|
|
240
|
-
exports.SPECIAL_PADDING_FROM_SIZE = {
|
|
241
|
-
micro: 3,
|
|
242
|
-
tiny: 4,
|
|
243
|
-
small: 6,
|
|
244
|
-
normal: 8,
|
|
245
|
-
big: 15,
|
|
246
|
-
huge: 28,
|
|
247
|
-
massive: 40,
|
|
248
|
-
};
|
|
249
|
-
exports.TEXTAREA_PADDING_FROM_SIZE = {
|
|
250
|
-
micro: 1.5,
|
|
251
|
-
tiny: 2,
|
|
252
|
-
small: 5.5,
|
|
253
|
-
normal: 6,
|
|
254
|
-
big: 9,
|
|
255
|
-
huge: 12,
|
|
256
|
-
massive: 15,
|
|
257
|
-
};
|
|
258
|
-
exports.CONTROL_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
259
|
-
micro: 7,
|
|
260
|
-
tiny: 9,
|
|
261
|
-
small: 12,
|
|
262
|
-
normal: 14,
|
|
263
|
-
big: 17,
|
|
264
|
-
huge: 21,
|
|
265
|
-
massive: 25,
|
|
266
|
-
};
|
|
267
|
-
exports.CONTROL_VERTICAL_PADDING_FROM_SIZE = {
|
|
268
|
-
micro: 4,
|
|
269
|
-
tiny: 5,
|
|
270
|
-
small: 6,
|
|
271
|
-
normal: 8,
|
|
272
|
-
big: 11,
|
|
273
|
-
huge: 14,
|
|
274
|
-
massive: 17,
|
|
275
|
-
};
|
|
276
|
-
exports.CONTROL_VERTICAL_PADDING_MODIFIER_FROM_SIZE = {
|
|
277
|
-
micro: -5,
|
|
278
|
-
tiny: -4,
|
|
279
|
-
small: -2,
|
|
280
|
-
normal: 0,
|
|
281
|
-
big: 3,
|
|
282
|
-
huge: 6,
|
|
283
|
-
massive: 9,
|
|
284
|
-
};
|
|
285
|
-
exports.RADIUS_FROM_SIZE = {
|
|
286
|
-
micro: 3,
|
|
287
|
-
tiny: 4,
|
|
288
|
-
small: 4,
|
|
289
|
-
normal: 5,
|
|
290
|
-
big: 6,
|
|
291
|
-
huge: 8,
|
|
292
|
-
massive: 10,
|
|
293
|
-
};
|
|
294
|
-
/**
|
|
295
|
-
* Scale used when a component receives an explicit `radiusSize` prop.
|
|
296
|
-
* Decoupled from `RADIUS_FROM_SIZE` so consumers can opt into a more
|
|
297
|
-
* pronounced corner curve (marketing surfaces, hero cards, …) without
|
|
298
|
-
* changing the default look of every Reqore component.
|
|
299
|
-
*/
|
|
300
|
-
exports.RADIUS_FROM_RADIUS_SIZE = {
|
|
301
|
-
micro: 3,
|
|
302
|
-
tiny: 5,
|
|
303
|
-
small: 8,
|
|
304
|
-
normal: 12,
|
|
305
|
-
big: 18,
|
|
306
|
-
huge: 26,
|
|
307
|
-
massive: 36,
|
|
308
|
-
};
|
|
309
|
-
/**
|
|
310
|
-
* Resolve the border-radius pixel value for a component.
|
|
311
|
-
* - When `radiusSize` is set, picks from the pronounced `radiusScale`.
|
|
312
|
-
* - Otherwise falls back to the default `sizeScale[size]`.
|
|
313
|
-
*
|
|
314
|
-
* Most components use `RADIUS_FROM_SIZE` + `RADIUS_FROM_RADIUS_SIZE`, but
|
|
315
|
-
* Tag/Badge ship their own scales (`TAG_RADIUS_FROM_*`, `BADGE_RADIUS_FROM_*`)
|
|
316
|
-
* and pass those in instead.
|
|
317
|
-
*/
|
|
318
|
-
var resolveRadius = function (size, radiusSize, sizeScale, radiusScale) {
|
|
319
|
-
if (sizeScale === void 0) { sizeScale = exports.RADIUS_FROM_SIZE; }
|
|
320
|
-
if (radiusScale === void 0) { radiusScale = exports.RADIUS_FROM_RADIUS_SIZE; }
|
|
321
|
-
return (radiusSize ? radiusScale[radiusSize] : sizeScale[size]);
|
|
322
|
-
};
|
|
323
|
-
exports.resolveRadius = resolveRadius;
|
|
324
|
-
exports.TAG_RADIUS_FROM_SIZE = {
|
|
325
|
-
micro: 1,
|
|
326
|
-
tiny: 2,
|
|
327
|
-
small: 3,
|
|
328
|
-
normal: 5,
|
|
329
|
-
big: 7,
|
|
330
|
-
huge: 9,
|
|
331
|
-
massive: 11,
|
|
332
|
-
};
|
|
333
|
-
/** More pronounced radius for `radiusSize`-driven tag corners. */
|
|
334
|
-
exports.TAG_RADIUS_FROM_RADIUS_SIZE = {
|
|
335
|
-
micro: 2,
|
|
336
|
-
tiny: 4,
|
|
337
|
-
small: 6,
|
|
338
|
-
normal: 9,
|
|
339
|
-
big: 14,
|
|
340
|
-
huge: 20,
|
|
341
|
-
massive: 28,
|
|
342
|
-
};
|
|
343
|
-
exports.BADGE_RADIUS_FROM_SIZE = {
|
|
344
|
-
micro: 5,
|
|
345
|
-
tiny: 6,
|
|
346
|
-
small: 7,
|
|
347
|
-
normal: 9,
|
|
348
|
-
big: 11,
|
|
349
|
-
huge: 13,
|
|
350
|
-
massive: 15,
|
|
351
|
-
};
|
|
352
|
-
/** More pronounced radius for `radiusSize`-driven badge corners. */
|
|
353
|
-
exports.BADGE_RADIUS_FROM_RADIUS_SIZE = {
|
|
354
|
-
micro: 6,
|
|
355
|
-
tiny: 8,
|
|
356
|
-
small: 12,
|
|
357
|
-
normal: 16,
|
|
358
|
-
big: 20,
|
|
359
|
-
huge: 26,
|
|
360
|
-
massive: 32,
|
|
361
|
-
};
|
|
362
|
-
/**
|
|
363
|
-
* Chat bubbles carry a far rounder corner than a general surface — the curve is
|
|
364
|
-
* what reads as "speech" rather than "panel", so they get their own scale.
|
|
365
|
-
*/
|
|
366
|
-
exports.BUBBLE_RADIUS_FROM_SIZE = {
|
|
367
|
-
micro: 9,
|
|
368
|
-
tiny: 12,
|
|
369
|
-
small: 12,
|
|
370
|
-
normal: 15,
|
|
371
|
-
big: 18,
|
|
372
|
-
huge: 24,
|
|
373
|
-
massive: 30,
|
|
374
|
-
};
|
|
375
|
-
/** More pronounced radius for `radiusSize`-driven bubble corners. */
|
|
376
|
-
exports.BUBBLE_RADIUS_FROM_RADIUS_SIZE = {
|
|
377
|
-
micro: 14,
|
|
378
|
-
tiny: 20,
|
|
379
|
-
small: 24,
|
|
380
|
-
normal: 30,
|
|
381
|
-
big: 40,
|
|
382
|
-
huge: 52,
|
|
383
|
-
massive: 70,
|
|
384
|
-
};
|
|
385
|
-
/**
|
|
386
|
-
* The bubble's avatar tile — squarer than the bubble it sits beside, so it reads
|
|
387
|
-
* as a distinct object rather than a second bubble.
|
|
388
|
-
*/
|
|
389
|
-
exports.BUBBLE_AVATAR_RADIUS_FROM_SIZE = {
|
|
390
|
-
micro: 5,
|
|
391
|
-
tiny: 6,
|
|
392
|
-
small: 6,
|
|
393
|
-
normal: 8,
|
|
394
|
-
big: 10,
|
|
395
|
-
huge: 13,
|
|
396
|
-
massive: 16,
|
|
397
|
-
};
|
|
398
|
-
exports.GAP_FROM_SIZE = {
|
|
399
|
-
micro: 0.5,
|
|
400
|
-
tiny: 1,
|
|
401
|
-
small: 3,
|
|
402
|
-
normal: 5,
|
|
403
|
-
big: 18,
|
|
404
|
-
huge: 30,
|
|
405
|
-
massive: 42,
|
|
406
|
-
};
|
|
407
|
-
exports.RATING_GAP_FROM_SIZE = {
|
|
408
|
-
micro: 0.5,
|
|
409
|
-
tiny: 1,
|
|
410
|
-
small: 3,
|
|
411
|
-
normal: 5,
|
|
412
|
-
big: 7,
|
|
413
|
-
huge: 9,
|
|
414
|
-
massive: 12,
|
|
415
|
-
};
|
|
416
|
-
/** Accent-strip thickness (Callout + Panel `accentSize`) in px. `normal` IS the default:
|
|
417
|
-
* `resolveAccentSize` falls back to it, so neither component declares a numeric default of
|
|
418
|
-
* its own and the string and number forms cannot drift apart. */
|
|
419
|
-
exports.ACCENT_SIZE_TO_PX = {
|
|
420
|
-
micro: 2,
|
|
421
|
-
tiny: 3,
|
|
422
|
-
small: 4,
|
|
423
|
-
normal: 5,
|
|
424
|
-
big: 7,
|
|
425
|
-
huge: 9,
|
|
426
|
-
massive: 12,
|
|
427
|
-
};
|
|
428
|
-
exports.ICON_FROM_HEADER_SIZE = {
|
|
429
|
-
1: 23,
|
|
430
|
-
2: 20,
|
|
431
|
-
3: 17,
|
|
432
|
-
4: 14,
|
|
433
|
-
5: 11,
|
|
434
|
-
6: 8,
|
|
435
|
-
};
|
|
436
|
-
exports.ICON_WRAPPER_FROM_HEADER_SIZE = {
|
|
437
|
-
massive: 38,
|
|
438
|
-
huge: 34,
|
|
439
|
-
big: 26,
|
|
440
|
-
normal: 19,
|
|
441
|
-
small: 17,
|
|
442
|
-
tiny: 15,
|
|
443
|
-
micro: 13,
|
|
444
|
-
};
|
|
445
|
-
exports.WEIGHT_TO_NUMBER = {
|
|
446
|
-
thin: 100,
|
|
447
|
-
light: 250,
|
|
448
|
-
normal: 400,
|
|
449
|
-
bold: 500,
|
|
450
|
-
thick: 600,
|
|
451
|
-
};
|
|
452
|
-
exports.PILL_RADIUS_MODIFIER = 3.5;
|
|
453
|
-
exports.PROGRESS_HEIGHT_FROM_SIZE = {
|
|
454
|
-
micro: 2,
|
|
455
|
-
tiny: 3,
|
|
456
|
-
small: 4,
|
|
457
|
-
normal: 6,
|
|
458
|
-
big: 8,
|
|
459
|
-
huge: 10,
|
|
460
|
-
massive: 14,
|
|
461
|
-
};
|
|
462
|
-
//# sourceMappingURL=sizes.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.cjs","sourceRoot":"","sources":["../../src/constants/sizes.ts"],"names":[],"mappings":";;;AAGa,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;CACnB,CAAC;AAEW,QAAA,KAAK,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,CAAU,CAAC;AAEhF,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,GAAG;CACb,CAAC;AAEW,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,GAAG;IACV,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,GAAG;IAC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,GAAG;IACT,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;CACX,CAAC;AAEW,QAAA,oBAAoB,GAAG,GAAG,CAAC;AAE3B,QAAA,yBAAyB,GAAG;IACvC,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;CACZ,CAAC"}
|
package/dist/constants/theme.cjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReqoreIntents = exports.DEFAULT_THEME = exports.DEFAULT_INTENTS = void 0;
|
|
4
|
-
var colors_1 = require("./colors.cjs");
|
|
5
|
-
exports.DEFAULT_INTENTS = {
|
|
6
|
-
info: colors_1.Colors.BLUE,
|
|
7
|
-
success: colors_1.Colors.GREEN,
|
|
8
|
-
pending: colors_1.Colors.YELLOW,
|
|
9
|
-
warning: colors_1.Colors.ORANGE,
|
|
10
|
-
danger: colors_1.Colors.RED,
|
|
11
|
-
muted: colors_1.Colors.GRAY,
|
|
12
|
-
black: colors_1.Colors.DARK,
|
|
13
|
-
white: colors_1.Colors.LIGHT,
|
|
14
|
-
custom1: colors_1.Colors.GRAY,
|
|
15
|
-
custom2: colors_1.Colors.GRAY,
|
|
16
|
-
custom3: colors_1.Colors.GRAY,
|
|
17
|
-
custom4: colors_1.Colors.GRAY,
|
|
18
|
-
custom5: colors_1.Colors.GRAY,
|
|
19
|
-
};
|
|
20
|
-
exports.DEFAULT_THEME = {
|
|
21
|
-
main: colors_1.Colors.DARK_THEME,
|
|
22
|
-
text: {
|
|
23
|
-
dim: true,
|
|
24
|
-
},
|
|
25
|
-
intents: exports.DEFAULT_INTENTS,
|
|
26
|
-
notifications: {},
|
|
27
|
-
};
|
|
28
|
-
exports.ReqoreIntents = {
|
|
29
|
-
INFO: 'info',
|
|
30
|
-
SUCCESS: 'success',
|
|
31
|
-
PENDING: 'pending',
|
|
32
|
-
WARNING: 'warning',
|
|
33
|
-
DANGER: 'danger',
|
|
34
|
-
MUTED: 'muted',
|
|
35
|
-
BLACK: 'black',
|
|
36
|
-
WHITE: 'white',
|
|
37
|
-
CUSTOM1: 'custom1',
|
|
38
|
-
CUSTOM2: 'custom2',
|
|
39
|
-
CUSTOM3: 'custom3',
|
|
40
|
-
CUSTOM4: 'custom4',
|
|
41
|
-
CUSTOM5: 'custom5',
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=theme.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.cjs","sourceRoot":"","sources":["../../src/constants/theme.ts"],"names":[],"mappings":";;;AACA,mCAAkC;AAiGrB,QAAA,eAAe,GAAmB;IAC7C,IAAI,EAAE,eAAM,CAAC,IAAI;IACjB,OAAO,EAAE,eAAM,CAAC,KAAK;IACrB,OAAO,EAAE,eAAM,CAAC,MAAM;IACtB,OAAO,EAAE,eAAM,CAAC,MAAM;IACtB,MAAM,EAAE,eAAM,CAAC,GAAG;IAClB,KAAK,EAAE,eAAM,CAAC,IAAI;IAClB,KAAK,EAAE,eAAM,CAAC,IAAI;IAClB,KAAK,EAAE,eAAM,CAAC,KAAK;IAEnB,OAAO,EAAE,eAAM,CAAC,IAAI;IACpB,OAAO,EAAE,eAAM,CAAC,IAAI;IACpB,OAAO,EAAE,eAAM,CAAC,IAAI;IACpB,OAAO,EAAE,eAAM,CAAC,IAAI;IACpB,OAAO,EAAE,eAAM,CAAC,IAAI;CACrB,CAAC;AAIW,QAAA,aAAa,GAAiB;IACzC,IAAI,EAAE,eAAM,CAAC,UAAU;IACvB,IAAI,EAAE;QACJ,GAAG,EAAE,IAAI;KACV;IACD,OAAO,EAAE,uBAAe;IACxB,aAAa,EAAE,EAAE;CAClB,CAAC;AAEW,QAAA,aAAa,GAAqC;IAC7D,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACnB,CAAC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ReqorePaginationContainer = void 0;
|
|
26
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
var react_1 = require("react");
|
|
28
|
-
var Paging_1 = require("../components/Paging/index.cjs");
|
|
29
|
-
var Spacer_1 = require("../components/Spacer/index.cjs");
|
|
30
|
-
var paging_1 = require("../constants/paging.cjs");
|
|
31
|
-
var sizes_1 = require("../constants/sizes.cjs");
|
|
32
|
-
var usePaging_1 = require("../hooks/usePaging.cjs");
|
|
33
|
-
function PagingControls(_a) {
|
|
34
|
-
var withSpacer = _a.withSpacer, position = _a.position, pagingData = _a.pagingData, componentOptions = _a.componentOptions, scrollContainer = _a.scrollContainer, size = _a.size, pagingProps = __rest(_a, ["withSpacer", "position", "pagingData", "componentOptions", "scrollContainer", "size"]);
|
|
35
|
-
return pagingData.renderControls ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [withSpacer && position === 'bottom' ? ((0, jsx_runtime_1.jsx)(Spacer_1.ReqoreVerticalSpacer, { height: sizes_1.PADDING_FROM_SIZE[size] })) : null, (0, jsx_runtime_1.jsx)(Paging_1.ReqorePagination, __assign({ size: size }, pagingData, componentOptions, { scrollContainer: scrollContainer }, pagingProps), "reqore-pagination-".concat(position)), withSpacer && position === 'top' ? ((0, jsx_runtime_1.jsx)(Spacer_1.ReqoreVerticalSpacer, { height: sizes_1.PADDING_FROM_SIZE[size] })) : null] })) : null;
|
|
36
|
-
}
|
|
37
|
-
function PagingContainer(_a) {
|
|
38
|
-
var type = _a.type, items = _a.items, scrollContainer = _a.scrollContainer, children = _a.children, _b = _a.size, size = _b === void 0 ? 'normal' : _b;
|
|
39
|
-
var _c = (0, react_1.useMemo)(function () { return (0, paging_1.getPaginationOptionsFromType)(type); }, [type]), _d = _c.pagingOptions, pagingOptions = _d === void 0 ? {} : _d, _e = _c.componentOptions, componentOptions = _e === void 0 ? {} : _e, _f = _c.pageControlsPosition, pageControlsPosition = _f === void 0 ? 'bottom' : _f, _g = _c.includeTopControls, includeTopControls = _g === void 0 ? true : _g, _h = _c.includeBottomControls, includeBottomControls = _h === void 0 ? true : _h;
|
|
40
|
-
var _j = (0, usePaging_1.useReqorePaging)(__assign(__assign({ items: items }, pagingOptions), { enabled: !!type })), finalItems = _j.items, applyPaging = _j.applyPaging, pagingData = __rest(_j, ["items", "applyPaging"]);
|
|
41
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [includeTopControls && (pageControlsPosition === 'top' || pageControlsPosition === 'both') ? ((0, jsx_runtime_1.jsx)(PagingControls, { position: 'top', withSpacer: true, scrollContainer: scrollContainer, size: size, pagingData: pagingData, pagingOptions: pagingOptions, componentOptions: componentOptions, autoLoadMore: false, scrollOnLoadMore: false }, 'top-paging')) : null, children(finalItems, (0, jsx_runtime_1.jsx)(PagingControls, { scrollContainer: scrollContainer, size: size, pagingData: pagingData, pagingOptions: pagingOptions, componentOptions: componentOptions }, 'custom-paging'), {
|
|
42
|
-
pagingOptions: pagingOptions,
|
|
43
|
-
applyPaging: applyPaging,
|
|
44
|
-
componentOptions: componentOptions,
|
|
45
|
-
pageControlsPosition: pageControlsPosition,
|
|
46
|
-
includeTopControls: includeTopControls,
|
|
47
|
-
includeBottomControls: includeBottomControls,
|
|
48
|
-
}), includeBottomControls &&
|
|
49
|
-
(pageControlsPosition === 'bottom' || pageControlsPosition === 'both') ? ((0, jsx_runtime_1.jsx)(PagingControls, { position: 'bottom', withSpacer: true, scrollContainer: scrollContainer, size: size, pagingData: pagingData, pagingOptions: pagingOptions, componentOptions: componentOptions }, 'bottom-paging')) : null] }));
|
|
50
|
-
}
|
|
51
|
-
exports.ReqorePaginationContainer = (0, react_1.memo)(PagingContainer);
|
|
52
|
-
//# sourceMappingURL=Paging.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paging.cjs","sourceRoot":"","sources":["../../src/containers/Paging.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAsC;AACtC,+CAI8B;AAC9B,+CAA4D;AAC5D,8CAI6B;AAC7B,4CAA+D;AAC/D,g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