@midas-ds/components 6.0.1 → 6.2.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 +29 -2
- package/badge/Badge.d.ts +2 -0
- package/badge/BadgeContainer.d.ts +1 -0
- package/badge/index.d.ts +2 -0
- package/index.cjs +28 -28
- package/index.css +1 -1
- package/index.d.ts +1 -0
- package/index.js +3799 -3754
- package/package.json +1 -1
- package/theme/index.d.ts +0 -2
- package/theme/tokens.d.ts +0 -2
- package/theme.cjs +1 -1
- package/theme.js +2 -2
- package/{tokens-Ce2Sj8HD.js → tokens-DeYazHS9.js} +17 -19
- package/tokens-DzCqA9U7.cjs +1 -0
- package/tokens-DZsQgihc.cjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## 6.2.0
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **badge:** 🆕 new component - badge to indicate user of unread items
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **theme:** update icon-secondary with new value for dark mode
|
|
10
|
+
- **date-picker:** add disabled style to divider
|
|
11
|
+
- **theme:** update more tokens in tokens.ts
|
|
12
|
+
- **theme:** update some tokens to new naming convention
|
|
13
|
+
- **tabs:** fix dark mode on tabs and example on docweb
|
|
14
|
+
- **theme:** change the token value to icon secondary
|
|
15
|
+
- **link-button:** fix secondary border and icon color in dark mode
|
|
16
|
+
|
|
17
|
+
## 6.1.0
|
|
18
|
+
|
|
19
|
+
### 🚀 Features
|
|
20
|
+
|
|
21
|
+
- **text:** add description slot ([73d308a13](https://github.com/migrationsverket/midas/commit/73d308a13))
|
|
22
|
+
|
|
23
|
+
### 🩹 Fixes
|
|
24
|
+
|
|
25
|
+
- **textfield:** fix token on input value ([e79f935e3](https://github.com/migrationsverket/midas/commit/e79f935e3))
|
|
26
|
+
- **link-button:** add pseudo-classes in CSS link-button ([#385](https://github.com/migrationsverket/midas/pull/385))
|
|
27
|
+
|
|
1
28
|
## 6.0.1
|
|
2
29
|
|
|
3
30
|
### 🩹 Fixes
|
|
@@ -9,7 +36,7 @@
|
|
|
9
36
|
### 🚀 Features
|
|
10
37
|
|
|
11
38
|
- **modal:** replace h2 with heading component
|
|
12
|
-
- ⚠️
|
|
39
|
+
- ⚠️ **modal:** deprecate `ModalTrigger` and `Dialog`
|
|
13
40
|
- **modal:** fix overlay position to avoid moving the modal when y-overflow
|
|
14
41
|
- **modal:** increase z-index on overlay
|
|
15
42
|
- **modal:** add focustrap to modal
|
|
@@ -27,7 +54,7 @@
|
|
|
27
54
|
- add react types to dependencies
|
|
28
55
|
- remove test setup from build
|
|
29
56
|
|
|
30
|
-
### ⚠️
|
|
57
|
+
### ⚠️ Breaking Changes
|
|
31
58
|
|
|
32
59
|
- **modal:** Use the new DialogTrigger and Modal instead of ModalTrigger and Dialog. New API will apply.
|
|
33
60
|
|
package/badge/Badge.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BadgeContainer: React.FC<React.HTMLAttributes<HTMLSpanElement>>;
|
package/badge/index.d.ts
ADDED