@x-plat/design-system 0.9.0 → 0.11.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 +14 -5
- package/dist/components/AutoResizeTextArea/index.css +15 -0
- package/dist/components/AutoResizeTextArea/index.d.cts +5 -0
- package/dist/components/AutoResizeTextArea/index.d.ts +5 -0
- package/dist/components/AutoResizeTextArea/index.js +14 -5
- package/dist/components/Badge/index.cjs +5 -1
- package/dist/components/Badge/index.css +1 -0
- package/dist/components/Badge/index.d.cts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +5 -1
- package/dist/components/Box/index.d.cts +3 -0
- package/dist/components/Box/index.d.ts +3 -0
- package/dist/components/Chart/index.cjs +7 -6
- package/dist/components/Chart/index.d.cts +12 -1
- package/dist/components/Chart/index.d.ts +12 -1
- package/dist/components/Chart/index.js +7 -6
- package/dist/components/ChatInput/index.cjs +20 -7
- package/dist/components/ChatInput/index.css +15 -0
- package/dist/components/ChatInput/index.d.cts +10 -0
- package/dist/components/ChatInput/index.d.ts +10 -0
- package/dist/components/ChatInput/index.js +20 -7
- package/dist/components/CheckBox/index.cjs +14 -5
- package/dist/components/CheckBox/index.css +17 -0
- package/dist/components/CheckBox/index.d.cts +10 -2
- package/dist/components/CheckBox/index.d.ts +10 -2
- package/dist/components/CheckBox/index.js +14 -5
- package/dist/components/Chip/index.d.cts +2 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/DatePicker/index.cjs +181 -65
- package/dist/components/DatePicker/index.css +19 -0
- package/dist/components/DatePicker/index.js +181 -65
- package/dist/components/Drawer/index.cjs +83 -4
- package/dist/components/Drawer/index.d.cts +1 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Drawer/index.js +83 -4
- package/dist/components/Dropdown/index.cjs +35 -7
- package/dist/components/Dropdown/index.js +35 -7
- package/dist/components/Editor/index.cjs +178 -21
- package/dist/components/Editor/index.js +178 -21
- package/dist/components/FieldMessage/index.cjs +8 -3
- package/dist/components/FieldMessage/index.css +15 -0
- package/dist/components/FieldMessage/index.d.cts +11 -4
- package/dist/components/FieldMessage/index.d.ts +11 -4
- package/dist/components/FieldMessage/index.js +8 -3
- package/dist/components/FileUpload/index.cjs +8 -3
- package/dist/components/FileUpload/index.css +15 -0
- package/dist/components/FileUpload/index.d.cts +6 -0
- package/dist/components/FileUpload/index.d.ts +6 -0
- package/dist/components/FileUpload/index.js +8 -3
- package/dist/components/ImageSelector/index.cjs +8 -3
- package/dist/components/ImageSelector/index.css +15 -0
- package/dist/components/ImageSelector/index.d.cts +3 -0
- package/dist/components/ImageSelector/index.d.ts +3 -0
- package/dist/components/ImageSelector/index.js +8 -3
- package/dist/components/Input/index.cjs +15 -5
- package/dist/components/Input/index.css +15 -0
- package/dist/components/Input/index.d.cts +8 -0
- package/dist/components/Input/index.d.ts +8 -0
- package/dist/components/Input/index.js +15 -5
- package/dist/components/Modal/index.cjs +84 -5
- package/dist/components/Modal/index.js +84 -5
- package/dist/components/NotificationBadge/index.cjs +5 -1
- package/dist/components/NotificationBadge/index.css +1 -0
- package/dist/components/NotificationBadge/index.d.cts +6 -2
- package/dist/components/NotificationBadge/index.d.ts +6 -2
- package/dist/components/NotificationBadge/index.js +5 -1
- package/dist/components/Pagination/index.cjs +6 -2
- package/dist/components/Pagination/index.css +1 -0
- package/dist/components/Pagination/index.d.cts +13 -2
- package/dist/components/Pagination/index.d.ts +13 -2
- package/dist/components/Pagination/index.js +6 -2
- package/dist/components/PopOver/index.cjs +34 -6
- package/dist/components/PopOver/index.js +34 -6
- package/dist/components/Progress/index.cjs +6 -2
- package/dist/components/Progress/index.css +1 -0
- package/dist/components/Progress/index.d.cts +11 -2
- package/dist/components/Progress/index.d.ts +11 -2
- package/dist/components/Progress/index.js +6 -2
- package/dist/components/Radio/index.cjs +14 -5
- package/dist/components/Radio/index.css +17 -0
- package/dist/components/Radio/index.d.cts +11 -2
- package/dist/components/Radio/index.d.ts +11 -2
- package/dist/components/Radio/index.js +14 -5
- package/dist/components/Select/index.cjs +99 -31
- package/dist/components/Select/index.css +54 -0
- package/dist/components/Select/index.d.cts +16 -1
- package/dist/components/Select/index.d.ts +16 -1
- package/dist/components/Select/index.js +99 -31
- package/dist/components/Skeleton/index.d.cts +3 -0
- package/dist/components/Skeleton/index.d.ts +3 -0
- package/dist/components/Spinner/index.cjs +6 -2
- package/dist/components/Spinner/index.css +1 -0
- package/dist/components/Spinner/index.d.cts +8 -2
- package/dist/components/Spinner/index.d.ts +8 -2
- package/dist/components/Spinner/index.js +6 -2
- package/dist/components/Stat/index.cjs +84 -0
- package/dist/components/Stat/index.css +96 -0
- package/dist/components/Stat/index.d.cts +37 -0
- package/dist/components/Stat/index.d.ts +37 -0
- package/dist/components/Stat/index.js +57 -0
- package/dist/components/Steps/index.cjs +6 -2
- package/dist/components/Steps/index.css +11 -0
- package/dist/components/Steps/index.d.cts +9 -2
- package/dist/components/Steps/index.d.ts +9 -2
- package/dist/components/Steps/index.js +6 -2
- package/dist/components/Switch/index.cjs +20 -7
- package/dist/components/Switch/index.css +17 -0
- package/dist/components/Switch/index.d.cts +15 -2
- package/dist/components/Switch/index.d.ts +15 -2
- package/dist/components/Switch/index.js +20 -7
- package/dist/components/Tab/index.cjs +51 -26
- package/dist/components/Tab/index.css +4 -0
- package/dist/components/Tab/index.d.cts +12 -1
- package/dist/components/Tab/index.d.ts +12 -1
- package/dist/components/Tab/index.js +51 -26
- package/dist/components/Tag/index.cjs +5 -3
- package/dist/components/Tag/index.d.cts +12 -2
- package/dist/components/Tag/index.d.ts +12 -2
- package/dist/components/Tag/index.js +5 -3
- package/dist/components/TextArea/index.cjs +14 -4
- package/dist/components/TextArea/index.css +15 -0
- package/dist/components/TextArea/index.d.cts +7 -0
- package/dist/components/TextArea/index.d.ts +7 -0
- package/dist/components/TextArea/index.js +14 -4
- package/dist/components/TimePicker/index.cjs +448 -0
- package/dist/components/TimePicker/index.css +172 -0
- package/dist/components/TimePicker/index.d.cts +42 -0
- package/dist/components/TimePicker/index.d.ts +42 -0
- package/dist/components/TimePicker/index.js +411 -0
- package/dist/components/Tooltip/index.cjs +4 -2
- package/dist/components/Tooltip/index.d.cts +11 -1
- package/dist/components/Tooltip/index.d.ts +11 -1
- package/dist/components/Tooltip/index.js +4 -2
- package/dist/components/index.cjs +916 -385
- package/dist/components/index.css +296 -0
- package/dist/components/index.d.cts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +914 -385
- package/dist/index.cjs +940 -409
- package/dist/index.css +296 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +938 -409
- package/dist/status-njWqQWFV.d.cts +20 -0
- package/dist/status-njWqQWFV.d.ts +20 -0
- package/guidelines/AGENT_PROMPT.md +18 -3
- package/guidelines/Guidelines.md +3 -0
- package/guidelines/components/card.md +3 -3
- package/guidelines/components/editor.md +86 -0
- package/guidelines/components/feedback.md +1 -1
- package/guidelines/components/form.md +19 -0
- package/guidelines/components/navigation.md +16 -15
- package/guidelines/components/overlay.md +43 -4
- package/guidelines/components/stat.md +31 -0
- package/guidelines/components/time-picker.md +49 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1441,6 +1441,21 @@
|
|
|
1441
1441
|
flex-direction: column;
|
|
1442
1442
|
gap: var(--spacing-space-2);
|
|
1443
1443
|
}
|
|
1444
|
+
.lib-xplat-field-label {
|
|
1445
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
1446
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
1447
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
1448
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
1449
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
1450
|
+
color: var(--semantic-text-secondary);
|
|
1451
|
+
display: inline-flex;
|
|
1452
|
+
align-items: center;
|
|
1453
|
+
gap: var(--spacing-space-1);
|
|
1454
|
+
cursor: pointer;
|
|
1455
|
+
}
|
|
1456
|
+
.lib-xplat-field-label > .required {
|
|
1457
|
+
color: var(--semantic-text-error);
|
|
1458
|
+
}
|
|
1444
1459
|
.lib-xplat-field-message-wrap {
|
|
1445
1460
|
display: flex;
|
|
1446
1461
|
gap: var(--spacing-space-2);
|
|
@@ -2545,6 +2560,7 @@
|
|
|
2545
2560
|
.lib-xplat-checkbox:hover > .checkbox.unchecked {
|
|
2546
2561
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
2547
2562
|
}
|
|
2563
|
+
.lib-xplat-checkbox.primary > .checkbox.checked,
|
|
2548
2564
|
.lib-xplat-checkbox.brand > .checkbox.checked {
|
|
2549
2565
|
background-color: var(--semantic-surface-brand-default);
|
|
2550
2566
|
}
|
|
@@ -2560,6 +2576,7 @@
|
|
|
2560
2576
|
.lib-xplat-checkbox.info > .checkbox.checked {
|
|
2561
2577
|
background-color: var(--semantic-surface-info-default);
|
|
2562
2578
|
}
|
|
2579
|
+
.lib-xplat-checkbox:hover.primary > .checkbox.checked,
|
|
2563
2580
|
.lib-xplat-checkbox:hover.brand > .checkbox.checked {
|
|
2564
2581
|
background-color: var(--semantic-surface-brand-strong);
|
|
2565
2582
|
}
|
|
@@ -3080,6 +3097,10 @@
|
|
|
3080
3097
|
border-radius: var(--spacing-radius-md);
|
|
3081
3098
|
}
|
|
3082
3099
|
.lib-xplat-tab.type-default > .tab-item {
|
|
3100
|
+
appearance: none;
|
|
3101
|
+
font: inherit;
|
|
3102
|
+
border: none;
|
|
3103
|
+
background: none;
|
|
3083
3104
|
flex: 1;
|
|
3084
3105
|
padding: var(--spacing-space-1) var(--spacing-space-6);
|
|
3085
3106
|
height: 100%;
|
|
@@ -3912,6 +3933,7 @@
|
|
|
3912
3933
|
.lib-xplat-notification-badge .badge-indicator.info {
|
|
3913
3934
|
background-color: var(--semantic-surface-info-default);
|
|
3914
3935
|
}
|
|
3936
|
+
.lib-xplat-notification-badge .badge-indicator.primary,
|
|
3915
3937
|
.lib-xplat-notification-badge .badge-indicator.brand {
|
|
3916
3938
|
background-color: var(--semantic-surface-brand-default);
|
|
3917
3939
|
}
|
|
@@ -4011,6 +4033,7 @@
|
|
|
4011
4033
|
.lib-xplat-pagination .page-btn svg {
|
|
4012
4034
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
4013
4035
|
}
|
|
4036
|
+
.lib-xplat-pagination.primary .page-btn.active,
|
|
4014
4037
|
.lib-xplat-pagination.brand .page-btn.active {
|
|
4015
4038
|
background-color: var(--semantic-surface-brand-default);
|
|
4016
4039
|
}
|
|
@@ -4084,6 +4107,7 @@
|
|
|
4084
4107
|
border-radius: var(--spacing-radius-full);
|
|
4085
4108
|
transition: width 0.3s ease;
|
|
4086
4109
|
}
|
|
4110
|
+
.lib-xplat-progress.primary .bar,
|
|
4087
4111
|
.lib-xplat-progress.brand .bar {
|
|
4088
4112
|
background-color: var(--semantic-surface-brand-default);
|
|
4089
4113
|
}
|
|
@@ -4186,6 +4210,7 @@
|
|
|
4186
4210
|
border-color: var(--semantic-icon-primary);
|
|
4187
4211
|
background-color: var(--semantic-surface-neutral-secondary);
|
|
4188
4212
|
}
|
|
4213
|
+
.lib-xplat-radio.primary > .circle.checked,
|
|
4189
4214
|
.lib-xplat-radio.brand > .circle.checked {
|
|
4190
4215
|
background-color: var(--semantic-surface-brand-default);
|
|
4191
4216
|
border-color: var(--semantic-surface-brand-default);
|
|
@@ -4206,6 +4231,7 @@
|
|
|
4206
4231
|
background-color: var(--semantic-surface-info-default);
|
|
4207
4232
|
border-color: var(--semantic-surface-info-default);
|
|
4208
4233
|
}
|
|
4234
|
+
.lib-xplat-radio:hover.primary > .circle.checked,
|
|
4209
4235
|
.lib-xplat-radio:hover.brand > .circle.checked {
|
|
4210
4236
|
background-color: var(--semantic-surface-brand-strong);
|
|
4211
4237
|
border-color: var(--semantic-surface-brand-strong);
|
|
@@ -4333,6 +4359,45 @@
|
|
|
4333
4359
|
.lib-xplat-select .select-trigger .select-trigger-icon svg {
|
|
4334
4360
|
font-size: var(--semantic-typo-label-1-m-size);
|
|
4335
4361
|
}
|
|
4362
|
+
.lib-xplat-select-content .select-search {
|
|
4363
|
+
position: sticky;
|
|
4364
|
+
top: 0;
|
|
4365
|
+
z-index: 1;
|
|
4366
|
+
padding: var(--spacing-space-2);
|
|
4367
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
4368
|
+
border-bottom: 1px solid var(--semantic-border-secondary);
|
|
4369
|
+
}
|
|
4370
|
+
.lib-xplat-select-content .select-search > input {
|
|
4371
|
+
width: 100%;
|
|
4372
|
+
border: 1px solid var(--semantic-border-primary);
|
|
4373
|
+
border-radius: var(--spacing-radius-sm);
|
|
4374
|
+
padding: var(--spacing-space-1) var(--spacing-space-2);
|
|
4375
|
+
outline: none;
|
|
4376
|
+
color: var(--semantic-text-primary);
|
|
4377
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
4378
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
4379
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
4380
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
4381
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
4382
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
4383
|
+
transition: border-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
4384
|
+
}
|
|
4385
|
+
.lib-xplat-select-content .select-search > input:focus {
|
|
4386
|
+
border-color: var(--semantic-interaction-focus-ring);
|
|
4387
|
+
box-shadow: 0 0 0 2px var(--semantic-interaction-overlay-10);
|
|
4388
|
+
outline: 2px solid transparent;
|
|
4389
|
+
outline-offset: 2px;
|
|
4390
|
+
}
|
|
4391
|
+
.lib-xplat-select-content .select-empty {
|
|
4392
|
+
padding: var(--spacing-space-3);
|
|
4393
|
+
text-align: center;
|
|
4394
|
+
color: var(--semantic-text-tertiary);
|
|
4395
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
4396
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
4397
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
4398
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
4399
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
4400
|
+
}
|
|
4336
4401
|
.lib-xplat-select-content {
|
|
4337
4402
|
position: fixed;
|
|
4338
4403
|
z-index: 1000;
|
|
@@ -4472,6 +4537,7 @@
|
|
|
4472
4537
|
stroke-dasharray: 42;
|
|
4473
4538
|
stroke-dashoffset: 28;
|
|
4474
4539
|
}
|
|
4540
|
+
.lib-xplat-spinner.primary .indicator,
|
|
4475
4541
|
.lib-xplat-spinner.brand .indicator {
|
|
4476
4542
|
stroke: var(--semantic-surface-brand-default);
|
|
4477
4543
|
}
|
|
@@ -4496,6 +4562,103 @@
|
|
|
4496
4562
|
}
|
|
4497
4563
|
}
|
|
4498
4564
|
|
|
4565
|
+
/* src/components/Stat/stat.scss */
|
|
4566
|
+
.lib-xplat-stat {
|
|
4567
|
+
display: flex;
|
|
4568
|
+
flex-direction: column;
|
|
4569
|
+
gap: var(--spacing-space-1);
|
|
4570
|
+
}
|
|
4571
|
+
.lib-xplat-stat .stat-label {
|
|
4572
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
4573
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
4574
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
4575
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
4576
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
4577
|
+
color: var(--semantic-text-tertiary);
|
|
4578
|
+
}
|
|
4579
|
+
.lib-xplat-stat .stat-value-row {
|
|
4580
|
+
display: flex;
|
|
4581
|
+
align-items: baseline;
|
|
4582
|
+
gap: var(--spacing-space-2);
|
|
4583
|
+
}
|
|
4584
|
+
.lib-xplat-stat .stat-icon {
|
|
4585
|
+
display: flex;
|
|
4586
|
+
align-items: center;
|
|
4587
|
+
align-self: center;
|
|
4588
|
+
color: var(--semantic-icon-secondary);
|
|
4589
|
+
}
|
|
4590
|
+
.lib-xplat-stat .stat-value {
|
|
4591
|
+
font-family: var(--semantic-typo-title-1-sb-font);
|
|
4592
|
+
font-size: var(--semantic-typo-title-1-sb-size);
|
|
4593
|
+
line-height: var(--semantic-typo-title-1-sb-lh);
|
|
4594
|
+
font-weight: var(--semantic-typo-title-1-sb-weight);
|
|
4595
|
+
letter-spacing: var(--semantic-typo-title-1-sb-ls);
|
|
4596
|
+
color: var(--semantic-text-primary);
|
|
4597
|
+
font-variant-numeric: tabular-nums;
|
|
4598
|
+
}
|
|
4599
|
+
.lib-xplat-stat .stat-unit {
|
|
4600
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
4601
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
4602
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
4603
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
4604
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
4605
|
+
color: var(--semantic-text-tertiary);
|
|
4606
|
+
}
|
|
4607
|
+
.lib-xplat-stat .stat-trend {
|
|
4608
|
+
display: inline-flex;
|
|
4609
|
+
align-items: center;
|
|
4610
|
+
gap: var(--spacing-space-1);
|
|
4611
|
+
font-family: var(--semantic-typo-caption-1-m-font);
|
|
4612
|
+
font-size: var(--semantic-typo-caption-1-m-size);
|
|
4613
|
+
line-height: var(--semantic-typo-caption-1-m-lh);
|
|
4614
|
+
font-weight: var(--semantic-typo-caption-1-m-weight);
|
|
4615
|
+
letter-spacing: var(--semantic-typo-caption-1-m-ls);
|
|
4616
|
+
font-variant-numeric: tabular-nums;
|
|
4617
|
+
}
|
|
4618
|
+
.lib-xplat-stat .stat-trend.up {
|
|
4619
|
+
color: var(--semantic-text-success);
|
|
4620
|
+
}
|
|
4621
|
+
.lib-xplat-stat .stat-trend.down {
|
|
4622
|
+
color: var(--semantic-text-error);
|
|
4623
|
+
}
|
|
4624
|
+
.lib-xplat-stat .stat-trend.flat {
|
|
4625
|
+
color: var(--semantic-text-tertiary);
|
|
4626
|
+
}
|
|
4627
|
+
.lib-xplat-stat .stat-description {
|
|
4628
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
4629
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
4630
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
4631
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
4632
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
4633
|
+
color: var(--semantic-text-tertiary);
|
|
4634
|
+
}
|
|
4635
|
+
.lib-xplat-stat.sm .stat-value {
|
|
4636
|
+
font-family: var(--semantic-typo-heading-1-sb-font);
|
|
4637
|
+
font-size: var(--semantic-typo-heading-1-sb-size);
|
|
4638
|
+
line-height: var(--semantic-typo-heading-1-sb-lh);
|
|
4639
|
+
font-weight: var(--semantic-typo-heading-1-sb-weight);
|
|
4640
|
+
letter-spacing: var(--semantic-typo-heading-1-sb-ls);
|
|
4641
|
+
}
|
|
4642
|
+
.lib-xplat-stat.lg .stat-value {
|
|
4643
|
+
font-family: var(--semantic-typo-display-2-sb-font);
|
|
4644
|
+
font-size: var(--semantic-typo-display-2-sb-size);
|
|
4645
|
+
line-height: var(--semantic-typo-display-2-sb-lh);
|
|
4646
|
+
font-weight: var(--semantic-typo-display-2-sb-weight);
|
|
4647
|
+
letter-spacing: var(--semantic-typo-display-2-sb-ls);
|
|
4648
|
+
}
|
|
4649
|
+
.lib-xplat-stat.success .stat-value {
|
|
4650
|
+
color: var(--semantic-text-success);
|
|
4651
|
+
}
|
|
4652
|
+
.lib-xplat-stat.error .stat-value {
|
|
4653
|
+
color: var(--semantic-text-error);
|
|
4654
|
+
}
|
|
4655
|
+
.lib-xplat-stat.warning .stat-value {
|
|
4656
|
+
color: var(--semantic-text-warning);
|
|
4657
|
+
}
|
|
4658
|
+
.lib-xplat-stat.info .stat-value {
|
|
4659
|
+
color: var(--semantic-text-info);
|
|
4660
|
+
}
|
|
4661
|
+
|
|
4499
4662
|
/* src/components/Steps/steps.scss */
|
|
4500
4663
|
.lib-xplat-steps {
|
|
4501
4664
|
display: flex;
|
|
@@ -4561,6 +4724,17 @@
|
|
|
4561
4724
|
color: var(--semantic-text-tertiary);
|
|
4562
4725
|
margin-top: 2px;
|
|
4563
4726
|
}
|
|
4727
|
+
.lib-xplat-steps.primary .step-item.completed .step-circle {
|
|
4728
|
+
color: var(--semantic-text-inverse);
|
|
4729
|
+
background-color: var(--semantic-surface-primary-default);
|
|
4730
|
+
}
|
|
4731
|
+
.lib-xplat-steps.primary .step-item.completed::after {
|
|
4732
|
+
background-color: var(--semantic-surface-primary-default);
|
|
4733
|
+
}
|
|
4734
|
+
.lib-xplat-steps.primary .step-item.active .step-circle {
|
|
4735
|
+
color: var(--semantic-text-inverse);
|
|
4736
|
+
background-color: var(--semantic-surface-primary-default);
|
|
4737
|
+
}
|
|
4564
4738
|
.lib-xplat-steps.brand .step-item.completed .step-circle {
|
|
4565
4739
|
color: var(--semantic-text-inverse);
|
|
4566
4740
|
background-color: var(--semantic-surface-brand-default);
|
|
@@ -4757,10 +4931,12 @@
|
|
|
4757
4931
|
pointer-events: none;
|
|
4758
4932
|
cursor: wait;
|
|
4759
4933
|
}
|
|
4934
|
+
.lib-xplat-switch.primary.checked,
|
|
4760
4935
|
.lib-xplat-switch.brand.checked {
|
|
4761
4936
|
background-color: var(--semantic-surface-brand-default);
|
|
4762
4937
|
border-color: var(--semantic-surface-brand-default);
|
|
4763
4938
|
}
|
|
4939
|
+
.lib-xplat-switch.primary.checked:hover:not(.disabled):not(.animating),
|
|
4764
4940
|
.lib-xplat-switch.brand.checked:hover:not(.disabled):not(.animating) {
|
|
4765
4941
|
background-color: var(--semantic-surface-brand-strong);
|
|
4766
4942
|
border-color: var(--semantic-surface-brand-strong);
|
|
@@ -5278,6 +5454,126 @@
|
|
|
5278
5454
|
resize: none;
|
|
5279
5455
|
}
|
|
5280
5456
|
|
|
5457
|
+
/* src/components/TimePicker/timePicker.scss */
|
|
5458
|
+
.lib-xplat-time-picker {
|
|
5459
|
+
position: relative;
|
|
5460
|
+
width: 100%;
|
|
5461
|
+
}
|
|
5462
|
+
.lib-xplat-time-picker .time-picker-trigger {
|
|
5463
|
+
display: flex;
|
|
5464
|
+
align-items: center;
|
|
5465
|
+
width: 100%;
|
|
5466
|
+
cursor: pointer;
|
|
5467
|
+
user-select: none;
|
|
5468
|
+
outline: none;
|
|
5469
|
+
border: 1px solid var(--semantic-border-primary);
|
|
5470
|
+
border-radius: var(--spacing-radius-md);
|
|
5471
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
5472
|
+
color: var(--semantic-text-primary);
|
|
5473
|
+
padding: 0 var(--spacing-space-3);
|
|
5474
|
+
transition: border-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
5475
|
+
}
|
|
5476
|
+
.lib-xplat-time-picker .time-picker-trigger:hover {
|
|
5477
|
+
border-color: var(--semantic-border-tertiary);
|
|
5478
|
+
}
|
|
5479
|
+
.lib-xplat-time-picker .time-picker-trigger:focus-visible {
|
|
5480
|
+
border-color: var(--semantic-interaction-focus-ring);
|
|
5481
|
+
box-shadow: 0 0 0 2px var(--semantic-interaction-overlay-10);
|
|
5482
|
+
outline: 2px solid transparent;
|
|
5483
|
+
outline-offset: 2px;
|
|
5484
|
+
}
|
|
5485
|
+
.lib-xplat-time-picker .time-picker-trigger.error {
|
|
5486
|
+
border-color: var(--semantic-border-error);
|
|
5487
|
+
}
|
|
5488
|
+
.lib-xplat-time-picker .time-picker-value.placeholder {
|
|
5489
|
+
color: var(--semantic-text-tertiary);
|
|
5490
|
+
}
|
|
5491
|
+
.lib-xplat-time-picker.sm .time-picker-trigger {
|
|
5492
|
+
height: var(--spacing-control-height-sm);
|
|
5493
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
5494
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
5495
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
5496
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
5497
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
5498
|
+
}
|
|
5499
|
+
.lib-xplat-time-picker.md .time-picker-trigger {
|
|
5500
|
+
height: var(--spacing-control-height-md);
|
|
5501
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
5502
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
5503
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
5504
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
5505
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
5506
|
+
}
|
|
5507
|
+
.lib-xplat-time-picker.lg .time-picker-trigger {
|
|
5508
|
+
height: var(--spacing-control-height-lg);
|
|
5509
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
5510
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
5511
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
5512
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
5513
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
5514
|
+
}
|
|
5515
|
+
.lib-xplat-time-picker.disabled .time-picker-trigger {
|
|
5516
|
+
cursor: not-allowed;
|
|
5517
|
+
pointer-events: none;
|
|
5518
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
5519
|
+
color: var(--semantic-text-disabled);
|
|
5520
|
+
}
|
|
5521
|
+
.lib-xplat-time-picker-content {
|
|
5522
|
+
position: fixed;
|
|
5523
|
+
z-index: 1000;
|
|
5524
|
+
max-height: 220px;
|
|
5525
|
+
overflow-y: auto;
|
|
5526
|
+
padding: var(--spacing-space-1) 0;
|
|
5527
|
+
border-radius: var(--spacing-radius-md);
|
|
5528
|
+
background-color: var(--semantic-surface-neutral-primary);
|
|
5529
|
+
box-shadow: var(--semantic-shadow-md);
|
|
5530
|
+
opacity: 0;
|
|
5531
|
+
transition: opacity 0.2s ease;
|
|
5532
|
+
}
|
|
5533
|
+
.lib-xplat-time-picker-content.enter {
|
|
5534
|
+
opacity: 1;
|
|
5535
|
+
}
|
|
5536
|
+
.lib-xplat-time-picker-content.exit {
|
|
5537
|
+
opacity: 0;
|
|
5538
|
+
}
|
|
5539
|
+
.lib-xplat-time-picker-content .time-picker-item {
|
|
5540
|
+
padding: var(--spacing-space-2) var(--spacing-space-3);
|
|
5541
|
+
cursor: pointer;
|
|
5542
|
+
outline: none;
|
|
5543
|
+
color: var(--semantic-text-primary);
|
|
5544
|
+
font-variant-numeric: tabular-nums;
|
|
5545
|
+
transition: background-color 0.15s ease;
|
|
5546
|
+
}
|
|
5547
|
+
.lib-xplat-time-picker-content .time-picker-item:hover,
|
|
5548
|
+
.lib-xplat-time-picker-content .time-picker-item:focus-visible {
|
|
5549
|
+
background-color: var(--semantic-surface-neutral-secondary);
|
|
5550
|
+
}
|
|
5551
|
+
.lib-xplat-time-picker-content .time-picker-item.is-selected {
|
|
5552
|
+
color: var(--semantic-text-brand-primary);
|
|
5553
|
+
font-weight: var(--semantic-typo-label-2-sb-weight);
|
|
5554
|
+
}
|
|
5555
|
+
.lib-xplat-time-picker-content.sm .time-picker-item {
|
|
5556
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
5557
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
5558
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
5559
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
5560
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
5561
|
+
}
|
|
5562
|
+
.lib-xplat-time-picker-content.md .time-picker-item {
|
|
5563
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
5564
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
5565
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
5566
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
5567
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
5568
|
+
}
|
|
5569
|
+
.lib-xplat-time-picker-content.lg .time-picker-item {
|
|
5570
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
5571
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
5572
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
5573
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
5574
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
5575
|
+
}
|
|
5576
|
+
|
|
5281
5577
|
/* src/components/Toast/toast.scss */
|
|
5282
5578
|
.lib-xplat-toast-container {
|
|
5283
5579
|
position: fixed;
|
package/dist/index.d.cts
CHANGED
|
@@ -35,6 +35,7 @@ export { Radio, RadioGroup } from './components/Radio/index.cjs';
|
|
|
35
35
|
export { Select, SelectChangeHandler, SelectItem, SelectItemProps } from './components/Select/index.cjs';
|
|
36
36
|
export { Skeleton } from './components/Skeleton/index.cjs';
|
|
37
37
|
export { Spinner } from './components/Spinner/index.cjs';
|
|
38
|
+
export { Stat } from './components/Stat/index.cjs';
|
|
38
39
|
export { Steps } from './components/Steps/index.cjs';
|
|
39
40
|
export { Swiper, SwiperHandle, SwiperProps } from './components/Swiper/index.cjs';
|
|
40
41
|
export { Switch } from './components/Switch/index.cjs';
|
|
@@ -42,6 +43,7 @@ export { Tab } from './components/Tab/index.cjs';
|
|
|
42
43
|
export { Table, TableBody, TableCell, TableHead, TableRow } from './components/Table/index.cjs';
|
|
43
44
|
export { Tag } from './components/Tag/index.cjs';
|
|
44
45
|
export { TextArea } from './components/TextArea/index.cjs';
|
|
46
|
+
export { TimePicker } from './components/TimePicker/index.cjs';
|
|
45
47
|
export { ToastProvider, useToast } from './components/Toast/index.cjs';
|
|
46
48
|
export { Tooltip } from './components/Tooltip/index.cjs';
|
|
47
49
|
export { Video, VideoProps } from './components/Video/index.cjs';
|
|
@@ -58,3 +60,4 @@ import 'react';
|
|
|
58
60
|
import './attributes-DJIWir_0.cjs';
|
|
59
61
|
import './validation-Dqo1zqhT.cjs';
|
|
60
62
|
import 'react/jsx-runtime';
|
|
63
|
+
import './status-njWqQWFV.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export { Radio, RadioGroup } from './components/Radio/index.js';
|
|
|
35
35
|
export { Select, SelectChangeHandler, SelectItem, SelectItemProps } from './components/Select/index.js';
|
|
36
36
|
export { Skeleton } from './components/Skeleton/index.js';
|
|
37
37
|
export { Spinner } from './components/Spinner/index.js';
|
|
38
|
+
export { Stat } from './components/Stat/index.js';
|
|
38
39
|
export { Steps } from './components/Steps/index.js';
|
|
39
40
|
export { Swiper, SwiperHandle, SwiperProps } from './components/Swiper/index.js';
|
|
40
41
|
export { Switch } from './components/Switch/index.js';
|
|
@@ -42,6 +43,7 @@ export { Tab } from './components/Tab/index.js';
|
|
|
42
43
|
export { Table, TableBody, TableCell, TableHead, TableRow } from './components/Table/index.js';
|
|
43
44
|
export { Tag } from './components/Tag/index.js';
|
|
44
45
|
export { TextArea } from './components/TextArea/index.js';
|
|
46
|
+
export { TimePicker } from './components/TimePicker/index.js';
|
|
45
47
|
export { ToastProvider, useToast } from './components/Toast/index.js';
|
|
46
48
|
export { Tooltip } from './components/Tooltip/index.js';
|
|
47
49
|
export { Video, VideoProps } from './components/Video/index.js';
|
|
@@ -58,3 +60,4 @@ import 'react';
|
|
|
58
60
|
import './attributes-DJIWir_0.js';
|
|
59
61
|
import './validation-Dqo1zqhT.js';
|
|
60
62
|
import 'react/jsx-runtime';
|
|
63
|
+
import './status-njWqQWFV.js';
|