@x-plat/design-system 0.11.0 → 0.12.0

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.css CHANGED
@@ -3322,6 +3322,9 @@
3322
3322
  color: var(--semantic-text-disabled);
3323
3323
  cursor: not-allowed;
3324
3324
  }
3325
+ .lib-xplat-dropdown-menu.repositioning {
3326
+ transition: none;
3327
+ }
3325
3328
 
3326
3329
  /* src/components/Editor/editor.scss */
3327
3330
  .lib-xplat-editor {
@@ -3609,6 +3612,104 @@
3609
3612
  color: var(--semantic-text-inverse);
3610
3613
  border-color: var(--semantic-surface-brand-default);
3611
3614
  }
3615
+ .lib-xplat-editor__editable .align-center {
3616
+ text-align: center;
3617
+ }
3618
+ .lib-xplat-editor__editable .align-right {
3619
+ text-align: right;
3620
+ }
3621
+ .lib-xplat-editor__editable ul.checklist {
3622
+ list-style: none;
3623
+ padding-left: var(--spacing-space-2);
3624
+ }
3625
+ .lib-xplat-editor__editable ul.checklist > li {
3626
+ position: relative;
3627
+ padding-left: var(--spacing-space-6);
3628
+ cursor: default;
3629
+ }
3630
+ .lib-xplat-editor__editable ul.checklist > li::before {
3631
+ content: "";
3632
+ position: absolute;
3633
+ left: 0;
3634
+ top: 0.25em;
3635
+ width: 1em;
3636
+ height: 1em;
3637
+ border: 1px solid var(--semantic-border-tertiary);
3638
+ border-radius: var(--spacing-radius-sm);
3639
+ background-color: var(--semantic-surface-neutral-primary);
3640
+ cursor: pointer;
3641
+ }
3642
+ .lib-xplat-editor__editable ul.checklist > li[data-checked=true] {
3643
+ color: var(--semantic-text-tertiary);
3644
+ text-decoration: line-through;
3645
+ }
3646
+ .lib-xplat-editor__editable ul.checklist > li[data-checked=true]::before {
3647
+ content: "\2713";
3648
+ display: flex;
3649
+ align-items: center;
3650
+ justify-content: center;
3651
+ border-color: var(--semantic-surface-brand-default);
3652
+ background-color: var(--semantic-surface-brand-default);
3653
+ color: var(--semantic-text-inverse);
3654
+ font-size: 0.75em;
3655
+ line-height: 1;
3656
+ }
3657
+ .lib-xplat-editor__editable mark {
3658
+ background-color: var(--semantic-surface-warning-subtle);
3659
+ color: var(--semantic-text-primary);
3660
+ border-radius: var(--spacing-radius-sm);
3661
+ padding: 0 2px;
3662
+ }
3663
+ .lib-xplat-editor__editable table {
3664
+ width: 100%;
3665
+ border-collapse: collapse;
3666
+ margin: var(--spacing-space-3) 0;
3667
+ font-family: var(--semantic-typo-label-2-m-font);
3668
+ font-size: var(--semantic-typo-label-2-m-size);
3669
+ line-height: var(--semantic-typo-label-2-m-lh);
3670
+ font-weight: var(--semantic-typo-label-2-m-weight);
3671
+ letter-spacing: var(--semantic-typo-label-2-m-ls);
3672
+ }
3673
+ .lib-xplat-editor__editable table th,
3674
+ .lib-xplat-editor__editable table td {
3675
+ border: 1px solid var(--semantic-border-primary);
3676
+ padding: var(--spacing-space-2) var(--spacing-space-3);
3677
+ text-align: left;
3678
+ vertical-align: top;
3679
+ min-width: 3em;
3680
+ }
3681
+ .lib-xplat-editor__editable table th {
3682
+ background-color: var(--semantic-surface-neutral-secondary);
3683
+ font-weight: var(--semantic-typo-label-2-sb-weight);
3684
+ }
3685
+ .lib-xplat-editor__lang {
3686
+ margin-left: auto;
3687
+ border: 1px solid var(--semantic-border-primary);
3688
+ border-radius: var(--spacing-radius-sm);
3689
+ background-color: var(--semantic-surface-neutral-primary);
3690
+ color: var(--semantic-text-secondary);
3691
+ padding: 0 var(--spacing-space-1);
3692
+ font-family: var(--semantic-typo-caption-2-r-font);
3693
+ font-size: var(--semantic-typo-caption-2-r-size);
3694
+ line-height: var(--semantic-typo-caption-2-r-lh);
3695
+ font-weight: var(--semantic-typo-caption-2-r-weight);
3696
+ letter-spacing: var(--semantic-typo-caption-2-r-ls);
3697
+ cursor: pointer;
3698
+ }
3699
+ .lib-xplat-editor__editable pre .tok-keyword {
3700
+ color: var(--semantic-text-link);
3701
+ font-weight: var(--semantic-typo-label-2-sb-weight);
3702
+ }
3703
+ .lib-xplat-editor__editable pre .tok-string {
3704
+ color: var(--semantic-text-success);
3705
+ }
3706
+ .lib-xplat-editor__editable pre .tok-number {
3707
+ color: var(--semantic-text-accent-blue);
3708
+ }
3709
+ .lib-xplat-editor__editable pre .tok-comment {
3710
+ color: var(--semantic-text-tertiary);
3711
+ font-style: italic;
3712
+ }
3612
3713
 
3613
3714
  /* src/components/EmptyState/emptystate.scss */
3614
3715
  .lib-xplat-empty-state {
@@ -4079,6 +4180,9 @@
4079
4180
  opacity: 1;
4080
4181
  transform: scale(1);
4081
4182
  }
4183
+ .lib-xplat-pop-over-content.repositioning {
4184
+ transition: none;
4185
+ }
4082
4186
 
4083
4187
  /* src/components/Progress/progress.scss */
4084
4188
  .lib-xplat-progress {
@@ -4473,6 +4577,9 @@
4473
4577
  cursor: not-allowed;
4474
4578
  color: var(--semantic-text-disabled);
4475
4579
  }
4580
+ .lib-xplat-select-content.repositioning {
4581
+ transition: none;
4582
+ }
4476
4583
 
4477
4584
  /* src/components/Skeleton/skeleton.scss */
4478
4585
  .lib-xplat-skeleton {
@@ -5573,6 +5680,9 @@
5573
5680
  font-weight: var(--semantic-typo-label-1-m-weight);
5574
5681
  letter-spacing: var(--semantic-typo-label-1-m-ls);
5575
5682
  }
5683
+ .lib-xplat-time-picker-content.repositioning {
5684
+ transition: none;
5685
+ }
5576
5686
 
5577
5687
  /* src/components/Toast/toast.scss */
5578
5688
  .lib-xplat-toast-container {