@midas-ds/components 17.33.0 → 17.33.2
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 +25 -0
- package/assets/TextField.css +1 -1
- package/chunks/TextField.module-Bg4LNalb.js +12 -0
- package/chunks/{search-field-BFtizNPZ.js → search-field-CpQnnJKa.js} +1 -1
- package/chunks/{textfield-CnXG-gbq.js → textfield-CeFppAMx.js} +1 -1
- package/chunks/{toast-DZuvVRD_.js → toast-B8J42Yss.js} +1 -1
- package/index.js +4 -4
- package/package.json +1 -1
- package/search-field/index.js +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.js +1 -1
- package/chunks/TextField.module-BLGiCC4q.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## 17.33.2 (2026-10-29)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **textfield:** define a grid row for each template area ([1fb1e8d6dcb](https://github.com/migrationsverket/midas/commit/1fb1e8d6dcb))
|
|
6
|
+
|
|
7
|
+
### 🧪 Tests updated
|
|
8
|
+
|
|
9
|
+
- **components,calendar:** scroll the month option into view first ([c74cacebd46](https://github.com/migrationsverket/midas/commit/c74cacebd46))
|
|
10
|
+
|
|
11
|
+
## 17.33.1 (2026-10-29)
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **components,toast:** handle skipped view transitions ([1245e406c11](https://github.com/migrationsverket/midas/commit/1245e406c11))
|
|
16
|
+
|
|
17
|
+
### 🔧 Maintenance
|
|
18
|
+
|
|
19
|
+
- **deps:** update vitest to v5 ([7841295f924](https://github.com/migrationsverket/midas/commit/7841295f924))
|
|
20
|
+
|
|
21
|
+
### 🧪 Tests updated
|
|
22
|
+
|
|
23
|
+
- **components,toast:** wait for the view transition before closing ([8e400d3778f](https://github.com/migrationsverket/midas/commit/8e400d3778f))
|
|
24
|
+
- **components:** add open overlay stories for visual baselines ([7e775268454](https://github.com/migrationsverket/midas/commit/7e775268454))
|
|
25
|
+
|
|
1
26
|
## 17.33.0 (2026-10-27)
|
|
2
27
|
|
|
3
28
|
### 🚀 Features
|
package/assets/TextField.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._textField_k9lqd_1{grid-template-rows:repeat(5,min-content);grid-template-columns:1fr auto;grid-template-areas:"Label Count""Desc Count""Error Count""Input Input""BottomError BottomError";grid-auto-rows:1fr 1fr;grid-auto-columns:1fr;align-content:flex-end;width:100%;display:grid}._textField_k9lqd_1>[slot=description]{grid-area:Desc}._textField_k9lqd_1>._bottomError_k9lqd_20{grid-area:BottomError}._textField_k9lqd_1[data-disabled]{color:var(--midas-text-disabled)}._textField_k9lqd_1[data-readonly] ._textArea_k9lqd_29,._textField_k9lqd_1[data-readonly] ._input_k9lqd_30{border-color:var(--midas-border-color-subtle);background-color:#0000}._textArea_k9lqd_29{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);border-bottom:1px solid var(--midas-border-color-primary);background-color:var(--midas-field-base,var(--midas-field-01-base));box-sizing:border-box;overflow-wrap:break-word;resize:both;grid-area:Input;justify-content:center;align-items:center;width:100%;padding:1rem 1rem 1.25rem;font-size:1rem;display:flex;overflow:auto}@media (forced-colors:active){._textArea_k9lqd_29{outline-offset:2px;outline:3px solid}}._textArea_k9lqd_29[data-hovered]{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._textArea_k9lqd_29[data-focused],._textArea_k9lqd_29[data-focus-visible]{box-shadow:var(--midas-state-focus)}@media (forced-colors:active){._textArea_k9lqd_29[data-focused],._textArea_k9lqd_29[data-focus-visible]{border:1px solid}}._textArea_k9lqd_29[data-invalid]{box-shadow:var(--midas-state-invalid);border:none}._textArea_k9lqd_29[data-disabled]{cursor:not-allowed;background-color:var(--midas-field-disabled,var(--midas-field-01-disabled));border:none;border-bottom:1px solid var(--midas-border-color-disabled);color:var(--midas-text-disabled)}._wrap_k9lqd_90{grid-area:Input;position:relative}._medium_k9lqd_95 ._input_k9lqd_30{min-height:var(--midas-size-control-md)}._input_k9lqd_30{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);border-bottom:1px solid var(--midas-border-color-primary);background-color:var(--midas-field-base,var(--midas-field-01-base));box-sizing:border-box;width:100%;min-height:var(--midas-size-control);border-radius:0;grid-area:Input;padding:0 1rem;font-size:1rem;line-height:1}@media (forced-colors:active){._input_k9lqd_30{border:1px solid}}._input_k9lqd_30[data-hovered]{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._input_k9lqd_30[data-hovered]+._passwordText_k9lqd_123{background-color:var(--midas-field-hover,var(--midas-field-01-hover))}._input_k9lqd_30[data-focused]{box-shadow:var(--midas-state-focus)}@media (forced-colors:active){._input_k9lqd_30[data-focused]{outline-offset:2px;outline:3px solid highlight}}._input_k9lqd_30[data-invalid]{box-shadow:var(--midas-state-invalid);border:none}@media (forced-colors:active){._input_k9lqd_30[data-invalid]{border:1px solid}}._input_k9lqd_30[data-disabled]{color:var(--midas-text-disabled);cursor:not-allowed;background-color:var(--midas-field-disabled,var(--midas-field-01-disabled));border:none;border-bottom:1px solid var(--midas-border-color-disabled)}@media (forced-colors:active){._input_k9lqd_30[data-disabled]{border:1px solid}}._input_k9lqd_30::-ms-reveal{display:none}._passwordButton_k9lqd_166{z-index:calc(var(--midas-z-index-base) + var(--midas-z-index-above));position:absolute;right:0}._passwordButton_k9lqd_166[data-pressed]{background-color:#0000!important}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../assets/TextField.css';var e = {
|
|
2
|
+
textField: "_textField_k9lqd_1",
|
|
3
|
+
bottomError: "_bottomError_k9lqd_20",
|
|
4
|
+
textArea: "_textArea_k9lqd_29",
|
|
5
|
+
input: "_input_k9lqd_30",
|
|
6
|
+
wrap: "_wrap_k9lqd_90",
|
|
7
|
+
medium: "_medium_k9lqd_95",
|
|
8
|
+
passwordText: "_passwordText_k9lqd_123",
|
|
9
|
+
passwordButton: "_passwordButton_k9lqd_166"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as t };
|
|
@@ -5,7 +5,7 @@ import { n } from "./button-dpe6hXmI.js";
|
|
|
5
5
|
import { n as r, t as i } from "./label-2ac-zqbe.js";
|
|
6
6
|
import { t as a } from "./text-DnvD4Cjc.js";
|
|
7
7
|
import { t as o } from "./field-error-BHoPnRe4.js";
|
|
8
|
-
import { t as s } from "./TextField.module-
|
|
8
|
+
import { t as s } from "./TextField.module-Bg4LNalb.js";
|
|
9
9
|
import { FormContext as c, Input as l, SearchField as u, useSlottedContext as d } from "react-aria-components";
|
|
10
10
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
11
11
|
import { Search as h, X as g } from "lucide-react";
|
|
@@ -6,7 +6,7 @@ import { n as r, t as i } from "./label-2ac-zqbe.js";
|
|
|
6
6
|
import { t as a } from "./text-DnvD4Cjc.js";
|
|
7
7
|
import { t as o } from "./field-error-BHoPnRe4.js";
|
|
8
8
|
import { t as s } from "./character-counter-CSoVSrxZ.js";
|
|
9
|
-
import { t as c } from "./TextField.module-
|
|
9
|
+
import { t as c } from "./TextField.module-Bg4LNalb.js";
|
|
10
10
|
import { forwardRef as l, useState as u } from "react";
|
|
11
11
|
import { clsx as d } from "clsx";
|
|
12
12
|
import { Input as f, InputContext as p, TextArea as m, TextField as h, TextFieldContext as g, useContextProps as _ } from "react-aria-components";
|
package/index.js
CHANGED
|
@@ -39,14 +39,14 @@ import { n as De, t as Oe } from "./chunks/logo-DSJ1bUJZ.js";
|
|
|
39
39
|
import { n as ke, t as Ae } from "./chunks/link-B76JDA2N.js";
|
|
40
40
|
import { t as je } from "./chunks/link-button-BeXxC22w.js";
|
|
41
41
|
import { i as Me, n as Ne, r as Pe, t as Fe } from "./chunks/radio-BGBArw6G.js";
|
|
42
|
-
import { t as Ie } from "./chunks/search-field-
|
|
42
|
+
import { t as Ie } from "./chunks/search-field-CpQnnJKa.js";
|
|
43
43
|
import { t as Le } from "./chunks/skeleton-R_3dS7Ro.js";
|
|
44
44
|
import { t as Re } from "./chunks/stack-BAHKom_Q.js";
|
|
45
45
|
import { a as ze, i as Be, n as Ve, o as He, r as Ue, t as We } from "./chunks/table--RjMvRLG.js";
|
|
46
46
|
import { i as Ge, n as Ke, r as qe, t as Je } from "./chunks/tabs-CbcNTa7J.js";
|
|
47
|
-
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-
|
|
47
|
+
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-CeFppAMx.js";
|
|
48
48
|
import { t as $e } from "./chunks/time-field-H-mXlxua.js";
|
|
49
|
-
import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-
|
|
49
|
+
import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-B8J42Yss.js";
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/version.ts
|
|
52
52
|
var ot = {
|
|
@@ -61,7 +61,7 @@ var ot = {
|
|
|
61
61
|
description: "Midas Components",
|
|
62
62
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
63
63
|
license: "CC0-1.0",
|
|
64
|
-
version: "17.33.
|
|
64
|
+
version: "17.33.2",
|
|
65
65
|
module: "./index.js",
|
|
66
66
|
type: "module",
|
|
67
67
|
main: "./index.js",
|
package/package.json
CHANGED
package/search-field/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SearchField } from "../chunks/search-field-
|
|
1
|
+
export { t as SearchField } from "../chunks/search-field-CpQnnJKa.js";
|
package/textfield/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-
|
|
1
|
+
export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-CeFppAMx.js";
|
package/toast/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-
|
|
1
|
+
export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-B8J42Yss.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '../assets/TextField.css';var e = {
|
|
2
|
-
textField: "_textField_1ddv0_1",
|
|
3
|
-
bottomError: "_bottomError_1ddv0_20",
|
|
4
|
-
textArea: "_textArea_1ddv0_29",
|
|
5
|
-
input: "_input_1ddv0_30",
|
|
6
|
-
wrap: "_wrap_1ddv0_90",
|
|
7
|
-
medium: "_medium_1ddv0_95",
|
|
8
|
-
passwordText: "_passwordText_1ddv0_123",
|
|
9
|
-
passwordButton: "_passwordButton_1ddv0_166"
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { e as t };
|