@elliemae/ds-card-navigation 3.53.0-alpha.1 → 3.53.0-alpha.3

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 (82) hide show
  1. package/dist/cjs/DSCardNavigation.js +50 -39
  2. package/dist/cjs/DSCardNavigation.js.map +2 -2
  3. package/dist/cjs/config/useCardNavigation.js +19 -4
  4. package/dist/cjs/config/useCardNavigation.js.map +2 -2
  5. package/dist/cjs/constants/index.js +11 -2
  6. package/dist/cjs/constants/index.js.map +2 -2
  7. package/dist/cjs/index.js +1 -0
  8. package/dist/cjs/index.js.map +2 -2
  9. package/dist/cjs/parts/ActionsRegion.js +72 -0
  10. package/dist/cjs/parts/ActionsRegion.js.map +7 -0
  11. package/dist/cjs/{style.js → parts/style.js} +83 -38
  12. package/dist/cjs/parts/style.js.map +7 -0
  13. package/dist/cjs/parts/text-region/IconAndTextsRegion.js +107 -0
  14. package/dist/cjs/parts/text-region/IconAndTextsRegion.js.map +7 -0
  15. package/dist/cjs/parts/text-region/IconAndTextsRegionContent.js +128 -0
  16. package/dist/cjs/parts/text-region/IconAndTextsRegionContent.js.map +7 -0
  17. package/dist/cjs/react-desc-prop-types.js +3 -3
  18. package/dist/cjs/react-desc-prop-types.js.map +2 -2
  19. package/dist/esm/DSCardNavigation.js +51 -48
  20. package/dist/esm/DSCardNavigation.js.map +2 -2
  21. package/dist/esm/config/useCardNavigation.js +20 -5
  22. package/dist/esm/config/useCardNavigation.js.map +2 -2
  23. package/dist/esm/constants/index.js +11 -2
  24. package/dist/esm/constants/index.js.map +2 -2
  25. package/dist/esm/index.js +3 -1
  26. package/dist/esm/index.js.map +2 -2
  27. package/dist/esm/parts/ActionsRegion.js +46 -0
  28. package/dist/esm/parts/ActionsRegion.js.map +7 -0
  29. package/dist/esm/parts/style.js +170 -0
  30. package/dist/esm/parts/style.js.map +7 -0
  31. package/dist/esm/parts/text-region/IconAndTextsRegion.js +77 -0
  32. package/dist/esm/parts/text-region/IconAndTextsRegion.js.map +7 -0
  33. package/dist/esm/parts/text-region/IconAndTextsRegionContent.js +107 -0
  34. package/dist/esm/parts/text-region/IconAndTextsRegionContent.js.map +7 -0
  35. package/dist/esm/react-desc-prop-types.js +3 -3
  36. package/dist/esm/react-desc-prop-types.js.map +2 -2
  37. package/dist/types/DSCardNavigation.d.ts +1 -1
  38. package/dist/types/config/useCardNavigation.d.ts +7 -6
  39. package/dist/types/constants/index.d.ts +18 -0
  40. package/dist/types/index.d.ts +1 -1
  41. package/dist/types/parts/ActionsRegion.d.ts +10 -0
  42. package/dist/types/{style.d.ts → parts/style.d.ts} +12 -7
  43. package/dist/types/parts/text-region/IconAndTextsRegion.d.ts +15 -0
  44. package/dist/types/parts/text-region/IconAndTextsRegionContent.d.ts +17 -0
  45. package/dist/types/react-desc-prop-types.d.ts +0 -1
  46. package/dist/types/tests/tooltip-tests/DSCardNavigation.tooltip.keyboard.test.playwright.d.ts +1 -0
  47. package/dist/types/tests/tooltip-tests/DSCardNavigation.tooltip.wrapText.interdependecy.test.playwright.d.ts +1 -0
  48. package/dist/types/tests/tooltip-tests/DSCardNavigationTooltipTestRenderer.d.ts +1 -0
  49. package/package.json +18 -13
  50. package/dist/cjs/DescriptionComponent.js +0 -79
  51. package/dist/cjs/DescriptionComponent.js.map +0 -7
  52. package/dist/cjs/TitleComponent.js +0 -51
  53. package/dist/cjs/TitleComponent.js.map +0 -7
  54. package/dist/cjs/style.js.map +0 -7
  55. package/dist/cjs/tests/overflow/DSCardNavigation.overflow.test.playwright.js +0 -75
  56. package/dist/cjs/tests/overflow/DSCardNavigation.overflow.test.playwright.js.map +0 -7
  57. package/dist/cjs/tests/overflow/DSCardNavigationOverflowTestRenderer.js +0 -49
  58. package/dist/cjs/tests/overflow/DSCardNavigationOverflowTestRenderer.js.map +0 -7
  59. package/dist/cjs/tests/wraptext/DSCardNavigation.wrapText.test.playwright.js +0 -63
  60. package/dist/cjs/tests/wraptext/DSCardNavigation.wrapText.test.playwright.js.map +0 -7
  61. package/dist/cjs/tests/wraptext/DSCardNavigationWrapTextTestRenderer.js +0 -47
  62. package/dist/cjs/tests/wraptext/DSCardNavigationWrapTextTestRenderer.js.map +0 -7
  63. package/dist/esm/DescriptionComponent.js +0 -49
  64. package/dist/esm/DescriptionComponent.js.map +0 -7
  65. package/dist/esm/TitleComponent.js +0 -21
  66. package/dist/esm/TitleComponent.js.map +0 -7
  67. package/dist/esm/style.js +0 -125
  68. package/dist/esm/style.js.map +0 -7
  69. package/dist/esm/tests/overflow/DSCardNavigation.overflow.test.playwright.js +0 -52
  70. package/dist/esm/tests/overflow/DSCardNavigation.overflow.test.playwright.js.map +0 -7
  71. package/dist/esm/tests/overflow/DSCardNavigationOverflowTestRenderer.js +0 -19
  72. package/dist/esm/tests/overflow/DSCardNavigationOverflowTestRenderer.js.map +0 -7
  73. package/dist/esm/tests/wraptext/DSCardNavigation.wrapText.test.playwright.js +0 -40
  74. package/dist/esm/tests/wraptext/DSCardNavigation.wrapText.test.playwright.js.map +0 -7
  75. package/dist/esm/tests/wraptext/DSCardNavigationWrapTextTestRenderer.js +0 -17
  76. package/dist/esm/tests/wraptext/DSCardNavigationWrapTextTestRenderer.js.map +0 -7
  77. package/dist/types/DescriptionComponent.d.ts +0 -4
  78. package/dist/types/TitleComponent.d.ts +0 -4
  79. package/dist/types/tests/overflow/DSCardNavigationOverflowTestRenderer.d.ts +0 -2
  80. package/dist/types/tests/wraptext/DSCardNavigationWrapTextTestRenderer.d.ts +0 -2
  81. /package/dist/types/tests/{overflow/DSCardNavigation.overflow.test.playwright.d.ts → DSCardNavigation.get-owner-props.test.d.ts} +0 -0
  82. /package/dist/types/tests/{wraptext/DSCardNavigation.wrapText.test.playwright.d.ts → tooltip-tests/DSCardNavigation.tooltip.hover.test.playwright.d.ts} +0 -0
