@elliemae/ds-card-v3 3.26.0-next.12

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.
Files changed (63) hide show
  1. package/dist/cjs/CardV3.js +90 -0
  2. package/dist/cjs/CardV3.js.map +7 -0
  3. package/dist/cjs/CardV3Definitions.js +43 -0
  4. package/dist/cjs/CardV3Definitions.js.map +7 -0
  5. package/dist/cjs/index.js +33 -0
  6. package/dist/cjs/index.js.map +7 -0
  7. package/dist/cjs/package.json +7 -0
  8. package/dist/cjs/parts/CardContent.js +54 -0
  9. package/dist/cjs/parts/CardContent.js.map +7 -0
  10. package/dist/cjs/parts/CardContext.js +42 -0
  11. package/dist/cjs/parts/CardContext.js.map +7 -0
  12. package/dist/cjs/parts/CardFocusRing.js +68 -0
  13. package/dist/cjs/parts/CardFocusRing.js.map +7 -0
  14. package/dist/cjs/parts/CardFooter.js +54 -0
  15. package/dist/cjs/parts/CardFooter.js.map +7 -0
  16. package/dist/cjs/parts/CardHeader.js +81 -0
  17. package/dist/cjs/parts/CardHeader.js.map +7 -0
  18. package/dist/cjs/parts/CardSelectIndicator.js +46 -0
  19. package/dist/cjs/parts/CardSelectIndicator.js.map +7 -0
  20. package/dist/cjs/parts/index.js +34 -0
  21. package/dist/cjs/parts/index.js.map +7 -0
  22. package/dist/cjs/react-desc-prop-types.js +28 -0
  23. package/dist/cjs/react-desc-prop-types.js.map +7 -0
  24. package/dist/cjs/styled.js +115 -0
  25. package/dist/cjs/styled.js.map +7 -0
  26. package/dist/esm/CardV3.js +60 -0
  27. package/dist/esm/CardV3.js.map +7 -0
  28. package/dist/esm/CardV3Definitions.js +13 -0
  29. package/dist/esm/CardV3Definitions.js.map +7 -0
  30. package/dist/esm/index.js +6 -0
  31. package/dist/esm/index.js.map +7 -0
  32. package/dist/esm/package.json +7 -0
  33. package/dist/esm/parts/CardContent.js +24 -0
  34. package/dist/esm/parts/CardContent.js.map +7 -0
  35. package/dist/esm/parts/CardContext.js +12 -0
  36. package/dist/esm/parts/CardContext.js.map +7 -0
  37. package/dist/esm/parts/CardFocusRing.js +38 -0
  38. package/dist/esm/parts/CardFocusRing.js.map +7 -0
  39. package/dist/esm/parts/CardFooter.js +24 -0
  40. package/dist/esm/parts/CardFooter.js.map +7 -0
  41. package/dist/esm/parts/CardHeader.js +51 -0
  42. package/dist/esm/parts/CardHeader.js.map +7 -0
  43. package/dist/esm/parts/CardSelectIndicator.js +16 -0
  44. package/dist/esm/parts/CardSelectIndicator.js.map +7 -0
  45. package/dist/esm/parts/index.js +7 -0
  46. package/dist/esm/parts/index.js.map +7 -0
  47. package/dist/esm/react-desc-prop-types.js +2 -0
  48. package/dist/esm/react-desc-prop-types.js.map +7 -0
  49. package/dist/esm/styled.js +85 -0
  50. package/dist/esm/styled.js.map +7 -0
  51. package/dist/types/CardV3.d.ts +4 -0
  52. package/dist/types/CardV3Definitions.d.ts +5 -0
  53. package/dist/types/index.d.ts +4 -0
  54. package/dist/types/parts/CardContent.d.ts +2 -0
  55. package/dist/types/parts/CardContext.d.ts +3 -0
  56. package/dist/types/parts/CardFocusRing.d.ts +2 -0
  57. package/dist/types/parts/CardFooter.d.ts +2 -0
  58. package/dist/types/parts/CardHeader.d.ts +2 -0
  59. package/dist/types/parts/CardSelectIndicator.d.ts +2 -0
  60. package/dist/types/parts/index.d.ts +5 -0
  61. package/dist/types/react-desc-prop-types.d.ts +39 -0
  62. package/dist/types/styled.d.ts +45 -0
  63. package/package.json +73 -0
