@atlaskit/smart-card 26.50.4 → 26.50.6

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 (75) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/BlockCard/components/ActionIcon.js +2 -0
  4. package/dist/cjs/view/BlockCard/components/ActionList.js +4 -1
  5. package/dist/cjs/view/BlockCard/components/Content.js +1 -0
  6. package/dist/cjs/view/BlockCard/components/ContentFooter.js +1 -0
  7. package/dist/cjs/view/BlockCard/components/Frame.js +1 -0
  8. package/dist/cjs/view/BlockCard/components/Name.js +1 -0
  9. package/dist/cjs/view/BlockCard/components/Provider.js +1 -0
  10. package/dist/cjs/view/BlockCard/views/ResolvingView.js +2 -1
  11. package/dist/cjs/view/EmbedCard/components/styled.js +4 -5
  12. package/dist/cjs/view/EmbedCard/views/ErroredView.js +2 -0
  13. package/dist/cjs/view/EmbedModal/components/link-info/styled.js +55 -8
  14. package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +7 -17
  15. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +38 -10
  16. package/dist/cjs/view/InlineCard/Icon.js +16 -4
  17. package/dist/cjs/view/LinkUrl/index.js +1 -1
  18. package/dist/cjs/view/common/Byline.js +1 -0
  19. package/dist/cjs/view/common/MetadataList.js +1 -0
  20. package/dist/cjs/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +5 -5
  21. package/dist/cjs/view/common/ai-prism/constants.js +1 -2
  22. package/dist/cjs/view/common/ai-summary/index.js +5 -3
  23. package/dist/cjs/view/common/ai-summary/ulist.js +25 -0
  24. package/dist/cjs/view/common/utils.js +3 -0
  25. package/dist/es2019/utils/analytics/analytics.js +1 -1
  26. package/dist/es2019/view/BlockCard/components/ActionIcon.js +2 -0
  27. package/dist/es2019/view/BlockCard/components/ActionList.js +4 -1
  28. package/dist/es2019/view/BlockCard/components/Content.js +1 -0
  29. package/dist/es2019/view/BlockCard/components/ContentFooter.js +1 -0
  30. package/dist/es2019/view/BlockCard/components/Frame.js +1 -0
  31. package/dist/es2019/view/BlockCard/components/Name.js +1 -0
  32. package/dist/es2019/view/BlockCard/components/Provider.js +1 -0
  33. package/dist/es2019/view/BlockCard/views/ResolvingView.js +2 -1
  34. package/dist/es2019/view/EmbedCard/components/styled.js +4 -5
  35. package/dist/es2019/view/EmbedCard/views/ErroredView.js +2 -0
  36. package/dist/es2019/view/EmbedModal/components/link-info/styled.js +45 -57
  37. package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +8 -18
  38. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +35 -45
  39. package/dist/es2019/view/InlineCard/Icon.js +16 -14
  40. package/dist/es2019/view/LinkUrl/index.js +1 -1
  41. package/dist/es2019/view/common/Byline.js +1 -0
  42. package/dist/es2019/view/common/MetadataList.js +1 -0
  43. package/dist/es2019/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +6 -6
  44. package/dist/es2019/view/common/ai-prism/constants.js +0 -1
  45. package/dist/es2019/view/common/ai-summary/index.js +5 -3
  46. package/dist/es2019/view/common/ai-summary/ulist.js +15 -0
  47. package/dist/es2019/view/common/utils.js +4 -0
  48. package/dist/esm/utils/analytics/analytics.js +1 -1
  49. package/dist/esm/view/BlockCard/components/ActionIcon.js +2 -0
  50. package/dist/esm/view/BlockCard/components/ActionList.js +4 -1
  51. package/dist/esm/view/BlockCard/components/Content.js +1 -0
  52. package/dist/esm/view/BlockCard/components/ContentFooter.js +1 -0
  53. package/dist/esm/view/BlockCard/components/Frame.js +1 -0
  54. package/dist/esm/view/BlockCard/components/Name.js +1 -0
  55. package/dist/esm/view/BlockCard/components/Provider.js +1 -0
  56. package/dist/esm/view/BlockCard/views/ResolvingView.js +2 -1
  57. package/dist/esm/view/EmbedCard/components/styled.js +4 -5
  58. package/dist/esm/view/EmbedCard/views/ErroredView.js +2 -0
  59. package/dist/esm/view/EmbedModal/components/link-info/styled.js +55 -7
  60. package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +8 -18
  61. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +38 -9
  62. package/dist/esm/view/InlineCard/Icon.js +16 -4
  63. package/dist/esm/view/LinkUrl/index.js +1 -1
  64. package/dist/esm/view/common/Byline.js +1 -0
  65. package/dist/esm/view/common/MetadataList.js +1 -0
  66. package/dist/esm/view/common/ai-prism/ai-glowing-border/animated-svg-container.js +6 -6
  67. package/dist/esm/view/common/ai-prism/constants.js +0 -1
  68. package/dist/esm/view/common/ai-summary/index.js +5 -3
  69. package/dist/esm/view/common/ai-summary/ulist.js +18 -0
  70. package/dist/esm/view/common/utils.js +4 -0
  71. package/dist/types/view/common/ai-prism/constants.d.ts +0 -1
  72. package/dist/types/view/common/ai-summary/ulist.d.ts +4 -0
  73. package/dist/types-ts4.5/view/common/ai-prism/constants.d.ts +0 -1
  74. package/dist/types-ts4.5/view/common/ai-summary/ulist.d.ts +4 -0
  75. package/package.json +3 -3