@@ -0,0 +1,46 @@
1
+ import * as React from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { BUTTON_SIZES, BUTTON_TYPES } from "@elliemae/ds-button-v2";
4
+ import { MoreOptionsVert } from "@elliemae/ds-icons";
5
+ import {
6
+ StyledCardNavigationButtonWrapper,
7
+ StyledCardNavigationActions,
8
+ StyledCardNavigationActionButton
9
+ } from "./style.js";
10
+ const ActionsRegion = ({
11
+ actions,
12
+ instanceUid,
13
+ getOwnerProps,
14
+ getOwnerPropsArguments
15
+ }) => {
16
+ if (actions.length === 0) return null;
17
+ return /* @__PURE__ */ jsx(StyledCardNavigationActions, { getOwnerProps, getOwnerPropsArguments, children: actions.map(({ icon, Icon, onClick, ...unexpectedButPreviouslySupportedOtherProps }, index) => {
18
+ const defaultIconJSX = /* @__PURE__ */ jsx(MoreOptionsVert, { "aria-label": "More options" });
19
+ const iconJSX = icon ?? defaultIconJSX;
20
+ return /* @__PURE__ */ jsx(
21
+ StyledCardNavigationButtonWrapper,
22
+ {
23
+ getOwnerProps,
24
+ getOwnerPropsArguments,
25
+ children: /* @__PURE__ */ jsx(
26
+ StyledCardNavigationActionButton,
27
+ {
28
+ onClick,
29
+ "aria-label": "More options",
30
+ ...unexpectedButPreviouslySupportedOtherProps,
31
+ buttonType: BUTTON_TYPES.ICON,
32
+ size: BUTTON_SIZES.L,
33
+ getOwnerProps,
34
+ getOwnerPropsArguments,
35
+ children: Icon ? /* @__PURE__ */ jsx(Icon, {}) : iconJSX
36
+ }
37
+ )
38
+ },
39
+ `${instanceUid}-${index}`
40
+ );
41
+ }) });
42
+ };
43
+ export {
44
+ ActionsRegion
45
+ };
46
+ //# sourceMappingURL=ActionsRegion.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/parts/ActionsRegion.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { BUTTON_SIZES, BUTTON_TYPES } from '@elliemae/ds-button-v2';\nimport { MoreOptionsVert } from '@elliemae/ds-icons';\nimport React from 'react';\nimport type { DSCardNavigationT } from '../react-desc-prop-types.js';\nimport {\n StyledCardNavigationButtonWrapper,\n StyledCardNavigationActions,\n StyledCardNavigationActionButton,\n} from './style.js';\n\ninterface ActionRegionProps {\n actions: DSCardNavigationT.InternalProps['actions'];\n instanceUid: string;\n getOwnerProps?: () => object;\n getOwnerPropsArguments?: () => object;\n}\n\nexport const ActionsRegion: React.ComponentType<ActionRegionProps> = ({\n actions,\n instanceUid,\n getOwnerProps,\n getOwnerPropsArguments,\n}) => {\n if (actions.length === 0) return null;\n return (\n <StyledCardNavigationActions getOwnerProps={getOwnerProps} getOwnerPropsArguments={getOwnerPropsArguments}>\n {actions.map(({ icon, Icon, onClick, ...unexpectedButPreviouslySupportedOtherProps }, index) => {\n const defaultIconJSX = <MoreOptionsVert aria-label=\"More options\" />;\n const iconJSX = icon ?? defaultIconJSX;\n return (\n <StyledCardNavigationButtonWrapper\n // eslint-disable-next-line react/no-array-index-key\n key={`${instanceUid}-${index}`}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledCardNavigationActionButton\n onClick={onClick}\n aria-label=\"More options\"\n {...unexpectedButPreviouslySupportedOtherProps}\n buttonType={BUTTON_TYPES.ICON}\n size={BUTTON_SIZES.L}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {Icon ? <Icon /> : iconJSX}\n </StyledCardNavigationActionButton>\n </StyledCardNavigationButtonWrapper>\n );\n })}\n </StyledCardNavigationActions>\n );\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;AC2BQ;AA3B/B,SAAS,cAAc,oBAAoB;AAC3C,SAAS,uBAAuB;AAGhC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AASA,MAAM,gBAAwD,CAAC;AAAA,EACpE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,MAAI,QAAQ,WAAW,EAAG,QAAO;AACjC,SACE,oBAAC,+BAA4B,eAA8B,wBACxD,kBAAQ,IAAI,CAAC,EAAE,MAAM,MAAM,SAAS,GAAG,2CAA2C,GAAG,UAAU;AAC9F,UAAM,iBAAiB,oBAAC,mBAAgB,cAAW,gBAAe;AAClE,UAAM,UAAU,QAAQ;AACxB,WACE;AAAA,MAAC;AAAA;AAAA,QAGC;AAAA,QACA;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA,cAAW;AAAA,YACV,GAAG;AAAA,YACJ,YAAY,aAAa;AAAA,YACzB,MAAM,aAAa;AAAA,YACnB;AAAA,YACA;AAAA,YAEC,iBAAO,oBAAC,QAAK,IAAK;AAAA;AAAA,QACrB;AAAA;AAAA,MAdK,GAAG,WAAW,IAAI,KAAK;AAAA,IAe9B;AAAA,EAEJ,CAAC,GACH;AAEJ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,170 @@
1
+ import * as React from "react";
2
+ import { Grid } from "@elliemae/ds-grid";
3
+ import { css, styled } from "@elliemae/ds-system";
4
+ import { DSTypography } from "@elliemae/ds-typography";
5
+ import { DSButtonV3 } from "@elliemae/ds-button-v2";
6
+ import { CARD_NAVIGATION_SLOTS, CardNavigationTypes, DSCardNavigationName } from "../constants/index.js";
7
+ const StyledCardNavigationContentTitle = styled("div", {
8
+ name: DSCardNavigationName,
9
+ slot: CARD_NAVIGATION_SLOTS.TITLE
10
+ })``;
11
+ const StyledTitleTypography = styled(DSTypography, {
12
+ name: DSCardNavigationName,
13
+ slot: CARD_NAVIGATION_SLOTS.TITLE_TYPOGRAPHY,
14
+ preserveLegacyDataTestId: true
15
+ })`
16
+ color: ${(props) => props.theme.colors.neutral["700"]};
17
+ font-weight: ${(props) => props.theme.fontWeights.semibold};
18
+ font-size: 1.3846rem; // 18px -> 18/13 = 1.3846rem
19
+
20
+ @media (max-width: ${({ theme }) => theme.breakpoints.small}) {
21
+ font-size: 1.125rem; // 18px -> 18/16 = 1.125rem
22
+ }
23
+ `;
24
+ const StyledDescriptionTypography = styled(DSTypography, {
25
+ name: DSCardNavigationName,
26
+ slot: CARD_NAVIGATION_SLOTS.DESCRIPTION_TEXT,
27
+ preserveLegacyDataTestId: true
28
+ })`
29
+ color: ${(props) => props.theme.colors.neutral["500"]};
30
+ font-size: 0.923rem; // 12px -> 12/13 = 0.923rem
31
+
32
+ @media (max-width: ${({ theme }) => theme.breakpoints.small}) {
33
+ font-size: 0.8775rem; // 12px -> 10.5/12 = 0.8775rem
34
+ }
35
+ `;
36
+ const StyledCardNavigationContentTitleWrapper = styled("div", {
37
+ name: DSCardNavigationName,
38
+ slot: CARD_NAVIGATION_SLOTS.TITLE_WRAPPER
39
+ })`
40
+ width: 100%;
41
+ `;
42
+ const StyledCardNavigationContent = styled("div", {
43
+ name: DSCardNavigationName,
44
+ slot: CARD_NAVIGATION_SLOTS.CONTENT
45
+ })`
46
+ display: flex;
47
+ align-items: center;
48
+ flex: 1;
49
+ width: 100%;
50
+ `;
51
+ const StyledCardNavigationCentralContent = styled(Grid, {
52
+ slot: CARD_NAVIGATION_SLOTS.CENTRAL_CONTENT,
53
+ name: DSCardNavigationName
54
+ })`
55
+ padding: 0 ${(props) => props.theme.space.xs};
56
+ `;
57
+ const StyledCardNavigationBoxWrapper = styled("div", {
58
+ name: DSCardNavigationName,
59
+ slot: CARD_NAVIGATION_SLOTS.ROOT
60
+ })`
61
+ min-width: 240px;
62
+ min-height: 64px;
63
+ width: 337px;
64
+ display: flex;
65
+ flex-direction: row;
66
+ flex-wrap: nowrap;
67
+ box-shadow: 0 1px 4px 0px rgba(37, 41, 47, 0.5);
68
+ border-radius: 2px;
69
+ position: relative;
70
+ outline: none;
71
+
72
+ ${(props) => props.fluid ? "width: 100%" : ""};
73
+ @media (max-width: ${(props) => props.theme.breakpoints.small}) {
74
+ width: ${(props) => props.fluid ? "width: 100%" : "414px"};
75
+ }
76
+
77
+ :after {
78
+ display: block;
79
+ content: '';
80
+ position: absolute;
81
+ height: 100%;
82
+ width: 100%;
83
+ top: 0;
84
+ left: 0;
85
+ border: solid ${(props) => props.theme.space.xxs} transparent;
86
+ border-radius: 2px;
87
+ pointer-events: none;
88
+ }
89
+ &:hover {
90
+ box-shadow: 0 3px 8px 0px rgba(37, 41, 47, 0.4);
91
+ outline-offset: 2px;
92
+ }
93
+
94
+ ${(props) => props.$isIconAndTextsRegionFocused ? css`
95
+ outline: 2px solid ${props.theme.colors.brand["700"]};
96
+ outline-offset: 2px;
97
+ ` : css``}
98
+ `;
99
+ const StyledCardNavigationIcon = styled("div", {
100
+ name: DSCardNavigationName,
101
+ slot: CARD_NAVIGATION_SLOTS.TYPE
102
+ })`
103
+ min-width: 64px;
104
+ min-height: 64px;
105
+ height: 100%;
106
+ border-top-left-radius: 2px;
107
+ border-bottom-left-radius: 2px;
108
+ padding: 0 ${(props) => props.theme.space.xs};
109
+ display: flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ fill: #ffffff;
113
+ background-color: ${({ $type }) => $type === CardNavigationTypes.BORROWER && "#32aad1" || $type === CardNavigationTypes.FINANCIAL && "#1ba88d" || $type === CardNavigationTypes.LOAN && "#8e49b2" || $type === CardNavigationTypes.REGULATORY && "#db5575" || "#32aad1"};
114
+ `;
115
+ const StyledCardNavigationActions = styled("div", {
116
+ name: DSCardNavigationName,
117
+ slot: CARD_NAVIGATION_SLOTS.ACTIONS
118
+ })`
119
+ padding: 0 ${(props) => props.theme.space.xs};
120
+ display: flex;
121
+ flex-direction: row;
122
+ align-items: center;
123
+ gap: ${(props) => props.theme.space.xs};
124
+ `;
125
+ const StyledCardNavigationButtonWrapper = styled("div", {
126
+ name: DSCardNavigationName,
127
+ slot: CARD_NAVIGATION_SLOTS.BUTTON_WRAPPER
128
+ })`
129
+ span,
130
+ svg {
131
+ height: ${({ theme }) => theme.space.s};
132
+ width: ${({ theme }) => theme.space.s};
133
+ fill: ${({ theme }) => theme.colors.neutral[500]};
134
+ }
135
+ `;
136
+ const StyledGridTextContainer = styled("div", {
137
+ name: DSCardNavigationName,
138
+ slot: CARD_NAVIGATION_SLOTS.INTERACTIVE_ELEMENT_REGION
139
+ })`
140
+ display: grid;
141
+ grid-template-columns: max-content auto;
142
+ align-items: center;
143
+ min-width: 0;
144
+ width: 100%;
145
+ overflow: hidden;
146
+ &:focus {
147
+ outline: none;
148
+ }
149
+ cursor: pointer;
150
+ `;
151
+ const StyledCardNavigationActionButton = styled(DSButtonV3, {
152
+ name: DSCardNavigationName,
153
+ slot: CARD_NAVIGATION_SLOTS.ACTION_BUTTON,
154
+ preserveLegacyDataTestId: true
155
+ })``;
156
+ export {
157
+ StyledCardNavigationActionButton,
158
+ StyledCardNavigationActions,
159
+ StyledCardNavigationBoxWrapper,
160
+ StyledCardNavigationButtonWrapper,
161
+ StyledCardNavigationCentralContent,
162
+ StyledCardNavigationContent,
163
+ StyledCardNavigationContentTitle,
164
+ StyledCardNavigationContentTitleWrapper,
165
+ StyledCardNavigationIcon,
166
+ StyledDescriptionTypography,
167
+ StyledGridTextContainer,
168
+ StyledTitleTypography
169
+ };
170
+ //# sourceMappingURL=style.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/parts/style.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { css, styled } from '@elliemae/ds-system';\nimport { DSTypography } from '@elliemae/ds-typography';\nimport { DSButtonV3 } from '@elliemae/ds-button-v2';\nimport { CARD_NAVIGATION_SLOTS, CardNavigationTypes, DSCardNavigationName } from '../constants/index.js';\n\nexport const StyledCardNavigationContentTitle = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.TITLE,\n})``;\n\nexport const StyledTitleTypography = styled(DSTypography, {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.TITLE_TYPOGRAPHY,\n preserveLegacyDataTestId: true,\n})`\n color: ${(props) => props.theme.colors.neutral['700']};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n font-size: 1.3846rem; // 18px -> 18/13 = 1.3846rem\n\n @media (max-width: ${({ theme }) => theme.breakpoints.small}) {\n font-size: 1.125rem; // 18px -> 18/16 = 1.125rem\n }\n`;\n\nexport const StyledDescriptionTypography = styled(DSTypography, {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.DESCRIPTION_TEXT,\n preserveLegacyDataTestId: true,\n})`\n color: ${(props) => props.theme.colors.neutral['500']};\n font-size: 0.923rem; // 12px -> 12/13 = 0.923rem\n\n @media (max-width: ${({ theme }) => theme.breakpoints.small}) {\n font-size: 0.8775rem; // 12px -> 10.5/12 = 0.8775rem\n }\n`;\n\nexport const StyledCardNavigationContentTitleWrapper = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.TITLE_WRAPPER,\n})`\n width: 100%;\n`;\n\nexport const StyledCardNavigationContent = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.CONTENT,\n})<{ wrapText?: boolean }>`\n display: flex;\n align-items: center;\n flex: 1;\n width: 100%;\n`;\n\nexport const StyledCardNavigationCentralContent = styled(Grid, {\n slot: CARD_NAVIGATION_SLOTS.CENTRAL_CONTENT,\n name: DSCardNavigationName,\n})<{ wrapText?: boolean; AnyOverFlow?: boolean }>`\n padding: 0 ${(props) => props.theme.space.xs};\n`;\ninterface StyledCardNavigationBoxWrapperProps {\n fluid?: boolean;\n}\n\nexport const StyledCardNavigationBoxWrapper = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.ROOT,\n})<StyledCardNavigationBoxWrapperProps & { $isIconAndTextsRegionFocused?: boolean }>`\n min-width: 240px;\n min-height: 64px;\n width: 337px;\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n box-shadow: 0 1px 4px 0px rgba(37, 41, 47, 0.5);\n border-radius: 2px;\n position: relative;\n outline: none;\n\n ${(props) => (props.fluid ? 'width: 100%' : '')};\n @media (max-width: ${(props) => props.theme.breakpoints.small}) {\n width: ${(props) => (props.fluid ? 'width: 100%' : '414px')};\n }\n\n :after {\n display: block;\n content: '';\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n border: solid ${(props) => props.theme.space.xxs} transparent;\n border-radius: 2px;\n pointer-events: none;\n }\n &:hover {\n box-shadow: 0 3px 8px 0px rgba(37, 41, 47, 0.4);\n outline-offset: 2px;\n }\n\n ${(props) =>\n props.$isIconAndTextsRegionFocused\n ? css`\n outline: 2px solid ${props.theme.colors.brand['700']};\n outline-offset: 2px;\n `\n : css``}\n`;\n\ninterface StyledCardNavigationIconProps {\n $type: (typeof CardNavigationTypes)[keyof typeof CardNavigationTypes];\n}\n\nexport const StyledCardNavigationIcon = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.TYPE,\n})<StyledCardNavigationIconProps>`\n min-width: 64px;\n min-height: 64px;\n height: 100%;\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n padding: 0 ${(props) => props.theme.space.xs};\n display: flex;\n align-items: center;\n justify-content: center;\n fill: #ffffff;\n background-color: ${({ $type }) =>\n ($type === CardNavigationTypes.BORROWER && '#32aad1') ||\n ($type === CardNavigationTypes.FINANCIAL && '#1ba88d') ||\n ($type === CardNavigationTypes.LOAN && '#8e49b2') ||\n ($type === CardNavigationTypes.REGULATORY && '#db5575') ||\n '#32aad1'};\n`;\n\nexport const StyledCardNavigationActions = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.ACTIONS,\n})`\n padding: 0 ${(props) => props.theme.space.xs};\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: ${(props) => props.theme.space.xs};\n`;\n\nexport const StyledCardNavigationButtonWrapper = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.BUTTON_WRAPPER,\n})`\n span,\n svg {\n height: ${({ theme }) => theme.space.s};\n width: ${({ theme }) => theme.space.s};\n fill: ${({ theme }) => theme.colors.neutral[500]};\n }\n`;\n\nexport const StyledGridTextContainer = styled('div', {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.INTERACTIVE_ELEMENT_REGION,\n})`\n display: grid;\n grid-template-columns: max-content auto;\n align-items: center;\n min-width: 0;\n width: 100%;\n overflow: hidden;\n &:focus {\n outline: none;\n }\n cursor: pointer;\n`;\n\nexport const StyledCardNavigationActionButton = styled(DSButtonV3, {\n name: DSCardNavigationName,\n slot: CARD_NAVIGATION_SLOTS.ACTION_BUTTON,\n preserveLegacyDataTestId: true,\n})``;\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -0,0 +1,77 @@
1
+ import * as React from "react";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { Grid } from "@elliemae/ds-grid";
4
+ import { useOnOverflowChange } from "@elliemae/ds-hooks-on-overflow-change";
5
+ import { DSTooltipV3 } from "@elliemae/ds-tooltip-v3";
6
+ import { DSTypography, TYPOGRAPHY_VARIANTS } from "@elliemae/ds-typography";
7
+ import React2 from "react";
8
+ import { IconAndTextsRegionContent } from "./IconAndTextsRegionContent.js";
9
+ const TooltipText = ({ title, description }) => /* @__PURE__ */ jsxs(Grid, { children: [
10
+ /* @__PURE__ */ jsx(DSTypography, { variant: TYPOGRAPHY_VARIANTS.H5_ARTICLE, children: title }),
11
+ /* @__PURE__ */ jsx(DSTypography, { variant: TYPOGRAPHY_VARIANTS.B1, children: description })
12
+ ] });
13
+ const IconAndTextsRegion = ({
14
+ title,
15
+ description,
16
+ wrapText,
17
+ type,
18
+ Icon,
19
+ showFocusRingAroundAll,
20
+ hideFocusRingAroundAll,
21
+ getOwnerProps,
22
+ getOwnerPropsArguments
23
+ }) => {
24
+ const [isTitleTruncating, setIsTitleTruncating] = React2.useState(false);
25
+ const [isDescriptionTruncating, setIsDescriptionTruncating] = React2.useState(false);
26
+ const AnyOverFlow = isTitleTruncating || isDescriptionTruncating;
27
+ const { handleRef: titleHandleRef } = useOnOverflowChange({
28
+ onOverflowStateChange: setIsTitleTruncating
29
+ });
30
+ const { handleRef: descriptionHandleRef } = useOnOverflowChange({
31
+ onOverflowStateChange: setIsDescriptionTruncating
32
+ });
33
+ const TooltipTextProps = React2.useMemo(
34
+ () => ({
35
+ title,
36
+ description
37
+ }),
38
+ [title, description]
39
+ );
40
+ if (AnyOverFlow)
41
+ return /* @__PURE__ */ jsx(DSTooltipV3, { Text: TooltipText, textProps: TooltipTextProps, children: /* @__PURE__ */ jsx(
42
+ IconAndTextsRegionContent,
43
+ {
44
+ title,
45
+ description,
46
+ wrapText,
47
+ type,
48
+ Icon,
49
+ titleHandleRef,
50
+ descriptionHandleRef,
51
+ showFocusRingAroundAll,
52
+ hideFocusRingAroundAll,
53
+ getOwnerProps,
54
+ getOwnerPropsArguments
55
+ }
56
+ ) });
57
+ return /* @__PURE__ */ jsx(
58
+ IconAndTextsRegionContent,
59
+ {
60
+ title,
61
+ description,
62
+ wrapText,
63
+ type,
64
+ Icon,
65
+ titleHandleRef,
66
+ descriptionHandleRef,
67
+ showFocusRingAroundAll,
68
+ hideFocusRingAroundAll,
69
+ getOwnerProps,
70
+ getOwnerPropsArguments
71
+ }
72
+ );
73
+ };
74
+ export {
75
+ IconAndTextsRegion
76
+ };
77
+ //# sourceMappingURL=IconAndTextsRegion.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/text-region/IconAndTextsRegion.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { useOnOverflowChange } from '@elliemae/ds-hooks-on-overflow-change';\nimport type { DSTooltipV3T } from '@elliemae/ds-tooltip-v3';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip-v3';\nimport { DSTypography, TYPOGRAPHY_VARIANTS } from '@elliemae/ds-typography';\nimport React from 'react';\nimport type { DSCardNavigationT } from '../../react-desc-prop-types.js';\nimport { IconAndTextsRegionContent } from './IconAndTextsRegionContent.js';\n\ntype TooltipTextProps = DSTooltipV3T.CustomInterface<{\n title: string;\n description: string;\n}>;\n\nconst TooltipText: React.ComponentType<TooltipTextProps> = ({ title, description }) => (\n <Grid>\n <DSTypography variant={TYPOGRAPHY_VARIANTS.H5_ARTICLE}>{title}</DSTypography>\n <DSTypography variant={TYPOGRAPHY_VARIANTS.B1}>{description}</DSTypography>\n </Grid>\n);\n\ninterface IconAndTextsRegionProps {\n title: DSCardNavigationT.InternalProps['title'];\n description: DSCardNavigationT.InternalProps['description'];\n wrapText: DSCardNavigationT.InternalProps['wrapText'];\n type: DSCardNavigationT.InternalProps['type'];\n Icon: DSCardNavigationT.InternalProps['Icon'];\n showFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;\n hideFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;\n getOwnerProps?: () => object;\n getOwnerPropsArguments?: () => object;\n}\n\nexport const IconAndTextsRegion: React.ComponentType<IconAndTextsRegionProps> = ({\n title,\n description,\n wrapText,\n type,\n Icon,\n showFocusRingAroundAll,\n hideFocusRingAroundAll,\n getOwnerProps,\n getOwnerPropsArguments,\n}) => {\n const [isTitleTruncating, setIsTitleTruncating] = React.useState(false);\n const [isDescriptionTruncating, setIsDescriptionTruncating] = React.useState(false);\n\n const AnyOverFlow = isTitleTruncating || isDescriptionTruncating;\n\n const { handleRef: titleHandleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsTitleTruncating,\n });\n\n const { handleRef: descriptionHandleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsDescriptionTruncating,\n });\n const TooltipTextProps = React.useMemo(\n () => ({\n title,\n description,\n }),\n [title, description],\n );\n\n if (AnyOverFlow)\n return (\n <DSTooltipV3<TooltipTextProps> Text={TooltipText} textProps={TooltipTextProps}>\n <IconAndTextsRegionContent\n title={title}\n description={description}\n wrapText={wrapText}\n type={type}\n Icon={Icon}\n titleHandleRef={titleHandleRef}\n descriptionHandleRef={descriptionHandleRef}\n showFocusRingAroundAll={showFocusRingAroundAll}\n hideFocusRingAroundAll={hideFocusRingAroundAll}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n </DSTooltipV3>\n );\n return (\n <IconAndTextsRegionContent\n title={title}\n description={description}\n wrapText={wrapText}\n type={type}\n Icon={Icon}\n titleHandleRef={titleHandleRef}\n descriptionHandleRef={descriptionHandleRef}\n showFocusRingAroundAll={showFocusRingAroundAll}\n hideFocusRingAroundAll={hideFocusRingAroundAll}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n );\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACerB,SACE,KADF;AAfF,SAAS,YAAY;AACrB,SAAS,2BAA2B;AAEpC,SAAS,mBAAmB;AAC5B,SAAS,cAAc,2BAA2B;AAClD,OAAOA,YAAW;AAElB,SAAS,iCAAiC;AAO1C,MAAM,cAAqD,CAAC,EAAE,OAAO,YAAY,MAC/E,qBAAC,QACC;AAAA,sBAAC,gBAAa,SAAS,oBAAoB,YAAa,iBAAM;AAAA,EAC9D,oBAAC,gBAAa,SAAS,oBAAoB,IAAK,uBAAY;AAAA,GAC9D;AAeK,MAAM,qBAAmE,CAAC;AAAA,EAC/E;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,CAAC,mBAAmB,oBAAoB,IAAIA,OAAM,SAAS,KAAK;AACtE,QAAM,CAAC,yBAAyB,0BAA0B,IAAIA,OAAM,SAAS,KAAK;AAElF,QAAM,cAAc,qBAAqB;AAEzC,QAAM,EAAE,WAAW,eAAe,IAAI,oBAAoB;AAAA,IACxD,uBAAuB;AAAA,EACzB,CAAC;AAED,QAAM,EAAE,WAAW,qBAAqB,IAAI,oBAAoB;AAAA,IAC9D,uBAAuB;AAAA,EACzB,CAAC;AACD,QAAM,mBAAmBA,OAAM;AAAA,IAC7B,OAAO;AAAA,MACL;AAAA,MACA;AAAA,IACF;AAAA,IACA,CAAC,OAAO,WAAW;AAAA,EACrB;AAEA,MAAI;AACF,WACE,oBAAC,eAA8B,MAAM,aAAa,WAAW,kBAC3D;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF,GACF;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,EACF;AAEJ;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,107 @@
1
+ import * as React from "react";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { TYPOGRAPHY_VARIANTS } from "@elliemae/ds-typography";
4
+ import React2 from "react";
5
+ import { CARD_NAVIGATION_DATA_TESTID } from "../../constants/index.js";
6
+ import {
7
+ StyledCardNavigationCentralContent,
8
+ StyledCardNavigationContent,
9
+ StyledCardNavigationContentTitle,
10
+ StyledCardNavigationContentTitleWrapper,
11
+ StyledCardNavigationIcon,
12
+ StyledDescriptionTypography,
13
+ StyledGridTextContainer,
14
+ StyledTitleTypography
15
+ } from "../style.js";
16
+ const mainIconColor = ["neutral", "0"];
17
+ const cols = ["1fr"];
18
+ const IconAndTextsRegionContent = React2.memo((props) => {
19
+ const {
20
+ title,
21
+ description,
22
+ wrapText,
23
+ titleHandleRef,
24
+ descriptionHandleRef,
25
+ type,
26
+ Icon,
27
+ showFocusRingAroundAll,
28
+ hideFocusRingAroundAll,
29
+ getOwnerProps,
30
+ getOwnerPropsArguments
31
+ } = props;
32
+ return /* @__PURE__ */ jsxs(
33
+ StyledGridTextContainer,
34
+ {
35
+ "data-type": type,
36
+ role: "button",
37
+ tabIndex: 0,
38
+ onFocus: showFocusRingAroundAll,
39
+ onBlur: hideFocusRingAroundAll,
40
+ getOwnerProps,
41
+ getOwnerPropsArguments,
42
+ children: [
43
+ /* @__PURE__ */ jsx(
44
+ StyledCardNavigationIcon,
45
+ {
46
+ $type: type,
47
+ role: "presentation",
48
+ getOwnerProps,
49
+ getOwnerPropsArguments,
50
+ children: /* @__PURE__ */ jsx(Icon, { size: "l", color: mainIconColor })
51
+ }
52
+ ),
53
+ /* @__PURE__ */ jsx(
54
+ StyledCardNavigationCentralContent,
55
+ {
56
+ cols,
57
+ getOwnerProps,
58
+ getOwnerPropsArguments,
59
+ children: /* @__PURE__ */ jsx(StyledCardNavigationContent, { getOwnerProps, getOwnerPropsArguments, children: /* @__PURE__ */ jsxs(
60
+ StyledCardNavigationContentTitleWrapper,
61
+ {
62
+ getOwnerProps,
63
+ getOwnerPropsArguments,
64
+ children: [
65
+ /* @__PURE__ */ jsx(
66
+ StyledCardNavigationContentTitle,
67
+ {
68
+ getOwnerProps,
69
+ getOwnerPropsArguments,
70
+ children: /* @__PURE__ */ jsx(
71
+ StyledTitleTypography,
72
+ {
73
+ innerRef: titleHandleRef,
74
+ truncateWithEllipsis: !wrapText,
75
+ variant: TYPOGRAPHY_VARIANTS.B1,
76
+ getOwnerProps,
77
+ getOwnerPropsArguments,
78
+ children: title
79
+ }
80
+ )
81
+ }
82
+ ),
83
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
84
+ StyledDescriptionTypography,
85
+ {
86
+ innerRef: descriptionHandleRef,
87
+ truncateWithEllipsis: !wrapText,
88
+ variant: TYPOGRAPHY_VARIANTS.B1,
89
+ "data-testid": CARD_NAVIGATION_DATA_TESTID.DESCRIPTION_TEXT,
90
+ getOwnerProps,
91
+ getOwnerPropsArguments,
92
+ children: description
93
+ }
94
+ ) })
95
+ ]
96
+ }
97
+ ) })
98
+ }
99
+ )
100
+ ]
101
+ }
102
+ );
103
+ });
104
+ export {
105
+ IconAndTextsRegionContent
106
+ };
107
+ //# sourceMappingURL=IconAndTextsRegionContent.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/text-region/IconAndTextsRegionContent.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { SvgIconT } from '@elliemae/ds-icons';\nimport { TYPOGRAPHY_VARIANTS } from '@elliemae/ds-typography';\nimport React from 'react';\nimport { CARD_NAVIGATION_DATA_TESTID } from '../../constants/index.js';\nimport type { DSCardNavigationT } from '../../react-desc-prop-types.js';\nimport {\n StyledCardNavigationCentralContent,\n StyledCardNavigationContent,\n StyledCardNavigationContentTitle,\n StyledCardNavigationContentTitleWrapper,\n StyledCardNavigationIcon,\n StyledDescriptionTypography,\n StyledGridTextContainer,\n StyledTitleTypography,\n} from '../style.js';\n\nconst mainIconColor = ['neutral', '0'] as SvgIconT.ColorType;\nconst cols = ['1fr'];\n\ninterface IconAndTextsRegionContentProps {\n title: DSCardNavigationT.InternalProps['title'];\n description: DSCardNavigationT.InternalProps['description'];\n wrapText: DSCardNavigationT.InternalProps['wrapText'];\n type: DSCardNavigationT.InternalProps['type'];\n Icon: DSCardNavigationT.InternalProps['Icon'];\n\n titleHandleRef: (node: HTMLElement | null) => void;\n descriptionHandleRef: (node: HTMLElement | null) => void;\n showFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;\n hideFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;\n getOwnerProps?: () => object;\n getOwnerPropsArguments?: () => object;\n}\n\nexport const IconAndTextsRegionContent = React.memo((props: IconAndTextsRegionContentProps) => {\n const {\n title,\n description,\n wrapText,\n titleHandleRef,\n descriptionHandleRef,\n type,\n Icon,\n showFocusRingAroundAll,\n hideFocusRingAroundAll,\n getOwnerProps,\n getOwnerPropsArguments,\n } = props;\n\n return (\n <StyledGridTextContainer\n data-type={type}\n role=\"button\"\n tabIndex={0}\n onFocus={showFocusRingAroundAll}\n onBlur={hideFocusRingAroundAll}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledCardNavigationIcon\n $type={type}\n role=\"presentation\"\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <Icon size=\"l\" color={mainIconColor} />\n </StyledCardNavigationIcon>\n\n <StyledCardNavigationCentralContent\n cols={cols}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledCardNavigationContent getOwnerProps={getOwnerProps} getOwnerPropsArguments={getOwnerPropsArguments}>\n <StyledCardNavigationContentTitleWrapper\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledCardNavigationContentTitle\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledTitleTypography\n innerRef={titleHandleRef}\n truncateWithEllipsis={!wrapText}\n variant={TYPOGRAPHY_VARIANTS.B1}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {title}\n </StyledTitleTypography>\n </StyledCardNavigationContentTitle>\n <div>\n <StyledDescriptionTypography\n innerRef={descriptionHandleRef}\n truncateWithEllipsis={!wrapText}\n variant={TYPOGRAPHY_VARIANTS.B1}\n data-testid={CARD_NAVIGATION_DATA_TESTID.DESCRIPTION_TEXT}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {description}\n </StyledDescriptionTypography>\n </div>\n </StyledCardNavigationContentTitleWrapper>\n </StyledCardNavigationContent>\n </StyledCardNavigationCentralContent>\n </StyledGridTextContainer>\n );\n});\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACiEf,cASE,YATF;AAhER,SAAS,2BAA2B;AACpC,OAAOA,YAAW;AAClB,SAAS,mCAAmC;AAE5C;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,MAAM,gBAAgB,CAAC,WAAW,GAAG;AACrC,MAAM,OAAO,CAAC,KAAK;AAiBZ,MAAM,4BAA4BA,OAAM,KAAK,CAAC,UAA0C;AAC7F,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAW;AAAA,MACX,MAAK;AAAA,MACL,UAAU;AAAA,MACV,SAAS;AAAA,MACT,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,OAAO;AAAA,YACP,MAAK;AAAA,YACL;AAAA,YACA;AAAA,YAEA,8BAAC,QAAK,MAAK,KAAI,OAAO,eAAe;AAAA;AAAA,QACvC;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA;AAAA,YACA;AAAA,YAEA,8BAAC,+BAA4B,eAA8B,wBACzD;AAAA,cAAC;AAAA;AAAA,gBACC;AAAA,gBACA;AAAA,gBAEA;AAAA;AAAA,oBAAC;AAAA;AAAA,sBACC;AAAA,sBACA;AAAA,sBAEA;AAAA,wBAAC;AAAA;AAAA,0BACC,UAAU;AAAA,0BACV,sBAAsB,CAAC;AAAA,0BACvB,SAAS,oBAAoB;AAAA,0BAC7B;AAAA,0BACA;AAAA,0BAEC;AAAA;AAAA,sBACH;AAAA;AAAA,kBACF;AAAA,kBACA,oBAAC,SACC;AAAA,oBAAC;AAAA;AAAA,sBACC,UAAU;AAAA,sBACV,sBAAsB,CAAC;AAAA,sBACvB,SAAS,oBAAoB;AAAA,sBAC7B,eAAa,4BAA4B;AAAA,sBACzC;AAAA,sBACA;AAAA,sBAEC;AAAA;AAAA,kBACH,GACF;AAAA;AAAA;AAAA,YACF,GACF;AAAA;AAAA,QACF;AAAA;AAAA;AAAA,EACF;AAEJ,CAAC;",
6
+ "names": ["React"]
7
+ }
@@ -27,9 +27,9 @@ const DSCardNavigationPropTypes = {
27
27
  Icon: PropTypes.func.description("component that will be used to render the icon").defaultValue('()=><LoanProducts size="l" color={["neutral", 0]} />'),
28
28
  actions: PropTypes.arrayOf(
29
29
  PropTypes.shape({
30
- icon: PropTypes.element.deprecated({ version: "3.x" }),
31
- Icon: PropTypes.func.description(""),
32
- onClick: PropTypes.func
30
+ onClick: PropTypes.func.isRequired,
31
+ icon: PropTypes.element,
32
+ Icon: PropTypes.func
33
33
  })
34
34
  ).description("card navigation actions array").defaultValue("[]"),
35
35
  wrapText: PropTypes.bool.description("wrap text in the card navigation").defaultValue(false)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type React from 'react';\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { LoanProducts } from '@elliemae/ds-icons';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { type SvgIconT } from '@elliemae/ds-icons';\nimport { DSCardNavigationName, CARD_NAVIGATION_SLOTS, CardNavigationTypesValues } from './constants/index.js';\n\nexport declare namespace DSCardNavigationT {\n export interface Action {\n icon?: React.ReactNode;\n Icon?: React.ComponentType<Record<string, never>>;\n onClick?: (e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;\n }\n\n export type TypeValues = (typeof CardNavigationTypesValues)[number];\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n containerProps: object;\n title: string;\n description: string;\n type: TypeValues;\n Icon: React.ComponentType<SvgIconT.Props>;\n actions: Array<Action> | ReadonlyArray<Action>;\n wrapText: boolean;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSCardNavigationName, typeof CARD_NAVIGATION_SLOTS> {}\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSCardNavigationT.DefaultProps = {\n containerProps: {},\n title: '',\n description: '',\n type: CardNavigationTypesValues[0],\n Icon: LoanProducts,\n actions: [],\n wrapText: false,\n};\n\nexport const DSCardNavigationPropTypes: DSPropTypesSchema<DSCardNavigationT.Props> = {\n ...getPropsPerSlotPropTypes(DSCardNavigationName, CARD_NAVIGATION_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n\n containerProps: PropTypes.object.description('props to inject to card navigation wrapper').defaultValue('{}'),\n title: PropTypes.string.description('card navigation title').defaultValue(''),\n description: PropTypes.string.description('card navigation description').defaultValue(''),\n type: PropTypes.oneOf(CardNavigationTypesValues).description('card navigation type').defaultValue(''),\n\n Icon: PropTypes.func\n .description('component that will be used to render the icon')\n .defaultValue('()=><LoanProducts size=\"l\" color={[\"neutral\", 0]} />'),\n\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.element.deprecated({ version: '3.x' }),\n Icon: PropTypes.func.description(''),\n onClick: PropTypes.func,\n }),\n )\n .description('card navigation actions array')\n .defaultValue('[]'),\n\n wrapText: PropTypes.bool.description('wrap text in the card navigation').defaultValue(false),\n};\n\nexport const DSCardNavigationPropTypesSchema =\n DSCardNavigationPropTypes as unknown as ValidationMap<DSCardNavigationT.Props>;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACGvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAG7B,SAAS,sBAAsB,uBAAuB,iCAAiC;AAyChF,MAAM,eAA+C;AAAA,EAC1D,gBAAgB,CAAC;AAAA,EACjB,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM,0BAA0B,CAAC;AAAA,EACjC,MAAM;AAAA,EACN,SAAS,CAAC;AAAA,EACV,UAAU;AACZ;AAEO,MAAM,4BAAwE;AAAA,EACnF,GAAG,yBAAyB,sBAAsB,qBAAqB;AAAA,EACvE,GAAG;AAAA,EACH,GAAG;AAAA,EAEH,gBAAgB,UAAU,OAAO,YAAY,4CAA4C,EAAE,aAAa,IAAI;AAAA,EAC5G,OAAO,UAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,EAAE;AAAA,EAC5E,aAAa,UAAU,OAAO,YAAY,6BAA6B,EAAE,aAAa,EAAE;AAAA,EACxF,MAAM,UAAU,MAAM,yBAAyB,EAAE,YAAY,sBAAsB,EAAE,aAAa,EAAE;AAAA,EAEpG,MAAM,UAAU,KACb,YAAY,gDAAgD,EAC5D,aAAa,sDAAsD;AAAA,EAEtE,SAAS,UAAU;AAAA,IACjB,UAAU,MAAM;AAAA,MACd,MAAM,UAAU,QAAQ,WAAW,EAAE,SAAS,MAAM,CAAC;AAAA,MACrD,MAAM,UAAU,KAAK,YAAY,EAAE;AAAA,MACnC,SAAS,UAAU;AAAA,IACrB,CAAC;AAAA,EACH,EACG,YAAY,+BAA+B,EAC3C,aAAa,IAAI;AAAA,EAEpB,UAAU,UAAU,KAAK,YAAY,kCAAkC,EAAE,aAAa,KAAK;AAC7F;AAEO,MAAM,kCACX;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type React from 'react';\nimport type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { LoanProducts } from '@elliemae/ds-icons';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { type SvgIconT } from '@elliemae/ds-icons';\nimport { DSCardNavigationName, CARD_NAVIGATION_SLOTS, CardNavigationTypesValues } from './constants/index.js';\n\nexport declare namespace DSCardNavigationT {\n export interface Action {\n icon?: React.ReactNode;\n Icon?: React.ComponentType<Record<string, never>>;\n onClick?: (e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;\n }\n\n export type TypeValues = (typeof CardNavigationTypesValues)[number];\n\n export interface RequiredProps {}\n\n export interface DefaultProps {\n containerProps: object;\n title: string;\n description: string;\n type: TypeValues;\n Icon: React.ComponentType<SvgIconT.Props>;\n actions: Array<Action> | ReadonlyArray<Action>;\n wrapText: boolean;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSCardNavigationName, typeof CARD_NAVIGATION_SLOTS> {}\n\n export interface Props\n extends Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSCardNavigationT.DefaultProps = {\n containerProps: {},\n title: '',\n description: '',\n type: CardNavigationTypesValues[0],\n Icon: LoanProducts,\n actions: [],\n wrapText: false,\n};\n\nexport const DSCardNavigationPropTypes: DSPropTypesSchema<DSCardNavigationT.Props> = {\n ...getPropsPerSlotPropTypes(DSCardNavigationName, CARD_NAVIGATION_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n\n containerProps: PropTypes.object.description('props to inject to card navigation wrapper').defaultValue('{}'),\n title: PropTypes.string.description('card navigation title').defaultValue(''),\n description: PropTypes.string.description('card navigation description').defaultValue(''),\n type: PropTypes.oneOf(CardNavigationTypesValues).description('card navigation type').defaultValue(''),\n\n Icon: PropTypes.func\n .description('component that will be used to render the icon')\n .defaultValue('()=><LoanProducts size=\"l\" color={[\"neutral\", 0]} />'),\n\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n onClick: PropTypes.func.isRequired,\n icon: PropTypes.element,\n Icon: PropTypes.func,\n }),\n )\n .description('card navigation actions array')\n .defaultValue('[]'),\n\n wrapText: PropTypes.bool.description('wrap text in the card navigation').defaultValue(false),\n};\n\nexport const DSCardNavigationPropTypesSchema =\n DSCardNavigationPropTypes as unknown as ValidationMap<DSCardNavigationT.Props>;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACGvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAG7B,SAAS,sBAAsB,uBAAuB,iCAAiC;AAyChF,MAAM,eAA+C;AAAA,EAC1D,gBAAgB,CAAC;AAAA,EACjB,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM,0BAA0B,CAAC;AAAA,EACjC,MAAM;AAAA,EACN,SAAS,CAAC;AAAA,EACV,UAAU;AACZ;AAEO,MAAM,4BAAwE;AAAA,EACnF,GAAG,yBAAyB,sBAAsB,qBAAqB;AAAA,EACvE,GAAG;AAAA,EACH,GAAG;AAAA,EAEH,gBAAgB,UAAU,OAAO,YAAY,4CAA4C,EAAE,aAAa,IAAI;AAAA,EAC5G,OAAO,UAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,EAAE;AAAA,EAC5E,aAAa,UAAU,OAAO,YAAY,6BAA6B,EAAE,aAAa,EAAE;AAAA,EACxF,MAAM,UAAU,MAAM,yBAAyB,EAAE,YAAY,sBAAsB,EAAE,aAAa,EAAE;AAAA,EAEpG,MAAM,UAAU,KACb,YAAY,gDAAgD,EAC5D,aAAa,sDAAsD;AAAA,EAEtE,SAAS,UAAU;AAAA,IACjB,UAAU,MAAM;AAAA,MACd,SAAS,UAAU,KAAK;AAAA,MACxB,MAAM,UAAU;AAAA,MAChB,MAAM,UAAU;AAAA,IAClB,CAAC;AAAA,EACH,EACG,YAAY,+BAA+B,EAC3C,aAAa,IAAI;AAAA,EAEpB,UAAU,UAAU,KAAK,YAAY,kCAAkC,EAAE,aAAa,KAAK;AAC7F;AAEO,MAAM,kCACX;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type DSCardNavigationT } from './react-desc-prop-types.js';
3
- declare const DSCardNavigation: React.FC<DSCardNavigationT.Props>;
3
+ declare const DSCardNavigation: React.ComponentType<DSCardNavigationT.Props>;
4
4
  declare const DSCardNavigationWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSCardNavigationT.Props>;
5
5
  export { DSCardNavigation, DSCardNavigationWithSchema };
@@ -1,12 +1,13 @@
1
- import { useGetXstyledProps } from '@elliemae/ds-props-helpers';
1
+ import React from 'react';
2
+ import { useGetXstyledProps, useGetGlobalAttributes } from '@elliemae/ds-props-helpers';
2
3
  import { type DSCardNavigationT } from '../react-desc-prop-types.js';
3
4
  export interface CardNavigationCTX {
4
5
  propsWithDefault: DSCardNavigationT.InternalProps;
5
6
  xstyledProps: ReturnType<typeof useGetXstyledProps>;
7
+ globalProps: ReturnType<typeof useGetGlobalAttributes>;
6
8
  instanceUid: string;
9
+ iconAndTextsRegionIsFocused: boolean;
10
+ showFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;
11
+ hideFocusRingAroundAll: React.FocusEventHandler<HTMLDivElement>;
7
12
  }
8
- export declare const useCardNavigation: (propsFromUser: DSCardNavigationT.Props) => {
9
- propsWithDefault: DSCardNavigationT.InternalProps;
10
- xstyledProps: import("@elliemae/ds-props-helpers").XstyledProps;
11
- instanceUid: string;
12
- };
13
+ export declare const useCardNavigation: (propsFromUser: DSCardNavigationT.Props) => CardNavigationCTX;
@@ -5,9 +5,27 @@ export declare const CARD_NAVIGATION_SLOTS: {
5
5
  readonly ACTIONS: "actions";
6
6
  readonly TYPE: "type";
7
7
  readonly CENTRAL_CONTENT: "central-content";
8
+ readonly INTERACTIVE_ELEMENT_REGION: "interactive-element-region";
9
+ readonly DESCRIPTION_TEXT: "description-text";
10
+ readonly TITLE_TYPOGRAPHY: "title-typography";
11
+ readonly TITLE_WRAPPER: "title-wrapper";
12
+ readonly CONTENT: "content";
13
+ readonly BUTTON_WRAPPER: "button-wrapper";
14
+ readonly ACTION_BUTTON: "action-button";
8
15
  };
9
16
  export declare const CARD_NAVIGATION_DATA_TESTID: {
10
17
  DESCRIPTION_TEXT: string;
18
+ TITLE_TYPOGRAPHY: string;
19
+ ACTION_BUTTON: string;
20
+ ROOT: "ds-cardnavigation-root";
21
+ TITLE: "ds-cardnavigation-title";
22
+ ACTIONS: "ds-cardnavigation-actions";
23
+ TYPE: "ds-cardnavigation-type";
24
+ CENTRAL_CONTENT: "ds-cardnavigation-central-content";
25
+ INTERACTIVE_ELEMENT_REGION: "ds-cardnavigation-interactive-element-region";
26
+ TITLE_WRAPPER: "ds-cardnavigation-title-wrapper";
27
+ CONTENT: "ds-cardnavigation-content";
28
+ BUTTON_WRAPPER: "ds-cardnavigation-button-wrapper";
11
29
  };
12
30
  export declare const CardNavigationTypes: {
13
31
  readonly BORROWER: "borrower";
@@ -1,5 +1,5 @@
1
1
  import { DSCardNavigation } from './DSCardNavigation.js';
2
2
  export { DSCardNavigation, DSCardNavigationWithSchema } from './DSCardNavigation.js';
3
3
  export { type DSCardNavigationT } from './react-desc-prop-types.js';
4
- export { CARD_NAVIGATION_SLOTS, CARD_NAVIGATION_DATA_TESTID, CardNavigationTypesValues, CardNavigationTypes, } from './constants/index.js';
4
+ export { CARD_NAVIGATION_SLOTS, CARD_NAVIGATION_DATA_TESTID, CardNavigationTypesValues, CardNavigationTypes, DSCardNavigationName, } from './constants/index.js';
5
5
  export default DSCardNavigation;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { DSCardNavigationT } from '../react-desc-prop-types.js';
3
+ interface ActionRegionProps {
4
+ actions: DSCardNavigationT.InternalProps['actions'];
5
+ instanceUid: string;
6
+ getOwnerProps?: () => object;
7
+ getOwnerPropsArguments?: () => object;
8
+ }
9
+ export declare const ActionsRegion: React.ComponentType<ActionRegionProps>;
10
+ export {};
@@ -1,22 +1,27 @@
1
- /// <reference types="react" />
2
- import { CardNavigationTypes } from './constants/index.js';
1
+ import { CardNavigationTypes } from '../constants/index.js';
3
2
  export declare const StyledCardNavigationContentTitle: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
4
3
  export declare const StyledTitleTypography: import("styled-components").StyledComponent<import("react").FC<import("@elliemae/ds-typography").DSTypographyT.Props>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").FC<import("@elliemae/ds-typography").DSTypographyT.Props>>, never>;
5
- export declare const StyledCardNavigationContentDescription: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
6
4
  export declare const StyledDescriptionTypography: import("styled-components").StyledComponent<import("react").FC<import("@elliemae/ds-typography").DSTypographyT.Props>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").FC<import("@elliemae/ds-typography").DSTypographyT.Props>>, never>;
7
5
  export declare const StyledCardNavigationContentTitleWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
8
6
  export declare const StyledCardNavigationContent: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, {
9
- wrapText?: boolean | undefined;
7
+ wrapText?: boolean;
10
8
  } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
11
- export declare const StyledCardNavigationCentralContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>;
9
+ export declare const StyledCardNavigationCentralContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
10
+ wrapText?: boolean;
11
+ AnyOverFlow?: boolean;
12
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>>, never>;
12
13
  interface StyledCardNavigationBoxWrapperProps {
13
14
  fluid?: boolean;
14
15
  }
15
- export declare const StyledCardNavigationBoxWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, StyledCardNavigationBoxWrapperProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
16
+ export declare const StyledCardNavigationBoxWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, StyledCardNavigationBoxWrapperProps & {
17
+ $isIconAndTextsRegionFocused?: boolean;
18
+ } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
16
19
  interface StyledCardNavigationIconProps {
17
20
  $type: (typeof CardNavigationTypes)[keyof typeof CardNavigationTypes];
18
21
  }
19
22
  export declare const StyledCardNavigationIcon: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, StyledCardNavigationIconProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
20
23
  export declare const StyledCardNavigationActions: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
21
- export declare const StyledCardNavigationAction: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
24
+ export declare const StyledCardNavigationButtonWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
25
+ export declare const StyledGridTextContainer: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
26
+ export declare const StyledCardNavigationActionButton: import("styled-components").StyledComponent<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV3T.Props>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV3T.Props>>, never>;
22
27
  export {};