@norges-domstoler/dds-components 0.0.0-dev-20261013060418 → 0.0.0-dev-20261020064610
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/dist/index.cjs +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -3
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1902,7 +1902,8 @@ function Spinner(props) {
|
|
|
1902
1902
|
...getBaseHTMLProps(id, cn(className, Spinner_module_default.svg), {
|
|
1903
1903
|
...style,
|
|
1904
1904
|
width: size,
|
|
1905
|
-
height: size
|
|
1905
|
+
height: size,
|
|
1906
|
+
["--dds-color-spinner"]: getTextColor(color)
|
|
1906
1907
|
}, htmlProps, rest),
|
|
1907
1908
|
children: [
|
|
1908
1909
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("title", {
|
|
@@ -1913,7 +1914,6 @@ function Spinner(props) {
|
|
|
1913
1914
|
cx: "12",
|
|
1914
1915
|
cy: "12.25",
|
|
1915
1916
|
r: "6",
|
|
1916
|
-
fill: getTextColor(color),
|
|
1917
1917
|
className: Spinner_module_default.jordskifterett
|
|
1918
1918
|
}),
|
|
1919
1919
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("rect", {
|
|
@@ -1921,12 +1921,10 @@ function Spinner(props) {
|
|
|
1921
1921
|
y: "10.25",
|
|
1922
1922
|
width: "16",
|
|
1923
1923
|
height: "4",
|
|
1924
|
-
fill: getTextColor(color),
|
|
1925
1924
|
className: Spinner_module_default.lagmannsrett
|
|
1926
1925
|
}),
|
|
1927
1926
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
1928
1927
|
d: "M12 16.6154C16.4183 16.6154 20 12.7581 20 8H4C4 12.7581 7.58172 16.6154 12 16.6154Z",
|
|
1929
|
-
fill: getTextColor(color),
|
|
1930
1928
|
className: Spinner_module_default.tingrett
|
|
1931
1929
|
})
|
|
1932
1930
|
]
|
|
@@ -4781,7 +4779,8 @@ var Button_module_default = {
|
|
|
4781
4779
|
"button--primary": "dds-Button-module__button--primary",
|
|
4782
4780
|
"button--secondary": "dds-Button-module__button--secondary",
|
|
4783
4781
|
"button--tertiary": "dds-Button-module__button--tertiary",
|
|
4784
|
-
"button--danger": "dds-Button-module__button--danger"
|
|
4782
|
+
"button--primary-danger": "dds-Button-module__button--primary-danger",
|
|
4783
|
+
"button--secondary-danger": "dds-Button-module__button--secondary-danger"
|
|
4785
4784
|
};
|
|
4786
4785
|
//#endregion
|
|
4787
4786
|
//#region src/components/ButtonGroup/ButtonGroup.context.tsx
|
|
@@ -4828,7 +4827,7 @@ const Button = ({ as: propAs, children, purpose = "primary", size: propSize = "m
|
|
|
4828
4827
|
className: cn(!noContent && Button_module_default["spinner-wrapper--absolute"]),
|
|
4829
4828
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Spinner, {
|
|
4830
4829
|
size: "var(--dds-size-icon-component)",
|
|
4831
|
-
color:
|
|
4830
|
+
color: "currentColor",
|
|
4832
4831
|
tooltip: spinnerTooltip
|
|
4833
4832
|
})
|
|
4834
4833
|
})
|