@fremtind/jkl-core
Advanced tools
Comparing version 9.4.0 to 9.5.0
import { FC } from "react"; | ||
import { WithChildren } from "../types"; | ||
import { LabelVariant } from "../index"; | ||
export interface LabelProps { | ||
export interface LabelProps extends WithChildren { | ||
variant?: LabelVariant; | ||
@@ -5,0 +6,0 @@ forceCompact?: boolean; |
@@ -1,4 +0,4 @@ | ||
import { FC, ReactNode } from "react"; | ||
export interface ScreenReaderOnlyProps { | ||
children: ReactNode; | ||
import { FC } from "react"; | ||
import { WithChildren } from "../types"; | ||
export interface ScreenReaderOnlyProps extends WithChildren { | ||
showOnFocus?: boolean; | ||
@@ -5,0 +5,0 @@ } |
@@ -5,9 +5,2 @@ export type { Easing, Timing } from "./utils"; | ||
export { Label, Link, NavLink, ScreenReaderOnly, SupportLabel } from "./components"; | ||
export declare type LabelVariant = "small" | "medium" | "large"; | ||
export declare type ValuePair = { | ||
value: string; | ||
label: string; | ||
}; | ||
export interface DataTestAutoId { | ||
"data-testautoid"?: string; | ||
} | ||
export type { DataTestAutoId, LabelVariant, ValuePair, WithChildren, WithOptionalChildren } from "./types"; |
{ | ||
"name": "@fremtind/jkl-core", | ||
"version": "9.4.0", | ||
"version": "9.5.0", | ||
"publishConfig": { | ||
@@ -62,3 +62,3 @@ "access": "public" | ||
}, | ||
"gitHead": "5e28a4479a79647ed61b3ff4554b0f2a18d841cb" | ||
"gitHead": "be308e1440083f50d0e2657629ef97579f66c3d3" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177471
75
3903