@@ -1,13 +1,61 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4;
3
1
  import { css } from '@emotion/react';
4
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
5
- export var containerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n display: flex;\n gap: ", ";\n justify-content: space-between;\n // AK ModalBody has 2px padding top and bottom.\n // Using 14px here to create 16px gap between\n // link info and iframe\n padding: ", " ", " 14px\n ", ";\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)");
2
+ export var containerStyles = css({
3
+ alignItems: 'center',
4
+ display: 'flex',
5
+ gap: "var(--ds-space-100, 8px)",
6
+ justifyContent: 'space-between',
7
+ // AK ModalBody has 2px padding top and bottom.
8
+ // Using 14px here to create 16px gap between
9
+ // link info and iframe
10
+ padding: "var(--ds-space-300, 24px)".concat(" ", "var(--ds-space-300, 24px)", " 14px ", "var(--ds-space-300, 24px)")
11
+ });
6
12
  var iconSize = '24px';
7
13
  // EDM-7328: CSS Specificity
8
14
  // An embed modal icon css for img, span, svg has specificity weight of 0-1-1.
9
15
  // Specify flex ui icon selector to increase specificity weight to 0-2-1.
10
- export var iconCss = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n &,\n [data-smart-element-icon] img,\n [data-smart-element-icon] span,\n [data-smart-element-icon] svg,\n img,\n span,\n svg {\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n }\n"])), iconSize, iconSize, iconSize, iconSize, iconSize, iconSize);
16
+ export var iconCss = css({
17
+ '&, [data-smart-element-icon] img, [data-smart-element-icon] span, [data-smart-element-icon] svg, img, span, svg': {
18
+ height: iconSize,
19
+ minHeight: iconSize,
20
+ maxHeight: iconSize,
21
+ width: iconSize,
22
+ minWidth: iconSize,
23
+ maxWidth: iconSize
24
+ }
25
+ });
11
26
  var height = '20px';
