@elliemae/ds-tabs 3.14.0-rc.6 → 3.14.0-rc.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/exported-related/DSTab.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { tabPropTypes } from '../propTypes';\nimport type { DSTabT } from '../propTypes';\n\nconst DSTab = (props: DSTabT.Props): JSX.Element => <React.Fragment {...props} />;\n\nDSTab.propTypes = tabPropTypes as WeakValidationMap<unknown>;\nconst DSTabWithSchema = describe<DSTabT.Props>(DSTab);\nDSTabWithSchema.propTypes = tabPropTypes;\n\nexport { DSTab, DSTabWithSchema };\nexport default DSTab;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADM6B;AANpD,mBAAkB;AAElB,0BAAyB;AACzB,uBAA6B;AAG7B,MAAM,QAAQ,CAAC,UAAqC,4CAAC,aAAAA,QAAM,UAAN,EAAgB,GAAG,OAAO;AAE/E,MAAM,YAAY;AAClB,MAAM,sBAAkB,8BAAuB,KAAK;AACpD,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { tabPropTypes } from '../propTypes';\nimport type { DSTabT } from '../propTypes';\n\nconst DSTab = (props: DSTabT.Props): JSX.Element => <React.Fragment {...props} />;\n\nDSTab.propTypes = tabPropTypes as WeakValidationMap<unknown>;\nconst DSTabWithSchema = describe(DSTab);\nDSTabWithSchema.propTypes = tabPropTypes;\n\nexport { DSTab, DSTabWithSchema };\nexport default DSTab;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADM6B;AANpD,mBAAkB;AAElB,0BAAyB;AACzB,uBAA6B;AAG7B,MAAM,QAAQ,CAAC,UAAqC,4CAAC,aAAAA,QAAM,UAAN,EAAgB,GAAG,OAAO;AAE/E,MAAM,YAAY;AAClB,MAAM,sBAAkB,8BAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": ["React"]
7
7
  }
@@ -30,6 +30,7 @@ module.exports = __toCommonJS(TabsContent_exports);
30
30
  var React = __toESM(require("react"));
31
31
  var import_jsx_runtime = require("react/jsx-runtime");
32
32
  var import_react = require("react");
33
+ var import_ds_utilities = require("@elliemae/ds-utilities");
33
34
  var import_TabsPanels = require("../tabsPanel/TabsPanels");
34
35
  var import_TabBar = require("../tabBar/TabBar");
35
36
  var import_styles = require("./styles");
@@ -37,15 +38,28 @@ var import_DSTabsCTX = require("../../DSTabsCTX");
37
38
  var import_DSTabsDatatestid = require("../../DSTabsDatatestid");
38
39
  const TabsContent = () => {
39
40
  const {
41
+ props,
40
42
  props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent }
41
43
  } = (0, import_react.useContext)(import_DSTabsCTX.DSTabsContext);
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { ...containerProps, ref: innerRef, "data-testid": import_DSTabsDatatestid.DSTabsDatatestid.TABS_CONTAINER, children: [
43
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styles.StyledTabBarContainer, { "aria-label": tabsListAriaLabel, role: "tablist", children: [
44
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TabBar.TabBar, {}),
45
- TabBarExtraContent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TabBarExtraContent, {}) : null,
46
- tabBarExtraContent ? tabBarExtraContent : null
47
- ] }),
48
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TabsPanels.TabsPanels, {})
49
- ] });
44
+ const globalProps = (0, import_ds_utilities.useGetGlobalAttributes)(props);
45
+ const xstyledProps = (0, import_ds_utilities.useGetXstyledProps)(props);
46
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
47
+ "div",
48
+ {
49
+ ...globalProps,
50
+ ...xstyledProps,
51
+ ...containerProps,
52
+ ref: innerRef,
53
+ "data-testid": import_DSTabsDatatestid.DSTabsDatatestid.TABS_CONTAINER,
54
+ children: [
55
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styles.StyledTabBarContainer, { "aria-label": tabsListAriaLabel, role: "tablist", children: [
56
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TabBar.TabBar, {}),
57
+ TabBarExtraContent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TabBarExtraContent, {}) : null,
58
+ tabBarExtraContent ? tabBarExtraContent : null
59
+ ] }),
60
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TabsPanels.TabsPanels, {})
61
+ ]
62
+ }
63
+ );
50
64
  };
51
65
  //# sourceMappingURL=TabsContent.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/parts/tabsContent/TabsContent.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React, { useContext } from 'react';\nimport { TabsPanels } from '../tabsPanel/TabsPanels';\nimport { TabBar } from '../tabBar/TabBar';\nimport { StyledTabBarContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { DSTabsDatatestid } from '../../DSTabsDatatestid';\n\nexport const TabsContent = (): JSX.Element => {\n const {\n props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent },\n } = useContext(DSTabsContext);\n\n return (\n <div {...containerProps} ref={innerRef} data-testid={DSTabsDatatestid.TABS_CONTAINER}>\n <StyledTabBarContainer aria-label={tabsListAriaLabel} role=\"tablist\">\n <TabBar />\n {TabBarExtraContent ? <TabBarExtraContent /> : null}\n {tabBarExtraContent ? tabBarExtraContent : null}\n </StyledTabBarContainer>\n <TabsPanels />\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADcjB;AAdN,mBAAkC;AAClC,wBAA2B;AAC3B,oBAAuB;AACvB,oBAAsC;AACtC,uBAA8B;AAC9B,8BAAiC;AAE1B,MAAM,cAAc,MAAmB;AAC5C,QAAM;AAAA,IACJ,OAAO,EAAE,gBAAgB,UAAU,mBAAmB,oBAAoB,mBAAmB;AAAA,EAC/F,QAAI,yBAAW,8BAAa;AAE5B,SACE,6CAAC,SAAK,GAAG,gBAAgB,KAAK,UAAU,eAAa,yCAAiB,gBACpE;AAAA,iDAAC,uCAAsB,cAAY,mBAAmB,MAAK,WACzD;AAAA,kDAAC,wBAAO;AAAA,MACP,qBAAqB,4CAAC,sBAAmB,IAAK;AAAA,MAC9C,qBAAqB,qBAAqB;AAAA,OAC7C;AAAA,IACA,4CAAC,gCAAW;AAAA,KACd;AAEJ;",
4
+ "sourcesContent": ["import React, { useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-utilities';\nimport { TabsPanels } from '../tabsPanel/TabsPanels';\nimport { TabBar } from '../tabBar/TabBar';\nimport { StyledTabBarContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { DSTabsDatatestid } from '../../DSTabsDatatestid';\n\nexport const TabsContent = (): JSX.Element => {\n const {\n props,\n props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent },\n } = useContext(DSTabsContext);\n\n const globalProps = useGetGlobalAttributes(props);\n const xstyledProps = useGetXstyledProps(props);\n\n return (\n <div\n {...globalProps}\n {...xstyledProps}\n {...containerProps}\n ref={innerRef}\n data-testid={DSTabsDatatestid.TABS_CONTAINER}\n >\n <StyledTabBarContainer aria-label={tabsListAriaLabel} role=\"tablist\">\n <TabBar />\n {TabBarExtraContent ? <TabBarExtraContent /> : null}\n {tabBarExtraContent ? tabBarExtraContent : null}\n </StyledTabBarContainer>\n <TabsPanels />\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADyBjB;AAzBN,mBAAkC;AAClC,0BAA2D;AAC3D,wBAA2B;AAC3B,oBAAuB;AACvB,oBAAsC;AACtC,uBAA8B;AAC9B,8BAAiC;AAE1B,MAAM,cAAc,MAAmB;AAC5C,QAAM;AAAA,IACJ;AAAA,IACA,OAAO,EAAE,gBAAgB,UAAU,mBAAmB,oBAAoB,mBAAmB;AAAA,EAC/F,QAAI,yBAAW,8BAAa;AAE5B,QAAM,kBAAc,4CAAuB,KAAK;AAChD,QAAM,mBAAe,wCAAmB,KAAK;AAE7C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,KAAK;AAAA,MACL,eAAa,yCAAiB;AAAA,MAE9B;AAAA,qDAAC,uCAAsB,cAAY,mBAAmB,MAAK,WACzD;AAAA,sDAAC,wBAAO;AAAA,UACP,qBAAqB,4CAAC,sBAAmB,IAAK;AAAA,UAC9C,qBAAqB,qBAAqB;AAAA,WAC7C;AAAA,QACA,4CAAC,gCAAW;AAAA;AAAA;AAAA,EACd;AAEJ;",
6
6
  "names": []
7
7
  }
