@arc-ui/community-components 3.2.0 → 3.3.0
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +19 -0
- package/lib/Accordion/Accordion.cjs +2 -3
- package/lib/Accordion/Accordion.mjs +2 -3
- package/lib/ActionTile/ActionTile.cjs +4 -5
- package/lib/ActionTile/ActionTile.mjs +2 -3
- package/lib/ActionTile/styles.css +1 -1
- package/lib/ArticleSidebar/ArticleSidebar.cjs +9 -10
- package/lib/ArticleSidebar/ArticleSidebar.mjs +4 -5
- package/lib/Author/Author.cjs +2 -3
- package/lib/Author/Author.mjs +2 -3
- package/lib/BannerWithTabs/BannerWithTabs.cjs +4 -5
- package/lib/BannerWithTabs/BannerWithTabs.mjs +4 -5
- package/lib/ContentInfoWidget/ContentInfoWidget.cjs +3 -2
- package/lib/ContentInfoWidget/ContentInfoWidget.mjs +3 -2
- package/lib/CopyLead/CopyLead.cjs +14 -15
- package/lib/CopyLead/CopyLead.mjs +2 -3
- package/lib/DownloadList/DownloadList.cjs +6 -8
- package/lib/DownloadList/DownloadList.mjs +6 -8
- package/lib/FAQs/FAQs.cjs +5 -6
- package/lib/FAQs/FAQs.mjs +3 -4
- package/lib/FeaturePost/FeaturePost.cjs +13 -14
- package/lib/FeaturePost/FeaturePost.mjs +5 -6
- package/lib/Highlights/Highlights.cjs +11 -12
- package/lib/Highlights/Highlights.mjs +11 -12
- package/lib/InlineLinkGroup/InlineLinkGroup.cjs +25 -0
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +23 -0
- package/lib/InlineLinkGroup/styles.css +1 -0
- package/lib/LinkTile/LinkTile.cjs +6 -6
- package/lib/LinkTile/LinkTile.mjs +4 -4
- package/lib/LinkTile/styles.css +1 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +5 -6
- package/lib/ProductNavigation/ProductNavigation.mjs +2 -3
- package/lib/PromoListing/PromoListing.cjs +6 -7
- package/lib/PromoListing/PromoListing.mjs +4 -5
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +6 -7
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +3 -4
- package/lib/Quote/Quote.cjs +5 -6
- package/lib/Quote/Quote.mjs +3 -4
- package/lib/SectionHeading/SectionHeading.cjs +2 -3
- package/lib/SectionHeading/SectionHeading.mjs +2 -3
- package/lib/Statistics/Statistics.cjs +21 -19
- package/lib/Statistics/Statistics.mjs +21 -19
- package/lib/Statistics/styles.css +1 -1
- package/lib/Summary/Summary.cjs +3 -3
- package/lib/Summary/Summary.mjs +3 -3
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -3
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -3
- package/lib/_shared/cjs/{Accordion-DfNGOjTm.cjs → Accordion-QqDoB3pY.cjs} +8 -9
- package/lib/_shared/cjs/{Author-D4dKNQem.cjs → Author-aL8YXi7C.cjs} +4 -5
- package/lib/_shared/cjs/{SectionHeading-DeSFM0HV.cjs → SectionHeading-Dj-dJfv3.cjs} +4 -5
- package/lib/_shared/cjs/{ThumbnailSignpost-GkOiwt-Z.cjs → ThumbnailSignpost-SBnrGooA.cjs} +4 -5
- package/lib/_shared/cjs/{tslib.es6-BxB9I209.cjs → filter-attrs-C26zOt4_.cjs} +25 -0
- package/lib/_shared/esm/{Accordion-cd1oYvBv.mjs → Accordion-DrOTh90S.mjs} +1 -2
- package/lib/_shared/esm/{Author-HnYsFTPT.mjs → Author-BVCRPgkl.mjs} +1 -2
- package/lib/_shared/esm/{SectionHeading-CpDLCndw.mjs → SectionHeading-DZOg_gYi.mjs} +1 -2
- package/lib/_shared/esm/{ThumbnailSignpost-BeRiXbUp.mjs → ThumbnailSignpost-DaZByYIH.mjs} +1 -2
- package/lib/_shared/esm/{tslib.es6-D6Wu-xwB.mjs → filter-attrs-D-1kWaCP.mjs} +25 -1
- package/lib/index.cjs +75 -83
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +24 -63
- package/lib/index.d.mts +24 -63
- package/lib/index.mjs +75 -83
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +4 -4
- package/src/components/ActionTile/ActionTile.module.css +56 -37
- package/src/components/ActionTile/ActionTile.tsx +1 -1
- package/src/components/ArticleSidebar/ArticleSidebar.tsx +4 -6
- package/src/components/Author/Author.tsx +0 -3
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +4 -6
- package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +3 -4
- package/src/components/DownloadList/DownloadList.tsx +8 -8
- package/src/components/FeaturePost/FeaturePost.tsx +3 -7
- package/src/components/Highlights/Highlights.tsx +3 -2
- package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +3 -2
- package/src/components/Highlights/components/HighlightList/HighlightList.tsx +5 -2
- package/src/components/InlineLinkGroup/InlineLinkGroup.module.css +81 -0
- package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +67 -0
- package/src/components/InlineLinkGroup/index.ts +5 -0
- package/src/components/LinkTile/LinkTile.module.css +62 -26
- package/src/components/LinkTile/LinkTile.tsx +8 -1
- package/src/components/PromoListing/PromoListing.tsx +3 -11
- package/src/components/Quote/Quote.tsx +1 -7
- package/src/components/Statistics/Statistics.module.css +0 -10
- package/src/components/Statistics/Statistics.tsx +35 -32
- package/src/components/Summary/Summary.tsx +3 -1
- package/src/components/index.ts +1 -1
- package/versions.json +1 -1
- package/lib/HeroLink/HeroLink.cjs +0 -35
- package/lib/HeroLink/HeroLink.mjs +0 -33
- package/lib/HeroLink/styles.css +0 -1
- package/lib/_shared/cjs/filter-attrs-BizjMsy0.cjs +0 -27
- package/lib/_shared/esm/filter-attrs-DZ7RCEZm.mjs +0 -25
- package/src/components/HeroLink/HeroLink.module.css +0 -44
- package/src/components/HeroLink/HeroLink.tsx +0 -136
- package/src/components/HeroLink/index.ts +0 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@3.
|
|
2
|
+
> @arc-ui/community-components@3.3.0 build /builds/enterprise/frontend/arc-community/packages/components
|
|
3
3
|
> rimraf lib dist && rollup -c && generate-subpath-css && pnpm run build:clean
|
|
4
4
|
|
|
5
5
|
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
@@ -7,15 +7,15 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
|
7
7
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
8
8
|
[36m
|
|
9
9
|
[1msrc/index.ts[22m → [1mlib/index.cjs, lib/index.mjs[22m...[39m
|
|
10
|
-
[32mcreated [1mlib/index.cjs, lib/index.mjs[22m in [
|
|
10
|
+
[32mcreated [1mlib/index.cjs, lib/index.mjs[22m in [1m7.6s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./lib/types/index.d.ts[22m → [1mlib/index.d.mts, lib/index.d.cts[22m...[39m
|
|
13
13
|
[1m[33m(!) Unresolved dependencies[39m[22m
|
|
14
14
|
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
15
15
|
[1m@arc-ui/components/Avatar[22m (imported by "lib/types/components/Author/Author.d.ts")
|
|
16
|
-
[1m@arc-ui/components/
|
|
17
|
-
[1m@arc-ui/components/Heading[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/ArticleSidebar/types/text-section.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts" and "lib/types/components/ArticleSidebar/types/share.d.ts")
|
|
16
|
+
[1m@arc-ui/components/Heading[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/ArticleSidebar/types/text-section.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/share.d.ts" and "lib/types/components/ArticleSidebar/types/topic.d.ts")
|
|
18
17
|
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
18
|
+
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
|
|
19
19
|
[1m@arc-ui/components/ButtonV2[22m (imported by "lib/types/components/Highlights/Highlights.d.ts" and "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
20
20
|
[1m@arc-ui/components/MediaCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
21
21
|
[1m@arc-ui/components/ImpactCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
@@ -27,17 +27,17 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
|
27
27
|
[1m@arc-ui/components/Tag[22m (imported by "lib/types/components/ArticleSidebar/types/topic.d.ts")
|
|
28
28
|
[1m@arc-ui/components/Button[22m (imported by "lib/types/components/CopyLead/types/copy-lead-button.d.ts" and "lib/types/components/FeaturePost/types/feature-post-cta-footer.d.ts")
|
|
29
29
|
[1m@arc-ui/components/AppButton[22m (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
|
|
30
|
-
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [
|
|
30
|
+
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [1m183ms[22m[39m
|
|
31
31
|
[36m
|
|
32
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/
|
|
33
|
-
[32mcreated [1mlib[22m in [1m5.
|
|
32
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts[22m → [1mlib[22m...[39m
|
|
33
|
+
[32mcreated [1mlib[22m in [1m5.3s[22m[39m
|
|
34
34
|
[36m
|
|
35
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/
|
|
36
|
-
[32mcreated [1mlib[22m in [
|
|
35
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts[22m → [1mlib[22m...[39m
|
|
36
|
+
[32mcreated [1mlib[22m in [1m4.9s[22m[39m
|
|
37
37
|
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
38
38
|
npx update-browserslist-db@latest
|
|
39
39
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
40
40
|
|
|
41
|
-
> @arc-ui/community-components@3.
|
|
41
|
+
> @arc-ui/community-components@3.3.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
|
|
42
42
|
> rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
|
|
43
43
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- eb463d2: Statictics storybook updated and minor styling fix
|
|
8
|
+
- e4e244d: feature post heading and description padding margin fix
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 268ee7f: updated actionTile stories and fixed css, interface decription added
|
|
13
|
+
- 1a0c61a: remove index signatures and subcomponent filterAttrs"
|
|
14
|
+
- 268ee7f: add JSDoc descriptions, remove className prop from InlineLinkGroup and update tokens in CSS
|
|
15
|
+
- 268ee7f: updated css for actionTile,linkTile and added QuickLink component and removed heroLink
|
|
16
|
+
- 1a0c61a: fix: remove index signatures from component interfaces
|
|
17
|
+
- 268ee7f: rename Quickhelp to InlineLinkGroup and add ActionTile toggle in stories
|
|
18
|
+
- 1a0c61a: fix: enable data-_ and aria-_ attributes passthrough for Author, Quote, FeaturePost, and HeroLink components to support analytics and accessibility tracking
|
|
19
|
+
- 268ee7f: Added ActionTile, LinkTile, and HeroLink components for Help & Support page (ARC-1490)
|
|
20
|
+
- 268ee7f: quicklik renamed to quickhelp, updated css and stories
|
|
21
|
+
|
|
3
22
|
## 3.2.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Accordion = require('../_shared/cjs/Accordion-
|
|
4
|
-
require('../_shared/cjs/
|
|
3
|
+
var Accordion = require('../_shared/cjs/Accordion-QqDoB3pY.cjs');
|
|
4
|
+
require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
5
5
|
require('react');
|
|
6
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
8
7
|
require('@arc-ui/components/Heading');
|
|
9
8
|
require('@arc-ui/components/Text');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { A as Accordion } from '../_shared/esm/Accordion-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { A as Accordion } from '../_shared/esm/Accordion-DrOTh90S.mjs';
|
|
2
|
+
import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
6
5
|
import '@arc-ui/components/Heading';
|
|
7
6
|
import '@arc-ui/components/Text';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
6
|
-
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
var Icon = require('@arc-ui/components/Icon');
|
|
8
7
|
|
|
9
8
|
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
@@ -18,7 +17,7 @@ const BtIconTickAlt2Px =
|
|
|
18
17
|
|
|
19
18
|
var ActionTile = function (_a) {
|
|
20
19
|
var _b;
|
|
21
|
-
var icon = _a.icon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props =
|
|
20
|
+
var icon = _a.icon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props = filterAttrs.__rest(_a, ["icon", "heading", "isActive", "onClick", "className"]);
|
|
22
21
|
var tileClasses = index.classNames(styles["action-tile"], (_b = {},
|
|
23
22
|
_b[styles["action-tile--active"]] = isActive,
|
|
24
23
|
_b), className);
|
|
@@ -28,8 +27,8 @@ var ActionTile = function (_a) {
|
|
|
28
27
|
React.createElement(Icon.Icon, { icon: icon, size: 48 }))),
|
|
29
28
|
React.createElement("h3", { className: styles["action-tile-heading"] }, heading)),
|
|
30
29
|
isActive && (React.createElement("div", { className: styles["action-tile-tick"] },
|
|
31
|
-
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size:
|
|
32
|
-
return (React.createElement("div",
|
|
30
|
+
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
31
|
+
return (React.createElement("div", filterAttrs.__assign({ className: tileClasses, onClick: onClick }, filterAttrs.filterAttrs(props)), content));
|
|
33
32
|
};
|
|
34
33
|
|
|
35
34
|
exports.ActionTile = ActionTile;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
4
|
-
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
6
5
|
|
|
7
6
|
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
@@ -26,7 +25,7 @@ var ActionTile = function (_a) {
|
|
|
26
25
|
React.createElement(Icon, { icon: icon, size: 48 }))),
|
|
27
26
|
React.createElement("h3", { className: styles["action-tile-heading"] }, heading)),
|
|
28
27
|
isActive && (React.createElement("div", { className: styles["action-tile-tick"] },
|
|
29
|
-
React.createElement(Icon, { icon: BtIconTickAlt2Px, size:
|
|
28
|
+
React.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
30
29
|
return (React.createElement("div", __assign({ className: tileClasses, onClick: onClick }, filterAttrs(props)), content));
|
|
31
30
|
};
|
|
32
31
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ActionTile-module_action-tile__JPwGb{display:flex;flex-direction:
|
|
1
|
+
.ActionTile-module_action-tile__JPwGb{box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;width:230px;height:164px;padding:var(--sem-space-padding-110);gap:var(--sem-space-padding-70);border-radius:var(--sem-border-radius-xl);border:var(--sem-border-width-xxs) solid var(--sem-color-border-secondary-light-minimal);background:var(--sem-color-bg-secondary-light-default);text-decoration:none;cursor:pointer;transition:border-color 0.2s ease,box-shadow 0.2s ease;position:relative;isolation:isolate;overflow:visible}.ActionTile-module_action-tile-content__ZkgHc{display:flex;flex-direction:column;gap:var(--sem-space-padding-60);flex:1;align-items:flex-start;align-self:stretch}.ActionTile-module_action-tile-icon__PY1EN{display:flex;align-items:center;justify-content:flex-start;width:48px;height:48px;color:var(--sem-color-fg-secondary-light-default);transition:color 0.2s ease}.ActionTile-module_action-tile-heading__Uxdu9{font-family:var(--sem-font-family-heading);font-size:var(--sem-font-size-125);font-weight:var(--sem-font-weight-semi);line-height:var(--sem-line-height-base-scale-m);letter-spacing:0;color:var(--sem-color-fg-secondary-light-default);margin:0;transition:color 0.2s ease;width:100%;word-wrap:break-word;word-wrap:break-word;align-self:stretch;flex-grow:1}.ActionTile-module_action-tile--active__-aWze{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:none}.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile-tick__vhsJE{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--sem-border-radius-l);background:var(--sem-color-fg-primary-light-minimal);color:var(--sem-color-fg-secondary-light-alt);flex-shrink:0;position:absolute;top:-4px;right:-4px;z-index:1}.ActionTile-module_action-tile__JPwGb:hover{border-color:var(--button-v2-colors-light-text-hover);box-shadow:0 0 0 1px var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile--active__-aWze:hover{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:0 0 0 1px var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
6
6
|
var Heading = require('@arc-ui/components/Heading');
|
|
@@ -11,8 +11,7 @@ var Link = require('@arc-ui/components/Link');
|
|
|
11
11
|
var Tag = require('@arc-ui/components/Tag');
|
|
12
12
|
var Toast = require('@arc-ui/components/Toast');
|
|
13
13
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
14
|
-
var Author = require('../_shared/cjs/Author-
|
|
15
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
14
|
+
var Author = require('../_shared/cjs/Author-aL8YXi7C.cjs');
|
|
16
15
|
require('@arc-ui/components/Grid');
|
|
17
16
|
require('@arc-ui/components/Avatar');
|
|
18
17
|
|
|
@@ -55,12 +54,12 @@ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"
|
|
|
55
54
|
*/
|
|
56
55
|
var ArticleSidebar = function (_a) {
|
|
57
56
|
var _b;
|
|
58
|
-
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
|
|
57
|
+
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection, props = filterAttrs.__rest(_a, ["author", "aboutSection", "topics", "share", "additionalContent", "linkSection"]);
|
|
59
58
|
var id = React.useId();
|
|
60
59
|
var _c = React.useState(false), showToast = _c[0], setShowToast = _c[1];
|
|
61
60
|
var url = location.href;
|
|
62
|
-
var copyTextToClipBoard = function () { return
|
|
63
|
-
return
|
|
61
|
+
var copyTextToClipBoard = function () { return filterAttrs.__awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
return filterAttrs.__generator(this, function (_a) {
|
|
64
63
|
switch (_a.label) {
|
|
65
64
|
case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
|
|
66
65
|
case 1:
|
|
@@ -71,7 +70,7 @@ var ArticleSidebar = function (_a) {
|
|
|
71
70
|
});
|
|
72
71
|
}); };
|
|
73
72
|
var shareButtons = share
|
|
74
|
-
?
|
|
73
|
+
? filterAttrs.__spreadArray(filterAttrs.__spreadArray([
|
|
75
74
|
{
|
|
76
75
|
isButton: true,
|
|
77
76
|
onClick: copyTextToClipBoard,
|
|
@@ -102,12 +101,12 @@ var ArticleSidebar = function (_a) {
|
|
|
102
101
|
: []), true) : [];
|
|
103
102
|
var hasTopContent = Boolean(author || aboutSection || additionalContent);
|
|
104
103
|
var hasBottomContent = Boolean(linkSection || topics || share);
|
|
105
|
-
return (React.createElement(
|
|
104
|
+
return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
|
|
106
105
|
React.createElement("div", { className: index.classNames((_b = {},
|
|
107
106
|
_b[styles.textContent] = hasTopContent,
|
|
108
107
|
_b)) },
|
|
109
108
|
author && (React.createElement(React.Fragment, null,
|
|
110
|
-
React.createElement(Author.Author,
|
|
109
|
+
React.createElement(Author.Author, filterAttrs.__assign({}, author, { avatar: filterAttrs.__assign(filterAttrs.__assign({}, author.avatar), { size: "xl" }) })))),
|
|
111
110
|
aboutSection && (React.createElement(React.Fragment, null,
|
|
112
111
|
author && React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
113
112
|
React.createElement(Heading.Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
|
|
@@ -138,7 +137,7 @@ var ArticleSidebar = function (_a) {
|
|
|
138
137
|
linkSection && React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
139
138
|
React.createElement(Heading.Heading, { level: topics.headingLevel }, topics.heading),
|
|
140
139
|
React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
|
|
141
|
-
React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag,
|
|
140
|
+
React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag, filterAttrs.__assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })))),
|
|
142
141
|
share && (React.createElement(React.Fragment, null,
|
|
143
142
|
(linkSection || topics) && (React.createElement("div", { "data-testid": "links-topics-content-rule" },
|
|
144
143
|
React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __spreadArray,
|
|
1
|
+
import { _ as __rest, b as __spreadArray, a as __assign, f as filterAttrs, c as __awaiter, d as __generator } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
2
|
import React, { useId, useState } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
4
4
|
import { Heading } from '@arc-ui/components/Heading';
|
|
@@ -9,8 +9,7 @@ import { Link } from '@arc-ui/components/Link';
|
|
|
9
9
|
import { Tag } from '@arc-ui/components/Tag';
|
|
10
10
|
import { Toast, ToastNotification } from '@arc-ui/components/Toast';
|
|
11
11
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
12
|
-
import { A as Author } from '../_shared/esm/Author-
|
|
13
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
12
|
+
import { A as Author } from '../_shared/esm/Author-BVCRPgkl.mjs';
|
|
14
13
|
import '@arc-ui/components/Grid';
|
|
15
14
|
import '@arc-ui/components/Avatar';
|
|
16
15
|
|
|
@@ -53,7 +52,7 @@ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"
|
|
|
53
52
|
*/
|
|
54
53
|
var ArticleSidebar = function (_a) {
|
|
55
54
|
var _b;
|
|
56
|
-
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
|
|
55
|
+
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection, props = __rest(_a, ["author", "aboutSection", "topics", "share", "additionalContent", "linkSection"]);
|
|
57
56
|
var id = useId();
|
|
58
57
|
var _c = useState(false), showToast = _c[0], setShowToast = _c[1];
|
|
59
58
|
var url = location.href;
|
|
@@ -100,7 +99,7 @@ var ArticleSidebar = function (_a) {
|
|
|
100
99
|
: []), true) : [];
|
|
101
100
|
var hasTopContent = Boolean(author || aboutSection || additionalContent);
|
|
102
101
|
var hasBottomContent = Boolean(linkSection || topics || share);
|
|
103
|
-
return (React.createElement(
|
|
102
|
+
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
104
103
|
React.createElement("div", { className: classNames((_b = {},
|
|
105
104
|
_b[styles.textContent] = hasTopContent,
|
|
106
105
|
_b)) },
|
package/lib/Author/Author.cjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Author = require('../_shared/cjs/Author-
|
|
4
|
-
require('../_shared/cjs/
|
|
3
|
+
var Author = require('../_shared/cjs/Author-aL8YXi7C.cjs');
|
|
4
|
+
require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
5
5
|
require('react');
|
|
6
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
require('@arc-ui/components/Grid');
|
|
8
7
|
require('@arc-ui/components/Avatar');
|
|
9
8
|
require('@arc-ui/components/Heading');
|
package/lib/Author/Author.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { A as Author } from '../_shared/esm/Author-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { A as Author } from '../_shared/esm/Author-BVCRPgkl.mjs';
|
|
2
|
+
import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import '@arc-ui/components/Grid';
|
|
6
5
|
import '@arc-ui/components/Avatar';
|
|
7
6
|
import '@arc-ui/components/Heading';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
5
6
|
var TabbedBanner = require('@arc-ui/components/TabbedBanner');
|
|
6
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
7
|
-
require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
8
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
9
8
|
require('@arc-ui/components/Text');
|
|
10
9
|
require('@arc-ui/components/VerticalSpace');
|
|
11
10
|
require('@arc-ui/components/Image');
|
|
@@ -15,8 +14,8 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
15
14
|
|
|
16
15
|
var BannerWithTabs = function (_a) {
|
|
17
16
|
var _b;
|
|
18
|
-
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM;
|
|
19
|
-
return (React.createElement(
|
|
17
|
+
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM, props = filterAttrs.__rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
18
|
+
return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
|
|
20
19
|
React.createElement("div", { className: index.classNames((_b = {},
|
|
21
20
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
22
21
|
_b)) },
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
3
4
|
import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
|
|
4
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
5
|
-
import '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
|
|
6
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
|
|
7
6
|
import '@arc-ui/components/Text';
|
|
8
7
|
import '@arc-ui/components/VerticalSpace';
|
|
9
8
|
import '@arc-ui/components/Image';
|
|
@@ -13,8 +12,8 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
13
12
|
|
|
14
13
|
var BannerWithTabs = function (_a) {
|
|
15
14
|
var _b;
|
|
16
|
-
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM;
|
|
17
|
-
return (React.createElement(
|
|
15
|
+
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM, props = __rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
16
|
+
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
18
17
|
React.createElement("div", { className: classNames((_b = {},
|
|
19
18
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
20
19
|
_b)) },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var Text = require('@arc-ui/components/Text');
|
|
5
6
|
var Icon = require('@arc-ui/components/Icon');
|
|
@@ -7,8 +8,8 @@ var Icon = require('@arc-ui/components/Icon');
|
|
|
7
8
|
var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
|
|
8
9
|
|
|
9
10
|
var ContentInfoWidget = function (_a) {
|
|
10
|
-
var text = _a.text, icon = _a.icon;
|
|
11
|
-
return (React.createElement("div", { className: styles.container },
|
|
11
|
+
var text = _a.text, icon = _a.icon, props = filterAttrs.__rest(_a, ["text", "icon"]);
|
|
12
|
+
return (React.createElement("div", filterAttrs.__assign({ className: styles.container }, filterAttrs.filterAttrs(props)),
|
|
12
13
|
React.createElement("div", { className: styles.icon },
|
|
13
14
|
React.createElement(Icon.Icon, { size: 20, icon: icon })),
|
|
14
15
|
React.createElement("div", { className: styles.text },
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { Text } from '@arc-ui/components/Text';
|
|
3
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
@@ -5,8 +6,8 @@ import { Icon } from '@arc-ui/components/Icon';
|
|
|
5
6
|
var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
|
|
6
7
|
|
|
7
8
|
var ContentInfoWidget = function (_a) {
|
|
8
|
-
var text = _a.text, icon = _a.icon;
|
|
9
|
-
return (React.createElement("div", { className: styles.container },
|
|
9
|
+
var text = _a.text, icon = _a.icon, props = __rest(_a, ["text", "icon"]);
|
|
10
|
+
return (React.createElement("div", __assign({ className: styles.container }, filterAttrs(props)),
|
|
10
11
|
React.createElement("div", { className: styles.icon },
|
|
11
12
|
React.createElement(Icon, { size: 20, icon: icon })),
|
|
12
13
|
React.createElement("div", { className: styles.text },
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
6
5
|
var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.cjs');
|
|
7
6
|
var Columns = require('@arc-ui/components/Columns');
|
|
8
7
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
@@ -13,7 +12,7 @@ var Image$1 = require('@arc-ui/components/Image');
|
|
|
13
12
|
var Icon = require('@arc-ui/components/Icon');
|
|
14
13
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
15
14
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
16
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
15
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
17
16
|
|
|
18
17
|
var styles = {"buttonContainer":"CopyLead-module_buttonContainer__3OaRG","col":"CopyLead-module_col__0Da5H","container":"CopyLead-module_container__I91ym","container--content":"CopyLead-module_container--content__e8LxG","container--media":"CopyLead-module_container--media__QcMWi","container--align-center":"CopyLead-module_container--align-center__Fh1Sd","container--align-top":"CopyLead-module_container--align-top__UIXOZ","list":"CopyLead-module_list__arnJd","listItem":"CopyLead-module_listItem__NscHE","listItemCentered":"CopyLead-module_listItemCentered__Kwdab","listItemIconContainer":"CopyLead-module_listItemIconContainer__dgnhJ","listItemTextContainer":"CopyLead-module_listItemTextContainer__Dl9lw","imgWrapper":"CopyLead-module_imgWrapper__HYP3w","mediaContainer":"CopyLead-module_mediaContainer__PxTnm","content":"CopyLead-module_content__Bja1D","container--reverse":"CopyLead-module_container--reverse__Gq9u8"};
|
|
19
18
|
|
|
@@ -27,10 +26,10 @@ var MediaContent = function (_a) {
|
|
|
27
26
|
};
|
|
28
27
|
|
|
29
28
|
var Image = function (_a) {
|
|
30
|
-
var sources = _a.sources, props =
|
|
29
|
+
var sources = _a.sources, props = filterAttrs.__rest(_a, ["sources"]);
|
|
31
30
|
return (React.createElement("div", { className: styles.imgWrapper },
|
|
32
|
-
React.createElement(Image$1.Image,
|
|
33
|
-
sources.map(function (source) { return React.createElement("source",
|
|
31
|
+
React.createElement(Image$1.Image, filterAttrs.__assign({ fadeOnLoad: true }, props), sources &&
|
|
32
|
+
sources.map(function (source) { return React.createElement("source", filterAttrs.__assign({ key: source.srcSet }, source)); }))));
|
|
34
33
|
};
|
|
35
34
|
|
|
36
35
|
var IconList = function (_a) {
|
|
@@ -52,7 +51,7 @@ var IconList = function (_a) {
|
|
|
52
51
|
};
|
|
53
52
|
|
|
54
53
|
var Button = function (props) { return (React.createElement("div", { className: styles.buttonContainer },
|
|
55
|
-
React.createElement(ButtonV2.ButtonV2,
|
|
54
|
+
React.createElement(ButtonV2.ButtonV2, filterAttrs.__assign({ isFullWidth: true, buttonStyle: "secondary" }, props)))); };
|
|
56
55
|
|
|
57
56
|
var Container = function (_a) {
|
|
58
57
|
var _b;
|
|
@@ -97,11 +96,11 @@ var MediaTemplate = function (_a) {
|
|
|
97
96
|
React.createElement(Column, null,
|
|
98
97
|
isMinWidthArcBreakpointXl && (React.createElement(MediaContent, { heading: heading }, content)),
|
|
99
98
|
React.createElement(IconList, { listItems: listItems, isLgScreen: isMinWidthArcBreakpointL, headingLevel: listHeadingLevel }),
|
|
100
|
-
button && React.createElement(Button,
|
|
99
|
+
button && React.createElement(Button, filterAttrs.__assign({}, button))),
|
|
101
100
|
React.createElement(Column, null,
|
|
102
101
|
video && isClient && (React.createElement(React.Suspense, { fallback: null },
|
|
103
|
-
React.createElement(VideoPlayer,
|
|
104
|
-
image && !video && React.createElement(Image,
|
|
102
|
+
React.createElement(VideoPlayer, filterAttrs.__assign({}, video)))),
|
|
103
|
+
image && !video && React.createElement(Image, filterAttrs.__assign({}, image))))));
|
|
105
104
|
};
|
|
106
105
|
|
|
107
106
|
var ContentTemplate = function (_a) {
|
|
@@ -112,22 +111,22 @@ var ContentTemplate = function (_a) {
|
|
|
112
111
|
return (React.createElement(Container, { type: "content", alignment: "top" },
|
|
113
112
|
React.createElement(Column, null,
|
|
114
113
|
React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content }),
|
|
115
|
-
button && isMinWidthArcBreakpointM && React.createElement(Button,
|
|
114
|
+
button && isMinWidthArcBreakpointM && React.createElement(Button, filterAttrs.__assign({}, button))),
|
|
116
115
|
React.createElement(Column, null,
|
|
117
116
|
React.createElement(IconList, { listItems: listItems, isLgScreen: isMinWidthArcBreakpointL, headingLevel: listHeadingLevel }),
|
|
118
|
-
button && !isMinWidthArcBreakpointM && React.createElement(Button,
|
|
117
|
+
button && !isMinWidthArcBreakpointM && React.createElement(Button, filterAttrs.__assign({}, button)))));
|
|
119
118
|
};
|
|
120
119
|
|
|
121
120
|
/**
|
|
122
121
|
* Use `CopyLead` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
|
|
123
122
|
*/
|
|
124
123
|
var CopyLead = function (_a) {
|
|
125
|
-
var button = _a.button, heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, listItems = _a.listItems, video = _a.video, image = _a.image, content = _a.content, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.isReverseOrder, isReverseOrder = _c === void 0 ? false : _c, props =
|
|
124
|
+
var button = _a.button, heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, listItems = _a.listItems, video = _a.video, image = _a.image, content = _a.content, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.isReverseOrder, isReverseOrder = _c === void 0 ? false : _c, props = filterAttrs.__rest(_a, ["button", "heading", "id", "headingLevel", "listItems", "video", "image", "content", "isHeadingWordWrap", "isReverseOrder"]);
|
|
126
125
|
if (video || image) {
|
|
127
|
-
return (React.createElement(MediaTemplate,
|
|
126
|
+
return (React.createElement(MediaTemplate, filterAttrs.__assign({ id: id, content: content, video: video, image: image, listItems: listItems, heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, button: button, isReverseOrder: isReverseOrder }, filterAttrs.filterAttrs(props))));
|
|
128
127
|
}
|
|
129
128
|
if (content) {
|
|
130
|
-
return (React.createElement(ContentTemplate,
|
|
129
|
+
return (React.createElement(ContentTemplate, filterAttrs.__assign({ id: id, listItems: listItems, heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, button: button, content: content }, filterAttrs.filterAttrs(props))));
|
|
131
130
|
}
|
|
132
131
|
return null;
|
|
133
132
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
2
|
import React, { useState, useEffect, Suspense } from 'react';
|
|
3
|
-
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
4
3
|
import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-Bfdys5__.mjs';
|
|
5
4
|
import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
|
|
6
5
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
@@ -11,7 +10,7 @@ import { Image as Image$1 } from '@arc-ui/components/Image';
|
|
|
11
10
|
import { Icon } from '@arc-ui/components/Icon';
|
|
12
11
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
13
12
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
14
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
13
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
|
|
15
14
|
|
|
16
15
|
var styles = {"buttonContainer":"CopyLead-module_buttonContainer__3OaRG","col":"CopyLead-module_col__0Da5H","container":"CopyLead-module_container__I91ym","container--content":"CopyLead-module_container--content__e8LxG","container--media":"CopyLead-module_container--media__QcMWi","container--align-center":"CopyLead-module_container--align-center__Fh1Sd","container--align-top":"CopyLead-module_container--align-top__UIXOZ","list":"CopyLead-module_list__arnJd","listItem":"CopyLead-module_listItem__NscHE","listItemCentered":"CopyLead-module_listItemCentered__Kwdab","listItemIconContainer":"CopyLead-module_listItemIconContainer__dgnhJ","listItemTextContainer":"CopyLead-module_listItemTextContainer__Dl9lw","imgWrapper":"CopyLead-module_imgWrapper__HYP3w","mediaContainer":"CopyLead-module_mediaContainer__PxTnm","content":"CopyLead-module_content__Bja1D","container--reverse":"CopyLead-module_container--reverse__Gq9u8"};
|
|
17
16
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
6
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
6
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
7
7
|
var Download = require('@arc-ui/components/Download');
|
|
8
8
|
require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
9
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
10
9
|
require('@arc-ui/components/Text');
|
|
11
10
|
require('@arc-ui/components/Image');
|
|
12
11
|
require('@arc-ui/components/Heading');
|
|
@@ -14,14 +13,13 @@ require('@arc-ui/components/Heading');
|
|
|
14
13
|
var styles = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
|
|
15
14
|
|
|
16
15
|
var DownloadList = function (_a) {
|
|
17
|
-
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads;
|
|
18
|
-
return (React.createElement(
|
|
16
|
+
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, props = filterAttrs.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
|
|
17
|
+
return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
|
|
19
18
|
React.createElement("div", { className: styles.headingContainer },
|
|
20
19
|
React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
|
|
21
20
|
React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
|
|
22
|
-
downloads.map(function (
|
|
23
|
-
React.createElement(Download.Download,
|
|
24
|
-
" ",
|
|
21
|
+
downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i) },
|
|
22
|
+
React.createElement(Download.Download, filterAttrs.__assign({}, downloadProps)),
|
|
25
23
|
i !== downloads.length - 1 && React.createElement(VerticalSpace.VerticalSpace, { size: "16" }))); })));
|
|
26
24
|
};
|
|
27
25
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { _ as __assign } from '../_shared/esm/
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
4
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
4
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
|
|
5
5
|
import { Download } from '@arc-ui/components/Download';
|
|
6
6
|
import '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
7
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
8
7
|
import '@arc-ui/components/Text';
|
|
9
8
|
import '@arc-ui/components/Image';
|
|
10
9
|
import '@arc-ui/components/Heading';
|
|
@@ -12,14 +11,13 @@ import '@arc-ui/components/Heading';
|
|
|
12
11
|
var styles = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
|
|
13
12
|
|
|
14
13
|
var DownloadList = function (_a) {
|
|
15
|
-
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads;
|
|
16
|
-
return (React.createElement(
|
|
14
|
+
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
|
|
15
|
+
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
17
16
|
React.createElement("div", { className: styles.headingContainer },
|
|
18
17
|
React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
|
|
19
18
|
React.createElement(VerticalSpace, { size: "40" }),
|
|
20
|
-
downloads.map(function (
|
|
21
|
-
React.createElement(Download, __assign({},
|
|
22
|
-
" ",
|
|
19
|
+
downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i) },
|
|
20
|
+
React.createElement(Download, __assign({}, downloadProps)),
|
|
23
21
|
i !== downloads.length - 1 && React.createElement(VerticalSpace, { size: "16" }))); })));
|
|
24
22
|
};
|
|
25
23
|
|
package/lib/FAQs/FAQs.cjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-DeSFM0HV.cjs');
|
|
6
|
+
var Accordion = require('../_shared/cjs/Accordion-QqDoB3pY.cjs');
|
|
7
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
9
8
|
var Link = require('@arc-ui/components/Link');
|
|
10
9
|
var Heading = require('@arc-ui/components/Heading');
|
|
11
10
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
@@ -27,8 +26,8 @@ var scrollToSectionFocusFirstElement = function (item) {
|
|
|
27
26
|
};
|
|
28
27
|
var FAQs = function (_a) {
|
|
29
28
|
var _b;
|
|
30
|
-
var heading = _a.heading, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, id = _a.id, _c = _a.isPadded, isPadded = _c === void 0 ? false : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d, image = _a.image, type = _a.type, _e = _a.linkListHeading, linkListHeading = _e === void 0 ? "Skip to section" : _e, accordionData = _a.accordionData, props =
|
|
31
|
-
return (React.createElement("div",
|
|
29
|
+
var heading = _a.heading, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, id = _a.id, _c = _a.isPadded, isPadded = _c === void 0 ? false : _c, _d = _a.headingLevel, headingLevel = _d === void 0 ? "2" : _d, image = _a.image, type = _a.type, _e = _a.linkListHeading, linkListHeading = _e === void 0 ? "Skip to section" : _e, accordionData = _a.accordionData, props = filterAttrs.__rest(_a, ["heading", "isHeadingWordWrap", "content", "id", "isPadded", "headingLevel", "image", "type", "linkListHeading", "accordionData"]);
|
|
30
|
+
return (React.createElement("div", filterAttrs.__assign({ className: styles.FAQs }, filterAttrs.filterAttrs(props)),
|
|
32
31
|
React.createElement(SectionHeading.SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, image: image, headingLevel: headingLevel, isPadded: isPadded }),
|
|
33
32
|
type === "listWithLinks" && (React.createElement("div", { className: styles.linkListSection },
|
|
34
33
|
React.createElement("div", { className: styles.linkListTitle },
|