@arc-ui/community-components 1.0.1 → 1.1.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.
Files changed (38) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/CHANGELOG.md +17 -0
  3. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +2 -2
  4. package/dist/BannerWithTabs/BannerWithTabs.esm.js +1 -1
  5. package/dist/ContentInfoWidget/ContentInfoWidget.cjs.js +18 -0
  6. package/dist/ContentInfoWidget/ContentInfoWidget.esm.js +16 -0
  7. package/dist/ContentInfoWidget/styles.css +1 -0
  8. package/dist/CopyLead/CopyLead.cjs.js +1 -1
  9. package/dist/CopyLead/CopyLead.esm.js +1 -1
  10. package/dist/FeaturePost/FeaturePost.cjs.js +1 -1
  11. package/dist/FeaturePost/FeaturePost.esm.js +1 -1
  12. package/dist/ProductNavigation/ProductNavigation.cjs.js +10 -8
  13. package/dist/ProductNavigation/ProductNavigation.esm.js +5 -3
  14. package/dist/PromoListing/PromoListing.cjs.js +1 -1
  15. package/dist/PromoListing/PromoListing.esm.js +1 -1
  16. package/dist/Summary/Summary.cjs.js +1 -1
  17. package/dist/Summary/Summary.esm.js +1 -1
  18. package/dist/_shared/cjs/{index.es-b6s9A4Ft.js → index.es-Cf6wAvkf.js} +1 -1
  19. package/dist/_shared/esm/{index.es-B89aR7nq.js → index.es-DWVPneQL.js} +1 -1
  20. package/dist/index.es.js +82 -70
  21. package/dist/index.es.js.map +1 -1
  22. package/dist/index.js +84 -71
  23. package/dist/index.js.map +1 -1
  24. package/dist/styles.css +1 -1
  25. package/dist/types/cjs/components/ContentInfoWidget/ContentInfoWidget.d.ts +6 -0
  26. package/dist/types/cjs/components/ContentInfoWidget/index.d.ts +1 -0
  27. package/dist/types/cjs/components/index.d.ts +1 -0
  28. package/dist/types/esm/components/ContentInfoWidget/ContentInfoWidget.d.ts +6 -0
  29. package/dist/types/esm/components/ContentInfoWidget/index.d.ts +1 -0
  30. package/dist/types/esm/components/index.d.ts +1 -0
  31. package/package.json +13 -12
  32. package/src/components/BannerWithTabs/BannerWithTabs.tsx +1 -1
  33. package/src/components/ContentInfoWidget/ContentInfoWidget.module.css +16 -0
  34. package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +30 -0
  35. package/src/components/ContentInfoWidget/index.ts +4 -0
  36. package/src/components/ProductNavigation/ProductNavigation.tsx +4 -6
  37. package/src/components/index.ts +1 -0
  38. package/versions.json +1 -1
@@ -1,16 +1,16 @@
1
1
 
2
- > @arc-ui/community-components@1.0.1 build /builds/enterprise/frontend/arc-community/packages/components
2
+ > @arc-ui/community-components@1.1.0 build /builds/enterprise/frontend/arc-community/packages/components
3
3
  > rimraf dist && rollup -c && generate-subpath-css
4
4
 
5
5
  
6
6
  src/index.ts → dist...
7
- created dist in 7.7s
7
+ created dist in 3.8s
8
8
  
9
9
  src/index.ts → dist/index.es.js...
10
- created dist/index.es.js in 4.7s
10
+ created dist/index.es.js in 2.5s
11
11
  
12
- ./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
13
- created dist in 3.7s
12
+ ./src/components/Accordion/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/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
13
+ created dist in 2.2s
14
14
  
15
- ./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
16
- created dist in 3.8s
15
+ ./src/components/Accordion/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/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
16
+ created dist in 2.1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @arc-ui/community-components
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add ContentInfoWidget component and insert into hero example stories
8
+
9
+ ### Patch Changes
10
+
11
+ - Update arc packages for v12.0.0 release and fix gradients breaking change
12
+
13
+ ## 1.0.2
14
+
15
+ ### Patch Changes
16
+
17
+ - a7b0cac: Update Arc dependancies to v12.0.0-beta.22
18
+ - 362b160: Updating arc component import paths to improve bundling
19
+
3
20
  ## 1.0.1
