@norges-domstoler/dds-components 17.3.0 → 17.3.1
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.css +8 -34
- package/dist/index.css.map +1 -1
- package/dist/index.js +4 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
package/dist/index.js
CHANGED
|
@@ -4962,7 +4962,7 @@ function Spinner(props) {
|
|
|
4962
4962
|
"svg",
|
|
4963
4963
|
{
|
|
4964
4964
|
viewBox: "0 0 50 50",
|
|
4965
|
-
role: "
|
|
4965
|
+
role: "progressbar",
|
|
4966
4966
|
"aria-labelledby": uniqueId,
|
|
4967
4967
|
...getBaseHTMLProps(id, cn(className, Spinner_default.svg), htmlProps, rest),
|
|
4968
4968
|
width: size2,
|
|
@@ -12292,8 +12292,7 @@ var Tabs_default = {
|
|
|
12292
12292
|
"tab--row": "Tabs_tab--row",
|
|
12293
12293
|
"tab--column": "Tabs_tab--column",
|
|
12294
12294
|
"tab--active": "Tabs_tab--active",
|
|
12295
|
-
"tab-panel": "Tabs_tab-panel"
|
|
12296
|
-
"tab-panel--inactive": "Tabs_tab-panel--inactive"
|
|
12295
|
+
"tab-panel": "Tabs_tab-panel"
|
|
12297
12296
|
};
|
|
12298
12297
|
|
|
12299
12298
|
// src/components/Tabs/Tabs.tsx
|
|
@@ -12556,18 +12555,14 @@ var TabPanel = (0, import_react144.forwardRef)(
|
|
|
12556
12555
|
{
|
|
12557
12556
|
...getBaseHTMLProps(
|
|
12558
12557
|
id,
|
|
12559
|
-
cn(
|
|
12560
|
-
className,
|
|
12561
|
-
Tabs_default["tab-panel"],
|
|
12562
|
-
!active && Tabs_default["tab-panel--inactive"],
|
|
12563
|
-
focusable
|
|
12564
|
-
),
|
|
12558
|
+
cn(className, Tabs_default["tab-panel"], focusable),
|
|
12565
12559
|
htmlProps,
|
|
12566
12560
|
rest
|
|
12567
12561
|
),
|
|
12568
12562
|
ref,
|
|
12569
12563
|
tabIndex: 0,
|
|
12570
12564
|
role: "tabpanel",
|
|
12565
|
+
hidden: !active,
|
|
12571
12566
|
children
|
|
12572
12567
|
}
|
|
12573
12568
|
);
|