@@ -0,0 +1,85 @@
1
+ import * as React from "react";
2
+ import { styled, xStyledCommonProps } from "@elliemae/ds-system";
3
+ import { Grid } from "@elliemae/ds-grid";
4
+ import { DSCardV3Name, DSCardV3Slots } from "./CardV3Definitions.js";
5
+ const CardActionArea = styled("button", {
6
+ name: DSCardV3Name,
7
+ slot: DSCardV3Slots.ACTION_AREA
8
+ })`
9
+ border: none;
10
+ background-color: transparent;
11
+ width: 0px;
12
+ height: 0px;
13
+ padding: 0;
14
+ &:focus {
15
+ outline: none;
16
+ }
17
+ text-align: unset;
18
+ `;
19
+ const StyledCard = styled(Grid)`
20
+ min-width: 240px;
21
+ min-height: 56px;
22
+ background-color: ${({ theme, isOverlay }) => isOverlay ? theme.colors.neutral["080"] : "white"};
23
+ outline-offset: -2px;
24
+ * {
25
+ color: ${({ theme, isOverlay }) => isOverlay ? theme.colors.neutral["500"] : "inherit"};
26
+ }
27
+
28
+ ${xStyledCommonProps}
29
+ `;
30
+ const StyledButtonCard = styled(StyledCard)`
31
+ cursor: pointer;
32
+ `;
33
+ const StyledCardError = styled(StyledCard)`
34
+ outline: ${({ theme }) => `2px solid ${theme.colors.danger[900]}`};
35
+ `;
36
+ const StyledCardSingleIndicator = styled(Grid)`
37
+ width: ${({ isSelected }) => isSelected ? "6px" : "4px"};
38
+ align-self: normal;
39
+ background-color: ${({ theme, isSelected }) => {
40
+ if (isSelected)
41
+ return theme.colors.brand["700"];
42
+ return theme.colors.brand["300"];
43
+ }};
44
+ transition: all 0.1s ease-in-out;
45
+
46
+ ${StyledCard}:not([data-disabled='true']):not([data-selected='true']):hover & {
47
+ background-color: ${({ theme }) => theme.colors.brand["500"]};
48
+ }
49
+ `;
50
+ const StyledCardDisabled = styled(StyledCard)`
51
+ cursor: not-allowed;
52
+ user-select: none;
53
+ opacity: 0.5;
54
+ ${StyledCardSingleIndicator} {
55
+ background-color: ${({ theme, isSelected }) => isSelected ? theme.colors.neutral["800"] : theme.colors.neutral["080"]};
56
+ }
57
+
58
+ ${CardActionArea} {
59
+ pointer-events: none;
60
+ }
61
+ `;
62
+ const StyledFocusRing = styled(Grid)`
63
+ width: 100%;
64
+ height: 100%;
65
+ outline-offset: -1px;
66
+ outline: ${({ showFocusRing, hasError, theme }) => {
67
+ if (showFocusRing) {
68
+ return `2px solid ${theme.colors.brand[700]}`;
69
+ }
70
+ if (hasError) {
71
+ return `2px solid ${theme.colors.danger[900]}`;
72
+ }
73
+ return "none";
74
+ }};
75
+ `;
76
+ export {
77
+ CardActionArea,
78
+ StyledButtonCard,
79
+ StyledCard,
80
+ StyledCardDisabled,
81
+ StyledCardError,
82
+ StyledCardSingleIndicator,
83
+ StyledFocusRing
84
+ };
85
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/styled.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, xStyledCommonProps } from '@elliemae/ds-system';\nimport { Grid } from '@elliemae/ds-grid';\nimport { DSCardV3Name, DSCardV3Slots } from './CardV3Definitions.js';\nexport const CardActionArea = styled('button', {\n name: DSCardV3Name,\n slot: DSCardV3Slots.ACTION_AREA,\n})`\n border: none;\n background-color: transparent;\n width: 0px;\n height: 0px;\n padding: 0;\n &:focus {\n outline: none;\n }\n text-align: unset;\n`;\n\n// START style cards variants\nexport const StyledCard = styled(Grid)<{\n isOverlay?: boolean;\n onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;\n}>`\n min-width: 240px;\n min-height: 56px;\n background-color: ${({ theme, isOverlay }) => (isOverlay ? theme.colors.neutral['080'] : 'white')};\n outline-offset: -2px;\n * {\n color: ${({ theme, isOverlay }) => (isOverlay ? theme.colors.neutral['500'] : 'inherit')};\n }\n\n ${xStyledCommonProps}\n`;\n\nexport const StyledButtonCard = styled(StyledCard)<{ isOverlay?: boolean }>`\n cursor: pointer;\n`;\n\nexport const StyledCardError = styled(StyledCard)`\n outline: ${({ theme }) => `2px solid ${theme.colors.danger[900]}`};\n`;\n\nexport const StyledCardSingleIndicator = styled(Grid)<{ isSelected?: boolean }>`\n width: ${({ isSelected }) => (isSelected ? '6px' : '4px')};\n align-self: normal;\n background-color: ${({ theme, isSelected }) => {\n if (isSelected) return theme.colors.brand['700'];\n return theme.colors.brand['300'];\n }};\n transition: all 0.1s ease-in-out;\n\n ${StyledCard}:not([data-disabled='true']):not([data-selected='true']):hover & {\n background-color: ${({ theme }) => theme.colors.brand['500']};\n }\n`;\n\nexport const StyledCardDisabled = styled(StyledCard)`\n cursor: not-allowed;\n user-select: none;\n opacity: 0.5;\n ${StyledCardSingleIndicator} {\n background-color: ${({ theme, isSelected }) =>\n isSelected ? theme.colors.neutral['800'] : theme.colors.neutral['080']};\n }\n\n ${CardActionArea} {\n pointer-events: none;\n }\n`;\n\nexport const StyledFocusRing = styled(Grid)<{ showFocusRing: boolean; hasError?: boolean }>`\n width: 100%;\n height: 100%;\n outline-offset: -1px;\n outline: ${({ showFocusRing, hasError, theme }) => {\n if (showFocusRing) {\n return `2px solid ${theme.colors.brand[700]}`;\n }\n if (hasError) {\n return `2px solid ${theme.colors.danger[900]}`;\n }\n return 'none';\n }};\n`;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,QAAQ,0BAA0B;AAC3C,SAAS,YAAY;AACrB,SAAS,cAAc,qBAAqB;AACrC,MAAM,iBAAiB,OAAO,UAAU;AAAA,EAC7C,MAAM;AAAA,EACN,MAAM,cAAc;AACtB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaM,MAAM,aAAa,OAAO,IAAI;AAAA;AAAA;AAAA,sBAMf,CAAC,EAAE,OAAO,UAAU,MAAO,YAAY,MAAM,OAAO,QAAQ,KAAK,IAAI;AAAA;AAAA;AAAA,aAG9E,CAAC,EAAE,OAAO,UAAU,MAAO,YAAY,MAAM,OAAO,QAAQ,KAAK,IAAI;AAAA;AAAA;AAAA,IAG9E;AAAA;AAGG,MAAM,mBAAmB,OAAO,UAAU;AAAA;AAAA;AAI1C,MAAM,kBAAkB,OAAO,UAAU;AAAA,aACnC,CAAC,EAAE,MAAM,MAAM,aAAa,MAAM,OAAO,OAAO,GAAG;AAAA;AAGzD,MAAM,4BAA4B,OAAO,IAAI;AAAA,WACzC,CAAC,EAAE,WAAW,MAAO,aAAa,QAAQ;AAAA;AAAA,sBAE/B,CAAC,EAAE,OAAO,WAAW,MAAM;AAC7C,MAAI;AAAY,WAAO,MAAM,OAAO,MAAM,KAAK;AAC/C,SAAO,MAAM,OAAO,MAAM,KAAK;AACjC;AAAA;AAAA;AAAA,IAGE;AAAA,wBACoB,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,MAAM,KAAK;AAAA;AAAA;AAIxD,MAAM,qBAAqB,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA,IAI/C;AAAA,wBACoB,CAAC,EAAE,OAAO,WAAW,MACvC,aAAa,MAAM,OAAO,QAAQ,KAAK,IAAI,MAAM,OAAO,QAAQ,KAAK;AAAA;AAAA;AAAA,IAGvE;AAAA;AAAA;AAAA;AAKG,MAAM,kBAAkB,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA,aAI7B,CAAC,EAAE,eAAe,UAAU,MAAM,MAAM;AACjD,MAAI,eAAe;AACjB,WAAO,aAAa,MAAM,OAAO,MAAM,GAAG;AAAA,EAC5C;AACA,MAAI,UAAU;AACZ,WAAO,aAAa,MAAM,OAAO,OAAO,GAAG;AAAA,EAC7C;AACA,SAAO;AACT;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { CardT } from './react-desc-prop-types.js';
3
+ export declare const defaultProps: CardT.DefaultProps;
4
+ export declare const Card: React.ComponentType<CardT.InternalProps>;
@@ -0,0 +1,5 @@
1
+ export declare const DSCardV3Name = "DSCardV3";
2
+ export declare const DSCardV3Slots: {
3
+ ACTION_AREA: string;
4
+ };
5
+ export declare const DSCardV3DataTestIds: Record<string, string>;
@@ -0,0 +1,4 @@
1
+ export * from './CardV3.js';
2
+ export * from './CardV3Definitions.js';
3
+ export * from './react-desc-prop-types.js';
4
+ export * from './parts/index.js';
@@ -0,0 +1,2 @@
1
+ import type { CardT } from '../react-desc-prop-types.js';
2
+ export declare const CardContent: (props: CardT.CardElementsProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CardContextProps } from '../react-desc-prop-types.js';
3
+ export declare const CardContext: React.Context<CardContextProps>;
@@ -0,0 +1,2 @@
1
+ import { type CardT } from '../react-desc-prop-types.js';
2
+ export declare const FocusRing: (props: CardT.FocusRingProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { CardT } from '../react-desc-prop-types.js';
2
+ export declare const CardFooter: (props: CardT.CardElementsProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { CardT } from '../react-desc-prop-types.js';
2
+ export declare const CardHeader: (props: CardT.CardElementsProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type CardT } from '../react-desc-prop-types.js';
2
+ export declare const CardSelectIndicator: (props: CardT.CardSelectIndicatorProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export * from './CardContent.js';
2
+ export * from './CardFooter.js';
3
+ export * from './CardHeader.js';
4
+ export * from './CardSelectIndicator.js';
5
+ export * from './CardFocusRing.js';
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import { type GlobalAttributesT } from '@elliemae/ds-utilities';
3
+ import { type DSGridT } from '@elliemae/ds-grid';
4
+ export declare namespace CardT {
5
+ interface RequiredProps {
6
+ children: React.ReactNode;
7
+ }
8
+ interface OptinalProps {
9
+ isSelected?: boolean;
10
+ isMultiSelect?: boolean;
11
+ isOverlay?: boolean;
12
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
13
+ }
14
+ interface DefaultProps {
15
+ hasError: boolean;
16
+ }
17
+ interface Props extends RequiredProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof RequiredProps>, OptinalProps, DefaultProps {
18
+ }
19
+ interface InternalProps extends RequiredProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof RequiredProps>, OptinalProps, Partial<DefaultProps> {
20
+ }
21
+ interface CardSelectIndicatorProps {
22
+ isSelected?: boolean;
23
+ isMultiSelect?: boolean;
24
+ }
25
+ interface FocusRingProps {
26
+ target: string;
27
+ children: React.ReactNode;
28
+ hasError?: boolean;
29
+ }
30
+ interface CardElementsProps extends Partial<DSGridT.InternalProps> {
31
+ children: React.ReactNode;
32
+ }
33
+ }
34
+ export interface CardContextProps {
35
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
36
+ isSelected?: boolean;
37
+ isMultiSelect?: boolean;
38
+ disabled?: boolean;
39
+ }
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ export declare const CardActionArea: import("styled-components").StyledComponent<"button", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"button">, never>;
3
+ export declare const StyledCard: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
4
+ isOverlay?: boolean | undefined;
5
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
6
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>;
7
+ export declare const StyledButtonCard: import("styled-components").StyledComponent<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
8
+ isOverlay?: boolean | undefined;
9
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
10
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>, import("@elliemae/ds-system").Theme, {
11
+ isOverlay?: boolean | undefined;
12
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
13
+ isOverlay?: boolean | undefined;
14
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
15
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>>, never>;
16
+ export declare const StyledCardError: import("styled-components").StyledComponent<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
17
+ isOverlay?: boolean | undefined;
18
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
19
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
20
+ isOverlay?: boolean | undefined;
21
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
22
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>>, never>;
23
+ export declare const StyledCardSingleIndicator: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
24
+ isSelected?: boolean | undefined;
25
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>;
26
+ export declare const StyledCardDisabled: import("styled-components").StyledComponent<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
27
+ isOverlay?: boolean | undefined;
28
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
29
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>, import("@elliemae/ds-system").Theme, {
30
+ [x: string]: any;
31
+ [x: number]: any;
32
+ [x: symbol]: any;
33
+ } & {
34
+ theme?: import("@elliemae/ds-system").Theme | undefined;
35
+ } & {
36
+ as?: string | import("react").ComponentType<any> | undefined;
37
+ forwardedAs?: string | import("react").ComponentType<any> | undefined;
38
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
39
+ isOverlay?: boolean | undefined;
40
+ onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
41
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>>, never>;
42
+ export declare const StyledFocusRing: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
43
+ showFocusRing: boolean;
44
+ hasError?: boolean | undefined;
45
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>;
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@elliemae/ds-card-v3",
3
+ "version": "3.26.0-next.12",
4
+ "license": "MIT",
5
+ "description": "ICE MT - Dimsum - Card V3",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/esm/index.js",
10
+ "main": "./dist/cjs/index.js",
11
+ "types": "./dist/types/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.js"
16
+ }
17
+ },
18
+ "sideEffects": [
19
+ "*.css",
20
+ "*.scss"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
25
+ },
26
+ "engines": {
27
+ "pnpm": ">=6",
28
+ "node": ">=16"
29
+ },
30
+ "author": "ICE MT",
31
+ "jestSonar": {
32
+ "sonar56x": true,
33
+ "reportPath": "reports",
34
+ "reportFile": "tests.xml",
35
+ "indent": 4
36
+ },
37
+ "dependencies": {
38
+ "@elliemae/ds-form-radio": "3.26.0-next.12",
39
+ "@elliemae/ds-grid": "3.26.0-next.12",
40
+ "@elliemae/ds-props-helpers": "3.26.0-next.12",
41
+ "@elliemae/ds-system": "3.26.0-next.12",
42
+ "@elliemae/ds-utilities": "3.26.0-next.12"
43
+ },
44
+ "devDependencies": {
45
+ "@elliemae/pui-cli": "~9.0.0-next.31",
46
+ "@elliemae/pui-theme": "~2.7.0",
47
+ "styled-components": "~5.3.9",
48
+ "styled-system": "~5.1.5",
49
+ "@elliemae/ds-monorepo-devops": "3.26.0-next.12"
50
+ },
51
+ "peerDependencies": {
52
+ "@elliemae/pui-theme": "~2.7.0",
53
+ "react": "^17.0.2",
54
+ "react-dom": "^17.0.2",
55
+ "styled-components": "~5.3.9",
56
+ "styled-system": "^5.1.5"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public",
60
+ "typeSafety": false
61
+ },
62
+ "scripts": {
63
+ "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
64
+ "test": "pui-cli test --passWithNoTests",
65
+ "lint": "node ../../../scripts/lint.mjs",
66
+ "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
67
+ "dts": "node ../../../scripts/dts.mjs",
68
+ "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
69
+ "dev:build": "pnpm --filter {.}... build",
70
+ "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
71
+ "checkDeps": "npm exec ../../util/ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
72
+ }
73
+ }