@midas-ds/components 17.2.3 → 17.2.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.
- package/CHANGELOG.md +12 -0
- package/assets/TextField.css +1 -1
- package/chunks/{SearchField-CZqmRPCT.js → SearchField-C_OjgTE0.js} +1 -1
- package/chunks/{TextArea-DtcdxpIM.js → TextArea-BQuztcdA.js} +1 -1
- package/chunks/TextField.module-DmV0iI3P.js +12 -0
- package/index.js +3 -3
- package/package.json +2 -2
- package/search-field/index.js +1 -1
- package/textfield/index.js +1 -1
- package/chunks/TextField.module-CJn-guZp.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 17.2.5 (2026-02-23)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components, textfield:** remove password reveal active background ([0f9750b6bd](https://github.com/migrationsverket/midas/commit/0f9750b6bd))
|
|
6
|
+
|
|
7
|
+
## 17.2.4 (2026-02-23)
|
|
8
|
+
|
|
9
|
+
### 🧱 Updated Dependencies
|
|
10
|
+
|
|
11
|
+
- Updated theme to 3.11.2
|
|
12
|
+
|
|
1
13
|
## 17.2.3 (2026-02-23)
|
|
2
14
|
|
|
3
15
|
### 🧱 Updated Dependencies
|
package/assets/TextField.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._textField_9ybf8_1{display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr 1fr;grid-template-columns:1fr auto;grid-template-rows:min-content min-content min-content min-content;grid-template-areas:"Label Count" "Desc Count" "Error Count" "Input Input" "BottomError BottomError";width:100%;align-content:flex-end}._textField_9ybf8_1>[slot=description]{grid-area:Desc}._textField_9ybf8_1>._bottomError_9ybf8_20{grid-area:BottomError}._textField_9ybf8_1[data-disabled]{color:var(--midas-text-disabled)}._textField_9ybf8_1[data-readonly] ._textArea_9ybf8_29,._textField_9ybf8_1[data-readonly] ._input_9ybf8_30{background-color:transparent;border-color:var(--midas-border-color-subtle)}._textArea_9ybf8_29{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);display:flex;grid-area:Input;border-bottom:1px solid var(--midas-border-color-primary);align-items:center;justify-content:center;font-size:1rem;padding:1rem 1rem 1.25rem;background-color:var(--midas-field-01-base);box-sizing:border-box;word-wrap:break-word;width:100%;resize:both;overflow:auto}@media(forced-colors:active){._textArea_9ybf8_29{outline:3px solid;outline-offset:2px}}._textArea_9ybf8_29[data-hovered]{background-color:var(--midas-field-01-hover)}._textArea_9ybf8_29[data-focused],._textArea_9ybf8_29[data-focus-visible]{box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._textArea_9ybf8_29[data-focused],._textArea_9ybf8_29[data-focus-visible]{border:1px solid}}._textArea_9ybf8_29[data-invalid]{border:none;box-shadow:var(--midas-state-invalid)}._textArea_9ybf8_29[data-disabled]{cursor:not-allowed;background-color:var(--midas-field-disabled);border:none;border-bottom:1px solid var(--midas-border-color-disabled);color:var(--midas-text-disabled)}._wrap_9ybf8_87{position:relative;grid-area:Input}._medium_9ybf8_92 ._input_9ybf8_30{min-height:var(--midas-size-130)}._input_9ybf8_30{all:unset;color:var(--midas-text-primary);font-family:var(--midas-typography-font-family);grid-area:Input;border-bottom:1px solid var(--midas-border-color-primary);font-size:1rem;padding:0 1rem;line-height:1;background-color:var(--midas-field-01-base);border-radius:0;box-sizing:border-box;width:100%;min-height:var(--midas-size-150)}@media(forced-colors:active){._input_9ybf8_30{border:1px solid}}._input_9ybf8_30[data-hovered]{background-color:var(--midas-field-01-hover)}._input_9ybf8_30[data-hovered]+._passwordText_9ybf8_120{background-color:var(--midas-field-01-hover)}._input_9ybf8_30[data-focused]{box-shadow:var(--midas-state-focus)}@media(forced-colors:active){._input_9ybf8_30[data-focused]{outline:3px solid highlight;outline-offset:2px}}._input_9ybf8_30[data-invalid]{border:none;box-shadow:var(--midas-state-invalid)}@media(forced-colors:active){._input_9ybf8_30[data-invalid]{border:1px solid}}._input_9ybf8_30[data-disabled]{cursor:not-allowed;background-color:var(--midas-field-disabled);border:none;border-bottom:1px solid var(--midas-border-color-disabled)}@media(forced-colors:active){._input_9ybf8_30[data-disabled]{border:1px solid}}._input_9ybf8_30::-ms-reveal{display:none}._passwordButton_9ybf8_159{position:absolute;right:0;z-index:calc(var(--midas-z-index-base) + var(--midas-z-index-above))}._passwordButton_9ybf8_159[data-pressed]{background-color:transparent!important}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import { s as C } from "./TextField.module-
|
|
3
|
+
import { s as C } from "./TextField.module-DmV0iI3P.js";
|
|
4
4
|
import { B as F } from "./Button-CaLOUTDO.js";
|
|
5
5
|
import { C as N } from "./ClearButton-DPm_d7SL.js";
|
|
6
6
|
import { c as l } from "./clsx-AexbMWKp.js";
|
|
@@ -3,7 +3,7 @@ import { jsxs as w, jsx as t } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef as c, useState as F } from "react";
|
|
4
4
|
import { useContextProps as u, TextFieldContext as y, TextField as g, InputContext as P, Input as b, TextArea as C } from "react-aria-components";
|
|
5
5
|
import { a as I, c as h } from "./clsx-AexbMWKp.js";
|
|
6
|
-
import { s as d } from "./TextField.module-
|
|
6
|
+
import { s as d } from "./TextField.module-DmV0iI3P.js";
|
|
7
7
|
import { B as A } from "./Button-CaLOUTDO.js";
|
|
8
8
|
import { u as B } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
9
9
|
import { T as L } from "./Text-BuXvuoqM.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../assets/TextField.css';const t = "_textField_9ybf8_1", o = "_bottomError_9ybf8_20", _ = "_textArea_9ybf8_29", r = "_input_9ybf8_30", s = "_wrap_9ybf8_87", e = "_medium_9ybf8_92", n = "_passwordButton_9ybf8_159", a = {
|
|
2
|
+
textField: t,
|
|
3
|
+
bottomError: o,
|
|
4
|
+
textArea: _,
|
|
5
|
+
input: r,
|
|
6
|
+
wrap: s,
|
|
7
|
+
medium: e,
|
|
8
|
+
passwordButton: n
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
a as s
|
|
12
|
+
};
|
package/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import { M as So } from "./chunks/Dialog-BHxDzbf8.js";
|
|
|
29
29
|
import { P as Io } from "./chunks/Popover-BcEtFiU1.js";
|
|
30
30
|
import { P as Go } from "./chunks/ProgressBar-Dg0JMQ71.js";
|
|
31
31
|
import { R as ko, a as vo } from "./chunks/Radio-CAIyBgBp.js";
|
|
32
|
-
import { S as Mo } from "./chunks/SearchField-
|
|
32
|
+
import { S as Mo } from "./chunks/SearchField-C_OjgTE0.js";
|
|
33
33
|
import { S as ho } from "./chunks/Select-D7JfpIUT.js";
|
|
34
34
|
import { S as yo } from "./chunks/Skeleton-DqIHQLQl.js";
|
|
35
35
|
import { S as No } from "./chunks/Spinner-CfKMn18u.js";
|
|
@@ -37,7 +37,7 @@ import { C as zo, a as Oo, R as Qo, T as Vo, b as Zo, c as jo } from "./chunks/T
|
|
|
37
37
|
import { T as Jo, a as Ko, b as Uo, c as Wo } from "./chunks/TabList-BaR443mu.js";
|
|
38
38
|
import { T as Yo, a as _o, b as $o } from "./chunks/TagGroup-CWe0P76-.js";
|
|
39
39
|
import { T as aa } from "./chunks/Text-BuXvuoqM.js";
|
|
40
|
-
import { I as ea, T as ta, a as sa, b as pa } from "./chunks/TextArea-
|
|
40
|
+
import { I as ea, T as ta, a as sa, b as pa } from "./chunks/TextArea-BQuztcdA.js";
|
|
41
41
|
import { G as ma, T as ia, a as fa, b as na, t as da } from "./chunks/Toast-UPM-1ipu.js";
|
|
42
42
|
import { T as ca, a as la } from "./chunks/ToggleButtonGroup-CXKTrLbb.js";
|
|
43
43
|
import { T as ga, a as Ba } from "./chunks/Tooltip-rDmOkGmX.js";
|
|
@@ -49,7 +49,7 @@ import { c as Na } from "./chunks/clsx-AexbMWKp.js";
|
|
|
49
49
|
import { DialogTrigger as za, MenuTrigger as Oa, RouterProvider as Qa } from "react-aria-components";
|
|
50
50
|
import { u as Za } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
|
|
51
51
|
import { useToastState as qa } from "react-stately";
|
|
52
|
-
const o = "17.2.
|
|
52
|
+
const o = "17.2.5", a = {
|
|
53
53
|
version: o
|
|
54
54
|
}, r = a.version;
|
|
55
55
|
export {
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas Components",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "17.2.
|
|
17
|
+
"version": "17.2.5",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"./*": "./*/index.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@midas-ds/theme": "3.11.
|
|
44
|
+
"@midas-ds/theme": "3.11.2",
|
|
45
45
|
"react-aria-components": "1.14.0"
|
|
46
46
|
}
|
|
47
47
|
}
|
package/search-field/index.js
CHANGED
package/textfield/index.js
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '../assets/TextField.css';const t = "_textField_38yax_1", o = "_bottomError_38yax_20", _ = "_textArea_38yax_29", r = "_input_38yax_30", s = "_wrap_38yax_87", a = "_medium_38yax_92", e = "_passwordButton_38yax_159", n = {
|
|
2
|
-
textField: t,
|
|
3
|
-
bottomError: o,
|
|
4
|
-
textArea: _,
|
|
5
|
-
input: r,
|
|
6
|
-
wrap: s,
|
|
7
|
-
medium: a,
|
|
8
|
-
passwordButton: e
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
n as s
|
|
12
|
-
};
|