@norges-domstoler/dds-components 0.0.0-dev-20240611101636 → 0.0.0-dev-20240611104929

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
@@ -182,7 +182,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
182
182
  fontFamily: string;
183
183
  fontWeight: number;
184
184
  fontStyle: string;
185
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
185
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
186
186
  } | {
187
187
  lineHeight: string;
188
188
  fontSize: string;
@@ -190,7 +190,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
190
190
  fontFamily: string;
191
191
  fontWeight: number;
192
192
  fontStyle: string;
193
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
193
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
194
194
  } | {
195
195
  lineHeight: string;
196
196
  fontSize: string;
@@ -198,7 +198,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
198
198
  fontFamily: string;
199
199
  fontWeight: number;
200
200
  fontStyle: string;
201
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
201
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
202
202
  } | {
203
203
  lineHeight: string;
204
204
  fontSize: string;
@@ -206,7 +206,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
206
206
  fontFamily: string;
207
207
  fontWeight: number;
208
208
  fontStyle: string;
209
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
209
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
210
210
  } | {
211
211
  lineHeight: string;
212
212
  fontSize: string;
@@ -214,7 +214,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
214
214
  fontFamily: string;
215
215
  fontWeight: number;
216
216
  fontStyle: string;
217
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
217
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
218
218
  } | {
219
219
  lineHeight: string;
220
220
  fontSize: string;
@@ -222,7 +222,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
222
222
  fontFamily: string;
223
223
  fontWeight: number;
224
224
  fontStyle: string;
225
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
225
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
226
226
  } | {
227
227
  lineHeight: string;
228
228
  fontSize: string;
@@ -230,7 +230,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
230
230
  fontFamily: string;
231
231
  fontWeight: number;
232
232
  fontStyle: string;
233
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
233
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
234
234
  } | {
235
235
  lineHeight: string;
236
236
  fontSize: string;
@@ -238,7 +238,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
238
238
  fontFamily: string;
239
239
  fontWeight: number;
240
240
  fontStyle: string;
241
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
241
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
242
242
  } | {
243
243
  lineHeight: string;
244
244
  fontSize: string;
@@ -246,7 +246,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
246
246
  fontFamily: string;
247
247
  fontWeight: number;
248
248
  fontStyle: string;
249
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
249
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
250
250
  } | {
251
251
  lineHeight: string;
252
252
  fontSize: string;
@@ -254,7 +254,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
254
254
  fontFamily: string;
255
255
  fontWeight: number;
256
256
  fontStyle: string;
257
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
257
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
258
258
  } | {
259
259
  lineHeight: string;
260
260
  fontSize: string;
@@ -262,7 +262,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
262
262
  fontFamily: string;
263
263
  fontWeight: number;
264
264
  fontStyle: string;
265
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
265
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
266
266
  } | {
267
267
  lineHeight: string;
268
268
  fontSize: string;
@@ -270,7 +270,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
270
270
  fontFamily: string;
271
271
  fontWeight: number;
272
272
  fontStyle: string;
273
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
273
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
274
274
  } | {
275
275
  lineHeight: string;
276
276
  fontSize: string;
@@ -278,7 +278,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
278
278
  fontFamily: string;
279
279
  fontWeight: number;
280
280
  fontStyle: string;
281
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
281
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
282
282
  } | {
283
283
  lineHeight: string;
284
284
  fontSize: string;
@@ -286,7 +286,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
286
286
  fontFamily: string;
287
287
  fontWeight: number;
288
288
  fontStyle: string;
289
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
289
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
290
290
  } | {
291
291
  lineHeight: string;
292
292
  fontSize: string;
@@ -294,7 +294,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
294
294
  fontFamily: string;
295
295
  fontWeight: number;
296
296
  fontStyle: string;
297
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
297
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
298
298
  } | {
299
299
  lineHeight: string;
300
300
  fontSize: string;
@@ -302,7 +302,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
302
302
  fontFamily: string;
303
303
  fontWeight: number;
304
304
  fontStyle: string;
305
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
305
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
306
306
  } | {
307
307
  lineHeight: string;
308
308
  fontSize: string;
@@ -310,7 +310,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
310
310
  fontFamily: string;
311
311
  fontWeight: number;
312
312
  fontStyle: string;
313
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
313
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
314
314
  } | {
315
315
  lineHeight: string;
316
316
  fontSize: string;
@@ -318,7 +318,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
318
318
  fontFamily: string;
319
319
  fontWeight: number;
320
320
  fontStyle: string;
321
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
321
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
322
322
  } | {
323
323
  lineHeight: string;
324
324
  fontSize: string;
@@ -326,7 +326,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
326
326
  fontFamily: string;
327
327
  fontWeight: number;
328
328
  fontStyle: string;
329
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
329
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
330
330
  } | {
331
331
  lineHeight: string;
332
332
  fontSize: string;
@@ -334,7 +334,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
334
334
  fontFamily: string;
335
335
  fontWeight: number;
336
336
  fontStyle: string;
337
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
337
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
338
338
  } | {
339
339
  lineHeight: string;
340
340
  fontSize: string;
@@ -342,7 +342,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
342
342
  fontFamily: string;
343
343
  fontWeight: number;
344
344
  fontStyle: string;
345
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
345
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
346
346
  } | {
347
347
  lineHeight: string;
348
348
  fontSize: string;
@@ -350,7 +350,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
350
350
  fontFamily: string;
351
351
  fontWeight: number;
352
352
  fontStyle: string;
353
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
353
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
354
354
  } | {
355
355
  lineHeight: string;
356
356
  fontSize: string;
@@ -358,7 +358,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
358
358
  fontFamily: string;
359
359
  fontWeight: number;
360
360
  fontStyle: string;
361
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
361
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
362
362
  } | {
363
363
  lineHeight: string;
364
364
  fontSize: string;
@@ -366,7 +366,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
366
366
  fontFamily: string;
367
367
  fontWeight: number;
368
368
  fontStyle: string;
369
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
369
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
370
370
  };
