@amedia/brick-mcp 1.0.3 → 1.0.5
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-helloworld.md +112 -143
- package/data/components/brick-icon.md +92 -139
- package/data/components/brick-icons.md +114 -318
- package/data/components/brick-mcp.md +104 -161
- package/data/components/brick-template.md +145 -146
- package/data/components-metadata.json +31 -31
- package/data/tokens.json +232 -227
- package/dist/data/components/brick-helloworld.md +112 -143
- package/dist/data/components/brick-icon.md +92 -139
- package/dist/data/components/brick-icons.md +114 -318
- package/dist/data/components/brick-mcp.md +104 -161
- package/dist/data/components/brick-template.md +145 -146
- package/dist/data/components-metadata.json +31 -31
- package/dist/data/tokens.json +232 -227
- package/dist/http.js +4 -2
- package/dist/http.js.map +3 -3
- package/dist/index.js +4 -2
- package/dist/index.js.map +3 -3
- package/package.json +34 -34
- package/scripts/check-docs-versions.js +10 -3
- package/scripts/generate-data.js +2 -2
|
@@ -1,108 +1,159 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brick-template
|
|
3
|
-
version: 2.
|
|
3
|
+
version: 2.1.0
|
|
4
4
|
selector: N/A
|
|
5
5
|
category: Utilities
|
|
6
|
-
tags: [template, base-class, web-components, internal, foundation, boilerplate]
|
|
7
|
-
use_cases: [component-development, web-component-creation, brick-component-foundation]
|
|
8
|
-
related: [brick-tokens]
|
|
6
|
+
tags: [template, base-class, web-components, internal, foundation, boilerplate, i18n, localization]
|
|
7
|
+
use_cases: [component-development, web-component-creation, brick-component-foundation, internationalization]
|
|
8
|
+
related: [brick-tokens, brick-helloworld]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Brick Template
|
|
12
12
|
|
|
13
|
-
An internal foundational package that provides the base class and utilities for building Brick web components,
|
|
13
|
+
An internal foundational package that provides the base class, decorator, and shared utilities for building Brick web components, including internationalization (i18n) support.
|
|
14
14
|
|
|
15
15
|
## Key Capabilities
|
|
16
16
|
|
|
17
|
-
- Base `BrickElement` class
|
|
18
|
-
- `defineCustomElement` decorator for
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- Framework-agnostic web component standard implementation
|
|
24
|
-
- TypeScript support with type definitions
|
|
17
|
+
- Base `BrickElement` class that all Brick components extend from
|
|
18
|
+
- `defineCustomElement` decorator for registering custom elements
|
|
19
|
+
- Automatic attribute-to-property mirroring via `mirroredProps`
|
|
20
|
+
- `childrenRenderedCallback` lifecycle hook for responding when child elements finish rendering
|
|
21
|
+
- `camelCase` utility for converting attribute names to camelCase property names
|
|
22
|
+
- i18n utilities (`getTranslation`, `requireLocale`) for component localization (added in 2.1.0)
|
|
25
23
|
|
|
26
24
|
## Core Exports
|
|
27
25
|
|
|
28
|
-
###
|
|
26
|
+
### Main entry point (`@amedia/brick-template`)
|
|
29
27
|
|
|
30
|
-
|
|
28
|
+
| Export | Type | Description |
|
|
29
|
+
| ---------------------- | ---------- | --------------------------------------------------------------------------- |
|
|
30
|
+
| `BrickElement` | class | Base class extending `HTMLElement` for all Brick web components |
|
|
31
|
+
| `EventListenerObject` | type | Type for declarative event listener configuration (`{selector, action, listener}`) |
|
|
32
|
+
| `defineCustomElement` | function | Decorator that registers a custom element with given config |
|
|
33
|
+
| `camelCase` | function | Converts hyphenated attribute names (e.g. `data-text`) to camelCase (e.g. `dataText`) |
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
- Lifecycle hooks
|
|
34
|
-
- Attribute observation
|
|
35
|
-
- Property management
|
|
36
|
-
- Shadow DOM handling
|
|
35
|
+
### i18n submodule (`@amedia/brick-template/i18n`)
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
Added in version 2.1.0. Provides internationalization utilities for Brick components.
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
| Export | Type | Description |
|
|
40
|
+
| ------------------- | ---------- | --------------------------------------------------------------------------- |
|
|
41
|
+
| `getTranslation` | function | Looks up a translation key for a locale, falling back to `nb-NO` |
|
|
42
|
+
| `requireLocale` | function | Validates that a locale is provided and supported; throws if not |
|
|
43
|
+
| `SupportedLocales` | type | Union type: `'nb-NO' \| 'nn-NO' \| 'da-DK'` |
|
|
44
|
+
| `I18n` | type | `Record<SupportedLocales, Record<string, string>>` for translation maps |
|
|
41
45
|
|
|
42
|
-
##
|
|
46
|
+
## BrickElement API
|
|
47
|
+
|
|
48
|
+
### Constructor Behavior
|
|
49
|
+
|
|
50
|
+
- Initializes `parameters` as an empty object
|
|
51
|
+
- Sets `selector` from config or falls back to `tagName`
|
|
52
|
+
- Creates a shadow DOM only if `config.shadow` is `true` (default is `false`)
|
|
53
|
+
- If `mirroredProps` is defined on the subclass, auto-generates property getters/setters for each attribute (plus `data-locale`)
|
|
54
|
+
|
|
55
|
+
### Properties
|
|
56
|
+
|
|
57
|
+
| Property | Type | Description |
|
|
58
|
+
| -------------- | -------------------------- | --------------------------------------------------------------- |
|
|
59
|
+
| `config` | `Config` | Configuration set by `@defineCustomElement` decorator |
|
|
60
|
+
| `parameters` | `Record<string, any>` | Merged dataset from constructor params, `data-*` attributes, and `data` property |
|
|
61
|
+
| `root` | `this \| ShadowRoot` | Render target (`this` when no shadow DOM, `ShadowRoot` otherwise) |
|
|
62
|
+
| `isRendered` | `boolean` | Reflects the `is-rendered` attribute; when true, skips DOM injection on connect |
|
|
63
|
+
| `HTML` | `string` | Override this getter in subclasses to define component markup |
|
|
64
|
+
|
|
65
|
+
### Lifecycle Methods
|
|
43
66
|
|
|
44
|
-
|
|
67
|
+
| Method | Description |
|
|
68
|
+
| ----------------------------- | -------------------------------------------------------------------------------- |
|
|
69
|
+
| `connectedCallback()` | Merges parameters, attaches DOM (if not already rendered), adds event listeners, and appends `<brick-children-rendered>` trigger element |
|
|
70
|
+
| `disconnectedCallback()` | Removes all event listeners |
|
|
71
|
+
| `childrenRenderedCallback()` | Called after child elements have rendered; override in subclasses to react |
|
|
72
|
+
| `attachDOM()` | Clones the HTML template into the component root; applies host styles |
|
|
73
|
+
|
|
74
|
+
### Declarative Event Listeners
|
|
75
|
+
|
|
76
|
+
Override the `eventListeners` getter to return an array of `EventListenerObject`:
|
|
45
77
|
|
|
46
78
|
```typescript
|
|
47
|
-
|
|
48
|
-
|
|
79
|
+
get eventListeners(): EventListenerObject[] {
|
|
80
|
+
return [
|
|
81
|
+
{ selector: 'this', action: 'click', listener: this.handleClick },
|
|
82
|
+
{ selector: '.my-button', action: 'click', listener: this.onButton },
|
|
83
|
+
{ selector: 'window', action: 'resize', listener: this.onResize },
|
|
84
|
+
];
|
|
85
|
+
}
|
|
86
|
+
```
|
|
49
87
|
|
|
50
|
-
|
|
51
|
-
color: '$supportiveBlackText',
|
|
52
|
-
backgroundColor: '$supportiveBlackBg'
|
|
53
|
-
});
|
|
88
|
+
Special `selector` values: `'this'` targets the component root, `'window'` targets the global window object.
|
|
54
89
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
90
|
+
### Mirrored Props
|
|
91
|
+
|
|
92
|
+
Define a static `mirroredProps` array on your subclass to auto-sync `data-*` attributes with camelCase properties:
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
static get mirroredProps() {
|
|
96
|
+
return ['data-text', 'data-size'];
|
|
62
97
|
}
|
|
98
|
+
// This creates this.dataText and this.dataSize properties
|
|
99
|
+
// that read from / write to the corresponding attributes.
|
|
100
|
+
// data-locale is always included automatically.
|
|
63
101
|
```
|
|
64
102
|
|
|
65
|
-
|
|
103
|
+
## `defineCustomElement` Decorator
|
|
104
|
+
|
|
105
|
+
### Config Interface
|
|
106
|
+
|
|
107
|
+
| Property | Type | Required | Default | Description |
|
|
108
|
+
| ----------- | -------- | -------- | ------- | ---------------------------------------------- |
|
|
109
|
+
| `selector` | `string` | yes | - | Custom element tag name (must contain a hyphen) |
|
|
110
|
+
| `shadow` | `boolean`| no | `false` | Whether to use Shadow DOM |
|
|
111
|
+
| `component` | `any` | no | - | Optional framework component reference |
|
|
112
|
+
| `version` | `string` | no | `'1.0.0'` | Component version string |
|
|
113
|
+
| `name` | `string` | no | - | Sets `brick-component` attribute on element |
|
|
114
|
+
|
|
115
|
+
## Usage
|
|
116
|
+
|
|
117
|
+
### Creating a Brick Component
|
|
66
118
|
|
|
67
119
|
```typescript
|
|
68
120
|
import { BrickElement, defineCustomElement } from '@amedia/brick-template';
|
|
69
121
|
|
|
70
122
|
@defineCustomElement({
|
|
71
|
-
selector: 'brick-example',
|
|
123
|
+
selector: 'brick-example-v2',
|
|
72
124
|
})
|
|
73
125
|
class BrickExample extends BrickElement {
|
|
74
|
-
|
|
75
|
-
static get observedAttributes() {
|
|
126
|
+
static get mirroredProps() {
|
|
76
127
|
return ['data-label', 'data-value'];
|
|
77
128
|
}
|
|
78
129
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
return this.getAttribute('data-label') || '';
|
|
130
|
+
static get observedAttributes() {
|
|
131
|
+
return ['children-rendered'];
|
|
82
132
|
}
|
|
83
133
|
|
|
84
|
-
|
|
85
|
-
this.
|
|
134
|
+
get HTML() {
|
|
135
|
+
return `<div><span>${this.dataLabel}</span>: <span>${this.dataValue}</span></div>`;
|
|
86
136
|
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
87
139
|
|
|
88
|
-
|
|
89
|
-
return this.getAttribute('data-value') || '';
|
|
90
|
-
}
|
|
140
|
+
### Using i18n Utilities
|
|
91
141
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
142
|
+
```typescript
|
|
143
|
+
import { getTranslation, requireLocale } from '@amedia/brick-template/i18n';
|
|
144
|
+
import type { I18n, SupportedLocales } from '@amedia/brick-template/i18n';
|
|
95
145
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
146
|
+
const translations: I18n = {
|
|
147
|
+
'nb-NO': { greeting: 'Hei' },
|
|
148
|
+
'nn-NO': { greeting: 'Hei' },
|
|
149
|
+
'da-DK': { greeting: 'Hej' },
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
// Validate locale (throws if missing or unsupported)
|
|
153
|
+
requireLocale(locale, 'brick-my-component', ['nb-NO', 'nn-NO', 'da-DK']);
|
|
154
|
+
|
|
155
|
+
// Look up translation, falls back to nb-NO if key missing for locale
|
|
156
|
+
const text = getTranslation(translations, 'nn-NO', 'greeting'); // "Hei"
|
|
106
157
|
```
|
|
107
158
|
|
|
108
159
|
### Component with Lifecycle Hooks
|
|
@@ -111,116 +162,64 @@ class BrickExample extends BrickElement {
|
|
|
111
162
|
import { BrickElement, defineCustomElement } from '@amedia/brick-template';
|
|
112
163
|
|
|
113
164
|
@defineCustomElement({
|
|
114
|
-
selector: 'brick-lifecycle',
|
|
165
|
+
selector: 'brick-lifecycle-v1',
|
|
115
166
|
})
|
|
116
167
|
class BrickLifecycle extends BrickElement {
|
|
117
168
|
connectedCallback() {
|
|
118
169
|
super.connectedCallback();
|
|
119
|
-
|
|
170
|
+
// Component is now in the DOM
|
|
120
171
|
}
|
|
121
172
|
|
|
122
173
|
disconnectedCallback() {
|
|
123
174
|
super.disconnectedCallback();
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string) {
|
|
128
|
-
super.attributeChangedCallback(name, oldValue, newValue);
|
|
129
|
-
console.log(`Attribute ${name} changed from ${oldValue} to ${newValue}`);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
get HTML() {
|
|
133
|
-
return `<div>Lifecycle Component</div>`;
|
|
175
|
+
// Component removed from DOM
|
|
134
176
|
}
|
|
135
|
-
}
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
## Usage in Brick Components
|
|
139
|
-
|
|
140
|
-
All Brick components use brick-template as their foundation:
|
|
141
|
-
|
|
142
|
-
```typescript
|
|
143
|
-
import { BrickElement, defineCustomElement } from '@amedia/brick-template';
|
|
144
|
-
import { css } from '@amedia/brick-tokens';
|
|
145
177
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
export class BrickButton extends BrickElement {
|
|
150
|
-
static get observedAttributes() {
|
|
151
|
-
return ['data-label', 'data-version', 'data-size'];
|
|
178
|
+
childrenRenderedCallback() {
|
|
179
|
+
// All children have finished rendering
|
|
180
|
+
this.processChildren();
|
|
152
181
|
}
|
|
153
182
|
|
|
154
183
|
get HTML() {
|
|
155
|
-
return `<
|
|
184
|
+
return `<div>Content</div>`;
|
|
156
185
|
}
|
|
157
186
|
}
|
|
158
187
|
```
|
|
159
188
|
|
|
160
|
-
##
|
|
161
|
-
|
|
162
|
-
### Properties
|
|
163
|
-
|
|
164
|
-
- `shadowRoot`: Access to the component's shadow DOM
|
|
165
|
-
- `observedAttributes`: Static property defining which attributes to watch
|
|
189
|
+
## i18n Details
|
|
166
190
|
|
|
167
|
-
###
|
|
168
|
-
|
|
169
|
-
- `connectedCallback()`: Called when element is inserted into DOM
|
|
170
|
-
- `disconnectedCallback()`: Called when element is removed from DOM
|
|
171
|
-
- `attributeChangedCallback(name, oldValue, newValue)`: Called when observed attribute changes
|
|
172
|
-
- `adoptedCallback()`: Called when element is moved to a new document
|
|
173
|
-
|
|
174
|
-
### Template Method
|
|
175
|
-
|
|
176
|
-
- `get HTML()`: Override this getter to define your component's template
|
|
191
|
+
### `getTranslation(i18n, locale, key)`
|
|
177
192
|
|
|
178
|
-
|
|
193
|
+
- Looks up `i18n[locale][key]`
|
|
194
|
+
- Falls back to `i18n['nb-NO'][key]` if not found for the given locale
|
|
195
|
+
- Returns the raw `key` string if no translation exists at all
|
|
179
196
|
|
|
180
|
-
|
|
197
|
+
### `requireLocale(locale, component, supported)`
|
|
181
198
|
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
- Vue
|
|
186
|
-
- Angular
|
|
187
|
-
- Any framework that supports web components
|
|
199
|
+
- Throws an error if `locale` is `undefined` or not included in the `supported` array
|
|
200
|
+
- Error messages include the component name and list of supported locales
|
|
201
|
+
- Use this for components where locale is mandatory
|
|
188
202
|
|
|
189
|
-
|
|
190
|
-
// Vanilla JS
|
|
191
|
-
import '@amedia/brick-button';
|
|
192
|
-
const button = document.createElement('brick-button-v9');
|
|
193
|
-
button.dataLabel = 'Click me';
|
|
203
|
+
### Supported Locales
|
|
194
204
|
|
|
195
|
-
|
|
196
|
-
import '@amedia/brick-button';
|
|
197
|
-
<brick-button-v9 data-label="Click me" />
|
|
198
|
-
|
|
199
|
-
// React
|
|
200
|
-
import '@amedia/brick-button';
|
|
201
|
-
<brick-button-v9 data-label="Click me" />
|
|
202
|
-
```
|
|
205
|
+
The `SupportedLocales` type defines: `'nb-NO'` (Norwegian Bokmal), `'nn-NO'` (Norwegian Nynorsk), `'da-DK'` (Danish).
|
|
203
206
|
|
|
204
207
|
## Technical Details
|
|
205
208
|
|
|
206
|
-
- **Package
|
|
207
|
-
- **
|
|
208
|
-
- **
|
|
209
|
-
- **
|
|
210
|
-
- **
|
|
211
|
-
- **
|
|
209
|
+
- **Package version**: `2.1.0`
|
|
210
|
+
- **Custom Element tag**: N/A (this is a base class package, not a standalone component; individual Brick components define their own selectors)
|
|
211
|
+
- **Output format**: ESM only (CommonJS removed in 2.0.0)
|
|
212
|
+
- **Shadow DOM**: Disabled by default (`shadow: false`); opt-in via `defineCustomElement` config
|
|
213
|
+
- **Dependencies**: None (standalone foundation package)
|
|
214
|
+
- **Submodules**: Main entry (`@amedia/brick-template`), i18n entry (`@amedia/brick-template/i18n`)
|
|
212
215
|
|
|
213
216
|
## Important Notes
|
|
214
217
|
|
|
215
|
-
- This is an internal package used
|
|
216
|
-
-
|
|
217
|
-
-
|
|
218
|
-
-
|
|
219
|
-
-
|
|
220
|
-
- Version 2.0.0
|
|
221
|
-
-
|
|
222
|
-
- The
|
|
223
|
-
|
|
224
|
-
## Version
|
|
225
|
-
|
|
226
|
-
Current version: 2.0.0
|
|
218
|
+
- This is an internal package used as the foundation for all Brick components; it is not meant to be used directly in applications.
|
|
219
|
+
- All Brick components must extend `BrickElement` and use the `@defineCustomElement` decorator.
|
|
220
|
+
- Override the `HTML` getter to define component markup; BrickElement clones from a `<template>` element for performance.
|
|
221
|
+
- When a component is server-side rendered (has `is-rendered` attribute), BrickElement skips DOM injection in `connectedCallback` to avoid duplicating content.
|
|
222
|
+
- The `mirroredProps` mechanism always includes `data-locale` automatically, even if not listed, to support i18n.
|
|
223
|
+
- Version 2.0.0 removed CommonJS support; only ES modules are exported.
|
|
224
|
+
- Version 2.1.0 added the `i18n` submodule with `getTranslation`, `requireLocale`, `SupportedLocales`, and `I18n` exports.
|
|
225
|
+
- The `childrenRenderedCallback` lifecycle hook (added in 1.3.0) fires after all child elements have rendered; it works by appending a `<brick-children-rendered>` helper element that triggers the callback and then removes itself.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "brick-alt-teaser",
|
|
4
|
-
"version": "8.1.
|
|
4
|
+
"version": "8.1.27",
|
|
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.64",
|
|
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.22",
|
|
27
27
|
"selector": "brick-button-v9",
|
|
28
28
|
"category": "Forms",
|
|
29
29
|
"tags": [
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "brick-byline",
|
|
38
|
-
"version": "
|
|
39
|
-
"selector": "brick-byline-
|
|
38
|
+
"version": "2.0.1",
|
|
39
|
+
"selector": "brick-byline-v2",
|
|
40
40
|
"description": "brick-byline component",
|
|
41
41
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-byline",
|
|
42
42
|
"mainJsFile": "brick-byline.js"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "brick-card",
|
|
46
|
-
"version": "7.3.
|
|
46
|
+
"version": "7.3.36",
|
|
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.9",
|
|
58
58
|
"selector": "brick-carousel-v2",
|
|
59
59
|
"description": "Simple carousel for any content passed to it.",
|
|
60
60
|
"category": "Display",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "brick-countdown",
|
|
81
|
-
"version": "3.0.
|
|
81
|
+
"version": "3.0.11",
|
|
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.19",
|
|
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.31",
|
|
102
102
|
"selector": "brick-expand-v0",
|
|
103
103
|
"description": "brick-expand component",
|
|
104
104
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-expand",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "brick-helloworld",
|
|
120
|
-
"version": "2.
|
|
120
|
+
"version": "2.1.2",
|
|
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.4.
|
|
128
|
+
"version": "2.4.3",
|
|
129
129
|
"selector": "brick-icon-v2",
|
|
130
130
|
"category": "Display",
|
|
131
131
|
"tags": [
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "brick-image",
|
|
146
|
-
"version": "6.0.
|
|
146
|
+
"version": "6.0.31",
|
|
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.11",
|
|
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.10",
|
|
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.4.
|
|
177
|
+
"version": "2.4.7",
|
|
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.27",
|
|
186
186
|
"selector": "brick-published-v4",
|
|
187
187
|
"description": "brick-published",
|
|
188
188
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-published",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
"name": "brick-share",
|
|
193
|
-
"version": "0.4.
|
|
193
|
+
"version": "0.4.7",
|
|
194
194
|
"selector": "brick-share-v0",
|
|
195
195
|
"description": "brick-share component",
|
|
196
196
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-share",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"name": "brick-skip-link",
|
|
201
|
-
"version": "0.0.
|
|
201
|
+
"version": "0.0.6",
|
|
202
202
|
"selector": "brick-skip-link-v0",
|
|
203
203
|
"description": "brick-skip-link component",
|
|
204
204
|
"category": "Navigation",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"name": "brick-stepper",
|
|
213
|
-
"version": "1.1.
|
|
213
|
+
"version": "1.1.13",
|
|
214
214
|
"selector": "brick-stepper-v1",
|
|
215
215
|
"description": "brick-stepper component",
|
|
216
216
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-stepper",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"name": "brick-tab",
|
|
221
|
-
"version": "0.1.
|
|
221
|
+
"version": "0.1.34",
|
|
222
222
|
"selector": "brick-tab-v0",
|
|
223
223
|
"description": "brick-tab component",
|
|
224
224
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tab",
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"name": "brick-tabs",
|
|
229
|
-
"version": "0.1.
|
|
229
|
+
"version": "0.1.35",
|
|
230
230
|
"selector": "brick-tabs-v0",
|
|
231
231
|
"description": "brick-tabs component handling tablist, tabs and tabpanel",
|
|
232
232
|
"category": "Navigation",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
"name": "brick-tag",
|
|
241
|
-
"version": "0.0.
|
|
241
|
+
"version": "0.0.34",
|
|
242
242
|
"selector": "brick-tag-v0",
|
|
243
243
|
"description": "brick-tag component",
|
|
244
244
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tag",
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"name": "brick-teaser",
|
|
249
|
-
"version": "22.2.
|
|
249
|
+
"version": "22.2.13",
|
|
250
250
|
"selector": "brick-teaser-v22",
|
|
251
251
|
"description": "Teaser component.",
|
|
252
252
|
"category": "Display",
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"name": "brick-teaser-player",
|
|
261
|
-
"version": "1.1.
|
|
261
|
+
"version": "1.1.24",
|
|
262
262
|
"selector": "brick-teaser-player-v1",
|
|
263
263
|
"description": "brick-video-teaser component",
|
|
264
264
|
"category": "Display",
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
"name": "brick-teaser-reels",
|
|
273
|
-
"version": "0.4.
|
|
273
|
+
"version": "0.4.26",
|
|
274
274
|
"selector": "brick-teaser-reels-v0",
|
|
275
275
|
"description": "brick-teaser-reels component",
|
|
276
276
|
"category": "Display",
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"name": "brick-textarea",
|
|
285
|
-
"version": "2.0.
|
|
285
|
+
"version": "2.0.30",
|
|
286
286
|
"selector": "brick-textarea-v2",
|
|
287
287
|
"description": "brick-textarea component",
|
|
288
288
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-textarea",
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
300
|
"name": "brick-toast",
|
|
301
|
-
"version": "0.1.
|
|
301
|
+
"version": "0.1.48",
|
|
302
302
|
"selector": "brick-toast-v0",
|
|
303
303
|
"description": "brick-toast component",
|
|
304
304
|
"category": "Feedback",
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"name": "brick-toggle",
|
|
313
|
-
"version": "3.1.
|
|
313
|
+
"version": "3.1.36",
|
|
314
314
|
"selector": "brick-toggle-v3",
|
|
315
315
|
"description": "brick-toggle component",
|
|
316
316
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-toggle",
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
320
|
"name": "brick-tokens",
|
|
321
|
-
"version": "6.
|
|
321
|
+
"version": "6.3.0",
|
|
322
322
|
"selector": "brick-tokens-v6",
|
|
323
323
|
"description": "Tokens package",
|
|
324
324
|
"category": "Utilities",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"name": "brick-tooltip",
|
|
333
|
-
"version": "1.0.
|
|
333
|
+
"version": "1.0.37",
|
|
334
334
|
"selector": "brick-tooltip-v1",
|
|
335
335
|
"description": "brick-tooltip component",
|
|
336
336
|
"assetUrl": "https://assets.acdn.no/pkg/@amedia/brick-tooltip",
|