@elliemae/ds-icons 3.60.0-next.57 → 3.60.0-next.58
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/utils/SvgIcon.js +6 -1
- package/dist/cjs/utils/SvgIcon.js.map +2 -2
- package/dist/esm/utils/SvgIcon.js +6 -1
- package/dist/esm/utils/SvgIcon.js.map +2 -2
- package/dist/types/tests/DSIcons.a11y.test.d.ts +1 -0
- package/dist/types/tests/DSIcons.pui-17842.test.d.ts +1 -0
- package/package.json +6 -5
|
@@ -37,6 +37,7 @@ var React = __toESM(require("react"));
|
|
|
37
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
38
|
var import_react = require("react");
|
|
39
39
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
40
|
+
var import_uid = require("uid");
|
|
40
41
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
41
42
|
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
|
42
43
|
var import_styled = require("./styled.js");
|
|
@@ -45,6 +46,8 @@ const SvgIcon = (props) => {
|
|
|
45
46
|
const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;
|
|
46
47
|
const { className, width, height, style, title, ...restGlobals } = (0, import_ds_props_helpers.useGetGlobalAttributes)(props);
|
|
47
48
|
const { getOwnerProps, getOwnerPropsArguments } = (0, import_ds_props_helpers.useOwnerProps)(props);
|
|
49
|
+
const instanceUid = (0, import_react.useMemo)(() => `ds-icon-${(0, import_uid.uid)(5)}`, []);
|
|
50
|
+
const titleId = `${instanceUid}-title`;
|
|
48
51
|
const defaultWidth = (0, import_react.useMemo)(() => {
|
|
49
52
|
if (String(width).includes("rem")) return width;
|
|
50
53
|
if (String(height).includes("rem")) return height;
|
|
@@ -98,11 +101,13 @@ const SvgIcon = (props) => {
|
|
|
98
101
|
viewBox,
|
|
99
102
|
width: !size ? defaultWidth : void 0,
|
|
100
103
|
height: !size ? defaultHeight : void 0,
|
|
104
|
+
role: title ? "img" : void 0,
|
|
105
|
+
"aria-labelledby": title ? titleId : void 0,
|
|
101
106
|
getOwnerProps,
|
|
102
107
|
getOwnerPropsArguments,
|
|
103
108
|
children: [
|
|
104
109
|
paths ? renderPaths(paths) : children,
|
|
105
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { children: title }) : null
|
|
110
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { id: titleId, children: title }) : null
|
|
106
111
|
]
|
|
107
112
|
}
|
|
108
113
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/SvgIcon.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable react/no-array-index-key */\nimport React, { useMemo } from 'react';\nimport { describe, useGetGlobalAttributes, useGetXstyledProps, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport type { SvgIconT } from './react-desc-prop-types.js';\nimport { propTypes } from './react-desc-prop-types.js';\nimport { StyledSvg, StyledWrapper } from './styled.js';\n\nconst renderPaths = (paths: string[]) => paths.map((p, i) => <path key={i} d={p} />);\n\nconst SvgIcon: React.ComponentType<SvgIconT.Props> = (props) => {\n const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;\n\n const { className, width, height, style, title, ...restGlobals } = useGetGlobalAttributes(props);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps(props);\n\n const defaultWidth = useMemo(() => {\n if (String(width).includes('rem')) return width;\n if (String(height).includes('rem')) return height;\n if (width) return parseInt(width.toString(), 10);\n if (height) return parseInt(height.toString(), 10);\n\n return 16;\n }, [width, height]);\n\n const defaultHeight = useMemo(() => {\n if (String(height).includes('rem')) return height;\n if (String(width).includes('rem')) return width;\n if (height) return parseInt(height.toString(), 10);\n if (width) return parseInt(width.toString(), 10);\n return 16;\n }, [width, height]);\n\n const xstyledProps = useGetXstyledProps(props);\n\n const { cssClassName } = convertPropToCssClassName('icon', className, {\n size,\n color,\n });\n\n const finalColor = useMemo(() => {\n if (fill) return fill;\n if (!color) return undefined;\n if (!Array.isArray(color)) return color;\n if (color[0] === 'brand-primary') return `brand-${color[1]}`;\n if (color[0] === 'neutral' && color[1].toString() === '0') return `neutral-000`;\n if (color[0] === 'neutral' && color[1].toString() === '900') return `neutral-800`;\n return `${color[0]}-${color[1]}`;\n }, [color, fill]);\n\n return (\n <StyledWrapper\n as={component}\n innerRef={innerRef}\n className={cssClassName}\n aria-hidden={title === undefined}\n title={title}\n {...restGlobals}\n {...containerProps}\n {...xstyledProps}\n style={style}\n height={!size ? defaultHeight : undefined}\n width={!size ? defaultWidth : undefined}\n size={size}\n svgColor={finalColor}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledSvg\n size={size}\n viewBox={viewBox}\n width={!size ? defaultWidth : undefined}\n height={!size ? defaultHeight : undefined}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {paths ? renderPaths(paths) : children}\n {title ? <title>{title}</title> : null}\n </StyledSvg>\n </StyledWrapper>\n );\n};\n\nSvgIcon.displayName = 'SvgIcon';\nconst IconWithSchema = describe(SvgIcon);\nIconWithSchema.propTypes = propTypes;\n\nexport { IconWithSchema, SvgIcon };\nexport default SvgIcon;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable react/no-array-index-key */\nimport React, { useMemo } from 'react';\nimport { describe, useGetGlobalAttributes, useGetXstyledProps, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { uid } from 'uid';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport type { SvgIconT } from './react-desc-prop-types.js';\nimport { propTypes } from './react-desc-prop-types.js';\nimport { StyledSvg, StyledWrapper } from './styled.js';\n\nconst renderPaths = (paths: string[]) => paths.map((p, i) => <path key={i} d={p} />);\n\nconst SvgIcon: React.ComponentType<SvgIconT.Props> = (props) => {\n const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;\n\n const { className, width, height, style, title, ...restGlobals } = useGetGlobalAttributes(props);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps(props);\n\n const instanceUid = useMemo(() => `ds-icon-${uid(5)}`, []);\n const titleId = `${instanceUid}-title`;\n\n const defaultWidth = useMemo(() => {\n if (String(width).includes('rem')) return width;\n if (String(height).includes('rem')) return height;\n if (width) return parseInt(width.toString(), 10);\n if (height) return parseInt(height.toString(), 10);\n\n return 16;\n }, [width, height]);\n\n const defaultHeight = useMemo(() => {\n if (String(height).includes('rem')) return height;\n if (String(width).includes('rem')) return width;\n if (height) return parseInt(height.toString(), 10);\n if (width) return parseInt(width.toString(), 10);\n return 16;\n }, [width, height]);\n\n const xstyledProps = useGetXstyledProps(props);\n\n const { cssClassName } = convertPropToCssClassName('icon', className, {\n size,\n color,\n });\n\n const finalColor = useMemo(() => {\n if (fill) return fill;\n if (!color) return undefined;\n if (!Array.isArray(color)) return color;\n if (color[0] === 'brand-primary') return `brand-${color[1]}`;\n if (color[0] === 'neutral' && color[1].toString() === '0') return `neutral-000`;\n if (color[0] === 'neutral' && color[1].toString() === '900') return `neutral-800`;\n return `${color[0]}-${color[1]}`;\n }, [color, fill]);\n\n return (\n <StyledWrapper\n as={component}\n innerRef={innerRef}\n className={cssClassName}\n aria-hidden={title === undefined}\n title={title}\n {...restGlobals}\n {...containerProps}\n {...xstyledProps}\n style={style}\n height={!size ? defaultHeight : undefined}\n width={!size ? defaultWidth : undefined}\n size={size}\n svgColor={finalColor}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledSvg\n size={size}\n viewBox={viewBox}\n width={!size ? defaultWidth : undefined}\n height={!size ? defaultHeight : undefined}\n role={title ? 'img' : undefined}\n aria-labelledby={title ? titleId : undefined}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {paths ? renderPaths(paths) : children}\n {title ? <title id={titleId}>{title}</title> : null}\n </StyledSvg>\n </StyledWrapper>\n );\n};\n\nSvgIcon.displayName = 'SvgIcon';\nconst IconWithSchema = describe(SvgIcon);\nIconWithSchema.propTypes = propTypes;\n\nexport { IconWithSchema, SvgIcon };\nexport default SvgIcon;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADSsC;AAR7D,mBAA+B;AAC/B,8BAAoF;AACpF,iBAAoB;AACpB,2BAA0C;AAE1C,mCAA0B;AAC1B,oBAAyC;AAEzC,MAAM,cAAc,CAAC,UAAoB,MAAM,IAAI,CAAC,GAAG,MAAM,4CAAC,UAAa,GAAG,KAAN,CAAS,CAAE;AAEnF,MAAM,UAA+C,CAAC,UAAU;AAC9D,QAAM,EAAE,OAAO,MAAM,UAAU,gBAAgB,OAAO,MAAM,SAAS,UAAU,UAAU,IAAI;AAE7F,QAAM,EAAE,WAAW,OAAO,QAAQ,OAAO,OAAO,GAAG,YAAY,QAAI,gDAAuB,KAAK;AAC/F,QAAM,EAAE,eAAe,uBAAuB,QAAI,uCAAc,KAAK;AAErE,QAAM,kBAAc,sBAAQ,MAAM,eAAW,gBAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACzD,QAAM,UAAU,GAAG,WAAW;AAE9B,QAAM,mBAAe,sBAAQ,MAAM;AACjC,QAAI,OAAO,KAAK,EAAE,SAAS,KAAK,EAAG,QAAO;AAC1C,QAAI,OAAO,MAAM,EAAE,SAAS,KAAK,EAAG,QAAO;AAC3C,QAAI,MAAO,QA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AQ,CAAC,OAAO,gBAAgB;AAAA,MAChC,OAAO,CAAC,OAAO,eAAe;AAAA,MAC9B;AAAA,MACA,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MAEA;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA,OAAO,CAAC,OAAO,eAAe;AAAA,UAC9B,QAAQ,CAAC,OAAO,gBAAgB;AAAA,UAChC,MAAM,QAAQ,QAAQ;AAAA,UACtB,mBAAiB,QAAQ,UAAU;AAAA,UACnC;AAAA,UACA;AAAA,UAEC;AAAA,oBAAQ,YAAY,KAAK,IAAI;AAAA,YAC7B,QAAQ,4CAAC,WAAM,IAAI,SAAU,iBAAM,IAAW;AAAA;AAAA;AAAA,MACjD;AAAA;AAAA,EACF;AAEJ;AAEA,QAAQ,cAAc;AACtB,MAAM,qBAAiB,kCAAS,OAAO;AACvC,eAAe,YAAY;AAG3B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { describe, useGetGlobalAttributes, useGetXstyledProps, useOwnerProps } from "@elliemae/ds-props-helpers";
|
|
5
|
+
import { uid } from "uid";
|
|
5
6
|
import { convertPropToCssClassName } from "@elliemae/ds-classnames";
|
|
6
7
|
import { propTypes } from "./react-desc-prop-types.js";
|
|
7
8
|
import { StyledSvg, StyledWrapper } from "./styled.js";
|
|
@@ -10,6 +11,8 @@ const SvgIcon = (props) => {
|
|
|
10
11
|
const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;
|
|
11
12
|
const { className, width, height, style, title, ...restGlobals } = useGetGlobalAttributes(props);
|
|
12
13
|
const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps(props);
|
|
14
|
+
const instanceUid = useMemo(() => `ds-icon-${uid(5)}`, []);
|
|
15
|
+
const titleId = `${instanceUid}-title`;
|
|
13
16
|
const defaultWidth = useMemo(() => {
|
|
14
17
|
if (String(width).includes("rem")) return width;
|
|
15
18
|
if (String(height).includes("rem")) return height;
|
|
@@ -63,11 +66,13 @@ const SvgIcon = (props) => {
|
|
|
63
66
|
viewBox,
|
|
64
67
|
width: !size ? defaultWidth : void 0,
|
|
65
68
|
height: !size ? defaultHeight : void 0,
|
|
69
|
+
role: title ? "img" : void 0,
|
|
70
|
+
"aria-labelledby": title ? titleId : void 0,
|
|
66
71
|
getOwnerProps,
|
|
67
72
|
getOwnerPropsArguments,
|
|
68
73
|
children: [
|
|
69
74
|
paths ? renderPaths(paths) : children,
|
|
70
|
-
title ? /* @__PURE__ */ jsx("title", { children: title }) : null
|
|
75
|
+
title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null
|
|
71
76
|
]
|
|
72
77
|
}
|
|
73
78
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/utils/SvgIcon.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/no-array-index-key */\nimport React, { useMemo } from 'react';\nimport { describe, useGetGlobalAttributes, useGetXstyledProps, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport type { SvgIconT } from './react-desc-prop-types.js';\nimport { propTypes } from './react-desc-prop-types.js';\nimport { StyledSvg, StyledWrapper } from './styled.js';\n\nconst renderPaths = (paths: string[]) => paths.map((p, i) => <path key={i} d={p} />);\n\nconst SvgIcon: React.ComponentType<SvgIconT.Props> = (props) => {\n const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;\n\n const { className, width, height, style, title, ...restGlobals } = useGetGlobalAttributes(props);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps(props);\n\n const defaultWidth = useMemo(() => {\n if (String(width).includes('rem')) return width;\n if (String(height).includes('rem')) return height;\n if (width) return parseInt(width.toString(), 10);\n if (height) return parseInt(height.toString(), 10);\n\n return 16;\n }, [width, height]);\n\n const defaultHeight = useMemo(() => {\n if (String(height).includes('rem')) return height;\n if (String(width).includes('rem')) return width;\n if (height) return parseInt(height.toString(), 10);\n if (width) return parseInt(width.toString(), 10);\n return 16;\n }, [width, height]);\n\n const xstyledProps = useGetXstyledProps(props);\n\n const { cssClassName } = convertPropToCssClassName('icon', className, {\n size,\n color,\n });\n\n const finalColor = useMemo(() => {\n if (fill) return fill;\n if (!color) return undefined;\n if (!Array.isArray(color)) return color;\n if (color[0] === 'brand-primary') return `brand-${color[1]}`;\n if (color[0] === 'neutral' && color[1].toString() === '0') return `neutral-000`;\n if (color[0] === 'neutral' && color[1].toString() === '900') return `neutral-800`;\n return `${color[0]}-${color[1]}`;\n }, [color, fill]);\n\n return (\n <StyledWrapper\n as={component}\n innerRef={innerRef}\n className={cssClassName}\n aria-hidden={title === undefined}\n title={title}\n {...restGlobals}\n {...containerProps}\n {...xstyledProps}\n style={style}\n height={!size ? defaultHeight : undefined}\n width={!size ? defaultWidth : undefined}\n size={size}\n svgColor={finalColor}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledSvg\n size={size}\n viewBox={viewBox}\n width={!size ? defaultWidth : undefined}\n height={!size ? defaultHeight : undefined}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {paths ? renderPaths(paths) : children}\n {title ? <title>{title}</title> : null}\n </StyledSvg>\n </StyledWrapper>\n );\n};\n\nSvgIcon.displayName = 'SvgIcon';\nconst IconWithSchema = describe(SvgIcon);\nIconWithSchema.propTypes = propTypes;\n\nexport { IconWithSchema, SvgIcon };\nexport default SvgIcon;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/no-array-index-key */\nimport React, { useMemo } from 'react';\nimport { describe, useGetGlobalAttributes, useGetXstyledProps, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { uid } from 'uid';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport type { SvgIconT } from './react-desc-prop-types.js';\nimport { propTypes } from './react-desc-prop-types.js';\nimport { StyledSvg, StyledWrapper } from './styled.js';\n\nconst renderPaths = (paths: string[]) => paths.map((p, i) => <path key={i} d={p} />);\n\nconst SvgIcon: React.ComponentType<SvgIconT.Props> = (props) => {\n const { color, size, innerRef, containerProps, paths, fill, viewBox, children, component } = props;\n\n const { className, width, height, style, title, ...restGlobals } = useGetGlobalAttributes(props);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps(props);\n\n const instanceUid = useMemo(() => `ds-icon-${uid(5)}`, []);\n const titleId = `${instanceUid}-title`;\n\n const defaultWidth = useMemo(() => {\n if (String(width).includes('rem')) return width;\n if (String(height).includes('rem')) return height;\n if (width) return parseInt(width.toString(), 10);\n if (height) return parseInt(height.toString(), 10);\n\n return 16;\n }, [width, height]);\n\n const defaultHeight = useMemo(() => {\n if (String(height).includes('rem')) return height;\n if (String(width).includes('rem')) return width;\n if (height) return parseInt(height.toString(), 10);\n if (width) return parseInt(width.toString(), 10);\n return 16;\n }, [width, height]);\n\n const xstyledProps = useGetXstyledProps(props);\n\n const { cssClassName } = convertPropToCssClassName('icon', className, {\n size,\n color,\n });\n\n const finalColor = useMemo(() => {\n if (fill) return fill;\n if (!color) return undefined;\n if (!Array.isArray(color)) return color;\n if (color[0] === 'brand-primary') return `brand-${color[1]}`;\n if (color[0] === 'neutral' && color[1].toString() === '0') return `neutral-000`;\n if (color[0] === 'neutral' && color[1].toString() === '900') return `neutral-800`;\n return `${color[0]}-${color[1]}`;\n }, [color, fill]);\n\n return (\n <StyledWrapper\n as={component}\n innerRef={innerRef}\n className={cssClassName}\n aria-hidden={title === undefined}\n title={title}\n {...restGlobals}\n {...containerProps}\n {...xstyledProps}\n style={style}\n height={!size ? defaultHeight : undefined}\n width={!size ? defaultWidth : undefined}\n size={size}\n svgColor={finalColor}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledSvg\n size={size}\n viewBox={viewBox}\n width={!size ? defaultWidth : undefined}\n height={!size ? defaultHeight : undefined}\n role={title ? 'img' : undefined}\n aria-labelledby={title ? titleId : undefined}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {paths ? renderPaths(paths) : children}\n {title ? <title id={titleId}>{title}</title> : null}\n </StyledSvg>\n </StyledWrapper>\n );\n};\n\nSvgIcon.displayName = 'SvgIcon';\nconst IconWithSchema = describe(SvgIcon);\nIconWithSchema.propTypes = propTypes;\n\nexport { IconWithSchema, SvgIcon };\nexport default SvgIcon;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACSsC,cA+DvD,YA/DuD;AAR7D,SAAgB,eAAe;AAC/B,SAAS,UAAU,wBAAwB,oBAAoB,qBAAqB;AACpF,SAAS,WAAW;AACpB,SAAS,iCAAiC;AAE1C,SAAS,iBAAiB;AAC1B,SAAS,WAAW,qBAAqB;AAEzC,MAAM,cAAc,CAAC,UAAoB,MAAM,IAAI,CAAC,GAAG,MAAM,oBAAC,UAAa,GAAG,KAAN,CAAS,CAAE;AAEnF,MAAM,UAA+C,CAAC,UAAU;AAC9D,QAAM,EAAE,OAAO,MAAM,UAAU,gBAAgB,OAAO,MAAM,SAAS,UAAU,UAAU,IAAI;AAE7F,QAAM,EAAE,WAAW,OAAO,QAAQ,OAAO,OAAO,GAAG,YAAY,IAAI,uBAAuB,KAAK;AAC/F,QAAM,EAAE,eAAe,uBAAuB,IAAI,cAAc,KAAK;AAErE,QAAM,cAAc,QAAQ,MAAM,WAAW,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACzD,QAAM,UAAU,GAAG,WAAW;AAE9B,QAAM,eAAe,QAAQ,MAAM;AACjC,QAAI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AAW;AAAA,MACX,eAAa,UAAU;AAAA,MACvB;AAAA,MACC,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ;AAAA,MACA,QAAQ,CAAC,OAAO,gBAAgB;AAAA,MAChC,OAAO,CAAC,OAAO,eAAe;AAAA,MAC9B;AAAA,MACA,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MAEA;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA;AAAA,UACA,OAAO,CAAC,OAAO,eAAe;AAAA,UAC9B,QAAQ,CAAC,OAAO,gBAAgB;AAAA,UAChC,MAAM,QAAQ,QAAQ;AAAA,UACtB,mBAAiB,QAAQ,UAAU;AAAA,UACnC;AAAA,UACA;AAAA,UAEC;AAAA,oBAAQ,YAAY,KAAK,IAAI;AAAA,YAC7B,QAAQ,oBAAC,WAAM,IAAI,SAAU,iBAAM,IAAW;AAAA;AAAA;AAAA,MACjD;AAAA;AAAA,EACF;AAEJ;AAEA,QAAQ,cAAc;AACtB,MAAM,iBAAiB,SAAS,OAAO;AACvC,eAAe,YAAY;AAG3B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-icons",
|
|
3
|
-
"version": "3.60.0-next.
|
|
3
|
+
"version": "3.60.0-next.58",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Icons",
|
|
6
6
|
"files": [
|
|
@@ -1573,14 +1573,15 @@
|
|
|
1573
1573
|
},
|
|
1574
1574
|
"dependencies": {
|
|
1575
1575
|
"@xstyled/system": "~3.8.1",
|
|
1576
|
-
"
|
|
1577
|
-
"@elliemae/ds-
|
|
1578
|
-
"@elliemae/ds-system": "3.60.0-next.
|
|
1576
|
+
"uid": "^2.0.2",
|
|
1577
|
+
"@elliemae/ds-classnames": "3.60.0-next.58",
|
|
1578
|
+
"@elliemae/ds-system": "3.60.0-next.58",
|
|
1579
|
+
"@elliemae/ds-props-helpers": "3.60.0-next.58"
|
|
1579
1580
|
},
|
|
1580
1581
|
"devDependencies": {
|
|
1581
1582
|
"jest": "^30.0.0",
|
|
1582
1583
|
"styled-components": "~5.3.9",
|
|
1583
|
-
"@elliemae/ds-monorepo-devops": "3.60.0-next.
|
|
1584
|
+
"@elliemae/ds-monorepo-devops": "3.60.0-next.58"
|
|
1584
1585
|
},
|
|
1585
1586
|
"peerDependencies": {
|
|
1586
1587
|
"lodash-es": "^4.17.21",
|