@arc-ui/components 3.1.0 → 4.0.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/dist/index.es.js +126 -83
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +126 -83
- package/dist/index.js.map +1 -1
- package/dist/styles.bt.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.ee.css +1 -1
- package/dist/types/components/Base/Base.d.ts +1 -1
- package/dist/types/components/BrandLogo/BrandLogo.d.ts +5 -0
- package/dist/types/components/Card/Card.d.ts +2 -2
- package/dist/types/components/Icon/Icon.d.ts +0 -1
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +5 -0
- package/dist/types/components/SiteHeader/components/ItemGroup/ItemGroup.d.ts +10 -0
- package/package.json +5 -4
|
@@ -5,9 +5,19 @@ export interface ItemGroupProps {
|
|
|
5
5
|
* Contents of the ItemGroup. Must be Item components.
|
|
6
6
|
*/
|
|
7
7
|
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* A top-level URL for the ItemGroup to link to.
|
|
10
|
+
*/
|
|
11
|
+
href?: string;
|
|
8
12
|
/**
|
|
9
13
|
* Title text to be displayed in the ItemGroup summary.
|
|
10
14
|
*/
|
|
11
15
|
title: string;
|
|
16
|
+
/**
|
|
17
|
+
* Text to display in top-level link inside the ItemGroup in narrow viewports.
|
|
18
|
+
* Only applies if `href` is present. If not provided, top-level link text
|
|
19
|
+
* will be automatically generated from `title`.
|
|
20
|
+
*/
|
|
21
|
+
viewAllTitle?: string;
|
|
12
22
|
}
|
|
13
23
|
export default ItemGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"homepage": "https://ui.digital-ent-int.bt.com",
|
|
5
5
|
"author": "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"storybook": "start-storybook --ci -p 6006 --no-manager-cache",
|
|
12
12
|
"storybook:build": "build-storybook --docs --quiet",
|
|
13
13
|
"storybook:quiet": "yarn storybook --quiet",
|
|
14
|
-
"test": "jest",
|
|
14
|
+
"test": "TZ=UTC jest",
|
|
15
15
|
"test:coverage": "yarn test --coverage",
|
|
16
16
|
"test:watch": "yarn test --changedSince=origin/master --coverage --watch"
|
|
17
17
|
},
|
|
@@ -25,9 +25,10 @@
|
|
|
25
25
|
"react": "^17.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@arc-ui/fonts": "^
|
|
29
|
-
"@arc-ui/tokens": "^
|
|
28
|
+
"@arc-ui/fonts": "^4.0.0",
|
|
29
|
+
"@arc-ui/tokens": "^4.0.0",
|
|
30
30
|
"@babel/core": "^7.14.3",
|
|
31
|
+
"@babel/helper-define-map": "^7.14.3",
|
|
31
32
|
"@storybook/addon-essentials": "^6.3.6",
|
|
32
33
|
"@storybook/addon-ie11": "BTEnterpriseDigital/addon-ie11#measuredco-fork",
|
|
33
34
|
"@storybook/addon-links": "^6.3.6",
|