@elliemae/ds-icons 3.22.0-next.2 → 3.22.0-next.4
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, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '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 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
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '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 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 RequiredProps | keyof OptionalProps>,\n Omit<XstyledProps, keyof DefaultProps | keyof RequiredProps | 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 WeakValidationMap<unknown>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAA0B;AAyCnB,MAAM,eAAsC;AAAA,EACjD,WAAW;AAAA,EACX,gBAAgB,CAAC;AACnB;AAEO,MAAM,YAAY;AAAA,EACvB,gBAAgB,kCAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,MAAM,kCAAU,MAAM,CAAC,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,CAAC,EAAE,YAAY,kBAAkB;AAAA,EAC/F,OAAO,kCAAU,UAAU;AAAA,IACzB,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,SAAS,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,SAAS,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,SAAS,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,SAAS,CAAC,GAAG,kCAAU,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAAA,IACtE,kCAAU,MAAM,CAAC,kCAAU,MAAM,CAAC,QAAQ,CAAC,GAAG,kCAAU,MAAM,CAAC,KAAK,CAAC,CAA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
|
|
@@ -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, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '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 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
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { GlobalAttributesT, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nexport declare namespace SvgIconT {\n export type SizeType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\n\n export type ColorType =\n | ['neutral', '900' | '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 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 RequiredProps | keyof OptionalProps>,\n Omit<XstyledProps, keyof DefaultProps | keyof RequiredProps | 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 WeakValidationMap<unknown>;\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,iBAAiB;AAyCnB,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,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,GAAG,CAAC,CAAC,CAAC;AAAA,IACtE,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,QAAQ,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACvE,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,MAAM,CAAC,SAAS,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IACxE,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,eAAe,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IAC9E,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,eAAe,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,IAC9E,UAAU,MAAM,CAAC,UAAU,MAAM,CAAC,eAAe,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAAA,EAChF,CAAC,EAAE,YAAY,YAAY;AAAA,EAC3B,WAAW,UAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,OAAO,UAAU,OAAO,YAAY,kDAAkD;AAAA,EACtF,WAAW,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,IAAI,CAAC,EAAE,YAAY,oBAAoB;AAAA,EACnG,SAAS,UAAU,OAAO,YAAY,UAAU;AAAA,EAChD,OAAO,UAAU,UAAU,CAAC,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
|
}
|
|
@@ -14,7 +14,7 @@ export declare namespace SvgIconT {
|
|
|
14
14
|
color?: ColorType;
|
|
15
15
|
paths?: string[];
|
|
16
16
|
fill?: string;
|
|
17
|
-
innerRef?: React.MutableRefObject<HTMLElement
|
|
17
|
+
innerRef?: React.MutableRefObject<HTMLElement | null> | ((_ref: HTMLElement) => void);
|
|
18
18
|
width?: number | string;
|
|
19
19
|
height?: number | string;
|
|
20
20
|
className?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-icons",
|
|
3
|
-
"version": "3.22.0-next.
|
|
3
|
+
"version": "3.22.0-next.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Icons",
|
|
6
6
|
"files": [
|
|
@@ -1572,12 +1572,14 @@
|
|
|
1572
1572
|
},
|
|
1573
1573
|
"dependencies": {
|
|
1574
1574
|
"@xstyled/system": "~3.7.3",
|
|
1575
|
-
"@elliemae/ds-classnames": "3.22.0-next.
|
|
1576
|
-
"@elliemae/ds-props-helpers": "3.22.0-next.
|
|
1577
|
-
"@elliemae/ds-system": "3.22.0-next.
|
|
1575
|
+
"@elliemae/ds-classnames": "3.22.0-next.4",
|
|
1576
|
+
"@elliemae/ds-props-helpers": "3.22.0-next.4",
|
|
1577
|
+
"@elliemae/ds-system": "3.22.0-next.4"
|
|
1578
1578
|
},
|
|
1579
1579
|
"devDependencies": {
|
|
1580
|
-
"
|
|
1580
|
+
"@elliemae/pui-cli": "~9.0.0-next.17",
|
|
1581
|
+
"styled-components": "~5.3.9",
|
|
1582
|
+
"@elliemae/ds-monorepo-devops": "3.22.0-next.4"
|
|
1581
1583
|
},
|
|
1582
1584
|
"peerDependencies": {
|
|
1583
1585
|
"lodash": "^4.17.21",
|
|
@@ -1587,7 +1589,7 @@
|
|
|
1587
1589
|
},
|
|
1588
1590
|
"scripts": {
|
|
1589
1591
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
1590
|
-
"test": "
|
|
1592
|
+
"test": "pui-cli test --passWithNoTests",
|
|
1591
1593
|
"lint": "node ../../scripts/lint.mjs",
|
|
1592
1594
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
1593
1595
|
"dts": "node ../../scripts/dts.mjs",
|