@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/paging.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,7 +10,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getPagingObjectFromType = getPagingObjectFromType;
|
|
15
|
+
exports.getPaginationOptionsFromType = getPaginationOptionsFromType;
|
|
16
|
+
function getPagingObjectFromType(type) {
|
|
13
17
|
if (typeof type === 'object') {
|
|
14
18
|
return type;
|
|
15
19
|
}
|
|
@@ -27,7 +31,7 @@ export function getPagingObjectFromType(type) {
|
|
|
27
31
|
return {};
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
function getPaginationOptionsFromType(type) {
|
|
31
35
|
if (!type)
|
|
32
36
|
return {};
|
|
33
37
|
if (typeof type === 'object') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paging.js","sourceRoot":"","sources":["../../src/constants/paging.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"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AC;IACJ,CAAC;IAED,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS;YACZ,OAAO,EAAE,CAAC;QACZ,KAAK,MAAM;YACT,OAAO;gBACL,gBAAgB,EAAE;oBAChB,WAAW,EAAE,MAAM;iBACpB;aACF,CAAC;QACJ,KAAK,UAAU,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC;QAC/C;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/dist/constants/sizes.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
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 = {
|
|
2
5
|
MICRO: 'micro',
|
|
3
6
|
TINY: 'tiny',
|
|
4
7
|
SMALL: 'small',
|
|
@@ -7,8 +10,8 @@ export var ReqoreSizes = {
|
|
|
7
10
|
HUGE: 'huge',
|
|
8
11
|
MASSIVE: 'massive',
|
|
9
12
|
};
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
exports.SIZES = ['micro', 'tiny', 'small', 'normal', 'big', 'huge', 'massive'];
|
|
14
|
+
exports.SIZE_TO_MODIFIER = {
|
|
12
15
|
micro: 0.6,
|
|
13
16
|
tiny: 0.7,
|
|
14
17
|
small: 0.9,
|
|
@@ -17,7 +20,7 @@ export var SIZE_TO_MODIFIER = {
|
|
|
17
20
|
huge: 1.2,
|
|
18
21
|
massive: 1.4,
|
|
19
22
|
};
|
|
20
|
-
|
|
23
|
+
exports.LINE_SIZE_TO_NUMBER = {
|
|
21
24
|
none: 0,
|
|
22
25
|
micro: 0.5,
|
|
23
26
|
tiny: 1,
|
|
@@ -27,7 +30,7 @@ export var LINE_SIZE_TO_NUMBER = {
|
|
|
27
30
|
huge: 3,
|
|
28
31
|
massive: 4,
|
|
29
32
|
};
|
|
30
|
-
|
|
33
|
+
exports.SIZE_TO_NUMBER = {
|
|
31
34
|
none: 0,
|
|
32
35
|
micro: 1,
|
|
33
36
|
tiny: 2,
|
|
@@ -37,7 +40,7 @@ export var SIZE_TO_NUMBER = {
|
|
|
37
40
|
huge: 6,
|
|
38
41
|
massive: 7,
|
|
39
42
|
};
|
|
40
|
-
|
|
43
|
+
exports.NUMBER_TO_SIZE = {
|
|
41
44
|
1: 'micro',
|
|
42
45
|
2: 'tiny',
|
|
43
46
|
3: 'small',
|
|
@@ -53,7 +56,7 @@ export var NUMBER_TO_SIZE = {
|
|
|
53
56
|
* needs to reason about a heading's size in px — `Panel`'s fit-to-width title, for one —
|
|
54
57
|
* is looking at the same scale the heading actually paints.
|
|
55
58
|
*/
|
|
56
|
-
|
|
59
|
+
exports.HEADER_LEVEL_TO_PX = {
|
|
57
60
|
1: 30,
|
|
58
61
|
2: 24,
|
|
59
62
|
3: 19,
|
|
@@ -61,7 +64,7 @@ export var HEADER_LEVEL_TO_PX = {
|
|
|
61
64
|
5: 11,
|
|
62
65
|
6: 8,
|
|
63
66
|
};
|
|
64
|
-
|
|
67
|
+
exports.HEADER_SIZE_TO_NUMBER = {
|
|
65
68
|
micro: 6,
|
|
66
69
|
tiny: 5,
|
|
67
70
|
small: 4,
|
|
@@ -70,7 +73,7 @@ export var HEADER_SIZE_TO_NUMBER = {
|
|
|
70
73
|
huge: 1,
|
|
71
74
|
massive: 1,
|
|
72
75
|
};
|
|
73
|
-
|
|
76
|
+
exports.SWITCH_SIZE_TO_PX = {
|
|
74
77
|
micro: 16,
|
|
75
78
|
tiny: 20,
|
|
76
79
|
small: 26,
|
|
@@ -79,7 +82,7 @@ export var SWITCH_SIZE_TO_PX = {
|
|
|
79
82
|
huge: 48,
|
|
80
83
|
massive: 56,
|
|
81
84
|
};
|
|
82
|
-
|
|
85
|
+
exports.SIZE_TO_PX = {
|
|
83
86
|
micro: 22,
|
|
84
87
|
tiny: 26,
|
|
85
88
|
small: 32,
|
|
@@ -88,7 +91,7 @@ export var SIZE_TO_PX = {
|
|
|
88
91
|
huge: 58,
|
|
89
92
|
massive: 68,
|
|
90
93
|
};
|
|
91
|
-
|
|
94
|
+
exports.TAG_SIZE_TO_PX = {
|
|
92
95
|
micro: 10,
|
|
93
96
|
tiny: 14,
|
|
94
97
|
small: 20,
|
|
@@ -97,7 +100,7 @@ export var TAG_SIZE_TO_PX = {
|
|
|
97
100
|
huge: 52,
|
|
98
101
|
massive: 62,
|
|
99
102
|
};
|
|
100
|
-
|
|
103
|
+
exports.BADGE_SIZE_TO_PX = {
|
|
101
104
|
micro: 14,
|
|
102
105
|
tiny: 17,
|
|
103
106
|
small: 20,
|
|
@@ -107,7 +110,7 @@ export var BADGE_SIZE_TO_PX = {
|
|
|
107
110
|
massive: 44,
|
|
108
111
|
};
|
|
109
112
|
/** Diameter (px) of the button corner indicator dot per size. */
|
|
110
|
-
|
|
113
|
+
exports.INDICATOR_SIZE_TO_PX = {
|
|
111
114
|
micro: 5,
|
|
112
115
|
tiny: 6,
|
|
113
116
|
small: 7,
|
|
@@ -116,7 +119,7 @@ export var INDICATOR_SIZE_TO_PX = {
|
|
|
116
119
|
huge: 12,
|
|
117
120
|
massive: 14,
|
|
118
121
|
};
|
|
119
|
-
|
|
122
|
+
exports.TABS_SIZE_TO_PX = {
|
|
120
123
|
micro: 16,
|
|
121
124
|
tiny: 20,
|
|
122
125
|
small: 30,
|
|
@@ -125,8 +128,8 @@ export var TABS_SIZE_TO_PX = {
|
|
|
125
128
|
huge: 60,
|
|
126
129
|
massive: 70,
|
|
127
130
|
};
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
exports.TABLE_SIZE_TO_PX = exports.SIZE_TO_PX;
|
|
132
|
+
exports.TABS_PADDING_TO_PX = {
|
|
130
133
|
micro: 5,
|
|
131
134
|
tiny: 5,
|
|
132
135
|
small: 5,
|
|
@@ -144,7 +147,7 @@ export var TABS_PADDING_TO_PX = {
|
|
|
144
147
|
* configurable — so an explicit `paddingSize='normal'` reproduces the old rendering
|
|
145
148
|
* exactly, and the smaller steps exist for tags used inline in prose.
|
|
146
149
|
*/
|
|
147
|
-
|
|
150
|
+
exports.TAG_VERTICAL_PADDING_FROM_SIZE = {
|
|
148
151
|
micro: 0,
|
|
149
152
|
tiny: 1,
|
|
150
153
|
small: 2,
|
|
@@ -153,7 +156,7 @@ export var TAG_VERTICAL_PADDING_FROM_SIZE = {
|
|
|
153
156
|
huge: 8,
|
|
154
157
|
massive: 10,
|
|
155
158
|
};
|
|
156
|
-
|
|
159
|
+
exports.TAG_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
157
160
|
micro: 2,
|
|
158
161
|
tiny: 3,
|
|
159
162
|
small: 5,
|
|
@@ -162,7 +165,7 @@ export var TAG_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
|
162
165
|
huge: 13,
|
|
163
166
|
massive: 17,
|
|
164
167
|
};
|
|
165
|
-
|
|
168
|
+
exports.MARGIN_FROM_SIZE = {
|
|
166
169
|
micro: 0,
|
|
167
170
|
tiny: 0,
|
|
168
171
|
small: 0,
|
|
@@ -171,7 +174,7 @@ export var MARGIN_FROM_SIZE = {
|
|
|
171
174
|
huge: 30,
|
|
172
175
|
massive: 40,
|
|
173
176
|
};
|
|
174
|
-
|
|
177
|
+
exports.TEXT_FROM_SIZE = {
|
|
175
178
|
micro: 7,
|
|
176
179
|
tiny: 9,
|
|
177
180
|
small: 12,
|
|
@@ -180,7 +183,7 @@ export var TEXT_FROM_SIZE = {
|
|
|
180
183
|
huge: 21,
|
|
181
184
|
massive: 24,
|
|
182
185
|
};
|
|
183
|
-
|
|
186
|
+
exports.CONTROL_TEXT_FROM_SIZE = {
|
|
184
187
|
micro: 7,
|
|
185
188
|
tiny: 9,
|
|
186
189
|
small: 12,
|
|
@@ -189,7 +192,7 @@ export var CONTROL_TEXT_FROM_SIZE = {
|
|
|
189
192
|
huge: 20,
|
|
190
193
|
massive: 23,
|
|
191
194
|
};
|
|
192
|
-
|
|
195
|
+
exports.TAG_TEXT_FROM_SIZE = {
|
|
193
196
|
micro: 8,
|
|
194
197
|
tiny: 10,
|
|
195
198
|
small: 13,
|
|
@@ -198,7 +201,7 @@ export var TAG_TEXT_FROM_SIZE = {
|
|
|
198
201
|
huge: 21,
|
|
199
202
|
massive: 24,
|
|
200
203
|
};
|
|
201
|
-
|
|
204
|
+
exports.TAG_ICON_FROM_SIZE = {
|
|
202
205
|
micro: 10,
|
|
203
206
|
tiny: 12,
|
|
204
207
|
small: 14,
|
|
@@ -207,7 +210,7 @@ export var TAG_ICON_FROM_SIZE = {
|
|
|
207
210
|
huge: 22,
|
|
208
211
|
massive: 25,
|
|
209
212
|
};
|
|
210
|
-
|
|
213
|
+
exports.ICON_FROM_SIZE = {
|
|
211
214
|
micro: 10,
|
|
212
215
|
tiny: 13,
|
|
213
216
|
small: 17,
|
|
@@ -216,7 +219,7 @@ export var ICON_FROM_SIZE = {
|
|
|
216
219
|
huge: 33,
|
|
217
220
|
massive: 40,
|
|
218
221
|
};
|
|
219
|
-
|
|
222
|
+
exports.HALF_PADDING_FROM_SIZE = {
|
|
220
223
|
micro: 1.5,
|
|
221
224
|
tiny: 2,
|
|
222
225
|
small: 3,
|
|
@@ -225,7 +228,7 @@ export var HALF_PADDING_FROM_SIZE = {
|
|
|
225
228
|
huge: 7,
|
|
226
229
|
massive: 8.5,
|
|
227
230
|
};
|
|
228
|
-
|
|
231
|
+
exports.PADDING_FROM_SIZE = {
|
|
229
232
|
micro: 3,
|
|
230
233
|
tiny: 4,
|
|
231
234
|
small: 6,
|
|
@@ -234,7 +237,7 @@ export var PADDING_FROM_SIZE = {
|
|
|
234
237
|
huge: 14,
|
|
235
238
|
massive: 17,
|
|
236
239
|
};
|
|
237
|
-
|
|
240
|
+
exports.SPECIAL_PADDING_FROM_SIZE = {
|
|
238
241
|
micro: 3,
|
|
239
242
|
tiny: 4,
|
|
240
243
|
small: 6,
|
|
@@ -243,7 +246,7 @@ export var SPECIAL_PADDING_FROM_SIZE = {
|
|
|
243
246
|
huge: 28,
|
|
244
247
|
massive: 40,
|
|
245
248
|
};
|
|
246
|
-
|
|
249
|
+
exports.TEXTAREA_PADDING_FROM_SIZE = {
|
|
247
250
|
micro: 1.5,
|
|
248
251
|
tiny: 2,
|
|
249
252
|
small: 5.5,
|
|
@@ -252,7 +255,7 @@ export var TEXTAREA_PADDING_FROM_SIZE = {
|
|
|
252
255
|
huge: 12,
|
|
253
256
|
massive: 15,
|
|
254
257
|
};
|
|
255
|
-
|
|
258
|
+
exports.CONTROL_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
256
259
|
micro: 7,
|
|
257
260
|
tiny: 9,
|
|
258
261
|
small: 12,
|
|
@@ -261,7 +264,7 @@ export var CONTROL_HORIZONTAL_PADDING_FROM_SIZE = {
|
|
|
261
264
|
huge: 21,
|
|
262
265
|
massive: 25,
|
|
263
266
|
};
|
|
264
|
-
|
|
267
|
+
exports.CONTROL_VERTICAL_PADDING_FROM_SIZE = {
|
|
265
268
|
micro: 4,
|
|
266
269
|
tiny: 5,
|
|
267
270
|
small: 6,
|
|
@@ -270,7 +273,7 @@ export var CONTROL_VERTICAL_PADDING_FROM_SIZE = {
|
|
|
270
273
|
huge: 14,
|
|
271
274
|
massive: 17,
|
|
272
275
|
};
|
|
273
|
-
|
|
276
|
+
exports.CONTROL_VERTICAL_PADDING_MODIFIER_FROM_SIZE = {
|
|
274
277
|
micro: -5,
|
|
275
278
|
tiny: -4,
|
|
276
279
|
small: -2,
|
|
@@ -279,7 +282,7 @@ export var CONTROL_VERTICAL_PADDING_MODIFIER_FROM_SIZE = {
|
|
|
279
282
|
huge: 6,
|
|
280
283
|
massive: 9,
|
|
281
284
|
};
|
|
282
|
-
|
|
285
|
+
exports.RADIUS_FROM_SIZE = {
|
|
283
286
|
micro: 3,
|
|
284
287
|
tiny: 4,
|
|
285
288
|
small: 4,
|
|
@@ -294,7 +297,7 @@ export var RADIUS_FROM_SIZE = {
|
|
|
294
297
|
* pronounced corner curve (marketing surfaces, hero cards, …) without
|
|
295
298
|
* changing the default look of every Reqore component.
|
|
296
299
|
*/
|
|
297
|
-
|
|
300
|
+
exports.RADIUS_FROM_RADIUS_SIZE = {
|
|
298
301
|
micro: 3,
|
|
299
302
|
tiny: 5,
|
|
300
303
|
small: 8,
|
|
@@ -312,12 +315,13 @@ export var RADIUS_FROM_RADIUS_SIZE = {
|
|
|
312
315
|
* Tag/Badge ship their own scales (`TAG_RADIUS_FROM_*`, `BADGE_RADIUS_FROM_*`)
|
|
313
316
|
* and pass those in instead.
|
|
314
317
|
*/
|
|
315
|
-
|
|
316
|
-
if (sizeScale === void 0) { sizeScale = RADIUS_FROM_SIZE; }
|
|
317
|
-
if (radiusScale === void 0) { radiusScale = RADIUS_FROM_RADIUS_SIZE; }
|
|
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; }
|
|
318
321
|
return (radiusSize ? radiusScale[radiusSize] : sizeScale[size]);
|
|
319
322
|
};
|
|
320
|
-
|
|
323
|
+
exports.resolveRadius = resolveRadius;
|
|
324
|
+
exports.TAG_RADIUS_FROM_SIZE = {
|
|
321
325
|
micro: 1,
|
|
322
326
|
tiny: 2,
|
|
323
327
|
small: 3,
|
|
@@ -327,7 +331,7 @@ export var TAG_RADIUS_FROM_SIZE = {
|
|
|
327
331
|
massive: 11,
|
|
328
332
|
};
|
|
329
333
|
/** More pronounced radius for `radiusSize`-driven tag corners. */
|
|
330
|
-
|
|
334
|
+
exports.TAG_RADIUS_FROM_RADIUS_SIZE = {
|
|
331
335
|
micro: 2,
|
|
332
336
|
tiny: 4,
|
|
333
337
|
small: 6,
|
|
@@ -336,7 +340,7 @@ export var TAG_RADIUS_FROM_RADIUS_SIZE = {
|
|
|
336
340
|
huge: 20,
|
|
337
341
|
massive: 28,
|
|
338
342
|
};
|
|
339
|
-
|
|
343
|
+
exports.BADGE_RADIUS_FROM_SIZE = {
|
|
340
344
|
micro: 5,
|
|
341
345
|
tiny: 6,
|
|
342
346
|
small: 7,
|
|
@@ -346,7 +350,7 @@ export var BADGE_RADIUS_FROM_SIZE = {
|
|
|
346
350
|
massive: 15,
|
|
347
351
|
};
|
|
348
352
|
/** More pronounced radius for `radiusSize`-driven badge corners. */
|
|
349
|
-
|
|
353
|
+
exports.BADGE_RADIUS_FROM_RADIUS_SIZE = {
|
|
350
354
|
micro: 6,
|
|
351
355
|
tiny: 8,
|
|
352
356
|
small: 12,
|
|
@@ -359,7 +363,7 @@ export var BADGE_RADIUS_FROM_RADIUS_SIZE = {
|
|
|
359
363
|
* Chat bubbles carry a far rounder corner than a general surface — the curve is
|
|
360
364
|
* what reads as "speech" rather than "panel", so they get their own scale.
|
|
361
365
|
*/
|
|
362
|
-
|
|
366
|
+
exports.BUBBLE_RADIUS_FROM_SIZE = {
|
|
363
367
|
micro: 9,
|
|
364
368
|
tiny: 12,
|
|
365
369
|
small: 12,
|
|
@@ -369,7 +373,7 @@ export var BUBBLE_RADIUS_FROM_SIZE = {
|
|
|
369
373
|
massive: 30,
|
|
370
374
|
};
|
|
371
375
|
/** More pronounced radius for `radiusSize`-driven bubble corners. */
|
|
372
|
-
|
|
376
|
+
exports.BUBBLE_RADIUS_FROM_RADIUS_SIZE = {
|
|
373
377
|
micro: 14,
|
|
374
378
|
tiny: 20,
|
|
375
379
|
small: 24,
|
|
@@ -382,7 +386,7 @@ export var BUBBLE_RADIUS_FROM_RADIUS_SIZE = {
|
|
|
382
386
|
* The bubble's avatar tile — squarer than the bubble it sits beside, so it reads
|
|
383
387
|
* as a distinct object rather than a second bubble.
|
|
384
388
|
*/
|
|
385
|
-
|
|
389
|
+
exports.BUBBLE_AVATAR_RADIUS_FROM_SIZE = {
|
|
386
390
|
micro: 5,
|
|
387
391
|
tiny: 6,
|
|
388
392
|
small: 6,
|
|
@@ -391,7 +395,7 @@ export var BUBBLE_AVATAR_RADIUS_FROM_SIZE = {
|
|
|
391
395
|
huge: 13,
|
|
392
396
|
massive: 16,
|
|
393
397
|
};
|
|
394
|
-
|
|
398
|
+
exports.GAP_FROM_SIZE = {
|
|
395
399
|
micro: 0.5,
|
|
396
400
|
tiny: 1,
|
|
397
401
|
small: 3,
|
|
@@ -400,7 +404,7 @@ export var GAP_FROM_SIZE = {
|
|
|
400
404
|
huge: 30,
|
|
401
405
|
massive: 42,
|
|
402
406
|
};
|
|
403
|
-
|
|
407
|
+
exports.RATING_GAP_FROM_SIZE = {
|
|
404
408
|
micro: 0.5,
|
|
405
409
|
tiny: 1,
|
|
406
410
|
small: 3,
|
|
@@ -412,7 +416,7 @@ export var RATING_GAP_FROM_SIZE = {
|
|
|
412
416
|
/** Accent-strip thickness (Callout + Panel `accentSize`) in px. `normal` IS the default:
|
|
413
417
|
* `resolveAccentSize` falls back to it, so neither component declares a numeric default of
|
|
414
418
|
* its own and the string and number forms cannot drift apart. */
|
|
415
|
-
|
|
419
|
+
exports.ACCENT_SIZE_TO_PX = {
|
|
416
420
|
micro: 2,
|
|
417
421
|
tiny: 3,
|
|
418
422
|
small: 4,
|
|
@@ -421,7 +425,7 @@ export var ACCENT_SIZE_TO_PX = {
|
|
|
421
425
|
huge: 9,
|
|
422
426
|
massive: 12,
|
|
423
427
|
};
|
|
424
|
-
|
|
428
|
+
exports.ICON_FROM_HEADER_SIZE = {
|
|
425
429
|
1: 23,
|
|
426
430
|
2: 20,
|
|
427
431
|
3: 17,
|
|
@@ -429,7 +433,7 @@ export var ICON_FROM_HEADER_SIZE = {
|
|
|
429
433
|
5: 11,
|
|
430
434
|
6: 8,
|
|
431
435
|
};
|
|
432
|
-
|
|
436
|
+
exports.ICON_WRAPPER_FROM_HEADER_SIZE = {
|
|
433
437
|
massive: 38,
|
|
434
438
|
huge: 34,
|
|
435
439
|
big: 26,
|
|
@@ -438,15 +442,15 @@ export var ICON_WRAPPER_FROM_HEADER_SIZE = {
|
|
|
438
442
|
tiny: 15,
|
|
439
443
|
micro: 13,
|
|
440
444
|
};
|
|
441
|
-
|
|
445
|
+
exports.WEIGHT_TO_NUMBER = {
|
|
442
446
|
thin: 100,
|
|
443
447
|
light: 250,
|
|
444
448
|
normal: 400,
|
|
445
449
|
bold: 500,
|
|
446
450
|
thick: 600,
|
|
447
451
|
};
|
|
448
|
-
|
|
449
|
-
|
|
452
|
+
exports.PILL_RADIUS_MODIFIER = 3.5;
|
|
453
|
+
exports.PROGRESS_HEIGHT_FROM_SIZE = {
|
|
450
454
|
micro: 2,
|
|
451
455
|
tiny: 3,
|
|
452
456
|
small: 4,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.js","sourceRoot":"","sources":["../../src/constants/sizes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sizes.js","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;I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K,EAAE,EAAE;CACV,CAAC;AAEW,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,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.js
CHANGED
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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");
|
|
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,
|
|
16
19
|
};
|
|
17
|
-
|
|
18
|
-
main: Colors.DARK_THEME,
|
|
20
|
+
exports.DEFAULT_THEME = {
|
|
21
|
+
main: colors_1.Colors.DARK_THEME,
|
|
19
22
|
text: {
|
|
20
23
|
dim: true,
|
|
21
24
|
},
|
|
22
|
-
intents: DEFAULT_INTENTS,
|
|
25
|
+
intents: exports.DEFAULT_INTENTS,
|
|
23
26
|
notifications: {},
|
|
24
27
|
};
|
|
25
|
-
|
|
28
|
+
exports.ReqoreIntents = {
|
|
26
29
|
INFO: 'info',
|
|
27
30
|
SUCCESS: 'success',
|
|
28
31
|
PENDING: 'pending',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/constants/theme.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"theme.js","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,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
|
2
3
|
__assign = Object.assign || function(t) {
|
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -20,22 +21,24 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
21
|
}
|
|
21
22
|
return t;
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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");
|
|
29
|
+
var Spacer_1 = require("../components/Spacer");
|
|
30
|
+
var paging_1 = require("../constants/paging");
|
|
31
|
+
var sizes_1 = require("../constants/sizes");
|
|
32
|
+
var usePaging_1 = require("../hooks/usePaging");
|
|
30
33
|
function PagingControls(_a) {
|
|
31
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"]);
|
|
32
|
-
return pagingData.renderControls ? (
|
|
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;
|
|
33
36
|
}
|
|
34
37
|
function PagingContainer(_a) {
|
|
35
38
|
var type = _a.type, items = _a.items, scrollContainer = _a.scrollContainer, children = _a.children, _b = _a.size, size = _b === void 0 ? 'normal' : _b;
|
|
36
|
-
var _c = useMemo(function () { return 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;
|
|
37
|
-
var _j = useReqorePaging(__assign(__assign({ items: items }, pagingOptions), { enabled: !!type })), finalItems = _j.items, applyPaging = _j.applyPaging, pagingData = __rest(_j, ["items", "applyPaging"]);
|
|
38
|
-
return (
|
|
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'), {
|
|
39
42
|
pagingOptions: pagingOptions,
|
|
40
43
|
applyPaging: applyPaging,
|
|
41
44
|
componentOptions: componentOptions,
|
|
@@ -43,7 +46,7 @@ function PagingContainer(_a) {
|
|
|
43
46
|
includeTopControls: includeTopControls,
|
|
44
47
|
includeBottomControls: includeBottomControls,
|
|
45
48
|
}), includeBottomControls &&
|
|
46
|
-
(pageControlsPosition === 'bottom' || pageControlsPosition === 'both') ? (
|
|
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] }));
|
|
47
50
|
}
|
|
48
|
-
|
|
51
|
+
exports.ReqorePaginationContainer = (0, react_1.memo)(PagingContainer);
|
|
49
52
|
//# sourceMappingURL=Paging.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paging.js","sourceRoot":"","sources":["../../src/containers/Paging.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Paging.js","sourceRoot":"","sources":["../../src/containers/Paging.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAsC;AACtC,+CAI8B;AAC9B,+CAA4D;AAC5D,8CAI6B;AAC7B,4CAA+D;AAC/D,gDAA0E;AAc1E,SAAS,cAAc,CAAI,EAaxB;IAZD,IAAA,UAAU,gBAAA,EACV,QAAQ,cAAA,EACR,UAAU,gBAAA,EACV,gBAAgB,sBAAA,EAChB,eAAe,qBAAA,EACf,IAAI,UAAA,EACD,WAAW,cAPW,uFAQ1B,CADe;IAOd,OAAO,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CACjC,6DACG,UAAU,IAAI,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CACrC,uBAAC,6BAAoB,IAAC,MAAM,EAAE,yBAAiB,CAAC,IAAI,CAAC,GAAI,CAC1D,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,yBAAgB,aAEf,IAAI,EAAE,IAAI,IACN,UAAU,EACV,gBAAgB,IACpB,eAAe,EAAE,eAAe,IAC5B,WAAW,GALV,4BAAqB,QAAQ,CAAE,CAMpC,EACD,UAAU,IAAI,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,CAClC,uBAAC,6BAAoB,IAAC,MAAM,EAAE,yBAAiB,CAAC,IAAI,CAAC,GAAI,CAC1D,CAAC,CAAC,CAAC,IAAI,IACP,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,eAAe,CAAI,EAMK;QAL/B,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,eAAe,qBAAA,EACf,QAAQ,cAAA,EACR,YAAe,EAAf,IAAI,mBAAG,QAAQ,KAAA;IAET,IAAA,KAMF,IAAA,eAAO,EAAC,cAAM,OAAA,IAAA,qCAA4B,EAAC,IAAI,CAAC,EAAlC,CAAkC,EA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