@arc-ui/components 10.3.0 → 10.6.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/Breadcrumbs/index.d.ts +4 -0
- package/dist/Breadcrumbs/index.js +441 -17100
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/SiteHeader/index.js +1 -1
- package/dist/VisuallyHidden/index.d.ts +12 -0
- package/dist/VisuallyHidden/index.js +11 -0
- package/dist/_shared/{Button-5ee1337a.d.ts → Button-39e56303.d.ts} +0 -0
- package/dist/_shared/{Button-5ee1337a.js → Button-39e56303.js} +1 -1
- package/dist/index.es.js +483 -17135
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +483 -17134
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Breadcrumbs/BreadcrumbsLink/BreadcrumbsLink.d.ts +5 -1
- package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +11 -0
- package/dist/types/components/VisuallyHidden/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/styles.d.ts +1 -1
- package/package.json +5 -4
package/dist/Button/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Button } from "../_shared/Button-
|
|
1
|
+
export { Button } from "../_shared/Button-39e56303";
|
package/dist/Button/index.js
CHANGED
package/dist/Card/index.js
CHANGED
|
@@ -112,7 +112,7 @@ var CardLink = function (_a) {
|
|
|
112
112
|
}), href: href, rel: target === "_blank" ? "noopener noreferrer" : undefined, tabIndex: isButton ? -1 : undefined, target: target }, filterDataAttrs(linkData)),
|
|
113
113
|
React.createElement("span", { className: "arc-Card-linkText" }, children),
|
|
114
114
|
isButton && (React.createElement("span", { className: "arc-Card-linkIcon" },
|
|
115
|
-
React.createElement(Icon, { icon: "
|
|
115
|
+
React.createElement(Icon, { icon: "btChevronRightMid", size: 16 })))));
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
export { Card };
|
package/dist/SiteHeader/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as ArcBreakpointL } from '../_shared/index.es-793935a1.js';
|
|
|
3
3
|
import { c as classNames } from '../_shared/index-56d9df62.js';
|
|
4
4
|
import React, { useState, useEffect, Fragment, useContext, useRef, createContext } from 'react';
|
|
5
5
|
import { B as BrandLogo } from '../_shared/BrandLogo-6cc8202e.js';
|
|
6
|
-
import { B as Button } from '../_shared/Button-
|
|
6
|
+
import { B as Button } from '../_shared/Button-39e56303.js';
|
|
7
7
|
import { u as useMediaQuery } from '../_shared/use-media-query-f11805d4.js';
|
|
8
8
|
import { S as Surface } from '../_shared/Surface-3fe44a2a.js';
|
|
9
9
|
import { h as handleLinkClick } from '../_shared/handle-link-click-35e09d0c.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Provides text for screen readers that is visually hidden.
|
|
4
|
+
*/
|
|
5
|
+
declare const VisuallyHidden: FC<VisuallyHiddenProps>;
|
|
6
|
+
interface VisuallyHiddenProps {
|
|
7
|
+
/**
|
|
8
|
+
* Content to be Visually Hidden.
|
|
9
|
+
*/
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export { VisuallyHidden };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Provides text for screen readers that is visually hidden.
|
|
5
|
+
*/
|
|
6
|
+
var VisuallyHidden = function (_a) {
|
|
7
|
+
var children = _a.children;
|
|
8
|
+
return React.createElement("div", { className: "arc-VisuallyHidden" }, children);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { VisuallyHidden };
|
|
File without changes
|
|
@@ -45,7 +45,7 @@ var ButtonIcon = function (_a) {
|
|
|
45
45
|
return (React.createElement("span", { className: classNames({
|
|
46
46
|
"arc-Button-icon": true,
|
|
47
47
|
"arc-Button-icon--chevron": isChevron
|
|
48
|
-
}) }, isChevron ? (React.createElement(Icon, { icon: "btChevron".concat(isBeforeText ? "Left" : "Right", "
|
|
48
|
+
}) }, isChevron ? (React.createElement(Icon, { icon: "btChevron".concat(isBeforeText ? "Left" : "Right", "Mid") })) : (React.createElement(Icon, { icon: icon }))));
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
export { Button as B };
|