@elliemae/ds-mobile 3.55.0-next.14 → 3.55.0-next.15

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.
@@ -36,15 +36,10 @@ __export(Tabs_exports, {
36
36
  module.exports = __toCommonJS(Tabs_exports);
37
37
  var React = __toESM(require("react"));
38
38
  var import_jsx_runtime = require("react/jsx-runtime");
39
- var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
40
39
  var import_ds_tabs = require("@elliemae/ds-tabs");
41
- var import_propTypes = require("./propTypes.js");
42
- const DSMobileTabs = ({ children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_tabs.DSTabs, { ...props, isDSMobile: true, children });
43
- const DSMobileTab = ({ children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_tabs.DSTab, { ...props, children });
44
- DSMobileTabs.displayName = "DSMobileTabs";
45
- const DSMobileTabsWithSchema = (0, import_ds_props_helpers.describe)(DSMobileTabs);
46
- DSMobileTabsWithSchema.propTypes = import_propTypes.MobileTabsPropTypes;
40
+ const DSMobileTabs = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_tabs.DSTabs, { ...props, isDSMobile: true });
41
+ const DSMobileTab = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_tabs.DSTab, { ...props });
47
42
  DSMobileTab.displayName = "DSMobileTab";
48
- const DSMobileTabWithSchema = (0, import_ds_props_helpers.describe)(DSMobileTab);
49
- DSMobileTabWithSchema.propTypes = import_propTypes.MobileTabPropTypes;
43
+ const DSMobileTabsWithSchema = import_ds_tabs.DSTabsWithSchema;
44
+ const DSMobileTabWithSchema = import_ds_tabs.DSTabWithSchema;
50
45
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/Tabs/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { DSTabs, DSTab } from '@elliemae/ds-tabs';\nimport type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';\nimport { MobileTabsPropTypes, MobileTabPropTypes } from './propTypes.js';\n\ntype DSMobileTabsPropsT = Omit<\n DSTabsT.InternalProps,\n 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'\n>;\n\ntype DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;\n\nconst DSMobileTabs = ({ children, ...props }: DSMobileTabsPropsT) => (\n <DSTabs {...props} isDSMobile>\n {children}\n </DSTabs>\n);\n\nconst DSMobileTab = ({ children, ...props }: DSMobileTabPropsT) => <DSTab {...props}>{children}</DSTab>;\n\nDSMobileTabs.displayName = 'DSMobileTabs';\nconst DSMobileTabsWithSchema = describe(DSMobileTabs);\nDSMobileTabsWithSchema.propTypes = MobileTabsPropTypes;\n\nDSMobileTab.displayName = 'DSMobileTab';\nconst DSMobileTabWithSchema = describe(DSMobileTab);\nDSMobileTabWithSchema.propTypes = MobileTabPropTypes;\n\nexport { DSMobileTabsWithSchema, DSMobileTabWithSchema, DSMobileTabs, DSMobileTab };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADcrB;AAbF,8BAAyB;AACzB,qBAA8B;AAE9B,uBAAwD;AASxD,MAAM,eAAe,CAAC,EAAE,UAAU,GAAG,MAAM,MACzC,4CAAC,yBAAQ,GAAG,OAAO,YAAU,MAC1B,UACH;AAGF,MAAM,cAAc,CAAC,EAAE,UAAU,GAAG,MAAM,MAAyB,4CAAC,wBAAO,GAAG,OAAQ,UAAS;AAE/F,aAAa,cAAc;AAC3B,MAAM,6BAAyB,kCAAS,YAAY;AACpD,uBAAuB,YAAY;AAEnC,YAAY,cAAc;AAC1B,MAAM,4BAAwB,kCAAS,WAAW;AAClD,sBAAsB,YAAY;",
4
+ "sourcesContent": ["import { DSTabs, DSTab, DSTabWithSchema, DSTabsWithSchema } from '@elliemae/ds-tabs';\nimport type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';\n\ntype DSMobileTabsPropsT = Omit<\n DSTabsT.Props,\n 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'\n>;\n\ntype DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;\n\nconst DSMobileTabs = (props: DSMobileTabsPropsT) => <DSTabs {...props} isDSMobile />;\n\nconst DSMobileTab = (props: DSMobileTabPropsT) => <DSTab {...props} />;\n\nDSMobileTab.displayName = 'DSMobileTab';\nconst DSMobileTabsWithSchema = DSTabsWithSchema;\nconst DSMobileTabWithSchema = DSTabWithSchema;\n\nexport { DSMobileTabsWithSchema, DSMobileTabWithSchema, DSMobileTabs, DSMobileTab };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADU6B;AAVpD,qBAAiE;AAUjE,MAAM,eAAe,CAAC,UAA8B,4CAAC,yBAAQ,GAAG,OAAO,YAAU,MAAC;AAElF,MAAM,cAAc,CAAC,UAA6B,4CAAC,wBAAO,GAAG,OAAO;AAEpE,YAAY,cAAc;AAC1B,MAAM,yBAAyB;AAC/B,MAAM,wBAAwB;",
6
6
  "names": []
7
7
  }
@@ -1,16 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { describe } from "@elliemae/ds-props-helpers";
4
- import { DSTabs, DSTab } from "@elliemae/ds-tabs";
5
- import { MobileTabsPropTypes, MobileTabPropTypes } from "./propTypes.js";
6
- const DSMobileTabs = ({ children, ...props }) => /* @__PURE__ */ jsx(DSTabs, { ...props, isDSMobile: true, children });
7
- const DSMobileTab = ({ children, ...props }) => /* @__PURE__ */ jsx(DSTab, { ...props, children });
8
- DSMobileTabs.displayName = "DSMobileTabs";
9
- const DSMobileTabsWithSchema = describe(DSMobileTabs);
10
- DSMobileTabsWithSchema.propTypes = MobileTabsPropTypes;
3
+ import { DSTabs, DSTab, DSTabWithSchema, DSTabsWithSchema } from "@elliemae/ds-tabs";
4
+ const DSMobileTabs = (props) => /* @__PURE__ */ jsx(DSTabs, { ...props, isDSMobile: true });
5
+ const DSMobileTab = (props) => /* @__PURE__ */ jsx(DSTab, { ...props });
11
6
  DSMobileTab.displayName = "DSMobileTab";
12
- const DSMobileTabWithSchema = describe(DSMobileTab);
13
- DSMobileTabWithSchema.propTypes = MobileTabPropTypes;
7
+ const DSMobileTabsWithSchema = DSTabsWithSchema;
8
+ const DSMobileTabWithSchema = DSTabWithSchema;
14
9
  export {
15
10
  DSMobileTab,
16
11
  DSMobileTabWithSchema,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/Tabs/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { WeakValidationMap } from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { DSTabs, DSTab } from '@elliemae/ds-tabs';\nimport type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';\nimport { MobileTabsPropTypes, MobileTabPropTypes } from './propTypes.js';\n\ntype DSMobileTabsPropsT = Omit<\n DSTabsT.InternalProps,\n 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'\n>;\n\ntype DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;\n\nconst DSMobileTabs = ({ children, ...props }: DSMobileTabsPropsT) => (\n <DSTabs {...props} isDSMobile>\n {children}\n </DSTabs>\n);\n\nconst DSMobileTab = ({ children, ...props }: DSMobileTabPropsT) => <DSTab {...props}>{children}</DSTab>;\n\nDSMobileTabs.displayName = 'DSMobileTabs';\nconst DSMobileTabsWithSchema = describe(DSMobileTabs);\nDSMobileTabsWithSchema.propTypes = MobileTabsPropTypes;\n\nDSMobileTab.displayName = 'DSMobileTab';\nconst DSMobileTabWithSchema = describe(DSMobileTab);\nDSMobileTabWithSchema.propTypes = MobileTabPropTypes;\n\nexport { DSMobileTabsWithSchema, DSMobileTabWithSchema, DSMobileTabs, DSMobileTab };\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACcrB;AAbF,SAAS,gBAAgB;AACzB,SAAS,QAAQ,aAAa;AAE9B,SAAS,qBAAqB,0BAA0B;AASxD,MAAM,eAAe,CAAC,EAAE,UAAU,GAAG,MAAM,MACzC,oBAAC,UAAQ,GAAG,OAAO,YAAU,MAC1B,UACH;AAGF,MAAM,cAAc,CAAC,EAAE,UAAU,GAAG,MAAM,MAAyB,oBAAC,SAAO,GAAG,OAAQ,UAAS;AAE/F,aAAa,cAAc;AAC3B,MAAM,yBAAyB,SAAS,YAAY;AACpD,uBAAuB,YAAY;AAEnC,YAAY,cAAc;AAC1B,MAAM,wBAAwB,SAAS,WAAW;AAClD,sBAAsB,YAAY;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { DSTabs, DSTab, DSTabWithSchema, DSTabsWithSchema } from '@elliemae/ds-tabs';\nimport type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';\n\ntype DSMobileTabsPropsT = Omit<\n DSTabsT.Props,\n 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'\n>;\n\ntype DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;\n\nconst DSMobileTabs = (props: DSMobileTabsPropsT) => <DSTabs {...props} isDSMobile />;\n\nconst DSMobileTab = (props: DSMobileTabPropsT) => <DSTab {...props} />;\n\nDSMobileTab.displayName = 'DSMobileTab';\nconst DSMobileTabsWithSchema = DSTabsWithSchema;\nconst DSMobileTabWithSchema = DSTabWithSchema;\n\nexport { DSMobileTabsWithSchema, DSMobileTabWithSchema, DSMobileTabs, DSMobileTab };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACU6B;AAVpD,SAAS,QAAQ,OAAO,iBAAiB,wBAAwB;AAUjE,MAAM,eAAe,CAAC,UAA8B,oBAAC,UAAQ,GAAG,OAAO,YAAU,MAAC;AAElF,MAAM,cAAc,CAAC,UAA6B,oBAAC,SAAO,GAAG,OAAO;AAEpE,YAAY,cAAc;AAC1B,MAAM,yBAAyB;AAC/B,MAAM,wBAAwB;",
6
6
  "names": []
7
7
  }
@@ -1,14 +1,11 @@
1
1
  import type { DSTabsT, DSTabT } from '@elliemae/ds-tabs';
2
- type DSMobileTabsPropsT = Omit<DSTabsT.InternalProps, 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'>;
2
+ type DSMobileTabsPropsT = Omit<DSTabsT.Props, 'animated' | 'enableMouseEvents' | 'allowTextSelection' | 'type' | 'isDSMobile' | 'withCarousel'>;
3
3
  type DSMobileTabPropsT = Omit<DSTabT.Props, 'isDSMobile'>;
4
- declare const DSMobileTabs: {
5
- ({ children, ...props }: DSMobileTabsPropsT): import("react/jsx-runtime.js").JSX.Element;
6
- displayName: string;
7
- };
4
+ declare const DSMobileTabs: (props: DSMobileTabsPropsT) => import("react/jsx-runtime").JSX.Element;
8
5
  declare const DSMobileTab: {
9
- ({ children, ...props }: DSMobileTabPropsT): import("react/jsx-runtime.js").JSX.Element;
6
+ (props: DSMobileTabPropsT): import("react/jsx-runtime").JSX.Element;
10
7
  displayName: string;
11
8
  };
12
- declare const DSMobileTabsWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMobileTabsPropsT>;
13
- declare const DSMobileTabWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMobileTabPropsT>;
9
+ declare const DSMobileTabsWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<DSTabsT.Props>;
10
+ declare const DSMobileTabWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<DSTabT.Props>;
14
11
  export { DSMobileTabsWithSchema, DSMobileTabWithSchema, DSMobileTabs, DSMobileTab };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-mobile",
3
- "version": "3.55.0-next.14",
3
+ "version": "3.55.0-next.15",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - System",
6
6
  "files": [
@@ -44,22 +44,22 @@
44
44
  "prop-types": "~15.8.1",
45
45
  "react-window": "~1.8.8",
46
46
  "react-window-infinite-loader": "~1.0.8",
47
- "@elliemae/ds-accordion": "3.55.0-next.14",
48
- "@elliemae/ds-backdrop": "3.55.0-next.14",
49
- "@elliemae/ds-button": "3.55.0-next.14",
50
- "@elliemae/ds-form": "3.55.0-next.14",
51
- "@elliemae/ds-button-v2": "3.55.0-next.14",
52
- "@elliemae/ds-indeterminate-progress-indicator": "3.55.0-next.14",
53
- "@elliemae/ds-circular-progress-indicator": "3.55.0-next.14",
54
- "@elliemae/ds-props-helpers": "3.55.0-next.14",
55
- "@elliemae/ds-icons": "3.55.0-next.14",
56
- "@elliemae/ds-grid": "3.55.0-next.14",
57
- "@elliemae/ds-icon": "3.55.0-next.14",
58
- "@elliemae/ds-shared": "3.55.0-next.14",
59
- "@elliemae/ds-system": "3.55.0-next.14",
60
- "@elliemae/ds-form-checkbox": "3.55.0-next.14",
61
- "@elliemae/ds-truncated-expandable-text": "3.55.0-next.14",
62
- "@elliemae/ds-tabs": "3.55.0-next.14"
47
+ "@elliemae/ds-accordion": "3.55.0-next.15",
48
+ "@elliemae/ds-backdrop": "3.55.0-next.15",
49
+ "@elliemae/ds-button": "3.55.0-next.15",
50
+ "@elliemae/ds-button-v2": "3.55.0-next.15",
51
+ "@elliemae/ds-form": "3.55.0-next.15",
52
+ "@elliemae/ds-circular-progress-indicator": "3.55.0-next.15",
53
+ "@elliemae/ds-form-checkbox": "3.55.0-next.15",
54
+ "@elliemae/ds-grid": "3.55.0-next.15",
55
+ "@elliemae/ds-icon": "3.55.0-next.15",
56
+ "@elliemae/ds-indeterminate-progress-indicator": "3.55.0-next.15",
57
+ "@elliemae/ds-icons": "3.55.0-next.15",
58
+ "@elliemae/ds-props-helpers": "3.55.0-next.15",
59
+ "@elliemae/ds-shared": "3.55.0-next.15",
60
+ "@elliemae/ds-system": "3.55.0-next.15",
61
+ "@elliemae/ds-truncated-expandable-text": "3.55.0-next.15",
62
+ "@elliemae/ds-tabs": "3.55.0-next.15"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@elliemae/pui-cli": "9.0.0-next.65",
@@ -68,8 +68,8 @@
68
68
  "jest-cli": "~29.7.0",
69
69
  "styled-components": "~5.3.9",
70
70
  "styled-system": "^5.1.5",
71
- "@elliemae/ds-monorepo-devops": "3.55.0-next.14",
72
- "@elliemae/ds-test-utils": "3.55.0-next.14"
71
+ "@elliemae/ds-monorepo-devops": "3.55.0-next.15",
72
+ "@elliemae/ds-test-utils": "3.55.0-next.15"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@elliemae/pui-theme": "~2.13.0",
@@ -1,54 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var propTypes_exports = {};
30
- __export(propTypes_exports, {
31
- MobileTabPropTypes: () => MobileTabPropTypes,
32
- MobileTabsPropTypes: () => MobileTabsPropTypes
33
- });
34
- module.exports = __toCommonJS(propTypes_exports);
35
- var React = __toESM(require("react"));
36
- var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
37
- const MobileTabPropTypes = {
38
- tabId: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]).description("Unique Tab id.").defaultValue(""),
39
- title: import_ds_props_helpers.PropTypes.string.description("Tab title.").defaultValue(""),
40
- required: import_ds_props_helpers.PropTypes.bool.description("Show a required mark next to the title.").defaultValue(false),
41
- disabled: import_ds_props_helpers.PropTypes.bool.description("Disables Tab.").defaultValue(false)
42
- };
43
- const MobileTabsPropTypes = {
44
- onTabChange: import_ds_props_helpers.PropTypes.func.description("Handler when a user clicks on a different Tab.").defaultValue("() => {}"),
45
- tabBarExtraContent: import_ds_props_helpers.PropTypes.element.description("Extra content next to the Tabs Bar.").defaultValue(void 0),
46
- onlyRenderActiveTab: import_ds_props_helpers.PropTypes.bool.description("Only renders the active Tab in the DOM.").defaultValue(false),
47
- fixedTabsHeaders: import_ds_props_helpers.PropTypes.bool.description("Enables fixed Tabs mode. Makes Tab Bar non scrollable and adds equal fixed widths.").defaultValue(false),
48
- activeTab: import_ds_props_helpers.PropTypes.string.description("Passing a value makes DSTabs a controlled component.").defaultValue("First DSTab children."),
49
- children: import_ds_props_helpers.PropTypes.node.description("Use DSTab component as children.").isRequired,
50
- tabsListAriaLabel: import_ds_props_helpers.PropTypes.string.description("Aria label for the Tab list.").defaultValue("Tab list."),
51
- containerProps: import_ds_props_helpers.PropTypes.object.description("Additional properties for the container.").defaultValue({}),
52
- innerRef: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.func, import_ds_props_helpers.PropTypes.shape({ current: import_ds_props_helpers.PropTypes.any })]).description("Ref to the container.").defaultValue(void 0)
53
- };
54
- //# sourceMappingURL=propTypes.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/Tabs/propTypes.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const MobileTabPropTypes = {\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 MobileTabsPropTypes = {\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tabs Bar.').defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n fixedTabsHeaders: PropTypes.bool\n .description('Enables fixed Tabs mode. Makes Tab Bar non scrollable and adds equal fixed widths.')\n .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 Tab 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", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAEnB,MAAM,qBAAqB;AAAA,EAChC,OAAO,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB,EAAE,aAAa,EAAE;AAAA,EAC9G,OAAO,kCAAU,OAAO,YAAY,YAAY,EAAE,aAAa,EAAE;AAAA,EACjE,UAAU,kCAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAClG,UAAU,kCAAU,KAAK,YAAY,eAAe,EAAE,aAAa,KAAK;AAC1E;AAEO,MAAM,sBAAsB;AAAA,EACjC,aAAa,kCAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,oBAAoB,kCAAU,QAAQ,YAAY,qCAAqC,EAAE,aAAa,MAAS;AAAA,EAC/G,qBAAqB,kCAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,kBAAkB,kCAAU,KACzB,YAAY,oFAAoF,EAChG,aAAa,KAAK;AAAA,EACrB,WAAW,kCAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,kCAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,kCAAU,OAAO,YAAY,8BAA8B,EAAE,aAAa,WAAW;AAAA,EACxG,gBAAgB,kCAAU,OAAO,YAAY,0CAA0C,EAAE,aAAa,CAAC,CAAC;AAAA,EACxG,UAAU,kCAAU,UAAU,CAAC,kCAAU,MAAM,kCAAU,MAAM,EAAE,SAAS,kCAAU,IAAI,CAAC,CAAC,CAAC,EACxF,YAAY,uBAAuB,EACnC,aAAa,MAAS;AAC3B;",
6
- "names": []
7
- }
@@ -1,24 +0,0 @@
1
- import * as React from "react";
2
- import { PropTypes } from "@elliemae/ds-props-helpers";
3
- const MobileTabPropTypes = {
4
- tabId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description("Unique Tab id.").defaultValue(""),
5
- title: PropTypes.string.description("Tab title.").defaultValue(""),
6
- required: PropTypes.bool.description("Show a required mark next to the title.").defaultValue(false),
7
- disabled: PropTypes.bool.description("Disables Tab.").defaultValue(false)
8
- };
9
- const MobileTabsPropTypes = {
10
- onTabChange: PropTypes.func.description("Handler when a user clicks on a different Tab.").defaultValue("() => {}"),
11
- tabBarExtraContent: PropTypes.element.description("Extra content next to the Tabs Bar.").defaultValue(void 0),
12
- onlyRenderActiveTab: PropTypes.bool.description("Only renders the active Tab in the DOM.").defaultValue(false),
13
- fixedTabsHeaders: PropTypes.bool.description("Enables fixed Tabs mode. Makes Tab Bar non scrollable and adds equal fixed widths.").defaultValue(false),
14
- activeTab: PropTypes.string.description("Passing a value makes DSTabs a controlled component.").defaultValue("First DSTab children."),
15
- children: PropTypes.node.description("Use DSTab component as children.").isRequired,
16
- tabsListAriaLabel: PropTypes.string.description("Aria label for the Tab list.").defaultValue("Tab list."),
17
- containerProps: PropTypes.object.description("Additional properties for the container.").defaultValue({}),
18
- innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({ current: PropTypes.any })]).description("Ref to the container.").defaultValue(void 0)
19
- };
20
- export {
21
- MobileTabPropTypes,
22
- MobileTabsPropTypes
23
- };
24
- //# sourceMappingURL=propTypes.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/Tabs/propTypes.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport const MobileTabPropTypes = {\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 MobileTabsPropTypes = {\n onTabChange: PropTypes.func.description('Handler when a user clicks on a different Tab.').defaultValue('() => {}'),\n tabBarExtraContent: PropTypes.element.description('Extra content next to the Tabs Bar.').defaultValue(undefined),\n onlyRenderActiveTab: PropTypes.bool.description('Only renders the active Tab in the DOM.').defaultValue(false),\n fixedTabsHeaders: PropTypes.bool\n .description('Enables fixed Tabs mode. Makes Tab Bar non scrollable and adds equal fixed widths.')\n .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 Tab 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"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAEnB,MAAM,qBAAqB;AAAA,EAChC,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,sBAAsB;AAAA,EACjC,aAAa,UAAU,KAAK,YAAY,gDAAgD,EAAE,aAAa,UAAU;AAAA,EACjH,oBAAoB,UAAU,QAAQ,YAAY,qCAAqC,EAAE,aAAa,MAAS;AAAA,EAC/G,qBAAqB,UAAU,KAAK,YAAY,yCAAyC,EAAE,aAAa,KAAK;AAAA,EAC7G,kBAAkB,UAAU,KACzB,YAAY,oFAAoF,EAChG,aAAa,KAAK;AAAA,EACrB,WAAW,UAAU,OAClB,YAAY,sDAAsD,EAClE,aAAa,uBAAuB;AAAA,EACvC,UAAU,UAAU,KAAK,YAAY,kCAAkC,EAAE;AAAA,EACzE,mBAAmB,UAAU,OAAO,YAAY,8BAA8B,EAAE,aAAa,WAAW;AAAA,EACxG,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;",
6
- "names": []
7
- }
@@ -1,17 +0,0 @@
1
- export declare const MobileTabPropTypes: {
2
- tabId: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
3
- title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
4
- required: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
5
- disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
6
- };
7
- export declare const MobileTabsPropTypes: {
8
- onTabChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
9
- tabBarExtraContent: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
10
- onlyRenderActiveTab: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
11
- fixedTabsHeaders: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
12
- activeTab: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
13
- children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
14
- tabsListAriaLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
15
- containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
16
- innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
17
- };