@atlaskit/smart-card 43.6.0 → 43.6.2
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/CHANGELOG.md +13 -0
- package/dist/cjs/extractors/embed/index.js +1 -1
- package/dist/cjs/ssr.js +2 -1
- package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/index.js +3 -1
- package/dist/cjs/state/hooks/use-invoke-client-action/index.js +3 -0
- package/dist/cjs/state/hooks/use-resolve-hyperlink/index.js +3 -0
- package/dist/cjs/state/hooks-external/useSmartLinkActions.js +2 -1
- package/dist/cjs/state/hooks-external/useSmartLinkReload.js +3 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ForbiddenView.compiled.css +1 -1
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/cjs/view/BlockCard/views/NotFoundView.compiled.css +1 -1
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.compiled.css +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +1 -1
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.compiled.css +1 -1
- package/dist/cjs/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.compiled.css +2 -2
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.js +2 -2
- package/dist/cjs/view/CardWithUrl/loader.js +2 -1
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.compiled.css +5 -5
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +5 -5
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +3 -3
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.compiled.css +3 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/block/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-badge-element/index.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -6
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/custom-by-access-type-element/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- package/dist/cjs/view/InlineCard/common/action-button/index.compiled.css +12 -12
- package/dist/cjs/view/InlineCard/common/action-button/index.js +5 -5
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.compiled.css +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/EmptyState.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.compiled.css +6 -6
- package/dist/cjs/view/RelatedLinksModal/components/related-link-item/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.compiled.css +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +1 -1
- package/dist/cjs/view/common/ai-summary/index.compiled.css +1 -1
- package/dist/cjs/view/common/ai-summary/index.js +1 -1
- package/dist/es2019/extractors/embed/index.js +1 -1
- package/dist/es2019/ssr.js +2 -0
- package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/index.js +3 -0
- package/dist/es2019/state/hooks/use-invoke-client-action/index.js +3 -0
- package/dist/es2019/state/hooks/use-resolve-hyperlink/index.js +3 -0
- package/dist/es2019/state/hooks-external/useSmartLinkActions.js +3 -0
- package/dist/es2019/state/hooks-external/useSmartLinkReload.js +3 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.compiled.css +1 -1
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/es2019/view/BlockCard/views/NotFoundView.compiled.css +1 -1
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.compiled.css +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.compiled.css +1 -1
- package/dist/es2019/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.compiled.css +2 -2
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.js +2 -2
- package/dist/es2019/view/CardWithUrl/loader.js +2 -0
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.compiled.css +5 -5
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +5 -5
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +3 -3
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.compiled.css +3 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/block/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-badge-element/index.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -6
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/custom-by-access-type-element/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- package/dist/es2019/view/InlineCard/common/action-button/index.compiled.css +12 -12
- package/dist/es2019/view/InlineCard/common/action-button/index.js +5 -5
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.compiled.css +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/EmptyState.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.compiled.css +6 -6
- package/dist/es2019/view/RelatedLinksModal/components/related-link-item/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.compiled.css +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +1 -1
- package/dist/es2019/view/common/ai-summary/index.compiled.css +1 -1
- package/dist/es2019/view/common/ai-summary/index.js +1 -1
- package/dist/esm/extractors/embed/index.js +1 -1
- package/dist/esm/ssr.js +2 -0
- package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/index.js +3 -0
- package/dist/esm/state/hooks/use-invoke-client-action/index.js +3 -0
- package/dist/esm/state/hooks/use-resolve-hyperlink/index.js +3 -0
- package/dist/esm/state/hooks-external/useSmartLinkActions.js +3 -0
- package/dist/esm/state/hooks-external/useSmartLinkReload.js +3 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ErroredView.js +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.compiled.css +1 -1
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +1 -1
- package/dist/esm/view/BlockCard/views/NotFoundView.compiled.css +1 -1
- package/dist/esm/view/BlockCard/views/NotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.compiled.css +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.js +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorisedView.compiled.css +1 -1
- package/dist/esm/view/BlockCard/views/UnauthorisedView.js +1 -1
- package/dist/esm/view/BlockCard/views/unresolved-view/index.compiled.css +2 -2
- package/dist/esm/view/BlockCard/views/unresolved-view/index.js +2 -2
- package/dist/esm/view/CardWithUrl/loader.js +2 -0
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.compiled.css +5 -5
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +5 -5
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +3 -3
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +2 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/rule/main.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-footer-block/resolved/ai-footer-metadata.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.compiled.css +3 -3
- package/dist/esm/view/FlexibleCard/components/blocks/block/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-badge-element/index.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-badge-element/index.js +2 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-date-time-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -6
- package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-text-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/custom-by-access-type-element/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/snippet-element/index.js +1 -1
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- package/dist/esm/view/InlineCard/common/action-button/index.compiled.css +12 -12
- package/dist/esm/view/InlineCard/common/action-button/index.js +5 -5
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.compiled.css +1 -1
- package/dist/esm/view/RelatedLinksModal/components/EmptyState.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.compiled.css +6 -6
- package/dist/esm/view/RelatedLinksModal/components/related-link-item/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.compiled.css +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +1 -1
- package/dist/esm/view/common/ai-summary/index.compiled.css +1 -1
- package/dist/esm/view/common/ai-summary/index.js +1 -1
- package/dist/types/extractors/embed/index.d.ts +1 -1
- package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +1 -5
- package/dist/types-ts4.5/extractors/embed/index.d.ts +1 -1
- package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +1 -5
- package/package.json +8 -8
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
._1yyjkb7n{-webkit-line-clamp:1}
|
|
12
12
|
._o5724jg8{white-space:normal}
|
|
13
13
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
14
|
-
.
|
|
14
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
15
15
|
@supports not (-webkit-line-clamp:1){._102k1j6v{max-height:1rem}}
|
package/dist/cjs/view/FlexibleCard/components/elements/custom-by-access-type-element/index.js
CHANGED
|
@@ -61,7 +61,7 @@ var CustomElementByAccessType = function CustomElementByAccessType(_ref) {
|
|
|
61
61
|
"data-testid": testId
|
|
62
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
63
63
|
,
|
|
64
|
-
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq
|
|
64
|
+
className: (0, _runtime.ax)(["_11c81o8v _1reo15vq _18m915vq _syazazsu _o5724jg8 _1e0ccj1k _1ul9idpf _1bto1l2s _1nmz1hna _sudp1e54", props.fontSize !== undefined && fontOverrideStyleMap[props.fontSize], "_1yyjkb7n _102k1j6v", className])
|
|
65
65
|
}, contentForAccessType);
|
|
66
66
|
};
|
|
67
67
|
var _default = exports.default = CustomElementByAccessType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
._181u1kdv{-webkit-user-select:text}
|
|
2
2
|
._1rkw1kdv{-moz-user-select:text}
|
|
3
3
|
._1ul9idpf{min-width:0}
|
|
4
|
-
.
|
|
4
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
5
5
|
._te171kdv{-ms-user-select:text}
|
|
6
6
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
@@ -30,7 +30,7 @@ var SnippetElement = function SnippetElement(props) {
|
|
|
30
30
|
content: overrideContent !== null && overrideContent !== void 0 ? overrideContent : context === null || context === void 0 ? void 0 : context.snippet,
|
|
31
31
|
maxLines: maxLines,
|
|
32
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
33
|
-
className: (0, _runtime.ax)(["
|
|
33
|
+
className: (0, _runtime.ax)(["_syazi7uo _1ul9idpf _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className])
|
|
34
34
|
}, restOfProps));
|
|
35
35
|
};
|
|
36
36
|
var _default = exports.default = SnippetElement;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
22
22
|
._o5721jtm{white-space:pre-wrap}
|
|
23
23
|
._p12f7vkz{max-width:1pc}
|
|
24
|
-
.
|
|
24
|
+
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
25
25
|
._syaz1y58{color:var(--ds-link,#0052cc)}
|
|
26
26
|
._t9ec1ooe{transform:translate(-50%,-50%)}
|
|
27
27
|
._tzy4idpf{opacity:0}
|
|
@@ -30,7 +30,7 @@ var styles = {
|
|
|
30
30
|
iconOuterWrapperStyle: "_1e0c1o8l _2hwx1b66 _kqswh2mm",
|
|
31
31
|
iconTitleWrapperStyle: "_o5721jtm _1nmz9jpi _16d9qvcn _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66",
|
|
32
32
|
linkStyle: "_2rkolb4i",
|
|
33
|
-
noLinkAppearanceStyle: "
|
|
33
|
+
noLinkAppearanceStyle: "_syaz1rpy _18u01b66",
|
|
34
34
|
roundImageStyle: "_2rko1rr0"
|
|
35
35
|
};
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled,@atlaskit/design-system/no-html-anchor -- Ignored via go/DSP-18766
|
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
._1y1m1u8q{background-clip:padding-box}
|
|
8
8
|
._80om13gf{cursor:not-allowed}
|
|
9
9
|
._80omtlke{cursor:pointer}
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
13
|
-
.
|
|
10
|
+
._bfhk1i45{background-color:var(--ds-background-accent-gray-bolder,#6b6e76)}
|
|
11
|
+
._bfhkby5v{background-color:var(--ds-background-disabled,#17171708)}
|
|
12
|
+
._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
|
|
13
|
+
._bfhkjmqp{background-color:var(--ds-background-selected-bold,#1868db)}
|
|
14
14
|
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
15
15
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
16
16
|
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
17
17
|
._o5721btx{white-space:break-spaces}
|
|
18
18
|
._qrwqlb4i{border-top-right-radius:var(--ds-radius-xsmall,2px)}
|
|
19
19
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
21
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
22
22
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
23
23
|
._y3gn18uv{text-align:initial}
|
|
24
|
-
.
|
|
25
|
-
.
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
24
|
+
._irr31q28:hover{background-color:var(--ds-background-selected-bold-hovered,#1558bc)}
|
|
25
|
+
._irr3byip:hover{background-color:var(--ds-background-accent-gray-bolder-hovered,#505258)}
|
|
26
|
+
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
27
|
+
._1di612kk:active{background-color:var(--ds-background-selected-bold-pressed,#123263)}
|
|
28
|
+
._1di61gdz:active{background-color:var(--ds-background-neutral-pressed,#080f214a)}
|
|
29
|
+
._1di61van:active{background-color:var(--ds-background-accent-gray-bolder-pressed,#3b3d42)}
|
|
@@ -20,13 +20,13 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
20
20
|
var styles = {
|
|
21
21
|
button: "_1e0c1bgi",
|
|
22
22
|
innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
|
|
23
|
-
enabled: "
|
|
24
|
-
disabled: "
|
|
23
|
+
enabled: "_syazi7uo _80omtlke _bfhki8nm _irr3plhp _1di61gdz",
|
|
24
|
+
disabled: "_syaz1gmx _80om13gf _bfhkby5v"
|
|
25
25
|
};
|
|
26
26
|
var experimentEnabledStyles = {
|
|
27
|
-
control: "
|
|
28
|
-
test1: "_syaz15cr _80omtlke
|
|
29
|
-
test2: "_syaz15cr _80omtlke
|
|
27
|
+
control: "_syazi7uo _80omtlke _bfhki8nm _irr3plhp _1di61gdz",
|
|
28
|
+
test1: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _irr31q28 _1di612kk",
|
|
29
|
+
test2: "_syaz15cr _80omtlke _bfhk1i45 _qrwqlb4i _1o0zlb4i _irr3byip _1di61van"
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* Action button has to be a span for the overflow to work correctly
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "
|
|
25
|
+
packageVersion: "43.6.1",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -15,7 +15,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
16
|
var styles = {
|
|
17
17
|
emptyState: "_zulpu2gc _4cvr1h6o _1e0c1txw _2lx21bp4 _4t3i1osq _1bah1h6o _18u01ejb _2hwx1ejb _y3gn1h6o",
|
|
18
|
-
description: "_19pkze3t _otyr1ejb
|
|
18
|
+
description: "_19pkze3t _otyr1ejb _syazi7uo"
|
|
19
19
|
};
|
|
20
20
|
var EmptyState = exports.EmptyState = function EmptyState(_ref) {
|
|
21
21
|
var testId = _ref.testId,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
._zulputpp{gap:var(--ds-space-150,9pt)}
|
|
3
3
|
._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
|
|
4
4
|
._195g10v4{margin-inline:var(--ds-space-negative-300,-24px)}
|
|
5
|
-
.
|
|
6
|
-
.
|
|
5
|
+
._16qs1mgz{box-shadow:inset 2px 0 0 0 var(--ds-border-selected,#1868db)}
|
|
6
|
+
._bfhk15s3{background-color:var(--ds-background-selected,#e9f2fe)}
|
|
7
7
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
8
8
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
9
|
-
.
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
.
|
|
9
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
10
|
+
._irr3ufnl:hover{background-color:var(--ds-background-selected-hovered,#cfe1fd)}
|
|
11
|
+
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
|
12
|
+
._1di6nozp:active{background-color:var(--ds-background-selected-pressed,#8fb8f6)}
|
|
@@ -36,7 +36,7 @@ var RelatedLinkItem = function RelatedLinkItem(_ref) {
|
|
|
36
36
|
"data-testId": testId,
|
|
37
37
|
onFocus: onFocus,
|
|
38
38
|
role: "presentation",
|
|
39
|
-
className: (0, _runtime.ax)(["_195g10v4 _18zr1ejb", "
|
|
39
|
+
className: (0, _runtime.ax)(["_195g10v4 _18zr1ejb", "_irr31dpa _1di6fcek", isSelected && "_bfhk15s3 _16qs1mgz _irr3ufnl _1di6nozp"])
|
|
40
40
|
}, /*#__PURE__*/React.createElement(_index.Card, {
|
|
41
41
|
appearance: "block",
|
|
42
42
|
ui: ui,
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
._11c81vhk{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._1rjcu2gc{padding-block:var(--ds-space-100,8px)}
|
|
4
4
|
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
5
|
-
.
|
|
5
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
@@ -17,7 +17,7 @@ var _relatedLinkItem = _interopRequireDefault(require("../related-link-item"));
|
|
|
17
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
18
18
|
var styles = {
|
|
19
19
|
sectionTitleOld: "_11c81vhk _1q511b66",
|
|
20
|
-
sectionTitle: "_11c81vhk
|
|
20
|
+
sectionTitle: "_11c81vhk _syazazsu _1q511b66",
|
|
21
21
|
boxStyle: "_11c81o8v _1rjcu2gc"
|
|
22
22
|
};
|
|
23
23
|
var RelatedLinksList = function RelatedLinksList(_ref) {
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
._1rkw1kdv{-moz-user-select:text}
|
|
5
5
|
._o5724jg8{white-space:normal}
|
|
6
6
|
._slp31hna{word-wrap:break-word}
|
|
7
|
-
.
|
|
7
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
8
8
|
._te171kdv{-ms-user-select:text}
|
|
9
9
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
@@ -35,7 +35,7 @@ var AISummary = function AISummary(_ref) {
|
|
|
35
35
|
"data-testid": testId
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
37
37
|
,
|
|
38
|
-
className: (0, _runtime.ax)(["_11c81o8v
|
|
38
|
+
className: (0, _runtime.ax)(["_11c81o8v _syazazsu _slp31hna _1nmz1hna _o5724jg8 _181u1kdv _1rkw1kdv _te171kdv _uizt1kdv", className]),
|
|
39
39
|
children: content,
|
|
40
40
|
options: {
|
|
41
41
|
forceWrapper: true,
|
|
@@ -3,7 +3,7 @@ import { getEmptyJsonLd } from '../../utils/jsonld';
|
|
|
3
3
|
import { extractSmartLinkContext } from '../common/context';
|
|
4
4
|
import { extractIsSupportTheming } from '../common/meta/extractIsSupportTheming';
|
|
5
5
|
import { extractIsTrusted } from '../common/meta/extractIsTrusted';
|
|
6
|
-
export const extractEmbedProps = (response,
|
|
6
|
+
export const extractEmbedProps = (response, _platform, iframeUrlType) => {
|
|
7
7
|
const meta = response === null || response === void 0 ? void 0 : response.meta;
|
|
8
8
|
const jsonLd = (response === null || response === void 0 ? void 0 : response.data) || getEmptyJsonLd();
|
|
9
9
|
return {
|
package/dist/es2019/ssr.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
3
4
|
import uuid from 'uuid';
|
|
4
5
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
5
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -10,6 +11,7 @@ import { LoadingCardLink } from './view/CardWithUrl/component-lazy/LoadingCardLi
|
|
|
10
11
|
// simplifies the logic around rendering and loading placeholders and
|
|
11
12
|
// only contains whats necessary to render the card on SSR mode
|
|
12
13
|
export const CardSSR = props => {
|
|
14
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
13
15
|
const [id] = useState(() => {
|
|
14
16
|
var _props$id;
|
|
15
17
|
return (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : uuid();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
3
|
import uuid from 'uuid';
|
|
3
4
|
import { getBaseUrl } from '@atlaskit/linking-common';
|
|
4
5
|
import { readStream } from './readStream';
|
|
@@ -74,6 +75,8 @@ export class AISummaryService {
|
|
|
74
75
|
for (const subscriber of this.subscribedStateSetters) {
|
|
75
76
|
subscriber(this.state);
|
|
76
77
|
}
|
|
78
|
+
|
|
79
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
77
80
|
const id = uuid();
|
|
78
81
|
try {
|
|
79
82
|
var _this$onStart, _this$onSuccess;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
4
|
import uuid from 'uuid';
|
|
3
5
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
4
6
|
import * as measure from '../../../utils/performance';
|
|
@@ -25,6 +27,7 @@ const useInvokeClientAction = ({
|
|
|
25
27
|
id,
|
|
26
28
|
resourceType = null
|
|
27
29
|
}) => {
|
|
30
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
28
31
|
const experienceId = uuid();
|
|
29
32
|
|
|
30
33
|
// Begin performance instrumentation.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
4
|
import uuid from 'uuid';
|
|
3
5
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
4
6
|
import * as measure from '../../../utils/performance';
|
|
@@ -9,6 +11,7 @@ import { useScheduledRegister } from './useScheduledRegister';
|
|
|
9
11
|
const useResolveHyperlink = ({
|
|
10
12
|
href
|
|
11
13
|
}) => {
|
|
14
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
12
15
|
const [id] = useState(() => uuid());
|
|
13
16
|
const state = useSmartCardState(href);
|
|
14
17
|
const definitionId = getDefinitionId(state.details);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
4
|
import uuid from 'uuid';
|
|
3
5
|
import { useSmartLinkContext } from '@atlaskit/link-provider';
|
|
4
6
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -18,6 +20,7 @@ export function useSmartLinkActions({
|
|
|
18
20
|
actionOptions,
|
|
19
21
|
prefetch
|
|
20
22
|
}) {
|
|
23
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
21
24
|
const id = useMemo(() => uuid(), []);
|
|
22
25
|
const linkState = useLinkState(url);
|
|
23
26
|
const {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
4
|
import uuid from 'uuid';
|
|
3
5
|
import { useSmartCardActions as useLinkActions } from '../actions';
|
|
4
6
|
/**
|
|
@@ -9,6 +11,7 @@ import { useSmartCardActions as useLinkActions } from '../actions';
|
|
|
9
11
|
export function useSmartLinkReload({
|
|
10
12
|
url
|
|
11
13
|
}) {
|
|
14
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
12
15
|
const id = useMemo(() => uuid(), []);
|
|
13
16
|
const linkActions = useLinkActions(id, url);
|
|
14
17
|
return linkActions.reload;
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "
|
|
5
|
+
packageVersion: "43.6.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -23,7 +23,7 @@ const ErroredView = ({
|
|
|
23
23
|
testId: testId
|
|
24
24
|
}), /*#__PURE__*/React.createElement(WarningIcon, {
|
|
25
25
|
label: "errored-warning-icon",
|
|
26
|
-
color: "var(--ds-icon-warning, #
|
|
26
|
+
color: "var(--ds-icon-warning, #E06C00)",
|
|
27
27
|
LEGACY_size: "small",
|
|
28
28
|
testId: `${testId}-warning-icon`
|
|
29
29
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
@@ -95,7 +95,7 @@ const ForbiddenView = ({
|
|
|
95
95
|
descriptor: toMessage(messages.invalid_permissions_description, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.descriptiveMessageKey),
|
|
96
96
|
values: messageContext
|
|
97
97
|
},
|
|
98
|
-
className: ax(["
|
|
98
|
+
className: ax(["_syazi7uo"])
|
|
99
99
|
}));
|
|
100
100
|
};
|
|
101
101
|
export default withFlexibleUIBlockCardStyle(ForbiddenView);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
._1bah1yb4{justify-content:space-between}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
5
5
|
._1wpz1fhb{align-self:stretch}
|
|
6
|
-
.
|
|
6
|
+
._2yhz13af [data-smart-element=Title]{color:var(--ds-link,#1868db)}
|
|
7
7
|
._4cvresu3{align-items:flex-end}
|
|
8
8
|
._4t3i1k8s{height:1.5rem}
|
|
9
9
|
._4t3i1osq{height:100%}
|
|
@@ -80,7 +80,7 @@ const ResolvedView = ({
|
|
|
80
80
|
CompetitorPrompt: CompetitorPrompt,
|
|
81
81
|
url: url,
|
|
82
82
|
hideIconLoadingSkeleton: hideIconLoadingSkeleton,
|
|
83
|
-
className: ax(["_zulpu2gc _13mh1pd9
|
|
83
|
+
className: ax(["_zulpu2gc _13mh1pd9 _2yhz13af"])
|
|
84
84
|
})), /*#__PURE__*/React.createElement(MetadataBlock, {
|
|
85
85
|
primary: topMetadata,
|
|
86
86
|
maxLines: 1
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
3
|
-
.
|
|
3
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
@@ -57,7 +57,7 @@ const UnauthorisedView = ({
|
|
|
57
57
|
testId: testId
|
|
58
58
|
}), /*#__PURE__*/React.createElement("div", {
|
|
59
59
|
"data-testid": `${testId}-content`,
|
|
60
|
-
className: ax(["_11c8dcr7
|
|
60
|
+
className: ax(["_11c8dcr7 _syazi7uo _19pku2gc"])
|
|
61
61
|
}, content));
|
|
62
62
|
};
|
|
63
63
|
export default withFlexibleUIBlockCardStyle(UnauthorisedView);
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
._1bah1yb4{justify-content:space-between}
|
|
5
5
|
._1e0c1txw{display:flex}
|
|
6
6
|
._1wpz1fhb{align-self:stretch}
|
|
7
|
-
.
|
|
7
|
+
._2yhz13af [data-smart-element=Title]{color:var(--ds-link,#1868db)}
|
|
8
8
|
._4cvr1y6m{align-items:flex-start}
|
|
9
9
|
._4cvresu3{align-items:flex-end}
|
|
10
10
|
._4t3i1k8s{height:1.5rem}
|
|
11
11
|
._4t3i1osq{height:100%}
|
|
12
12
|
._7yjtidpf >div{margin-top:0}
|
|
13
|
-
.
|
|
13
|
+
._ngc0i7uo >div{color:var(--ds-text,#292a2e)}
|
|
@@ -46,9 +46,9 @@ const UnresolvedView = ({
|
|
|
46
46
|
}, fg('prompt_whiteboard_competitor_link_gate') ? {
|
|
47
47
|
CompetitorPrompt
|
|
48
48
|
} : undefined, {
|
|
49
|
-
className: ax(["_zulpu2gc _13mh1pd9
|
|
49
|
+
className: ax(["_zulpu2gc _13mh1pd9 _2yhz13af"])
|
|
50
50
|
})), /*#__PURE__*/React.createElement(CustomBlock, {
|
|
51
|
-
className: ax(["_zulp1b66 _1e0c1txw _4cvr1y6m _1wpz1fhb _7yjtidpf
|
|
51
|
+
className: ax(["_zulp1b66 _1e0c1txw _4cvr1y6m _1wpz1fhb _7yjtidpf _ngc0i7uo"])
|
|
52
52
|
}, children), showPreview && /*#__PURE__*/React.createElement(PreviewBlock, PreviewBlockOptions), /*#__PURE__*/React.createElement(InternalFooterBlock, {
|
|
53
53
|
actions: actions,
|
|
54
54
|
testId: "smart-block-card-footer",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { lazy, Suspense, useCallback, useEffect, useState } from 'react';
|
|
2
2
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
3
3
|
import { di } from 'react-magnetic-di';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
5
|
import uuid from 'uuid';
|
|
5
6
|
import { useAnalyticsEvents } from '../../common/analytics/generated/use-analytics-events';
|
|
6
7
|
import { failUfoExperience, startUfoExperience } from '../../state/analytics';
|
|
@@ -11,6 +12,7 @@ import { clearMarks, clearMeasures } from '../../utils/performance';
|
|
|
11
12
|
import { LoadingCardLink } from './component-lazy/LoadingCardLink';
|
|
12
13
|
export const LazyCardWithUrlContent = /*#__PURE__*/lazy(() => importWithRetry(() => import( /* webpackChunkName: "@atlaskit-internal_smartcard-urlcardcontent" */'./component-lazy/index')));
|
|
13
14
|
export function CardWithURLRenderer(props) {
|
|
15
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
14
16
|
const [id] = useState(() => props.id ? props.id : uuid());
|
|
15
17
|
const {
|
|
16
18
|
fireEvent
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
._11c8140y{font:var(--ds-font-heading-xsmall,normal 600 14px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._14mjpb1k:after{border-radius:var(--ds-radius-xlarge,9pt)}
|
|
3
|
-
.
|
|
4
|
-
.
|
|
3
|
+
._19itdlqj{border:solid var(--ds-border-width,1px) var(--ds-border,#0b120e24)}
|
|
4
|
+
._1tqzia51:after{outline:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
5
5
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
6
|
-
.
|
|
6
|
+
._hcgvia51:hover:after{outline:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
7
7
|
._qc5o94zs:after{transition:background .3s,box-shadow .3s}
|
|
8
8
|
._v56414au{transition:outline .3s}
|
|
9
9
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
._4t3igktf{height:20px}
|
|
39
39
|
._4t3ik5xz{height:27pc}
|
|
40
40
|
._4tpuhp5a:hover:after{background-color:var(--ds-surface-raised,#fff)}
|
|
41
|
-
.
|
|
41
|
+
._8x3u1yw3:after{box-shadow:0 0 0 3px var(--ds-border-selected,#1868db)}
|
|
42
42
|
._aetrb3bt:after{content:""}
|
|
43
43
|
._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
|
|
44
44
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
._1bnxglyw:hover{text-decoration-line:none}
|
|
53
53
|
._9oik1r31:hover{text-decoration-color:currentColor}
|
|
54
54
|
._jf4cnqa1:hover{text-decoration-style:solid}
|
|
55
|
-
.
|
|
55
|
+
._1jhm1tt7:active{outline:8px solid var(--ds-background-selected,#e9f2fe)}
|
|
@@ -85,15 +85,15 @@ export const ExpandedFrame = ({
|
|
|
85
85
|
const styles = {
|
|
86
86
|
linkWrapper: "_zulpu2gc _kqswh2mm _1e0c1txw _2lx21bp4 _4t3ik5xz _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _uiztglyw _qc5o94zs _14mjpb1k _aetrb3bt _18postnw _15l2idpf _32rxidpf _1x88idpf _19doidpf _1hfk1j28 _1bqqidpf _u94kidpf _1ifiidpf",
|
|
87
87
|
linkWrapperInheritDimensions: "_4t3i1osq",
|
|
88
|
-
linkWrapperSelected: "
|
|
89
|
-
linkWrapperBorderAndBackground: "
|
|
90
|
-
linkWrapperInteractiveNotHidden: "
|
|
88
|
+
linkWrapperSelected: "_8x3u1yw3",
|
|
89
|
+
linkWrapperBorderAndBackground: "_1tqzia51 _1hfkhp5a _1ifikb7n",
|
|
90
|
+
linkWrapperInteractiveNotHidden: "_hcgvia51 _4tpuhp5a _x148kb7n",
|
|
91
91
|
header: "_11c8140y _zulp1b66 _1e0c1txw _4cvr1h6o _1bah1yb4 _4t3igktf _1pbykb7n",
|
|
92
92
|
leftSection: "_zulp1b66 _1e0c1txw _4cvr1h6o _1ul9idpf",
|
|
93
93
|
tooltipWrapper: "_1reo15vq _18m915vq",
|
|
94
94
|
headerAnchor: "_11c8140y _1reo15vq _18m915vq _1e0c1ule _1bto1l2s _o5721q9c _9oik1r31 _1bnxglyw _jf4cnqa1",
|
|
95
95
|
headerIcon: "_11c8140y _1bsb7vkz _4t3i7vkz",
|
|
96
|
-
contentStyle: "
|
|
97
|
-
contentInteractiveActiveBorder: "
|
|
96
|
+
contentStyle: "_19itdlqj _2rko12b0 _1reo15vq _18m915vq _v56414au _bfhkhp5a _16jlkb7n _4t3i1osq _1pbykb7n",
|
|
97
|
+
contentInteractiveActiveBorder: "_1jhm1tt7",
|
|
98
98
|
contentOverflowAuto: "_1reo1wug _18m91wug"
|
|
99
99
|
};
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
5
5
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
6
6
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
7
|
-
.
|
|
7
|
+
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
8
8
|
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
9
9
|
._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
10
|
-
.
|
|
11
|
-
.
|
|
10
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
11
|
+
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -10,8 +10,8 @@ import Spinner from '@atlaskit/spinner';
|
|
|
10
10
|
import { getPrimitivesInlineSpaceBySize } from '../../../utils';
|
|
11
11
|
import ActionIcon from '../action-icon';
|
|
12
12
|
const styles = {
|
|
13
|
-
button: "_bfhksm61 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _1ah31i6y
|
|
14
|
-
content: "_11c81o8v
|
|
13
|
+
button: "_bfhksm61 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
|
|
14
|
+
content: "_11c81o8v _syazi7uo"
|
|
15
15
|
};
|
|
16
16
|
const ActionButton = ({
|
|
17
17
|
content,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
|
|
3
3
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
4
|
._1dqonqa1{border-style:solid}
|
|
5
|
-
.
|
|
6
|
-
.
|
|
5
|
+
._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
|
|
6
|
+
._1h6d1w55{border-color:var(--ds-border-accent-blue,#357de8)}
|
|
7
7
|
._4t3i1f4h{height:28px}
|
|
@@ -8,8 +8,8 @@ import { Box, Stack } from '@atlaskit/primitives/compiled';
|
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import { useAutomationMenu } from '../../menu-context';
|
|
10
10
|
const styles = {
|
|
11
|
-
ruleButtonStyle: "_2rko12b0
|
|
12
|
-
selectedRuleButtonStyle: "_2rko12b0
|
|
11
|
+
ruleButtonStyle: "_2rko12b0 _1h6d1l7x _1dqonqa1 _189ee4h9",
|
|
12
|
+
selectedRuleButtonStyle: "_2rko12b0 _1h6d1w55 _1dqonqa1 _189e1dm9",
|
|
13
13
|
ruleNameStyle: "_4t3i1f4h"
|
|
14
14
|
};
|
|
15
15
|
export const AutomationModalRule = ({
|
|
@@ -8,7 +8,7 @@ import MotionWrapper from '../../../common/motion-wrapper';
|
|
|
8
8
|
const styles = {
|
|
9
9
|
containerStyles: "_kkk2n7od _2rko12b0 _1rjc12x7 _18zru2gc _19pku2gc _2hwxu2gc _otyrze3t _18u0u2gc _1bsb1osq _fiawglyw",
|
|
10
10
|
errorContentStyles: "_bozgv77o",
|
|
11
|
-
titleStyles: "_11c8dcr7
|
|
11
|
+
titleStyles: "_11c8dcr7 _syazazsu"
|
|
12
12
|
};
|
|
13
13
|
const getIcon = appearance => {
|
|
14
14
|
switch (appearance) {
|
|
@@ -33,13 +33,13 @@ export const AIFooterMetadata = ({
|
|
|
33
33
|
}, tooltipProps => /*#__PURE__*/React.createElement(Box, tooltipProps, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
34
34
|
label: "Information",
|
|
35
35
|
LEGACY_size: "small",
|
|
36
|
-
color: "var(--ds-icon-subtle, #
|
|
36
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
37
37
|
}))), /*#__PURE__*/React.createElement(AIIcon, _extends({
|
|
38
38
|
label: "AI"
|
|
39
39
|
}, fg('navx-1959-remove-custom-ai-icon') ? undefined : {
|
|
40
40
|
LEGACY_fallbackIcon: LegacyAIIcon,
|
|
41
41
|
LEGACY_size: 'small'
|
|
42
42
|
}, {
|
|
43
|
-
color: "var(--ds-icon-subtle, #
|
|
43
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
44
44
|
})));
|
|
45
45
|
};
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
._zulpv47k{gap:var(--ds-space-250,20px)}._12ji1kw7{outline-color:inherit}
|
|
6
6
|
._12ji1snc{outline-color:currentColor!important}
|
|
7
7
|
._12y310yn{outline-width:medium!important}
|
|
8
|
-
.
|
|
8
|
+
._17aedgkc [data-separator][data-smart-element=TargetBranch]+[data-separator][data-smart-element=SourceBranch]:before{color:var(--ds-icon-subtle,#505258)}
|
|
9
9
|
._181uglyw{-webkit-user-select:none}
|
|
10
10
|
._18m915vq{overflow-y:hidden}
|
|
11
11
|
._18ql1j28{-webkit-tap-highlight-color:transparent}
|
|
12
12
|
._1bah1y6m{justify-content:flex-start}
|
|
13
13
|
._1e0c1txw{display:flex}
|
|
14
|
-
.
|
|
14
|
+
._1gu2dgkc [data-separator][data-smart-element=SourceBranch]+[data-separator][data-smart-element=TargetBranch]:before{color:var(--ds-icon-subtle,#505258)}
|
|
15
15
|
._1ifmglyw{-webkit-touch-callout:none}
|
|
16
16
|
._1ljq1b66 [data-separator]+[data-separator]:before{margin-right:var(--ds-space-050,4px)}
|
|
17
17
|
._1ljqpxbi [data-separator]+[data-separator]:before{margin-right:var(--ds-space-200,1pc)}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
._4cvr1h6o{align-items:center}
|
|
28
28
|
._4cvr1y6m{align-items:flex-start}
|
|
29
29
|
._5b7tuxlv [data-separator][data-smart-element=TargetBranch]+[data-separator][data-smart-element=SourceBranch]:before{content:"←"}
|
|
30
|
-
.
|
|
30
|
+
._a6bx1l7x [data-separator]+[data-separator]:before{color:var(--ds-border,#0b120e24)}
|
|
31
31
|
._e4i5bjq5 [data-separator][data-smart-element=SourceBranch]+[data-separator][data-smart-element=TargetBranch]:before{content:"→"}
|
|
32
32
|
._fiawglyw:empty{display:none}
|
|
33
33
|
._syaz1kw7{color:inherit}
|