@arc-ui/community-components 1.0.1 → 1.0.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.
@@ -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.0.2 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 5.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 3.9s
11
11
  
12
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
13
+ created dist in 3.5s
14
14
  
15
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
16
+ created dist in 3.5s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @arc-ui/community-components
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - a7b0cac: Update Arc dependancies to v12.0.0-beta.22
8
+ - 362b160: Updating arc component import paths to improve bundling
9
+
3
10
  ## 1.0.1
4
11
 
5
12
  ### 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';
@@ -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-BNY6zQSi.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-BraCgI9m.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-BNY6zQSi.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-BraCgI9m.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-BNY6zQSi.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-BraCgI9m.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-BNY6zQSi.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-BraCgI9m.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-BNY6zQSi.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-BraCgI9m.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 Fri, 15 Aug 2025 18:14:58 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 Fri, 15 Aug 2025 18:14:58 GMT
4
4
  */
5
5
  var ArcSizeBreakpointsS = "636px";
6
6
  var ArcSizeBreakpointsM = "768px";
package/dist/index.es.js CHANGED
@@ -21,9 +21,10 @@ import { TypographyCard } from '@arc-ui/components/TypographyCard';
21
21
  import { Box } from '@arc-ui/components/Box';
22
22
  import { Rule } from '@arc-ui/components/Rule';
23
23
  import { Align } from '@arc-ui/components/Align';
24
- import { TabbedBanner, InformationCard as InformationCard$1, VerticalSpace as VerticalSpace$1, ButtonV2 as ButtonV2$1, VisuallyHidden } from '@arc-ui/components';
24
+ import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
25
25
  import { Tag } from '@arc-ui/components/Tag';
26
26
  import { Toast, ToastNotification } from '@arc-ui/components/Toast';
27
+ import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
27
28
 
28
29
  /******************************************************************************
29
30
  Copyright (c) Microsoft Corporation.
@@ -278,7 +279,7 @@ var Author = function (_a) {
278
279
 
279
280
  /**
280
281
  * Do not edit directly
281
- * Generated on Fri, 25 Jul 2025 07:43:07 GMT
282
+ * Generated on Fri, 15 Aug 2025 18:14:58 GMT
282
283
  */
283
284
  var ArcSizeBreakpointsS = "636px";
284
285
  var ArcSizeBreakpointsM = "768px";
@@ -3002,19 +3003,19 @@ var ProductNavigation = function (_a) {
3002
3003
  React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
3003
3004
  var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
3004
3005
  return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
3005
- React.createElement(InformationCard$1, { button: {
3006
+ React.createElement(InformationCard, { button: {
3006
3007
  label: label,
3007
3008
  href: href,
3008
3009
  }, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
3009
3010
  })),
3010
- React.createElement(VerticalSpace$1, { size: "40" }),
3011
+ React.createElement(VerticalSpace, { size: "40" }),
3011
3012
  React.createElement("div", { style: { display: "flex" } },
3012
- !hideButton && !hideLessButton && (React.createElement(ButtonV2$1, { label: displayList.length < productList.length
3013
+ !hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
3013
3014
  ? "Show more"
3014
3015
  : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
3015
3016
  displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
3016
3017
  React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
3017
- React.createElement(ButtonV2$1, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
3018
+ React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
3018
3019
  React.createElement(VisuallyHidden, null,
3019
3020
  React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
3020
3021
  React.createElement("p", null,