@midas-ds/components 17.33.1 → 17.33.3
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 +16 -0
- package/assets/TextField.css +1 -1
- package/card/Card.d.ts +0 -4
- 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/index.js +3 -3
- package/package.json +1 -1
- package/search-field/index.js +1 -1
- package/textfield/index.js +1 -1
- package/chunks/TextField.module-BLGiCC4q.js +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 17.33.3 (2026-11-05)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components,card:** keep support for horizontal prop ([07b6b01f2f1](https://github.com/migrationsverket/midas/commit/07b6b01f2f1))
|
|
6
|
+
|
|
7
|
+
## 17.33.2 (2026-10-29)
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- **textfield:** define a grid row for each template area ([1fb1e8d6dcb](https://github.com/migrationsverket/midas/commit/1fb1e8d6dcb))
|
|
12
|
+
|
|
13
|
+
### 🧪 Tests updated
|
|
14
|
+
|
|
15
|
+
- **components,calendar:** scroll the month option into view first ([c74cacebd46](https://github.com/migrationsverket/midas/commit/c74cacebd46))
|
|
16
|
+
|
|
1
17
|
## 17.33.1 (2026-10-29)
|
|
2
18
|
|
|
3
19
|
### 🩹 Fixes
|
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}
|
package/card/Card.d.ts
CHANGED
|
@@ -2,10 +2,6 @@ import { HeadingProps } from '../heading';
|
|
|
2
2
|
import { ButtonProps, Link } from 'react-aria-components';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
export interface MidasCard extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
/**
|
|
6
|
-
* Stack content in card vertical or horizontal
|
|
7
|
-
* @deprecated since v17.14.0 please stack content vertically instead
|
|
8
|
-
*/
|
|
9
5
|
horizontal?: boolean;
|
|
10
6
|
/** Card content, usually wrap with CardContent */
|
|
11
7
|
children: React.ReactNode;
|
|
@@ -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,12 +39,12 @@ 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
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
|
|
@@ -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.3",
|
|
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";
|
|
@@ -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 };
|