@elliemae/ds-icons 3.50.1-next.9 → 3.51.0-beta.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/react-desc-prop-types.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT,
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAA0B;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\n\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '600' | '500' | '400' | '0']\n | ['danger', '900']\n | ['warning', '600' | '900']\n | ['success', '900']\n | ['brand-primary', '600' | '700' | '800'];\n\n export interface DefaultProps {\n component: React.ComponentType | keyof React.JSX.IntrinsicElements;\n containerProps: object;\n }\n\n export interface OptionalProps {\n children?: React.ReactNode;\n viewBox?: string;\n size?: SizeType;\n color?: ColorType;\n paths?: string[];\n fill?: string;\n innerRef?: React.MutableRefObject<HTMLElement | null> | ((_ref: HTMLElement) => void);\n width?: number | string;\n height?: number | string;\n className?: string;\n style?: React.CSSProperties;\n }\n\n export interface RequiredProps {}\n\n export interface Props\n extends Partial<DefaultProps>,\n RequiredProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLSpanElement>, keyof DefaultProps | keyof OptionalProps>,\n Omit<XstyledProps, keyof DefaultProps | keyof OptionalProps> {}\n}\n\nexport const defaultProps: SvgIconT.DefaultProps = {\n component: 'span',\n containerProps: {},\n};\n\nexport const propTypes = {\n containerProps: PropTypes.object.description('set of properties attached to the main container'),\n size: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl']).description('size of the icon'),\n color: PropTypes.oneOfType([\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['500'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['400'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['0'])]),\n PropTypes.tuple([PropTypes.oneOf(['danger']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['warning']), PropTypes.oneOf(['600'])]),\n PropTypes.tuple([PropTypes.oneOf(['warning']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['success']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['600'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['800'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['700'])]),\n ]).description('icon color'),\n className: PropTypes.string.description('html class attribute'),\n style: PropTypes.object.description('set of properties attached to the main container'),\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).description('containers element'),\n viewBox: PropTypes.string.description('view box'),\n paths: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]).description(''),\n fill: PropTypes.string.description('fill attribute'),\n innerRef: PropTypes.object.description('inner ref'),\n title: PropTypes.string.description('Adds a title html element to the svg.'),\n} as ValidationMap<unknown>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;A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CAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,eAAe,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IAC9E,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,eAAe,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IAC9E,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,eAAe,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,EAChF,CAAC,EAAE,YAAY,YAAY;AAAA,EAC3B,WAAW,kCAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,OAAO,kCAAU,OAAO,YAAY,kDAAkD;AAAA,EACtF,WAAW,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,IAAI,CAAC,EAAE,YAAY,oBAAoB;AAAA,EACnG,SAAS,kCAAU,OAAO,YAAY,UAAU;AAAA,EAChD,OAAO,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,QAAQ,kCAAU,MAAM,CAAC,CAAC,EAAE,YAAY,EAAE;AAAA,EAClG,MAAM,kCAAU,OAAO,YAAY,gBAAgB;AAAA,EACnD,UAAU,kCAAU,OAAO,YAAY,WAAW;AAAA,EAClD,OAAO,kCAAU,OAAO,YAAY,uCAAuC;AAC7E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/utils/react-desc-prop-types.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT,
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,iBAAiB;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\n\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '600' | '500' | '400' | '0']\n | ['danger', '900']\n | ['warning', '600' | '900']\n | ['success', '900']\n | ['brand-primary', '600' | '700' | '800'];\n\n export interface DefaultProps {\n component: React.ComponentType | keyof React.JSX.IntrinsicElements;\n containerProps: object;\n }\n\n export interface OptionalProps {\n children?: React.ReactNode;\n viewBox?: string;\n size?: SizeType;\n color?: ColorType;\n paths?: string[];\n fill?: string;\n innerRef?: React.MutableRefObject<HTMLElement | null> | ((_ref: HTMLElement) => void);\n width?: number | string;\n height?: number | string;\n className?: string;\n style?: React.CSSProperties;\n }\n\n export interface RequiredProps {}\n\n export interface Props\n extends Partial<DefaultProps>,\n RequiredProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLSpanElement>, keyof DefaultProps | keyof OptionalProps>,\n Omit<XstyledProps, keyof DefaultProps | keyof OptionalProps> {}\n}\n\nexport const defaultProps: SvgIconT.DefaultProps = {\n component: 'span',\n containerProps: {},\n};\n\nexport const propTypes = {\n containerProps: PropTypes.object.description('set of properties attached to the main container'),\n size: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl']).description('size of the icon'),\n color: PropTypes.oneOfType([\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['500'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['400'])]),\n PropTypes.tuple([PropTypes.oneOf(['neutral']), PropTypes.oneOf(['0'])]),\n PropTypes.tuple([PropTypes.oneOf(['danger']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['warning']), PropTypes.oneOf(['600'])]),\n PropTypes.tuple([PropTypes.oneOf(['warning']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['success']), PropTypes.oneOf(['900'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['600'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['800'])]),\n PropTypes.tuple([PropTypes.oneOf(['brand-primary']), PropTypes.oneOf(['700'])]),\n ]).description('icon color'),\n className: PropTypes.string.description('html class attribute'),\n style: PropTypes.object.description('set of properties attached to the main container'),\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).description('containers element'),\n viewBox: PropTypes.string.description('view box'),\n paths: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]).description(''),\n fill: PropTypes.string.description('fill attribute'),\n innerRef: PropTypes.object.description('inner ref'),\n title: PropTypes.string.description('Adds a title html element to the svg.'),\n} as ValidationMap<unknown>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,iBAAiB;AA0CnB,MAAM,eAAsC;AAAA,EACjD,WAAW;AAAA,EACX,gBAAgB,CAAC;AACnB;AAEO,MAAM,YAAY;AAAA,EACvB,gBAAgB,UAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,MAAM,UAAU,MAAM,CAAC,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,CAAC,EAAE,YAAY,kBAAkB;AAAA,EAC/F,OAAO,UAAU,UAAU;AAAA,IACzB,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,SAAS,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,SAAS,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,UAAU,MAAM,CAAC,UAAU,M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C,UAAU,QAAQ,UAAU,QAAQ,UAAU,MAAM,CAAC,CAAC,EAAE,YAAY,EAAE;AAAA,EAClG,MAAM,UAAU,OAAO,YAAY,gBAAgB;AAAA,EACnD,UAAU,UAAU,OAAO,YAAY,WAAW;AAAA,EAClD,OAAO,UAAU,OAAO,YAAY,uCAAuC;AAC7E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/// <reference types="prop-types" />
|
|
3
|
-
import type { GlobalAttributesT,
|
|
2
|
+
import type { GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';
|
|
3
|
+
import type React from 'react';
|
|
4
4
|
export declare namespace SvgIconT {
|
|
5
5
|
type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
6
6
|
type ColorType = ['neutral', '900' | '600' | '500' | '400' | '0'] | ['danger', '900'] | ['warning', '600' | '900'] | ['success', '900'] | ['brand-primary', '600' | '700' | '800'];
|
|
7
7
|
interface DefaultProps {
|
|
8
|
-
component: React.ComponentType | keyof JSX.IntrinsicElements;
|
|
8
|
+
component: React.ComponentType | keyof React.JSX.IntrinsicElements;
|
|
9
9
|
containerProps: object;
|
|
10
10
|
}
|
|
11
11
|
interface OptionalProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-icons",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.51.0-beta.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Icons",
|
|
6
6
|
"files": [
|
|
@@ -1561,8 +1561,8 @@
|
|
|
1561
1561
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
1562
1562
|
},
|
|
1563
1563
|
"engines": {
|
|
1564
|
-
"pnpm": ">=
|
|
1565
|
-
"node": ">=
|
|
1564
|
+
"pnpm": ">=9",
|
|
1565
|
+
"node": ">=22"
|
|
1566
1566
|
},
|
|
1567
1567
|
"author": "ICE MT",
|
|
1568
1568
|
"jestSonar": {
|
|
@@ -1573,20 +1573,20 @@
|
|
|
1573
1573
|
},
|
|
1574
1574
|
"dependencies": {
|
|
1575
1575
|
"@xstyled/system": "~3.7.3",
|
|
1576
|
-
"@elliemae/ds-
|
|
1577
|
-
"@elliemae/ds-
|
|
1578
|
-
"@elliemae/ds-
|
|
1576
|
+
"@elliemae/ds-classnames": "3.51.0-beta.2",
|
|
1577
|
+
"@elliemae/ds-props-helpers": "3.51.0-beta.2",
|
|
1578
|
+
"@elliemae/ds-system": "3.51.0-beta.2"
|
|
1579
1579
|
},
|
|
1580
1580
|
"devDependencies": {
|
|
1581
|
-
"@elliemae/pui-cli": "9.0.0-next.
|
|
1581
|
+
"@elliemae/pui-cli": "9.0.0-next.55",
|
|
1582
1582
|
"jest": "~29.7.0",
|
|
1583
1583
|
"styled-components": "~5.3.9",
|
|
1584
|
-
"@elliemae/ds-monorepo-devops": "3.
|
|
1584
|
+
"@elliemae/ds-monorepo-devops": "3.51.0-beta.2"
|
|
1585
1585
|
},
|
|
1586
1586
|
"peerDependencies": {
|
|
1587
1587
|
"lodash": "^4.17.21",
|
|
1588
|
-
"react": "^
|
|
1589
|
-
"react-dom": "^
|
|
1588
|
+
"react": "^18.3.1",
|
|
1589
|
+
"react-dom": "^18.3.1",
|
|
1590
1590
|
"styled-components": "~5.3.9"
|
|
1591
1591
|
},
|
|
1592
1592
|
"scripts": {
|