@amedia/brick-mcp 1.0.1 → 1.0.3
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/data/components/brick-alt-teaser.md +9 -4
- package/data/components/brick-button.md +3 -2
- package/data/components/brick-byline.md +138 -0
- package/data/components/brick-carousel.md +8 -6
- package/data/components/brick-classnames.md +19 -14
- package/data/components/brick-dialog.md +3 -3
- package/data/components/brick-expand.md +129 -0
- package/data/components/brick-illustrations.md +6 -5
- package/data/components/brick-pill.md +11 -9
- package/data/components/brick-player.md +6 -3
- package/data/components/brick-share.md +5 -2
- package/data/components/brick-skip-link.md +78 -0
- package/data/components/brick-stepper.md +2 -2
- package/data/components/brick-teaser.md +8 -7
- package/data/components/brick-tokens.md +12 -8
- package/data/components-metadata.json +45 -33
- package/dist/data/components/brick-alt-teaser.md +9 -4
- package/dist/data/components/brick-button.md +3 -2
- package/dist/data/components/brick-byline.md +138 -0
- package/dist/data/components/brick-carousel.md +8 -6
- package/dist/data/components/brick-classnames.md +19 -14
- package/dist/data/components/brick-dialog.md +3 -3
- package/dist/data/components/brick-expand.md +129 -0
- package/dist/data/components/brick-illustrations.md +6 -5
- package/dist/data/components/brick-pill.md +11 -9
- package/dist/data/components/brick-player.md +6 -3
- package/dist/data/components/brick-share.md +5 -2
- package/dist/data/components/brick-skip-link.md +78 -0
- package/dist/data/components/brick-stepper.md +2 -2
- package/dist/data/components/brick-teaser.md +8 -7
- package/dist/data/components/brick-tokens.md +12 -8
- package/dist/data/components-metadata.json +45 -33
- package/dist/http.js +2 -4
- package/dist/http.js.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +37 -37
- package/scripts/check-docs-versions.js +121 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-share
|
|
3
|
-
version: 0.3
|
|
3
|
+
version: 0.4.3
|
|
4
4
|
selector: brick-share
|
|
5
5
|
category: Navigation
|
|
6
6
|
tags: [share, social, web-share-api, clipboard, copy, gift, toast, url]
|
|
@@ -21,6 +21,8 @@ A versatile sharing component that supports native Web Share API, clipboard copy
|
|
|
21
21
|
- Customizable labels and aria-labels for accessibility
|
|
22
22
|
- Icon-only or label-only display modes
|
|
23
23
|
- Automatic URL detection (uses current page URL if not specified)
|
|
24
|
+
- UTM parameter support for campaign tracking (since v0.4.0)
|
|
25
|
+
- Uses native sharing on mobile/tablet and copy-to-clipboard on desktop
|
|
24
26
|
- Server-side rendering support
|
|
25
27
|
|
|
26
28
|
## Props/Attributes
|
|
@@ -38,6 +40,7 @@ A versatile sharing component that supports native Web Share API, clipboard copy
|
|
|
38
40
|
| `data-copy-status` | `"success" \| "error"` | - | no | Manually trigger toast display (for testing/demo) |
|
|
39
41
|
| `data-label` | string | - | no | Set to "false" to hide label (icon-only mode) |
|
|
40
42
|
| `data-icon` | string | - | no | Set to "false" to hide icon (label-only mode) |
|
|
43
|
+
| `data-utm` | string | - | no | UTM parameters to append as query params to the shared URL |
|
|
41
44
|
|
|
42
45
|
## Examples
|
|
43
46
|
|
|
@@ -332,4 +335,4 @@ Special variant for gifting articles, typically with custom messaging.
|
|
|
332
335
|
|
|
333
336
|
## Version
|
|
334
337
|
|
|
335
|
-
Current version: 0.3
|
|
338
|
+
Current version: 0.4.3
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brick-skip-link
|
|
3
|
+
version: 0.0.1
|
|
4
|
+
selector: brick-skip-link-v0
|
|
5
|
+
category: Navigation
|
|
6
|
+
tags: [accessibility, a11y, skip-link, navigation, focus, keyboard, bypass]
|
|
7
|
+
use_cases: [main-navigation, header, keyboard-navigation, accessibility-improvement, bypass-blocks]
|
|
8
|
+
related: []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Brick Skip Link
|
|
12
|
+
|
|
13
|
+
A component that allows keyboard users to bypass blocks of repetitive content, such as navigation menus.
|
|
14
|
+
|
|
15
|
+
## Key Capabilities
|
|
16
|
+
|
|
17
|
+
- Provides a "skip to content" link for improved keyboard navigation.
|
|
18
|
+
- Becomes visible only when it receives focus via keyboard tabbing.
|
|
19
|
+
- Helps users meet WCAG 2.4.1 (Bypass Blocks).
|
|
20
|
+
- Renders a semantic `<a>` tag for accessibility and SEO.
|
|
21
|
+
- Customizable link text and target element ID.
|
|
22
|
+
- Server-side rendering support for immediate availability.
|
|
23
|
+
|
|
24
|
+
## Props/Attributes
|
|
25
|
+
|
|
26
|
+
| Attribute | Type | Default | Required | Description |
|
|
27
|
+
| ----------- | ------ | ----------------------- | -------- | ---------------------------------------------------- |
|
|
28
|
+
| `data-href` | string | - | yes | The selector for the target element (e.g., `#main`). |
|
|
29
|
+
| `data-text` | string | "Skip to main content" | no | The accessible text for the link. |
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
### Server-side rendering (preferred)
|
|
34
|
+
|
|
35
|
+
Import the render function from the `/template` submodule and call it to produce an HTML string.
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
import { renderBrickSkipLink } from '@amedia/brick-skip-link/template';
|
|
39
|
+
|
|
40
|
+
const html = renderBrickSkipLink({
|
|
41
|
+
dataHref: '#main-content',
|
|
42
|
+
dataText: 'Hopp til hovedinnhold'
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
// Include CSS file
|
|
46
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-skip-link/v0/css/styles.css">
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Client-side (declarative HTML)
|
|
50
|
+
|
|
51
|
+
Use the custom element directly in HTML
|
|
52
|
+
|
|
53
|
+
```html
|
|
54
|
+
<script type="module" src="https://assets.acdn.no/pkg/@amedia/brick-skip-link/v0/brick-skip-link.js"></script>
|
|
55
|
+
|
|
56
|
+
<brick-skip-link-v0 data-href="#main-content" data-text="Hopp til hovedinnhold"></brick-skip-link-v0>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Accessibility
|
|
60
|
+
|
|
61
|
+
This component is a fundamental accessibility feature.
|
|
62
|
+
|
|
63
|
+
- **Bypass Blocks**: It directly addresses WCAG 2.4.1 by providing a mechanism to bypass blocks of content that are repeated on multiple Web pages.
|
|
64
|
+
- **Focus Management**: The component is designed to be visually hidden until it receives keyboard focus, making it unobtrusive for mouse users but available for keyboard and screen reader users.
|
|
65
|
+
- **Semantic HTML**: It renders a native `<a>` element with a valid `href`, ensuring it is correctly identified as a link by assistive technologies.
|
|
66
|
+
|
|
67
|
+
## Technical Details
|
|
68
|
+
|
|
69
|
+
- **Package version**: `0.0.1`
|
|
70
|
+
- **Custom Element tag**: `brick-skip-link-v0`
|
|
71
|
+
- **Dependencies**:
|
|
72
|
+
- `@amedia/brick-template`
|
|
73
|
+
- `@amedia/brick-tokens`
|
|
74
|
+
|
|
75
|
+
## Important Notes
|
|
76
|
+
|
|
77
|
+
- For the skip link to be effective, it should be one of the very first focusable elements in the page's DOM, ideally right after the `<body>` tag.
|
|
78
|
+
- The value of `data-href` must be a valid CSS selector that points to a single, existing element on the page (e.g., `#main-content`). The target element should have a corresponding `id`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-stepper
|
|
3
|
-
version: 1.
|
|
3
|
+
version: 1.1.9
|
|
4
4
|
selector: brick-stepper-v1
|
|
5
5
|
category: Navigation
|
|
6
6
|
tags: [stepper, progress, steps, wizard, multi-step, process, indicator, accessibility]
|
|
@@ -316,4 +316,4 @@ function CheckoutFlow() {
|
|
|
316
316
|
|
|
317
317
|
## Version
|
|
318
318
|
|
|
319
|
-
Current version: 1.
|
|
319
|
+
Current version: 1.1.9
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-teaser
|
|
3
|
-
version:
|
|
3
|
+
version: 22.2.9
|
|
4
4
|
selector: brick-teaser-v22
|
|
5
5
|
category: Data Display
|
|
6
6
|
tags: [teaser, card, article, content, preview, link, image, metadata]
|
|
7
7
|
use_cases: [article-listings, content-grids, news-feeds, content-previews, homepage, front-page]
|
|
8
|
-
related: [brick-image, brick-avatar, brick-countdown, brick-icon, brick-pill, brick-player, brick-button]
|
|
8
|
+
related: [brick-image, brick-avatar, brick-countdown, brick-icon, brick-pill, brick-teaser-player, brick-button]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Brick Teaser
|
|
@@ -19,7 +19,7 @@ A comprehensive content teaser/card component for displaying article previews wi
|
|
|
19
19
|
- Avatar support for authors/publications
|
|
20
20
|
- Countdown timer integration
|
|
21
21
|
- Premium content indicators (pill badges)
|
|
22
|
-
- Video player
|
|
22
|
+
- Video teaser support (inline playback via brick-teaser-player)
|
|
23
23
|
- Breaking news styling
|
|
24
24
|
- Commercial/sponsored content support
|
|
25
25
|
- Analytics (ADP) integration
|
|
@@ -62,7 +62,7 @@ The component supports multiple content types:
|
|
|
62
62
|
|
|
63
63
|
### Interactive Elements
|
|
64
64
|
- Clickable teaser links
|
|
65
|
-
- Video player
|
|
65
|
+
- Video teaser support (inline playback via brick-teaser-player)
|
|
66
66
|
- Countdown timers for live events
|
|
67
67
|
- Action buttons
|
|
68
68
|
|
|
@@ -246,12 +246,13 @@ The component integrates with ADP (Amedia Data Platform):
|
|
|
246
246
|
|
|
247
247
|
## Important Notes
|
|
248
248
|
|
|
249
|
-
- Version
|
|
249
|
+
- Version 22.2.9 is the current stable version (mature component)
|
|
250
250
|
- Supports complex teaser configurations with many optional features
|
|
251
251
|
- Integrates deeply with Amedia's content management system (ACP)
|
|
252
252
|
- The component is highly configurable for different content types
|
|
253
253
|
- Breaking news, premium, and commercial content have special styling
|
|
254
|
-
-
|
|
254
|
+
- **Breaking change in v22.0.0**: Removed `playOnFront` attribute and inline video playback functionality. Use `brick-teaser-player` for teasers that play videos
|
|
255
|
+
- Video teasers now require `brick-teaser-player` wrapper for inline playback
|
|
255
256
|
- Gallery teasers show image count
|
|
256
257
|
- Countdown timers for live events
|
|
257
258
|
- The component generates custom-elements.json for IDE autocomplete
|
|
@@ -259,4 +260,4 @@ The component integrates with ADP (Amedia Data Platform):
|
|
|
259
260
|
|
|
260
261
|
## Version
|
|
261
262
|
|
|
262
|
-
Current version:
|
|
263
|
+
Current version: 22.2.9
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-tokens
|
|
3
|
-
version: 6.
|
|
3
|
+
version: 6.2.1
|
|
4
4
|
selector: N/A
|
|
5
5
|
category: Utilities
|
|
6
6
|
tags: [design-tokens, css, styling, themes, colors, spacing, typography, shadows]
|
|
@@ -106,11 +106,11 @@ Load the theme CSS file and set the corresponding class on a container (e.g. `<b
|
|
|
106
106
|
|
|
107
107
|
```html
|
|
108
108
|
<!-- Load theme CSS from Eik CDN -->
|
|
109
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
110
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
111
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
112
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
113
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
109
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/alfa/styles.css" crossorigin="anonymous" />
|
|
110
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/bravo/styles.css" crossorigin="anonymous" />
|
|
111
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/charlie/styles.css" crossorigin="anonymous" />
|
|
112
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/nettavisen/styles.css" crossorigin="anonymous" />
|
|
113
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/alt/styles.css" crossorigin="anonymous" />
|
|
114
114
|
|
|
115
115
|
<!-- Apply theme class to a container -->
|
|
116
116
|
<body class="themeAlfa">...</body>
|
|
@@ -128,7 +128,7 @@ The package provides multiple formats:
|
|
|
128
128
|
|
|
129
129
|
```html
|
|
130
130
|
<!-- Load theme CSS (one per page) -->
|
|
131
|
-
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.
|
|
131
|
+
<link rel="stylesheet" href="https://assets.acdn.no/pkg/@amedia/brick-tokens/6.2.1/css/alfa/styles.css" crossorigin="anonymous" />
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
## Common Token Examples
|
|
@@ -188,10 +188,14 @@ npm run validate # Validate CSS files
|
|
|
188
188
|
|
|
189
189
|
## Important Notes
|
|
190
190
|
|
|
191
|
-
- Version 6.
|
|
191
|
+
- Version 6.2.1 is the current stable version
|
|
192
192
|
- Tokens are generated from Figma via Tokens Studio + Style Dictionary
|
|
193
193
|
- CSS custom properties use `--brick-{category}-{tokenName}` prefix (e.g. `--brick-colors-baseFg`, `--brick-space-x1`)
|
|
194
194
|
- Theme CSS files are scoped to a class (e.g. `.themeAlfa`) — apply the class to a container element
|
|
195
195
|
- There is no single `tokens.css` — CSS is per-theme: `dist/css/{theme}/styles.css`
|
|
196
196
|
- The package is used by all Brick components for consistent styling
|
|
197
197
|
- `sroStyle` is a utility class export for screen-reader-only visually hidden content
|
|
198
|
+
- Brand accent colors available since v6.2.0: `custom-one`, `custom-two`, `custom-three`, and `opinion` with `surface`, `surface-subtle`, and `text` variants
|
|
199
|
+
- Brand-specific publication colors available since v6.1.0 via CDN:
|
|
200
|
+
- CSS: `https://assets.acdn.no/pkg/@amedia/brick-tokens/v6/brand/css/{publication-key}/styles.css`
|
|
201
|
+
- JSON: `https://assets.acdn.no/pkg/@amedia/brick-tokens/v6/brand/mobile/{publication-key}/colors.json`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "brick-alt-teaser",
|
|
4
|
-
"version": "8.1.
|
|
4
|
+
"version": "8.1.24",
|
|
5
5
|
"selector": "brick-alt-teaser-v8",
|
|
6
6
|
"category": "Display",
|
|
7
7
|
"tags": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"name": "brick-avatar",
|
|
14
|
-
"version": "0.2.
|
|
14
|
+
"version": "0.2.61",
|
|
15
15
|
"selector": "brick-avatar-v0",
|
|
16
16
|
"description": "brick-avatar component",
|
|
17
17
|
"category": "Display",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "brick-button",
|
|
26
|
-
"version": "9.4.
|
|
26
|
+
"version": "9.4.19",
|
|
27
27
|
"selector": "brick-button-v9",
|
|
28
28
|
"category": "Forms",
|
|
29
29
|
"tags": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "brick-byline",
|
|
38
|
-
"version": "1.0.
|
|
38
|
+
"version": "1.0.23",
|
|
39
39
|
"selector": "brick-byline-v1",
|
|
40
40
|
"description": "brick-byline component",
|
|
41
41
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-byline",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "brick-card",
|
|
46
|
-
"version": "7.3.
|
|
46
|
+
"version": "7.3.33",
|
|
47
47
|
"selector": "brick-card-v7",
|
|
48
48
|
"category": "Layout",
|
|
49
49
|
"tags": [
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "brick-carousel",
|
|
57
|
-
"version": "2.3.
|
|
57
|
+
"version": "2.3.6",
|
|
58
58
|
"selector": "brick-carousel-v2",
|
|
59
59
|
"description": "Simple carousel for any content passed to it.",
|
|
60
60
|
"category": "Display",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "brick-classnames",
|
|
69
|
-
"version": "3.0.
|
|
69
|
+
"version": "3.0.3",
|
|
70
70
|
"selector": "brick-classnames-v3",
|
|
71
71
|
"description": "Utility method to create a safe string from a design name",
|
|
72
72
|
"category": "Utilities",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "brick-countdown",
|
|
81
|
-
"version": "3.0.
|
|
81
|
+
"version": "3.0.8",
|
|
82
82
|
"selector": "brick-countdown-v3",
|
|
83
83
|
"description": "brick-countdown component",
|
|
84
84
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-countdown",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"name": "brick-dialog",
|
|
89
|
-
"version": "2.1.
|
|
89
|
+
"version": "2.1.16",
|
|
90
90
|
"selector": "brick-dialog-v2",
|
|
91
91
|
"description": "brick-dialog component",
|
|
92
92
|
"category": "Feedback",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"name": "brick-expand",
|
|
101
|
-
"version": "0.0.
|
|
101
|
+
"version": "0.0.28",
|
|
102
102
|
"selector": "brick-expand-v0",
|
|
103
103
|
"description": "brick-expand component",
|
|
104
104
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-expand",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
"name": "brick-fonts",
|
|
109
|
-
"version": "2.0.
|
|
109
|
+
"version": "2.0.3",
|
|
110
110
|
"selector": "brick-fonts-v2",
|
|
111
111
|
"description": "Distribution of font files",
|
|
112
112
|
"category": "Utilities",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "brick-helloworld",
|
|
120
|
-
"version": "2.0.
|
|
120
|
+
"version": "2.0.29",
|
|
121
121
|
"selector": "brick-helloworld-v2",
|
|
122
122
|
"description": "Brick Hello World component",
|
|
123
123
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-helloworld",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"name": "brick-icon",
|
|
128
|
-
"version": "2.
|
|
128
|
+
"version": "2.4.0",
|
|
129
129
|
"selector": "brick-icon-v2",
|
|
130
130
|
"category": "Display",
|
|
131
131
|
"tags": [
|
|
@@ -136,14 +136,14 @@
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"name": "brick-illustrations",
|
|
139
|
-
"version": "1.3.
|
|
139
|
+
"version": "1.3.1",
|
|
140
140
|
"selector": "brick-illustrations-v1",
|
|
141
141
|
"description": "brick-illustrations",
|
|
142
142
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-illustrations"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "brick-image",
|
|
146
|
-
"version": "6.0.
|
|
146
|
+
"version": "6.0.28",
|
|
147
147
|
"selector": "brick-image-v6",
|
|
148
148
|
"category": "Display",
|
|
149
149
|
"tags": [
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "brick-input",
|
|
157
|
-
"version": "4.0.
|
|
157
|
+
"version": "4.0.8",
|
|
158
158
|
"selector": "brick-input-v4",
|
|
159
159
|
"description": "brick-input component",
|
|
160
160
|
"category": "Forms",
|
|
@@ -167,14 +167,14 @@
|
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
"name": "brick-pill",
|
|
170
|
-
"version": "10.1.
|
|
170
|
+
"version": "10.1.7",
|
|
171
171
|
"selector": "brick-pill-v10",
|
|
172
172
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-pill",
|
|
173
173
|
"mainJsFile": "brick-pill.js"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
"name": "brick-player",
|
|
177
|
-
"version": "2.
|
|
177
|
+
"version": "2.4.4",
|
|
178
178
|
"selector": "brick-player-v2",
|
|
179
179
|
"description": "Component for playing video and audio files",
|
|
180
180
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-player",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"name": "brick-published",
|
|
185
|
-
"version": "4.0.
|
|
185
|
+
"version": "4.0.24",
|
|
186
186
|
"selector": "brick-published-v4",
|
|
187
187
|
"description": "brick-published",
|
|
188
188
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-published",
|
|
@@ -190,15 +190,27 @@
|
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
"name": "brick-share",
|
|
193
|
-
"version": "0.
|
|
193
|
+
"version": "0.4.4",
|
|
194
194
|
"selector": "brick-share-v0",
|
|
195
195
|
"description": "brick-share component",
|
|
196
196
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-share",
|
|
197
197
|
"mainJsFile": "brick-share.js"
|
|
198
198
|
},
|
|
199
|
+
{
|
|
200
|
+
"name": "brick-skip-link",
|
|
201
|
+
"version": "0.0.3",
|
|
202
|
+
"selector": "brick-skip-link-v0",
|
|
203
|
+
"description": "brick-skip-link component",
|
|
204
|
+
"category": "Navigation",
|
|
205
|
+
"tags": [
|
|
206
|
+
"navigation"
|
|
207
|
+
],
|
|
208
|
+
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-skip-link",
|
|
209
|
+
"mainJsFile": "brick-skip-link.js"
|
|
210
|
+
},
|
|
199
211
|
{
|
|
200
212
|
"name": "brick-stepper",
|
|
201
|
-
"version": "1.1.
|
|
213
|
+
"version": "1.1.10",
|
|
202
214
|
"selector": "brick-stepper-v1",
|
|
203
215
|
"description": "brick-stepper component",
|
|
204
216
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-stepper",
|
|
@@ -206,7 +218,7 @@
|
|
|
206
218
|
},
|
|
207
219
|
{
|
|
208
220
|
"name": "brick-tab",
|
|
209
|
-
"version": "0.1.
|
|
221
|
+
"version": "0.1.31",
|
|
210
222
|
"selector": "brick-tab-v0",
|
|
211
223
|
"description": "brick-tab component",
|
|
212
224
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tab",
|
|
@@ -214,7 +226,7 @@
|
|
|
214
226
|
},
|
|
215
227
|
{
|
|
216
228
|
"name": "brick-tabs",
|
|
217
|
-
"version": "0.1.
|
|
229
|
+
"version": "0.1.32",
|
|
218
230
|
"selector": "brick-tabs-v0",
|
|
219
231
|
"description": "brick-tabs component handling tablist, tabs and tabpanel",
|
|
220
232
|
"category": "Navigation",
|
|
@@ -226,7 +238,7 @@
|
|
|
226
238
|
},
|
|
227
239
|
{
|
|
228
240
|
"name": "brick-tag",
|
|
229
|
-
"version": "0.0.
|
|
241
|
+
"version": "0.0.31",
|
|
230
242
|
"selector": "brick-tag-v0",
|
|
231
243
|
"description": "brick-tag component",
|
|
232
244
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tag",
|
|
@@ -234,7 +246,7 @@
|
|
|
234
246
|
},
|
|
235
247
|
{
|
|
236
248
|
"name": "brick-teaser",
|
|
237
|
-
"version": "22.2.
|
|
249
|
+
"version": "22.2.10",
|
|
238
250
|
"selector": "brick-teaser-v22",
|
|
239
251
|
"description": "Teaser component.",
|
|
240
252
|
"category": "Display",
|
|
@@ -246,7 +258,7 @@
|
|
|
246
258
|
},
|
|
247
259
|
{
|
|
248
260
|
"name": "brick-teaser-player",
|
|
249
|
-
"version": "1.1.
|
|
261
|
+
"version": "1.1.21",
|
|
250
262
|
"selector": "brick-teaser-player-v1",
|
|
251
263
|
"description": "brick-video-teaser component",
|
|
252
264
|
"category": "Display",
|
|
@@ -258,7 +270,7 @@
|
|
|
258
270
|
},
|
|
259
271
|
{
|
|
260
272
|
"name": "brick-teaser-reels",
|
|
261
|
-
"version": "0.4.
|
|
273
|
+
"version": "0.4.23",
|
|
262
274
|
"selector": "brick-teaser-reels-v0",
|
|
263
275
|
"description": "brick-teaser-reels component",
|
|
264
276
|
"category": "Display",
|
|
@@ -270,7 +282,7 @@
|
|
|
270
282
|
},
|
|
271
283
|
{
|
|
272
284
|
"name": "brick-textarea",
|
|
273
|
-
"version": "2.0.
|
|
285
|
+
"version": "2.0.27",
|
|
274
286
|
"selector": "brick-textarea-v2",
|
|
275
287
|
"description": "brick-textarea component",
|
|
276
288
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-textarea",
|
|
@@ -278,7 +290,7 @@
|
|
|
278
290
|
},
|
|
279
291
|
{
|
|
280
292
|
"name": "brick-themes",
|
|
281
|
-
"version": "1.0.
|
|
293
|
+
"version": "1.0.3",
|
|
282
294
|
"selector": "brick-themes-v1",
|
|
283
295
|
"description": "Brick theme names",
|
|
284
296
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-themes",
|
|
@@ -286,7 +298,7 @@
|
|
|
286
298
|
},
|
|
287
299
|
{
|
|
288
300
|
"name": "brick-toast",
|
|
289
|
-
"version": "0.1.
|
|
301
|
+
"version": "0.1.45",
|
|
290
302
|
"selector": "brick-toast-v0",
|
|
291
303
|
"description": "brick-toast component",
|
|
292
304
|
"category": "Feedback",
|
|
@@ -298,7 +310,7 @@
|
|
|
298
310
|
},
|
|
299
311
|
{
|
|
300
312
|
"name": "brick-toggle",
|
|
301
|
-
"version": "3.1.
|
|
313
|
+
"version": "3.1.33",
|
|
302
314
|
"selector": "brick-toggle-v3",
|
|
303
315
|
"description": "brick-toggle component",
|
|
304
316
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-toggle",
|
|
@@ -306,7 +318,7 @@
|
|
|
306
318
|
},
|
|
307
319
|
{
|
|
308
320
|
"name": "brick-tokens",
|
|
309
|
-
"version": "6.
|
|
321
|
+
"version": "6.2.2",
|
|
310
322
|
"selector": "brick-tokens-v6",
|
|
311
323
|
"description": "Tokens package",
|
|
312
324
|
"category": "Utilities",
|
|
@@ -318,7 +330,7 @@
|
|
|
318
330
|
},
|
|
319
331
|
{
|
|
320
332
|
"name": "brick-tooltip",
|
|
321
|
-
"version": "1.0.
|
|
333
|
+
"version": "1.0.34",
|
|
322
334
|
"selector": "brick-tooltip-v1",
|
|
323
335
|
"description": "brick-tooltip component",
|
|
324
336
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tooltip",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-alt-teaser
|
|
3
|
-
version: 8.
|
|
3
|
+
version: 8.1.23
|
|
4
4
|
selector: brick-alt-teaser-v8
|
|
5
5
|
category: Media
|
|
6
6
|
tags: [teaser, article, news, card, content-preview, media, alt-theme]
|
|
@@ -35,6 +35,7 @@ A flexible article teaser component designed for the Alt theme, supporting multi
|
|
|
35
35
|
- Analytics integration with ADP (Amedia Data Platform)
|
|
36
36
|
- Customizable background colors for visual categorization
|
|
37
37
|
- Accessibility features including ARIA labels and screen reader support
|
|
38
|
+
- Compact (small) layout variant for horizontal display
|
|
38
39
|
|
|
39
40
|
## Props/Attributes
|
|
40
41
|
|
|
@@ -51,13 +52,13 @@ A flexible article teaser component designed for the Alt theme, supporting multi
|
|
|
51
52
|
| `srcset` | string | '' | no | Responsive image srcset for different screen sizes |
|
|
52
53
|
| `imagesizes` | string | '' | no | Image sizes attribute for responsive images |
|
|
53
54
|
| `imageRatio` | string | '' | no | Custom aspect ratio (e.g., "16/9", "4/3", "1.33") |
|
|
54
|
-
| `aoi` |
|
|
55
|
+
| `aoi` | string | '' | no | Area of interest for image cropping |
|
|
55
56
|
| `altText` | string | '' | no | Alternative text for images |
|
|
56
57
|
| `tags` | string | '' | no | Comma-separated content tags |
|
|
57
58
|
| `pretitle` | string | '' | no | Text displayed above the main title (for features) |
|
|
58
59
|
| `feature` | boolean | false | no | Enables feature layout variant |
|
|
59
60
|
| `opinion` | boolean | false | no | Enables opinion layout variant |
|
|
60
|
-
| `review` |
|
|
61
|
+
| `review` | string | '' | no | Review rating (1-6, displayed as dice icons) |
|
|
61
62
|
| `gallery` | string | '' | no | Comma-separated list of gallery image URLs |
|
|
62
63
|
| `isVideo` | boolean | false | no | Enables video teaser mode |
|
|
63
64
|
| `videoId` | string | '' | no | Video identifier for brick-player |
|
|
@@ -71,6 +72,10 @@ A flexible article teaser component designed for the Alt theme, supporting multi
|
|
|
71
72
|
| `publicationOnHoverEventName` | string | '' | no | Custom event name dispatched on publication logo hover |
|
|
72
73
|
| `siteId` | string | '' | no | Site identifier for analytics |
|
|
73
74
|
| `small` | boolean | false | no | Enables compact layout variant |
|
|
75
|
+
| `video` | string | '' | no | Video URL for direct video embedding |
|
|
76
|
+
| `logo` | string | '' | no | Publication logo URL |
|
|
77
|
+
| `testId` | string | '' | no | Test identifier for automated testing |
|
|
78
|
+
| `variantId` | string | '' | no | A/B test variant identifier |
|
|
74
79
|
|
|
75
80
|
## Examples
|
|
76
81
|
|
|
@@ -261,4 +266,4 @@ The component automatically selects layout based on attributes:
|
|
|
261
266
|
|
|
262
267
|
## Version
|
|
263
268
|
|
|
264
|
-
Current version: 8.
|
|
269
|
+
Current version: 8.1.23
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-button
|
|
3
|
-
version: 9.
|
|
3
|
+
version: 9.4.18
|
|
4
4
|
selector: brick-button-v9
|
|
5
5
|
category: Forms
|
|
6
6
|
tags: [button, cta, action, interactive, link, form-control]
|
|
@@ -32,6 +32,7 @@ A customizable, accessible button component that supports multiple visual varian
|
|
|
32
32
|
- CSS custom properties for styling customization
|
|
33
33
|
- Analytics integration via ADP attributes
|
|
34
34
|
- Framework-agnostic web component with SSR support
|
|
35
|
+
- Reactive attribute observation for dynamic updates (label, icon, disabled, linkto)
|
|
35
36
|
|
|
36
37
|
## Props/Attributes
|
|
37
38
|
|
|
@@ -370,4 +371,4 @@ brick-button-v9 {
|
|
|
370
371
|
|
|
371
372
|
## Version
|
|
372
373
|
|
|
373
|
-
Current version: 9.
|
|
374
|
+
Current version: 9.4.18
|