@midas-ds/components 16.5.5 → 16.6.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,3 +1,13 @@
|
|
|
1
|
+
## 16.6.0 (2026-01-29)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **components, tooltip:** increase font size ([a1baf17d44](https://github.com/migrationsverket/midas/commit/a1baf17d44))
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **components, tooltip:** make use of CSS variables ([b10fe08cd9](https://github.com/migrationsverket/midas/commit/b10fe08cd9))
|
|
10
|
+
|
|
1
11
|
## 16.5.5 (2026-01-29)
|
|
2
12
|
|
|
3
13
|
### 🩹 Fixes
|
package/assets/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_9efb2_1{font-family:var(--midas-typography-font-family);font-size:var(--midas-typography-font-size-20);padding:var(--midas-spacing-20) var(--midas-spacing-30);color:var(--midas-text-inverse);background-color:var(--midas-background-inverse);max-width:150px;outline:none;transform:translateZ(0);transition:transform var(--midas-transition-duration-fast),opacity var(--midas-transition-duration-fast)}@media(forced-colors:active){._tooltip_9efb2_1{border:1px solid}}._tooltip_9efb2_1 ._arrow_9efb2_18 svg{display:block;fill:var(--midas-background-inverse)}@media(forced-colors:active){._tooltip_9efb2_1 ._arrow_9efb2_18 svg{fill:currentColor}}._tooltip_9efb2_1[data-entering],._tooltip_9efb2_1[data-exiting]{transform:var(--origin);opacity:0}._tooltip_9efb2_1[data-placement=top]{margin-bottom:8px;--origin: translateY(4px)}._tooltip_9efb2_1[data-placement=bottom]{margin-top:8px;--origin: translateY(-4px)}._tooltip_9efb2_1[data-placement=bottom] ._arrow_9efb2_18 svg{transform:rotate(180deg)}._tooltip_9efb2_1[data-placement=right]{margin-left:8px;--origin: translateX(-4px)}._tooltip_9efb2_1[data-placement=right] ._arrow_9efb2_18 svg{transform:rotate(90deg)}._tooltip_9efb2_1[data-placement=left]{margin-right:8px;--origin: translateX(4px)}._tooltip_9efb2_1[data-placement=left] ._arrow_9efb2_18 svg{transform:rotate(-90deg)}@media(prefers-reduced-motion){._tooltip_9efb2_1{transition:none}}
|
|
@@ -5,7 +5,7 @@ import { useState as G, useEffect as W } from "react";
|
|
|
5
5
|
import { c as u } from "./clsx-AexbMWKp.js";
|
|
6
6
|
import { Link as L, RouterProvider as O } from "react-aria-components";
|
|
7
7
|
import { B as M } from "./Button-BGu-SRi7.js";
|
|
8
|
-
import { a as j, T as D } from "./Tooltip-
|
|
8
|
+
import { a as j, T as D } from "./Tooltip-rDmOkGmX.js";
|
|
9
9
|
import { a as y, B as I } from "./BadgeContainer-CKVsfTlF.js";
|
|
10
10
|
import { c as E } from "./createLucideIcon-D4r5Phnh.js";
|
|
11
11
|
import { u as C } from "./useLocalizedStringFormatter-BHvsRxDk.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as a, Fragment as l } from "react/jsx-runtime";
|
|
2
2
|
import { c as p } from "./clsx-AexbMWKp.js";
|
|
3
3
|
import { Tooltip as n, OverlayArrow as c, TooltipTrigger as T } from "react-aria-components";
|
|
4
|
-
import '../assets/Tooltip.css';const
|
|
5
|
-
tooltip:
|
|
6
|
-
arrow:
|
|
4
|
+
import '../assets/Tooltip.css';const f = "_tooltip_9efb2_1", g = "_arrow_9efb2_18", i = {
|
|
5
|
+
tooltip: f,
|
|
6
|
+
arrow: g
|
|
7
7
|
};
|
|
8
8
|
function _({ children: o, className: r, ...s }) {
|
|
9
9
|
return /* @__PURE__ */ t(
|
|
@@ -11,7 +11,7 @@ function _({ children: o, className: r, ...s }) {
|
|
|
11
11
|
{
|
|
12
12
|
className: p(i.tooltip, r),
|
|
13
13
|
...s,
|
|
14
|
-
children: (
|
|
14
|
+
children: (e) => /* @__PURE__ */ a(l, { children: [
|
|
15
15
|
/* @__PURE__ */ t(c, { className: i.arrow, children: /* @__PURE__ */ t(
|
|
16
16
|
"svg",
|
|
17
17
|
{
|
|
@@ -21,7 +21,7 @@ function _({ children: o, className: r, ...s }) {
|
|
|
21
21
|
children: /* @__PURE__ */ t("path", { d: "M0 0 L4 4 L8 0" })
|
|
22
22
|
}
|
|
23
23
|
) }),
|
|
24
|
-
typeof o == "function" ? o(
|
|
24
|
+
typeof o == "function" ? o(e) : o
|
|
25
25
|
] })
|
|
26
26
|
}
|
|
27
27
|
);
|
package/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import { G as $ } from "./chunks/GridItem-5t1Z14sM.js";
|
|
|
20
20
|
import { H as ao } from "./chunks/Heading-D8tNNJkt.js";
|
|
21
21
|
import { I as eo } from "./chunks/InfoBanner-DEwlyEud.js";
|
|
22
22
|
import { L as so } from "./chunks/Label-xWKvOuML.js";
|
|
23
|
-
import { H as xo, L as mo, N as io, S as fo, a as no } from "./chunks/Layout-
|
|
23
|
+
import { H as xo, L as mo, N as io, S as fo, a as no } from "./chunks/Layout-xF6_tsJ6.js";
|
|
24
24
|
import { L as lo } from "./chunks/Link-yTNUNv3C.js";
|
|
25
25
|
import { L as Co } from "./chunks/LinkButton-3nAekUJ4.js";
|
|
26
26
|
import { L as bo } from "./chunks/Logo-CsWcKqIg.js";
|
|
@@ -40,7 +40,7 @@ import { T as oa } from "./chunks/Text-TWzJxnto.js";
|
|
|
40
40
|
import { I as ra, b as ea, a as ta, T as sa } from "./chunks/TextArea-VkipFRQc.js";
|
|
41
41
|
import { G as xa, b as ma, T as ia, a as fa, t as na } from "./chunks/Toast-BehM7JJP.js";
|
|
42
42
|
import { T as Ta, a as la } from "./chunks/ToggleButtonGroup-CXKTrLbb.js";
|
|
43
|
-
import { T as Ca, a as ga } from "./chunks/Tooltip-
|
|
43
|
+
import { T as Ca, a as ga } from "./chunks/Tooltip-rDmOkGmX.js";
|
|
44
44
|
import { L as ca } from "./chunks/ListBox-D5BBeZWL.js";
|
|
45
45
|
import { L as La, a as Sa } from "./chunks/ListBoxLoadMoreItem-CygpsU3W.js";
|
|
46
46
|
import { c as Ia, L as Ga, a as Pa, b as Ra } from "./chunks/ListBoxSection-MZB_5DdD.js";
|
package/layout/index.js
CHANGED
package/package.json
CHANGED
package/tooltip/index.js
CHANGED