superdesk-ui-framework 3.0.62 → 3.0.64

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.
Files changed (89) hide show
  1. package/app/styles/_accessibility.scss +1 -1
  2. package/app/styles/_alerts.scss +6 -6
  3. package/app/styles/_avatar.scss +4 -4
  4. package/app/styles/_badge.scss +4 -4
  5. package/app/styles/_big-icon-font.scss +1 -1
  6. package/app/styles/_boxed-list.scss +8 -8
  7. package/app/styles/_buttons.scss +17 -17
  8. package/app/styles/_carousel.scss +20 -20
  9. package/app/styles/_content-divider.scss +20 -20
  10. package/app/styles/_empty-states.scss +8 -8
  11. package/app/styles/_hamburger.scss +8 -8
  12. package/app/styles/_helpers.scss +509 -122
  13. package/app/styles/_loaders.scss +8 -8
  14. package/app/styles/_master-desk.scss +14 -14
  15. package/app/styles/_mixins.scss +4 -4
  16. package/app/styles/_modals.scss +18 -18
  17. package/app/styles/_normalize.scss +3 -3
  18. package/app/styles/_popover.scss +2 -2
  19. package/app/styles/_publisher-styles.scss +13 -13
  20. package/app/styles/_sd-tag-input.scss +18 -18
  21. package/app/styles/_simple-list.scss +6 -6
  22. package/app/styles/_table-list.scss +2 -2
  23. package/app/styles/_tables.scss +10 -10
  24. package/app/styles/_tabs-vertical.scss +3 -3
  25. package/app/styles/_tabs.scss +4 -4
  26. package/app/styles/_tag-labels.scss +4 -4
  27. package/app/styles/_thumb-carousel.scss +14 -14
  28. package/app/styles/_toggle-box.scss +8 -8
  29. package/app/styles/_toggle-button.scss +1 -1
  30. package/app/styles/_tooltips.scss +37 -37
  31. package/app/styles/components/_card-item.scss +25 -25
  32. package/app/styles/components/_list-item.scss +32 -32
  33. package/app/styles/components/_sd-circular-progress.scss +6 -6
  34. package/app/styles/components/_sd-collapse-box.scss +16 -16
  35. package/app/styles/components/_sd-comment-box.scss +4 -4
  36. package/app/styles/components/_sd-dropzone.scss +1 -1
  37. package/app/styles/components/_sd-editor-popup.scss +7 -7
  38. package/app/styles/components/_sd-grid-item.scss +22 -22
  39. package/app/styles/components/_sd-loader.scss +4 -4
  40. package/app/styles/components/_sd-media-carousel.scss +7 -7
  41. package/app/styles/components/_sd-notification-panel.scss +1 -1
  42. package/app/styles/components/_sd-photo-preview.scss +34 -34
  43. package/app/styles/components/_sd-searchbar.scss +8 -8
  44. package/app/styles/components/_sd-toaster.scss +20 -20
  45. package/app/styles/components/_subnav.scss +38 -38
  46. package/app/styles/components/sd-slider.scss +11 -11
  47. package/app/styles/design-tokens/_design-tokens-general.scss +12 -0
  48. package/app/styles/dropdowns/_basic-dropdown.scss +30 -30
  49. package/app/styles/dropdowns/_input-dropdown.scss +4 -4
  50. package/app/styles/dropdowns/_navigation_dropdown.scss +8 -8
  51. package/app/styles/dropdowns/_other_dropdown.scss +5 -5
  52. package/app/styles/editor/_editor-buttons.scss +2 -2
  53. package/app/styles/editor/_editor-themes.scss +6 -6
  54. package/app/styles/form-elements/_autocomplete.scss +4 -4
  55. package/app/styles/form-elements/_checkbox.scss +5 -5
  56. package/app/styles/form-elements/_forms-general.scss +44 -44
  57. package/app/styles/form-elements/_input-preview.scss +1 -1
  58. package/app/styles/form-elements/_input-wrap.scss +3 -3
  59. package/app/styles/form-elements/_inputs.scss +33 -33
  60. package/app/styles/form-elements/_radio.scss +3 -3
  61. package/app/styles/form-elements/_select-grid.scss +3 -3
  62. package/app/styles/form-elements/_switch.scss +3 -3
  63. package/app/styles/grids/_basic-grid.scss +2 -2
  64. package/app/styles/grids/_grid-layout.scss +42 -42
  65. package/app/styles/grids/_layout-grid.scss +11 -11
  66. package/app/styles/grids/_sd-kanban-list.scss +7 -7
  67. package/app/styles/interface-elements/_side-panel.scss +38 -38
  68. package/app/styles/layout/_basic-layout.scss +20 -20
  69. package/app/styles/layout/_editor.scss +7 -7
  70. package/app/styles/layout/_general.scss +16 -16
  71. package/app/styles/menus/_sd-bottom-tabs.scss +1 -1
  72. package/app/styles/menus/_sd-left-navigation.scss +8 -8
  73. package/app/styles/menus/_sd-sidebar-menu.scss +33 -33
  74. package/app/styles/menus/_sd-top-menu.scss +7 -7
  75. package/app/styles/primereact/_pr-autocomplete.scss +1 -1
  76. package/app/styles/primereact/_pr-datepicker.scss +11 -11
  77. package/app/styles/primereact/_pr-dialog.scss +7 -7
  78. package/app/styles/primereact/_pr-dropdown.scss +1 -1
  79. package/app/styles/primereact/_pr-general.scss +1 -1
  80. package/app/styles/primereact/_pr-menu.scss +3 -3
  81. package/app/styles/primereact/_pr-skeleton.scss +3 -3
  82. package/app/styles/primereact/_pr-tag-input.scss +2 -2
  83. package/app/styles/variables/_dimensions.scss +1 -1
  84. package/dist/examples.bundle.css +13 -13
  85. package/dist/examples.bundle.js +17 -14
  86. package/dist/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  87. package/dist/superdesk-ui.bundle.css +1326 -1227
  88. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  89. package/package.json +1 -1
