@ngrr/ds 0.1.31 → 0.1.32
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/AI.md +123 -0
- package/dist/components/atoms/Avatar/Avatar.d.ts +2 -2
- package/dist/ds-nagarro.es.js +1 -1
- package/dist/ds-nagarro.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/tokens.css +76 -13
- package/package.json +1 -1
package/dist/tokens.css
CHANGED
|
@@ -454,12 +454,12 @@
|
|
|
454
454
|
--font-line-height-label: 1rem;
|
|
455
455
|
--font-line-height-body-s: 1.25rem;
|
|
456
456
|
--font-line-height-body-l: 1.5rem;
|
|
457
|
-
--font-line-height-display-s:
|
|
458
|
-
--font-line-height-display-m:
|
|
459
|
-
--font-line-height-display-l:
|
|
460
|
-
--font-line-height-display-xl:
|
|
461
|
-
--font-line-height-display-2xl:
|
|
462
|
-
--font-line-height-display-3xl:
|
|
457
|
+
--font-line-height-display-s: 2rem;
|
|
458
|
+
--font-line-height-display-m: 2.5rem;
|
|
459
|
+
--font-line-height-display-l: 3rem;
|
|
460
|
+
--font-line-height-display-xl: 3.5rem;
|
|
461
|
+
--font-line-height-display-2xl: 4rem;
|
|
462
|
+
--font-line-height-display-3xl: 4.5rem;
|
|
463
463
|
|
|
464
464
|
--font-weight-regular: 400;
|
|
465
465
|
--font-weight-medium: 500;
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
--font-letter-spacing-tight: -0.03em;
|
|
469
469
|
--font-letter-spacing-normal: 0em;
|
|
470
470
|
--font-letter-spacing-display: -0.01em;
|
|
471
|
-
--font-letter-spacing-wide:
|
|
471
|
+
--font-letter-spacing-wide: 0em;
|
|
472
472
|
|
|
473
473
|
|
|
474
474
|
/* =============================================================================
|
|
@@ -508,18 +508,18 @@
|
|
|
508
508
|
|
|
509
509
|
--control-height-standard: var(--size-32);
|
|
510
510
|
--control-height-nested: var(--size-24);
|
|
511
|
-
--control-radius-standard: var(--radius-
|
|
512
|
-
--control-radius-small: var(--radius-
|
|
511
|
+
--control-radius-standard: var(--radius-standard);
|
|
512
|
+
--control-radius-small: var(--radius-small);
|
|
513
513
|
|
|
514
514
|
/* Avatar sizing scale */
|
|
515
515
|
--size-avatar-xxs: var(--size-16);
|
|
516
516
|
--size-avatar-xs: var(--size-24);
|
|
517
517
|
--size-avatar-sm: var(--size-32);
|
|
518
|
-
--size-avatar-md: 40px;
|
|
519
518
|
--size-avatar-lg: var(--size-48);
|
|
520
519
|
--size-avatar-xl: var(--size-64);
|
|
521
520
|
--size-avatar-xxl: 128px;
|
|
522
521
|
--gap-avatar-group: -4px;
|
|
522
|
+
|
|
523
523
|
/* Button token aliases expected by existing component CSS */
|
|
524
524
|
--control-button-inset-standard: var(--inset-small);
|
|
525
525
|
--control-button-inset-small: var(--inset-tiny);
|
|
@@ -551,6 +551,17 @@
|
|
|
551
551
|
--radius-xlarge: var(--size-32);
|
|
552
552
|
--radius-full: var(--scale-full);
|
|
553
553
|
|
|
554
|
+
--surface-tooltip-radius: var(--radius-xsmall);
|
|
555
|
+
--surface-popover-radius: var(--radius-standard);
|
|
556
|
+
--surface-card-radius: var(--radius-large);
|
|
557
|
+
--surface-modal-radius: var(--radius-xlarge);
|
|
558
|
+
--surface-modal-max-width: var(--size-1024);
|
|
559
|
+
|
|
560
|
+
--surface-popover-width-min: var(--size-192);
|
|
561
|
+
--surface-popover-width-standard: var(--size-256);
|
|
562
|
+
--surface-popover-width-large: var(--size-320);
|
|
563
|
+
--surface-popover-width-max: var(--size-480);
|
|
564
|
+
|
|
554
565
|
--border-width-default: 1px;
|
|
555
566
|
--border-width-medium: 1.5px;
|
|
556
567
|
--border-width-thick: 2px;
|
|
@@ -562,14 +573,66 @@
|
|
|
562
573
|
--tag-radius: var(--control-radius-standard);
|
|
563
574
|
--border-ui-icon: 1.25px;
|
|
564
575
|
|
|
576
|
+
/* =============================================================================
|
|
577
|
+
NAV — Source: Figma size collection → nav/*
|
|
578
|
+
============================================================================= */
|
|
579
|
+
|
|
580
|
+
--nav-heading-height-xsmall: var(--size-24);
|
|
581
|
+
--nav-heading-height-small: var(--size-32);
|
|
582
|
+
--nav-heading-height-standard: var(--size-48);
|
|
583
|
+
--nav-heading-height-large: var(--size-64);
|
|
584
|
+
|
|
585
|
+
--nav-inset-small: var(--inset-small);
|
|
586
|
+
--nav-inset-standard: var(--inset-medium);
|
|
587
|
+
|
|
588
|
+
--nav-space-small: var(--space-small);
|
|
589
|
+
--nav-space-standard: var(--space-medium);
|
|
590
|
+
|
|
591
|
+
--nav-sidebar-width-collapsed: var(--size-48);
|
|
592
|
+
--nav-sidebar-width-expanded-min: var(--size-256);
|
|
593
|
+
--nav-sidebar-width-expanded-max: var(--size-480);
|
|
594
|
+
|
|
595
|
+
/* =============================================================================
|
|
596
|
+
GRID — Source: Figma size collection → grid/*
|
|
597
|
+
============================================================================= */
|
|
598
|
+
|
|
599
|
+
--grid-columns: 12;
|
|
600
|
+
--grid-gutter: var(--size-16);
|
|
601
|
+
--grid-margin-x: var(--size-16);
|
|
602
|
+
--grid-cards-gutter: var(--size-16);
|
|
603
|
+
|
|
604
|
+
/* =============================================================================
|
|
605
|
+
Z-INDEX — Source: Figma size collection → z-index/*
|
|
606
|
+
============================================================================= */
|
|
607
|
+
|
|
608
|
+
--z-index-sticky: 1020;
|
|
609
|
+
--z-index-fixed: 1030;
|
|
610
|
+
--z-index-modal-backdrop: 1040;
|
|
611
|
+
--z-index-modal: 1050;
|
|
612
|
+
--z-index-popover: 1060;
|
|
613
|
+
--z-index-tooltip: 1070;
|
|
614
|
+
|
|
615
|
+
/* =============================================================================
|
|
616
|
+
BREAKPOINTS — Source: Figma size collection → breakpoints/*
|
|
617
|
+
============================================================================= */
|
|
618
|
+
|
|
619
|
+
--breakpoint-mobile: 480px;
|
|
620
|
+
--breakpoint-tablet: 768px;
|
|
621
|
+
--breakpoint-desktop: 1280px;
|
|
622
|
+
--breakpoint-desktop-large: 1440px;
|
|
565
623
|
|
|
566
624
|
/* =============================================================================
|
|
567
625
|
TRANSITIONS — not mode-dependent
|
|
568
626
|
============================================================================= */
|
|
569
627
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
628
|
+
--transition-instant: 0ms ease;
|
|
629
|
+
--transition-fast: 150ms ease;
|
|
630
|
+
--transition-normal: 250ms ease;
|
|
631
|
+
--transition-slow: 400ms ease;
|
|
632
|
+
--transition-popover: 150ms ease;
|
|
633
|
+
--transition-switcher: 150ms ease;
|
|
634
|
+
--transition-drawer: 250ms ease;
|
|
635
|
+
--transition-modal: 0ms ease;
|
|
573
636
|
|
|
574
637
|
} /* end :root */
|
|
575
638
|
|