@elliemae/ds-separator 3.41.2-rc.1 → 3.42.0-rc.1
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/DSSeparator.js
CHANGED
|
@@ -84,7 +84,7 @@ const Separator = (0, import_ds_classnames.aggregatedClasses)("div")(
|
|
|
84
84
|
const useDeprecateComponent = ({ componentName, version }) => {
|
|
85
85
|
(0, import_react.useEffect)(() => {
|
|
86
86
|
if (true)
|
|
87
|
-
console.
|
|
87
|
+
console.warn(`Warning: ${componentName}:: this component will be deprecated in version: ${version}.`);
|
|
88
88
|
}, [componentName, version]);
|
|
89
89
|
};
|
|
90
90
|
const types = ["category-level", "group-level", "non-form"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSSeparator.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable no-console */\nimport React, { useEffect, type WeakValidationMap } from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\ntype MarginT = 's' | 'm' | 'l' | 'none';\n\ntype OrientationT = 'horizontal' | 'vertical';\n\ntype TypeT = 'category-level' | 'group-level' | 'non-form';\n\ntype PositionT = 'initial' | 'center' | 'end';\n\ninterface DSSeparatorPropsT {\n containerProps: object;\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n position: PositionT;\n className?: string;\n style?: object;\n}\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & {\n children: React.ReactNode;\n className?: string;\n classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'position'>;\n style?: object;\n }\n> = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({\n margin,\n orientation,\n dashed,\n position,\n }: {\n margin: MarginT;\n orientation: OrientationT;\n dashed: boolean;\n position: PositionT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & { classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'type'> }\n> = aggregatedClasses('div')(\n blockName,\n null,\n ({\n dashed,\n margin,\n orientation,\n type,\n }: {\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\ninterface Props {\n componentName: string;\n version: string;\n}\n\nexport const useDeprecateComponent = ({ componentName, version }: Props) => {\n useEffect(() => {\n if (process.env.NODE_ENV !== 'production')\n console.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgIjB;AA/HN,mBAAyD;AACzD,8BAAoC;AACpC,2BAAkC;AAqBlC,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AACR;AAEA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,KAAK;AACP;AAEA,MAAM,uBAOF,wCAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,QAAQ,GAAG;AAAA,EACd;AACF;AAEA,MAAM,gBAEF,wCAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,IAAI,GAAG;AAAA,EACV;AACF;AAOO,MAAM,wBAAwB,CAAC,EAAE,eAAe,QAAQ,MAAa;AAC1E,8BAAU,MAAM;AACd,QAAI;AACF,cAAQ,
|
|
4
|
+
"sourcesContent": ["/* eslint-disable no-console */\nimport React, { useEffect, type WeakValidationMap } from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\ntype MarginT = 's' | 'm' | 'l' | 'none';\n\ntype OrientationT = 'horizontal' | 'vertical';\n\ntype TypeT = 'category-level' | 'group-level' | 'non-form';\n\ntype PositionT = 'initial' | 'center' | 'end';\n\ninterface DSSeparatorPropsT {\n containerProps: object;\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n position: PositionT;\n className?: string;\n style?: object;\n}\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & {\n children: React.ReactNode;\n className?: string;\n classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'position'>;\n style?: object;\n }\n> = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({\n margin,\n orientation,\n dashed,\n position,\n }: {\n margin: MarginT;\n orientation: OrientationT;\n dashed: boolean;\n position: PositionT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & { classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'type'> }\n> = aggregatedClasses('div')(\n blockName,\n null,\n ({\n dashed,\n margin,\n orientation,\n type,\n }: {\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\ninterface Props {\n componentName: string;\n version: string;\n}\n\nexport const useDeprecateComponent = ({ componentName, version }: Props) => {\n useEffect(() => {\n if (process.env.NODE_ENV !== 'production')\n console.warn(`Warning: ${componentName}:: this component will be deprecated in version: ${version}.`);\n }, [componentName, version]);\n};\n\nconst types = ['category-level', 'group-level', 'non-form'];\n\nconst DSSeparator = ({\n containerProps,\n dashed,\n margin,\n orientation,\n type,\n position,\n className,\n style,\n}: DSSeparatorPropsT) => {\n useDeprecateComponent({ componentName: 'ds-separator', version: 'TBD Date: 2023 Q3' });\n\n return (\n <SeparatorWrapper\n {...containerProps}\n className={className}\n classProps={{\n margin,\n orientation,\n dashed,\n position,\n }}\n style={style}\n >\n <Separator\n classProps={{\n dashed,\n margin,\n orientation,\n type,\n }}\n />\n </SeparatorWrapper>\n );\n};\n\nDSSeparator.defaultProps = {\n containerProps: {},\n dashed: false,\n margin: MARGIN_SIZE.S,\n orientation: 'horizontal',\n type: 'category-level',\n position: POSITION.INITIAL,\n};\n\nconst props = {\n /** class for separator */\n className: PropTypes.string.description('class for separator'),\n /** style object for separator */\n style: PropTypes.object.description('style object for separator'),\n /** Injected props to wrapper element of component */\n containerProps: PropTypes.object.description('Injected props to wrapper element of component'),\n /**\n * If the separator has to be dashed or solid\n */\n dashed: PropTypes.bool.description('If the separator has to be dashed or solid'),\n /**\n * Amount of margin to be added to the separator\n */\n margin: PropTypes.oneOf(['s', 'm', 'l', 'none']).description('Amount of margin to be added to the separator'),\n /**\n * Orientation 'horizontal' or 'vertical'\n */\n orientation: PropTypes.string.description(\"Orientation 'horizontal' or 'vertical'\"),\n /**\n * ['category-level', 'group-level', 'non-form']\n */\n type: PropTypes.oneOf(types).description(\"['category-level', 'group-level', 'non-form']\"),\n /**\n * ['initial', 'center', 'end']\n */\n position: PropTypes.oneOf(['initial', 'center', 'end']).description(\"['initial', 'center', 'end']\"),\n};\n\nDSSeparator.displayName = 'DSSeparator';\nconst DSSeparatorWithSchema = describe(DSSeparator);\n\nDSSeparatorWithSchema.propTypes = props as WeakValidationMap<unknown>;\n\nexport { DSSeparator, DSSeparatorWithSchema };\nexport default DSSeparator;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADgIjB;AA/HN,mBAAyD;AACzD,8BAAoC;AACpC,2BAAkC;AAqBlC,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AACR;AAEA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,KAAK;AACP;AAEA,MAAM,uBAOF,wCAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,QAAQ,GAAG;AAAA,EACd;AACF;AAEA,MAAM,gBAEF,wCAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,IAAI,GAAG;AAAA,EACV;AACF;AAOO,MAAM,wBAAwB,CAAC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AwC;AAAA;AAAA;AAAA;AAAA,EAIlF,MAAM,kCAAU,MAAM,KAAK,EAAE,YAAY,+CAA+C;AAAA;AAAA;AAAA;AAAA,EAIxF,UAAU,kCAAU,MAAM,CAAC,WAAW,UAAU,KAAK,CAAC,EAAE,YAAY,8BAA8B;AACpG;AAEA,YAAY,cAAc;AAC1B,MAAM,4BAAwB,kCAAS,WAAW;AAElD,sBAAsB,YAAY;AAGlC,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/DSSeparator.js
CHANGED
|
@@ -48,7 +48,7 @@ const Separator = aggregatedClasses("div")(
|
|
|
48
48
|
const useDeprecateComponent = ({ componentName, version }) => {
|
|
49
49
|
useEffect(() => {
|
|
50
50
|
if (true)
|
|
51
|
-
console.
|
|
51
|
+
console.warn(`Warning: ${componentName}:: this component will be deprecated in version: ${version}.`);
|
|
52
52
|
}, [componentName, version]);
|
|
53
53
|
};
|
|
54
54
|
const types = ["category-level", "group-level", "non-form"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSSeparator.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-console */\nimport React, { useEffect, type WeakValidationMap } from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\ntype MarginT = 's' | 'm' | 'l' | 'none';\n\ntype OrientationT = 'horizontal' | 'vertical';\n\ntype TypeT = 'category-level' | 'group-level' | 'non-form';\n\ntype PositionT = 'initial' | 'center' | 'end';\n\ninterface DSSeparatorPropsT {\n containerProps: object;\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n position: PositionT;\n className?: string;\n style?: object;\n}\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & {\n children: React.ReactNode;\n className?: string;\n classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'position'>;\n style?: object;\n }\n> = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({\n margin,\n orientation,\n dashed,\n position,\n }: {\n margin: MarginT;\n orientation: OrientationT;\n dashed: boolean;\n position: PositionT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & { classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'type'> }\n> = aggregatedClasses('div')(\n blockName,\n null,\n ({\n dashed,\n margin,\n orientation,\n type,\n }: {\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\ninterface Props {\n componentName: string;\n version: string;\n}\n\nexport const useDeprecateComponent = ({ componentName, version }: Props) => {\n useEffect(() => {\n if (process.env.NODE_ENV !== 'production')\n console.
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACgIjB;AA/HN,SAAgB,iBAAyC;AACzD,SAAS,WAAW,gBAAgB;AACpC,SAAS,yBAAyB;AAqBlC,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AACR;AAEA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,KAAK;AACP;AAEA,MAAM,mBAOF,kBAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,QAAQ,GAAG;AAAA,EACd;AACF;AAEA,MAAM,YAEF,kBAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,IAAI,GAAG;AAAA,EACV;AACF;AAOO,MAAM,wBAAwB,CAAC,EAAE,eAAe,QAAQ,MAAa;AAC1E,YAAU,MAAM;AACd,QAAI;AACF,cAAQ,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-console */\nimport React, { useEffect, type WeakValidationMap } from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\ntype MarginT = 's' | 'm' | 'l' | 'none';\n\ntype OrientationT = 'horizontal' | 'vertical';\n\ntype TypeT = 'category-level' | 'group-level' | 'non-form';\n\ntype PositionT = 'initial' | 'center' | 'end';\n\ninterface DSSeparatorPropsT {\n containerProps: object;\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n position: PositionT;\n className?: string;\n style?: object;\n}\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & {\n children: React.ReactNode;\n className?: string;\n classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'position'>;\n style?: object;\n }\n> = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({\n margin,\n orientation,\n dashed,\n position,\n }: {\n margin: MarginT;\n orientation: OrientationT;\n dashed: boolean;\n position: PositionT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator: React.ForwardRefExoticComponent<\n React.RefAttributes<unknown> & { classProps: Pick<DSSeparatorPropsT, 'margin' | 'orientation' | 'dashed' | 'type'> }\n> = aggregatedClasses('div')(\n blockName,\n null,\n ({\n dashed,\n margin,\n orientation,\n type,\n }: {\n dashed: boolean;\n margin: MarginT;\n orientation: OrientationT;\n type: TypeT;\n }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\ninterface Props {\n componentName: string;\n version: string;\n}\n\nexport const useDeprecateComponent = ({ componentName, version }: Props) => {\n useEffect(() => {\n if (process.env.NODE_ENV !== 'production')\n console.warn(`Warning: ${componentName}:: this component will be deprecated in version: ${version}.`);\n }, [componentName, version]);\n};\n\nconst types = ['category-level', 'group-level', 'non-form'];\n\nconst DSSeparator = ({\n containerProps,\n dashed,\n margin,\n orientation,\n type,\n position,\n className,\n style,\n}: DSSeparatorPropsT) => {\n useDeprecateComponent({ componentName: 'ds-separator', version: 'TBD Date: 2023 Q3' });\n\n return (\n <SeparatorWrapper\n {...containerProps}\n className={className}\n classProps={{\n margin,\n orientation,\n dashed,\n position,\n }}\n style={style}\n >\n <Separator\n classProps={{\n dashed,\n margin,\n orientation,\n type,\n }}\n />\n </SeparatorWrapper>\n );\n};\n\nDSSeparator.defaultProps = {\n containerProps: {},\n dashed: false,\n margin: MARGIN_SIZE.S,\n orientation: 'horizontal',\n type: 'category-level',\n position: POSITION.INITIAL,\n};\n\nconst props = {\n /** class for separator */\n className: PropTypes.string.description('class for separator'),\n /** style object for separator */\n style: PropTypes.object.description('style object for separator'),\n /** Injected props to wrapper element of component */\n containerProps: PropTypes.object.description('Injected props to wrapper element of component'),\n /**\n * If the separator has to be dashed or solid\n */\n dashed: PropTypes.bool.description('If the separator has to be dashed or solid'),\n /**\n * Amount of margin to be added to the separator\n */\n margin: PropTypes.oneOf(['s', 'm', 'l', 'none']).description('Amount of margin to be added to the separator'),\n /**\n * Orientation 'horizontal' or 'vertical'\n */\n orientation: PropTypes.string.description(\"Orientation 'horizontal' or 'vertical'\"),\n /**\n * ['category-level', 'group-level', 'non-form']\n */\n type: PropTypes.oneOf(types).description(\"['category-level', 'group-level', 'non-form']\"),\n /**\n * ['initial', 'center', 'end']\n */\n position: PropTypes.oneOf(['initial', 'center', 'end']).description(\"['initial', 'center', 'end']\"),\n};\n\nDSSeparator.displayName = 'DSSeparator';\nconst DSSeparatorWithSchema = describe(DSSeparator);\n\nDSSeparatorWithSchema.propTypes = props as WeakValidationMap<unknown>;\n\nexport { DSSeparator, DSSeparatorWithSchema };\nexport default DSSeparator;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACgIjB;AA/HN,SAAgB,iBAAyC;AACzD,SAAS,WAAW,gBAAgB;AACpC,SAAS,yBAAyB;AAqBlC,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AACR;AAEA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,KAAK;AACP;AAEA,MAAM,mBAOF,kBAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CAAC,WAAW,GAAG;AAAA,IACf,CAAC,QAAQ,GAAG;AAAA,EACd;AACF;AAEA,MAAM,YAEF,kBAAkB,KAAK;AAAA,EACzB;AAAA,EACA;AAAA,EACA,CAAC;AAAA,IACC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,OAKO;AAAA,IACL;AAAA,IACA,CAAC,MAAM,GAAG;AAAA,IACV,CA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AE,YAAY,+CAA+C;AAAA;AAAA;AAAA;AAAA,EAI5G,aAAa,UAAU,OAAO,YAAY,wCAAwC;AAAA;AAAA;AAAA;AAAA,EAIlF,MAAM,UAAU,MAAM,KAAK,EAAE,YAAY,+CAA+C;AAAA;AAAA;AAAA;AAAA,EAIxF,UAAU,UAAU,MAAM,CAAC,WAAW,UAAU,KAAK,CAAC,EAAE,YAAY,8BAA8B;AACpG;AAEA,YAAY,cAAc;AAC1B,MAAM,wBAAwB,SAAS,WAAW;AAElD,sBAAsB,YAAY;AAGlC,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-separator",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Separator",
|
|
6
6
|
"files": [
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"indent": 4
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-
|
|
43
|
+
"@elliemae/ds-props-helpers": "3.42.0-rc.1",
|
|
44
|
+
"@elliemae/ds-system": "3.42.0-rc.1",
|
|
45
|
+
"@elliemae/ds-classnames": "3.42.0-rc.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
|
49
49
|
"styled-components": "~5.3.9",
|
|
50
|
-
"@elliemae/ds-monorepo-devops": "3.
|
|
50
|
+
"@elliemae/ds-monorepo-devops": "3.42.0-rc.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^17.0.2",
|