@norges-domstoler/dds-components 0.0.0-dev-20240822073709 → 0.0.0-dev-20240822074903
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 -8
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -136,7 +136,7 @@ type LabelTypographyType = 'supportingStyleLabel01';
|
|
|
136
136
|
type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
|
|
137
137
|
type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
|
|
138
138
|
type StaticTypographyType = OtherTypographyType | LabelTypographyType;
|
|
139
|
-
type HyphenTypographyType = 'body-sans-01' | 'body-sans-02' | 'body-sans-03' | 'body-sans-04' | 'heading-sans-01' | 'heading-sans-02' | 'heading-sans-03' | 'heading-sans-04' | 'heading-sans-05' | 'heading-sans-06' | 'heading-sans-07' | 'heading-sans-08' | 'lead-sans-01' | 'lead-sans-02' | 'lead-sans-03' | 'lead-sans-04' | 'lead-sans-05' | 'supporting-style-
|
|
139
|
+
type HyphenTypographyType = 'body-sans-01' | 'body-sans-02' | 'body-sans-03' | 'body-sans-04' | 'heading-sans-01' | 'heading-sans-02' | 'heading-sans-03' | 'heading-sans-04' | 'heading-sans-05' | 'heading-sans-06' | 'heading-sans-07' | 'heading-sans-08' | 'lead-sans-01' | 'lead-sans-02' | 'lead-sans-03' | 'lead-sans-04' | 'lead-sans-05' | 'supporting-style-helper-text-01' | 'supporting-style-placeholder-text-01' | 'supporting-style-placeholder-text-02' | 'supporting-style-placeholder-text-03' | 'supporting-style-tiny-01' | 'supporting-style-tiny-02' | 'a' | 'supporting-style-label-01';
|
|
140
140
|
type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
|
|
141
141
|
type BaseTypographyProps = PropsWithChildren<{
|
|
142
142
|
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
|
package/dist/index.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ type LabelTypographyType = 'supportingStyleLabel01';
|
|
|
136
136
|
type OtherTypographyType = TypographyHeadingType | TypographyBodyType | TypographyLeadType | TypographySupportingType;
|
|
137
137
|
type TypographyType = AnchorTypographyType | LabelTypographyType | OtherTypographyType;
|
|
138
138
|
type StaticTypographyType = OtherTypographyType | LabelTypographyType;
|
|
139
|
-
type HyphenTypographyType = 'body-sans-01' | 'body-sans-02' | 'body-sans-03' | 'body-sans-04' | 'heading-sans-01' | 'heading-sans-02' | 'heading-sans-03' | 'heading-sans-04' | 'heading-sans-05' | 'heading-sans-06' | 'heading-sans-07' | 'heading-sans-08' | 'lead-sans-01' | 'lead-sans-02' | 'lead-sans-03' | 'lead-sans-04' | 'lead-sans-05' | 'supporting-style-
|
|
139
|
+
type HyphenTypographyType = 'body-sans-01' | 'body-sans-02' | 'body-sans-03' | 'body-sans-04' | 'heading-sans-01' | 'heading-sans-02' | 'heading-sans-03' | 'heading-sans-04' | 'heading-sans-05' | 'heading-sans-06' | 'heading-sans-07' | 'heading-sans-08' | 'lead-sans-01' | 'lead-sans-02' | 'lead-sans-03' | 'lead-sans-04' | 'lead-sans-05' | 'supporting-style-helper-text-01' | 'supporting-style-placeholder-text-01' | 'supporting-style-placeholder-text-02' | 'supporting-style-placeholder-text-03' | 'supporting-style-tiny-01' | 'supporting-style-tiny-02' | 'a' | 'supporting-style-label-01';
|
|
140
140
|
type InlineElement = 'a' | 'abbr' | 'audio' | 'b' | 'bdi' | 'bdo' | 'big' | 'br' | 'button' | 'canvas' | 'cite' | 'code' | 'data' | 'datalist' | 'del' | 'dfn' | 'em' | 'embed' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'map' | 'mark' | 'meter' | 'noscript' | 'object' | 'output' | 'picture' | 'progress' | 'q' | 'ruby' | 's' | 'samp' | 'script' | 'select' | 'slot' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'svg' | 'template' | 'textarea' | 'time' | 'u' | 'var' | 'video' | 'wbr';
|
|
141
141
|
type BaseTypographyProps = PropsWithChildren<{
|
|
142
142
|
/**Spesifiserer om tekstelementet skal ha spacing definert i Elsa. Brukes hovedsakelig i artikler og lignende. **OBS!** har forskjellig virkning på ulike typografityper. `body` og `lead`-typer får margin på bunnen, `heading`-typer får margin på bunnen og padding på toppen mens `supportingStyles` får margin topp og bunn. */
|
package/dist/index.js
CHANGED
|
@@ -453,14 +453,14 @@ var typographyStyles_default = {
|
|
|
453
453
|
"heading-sans-08--margins": "typographyStyles_heading-sans-08--margins",
|
|
454
454
|
"supporting-style-label-01": "typographyStyles_supporting-style-label-01",
|
|
455
455
|
"supporting-style-label-01--margins": "typographyStyles_supporting-style-label-01--margins",
|
|
456
|
-
"supporting-style-
|
|
457
|
-
"supporting-style-
|
|
458
|
-
"supporting-style-
|
|
459
|
-
"supporting-style-
|
|
460
|
-
"supporting-style-
|
|
461
|
-
"supporting-style-
|
|
462
|
-
"supporting-style-
|
|
463
|
-
"supporting-style-
|
|
456
|
+
"supporting-style-helper-text-01": "typographyStyles_supporting-style-helper-text-01",
|
|
457
|
+
"supporting-style-helper-text-01--margins": "typographyStyles_supporting-style-helper-text-01--margins",
|
|
458
|
+
"supporting-style-placeholder-text-01": "typographyStyles_supporting-style-placeholder-text-01",
|
|
459
|
+
"supporting-style-placeholder-text-01--margins": "typographyStyles_supporting-style-placeholder-text-01--margins",
|
|
460
|
+
"supporting-style-placeholder-text-02": "typographyStyles_supporting-style-placeholder-text-02",
|
|
461
|
+
"supporting-style-placeholder-text-02--margins": "typographyStyles_supporting-style-placeholder-text-02--margins",
|
|
462
|
+
"supporting-style-placeholder-text-03": "typographyStyles_supporting-style-placeholder-text-03",
|
|
463
|
+
"supporting-style-placeholder-text-03--margins": "typographyStyles_supporting-style-placeholder-text-03--margins",
|
|
464
464
|
"supporting-style-tiny-01": "typographyStyles_supporting-style-tiny-01",
|
|
465
465
|
"supporting-style-tiny-01--margins": "typographyStyles_supporting-style-tiny-01--margins",
|
|
466
466
|
"supporting-style-tiny-02": "typographyStyles_supporting-style-tiny-02",
|
|
@@ -5070,7 +5070,7 @@ var OverflowMenuListHeader = (0, import_react36.forwardRef)((props, ref) => {
|
|
|
5070
5070
|
ref,
|
|
5071
5071
|
...props,
|
|
5072
5072
|
className: cn(
|
|
5073
|
-
typographyStyles_default["supporting-style-
|
|
5073
|
+
typographyStyles_default["supporting-style-helper-text-01"],
|
|
5074
5074
|
typographyStyles_default["text-color--default"],
|
|
5075
5075
|
OverflowMenu_default["group-header"]
|
|
5076
5076
|
)
|
|
@@ -6066,7 +6066,7 @@ var InputMessage = (0, import_react52.forwardRef)(
|
|
|
6066
6066
|
cn(
|
|
6067
6067
|
className,
|
|
6068
6068
|
InputMessage_default.container,
|
|
6069
|
-
|
|
6069
|
+
isError && InputMessage_default["container--error"]
|
|
6070
6070
|
),
|
|
6071
6071
|
htmlProps,
|
|
6072
6072
|
rest
|