@qoretechnologies/reqore 0.78.5-pr.708.gbe112f0 → 0.78.6-pr.715.gdfefa70
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/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +11 -15
- package/dist/components/Accordion/index.js.map +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +6 -7
- package/dist/components/Breadcrumbs/index.js.map +1 -1
- package/dist/components/Breadcrumbs/item.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/item.js +2 -6
- package/dist/components/Breadcrumbs/item.js.map +1 -1
- package/dist/components/Bubble/index.d.ts.map +1 -1
- package/dist/components/Bubble/index.js +39 -7
- package/dist/components/Bubble/index.js.map +1 -1
- package/dist/components/Button/index.d.ts +0 -8
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +12 -75
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/ButtonRail/index.d.ts.map +1 -1
- package/dist/components/ButtonRail/index.js +2 -3
- package/dist/components/ButtonRail/index.js.map +1 -1
- package/dist/components/Callout/index.d.ts +3 -4
- package/dist/components/Callout/index.d.ts.map +1 -1
- package/dist/components/Callout/index.js +8 -39
- package/dist/components/Callout/index.js.map +1 -1
- package/dist/components/Checkbox/index.js +8 -8
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Collapse/index.d.ts.map +1 -1
- package/dist/components/Collapse/index.js +36 -7
- package/dist/components/Collapse/index.js.map +1 -1
- package/dist/components/CollapsibleContent/index.d.ts.map +1 -1
- package/dist/components/CollapsibleContent/index.js +37 -5
- package/dist/components/CollapsibleContent/index.js.map +1 -1
- package/dist/components/Collection/index.js +3 -3
- package/dist/components/Collection/index.js.map +1 -1
- package/dist/components/Collection/item.d.ts.map +1 -1
- package/dist/components/Collection/item.js +4 -4
- package/dist/components/Collection/item.js.map +1 -1
- package/dist/components/Columns/column.d.ts.map +1 -1
- package/dist/components/Columns/column.js +35 -6
- package/dist/components/Columns/column.js.map +1 -1
- package/dist/components/Columns/index.d.ts.map +1 -1
- package/dist/components/Columns/index.js +35 -3
- package/dist/components/Columns/index.js.map +1 -1
- package/dist/components/Comment/index.js +8 -8
- package/dist/components/Comment/index.js.map +1 -1
- package/dist/components/CommentFeed/index.js +2 -2
- package/dist/components/CommentFeed/index.js.map +1 -1
- package/dist/components/Content/index.d.ts.map +1 -1
- package/dist/components/Content/index.js +35 -3
- package/dist/components/Content/index.js.map +1 -1
- package/dist/components/Content/wrapper.js +2 -2
- package/dist/components/Content/wrapper.js.map +1 -1
- package/dist/components/ControlGroup/index.js +3 -3
- package/dist/components/ControlGroup/index.js.map +1 -1
- package/dist/components/ControlGroup/item.d.ts.map +1 -1
- package/dist/components/ControlGroup/item.js +6 -35
- package/dist/components/ControlGroup/item.js.map +1 -1
- package/dist/components/DataView/index.d.ts.map +1 -1
- package/dist/components/DataView/index.js +49 -17
- package/dist/components/DataView/index.js.map +1 -1
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +8 -40
- package/dist/components/DatePicker/index.js.map +1 -1
- package/dist/components/DescriptionList/index.d.ts.map +1 -1
- package/dist/components/DescriptionList/index.js +39 -7
- package/dist/components/DescriptionList/index.js.map +1 -1
- package/dist/components/Drawer/backdrop.d.ts.map +1 -1
- package/dist/components/Drawer/backdrop.js +6 -35
- package/dist/components/Drawer/backdrop.js.map +1 -1
- package/dist/components/Drawer/index.d.ts +172 -0
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +296 -18
- package/dist/components/Drawer/index.js.map +1 -1
- package/dist/components/Effect/index.d.ts +6 -0
- package/dist/components/Effect/index.d.ts.map +1 -1
- package/dist/components/Effect/index.js +26 -27
- package/dist/components/Effect/index.js.map +1 -1
- package/dist/components/EntityRow/index.d.ts +1 -7
- package/dist/components/EntityRow/index.d.ts.map +1 -1
- package/dist/components/EntityRow/index.js +11 -32
- package/dist/components/EntityRow/index.js.map +1 -1
- package/dist/components/FadeScroller/index.d.ts.map +1 -1
- package/dist/components/FadeScroller/index.js +106 -26
- package/dist/components/FadeScroller/index.js.map +1 -1
- package/dist/components/FeatureCard/index.d.ts +1 -7
- package/dist/components/FeatureCard/index.d.ts.map +1 -1
- package/dist/components/FeatureCard/index.js +8 -30
- package/dist/components/FeatureCard/index.js.map +1 -1
- package/dist/components/Header/index.js +2 -2
- package/dist/components/Header/index.js.map +1 -1
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +16 -26
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/IconPicker/index.js +2 -2
- package/dist/components/IconPicker/index.js.map +1 -1
- package/dist/components/Input/index.js +6 -6
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/InputClearButton/index.d.ts.map +1 -1
- package/dist/components/InputClearButton/index.js +3 -35
- package/dist/components/InputClearButton/index.js.map +1 -1
- package/dist/components/InternalPopover/index.d.ts.map +1 -1
- package/dist/components/InternalPopover/index.js +4 -5
- package/dist/components/InternalPopover/index.js.map +1 -1
- package/dist/components/KeyboardShortcut/index.js +3 -3
- package/dist/components/KeyboardShortcut/index.js.map +1 -1
- package/dist/components/Layout/content.js +2 -2
- package/dist/components/Layout/content.js.map +1 -1
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +35 -3
- package/dist/components/Layout/index.js.map +1 -1
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +38 -6
- package/dist/components/Link/index.js.map +1 -1
- package/dist/components/Menu/divider.js +3 -3
- package/dist/components/Menu/divider.js.map +1 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +4 -4
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Menu/item.d.ts.map +1 -1
- package/dist/components/Menu/item.js +0 -27
- package/dist/components/Menu/item.js.map +1 -1
- package/dist/components/Modal/index.d.ts +12 -2
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/NavRail/index.js +6 -6
- package/dist/components/NavRail/index.js.map +1 -1
- package/dist/components/Navbar/divider.d.ts.map +1 -1
- package/dist/components/Navbar/divider.js +6 -35
- package/dist/components/Navbar/divider.js.map +1 -1
- package/dist/components/Navbar/group.js +3 -3
- package/dist/components/Navbar/group.js.map +1 -1
- package/dist/components/Navbar/index.js +3 -3
- package/dist/components/Navbar/index.js.map +1 -1
- package/dist/components/Navbar/item.js +3 -3
- package/dist/components/Navbar/item.js.map +1 -1
- package/dist/components/Notifications/index.d.ts.map +1 -1
- package/dist/components/Notifications/index.js +35 -6
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/Notifications/notification.d.ts +11 -1
- package/dist/components/Notifications/notification.d.ts.map +1 -1
- package/dist/components/Notifications/notification.js +130 -21
- package/dist/components/Notifications/notification.js.map +1 -1
- package/dist/components/Notifications/styles.js +8 -8
- package/dist/components/Notifications/styles.js.map +1 -1
- package/dist/components/Paging/index.js +2 -2
- package/dist/components/Paging/index.js.map +1 -1
- package/dist/components/Panel/index.d.ts +0 -12
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/index.js +63 -197
- package/dist/components/Panel/index.js.map +1 -1
- package/dist/components/Paragraph/index.d.ts +0 -6
- package/dist/components/Paragraph/index.d.ts.map +1 -1
- package/dist/components/Paragraph/index.js +8 -57
- package/dist/components/Paragraph/index.js.map +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +7 -36
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +42 -10
- package/dist/components/Progress/index.js.map +1 -1
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Rating/index.js +36 -4
- 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 +5 -16
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/SegmentedControl/index.d.ts.map +1 -1
- package/dist/components/SegmentedControl/index.js +37 -5
- package/dist/components/SegmentedControl/index.js.map +1 -1
- package/dist/components/Select/valuePreview.js +2 -2
- package/dist/components/Select/valuePreview.js.map +1 -1
- package/dist/components/SeverityRow/index.d.ts +1 -7
- package/dist/components/SeverityRow/index.d.ts.map +1 -1
- package/dist/components/SeverityRow/index.js +10 -31
- package/dist/components/SeverityRow/index.js.map +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +35 -6
- package/dist/components/Skeleton/index.js.map +1 -1
- package/dist/components/Slider/index.js +9 -9
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Spacer/index.js +7 -7
- package/dist/components/Spacer/index.js.map +1 -1
- package/dist/components/Span/index.d.ts.map +1 -1
- package/dist/components/Span/index.js +6 -35
- package/dist/components/Span/index.js.map +1 -1
- package/dist/components/StackedBar/index.d.ts.map +1 -1
- package/dist/components/StackedBar/index.js +38 -9
- package/dist/components/StackedBar/index.js.map +1 -1
- package/dist/components/Statistic/index.d.ts +8 -0
- package/dist/components/Statistic/index.d.ts.map +1 -1
- package/dist/components/Statistic/index.js +41 -9
- 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 +38 -6
- 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 +14 -7
- package/dist/components/Table/cell.js.map +1 -1
- package/dist/components/Table/header.d.ts.map +1 -1
- package/dist/components/Table/header.js +10 -13
- package/dist/components/Table/header.js.map +1 -1
- package/dist/components/Table/headerCell.d.ts.map +1 -1
- package/dist/components/Table/headerCell.js +38 -8
- package/dist/components/Table/headerCell.js.map +1 -1
- package/dist/components/Table/index.d.ts +1 -12
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +49 -34
- package/dist/components/Table/index.js.map +1 -1
- package/dist/components/Table/row.js +5 -5
- package/dist/components/Table/row.js.map +1 -1
- package/dist/components/Table/scrollbar.js +3 -3
- package/dist/components/Table/scrollbar.js.map +1 -1
- package/dist/components/Tabs/content.js +2 -2
- package/dist/components/Tabs/content.js.map +1 -1
- package/dist/components/Tabs/index.js +3 -3
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/item.d.ts.map +1 -1
- package/dist/components/Tabs/item.js +4 -6
- package/dist/components/Tabs/item.js.map +1 -1
- package/dist/components/Tabs/list.js +3 -3
- package/dist/components/Tabs/list.js.map +1 -1
- package/dist/components/Tag/group.d.ts.map +1 -1
- package/dist/components/Tag/group.js +35 -3
- package/dist/components/Tag/group.js.map +1 -1
- package/dist/components/Tag/index.d.ts +0 -7
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +16 -79
- package/dist/components/Tag/index.js.map +1 -1
- package/dist/components/Testimonial/index.d.ts +1 -6
- package/dist/components/Testimonial/index.d.ts.map +1 -1
- package/dist/components/Testimonial/index.js +7 -28
- package/dist/components/Testimonial/index.js.map +1 -1
- package/dist/components/Textarea/index.d.ts +0 -10
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +14 -99
- package/dist/components/Textarea/index.js.map +1 -1
- package/dist/components/Tier/group.d.ts +5 -4
- package/dist/components/Tier/group.d.ts.map +1 -1
- package/dist/components/Tier/group.js +51 -131
- package/dist/components/Tier/group.js.map +1 -1
- package/dist/components/Tier/index.d.ts +0 -5
- package/dist/components/Tier/index.d.ts.map +1 -1
- package/dist/components/Tier/index.js +10 -14
- package/dist/components/Tier/index.js.map +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/index.js +12 -13
- package/dist/components/Timeline/index.js.map +1 -1
- package/dist/components/TooltipComponent/index.d.ts.map +1 -1
- package/dist/components/TooltipComponent/index.js +7 -6
- package/dist/components/TooltipComponent/index.js.map +1 -1
- package/dist/components/Tree/index.js +3 -3
- package/dist/components/Tree/index.js.map +1 -1
- package/dist/constants/theme.d.ts +21 -0
- package/dist/constants/theme.d.ts.map +1 -1
- package/dist/constants/theme.js.map +1 -1
- package/dist/containers/ReqoreProvider.d.ts.map +1 -1
- package/dist/containers/ReqoreProvider.js +6 -8
- package/dist/containers/ReqoreProvider.js.map +1 -1
- package/dist/containers/UIProvider.d.ts.map +1 -1
- package/dist/containers/UIProvider.js +35 -3
- package/dist/containers/UIProvider.js.map +1 -1
- package/dist/helpers/colors.d.ts +11 -1
- package/dist/helpers/colors.d.ts.map +1 -1
- package/dist/helpers/colors.js +18 -1
- package/dist/helpers/colors.js.map +1 -1
- package/dist/helpers/gestures.d.ts +30 -0
- package/dist/helpers/gestures.d.ts.map +1 -0
- package/dist/helpers/gestures.js +36 -0
- package/dist/helpers/gestures.js.map +1 -0
- package/dist/helpers/styled.d.ts +26 -39
- package/dist/helpers/styled.d.ts.map +1 -1
- package/dist/helpers/styled.js +4 -156
- package/dist/helpers/styled.js.map +1 -1
- package/dist/hooks/usePointerDrag.d.ts +77 -0
- package/dist/hooks/usePointerDrag.d.ts.map +1 -0
- package/dist/hooks/usePointerDrag.js +192 -0
- package/dist/hooks/usePointerDrag.js.map +1 -0
- package/dist/hooks/useReqoreMedia.d.ts +24 -0
- package/dist/hooks/useReqoreMedia.d.ts.map +1 -0
- package/dist/hooks/useReqoreMedia.js +32 -0
- package/dist/hooks/useReqoreMedia.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.js +6 -6
- package/dist/styles.js.map +1 -1
- package/package.json +1 -1
- package/dist/hooks/useDragToScroll.d.ts +0 -55
- package/dist/hooks/useDragToScroll.d.ts.map +0 -1
- package/dist/hooks/useDragToScroll.js +0 -259
- package/dist/hooks/useDragToScroll.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export * from './components/DatePicker';
|
|
|
24
24
|
export { ReqoreDescriptionList } from './components/DescriptionList';
|
|
25
25
|
export { ReqoreDrawer } from './components/Drawer';
|
|
26
26
|
export { DRAWER_MIN_SIZE, MODAL_MIN_HEIGHT, MODAL_MIN_WIDTH, } from './components/Drawer';
|
|
27
|
+
export { DRAWER_RESPONSIVE_LAYOUT_DEFAULTS, DRAWER_SHEET_BREAKPOINT, drawerSheetBreakpointPx, resolveDrawerResponsiveLayout, } from './components/Drawer';
|
|
28
|
+
export type { IReqoreDrawerResolvedResponsiveLayout, IReqoreDrawerResponsiveLayout, IReqoreDrawerResponsiveViewport, TReqoreDrawerResponsiveBreakpoint, } from './components/Drawer';
|
|
27
29
|
export { ReqoreBackdrop } from './components/Drawer/backdrop';
|
|
28
30
|
export { default as ReqoreDropdown } from './components/Dropdown';
|
|
29
31
|
export { default as ReqoreEntityRow } from './components/EntityRow';
|
|
@@ -42,6 +44,8 @@ export { default as ReqoreKeyboardShortcut, ReqoreKeyboardShortcut as ReqoreKeyb
|
|
|
42
44
|
export type { IReqoreKeyboardShortcutProps } from './components/KeyboardShortcut';
|
|
43
45
|
export { formatShortcut, formatShortcutCombo, isMacOS, shortcutHasModifier, } from './helpers/shortcuts';
|
|
44
46
|
export type { TReqoreKeyboardShortcut } from './helpers/shortcuts';
|
|
47
|
+
export { getSwipeStep, SWIPE } from './helpers/gestures';
|
|
48
|
+
export type { ISwipeThresholds } from './helpers/gestures';
|
|
45
49
|
export { ReqoreKeyValueTable } from './components/KeyValueTable';
|
|
46
50
|
export * from './components/Label';
|
|
47
51
|
export { default as ReqoreLayoutContent } from './components/Layout/content';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA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AO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -17,9 +17,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
20
|
+
exports.ReqoreDropdownItem = exports.ReqoreDropdownDivider = exports.ReqoreEntityRow = exports.ReqoreDropdown = exports.ReqoreBackdrop = exports.resolveDrawerResponsiveLayout = exports.drawerSheetBreakpointPx = exports.DRAWER_SHEET_BREAKPOINT = exports.DRAWER_RESPONSIVE_LAYOUT_DEFAULTS = exports.MODAL_MIN_WIDTH = exports.MODAL_MIN_HEIGHT = exports.DRAWER_MIN_SIZE = exports.ReqoreDrawer = exports.ReqoreDescriptionList = exports.reqoreUnwrapEnvelope = exports.reqoreSetAtPath = exports.reqoreRenameKeyAtPath = exports.reqoreIsRecord = exports.reqoreIsEnvelope = exports.reqoreHasStructuredValue = exports.reqoreFormatScalar = exports.reqoreEnvelopeType = exports.reqoreDeleteAtPath = exports.reqoreCoerceValueToKind = exports.reqoreDataValueKind = exports.reqoreDataValueIntent = exports.ReqoreDataView = exports.ReqoreDataViewDefaultEnvelope = exports.ReqoreControlGroupItem = exports.ReqoreControlGroup = exports.ReqoreContent = exports.ReqoreCommentFeed = exports.ReqoreComment = exports.ReqoreColumn = exports.ReqoreColumns = exports.ReqoreCollection = exports.ReqoreCollapsibleContent = exports.reqoreCollapseTransition = exports.ReqoreCollapse = exports.REQORE_COLLAPSE_EASING = exports.REQORE_COLLAPSE_DURATION_MS = exports.ReqoreCheckbox = exports.ReqoreCallout = exports.ReqoreButtonRail = exports.ReqoreButton = exports.ReqoreBubbleGroup = exports.ReqoreBubble = exports.ReqoreBreadcrumbsItem = exports.ReqoreBreadcrumbs = exports.ReqoreAccordion = void 0;
|
|
21
|
+
exports.ReqoreProgress = exports.ReqorePopover = exports.ReqoreParagraph = exports.ReqoreP = exports.ReqorePanelSkeleton = exports.ReqorePanel = exports.ReqorePagination = exports.ReqoreNotification = exports.ReqoreNotificationsWrapper = exports.ReqoreNavbarItem = exports.ReqoreNavbarGroup = exports.ReqoreNavbarDivider = exports.ReqoreHeader = exports.ReqoreFooter = exports.ReqoreNavRail = exports.ReqoreMultiSelect = exports.ReqoreModal = exports.ReqoreMessage = exports.ReqoreMenuSection = exports.ReqoreMenuItem = exports.ReqoreMenuDivider = exports.ReqoreMenu = exports.ReqoreLink = exports.ReqoreLayoutContent = exports.ReqoreKeyValueTable = exports.SWIPE = exports.getSwipeStep = exports.shortcutHasModifier = exports.isMacOS = exports.formatShortcutCombo = exports.formatShortcut = exports.ReqoreKeyboardShortcutComponent = exports.ReqoreKeyboardShortcut = exports.ReqoreInput = exports.ReqoreIconPicker = exports.ReqoreIcon = exports.ReqoreHeading = exports.ReqoreH6 = exports.ReqoreH5 = exports.ReqoreH4 = exports.ReqoreH3 = exports.ReqoreH2 = exports.ReqoreH1 = exports.ReqoreModalsWrapper = exports.ReqoreFeatureCard = exports.ReqoreFadeScroller = exports.ReqoreErrorBoundary = exports.ReqoreEmptyState = exports.ReqoreTextEffect = exports.ReqoreEffect = void 0;
|
|
22
|
+
exports.REQORE_MARQUEE_OPT_OUT = exports.useReqoreProperty = exports.useReqore = exports.useReqorePaging = exports.useLatestZIndex = exports.useCloneThroughFragments = exports.ReqoreThemeContext = exports.ReqoreContext = exports.ReqoreUIProvider = exports.modalStore = exports.ReqoreNotifications = exports.ReqorePaginationContainer = exports.ReqoreIntents = exports.ReqoreSizes = exports.ReqoreFonts = exports.ReqoreColors = exports.ReqoreTree = exports.ReqoreTimeline = exports.ReqoreTimeAgo = exports.ReqoreTierGroup = exports.ReqoreTier = exports.ReqoreTextarea = exports.ReqoreTestimonial = exports.ReqoreTagGroup = exports.ReqoreTag = exports.DEFAULT_TABS_OVERFLOW_MENU_MAX_HEIGHT = exports.ReqoreTabsList = exports.ReqoreTabsListItem = exports.ReqoreTabsContent = exports.ReqoreTabs = exports.ReqoreTableValue = exports.ReqoreTableRow = exports.ReqoreTableHeaderCell = exports.ReqoreTableBodyCell = exports.ReqoreTable = exports.ReqoreStatistic = exports.ReqoreStackedBar = exports.ReqoreSpinner = exports.ReqoreSpan = exports.ReqoreVerticalSpacer = exports.ReqoreSpacer = exports.ReqoreHorizontalSpacer = exports.ReqoreSlider = exports.ReqoreSkeleton = exports.ReqoreSelect = exports.ReqoreRichTextEditor = exports.ReqoreSeverityRow = exports.ReqoreSegmentedControl = exports.ReqoreRating = exports.ReqoreRadioGroup = void 0;
|
|
23
|
+
exports.useReqoreTheme = exports.useMarqueeOnHover = void 0;
|
|
23
24
|
var Accordion_1 = require("./components/Accordion");
|
|
24
25
|
Object.defineProperty(exports, "ReqoreAccordion", { enumerable: true, get: function () { return Accordion_1.ReqoreAccordion; } });
|
|
25
26
|
var Breadcrumbs_1 = require("./components/Breadcrumbs");
|
|
@@ -87,6 +88,14 @@ var Drawer_2 = require("./components/Drawer");
|
|
|
87
88
|
Object.defineProperty(exports, "DRAWER_MIN_SIZE", { enumerable: true, get: function () { return Drawer_2.DRAWER_MIN_SIZE; } });
|
|
88
89
|
Object.defineProperty(exports, "MODAL_MIN_HEIGHT", { enumerable: true, get: function () { return Drawer_2.MODAL_MIN_HEIGHT; } });
|
|
89
90
|
Object.defineProperty(exports, "MODAL_MIN_WIDTH", { enumerable: true, get: function () { return Drawer_2.MODAL_MIN_WIDTH; } });
|
|
91
|
+
/* The sheet decision behind `responsiveLayout`, published so a consumer that
|
|
92
|
+
lays out AROUND a drawer (a docked bar, a page offset) can ask the same
|
|
93
|
+
question Reqore does instead of re-deriving the breakpoint locally. */
|
|
94
|
+
var Drawer_3 = require("./components/Drawer");
|
|
95
|
+
Object.defineProperty(exports, "DRAWER_RESPONSIVE_LAYOUT_DEFAULTS", { enumerable: true, get: function () { return Drawer_3.DRAWER_RESPONSIVE_LAYOUT_DEFAULTS; } });
|
|
96
|
+
Object.defineProperty(exports, "DRAWER_SHEET_BREAKPOINT", { enumerable: true, get: function () { return Drawer_3.DRAWER_SHEET_BREAKPOINT; } });
|
|
97
|
+
Object.defineProperty(exports, "drawerSheetBreakpointPx", { enumerable: true, get: function () { return Drawer_3.drawerSheetBreakpointPx; } });
|
|
98
|
+
Object.defineProperty(exports, "resolveDrawerResponsiveLayout", { enumerable: true, get: function () { return Drawer_3.resolveDrawerResponsiveLayout; } });
|
|
90
99
|
var backdrop_1 = require("./components/Drawer/backdrop");
|
|
91
100
|
Object.defineProperty(exports, "ReqoreBackdrop", { enumerable: true, get: function () { return backdrop_1.ReqoreBackdrop; } });
|
|
92
101
|
var Dropdown_1 = require("./components/Dropdown");
|
|
@@ -131,6 +140,11 @@ Object.defineProperty(exports, "formatShortcut", { enumerable: true, get: functi
|
|
|
131
140
|
Object.defineProperty(exports, "formatShortcutCombo", { enumerable: true, get: function () { return shortcuts_1.formatShortcutCombo; } });
|
|
132
141
|
Object.defineProperty(exports, "isMacOS", { enumerable: true, get: function () { return shortcuts_1.isMacOS; } });
|
|
133
142
|
Object.defineProperty(exports, "shortcutHasModifier", { enumerable: true, get: function () { return shortcuts_1.shortcutHasModifier; } });
|
|
143
|
+
/* The swipe judgement the library's own gestures share (a sheet pushed away, the tier stack),
|
|
144
|
+
so a consumer's gesture can feel the same under the finger. */
|
|
145
|
+
var gestures_1 = require("./helpers/gestures");
|
|
146
|
+
Object.defineProperty(exports, "getSwipeStep", { enumerable: true, get: function () { return gestures_1.getSwipeStep; } });
|
|
147
|
+
Object.defineProperty(exports, "SWIPE", { enumerable: true, get: function () { return gestures_1.SWIPE; } });
|
|
134
148
|
var KeyValueTable_1 = require("./components/KeyValueTable");
|
|
135
149
|
Object.defineProperty(exports, "ReqoreKeyValueTable", { enumerable: true, get: function () { return KeyValueTable_1.ReqoreKeyValueTable; } });
|
|
136
150
|
__exportStar(require("./components/Label"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAyD;AAAhD,4GAAA,eAAe,OAAA;AACxB,wDAAwE;AAA/D,iIAAA,OAAO,OAAqB;AACrC,sDAAiF;AAAxE,8HAAA,OAAO,OAAyB;AACzC,8CAAsE;AAA7D,sGAAA,YAAY,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AACxC,8CAA8D;AAArD,uHAAA,OAAO,OAAgB;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D,sGAAA,MAAM,OAAgB;AAC/B,2CAA0E;AAAjE,oGAAA,sBAAsB,OAAe;AAC9C,2CAAgD;AAAvC,oGAAA,WAAW,OAAA;AACpB,2CAAkD;AAAzC,sGAAA,aAAa,OAAA;AACtB,8CAAgE;AAAvD,mHAAA,yBAAyB,OAAA;AAClC,8DAAyF;AAAhF,sIAAA,OAAO,OAAuB;AAAE,4GAAA,UAAU,OAAA;AACnD,sDAAsE;AAA7D,+HAAA,OAAO,OAAoB;AACpC,yDAAmE;AAA1D,+HAAA,OAAO,OAAiB;AACjC,uDAAuE;AAA9D,mIAAA,OAAO,OAAsB;AACtC,6EAA4E;AAAnE,oIAAA,wBAAwB,OAAA;AACjC,2DAAqE;AAA5D,mIAAA,OAAO,OAAmB;AACnC,+CAAoD;AAA3C,4GAAA,eAAe,OAAA;AACxB,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,6DAA6D;AAApD,qHAAA,iBAAiB,OAAA;AAC1B,+DAImC;AAHjC,2HAAA,sBAAsB,OAAA;AACtB,sHAAA,iBAAiB,OAAA;AAGnB,6CAAkD;AAAzC,0GAAA,cAAc,OAAA"}
|
package/dist/styles.js
CHANGED
|
@@ -38,35 +38,35 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
})();
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.RaisedElement = exports.RAISED_SHADOWS = exports.ReadOnlyElement = exports.DisabledElement = exports.ScaleIconOnHover = exports.ChildActiveIconScale = exports.ActiveIconScale = exports.InactiveIconScale = exports.AnimatedTextElement = exports.StyledInvisibleContent = exports.StyledInActiveContent = exports.StyledActiveContent = exports.StyledContent = exports.ACTIVE_ICON_SCALE = exports.INACTIVE_ICON_SCALE = void 0;
|
|
41
|
-
var styled_components_1 = require("styled-components");
|
|
41
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
42
42
|
var Effect_1 = require("./components/Effect");
|
|
43
43
|
var Icon_1 = require("./components/Icon");
|
|
44
|
-
var styled_1 =
|
|
44
|
+
var styled_1 = require("./helpers/styled");
|
|
45
45
|
exports.INACTIVE_ICON_SCALE = 0.85;
|
|
46
46
|
exports.ACTIVE_ICON_SCALE = 0.93;
|
|
47
47
|
// `wrap` sets how a label breaks; on a `span` it is not an attribute.
|
|
48
|
-
exports.StyledContent = (0,
|
|
48
|
+
exports.StyledContent = (0, styled_components_1.default)(Effect_1.StyledTextEffect).withConfig({
|
|
49
49
|
shouldForwardProp: (0, styled_1.omitStyleProps)('wrap'),
|
|
50
50
|
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n\n ", "\n"], ["\n position: relative;\n\n ", "\n"])), function (_a) {
|
|
51
51
|
var wrap = _a.wrap;
|
|
52
52
|
return !wrap
|
|
53
53
|
? (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "], ["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "]))) : (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n word-break: break-word;\n "], ["\n word-break: break-word;\n "])));
|
|
54
54
|
});
|
|
55
|
-
exports.StyledActiveContent = (0,
|
|
55
|
+
exports.StyledActiveContent = (0, styled_components_1.default)(Effect_1.StyledTextEffect).withConfig({
|
|
56
56
|
shouldForwardProp: (0, styled_1.omitStyleProps)('wrap'),
|
|
57
57
|
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: absolute;\n transform: translateY(-150%);\n opacity: 0;\n transition: all 0.2s ease-out;\n filter: blur(10px);\n\n ", "\n"], ["\n position: absolute;\n transform: translateY(-150%);\n opacity: 0;\n transition: all 0.2s ease-out;\n filter: blur(10px);\n\n ", "\n"])), function (_a) {
|
|
58
58
|
var wrap = _a.wrap;
|
|
59
59
|
return !wrap
|
|
60
60
|
? (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "], ["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "]))) : (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n word-break: break-word;\n "], ["\n word-break: break-word;\n "])));
|
|
61
61
|
});
|
|
62
|
-
exports.StyledInActiveContent = (0,
|
|
62
|
+
exports.StyledInActiveContent = (0, styled_components_1.default)(Effect_1.StyledTextEffect).withConfig({
|
|
63
63
|
shouldForwardProp: (0, styled_1.omitStyleProps)('wrap'),
|
|
64
64
|
})(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: absolute;\n transform: translateY(0);\n transition: all 0.2s ease-out;\n\n ", "\n"], ["\n position: absolute;\n transform: translateY(0);\n transition: all 0.2s ease-out;\n\n ", "\n"])), function (_a) {
|
|
65
65
|
var wrap = _a.wrap;
|
|
66
66
|
return !wrap
|
|
67
67
|
? (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "], ["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n "]))) : (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n word-break: break-word;\n "], ["\n word-break: break-word;\n "])));
|
|
68
68
|
});
|
|
69
|
-
exports.StyledInvisibleContent = (0,
|
|
69
|
+
exports.StyledInvisibleContent = (0, styled_components_1.default)(Effect_1.StyledTextEffect).withConfig({
|
|
70
70
|
shouldForwardProp: (0, styled_1.omitStyleProps)('wrap'),
|
|
71
71
|
})(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n visibility: hidden;\n position: relative;\n overflow: hidden;\n\n ", "\n"], ["\n visibility: hidden;\n position: relative;\n overflow: hidden;\n\n ", "\n"])), function (_a) {
|
|
72
72
|
var wrap = _a.wrap;
|
package/dist/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,8CAAuD;AACvD,0CAAsD;AACtD,2CAAkD;AAErC,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,iBAAiB,GAAG,IAAI,CAAC;AAEtC,sEAAsE;AACzD,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,yBAAgB,CAAC,CAAC,UAAU,CAAC;IAC/D,iBAAiB,EAAE,IAAA,uBAAc,EAAC,MAAM,CAAC;CAC1C,CAAC,wGAAA,+BAGE,EAUK,IACR,KAXG,UAAC,EAAQ;QAAN,IAAI,UAAA;IACP,OAAA,CAAC,IAAI;QACH,CAAC,KAAC,uBAAG,yMAAA,qIAKF,KACH,CAAC,KAAC,uBAAG,mHAAA,+CAEF,IAAA;AATL,CASK,EACP;AAEW,QAAA,mBAAmB,GAAG,IAAA,2BAAM,EAAC,yBAAgB,CAAC,CAAC,UAAU,CAAC;IACrE,iBAAiB,EAAE,IAAA,uBAAc,EAAC,MAAM,CAAC;CAC1C,CAAC,iNAAA,wIAOE,EAUK,IACR,KAXG,UAAC,EAAQ;QAAN,IAAI,UAAA;IACP,OAAA,CAAC,IAAI;QACH,CAAC,KAAC,uBAAG,yMAAA,qIAKF,KACH,CAAC,KAAC,uBAAG,mHAAA,+CAEF,IAAA;AATL,CASK,EACP;AAEW,QAAA,qBAAqB,GAAG,IAAA,2BAAM,EAAC,yBAAgB,CAAC,CAAC,UAAU,CAAC;IACvE,iBAAiB,EAAE,IAAA,uBAAc,EAAC,MAAM,CAAC;CAC1C,CAAC,uKAAA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uBAAG,+FAAA,kBAChB,EAAc,KAC7B,KADe,sBAAc,EAC5B"}
|
package/package.json
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* How far the pointer must travel before a press becomes a drag.
|
|
4
|
-
*
|
|
5
|
-
* Zero would make every click a one-pixel drag and swallow it; too large and the
|
|
6
|
-
* row feels stuck before it moves. Four pixels is the usual hysteresis for
|
|
7
|
-
* distinguishing a click from a drag.
|
|
8
|
-
*/
|
|
9
|
-
export declare const DRAG_TO_SCROLL_THRESHOLD = 4;
|
|
10
|
-
/**
|
|
11
|
-
* Elements a drag must never start on.
|
|
12
|
-
*
|
|
13
|
-
* Deliberately NOT "anything interactive". The surfaces this is built for are made
|
|
14
|
-
* OF interactive things - a rail of clickable KPI tiles, a table header of sort
|
|
15
|
-
* buttons - so excluding buttons would leave nowhere to grab and the feature would
|
|
16
|
-
* do nothing. Their clicks are protected instead by suppressing the click that
|
|
17
|
-
* follows a real drag, which is what makes press-and-release still activate a
|
|
18
|
-
* tile while press-and-pull scrolls past it.
|
|
19
|
-
*
|
|
20
|
-
* What IS excluded is text entry, where a press-and-move already means
|
|
21
|
-
* "select within this value" and there is no other way to ask for it, and anything
|
|
22
|
-
* marked `reqore-no-drag-scroll`: a grab handle of its own (a column's resize handle),
|
|
23
|
-
* where a press-and-move already means something else.
|
|
24
|
-
*/
|
|
25
|
-
export declare const NON_DRAGGABLE = "input, textarea, select, [contenteditable=\"\"], [contenteditable=\"true\"], .reqore-no-drag-scroll";
|
|
26
|
-
export interface IUseDragToScrollOptions {
|
|
27
|
-
/** What scrolls sideways. */
|
|
28
|
-
scrollRef: RefObject<HTMLElement>;
|
|
29
|
-
/**
|
|
30
|
-
* Where the gesture is taken, when that is not the scroller itself: a table's
|
|
31
|
-
* header, which is scrolled with its body but is not a scroller of its own.
|
|
32
|
-
*/
|
|
33
|
-
handleRef?: RefObject<HTMLElement>;
|
|
34
|
-
/** Mouse and pen: press and pull sideways to scroll. */
|
|
35
|
-
mouse?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Touch: a sideways swipe on the handle scrolls the scroller. Only for a handle
|
|
38
|
-
* the browser cannot pan by itself (it does not overflow-scroll); on a real
|
|
39
|
-
* scroller touch already pans natively, and taking it over would replace that.
|
|
40
|
-
* The handle's own CSS must leave sideways panning to the page script
|
|
41
|
-
* (`touch-action: pan-y`), or the browser cancels the pointer before it moves.
|
|
42
|
-
*/
|
|
43
|
-
touch?: boolean;
|
|
44
|
-
/** Set on the handle while a drag is engaged. */
|
|
45
|
-
draggingClass?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Press and pull a sideways-scrolling surface to scroll it.
|
|
49
|
-
*
|
|
50
|
-
* Shared by `ReqoreFadeScroller` (`dragToScroll`) and `ReqoreTable` (`dragToScroll`,
|
|
51
|
-
* and its header's touch swipes): one implementation of the gesture, so a fix to it
|
|
52
|
-
* reaches every surface.
|
|
53
|
-
*/
|
|
54
|
-
export declare const useDragToScroll: ({ scrollRef, handleRef, mouse, touch, draggingClass, }: IUseDragToScrollOptions) => void;
|
|
55
|
-
//# sourceMappingURL=useDragToScroll.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDragToScroll.d.ts","sourceRoot":"","sources":["../../src/hooks/useDragToScroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,wGACyE,CAAC;AAEpG,MAAM,WAAW,uBAAuB;IACtC,6BAA6B;IAC7B,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAClC;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,wDAAwD;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,wDAM7B,uBAAuB,SA+CzB,CAAC"}
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDragToScroll = exports.NON_DRAGGABLE = exports.DRAG_TO_SCROLL_THRESHOLD = void 0;
|
|
4
|
-
var react_1 = require("react");
|
|
5
|
-
/**
|
|
6
|
-
* How far the pointer must travel before a press becomes a drag.
|
|
7
|
-
*
|
|
8
|
-
* Zero would make every click a one-pixel drag and swallow it; too large and the
|
|
9
|
-
* row feels stuck before it moves. Four pixels is the usual hysteresis for
|
|
10
|
-
* distinguishing a click from a drag.
|
|
11
|
-
*/
|
|
12
|
-
exports.DRAG_TO_SCROLL_THRESHOLD = 4;
|
|
13
|
-
/**
|
|
14
|
-
* Elements a drag must never start on.
|
|
15
|
-
*
|
|
16
|
-
* Deliberately NOT "anything interactive". The surfaces this is built for are made
|
|
17
|
-
* OF interactive things - a rail of clickable KPI tiles, a table header of sort
|
|
18
|
-
* buttons - so excluding buttons would leave nowhere to grab and the feature would
|
|
19
|
-
* do nothing. Their clicks are protected instead by suppressing the click that
|
|
20
|
-
* follows a real drag, which is what makes press-and-release still activate a
|
|
21
|
-
* tile while press-and-pull scrolls past it.
|
|
22
|
-
*
|
|
23
|
-
* What IS excluded is text entry, where a press-and-move already means
|
|
24
|
-
* "select within this value" and there is no other way to ask for it, and anything
|
|
25
|
-
* marked `reqore-no-drag-scroll`: a grab handle of its own (a column's resize handle),
|
|
26
|
-
* where a press-and-move already means something else.
|
|
27
|
-
*/
|
|
28
|
-
exports.NON_DRAGGABLE = 'input, textarea, select, [contenteditable=""], [contenteditable="true"], .reqore-no-drag-scroll';
|
|
29
|
-
/**
|
|
30
|
-
* Press and pull a sideways-scrolling surface to scroll it.
|
|
31
|
-
*
|
|
32
|
-
* Shared by `ReqoreFadeScroller` (`dragToScroll`) and `ReqoreTable` (`dragToScroll`,
|
|
33
|
-
* and its header's touch swipes): one implementation of the gesture, so a fix to it
|
|
34
|
-
* reaches every surface.
|
|
35
|
-
*/
|
|
36
|
-
var useDragToScroll = function (_a) {
|
|
37
|
-
var scrollRef = _a.scrollRef, handleRef = _a.handleRef, _b = _a.mouse, mouse = _b === void 0 ? false : _b, _c = _a.touch, touch = _c === void 0 ? false : _c, draggingClass = _a.draggingClass;
|
|
38
|
-
/* What the gesture is bound to. The elements can come and go after the hook
|
|
39
|
-
mounts - a table renders no body until it has rows - so every commit compares
|
|
40
|
-
them with what is bound and rebinds when they changed, instead of binding once
|
|
41
|
-
on mount and silently never seeing a body that appeared later. */
|
|
42
|
-
var bound = (0, react_1.useRef)();
|
|
43
|
-
(0, react_1.useEffect)(function () {
|
|
44
|
-
var _a;
|
|
45
|
-
var scroller = scrollRef.current;
|
|
46
|
-
var handle = handleRef ? handleRef.current : scroller;
|
|
47
|
-
var key = "".concat(mouse, ":").concat(touch, ":").concat(draggingClass !== null && draggingClass !== void 0 ? draggingClass : '');
|
|
48
|
-
if (bound.current &&
|
|
49
|
-
bound.current.scroller === scroller &&
|
|
50
|
-
bound.current.handle === handle &&
|
|
51
|
-
bound.current.key === key) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
(_a = bound.current) === null || _a === void 0 ? void 0 : _a.unbind();
|
|
55
|
-
bound.current = undefined;
|
|
56
|
-
if ((!mouse && !touch) || !scroller || !handle) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
bound.current = {
|
|
60
|
-
scroller: scroller,
|
|
61
|
-
handle: handle,
|
|
62
|
-
key: key,
|
|
63
|
-
unbind: bind(scroller, handle, mouse, touch, draggingClass),
|
|
64
|
-
};
|
|
65
|
-
});
|
|
66
|
-
// Unbound when the component goes, whatever is bound then.
|
|
67
|
-
(0, react_1.useEffect)(function () { return function () {
|
|
68
|
-
var _a;
|
|
69
|
-
(_a = bound.current) === null || _a === void 0 ? void 0 : _a.unbind();
|
|
70
|
-
bound.current = undefined;
|
|
71
|
-
}; }, []);
|
|
72
|
-
};
|
|
73
|
-
exports.useDragToScroll = useDragToScroll;
|
|
74
|
-
/** Binds the gesture; returns what unbinds it. */
|
|
75
|
-
var bind = function (scroller, handle, mouse, touch, draggingClass) {
|
|
76
|
-
{
|
|
77
|
-
var activePointer_1;
|
|
78
|
-
var startX_1 = 0;
|
|
79
|
-
var startScrollLeft_1 = 0;
|
|
80
|
-
var engaged_1 = false;
|
|
81
|
-
// Set when a drag actually moved the surface, and consumed by the click that
|
|
82
|
-
// the browser fires next. Without it, pulling sideways and letting go on top
|
|
83
|
-
// of a clickable tile ALSO activates that tile.
|
|
84
|
-
var swallowNextClick_1 = false;
|
|
85
|
-
/* The live gesture is tracked on the WINDOW, not on the handle.
|
|
86
|
-
*
|
|
87
|
-
* A pull leaves the handle almost immediately - the edges are where you are
|
|
88
|
-
* pulling TO - and the release can land anywhere, including outside the
|
|
89
|
-
* browser window entirely. Listening on the handle alone meant a release it
|
|
90
|
-
* never saw left `activePointer` set: the next move over it resumed the drag
|
|
91
|
-
* with no button held, and there was no way to let go.
|
|
92
|
-
*
|
|
93
|
-
* Pointer capture alone does not cover this - it is taken only once the drag
|
|
94
|
-
* ENGAGES, and a fast pull can be past the edge before the first qualifying
|
|
95
|
-
* move arrives.
|
|
96
|
-
*
|
|
97
|
-
* Bound per-gesture rather than permanently, so an idle surface adds no global
|
|
98
|
-
* pointermove listener. */
|
|
99
|
-
var stopTracking_1 = function () {
|
|
100
|
-
window.removeEventListener('pointermove', onPointerMove_1);
|
|
101
|
-
window.removeEventListener('pointerup', onPointerEnd_1);
|
|
102
|
-
window.removeEventListener('pointercancel', onPointerEnd_1);
|
|
103
|
-
window.removeEventListener('lostpointercapture', onPointerEnd_1);
|
|
104
|
-
window.removeEventListener('blur', endGesture_1);
|
|
105
|
-
};
|
|
106
|
-
var startTracking_1 = function () {
|
|
107
|
-
window.addEventListener('pointermove', onPointerMove_1);
|
|
108
|
-
window.addEventListener('pointerup', onPointerEnd_1);
|
|
109
|
-
window.addEventListener('pointercancel', onPointerEnd_1);
|
|
110
|
-
window.addEventListener('lostpointercapture', onPointerEnd_1);
|
|
111
|
-
// Alt-tabbing mid-pull: the release happens in another window.
|
|
112
|
-
window.addEventListener('blur', endGesture_1);
|
|
113
|
-
};
|
|
114
|
-
/* Ends the gesture however it got here - a normal release, a release the page
|
|
115
|
-
* never saw, a cancelled pointer, or the window losing focus. Idempotent:
|
|
116
|
-
* `activePointer` is cleared before the capture is released, so the
|
|
117
|
-
* `lostpointercapture` our own release fires re-enters and returns. */
|
|
118
|
-
var endGesture_1 = function () {
|
|
119
|
-
var _a;
|
|
120
|
-
if (activePointer_1 === undefined) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
var pointerId = activePointer_1;
|
|
124
|
-
activePointer_1 = undefined;
|
|
125
|
-
stopTracking_1();
|
|
126
|
-
if ((_a = handle.hasPointerCapture) === null || _a === void 0 ? void 0 : _a.call(handle, pointerId)) {
|
|
127
|
-
handle.releasePointerCapture(pointerId);
|
|
128
|
-
}
|
|
129
|
-
if (engaged_1) {
|
|
130
|
-
engaged_1 = false;
|
|
131
|
-
if (draggingClass) {
|
|
132
|
-
handle.classList.remove(draggingClass);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
var onPointerEnd_1 = function (event) {
|
|
137
|
-
if (activePointer_1 === undefined || event.pointerId !== activePointer_1) {
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
/* Only the capture THIS gesture took ends it. A finger's pointer is captured by
|
|
141
|
-
the element it lands on (implicit touch capture); taking the capture for the
|
|
142
|
-
handle moves it away from that element, which then reports losing it - and
|
|
143
|
-
that is the drag starting, not ending. Ending there stopped a swipe on a
|
|
144
|
-
table's header after its first few pixels. */
|
|
145
|
-
if (event.type === 'lostpointercapture' && event.target !== handle) {
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
endGesture_1();
|
|
149
|
-
};
|
|
150
|
-
var onPointerMove_1 = function (event) {
|
|
151
|
-
if (activePointer_1 === undefined || event.pointerId !== activePointer_1) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
/* Nothing is held down, so the button came up somewhere this page could
|
|
155
|
-
* never observe it - off the edge of the window, the usual way. Recover on
|
|
156
|
-
* the first move back rather than wait for a pointerup that is never coming;
|
|
157
|
-
* `buttons` is a bitmask of what is CURRENTLY pressed, so during a real drag
|
|
158
|
-
* (or a finger on the screen) it can only be non-zero. */
|
|
159
|
-
if (event.buttons === 0) {
|
|
160
|
-
endGesture_1();
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
var distance = event.clientX - startX_1;
|
|
164
|
-
if (!engaged_1) {
|
|
165
|
-
// Below the threshold this is still a click, so do nothing at all - not
|
|
166
|
-
// even preventDefault, which would break focus on the target.
|
|
167
|
-
if (Math.abs(distance) < exports.DRAG_TO_SCROLL_THRESHOLD) {
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
engaged_1 = true;
|
|
171
|
-
swallowNextClick_1 = true;
|
|
172
|
-
if (draggingClass) {
|
|
173
|
-
handle.classList.add(draggingClass);
|
|
174
|
-
}
|
|
175
|
-
// Capture keeps the moves addressed to the handle while the pointer is over
|
|
176
|
-
// other elements. The window listeners are what make the drag survive
|
|
177
|
-
// leaving it; this is what keeps hover states elsewhere quiet.
|
|
178
|
-
try {
|
|
179
|
-
handle.setPointerCapture(event.pointerId);
|
|
180
|
-
}
|
|
181
|
-
catch (_a) {
|
|
182
|
-
// Capture is a nicety, not the mechanism.
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
// Stops the browser starting a native text/image drag mid-pull.
|
|
186
|
-
event.preventDefault();
|
|
187
|
-
scroller.scrollLeft = startScrollLeft_1 - distance;
|
|
188
|
-
};
|
|
189
|
-
var onPointerDown_1 = function (event) {
|
|
190
|
-
var _a, _b;
|
|
191
|
-
/* Before any guard. A previous gesture whose click never arrived - released
|
|
192
|
-
* off-window, so nothing followed it - leaves this armed, and the next
|
|
193
|
-
* genuine click would be eaten. A fresh press always makes the previous
|
|
194
|
-
* gesture's click moot, INCLUDING a press this handler goes on to decline. */
|
|
195
|
-
swallowNextClick_1 = false;
|
|
196
|
-
if (event.pointerType === 'touch') {
|
|
197
|
-
// A real scroller pans natively under a finger, and long-press selects.
|
|
198
|
-
if (!touch) {
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
if (!mouse) {
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
// Middle/right are paste and context menu.
|
|
207
|
-
if (event.button !== 0) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
// Shift is the documented escape hatch to "select instead of drag".
|
|
211
|
-
if (event.shiftKey) {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
if ((_b = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest) === null || _b === void 0 ? void 0 : _b.call(_a, exports.NON_DRAGGABLE)) {
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
// Nothing to scroll: leave the press alone entirely so a click on a surface
|
|
219
|
-
// that happens to fit behaves exactly as it did before.
|
|
220
|
-
if (scroller.scrollWidth <= scroller.clientWidth) {
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
activePointer_1 = event.pointerId;
|
|
224
|
-
startX_1 = event.clientX;
|
|
225
|
-
startScrollLeft_1 = scroller.scrollLeft;
|
|
226
|
-
engaged_1 = false;
|
|
227
|
-
startTracking_1();
|
|
228
|
-
};
|
|
229
|
-
var onClickCapture_1 = function (event) {
|
|
230
|
-
if (!swallowNextClick_1) {
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
swallowNextClick_1 = false;
|
|
234
|
-
event.preventDefault();
|
|
235
|
-
event.stopPropagation();
|
|
236
|
-
};
|
|
237
|
-
// A native drag beats pointer events to the punch on links and images.
|
|
238
|
-
var onDragStart_1 = function (event) {
|
|
239
|
-
if (engaged_1) {
|
|
240
|
-
event.preventDefault();
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
handle.addEventListener('pointerdown', onPointerDown_1);
|
|
244
|
-
handle.addEventListener('dragstart', onDragStart_1);
|
|
245
|
-
// Capture phase: the click has to be stopped before it reaches the tile.
|
|
246
|
-
handle.addEventListener('click', onClickCapture_1, true);
|
|
247
|
-
return function () {
|
|
248
|
-
handle.removeEventListener('pointerdown', onPointerDown_1);
|
|
249
|
-
handle.removeEventListener('dragstart', onDragStart_1);
|
|
250
|
-
handle.removeEventListener('click', onClickCapture_1, true);
|
|
251
|
-
// A gesture live at unmount would otherwise leave window listeners behind.
|
|
252
|
-
stopTracking_1();
|
|
253
|
-
if (draggingClass) {
|
|
254
|
-
handle.classList.remove(draggingClass);
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
//# sourceMappingURL=useDragToScroll.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDragToScroll.js","sourceRoot":"","sources":["../../src/hooks/useDragToScroll.ts"],"names":[],"mappings":";;;AAAA,+BAAqD;AAErD;;;;;;GAMG;AACU,QAAA,wBAAwB,GAAG,CAAC,CAAC;AAE1C;;;;;;;;;;;;;;GAcG;AACU,QAAA,aAAa,GACxB,iGAAiG,CAAC;AAwBpG;;;;;;GAMG;AACI,IAAM,eAAe,GAAG,UAAC,EAMN;QALxB,SAAS,eAAA,EACT,SAAS,eAAA,EACT,aAAa,EAAb,KAAK,mBAAG,KAAK,KAAA,EACb,aAAa,EAAb,KAAK,mBAAG,KAAK,KAAA,EACb,aAAa,mBAAA;IAEb;;;wEAGoE;IAC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