@@ -29,7 +29,8 @@ __export(TabsPanels_exports, {
29
29
  module.exports = __toCommonJS(TabsPanels_exports);
30
30
  var React = __toESM(require("react"));
31
31
  var import_jsx_runtime = require("react/jsx-runtime");
32
- var import_react = __toESM(require("react"));
32
+ var import_react = require("react");
33
+ var import_react2 = __toESM(require("react"));
33
34
  var import_react_swipeable_views = __toESM(require("react-swipeable-views"));
34
35
  var import_styles = require("./styles");
35
36
  var import_DSTabsCTX = require("../../DSTabsCTX");
@@ -38,10 +39,18 @@ const TabsPanels = () => {
38
39
  const {
39
40
  actualActiveTab,
40
41
  focusableTabsRef,
41
- props: { animated, enableMouseEvents, onlyRenderActiveTab, children: tabs, isDSMobile }
42
- } = (0, import_react.useContext)(import_DSTabsCTX.DSTabsContext);
42
+ props: {
43
+ animated,
44
+ enableMouseEvents,
45
+ onlyRenderActiveTab,
46
+ children: tabs,
47
+ isDSMobile,
48
+ tabPanelsProps,
49
+ swipeableViewsContainerProps
50
+ }
51
+ } = (0, import_react2.useContext)(import_DSTabsCTX.DSTabsContext);
43
52
  const { handleOnTabChange, handleOnMouseDown } = (0, import_useTabsCallbacks.useTabsCallbacks)();
44
- const handleOnChangeIndex = (0, import_react.useCallback)(
53
+ const handleOnChangeIndex = (0, import_react2.useCallback)(
45
54
  (index, indexLatest) => {
46
55
  if (!focusableTabsRef.current)
47
56
  return;
@@ -57,23 +66,25 @@ const TabsPanels = () => {
57
66
  },
58
67
  [actualActiveTab, focusableTabsRef, handleOnTabChange]
59
68
  );
60
- const firstSlideToShow = (0, import_react.useMemo)(() => {
61
- const childrenArray = import_react.default.Children.toArray(tabs);
69
+ const firstSlideToShow = (0, import_react2.useMemo)(() => {
70
+ const childrenArray = import_react2.default.Children.toArray(tabs);
62
71
  const index = childrenArray.filter((tab) => tab.props.disabled !== true).findIndex((tab) => tab.props.tabId === actualActiveTab);
63
72
  if (index === -1)
64
73
  return 0;
65
74
  return index;
66
75
  }, [actualActiveTab, tabs]);
67
- const panels = (0, import_react.useMemo)(
68
- () => import_react.default.Children.map(tabs, (tab) => {
76
+ const panels = (0, import_react2.useMemo)(
77
+ () => import_react2.default.Children.map(tabs, (tab) => {
69
78
  const { tabId: panelId = "", style, children: content, disabled } = tab.props;
70
79
  const isActive = actualActiveTab === panelId;
71
80
  const shouldRender = !onlyRenderActiveTab || isActive;
72
81
  if (disabled)
73
82
  return null;
74
- return shouldRender && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
83
+ return shouldRender && /* @__PURE__ */ (0, import_react.createElement)(
75
84
  import_styles.StyledPanelContainer,
76
85
  {
86
+ ...tabPanelsProps,
87
+ key: panelId,
77
88
  id: panelId,
78
89
  "aria-labelledby": `${panelId}-label`,
79
90
  "aria-hidden": !isActive,
@@ -82,19 +93,22 @@ const TabsPanels = () => {
82
93
  hide: !isActive,
83
94
  onMouseDown: handleOnMouseDown,
84
95
  role: "tabpanel",
85
- style,
86
- isDSMobile,
87
- children: content
96
+ style: {
97
+ ...tabPanelsProps?.style || {},
98
+ ...style || {}
99
+ },
100
+ isDSMobile
88
101
  },
89
- panelId
102
+ content
90
103
  );
91
104
  }),
92
- [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs]
105
+ [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs, tabPanelsProps]
93
106
  );
94
107
  if (animated) {
95
108
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
96
109
  import_react_swipeable_views.default,
97
110
  {
111
+ ...swipeableViewsContainerProps,
98
112
  enableMouseEvents,
99
113
  index: firstSlideToShow,
100
114
  onChangeIndex: handleOnChangeIndex,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/parts/tabsPanel/TabsPanels.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\nimport React, { useMemo, useContext, useCallback } from 'react';\nimport SwipeableViews from 'react-swipeable-views';\nimport { StyledPanelContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { useTabsCallbacks } from '../../utils/hooks/useTabsCallbacks';\nimport type { DSTabT } from '../../propTypes';\n\nexport const TabsPanels = (): JSX.Element => {\n const {\n actualActiveTab,\n focusableTabsRef,\n props: { animated, enableMouseEvents, onlyRenderActiveTab, children: tabs, isDSMobile },\n } = useContext(DSTabsContext);\n\n const { handleOnTabChange, handleOnMouseDown } = useTabsCallbacks();\n\n const handleOnChangeIndex = useCallback(\n (index: number, indexLatest: number) => {\n if (!focusableTabsRef.current) return;\n\n const offset = index - indexLatest;\n\n if (focusableTabsRef.current) {\n const currentIndexFocusable = focusableTabsRef.current?.findIndex((el) => el.dataset.tabId === actualActiveTab);\n\n const newFocusableIndex = currentIndexFocusable >= 0 ? currentIndexFocusable + offset : -1;\n\n if (\n newFocusableIndex < 0 ||\n newFocusableIndex > focusableTabsRef.current?.length ||\n !focusableTabsRef.current?.[newFocusableIndex]\n )\n return;\n handleOnTabChange(focusableTabsRef.current[newFocusableIndex].dataset?.tabId as string);\n\n // swiping does not trigger centerTab function inside handleOnTabChange because there is no event\n // by clicking we are manually forcing to center the tab\n\n focusableTabsRef.current[newFocusableIndex].click();\n }\n },\n [actualActiveTab, focusableTabsRef, handleOnTabChange],\n );\n\n const firstSlideToShow = useMemo(() => {\n const childrenArray = React.Children.toArray(tabs) as React.ReactElement<DSTabT.Props>[];\n const index = childrenArray\n .filter((tab) => tab.props.disabled !== true)\n .findIndex((tab) => tab.props.tabId === actualActiveTab);\n\n if (index === -1) return 0;\n return index;\n }, [actualActiveTab, tabs]);\n\n const panels = useMemo(\n () =>\n React.Children.map(tabs, (tab: React.ReactElement<DSTabT.Props>) => {\n const { tabId: panelId = '', style, children: content, disabled } = tab.props;\n const isActive = actualActiveTab === panelId;\n const shouldRender = !onlyRenderActiveTab || isActive;\n\n if (disabled) return null;\n return (\n shouldRender && (\n <StyledPanelContainer\n key={panelId}\n id={panelId}\n aria-labelledby={`${panelId}-label`}\n aria-hidden={!isActive}\n data-panel-id={panelId}\n data-testid=\"ds-tabs-tab-panel\"\n hide={!isActive}\n onMouseDown={handleOnMouseDown}\n role=\"tabpanel\"\n style={style}\n isDSMobile={isDSMobile}\n >\n {content}\n </StyledPanelContainer>\n )\n );\n }),\n [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs],\n );\n\n if (animated) {\n return (\n <SwipeableViews\n enableMouseEvents={enableMouseEvents}\n index={firstSlideToShow}\n onChangeIndex={handleOnChangeIndex}\n >\n {panels}\n </SwipeableViews>\n );\n }\n\n return <>{panels}</>;\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiEX;AAhEZ,mBAAwD;AACxD,mCAA2B;AAC3B,oBAAqC;AACrC,uBAA8B;AAC9B,8BAAiC;AAG1B,MAAM,aAAa,MAAmB;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO,EAAE,UAAU,mBAAmB,qBAAqB,UAAU,MAAM,WAAW;AAAA,EACxF,QAAI,yBAAW,8BAAa;AAE5B,QAAM,EAAE,mBAAmB,kBAAkB,QAAI,0CAAiB;AAElE,QAAM,0BAAsB;AAAA,IAC1B,CAAC,OAAe,gBAAwB;AACtC,UAAI,CAAC,iBAAiB;AAAS;AAE/B,YAAM,SAAS,QAAQ;AAEvB,UAAI,iBAAiB,SAAS;AAC5B,cAAM,wBAAwB,iBAAiB,SAAS,UAAU,CAAC,OAAO,GAAG,QAAQ,UAAU,eAAe;AAE9G,cAAM,oBAAoB,yBAAyB,IAAI,wBAAwB,SAAS;AAExF,YACE,oBAAoB,KACpB,oBAAoB,iBAAiB,SAAS,UAC9C,CAAC,iBAAiB,UAAU;AAE5B;AACF,0BAAkB,iBAAiB,QAAQ,mBAAmB,SAAS,KAAe;AAKtF,yBAAiB,QAAQ,mBAAmB,MAAM;AAAA,MACpD;AAAA,IACF;AAAA,IACA,CAAC,iBAAiB,kBAAkB,iBAAiB;AAAA,EACvD;AAEA,QAAM,uBAAmB,sBAAQ,MAAM;AACrC,UAAM,gBAAgB,aAAAA,QAAM,SAAS,QAAQ,IAAI;AACjD,UAAM,QAAQ,cACX,OAAO,CAAC,QAAQ,IAAI,MAAM,aAAa,IAAI,EAC3C,UAAU,CAAC,QAAQ,IAAI,MAAM,UAAU,eAAe;AAEzD,QAAI,UAAU;AAAI,aAAO;AACzB,WAAO;AAAA,EACT,GAAG,CAAC,iBAAiB,IAAI,CAAC;AAE1B,QAAM,aAAS;AAAA,IACb,MACE,aAAAA,QAAM,SAAS,IAAI,MAAM,CAAC,QAA0C;AAClE,YAAM,EAAE,OAAO,UAAU,IAAI,OAAO,UAAU,SAAS,SAAS,IAAI,IAAI;AACxE,YAAM,WAAW,oBAAoB;AACrC,YAAM,eAAe,CAAC,uBAAuB;AAE7C,UAAI;AAAU,eAAO;AACrB,aACE,gBACE;AAAA,QAAC;AAAA;AAAA,UAEC,IAAI;AAAA,UACJ,mBAAiB,GAAG;AAAA,UACpB,eAAa,CAAC;AAAA,UACd,iBAAe;AAAA,UACf,eAAY;AAAA,UACZ,MAAM,CAAC;AAAA,UACP,aAAa;AAAA,UACb,MAAK;AAAA,UACL;AAAA,UACA;AAAA,UAEC;AAAA;AAAA,QAZI;AAAA,MAaP;AAAA,IAGN,CAAC;AAAA,IACH,CAAC,iBAAiB,mBAAmB,YAAY,qBAAqB,IAAI;AAAA,EAC5E;AAEA,MAAI,UAAU;AACZ,WACE;AAAA,MAAC,6BAAAC;AAAA,MAAA;AAAA,QACC;AAAA,QACA,OAAO;AAAA,QACP,eAAe;AAAA,QAEd;AAAA;AAAA,IACH;AAAA,EAEJ;AAEA,SAAO,2EAAG,kBAAO;AACnB;",
6
- "names": ["React", "SwipeableViews"]
4
+ "sourcesContent": ["/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\nimport React, { useMemo, useContext, useCallback } from 'react';\nimport SwipeableViews from 'react-swipeable-views';\nimport { StyledPanelContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { useTabsCallbacks } from '../../utils/hooks/useTabsCallbacks';\nimport type { DSTabT } from '../../propTypes';\n\nexport const TabsPanels = (): JSX.Element => {\n const {\n actualActiveTab,\n focusableTabsRef,\n props: {\n animated,\n enableMouseEvents,\n onlyRenderActiveTab,\n children: tabs,\n isDSMobile,\n tabPanelsProps,\n swipeableViewsContainerProps,\n },\n } = useContext(DSTabsContext);\n\n const { handleOnTabChange, handleOnMouseDown } = useTabsCallbacks();\n\n const handleOnChangeIndex = useCallback(\n (index: number, indexLatest: number) => {\n if (!focusableTabsRef.current) return;\n\n const offset = index - indexLatest;\n\n if (focusableTabsRef.current) {\n const currentIndexFocusable = focusableTabsRef.current?.findIndex((el) => el.dataset.tabId === actualActiveTab);\n\n const newFocusableIndex = currentIndexFocusable >= 0 ? currentIndexFocusable + offset : -1;\n\n if (\n newFocusableIndex < 0 ||\n newFocusableIndex > focusableTabsRef.current?.length ||\n !focusableTabsRef.current?.[newFocusableIndex]\n )\n return;\n handleOnTabChange(focusableTabsRef.current[newFocusableIndex].dataset?.tabId as string);\n\n // swiping does not trigger centerTab function inside handleOnTabChange because there is no event\n // by clicking we are manually forcing to center the tab\n\n focusableTabsRef.current[newFocusableIndex].click();\n }\n },\n [actualActiveTab, focusableTabsRef, handleOnTabChange],\n );\n\n const firstSlideToShow = useMemo(() => {\n const childrenArray = React.Children.toArray(tabs) as React.ReactElement<DSTabT.Props>[];\n const index = childrenArray\n .filter((tab) => tab.props.disabled !== true)\n .findIndex((tab) => tab.props.tabId === actualActiveTab);\n\n if (index === -1) return 0;\n return index;\n }, [actualActiveTab, tabs]);\n\n const panels = useMemo(\n () =>\n React.Children.map(tabs, (tab: React.ReactElement<DSTabT.Props>) => {\n const { tabId: panelId = '', style, children: content, disabled } = tab.props;\n const isActive = actualActiveTab === panelId;\n const shouldRender = !onlyRenderActiveTab || isActive;\n\n if (disabled) return null;\n return (\n shouldRender && (\n <StyledPanelContainer\n {...tabPanelsProps}\n key={panelId}\n id={panelId}\n aria-labelledby={`${panelId}-label`}\n aria-hidden={!isActive}\n data-panel-id={panelId}\n data-testid=\"ds-tabs-tab-panel\"\n hide={!isActive}\n onMouseDown={handleOnMouseDown}\n role=\"tabpanel\"\n style={{\n ...(tabPanelsProps?.style || {}),\n ...(style || {}),\n }}\n isDSMobile={isDSMobile}\n >\n {content}\n </StyledPanelContainer>\n )\n );\n }),\n [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs, tabPanelsProps],\n );\n\n if (animated) {\n return (\n <SwipeableViews\n {...swipeableViewsContainerProps}\n enableMouseEvents={enableMouseEvents}\n index={firstSlideToShow}\n onChangeIndex={handleOnChangeIndex}\n >\n {panels}\n </SwipeableViews>\n );\n }\n\n return <>{panels}</>;\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADoGjB;AA3BM;AAxEZ,IAAAA,gBAAwD;AACxD,mCAA2B;AAC3B,oBAAqC;AACrC,uBAA8B;AAC9B,8BAAiC;AAG1B,MAAM,aAAa,MAAmB;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF,QAAI,0BAAW,8BAAa;AAE5B,QAAM,EAAE,mBAAmB,kBAAkB,QAAI,0CAAiB;AAElE,QAAM,0BAAsB;AAAA,IAC1B,CAAC,OAAe,gBAAwB;AACtC,UAAI,CAAC,iBAAiB;AAAS;AAE/B,YAAM,SAAS,QAAQ;AAEvB,UAAI,iBAAiB,SAAS;AAC5B,cAAM,wBAAwB,iBAAiB,SAAS,UAAU,CAAC,OAAO,GAAG,QAAQ,UAAU,eAAe;AAE9G,cAAM,oBAAoB,yBAAyB,IAAI,wBAAwB,SAAS;AAExF,YACE,oBAAoB,KACpB,oBAAoB,iBAAiB,SAAS,UAC9C,CAAC,iBAAiB,UAAU;AAE5B;AACF,0BAAkB,iBAAiB,QAAQ,mBAAmB,SAAS,KAAe;AAKtF,yBAAiB,QAAQ,mBAAmB,MAAM;AAAA,MACpD;AAAA,IACF;AAAA,IACA,CAAC,iBAAiB,kBAAkB,iBAAiB;AAAA,EACvD;AAEA,QAAM,uBAAmB,uBAAQ,MAAM;AACrC,UAAM,gBAAgB,cAAAC,QAAM,SAAS,QAAQ,IAAI;AACjD,UAAM,QAAQ,cACX,OAAO,CAAC,QAAQ,IAAI,MAAM,aAAa,IAAI,EAC3C,UAAU,CAAC,QAAQ,IAAI,MAAM,UAAU,eAAe;AAEzD,QAAI,UAAU;AAAI,aAAO;AACzB,WAAO;AAAA,EACT,GAAG,CAAC,iBAAiB,IAAI,CAAC;AAE1B,QAAM,aAAS;AAAA,IACb,MACE,cAAAA,QAAM,SAAS,IAAI,MAAM,CAAC,QAA0C;AAClE,YAAM,EAAE,OAAO,UAAU,IAAI,OAAO,UAAU,SAAS,SAAS,IAAI,IAAI;AACxE,YAAM,WAAW,oBAAoB;AACrC,YAAM,eAAe,CAAC,uBAAuB;AAE7C,UAAI;AAAU,eAAO;AACrB,aACE,gBACE;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ,KAAK;AAAA,UACL,IAAI;AAAA,UACJ,mBAAiB,GAAG;AAAA,UACpB,eAAa,CAAC;AAAA,UACd,iBAAe;AAAA,UACf,eAAY;AAAA,UACZ,MAAM,CAAC;AAAA,UACP,aAAa;AAAA,UACb,MAAK;AAAA,UACL,OAAO;AAAA,YACL,GAAI,gBAAgB,SAAS,CAAC;AAAA,YAC9B,GAAI,SAAS,CAAC;AAAA,UAChB;AAAA,UACA;AAAA;AAAA,QAEC;AAAA,MACH;AAAA,IAGN,CAAC;AAAA,IACH,CAAC,iBAAiB,mBAAmB,YAAY,qBAAqB,MAAM,cAAc;AAAA,EAC5F;AAEA,MAAI,UAAU;AACZ,WACE;AAAA,MAAC,6BAAAC;AAAA,MAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,OAAO;AAAA,QACP,eAAe;AAAA,QAEd;AAAA;AAAA,IACH;AAAA,EAEJ;AAEA,SAAO,2EAAG,kBAAO;AACnB;",
6
+ "names": ["import_react", "React", "SwipeableViews"]
7
7
  }
@@ -41,6 +41,8 @@ const tabPropTypes = {
41
41
  disabled: import_ds_utilities.PropTypes.bool.description("Disables Tab.").defaultValue(false)
42
42
  };
43
43
  const tabsPropTypes = {
44
+ ...import_ds_utilities.globalAttributesPropTypes,
45
+ ...import_ds_utilities.xstyledPropTypes,
44
46
  animated: import_ds_utilities.PropTypes.bool.description("Whether the Tab transition should animate or not.").defaultValue(true),
45
47
  enableMouseEvents: import_ds_utilities.PropTypes.bool.description("Enables Tab transition with mouse drag events.").defaultValue(false),
46
48
  allowTextSelection: import_ds_utilities.PropTypes.bool.description("Allows text selection when mouse drag events are active.").defaultValue(false),
@@ -54,7 +56,9 @@ const tabsPropTypes = {
54
56
  children: import_ds_utilities.PropTypes.node.description("Use DSTab component as children.").isRequired,
55
57
  tabsListAriaLabel: import_ds_utilities.PropTypes.string.description("Aria label for the list.").defaultValue("Tab list."),
56
58
  containerProps: import_ds_utilities.PropTypes.object.description("Additional properties for the container.").defaultValue({}),
57
- innerRef: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.shape({ current: import_ds_utilities.PropTypes.any })]).description("Ref to the container.").defaultValue(void 0)
59
+ innerRef: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.func, import_ds_utilities.PropTypes.shape({ current: import_ds_utilities.PropTypes.any })]).description("Ref to the container.").defaultValue(void 0),
60
+ tabPanelsProps: import_ds_utilities.PropTypes.object.description("Additional properties for the tab container.").defaultValue({}),
61
+ swipeableViewsContainerProps: import_ds_utilities.PropTypes.object.description("Additional properties for the swipeable container.").defaultValue({})
58
62
  };
59
63
  const tabsDefaultProps = {
60
64
  containerProps: {},
@@ -70,6 +74,8 @@ const tabsDefaultProps = {
70
74
  showSelectionIndicator: true,
71
75
  children: [],
72
76
  fixedTabsHeaders: false,
73
- showSeparator: true
77
+ showSeparator: true,
78
+ tabPanelsProps: {},
79
+ swipeableViewsContainerProps: {}
74
80
  };
75
81
  //# sourceMappingURL=propTypes.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/propTypes.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes } from '@elliemae/ds-utilities';\nimport { TabTypes, TabTypesValuesAsArray } from './utils/constants';\nimport type { DSTabsInternalsT } from './sharedTypes';\n\nconst noop = (): void => {};\n\nexport declare namespace DSTabT {\n export interface PropsOptional {\n style?: Record<string, unknown>;\n title?: string;\n required?: boolean;\n disabled?: boolean;\n ref?: React.MutableRefObject<HTMLButtonElement>;\n onClick?: (tabId: string | number, e: React.MouseEvent) => null | void;\n onKeyDown?: (e: React.KeyboardEvent) => null | void;\n }\n\n export interface PropsRequired {\n children: React.ReactNode;\n tabId: string | number;\n }\n\n export interface Props extends PropsOptional, PropsRequired {}\n}\n\nexport declare namespace DSTabsT {\n export interface DefaultProps {\n containerProps: Record<string, unknown>;\n animated: boolean;\n enableMouseEvents: boolean;\n allowTextSelection: boolean;\n onTabChange: (tabId: string | number, e?: React.MouseEvent) => void;\n tabsListAriaLabel: string;\n type: DSTabsInternalsT.TabTypesT;\n children: React.ReactElement<DSTabT.Props>[];\n onlyRenderActiveTab: boolean;\n fixedTabsHeaders: boolean;\n withCarousel: boolean;\n isDSMobile: boolean;\n showSelectionIndicator: boolean;\n showSeparator: boolean;\n }\n\n export interface PropsOptional {\n firstSubtabRef?: React.MutableRefObject<HTMLElement>;\n lastTabRef?: React.MutableRefObject<HTMLElement>;\n TabBarExtraContent?: React.ComponentType;\n tabBarExtraContent?: React.ReactNode;\n activeTab?: string;\n innerRef?: React.MutableRefObject<HTMLDivElement>;\n }\n\n export interface Props extends Partial<DefaultProps>, PropsOptional {}\n\n export interface InternalProps extends DefaultProps, PropsOptional {}\n}\n\nexport const tabPropTypes = {\n tabId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('Unique Tab id.').defaultValue(''),\n title: PropTypes.string.description('Tab title.').defaultValue(''),\n required: PropTypes.bool.description('Show a required mark next to the title.').defaultValue(false),\n disabled: PropTypes.bool.description('Disables Tab.').defaultValue(false),\n};\n\nexport const tabsPropTypes = {\n animated: PropTypes.bool.description('Whether the Tab transition should animate or not.').defaultValue(true),\n enableMouseEvents: PropTypes.bool.description('Enables Tab transition with mouse drag events.').defaultValue(false),\n allowTextSelection: PropTypes.bool\n .description('Allows text selection when mouse drag events are active.')\n .defaultValue(false),\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n type: PropTypes.oneOf(TabTypesValuesAsArray).description('Tab type.').defaultValue(TabTypesValuesAsArray[0]),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tab Bar.').defaultValue(undefined),\n TabBarExtraContent: PropTypes.func\n .description('Extra content next to the Tab Bar as a react component instead of JSX')\n .defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n withCarousel: PropTypes.bool.description('Activate carousel behavior.').defaultValue(false),\n activeTab: PropTypes.string\n .description('Passing a value makes DSTabs a controlled component.')\n .defaultValue('First DSTab children.'),\n children: PropTypes.node.description('Use DSTab component as children.').isRequired,\n tabsListAriaLabel: PropTypes.string.description('Aria label for the list.').defaultValue('Tab list.'),\n containerProps: PropTypes.object.description('Additional properties for the container.').defaultValue({}),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })])\n .description('Ref to the container.')\n .defaultValue(undefined),\n};\n\nexport const tabsDefaultProps: DSTabsT.DefaultProps = {\n containerProps: {},\n animated: true,\n enableMouseEvents: false,\n allowTextSelection: false,\n onTabChange: noop,\n tabsListAriaLabel: 'Tab list',\n type: TabTypes.NORMAL,\n onlyRenderActiveTab: false,\n withCarousel: false,\n isDSMobile: false,\n showSelectionIndicator: true,\n children: [],\n fixedTabsHeaders: false,\n showSeparator: true,\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAA0B;AAC1B,uBAAgD;AAGhD,MAAM,OAAO,MAAY;AAAC;AAqDnB,MAAM,eAAe;AAAA,EAC1B,OAAO,8BAAU,UAAU,CAAC,8BAAU,QAAQ,8BAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB,EAAE,aAAa,EAAE;AAAA,EAC9G,OAAO,8BAAU,OAAO,YAAY,YAAY,EAAE,aAAa,EAAE;AAAA,EACjE,UAAU,8BAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAClG,UAAU,8BAAU,KAAK,YAAY,eAAe,EAAE,aAAa,KAAK;AAC1E;AAEO,MAAM,gBAAgB;AAAA,EAC3B,UAAU,8BAAU,KAAK,YAAY,mDAAmD,EAAE,aAAa,IAAI;AAAA,EAC3G,mBAAmB,8BAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,KAAK;AAAA,EAClH,oBAAoB,8BAAU,KAC3B,YAAY,0DAA0D,EACtE,aAAa,KAAK;AAAA,EACrB,aAAa,8BAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,MAAM,8BAAU,MAAM,sCAAqB,EAAE,YAAY,WAAW,EAAE,aAAa,uCAAsB,EAAE;AAAA,EAC3G,oBAAoB,8BAAU,QAAQ,YAAY,oCAAoC,EAAE,aAAa,MAAS;AAAA,EAC9G,oBAAoB,8BAAU,KAC3B,YAAY,uEAAuE,EACnF,aAAa,MAAS;AAAA,EACzB,qBAAqB,8BAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,cAAc,8BAAU,KAAK,YAAY,6BAA6B,EAAE,aAAa,KAAK;AAAA,EAC1F,WAAW,8BAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,8BAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,8BAAU,OAAO,YAAY,0BAA0B,EAAE,aAAa,WAAW;AAAA,EACpG,gBAAgB,8BAAU,OAAO,YAAY,0CAA0C,EAAE,aAAa,CAAC,CAAC;AAAA,EACxG,UAAU,8BAAU,UAAU,CAAC,8BAAU,MAAM,8BAAU,MAAM,EAAE,SAAS,8BAAU,IAAI,CAAC,CAAC,CAAC,EACxF,YAAY,uBAAuB,EACnC,aAAa,MAAS;AAC3B;AAEO,MAAM,mBAAyC;AAAA,EACpD,gBAAgB,CAAC;AAAA,EACjB,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,MAAM,0BAAS;AAAA,EACf,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,wBAAwB;AAAA,EACxB,UAAU,CAAC;AAAA,EACX,kBAAkB;AAAA,EAClB,eAAe;AACjB;",
4
+ "sourcesContent": ["import { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-utilities';\nimport { TabTypes, TabTypesValuesAsArray } from './utils/constants';\nimport type { DSTabsInternalsT } from './sharedTypes';\nimport type { XstyledProps, GlobalAttributesT } from '@elliemae/ds-utilities';\nimport type { SwipeableViewsProps } from 'react-swipeable-views';\n\nconst noop = (): void => {};\n\nexport declare namespace DSTabT {\n export interface PropsOptional {\n style?: Record<string, unknown>;\n title?: string;\n required?: boolean;\n disabled?: boolean;\n ref?: React.MutableRefObject<HTMLButtonElement>;\n onClick?: (tabId: string | number, e: React.MouseEvent) => null | void;\n onKeyDown?: (e: React.KeyboardEvent) => null | void;\n }\n\n export interface PropsRequired {\n children: React.ReactNode;\n tabId: string | number;\n }\n\n export interface Props extends PropsOptional, PropsRequired {}\n}\n\nexport declare namespace DSTabsT {\n export interface DefaultProps {\n containerProps: Record<string, unknown>;\n animated: boolean;\n enableMouseEvents: boolean;\n allowTextSelection: boolean;\n onTabChange: (tabId: string | number, e?: React.MouseEvent) => void;\n tabsListAriaLabel: string;\n type: DSTabsInternalsT.TabTypesT;\n children: React.ReactElement<DSTabT.Props>[];\n onlyRenderActiveTab: boolean;\n fixedTabsHeaders: boolean;\n withCarousel: boolean;\n isDSMobile: boolean;\n showSelectionIndicator: boolean;\n showSeparator: boolean;\n tabPanelsProps: GlobalAttributesT<HTMLDivElement>;\n swipeableViewsContainerProps: SwipeableViewsProps;\n }\n\n export interface PropsOptional {\n firstSubtabRef?: React.MutableRefObject<HTMLElement>;\n lastTabRef?: React.MutableRefObject<HTMLElement>;\n TabBarExtraContent?: React.ComponentType;\n tabBarExtraContent?: React.ReactNode;\n activeTab?: string;\n innerRef?: React.MutableRefObject<HTMLDivElement>;\n }\n\n export interface Props\n extends Partial<DefaultProps>,\n PropsOptional,\n Omit<GlobalAttributesT<HTMLDivElement>, keyof DefaultProps | keyof PropsOptional | keyof DefaultProps>,\n XstyledProps {}\n\n export interface InternalProps extends DefaultProps, PropsOptional {}\n}\n\nexport const tabPropTypes = {\n tabId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('Unique Tab id.').defaultValue(''),\n title: PropTypes.string.description('Tab title.').defaultValue(''),\n required: PropTypes.bool.description('Show a required mark next to the title.').defaultValue(false),\n disabled: PropTypes.bool.description('Disables Tab.').defaultValue(false),\n};\n\nexport const tabsPropTypes = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n animated: PropTypes.bool.description('Whether the Tab transition should animate or not.').defaultValue(true),\n enableMouseEvents: PropTypes.bool.description('Enables Tab transition with mouse drag events.').defaultValue(false),\n allowTextSelection: PropTypes.bool\n .description('Allows text selection when mouse drag events are active.')\n .defaultValue(false),\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n type: PropTypes.oneOf(TabTypesValuesAsArray).description('Tab type.').defaultValue(TabTypesValuesAsArray[0]),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tab Bar.').defaultValue(undefined),\n TabBarExtraContent: PropTypes.func\n .description('Extra content next to the Tab Bar as a react component instead of JSX')\n .defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n withCarousel: PropTypes.bool.description('Activate carousel behavior.').defaultValue(false),\n activeTab: PropTypes.string\n .description('Passing a value makes DSTabs a controlled component.')\n .defaultValue('First DSTab children.'),\n children: PropTypes.node.description('Use DSTab component as children.').isRequired,\n tabsListAriaLabel: PropTypes.string.description('Aria label for the list.').defaultValue('Tab list.'),\n containerProps: PropTypes.object.description('Additional properties for the container.').defaultValue({}),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })])\n .description('Ref to the container.')\n .defaultValue(undefined),\n tabPanelsProps: PropTypes.object.description('Additional properties for the tab container.').defaultValue({}),\n swipeableViewsContainerProps: PropTypes.object\n .description('Additional properties for the swipeable container.')\n .defaultValue({}),\n};\n\nexport const tabsDefaultProps: DSTabsT.DefaultProps = {\n containerProps: {},\n animated: true,\n enableMouseEvents: false,\n allowTextSelection: false,\n onTabChange: noop,\n tabsListAriaLabel: 'Tab list',\n type: TabTypes.NORMAL,\n onlyRenderActiveTab: false,\n withCarousel: false,\n isDSMobile: false,\n showSelectionIndicator: true,\n children: [],\n fixedTabsHeaders: false,\n showSeparator: true,\n tabPanelsProps: {},\n swipeableViewsContainerProps: {},\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAuE;AACvE,uBAAgD;AAKhD,MAAM,OAAO,MAAY;AAAC;AA2DnB,MAAM,eAAe;AAAA,EAC1B,OAAO,8BAAU,UAAU,CAAC,8BAAU,QAAQ,8BAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB,EAAE,aAAa,EAAE;AAAA,EAC9G,OAAO,8BAAU,OAAO,YAAY,YAAY,EAAE,aAAa,EAAE;AAAA,EACjE,UAAU,8BAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAClG,UAAU,8BAAU,KAAK,YAAY,eAAe,EAAE,aAAa,KAAK;AAC1E;AAEO,MAAM,gBAAgB;AAAA,EAC3B,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,8BAAU,KAAK,YAAY,mDAAmD,EAAE,aAAa,IAAI;AAAA,EAC3G,mBAAmB,8BAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,KAAK;AAAA,EAClH,oBAAoB,8BAAU,KAC3B,YAAY,0DAA0D,EACtE,aAAa,KAAK;AAAA,EACrB,aAAa,8BAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,MAAM,8BAAU,MAAM,sCAAqB,EAAE,YAAY,WAAW,EAAE,aAAa,uCAAsB,EAAE;AAAA,EAC3G,oBAAoB,8BAAU,QAAQ,YAAY,oCAAoC,EAAE,aAAa,MAAS;AAAA,EAC9G,oBAAoB,8BAAU,KAC3B,YAAY,uEAAuE,EACnF,aAAa,MAAS;AAAA,EACzB,qBAAqB,8BAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,cAAc,8BAAU,KAAK,YAAY,6BAA6B,EAAE,aAAa,KAAK;AAAA,EAC1F,WAAW,8BAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,8BAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,8BAAU,OAAO,YAAY,0BAA0B,EAAE,aAAa,WAAW;AAAA,EACpG,gBAAgB,8BAAU,OAAO,YAAY,0CAA0C,EAAE,aAAa,CAAC,CAAC;AAAA,EACxG,UAAU,8BAAU,UAAU,CAAC,8BAAU,MAAM,8BAAU,MAAM,EAAE,SAAS,8BAAU,IAAI,CAAC,CAAC,CAAC,EACxF,YAAY,uBAAuB,EACnC,aAAa,MAAS;AAAA,EACzB,gBAAgB,8BAAU,OAAO,YAAY,8CAA8C,EAAE,aAAa,CAAC,CAAC;AAAA,EAC5G,8BAA8B,8BAAU,OACrC,YAAY,oDAAoD,EAChE,aAAa,CAAC,CAAC;AACpB;AAEO,MAAM,mBAAyC;AAAA,EACpD,gBAAgB,CAAC;AAAA,EACjB,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,MAAM,0BAAS;AAAA,EACf,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,wBAAwB;AAAA,EACxB,UAAU,CAAC;AAAA,EACX,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB,CAAC;AAAA,EACjB,8BAA8B,CAAC;AACjC;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/exported-related/DSTab.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { tabPropTypes } from '../propTypes';\nimport type { DSTabT } from '../propTypes';\n\nconst DSTab = (props: DSTabT.Props): JSX.Element => <React.Fragment {...props} />;\n\nDSTab.propTypes = tabPropTypes as WeakValidationMap<unknown>;\nconst DSTabWithSchema = describe<DSTabT.Props>(DSTab);\nDSTabWithSchema.propTypes = tabPropTypes;\n\nexport { DSTab, DSTabWithSchema };\nexport default DSTab;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACM6B;AANpD,OAAOA,YAAW;AAElB,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAG7B,MAAM,QAAQ,CAAC,UAAqC,oBAACA,OAAM,UAAN,EAAgB,GAAG,OAAO;AAE/E,MAAM,YAAY;AAClB,MAAM,kBAAkB,SAAuB,KAAK;AACpD,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { tabPropTypes } from '../propTypes';\nimport type { DSTabT } from '../propTypes';\n\nconst DSTab = (props: DSTabT.Props): JSX.Element => <React.Fragment {...props} />;\n\nDSTab.propTypes = tabPropTypes as WeakValidationMap<unknown>;\nconst DSTabWithSchema = describe(DSTab);\nDSTabWithSchema.propTypes = tabPropTypes;\n\nexport { DSTab, DSTabWithSchema };\nexport default DSTab;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACM6B;AANpD,OAAOA,YAAW;AAElB,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAG7B,MAAM,QAAQ,CAAC,UAAqC,oBAACA,OAAM,UAAN,EAAgB,GAAG,OAAO;AAE/E,MAAM,YAAY;AAClB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": ["React"]
7
7
  }
@@ -1,6 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useContext } from "react";
4
+ import { useGetGlobalAttributes, useGetXstyledProps } from "@elliemae/ds-utilities";
4
5
  import { TabsPanels } from "../tabsPanel/TabsPanels";
5
6
  import { TabBar } from "../tabBar/TabBar";
6
7
  import { StyledTabBarContainer } from "./styles";
@@ -8,16 +9,29 @@ import { DSTabsContext } from "../../DSTabsCTX";
8
9
  import { DSTabsDatatestid } from "../../DSTabsDatatestid";
9
10
  const TabsContent = () => {
10
11
  const {
12
+ props,
11
13
  props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent }
12
14
  } = useContext(DSTabsContext);
13
- return /* @__PURE__ */ jsxs("div", { ...containerProps, ref: innerRef, "data-testid": DSTabsDatatestid.TABS_CONTAINER, children: [
14
- /* @__PURE__ */ jsxs(StyledTabBarContainer, { "aria-label": tabsListAriaLabel, role: "tablist", children: [
15
- /* @__PURE__ */ jsx(TabBar, {}),
16
- TabBarExtraContent ? /* @__PURE__ */ jsx(TabBarExtraContent, {}) : null,
17
- tabBarExtraContent ? tabBarExtraContent : null
18
- ] }),
19
- /* @__PURE__ */ jsx(TabsPanels, {})
20
- ] });
15
+ const globalProps = useGetGlobalAttributes(props);
16
+ const xstyledProps = useGetXstyledProps(props);
17
+ return /* @__PURE__ */ jsxs(
18
+ "div",
19
+ {
20
+ ...globalProps,
21
+ ...xstyledProps,
22
+ ...containerProps,
23
+ ref: innerRef,
24
+ "data-testid": DSTabsDatatestid.TABS_CONTAINER,
25
+ children: [
26
+ /* @__PURE__ */ jsxs(StyledTabBarContainer, { "aria-label": tabsListAriaLabel, role: "tablist", children: [
27
+ /* @__PURE__ */ jsx(TabBar, {}),
28
+ TabBarExtraContent ? /* @__PURE__ */ jsx(TabBarExtraContent, {}) : null,
29
+ tabBarExtraContent ? tabBarExtraContent : null
30
+ ] }),
31
+ /* @__PURE__ */ jsx(TabsPanels, {})
32
+ ]
33
+ }
34
+ );
21
35
  };
22
36
  export {
23
37
  TabsContent
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/tabsContent/TabsContent.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useContext } from 'react';\nimport { TabsPanels } from '../tabsPanel/TabsPanels';\nimport { TabBar } from '../tabBar/TabBar';\nimport { StyledTabBarContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { DSTabsDatatestid } from '../../DSTabsDatatestid';\n\nexport const TabsContent = (): JSX.Element => {\n const {\n props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent },\n } = useContext(DSTabsContext);\n\n return (\n <div {...containerProps} ref={innerRef} data-testid={DSTabsDatatestid.TABS_CONTAINER}>\n <StyledTabBarContainer aria-label={tabsListAriaLabel} role=\"tablist\">\n <TabBar />\n {TabBarExtraContent ? <TabBarExtraContent /> : null}\n {tabBarExtraContent ? tabBarExtraContent : null}\n </StyledTabBarContainer>\n <TabsPanels />\n </div>\n );\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACcjB,SACE,KADF;AAdN,SAAgB,kBAAkB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,cAAc;AACvB,SAAS,6BAA6B;AACtC,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AAE1B,MAAM,cAAc,MAAmB;AAC5C,QAAM;AAAA,IACJ,OAAO,EAAE,gBAAgB,UAAU,mBAAmB,oBAAoB,mBAAmB;AAAA,EAC/F,IAAI,WAAW,aAAa;AAE5B,SACE,qBAAC,SAAK,GAAG,gBAAgB,KAAK,UAAU,eAAa,iBAAiB,gBACpE;AAAA,yBAAC,yBAAsB,cAAY,mBAAmB,MAAK,WACzD;AAAA,0BAAC,UAAO;AAAA,MACP,qBAAqB,oBAAC,sBAAmB,IAAK;AAAA,MAC9C,qBAAqB,qBAAqB;AAAA,OAC7C;AAAA,IACA,oBAAC,cAAW;AAAA,KACd;AAEJ;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-utilities';\nimport { TabsPanels } from '../tabsPanel/TabsPanels';\nimport { TabBar } from '../tabBar/TabBar';\nimport { StyledTabBarContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { DSTabsDatatestid } from '../../DSTabsDatatestid';\n\nexport const TabsContent = (): JSX.Element => {\n const {\n props,\n props: { containerProps, innerRef, tabsListAriaLabel, tabBarExtraContent, TabBarExtraContent },\n } = useContext(DSTabsContext);\n\n const globalProps = useGetGlobalAttributes(props);\n const xstyledProps = useGetXstyledProps(props);\n\n return (\n <div\n {...globalProps}\n {...xstyledProps}\n {...containerProps}\n ref={innerRef}\n data-testid={DSTabsDatatestid.TABS_CONTAINER}\n >\n <StyledTabBarContainer aria-label={tabsListAriaLabel} role=\"tablist\">\n <TabBar />\n {TabBarExtraContent ? <TabBarExtraContent /> : null}\n {tabBarExtraContent ? tabBarExtraContent : null}\n </StyledTabBarContainer>\n <TabsPanels />\n </div>\n );\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACyBjB,SACE,KADF;AAzBN,SAAgB,kBAAkB;AAClC,SAAS,wBAAwB,0BAA0B;AAC3D,SAAS,kBAAkB;AAC3B,SAAS,cAAc;AACvB,SAAS,6BAA6B;AACtC,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AAE1B,MAAM,cAAc,MAAmB;AAC5C,QAAM;AAAA,IACJ;AAAA,IACA,OAAO,EAAE,gBAAgB,UAAU,mBAAmB,oBAAoB,mBAAmB;AAAA,EAC/F,IAAI,WAAW,aAAa;AAE5B,QAAM,cAAc,uBAAuB,KAAK;AAChD,QAAM,eAAe,mBAAmB,KAAK;AAE7C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,KAAK;AAAA,MACL,eAAa,iBAAiB;AAAA,MAE9B;AAAA,6BAAC,yBAAsB,cAAY,mBAAmB,MAAK,WACzD;AAAA,8BAAC,UAAO;AAAA,UACP,qBAAqB,oBAAC,sBAAmB,IAAK;AAAA,UAC9C,qBAAqB,qBAAqB;AAAA,WAC7C;AAAA,QACA,oBAAC,cAAW;AAAA;AAAA;AAAA,EACd;AAEJ;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Fragment, jsx } from "react/jsx-runtime";
3
+ import { createElement } from "react";
3
4
  import React2, { useMemo, useContext, useCallback } from "react";
4
5
  import SwipeableViews from "react-swipeable-views";
5
6
  import { StyledPanelContainer } from "./styles";
@@ -9,7 +10,15 @@ const TabsPanels = () => {
9
10
  const {
10
11
  actualActiveTab,
11
12
  focusableTabsRef,
12
- props: { animated, enableMouseEvents, onlyRenderActiveTab, children: tabs, isDSMobile }
13
+ props: {
14
+ animated,
15
+ enableMouseEvents,
16
+ onlyRenderActiveTab,
17
+ children: tabs,
18
+ isDSMobile,
19
+ tabPanelsProps,
20
+ swipeableViewsContainerProps
21
+ }
13
22
  } = useContext(DSTabsContext);
14
23
  const { handleOnTabChange, handleOnMouseDown } = useTabsCallbacks();
15
24
  const handleOnChangeIndex = useCallback(
@@ -42,9 +51,11 @@ const TabsPanels = () => {
42
51
  const shouldRender = !onlyRenderActiveTab || isActive;
43
52
  if (disabled)
44
53
  return null;
45
- return shouldRender && /* @__PURE__ */ jsx(
54
+ return shouldRender && /* @__PURE__ */ createElement(
46
55
  StyledPanelContainer,
47
56
  {
57
+ ...tabPanelsProps,
58
+ key: panelId,
48
59
  id: panelId,
49
60
  "aria-labelledby": `${panelId}-label`,
50
61
  "aria-hidden": !isActive,
@@ -53,19 +64,22 @@ const TabsPanels = () => {
53
64
  hide: !isActive,
54
65
  onMouseDown: handleOnMouseDown,
55
66
  role: "tabpanel",
56
- style,
57
- isDSMobile,
58
- children: content
67
+ style: {
68
+ ...tabPanelsProps?.style || {},
69
+ ...style || {}
70
+ },
71
+ isDSMobile
59
72
  },
60
- panelId
73
+ content
61
74
  );
62
75
  }),
63
- [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs]
76
+ [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs, tabPanelsProps]
64
77
  );
65
78
  if (animated) {
66
79
  return /* @__PURE__ */ jsx(
67
80
  SwipeableViews,
68
81
  {
82
+ ...swipeableViewsContainerProps,
69
83
  enableMouseEvents,
70
84
  index: firstSlideToShow,
71
85
  onChangeIndex: handleOnChangeIndex,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/tabsPanel/TabsPanels.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\nimport React, { useMemo, useContext, useCallback } from 'react';\nimport SwipeableViews from 'react-swipeable-views';\nimport { StyledPanelContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { useTabsCallbacks } from '../../utils/hooks/useTabsCallbacks';\nimport type { DSTabT } from '../../propTypes';\n\nexport const TabsPanels = (): JSX.Element => {\n const {\n actualActiveTab,\n focusableTabsRef,\n props: { animated, enableMouseEvents, onlyRenderActiveTab, children: tabs, isDSMobile },\n } = useContext(DSTabsContext);\n\n const { handleOnTabChange, handleOnMouseDown } = useTabsCallbacks();\n\n const handleOnChangeIndex = useCallback(\n (index: number, indexLatest: number) => {\n if (!focusableTabsRef.current) return;\n\n const offset = index - indexLatest;\n\n if (focusableTabsRef.current) {\n const currentIndexFocusable = focusableTabsRef.current?.findIndex((el) => el.dataset.tabId === actualActiveTab);\n\n const newFocusableIndex = currentIndexFocusable >= 0 ? currentIndexFocusable + offset : -1;\n\n if (\n newFocusableIndex < 0 ||\n newFocusableIndex > focusableTabsRef.current?.length ||\n !focusableTabsRef.current?.[newFocusableIndex]\n )\n return;\n handleOnTabChange(focusableTabsRef.current[newFocusableIndex].dataset?.tabId as string);\n\n // swiping does not trigger centerTab function inside handleOnTabChange because there is no event\n // by clicking we are manually forcing to center the tab\n\n focusableTabsRef.current[newFocusableIndex].click();\n }\n },\n [actualActiveTab, focusableTabsRef, handleOnTabChange],\n );\n\n const firstSlideToShow = useMemo(() => {\n const childrenArray = React.Children.toArray(tabs) as React.ReactElement<DSTabT.Props>[];\n const index = childrenArray\n .filter((tab) => tab.props.disabled !== true)\n .findIndex((tab) => tab.props.tabId === actualActiveTab);\n\n if (index === -1) return 0;\n return index;\n }, [actualActiveTab, tabs]);\n\n const panels = useMemo(\n () =>\n React.Children.map(tabs, (tab: React.ReactElement<DSTabT.Props>) => {\n const { tabId: panelId = '', style, children: content, disabled } = tab.props;\n const isActive = actualActiveTab === panelId;\n const shouldRender = !onlyRenderActiveTab || isActive;\n\n if (disabled) return null;\n return (\n shouldRender && (\n <StyledPanelContainer\n key={panelId}\n id={panelId}\n aria-labelledby={`${panelId}-label`}\n aria-hidden={!isActive}\n data-panel-id={panelId}\n data-testid=\"ds-tabs-tab-panel\"\n hide={!isActive}\n onMouseDown={handleOnMouseDown}\n role=\"tabpanel\"\n style={style}\n isDSMobile={isDSMobile}\n >\n {content}\n </StyledPanelContainer>\n )\n );\n }),\n [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs],\n );\n\n if (animated) {\n return (\n <SwipeableViews\n enableMouseEvents={enableMouseEvents}\n index={firstSlideToShow}\n onChangeIndex={handleOnChangeIndex}\n >\n {panels}\n </SwipeableViews>\n );\n }\n\n return <>{panels}</>;\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACiEX,SAiCH,UAjCG;AAhEZ,OAAOA,UAAS,SAAS,YAAY,mBAAmB;AACxD,OAAO,oBAAoB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AAG1B,MAAM,aAAa,MAAmB;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO,EAAE,UAAU,mBAAmB,qBAAqB,UAAU,MAAM,WAAW;AAAA,EACxF,IAAI,WAAW,aAAa;AAE5B,QAAM,EAAE,mBAAmB,kBAAkB,IAAI,iBAAiB;AAElE,QAAM,sBAAsB;AAAA,IAC1B,CAAC,OAAe,gBAAwB;AACtC,UAAI,CAAC,iBAAiB;AAAS;AAE/B,YAAM,SAAS,QAAQ;AAEvB,UAAI,iBAAiB,SAAS;AAC5B,cAAM,wBAAwB,iBAAiB,SAAS,UAAU,CAAC,OAAO,GAAG,QAAQ,UAAU,eAAe;AAE9G,cAAM,oBAAoB,yBAAyB,IAAI,wBAAwB,SAAS;AAExF,YACE,oBAAoB,KACpB,oBAAoB,iBAAiB,SAAS,UAC9C,CAAC,iBAAiB,UAAU;AAE5B;AACF,0BAAkB,iBAAiB,QAAQ,mBAAmB,SAAS,KAAe;AAKtF,yBAAiB,QAAQ,mBAAmB,MAAM;AAAA,MACpD;AAAA,IACF;AAAA,IACA,CAAC,iBAAiB,kBAAkB,iBAAiB;AAAA,EACvD;AAEA,QAAM,mBAAmB,QAAQ,MAAM;AACrC,UAAM,gBAAgBA,OAAM,SAAS,QAAQ,IAAI;AACjD,UAAM,QAAQ,cACX,OAAO,CAAC,QAAQ,IAAI,MAAM,aAAa,IAAI,EAC3C,UAAU,CAAC,QAAQ,IAAI,MAAM,UAAU,eAAe;AAEzD,QAAI,UAAU;AAAI,aAAO;AACzB,WAAO;AAAA,EACT,GAAG,CAAC,iBAAiB,IAAI,CAAC;AAE1B,QAAM,SAAS;AAAA,IACb,MACEA,OAAM,SAAS,IAAI,MAAM,CAAC,QAA0C;AAClE,YAAM,EAAE,OAAO,UAAU,IAAI,OAAO,UAAU,SAAS,SAAS,IAAI,IAAI;AACxE,YAAM,WAAW,oBAAoB;AACrC,YAAM,eAAe,CAAC,uBAAuB;AAE7C,UAAI;AAAU,eAAO;AACrB,aACE,gBACE;AAAA,QAAC;AAAA;AAAA,UAEC,IAAI;AAAA,UACJ,mBAAiB,GAAG;AAAA,UACpB,eAAa,CAAC;AAAA,UACd,iBAAe;AAAA,UACf,eAAY;AAAA,UACZ,MAAM,CAAC;AAAA,UACP,aAAa;AAAA,UACb,MAAK;AAAA,UACL;AAAA,UACA;AAAA,UAEC;AAAA;AAAA,QAZI;AAAA,MAaP;AAAA,IAGN,CAAC;AAAA,IACH,CAAC,iBAAiB,mBAAmB,YAAY,qBAAqB,IAAI;AAAA,EAC5E;AAEA,MAAI,UAAU;AACZ,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,OAAO;AAAA,QACP,eAAe;AAAA,QAEd;AAAA;AAAA,IACH;AAAA,EAEJ;AAEA,SAAO,gCAAG,kBAAO;AACnB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\nimport React, { useMemo, useContext, useCallback } from 'react';\nimport SwipeableViews from 'react-swipeable-views';\nimport { StyledPanelContainer } from './styles';\nimport { DSTabsContext } from '../../DSTabsCTX';\nimport { useTabsCallbacks } from '../../utils/hooks/useTabsCallbacks';\nimport type { DSTabT } from '../../propTypes';\n\nexport const TabsPanels = (): JSX.Element => {\n const {\n actualActiveTab,\n focusableTabsRef,\n props: {\n animated,\n enableMouseEvents,\n onlyRenderActiveTab,\n children: tabs,\n isDSMobile,\n tabPanelsProps,\n swipeableViewsContainerProps,\n },\n } = useContext(DSTabsContext);\n\n const { handleOnTabChange, handleOnMouseDown } = useTabsCallbacks();\n\n const handleOnChangeIndex = useCallback(\n (index: number, indexLatest: number) => {\n if (!focusableTabsRef.current) return;\n\n const offset = index - indexLatest;\n\n if (focusableTabsRef.current) {\n const currentIndexFocusable = focusableTabsRef.current?.findIndex((el) => el.dataset.tabId === actualActiveTab);\n\n const newFocusableIndex = currentIndexFocusable >= 0 ? currentIndexFocusable + offset : -1;\n\n if (\n newFocusableIndex < 0 ||\n newFocusableIndex > focusableTabsRef.current?.length ||\n !focusableTabsRef.current?.[newFocusableIndex]\n )\n return;\n handleOnTabChange(focusableTabsRef.current[newFocusableIndex].dataset?.tabId as string);\n\n // swiping does not trigger centerTab function inside handleOnTabChange because there is no event\n // by clicking we are manually forcing to center the tab\n\n focusableTabsRef.current[newFocusableIndex].click();\n }\n },\n [actualActiveTab, focusableTabsRef, handleOnTabChange],\n );\n\n const firstSlideToShow = useMemo(() => {\n const childrenArray = React.Children.toArray(tabs) as React.ReactElement<DSTabT.Props>[];\n const index = childrenArray\n .filter((tab) => tab.props.disabled !== true)\n .findIndex((tab) => tab.props.tabId === actualActiveTab);\n\n if (index === -1) return 0;\n return index;\n }, [actualActiveTab, tabs]);\n\n const panels = useMemo(\n () =>\n React.Children.map(tabs, (tab: React.ReactElement<DSTabT.Props>) => {\n const { tabId: panelId = '', style, children: content, disabled } = tab.props;\n const isActive = actualActiveTab === panelId;\n const shouldRender = !onlyRenderActiveTab || isActive;\n\n if (disabled) return null;\n return (\n shouldRender && (\n <StyledPanelContainer\n {...tabPanelsProps}\n key={panelId}\n id={panelId}\n aria-labelledby={`${panelId}-label`}\n aria-hidden={!isActive}\n data-panel-id={panelId}\n data-testid=\"ds-tabs-tab-panel\"\n hide={!isActive}\n onMouseDown={handleOnMouseDown}\n role=\"tabpanel\"\n style={{\n ...(tabPanelsProps?.style || {}),\n ...(style || {}),\n }}\n isDSMobile={isDSMobile}\n >\n {content}\n </StyledPanelContainer>\n )\n );\n }),\n [actualActiveTab, handleOnMouseDown, isDSMobile, onlyRenderActiveTab, tabs, tabPanelsProps],\n );\n\n if (animated) {\n return (\n <SwipeableViews\n {...swipeableViewsContainerProps}\n enableMouseEvents={enableMouseEvents}\n index={firstSlideToShow}\n onChangeIndex={handleOnChangeIndex}\n >\n {panels}\n </SwipeableViews>\n );\n }\n\n return <>{panels}</>;\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACoGjB,SAWG,UAXH;AA3BM;AAxEZ,OAAOA,UAAS,SAAS,YAAY,mBAAmB;AACxD,OAAO,oBAAoB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AAG1B,MAAM,aAAa,MAAmB;AAC3C,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF,IAAI,WAAW,aAAa;AAE5B,QAAM,EAAE,mBAAmB,kBAAkB,IAAI,iBAAiB;AAElE,QAAM,sBAAsB;AAAA,IAC1B,CAAC,OAAe,gBAAwB;AACtC,UAAI,CAAC,iBAAiB;AAAS;AAE/B,YAAM,SAAS,QAAQ;AAEvB,UAAI,iBAAiB,SAAS;AAC5B,cAAM,wBAAwB,iBAAiB,SAAS,UAAU,CAAC,OAAO,GAAG,QAAQ,UAAU,eAAe;AAE9G,cAAM,oBAAoB,yBAAyB,IAAI,wBAAwB,SAAS;AAExF,YACE,oBAAoB,KACpB,oBAAoB,iBAAiB,SAAS,UAC9C,CAAC,iBAAiB,UAAU;AAE5B;AACF,0BAAkB,iBAAiB,QAAQ,mBAAmB,SAAS,KAAe;AAKtF,yBAAiB,QAAQ,mBAAmB,MAAM;AAAA,MACpD;AAAA,IACF;AAAA,IACA,CAAC,iBAAiB,kBAAkB,iBAAiB;AAAA,EACvD;AAEA,QAAM,mBAAmB,QAAQ,MAAM;AACrC,UAAM,gBAAgBA,OAAM,SAAS,QAAQ,IAAI;AACjD,UAAM,QAAQ,cACX,OAAO,CAAC,QAAQ,IAAI,MAAM,aAAa,IAAI,EAC3C,UAAU,CAAC,QAAQ,IAAI,MAAM,UAAU,eAAe;AAEzD,QAAI,UAAU;AAAI,aAAO;AACzB,WAAO;AAAA,EACT,GAAG,CAAC,iBAAiB,IAAI,CAAC;AAE1B,QAAM,SAAS;AAAA,IACb,MACEA,OAAM,SAAS,IAAI,MAAM,CAAC,QAA0C;AAClE,YAAM,EAAE,OAAO,UAAU,IAAI,OAAO,UAAU,SAAS,SAAS,IAAI,IAAI;AACxE,YAAM,WAAW,oBAAoB;AACrC,YAAM,eAAe,CAAC,uBAAuB;AAE7C,UAAI;AAAU,eAAO;AACrB,aACE,gBACE;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ,KAAK;AAAA,UACL,IAAI;AAAA,UACJ,mBAAiB,GAAG;AAAA,UACpB,eAAa,CAAC;AAAA,UACd,iBAAe;AAAA,UACf,eAAY;AAAA,UACZ,MAAM,CAAC;AAAA,UACP,aAAa;AAAA,UACb,MAAK;AAAA,UACL,OAAO;AAAA,YACL,GAAI,gBAAgB,SAAS,CAAC;AAAA,YAC9B,GAAI,SAAS,CAAC;AAAA,UAChB;AAAA,UACA;AAAA;AAAA,QAEC;AAAA,MACH;AAAA,IAGN,CAAC;AAAA,IACH,CAAC,iBAAiB,mBAAmB,YAAY,qBAAqB,MAAM,cAAc;AAAA,EAC5F;AAEA,MAAI,UAAU;AACZ,WACE;AAAA,MAAC;AAAA;AAAA,QACE,GAAG;AAAA,QACJ;AAAA,QACA,OAAO;AAAA,QACP,eAAe;AAAA,QAEd;AAAA;AAAA,IACH;AAAA,EAEJ;AAEA,SAAO,gCAAG,kBAAO;AACnB;",
6
6
  "names": ["React"]
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { PropTypes } from "@elliemae/ds-utilities";
2
+ import { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from "@elliemae/ds-utilities";
3
3
  import { TabTypes, TabTypesValuesAsArray } from "./utils/constants";
4
4
  const noop = () => {
5
5
  };
@@ -10,6 +10,8 @@ const tabPropTypes = {
10
10
  disabled: PropTypes.bool.description("Disables Tab.").defaultValue(false)
11
11
  };
12
12
  const tabsPropTypes = {
13
+ ...globalAttributesPropTypes,
14
+ ...xstyledPropTypes,
13
15
  animated: PropTypes.bool.description("Whether the Tab transition should animate or not.").defaultValue(true),
14
16
  enableMouseEvents: PropTypes.bool.description("Enables Tab transition with mouse drag events.").defaultValue(false),
15
17
  allowTextSelection: PropTypes.bool.description("Allows text selection when mouse drag events are active.").defaultValue(false),
@@ -23,7 +25,9 @@ const tabsPropTypes = {
23
25
  children: PropTypes.node.description("Use DSTab component as children.").isRequired,
24
26
  tabsListAriaLabel: PropTypes.string.description("Aria label for the list.").defaultValue("Tab list."),
25
27
  containerProps: PropTypes.object.description("Additional properties for the container.").defaultValue({}),
26
- innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description("Ref to the container.").defaultValue(void 0)
28
+ innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description("Ref to the container.").defaultValue(void 0),
29
+ tabPanelsProps: PropTypes.object.description("Additional properties for the tab container.").defaultValue({}),
30
+ swipeableViewsContainerProps: PropTypes.object.description("Additional properties for the swipeable container.").defaultValue({})
27
31
  };
28
32
  const tabsDefaultProps = {
29
33
  containerProps: {},
@@ -39,7 +43,9 @@ const tabsDefaultProps = {
39
43
  showSelectionIndicator: true,
40
44
  children: [],
41
45
  fixedTabsHeaders: false,
42
- showSeparator: true
46
+ showSeparator: true,
47
+ tabPanelsProps: {},
48
+ swipeableViewsContainerProps: {}
43
49
  };
44
50
  export {
45
51
  tabPropTypes,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/propTypes.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-utilities';\nimport { TabTypes, TabTypesValuesAsArray } from './utils/constants';\nimport type { DSTabsInternalsT } from './sharedTypes';\n\nconst noop = (): void => {};\n\nexport declare namespace DSTabT {\n export interface PropsOptional {\n style?: Record<string, unknown>;\n title?: string;\n required?: boolean;\n disabled?: boolean;\n ref?: React.MutableRefObject<HTMLButtonElement>;\n onClick?: (tabId: string | number, e: React.MouseEvent) => null | void;\n onKeyDown?: (e: React.KeyboardEvent) => null | void;\n }\n\n export interface PropsRequired {\n children: React.ReactNode;\n tabId: string | number;\n }\n\n export interface Props extends PropsOptional, PropsRequired {}\n}\n\nexport declare namespace DSTabsT {\n export interface DefaultProps {\n containerProps: Record<string, unknown>;\n animated: boolean;\n enableMouseEvents: boolean;\n allowTextSelection: boolean;\n onTabChange: (tabId: string | number, e?: React.MouseEvent) => void;\n tabsListAriaLabel: string;\n type: DSTabsInternalsT.TabTypesT;\n children: React.ReactElement<DSTabT.Props>[];\n onlyRenderActiveTab: boolean;\n fixedTabsHeaders: boolean;\n withCarousel: boolean;\n isDSMobile: boolean;\n showSelectionIndicator: boolean;\n showSeparator: boolean;\n }\n\n export interface PropsOptional {\n firstSubtabRef?: React.MutableRefObject<HTMLElement>;\n lastTabRef?: React.MutableRefObject<HTMLElement>;\n TabBarExtraContent?: React.ComponentType;\n tabBarExtraContent?: React.ReactNode;\n activeTab?: string;\n innerRef?: React.MutableRefObject<HTMLDivElement>;\n }\n\n export interface Props extends Partial<DefaultProps>, PropsOptional {}\n\n export interface InternalProps extends DefaultProps, PropsOptional {}\n}\n\nexport const tabPropTypes = {\n tabId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('Unique Tab id.').defaultValue(''),\n title: PropTypes.string.description('Tab title.').defaultValue(''),\n required: PropTypes.bool.description('Show a required mark next to the title.').defaultValue(false),\n disabled: PropTypes.bool.description('Disables Tab.').defaultValue(false),\n};\n\nexport const tabsPropTypes = {\n animated: PropTypes.bool.description('Whether the Tab transition should animate or not.').defaultValue(true),\n enableMouseEvents: PropTypes.bool.description('Enables Tab transition with mouse drag events.').defaultValue(false),\n allowTextSelection: PropTypes.bool\n .description('Allows text selection when mouse drag events are active.')\n .defaultValue(false),\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n type: PropTypes.oneOf(TabTypesValuesAsArray).description('Tab type.').defaultValue(TabTypesValuesAsArray[0]),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tab Bar.').defaultValue(undefined),\n TabBarExtraContent: PropTypes.func\n .description('Extra content next to the Tab Bar as a react component instead of JSX')\n .defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n withCarousel: PropTypes.bool.description('Activate carousel behavior.').defaultValue(false),\n activeTab: PropTypes.string\n .description('Passing a value makes DSTabs a controlled component.')\n .defaultValue('First DSTab children.'),\n children: PropTypes.node.description('Use DSTab component as children.').isRequired,\n tabsListAriaLabel: PropTypes.string.description('Aria label for the list.').defaultValue('Tab list.'),\n containerProps: PropTypes.object.description('Additional properties for the container.').defaultValue({}),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })])\n .description('Ref to the container.')\n .defaultValue(undefined),\n};\n\nexport const tabsDefaultProps: DSTabsT.DefaultProps = {\n containerProps: {},\n animated: true,\n enableMouseEvents: false,\n allowTextSelection: false,\n onTabChange: noop,\n tabsListAriaLabel: 'Tab list',\n type: TabTypes.NORMAL,\n onlyRenderActiveTab: false,\n withCarousel: false,\n isDSMobile: false,\n showSelectionIndicator: true,\n children: [],\n fixedTabsHeaders: false,\n showSeparator: true,\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,6BAA6B;AAGhD,MAAM,OAAO,MAAY;AAAC;AAqDnB,MAAM,eAAe;AAAA,EAC1B,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB,EAAE,aAAa,EAAE;AAAA,EAC9G,OAAO,UAAU,OAAO,YAAY,YAAY,EAAE,aAAa,EAAE;AAAA,EACjE,UAAU,UAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAClG,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE,aAAa,KAAK;AAC1E;AAEO,MAAM,gBAAgB;AAAA,EAC3B,UAAU,UAAU,KAAK,YAAY,mDAAmD,EAAE,aAAa,IAAI;AAAA,EAC3G,mBAAmB,UAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,KAAK;AAAA,EAClH,oBAAoB,UAAU,KAC3B,YAAY,0DAA0D,EACtE,aAAa,KAAK;AAAA,EACrB,aAAa,UAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,MAAM,UAAU,MAAM,qBAAqB,EAAE,YAAY,WAAW,EAAE,aAAa,sBAAsB,EAAE;AAAA,EAC3G,oBAAoB,UAAU,QAAQ,YAAY,oCAAoC,EAAE,aAAa,MAAS;AAAA,EAC9G,oBAAoB,UAAU,KAC3B,YAAY,uEAAuE,EACnF,aAAa,MAAS;AAAA,EACzB,qBAAqB,UAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,cAAc,UAAU,KAAK,YAAY,6BAA6B,EAAE,aAAa,KAAK;AAAA,EAC1F,WAAW,UAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,UAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,UAAU,OAAO,YAAY,0BAA0B,EAAE,aAAa,WAAW;AAAA,EACpG,gBAAgB,UAAU,OAAO,YAAY,0CAA0C,EAAE,aAAa,CAAC,CAAC;AAAA,EACxG,UAAU,UAAU,UAAU,CAAC,UAAU,MAAM,UAAU,MAAM,EAAE,SAAS,UAAU,IAAI,CAAC,CAAC,CAAC,EACxF,YAAY,uBAAuB,EACnC,aAAa,MAAS;AAC3B;AAEO,MAAM,mBAAyC;AAAA,EACpD,gBAAgB,CAAC;AAAA,EACjB,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,MAAM,SAAS;AAAA,EACf,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,wBAAwB;AAAA,EACxB,UAAU,CAAC;AAAA,EACX,kBAAkB;AAAA,EAClB,eAAe;AACjB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-utilities';\nimport { TabTypes, TabTypesValuesAsArray } from './utils/constants';\nimport type { DSTabsInternalsT } from './sharedTypes';\nimport type { XstyledProps, GlobalAttributesT } from '@elliemae/ds-utilities';\nimport type { SwipeableViewsProps } from 'react-swipeable-views';\n\nconst noop = (): void => {};\n\nexport declare namespace DSTabT {\n export interface PropsOptional {\n style?: Record<string, unknown>;\n title?: string;\n required?: boolean;\n disabled?: boolean;\n ref?: React.MutableRefObject<HTMLButtonElement>;\n onClick?: (tabId: string | number, e: React.MouseEvent) => null | void;\n onKeyDown?: (e: React.KeyboardEvent) => null | void;\n }\n\n export interface PropsRequired {\n children: React.ReactNode;\n tabId: string | number;\n }\n\n export interface Props extends PropsOptional, PropsRequired {}\n}\n\nexport declare namespace DSTabsT {\n export interface DefaultProps {\n containerProps: Record<string, unknown>;\n animated: boolean;\n enableMouseEvents: boolean;\n allowTextSelection: boolean;\n onTabChange: (tabId: string | number, e?: React.MouseEvent) => void;\n tabsListAriaLabel: string;\n type: DSTabsInternalsT.TabTypesT;\n children: React.ReactElement<DSTabT.Props>[];\n onlyRenderActiveTab: boolean;\n fixedTabsHeaders: boolean;\n withCarousel: boolean;\n isDSMobile: boolean;\n showSelectionIndicator: boolean;\n showSeparator: boolean;\n tabPanelsProps: GlobalAttributesT<HTMLDivElement>;\n swipeableViewsContainerProps: SwipeableViewsProps;\n }\n\n export interface PropsOptional {\n firstSubtabRef?: React.MutableRefObject<HTMLElement>;\n lastTabRef?: React.MutableRefObject<HTMLElement>;\n TabBarExtraContent?: React.ComponentType;\n tabBarExtraContent?: React.ReactNode;\n activeTab?: string;\n innerRef?: React.MutableRefObject<HTMLDivElement>;\n }\n\n export interface Props\n extends Partial<DefaultProps>,\n PropsOptional,\n Omit<GlobalAttributesT<HTMLDivElement>, keyof DefaultProps | keyof PropsOptional | keyof DefaultProps>,\n XstyledProps {}\n\n export interface InternalProps extends DefaultProps, PropsOptional {}\n}\n\nexport const tabPropTypes = {\n tabId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('Unique Tab id.').defaultValue(''),\n title: PropTypes.string.description('Tab title.').defaultValue(''),\n required: PropTypes.bool.description('Show a required mark next to the title.').defaultValue(false),\n disabled: PropTypes.bool.description('Disables Tab.').defaultValue(false),\n};\n\nexport const tabsPropTypes = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n animated: PropTypes.bool.description('Whether the Tab transition should animate or not.').defaultValue(true),\n enableMouseEvents: PropTypes.bool.description('Enables Tab transition with mouse drag events.').defaultValue(false),\n allowTextSelection: PropTypes.bool\n .description('Allows text selection when mouse drag events are active.')\n .defaultValue(false),\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n type: PropTypes.oneOf(TabTypesValuesAsArray).description('Tab type.').defaultValue(TabTypesValuesAsArray[0]),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tab Bar.').defaultValue(undefined),\n TabBarExtraContent: PropTypes.func\n .description('Extra content next to the Tab Bar as a react component instead of JSX')\n .defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n withCarousel: PropTypes.bool.description('Activate carousel behavior.').defaultValue(false),\n activeTab: PropTypes.string\n .description('Passing a value makes DSTabs a controlled component.')\n .defaultValue('First DSTab children.'),\n children: PropTypes.node.description('Use DSTab component as children.').isRequired,\n tabsListAriaLabel: PropTypes.string.description('Aria label for the list.').defaultValue('Tab list.'),\n containerProps: PropTypes.object.description('Additional properties for the container.').defaultValue({}),\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })])\n .description('Ref to the container.')\n .defaultValue(undefined),\n tabPanelsProps: PropTypes.object.description('Additional properties for the tab container.').defaultValue({}),\n swipeableViewsContainerProps: PropTypes.object\n .description('Additional properties for the swipeable container.')\n .defaultValue({}),\n};\n\nexport const tabsDefaultProps: DSTabsT.DefaultProps = {\n containerProps: {},\n animated: true,\n enableMouseEvents: false,\n allowTextSelection: false,\n onTabChange: noop,\n tabsListAriaLabel: 'Tab list',\n type: TabTypes.NORMAL,\n onlyRenderActiveTab: false,\n withCarousel: false,\n isDSMobile: false,\n showSelectionIndicator: true,\n children: [],\n fixedTabsHeaders: false,\n showSeparator: true,\n tabPanelsProps: {},\n swipeableViewsContainerProps: {},\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAW,2BAA2B,wBAAwB;AACvE,SAAS,UAAU,6BAA6B;AAKhD,MAAM,OAAO,MAAY;AAAC;AA2DnB,MAAM,eAAe;AAAA,EAC1B,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB,EAAE,aAAa,EAAE;AAAA,EAC9G,OAAO,UAAU,OAAO,YAAY,YAAY,EAAE,aAAa,EAAE;AAAA,EACjE,UAAU,UAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAClG,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE,aAAa,KAAK;AAC1E;AAEO,MAAM,gBAAgB;AAAA,EAC3B,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,UAAU,KAAK,YAAY,mDAAmD,EAAE,aAAa,IAAI;AAAA,EAC3G,mBAAmB,UAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,KAAK;AAAA,EAClH,oBAAoB,UAAU,KAC3B,YAAY,0DAA0D,EACtE,aAAa,KAAK;AAAA,EACrB,aAAa,UAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,MAAM,UAAU,MAAM,qBAAqB,EAAE,YAAY,WAAW,EAAE,aAAa,sBAAsB,EAAE;AAAA,EAC3G,oBAAoB,UAAU,QAAQ,YAAY,oCAAoC,EAAE,aAAa,MAAS;AAAA,EAC9G,oBAAoB,UAAU,KAC3B,YAAY,uEAAuE,EACnF,aAAa,MAAS;AAAA,EACzB,qBAAqB,UAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,cAAc,UAAU,KAAK,YAAY,6BAA6B,EAAE,aAAa,KAAK;AAAA,EAC1F,WAAW,UAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,UAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,UAAU,OAAO,YAAY,0BAA0B,EAAE,aAAa,WAAW;AAAA,EACpG,gBAAgB,UAAU,OAAO,YAAY,0CAA0C,EAAE,aAAa,CAAC,CAAC;AAAA,EACxG,UAAU,UAAU,UAAU,CAAC,UAAU,MAAM,UAAU,MAAM,EAAE,SAAS,UAAU,IAAI,CAAC,CAAC,CAAC,EACxF,YAAY,uBAAuB,EACnC,aAAa,MAAS;AAAA,EACzB,gBAAgB,UAAU,OAAO,YAAY,8CAA8C,EAAE,aAAa,CAAC,CAAC;AAAA,EAC5G,8BAA8B,UAAU,OACrC,YAAY,oDAAoD,EAChE,aAAa,CAAC,CAAC;AACpB;AAEO,MAAM,mBAAyC;AAAA,EACpD,gBAAgB,CAAC;AAAA,EACjB,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,MAAM,SAAS;AAAA,EACf,qBAAqB;AAAA,EACrB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,wBAAwB;AAAA,EACxB,UAAU,CAAC;AAAA,EACX,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB,CAAC;AAAA,EACjB,8BAA8B,CAAC;AACjC;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { DSTabsInternalsT } from './sharedTypes';
3
+ import type { XstyledProps, GlobalAttributesT } from '@elliemae/ds-utilities';
4
+ import type { SwipeableViewsProps } from 'react-swipeable-views';
3
5
  export declare namespace DSTabT {
4
6
  interface PropsOptional {
5
7
  style?: Record<string, unknown>;
@@ -33,6 +35,8 @@ export declare namespace DSTabsT {
33
35
  isDSMobile: boolean;
34
36
  showSelectionIndicator: boolean;
35
37
  showSeparator: boolean;
38
+ tabPanelsProps: GlobalAttributesT<HTMLDivElement>;
39
+ swipeableViewsContainerProps: SwipeableViewsProps;
36
40
  }
37
41
  interface PropsOptional {
38
42
  firstSubtabRef?: React.MutableRefObject<HTMLElement>;
@@ -42,7 +46,7 @@ export declare namespace DSTabsT {
42
46
  activeTab?: string;
43
47
  innerRef?: React.MutableRefObject<HTMLDivElement>;
44
48
  }
45
- interface Props extends Partial<DefaultProps>, PropsOptional {
49
+ interface Props extends Partial<DefaultProps>, PropsOptional, Omit<GlobalAttributesT<HTMLDivElement>, keyof DefaultProps | keyof PropsOptional | keyof DefaultProps>, XstyledProps {
46
50
  }
47
51
  interface InternalProps extends DefaultProps, PropsOptional {
48
52
  }
@@ -68,5 +72,448 @@ export declare const tabsPropTypes: {
68
72
  tabsListAriaLabel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
69
73
  containerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
70
74
  innerRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
75
+ tabPanelsProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
76
+ swipeableViewsContainerProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
77
+ margin: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
78
+ m: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
79
+ marginTop: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
80
+ mt: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
81
+ marginRight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
82
+ mr: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
83
+ marginBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
84
+ mb: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
85
+ marginLeft: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
86
+ ml: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
87
+ mx: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
88
+ my: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
89
+ padding: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
90
+ p: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
91
+ paddingTop: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
92
+ pt: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
93
+ paddingRight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
94
+ pr: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
95
+ paddingBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
96
+ pb: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
97
+ paddingLeft: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
98
+ pl: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
99
+ px: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
100
+ py: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
101
+ spaceY: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
102
+ spaceX: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
103
+ spaceXReverse: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
104
+ spaceYReverse: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
105
+ w: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
106
+ width: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
107
+ maxWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
108
+ maxW: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
109
+ minWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
110
+ minW: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
111
+ h: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
112
+ height: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
113
+ maxHeight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
114
+ maxH: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
115
+ minHeight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
116
+ minH: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
117
+ maskSize: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
118
+ display: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
119
+ float: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
120
+ boxSizing: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
121
+ container: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
122
+ overflow: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
123
+ overflowX: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
124
+ overflowY: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
125
+ zIndex: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
126
+ position: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
127
+ top: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
128
+ right: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
129
+ bottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
130
+ left: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
131
+ visibility: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
132
+ overscrollBehavior: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
133
+ objectFit: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
134
+ color: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
135
+ bg: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
136
+ backgroundColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
137
+ border: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
138
+ borderTop: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
139
+ borderBottom: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
140
+ borderRight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
141
+ borderLeft: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
142
+ borderColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
143
+ borderTopColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
144
+ borderBottomColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
145
+ borderRightColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
146
+ borderLeftColor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
147
+ borderStyle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
148
+ borderTopStyle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
149
+ borderBottomStyle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
150
+ borderRightStyle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
151
+ borderLeftStyle: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
152
+ borderWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
153
+ borderTopWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
154
+ borderBottomWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
155
+ borderRightWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
156
+ borderLeftWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
157
+ borderRadius: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
158
+ boxShadow: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
159
+ 'aria-*': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
160
+ 'on-*': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
161
+ 'data-*': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
162
+ 'all HTML attributes': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
163
+ about: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
164
+ accept: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
165
+ acceptCharset: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
166
+ accessKey: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
167
+ action: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
168
+ allowFullScreen: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
169
+ allowTransparency: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
170
+ alt: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
171
+ 'aria-activedescendant': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
172
+ 'aria-atomic': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
173
+ 'aria-autocomplete': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
174
+ 'aria-busy': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
175
+ 'aria-checked': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
176
+ 'aria-colcount': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
177
+ 'aria-colindex': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
178
+ 'aria-colspan': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
179
+ 'aria-controls': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
180
+ 'aria-current': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
181
+ 'aria-describedby': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
182
+ 'aria-details': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
183
+ 'aria-disabled': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
184
+ 'aria-dropeffect': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
185
+ 'aria-errormessage': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
186
+ 'aria-expanded': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
187
+ 'aria-flowto': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
188
+ 'aria-grabbed': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
189
+ 'aria-haspopup': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
190
+ 'aria-hidden': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
191
+ 'aria-invalid': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
192
+ 'aria-keyshortcuts': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
193
+ 'aria-label': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
194
+ 'aria-labelledby': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
195
+ 'aria-level': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
196
+ 'aria-live': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
197
+ 'aria-modal': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
198
+ 'aria-multiline': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
199
+ 'aria-multiselectable': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
200
+ 'aria-orientation': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
201
+ 'aria-owns': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
202
+ 'aria-placeholder': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
203
+ 'aria-posinset': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
204
+ 'aria-pressed': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
205
+ 'aria-readonly': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
206
+ 'aria-relevant': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
207
+ 'aria-required': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
208
+ 'aria-roledescription': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
209
+ 'aria-rowcount': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
210
+ 'aria-rowindex': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
211
+ 'aria-rowspan': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
212
+ 'aria-selected': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
213
+ 'aria-setsize': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
214
+ 'aria-sort': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
215
+ 'aria-valuemax': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
216
+ 'aria-valuemin': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
217
+ 'aria-valuenow': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
218
+ 'aria-valuetext': import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
219
+ as: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
220
+ async: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
221
+ autoCapitalize: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
222
+ autoComplete: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
223
+ autoCorrect: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
224
+ autoFocus: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
225
+ autoPlay: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
226
+ autoSave: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
227
+ capture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
228
+ cellPadding: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
229
+ cellSpacing: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
230
+ challenge: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
231
+ charSet: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
232
+ checked: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
233
+ cite: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
234
+ classID: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
235
+ className: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
236
+ cols: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
237
+ colSpan: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
238
+ content: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
239
+ contentEditable: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
240
+ contextMenu: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
241
+ controls: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
242
+ coords: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
243
+ crossOrigin: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
244
+ data: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
245
+ datatype: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
246
+ dateTime: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
247
+ default: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
248
+ defaultChecked: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
249
+ defaultValue: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
250
+ defer: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
251
+ dir: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
252
+ disabled: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
253
+ download: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
254
+ draggable: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
255
+ encType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
256
+ form: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
257
+ formAction: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
258
+ formEncType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
259
+ formMethod: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
260
+ formNoValidate: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
261
+ formTarget: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
262
+ frameBorder: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
263
+ headers: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
264
+ hidden: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
265
+ high: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
266
+ href: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
267
+ hrefLang: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
268
+ htmlFor: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
269
+ httpEquiv: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
270
+ id: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
271
+ inlist: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
272
+ inputMode: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
273
+ integrity: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
274
+ is: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
275
+ itemID: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
276
+ itemProp: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
277
+ itemRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
278
+ itemScope: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
279
+ itemType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
280
+ keyParams: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
281
+ keyType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
282
+ kind: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
283
+ label: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
284
+ lang: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
285
+ list: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
286
+ loop: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
287
+ low: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
288
+ manifest: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
289
+ marginHeight: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
290
+ marginWidth: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
291
+ max: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
292
+ maxLength: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
293
+ media: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
294
+ mediaGroup: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
295
+ method: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
296
+ min: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
297
+ minLength: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
298
+ multiple: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
299
+ muted: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
300
+ name: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
301
+ nonce: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
302
+ noValidate: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
303
+ onAbort: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
304
+ onAbortCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
305
+ onAnimationEnd: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
306
+ onAnimationEndCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
307
+ onAnimationIteration: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
308
+ onAnimationIterationCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
309
+ onAnimationStart: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
310
+ onAnimationStartCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
311
+ onAuxClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
312
+ onAuxClickCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
313
+ onBeforeInput: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
314
+ onBeforeInputCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
315
+ onBlur: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
316
+ onBlurCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
317
+ onCanPlay: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
318
+ onCanPlayCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
319
+ onCanPlayThrough: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
320
+ onCanPlayThroughCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
321
+ onChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
322
+ onChangeCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
323
+ onClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
324
+ onClickCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
325
+ onCompositionEnd: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
326
+ onCompositionEndCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
327
+ onCompositionStart: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
328
+ onCompositionStartCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
329
+ onCompositionUpdate: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
330
+ onCompositionUpdateCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
331
+ onContextMenu: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
332
+ onContextMenuCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
333
+ onCopy: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
334
+ onCopyCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
335
+ onCut: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
336
+ onCutCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
337
+ onDoubleClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
338
+ onDoubleClickCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
339
+ onDrag: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
340
+ onDragCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
341
+ onDragEnd: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
342
+ onDragEndCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
343
+ onDragEnter: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
344
+ onDragEnterCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
345
+ onDragExit: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
346
+ onDragExitCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
347
+ onDragLeave: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
348
+ onDragLeaveCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
349
+ onDragOver: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
350
+ onDragOverCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
351
+ onDragStart: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
352
+ onDragStartCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
353
+ onDrop: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
354
+ onDropCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
355
+ onDurationChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
356
+ onDurationChangeCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
357
+ onEmptied: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
358
+ onEmptiedCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
359
+ onEncrypted: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
360
+ onEncryptedCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
361
+ onEnded: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
362
+ onEndedCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
363
+ onError: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
364
+ onErrorCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
365
+ onFocus: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
366
+ onFocusCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
367
+ onGotPointerCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
368
+ onGotPointerCaptureCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
369
+ onInput: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
370
+ onInputCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
371
+ onInvalid: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
372
+ onInvalidCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
373
+ onKeyDown: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
374
+ onKeyDownCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
375
+ onKeyPress: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
376
+ onKeyPressCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
377
+ onKeyUp: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
378
+ onKeyUpCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
379
+ onLoad: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
380
+ onLoadCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
381
+ onLoadedData: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
382
+ onLoadedDataCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
383
+ onLoadedMetadata: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
384
+ onLoadedMetadataCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
385
+ onLoadStart: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
386
+ onLoadStartCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
387
+ onLostPointerCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
388
+ onLostPointerCaptureCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
389
+ onMouseDown: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
390
+ onMouseDownCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
391
+ onMouseEnter: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
392
+ onMouseLeave: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
393
+ onMouseMove: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
394
+ onMouseMoveCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
395
+ onMouseOut: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
396
+ onMouseOutCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
397
+ onMouseOver: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
398
+ onMouseOverCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
399
+ onMouseUp: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
400
+ onMouseUpCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
401
+ onPaste: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
402
+ onPasteCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
403
+ onPause: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
404
+ onPauseCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
405
+ onPlay: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
406
+ onPlayCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
407
+ onPlaying: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
408
+ onPlayingCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
409
+ onPointerCancel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
410
+ onPointerCancelCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
411
+ onPointerDown: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
412
+ onPointerDownCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
413
+ onPointerEnter: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
414
+ onPointerEnterCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
415
+ onPointerLeave: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
416
+ onPointerLeaveCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
417
+ onPointerMove: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
418
+ onPointerMoveCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
419
+ onPointerOut: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
420
+ onPointerOutCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
421
+ onPointerOver: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
422
+ onPointerOverCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
423
+ onPointerUp: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
424
+ onPointerUpCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
425
+ onProgress: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
426
+ onProgressCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
427
+ onRateChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
428
+ onRateChangeCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
429
+ onReset: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
430
+ onResetCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
431
+ onResize: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
432
+ onResizeCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
433
+ onScroll: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
434
+ onScrollCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
435
+ onSeeked: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
436
+ onSeekedCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
437
+ onSeeking: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
438
+ onSeekingCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
439
+ onSelect: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
440
+ onSelectCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
441
+ onStalled: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
442
+ onStalledCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
443
+ onSubmit: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
444
+ onSubmitCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
445
+ onSuspend: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
446
+ onSuspendCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
447
+ onTimeUpdate: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
448
+ onTimeUpdateCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
449
+ onTouchCancel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
450
+ onTouchCancelCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
451
+ onTouchEnd: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
452
+ onTouchEndCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
453
+ onTouchMove: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
454
+ onTouchMoveCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
455
+ onTouchStart: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
456
+ onTouchStartCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
457
+ onTransitionEnd: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
458
+ onTransitionEndCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
459
+ onVolumeChange: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
460
+ onVolumeChangeCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
461
+ onWaiting: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
462
+ onWaitingCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
463
+ onWheel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
464
+ onWheelCapture: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
465
+ open: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
466
+ optimum: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
467
+ pattern: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
468
+ placeholder: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
469
+ playsInline: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
470
+ poster: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
471
+ prefix: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
472
+ preload: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
473
+ property: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
474
+ radioGroup: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
475
+ readOnly: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
476
+ rel: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
477
+ required: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
478
+ resource: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
479
+ results: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
480
+ reversed: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
481
+ role: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
482
+ rows: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
483
+ rowSpan: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
484
+ sandbox: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
485
+ scope: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
486
+ scoped: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
487
+ scrolling: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
488
+ seamless: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
489
+ security: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
490
+ selected: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
491
+ shape: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
492
+ size: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
493
+ sizes: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
494
+ slot: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
495
+ span: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
496
+ spellCheck: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
497
+ src: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
498
+ srcDoc: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
499
+ srcLang: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
500
+ srcSet: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
501
+ start: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
502
+ step: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
503
+ style: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
504
+ summary: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
505
+ suppressContentEditableWarning: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
506
+ suppressHydrationWarning: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
507
+ tabIndex: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
508
+ target: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
509
+ title: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
510
+ translate: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
511
+ typeof: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
512
+ unselectable: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
513
+ useMap: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
514
+ value: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
515
+ vocab: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
516
+ wmode: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
517
+ wrap: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
71
518
  };
72
519
  export declare const tabsDefaultProps: DSTabsT.DefaultProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-tabs",
3
- "version": "3.14.0-rc.6",
3
+ "version": "3.14.0-rc.7",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Tabs",
6
6
  "files": [
@@ -133,11 +133,11 @@
133
133
  "dependencies": {
134
134
  "@react-hook/resize-observer": "~1.2.5",
135
135
  "react-swipeable-views": "~0.14.0",
136
- "@elliemae/ds-button": "3.14.0-rc.6",
137
- "@elliemae/ds-icon": "3.14.0-rc.6",
138
- "@elliemae/ds-icons": "3.14.0-rc.6",
139
- "@elliemae/ds-system": "3.14.0-rc.6",
140
- "@elliemae/ds-utilities": "3.14.0-rc.6"
136
+ "@elliemae/ds-button": "3.14.0-rc.7",
137
+ "@elliemae/ds-icon": "3.14.0-rc.7",
138
+ "@elliemae/ds-icons": "3.14.0-rc.7",
139
+ "@elliemae/ds-system": "3.14.0-rc.7",
140
+ "@elliemae/ds-utilities": "3.14.0-rc.7"
141
141
  },
142
142
  "devDependencies": {
143
143
  "@testing-library/jest-dom": "~5.16.4",