@databricks/design-system 1.0.0 → 1.1.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/.pkgr-sources-hash +1 -1
- package/dist/cjs/index.js +5226 -11264
- package/dist/cjs/index.js.map +1 -1
- package/dist/design-system/Button/Button.d.ts +6 -6
- package/dist/design-system/Checkbox/Checkbox.d.ts +11 -9
- package/dist/design-system/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/design-system/Collapse/Collapse.d.ts +1 -1
- package/dist/design-system/DatePicker/DatePicker.d.ts +1 -1
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +8 -8
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.test.d.ts +1 -0
- package/dist/design-system/DropdownMenu/DropdownMenu.d.ts +24 -0
- package/dist/design-system/DropdownMenu/index.d.ts +1 -0
- package/dist/design-system/Form/Form.d.ts +4 -2
- package/dist/design-system/Icon/iconMap.d.ts +1 -1
- package/dist/design-system/Icon/index.d.ts +2 -1
- package/dist/design-system/Input/Input.d.ts +6 -6
- package/dist/design-system/Modal/Modal.d.ts +6 -1
- package/dist/design-system/Notification/Notification.d.ts +1 -1
- package/dist/design-system/Pagination/index.d.ts +0 -4
- package/dist/design-system/Radio/Radio.d.ts +2 -2
- package/dist/design-system/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/dist/design-system/Select/Select.d.ts +10 -7
- package/dist/design-system/Spacer/Spacer.d.ts +3 -6
- package/dist/design-system/SplitButton/SplitButton.d.ts +1 -5
- package/dist/design-system/Table/Table.d.ts +1 -0
- package/dist/design-system/Typography/Paragraph.d.ts +4 -2
- package/dist/design-system/Typography/Text.d.ts +4 -2
- package/dist/design-system/Typography/Title.d.ts +4 -2
- package/dist/design-system/Typography/Typography.d.ts +1 -0
- package/dist/design-system/constants.d.ts +2 -0
- package/dist/design-system/index.d.ts +1 -0
- package/dist/design-system/types.d.ts +3 -0
- package/dist/design-system/utils/css-utils.d.ts +9 -0
- package/dist/index-dark.css +348 -11
- package/dist/index.css +255 -11
- package/dist/index.js +5117 -6599
- package/dist/index.js.map +1 -1
- package/dist/theme/colors.d.ts +1 -1
- package/dist/theme/generalVariables.d.ts +0 -10
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/spacing.d.ts +8 -37
- package/package.json +21 -20
package/dist/index.css
CHANGED
|
@@ -3707,7 +3707,7 @@ a.du-bois-light-btn-sm {
|
|
|
3707
3707
|
position: absolute;
|
|
3708
3708
|
top: -9999px;
|
|
3709
3709
|
left: -9999px;
|
|
3710
|
-
z-index:
|
|
3710
|
+
z-index: 1050;
|
|
3711
3711
|
box-sizing: border-box;
|
|
3712
3712
|
padding: 4px 0;
|
|
3713
3713
|
overflow: hidden;
|
|
@@ -4343,7 +4343,7 @@ textarea.du-bois-light-picker-input > input {
|
|
|
4343
4343
|
list-style: none;
|
|
4344
4344
|
font-feature-settings: 'tnum';
|
|
4345
4345
|
position: absolute;
|
|
4346
|
-
z-index:
|
|
4346
|
+
z-index: 1050;
|
|
4347
4347
|
}
|
|
4348
4348
|
.du-bois-light-picker-dropdown-hidden {
|
|
4349
4349
|
display: none;
|
|
@@ -5368,7 +5368,7 @@ _:-ms-fullscreen .du-bois-light-picker-range-wrapper .du-bois-light-picker-year-
|
|
|
5368
5368
|
position: absolute;
|
|
5369
5369
|
top: -9999px;
|
|
5370
5370
|
left: -9999px;
|
|
5371
|
-
z-index:
|
|
5371
|
+
z-index: 1050;
|
|
5372
5372
|
display: block;
|
|
5373
5373
|
}
|
|
5374
5374
|
.du-bois-light-dropdown::before {
|
|
@@ -5478,7 +5478,7 @@ _:-ms-fullscreen .du-bois-light-picker-range-wrapper .du-bois-light-picker-year-
|
|
|
5478
5478
|
}
|
|
5479
5479
|
.du-bois-light-dropdown-menu-submenu-popup {
|
|
5480
5480
|
position: absolute;
|
|
5481
|
-
z-index:
|
|
5481
|
+
z-index: 1050;
|
|
5482
5482
|
background: transparent;
|
|
5483
5483
|
box-shadow: none;
|
|
5484
5484
|
transform-origin: 0 0;
|
|
@@ -11752,7 +11752,7 @@ _:-ms-fullscreen .du-bois-light-picker-range-wrapper .du-bois-light-picker-year-
|
|
|
11752
11752
|
list-style: none;
|
|
11753
11753
|
font-feature-settings: 'tnum';
|
|
11754
11754
|
position: absolute;
|
|
11755
|
-
z-index:
|
|
11755
|
+
z-index: 1070;
|
|
11756
11756
|
display: block;
|
|
11757
11757
|
width: max-content;
|
|
11758
11758
|
max-width: 250px;
|
|
@@ -13089,7 +13089,7 @@ textarea.du-bois-light-input {
|
|
|
13089
13089
|
}
|
|
13090
13090
|
.du-bois-light-menu-submenu-popup {
|
|
13091
13091
|
position: absolute;
|
|
13092
|
-
z-index:
|
|
13092
|
+
z-index: 1050;
|
|
13093
13093
|
background: transparent;
|
|
13094
13094
|
border-radius: 4px;
|
|
13095
13095
|
box-shadow: none;
|
|
@@ -13776,7 +13776,7 @@ textarea.du-bois-light-input {
|
|
|
13776
13776
|
right: 0;
|
|
13777
13777
|
bottom: 0;
|
|
13778
13778
|
left: 0;
|
|
13779
|
-
z-index:
|
|
13779
|
+
z-index: 1000;
|
|
13780
13780
|
height: 100%;
|
|
13781
13781
|
background-color: rgba(0, 0, 0, 0.45);
|
|
13782
13782
|
}
|
|
@@ -13794,7 +13794,7 @@ textarea.du-bois-light-input {
|
|
|
13794
13794
|
-webkit-overflow-scrolling: touch;
|
|
13795
13795
|
}
|
|
13796
13796
|
.du-bois-light-modal-wrap {
|
|
13797
|
-
z-index:
|
|
13797
|
+
z-index: 1000;
|
|
13798
13798
|
}
|
|
13799
13799
|
.du-bois-light-modal-title {
|
|
13800
13800
|
margin: 0;
|
|
@@ -14006,7 +14006,7 @@ textarea.du-bois-light-input {
|
|
|
14006
14006
|
list-style: none;
|
|
14007
14007
|
font-feature-settings: 'tnum';
|
|
14008
14008
|
position: fixed;
|
|
14009
|
-
z-index:
|
|
14009
|
+
z-index: 1010;
|
|
14010
14010
|
margin-right: 24px;
|
|
14011
14011
|
}
|
|
14012
14012
|
.du-bois-light-notification-topLeft,
|
|
@@ -14217,7 +14217,7 @@ textarea.du-bois-light-input {
|
|
|
14217
14217
|
position: absolute;
|
|
14218
14218
|
top: 0;
|
|
14219
14219
|
left: 0;
|
|
14220
|
-
z-index:
|
|
14220
|
+
z-index: 1030;
|
|
14221
14221
|
font-weight: normal;
|
|
14222
14222
|
white-space: normal;
|
|
14223
14223
|
text-align: left;
|
|
@@ -16890,7 +16890,7 @@ textarea.du-bois-light-pagination-options-quick-jumper input {
|
|
|
16890
16890
|
position: absolute;
|
|
16891
16891
|
top: -9999px;
|
|
16892
16892
|
left: -9999px;
|
|
16893
|
-
z-index:
|
|
16893
|
+
z-index: 1050;
|
|
16894
16894
|
display: block;
|
|
16895
16895
|
}
|
|
16896
16896
|
.du-bois-light-tabs-dropdown-hidden {
|
|
@@ -18300,3 +18300,247 @@ div.du-bois-light-typography-edit-content.du-bois-light-typography-rtl {
|
|
|
18300
18300
|
.du-bois-light-breadcrumb a:active {
|
|
18301
18301
|
color: #14538f;
|
|
18302
18302
|
}
|
|
18303
|
+
|
|
18304
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
18305
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
18306
|
+
/* stylelint-disable */
|
|
18307
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
18308
|
+
.du-bois-light-notification {
|
|
18309
|
+
box-sizing: border-box;
|
|
18310
|
+
margin: 0;
|
|
18311
|
+
padding: 0;
|
|
18312
|
+
color: #20272E;
|
|
18313
|
+
font-size: 14px;
|
|
18314
|
+
font-variant: tabular-nums;
|
|
18315
|
+
line-height: 1.5715;
|
|
18316
|
+
list-style: none;
|
|
18317
|
+
font-feature-settings: 'tnum';
|
|
18318
|
+
position: fixed;
|
|
18319
|
+
z-index: 1010;
|
|
18320
|
+
margin-right: 24px;
|
|
18321
|
+
}
|
|
18322
|
+
.du-bois-light-notification-topLeft,
|
|
18323
|
+
.du-bois-light-notification-bottomLeft {
|
|
18324
|
+
margin-right: 0;
|
|
18325
|
+
margin-left: 24px;
|
|
18326
|
+
}
|
|
18327
|
+
.du-bois-light-notification-topLeft .du-bois-light-notification-fade-enter.du-bois-light-notification-fade-enter-active,
|
|
18328
|
+
.du-bois-light-notification-bottomLeft .du-bois-light-notification-fade-enter.du-bois-light-notification-fade-enter-active,
|
|
18329
|
+
.du-bois-light-notification-topLeft .du-bois-light-notification-fade-appear.du-bois-light-notification-fade-appear-active,
|
|
18330
|
+
.du-bois-light-notification-bottomLeft .du-bois-light-notification-fade-appear.du-bois-light-notification-fade-appear-active {
|
|
18331
|
+
animation-name: NotificationLeftFadeIn;
|
|
18332
|
+
}
|
|
18333
|
+
.du-bois-light-notification-close-icon {
|
|
18334
|
+
font-size: 14px;
|
|
18335
|
+
cursor: pointer;
|
|
18336
|
+
}
|
|
18337
|
+
.du-bois-light-notification-hook-holder {
|
|
18338
|
+
position: relative;
|
|
18339
|
+
}
|
|
18340
|
+
.du-bois-light-notification-notice {
|
|
18341
|
+
position: relative;
|
|
18342
|
+
width: 384px;
|
|
18343
|
+
max-width: calc(100vw - 24px * 2);
|
|
18344
|
+
margin-bottom: 16px;
|
|
18345
|
+
margin-left: auto;
|
|
18346
|
+
padding: 16px 24px;
|
|
18347
|
+
overflow: hidden;
|
|
18348
|
+
line-height: 1.5715;
|
|
18349
|
+
word-wrap: break-word;
|
|
18350
|
+
background: #fff;
|
|
18351
|
+
border-radius: 4px;
|
|
18352
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
18353
|
+
}
|
|
18354
|
+
.du-bois-light-notification-topLeft .du-bois-light-notification-notice,
|
|
18355
|
+
.du-bois-light-notification-bottomLeft .du-bois-light-notification-notice {
|
|
18356
|
+
margin-right: auto;
|
|
18357
|
+
margin-left: 0;
|
|
18358
|
+
}
|
|
18359
|
+
.du-bois-light-notification-notice-message {
|
|
18360
|
+
margin-bottom: 8px;
|
|
18361
|
+
color: rgba(0, 0, 0, 0.85);
|
|
18362
|
+
font-size: 16px;
|
|
18363
|
+
line-height: 24px;
|
|
18364
|
+
}
|
|
18365
|
+
.du-bois-light-notification-notice-message-single-line-auto-margin {
|
|
18366
|
+
display: block;
|
|
18367
|
+
width: calc(384px - 24px * 2 - 24px - 48px - 100%);
|
|
18368
|
+
max-width: 4px;
|
|
18369
|
+
background-color: transparent;
|
|
18370
|
+
pointer-events: none;
|
|
18371
|
+
}
|
|
18372
|
+
.du-bois-light-notification-notice-message-single-line-auto-margin::before {
|
|
18373
|
+
display: block;
|
|
18374
|
+
content: '';
|
|
18375
|
+
}
|
|
18376
|
+
.du-bois-light-notification-notice-description {
|
|
18377
|
+
font-size: 14px;
|
|
18378
|
+
}
|
|
18379
|
+
.du-bois-light-notification-notice-closable .du-bois-light-notification-notice-message {
|
|
18380
|
+
padding-right: 24px;
|
|
18381
|
+
}
|
|
18382
|
+
.du-bois-light-notification-notice-with-icon .du-bois-light-notification-notice-message {
|
|
18383
|
+
margin-bottom: 4px;
|
|
18384
|
+
margin-left: 48px;
|
|
18385
|
+
font-size: 16px;
|
|
18386
|
+
}
|
|
18387
|
+
.du-bois-light-notification-notice-with-icon .du-bois-light-notification-notice-description {
|
|
18388
|
+
margin-left: 48px;
|
|
18389
|
+
font-size: 14px;
|
|
18390
|
+
}
|
|
18391
|
+
.du-bois-light-notification-notice-icon {
|
|
18392
|
+
position: absolute;
|
|
18393
|
+
margin-left: 4px;
|
|
18394
|
+
font-size: 24px;
|
|
18395
|
+
line-height: 24px;
|
|
18396
|
+
}
|
|
18397
|
+
.anticon.du-bois-light-notification-notice-icon-success {
|
|
18398
|
+
color: #34824F;
|
|
18399
|
+
}
|
|
18400
|
+
.anticon.du-bois-light-notification-notice-icon-info {
|
|
18401
|
+
color: #64727D;
|
|
18402
|
+
}
|
|
18403
|
+
.anticon.du-bois-light-notification-notice-icon-warning {
|
|
18404
|
+
color: #AF5B23;
|
|
18405
|
+
}
|
|
18406
|
+
.anticon.du-bois-light-notification-notice-icon-error {
|
|
18407
|
+
color: #CC3352;
|
|
18408
|
+
}
|
|
18409
|
+
.du-bois-light-notification-notice-close {
|
|
18410
|
+
position: absolute;
|
|
18411
|
+
top: 16px;
|
|
18412
|
+
right: 22px;
|
|
18413
|
+
color: #5D7283;
|
|
18414
|
+
outline: none;
|
|
18415
|
+
}
|
|
18416
|
+
.du-bois-light-notification-notice-close:hover {
|
|
18417
|
+
color: #38444f;
|
|
18418
|
+
}
|
|
18419
|
+
.du-bois-light-notification-notice-btn {
|
|
18420
|
+
float: right;
|
|
18421
|
+
margin-top: 16px;
|
|
18422
|
+
}
|
|
18423
|
+
.du-bois-light-notification .notification-fade-effect {
|
|
18424
|
+
animation-duration: 0.24s;
|
|
18425
|
+
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
18426
|
+
animation-fill-mode: both;
|
|
18427
|
+
}
|
|
18428
|
+
.du-bois-light-notification-fade-enter,
|
|
18429
|
+
.du-bois-light-notification-fade-appear {
|
|
18430
|
+
animation-duration: 0.24s;
|
|
18431
|
+
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
18432
|
+
animation-fill-mode: both;
|
|
18433
|
+
opacity: 0;
|
|
18434
|
+
animation-play-state: paused;
|
|
18435
|
+
}
|
|
18436
|
+
.du-bois-light-notification-fade-leave {
|
|
18437
|
+
animation-duration: 0.24s;
|
|
18438
|
+
animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
18439
|
+
animation-fill-mode: both;
|
|
18440
|
+
animation-duration: 0.2s;
|
|
18441
|
+
animation-play-state: paused;
|
|
18442
|
+
}
|
|
18443
|
+
.du-bois-light-notification-fade-enter.du-bois-light-notification-fade-enter-active,
|
|
18444
|
+
.du-bois-light-notification-fade-appear.du-bois-light-notification-fade-appear-active {
|
|
18445
|
+
animation-name: NotificationFadeIn;
|
|
18446
|
+
animation-play-state: running;
|
|
18447
|
+
}
|
|
18448
|
+
.du-bois-light-notification-fade-leave.du-bois-light-notification-fade-leave-active {
|
|
18449
|
+
animation-name: NotificationFadeOut;
|
|
18450
|
+
animation-play-state: running;
|
|
18451
|
+
}
|
|
18452
|
+
@keyframes NotificationFadeIn {
|
|
18453
|
+
0% {
|
|
18454
|
+
left: 384px;
|
|
18455
|
+
opacity: 0;
|
|
18456
|
+
}
|
|
18457
|
+
100% {
|
|
18458
|
+
left: 0;
|
|
18459
|
+
opacity: 1;
|
|
18460
|
+
}
|
|
18461
|
+
}
|
|
18462
|
+
@keyframes NotificationLeftFadeIn {
|
|
18463
|
+
0% {
|
|
18464
|
+
right: 384px;
|
|
18465
|
+
opacity: 0;
|
|
18466
|
+
}
|
|
18467
|
+
100% {
|
|
18468
|
+
right: 0;
|
|
18469
|
+
opacity: 1;
|
|
18470
|
+
}
|
|
18471
|
+
}
|
|
18472
|
+
@keyframes NotificationFadeOut {
|
|
18473
|
+
0% {
|
|
18474
|
+
max-height: 150px;
|
|
18475
|
+
margin-bottom: 16px;
|
|
18476
|
+
opacity: 1;
|
|
18477
|
+
}
|
|
18478
|
+
100% {
|
|
18479
|
+
max-height: 0;
|
|
18480
|
+
margin-bottom: 0;
|
|
18481
|
+
padding-top: 0;
|
|
18482
|
+
padding-bottom: 0;
|
|
18483
|
+
opacity: 0;
|
|
18484
|
+
}
|
|
18485
|
+
}
|
|
18486
|
+
.du-bois-light-notification-rtl {
|
|
18487
|
+
direction: rtl;
|
|
18488
|
+
}
|
|
18489
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-closable .du-bois-light-notification-notice-message {
|
|
18490
|
+
padding-right: 0;
|
|
18491
|
+
padding-left: 24px;
|
|
18492
|
+
}
|
|
18493
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-with-icon .du-bois-light-notification-notice-message {
|
|
18494
|
+
margin-right: 48px;
|
|
18495
|
+
margin-left: 0;
|
|
18496
|
+
}
|
|
18497
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-with-icon .du-bois-light-notification-notice-description {
|
|
18498
|
+
margin-right: 48px;
|
|
18499
|
+
margin-left: 0;
|
|
18500
|
+
}
|
|
18501
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-icon {
|
|
18502
|
+
margin-right: 4px;
|
|
18503
|
+
margin-left: 0;
|
|
18504
|
+
}
|
|
18505
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-close {
|
|
18506
|
+
right: auto;
|
|
18507
|
+
left: 22px;
|
|
18508
|
+
}
|
|
18509
|
+
.du-bois-light-notification-rtl .du-bois-light-notification-notice-btn {
|
|
18510
|
+
float: left;
|
|
18511
|
+
}
|
|
18512
|
+
.du-bois-light-notification-compact {
|
|
18513
|
+
padding: 10px 40px 10px 32px;
|
|
18514
|
+
}
|
|
18515
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-icon {
|
|
18516
|
+
font-size: 16px;
|
|
18517
|
+
width: 16px;
|
|
18518
|
+
height: 16px;
|
|
18519
|
+
margin-left: 0;
|
|
18520
|
+
left: 12px;
|
|
18521
|
+
top: 12px;
|
|
18522
|
+
line-height: 16px;
|
|
18523
|
+
}
|
|
18524
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-close {
|
|
18525
|
+
top: 12px;
|
|
18526
|
+
right: 12px;
|
|
18527
|
+
width: 16px;
|
|
18528
|
+
height: 16px;
|
|
18529
|
+
line-height: 16px;
|
|
18530
|
+
}
|
|
18531
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-close span[role='img'] {
|
|
18532
|
+
font-size: 16px;
|
|
18533
|
+
}
|
|
18534
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-message {
|
|
18535
|
+
display: flex;
|
|
18536
|
+
align-items: center;
|
|
18537
|
+
height: 20px;
|
|
18538
|
+
line-height: 20px;
|
|
18539
|
+
font-weight: 600;
|
|
18540
|
+
}
|
|
18541
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-message,
|
|
18542
|
+
.du-bois-light-notification-compact .du-bois-light-notification-notice-description {
|
|
18543
|
+
margin-left: unset;
|
|
18544
|
+
font-size: 13px;
|
|
18545
|
+
margin-bottom: 0;
|
|
18546
|
+
}
|