@arc-ui/components 5.0.0 → 6.2.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 +113 -81
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +113 -81
- package/dist/index.js.map +1 -1
- package/dist/polyfills.js +3331 -17
- package/dist/polyfills.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/Checkbox/Checkbox.d.ts +1 -6
- package/dist/types/components/RadioGroup/RadioGroup.d.ts +4 -4
- package/dist/types/components/RadioGroup/context.d.ts +1 -1
- package/dist/types/components/SiteHeader/components/SubNavItem/SubNavItem.d.ts +16 -1
- package/dist/types/styles.bt.d.ts +2 -0
- package/package.json +3 -3
|
@@ -12,6 +12,11 @@ export interface SubNavItemProps {
|
|
|
12
12
|
* be set automatically.
|
|
13
13
|
*/
|
|
14
14
|
isDefaultItem?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Optionally shift the SubNavItem-link upwards (in "desktop" viewports only)
|
|
17
|
+
* to close off any empty space between items due to content size.
|
|
18
|
+
*/
|
|
19
|
+
offsetXL?: "24" | "48";
|
|
15
20
|
/**
|
|
16
21
|
* Content to display in the SubNavItem panel promo area.
|
|
17
22
|
*/
|
|
@@ -21,9 +26,19 @@ export interface SubNavItemProps {
|
|
|
21
26
|
* `children` are not present.
|
|
22
27
|
*/
|
|
23
28
|
href?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional subtitle text for the SubNavItem.
|
|
31
|
+
*/
|
|
32
|
+
subTitle?: string;
|
|
24
33
|
/**
|
|
25
34
|
* Title text for the SubNavItem.
|
|
26
35
|
*/
|
|
27
|
-
title:
|
|
36
|
+
title: string;
|
|
37
|
+
/**
|
|
38
|
+
* Text to display in top-level link inside the SubNavItem panel. Only
|
|
39
|
+
* applies if both `children` are present and `href` is true. If not
|
|
40
|
+
* provided, top-level link text will be automatically generated from `title`.
|
|
41
|
+
*/
|
|
42
|
+
viewAllTitle?: string;
|
|
28
43
|
}
|
|
29
44
|
export default SubNavItem;
|
|
@@ -10,7 +10,9 @@ import "./components/FormControl/FormControl.bt.css";
|
|
|
10
10
|
import "./components/Group/Group.bt.css";
|
|
11
11
|
import "./components/Heading/Heading.bt.css";
|
|
12
12
|
import "./components/Icon/Icon.bt.css";
|
|
13
|
+
import "./components/Image/Image.bt.css";
|
|
13
14
|
import "./components/Markup/Markup.bt.css";
|
|
15
|
+
import "./components/Poster/Poster.bt.css";
|
|
14
16
|
import "./components/RadioGroup/RadioGroup.bt.css";
|
|
15
17
|
import "./components/Rule/Rule.bt.css";
|
|
16
18
|
import "./components/SiteFooter/SiteFooter.bt.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.2.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",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"react": "^17.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@arc-ui/fonts": "^
|
|
29
|
-
"@arc-ui/tokens": "^
|
|
28
|
+
"@arc-ui/fonts": "^6.2.0",
|
|
29
|
+
"@arc-ui/tokens": "^6.2.0",
|
|
30
30
|
"@babel/core": "^7.14.3",
|
|
31
31
|
"@babel/helper-define-map": "^7.14.3",
|
|
32
32
|
"@storybook/addon-essentials": "^6.3.6",
|