@sb1/indeks-web 0.9.1 → 0.10.0

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @sb1/indeks-web
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - abb20ac: Semantiske navn for `info_i` og `priority_high`
8
+
9
+ `ICON_NAMES` får to nye semantiske navn slik at statusikonene kan brukes uten å oppgi det rå Material Design-navnet:
10
+
11
+ - `info` peker nå på `info_i`-glyfen (kanonisk, slått sammen med `info` per ikonbruksanalysen).
12
+ - `utropstegn` peker på `priority_high` (slått sammen med `exclamation`).
13
+
14
+ Message bruker disse semantiske navnene internt (`name` i stedet for `materialdesignname`), og dokumentasjon/eksempler er oppdatert tilsvarende.
15
+
3
16
  ## 0.9.1
4
17
 
5
18
  ## 0.9.0
package/dist/npm/index.js CHANGED
@@ -240,12 +240,13 @@ var ICON_NAMES = {
240
240
  "pil-ned": "keyboard_arrow_down",
241
241
  "e-post": "mail",
242
242
  betaling: "payments",
243
- info: "info",
243
+ info: "info_i",
244
244
  sok: "search",
245
245
  innstillinger: "settings",
246
246
  bil: "directions_car",
247
247
  "pil-venstre": "chevron_left",
248
- feil: "error"
248
+ feil: "error",
249
+ utropstegn: "priority_high"
249
250
  };
250
251
  var IxIcon = class extends HTMLElement {
251
252
  static get observedAttributes() {
@@ -16,12 +16,13 @@ export declare const ICON_NAMES: {
16
16
  readonly 'pil-ned': "keyboard_arrow_down";
17
17
  readonly 'e-post': "mail";
18
18
  readonly betaling: "payments";
19
- readonly info: "info";
19
+ readonly info: "info_i";
20
20
  readonly sok: "search";
21
21
  readonly innstillinger: "settings";
22
22
  readonly bil: "directions_car";
23
23
  readonly 'pil-venstre': "chevron_left";
24
24
  readonly feil: "error";
25
+ readonly utropstegn: "priority_high";
25
26
  };
26
27
  export type IconValue = (typeof ICON_NAMES)[keyof typeof ICON_NAMES];
27
28
  export type IconName = keyof typeof ICON_NAMES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/indeks-web",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "description": "Web components for Indeks design system",
6
6
  "homepage": "https://design.sparebank1.no",