@elliemae/ds-zoom 3.27.0-next.1 → 3.27.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -29,10 +29,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
  var src_exports = {};
31
31
  __export(src_exports, {
32
- default: () => import_DSZoom.default
32
+ default: () => import_ds_legacy_zoom.default
33
33
  });
34
34
  module.exports = __toCommonJS(src_exports);
35
35
  var React = __toESM(require("react"));
36
- __reExport(src_exports, require("./DSZoom.js"), module.exports);
37
- var import_DSZoom = __toESM(require("./DSZoom.js"));
36
+ __reExport(src_exports, require("@elliemae/ds-legacy-zoom"), module.exports);
37
+ var import_ds_legacy_zoom = __toESM(require("@elliemae/ds-legacy-zoom"));
38
38
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export * from './DSZoom.js';\nexport { default } from './DSZoom.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,wBAAd;AACA,oBAAwB;",
4
+ "sourcesContent": ["export * from '@elliemae/ds-legacy-zoom';\nexport { default } from '@elliemae/ds-legacy-zoom';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,qCAAd;AACA,4BAAwB;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
- export * from "./DSZoom.js";
3
- import { default as default2 } from "./DSZoom.js";
2
+ export * from "@elliemae/ds-legacy-zoom";
3
+ import { default as default2 } from "@elliemae/ds-legacy-zoom";
4
4
  export {
5
5
  default2 as default
6
6
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSZoom.js';\nexport { default } from './DSZoom.js';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from '@elliemae/ds-legacy-zoom';\nexport { default } from '@elliemae/ds-legacy-zoom';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,SAAS,WAAAA,gBAAe;",
6
6
  "names": ["default"]
7
7
  }
@@ -1,2 +1,2 @@
1
- export * from './DSZoom.js';
2
- export { default } from './DSZoom.js';
1
+ export * from '@elliemae/ds-legacy-zoom';
2
+ export { default } from '@elliemae/ds-legacy-zoom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-zoom",
3
- "version": "3.27.0-next.1",
3
+ "version": "3.27.0-next.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Zoom",
6
6
  "files": [
@@ -13,18 +13,6 @@
13
13
  ".": {
14
14
  "import": "./dist/esm/index.js",
15
15
  "require": "./dist/cjs/index.js"
16
- },
17
- "./DSZoom": {
18
- "import": "./dist/esm/DSZoom.js",
19
- "require": "./dist/cjs/DSZoom.js"
20
- },
21
- "./components/zoomOptions": {
22
- "import": "./dist/esm/components/zoomOptions.js",
23
- "require": "./dist/cjs/components/zoomOptions.js"
24
- },
25
- "./components/utils": {
26
- "import": "./dist/esm/components/utils.js",
27
- "require": "./dist/cjs/components/utils.js"
28
16
  }
29
17
  },
30
18
  "sideEffects": [
@@ -47,14 +35,11 @@
47
35
  "indent": 4
48
36
  },
49
37
  "dependencies": {
50
- "@elliemae/ds-classnames": "3.27.0-next.1",
51
- "@elliemae/ds-form": "3.27.0-next.1",
52
- "@elliemae/ds-props-helpers": "3.27.0-next.1",
53
- "@elliemae/ds-system": "3.27.0-next.1"
38
+ "@elliemae/ds-legacy-zoom": "1.0.1"
54
39
  },
55
40
  "devDependencies": {
56
41
  "@elliemae/pui-cli": "~9.0.0-next.31",
57
- "@elliemae/ds-monorepo-devops": "3.27.0-next.1"
42
+ "@elliemae/ds-monorepo-devops": "3.27.0-next.3"
58
43
  },
59
44
  "peerDependencies": {
60
45
  "react": "^17.0.2",
@@ -66,13 +51,13 @@
66
51
  },
67
52
  "scripts": {
68
53
  "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
69
- "test": "pui-cli test --passWithNoTests",
70
- "lint": "node ../../../scripts/lint.mjs",
71
- "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
72
- "dts": "node ../../../scripts/dts.mjs",
54
+ "test": "exit 0 | echo",
55
+ "lint": "exit 0 | echo",
56
+ "eslint:fix": "exit 0 | echo",
57
+ "dts": "exit 0 | echo",
73
58
  "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
74
59
  "dev:build": "pnpm --filter {.}... build",
75
60
  "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
76
- "checkDeps": "npm exec ../../util/ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
61
+ "checkDeps": "exit 0 | echo"
77
62
  }
78
63
  }