@@ -76,9 +76,9 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
76
76
  vertical-align: middle;
77
77
  margin-block-start: -2px;
78
78
  margin-inline-start: 6px;
79
- border-left: 4px solid transparent;
80
- border-right: 4px solid transparent;
81
- border-top: 4px solid $sd-text;
79
+ border-inline-start: 4px solid transparent;
80
+ border-inline-end: 4px solid transparent;
81
+ border-block-start: 4px solid $sd-text;
82
82
  opacity: .3;
83
83
  content: "";
84
84
  transition: all 0.1s ease-in;
@@ -102,7 +102,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
102
102
 
103
103
  .dropdown__menu {
104
104
  position: absolute;
105
- top: 100%;
105
+ inset-block-start: 100%;
106
106
  inset-inline-start: 0;
107
107
  z-index: $zindexDropdown;
108
108
  display: none; // none by default, but block on "open" of the menu
@@ -203,8 +203,8 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
203
203
  height: $sd-base-increment * 4;
204
204
  border: 1px solid var(--sd-colour-line--light);
205
205
  border-radius: var(--b-radius--small);
206
- padding-right: 5px;
207
- padding-left: 5px;
206
+ padding-inline-end: 5px;
207
+ padding-inline-start: 5px;
208
208
  transition: all 0.2s ease;
209
209
  color: var(--color-text);
210
210
  background-color: var(--sd-colour-bg__searchbar);
@@ -305,7 +305,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
305
305
  position: relative;
306
306
  color: #747474;
307
307
  padding: .6rem 1.6rem;
308
- margin-bottom: .2rem;
308
+ margin-block-end: .2rem;
309
309
  font-size: 1.3rem;
310
310
  text-align: start;
311
311
  }
@@ -315,7 +315,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
315
315
  margin: 0;
316
316
 
317
317
  + .dropdown__menu-info {
318
- margin-left: 4px;
318
+ margin-inline-start: 4px;
319
319
  }
320
320
  }
321
321
  }
@@ -341,7 +341,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
341
341
  cursor: pointer;
342
342
 
343
343
  i {
344
- margin-right: 0 !important;
344
+ margin-inline-end: 0 !important;
345
345
  }
346
346
 
347
347
  &:hover, &:focus {
@@ -351,14 +351,14 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
351
351
  }
352
352
  }
353
353
  .dropdown__menu-header {
354
- border-bottom: 1px solid var(--color-border-line--light);
354
+ border-block-end: 1px solid var(--color-border-line--light);
355
355
  margin-block-end: 0.6rem;
356
356
  }
357
357
 
