@arc-ui/community-components 3.7.1 → 3.8.1
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/.turbo/turbo-build.log +18 -17
- package/CHANGELOG.md +17 -0
- package/lib/ActionTile/ActionTile.cjs +2 -2
- package/lib/ActionTile/ActionTile.mjs +2 -2
- package/lib/ArticleCarousel/ArticleCarousel.cjs +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.mjs +1 -1
- package/lib/CopyLead/CopyLead.cjs +1 -1
- package/lib/CopyLead/CopyLead.mjs +1 -1
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +1 -1
- package/lib/InlineLinkGroup/InlineLinkGroup.cjs +2 -2
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +2 -2
- package/lib/PartnerBrandLogos/PartnerBrandLogos.cjs +57 -0
- package/lib/PartnerBrandLogos/PartnerBrandLogos.mjs +55 -0
- package/lib/PartnerBrandLogos/styles.css +1 -0
- package/lib/ProductNavigation/ProductNavigation.cjs +5 -3
- package/lib/ProductNavigation/ProductNavigation.mjs +5 -3
- package/lib/PromoListing/PromoListing.cjs +1 -1
- package/lib/PromoListing/PromoListing.mjs +1 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +2 -1
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/_shared/cjs/{ThumbnailSignpost-ja1yxriK.cjs → ThumbnailSignpost-DymZmLlB.cjs} +6 -2
- package/lib/_shared/cjs/{index.es-Dg_lyAyh.cjs → index.es-B6sSN_JJ.cjs} +1 -1
- package/lib/_shared/esm/{ThumbnailSignpost-Cc21FjUJ.mjs → ThumbnailSignpost-D6uye3mm.mjs} +7 -3
- package/lib/_shared/esm/{index.es-DtCgfyRV.mjs → index.es-CYN3fovv.mjs} +1 -1
- package/lib/index.cjs +205 -154
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +75 -4
- package/lib/index.d.mts +75 -4
- package/lib/index.mjs +206 -156
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +14 -14
- package/src/components/ActionTile/ActionTile.tsx +9 -3
- package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +4 -1
- package/src/components/PartnerBrandLogos/PartnerBrandLogos.module.css +8 -0
- package/src/components/PartnerBrandLogos/PartnerBrandLogos.tsx +141 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.module.css +45 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.tsx +96 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/index.ts +6 -0
- package/src/components/PartnerBrandLogos/index.ts +9 -0
- package/src/components/ProductNavigation/ProductNavigation.tsx +6 -5
- package/src/components/ThumbnailSignpost/ThumbnailSignpost.module.css +31 -1
- package/src/components/ThumbnailSignpost/ThumbnailSignpost.tsx +7 -2
- package/src/components/index.ts +1 -0
- package/versions.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.thumbnailSignpost {
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
flex-direction: row;
|
|
11
|
-
gap: var(--arc-size-grid-gutter-
|
|
11
|
+
gap: var(--arc-size-grid-gutter-m);
|
|
12
12
|
max-width: 720px;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
border-radius: calc(var(--thumbnail-signpost-border-radius-s) + 2px);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
.onDarkSurface.isLink:focus {
|
|
24
|
+
outline-color: var(--focus-colors-dark-border-subtle);
|
|
25
|
+
}
|
|
26
|
+
|
|
23
27
|
.isLink:hover {
|
|
24
28
|
cursor: pointer;
|
|
25
29
|
}
|
|
@@ -44,6 +48,12 @@
|
|
|
44
48
|
text-decoration: underline;
|
|
45
49
|
}
|
|
46
50
|
|
|
51
|
+
.onDarkSurface.isLink:hover .heading,
|
|
52
|
+
.onDarkSurface.isLink:focus .heading {
|
|
53
|
+
color: var(--surface-colors-bg-light-white);
|
|
54
|
+
text-decoration: underline;
|
|
55
|
+
}
|
|
56
|
+
|
|
47
57
|
.image {
|
|
48
58
|
width: calc(
|
|
49
59
|
(((100% + var(--arc-size-grid-gutter-s)) / 12) * 6) -
|
|
@@ -99,14 +109,34 @@
|
|
|
99
109
|
width: 100%;
|
|
100
110
|
}
|
|
101
111
|
|
|
112
|
+
.onDarkSurface .buttonIcon {
|
|
113
|
+
background: var(--surface-colors-bg-light-white);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.onDarkSurface .thumbnailButton {
|
|
117
|
+
color: var(--surface-colors-bg-light-white);
|
|
118
|
+
}
|
|
119
|
+
|
|
102
120
|
.isLink:focus .buttonIcon,
|
|
103
121
|
.isLink:hover .buttonIcon {
|
|
104
122
|
background: var(--button-v2-colors-light-text-hover);
|
|
105
123
|
}
|
|
106
124
|
|
|
125
|
+
.onDarkSurface.isLink:focus .buttonIcon,
|
|
126
|
+
.onDarkSurface.isLink:hover .buttonIcon {
|
|
127
|
+
background: var(--button-v2-colors-dark-text-hover);
|
|
128
|
+
}
|
|
129
|
+
|
|
107
130
|
.isLink:hover .thumbnailButton,
|
|
108
131
|
.isLink:focus .thumbnailButton {
|
|
109
132
|
background: none;
|
|
110
133
|
color: var(--button-v2-colors-light-text-hover);
|
|
111
134
|
text-decoration: var(--sem-underline);
|
|
112
135
|
}
|
|
136
|
+
|
|
137
|
+
.onDarkSurface.isLink:hover .thumbnailButton,
|
|
138
|
+
.onDarkSurface.isLink:focus .thumbnailButton {
|
|
139
|
+
background: none;
|
|
140
|
+
color: var(--button-v2-colors-dark-text-hover);
|
|
141
|
+
text-decoration: var(--sem-underline);
|
|
142
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
2
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import styles from "./ThumbnailSignpost.module.css";
|
|
@@ -10,6 +10,7 @@ import { BtIconArrowRightFill } from "@arc-ui/icons/BtIconArrowRightFill";
|
|
|
10
10
|
import { Image, type ImageProps } from "@arc-ui/components/Image";
|
|
11
11
|
import { VerticalSpace } from "@arc-ui/components/VerticalSpace";
|
|
12
12
|
import { Heading } from "@arc-ui/components/Heading";
|
|
13
|
+
import { SurfaceContext } from "@arc-ui/components/Surface";
|
|
13
14
|
|
|
14
15
|
/** Use `ThumbnailSignpost` to highlight key information or navigation points with an accompanying thumbnail image or icon. */
|
|
15
16
|
export const ThumbnailSignpost = ({
|
|
@@ -20,10 +21,14 @@ export const ThumbnailSignpost = ({
|
|
|
20
21
|
buttonLabel,
|
|
21
22
|
...props
|
|
22
23
|
}: ThumbnailSignpostProps) => {
|
|
24
|
+
const { surface } = useContext(SurfaceContext);
|
|
25
|
+
const isDarkSurface = surface === "dark";
|
|
26
|
+
|
|
23
27
|
return (
|
|
24
28
|
<div
|
|
25
29
|
className={classNames(styles.thumbnailSignpost, {
|
|
26
30
|
[styles.isLink]: onClick,
|
|
31
|
+
[styles.onDarkSurface]: isDarkSurface,
|
|
27
32
|
})}
|
|
28
33
|
onClick={onClick}
|
|
29
34
|
aria-label={title}
|
|
@@ -42,7 +47,7 @@ export const ThumbnailSignpost = ({
|
|
|
42
47
|
{text}
|
|
43
48
|
{buttonLabel && onClick && (
|
|
44
49
|
<>
|
|
45
|
-
<VerticalSpace size="
|
|
50
|
+
<VerticalSpace size="32" />
|
|
46
51
|
<div className={styles.thumbnailButton}>
|
|
47
52
|
<span
|
|
48
53
|
className={styles.buttonIcon}
|
package/src/components/index.ts
CHANGED
package/versions.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
["v3.7.1","v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.1","v3.0.0","v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
|
|
1
|
+
["v3.8.1","v3.8.0","v3.7.1","v3.7.0","v3.6.0","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.1","v3.0.0","v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
|