@praxisui/core 10.0.0-rc.48 → 10.0.0-rc.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "10.0.0-rc.48",
3
+ "version": "10.0.0-rc.49",
4
4
  "description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.0.0",
@@ -398,160 +398,160 @@
398
398
 
399
399
  /// Emits responsive and solid surface styling for Widget Shell expanded and fullscreen modes.
400
400
  @mixin praxis-shell-styles() {
401
- .pdx-shell-backdrop {
402
- position: fixed !important;
403
- inset: 0 !important;
404
- z-index: 1280 !important;
405
- background: color-mix(in oklab, var(--overlay, rgba(0, 0, 0, 0.6)) 85%, black) !important;
406
- backdrop-filter: blur(14px) saturate(130%) !important;
407
- -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
401
+ :root body .pdx-shell-backdrop.pdx-shell-backdrop {
402
+ position: fixed;
403
+ inset: 0;
404
+ z-index: 1280;
405
+ background: color-mix(in oklab, var(--overlay, rgba(0, 0, 0, 0.6)) 85%, black);
406
+ backdrop-filter: blur(14px) saturate(130%);
407
+ -webkit-backdrop-filter: blur(14px) saturate(130%);
408
408
  }
409
409
 
410
- .pdx-shell.fullscreen,
411
- .pdx-shell.expanded {
412
- background: var(--pdx-shell-fullscreen-bg, var(--card, #ffffff)) !important;
413
- color: var(--pdx-shell-body-color, var(--foreground, inherit)) !important;
414
- border: 1px solid var(--pdx-shell-card-border, var(--border, rgba(0, 0, 0, 0.12))) !important;
415
- box-shadow: var(--shadow-command, var(--md-sys-elevation-level3, 0 4px 12px rgba(0, 0, 0, 0.18))) !important;
410
+ :root body .pdx-shell.pdx-shell.fullscreen,
411
+ :root body .pdx-shell.pdx-shell.expanded {
412
+ background: var(--pdx-shell-fullscreen-bg, var(--card, #ffffff));
413
+ color: var(--pdx-shell-body-color, var(--foreground, inherit));
414
+ border: 1px solid var(--pdx-shell-card-border, var(--border, rgba(0, 0, 0, 0.12)));
415
+ box-shadow: var(--shadow-command, var(--md-sys-elevation-level3, 0 4px 12px rgba(0, 0, 0, 0.18)));
416
416
  }
417
417
 
418
- .pdx-shell.fullscreen {
419
- inset: 24px !important;
420
- width: auto !important;
421
- height: auto !important;
422
- border-radius: var(--radius-xl, 20px) !important;
423
- overflow: hidden !important;
418
+ :root body .pdx-shell.pdx-shell.fullscreen {
419
+ inset: 24px;
420
+ width: auto;
421
+ height: auto;
422
+ border-radius: var(--radius-xl, 20px);
423
+ overflow: hidden;
424
424
  }
425
425
 
426
426
  @media (max-width: 768px), (max-height: 800px) {
427
- .pdx-shell.fullscreen {
428
- inset: 12px !important;
429
- border-radius: var(--radius-lg, 14px) !important;
427
+ :root body .pdx-shell.pdx-shell.fullscreen {
428
+ inset: 12px;
429
+ border-radius: var(--radius-lg, 14px);
430
430
  }
431
431
  }
432
432
 
433
- .pdx-shell.fullscreen > .pdx-shell-header,
434
- .pdx-shell.expanded > .pdx-shell-header {
435
- padding: 16px 24px !important;
436
- background: color-mix(in oklab, var(--pdx-shell-fullscreen-bg, var(--card, #ffffff)) 95%, var(--background, #f2f6f5)) !important;
437
- border-bottom: 1px solid var(--pdx-shell-card-border, var(--border, rgba(0, 0, 0, 0.12))) !important;
433
+ :root body .pdx-shell.pdx-shell.fullscreen > .pdx-shell-header.pdx-shell-header,
434
+ :root body .pdx-shell.pdx-shell.expanded > .pdx-shell-header.pdx-shell-header {
435
+ padding: 16px 24px;
436
+ background: var(--pdx-shell-fullscreen-header-bg, color-mix(in oklab, var(--pdx-shell-fullscreen-bg, var(--card, #ffffff)) 95%, var(--background, #f2f6f5)));
437
+ border-bottom: 1px solid var(--pdx-shell-header-border, var(--pdx-shell-card-border, var(--border, rgba(0, 0, 0, 0.12))));
438
438
 
439
- .pdx-shell-title-text {
440
- font-family: var(--font-display, inherit) !important;
441
- font-size: 1.15rem !important;
442
- font-weight: var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500)) !important;
439
+ .pdx-shell-title-text.pdx-shell-title-text {
440
+ font-family: var(--font-display, inherit);
441
+ font-size: 1.15rem;
442
+ font-weight: var(--pdx-shell-title-weight, var(--mat-sys-title-medium-weight, 500));
443
443
  }
444
444
 
445
- .pdx-shell-subtitle {
446
- font-size: 0.85rem !important;
447
- color: var(--pdx-shell-subtitle-color, var(--muted-foreground, #666666)) !important;
445
+ .pdx-shell-subtitle.pdx-shell-subtitle {
446
+ font-size: 0.85rem;
447
+ color: var(--pdx-shell-subtitle-color, var(--muted-foreground, #666666));
448
448
  }
449
449
  }
450
450
 
451
451
  @media (max-height: 800px) {
452
- .pdx-shell.fullscreen > .pdx-shell-header,
453
- .pdx-shell.expanded > .pdx-shell-header {
454
- padding: 10px 18px !important;
452
+ :root body .pdx-shell.pdx-shell.fullscreen > .pdx-shell-header.pdx-shell-header,
453
+ :root body .pdx-shell.pdx-shell.expanded > .pdx-shell-header.pdx-shell-header {
454
+ padding: 10px 18px;
455
455
  }
456
456
  }
457
457
 
458
- .pdx-shell.fullscreen > .pdx-shell-body,
459
- .pdx-shell.expanded > .pdx-shell-body {
460
- padding: 24px 32px !important;
461
- background: var(--pdx-shell-fullscreen-bg, var(--card, #ffffff)) !important;
458
+ :root body .pdx-shell.pdx-shell.fullscreen > .pdx-shell-body.pdx-shell-body,
459
+ :root body .pdx-shell.pdx-shell.expanded > .pdx-shell-body.pdx-shell-body {
460
+ padding: 24px 32px;
461
+ background: var(--pdx-shell-fullscreen-bg, var(--card, #ffffff));
462
462
  }
463
463
 
464
464
  @media (max-height: 800px) {
465
- .pdx-shell.fullscreen > .pdx-shell-body,
466
- .pdx-shell.expanded > .pdx-shell-body {
467
- padding: 14px 20px !important;
465
+ :root body .pdx-shell.pdx-shell.fullscreen > .pdx-shell-body.pdx-shell-body,
466
+ :root body .pdx-shell.pdx-shell.expanded > .pdx-shell-body.pdx-shell-body {
467
+ padding: 14px 20px;
468
468
  }
469
469
  }
470
470
 
471
- .pdx-shell.fullscreen praxis-chart,
472
- .pdx-shell.expanded praxis-chart {
473
- width: 100% !important;
474
- height: 100% !important;
475
- display: block !important;
471
+ :root body .pdx-shell.pdx-shell.fullscreen praxis-chart,
472
+ :root body .pdx-shell.pdx-shell.expanded praxis-chart {
473
+ width: 100%;
474
+ height: 100%;
475
+ display: block;
476
476
  }
477
477
  }
478
478
 
479
479
  /// Emits solid surface and high-contrast refinements for Angular Material Tooltips.
480
480
  @mixin praxis-tooltip-styles() {
481
- .mat-mdc-tooltip-surface {
482
- background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface, oklch(0.24 0.03 260))) !important;
483
- color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface, oklch(0.98 0.005 240))) !important;
484
- border-radius: var(--radius-sm, 8px) !important;
485
- padding: 6px 12px !important;
486
- box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.12) !important;
487
- border: 1px solid color-mix(in oklab, var(--border, rgba(255, 255, 255, 0.15)) 45%, transparent) !important;
488
- font-family: var(--font-sans, inherit) !important;
489
- font-size: 12px !important;
490
- font-weight: 500 !important;
491
- line-height: 1.35 !important;
492
- letter-spacing: 0.01em !important;
493
- backdrop-filter: blur(8px) !important;
494
- -webkit-backdrop-filter: blur(8px) !important;
481
+ :root body .mat-mdc-tooltip-surface.mat-mdc-tooltip-surface {
482
+ background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface, oklch(0.24 0.03 260)));
483
+ color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface, oklch(0.98 0.005 240)));
484
+ border-radius: var(--radius-sm, 8px);
485
+ padding: 6px 12px;
486
+ box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.12);
487
+ border: 1px solid color-mix(in oklab, var(--border, rgba(255, 255, 255, 0.15)) 45%, transparent);
488
+ font-family: var(--font-sans, inherit);
489
+ font-size: 12px;
490
+ font-weight: 500;
491
+ line-height: 1.35;
492
+ letter-spacing: 0.01em;
493
+ backdrop-filter: blur(8px);
494
+ -webkit-backdrop-filter: blur(8px);
495
495
  }
496
496
  }
497
497
 
498
498
  /// Emits refined surface styling, command shadow, backdrop filter,
499
499
  /// and state layer hover animations for Angular Material Menus.
500
500
  @mixin praxis-menu-styles() {
501
- .mat-mdc-menu-panel {
502
- border-radius: var(--radius-md, 14px) !important;
503
- background: color-mix(in oklab, var(--mat-menu-container-color, var(--card, var(--surface, #ffffff))) 92%, var(--background, #f2f6f5)) !important;
504
- border: 1px solid var(--border, var(--md-sys-color-outline-variant, rgba(0, 0, 0, 0.12))) !important;
505
- box-shadow: var(--shadow-command, var(--md-sys-elevation-level3, 0 4px 12px rgba(0, 0, 0, 0.18))), 0 12px 32px rgba(0, 0, 0, 0.18) !important;
506
- backdrop-filter: blur(18px) saturate(140%) !important;
507
- -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
508
- padding: 6px !important;
509
- overflow: hidden !important;
501
+ :root body .mat-mdc-menu-panel.mat-mdc-menu-panel {
502
+ border-radius: var(--radius-md, 14px);
503
+ background: color-mix(in oklab, var(--mat-menu-container-color, var(--card, var(--surface, #ffffff))) 92%, var(--background, #f2f6f5));
504
+ border: 1px solid var(--border, var(--md-sys-color-outline-variant, rgba(0, 0, 0, 0.12)));
505
+ box-shadow: var(--shadow-command, var(--md-sys-elevation-level3, 0 4px 12px rgba(0, 0, 0, 0.18))), 0 12px 32px rgba(0, 0, 0, 0.18);
506
+ backdrop-filter: blur(18px) saturate(140%);
507
+ -webkit-backdrop-filter: blur(18px) saturate(140%);
508
+ padding: 6px;
509
+ overflow: hidden;
510
510
  }
511
511
 
512
- .mat-mdc-menu-item {
513
- min-height: 40px !important;
514
- border-radius: var(--radius-sm, 10px) !important;
515
- margin: 2px 0 !important;
516
- padding: 0 14px !important;
517
- font-family: var(--font-sans, inherit) !important;
518
- font-size: 0.85rem !important;
519
- font-weight: 500 !important;
520
- color: var(--mat-menu-item-label-text-color, var(--foreground, inherit)) !important;
521
- transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
512
+ :root body .mat-mdc-menu-item.mat-mdc-menu-item {
513
+ min-height: 40px;
514
+ border-radius: var(--radius-sm, 10px);
515
+ margin: 2px 0;
516
+ padding: 0 14px;
517
+ font-family: var(--font-sans, inherit);
518
+ font-size: 0.85rem;
519
+ font-weight: 500;
520
+ color: var(--mat-menu-item-label-text-color, var(--foreground, inherit));
521
+ transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
522
522
 
523
523
  .mat-icon {
524
- margin-right: 12px !important;
525
- color: var(--mat-menu-item-icon-color, var(--muted-foreground, inherit)) !important;
526
- font-size: 20px !important;
527
- width: 20px !important;
528
- height: 20px !important;
529
- transition: color 0.15s ease, transform 0.15s ease !important;
524
+ margin-right: 12px;
525
+ color: var(--mat-menu-item-icon-color, var(--muted-foreground, inherit));
526
+ font-size: 20px;
527
+ width: 20px;
528
+ height: 20px;
529
+ transition: color 0.15s ease, transform 0.15s ease;
530
530
  }
531
531
 
532
532
  &:hover:not([disabled]) {
533
- background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in oklab, var(--primary) 12%, transparent)) !important;
534
- color: var(--foreground, inherit) !important;
533
+ background-color: var(--mat-menu-item-hover-state-layer-color, color-mix(in oklab, var(--primary) 12%, transparent));
534
+ color: var(--foreground, inherit);
535
535
  transform: translateX(3px);
536
536
 
537
537
  .mat-icon {
538
- color: var(--primary, var(--md-sys-color-primary)) !important;
538
+ color: var(--primary, var(--md-sys-color-primary));
539
539
  transform: scale(1.08);
540
540
  }
541
541
  }
542
542
 
543
543
  &:focus-visible:not([disabled]),
544
544
  &.cdk-program-focused:not([disabled]) {
545
- background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in oklab, var(--primary) 18%, transparent)) !important;
546
- outline: 2px solid var(--primary, var(--md-sys-color-primary)) !important;
545
+ background-color: var(--mat-menu-item-focus-state-layer-color, color-mix(in oklab, var(--primary) 18%, transparent));
546
+ outline: 2px solid var(--primary, var(--md-sys-color-primary));
547
547
  outline-offset: -2px;
548
548
  }
549
549
 
550
550
  &[disabled] {
551
- opacity: 0.42 !important;
552
- cursor: not-allowed !important;
553
- pointer-events: none !important;
554
- transform: none !important;
551
+ opacity: 0.42;
552
+ cursor: not-allowed;
553
+ pointer-events: none;
554
+ transform: none;
555
555
  }
556
556
  }
557
557
  }