@arc-ui/components 10.3.0 → 10.5.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.
@@ -1,6 +1,10 @@
1
- import React, { FC } from "react";
1
+ import React, { FC, ReactNode } from "react";
2
2
  declare const BreadcrumbsLink: FC<LinkProps>;
3
3
  export interface LinkProps {
4
+ /**
5
+ * Render children of `breadcrumbs.link`
6
+ */
7
+ children?: ReactNode;
4
8
  /**
5
9
  * Where breadcrumb linkshould lead too
6
10
  */
@@ -0,0 +1,11 @@
1
+ import { FC, ReactNode } from "react";
2
+ /**
3
+ * Provides text for screen readers that is visually hidden.
4
+ */
5
+ export declare const VisuallyHidden: FC<VisuallyHiddenProps>;
6
+ export interface VisuallyHiddenProps {
7
+ /**
8
+ * Content to be Visually Hidden.
9
+ */
10
+ children?: ReactNode;
11
+ }
@@ -0,0 +1 @@
1
+ export { VisuallyHidden } from "./VisuallyHidden";
@@ -27,3 +27,4 @@ export { Surface, SurfaceContext } from "./Surface";
27
27
  export { Text } from "./Text";
28
28
  export { TextInput } from "./TextInput";
29
29
  export { VerticalSpace } from "./VerticalSpace";
30
+ export { VisuallyHidden } from "./VisuallyHidden";
@@ -27,9 +27,9 @@ import "./components/Text/Text.css";
27
27
  import "./components/TextInput/TextInput.css";
28
28
  import "./components/UniversalHeader/UniversalHeader.css";
29
29
  import "./components/VerticalSpace/VerticalSpace.css";
30
+ import "./components/VisuallyHidden/VisuallyHidden.css";
30
31
  import "./components/Base/Base.bt.css";
31
32
  import "./components/BrandLogo/BrandLogo.bt.css";
32
- import "./components/Breadcrumbs/Breadcrumbs.bt.css";
33
33
  import "./components/Button/Button.bt.css";
34
34
  import "./components/Card/Card.bt.css";
35
35
  import "./components/Checkbox/Checkbox.bt.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-ui/components",
3
- "version": "10.3.0",
3
+ "version": "10.5.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",
@@ -13,7 +13,8 @@
13
13
  "storybook:quiet": "yarn storybook --quiet",
14
14
  "test": "TZ=UTC jest",
15
15
  "test:coverage": "yarn test --coverage",
16
- "test:watch": "yarn test --changedSince=origin/master --coverage --watch"
16
+ "test:watch": "yarn test --changedSince=origin/master --coverage --watch",
17
+ "generate:component": "node ./generate-component $1"
17
18
  },
18
19
  "files": [
19
20
  "dist"
@@ -25,8 +26,8 @@
25
26
  "react": "^18.0.0"
26
27
  },
27
28
  "devDependencies": {
28
- "@arc-ui/fonts": "^10.3.0",
29
- "@arc-ui/tokens": "^10.3.0",
29
+ "@arc-ui/fonts": "^10.5.0",
30
+ "@arc-ui/tokens": "^10.5.0",
30
31
  "@babel/core": "^7.14.3",
31
32
  "@babel/helper-define-map": "^7.14.3",
32
33
  "@storybook/addon-essentials": "^6.3.6",