@norges-domstoler/dds-components 13.11.0 → 13.11.2

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 CHANGED
@@ -67,21 +67,21 @@ declare const OverflowMenuList: styled_components.IStyledComponent<"web", {
67
67
  accessKey?: string | undefined;
68
68
  autoFocus?: boolean | undefined;
69
69
  className?: string | undefined;
70
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
70
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
71
71
  contextMenu?: string | undefined;
72
72
  dir?: string | undefined;
73
- draggable?: (boolean | "true" | "false") | undefined;
73
+ draggable?: (boolean | "false" | "true") | undefined;
74
74
  hidden?: boolean | undefined;
75
75
  id?: string | undefined;
76
76
  lang?: string | undefined;
77
77
  nonce?: string | undefined;
78
78
  placeholder?: string | undefined;
79
79
  slot?: string | undefined;
80
- spellCheck?: (boolean | "true" | "false") | undefined;
80
+ spellCheck?: (boolean | "false" | "true") | undefined;
81
81
  style?: react.CSSProperties | undefined;
82
82
  tabIndex?: number | undefined;
83
83
  title?: string | undefined;
84
- translate?: "no" | "yes" | undefined;
84
+ translate?: "yes" | "no" | undefined;
85
85
  radioGroup?: string | undefined;
86
86
  role?: react.AriaRole | undefined;
87
87
  about?: string | undefined;
@@ -106,56 +106,56 @@ declare const OverflowMenuList: styled_components.IStyledComponent<"web", {
106
106
  itemRef?: string | undefined;
107
107
  results?: number | undefined;
108
108
  security?: string | undefined;
109
- unselectable?: "off" | "on" | undefined;
110
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
109
+ unselectable?: "on" | "off" | undefined;
110
+ inputMode?: "text" | "search" | "none" | "decimal" | "tel" | "url" | "email" | "numeric" | undefined;
111
111
  is?: string | undefined;
112
112
  "aria-activedescendant"?: string | undefined;
113
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
114
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
113
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
114
+ "aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
115
115
  "aria-braillelabel"?: string | undefined;
116
116
  "aria-brailleroledescription"?: string | undefined;
117
- "aria-busy"?: (boolean | "true" | "false") | undefined;
118
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
117
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
118
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
119
119
  "aria-colcount"?: number | undefined;
120
120
  "aria-colindex"?: number | undefined;
121
121
  "aria-colindextext"?: string | undefined;
122
122
  "aria-colspan"?: number | undefined;
123
123
  "aria-controls"?: string | undefined;
124
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
124
+ "aria-current"?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
125
125
  "aria-describedby"?: string | undefined;
126
126
  "aria-description"?: string | undefined;
127
127
  "aria-details"?: string | undefined;
128
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
129
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
128
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
129
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
130
130
  "aria-errormessage"?: string | undefined;
131
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
131
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
132
132
  "aria-flowto"?: string | undefined;
133
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
134
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
135
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
136
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
133
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
134
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree" | undefined;
135
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
136
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
137
137
  "aria-keyshortcuts"?: string | undefined;
138
138
  "aria-label"?: string | undefined;
139
139
  "aria-labelledby"?: string | undefined;
140
140
  "aria-level"?: number | undefined;
141
141
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
142
- "aria-modal"?: (boolean | "true" | "false") | undefined;
143
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
144
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
142
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
143
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
144
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
145
145
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
146
146
  "aria-owns"?: string | undefined;
147
147
  "aria-placeholder"?: string | undefined;
148
148
  "aria-posinset"?: number | undefined;
149
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
150
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
151
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
152
- "aria-required"?: (boolean | "true" | "false") | undefined;
149
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
150
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
151
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
152
+ "aria-required"?: (boolean | "false" | "true") | undefined;
153
153
  "aria-roledescription"?: string | undefined;
154
154
  "aria-rowcount"?: number | undefined;
155
155
  "aria-rowindex"?: number | undefined;
156
156
  "aria-rowindextext"?: string | undefined;
157
157
  "aria-rowspan"?: number | undefined;
158
- "aria-selected"?: (boolean | "true" | "false") | undefined;
158
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
159
159
  "aria-setsize"?: number | undefined;
160
160
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
161
161
  "aria-valuemax"?: number | undefined;
@@ -1062,7 +1062,7 @@ declare const DescriptionList: react.ForwardRefExoticComponent<Pick<react.HTMLAt
1062
1062
  /**Setter flex-direction. NB! Fungerer kun ved bruk av `DescriptionListGroup` som barn av `DescriptionList`.
1063
1063
  * @default "column"
1064
1064
  */
1065
- direction?: "row" | "column" | undefined;
1065
+ direction?: "column" | "row" | undefined;
1066
1066
  } & {
1067
1067
  children?: react.ReactNode;
1068
1068
  } & {
@@ -1906,20 +1906,20 @@ declare const StyledTextArea: styled_components.IStyledComponent<"web", styled_c
1906
1906
  accessKey?: string | undefined;
1907
1907
  autoFocus?: boolean | undefined;
1908
1908
  className?: string | undefined;
1909
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
1909
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
1910
1910
  contextMenu?: string | undefined;
1911
1911
  dir?: string | undefined;
1912
- draggable?: (boolean | "true" | "false") | undefined;
1912
+ draggable?: (boolean | "false" | "true") | undefined;
1913
1913
  hidden?: boolean | undefined;
1914
1914
  id?: string | undefined;
1915
1915
  lang?: string | undefined;
1916
1916
  nonce?: string | undefined;
1917
1917
  slot?: string | undefined;
1918
- spellCheck?: (boolean | "true" | "false") | undefined;
1918
+ spellCheck?: (boolean | "false" | "true") | undefined;
1919
1919
  style?: react.CSSProperties | undefined;
1920
1920
  tabIndex?: number | undefined;
1921
1921
  title?: string | undefined;
1922
- translate?: "no" | "yes" | undefined;
1922
+ translate?: "yes" | "no" | undefined;
1923
1923
  radioGroup?: string | undefined;
1924
1924
  role?: react.AriaRole | undefined;
1925
1925
  about?: string | undefined;
@@ -1944,56 +1944,56 @@ declare const StyledTextArea: styled_components.IStyledComponent<"web", styled_c
1944
1944
  itemRef?: string | undefined;
1945
1945
  results?: number | undefined;
1946
1946
  security?: string | undefined;
1947
- unselectable?: "off" | "on" | undefined;
1948
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1947
+ unselectable?: "on" | "off" | undefined;
1948
+ inputMode?: "text" | "search" | "none" | "decimal" | "tel" | "url" | "email" | "numeric" | undefined;
1949
1949
  is?: string | undefined;
1950
1950
  "aria-activedescendant"?: string | undefined;
1951
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
1952
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
1951
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
1952
+ "aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
1953
1953
  "aria-braillelabel"?: string | undefined;
1954
1954
  "aria-brailleroledescription"?: string | undefined;
1955
- "aria-busy"?: (boolean | "true" | "false") | undefined;
1956
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
1955
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
1956
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
1957
1957
  "aria-colcount"?: number | undefined;
1958
1958
  "aria-colindex"?: number | undefined;
1959
1959
  "aria-colindextext"?: string | undefined;
1960
1960
  "aria-colspan"?: number | undefined;
1961
1961
  "aria-controls"?: string | undefined;
1962
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
1962
+ "aria-current"?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
1963
1963
  "aria-describedby"?: string | undefined;
1964
1964
  "aria-description"?: string | undefined;
1965
1965
  "aria-details"?: string | undefined;
1966
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
1967
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
1966
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
1967
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
1968
1968
  "aria-errormessage"?: string | undefined;
1969
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
1969
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
1970
1970
  "aria-flowto"?: string | undefined;
1971
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
1972
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
1973
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
1974
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
1971
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
1972
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree" | undefined;
1973
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
1974
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
1975
1975
  "aria-keyshortcuts"?: string | undefined;
1976
1976
  "aria-label"?: string | undefined;
1977
1977
  "aria-labelledby"?: string | undefined;
1978
1978
  "aria-level"?: number | undefined;
1979
1979
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
1980
- "aria-modal"?: (boolean | "true" | "false") | undefined;
1981
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
1982
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
1980
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
1981
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
1982
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
1983
1983
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
1984
1984
  "aria-owns"?: string | undefined;
1985
1985
  "aria-placeholder"?: string | undefined;
1986
1986
  "aria-posinset"?: number | undefined;
1987
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
1988
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
1989
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
1990
- "aria-required"?: (boolean | "true" | "false") | undefined;
1987
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
1988
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
1989
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
1990
+ "aria-required"?: (boolean | "false" | "true") | undefined;
1991
1991
  "aria-roledescription"?: string | undefined;
1992
1992
  "aria-rowcount"?: number | undefined;
1993
1993
  "aria-rowindex"?: number | undefined;
1994
1994
  "aria-rowindextext"?: string | undefined;
1995
1995
  "aria-rowspan"?: number | undefined;
1996
- "aria-selected"?: (boolean | "true" | "false") | undefined;
1996
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
1997
1997
  "aria-setsize"?: number | undefined;
1998
1998
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
1999
1999
  "aria-valuemax"?: number | undefined;
@@ -2209,20 +2209,20 @@ declare const StyledTextArea: styled_components.IStyledComponent<"web", styled_c
2209
2209
  accessKey?: string | undefined;
2210
2210
  autoFocus?: boolean | undefined;
2211
2211
  className?: string | undefined;
2212
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
2212
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
2213
2213
  contextMenu?: string | undefined;
2214
2214
  dir?: string | undefined;
2215
- draggable?: (boolean | "true" | "false") | undefined;
2215
+ draggable?: (boolean | "false" | "true") | undefined;
2216
2216
  hidden?: boolean | undefined;
2217
2217
  id?: string | undefined;
2218
2218
  lang?: string | undefined;
2219
2219
  nonce?: string | undefined;
2220
2220
  slot?: string | undefined;
2221
- spellCheck?: (boolean | "true" | "false") | undefined;
2221
+ spellCheck?: (boolean | "false" | "true") | undefined;
2222
2222
  style?: react.CSSProperties | undefined;
2223
2223
  tabIndex?: number | undefined;
2224
2224
  title?: string | undefined;
2225
- translate?: "no" | "yes" | undefined;
2225
+ translate?: "yes" | "no" | undefined;
2226
2226
  radioGroup?: string | undefined;
2227
2227
  role?: react.AriaRole | undefined;
2228
2228
  about?: string | undefined;
@@ -2247,56 +2247,56 @@ declare const StyledTextArea: styled_components.IStyledComponent<"web", styled_c
2247
2247
  itemRef?: string | undefined;
2248
2248
  results?: number | undefined;
2249
2249
  security?: string | undefined;
2250
- unselectable?: "off" | "on" | undefined;
2251
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
2250
+ unselectable?: "on" | "off" | undefined;
2251
+ inputMode?: "text" | "search" | "none" | "decimal" | "tel" | "url" | "email" | "numeric" | undefined;
2252
2252
  is?: string | undefined;
2253
2253
  "aria-activedescendant"?: string | undefined;
2254
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
2255
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
2254
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
2255
+ "aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
2256
2256
  "aria-braillelabel"?: string | undefined;
2257
2257
  "aria-brailleroledescription"?: string | undefined;
2258
- "aria-busy"?: (boolean | "true" | "false") | undefined;
2259
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
2258
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
2259
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
2260
2260
  "aria-colcount"?: number | undefined;
2261
2261
  "aria-colindex"?: number | undefined;
2262
2262
  "aria-colindextext"?: string | undefined;
2263
2263
  "aria-colspan"?: number | undefined;
2264
2264
  "aria-controls"?: string | undefined;
2265
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
2265
+ "aria-current"?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
2266
2266
  "aria-describedby"?: string | undefined;
2267
2267
  "aria-description"?: string | undefined;
2268
2268
  "aria-details"?: string | undefined;
2269
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
2270
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
2269
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
2270
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
2271
2271
  "aria-errormessage"?: string | undefined;
2272
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
2272
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
2273
2273
  "aria-flowto"?: string | undefined;
2274
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
2275
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
2276
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
2277
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
2274
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
2275
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree" | undefined;
2276
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
2277
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
2278
2278
  "aria-keyshortcuts"?: string | undefined;
2279
2279
  "aria-label"?: string | undefined;
2280
2280
  "aria-labelledby"?: string | undefined;
2281
2281
  "aria-level"?: number | undefined;
2282
2282
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
2283
- "aria-modal"?: (boolean | "true" | "false") | undefined;
2284
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
2285
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
2283
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
2284
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
2285
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
2286
2286
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
2287
2287
  "aria-owns"?: string | undefined;
2288
2288
  "aria-placeholder"?: string | undefined;
2289
2289
  "aria-posinset"?: number | undefined;
2290
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
2291
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
2292
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
2293
- "aria-required"?: (boolean | "true" | "false") | undefined;
2290
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
2291
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
2292
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
2293
+ "aria-required"?: (boolean | "false" | "true") | undefined;
2294
2294
  "aria-roledescription"?: string | undefined;
2295
2295
  "aria-rowcount"?: number | undefined;
2296
2296
  "aria-rowindex"?: number | undefined;
2297
2297
  "aria-rowindextext"?: string | undefined;
2298
2298
  "aria-rowspan"?: number | undefined;
2299
- "aria-selected"?: (boolean | "true" | "false") | undefined;
2299
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
2300
2300
  "aria-setsize"?: number | undefined;
2301
2301
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
2302
2302
  "aria-valuemax"?: number | undefined;