4
21
 
5
22
  ### Patch Changes
@@ -3,7 +3,7 @@
3
3
  var React = require('react');
4
4
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
5
5
  var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
6
- var components = require('@arc-ui/components');
6
+ var TabbedBanner = require('@arc-ui/components/TabbedBanner');
7
7
  require('../_shared/cjs/tslib.es6-BxB9I209.js');
8
8
  require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
9
9
  require('@arc-ui/components/Heading');
@@ -21,7 +21,7 @@ var BannerWithTabs = function (_a) {
21
21
  _b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
22
22
  _b)), style: { color: isInverted ? "white" : "black" } },
23
23
  React.createElement(SectionHeading.SectionHeading, { heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
24
- React.createElement(components.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
24
+ React.createElement(TabbedBanner.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
25
25
  };
26
26
 
27
27
  exports.BannerWithTabs = BannerWithTabs;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
3
3
  import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
4
- import { TabbedBanner } from '@arc-ui/components';
4
+ import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
5
5
  import '../_shared/esm/tslib.es6-BVXMhEem.js';
6
6
  import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
7
7
  import '@arc-ui/components/Heading';
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var Text = require('@arc-ui/components/Text');
5
+ var Icon = require('@arc-ui/components/Icon');
6
+
7
+ var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
8
+
9
+ var ContentInfoWidget = function (_a) {
10
+ var text = _a.text, icon = _a.icon;
11
+ return (React.createElement("div", { className: styles.container },
12
+ React.createElement("div", { className: styles.icon },
13
+ React.createElement(Icon.Icon, { size: 20, icon: icon })),
14
+ React.createElement("div", { className: styles.text },
15
+ React.createElement(Text.Text, { size: "xs", tone: "muted" }, text))));
16
+ };
17
+
18
+ exports.ContentInfoWidget = ContentInfoWidget;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Text } from '@arc-ui/components/Text';
3
+ import { Icon } from '@arc-ui/components/Icon';
4
+
5
+ var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
6
+
7
+ var ContentInfoWidget = function (_a) {
8
+ var text = _a.text, icon = _a.icon;
9
+ return (React.createElement("div", { className: styles.container },
10
+ React.createElement("div", { className: styles.icon },
11
+ React.createElement(Icon, { size: 20, icon: icon })),
12
+ React.createElement("div", { className: styles.text },
13
+ React.createElement(Text, { size: "xs", tone: "muted" }, text))));
14
+ };
15
+
16
+ export { ContentInfoWidget };
@@ -0,0 +1 @@
1
+ .ContentInfoWidget-module_container__yaS-8{display:flex;flex-direction:row;align-items:center;max-width:250px;white-space:nowrap;overflow-x:hidden}.ContentInfoWidget-module_text__O1BdZ{padding-left:8px}.ContentInfoWidget-module_icon__LEww1{color:var(--sem-color-fg-secondary-light-subtle)}
@@ -3,7 +3,7 @@
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
6
- var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
6
+ var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
7
7
  var Columns = require('@arc-ui/components/Columns');
8
8
  var useMediaQuery = require('@arc-ui/components/use-media-query');
9
9
  var Heading = require('@arc-ui/components/Heading');
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React, { useState, useEffect, Suspense } from 'react';
3
3
  import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
4
- import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-B89aR7nq.js';
4
+ import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
5
5
  import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
6
6
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
7
7
  import { Heading } from '@arc-ui/components/Heading';
@@ -4,7 +4,7 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
6
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
7
- var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
7
+ var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
8
8
  var AppButton = require('@arc-ui/components/AppButton');
9
9
  var Grid = require('@arc-ui/components/Grid');
10
10
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js
2
2
  import React, { useState, useEffect, Suspense } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
4
  import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
- import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-B89aR7nq.js';
5
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
6
6
  import { AppButton } from '@arc-ui/components/AppButton';
7
7
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
8
8
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
@@ -5,12 +5,14 @@ var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
6
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
7
7
  var useMediaQuery = require('@arc-ui/components/use-media-query');
8
- var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
8
+ var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
9
9
  var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
10
- var components = require('@arc-ui/components');
10
+ var ButtonV2 = require('@arc-ui/components/ButtonV2');
11
+ var InformationCard = require('@arc-ui/components/InformationCard');
12
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
13
+ var VisuallyHidden = require('@arc-ui/components/VisuallyHidden');
11
14
  require('@arc-ui/components/Heading');
12
15
  require('@arc-ui/components/Text');
13
- require('@arc-ui/components/VerticalSpace');
14
16
  require('@arc-ui/components/Image');
15
17
 
16
18
  var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
@@ -60,20 +62,20 @@ var ProductNavigation = function (_a) {
60
62
  React.createElement("ul", { className: index.classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
61
63
  var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
62
64
  return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
63
- React.createElement(components.InformationCard, { button: {
65
+ React.createElement(InformationCard.InformationCard, { button: {
64
66
  label: label,
65
67
  href: href,
66
68
  }, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
67
69
  })),
68
- React.createElement(components.VerticalSpace, { size: "40" }),
70
+ React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
69
71
  React.createElement("div", { style: { display: "flex" } },
70
- !hideButton && !hideLessButton && (React.createElement(components.ButtonV2, { label: displayList.length < productList.length
72
+ !hideButton && !hideLessButton && (React.createElement(ButtonV2.ButtonV2, { label: displayList.length < productList.length
71
73
  ? "Show more"
72
74
  : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
73
75
  displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
74
76
  React.createElement("div", { id: "skip-link", className: index.classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
75
- React.createElement(components.ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
76
- React.createElement(components.VisuallyHidden, null,
77
+ React.createElement(ButtonV2.ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
78
+ React.createElement(VisuallyHidden.VisuallyHidden, null,
77
79
  React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
78
80
  React.createElement("p", null,
79
81
  "Total products listed ",
@@ -3,12 +3,14 @@ import React, { useState, useRef, useEffect } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
4
  import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
5
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
6
- import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-B89aR7nq.js';
6
+ import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-DWVPneQL.js';
7
7
  import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
8
- import { InformationCard, VerticalSpace, ButtonV2, VisuallyHidden } from '@arc-ui/components';
8
+ import { ButtonV2 } from '@arc-ui/components/ButtonV2';
9
+ import { InformationCard } from '@arc-ui/components/InformationCard';
10
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
11
+ import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
9
12
  import '@arc-ui/components/Heading';
10
13
  import '@arc-ui/components/Text';
11
- import '@arc-ui/components/VerticalSpace';
12
14
  import '@arc-ui/components/Image';
13
15
 
14
16
  var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
@@ -3,7 +3,7 @@
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
- var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
6
+ var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
7
7
  var Carousel = require('@arc-ui/components/Carousel');
8
8
  var useMediaQuery = require('@arc-ui/components/use-media-query');
9
9
  var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
@@ -1,7 +1,7 @@
1
1
  import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React, { useId } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
- import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-B89aR7nq.js';
4
+ import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-DWVPneQL.js';
5
5
  import { Carousel } from '@arc-ui/components/Carousel';
6
6
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
7
7
  import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
- var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
5
+ var index_es = require('../_shared/cjs/index.es-Cf6wAvkf.js');
6
6
  var Heading = require('@arc-ui/components/Heading');
7
7
  var Text = require('@arc-ui/components/Text');
8
8
  var Box = require('@arc-ui/components/Box');
@@ -1,6 +1,6 @@
1
1
  import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React from 'react';
3
- import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-B89aR7nq.js';
3
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DWVPneQL.js';
4
4
  import { Heading } from '@arc-ui/components/Heading';
5
5
  import { Text } from '@arc-ui/components/Text';
6
6
  import { Box } from '@arc-ui/components/Box';
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Fri, 25 Jul 2025 07:43:07 GMT
5
+ * Generated on Tue, 18 Nov 2025 18:15:01 GMT
6
6
  */
7
7
  var ArcSizeBreakpointsS = "636px";
8
8
  var ArcSizeBreakpointsM = "768px";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 25 Jul 2025 07:43:07 GMT
3
+ * Generated on Tue, 18 Nov 2025 18:15:01 GMT
4
4
  */
5
5
  var ArcSizeBreakpointsS = "636px";
6
6
  var ArcSizeBreakpointsM = "768px";