@norges-domstoler/dds-components 0.0.0-dev-20240123145357 → 0.0.0-dev-20240125145856

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
@@ -206,6 +206,190 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
206
206
  fontWeight: number;
207
207
  fontStyle: string;
208
208
  color: string | undefined;
209
+ } | {
210
+ lineHeight: string;
211
+ fontSize: string;
212
+ letterSpacing: string;
213
+ fontFamily: string;
214
+ fontWeight: number;
215
+ fontStyle: string;
216
+ color: string | undefined;
217
+ } | {
218
+ lineHeight: string;
219
+ fontSize: string;
220
+ letterSpacing: string;
221
+ fontFamily: string;
222
+ fontWeight: number;
223
+ fontStyle: string;
224
+ color: string | undefined;
225
+ } | {
226
+ lineHeight: string;
227
+ fontSize: string;
228
+ letterSpacing: string;
229
+ fontFamily: string;
230
+ fontWeight: number;
231
+ fontStyle: string;
232
+ color: string | undefined;
233
+ } | {
234
+ lineHeight: string;
235
+ fontSize: string;
236
+ letterSpacing: string;
237
+ fontFamily: string;
238
+ fontWeight: number;
239
+ fontStyle: string;
240
+ color: string | undefined;
241
+ } | {
242
+ lineHeight: string;
243
+ fontSize: string;
244
+ letterSpacing: string;
245
+ fontFamily: string;
246
+ fontWeight: number;
247
+ fontStyle: string;
248
+ color: string | undefined;
249
+ } | {
250
+ lineHeight: string;
251
+ fontSize: string;
252
+ letterSpacing: string;
253
+ fontFamily: string;
254
+ fontWeight: number;
255
+ fontStyle: string;
256
+ color: string | undefined;
257
+ } | {
258
+ lineHeight: string;
259
+ fontSize: string;
260
+ letterSpacing: string;
261
+ fontFamily: string;
262
+ fontWeight: number;
263
+ fontStyle: string;
264
+ color: string | undefined;
265
+ } | {
266
+ lineHeight: string;
267
+ fontSize: string;
268
+ letterSpacing: string;
269
+ fontFamily: string;
270
+ fontWeight: number;
271
+ fontStyle: string;
272
+ color: string | undefined;
273
+ } | {
274
+ lineHeight: string;
275
+ fontSize: string;
276
+ letterSpacing: string;
277
+ fontFamily: string;
278
+ fontWeight: number;
279
+ fontStyle: string;
280
+ color: string | undefined;
281
+ } | {
282
+ lineHeight: string;
283
+ fontSize: string;
284
+ letterSpacing: string;
285
+ fontFamily: string;
286
+ fontWeight: number;
287
+ fontStyle: string;
288
+ color: string | undefined;
289
+ } | {
290
+ lineHeight: string;
291
+ fontSize: string;
292
+ letterSpacing: string;
293
+ fontFamily: string;
294
+ fontWeight: number;
295
+ fontStyle: string;
296
+ color: string | undefined;
297
+ } | {
298
+ lineHeight: string;
299
+ fontSize: string;
300
+ letterSpacing: string;
301
+ fontFamily: string;
302
+ fontWeight: number;
303
+ fontStyle: string;
304
+ color: string | undefined;
305
+ } | {
306
+ lineHeight: string;
307
+ fontSize: string;
308
+ letterSpacing: string;
309
+ fontFamily: string;
310
+ fontWeight: number;
311
+ fontStyle: string;
312
+ color: string | undefined;
313
+ } | {
314
+ lineHeight: string;
315
+ fontSize: string;
316
+ letterSpacing: string;
317
+ fontFamily: string;
318
+ fontWeight: number;
319
+ fontStyle: string;
320
+ color: string | undefined;
321
+ } | {
322
+ lineHeight: string;
323
+ fontSize: string;
324
+ letterSpacing: string;
325
+ fontFamily: string;
326
+ fontWeight: number;
327
+ fontStyle: string;
328
+ color: string | undefined;
329
+ } | {
330
+ lineHeight: string;
331
+ fontSize: string;
332
+ letterSpacing: string;
333
+ fontFamily: string;
334
+ fontWeight: number;
335
+ fontStyle: string;
336
+ color: string | undefined;
337
+ } | {
338
+ lineHeight: string;
339
+ fontSize: string;
340
+ letterSpacing: string;
341
+ fontFamily: string;
342
+ fontWeight: number;
343
+ fontStyle: string;
344
+ color: string | undefined;
345
+ } | {
346
+ lineHeight: string;
347
+ fontSize: string;
348
+ letterSpacing: string;
349
+ fontFamily: string;
350
+ fontWeight: number;
351
+ fontStyle: string;
352
+ color: string | undefined;
353
+ } | {
354
+ lineHeight: string;
355
+ fontSize: string;
356
+ letterSpacing: string;
357
+ fontFamily: string;
358
+ fontWeight: number;
359
+ fontStyle: string;
360
+ color: string | undefined;
361
+ } | {
362
+ lineHeight: string;
363
+ fontSize: string;
364
+ letterSpacing: string;
365
+ fontFamily: string;
366
+ fontWeight: number;
367
+ fontStyle: string;
368
+ color: string | undefined;
369
+ } | {
370
+ lineHeight: string;
371
+ fontSize: string;
372
+ letterSpacing: string;
373
+ fontFamily: string;
374
+ fontWeight: number;
375
+ fontStyle: string;
376
+ color: string | undefined;
377
+ } | {
378
+ lineHeight: string;
379
+ fontSize: string;
380
+ letterSpacing: string;
381
+ fontFamily: string;
382
+ fontWeight: number;
383
+ fontStyle: string;
384
+ color: string | undefined;
385
+ } | {
386
+ lineHeight: string;
387
+ fontSize: string;
388
+ letterSpacing: string;
389
+ fontFamily: string;
390
+ fontWeight: number;
391
+ fontStyle: string;
392
+ color: string | undefined;
209
393
  };
