@workday/canvas-kit-react 8.5.11 → 8.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +5 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +5 -1
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +5 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +2 -4
- package/dist/commonjs/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +28 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +5 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +5 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +5 -1
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +5 -1
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.js +2 -4
- package/dist/es6/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCard.js +28 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +5 -1
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/menu/lib/MenuItem.tsx +4 -5
- package/package.json +3 -3
- package/popup/lib/PopupCard.tsx +31 -5
|
@@ -3394,7 +3394,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3394
3394
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3395
3395
|
getId: (item: any) => string;
|
|
3396
3396
|
}> & {
|
|
3397
|
-
Icon: import("@
|
|
3397
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
3398
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
3399
|
+
} & {
|
|
3400
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3401
|
+
}, {}, {}>;
|
|
3398
3402
|
Text: import("@emotion/styled").StyledComponent<{
|
|
3399
3403
|
theme?: import("@emotion/react").Theme | undefined;
|
|
3400
3404
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -1584,7 +1584,11 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1584
1584
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1585
1585
|
getId: (item: any) => string;
|
|
1586
1586
|
}> & {
|
|
1587
|
-
Icon: import("@
|
|
1587
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
1588
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
1589
|
+
} & {
|
|
1590
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1591
|
+
}, {}, {}>;
|
|
1588
1592
|
Text: import("@emotion/styled").StyledComponent<{
|
|
1589
1593
|
theme?: import("@emotion/react").Theme | undefined;
|
|
1590
1594
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../menu/lib/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -136,7 +136,11 @@ export declare const MenuItem: import("@workday/canvas-kit-react/common").Elemen
|
|
|
136
136
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
137
137
|
getId: (item: any) => string;
|
|
138
138
|
}> & {
|
|
139
|
-
Icon: import("@workday/canvas-kit-react/
|
|
139
|
+
Icon: import("@emotion/styled").StyledComponent<import("@workday/canvas-kit-react/icon").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("@workday/canvas-kit-react/icon").SystemIconProps> & {
|
|
140
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
141
|
+
} & {
|
|
142
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
143
|
+
}, {}, {}>;
|
|
140
144
|
Text: import("@emotion/styled").StyledComponent<{
|
|
141
145
|
theme?: import("@emotion/react").Theme | undefined;
|
|
142
146
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AA4FD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnB,CAAC"}
|
|
@@ -53,9 +53,7 @@ var useMenuModel_1 = require("./useMenuModel");
|
|
|
53
53
|
var StyledItem = common_1.styled(layout_1.Box.as('button'))(function (_a) {
|
|
54
54
|
var _b;
|
|
55
55
|
var theme = _a.theme;
|
|
56
|
-
return __assign(__assign({}, tokens_1.type.levels.subtext.large), (_b = { '
|
|
57
|
-
marginLeft: tokens_1.space.xxs,
|
|
58
|
-
}, display: 'block', width: '100%', padding: tokens_1.space.xxs + " " + tokens_1.space.s, boxSizing: 'border-box', cursor: 'pointer', color: tokens_1.colors.blackPepper300, borderWidth: 0, textAlign: 'left', transition: 'background-color 80ms, color 80ms', '&:hover, &[aria-selected=true]': {
|
|
56
|
+
return __assign(__assign({}, tokens_1.type.levels.subtext.large), (_b = { display: 'grid', alignItems: 'center', width: '100%', gap: tokens_1.space.s, padding: tokens_1.space.xxs + " " + tokens_1.space.s, boxSizing: 'border-box', cursor: 'pointer', color: tokens_1.colors.blackPepper300, borderWidth: 0, textAlign: 'left', transition: 'background-color 80ms, color 80ms', '&:hover, &[aria-selected=true]': {
|
|
59
57
|
backgroundColor: theme.canvas.palette.primary.lightest,
|
|
60
58
|
color: tokens_1.colors.blackPepper300,
|
|
61
59
|
'.wd-icon-fill, .wd-icon-accent, .wd-icon-accent2': {
|
|
@@ -156,7 +154,7 @@ exports.MenuItem = common_1.createSubcomponent('button')({
|
|
|
156
154
|
modelHook: useMenuModel_1.useMenuModel,
|
|
157
155
|
elemPropsHook: exports.useMenuItem,
|
|
158
156
|
subComponents: {
|
|
159
|
-
Icon: icon_1.SystemIcon,
|
|
157
|
+
Icon: common_1.styled(icon_1.SystemIcon)({ alignSelf: 'start' }),
|
|
160
158
|
Text: common_1.styled('span')({ flexGrow: 1, alignSelf: 'center' }),
|
|
161
159
|
},
|
|
162
160
|
})(function (_a, Element) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupCard.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AAEpD,OAAO,EAKL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAO,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAKtE,oBAAY,eAAe,GAAG,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,GAAG,cAAc,CAAC;AAChF,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"PopupCard.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AAEpD,OAAO,EAKL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAO,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAKtE,oBAAY,eAAe,GAAG,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,GAAG,cAAc,CAAC;AAChF,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAuED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EA6BpB,CAAC"}
|
|
@@ -82,6 +82,33 @@ var StyledPopupCard = common_1.styled(card_1.Card)(function (_a) {
|
|
|
82
82
|
},
|
|
83
83
|
_b;
|
|
84
84
|
});
|
|
85
|
+
function getSpace(value) {
|
|
86
|
+
if (value && value in tokens_1.space) {
|
|
87
|
+
return tokens_1.space[value];
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function getMaxHeight(margin) {
|
|
94
|
+
// set the default margin offset to space.xl
|
|
95
|
+
var marginOffset = tokens_1.space.xl;
|
|
96
|
+
if (margin) {
|
|
97
|
+
// parse the margin prop
|
|
98
|
+
if (typeof margin === 'string') {
|
|
99
|
+
var marginValues = margin.split(' ');
|
|
100
|
+
var marginTop = getSpace(marginValues[0]);
|
|
101
|
+
// If provided, use the specific margin-bottom in the shorthand, otherwise use the margin-top value
|
|
102
|
+
var marginBottom = getSpace(marginValues[2]) || marginTop;
|
|
103
|
+
marginOffset = "(" + marginTop + " + " + marginBottom + ")";
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
// if margin is a number, double it to get the offset
|
|
107
|
+
marginOffset = margin * 2 + "px";
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return "calc(100vh - " + marginOffset + ")";
|
|
111
|
+
}
|
|
85
112
|
exports.PopupCard = common_1.createSubcomponent('div')({
|
|
86
113
|
displayName: 'Popup.Card',
|
|
87
114
|
modelHook: hooks_1.usePopupModel,
|
|
@@ -93,6 +120,6 @@ exports.PopupCard = common_1.createSubcomponent('div')({
|
|
|
93
120
|
}, [model.state.placement]);
|
|
94
121
|
// As is a Flex that will render an element of `Element`
|
|
95
122
|
var As = common_1.useConstant(function () { return layout_1.Flex.as(Element); });
|
|
96
|
-
return (React.createElement(StyledPopupCard, __assign({ as: As, transformOrigin: transformOrigin, position: "relative", depth: 5, maxWidth: "calc(100vw - " + tokens_1.space.l + ")", flexDirection: "column", minHeight: 0, padding: "m", maxHeight:
|
|
123
|
+
return (React.createElement(StyledPopupCard, __assign({ as: As, transformOrigin: transformOrigin, position: "relative", depth: 5, maxWidth: "calc(100vw - " + tokens_1.space.l + ")", flexDirection: "column", minHeight: 0, padding: "m", maxHeight: getMaxHeight(elemProps.margin), overflowY: "auto" }, tokens_1.type.levels.subtext.large, elemProps), children));
|
|
97
124
|
});
|
|
98
125
|
var templateObject_1;
|
|
@@ -5373,7 +5373,11 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
5373
5373
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
5374
5374
|
getId: (item: any) => string;
|
|
5375
5375
|
}> & {
|
|
5376
|
-
Icon: import("@
|
|
5376
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
5377
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
5378
|
+
} & {
|
|
5379
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5380
|
+
}, {}, {}>;
|
|
5377
5381
|
Text: import("@emotion/styled").StyledComponent<{
|
|
5378
5382
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5379
5383
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../tabs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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFL,CAAC"}
|
|
@@ -3394,7 +3394,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3394
3394
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3395
3395
|
getId: (item: any) => string;
|
|
3396
3396
|
}> & {
|
|
3397
|
-
Icon: import("@
|
|
3397
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
3398
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
3399
|
+
} & {
|
|
3400
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3401
|
+
}, {}, {}>;
|
|
3398
3402
|
Text: import("@emotion/styled").StyledComponent<{
|
|
3399
3403
|
theme?: import("@emotion/react").Theme | undefined;
|
|
3400
3404
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -1584,7 +1584,11 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1584
1584
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1585
1585
|
getId: (item: any) => string;
|
|
1586
1586
|
}> & {
|
|
1587
|
-
Icon: import("@
|
|
1587
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
1588
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
1589
|
+
} & {
|
|
1590
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1591
|
+
}, {}, {}>;
|
|
1588
1592
|
Text: import("@emotion/styled").StyledComponent<{
|
|
1589
1593
|
theme?: import("@emotion/react").Theme | undefined;
|
|
1590
1594
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../menu/lib/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIb;;;;;;;;;;;;;;;OAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -136,7 +136,11 @@ export declare const MenuItem: import("@workday/canvas-kit-react/common").Elemen
|
|
|
136
136
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
137
137
|
getId: (item: any) => string;
|
|
138
138
|
}> & {
|
|
139
|
-
Icon: import("@workday/canvas-kit-react/
|
|
139
|
+
Icon: import("@emotion/styled").StyledComponent<import("@workday/canvas-kit-react/icon").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("@workday/canvas-kit-react/icon").SystemIconProps> & {
|
|
140
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
141
|
+
} & {
|
|
142
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
143
|
+
}, {}, {}>;
|
|
140
144
|
Text: import("@emotion/styled").StyledComponent<{
|
|
141
145
|
theme?: import("@emotion/react").Theme | undefined;
|
|
142
146
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../menu/lib/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AA4FD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnB,CAAC"}
|
|
@@ -31,9 +31,7 @@ import { useMenuModel } from './useMenuModel';
|
|
|
31
31
|
var StyledItem = styled(Box.as('button'))(function (_a) {
|
|
32
32
|
var _b;
|
|
33
33
|
var theme = _a.theme;
|
|
34
|
-
return __assign(__assign({}, type.levels.subtext.large), (_b = { '
|
|
35
|
-
marginLeft: space.xxs,
|
|
36
|
-
}, display: 'block', width: '100%', padding: space.xxs + " " + space.s, boxSizing: 'border-box', cursor: 'pointer', color: colors.blackPepper300, borderWidth: 0, textAlign: 'left', transition: 'background-color 80ms, color 80ms', '&:hover, &[aria-selected=true]': {
|
|
34
|
+
return __assign(__assign({}, type.levels.subtext.large), (_b = { display: 'grid', alignItems: 'center', width: '100%', gap: space.s, padding: space.xxs + " " + space.s, boxSizing: 'border-box', cursor: 'pointer', color: colors.blackPepper300, borderWidth: 0, textAlign: 'left', transition: 'background-color 80ms, color 80ms', '&:hover, &[aria-selected=true]': {
|
|
37
35
|
backgroundColor: theme.canvas.palette.primary.lightest,
|
|
38
36
|
color: colors.blackPepper300,
|
|
39
37
|
'.wd-icon-fill, .wd-icon-accent, .wd-icon-accent2': {
|
|
@@ -134,7 +132,7 @@ export var MenuItem = createSubcomponent('button')({
|
|
|
134
132
|
modelHook: useMenuModel,
|
|
135
133
|
elemPropsHook: useMenuItem,
|
|
136
134
|
subComponents: {
|
|
137
|
-
Icon: SystemIcon,
|
|
135
|
+
Icon: styled(SystemIcon)({ alignSelf: 'start' }),
|
|
138
136
|
Text: styled('span')({ flexGrow: 1, alignSelf: 'center' }),
|
|
139
137
|
},
|
|
140
138
|
})(function (_a, Element) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupCard.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AAEpD,OAAO,EAKL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAO,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAKtE,oBAAY,eAAe,GAAG,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,GAAG,cAAc,CAAC;AAChF,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"PopupCard.d.ts","sourceRoot":"","sources":["../../../../popup/lib/PopupCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAC,IAAI,EAAC,MAAM,gCAAgC,CAAC;AAEpD,OAAO,EAKL,YAAY,EAGb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAO,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAKtE,oBAAY,eAAe,GAAG,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,GAAG,cAAc,CAAC;AAChF,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAuED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EA6BpB,CAAC"}
|
|
@@ -60,6 +60,33 @@ var StyledPopupCard = styled(Card)(function (_a) {
|
|
|
60
60
|
},
|
|
61
61
|
_b;
|
|
62
62
|
});
|
|
63
|
+
function getSpace(value) {
|
|
64
|
+
if (value && value in space) {
|
|
65
|
+
return space[value];
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function getMaxHeight(margin) {
|
|
72
|
+
// set the default margin offset to space.xl
|
|
73
|
+
var marginOffset = space.xl;
|
|
74
|
+
if (margin) {
|
|
75
|
+
// parse the margin prop
|
|
76
|
+
if (typeof margin === 'string') {
|
|
77
|
+
var marginValues = margin.split(' ');
|
|
78
|
+
var marginTop = getSpace(marginValues[0]);
|
|
79
|
+
// If provided, use the specific margin-bottom in the shorthand, otherwise use the margin-top value
|
|
80
|
+
var marginBottom = getSpace(marginValues[2]) || marginTop;
|
|
81
|
+
marginOffset = "(" + marginTop + " + " + marginBottom + ")";
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
// if margin is a number, double it to get the offset
|
|
85
|
+
marginOffset = margin * 2 + "px";
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return "calc(100vh - " + marginOffset + ")";
|
|
89
|
+
}
|
|
63
90
|
export var PopupCard = createSubcomponent('div')({
|
|
64
91
|
displayName: 'Popup.Card',
|
|
65
92
|
modelHook: usePopupModel,
|
|
@@ -71,6 +98,6 @@ export var PopupCard = createSubcomponent('div')({
|
|
|
71
98
|
}, [model.state.placement]);
|
|
72
99
|
// As is a Flex that will render an element of `Element`
|
|
73
100
|
var As = useConstant(function () { return Flex.as(Element); });
|
|
74
|
-
return (React.createElement(StyledPopupCard, __assign({ as: As, transformOrigin: transformOrigin, position: "relative", depth: 5, maxWidth: "calc(100vw - " + space.l + ")", flexDirection: "column", minHeight: 0, padding: "m", maxHeight:
|
|
101
|
+
return (React.createElement(StyledPopupCard, __assign({ as: As, transformOrigin: transformOrigin, position: "relative", depth: 5, maxWidth: "calc(100vw - " + space.l + ")", flexDirection: "column", minHeight: 0, padding: "m", maxHeight: getMaxHeight(elemProps.margin), overflowY: "auto" }, type.levels.subtext.large, elemProps), children));
|
|
75
102
|
});
|
|
76
103
|
var templateObject_1;
|
|
@@ -5373,7 +5373,11 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
5373
5373
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
5374
5374
|
getId: (item: any) => string;
|
|
5375
5375
|
}> & {
|
|
5376
|
-
Icon: import("@
|
|
5376
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
5377
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
5378
|
+
} & {
|
|
5379
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5380
|
+
}, {}, {}>;
|
|
5377
5381
|
Text: import("@emotion/styled").StyledComponent<{
|
|
5378
5382
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5379
5383
|
as?: React.ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;mCAkEb;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAhEH;;;;;;;WAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPH;;;;;;;eAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFL,CAAC"}
|
package/menu/lib/MenuItem.tsx
CHANGED
|
@@ -44,11 +44,10 @@ const StyledItem = styled(Box.as('button'))<StyledType>(
|
|
|
44
44
|
({theme}) => {
|
|
45
45
|
return {
|
|
46
46
|
...type.levels.subtext.large,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
display: 'block',
|
|
47
|
+
display: 'grid',
|
|
48
|
+
alignItems: 'center',
|
|
51
49
|
width: '100%',
|
|
50
|
+
gap: space.s,
|
|
52
51
|
padding: `${space.xxs} ${space.s}`,
|
|
53
52
|
boxSizing: 'border-box',
|
|
54
53
|
cursor: 'pointer',
|
|
@@ -174,7 +173,7 @@ export const MenuItem = createSubcomponent('button')({
|
|
|
174
173
|
modelHook: useMenuModel,
|
|
175
174
|
elemPropsHook: useMenuItem,
|
|
176
175
|
subComponents: {
|
|
177
|
-
Icon: SystemIcon,
|
|
176
|
+
Icon: styled(SystemIcon)({alignSelf: 'start'}),
|
|
178
177
|
Text: styled('span')({flexGrow: 1, alignSelf: 'center'}),
|
|
179
178
|
},
|
|
180
179
|
})<MenuItemProps>(({children, ...elemProps}, Element) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.13",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@emotion/styled": "^11.6.0",
|
|
50
50
|
"@popperjs/core": "^2.5.4",
|
|
51
51
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^8.5.
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^8.5.13",
|
|
53
53
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
54
54
|
"@workday/design-assets-types": "^0.2.8",
|
|
55
55
|
"chroma-js": "^2.1.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
68
68
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "6111799979f60dfd4a2dccfb9a19a663be3f2474"
|
|
71
71
|
}
|
package/popup/lib/PopupCard.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {keyframes} from '@emotion/react';
|
|
3
3
|
|
|
4
4
|
import {Card} from '@workday/canvas-kit-react/card';
|
|
5
|
-
import {space, type
|
|
5
|
+
import {space, type} from '@workday/canvas-kit-react/tokens';
|
|
6
6
|
import {
|
|
7
7
|
styled,
|
|
8
8
|
TransformOrigin,
|
|
@@ -62,6 +62,35 @@ const StyledPopupCard = styled(Card)<
|
|
|
62
62
|
};
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
+
function getSpace(value?: string | number) {
|
|
66
|
+
if (value && value in space) {
|
|
67
|
+
return space[value as keyof typeof space];
|
|
68
|
+
} else {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function getMaxHeight(margin?: string | number) {
|
|
74
|
+
// set the default margin offset to space.xl
|
|
75
|
+
let marginOffset: string | number = space.xl;
|
|
76
|
+
|
|
77
|
+
if (margin) {
|
|
78
|
+
// parse the margin prop
|
|
79
|
+
if (typeof margin === 'string') {
|
|
80
|
+
const marginValues = margin.split(' ');
|
|
81
|
+
const marginTop = getSpace(marginValues[0]);
|
|
82
|
+
// If provided, use the specific margin-bottom in the shorthand, otherwise use the margin-top value
|
|
83
|
+
const marginBottom = getSpace(marginValues[2]) || marginTop;
|
|
84
|
+
|
|
85
|
+
marginOffset = `(${marginTop} + ${marginBottom})`;
|
|
86
|
+
} else {
|
|
87
|
+
// if margin is a number, double it to get the offset
|
|
88
|
+
marginOffset = `${margin * 2}px`;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return `calc(100vh - ${marginOffset})`;
|
|
92
|
+
}
|
|
93
|
+
|
|
65
94
|
export const PopupCard = createSubcomponent('div')({
|
|
66
95
|
displayName: 'Popup.Card',
|
|
67
96
|
modelHook: usePopupModel,
|
|
@@ -73,7 +102,6 @@ export const PopupCard = createSubcomponent('div')({
|
|
|
73
102
|
|
|
74
103
|
// As is a Flex that will render an element of `Element`
|
|
75
104
|
const As = useConstant(() => Flex.as(Element));
|
|
76
|
-
|
|
77
105
|
return (
|
|
78
106
|
<StyledPopupCard
|
|
79
107
|
as={As}
|
|
@@ -84,9 +112,7 @@ export const PopupCard = createSubcomponent('div')({
|
|
|
84
112
|
flexDirection="column"
|
|
85
113
|
minHeight={0}
|
|
86
114
|
padding="m"
|
|
87
|
-
maxHeight={
|
|
88
|
-
elemProps.margin ? space[elemProps.margin as CanvasSpaceKeys] || elemProps.margin : space.xl
|
|
89
|
-
} * 2)`}
|
|
115
|
+
maxHeight={getMaxHeight(elemProps.margin)}
|
|
90
116
|
overflowY="auto"
|
|
91
117
|
{...type.levels.subtext.large}
|
|
92
118
|
{...elemProps}
|