@elliemae/ds-menu-items 3.21.0-next.1 → 3.21.0-next.2

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.
@@ -0,0 +1,46 @@
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 SkeletonMenuItem_exports = {};
30
+ __export(SkeletonMenuItem_exports, {
31
+ SkeletonMenuItem: () => SkeletonMenuItem
32
+ });
33
+ module.exports = __toCommonJS(SkeletonMenuItem_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var import_react = require("react");
37
+ var import_ds_skeleton = require("@elliemae/ds-skeleton");
38
+ var import_styled = require("../styled.js");
39
+ const SkeletonMenuItem = () => {
40
+ const gridLayout = (0, import_react.useMemo)(() => ["16px", "auto"], []);
41
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.StyledGlobalMenuItemWrapper, { "data-type": "skeleton", "data-testid": "ds-skeleton-menu-item", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_styled.StyledContentWrapper, { cols: gridLayout, minHeight: "16px", gutter: "xxs", alignItems: "center", children: [
42
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_skeleton.DSSkeleton, { variant: "rectangular", width: "100%" }),
43
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_skeleton.DSSkeleton, { variant: "rectangular", width: "100%" })
44
+ ] }) });
45
+ };
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/components/SkeletonMenuItem/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React, { useMemo } from 'react';\nimport { DSSkeleton } from '@elliemae/ds-skeleton';\nimport { StyledContentWrapper, StyledGlobalMenuItemWrapper } from '../styled.js';\n\nconst SkeletonMenuItem = () => {\n const gridLayout = useMemo(() => ['16px', 'auto'], []);\n\n return (\n <StyledGlobalMenuItemWrapper data-type=\"skeleton\" data-testid=\"ds-skeleton-menu-item\">\n <StyledContentWrapper cols={gridLayout} minHeight=\"16px\" gutter=\"xxs\" alignItems=\"center\">\n <DSSkeleton variant=\"rectangular\" width={'100%'} />\n <DSSkeleton variant=\"rectangular\" width={'100%'} />\n </StyledContentWrapper>\n </StyledGlobalMenuItemWrapper>\n );\n};\n\nexport { SkeletonMenuItem };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADSjB;AATN,mBAA+B;AAC/B,yBAA2B;AAC3B,oBAAkE;AAElE,MAAM,mBAAmB,MAAM;AAC7B,QAAM,iBAAa,sBAAQ,MAAM,CAAC,QAAQ,MAAM,GAAG,CAAC,CAAC;AAErD,SACE,4CAAC,6CAA4B,aAAU,YAAW,eAAY,yBAC5D,uDAAC,sCAAqB,MAAM,YAAY,WAAU,QAAO,QAAO,OAAM,YAAW,UAC/E;AAAA,gDAAC,iCAAW,SAAQ,eAAc,OAAO,QAAQ;AAAA,IACjD,4CAAC,iCAAW,SAAQ,eAAc,OAAO,QAAQ;AAAA,KACnD,GACF;AAEJ;",
6
+ "names": []
7
+ }
@@ -33,4 +33,5 @@ __reExport(components_exports, require("./Separator/index.js"), module.exports);
33
33
  __reExport(components_exports, require("./SingleMenuItem/index.js"), module.exports);
34
34
  __reExport(components_exports, require("./SingleWithSubmenuItem/index.js"), module.exports);
35
35
  __reExport(components_exports, require("./SubmenuItem/index.js"), module.exports);
36
+ __reExport(components_exports, require("./SkeletonMenuItem/index.js"), module.exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export * from './ActionMenuItem/index.js';\nexport * from './MultiMenuItem/index.js';\nexport * from './Section/index.js';\nexport * from './Separator/index.js';\nexport * from './SingleMenuItem/index.js';\nexport * from './SingleWithSubmenuItem/index.js';\nexport * from './SubmenuItem/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,+BAAc,sCAAd;AACA,+BAAc,qCADd;AAEA,+BAAc,+BAFd;AAGA,+BAAc,iCAHd;AAIA,+BAAc,sCAJd;AAKA,+BAAc,6CALd;AAMA,+BAAc,mCANd;",
4
+ "sourcesContent": ["export * from './ActionMenuItem/index.js';\nexport * from './MultiMenuItem/index.js';\nexport * from './Section/index.js';\nexport * from './Separator/index.js';\nexport * from './SingleMenuItem/index.js';\nexport * from './SingleWithSubmenuItem/index.js';\nexport * from './SubmenuItem/index.js';\nexport * from './SkeletonMenuItem/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,+BAAc,sCAAd;AACA,+BAAc,qCADd;AAEA,+BAAc,+BAFd;AAGA,+BAAc,iCAHd;AAIA,+BAAc,sCAJd;AAKA,+BAAc,6CALd;AAMA,+BAAc,mCANd;AAOA,+BAAc,wCAPd;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,16 @@
1
+ import * as React from "react";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useMemo } from "react";
4
+ import { DSSkeleton } from "@elliemae/ds-skeleton";
5
+ import { StyledContentWrapper, StyledGlobalMenuItemWrapper } from "../styled.js";
6
+ const SkeletonMenuItem = () => {
7
+ const gridLayout = useMemo(() => ["16px", "auto"], []);
8
+ return /* @__PURE__ */ jsx(StyledGlobalMenuItemWrapper, { "data-type": "skeleton", "data-testid": "ds-skeleton-menu-item", children: /* @__PURE__ */ jsxs(StyledContentWrapper, { cols: gridLayout, minHeight: "16px", gutter: "xxs", alignItems: "center", children: [
9
+ /* @__PURE__ */ jsx(DSSkeleton, { variant: "rectangular", width: "100%" }),
10
+ /* @__PURE__ */ jsx(DSSkeleton, { variant: "rectangular", width: "100%" })
11
+ ] }) });
12
+ };
13
+ export {
14
+ SkeletonMenuItem
15
+ };
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/SkeletonMenuItem/index.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useMemo } from 'react';\nimport { DSSkeleton } from '@elliemae/ds-skeleton';\nimport { StyledContentWrapper, StyledGlobalMenuItemWrapper } from '../styled.js';\n\nconst SkeletonMenuItem = () => {\n const gridLayout = useMemo(() => ['16px', 'auto'], []);\n\n return (\n <StyledGlobalMenuItemWrapper data-type=\"skeleton\" data-testid=\"ds-skeleton-menu-item\">\n <StyledContentWrapper cols={gridLayout} minHeight=\"16px\" gutter=\"xxs\" alignItems=\"center\">\n <DSSkeleton variant=\"rectangular\" width={'100%'} />\n <DSSkeleton variant=\"rectangular\" width={'100%'} />\n </StyledContentWrapper>\n </StyledGlobalMenuItemWrapper>\n );\n};\n\nexport { SkeletonMenuItem };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACSjB,SACE,KADF;AATN,SAAgB,eAAe;AAC/B,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB,mCAAmC;AAElE,MAAM,mBAAmB,MAAM;AAC7B,QAAM,aAAa,QAAQ,MAAM,CAAC,QAAQ,MAAM,GAAG,CAAC,CAAC;AAErD,SACE,oBAAC,+BAA4B,aAAU,YAAW,eAAY,yBAC5D,+BAAC,wBAAqB,MAAM,YAAY,WAAU,QAAO,QAAO,OAAM,YAAW,UAC/E;AAAA,wBAAC,cAAW,SAAQ,eAAc,OAAO,QAAQ;AAAA,IACjD,oBAAC,cAAW,SAAQ,eAAc,OAAO,QAAQ;AAAA,KACnD,GACF;AAEJ;",
6
+ "names": []
7
+ }
@@ -6,4 +6,5 @@ export * from "./Separator/index.js";
6
6
  export * from "./SingleMenuItem/index.js";
7
7
  export * from "./SingleWithSubmenuItem/index.js";
8
8
  export * from "./SubmenuItem/index.js";
9
+ export * from "./SkeletonMenuItem/index.js";
9
10
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './ActionMenuItem/index.js';\nexport * from './MultiMenuItem/index.js';\nexport * from './Section/index.js';\nexport * from './Separator/index.js';\nexport * from './SingleMenuItem/index.js';\nexport * from './SingleWithSubmenuItem/index.js';\nexport * from './SubmenuItem/index.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './ActionMenuItem/index.js';\nexport * from './MultiMenuItem/index.js';\nexport * from './Section/index.js';\nexport * from './Separator/index.js';\nexport * from './SingleMenuItem/index.js';\nexport * from './SingleWithSubmenuItem/index.js';\nexport * from './SubmenuItem/index.js';\nexport * from './SkeletonMenuItem/index.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,2 @@
1
+ declare const SkeletonMenuItem: () => import("react/jsx-runtime.js").JSX.Element;
2
+ export { SkeletonMenuItem };
@@ -5,3 +5,4 @@ export * from './Separator/index.js';
5
5
  export * from './SingleMenuItem/index.js';
6
6
  export * from './SingleWithSubmenuItem/index.js';
7
7
  export * from './SubmenuItem/index.js';
8
+ export * from './SkeletonMenuItem/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-menu-items",
3
- "version": "3.21.0-next.1",
3
+ "version": "3.21.0-next.2",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Menu Items",
6
6
  "files": [
@@ -37,11 +37,12 @@
37
37
  "dependencies": {
38
38
  "@xstyled/system": "~3.7.3",
39
39
  "@xstyled/util": "3.7.0",
40
- "@elliemae/ds-form-checkbox": "3.21.0-next.1",
41
- "@elliemae/ds-grid": "3.21.0-next.1",
42
- "@elliemae/ds-icons": "3.21.0-next.1",
43
- "@elliemae/ds-props-helpers": "3.21.0-next.1",
44
- "@elliemae/ds-system": "3.21.0-next.1"
40
+ "@elliemae/ds-form-checkbox": "3.21.0-next.2",
41
+ "@elliemae/ds-grid": "3.21.0-next.2",
42
+ "@elliemae/ds-props-helpers": "3.21.0-next.2",
43
+ "@elliemae/ds-system": "3.21.0-next.2",
44
+ "@elliemae/ds-icons": "3.21.0-next.2",
45
+ "@elliemae/ds-skeleton": "3.21.0-next.2"
45
46
  },
46
47
  "peerDependencies": {
47
48
  "lodash": "^4.17.21",