12
- export var titleCss = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 1 1 auto;\n\n h3 {\n flex: 1 1 auto;\n font-size: 16px;\n font-weight: 400;\n line-height: ", ";\n\n display: -webkit-box;\n margin-bottom: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n // Fallback options\n @supports not (-webkit-line-clamp: 1) {\n max-height: ", ";\n }\n }\n"])), height, height);
13
- export var actionCss = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: flex;\n flex: 0 0 auto;\n gap: ", ";\n line-height: ", ";\n span {\n line-height: ", ";\n }\n\n @media only screen and (max-width: 980px) {\n // Hide resize button if the screen is smaller than the min width\n // or too small to have enough impact to matter.\n .smart-link-resize-button {\n display: none;\n }\n }\n"])), "var(--ds-space-050, 4px)", height, height);
27
+ export var titleCss = css({
28
+ flex: '1 1 auto',
29
+ h3: {
30
+ flex: '1 1 auto',
31
+ fontSize: '16px',
32
+ fontWeight: 400,
33
+ lineHeight: height,
34
+ display: '-webkit-box',
35
+ marginBottom: 0,
36
+ overflow: 'hidden',
37
+ textOverflow: 'ellipsis',
38
+ wordBreak: 'break-word',
39
+ WebkitLineClamp: 1,
40
+ WebkitBoxOrient: 'vertical',
41
+ '@supports not (-webkit-line-clamp: 1)': {
42
+ maxHeight: height
43
+ }
44
+ }
45
+ });
46
+ export var actionCss = css({
47
+ display: 'flex',
48
+ flex: '0 0 auto',
49
+ gap: "var(--ds-space-050, 4px)",
50
+ lineHeight: height,
51
+ span: {
52
+ lineHeight: height
53
+ },
54
+ '@media only screen and (max-width: 980px)': {
55
+ // Hide resize button if the screen is smaller than the min width
56
+ // or too small to have enough impact to matter.
57
+ '.smart-link-resize-button': {
58
+ display: 'none'
59
+ }
60
+ }
61
+ });
@@ -2,7 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _importIconMapper;
3
3
  import React from 'react';
4
4
  import Loadable from 'react-loadable';
5
- import { B200, B400, N700, R400 } from '@atlaskit/theme/colors';
5
+ import { R400 } from '@atlaskit/theme/colors';
6
+ import { ConfluenceIcon, JiraIcon } from '@atlaskit/logo';
6
7
  import DocumentIcon from '@atlaskit/icon-file-type/glyph/document/16';
7
8
  import BlogIcon from '@atlaskit/icon-object/glyph/blog/16';
8
9
  import { IconType } from '../../../../../constants';
@@ -179,25 +180,14 @@ var AtlaskitIcon = function AtlaskitIcon(_ref3) {
179
180
  var ImportedIcon = importIcon(importFn);
180
181
  switch (icon) {
181
182
  case IconType.Confluence:
182
- return /*#__PURE__*/React.createElement(ImportedIcon, {
183
- testId: testId,
184
- textColor: "var(--ds-text-subtle, ".concat(N700, ")")
185
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */,
186
- iconColor: B200,
187
- iconGradientStart: B400,
188
- iconGradientStop: B200
189
- /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
183
+ return /*#__PURE__*/React.createElement(ConfluenceIcon, {
184
+ appearance: "brand",
185
+ testId: testId
190
186
  });
191
187
  case IconType.Jira:
192
- // Logo component has a different prop set from other icon components
193
- return /*#__PURE__*/React.createElement(ImportedIcon, {
194
- testId: testId,
195
- textColor: "var(--ds-text-subtle, ".concat(N700, ")")
196
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */,
197
- iconColor: B200,
198
- iconGradientStart: B400,
199
- iconGradientStop: B200
200
- /* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
188
+ return /*#__PURE__*/React.createElement(JiraIcon, {
189
+ appearance: "brand",
190
+ testId: testId
201
191
  });
202
192
  case IconType.Error:
203
193
  case IconType.Forbidden:
@@ -1,14 +1,43 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
1
  import { css } from '@emotion/react';
4
2
  import { N800 } from '@atlaskit/theme/colors';
5
3
  import { getTruncateStyles } from '../../../../utils';
6
- export var dropdownItemGroupStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n button {\n width: 220px;\n\n &:hover {\n background-color: inherit;\n cursor: default;\n }\n }\n"])));
7
- var sharedBlockStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n gap: 0.5rem;\n line-height: 1rem;\n min-width: 0;\n overflow: hidden;\n flex-direction: row;\n align-items: center;\n"])));
8
- export var contentStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", ";\n\n margin-top: ", ";\n align-items: flex-start;\n\n > span,\n > div {\n font-size: 0.875rem;\n line-height: 1.25rem;\n color: ", ";\n }\n"])), sharedBlockStyles, "var(--ds-space-025, 2px)", "var(--ds-text, ".concat(N800, ")"));
9
-
10
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
11
- export var linkStyles = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", ";\n\n cursor: pointer;\n font-size: 0.875rem;\n margin-top: 10px;\n margin-left: ", ";\n margin-bottom: ", ";\n"])), sharedBlockStyles, "var(--ds-space-400, 32px)", "var(--ds-space-025, 2px)");
4
+ export var dropdownItemGroupStyles = css({
5
+ button: {
6
+ width: '220px',
7
+ '&:hover': {
8
+ backgroundColor: 'inherit',
9
+ cursor: 'default'
10
+ }
11
+ }
12
+ });
13
+ var sharedBlockStyles = css({
14
+ display: 'flex',
15
+ gap: '0.5rem',
16
+ lineHeight: '1rem',
17
+ minWidth: 0,
18
+ overflow: 'hidden',
19
+ flexDirection: 'row',
20
+ alignItems: 'center'
21
+ });
22
+ export var contentStyles = css(sharedBlockStyles, {
23
+ marginTop: "var(--ds-space-025, 2px)",
24
+ alignItems: 'flex-start',
25
+ '> span, > div': {
26
+ fontSize: '0.875rem',
27
+ lineHeight: '1.25rem',
28
+ color: "var(--ds-text, ".concat(N800, ")")
29
+ }
30
+ });
31
+ export var linkStyles = css(sharedBlockStyles, {
32
+ cursor: 'pointer',
33
+ fontSize: '0.875rem',
34
+ marginTop: "var(--ds-space-100, 8px)",
35
+ marginLeft: "var(--ds-space-400, 32px)",
36
+ marginBottom: "var(--ds-space-025, 2px)"
37
+ });
12
38
  export var textStyles = function textStyles(maxLines) {
13
- return css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n line-height: 1rem;\n white-space: normal;\n ", ";\n"])), getTruncateStyles(maxLines));
39
+ return css({
40
+ lineHeight: '1rem',
41
+ whiteSpace: 'normal'
42
+ }, getTruncateStyles(maxLines));
14
43
  };
@@ -1,5 +1,3 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2;
3
1
  import styled from '@emotion/styled';
4
2
  import { Skeleton } from '@atlaskit/linking-common';
5
3
  import React from 'react';
@@ -9,17 +7,31 @@ import React from 'react';
9
7
  // Current rationale: vertically positioned at the top of
10
8
  // the smart card container (when set to 0). Offset this
11
9
  // to position it with appropriate whitespace from the top.
12
- export var Icon = styled.img(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: 14px;\n width: 14px;\n margin-right: ", ";\n border-radius: 2px;\n user-select: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"])), "var(--ds-space-050, 4px)");
10
+ export var Icon = styled.img({
11
+ height: '14px',
12
+ width: '14px',
13
+ marginRight: "var(--ds-space-050, 4px)",
14
+ borderRadius: '2px',
15
+ userSelect: 'none',
16
+ position: 'absolute',
17
+ top: '50%',
18
+ left: '50%',
19
+ transform: 'translate(-50%, -50%)'
20
+ });
13
21
 
14
22
  // Used for 'untrue' icons which claim to be 16x16 but
15
23
  // are less than that in height/width.
16
24
  // TODO: Replace this override with proper AtlasKit solution.
17
- export var AKIconWrapper = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: ", ";\n"])), "var(--ds-space-negative-025, -2px)");
25
+ export var AKIconWrapper = styled.span({
26
+ marginRight: "var(--ds-space-negative-025, -2px)"
27
+ });
18
28
  export var Shimmer = function Shimmer(_ref) {
19
29
  var testId = _ref.testId;
20
30
  var skeletonCustomStyles = {
21
31
  position: 'absolute',
32
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
22
33
  top: '50%',
34
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
23
35
  left: '50%',
24
36
  transform: 'translate(-50%, -50%)',
25
37
  marginRight: "var(--ds-space-050, 4px)"
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
10
10
  import LinkWarningModal from './LinkWarningModal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "26.50.4",
13
+ packageVersion: "26.50.6",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -13,6 +13,7 @@ export var Byline = function Byline(_ref) {
13
13
  lineHeight: gs(2.5),
14
14
  color: "".concat("var(--ds-text-subtlest, ".concat(N300, ")")),
15
15
  fontWeight: 'normal',
16
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
16
17
  marginTop: gs(0.5),
17
18
  // Spec: only allow two lines MAX to be shown.
18
19
  display: '-webkit-box',
@@ -10,6 +10,7 @@ export var MetadataList = function MetadataList(_ref) {
10
10
  return jsx("div", {
11
11
  css: {
12
12
  display: 'flex',
13
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
13
14
  marginTop: gs(0.5),
14
15
  alignItems: 'center',
15
16
  '&:last-child': {
@@ -1,18 +1,18 @@
1
1
  /** @jsx jsx */
2
2
  import { css, jsx } from '@emotion/react';
3
3
  import React, { useEffect, useRef } from 'react';
4
- import { GLOW_SIZE, OUTER_BORDER_RADIUS } from '../constants';
4
+ import { OUTER_BORDER_RADIUS } from '../constants';
5
5
  var namespaceUUID = 0;
6
6
  var svgStyles = css({
7
7
  position: 'absolute',
8
8
  borderRadius: OUTER_BORDER_RADIUS
9
9
  });
10
10
  var blurredStyles = css({
11
- width: "calc(100% - ".concat(GLOW_SIZE / 2, "px)"),
12
- height: "calc(100% - ".concat(GLOW_SIZE / 2, "px)"),
13
- top: GLOW_SIZE / 2,
14
- left: GLOW_SIZE / 2,
15
- filter: "blur(".concat(GLOW_SIZE, "px)"),
11
+ width: "calc(100% - ".concat("var(--ds-space-050, 4px)", ")"),
12
+ height: "calc(100% - ".concat("var(--ds-space-050, 4px)", ")"),
13
+ top: "var(--ds-space-050, 4px)",
14
+ left: "var(--ds-space-050, 4px)",
15
+ filter: "blur(".concat("var(--ds-space-100, 8px)", ")"),
16
16
  // for safari... : https://stackoverflow.com/a/71353198
17
17
  backfaceVisibility: 'hidden',
18
18
  transform: 'translate3d(0, 0, 0)'
@@ -4,7 +4,6 @@
4
4
  * with modifications.
5
5
  */
6
6
 
7
- export var GLOW_SIZE = 8;
8
7
  export var INNER_BORDER_RADIUS = 8;
9
8
  export var OUTER_BORDER_RADIUS = 10;
10
9
 
@@ -3,6 +3,7 @@ import React from 'react';
3
3
  import Markdown from 'markdown-to-jsx';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import AIStateIndicator from '../../FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator';
6
+ import UList from './ulist';
6
7
  var AITooltipIcon = function AITooltipIcon() {
7
8
  return jsx(AIStateIndicator, {
8
9
  appearance: "icon-only",
@@ -10,7 +11,7 @@ var AITooltipIcon = function AITooltipIcon() {
10
11
  testId: "ai-tooltip"
11
12
  });
12
13
  };
13
- var AISummaryCSS = css({
14
+ var AISummaryCSSStyles = css({
14
15
  fontSize: '0.75rem',
15
16
  lineHeight: '1rem',
16
17
  wordWrap: 'break-word',
@@ -38,12 +39,13 @@ var AISummary = function AISummary(_ref) {
38
39
  }
39
40
  return jsx(Markdown, {
40
41
  "data-testid": testId,
41
- css: [AISummaryCSS, overrideCss],
42
+ css: [AISummaryCSSStyles, overrideCss],
42
43
  children: showIcon ? "".concat(content, "&nbsp;<Icon />") : content,
43
44
  options: {
44
45
  forceWrapper: true,
45
46
  overrides: {
46
- Icon: iconComponent !== null && iconComponent !== void 0 ? iconComponent : AITooltipIcon
47
+ Icon: iconComponent !== null && iconComponent !== void 0 ? iconComponent : AITooltipIcon,
48
+ ul: UList
47
49
  }
48
50
  },
49
51
  style: {
@@ -0,0 +1,18 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["children"];
4
+ /** @jsx jsx */
5
+ import React from 'react';
6
+ import { css, jsx } from '@emotion/react';
7
+ var listStyles = css({
8
+ paddingLeft: "var(--ds-space-250, 20px)",
9
+ paddingInlineStart: "var(--ds-space-250, 20px)"
10
+ });
11
+ var UList = function UList(_ref) {
12
+ var children = _ref.children,
13
+ props = _objectWithoutProperties(_ref, _excluded);
14
+ return jsx("ul", _extends({
15
+ css: listStyles
16
+ }, props), children);
17
+ };
18
+ export default UList;
@@ -1,4 +1,8 @@
1
1
  import facepaint from 'facepaint';
2
+
3
+ // this function is used for spacing, fontsize and line height,
4
+ // once design tokens have been established for the all of these categories
5
+ // then this function can be replaced with the tokens
2
6
  var gs = function gs(times) {
3
7
  return "".concat(8 * times, "px");
4
8
  };
@@ -4,7 +4,6 @@ import { AIThemeBorderPalette } from './types';
4
4
  * https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
5
5
  * with modifications.
6
6
  */
7
- export declare const GLOW_SIZE = 8;
8
7
  export declare const INNER_BORDER_RADIUS = 8;
9
8
  export declare const OUTER_BORDER_RADIUS = 10;
10
9
  export declare const aiThemeTokens: {
@@ -0,0 +1,4 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ declare const UList: React.FC<React.HTMLAttributes<HTMLUListElement>>;
4
+ export default UList;
@@ -4,7 +4,6 @@ import { AIThemeBorderPalette } from './types';
4
4
  * https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
5
5
  * with modifications.
6
6
  */
7
- export declare const GLOW_SIZE = 8;
8
7
  export declare const INNER_BORDER_RADIUS = 8;
9
8
  export declare const OUTER_BORDER_RADIUS = 10;
10
9
  export declare const aiThemeTokens: {
@@ -0,0 +1,4 @@
1
+ /** @jsx jsx */
2
+ import React from 'react';
3
+ declare const UList: React.FC<React.HTMLAttributes<HTMLUListElement>>;
4
+ export default UList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.50.4",
3
+ "version": "26.50.6",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -51,10 +51,10 @@
51
51
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",
52
52
  "@atlaskit/platform-feature-flags": "^0.2.1",
53
53
  "@atlaskit/popup": "^1.13.0",
54
- "@atlaskit/primitives": "^5.0.0",
54
+ "@atlaskit/primitives": "^5.1.0",
55
55
  "@atlaskit/spinner": "^16.0.0",
56
56
  "@atlaskit/theme": "^12.6.0",
57
- "@atlaskit/tokens": "^1.41.0",
57
+ "@atlaskit/tokens": "^1.42.0",
58
58
  "@atlaskit/tooltip": "^18.1.0",
59
59
  "@atlaskit/ufo": "^0.2.0",
60
60
  "@babel/runtime": "^7.0.0",