@arc-ui/community-components 3.14.0 → 3.16.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 +13 -13
- package/CHANGELOG.md +12 -0
- package/lib/ArticleCarousel/ArticleCarousel.cjs +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.mjs +1 -1
- package/lib/CopyLead/CopyLead.cjs +1 -1
- package/lib/CopyLead/CopyLead.mjs +1 -1
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +1 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +1 -1
- package/lib/ProductNavigation/ProductNavigation.mjs +1 -1
- package/lib/PromoListing/PromoListing.cjs +1 -1
- package/lib/PromoListing/PromoListing.mjs +1 -1
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/_shared/cjs/{index.es-5qmN4ppJ.cjs → index.es-oEhoU2Bd.cjs} +1 -1
- package/lib/_shared/esm/{index.es-Cis5MKaa.mjs → index.es-DujqqZXe.mjs} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/components/ProductCard/ProductCard.tsx +14 -14
- package/src/components/ProductCardGrid/ProductCardGrid.tsx +8 -8
- package/src/components/ProductCardGrid/components/CardGrid/CardGrid.tsx +6 -6
- package/versions.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/community-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://ui.digital-ent-int.bt.com",
|
|
6
6
|
"author": "BT Business Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@arc-ui/components": "13.
|
|
38
|
-
"@arc-ui/themes": "13.
|
|
37
|
+
"@arc-ui/components": "13.16.0",
|
|
38
|
+
"@arc-ui/themes": "13.16.0",
|
|
39
39
|
"react": "^19.2.3",
|
|
40
40
|
"react-dom": "^19.2.3"
|
|
41
41
|
},
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"react-player": "^3.4.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@arc-ui/components": "13.
|
|
53
|
-
"@arc-ui/gradients": "13.
|
|
54
|
-
"@arc-ui/icons": "13.
|
|
55
|
-
"@arc-ui/themes": "13.
|
|
56
|
-
"@arc-ui/tokens-arc": "13.
|
|
57
|
-
"@arc-ui/tokens-bt-business": "13.
|
|
58
|
-
"@arc-ui/tokens-bt-enterprise": "13.
|
|
59
|
-
"@arc-ui/tokens-ee": "13.
|
|
52
|
+
"@arc-ui/components": "13.16.0",
|
|
53
|
+
"@arc-ui/gradients": "13.16.0",
|
|
54
|
+
"@arc-ui/icons": "13.16.0",
|
|
55
|
+
"@arc-ui/themes": "13.16.0",
|
|
56
|
+
"@arc-ui/tokens-arc": "13.16.0",
|
|
57
|
+
"@arc-ui/tokens-bt-business": "13.16.0",
|
|
58
|
+
"@arc-ui/tokens-bt-enterprise": "13.16.0",
|
|
59
|
+
"@arc-ui/tokens-ee": "13.16.0",
|
|
60
60
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
61
61
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
62
62
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"stylelint": "^16.10.0",
|
|
80
80
|
"tslib": "^2.8.1",
|
|
81
81
|
"typescript": "^5.6.3",
|
|
82
|
-
"@arc-ui/community-
|
|
83
|
-
"@arc-ui/community-utils": "^0.2.0",
|
|
82
|
+
"@arc-ui/community-css-config": "^0.1.1",
|
|
84
83
|
"@arc-ui/community-typescript-config": "^0.1.0",
|
|
85
84
|
"@arc-ui/community-eslint-config": "^0.1.1",
|
|
86
|
-
"@arc-ui/community-
|
|
85
|
+
"@arc-ui/community-build-utils": "^0.1.0",
|
|
86
|
+
"@arc-ui/community-utils": "^0.2.0"
|
|
87
87
|
},
|
|
88
88
|
"browserslist": [
|
|
89
89
|
"defaults",
|
|
@@ -75,39 +75,39 @@ export const ProductCard: React.FC<ProductCardProps> = ({
|
|
|
75
75
|
|
|
76
76
|
export interface ProductCardProps {
|
|
77
77
|
/*
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
* Product heading displayed at the top of the card
|
|
79
|
+
*/
|
|
80
80
|
heading: string;
|
|
81
81
|
|
|
82
82
|
/*
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
* Semantic heading level (e.g. "2", "3") for accessibility
|
|
84
|
+
*/
|
|
85
85
|
headingLevel: HeadingLevel;
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
* Content rendered in the top section below the heading (e.g. ProductCardPrice, Text, ProductCardPriceIncrease)
|
|
89
|
+
*/
|
|
90
90
|
topSlot?: ReactNode;
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
* Content rendered in the bottom section of the card (e.g. ProductCardBenefits)
|
|
94
|
+
*/
|
|
95
95
|
bottomSlot?: ReactNode;
|
|
96
96
|
|
|
97
97
|
/*
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
* Optional promotional content displayed as a banner above the card. Renders nothing when not provided.
|
|
99
|
+
*/
|
|
100
100
|
promoted?: {
|
|
101
101
|
content: ReactNode;
|
|
102
102
|
background: SurfaceBackgroundColor;
|
|
103
103
|
};
|
|
104
104
|
/*
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
* Whether to show a horizontal rule divider between the top and bottom sections of the card
|
|
106
|
+
*/
|
|
107
107
|
divider?: boolean;
|
|
108
108
|
|
|
109
109
|
/*
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
* Configuration for the card's call-to-action button. Accepts all ButtonV2 props except `buttonStyle` and `isFullWidth`, which are set internally.
|
|
111
|
+
*/
|
|
112
112
|
button?: Omit<ButtonV2Props, "buttonStyle" | "isFullWidth">;
|
|
113
113
|
}
|
|
@@ -140,23 +140,23 @@ export const ProductCardGrid: React.FC<ProductCardGridProps> = ({
|
|
|
140
140
|
|
|
141
141
|
export interface Tab extends TabsItemProps {
|
|
142
142
|
/*
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
* Cards rendered in a responsive grid inside the tab panel
|
|
144
|
+
*/
|
|
145
145
|
cards: React.ReactNode[];
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export interface ProductCardGridProps
|
|
149
149
|
extends Omit<SectionHeadingProps, "isPadded" | "isCentered" | "image"> {
|
|
150
150
|
/*
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
* Array of tabs to render in a tabbed layout. Cannot be used together with `cards`.
|
|
152
|
+
*/
|
|
153
153
|
tabs?: Tab[];
|
|
154
154
|
/*
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
* When true, all cards are displayed by default and the show more/less button is hidden.
|
|
156
|
+
*/
|
|
157
157
|
expanded?: boolean;
|
|
158
158
|
/*
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
* When true, hide the tabs and only display first grid of cards
|
|
160
|
+
*/
|
|
161
161
|
hideTabs?: boolean;
|
|
162
162
|
}
|
|
@@ -30,15 +30,15 @@ export const CardGrid: React.FC<CardGridProps> = ({
|
|
|
30
30
|
|
|
31
31
|
export interface CardGridProps {
|
|
32
32
|
/*
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
* Array of card elements to render within the grid
|
|
34
|
+
*/
|
|
35
35
|
cards: React.ReactNode[];
|
|
36
36
|
/*
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
* Whether all cards are visible. When false, only the first 3 cards are shown.
|
|
38
|
+
*/
|
|
39
39
|
cardsRevealed: boolean;
|
|
40
40
|
/*
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
* Ref attached to the fourth card item, used to manage focus when cards are revealed
|
|
42
|
+
*/
|
|
43
43
|
fourthCardRef: React.RefObject<HTMLLIElement>;
|
|
44
44
|
}
|
package/versions.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"version":"v3.
|
|
1
|
+
[{"version":"v3.16.0","date":null},{"version":"v3.15.0","date":"2026-09-15"},{"version":"v3.14.0","date":"2026-08-27"},{"version":"v3.13.1","date":"2026-07-30"},{"version":"v3.13.0","date":"2026-07-24"},{"version":"v3.12.0","date":"2026-07-08"},{"version":"v3.11.0","date":"2026-06-24"},{"version":"v3.10.0","date":"2026-06-16"},{"version":"v3.9.0","date":"2026-05-22"},{"version":"v3.8.1","date":"2026-05-13"},{"version":"v3.8.0","date":"2026-04-29"},{"version":"v3.7.1","date":"2026-04-22"},{"version":"v3.7.0","date":"2026-04-17"},{"version":"v3.6.0","date":"2026-04-10"},{"version":"v3.5.0","date":"2026-04-02"},{"version":"v3.4.0","date":"2026-03-26"},{"version":"v3.3.0","date":"2026-03-20"},{"version":"v3.2.0","date":"2026-03-09"},{"version":"v3.1.0","date":"2026-02-26"},{"version":"v3.0.1","date":"2026-02-18"},{"version":"v3.0.0","date":null},{"version":"v2.0.0","date":"2026-01-21"},{"version":"v1.1.0","date":"2025-11-19"},{"version":"v1.0.2","date":"2025-08-18"},{"version":"v1.0.1","date":"2025-08-05"},{"version":"v1.0.0","date":"2025-04-29"},{"version":"v0.1.0","date":null}]
|