@telia-ace/alliance-ui 1.0.5-next.0 → 1.0.5-next.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/CHANGELOG.md +32 -0
- package/README.md +31 -30
- package/components/{alliance-object-list/alliance-object-list.d.ts → alliance-table/alliance-table-body.d.ts} +1 -1
- package/components/{alliance-object-list/alliance-object-list-item.d.ts → alliance-table/alliance-table-data.d.ts} +1 -2
- package/components/{alliance-object-list/alliance-object-list-head.d.ts → alliance-table/alliance-table-head.d.ts} +1 -2
- package/components/{alliance-object-list/alliance-object-list-row.d.ts → alliance-table/alliance-table-row.d.ts} +1 -2
- package/components/alliance-table/alliance-table.d.ts +5 -0
- package/components/{alliance-object-list/alliance-object-list.stories.d.ts → alliance-table/alliance-table.stories.d.ts} +0 -0
- package/components/alliance-table/index.d.ts +5 -0
- package/components/index.d.ts +1 -1
- package/components/index.js +321 -325
- package/components/index.js.map +1 -1
- package/package.json +1 -1
- package/voca/components/telia-divider.js +45 -3
- package/voca/components/telia-divider.js.map +1 -1
- package/voca/foundations/index.js +59 -48
- package/voca/foundations/index.js.map +1 -1
- package/chunks/telia-divider-7f90475d.js +0 -46
- package/chunks/telia-divider-7f90475d.js.map +0 -1
- package/components/alliance-object-list/index.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @telia-ace/alliance-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.5-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 603ff44: Replace `<alliance-object-list>` with `<alliance-table>` and use `display: table` instead of `flex`.
|
|
8
|
+
- d87f961: More consistent CSS variable names (https://github.com/telia-company/ace-alliance-sdk/issues/137).
|
|
9
|
+
|
|
10
|
+
_New/changed variables_
|
|
11
|
+
| Variable | Equivalent Voca SCSS Variable |
|
|
12
|
+
| -------------------------- | ---------------------------------------------------- |
|
|
13
|
+
| `--box-shadow-sm` | `$telia-shadow-sm` |
|
|
14
|
+
| `--box-shadow-md` | `$telia-shadow-md` |
|
|
15
|
+
| `--box-shadow-lg` | `$telia-shadow-lg` |
|
|
16
|
+
| `--grid-gutter-sm` | `$gutter` |
|
|
17
|
+
| `--grid-gutter-md` | `$gutter-medium` |
|
|
18
|
+
| `--grid-gutter-lg` | `$gutter-large` |
|
|
19
|
+
| `--grid-page-padding-sm` | `$page-padding` |
|
|
20
|
+
| `--grid-page-padding-md` | `$page-padding-m` |
|
|
21
|
+
| `--grid-page-padding-lg` | `$page-padding-l` |
|
|
22
|
+
|
|
23
|
+
_Deprecated variables_
|
|
24
|
+
| Variable | Equivalent Voca SCSS Variable |
|
|
25
|
+
| -------------------------- | ---------------------------------------------------- |
|
|
26
|
+
| `--box-shadow-hard` | `$telia-shadow-hard` |
|
|
27
|
+
| `--box-shadow-soft` | `$telia-shadow-soft` |
|
|
28
|
+
| `--grid-gutter` | `$gutter` |
|
|
29
|
+
| `--grid-gutter-medium` | `$gutter-medium` |
|
|
30
|
+
| `--grid-gutter-large` | `$gutter-large` |
|
|
31
|
+
| `--grid-page-padding` | `$page-padding` |
|
|
32
|
+
| `--grid-page-padding-m` | `$page-padding-m` |
|
|
33
|
+
| `--grid-page-padding-l` | `$page-padding-l` |
|
|
34
|
+
|
|
3
35
|
## 1.0.5-next.0
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
All `alliance-` components are imported when starting the Alliance server, so these components are available out of the box.
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `Table`
|
|
8
8
|
|
|
9
9
|
Used to render tabular data.
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
|
-
<alliance-
|
|
12
|
+
<alliance-table> ... </alliance-table>
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
## `
|
|
15
|
+
## `Table Row`
|
|
16
16
|
|
|
17
|
-
Used to render a row inside
|
|
17
|
+
Used to render a row inside a table.
|
|
18
18
|
|
|
19
19
|
```html
|
|
20
|
-
<alliance-
|
|
21
|
-
<alliance-
|
|
20
|
+
<alliance-table>
|
|
21
|
+
<alliance-tr>
|
|
22
22
|
<!-- cells -->
|
|
23
|
-
</alliance-
|
|
24
|
-
</alliance-
|
|
23
|
+
</alliance-tr>
|
|
24
|
+
</alliance-table>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### Properties
|
|
@@ -30,16 +30,16 @@ Used to render a row inside an object list.
|
|
|
30
30
|
| --------- | --------- | -------- | ------- | ------------------------------------------- |
|
|
31
31
|
| clickable | `boolean` | No | `false` | Whether the row should be clickable or not. |
|
|
32
32
|
|
|
33
|
-
## `
|
|
33
|
+
## `Table Head`
|
|
34
34
|
|
|
35
|
-
Used to display a column head inside
|
|
35
|
+
Used to display a column head inside a table row.
|
|
36
36
|
|
|
37
37
|
```html
|
|
38
|
-
<alliance-
|
|
39
|
-
<alliance-
|
|
40
|
-
<alliance-
|
|
41
|
-
</alliance-
|
|
42
|
-
</alliance-
|
|
38
|
+
<alliance-table>
|
|
39
|
+
<alliance-tr>
|
|
40
|
+
<alliance-th label="Column header" />
|
|
41
|
+
</alliance-tr>
|
|
42
|
+
</alliance-table>
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Properties
|
|
@@ -48,16 +48,16 @@ Used to display a column head inside an object list row.
|
|
|
48
48
|
| ----- | -------- | -------- | ------- | --------------- |
|
|
49
49
|
| label | `string` | No | `''` | The head label. |
|
|
50
50
|
|
|
51
|
-
## `
|
|
51
|
+
## `Table Data`
|
|
52
52
|
|
|
53
|
-
Used to display
|
|
53
|
+
Used to display a cell with data inside a table row.
|
|
54
54
|
|
|
55
55
|
```html
|
|
56
|
-
<alliance-
|
|
57
|
-
<alliance-
|
|
58
|
-
<alliance-
|
|
59
|
-
</alliance-
|
|
60
|
-
</alliance-
|
|
56
|
+
<alliance-table>
|
|
57
|
+
<alliance-tr>
|
|
58
|
+
<alliance-td><!-- data --></alliance-td>
|
|
59
|
+
</alliance-tr>
|
|
60
|
+
</alliance-table>
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## `Paginator`
|
|
@@ -202,8 +202,9 @@ _They can be accessed using the [var()](https://developer.mozilla.org/en-US/docs
|
|
|
202
202
|
| `--spacing-96` | `$telia-spacing-96` |
|
|
203
203
|
| `--spacing-128` | `$telia-spacing-128` |
|
|
204
204
|
| `--box-shadow-none` | `$telia-shadow-none` |
|
|
205
|
-
| `--box-shadow-
|
|
206
|
-
| `--box-shadow-
|
|
205
|
+
| `--box-shadow-sm` | `$telia-shadow-sm` |
|
|
206
|
+
| `--box-shadow-md` | `$telia-shadow-md` |
|
|
207
|
+
| `--box-shadow-lg` | `$telia-shadow-lg` |
|
|
207
208
|
| `--duration-50` | `$telia-duration-50` |
|
|
208
209
|
| `--duration-100` | `$telia-duration-100` |
|
|
209
210
|
| `--duration-150` | `$telia-duration-150` |
|
|
@@ -235,12 +236,12 @@ _They can be accessed using the [var()](https://developer.mozilla.org/en-US/docs
|
|
|
235
236
|
| `--screen-size-md` | `$telia-breakpoint-medium` |
|
|
236
237
|
| `--screen-size-lg` | `$telia-breakpoint-large` |
|
|
237
238
|
| `--screen-size-xl` | `$telia-breakpoint-xlarge` |
|
|
238
|
-
| `--grid-gutter`
|
|
239
|
-
| `--grid-gutter-
|
|
240
|
-
| `--grid-gutter-
|
|
241
|
-
| `--grid-page-padding`
|
|
242
|
-
| `--grid-page-padding-
|
|
243
|
-
| `--grid-page-padding-
|
|
239
|
+
| `--grid-gutter-sm` | `$gutter` |
|
|
240
|
+
| `--grid-gutter-md` | `$gutter-medium` |
|
|
241
|
+
| `--grid-gutter-lg` | `$gutter-large` |
|
|
242
|
+
| `--grid-page-padding-sm` | `$page-padding` |
|
|
243
|
+
| `--grid-page-padding-md` | `$page-padding-m` |
|
|
244
|
+
| `--grid-page-padding-lg` | `$page-padding-l` |
|
|
244
245
|
| `--grid-page-padding-xl` | `$page-padding-xl` |
|
|
245
246
|
| `--purple-100` | `$telia-purple-100` |
|
|
246
247
|
| `--purple-200` | `$telia-purple-200` |
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import '@/voca/components/telia-heading';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class TableHead extends LitElement {
|
|
4
4
|
static styles: import("lit").CSSResult;
|
|
5
|
-
padded: boolean;
|
|
6
5
|
label: string;
|
|
7
6
|
render(): import("lit").TemplateResult<1>;
|
|
8
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import '@/voca/components/telia-divider';
|
|
2
1
|
import { LitElement } from 'lit';
|
|
3
|
-
export declare class
|
|
2
|
+
export declare class TableBody extends LitElement {
|
|
4
3
|
static styles: import("lit").CSSResult;
|
|
5
4
|
clickable: boolean;
|
|
6
5
|
render(): import("lit").TemplateResult<1>;
|
|
File without changes
|
package/components/index.d.ts
CHANGED