358
358
  .dropdown__menu-footer {
359
359
  padding: 1rem;
360
360
  margin-block-start: 0.6rem;
361
- border-top: 1px solid var(--color-border-line--light);
361
+ border-block-start: 1px solid var(--color-border-line--light);
362
362
  }
363
363
 
364
364
  .dropdown__menu-footer--align-right {
@@ -454,16 +454,16 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
454
454
  // Reverse the caret
455
455
  .dropdown__caret {
456
456
  @include transition(all, 0.2s, eas-in);
457
- border-top: 0;
458
- border-bottom: 4px solid $black;
457
+ border-block-start: 0;
458
+ border-block-end: 4px solid $black;
459
459
  content: "\2191";
460
460
  }
461
461
 
462
462
  // Different positioning for bottom up menu
463
463
  .dropdown__menu {
464
- top: auto;
465
- bottom: 100%;
466
- margin-bottom: 4px;
464
+ inset-block-start: auto;
465
+ inset-block-end: 100%;
466
+ margin-block-end: 4px;
467
467
  }
468
468
 
469
469
  &.open {
@@ -478,7 +478,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
478
478
  vertical-align: middle;
479
479
 
480
480
  .dropdown__menu {
481
- top: -2.3rem;
481
+ inset-block-start: -2.3rem;
482
482
  inset-inline-start: auto;
483
483
  inset-inline-end: calc(100% + 0.3rem);
484
484
  }
@@ -489,7 +489,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
489
489
  vertical-align: middle;
490
490
 
491
491
  .dropdown__menu {
492
- top: -2.3rem;
492
+ inset-block-start: -2.3rem;
493
493
  inset-inline-start: 100%;
494
494
  }
495
495
  }
@@ -511,8 +511,8 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
511
511
  .dropdown--dropright, .dropdown--dropleft {
512
512
  &.dropdown--dropup {
513
513
  .dropdown__menu {
514
- bottom: -2.3rem;
515
- top: auto;
514
+ inset-block-end: -2.3rem;
515
+ inset-block-start: auto;
516
516
  }
517
517
  }
518
518
  }
@@ -594,7 +594,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
594
594
  border-radius: $dropdownMenuBorderRadius;
595
595
  border:0;
596
596
  z-index: 1;
597
- margin-top: -1px;
597
+ margin-block-start: -1px;
598
598
 
599
599
  &:before {
600
600
  display: none;
@@ -608,7 +608,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
608
608
  padding: 0;
609
609
 
610
610
  i {
611
- margin-right: 0;
611
+ margin-inline-end: 0;
612
612
  }
613
613
 
614
614
  span {
@@ -624,7 +624,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
624
624
  color: inherit;
625
625
  font-weight: 300;
626
626
  opacity: 0.65;
627
- padding-right: 0.5rem;
627
+ padding-inline-end: 0.5rem;
628
628
  letter-spacing: 0.02rem;
629
629
  }
630
630
 
@@ -662,7 +662,7 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
662
662
  .dropdown__toggle--line {
663
663
  border-radius: $border-radius__base--x-small $border-radius__base--x-small 0 0;
664
664
  background-color: var(--color-input-bg);
665
- border-bottom: 1px solid var(--color-input-border);
665
+ border-block-end: 1px solid var(--color-input-border);
666
666
 
667
667
  &:hover {
668
668
  border-color: var(--color-input-border-hover);
@@ -697,8 +697,8 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
697
697
 
698
698
  .dropdown__toggle {
699
699
  .dropdown__caret {
700
- float: right;
701
- margin-top: 6px;
700
+ float: inline-end;
701
+ margin-block-start: 6px;
702
702
  }
703
703
  }
704
704
  }
@@ -711,12 +711,12 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
711
711
  overflow-x: hidden;
712
712
 
713
713
  li {
714
- margin-bottom: 4px;
714
+ margin-block-end: 4px;
715
715
  }
716
716
 
717
717
  li button {
718
718
  width: 300px !important;
719
- padding-right: 30px;
719
+ padding-inline-end: 30px;
720
720
  overflow: hidden;
721
721
  text-overflow: ellipsis;
722
722
  position: relative;
@@ -724,8 +724,8 @@ $focus-box-shadow: 0 0 0 3px $sd-colour--focus-shadow;
724
724
 
725
725
  i {
726
726
  position: absolute;
727
- right: -5px;
728
- top: 9px;
727
+ inset-inline-end: -5px;
728
+ inset-block-start: 9px;
729
729
  }
730
730
 
731
731
  &.disabled, &.disabled:hover {
@@ -2,21 +2,21 @@
2
2
 
3
3
  .dropdown.dropdown--input-addon {
4
4
  position: absolute;
5
- right: 12px;
6
- margin-top: -1px;
5
+ inset-inline-end: 12px;
6
+ margin-block-start: -1px;
7
7
 
8
8
  > .dropdown__toggle {
9
9
  height: 22px;
10
10
  line-height: 0;
11
11
  padding: 2px 6px;
12
12
  box-shadow: none;
13
- margin-bottom: 2px;
13
+ margin-block-end: 2px;
14
14
  background-color: transparent;
15
15
  box-shadow: none;
16
16
 
17
17
  .dropdown__caret {
18
18
  padding: 0px;
19
- margin-left: 0;
19
+ margin-inline-start: 0;
20
20
  }
21
21
  }
22
22
 
@@ -32,22 +32,22 @@
32
32
  .circle {
33
33
  width: 32px;
34
34
  height: 32px;
35
- margin-top: 8px;
36
- margin-left: 0;
35
+ margin-block-start: 8px;
36
+ margin-inline-start: 0;
37
37
  }
38
38
  }
39
39
  }
40
40
  }
41
41
 
42
42
  .caret {
43
- margin-left: 15px;
43
+ margin-inline-start: 15px;
44
44
  }
45
45
 
46
46
  .dropdown__menu {
47
47
  border-radius: 0px;
48
48
  border:0;
49
49
  z-index: 2;
50
- margin-top: -1px;
50
+ margin-block-start: -1px;
51
51
  min-width: 200px;
52
52
  box-shadow: $shadow__dropdown--default;
53
53
  padding: 10px 0;
@@ -82,11 +82,11 @@
82
82
  margin: 0;
83
83
  height: 41px;
84
84
  padding: 10px 10px;
85
- border-top: 1px solid #e0e0e0;
85
+ border-block-start: 1px solid #e0e0e0;
86
86
  border-radius: 0px;
87
87
 
88
88
  i {
89
- margin-right: 10px;
89
+ margin-inline-end: 10px;
90
90
  }
91
91
 
92
92
  &:hover {
@@ -111,8 +111,8 @@
111
111
  width: auto;
112
112
  min-width: 50px;
113
113
  clear: none;
114
- margin-right: 10px;
115
- float: right;
114
+ margin-inline-end: 10px;
115
+ float: inline-end;
116
116
  }
117
117
  }
118
118
  }
@@ -1,7 +1,7 @@
1
1
 
2
2
  .sd-widget.metadata {
3
3
  .dropdown {
4
- margin-right: -5px;
4
+ margin-inline-end: -5px;
5
5
 
6
6
  .dropdown__toggle {
7
7
  display: inline-block;
@@ -9,7 +9,7 @@
9
9
  min-width: 40px;
10
10
  box-sizing: border-box;
11
11
  height: 28px;
12
- margin-top: -5px;
12
+ margin-block-start: -5px;
13
13
  border-radius: $border-radius__base--x-small;
14
14
  border: 1px solid #f8f8f8;
15
15
  padding: 4px 10px;
@@ -23,7 +23,7 @@
23
23
 
24
24
  .dropdown__menu {
25
25
  margin: 0;
26
- margin-top: -5px;
26
+ margin-block-start: -5px;
27
27
  box-sizing: border-box;
28
28
  border-radius:0;
29
29
  max-width: $tabpane-width - 40px;
@@ -53,7 +53,7 @@
53
53
 
54
54
  .dropdown-nested {
55
55
  position: absolute;
56
- right: 0px;
57
- margin-top: 0px;
56
+ inset-inline-end: 0px;
57
+ margin-block-start: 0px;
58
58
  }
59
59
  }
@@ -53,6 +53,6 @@ $editor-styleButton-size: 3rem;
53
53
  }
54
54
 
55
55
  .Editor3-styleButton--short {
56
- padding-right: 0.2rem;
57
- margin-right: -1rem;
56
+ padding-inline-end: 0.2rem;
57
+ margin-inline-end: -1rem;
58
58
  }
@@ -316,10 +316,10 @@ $body-font-size: (
316
316
  }
317
317
 
318
318
  .theme-preview__block {
319
- margin-bottom: 1.2rem;
319
+ margin-block-end: 1.2rem;
320
320
 
321
321
  &:last-child {
322
- margin-bottom: 0;
322
+ margin-block-end: 0;
323
323
  }
324
324
 
325
325
  .sd-checkbox--button-style,
@@ -352,8 +352,8 @@ $body-font-size: (
352
352
  line-height: 140%;
353
353
  color: inherit;
354
354
  font-family: inherit;
355
- border-bottom: 1px dotted var(--sd-editor-colour__main-border);
356
- margin-bottom: 0.8rem;
355
+ border-block-end: 1px dotted var(--sd-editor-colour__main-border);
356
+ margin-block-end: 0.8rem;
357
357
  padding: 1rem 0 0.5rem;
358
358
  flex-direction: column;
359
359
  justify-content: flex-end;
@@ -363,7 +363,7 @@ $body-font-size: (
363
363
  display: flex;
364
364
  color: inherit;
365
365
  font-family: inherit;
366
- margin-bottom: 0.8rem;
366
+ margin-block-end: 0.8rem;
367
367
  padding: 1rem 0 0.5rem;
368
368
  flex-direction: column;
369
369
  }
@@ -372,7 +372,7 @@ $body-font-size: (
372
372
  text-align: end;
373
373
 
374
374
  .sd-check__wrapper+.sd-check__wrapper {
375
- margin-left: 0.2rem;
375
+ margin-inline-start: 0.2rem;
376
376
  }
377
377
  }
378
378
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  .sd-searchbar, .sd-input--inline-label {
4
4
  .p-autocomplete-panel {
5
- margin-top: 0;
5
+ margin-block-start: 0;
6
6
  }
7
7
  }
8
8
 
@@ -19,7 +19,7 @@
19
19
  color: inherit !important;
20
20
  z-index: 1;
21
21
  border-radius: $border-radius__base--full;
22
- right:8px;
22
+ inset-inline-end:8px;
23
23
 
24
24
  }
25
25
  }
@@ -35,7 +35,7 @@
35
35
 
36
36
  .sd-input {
37
37
  .p-autocomplete-loader {
38
- margin-top: -1.4rem;
38
+ margin-block-start: -1.4rem;
39
39
 
40
40
  &.pi {
41
41
  font-size: 2rem !important;
@@ -46,6 +46,6 @@
46
46
 
47
47
  .sd-input.sd-input--inline-label {
48
48
  .p-autocomplete-loader {
49
- margin-top: -1rem;
49
+ margin-block-start: -1rem;
50
50
  }
51
51
  }
@@ -37,8 +37,8 @@ $checkButtonBorderRadius: $border-radius__base--small;
37
37
  -moz-osx-font-smoothing: grayscale;
38
38
  color: #fff;
39
39
  position: absolute;
40
- top: 0;
41
- left: 0;
40
+ inset-block-start: 0;
41
+ inset-inline-start: 0;
42
42
  transform: scale(0.25, 0.25);
43
43
  }
44
44
 
@@ -75,7 +75,7 @@ $checkButtonBorderRadius: $border-radius__base--small;
75
75
  content:' ';
76
76
  position: absolute;
77
77
  background-color: $sd-colour-interactive;
78
- top: 0.2rem;
78
+ inset-block-start: 0.2rem;
79
79
  inset-inline-start: 0.2rem;
80
80
  opacity: 0;
81
81
  transition: all 0.1s ease-in;
@@ -354,7 +354,7 @@ $checkButtonBorderRadius: $border-radius__base--small;
354
354
  }
355
355
 
356
356
  .sd-check-button {
357
- @include sd-padding('1-5', 'x');
357
+ padding-inline: var(--space--1-5);
358
358
  line-height: 1;
359
359
  border: 1px solid $checkButtonBorderColor;
360
360
  border-radius: $checkButtonBorderRadius;
@@ -696,7 +696,7 @@ $checkButtonBorderRadius: $border-radius__base--small;
696
696
  // Superdeks untill they are refactored
697
697
 
698
698
  .toggle-button {
699
- @include sd-padding('1-5', 'x');
699
+ padding-inline: var(--space--1-5);
700
700
  @include text-overflow;
701
701
  line-height: 1;
702
702
  border: 1px solid $checkButtonBorderColor;