210
394
 
211
395
  type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, BaseTypographyProps>;
package/dist/index.d.ts CHANGED
@@ -206,6 +206,190 @@ declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean)
206
206
  fontWeight: number;
207
207
  fontStyle: string;
208
208
  color: string | undefined;
209
+ } | {
210
+ lineHeight: string;
211
+ fontSize: string;
212
+ letterSpacing: string;
213
+ fontFamily: string;
214
+ fontWeight: number;
215
+ fontStyle: string;
216
+ color: string | undefined;
217
+ } | {
218
+ lineHeight: string;
219
+ fontSize: string;
220
+ letterSpacing: string;
221
+ fontFamily: string;
222
+ fontWeight: number;
223
+ fontStyle: string;
224
+ color: string | undefined;
225
+ } | {
226
+ lineHeight: string;
227
+ fontSize: string;
228
+ letterSpacing: string;
229
+ fontFamily: string;
230
+ fontWeight: number;
231
+ fontStyle: string;
232
+ color: string | undefined;
233
+ } | {
234
+ lineHeight: string;
235
+ fontSize: string;
236
+ letterSpacing: string;
237
+ fontFamily: string;
238
+ fontWeight: number;
239
+ fontStyle: string;
240
+ color: string | undefined;
241
+ } | {
242
+ lineHeight: string;
243
+ fontSize: string;
244
+ letterSpacing: string;
245
+ fontFamily: string;
246
+ fontWeight: number;
247
+ fontStyle: string;
248
+ color: string | undefined;
249
+ } | {
250
+ lineHeight: string;
251
+ fontSize: string;
252
+ letterSpacing: string;
253
+ fontFamily: string;
254
+ fontWeight: number;
255
+ fontStyle: string;
256
+ color: string | undefined;
257
+ } | {
258
+ lineHeight: string;
259
+ fontSize: string;
260
+ letterSpacing: string;
261
+ fontFamily: string;
262
+ fontWeight: number;
263
+ fontStyle: string;
264
+ color: string | undefined;
265
+ } | {
266
+ lineHeight: string;
267
+ fontSize: string;
268
+ letterSpacing: string;
269
+ fontFamily: string;
270
+ fontWeight: number;
271
+ fontStyle: string;
272
+ color: string | undefined;
273
+ } | {
274
+ lineHeight: string;
275
+ fontSize: string;
276
+ letterSpacing: string;
277
+ fontFamily: string;
278
+ fontWeight: number;
279
+ fontStyle: string;
280
+ color: string | undefined;
281
+ } | {
282
+ lineHeight: string;
283
+ fontSize: string;
284
+ letterSpacing: string;
285
+ fontFamily: string;
286
+ fontWeight: number;
287
+ fontStyle: string;
288
+ color: string | undefined;
289
+ } | {
290
+ lineHeight: string;
291
+ fontSize: string;
292
+ letterSpacing: string;
293
+ fontFamily: string;
294
+ fontWeight: number;
295
+ fontStyle: string;
296
+ color: string | undefined;
297
+ } | {
298
+ lineHeight: string;
299
+ fontSize: string;
300
+ letterSpacing: string;
301
+ fontFamily: string;
302
+ fontWeight: number;
303
+ fontStyle: string;
304
+ color: string | undefined;
305
+ } | {
306
+ lineHeight: string;
307
+ fontSize: string;
308
+ letterSpacing: string;
309
+ fontFamily: string;
310
+ fontWeight: number;
311
+ fontStyle: string;
312
+ color: string | undefined;
313
+ } | {
314
+ lineHeight: string;
315
+ fontSize: string;
316
+ letterSpacing: string;
317
+ fontFamily: string;
318
+ fontWeight: number;
319
+ fontStyle: string;
320
+ color: string | undefined;
321
+ } | {
322
+ lineHeight: string;
323
+ fontSize: string;
324
+ letterSpacing: string;
325
+ fontFamily: string;
326
+ fontWeight: number;
327
+ fontStyle: string;
328
+ color: string | undefined;
329
+ } | {
330
+ lineHeight: string;
331
+ fontSize: string;
332
+ letterSpacing: string;
333
+ fontFamily: string;
334
+ fontWeight: number;
335
+ fontStyle: string;
336
+ color: string | undefined;
337
+ } | {
338
+ lineHeight: string;
339
+ fontSize: string;
340
+ letterSpacing: string;
341
+ fontFamily: string;
342
+ fontWeight: number;
343
+ fontStyle: string;
344
+ color: string | undefined;
345
+ } | {
346
+ lineHeight: string;
347
+ fontSize: string;
348
+ letterSpacing: string;
349
+ fontFamily: string;
350
+ fontWeight: number;
351
+ fontStyle: string;
352
+ color: string | undefined;
353
+ } | {
354
+ lineHeight: string;
355
+ fontSize: string;
356
+ letterSpacing: string;
357
+ fontFamily: string;
358
+ fontWeight: number;
359
+ fontStyle: string;
360
+ color: string | undefined;
361
+ } | {
362
+ lineHeight: string;
363
+ fontSize: string;
364
+ letterSpacing: string;
365
+ fontFamily: string;
366
+ fontWeight: number;
367
+ fontStyle: string;
368
+ color: string | undefined;
369
+ } | {
370
+ lineHeight: string;
371
+ fontSize: string;
372
+ letterSpacing: string;
373
+ fontFamily: string;
374
+ fontWeight: number;
375
+ fontStyle: string;
376
+ color: string | undefined;
377
+ } | {
378
+ lineHeight: string;
379
+ fontSize: string;
380
+ letterSpacing: string;
381
+ fontFamily: string;
382
+ fontWeight: number;
383
+ fontStyle: string;
384
+ color: string | undefined;
385
+ } | {
386
+ lineHeight: string;
387
+ fontSize: string;
388
+ letterSpacing: string;
389
+ fontFamily: string;
390
+ fontWeight: number;
391
+ fontStyle: string;
392
+ color: string | undefined;
209
393
  };
210
394
 
211
395
  type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, BaseTypographyProps>;
package/dist/index.js CHANGED
@@ -10475,6 +10475,10 @@ var getCustomStyles = (size2) => ({
10475
10475
  marginTop: menu2.marginTop,
10476
10476
  marginBottom: menu2.marginBottom
10477
10477
  }),
10478
+ menuPortal: (provided) => ({
10479
+ ...provided,
10480
+ zIndex: 99999
10481
+ }),
10478
10482
  group: () => ({
10479
10483
  boxSizing: "border-box"
10480
10484
  }),