@elliemae/ds-scrollable-container 3.1.0-next.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/cjs/DSScrollableContainer.js +102 -0
  2. package/dist/cjs/DSScrollableContainer.js.map +7 -0
  3. package/dist/cjs/config/index.js +22 -0
  4. package/dist/cjs/config/index.js.map +7 -0
  5. package/dist/cjs/config/useConfig.js +52 -0
  6. package/dist/cjs/config/useConfig.js.map +7 -0
  7. package/dist/cjs/exported_related/definitions.js +56 -0
  8. package/dist/cjs/exported_related/definitions.js.map +7 -0
  9. package/dist/cjs/exported_related/index.js +22 -0
  10. package/dist/cjs/exported_related/index.js.map +7 -0
  11. package/dist/cjs/index.js +23 -0
  12. package/dist/cjs/index.js.map +7 -0
  13. package/dist/cjs/react-desc-prop-types.js +43 -0
  14. package/dist/cjs/react-desc-prop-types.js.map +7 -0
  15. package/dist/cjs/styled.js +543 -0
  16. package/dist/cjs/styled.js.map +7 -0
  17. package/dist/esm/DSScrollableContainer.js +94 -0
  18. package/dist/esm/DSScrollableContainer.js.map +7 -0
  19. package/dist/esm/config/index.js +3 -0
  20. package/dist/esm/config/index.js.map +7 -0
  21. package/dist/esm/config/useConfig.js +30 -0
  22. package/dist/esm/config/useConfig.js.map +7 -0
  23. package/dist/esm/exported_related/definitions.js +34 -0
  24. package/dist/esm/exported_related/definitions.js.map +7 -0
  25. package/dist/esm/exported_related/index.js +3 -0
  26. package/dist/esm/exported_related/index.js.map +7 -0
  27. package/dist/esm/index.js +4 -0
  28. package/dist/esm/index.js.map +7 -0
  29. package/dist/esm/react-desc-prop-types.js +23 -0
  30. package/dist/esm/react-desc-prop-types.js.map +7 -0
  31. package/dist/esm/styled.js +521 -0
  32. package/dist/esm/styled.js.map +7 -0
  33. package/package.json +63 -0
