@elliemae/ds-hooks-fontsize-media 3.80.0-next.54 → 3.80.0-next.55
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/DSHooksFontsizeMedia.js +7 -0
- package/dist/cjs/DSHooksFontsizeMedia.js.map +2 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/react-desc-prop-types.js +17 -0
- package/dist/cjs/react-desc-prop-types.js.map +2 -2
- package/dist/esm/DSHooksFontsizeMedia.js +10 -0
- package/dist/esm/DSHooksFontsizeMedia.js.map +2 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/react-desc-prop-types.js +13 -0
- package/dist/esm/react-desc-prop-types.js.map +3 -3
- package/dist/types/DSHooksFontsizeMedia.d.ts +5 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/react-desc-prop-types.d.ts +3 -0
- package/package.json +4 -3
|
@@ -28,11 +28,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var DSHooksFontsizeMedia_exports = {};
|
|
30
30
|
__export(DSHooksFontsizeMedia_exports, {
|
|
31
|
+
UseFontsizeMediaWithSchema: () => UseFontsizeMediaWithSchema,
|
|
31
32
|
useFontsizeMedia: () => useFontsizeMedia
|
|
32
33
|
});
|
|
33
34
|
module.exports = __toCommonJS(DSHooksFontsizeMedia_exports);
|
|
34
35
|
var React = __toESM(require("react"));
|
|
35
36
|
var import_ds_hooks_fontsize_detector = require("@elliemae/ds-hooks-fontsize-detector");
|
|
37
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
38
|
+
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
|
36
39
|
function useFontsizeMedia(props) {
|
|
37
40
|
const metaInfo = (0, import_ds_hooks_fontsize_detector.useFontSizeDetector)();
|
|
38
41
|
const { smallFont, mediumFont, largeFont } = props;
|
|
@@ -44,4 +47,8 @@ function useFontsizeMedia(props) {
|
|
|
44
47
|
}
|
|
45
48
|
return smallFont;
|
|
46
49
|
}
|
|
50
|
+
useFontsizeMedia.displayName = "useFontsizeMedia";
|
|
51
|
+
const UseFontsizeMediaWithSchema = (0, import_ds_props_helpers.describe)(useFontsizeMedia);
|
|
52
|
+
UseFontsizeMediaWithSchema.propTypes = import_react_desc_prop_types.UseFontsizeMediaPropTypes;
|
|
53
|
+
UseFontsizeMediaWithSchema.returnType = import_react_desc_prop_types.UseFontsizeMediaReturnType;
|
|
47
54
|
//# sourceMappingURL=DSHooksFontsizeMedia.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSHooksFontsizeMedia.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { useFontSizeDetector } from '@elliemae/ds-hooks-fontsize-detector';\nimport { type DSHooksFontsizeMediaT
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wCAAoC;
|
|
4
|
+
"sourcesContent": ["import { useFontSizeDetector } from '@elliemae/ds-hooks-fontsize-detector';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport {\n type DSHooksFontsizeMediaT,\n UseFontsizeMediaPropTypes,\n UseFontsizeMediaReturnType,\n} from './react-desc-prop-types.js';\n\nfunction useFontsizeMedia<T, K, V>(props: DSHooksFontsizeMediaT.Props<T, K, V>) {\n const metaInfo = useFontSizeDetector();\n const { smallFont, mediumFont, largeFont } = props;\n\n if (metaInfo.isLarge) {\n return largeFont || mediumFont || smallFont;\n }\n if (metaInfo.isMedium) {\n return mediumFont || smallFont;\n }\n return smallFont;\n}\n\nuseFontsizeMedia.displayName = 'useFontsizeMedia';\nconst UseFontsizeMediaWithSchema = describe(useFontsizeMedia);\n\nUseFontsizeMediaWithSchema.propTypes = UseFontsizeMediaPropTypes;\nUseFontsizeMediaWithSchema.returnType = UseFontsizeMediaReturnType;\n\nexport { useFontsizeMedia, UseFontsizeMediaWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wCAAoC;AACpC,8BAAyB;AACzB,mCAIO;AAEP,SAAS,iBAA0B,OAA6C;AAC9E,QAAM,eAAW,uDAAoB;AACrC,QAAM,EAAE,WAAW,YAAY,UAAU,IAAI;AAE7C,MAAI,SAAS,SAAS;AACpB,WAAO,aAAa,cAAc;AAAA,EACpC;AACA,MAAI,SAAS,UAAU;AACrB,WAAO,cAAc;AAAA,EACvB;AACA,SAAO;AACT;AAEA,iBAAiB,cAAc;AAC/B,MAAM,iCAA6B,kCAAS,gBAAgB;AAE5D,2BAA2B,YAAY;AACvC,2BAA2B,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -28,6 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var index_exports = {};
|
|
30
30
|
__export(index_exports, {
|
|
31
|
+
UseFontsizeMediaWithSchema: () => import_DSHooksFontsizeMedia.UseFontsizeMediaWithSchema,
|
|
31
32
|
useFontsizeMedia: () => import_DSHooksFontsizeMedia.useFontsizeMedia
|
|
32
33
|
});
|
|
33
34
|
module.exports = __toCommonJS(index_exports);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { useFontsizeMedia } from './DSHooksFontsizeMedia.js';\nexport type { DSHooksFontsizeMediaT } from './react-desc-prop-types.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,
|
|
4
|
+
"sourcesContent": ["// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { useFontsizeMedia, UseFontsizeMediaWithSchema } from './DSHooksFontsizeMedia.js';\nexport type { DSHooksFontsizeMediaT } from './react-desc-prop-types.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,kCAA6D;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -5,6 +5,10 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
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
|
+
};
|
|
8
12
|
var __copyProps = (to, from, except, desc) => {
|
|
9
13
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
14
|
for (let key of __getOwnPropNames(from))
|
|
@@ -23,6 +27,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
27
|
));
|
|
24
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
29
|
var react_desc_prop_types_exports = {};
|
|
30
|
+
__export(react_desc_prop_types_exports, {
|
|
31
|
+
UseFontsizeMediaPropTypes: () => UseFontsizeMediaPropTypes,
|
|
32
|
+
UseFontsizeMediaReturnType: () => UseFontsizeMediaReturnType
|
|
33
|
+
});
|
|
26
34
|
module.exports = __toCommonJS(react_desc_prop_types_exports);
|
|
27
35
|
var React = __toESM(require("react"));
|
|
36
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
37
|
+
const UseFontsizeMediaPropTypes = {
|
|
38
|
+
smallFont: import_ds_props_helpers.PropTypes.any.description("Value returned when the font size ratio is small. It is also the fallback.").isRequired,
|
|
39
|
+
mediumFont: import_ds_props_helpers.PropTypes.any.description("Value returned when the font size ratio is medium.").isRequired,
|
|
40
|
+
largeFont: import_ds_props_helpers.PropTypes.any.description("Value returned when the font size ratio is large.").isRequired
|
|
41
|
+
};
|
|
42
|
+
const UseFontsizeMediaReturnType = import_ds_props_helpers.PropTypes.any.description(
|
|
43
|
+
"The value of the property that matches the current font size ratio: largeFont, mediumFont or smallFont. When a larger one is falsy it falls back to the next smaller one."
|
|
44
|
+
).isRequired;
|
|
28
45
|
//# sourceMappingURL=react-desc-prop-types.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSHooksFontsizeMediaT {\n interface Props<T, K, V> {\n smallFont: T;\n mediumFont: K;\n largeFont: V;\n }\n}\n\nexport const UseFontsizeMediaPropTypes = {\n smallFont: PropTypes.any.description('Value returned when the font size ratio is small. It is also the fallback.')\n .isRequired,\n mediumFont: PropTypes.any.description('Value returned when the font size ratio is medium.').isRequired,\n largeFont: PropTypes.any.description('Value returned when the font size ratio is large.').isRequired,\n} as React.WeakValidationMap<unknown>;\n\nexport const UseFontsizeMediaReturnType = PropTypes.any.description(\n 'The value of the property that matches the current font size ratio: largeFont, mediumFont or smallFont. When a larger one is falsy it falls back to the next smaller one.',\n).isRequired;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAA0B;AAUnB,MAAM,4BAA4B;AAAA,EACvC,WAAW,kCAAU,IAAI,YAAY,4EAA4E,EAC9G;AAAA,EACH,YAAY,kCAAU,IAAI,YAAY,oDAAoD,EAAE;AAAA,EAC5F,WAAW,kCAAU,IAAI,YAAY,mDAAmD,EAAE;AAC5F;AAEO,MAAM,6BAA6B,kCAAU,IAAI;AAAA,EACtD;AACF,EAAE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { useFontSizeDetector } from "@elliemae/ds-hooks-fontsize-detector";
|
|
3
|
+
import { describe } from "@elliemae/ds-props-helpers";
|
|
4
|
+
import {
|
|
5
|
+
UseFontsizeMediaPropTypes,
|
|
6
|
+
UseFontsizeMediaReturnType
|
|
7
|
+
} from "./react-desc-prop-types.js";
|
|
3
8
|
function useFontsizeMedia(props) {
|
|
4
9
|
const metaInfo = useFontSizeDetector();
|
|
5
10
|
const { smallFont, mediumFont, largeFont } = props;
|
|
@@ -11,7 +16,12 @@ function useFontsizeMedia(props) {
|
|
|
11
16
|
}
|
|
12
17
|
return smallFont;
|
|
13
18
|
}
|
|
19
|
+
useFontsizeMedia.displayName = "useFontsizeMedia";
|
|
20
|
+
const UseFontsizeMediaWithSchema = describe(useFontsizeMedia);
|
|
21
|
+
UseFontsizeMediaWithSchema.propTypes = UseFontsizeMediaPropTypes;
|
|
22
|
+
UseFontsizeMediaWithSchema.returnType = UseFontsizeMediaReturnType;
|
|
14
23
|
export {
|
|
24
|
+
UseFontsizeMediaWithSchema,
|
|
15
25
|
useFontsizeMedia
|
|
16
26
|
};
|
|
17
27
|
//# sourceMappingURL=DSHooksFontsizeMedia.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSHooksFontsizeMedia.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useFontSizeDetector } from '@elliemae/ds-hooks-fontsize-detector';\nimport { type DSHooksFontsizeMediaT
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,2BAA2B;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useFontSizeDetector } from '@elliemae/ds-hooks-fontsize-detector';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport {\n type DSHooksFontsizeMediaT,\n UseFontsizeMediaPropTypes,\n UseFontsizeMediaReturnType,\n} from './react-desc-prop-types.js';\n\nfunction useFontsizeMedia<T, K, V>(props: DSHooksFontsizeMediaT.Props<T, K, V>) {\n const metaInfo = useFontSizeDetector();\n const { smallFont, mediumFont, largeFont } = props;\n\n if (metaInfo.isLarge) {\n return largeFont || mediumFont || smallFont;\n }\n if (metaInfo.isMedium) {\n return mediumFont || smallFont;\n }\n return smallFont;\n}\n\nuseFontsizeMedia.displayName = 'useFontsizeMedia';\nconst UseFontsizeMediaWithSchema = describe(useFontsizeMedia);\n\nUseFontsizeMediaWithSchema.propTypes = UseFontsizeMediaPropTypes;\nUseFontsizeMediaWithSchema.returnType = UseFontsizeMediaReturnType;\n\nexport { useFontsizeMedia, UseFontsizeMediaWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,2BAA2B;AACpC,SAAS,gBAAgB;AACzB;AAAA,EAEE;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAA0B,OAA6C;AAC9E,QAAM,WAAW,oBAAoB;AACrC,QAAM,EAAE,WAAW,YAAY,UAAU,IAAI;AAE7C,MAAI,SAAS,SAAS;AACpB,WAAO,aAAa,cAAc;AAAA,EACpC;AACA,MAAI,SAAS,UAAU;AACrB,WAAO,cAAc;AAAA,EACvB;AACA,SAAO;AACT;AAEA,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB;AAE5D,2BAA2B,YAAY;AACvC,2BAA2B,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { useFontsizeMedia } from "./DSHooksFontsizeMedia.js";
|
|
2
|
+
import { useFontsizeMedia, UseFontsizeMediaWithSchema } from "./DSHooksFontsizeMedia.js";
|
|
3
3
|
export {
|
|
4
|
+
UseFontsizeMediaWithSchema,
|
|
4
5
|
useFontsizeMedia
|
|
5
6
|
};
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { useFontsizeMedia } from './DSHooksFontsizeMedia.js';\nexport type { DSHooksFontsizeMediaT } from './react-desc-prop-types.js';\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { useFontsizeMedia, UseFontsizeMediaWithSchema } from './DSHooksFontsizeMedia.js';\nexport type { DSHooksFontsizeMediaT } from './react-desc-prop-types.js';\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,kBAAkB,kCAAkC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { PropTypes } from "@elliemae/ds-props-helpers";
|
|
3
|
+
const UseFontsizeMediaPropTypes = {
|
|
4
|
+
smallFont: PropTypes.any.description("Value returned when the font size ratio is small. It is also the fallback.").isRequired,
|
|
5
|
+
mediumFont: PropTypes.any.description("Value returned when the font size ratio is medium.").isRequired,
|
|
6
|
+
largeFont: PropTypes.any.description("Value returned when the font size ratio is large.").isRequired
|
|
7
|
+
};
|
|
8
|
+
const UseFontsizeMediaReturnType = PropTypes.any.description(
|
|
9
|
+
"The value of the property that matches the current font size ratio: largeFont, mediumFont or smallFont. When a larger one is falsy it falls back to the next smaller one."
|
|
10
|
+
).isRequired;
|
|
11
|
+
export {
|
|
12
|
+
UseFontsizeMediaPropTypes,
|
|
13
|
+
UseFontsizeMediaReturnType
|
|
14
|
+
};
|
|
2
15
|
//# sourceMappingURL=react-desc-prop-types.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;",
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type React from 'react';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSHooksFontsizeMediaT {\n interface Props<T, K, V> {\n smallFont: T;\n mediumFont: K;\n largeFont: V;\n }\n}\n\nexport const UseFontsizeMediaPropTypes = {\n smallFont: PropTypes.any.description('Value returned when the font size ratio is small. It is also the fallback.')\n .isRequired,\n mediumFont: PropTypes.any.description('Value returned when the font size ratio is medium.').isRequired,\n largeFont: PropTypes.any.description('Value returned when the font size ratio is large.').isRequired,\n} as React.WeakValidationMap<unknown>;\n\nexport const UseFontsizeMediaReturnType = PropTypes.any.description(\n 'The value of the property that matches the current font size ratio: largeFont, mediumFont or smallFont. When a larger one is falsy it falls back to the next smaller one.',\n).isRequired;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACCvB,SAAS,iBAAiB;AAUnB,MAAM,4BAA4B;AAAA,EACvC,WAAW,UAAU,IAAI,YAAY,4EAA4E,EAC9G;AAAA,EACH,YAAY,UAAU,IAAI,YAAY,oDAAoD,EAAE;AAAA,EAC5F,WAAW,UAAU,IAAI,YAAY,mDAAmD,EAAE;AAC5F;AAEO,MAAM,6BAA6B,UAAU,IAAI;AAAA,EACtD;AACF,EAAE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type DSHooksFontsizeMediaT } from './react-desc-prop-types.js';
|
|
2
2
|
declare function useFontsizeMedia<T, K, V>(props: DSHooksFontsizeMediaT.Props<T, K, V>): T | NonNullable<V> | NonNullable<K>;
|
|
3
|
-
|
|
3
|
+
declare namespace useFontsizeMedia {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
declare const UseFontsizeMediaWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSHooksFontsizeMediaT.Props<unknown, unknown, unknown>>;
|
|
7
|
+
export { useFontsizeMedia, UseFontsizeMediaWithSchema };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useFontsizeMedia } from './DSHooksFontsizeMedia.js';
|
|
1
|
+
export { useFontsizeMedia, UseFontsizeMediaWithSchema } from './DSHooksFontsizeMedia.js';
|
|
2
2
|
export type { DSHooksFontsizeMediaT } from './react-desc-prop-types.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type React from 'react';
|
|
1
2
|
export declare namespace DSHooksFontsizeMediaT {
|
|
2
3
|
interface Props<T, K, V> {
|
|
3
4
|
smallFont: T;
|
|
@@ -5,3 +6,5 @@ export declare namespace DSHooksFontsizeMediaT {
|
|
|
5
6
|
largeFont: V;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
9
|
+
export declare const UseFontsizeMediaPropTypes: React.WeakValidationMap<unknown>;
|
|
10
|
+
export declare const UseFontsizeMediaReturnType: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-hooks-fontsize-media",
|
|
3
|
-
"version": "3.80.0-next.
|
|
3
|
+
"version": "3.80.0-next.55",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Hooks Font Size Media",
|
|
6
6
|
"files": [
|
|
@@ -36,10 +36,11 @@
|
|
|
36
36
|
"indent": 4
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.
|
|
39
|
+
"@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.55",
|
|
40
|
+
"@elliemae/ds-props-helpers": "3.80.0-next.55"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@elliemae/ds-monorepo-devops": "3.80.0-next.
|
|
43
|
+
"@elliemae/ds-monorepo-devops": "3.80.0-next.55",
|
|
43
44
|
"@xstyled/system": "~3.8.1",
|
|
44
45
|
"styled-components": "~5.3.11",
|
|
45
46
|
"styled-system": "^5.1.5"
|