@norges-domstoler/dds-components 15.2.0 → 15.2.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.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +359 -396
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +383 -421
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -752,11 +752,11 @@ declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is Key
|
|
|
752
752
|
* }
|
|
753
753
|
* ```
|
|
754
754
|
* @param size antall elementer i gruppen.
|
|
755
|
-
* @param
|
|
755
|
+
* @param active om fokus skal kontrolleres av hooken. Når status blir inaktiv vil fokusrekkefølge nullstilles.
|
|
756
756
|
* @param direction retning elementene blas i.
|
|
757
757
|
* @returns hook par: indeksen til fokuserte elemenentet og funksjonen som håndterer fokus.
|
|
758
758
|
*/
|
|
759
|
-
declare function useRoveFocus(size?: number,
|
|
759
|
+
declare function useRoveFocus(size?: number, active?: boolean, direction?: Direction$1): [number, Dispatch<SetStateAction<number>>];
|
|
760
760
|
|
|
761
761
|
declare enum ScreenSize {
|
|
762
762
|
XSmall = 0,
|
|
@@ -1513,7 +1513,13 @@ type CompoundAppShell = typeof AppShell$1 & {
|
|
|
1513
1513
|
declare const AppShell: CompoundAppShell;
|
|
1514
1514
|
|
|
1515
1515
|
interface BackLinkProps {
|
|
1516
|
+
/**
|
|
1517
|
+
* Ledetekst.
|
|
1518
|
+
*/
|
|
1516
1519
|
label: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* URL til forrige nivå.
|
|
1522
|
+
*/
|
|
1517
1523
|
href: string;
|
|
1518
1524
|
}
|
|
1519
1525
|
declare const BackLink: react.ForwardRefExoticComponent<BackLinkProps & react.RefAttributes<HTMLElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -752,11 +752,11 @@ declare const isKeyboardEvent: (e: Event | KeyboardEvent$1<Element>) => e is Key
|
|
|
752
752
|
* }
|
|
753
753
|
* ```
|
|
754
754
|
* @param size antall elementer i gruppen.
|
|
755
|
-
* @param
|
|
755
|
+
* @param active om fokus skal kontrolleres av hooken. Når status blir inaktiv vil fokusrekkefølge nullstilles.
|
|
756
756
|
* @param direction retning elementene blas i.
|
|
757
757
|
* @returns hook par: indeksen til fokuserte elemenentet og funksjonen som håndterer fokus.
|
|
758
758
|
*/
|
|
759
|
-
declare function useRoveFocus(size?: number,
|
|
759
|
+
declare function useRoveFocus(size?: number, active?: boolean, direction?: Direction$1): [number, Dispatch<SetStateAction<number>>];
|
|
760
760
|
|
|
761
761
|
declare enum ScreenSize {
|
|
762
762
|
XSmall = 0,
|
|
@@ -1513,7 +1513,13 @@ type CompoundAppShell = typeof AppShell$1 & {
|
|
|
1513
1513
|
declare const AppShell: CompoundAppShell;
|
|
1514
1514
|
|
|
1515
1515
|
interface BackLinkProps {
|
|
1516
|
+
/**
|
|
1517
|
+
* Ledetekst.
|
|
1518
|
+
*/
|
|
1516
1519
|
label: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* URL til forrige nivå.
|
|
1522
|
+
*/
|
|
1517
1523
|
href: string;
|
|
1518
1524
|
}
|
|
1519
1525
|
declare const BackLink: react.ForwardRefExoticComponent<BackLinkProps & react.RefAttributes<HTMLElement>>;
|