@telia-ace/alliance-ui 1.0.5-next.1 → 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,65 @@
1
1
  # @telia-ace/alliance-ui
2
2
 
3
+ ## 1.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - c47d82c: Update all deps to latest.
8
+ - c47d82c: Fix Alliance paginator component paging arrows getting too much horizontal padding.
9
+ - c47d82c: Improvements to Alliance paginator.
10
+
11
+ - Support for preventing default behaviour of `change-page` event.
12
+ - Export `ChangePageEvent` type.
13
+ - Fixes bug where the Paginator state did not update after properties were changed (https://github.com/telia-company/ace-alliance-sdk/issues/140).
14
+
15
+ ```svelte
16
+ // view.svelte
17
+ <script lang="ts">
18
+ import type { ChangePageEvent } from '@telia-ace/alliance-ui/components/alliance-paginator';
19
+
20
+ let currentPage = 1;
21
+
22
+ function changePageHandler(event: ChangePageEvent) {
23
+ event.preventDefault();
24
+ currentPage = event.detail;
25
+ }
26
+ </script>
27
+
28
+ <alliance-paginator
29
+ on:change-page={changePageHandler}
30
+ initial-page={currentPage}
31
+ item-count="1000"
32
+ />
33
+ ```
34
+
35
+ - c47d82c: Replace `<alliance-object-list>` with `<alliance-table>` and use `display: table` instead of `flex`.
36
+ - c47d82c: More consistent CSS variable names (https://github.com/telia-company/ace-alliance-sdk/issues/137).
37
+
38
+ _New/changed variables_
39
+ | Variable | Equivalent Voca SCSS Variable |
40
+ | -------------------------- | ---------------------------------------------------- |
41
+ | `--box-shadow-sm` | `$telia-shadow-sm` |
42
+ | `--box-shadow-md` | `$telia-shadow-md` |
43
+ | `--box-shadow-lg` | `$telia-shadow-lg` |
44
+ | `--grid-gutter-sm` | `$gutter` |
45
+ | `--grid-gutter-md` | `$gutter-medium` |
46
+ | `--grid-gutter-lg` | `$gutter-large` |
47
+ | `--grid-page-padding-sm` | `$page-padding` |
48
+ | `--grid-page-padding-md` | `$page-padding-m` |
49
+ | `--grid-page-padding-lg` | `$page-padding-l` |
50
+
51
+ _Deprecated variables_
52
+ | Variable | Equivalent Voca SCSS Variable |
53
+ | -------------------------- | ---------------------------------------------------- |
54
+ | `--box-shadow-hard` | `$telia-shadow-hard` |
55
+ | `--box-shadow-soft` | `$telia-shadow-soft` |
56
+ | `--grid-gutter` | `$gutter` |
57
+ | `--grid-gutter-medium` | `$gutter-medium` |
58
+ | `--grid-gutter-large` | `$gutter-large` |
59
+ | `--grid-page-padding` | `$page-padding` |
60
+ | `--grid-page-padding-m` | `$page-padding-m` |
61
+ | `--grid-page-padding-l` | `$page-padding-l` |
62
+
3
63
  ## 1.0.5-next.1
4
64
 
5
65
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/alliance-ui",
3
- "version": "1.0.5-next.1",
3
+ "version": "1.0.5",
4
4
  "description": "UI components used by ACE Alliance apps.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -42,8 +42,8 @@
42
42
  "@storybook/types": "7.0.0-alpha.44",
43
43
  "@storybook/web-components": "7.0.0-beta.25",
44
44
  "@storybook/web-components-vite": "7.0.0-beta.25",
45
- "@telia-ace/alliance-framework": "^1.0.6-next.0",
46
- "@telia-ace/alliance-utilities": "^1.0.5-next.0",
45
+ "@telia-ace/alliance-framework": "^1.0.6",
46
+ "@telia-ace/alliance-utilities": "^1.0.5",
47
47
  "@types/fs-extra": "^11.0.1",
48
48
  "fs-extra": "^11.1.0",
49
49
  "react": "18.2.0",