@x-plat/design-system 0.11.0 → 0.13.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/components/AutoResizeTextArea/index.cjs +2 -2
- package/dist/components/AutoResizeTextArea/index.js +2 -2
- package/dist/components/ChatInput/index.cjs +2 -2
- package/dist/components/ChatInput/index.js +2 -2
- package/dist/components/CheckBox/index.cjs +2 -2
- package/dist/components/CheckBox/index.js +2 -2
- package/dist/components/DatePicker/index.cjs +109 -75
- package/dist/components/DatePicker/index.d.cts +19 -0
- package/dist/components/DatePicker/index.d.ts +19 -0
- package/dist/components/DatePicker/index.js +109 -75
- package/dist/components/Dropdown/index.cjs +22 -9
- package/dist/components/Dropdown/index.css +3 -0
- package/dist/components/Dropdown/index.js +22 -9
- package/dist/components/Editor/index.cjs +602 -30
- package/dist/components/Editor/index.css +103 -0
- package/dist/components/Editor/index.d.cts +1 -1
- package/dist/components/Editor/index.d.ts +1 -1
- package/dist/components/Editor/index.js +602 -30
- package/dist/components/FieldMessage/index.cjs +2 -2
- package/dist/components/FieldMessage/index.d.cts +8 -0
- package/dist/components/FieldMessage/index.d.ts +8 -0
- package/dist/components/FieldMessage/index.js +2 -2
- package/dist/components/FileUpload/index.cjs +10 -6
- package/dist/components/FileUpload/index.d.cts +15 -2
- package/dist/components/FileUpload/index.d.ts +15 -2
- package/dist/components/FileUpload/index.js +10 -6
- package/dist/components/ImageSelector/index.cjs +7 -6
- package/dist/components/ImageSelector/index.d.cts +15 -2
- package/dist/components/ImageSelector/index.d.ts +15 -2
- package/dist/components/ImageSelector/index.js +7 -6
- package/dist/components/Input/index.cjs +2 -2
- package/dist/components/Input/index.d.cts +4 -0
- package/dist/components/Input/index.d.ts +4 -0
- package/dist/components/Input/index.js +2 -2
- package/dist/components/PopOver/index.cjs +21 -7
- package/dist/components/PopOver/index.css +3 -0
- package/dist/components/PopOver/index.js +21 -7
- package/dist/components/Radio/index.cjs +2 -2
- package/dist/components/Radio/index.js +2 -2
- package/dist/components/Select/index.cjs +23 -10
- package/dist/components/Select/index.css +3 -0
- package/dist/components/Select/index.d.cts +1 -2
- package/dist/components/Select/index.d.ts +1 -2
- package/dist/components/Select/index.js +23 -10
- package/dist/components/Switch/index.cjs +2 -2
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/TextArea/index.cjs +2 -2
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/TimePicker/index.cjs +23 -10
- package/dist/components/TimePicker/index.css +3 -0
- package/dist/components/TimePicker/index.js +23 -10
- package/dist/components/index.cjs +751 -124
- package/dist/components/index.css +113 -0
- package/dist/components/index.js +751 -124
- package/dist/index.cjs +751 -124
- package/dist/index.css +113 -0
- package/dist/index.js +751 -124
- package/guidelines/Guidelines.md +12 -0
- package/guidelines/MIGRATION.md +270 -0
- package/guidelines/components/datepicker.md +26 -0
- package/guidelines/components/editor.md +58 -3
- package/guidelines/components/file-media.md +21 -4
- package/package.json +1 -1
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,107 @@
|
|
|
3609
3612
|
color: var(--semantic-text-inverse);
|
|
3610
3613
|
border-color: var(--semantic-surface-brand-default);
|
|
3611
3614
|
}
|
|
3615
|
+
.lib-xplat-editor.readonly .lib-xplat-editor__editable ul.checklist > li::before {
|
|
3616
|
+
cursor: default;
|
|
3617
|
+
}
|
|
3618
|
+
.lib-xplat-editor__editable .align-center {
|
|
3619
|
+
text-align: center;
|
|
3620
|
+
}
|
|
3621
|
+
.lib-xplat-editor__editable .align-right {
|
|
3622
|
+
text-align: right;
|
|
3623
|
+
}
|
|
3624
|
+
.lib-xplat-editor__editable ul.checklist {
|
|
3625
|
+
list-style: none;
|
|
3626
|
+
padding-left: var(--spacing-space-2);
|
|
3627
|
+
}
|
|
3628
|
+
.lib-xplat-editor__editable ul.checklist > li {
|
|
3629
|
+
position: relative;
|
|
3630
|
+
padding-left: var(--spacing-space-6);
|
|
3631
|
+
cursor: default;
|
|
3632
|
+
}
|
|
3633
|
+
.lib-xplat-editor__editable ul.checklist > li::before {
|
|
3634
|
+
content: "";
|
|
3635
|
+
position: absolute;
|
|
3636
|
+
left: 0;
|
|
3637
|
+
top: 0.25em;
|
|
3638
|
+
width: 1em;
|
|
3639
|
+
height: 1em;
|
|
3640
|
+
border: 1px solid var(--semantic-border-tertiary);
|
|
3641
|
+
border-radius: var(--spacing-radius-sm);
|
|
3642
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
3643
|
+
cursor: pointer;
|
|
3644
|
+
}
|
|
3645
|
+
.lib-xplat-editor__editable ul.checklist > li[data-checked=true] {
|
|
3646
|
+
color: var(--semantic-text-tertiary);
|
|
3647
|
+
text-decoration: line-through;
|
|
3648
|
+
}
|
|
3649
|
+
.lib-xplat-editor__editable ul.checklist > li[data-checked=true]::before {
|
|
3650
|
+
content: "\2713";
|
|
3651
|
+
display: flex;
|
|
3652
|
+
align-items: center;
|
|
3653
|
+
justify-content: center;
|
|
3654
|
+
border-color: var(--semantic-surface-brand-default);
|
|
3655
|
+
background-color: var(--semantic-surface-brand-default);
|
|
3656
|
+
color: var(--semantic-text-inverse);
|
|
3657
|
+
font-size: 0.75em;
|
|
3658
|
+
line-height: 1;
|
|
3659
|
+
}
|
|
3660
|
+
.lib-xplat-editor__editable mark {
|
|
3661
|
+
background-color: var(--semantic-surface-warning-subtle);
|
|
3662
|
+
color: var(--semantic-text-primary);
|
|
3663
|
+
border-radius: var(--spacing-radius-sm);
|
|
3664
|
+
padding: 0 2px;
|
|
3665
|
+
}
|
|
3666
|
+
.lib-xplat-editor__editable table {
|
|
3667
|
+
width: 100%;
|
|
3668
|
+
border-collapse: collapse;
|
|
3669
|
+
margin: var(--spacing-space-3) 0;
|
|
3670
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
3671
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
3672
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
3673
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
3674
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
3675
|
+
}
|
|
3676
|
+
.lib-xplat-editor__editable table th,
|
|
3677
|
+
.lib-xplat-editor__editable table td {
|
|
3678
|
+
border: 1px solid var(--semantic-border-primary);
|
|
3679
|
+
padding: var(--spacing-space-2) var(--spacing-space-3);
|
|
3680
|
+
text-align: left;
|
|
3681
|
+
vertical-align: top;
|
|
3682
|
+
min-width: 3em;
|
|
3683
|
+
}
|
|
3684
|
+
.lib-xplat-editor__editable table th {
|
|
3685
|
+
background-color: var(--semantic-surface-neutral-secondary);
|
|
3686
|
+
font-weight: var(--semantic-typo-label-2-sb-weight);
|
|
3687
|
+
}
|
|
3688
|
+
.lib-xplat-editor__lang {
|
|
3689
|
+
margin-left: auto;
|
|
3690
|
+
border: 1px solid var(--semantic-border-primary);
|
|
3691
|
+
border-radius: var(--spacing-radius-sm);
|
|
3692
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
3693
|
+
color: var(--semantic-text-secondary);
|
|
3694
|
+
padding: 0 var(--spacing-space-1);
|
|
3695
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
3696
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
3697
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
3698
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
3699
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
3700
|
+
cursor: pointer;
|
|
3701
|
+
}
|
|
3702
|
+
.lib-xplat-editor__editable pre .tok-keyword {
|
|
3703
|
+
color: var(--semantic-text-link);
|
|
3704
|
+
font-weight: var(--semantic-typo-label-2-sb-weight);
|
|
3705
|
+
}
|
|
3706
|
+
.lib-xplat-editor__editable pre .tok-string {
|
|
3707
|
+
color: var(--semantic-text-success);
|
|
3708
|
+
}
|
|
3709
|
+
.lib-xplat-editor__editable pre .tok-number {
|
|
3710
|
+
color: var(--semantic-text-accent-blue);
|
|
3711
|
+
}
|
|
3712
|
+
.lib-xplat-editor__editable pre .tok-comment {
|
|
3713
|
+
color: var(--semantic-text-tertiary);
|
|
3714
|
+
font-style: italic;
|
|
3715
|
+
}
|
|
3612
3716
|
|
|
3613
3717
|
/* src/components/EmptyState/emptystate.scss */
|
|
3614
3718
|
.lib-xplat-empty-state {
|
|
@@ -4079,6 +4183,9 @@
|
|
|
4079
4183
|
opacity: 1;
|
|
4080
4184
|
transform: scale(1);
|
|
4081
4185
|
}
|
|
4186
|
+
.lib-xplat-pop-over-content.repositioning {
|
|
4187
|
+
transition: none;
|
|
4188
|
+
}
|
|
4082
4189
|
|
|
4083
4190
|
/* src/components/Progress/progress.scss */
|
|
4084
4191
|
.lib-xplat-progress {
|
|
@@ -4473,6 +4580,9 @@
|
|
|
4473
4580
|
cursor: not-allowed;
|
|
4474
4581
|
color: var(--semantic-text-disabled);
|
|
4475
4582
|
}
|
|
4583
|
+
.lib-xplat-select-content.repositioning {
|
|
4584
|
+
transition: none;
|
|
4585
|
+
}
|
|
4476
4586
|
|
|
4477
4587
|
/* src/components/Skeleton/skeleton.scss */
|
|
4478
4588
|
.lib-xplat-skeleton {
|
|
@@ -5573,6 +5683,9 @@
|
|
|
5573
5683
|
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
5574
5684
|
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
5575
5685
|
}
|
|
5686
|
+
.lib-xplat-time-picker-content.repositioning {
|
|
5687
|
+
transition: none;
|
|
5688
|
+
}
|
|
5576
5689
|
|
|
5577
5690
|
/* src/components/Toast/toast.scss */
|
|
5578
5691
|
.lib-xplat-toast-container {
|