@arc-ui/components 11.17.0 → 11.18.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/SiteHeaderV2/SiteHeaderV2.cjs.js +1 -1
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +1 -1
- package/dist/TextArea/TextArea.cjs.js +1 -1
- package/dist/TextArea/TextArea.esm.js +1 -1
- package/dist/_shared/cjs/{SiteHeaderV2-8ce6d4fc.js → SiteHeaderV2-79930632.js} +77 -24
- package/dist/_shared/esm/{SiteHeaderV2-f8377627.js → SiteHeaderV2-9e7e7d3b.js} +77 -24
- package/dist/index.es.js +77 -24
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +77 -24
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -3
- package/dist/types/components/SiteHeaderV2/components/BackButton/BackButton.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/components/NavItem/NavItem.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/components/NavItem/NavItemWithSubNav.d.ts +1 -0
- package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +2 -0
- package/package.json +10 -3
|
@@ -15,8 +15,10 @@ export interface PanelProps {
|
|
|
15
15
|
isNavItem: boolean;
|
|
16
16
|
open: boolean;
|
|
17
17
|
setOpen: (arg0: boolean) => any;
|
|
18
|
+
setOpenPanelOnFirstClick: (arg0: boolean) => any;
|
|
18
19
|
subNavItemRef?: React.MutableRefObject<HTMLElement>;
|
|
19
20
|
subNavLink?: string;
|
|
21
|
+
navLink?: string;
|
|
20
22
|
title?: ReactNode;
|
|
21
23
|
viewAll?: ReactElement;
|
|
22
24
|
withSubNav?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arc-ui/components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.18.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,8 +11,13 @@
|
|
|
11
11
|
"storybook": "storybook dev -p 6006",
|
|
12
12
|
"storybook:build": "storybook build --quiet",
|
|
13
13
|
"storybook:quiet": "pnpm run storybook --quiet",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"coverage:summary": "pnpm dlx nyc report --reporter=text-summary",
|
|
15
|
+
"coverage:files": "pnpm dlx nyc report --reporter=text",
|
|
16
|
+
"coverage:check": "pnpm dlx nyc report --check-coverage --lines 85 --functions 85 --branches 85 --statements 85",
|
|
17
|
+
"test:components": "cypress open --component",
|
|
18
|
+
"test:components:ci": "cypress run --component --browser chrome",
|
|
19
|
+
"test:components:pipeline": "pnpm run test:components:ci && pnpm run coverage:check",
|
|
20
|
+
"test:components:coverage": "pnpm run test:components:ci && pnpm run coverage:files",
|
|
16
21
|
"generate:component": "node ./generate-component $1"
|
|
17
22
|
},
|
|
18
23
|
"files": [
|
|
@@ -45,6 +50,7 @@
|
|
|
45
50
|
"@babel/preset-env": "^7.20.2",
|
|
46
51
|
"@babel/preset-react": "^7.18.6",
|
|
47
52
|
"@babel/preset-typescript": "^7.18.6",
|
|
53
|
+
"@cypress/code-coverage": "^3.12.28",
|
|
48
54
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
49
55
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
50
56
|
"@rollup/plugin-typescript": "^8.2.1",
|
|
@@ -92,6 +98,7 @@
|
|
|
92
98
|
"tslib": "^2.0.1",
|
|
93
99
|
"typescript": "^4.9.5",
|
|
94
100
|
"vite": "^4.4.5",
|
|
101
|
+
"vite-plugin-istanbul": "^5.0.0",
|
|
95
102
|
"yup": "^0.32.11"
|
|
96
103
|
}
|
|
97
104
|
}
|