371
371
  declare function getTypographyCn(value: TypographyType): HyphenTypographyType;
372
372
 
package/dist/index.d.ts CHANGED
@@ -182,7 +182,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
182
182
  fontFamily: string;
183
183
  fontWeight: number;
184
184
  fontStyle: string;
185
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
185
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
186
186
  } | {
187
187
  lineHeight: string;
188
188
  fontSize: string;
@@ -190,7 +190,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
190
190
  fontFamily: string;
191
191
  fontWeight: number;
192
192
  fontStyle: string;
193
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
193
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
194
194
  } | {
195
195
  lineHeight: string;
196
196
  fontSize: string;
@@ -198,7 +198,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
198
198
  fontFamily: string;
199
199
  fontWeight: number;
200
200
  fontStyle: string;
201
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
201
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
202
202
  } | {
203
203
  lineHeight: string;
204
204
  fontSize: string;
@@ -206,7 +206,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
206
206
  fontFamily: string;
207
207
  fontWeight: number;
208
208
  fontStyle: string;
209
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
209
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
210
210
  } | {
211
211
  lineHeight: string;
212
212
  fontSize: string;
@@ -214,7 +214,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
214
214
  fontFamily: string;
215
215
  fontWeight: number;
216
216
  fontStyle: string;
217
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
217
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
218
218
  } | {
219
219
  lineHeight: string;
220
220
  fontSize: string;
@@ -222,7 +222,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
222
222
  fontFamily: string;
223
223
  fontWeight: number;
224
224
  fontStyle: string;
225
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
225
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
226
226
  } | {
227
227
  lineHeight: string;
228
228
  fontSize: string;
@@ -230,7 +230,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
230
230
  fontFamily: string;
231
231
  fontWeight: number;
232
232
  fontStyle: string;
233
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
233
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
234
234
  } | {
235
235
  lineHeight: string;
236
236
  fontSize: string;
@@ -238,7 +238,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
238
238
  fontFamily: string;
239
239
  fontWeight: number;
240
240
  fontStyle: string;
241
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
241
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
242
242
  } | {
243
243
  lineHeight: string;
244
244
  fontSize: string;
@@ -246,7 +246,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
246
246
  fontFamily: string;
247
247
  fontWeight: number;
248
248
  fontStyle: string;
249
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
249
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
250
250
  } | {
251
251
  lineHeight: string;
252
252
  fontSize: string;
@@ -254,7 +254,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
254
254
  fontFamily: string;
255
255
  fontWeight: number;
256
256
  fontStyle: string;
257
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
257
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
258
258
  } | {
259
259
  lineHeight: string;
260
260
  fontSize: string;
@@ -262,7 +262,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
262
262
  fontFamily: string;
263
263
  fontWeight: number;
264
264
  fontStyle: string;
265
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
265
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
266
266
  } | {
267
267
  lineHeight: string;
268
268
  fontSize: string;
@@ -270,7 +270,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
270
270
  fontFamily: string;
271
271
  fontWeight: number;
272
272
  fontStyle: string;
273
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
273
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
274
274
  } | {
275
275
  lineHeight: string;
276
276
  fontSize: string;
@@ -278,7 +278,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
278
278
  fontFamily: string;
279
279
  fontWeight: number;
280
280
  fontStyle: string;
281
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
281
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
282
282
  } | {
283
283
  lineHeight: string;
284
284
  fontSize: string;
@@ -286,7 +286,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
286
286
  fontFamily: string;
287
287
  fontWeight: number;
288
288
  fontStyle: string;
289
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
289
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
290
290
  } | {
291
291
  lineHeight: string;
292
292
  fontSize: string;
@@ -294,7 +294,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
294
294
  fontFamily: string;
295
295
  fontWeight: number;
296
296
  fontStyle: string;
297
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
297
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
298
298
  } | {
299
299
  lineHeight: string;
300
300
  fontSize: string;
@@ -302,7 +302,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
302
302
  fontFamily: string;
303
303
  fontWeight: number;
304
304
  fontStyle: string;
305
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
305
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
306
306
  } | {
307
307
  lineHeight: string;
308
308
  fontSize: string;
@@ -310,7 +310,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
310
310
  fontFamily: string;
311
311
  fontWeight: number;
312
312
  fontStyle: string;
313
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
313
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
314
314
  } | {
315
315
  lineHeight: string;
316
316
  fontSize: string;
@@ -318,7 +318,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
318
318
  fontFamily: string;
319
319
  fontWeight: number;
320
320
  fontStyle: string;
321
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
321
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
322
322
  } | {
323
323
  lineHeight: string;
324
324
  fontSize: string;
@@ -326,7 +326,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
326
326
  fontFamily: string;
327
327
  fontWeight: number;
328
328
  fontStyle: string;
329
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
329
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
330
330
  } | {
331
331
  lineHeight: string;
332
332
  fontSize: string;
@@ -334,7 +334,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
334
334
  fontFamily: string;
335
335
  fontWeight: number;
336
336
  fontStyle: string;
337
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
337
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
338
338
  } | {
339
339
  lineHeight: string;
340
340
  fontSize: string;
@@ -342,7 +342,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
342
342
  fontFamily: string;
343
343
  fontWeight: number;
344
344
  fontStyle: string;
345
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
345
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
346
346
  } | {
347
347
  lineHeight: string;
348
348
  fontSize: string;
@@ -350,7 +350,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
350
350
  fontFamily: string;
351
351
  fontWeight: number;
352
352
  fontStyle: string;
353
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
353
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
354
354
  } | {
355
355
  lineHeight: string;
356
356
  fontSize: string;
@@ -358,7 +358,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
358
358
  fontFamily: string;
359
359
  fontWeight: number;
360
360
  fontStyle: string;
361
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
361
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
362
362
  } | {
363
363
  lineHeight: string;
364
364
  fontSize: string;
@@ -366,7 +366,7 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
366
366
  fontFamily: string;
367
367
  fontWeight: number;
368
368
  fontStyle: string;
369
- color: "#0b0d0e" | "#3a4146" | "#545c62" | undefined;
369
+ color: "#0b0d0e" | "#545c62" | "#3a4146" | undefined;
370
370
  };
371
371
  declare function getTypographyCn(value: TypographyType): HyphenTypographyType;
372
372