@elliemae/ds-card-v2-group 3.22.0-next.3 → 3.22.0-next.31

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,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/DSCardV2Group.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/DSCardV2Group.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypesSchema } from './react-desc-prop-types.js';\nimport { useCardV2Group } from './config/useCardV2Group.js';\nimport { Group, TitleWrapper, GroupTitle, Items } from './styles.js';\nimport { DSCardV2GroupName } from './constants/index.js';\n\nconst DSCardV2Group: React.ComponentType<DSCardV2GroupT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useCardV2Group(props);\n const { children, title, action } = propsWithDefault;\n return (\n <Group\n withTopBorder={!title}\n getOwnerProps={() => propsWithDefault}\n getOwnerPropsArguments={() => ({})}\n {...globalProps}\n {...xstyledProps}\n >\n {!!title && (\n <TitleWrapper>\n <GroupTitle>{title}</GroupTitle>\n {action}\n </TitleWrapper>\n )}\n <Items>{children}</Items>\n </Group>\n );\n};\n\nDSCardV2Group.propTypes = DSCardV2GroupPropTypesSchema;\nDSCardV2Group.displayName = DSCardV2GroupName;\nconst DSCardV2GroupWithSchema = describe(DSCardV2Group);\nDSCardV2GroupWithSchema.propTypes = DSCardV2GroupPropTypesSchema;\n\nexport { DSCardV2Group, DSCardV2GroupWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmBf;AAlBR,0BAAyB;AACzB,mCAAkE;AAClE,4BAA+B;AAC/B,oBAAuD;AACvD,uBAAkC;AAElC,MAAM,gBAA2D,CAAC,UAAU;AAC1E,QAAM,EAAE,kBAAkB,aAAa,aAAa,QAAI,sCAAe,KAAK;AAC5E,QAAM,EAAE,UAAU,OAAO,OAAO,IAAI;AACpC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAe,CAAC;AAAA,MAChB,eAAe,MAAM;AAAA,MACrB,wBAAwB,OAAO,CAAC;AAAA,MAC/B,GAAG;AAAA,MACH,GAAG;AAAA,MAEH;AAAA,SAAC,CAAC,SACD,6CAAC,8BACC;AAAA,sDAAC,4BAAY,iBAAM;AAAA,UAClB;AAAA,WACH;AAAA,QAEF,4CAAC,uBAAO,UAAS;AAAA;AAAA;AAAA,EACnB;AAEJ;AAEA,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,MAAM,8BAA0B,8BAAS,aAAa;AACtD,wBAAwB,YAAY;",
6
6
  "names": []
@@ -41,7 +41,11 @@ var import_useValidateProps = require("./useValidateProps.js");
41
41
  const useCardV2Group = (propsFromUser) => {
42
42
  const propsWithDefault = (0, import_ds_utilities.useMemoMergePropsWithDefault)(propsFromUser, import_react_desc_prop_types.defaultProps);
43
43
  (0, import_useValidateProps.useValidateProps)(propsWithDefault, import_react_desc_prop_types.DSCardV2GroupPropTypes);
44
- const globalProps = (0, import_lodash.omit)((0, import_ds_utilities.useGetGlobalAttributes)(propsWithDefault), ["cols", "rows", "wrap"]);
44
+ const globalProps = (0, import_lodash.omit)((0, import_ds_utilities.useGetGlobalAttributes)(propsWithDefault), [
45
+ "cols",
46
+ "rows",
47
+ "wrap"
48
+ ]);
45
49
  const xstyledProps = (0, import_ds_utilities.useGetXstyledProps)(propsWithDefault);
46
50
  const { id } = propsWithDefault;
47
51
  const instanceUid = import_react.default.useMemo(() => id || (0, import_uid.uid)(5), [id]);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/config/useCardV2Group.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { omit } from 'lodash';\nimport { useGetGlobalAttributes, useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-utilities';\nimport { uid } from 'uid';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypes, defaultProps } from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface CardV2GroupCTX {\n propsWithDefault: DSCardV2GroupT.InternalProps;\n globalProps: ReturnType<typeof useGetGlobalAttributes>;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useCardV2Group = (propsFromUser: DSCardV2GroupT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSCardV2GroupT.InternalProps>(propsFromUser, defaultProps);\n useValidateProps(propsWithDefault, DSCardV2GroupPropTypes);\n // =============================================================================\n // GLOBAL ATTRIBUTES & XSTYLED PROPS\n // =============================================================================\n const globalProps = omit(useGetGlobalAttributes<DSCardV2GroupT.InternalProps>(propsWithDefault), ['cols', 'rows', 'wrap']);\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n // =============================================================================\n // AD HOC PER COMPONENT LOGIC\n // =============================================================================\n // custom code goes here, this is an example\n const { id } = propsWithDefault;\n const instanceUid = React.useMemo(() => id || uid(5), [id]);\n // =============================================================================\n // HELPERS HOOKS CONFIGS\n // =============================================================================\n // const eventHandlers = useEventHandlers({ propsWithDefault, instanceUid }); // <-- complex logic should be made atomics this way\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // ...eventHandlers,\n }),\n [\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // eventHandlers,\n ],\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,oBAAqB;AACrB,0BAAyF;AACzF,iBAAoB;AACpB,mCAA0E;AAC1E,8BAAiC;AAS1B,MAAM,iBAAiB,CAAC,kBAAwC;AAIrE,QAAM,uBAAmB,kDAA2D,eAAe,yCAAY;AAC/G,gDAAiB,kBAAkB,mDAAsB;AAIzD,QAAM,kBAAc,wBAAK,4CAAqD,gBAAgB,GAAG,CAAC,QAAQ,QAAQ,MAAM,CAAC;AACzH,QAAM,mBAAe,wCAAmB,gBAAgB;AAKxD,QAAM,EAAE,GAAG,IAAI;AACf,QAAM,cAAc,aAAAA,QAAM,QAAQ,MAAM,UAAM,gBAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAM1D,SAAO,aAAAA,QAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,EACF;AACF;",
3
+ "sources": ["../../../src/config/useCardV2Group.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\nimport { omit } from 'lodash';\nimport { useGetGlobalAttributes, useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-utilities';\nimport { uid } from 'uid';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypes, defaultProps } from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface CardV2GroupCTX {\n propsWithDefault: DSCardV2GroupT.InternalProps;\n globalProps: ReturnType<typeof useGetGlobalAttributes>;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useCardV2Group = (propsFromUser: DSCardV2GroupT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSCardV2GroupT.InternalProps>(propsFromUser, defaultProps);\n useValidateProps(propsWithDefault, DSCardV2GroupPropTypes);\n // =============================================================================\n // GLOBAL ATTRIBUTES & XSTYLED PROPS\n // =============================================================================\n const globalProps = omit(useGetGlobalAttributes<DSCardV2GroupT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n ]);\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n // =============================================================================\n // AD HOC PER COMPONENT LOGIC\n // =============================================================================\n // custom code goes here, this is an example\n const { id } = propsWithDefault;\n const instanceUid = React.useMemo(() => id || uid(5), [id]);\n // =============================================================================\n // HELPERS HOOKS CONFIGS\n // =============================================================================\n // const eventHandlers = useEventHandlers({ propsWithDefault, instanceUid }); // <-- complex logic should be made atomics this way\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // ...eventHandlers,\n }),\n [\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // eventHandlers,\n ],\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,oBAAqB;AACrB,0BAAyF;AACzF,iBAAoB;AACpB,mCAA0E;AAC1E,8BAAiC;AAS1B,MAAM,iBAAiB,CAAC,kBAAwC;AAIrE,QAAM,uBAAmB,kDAA2D,eAAe,yCAAY;AAC/G,gDAAiB,kBAAkB,mDAAsB;AAIzD,QAAM,kBAAc,wBAAK,4CAAqD,gBAAgB,GAAG;AAAA,IAC/F;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,mBAAe,wCAAmB,gBAAgB;AAKxD,QAAM,EAAE,GAAG,IAAI;AACf,QAAM,cAAc,aAAAA,QAAM,QAAQ,MAAM,UAAM,gBAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAM1D,SAAO,aAAAA,QAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,EACF;AACF;",
6
6
  "names": ["React"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/config/useValidateProps.ts", "../../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../../src/config/useValidateProps.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { useValidateTypescriptPropTypes } from '@elliemae/ds-utilities';\nimport type { WeakValidationMap } from 'react';\nimport { type DSCardV2GroupT } from '../react-desc-prop-types.js';\nimport { DSCardV2GroupName } from '../constants/index.js';\n\nexport const useValidateProps = (props: DSCardV2GroupT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSCardV2GroupName);\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAA+C;AAG/C,uBAAkC;AAE3B,MAAM,mBAAmB,CAAC,OAAqC,cAAgD;AAEpH,0DAA+B,OAAO,WAAW,kCAAiB;AACpE;",
6
6
  "names": []
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/constants/index.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCardV2GroupName = 'DSCardV2Group';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators \nexport const CARD_V2_GROUP_SLOTS = {\n GROUP: 'group',\n GROUP_TITLE: 'group-title',\n TITLE_WRAPPER: 'title-wrapper',\n ITEMS: 'items',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_DATA_TESTID = slotObjectToDataTestIds(DSCardV2GroupName, CARD_V2_GROUP_SLOTS);\n", "import * as React from 'react';\nexport { React };\n"],
3
+ "sources": ["../../../src/constants/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCardV2GroupName = 'DSCardV2Group';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_SLOTS = {\n GROUP: 'group',\n GROUP_TITLE: 'group-title',\n TITLE_WRAPPER: 'title-wrapper',\n ITEMS: 'items',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_DATA_TESTID = slotObjectToDataTestIds(DSCardV2GroupName, CARD_V2_GROUP_SLOTS);\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AAEjC,MAAM,oBAAoB;AAG1B,MAAM,sBAAsB;AAAA,EACjC,OAAO;AAAA,EACP,aAAa;AAAA,EACb,eAAe;AAAA,EACf,OAAO;AACT;AAGO,MAAM,gCAA4B,0CAAwB,mBAAmB,mBAAmB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/index.ts", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/index.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport {\n DSCardV2Group,\n DSCardV2GroupWithSchema,\n DSCardV2GroupWithSchema as DSCardGroupWithSchema,\n} from './DSCardV2Group.js';\nexport { type DSCardV2GroupT } from './react-desc-prop-types.js';\nexport { CARD_V2_GROUP_DATA_TESTID } from './constants/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,2BAIO;AACP,mCAAoC;AACpC,uBAA0C;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/react-desc-prop-types.ts", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { WeakValidationMap } from 'react';\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-utilities';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSCardV2GroupT {\n export interface RequiredProps {\n children: React.ReactElement<[]>;\n title: string;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {\n action: React.ReactElement<[]>;\n }\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<\n GlobalAttributesT<HTMLButtonElement>,\n keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n >,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<\n GlobalAttributesT<HTMLButtonElement>,\n keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n >,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSCardV2GroupT.DefaultProps = {};\n\nexport const DSCardV2GroupPropTypes: DSPropTypesSchema<DSCardV2GroupT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n /**\n * Card items\n */\n children: PropTypes.node.isRequired.description('Card items'),\n /**\n * Title of the group\n */\n title: PropTypes.string.isRequired.description('Title of the group'),\n /**\n * Right addon action\n */\n action: PropTypes.element.description('Right addon action'),\n};\n\nexport const DSCardV2GroupPropTypesSchema =\n DSCardV2GroupPropTypes as unknown as WeakValidationMap<DSCardV2GroupT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,0BAAuE;AAmChE,MAAM,eAA4C,CAAC;AAEnD,MAAM,yBAAkE;AAAA,EAC7E,GAAG;AAAA,EACH,GAAG;AAAA;AAAA;AAAA;AAAA,EAIH,UAAU,8BAAU,KAAK,WAAW,YAAY,YAAY;AAAA;AAAA;AAAA;AAAA,EAI5D,OAAO,8BAAU,OAAO,WAAW,YAAY,oBAAoB;AAAA;AAAA;AAAA;AAAA,EAInE,QAAQ,8BAAU,QAAQ,YAAY,oBAAoB;AAC5D;AAEO,MAAM,+BACX;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/styles.tsx", "../../../../scripts/build/transpile/react-shim.js"],
3
+ "sources": ["../../src/styles.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { color, border, truncate, styled } from '@elliemae/ds-system';\nimport { DSCardV2 } from '@elliemae/ds-card-v2';\nimport { CARD_V2_GROUP_SLOTS, DSCardV2GroupName } from './constants/index.js';\nimport type { DSCardV2GroupT } from './react-desc-prop-types.js';\n\nconst Group = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.GROUP })<\n DSCardV2GroupT.Props & { withTopBorder: boolean }\n>`\n display: flex;\n flex-direction: column;\n width: 100%;\n max-width: 100%;\n ${DSCardV2} {\n border-top: none;\n }\n ${({ theme, withTopBorder }) => (withTopBorder ? `border-top: ${theme.colors.neutral['100']}` : '')}\n`;\n\nconst GroupTitle = styled('span', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.GROUP_TITLE })`\n ${truncate()}\n`;\n\nconst TitleWrapper = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.TITLE_WRAPPER })`\n display: flex;\n justify-content: space-between;\n padding: 0 ${(props) => props.theme.space.xs};\n font-size: 12px;\n ${color('neutral', '700')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n background-color: ${(props) => props.theme.colors.neutral['080']};\n border-top: ${(props) => border(props.theme.colors.neutral['080'])};\n line-height: 24px;\n`;\n\nconst Items = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.ITEMS })`\n display: flex;\n flex-direction: column;\n`;\n\nexport { Group, GroupTitle, TitleWrapper, Items };\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAgD;AAChD,wBAAyB;AACzB,uBAAuD;AAGvD,MAAM,YAAQ,yBAAO,OAAO,EAAE,MAAM,oCAAmB,MAAM,qCAAoB,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAOpF;AAAA;AAAA;AAAA,IAGA,CAAC,EAAE,OAAO,cAAc,MAAO,gBAAgB,eAAe,MAAM,OAAO,QAAQ,KAAK,MAAM;AAAA;AAGlG,MAAM,iBAAa,yBAAO,QAAQ,EAAE,MAAM,oCAAmB,MAAM,qCAAoB,YAAY,CAAC;AAAA,QAChG,2BAAS;AAAA;AAGb,MAAM,mBAAe,yBAAO,OAAO,EAAE,MAAM,oCAAmB,MAAM,qCAAoB,cAAc,CAAC;AAAA;AAAA;AAAA,eAGxF,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA,QAExC,wBAAM,WAAW,KAAK;AAAA,iBACT,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,sBAC9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA,gBACjD,CAAC,cAAU,yBAAO,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAInE,MAAM,YAAQ,yBAAO,OAAO,EAAE,MAAM,oCAAmB,MAAM,qCAAoB,MAAM,CAAC;AAAA;AAAA;AAAA;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSCardV2Group.tsx"],
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSCardV2Group.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypesSchema } from './react-desc-prop-types.js';\nimport { useCardV2Group } from './config/useCardV2Group.js';\nimport { Group, TitleWrapper, GroupTitle, Items } from './styles.js';\nimport { DSCardV2GroupName } from './constants/index.js';\n\nconst DSCardV2Group: React.ComponentType<DSCardV2GroupT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useCardV2Group(props);\n const { children, title, action } = propsWithDefault;\n return (\n <Group\n withTopBorder={!title}\n getOwnerProps={() => propsWithDefault}\n getOwnerPropsArguments={() => ({})}\n {...globalProps}\n {...xstyledProps}\n >\n {!!title && (\n <TitleWrapper>\n <GroupTitle>{title}</GroupTitle>\n {action}\n </TitleWrapper>\n )}\n <Items>{children}</Items>\n </Group>\n );\n};\n\nDSCardV2Group.propTypes = DSCardV2GroupPropTypesSchema;\nDSCardV2Group.displayName = DSCardV2GroupName;\nconst DSCardV2GroupWithSchema = describe(DSCardV2Group);\nDSCardV2GroupWithSchema.propTypes = DSCardV2GroupPropTypesSchema;\n\nexport { DSCardV2Group, DSCardV2GroupWithSchema };\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACmBf,SACE,KADF;AAlBR,SAAS,gBAAgB;AACzB,SAA8B,oCAAoC;AAClE,SAAS,sBAAsB;AAC/B,SAAS,OAAO,cAAc,YAAY,aAAa;AACvD,SAAS,yBAAyB;AAElC,MAAM,gBAA2D,CAAC,UAAU;AAC1E,QAAM,EAAE,kBAAkB,aAAa,aAAa,IAAI,eAAe,KAAK;AAC5E,QAAM,EAAE,UAAU,OAAO,OAAO,IAAI;AACpC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAe,CAAC;AAAA,MAChB,eAAe,MAAM;AAAA,MACrB,wBAAwB,OAAO,CAAC;AAAA,MAC/B,GAAG;AAAA,MACH,GAAG;AAAA,MAEH;AAAA,SAAC,CAAC,SACD,qBAAC,gBACC;AAAA,8BAAC,cAAY,iBAAM;AAAA,UAClB;AAAA,WACH;AAAA,QAEF,oBAAC,SAAO,UAAS;AAAA;AAAA;AAAA,EACnB;AAEJ;AAEA,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,MAAM,0BAA0B,SAAS,aAAa;AACtD,wBAAwB,YAAY;",
6
6
  "names": []
@@ -8,7 +8,11 @@ import { useValidateProps } from "./useValidateProps.js";
8
8
  const useCardV2Group = (propsFromUser) => {
9
9
  const propsWithDefault = useMemoMergePropsWithDefault(propsFromUser, defaultProps);
10
10
  useValidateProps(propsWithDefault, DSCardV2GroupPropTypes);
11
- const globalProps = omit(useGetGlobalAttributes(propsWithDefault), ["cols", "rows", "wrap"]);
11
+ const globalProps = omit(useGetGlobalAttributes(propsWithDefault), [
12
+ "cols",
13
+ "rows",
14
+ "wrap"
15
+ ]);
12
16
  const xstyledProps = useGetXstyledProps(propsWithDefault);
13
17
  const { id } = propsWithDefault;
14
18
  const instanceUid = React2.useMemo(() => id || uid(5), [id]);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useCardV2Group.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { omit } from 'lodash';\nimport { useGetGlobalAttributes, useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-utilities';\nimport { uid } from 'uid';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypes, defaultProps } from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface CardV2GroupCTX {\n propsWithDefault: DSCardV2GroupT.InternalProps;\n globalProps: ReturnType<typeof useGetGlobalAttributes>;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useCardV2Group = (propsFromUser: DSCardV2GroupT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSCardV2GroupT.InternalProps>(propsFromUser, defaultProps);\n useValidateProps(propsWithDefault, DSCardV2GroupPropTypes);\n // =============================================================================\n // GLOBAL ATTRIBUTES & XSTYLED PROPS\n // =============================================================================\n const globalProps = omit(useGetGlobalAttributes<DSCardV2GroupT.InternalProps>(propsWithDefault), ['cols', 'rows', 'wrap']);\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n // =============================================================================\n // AD HOC PER COMPONENT LOGIC\n // =============================================================================\n // custom code goes here, this is an example\n const { id } = propsWithDefault;\n const instanceUid = React.useMemo(() => id || uid(5), [id]);\n // =============================================================================\n // HELPERS HOOKS CONFIGS\n // =============================================================================\n // const eventHandlers = useEventHandlers({ propsWithDefault, instanceUid }); // <-- complex logic should be made atomics this way\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // ...eventHandlers,\n }),\n [\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // eventHandlers,\n ],\n );\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,OAAOA,YAAW;AAClB,SAAS,YAAY;AACrB,SAAS,wBAAwB,oBAAoB,oCAAoC;AACzF,SAAS,WAAW;AACpB,SAA8B,wBAAwB,oBAAoB;AAC1E,SAAS,wBAAwB;AAS1B,MAAM,iBAAiB,CAAC,kBAAwC;AAIrE,QAAM,mBAAmB,6BAA2D,eAAe,YAAY;AAC/G,mBAAiB,kBAAkB,sBAAsB;AAIzD,QAAM,cAAc,KAAK,uBAAqD,gBAAgB,GAAG,CAAC,QAAQ,QAAQ,MAAM,CAAC;AACzH,QAAM,eAAe,mBAAmB,gBAAgB;AAKxD,QAAM,EAAE,GAAG,IAAI;AACf,QAAM,cAAcA,OAAM,QAAQ,MAAM,MAAM,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAM1D,SAAOA,OAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,EACF;AACF;",
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useCardV2Group.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { omit } from 'lodash';\nimport { useGetGlobalAttributes, useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-utilities';\nimport { uid } from 'uid';\nimport { type DSCardV2GroupT, DSCardV2GroupPropTypes, defaultProps } from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface CardV2GroupCTX {\n propsWithDefault: DSCardV2GroupT.InternalProps;\n globalProps: ReturnType<typeof useGetGlobalAttributes>;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useCardV2Group = (propsFromUser: DSCardV2GroupT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSCardV2GroupT.InternalProps>(propsFromUser, defaultProps);\n useValidateProps(propsWithDefault, DSCardV2GroupPropTypes);\n // =============================================================================\n // GLOBAL ATTRIBUTES & XSTYLED PROPS\n // =============================================================================\n const globalProps = omit(useGetGlobalAttributes<DSCardV2GroupT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n ]);\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n // =============================================================================\n // AD HOC PER COMPONENT LOGIC\n // =============================================================================\n // custom code goes here, this is an example\n const { id } = propsWithDefault;\n const instanceUid = React.useMemo(() => id || uid(5), [id]);\n // =============================================================================\n // HELPERS HOOKS CONFIGS\n // =============================================================================\n // const eventHandlers = useEventHandlers({ propsWithDefault, instanceUid }); // <-- complex logic should be made atomics this way\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // ...eventHandlers,\n }),\n [\n propsWithDefault,\n globalProps,\n xstyledProps,\n instanceUid,\n // eventHandlers,\n ],\n );\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,OAAOA,YAAW;AAClB,SAAS,YAAY;AACrB,SAAS,wBAAwB,oBAAoB,oCAAoC;AACzF,SAAS,WAAW;AACpB,SAA8B,wBAAwB,oBAAoB;AAC1E,SAAS,wBAAwB;AAS1B,MAAM,iBAAiB,CAAC,kBAAwC;AAIrE,QAAM,mBAAmB,6BAA2D,eAAe,YAAY;AAC/G,mBAAiB,kBAAkB,sBAAsB;AAIzD,QAAM,cAAc,KAAK,uBAAqD,gBAAgB,GAAG;AAAA,IAC/F;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,eAAe,mBAAmB,gBAAgB;AAKxD,QAAM,EAAE,GAAG,IAAI;AACf,QAAM,cAAcA,OAAM,QAAQ,MAAM,MAAM,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AAM1D,SAAOA,OAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,IAEF;AAAA,EACF;AACF;",
6
6
  "names": ["React"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useValidateProps.ts"],
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useValidateProps.ts"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useValidateTypescriptPropTypes } from '@elliemae/ds-utilities';\nimport type { WeakValidationMap } from 'react';\nimport { type DSCardV2GroupT } from '../react-desc-prop-types.js';\nimport { DSCardV2GroupName } from '../constants/index.js';\n\nexport const useValidateProps = (props: DSCardV2GroupT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSCardV2GroupName);\n};\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,sCAAsC;AAG/C,SAAS,yBAAyB;AAE3B,MAAM,mBAAmB,CAAC,OAAqC,cAAgD;AAEpH,iCAA+B,OAAO,WAAW,iBAAiB;AACpE;",
6
6
  "names": []
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/constants/index.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCardV2GroupName = 'DSCardV2Group';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators \nexport const CARD_V2_GROUP_SLOTS = {\n GROUP: 'group',\n GROUP_TITLE: 'group-title',\n TITLE_WRAPPER: 'title-wrapper',\n ITEMS: 'items',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_DATA_TESTID = slotObjectToDataTestIds(DSCardV2GroupName, CARD_V2_GROUP_SLOTS);\n"],
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/constants/index.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCardV2GroupName = 'DSCardV2Group';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_SLOTS = {\n GROUP: 'group',\n GROUP_TITLE: 'group-title',\n TITLE_WRAPPER: 'title-wrapper',\n ITEMS: 'items',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const CARD_V2_GROUP_DATA_TESTID = slotObjectToDataTestIds(DSCardV2GroupName, CARD_V2_GROUP_SLOTS);\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AAEjC,MAAM,oBAAoB;AAG1B,MAAM,sBAAsB;AAAA,EACjC,OAAO;AAAA,EACP,aAAa;AAAA,EACb,eAAe;AAAA,EACf,OAAO;AACT;AAGO,MAAM,4BAA4B,wBAAwB,mBAAmB,mBAAmB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.ts"],
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.ts"],
4
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 {\n DSCardV2Group,\n DSCardV2GroupWithSchema,\n DSCardV2GroupWithSchema as DSCardGroupWithSchema,\n} from './DSCardV2Group.js';\nexport { type DSCardV2GroupT } from './react-desc-prop-types.js';\nexport { CARD_V2_GROUP_DATA_TESTID } from './constants/index.js';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACGvB;AAAA,EACE;AAAA,EACA;AAAA,EAC2B,2BAA3BA;AAAA,OACK;AACP,eAAoC;AACpC,SAAS,iCAAiC;",
6
6
  "names": ["DSCardV2GroupWithSchema"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { WeakValidationMap } from 'react';\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema } from '@elliemae/ds-utilities';\nimport { PropTypes, globalAttributesPropTypes, xstyledPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSCardV2GroupT {\n export interface RequiredProps {\n children: React.ReactElement<[]>;\n title: string;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {\n action: React.ReactElement<[]>;\n }\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<\n GlobalAttributesT<HTMLButtonElement>,\n keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n >,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<\n GlobalAttributesT<HTMLButtonElement>,\n keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n >,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSCardV2GroupT.DefaultProps = {};\n\nexport const DSCardV2GroupPropTypes: DSPropTypesSchema<DSCardV2GroupT.Props> = {\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n /**\n * Card items\n */\n children: PropTypes.node.isRequired.description('Card items'),\n /**\n * Title of the group\n */\n title: PropTypes.string.isRequired.description('Title of the group'),\n /**\n * Right addon action\n */\n action: PropTypes.element.description('Right addon action'),\n};\n\nexport const DSCardV2GroupPropTypesSchema =\n DSCardV2GroupPropTypes as unknown as WeakValidationMap<DSCardV2GroupT.Props>;\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,WAAW,2BAA2B,wBAAwB;AAmChE,MAAM,eAA4C,CAAC;AAEnD,MAAM,yBAAkE;AAAA,EAC7E,GAAG;AAAA,EACH,GAAG;AAAA;AAAA;AAAA;AAAA,EAIH,UAAU,UAAU,KAAK,WAAW,YAAY,YAAY;AAAA;AAAA;AAAA;AAAA,EAI5D,OAAO,UAAU,OAAO,WAAW,YAAY,oBAAoB;AAAA;AAAA;AAAA;AAAA,EAInE,QAAQ,UAAU,QAAQ,YAAY,oBAAoB;AAC5D;AAEO,MAAM,+BACX;",
6
6
  "names": []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styles.tsx"],
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/styles.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { color, border, truncate, styled } from '@elliemae/ds-system';\nimport { DSCardV2 } from '@elliemae/ds-card-v2';\nimport { CARD_V2_GROUP_SLOTS, DSCardV2GroupName } from './constants/index.js';\nimport type { DSCardV2GroupT } from './react-desc-prop-types.js';\n\nconst Group = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.GROUP })<\n DSCardV2GroupT.Props & { withTopBorder: boolean }\n>`\n display: flex;\n flex-direction: column;\n width: 100%;\n max-width: 100%;\n ${DSCardV2} {\n border-top: none;\n }\n ${({ theme, withTopBorder }) => (withTopBorder ? `border-top: ${theme.colors.neutral['100']}` : '')}\n`;\n\nconst GroupTitle = styled('span', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.GROUP_TITLE })`\n ${truncate()}\n`;\n\nconst TitleWrapper = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.TITLE_WRAPPER })`\n display: flex;\n justify-content: space-between;\n padding: 0 ${(props) => props.theme.space.xs};\n font-size: 12px;\n ${color('neutral', '700')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n background-color: ${(props) => props.theme.colors.neutral['080']};\n border-top: ${(props) => border(props.theme.colors.neutral['080'])};\n line-height: 24px;\n`;\n\nconst Items = styled('div', { name: DSCardV2GroupName, slot: CARD_V2_GROUP_SLOTS.ITEMS })`\n display: flex;\n flex-direction: column;\n`;\n\nexport { Group, GroupTitle, TitleWrapper, Items };\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,OAAO,QAAQ,UAAU,cAAc;AAChD,SAAS,gBAAgB;AACzB,SAAS,qBAAqB,yBAAyB;AAGvD,MAAM,QAAQ,OAAO,OAAO,EAAE,MAAM,mBAAmB,MAAM,oBAAoB,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAOpF;AAAA;AAAA;AAAA,IAGA,CAAC,EAAE,OAAO,cAAc,MAAO,gBAAgB,eAAe,MAAM,OAAO,QAAQ,KAAK,MAAM;AAAA;AAGlG,MAAM,aAAa,OAAO,QAAQ,EAAE,MAAM,mBAAmB,MAAM,oBAAoB,YAAY,CAAC;AAAA,IAChG,SAAS;AAAA;AAGb,MAAM,eAAe,OAAO,OAAO,EAAE,MAAM,mBAAmB,MAAM,oBAAoB,cAAc,CAAC;AAAA;AAAA;AAAA,eAGxF,CAAC,UAAU,MAAM,MAAM,MAAM;AAAA;AAAA,IAExC,MAAM,WAAW,KAAK;AAAA,iBACT,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,sBAC9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK;AAAA,gBACjD,CAAC,UAAU,OAAO,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;AAInE,MAAM,QAAQ,OAAO,OAAO,EAAE,MAAM,mBAAmB,MAAM,oBAAoB,MAAM,CAAC;AAAA;AAAA;AAAA;",
6
6
  "names": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-card-v2-group",
3
- "version": "3.22.0-next.3",
3
+ "version": "3.22.0-next.31",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Card V2 Group",
6
6
  "files": [
@@ -47,16 +47,22 @@
47
47
  "indent": 4
48
48
  },
49
49
  "dependencies": {
50
- "@elliemae/ds-card-v2": "3.22.0-next.3",
51
- "@elliemae/ds-system": "3.22.0-next.3",
52
- "@elliemae/ds-utilities": "3.22.0-next.3",
53
- "@elliemae/ds-button": "3.22.0-next.3",
54
- "@elliemae/ds-grid": "3.22.0-next.3"
50
+ "@elliemae/ds-button": "3.22.0-next.31",
51
+ "@elliemae/ds-card-v2": "3.22.0-next.31",
52
+ "@elliemae/ds-grid": "3.22.0-next.31",
53
+ "@elliemae/ds-utilities": "3.22.0-next.31",
54
+ "@elliemae/ds-system": "3.22.0-next.31"
55
55
  },
56
56
  "devDependencies": {
57
- "@elliemae/pui-cli": "~9.0.0-next.17",
57
+ "@elliemae/pui-cli": "~9.0.0-next.22",
58
+ "@elliemae/pui-theme": "~2.7.0",
59
+ "@xstyled/system": "3.7.0",
60
+ "@xstyled/util": "3.7.0",
61
+ "jest-axe": "^7.0.1",
62
+ "lodash": "~4.17.21",
58
63
  "styled-components": "~5.3.9",
59
- "@elliemae/ds-monorepo-devops": "3.22.0-next.3"
64
+ "uid": "^2.0.2",
65
+ "@elliemae/ds-monorepo-devops": "3.22.0-next.31"
60
66
  },
61
67
  "peerDependencies": {
62
68
  "@testing-library/jest-dom": "~5.16.4",
@@ -71,15 +77,15 @@
71
77
  "typeSafety": false
72
78
  },
73
79
  "scripts": {
74
- "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
80
+ "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
75
81
  "test": "pui-cli test --passWithNoTests",
76
- "lint": "node ../../scripts/lint.mjs --fix",
77
- "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
78
- "dts": "node ../../scripts/dts.mjs",
82
+ "lint": "node ../../../scripts/lint.mjs --fix",
83
+ "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
84
+ "dts": "node ../../../scripts/dts.mjs",
79
85
  "dts:withdeps": "pnpm --filter {.}... dts",
80
- "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
86
+ "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
81
87
  "dev:build": "pnpm --filter {.}... build",
82
88
  "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
83
- "checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
89
+ "checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
84
90
  }
85
91
  }