@@ -1,124 +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 DSZoom_exports = {};
30
- __export(DSZoom_exports, {
31
- DSZoom: () => DSZoom,
32
- ZoomWithSchema: () => ZoomWithSchema,
33
- default: () => DSZoom_default
34
- });
35
- module.exports = __toCommonJS(DSZoom_exports);
36
- var React = __toESM(require("react"));
37
- var import_jsx_runtime = require("react/jsx-runtime");
38
- var import_react = require("react");
39
- var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
40
- var import_ds_classnames = require("@elliemae/ds-classnames");
41
- var import_ds_form = require("@elliemae/ds-form");
42
- var import_zoomOptions = __toESM(require("./components/zoomOptions.js"));
43
- var import_utils = require("./components/utils.js");
44
- const DSZoom = ({
45
- className = "",
46
- disabled = false,
47
- value = void 0,
48
- onChange = () => null,
49
- containerProps = {},
50
- zoomOptions = import_zoomOptions.default,
51
- ...otherProps
52
- }) => {
53
- const { cssClassName } = (0, import_ds_classnames.convertPropToCssClassName)("zoom-resize", className, {
54
- disabled
55
- });
56
- const defaultOption = zoomOptions.find((option) => option.default);
57
- const [menuIsOpen, setMenuIsOpen] = (0, import_react.useState)(false);
58
- const [selectedOption, setSelectedOption] = (0, import_react.useState)(defaultOption);
59
- const [custom, setCustom] = (0, import_react.useState)(
60
- !value ? defaultOption : {
61
- label: `${(0, import_utils.clean)(value)}%`,
62
- value: (0, import_utils.clean)(value),
63
- id: "custom"
64
- }
65
- );
66
- const options = [custom, ...zoomOptions.filter((option) => !option.default)];
67
- const currentValue = value || selectedOption?.value || custom?.value || defaultOption?.value;
68
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: `${cssClassName}`, ...containerProps, ...otherProps, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
69
- import_ds_form.DSComboBox,
70
- {
71
- searchable: true,
72
- disabled,
73
- menuIsOpen,
74
- onChange: (valueChange, { action }) => {
75
- const op = options.find((option) => option.value === valueChange);
76
- setSelectedOption(op);
77
- onChange(op);
78
- setMenuIsOpen(false);
79
- if (action === "select-option") {
80
- document.activeElement.blur();
81
- }
82
- },
83
- onClickDropdownIndicator: () => setMenuIsOpen(!menuIsOpen),
84
- onInputChange: (valueInput, action) => {
85
- if (valueInput || action.action === "input-change") {
86
- if (!valueInput) {
87
- setCustom(defaultOption);
88
- onChange(defaultOption);
89
- } else if (!Number.isNaN(parseInt(valueInput, 10))) {
90
- const cleanValue = parseInt(valueInput, 10);
91
- const newOption = {
92
- label: `${cleanValue}%`,
93
- value: `${cleanValue}%`,
94
- id: "custom"
95
- };
96
- setCustom(newOption);
97
- onChange(newOption);
98
- }
99
- }
100
- setMenuIsOpen(false);
101
- },
102
- options,
103
- value: currentValue
104
- }
105
- ) });
106
- };
107
- const zoomProps = {
108
- className: import_ds_props_helpers.PropTypes.string.description("html class attribute"),
109
- containerProps: import_ds_props_helpers.PropTypes.object.description("Set of Properties attached to the main container"),
110
- disabled: import_ds_props_helpers.PropTypes.bool.description("disable component").defaultValue(false),
111
- value: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number, import_ds_props_helpers.PropTypes.object]).description("current value"),
112
- onChange: import_ds_props_helpers.PropTypes.func.description("function called when a new value is selected"),
113
- zoomOptions: import_ds_props_helpers.PropTypes.shape({
114
- label: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]),
115
- value: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]),
116
- default: import_ds_props_helpers.PropTypes.bool
117
- }).description("list of options to display in the select menu")
118
- };
119
- DSZoom.propTypes = zoomProps;
120
- DSZoom.displayName = "DSZoom";
121
- const ZoomWithSchema = (0, import_ds_props_helpers.describe)(DSZoom);
122
- ZoomWithSchema.propTypes = zoomProps;
123
- var DSZoom_default = DSZoom;
124
- //# sourceMappingURL=DSZoom.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DSZoom.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable indent */\nimport React, { useState } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { DSComboBox } from '@elliemae/ds-form';\nimport zoomDefaultOptions from './components/zoomOptions.js';\nimport { clean } from './components/utils.js';\n\nconst DSZoom = ({\n className = '',\n disabled = false,\n value = undefined,\n onChange = () => null,\n containerProps = {},\n zoomOptions = zoomDefaultOptions,\n ...otherProps\n}) => {\n const { cssClassName } = convertPropToCssClassName('zoom-resize', className, {\n disabled,\n });\n const defaultOption = zoomOptions.find((option) => option.default);\n const [menuIsOpen, setMenuIsOpen] = useState(false);\n const [selectedOption, setSelectedOption] = useState(defaultOption);\n const [custom, setCustom] = useState(\n !value\n ? defaultOption\n : {\n label: `${clean(value)}%`,\n value: clean(value),\n id: 'custom',\n },\n );\n const options = [custom, ...zoomOptions.filter((option) => !option.default)];\n\n const currentValue = value || selectedOption?.value || custom?.value || defaultOption?.value;\n\n return (\n <div className={`${cssClassName}`} {...containerProps} {...otherProps}>\n <DSComboBox\n searchable\n disabled={disabled}\n menuIsOpen={menuIsOpen}\n onChange={(valueChange, { action }) => {\n const op = options.find((option) => option.value === valueChange);\n setSelectedOption(op);\n onChange(op);\n setMenuIsOpen(false);\n if (action === 'select-option') {\n document.activeElement.blur();\n }\n }}\n onClickDropdownIndicator={() => setMenuIsOpen(!menuIsOpen)}\n onInputChange={(valueInput, action) => {\n if (valueInput || action.action === 'input-change') {\n if (!valueInput) {\n setCustom(defaultOption);\n onChange(defaultOption);\n } else if (!Number.isNaN(parseInt(valueInput, 10))) {\n const cleanValue = parseInt(valueInput, 10);\n const newOption = {\n label: `${cleanValue}%`,\n value: `${cleanValue}%`,\n id: 'custom',\n };\n setCustom(newOption);\n onChange(newOption);\n }\n }\n setMenuIsOpen(false);\n }}\n options={options}\n value={currentValue}\n />\n </div>\n );\n};\n\nconst zoomProps = {\n className: PropTypes.string.description('html class attribute'),\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n disabled: PropTypes.bool.description('disable component').defaultValue(false),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]).description('current value'),\n onChange: PropTypes.func.description('function called when a new value is selected'),\n zoomOptions: PropTypes.shape({\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n default: PropTypes.bool,\n }).description('list of options to display in the select menu'),\n};\n\nDSZoom.propTypes = zoomProps;\nDSZoom.displayName = 'DSZoom';\nconst ZoomWithSchema = describe(DSZoom);\nZoomWithSchema.propTypes = zoomProps;\n\nexport { DSZoom, ZoomWithSchema };\nexport default DSZoom;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADsCjB;AArCN,mBAAgC;AAChC,8BAA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
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 utils_exports = {};
30
- __export(utils_exports, {
31
- clean: () => clean,
32
- getCurrentFont: () => getCurrentFont,
33
- getFactor: () => getFactor,
34
- setSize: () => setSize
35
- });
36
- module.exports = __toCommonJS(utils_exports);
37
- var React = __toESM(require("react"));
38
- const getCurrentFont = () => Number(window.getComputedStyle(document.querySelector(":root")).getPropertyValue("font-size").match(/\d+/)[0]);
39
- const setSize = (size) => document.querySelector(":root").setAttribute("style", `font-size: ${size}px`);
40
- const getFactor = (value) => value / 100;
41
- const clean = (value) => value.replace(/\D/g, "").substring(0, 3);
42
- //# sourceMappingURL=utils.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/components/utils.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const getCurrentFont = () =>\n Number(window.getComputedStyle(document.querySelector(':root')).getPropertyValue('font-size').match(/\\d+/)[0]);\nexport const setSize = (size) => document.querySelector(':root').setAttribute('style', `font-size: ${size}px`);\n\nexport const getFactor = (value) => value / 100;\n\nexport const clean = (value) => value.replace(/\\D/g, '').substring(0, 3);\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,iBAAiB,MAC5B,OAAO,OAAO,iBAAiB,SAAS,cAAc,OAAO,CAAC,EAAE,iBAAiB,WAAW,EAAE,MAAM,KAAK,EAAE,CAAC,CAAC;AACxG,MAAM,UAAU,CAAC,SAAS,SAAS,cAAc,OAAO,EAAE,aAAa,SAAS,cAAc,QAAQ;AAEtG,MAAM,YAAY,CAAC,UAAU,QAAQ;AAErC,MAAM,QAAQ,CAAC,UAAU,MAAM,QAAQ,OAAO,EAAE,EAAE,UAAU,GAAG,CAAC;",
6
- "names": []
7
- }
@@ -1,70 +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 zoomOptions_exports = {};
30
- __export(zoomOptions_exports, {
31
- default: () => zoomOptions_default
32
- });
33
- module.exports = __toCommonJS(zoomOptions_exports);
34
- var React = __toESM(require("react"));
35
- var zoomOptions_default = [
36
- {
37
- label: "25%",
38
- value: "25"
39
- },
40
- {
41
- label: "50%",
42
- value: "50"
43
- },
44
- {
45
- label: "75%",
46
- value: "75"
47
- },
48
- {
49
- label: "100%",
50
- value: "100",
51
- default: true
52
- },
53
- {
54
- label: "125%",
55
- value: "125"
56
- },
57
- {
58
- label: "150%",
59
- value: "150"
60
- },
61
- {
62
- label: "175%",
63
- value: "175"
64
- },
65
- {
66
- label: "200%",
67
- value: "200"
68
- }
69
- ];
70
- //# sourceMappingURL=zoomOptions.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/components/zoomOptions.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export default [\n {\n label: '25%',\n value: '25',\n },\n {\n label: '50%',\n value: '50',\n },\n {\n label: '75%',\n value: '75',\n },\n {\n label: '100%',\n value: '100',\n default: true,\n },\n {\n label: '125%',\n value: '125',\n },\n {\n label: '150%',\n value: '150',\n },\n {\n label: '175%',\n value: '175',\n },\n {\n label: '200%',\n value: '200',\n },\n];\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,IAAO,sBAAQ;AAAA,EACb;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AACF;",
6
- "names": []
7
- }
@@ -1,94 +0,0 @@
1
- import * as React from "react";
2
- import { jsx } from "react/jsx-runtime";
3
- import { useState } from "react";
4
- import { describe, PropTypes } from "@elliemae/ds-props-helpers";
5
- import { convertPropToCssClassName } from "@elliemae/ds-classnames";
6
- import { DSComboBox } from "@elliemae/ds-form";
7
- import zoomDefaultOptions from "./components/zoomOptions.js";
8
- import { clean } from "./components/utils.js";
9
- const DSZoom = ({
10
- className = "",
11
- disabled = false,
12
- value = void 0,
13
- onChange = () => null,
14
- containerProps = {},
15
- zoomOptions = zoomDefaultOptions,
16
- ...otherProps
17
- }) => {
18
- const { cssClassName } = convertPropToCssClassName("zoom-resize", className, {
19
- disabled
20
- });
21
- const defaultOption = zoomOptions.find((option) => option.default);
22
- const [menuIsOpen, setMenuIsOpen] = useState(false);
23
- const [selectedOption, setSelectedOption] = useState(defaultOption);
24
- const [custom, setCustom] = useState(
25
- !value ? defaultOption : {
26
- label: `${clean(value)}%`,
27
- value: clean(value),
28
- id: "custom"
29
- }
30
- );
31
- const options = [custom, ...zoomOptions.filter((option) => !option.default)];
32
- const currentValue = value || selectedOption?.value || custom?.value || defaultOption?.value;
33
- return /* @__PURE__ */ jsx("div", { className: `${cssClassName}`, ...containerProps, ...otherProps, children: /* @__PURE__ */ jsx(
34
- DSComboBox,
35
- {
36
- searchable: true,
37
- disabled,
38
- menuIsOpen,
39
- onChange: (valueChange, { action }) => {
40
- const op = options.find((option) => option.value === valueChange);
41
- setSelectedOption(op);
42
- onChange(op);
43
- setMenuIsOpen(false);
44
- if (action === "select-option") {
45
- document.activeElement.blur();
46
- }
47
- },
48
- onClickDropdownIndicator: () => setMenuIsOpen(!menuIsOpen),
49
- onInputChange: (valueInput, action) => {
50
- if (valueInput || action.action === "input-change") {
51
- if (!valueInput) {
52
- setCustom(defaultOption);
53
- onChange(defaultOption);
54
- } else if (!Number.isNaN(parseInt(valueInput, 10))) {
55
- const cleanValue = parseInt(valueInput, 10);
56
- const newOption = {
57
- label: `${cleanValue}%`,
58
- value: `${cleanValue}%`,
59
- id: "custom"
60
- };
61
- setCustom(newOption);
62
- onChange(newOption);
63
- }
64
- }
65
- setMenuIsOpen(false);
66
- },
67
- options,
68
- value: currentValue
69
- }
70
- ) });
71
- };
72
- const zoomProps = {
73
- className: PropTypes.string.description("html class attribute"),
74
- containerProps: PropTypes.object.description("Set of Properties attached to the main container"),
75
- disabled: PropTypes.bool.description("disable component").defaultValue(false),
76
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]).description("current value"),
77
- onChange: PropTypes.func.description("function called when a new value is selected"),
78
- zoomOptions: PropTypes.shape({
79
- label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
80
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
81
- default: PropTypes.bool
82
- }).description("list of options to display in the select menu")
83
- };
84
- DSZoom.propTypes = zoomProps;
85
- DSZoom.displayName = "DSZoom";
86
- const ZoomWithSchema = describe(DSZoom);
87
- ZoomWithSchema.propTypes = zoomProps;
88
- var DSZoom_default = DSZoom;
89
- export {
90
- DSZoom,
91
- ZoomWithSchema,
92
- DSZoom_default as default
93
- };
94
- //# sourceMappingURL=DSZoom.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSZoom.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable indent */\nimport React, { useState } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { DSComboBox } from '@elliemae/ds-form';\nimport zoomDefaultOptions from './components/zoomOptions.js';\nimport { clean } from './components/utils.js';\n\nconst DSZoom = ({\n className = '',\n disabled = false,\n value = undefined,\n onChange = () => null,\n containerProps = {},\n zoomOptions = zoomDefaultOptions,\n ...otherProps\n}) => {\n const { cssClassName } = convertPropToCssClassName('zoom-resize', className, {\n disabled,\n });\n const defaultOption = zoomOptions.find((option) => option.default);\n const [menuIsOpen, setMenuIsOpen] = useState(false);\n const [selectedOption, setSelectedOption] = useState(defaultOption);\n const [custom, setCustom] = useState(\n !value\n ? defaultOption\n : {\n label: `${clean(value)}%`,\n value: clean(value),\n id: 'custom',\n },\n );\n const options = [custom, ...zoomOptions.filter((option) => !option.default)];\n\n const currentValue = value || selectedOption?.value || custom?.value || defaultOption?.value;\n\n return (\n <div className={`${cssClassName}`} {...containerProps} {...otherProps}>\n <DSComboBox\n searchable\n disabled={disabled}\n menuIsOpen={menuIsOpen}\n onChange={(valueChange, { action }) => {\n const op = options.find((option) => option.value === valueChange);\n setSelectedOption(op);\n onChange(op);\n setMenuIsOpen(false);\n if (action === 'select-option') {\n document.activeElement.blur();\n }\n }}\n onClickDropdownIndicator={() => setMenuIsOpen(!menuIsOpen)}\n onInputChange={(valueInput, action) => {\n if (valueInput || action.action === 'input-change') {\n if (!valueInput) {\n setCustom(defaultOption);\n onChange(defaultOption);\n } else if (!Number.isNaN(parseInt(valueInput, 10))) {\n const cleanValue = parseInt(valueInput, 10);\n const newOption = {\n label: `${cleanValue}%`,\n value: `${cleanValue}%`,\n id: 'custom',\n };\n setCustom(newOption);\n onChange(newOption);\n }\n }\n setMenuIsOpen(false);\n }}\n options={options}\n value={currentValue}\n />\n </div>\n );\n};\n\nconst zoomProps = {\n className: PropTypes.string.description('html class attribute'),\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n disabled: PropTypes.bool.description('disable component').defaultValue(false),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object]).description('current value'),\n onChange: PropTypes.func.description('function called when a new value is selected'),\n zoomOptions: PropTypes.shape({\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n default: PropTypes.bool,\n }).description('list of options to display in the select menu'),\n};\n\nDSZoom.propTypes = zoomProps;\nDSZoom.displayName = 'DSZoom';\nconst ZoomWithSchema = describe(DSZoom);\nZoomWithSchema.propTypes = zoomProps;\n\nexport { DSZoom, ZoomWithSchema };\nexport default DSZoom;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACsCjB;AArCN,SAAgB,gBAAgB;AAChC,SAAS,UAAU,iBAAiB;AACpC,SAAS,iCAAiC;AAC1C,SAAS,kBAAkB;AAC3B,OAAO,wBAAwB;AAC/B,SAAS,aAAa;AAEtB,MAAM,SAAS,CAAC;AAAA,EACd,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,WAAW,MAAM;AAAA,EACjB,iBAAiB,CAAC;AAAA,EAClB,cAAc;AAAA,EACd,GAAG;AACL,MAAM;AACJ,QAAM,EAAE,aAAa,IAAI,0BAA0B,eAAe,WAAW;AAAA,IAC3E;AAAA,EACF,CAAC;AACD,QAAM,gBAAgB,YAAY,KAAK,CAAC,WAAW,OAAO,OAAO;AACjE,QAAM,CAAC,YAAY,aAAa,IAAI,SAAS,KAAK;AAClD,QAAM,CAAC,gBAAgB,iBAAiB,IAAI,SAAS,aAAa;AAClE,QAAM,CAAC,QAAQ,SAAS,IAAI;AAAA,IAC1B,CAAC,QACG,gBACA;AAAA,MACE,OAAO,GAAG,MAAM,KAAK;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,UAAU,UAAU,KAAK,YAAY,mBAAmB,EAAE,aAAa,KAAK;AAAA,EAC5E,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe;AAAA,EAC9G,UAAU,UAAU,KAAK,YAAY,8CAA8C;AAAA,EACnF,aAAa,UAAU,MAAM;AAAA,IAC3B,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC;AAAA,IAC/D,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC;AAAA,IAC/D,SAAS,UAAU;AAAA,EACrB,CAAC,EAAE,YAAY,+CAA+C;AAChE;AAEA,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,MAAM,iBAAiB,SAAS,MAAM;AACtC,eAAe,YAAY;AAG3B,IAAO,iBAAQ;",
6
- "names": []
7
- }
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- const getCurrentFont = () => Number(window.getComputedStyle(document.querySelector(":root")).getPropertyValue("font-size").match(/\d+/)[0]);
3
- const setSize = (size) => document.querySelector(":root").setAttribute("style", `font-size: ${size}px`);
4
- const getFactor = (value) => value / 100;
5
- const clean = (value) => value.replace(/\D/g, "").substring(0, 3);
6
- export {
7
- clean,
8
- getCurrentFont,
9
- getFactor,
10
- setSize
11
- };
12
- //# sourceMappingURL=utils.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/utils.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const getCurrentFont = () =>\n Number(window.getComputedStyle(document.querySelector(':root')).getPropertyValue('font-size').match(/\\d+/)[0]);\nexport const setSize = (size) => document.querySelector(':root').setAttribute('style', `font-size: ${size}px`);\n\nexport const getFactor = (value) => value / 100;\n\nexport const clean = (value) => value.replace(/\\D/g, '').substring(0, 3);\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,iBAAiB,MAC5B,OAAO,OAAO,iBAAiB,SAAS,cAAc,OAAO,CAAC,EAAE,iBAAiB,WAAW,EAAE,MAAM,KAAK,EAAE,CAAC,CAAC;AACxG,MAAM,UAAU,CAAC,SAAS,SAAS,cAAc,OAAO,EAAE,aAAa,SAAS,cAAc,QAAQ;AAEtG,MAAM,YAAY,CAAC,UAAU,QAAQ;AAErC,MAAM,QAAQ,CAAC,UAAU,MAAM,QAAQ,OAAO,EAAE,EAAE,UAAU,GAAG,CAAC;",
6
- "names": []
7
- }
@@ -1,40 +0,0 @@
1
- import * as React from "react";
2
- var zoomOptions_default = [
3
- {
4
- label: "25%",
5
- value: "25"
6
- },
7
- {
8
- label: "50%",
9
- value: "50"
10
- },
11
- {
12
- label: "75%",
13
- value: "75"
14
- },
15
- {
16
- label: "100%",
17
- value: "100",
18
- default: true
19
- },
20
- {
21
- label: "125%",
22
- value: "125"
23
- },
24
- {
25
- label: "150%",
26
- value: "150"
27
- },
28
- {
29
- label: "175%",
30
- value: "175"
31
- },
32
- {
33
- label: "200%",
34
- value: "200"
35
- }
36
- ];
37
- export {
38
- zoomOptions_default as default
39
- };
40
- //# sourceMappingURL=zoomOptions.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/zoomOptions.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export default [\n {\n label: '25%',\n value: '25',\n },\n {\n label: '50%',\n value: '50',\n },\n {\n label: '75%',\n value: '75',\n },\n {\n label: '100%',\n value: '100',\n default: true,\n },\n {\n label: '125%',\n value: '125',\n },\n {\n label: '150%',\n value: '150',\n },\n {\n label: '175%',\n value: '175',\n },\n {\n label: '200%',\n value: '200',\n },\n];\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,IAAO,sBAAQ;AAAA,EACb;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA,EACT;AACF;",
6
- "names": []
7
- }
@@ -1,47 +0,0 @@
1
- declare const DSZoom: {
2
- ({ className, disabled, value, onChange, containerProps, zoomOptions, ...otherProps }: {
3
- [x: string]: any;
4
- className?: string | undefined;
5
- disabled?: boolean | undefined;
6
- value?: undefined;
7
- onChange?: (() => null) | undefined;
8
- containerProps?: {} | undefined;
9
- zoomOptions?: ({
10
- label: string;
11
- value: string;
12
- default?: undefined;
13
- } | {
14
- label: string;
15
- value: string;
16
- default: boolean;
17
- })[] | undefined;
18
- }): import("react/jsx-runtime.js").JSX.Element;
19
- propTypes: {
20
- className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
21
- containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
22
- disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
23
- value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
24
- onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
25
- zoomOptions: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
26
- };
27
- displayName: string;
28
- };
29
- declare const ZoomWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
30
- [x: string]: any;
31
- className?: string | undefined;
32
- disabled?: boolean | undefined;
33
- value?: undefined;
34
- onChange?: (() => null) | undefined;
35
- containerProps?: {} | undefined;
36
- zoomOptions?: ({
37
- label: string;
38
- value: string;
39
- default?: undefined;
40
- } | {
41
- label: string;
42
- value: string;
43
- default: boolean;
44
- })[] | undefined;
45
- }>;
46
- export { DSZoom, ZoomWithSchema };
47
- export default DSZoom;
@@ -1,4 +0,0 @@
1
- export declare const getCurrentFont: () => number;
2
- export declare const setSize: (size: any) => void;
3
- export declare const getFactor: (value: any) => number;
4
- export declare const clean: (value: any) => any;
@@ -1,10 +0,0 @@
1
- declare const _default: ({
2
- label: string;
3
- value: string;
4
- default?: undefined;
5
- } | {
6
- label: string;
7
- value: string;
8
- default: boolean;
9
- })[];
10
- export default _default;
@@ -1 +0,0 @@
1
- export {};