@@ -0,0 +1,94 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+ import * as React from "react";
18
+ import React2 from "react";
19
+ import { describe } from "@elliemae/ds-utilities";
20
+ import { DSScrollableContainerPropTypes } from "./react-desc-prop-types";
21
+ import { DSScrollableContainerDataTestIds, DSScrollableContainerName } from "./exported_related";
22
+ import { useConfig } from "./config";
23
+ import {
24
+ StyledOsContent,
25
+ StyledOsHost,
26
+ StyledOsHostWrapper,
27
+ StyledOsPadding,
28
+ StyledOsResizeObserverHost,
29
+ StyledOsScrollbarCorner,
30
+ StyledOsScrollbarHandle,
31
+ StyledOsScrollbarHorizontal,
32
+ StyledOsScrollbarTrack,
33
+ StyledOsScrollbarVertical,
34
+ StyledOsViewport
35
+ } from "./styled";
36
+ const DSScrollableContainer = (props) => {
37
+ const {
38
+ propsWithDefault: { children },
39
+ globalAttrs,
40
+ xStyledAttrs,
41
+ osTargetRef
42
+ } = useConfig(props);
43
+ return /* @__PURE__ */ React2.createElement(StyledOsHostWrapper, __spreadValues(__spreadValues({
44
+ "data-testid": DSScrollableContainerDataTestIds.ROOT
45
+ }, globalAttrs), xStyledAttrs), /* @__PURE__ */ React2.createElement(StyledOsHost, {
46
+ "data-testid": DSScrollableContainerDataTestIds.HOST,
47
+ className: "os-host",
48
+ tabIndex: -1,
49
+ ref: osTargetRef
50
+ }, /* @__PURE__ */ React2.createElement(StyledOsResizeObserverHost, {
51
+ "data-testid": DSScrollableContainerDataTestIds.RESIZE_OBSERVER_HOST,
52
+ className: "os-resize-observer-host"
53
+ }), /* @__PURE__ */ React2.createElement(StyledOsPadding, {
54
+ "data-testid": DSScrollableContainerDataTestIds.PADDING,
55
+ className: "os-padding"
56
+ }, /* @__PURE__ */ React2.createElement(StyledOsViewport, {
57
+ "data-testid": DSScrollableContainerDataTestIds.VIEWPORT,
58
+ className: "os-viewport"
59
+ }, /* @__PURE__ */ React2.createElement(StyledOsContent, {
60
+ "data-testid": DSScrollableContainerDataTestIds.CONTENT,
61
+ className: "os-content",
62
+ "aria-hidden": true
63
+ }, children))), /* @__PURE__ */ React2.createElement(StyledOsScrollbarHorizontal, {
64
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_HORIZONTAL,
65
+ className: "os-scrollbar os-scrollbar-horizontal "
66
+ }, /* @__PURE__ */ React2.createElement(StyledOsScrollbarTrack, {
67
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_TRACK,
68
+ className: "os-scrollbar-track"
69
+ }, /* @__PURE__ */ React2.createElement(StyledOsScrollbarHandle, {
70
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_HANDLE,
71
+ className: "os-scrollbar-handle"
72
+ }))), /* @__PURE__ */ React2.createElement(StyledOsScrollbarVertical, {
73
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_VERTICAL,
74
+ className: "os-scrollbar os-scrollbar-vertical"
75
+ }, /* @__PURE__ */ React2.createElement(StyledOsScrollbarTrack, {
76
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_TRACK,
77
+ className: "os-scrollbar-track"
78
+ }, /* @__PURE__ */ React2.createElement(StyledOsScrollbarHandle, {
79
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_HANDLE,
80
+ className: "os-scrollbar-handle"
81
+ }))), /* @__PURE__ */ React2.createElement(StyledOsScrollbarCorner, {
82
+ "data-testid": DSScrollableContainerDataTestIds.SCROLLBAR_CORNER,
83
+ className: "os-scrollbar-corner"
84
+ })));
85
+ };
86
+ DSScrollableContainer.propTypes = DSScrollableContainerPropTypes;
87
+ DSScrollableContainer.displayName = DSScrollableContainerName;
88
+ const DSScrollableContainerWithSchema = describe(DSScrollableContainer);
89
+ DSScrollableContainerWithSchema.propTypes = DSScrollableContainerPropTypes;
90
+ export {
91
+ DSScrollableContainer,
92
+ DSScrollableContainerWithSchema
93
+ };
94
+ //# sourceMappingURL=DSScrollableContainer.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSScrollableContainer.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { DSScrollableContainerT, DSScrollableContainerPropTypes } from './react-desc-prop-types';\nimport { DSScrollableContainerDataTestIds, DSScrollableContainerName } from './exported_related';\nimport { useConfig } from './config';\nimport {\n StyledOsContent,\n StyledOsHost,\n StyledOsHostWrapper,\n StyledOsPadding,\n StyledOsResizeObserverHost,\n StyledOsScrollbarCorner,\n StyledOsScrollbarHandle,\n StyledOsScrollbarHorizontal,\n StyledOsScrollbarTrack,\n StyledOsScrollbarVertical,\n StyledOsViewport,\n} from './styled';\n\nconst DSScrollableContainer: React.ComponentType<DSScrollableContainerT.Props> = (props) => {\n const {\n propsWithDefault: { children },\n globalAttrs,\n xStyledAttrs,\n osTargetRef,\n } = useConfig(props);\n\n return (\n <StyledOsHostWrapper data-testid={DSScrollableContainerDataTestIds.ROOT} {...globalAttrs} {...xStyledAttrs}>\n <StyledOsHost\n data-testid={DSScrollableContainerDataTestIds.HOST}\n className=\"os-host\"\n tabIndex={-1}\n ref={osTargetRef}\n >\n <StyledOsResizeObserverHost\n data-testid={DSScrollableContainerDataTestIds.RESIZE_OBSERVER_HOST}\n className=\"os-resize-observer-host\"\n />\n <StyledOsPadding data-testid={DSScrollableContainerDataTestIds.PADDING} className=\"os-padding\">\n <StyledOsViewport data-testid={DSScrollableContainerDataTestIds.VIEWPORT} className=\"os-viewport\">\n <StyledOsContent data-testid={DSScrollableContainerDataTestIds.CONTENT} className=\"os-content\" aria-hidden>\n {children}\n </StyledOsContent>\n </StyledOsViewport>\n </StyledOsPadding>\n <StyledOsScrollbarHorizontal\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_HORIZONTAL}\n className=\"os-scrollbar os-scrollbar-horizontal \"\n >\n <StyledOsScrollbarTrack\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_TRACK}\n className=\"os-scrollbar-track\"\n >\n <StyledOsScrollbarHandle\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_HANDLE}\n className=\"os-scrollbar-handle\"\n />\n </StyledOsScrollbarTrack>\n </StyledOsScrollbarHorizontal>\n <StyledOsScrollbarVertical\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_VERTICAL}\n className=\"os-scrollbar os-scrollbar-vertical\"\n >\n <StyledOsScrollbarTrack\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_TRACK}\n className=\"os-scrollbar-track\"\n >\n <StyledOsScrollbarHandle\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_HANDLE}\n className=\"os-scrollbar-handle\"\n />\n </StyledOsScrollbarTrack>\n </StyledOsScrollbarVertical>\n <StyledOsScrollbarCorner\n data-testid={DSScrollableContainerDataTestIds.SCROLLBAR_CORNER}\n className=\"os-scrollbar-corner\"\n />\n </StyledOsHost>\n </StyledOsHostWrapper>\n );\n};\n\nDSScrollableContainer.propTypes = DSScrollableContainerPropTypes;\nDSScrollableContainer.displayName = DSScrollableContainerName;\nconst DSScrollableContainerWithSchema = describe(DSScrollableContainer);\nDSScrollableContainerWithSchema.propTypes = DSScrollableContainerPropTypes;\n\nexport { DSScrollableContainer, DSScrollableContainerWithSchema };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcA,MAAM,wBAA2E,CAAC,UAAU;AAC1F,QAAM;AAAA,IACJ,kBAAkB,EAAE;AAAA,IACpB;AAAA,IACA;AAAA,IACA;AAAA,MACE,UAAU,KAAK;AAEnB,SACE,qCAAC;AAAA,IAAoB,eAAa,iCAAiC;AAAA,KAAU,cAAiB,eAC5F,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,IACV,UAAU;AAAA,IACV,KAAK;AAAA,KAEL,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,GACZ,GACA,qCAAC;AAAA,IAAgB,eAAa,iCAAiC;AAAA,IAAS,WAAU;AAAA,KAChF,qCAAC;AAAA,IAAiB,eAAa,iCAAiC;AAAA,IAAU,WAAU;AAAA,KAClF,qCAAC;AAAA,IAAgB,eAAa,iCAAiC;AAAA,IAAS,WAAU;AAAA,IAAa,eAAW;AAAA,KACvG,QACH,CACF,CACF,GACA,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,KAEV,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,KAEV,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,GACZ,CACF,CACF,GACA,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,KAEV,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,KAEV,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,GACZ,CACF,CACF,GACA,qCAAC;AAAA,IACC,eAAa,iCAAiC;AAAA,IAC9C,WAAU;AAAA,GACZ,CACF,CACF;AAEJ;AAEA,sBAAsB,YAAY;AAClC,sBAAsB,cAAc;AACpC,MAAM,kCAAkC,SAAS,qBAAqB;AACtE,gCAAgC,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ export * from "./useConfig";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/index.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './useConfig';\n"],
5
+ "mappings": "AAAA;ACAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,30 @@
1
+ import * as React from "react";
2
+ import { useGetGlobalAttributes, useValidateTypescriptPropTypes, useGetXstyledProps } from "@elliemae/ds-utilities";
3
+ import OverlayScrollbars from "overlayscrollbars";
4
+ import { useEffect, useRef, useState } from "react";
5
+ import { DSScrollableContainerPropTypes } from "../react-desc-prop-types";
6
+ const options = {
7
+ scrollbars: {
8
+ autoHide: "leave",
9
+ autoHideDelay: 0
10
+ }
11
+ };
12
+ const useConfig = (props) => {
13
+ const propsWithDefault = props;
14
+ useValidateTypescriptPropTypes(propsWithDefault, DSScrollableContainerPropTypes);
15
+ const globalAttrs = useGetGlobalAttributes(propsWithDefault);
16
+ const xStyledAttrs = useGetXstyledProps(propsWithDefault);
17
+ const [osInstance, setOsInstance] = useState();
18
+ const osTargetRef = useRef(null);
19
+ useEffect(() => {
20
+ if (osTargetRef.current) {
21
+ const nextOsInstance = OverlayScrollbars(osTargetRef.current, options);
22
+ setOsInstance(nextOsInstance);
23
+ }
24
+ }, [osInstance]);
25
+ return { propsWithDefault: props, globalAttrs, xStyledAttrs, osTargetRef };
26
+ };
27
+ export {
28
+ useConfig
29
+ };
30
+ //# sourceMappingURL=useConfig.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useConfig.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useGetGlobalAttributes, useValidateTypescriptPropTypes, useGetXstyledProps } from '@elliemae/ds-utilities';\nimport OverlayScrollbars, { Options } from 'overlayscrollbars';\nimport { useEffect, useRef, useState } from 'react';\nimport { DSScrollableContainerPropTypes, DSScrollableContainerT } from '../react-desc-prop-types';\n\nconst options: Options = {\n scrollbars: {\n autoHide: 'leave',\n autoHideDelay: 0,\n },\n};\n\nexport const useConfig = (props: DSScrollableContainerT.Props) => {\n const propsWithDefault = props;\n useValidateTypescriptPropTypes(propsWithDefault, DSScrollableContainerPropTypes);\n const globalAttrs = useGetGlobalAttributes(propsWithDefault);\n const xStyledAttrs = useGetXstyledProps(propsWithDefault);\n\n const [osInstance, setOsInstance] = useState<OverlayScrollbars>();\n const osTargetRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (osTargetRef.current) {\n const nextOsInstance: OverlayScrollbars = OverlayScrollbars(osTargetRef.current, options);\n setOsInstance(nextOsInstance);\n }\n }, [osInstance]);\n\n return { propsWithDefault: props, globalAttrs, xStyledAttrs, osTargetRef };\n};\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AACA;AACA;AAEA,MAAM,UAAmB;AAAA,EACvB,YAAY;AAAA,IACV,UAAU;AAAA,IACV,eAAe;AAAA,EACjB;AACF;AAEO,MAAM,YAAY,CAAC,UAAwC;AAChE,QAAM,mBAAmB;AACzB,iCAA+B,kBAAkB,8BAA8B;AAC/E,QAAM,cAAc,uBAAuB,gBAAgB;AAC3D,QAAM,eAAe,mBAAmB,gBAAgB;AAExD,QAAM,CAAC,YAAY,iBAAiB,SAA4B;AAChE,QAAM,cAAc,OAAuB,IAAI;AAE/C,YAAU,MAAM;AACd,QAAI,YAAY,SAAS;AACvB,YAAM,iBAAoC,kBAAkB,YAAY,SAAS,OAAO;AACxF,oBAAc,cAAc;AAAA,IAC9B;AAAA,EACF,GAAG,CAAC,UAAU,CAAC;AAEf,SAAO,EAAE,kBAAkB,OAAO,aAAa,cAAc,YAAY;AAC3E;",
6
+ "names": []
7
+ }
@@ -0,0 +1,34 @@
1
+ import * as React from "react";
2
+ const DSScrollableContainerName = "DSScrollableContainer";
3
+ const DSScrollableContainerSlots = {
4
+ ROOT: "root",
5
+ HOST: "host",
6
+ RESIZE_OBSERVER_HOST: "resize-observer-host",
7
+ PADDING: "padding",
8
+ VIEWPORT: "viewport",
9
+ CONTENT: "content",
10
+ SCROLLBAR_HORIZONTAL: "scrollbar-horizontal",
11
+ SCROLLBAR_VERTICAL: "scrollbar-vertical",
12
+ SCROLLBAR_TRACK: "scrollbar-track",
13
+ SCROLLBAR_HANDLE: "scrollbar-handle",
14
+ SCROLLBAR_CORNER: "scrollbar-corner"
15
+ };
16
+ const DSScrollableContainerDataTestIds = {
17
+ ROOT: "ds-scrollable-container-root",
18
+ HOST: "ds-scrollable-container-host",
19
+ RESIZE_OBSERVER_HOST: "ds-scrollable-container-resize-observer-host",
20
+ PADDING: "ds-scrollable-container-padding",
21
+ VIEWPORT: "ds-scrollable-container-viewport",
22
+ CONTENT: "ds-scrollable-container-content",
23
+ SCROLLBAR_HORIZONTAL: "ds-scrollable-container-scrollbar-horizontal",
24
+ SCROLLBAR_VERTICAL: "ds-scrollable-container-scrollbar-vertical",
25
+ SCROLLBAR_TRACK: "ds-scrollable-container-scrollbar-track",
26
+ SCROLLBAR_HANDLE: "ds-scrollable-container-scrollbar-handle",
27
+ SCROLLBAR_CORNER: "ds-scrollable-container-scrollbar-corner"
28
+ };
29
+ export {
30
+ DSScrollableContainerDataTestIds,
31
+ DSScrollableContainerName,
32
+ DSScrollableContainerSlots
33
+ };
34
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/exported_related/definitions.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSScrollableContainerName = 'DSScrollableContainer';\n\nexport const DSScrollableContainerSlots = {\n ROOT: 'root',\n HOST: 'host',\n RESIZE_OBSERVER_HOST: 'resize-observer-host',\n PADDING: 'padding',\n VIEWPORT: 'viewport',\n CONTENT: 'content',\n SCROLLBAR_HORIZONTAL: 'scrollbar-horizontal',\n SCROLLBAR_VERTICAL: 'scrollbar-vertical',\n SCROLLBAR_TRACK: 'scrollbar-track',\n SCROLLBAR_HANDLE: 'scrollbar-handle',\n SCROLLBAR_CORNER: 'scrollbar-corner',\n};\n\nexport const DSScrollableContainerDataTestIds = {\n ROOT: 'ds-scrollable-container-root',\n HOST: 'ds-scrollable-container-host',\n RESIZE_OBSERVER_HOST: 'ds-scrollable-container-resize-observer-host',\n PADDING: 'ds-scrollable-container-padding',\n VIEWPORT: 'ds-scrollable-container-viewport',\n CONTENT: 'ds-scrollable-container-content',\n SCROLLBAR_HORIZONTAL: 'ds-scrollable-container-scrollbar-horizontal',\n SCROLLBAR_VERTICAL: 'ds-scrollable-container-scrollbar-vertical',\n SCROLLBAR_TRACK: 'ds-scrollable-container-scrollbar-track',\n SCROLLBAR_HANDLE: 'ds-scrollable-container-scrollbar-handle',\n SCROLLBAR_CORNER: 'ds-scrollable-container-scrollbar-corner',\n};\n"],
5
+ "mappings": "AAAA;ACAO,MAAM,4BAA4B;AAElC,MAAM,6BAA6B;AAAA,EACxC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,sBAAsB;AAAA,EACtB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS;AAAA,EACT,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,kBAAkB;AACpB;AAEO,MAAM,mCAAmC;AAAA,EAC9C,MAAM;AAAA,EACN,MAAM;AAAA,EACN,sBAAsB;AAAA,EACtB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS;AAAA,EACT,sBAAsB;AAAA,EACtB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,kBAAkB;AACpB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ export * from "./definitions";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/exported_related/index.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './definitions';\n"],
5
+ "mappings": "AAAA;ACAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ export * from "./DSScrollableContainer";
3
+ export * from "./exported_related";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSScrollableContainer';\nexport * from './exported_related';\n"],
5
+ "mappings": "AAAA;ACAA;AACA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,23 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+ import * as React from "react";
18
+ import { globalAttributesPropTypes, xstyledPropTypes } from "@elliemae/ds-utilities";
19
+ const DSScrollableContainerPropTypes = __spreadValues(__spreadValues({}, globalAttributesPropTypes), xstyledPropTypes);
20
+ export {
21
+ DSScrollableContainerPropTypes
22
+ };
23
+ //# sourceMappingURL=react-desc-prop-types.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { WeakValidationMap } from 'react';\nimport { globalAttributesPropTypes, xstyledPropTypes, GlobalAttributesT, XstyledProps } from '@elliemae/ds-utilities';\n\nexport declare namespace DSScrollableContainerT {\n interface OptionalProps {\n children?: React.ReactNode;\n }\n export interface Props extends OptionalProps, XstyledProps, GlobalAttributesT<HTMLDivElement> {}\n}\n\nexport const DSScrollableContainerPropTypes = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n} as WeakValidationMap<unknown>;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;AAAA;ACCA;AASO,MAAM,iCAAiC,kCACzC,4BACA;",
6
+ "names": []
7
+ }