superdesk-ui-framework 3.0.41 → 3.0.43

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 (104) hide show
  1. package/app/styles/_accessibility.scss +349 -310
  2. package/app/styles/_alerts.scss +102 -71
  3. package/app/styles/_animations.scss +29 -16
  4. package/app/styles/_avatar.scss +159 -140
  5. package/app/styles/_badge.scss +11 -5
  6. package/app/styles/_big-icon-font.scss +21 -9
  7. package/app/styles/_boxed-list.scss +72 -47
  8. package/app/styles/_buttons.scss +266 -177
  9. package/app/styles/_carousel.scss +58 -45
  10. package/app/styles/_content-divider.scss +28 -2
  11. package/app/styles/_drag-drop.scss +3 -0
  12. package/app/styles/_empty-states.scss +21 -13
  13. package/app/styles/_hamburger.scss +142 -144
  14. package/app/styles/_helpers.scss +297 -93
  15. package/app/styles/_icon-font.scss +75 -43
  16. package/app/styles/_icon-labels.scss +11 -1
  17. package/app/styles/_labels.scss +27 -14
  18. package/app/styles/_loaders.scss +2 -1
  19. package/app/styles/_master-desk.scss +67 -31
  20. package/app/styles/_mixins.scss +40 -20
  21. package/app/styles/_modals.scss +112 -56
  22. package/app/styles/_panel-info.scss +38 -34
  23. package/app/styles/_popover.scss +0 -1
  24. package/app/styles/_publisher-styles.scss +132 -122
  25. package/app/styles/_sd-tag-input.scss +104 -24
  26. package/app/styles/_simple-list.scss +89 -66
  27. package/app/styles/_spinner.scss +24 -17
  28. package/app/styles/_table-list.scss +114 -80
  29. package/app/styles/_tables.scss +14 -2
  30. package/app/styles/_tabs-vertical.scss +46 -43
  31. package/app/styles/_tabs.scss +97 -87
  32. package/app/styles/_tag-labels.scss +26 -11
  33. package/app/styles/_thumb-carousel.scss +37 -11
  34. package/app/styles/_toggle-box.scss +27 -7
  35. package/app/styles/_toggle-button.scss +5 -1
  36. package/app/styles/_tooltips.scss +284 -272
  37. package/app/styles/components/_card-item.scss +268 -192
  38. package/app/styles/components/_list-item.scss +261 -175
  39. package/app/styles/components/_sd-circular-progress.scss +109 -79
  40. package/app/styles/components/_sd-collapse-box.scss +45 -33
  41. package/app/styles/components/_sd-comment-box.scss +17 -12
  42. package/app/styles/components/_sd-dropzone.scss +32 -15
  43. package/app/styles/components/_sd-editor-popup.scss +29 -15
  44. package/app/styles/components/_sd-grid-item.scss +349 -237
  45. package/app/styles/components/_sd-loader.scss +1 -2
  46. package/app/styles/components/_sd-media-carousel.scss +119 -78
  47. package/app/styles/components/_sd-notification-panel.scss +2 -1
  48. package/app/styles/components/_sd-pagination.scss +27 -19
  49. package/app/styles/components/_sd-photo-preview.scss +82 -41
  50. package/app/styles/components/_sd-searchbar.scss +79 -51
  51. package/app/styles/components/_sd-toaster.scss +52 -30
  52. package/app/styles/components/_subnav.scss +230 -135
  53. package/app/styles/components/_theme-selector.scss +78 -53
  54. package/app/styles/components/sd-slider.scss +11 -7
  55. package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
  56. package/app/styles/design-tokens/_new-colors.scss +3 -1
  57. package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
  58. package/app/styles/dropdowns/_input-dropdown.scss +5 -2
  59. package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
  60. package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
  61. package/app/styles/dropdowns/_other_dropdown.scss +9 -3
  62. package/app/styles/editor/_editor-buttons.scss +10 -6
  63. package/app/styles/editor/_editor-themes.scss +401 -350
  64. package/app/styles/form-elements/_autocomplete.scss +7 -1
  65. package/app/styles/form-elements/_checkbox.scss +230 -159
  66. package/app/styles/form-elements/_forms-general.scss +345 -285
  67. package/app/styles/form-elements/_input-preview.scss +15 -9
  68. package/app/styles/form-elements/_input-wrap.scss +77 -71
  69. package/app/styles/form-elements/_inputs.scss +668 -489
  70. package/app/styles/form-elements/_radio.scss +10 -5
  71. package/app/styles/form-elements/_switch.scss +27 -16
  72. package/app/styles/grids/_basic-grid.scss +83 -64
  73. package/app/styles/grids/_grid-layout.scss +301 -165
  74. package/app/styles/grids/_layout-grid.scss +85 -59
  75. package/app/styles/grids/_sd-kanban-list.scss +14 -4
  76. package/app/styles/interface-elements/_side-panel.scss +279 -200
  77. package/app/styles/layout/_basic-layout.scss +36 -34
  78. package/app/styles/layout/_container.scss +38 -31
  79. package/app/styles/layout/_editor.scss +57 -17
  80. package/app/styles/layout/_general.scss +81 -67
  81. package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
  82. package/app/styles/menus/_sd-content-navigation.scss +20 -16
  83. package/app/styles/menus/_sd-left-navigation.scss +62 -49
  84. package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
  85. package/app/styles/menus/_sd-top-menu.scss +16 -7
  86. package/app/styles/primereact/_pr-autocomplete.scss +2 -0
  87. package/app/styles/primereact/_pr-datepicker.scss +20 -7
  88. package/app/styles/primereact/_pr-dialog.scss +55 -47
  89. package/app/styles/primereact/_pr-dropdown.scss +27 -22
  90. package/app/styles/primereact/_pr-general.scss +3 -0
  91. package/app/styles/primereact/_pr-menu.scss +2 -1
  92. package/app/styles/primereact/_pr-skeleton.scss +1 -0
  93. package/app/styles/primereact/_pr-tag-input.scss +1 -0
  94. package/app/styles/variables/_colors.scss +168 -170
  95. package/app/styles/variables/_typography.scss +1 -2
  96. package/app-typescript/components/Form/InputWrapper.tsx +1 -1
  97. package/app-typescript/components/Menu.tsx +1 -1
  98. package/dist/examples.bundle.css +18 -16
  99. package/dist/examples.bundle.js +5 -7
  100. package/dist/superdesk-ui.bundle.css +4271 -3557
  101. package/dist/superdesk-ui.bundle.js +4 -6
  102. package/package.json +2 -2
  103. package/react/components/Form/InputWrapper.d.ts +1 -1
  104. package/react/components/Menu.js +1 -1
@@ -7,11 +7,16 @@ $layout-grid-gap-small: .4rem; // alternative small gap
7
7
 
8
8
  // map for media breakpoints, 'small' is mandatory and reserved as mobile first
9
9
  $layout-grid-media: (
10
- xsmall: 0, // 0px, mobile first
11
- small: 40em, // 640px
12
- medium: 60em, // 960px
13
- large: 64em, // 1024px
14
- xlarge: 75em, // 1200px
10
+ xsmall: 0,
11
+ // 0px, mobile first
12
+ small: 40em,
13
+ // 640px
14
+ medium: 60em,
15
+ // 960px
16
+ large: 64em,
17
+ // 1024px
18
+ xlarge: 75em,
19
+ // 1200px
15
20
  xxlarge: 90em // 1440px
16
21
  );
17
22
 
@@ -22,6 +27,7 @@ $layout-grid-media: (
22
27
  padding: 0 $layout-grid-gutter;
23
28
  flex-wrap: wrap;
24
29
  }
30
+
25
31
  @mixin layout-grid-columns {
26
32
  @for $i from 1 through $layout-grid-columns {
27
33
  &--col-#{$i} {
@@ -31,6 +37,7 @@ $layout-grid-media: (
31
37
  }
32
38
  }
33
39
  }
40
+
34
41
  @mixin layout-grid-responsive {
35
42
  @for $i from 1 through $layout-grid-columns {
36
43
  &-#{$i} {
@@ -40,6 +47,7 @@ $layout-grid-media: (
40
47
  }
41
48
  }
42
49
  }
50
+
43
51
  @mixin layout-grid-responsive-boxed {
44
52
  @for $i from 1 through $layout-grid-columns {
45
53
  &-#{$i} {
@@ -49,6 +57,7 @@ $layout-grid-media: (
49
57
  }
50
58
  }
51
59
  }
60
+
52
61
  @mixin layout-grid-responsive-boxed-small {
53
62
  @for $i from 1 through $layout-grid-columns {
54
63
  &-#{$i} {
@@ -58,90 +67,107 @@ $layout-grid-media: (
58
67
  }
59
68
  }
60
69
  }
70
+
61
71
  .grid {
62
72
  @include grid;
73
+
63
74
  .grid__item {
64
75
  flex: 1 1 auto;
65
76
  padding: 0 $layout-grid-gutter;
77
+
66
78
  &.grid__item {
67
79
  @include layout-grid-columns;
68
80
  }
69
- & > .grid {
81
+
82
+ &>.grid {
70
83
  margin-left: -$layout-grid-gutter;
71
84
  margin-right: -$layout-grid-gutter;
72
85
  padding: 0;
73
86
  }
74
87
  }
75
- &--padding-fix {
76
- margin-left: -$layout-grid-gutter;
77
- margin-right: -$layout-grid-gutter;
78
- padding: 0;
79
- }
80
- &--margin {
81
- margin-top: $layout-grid-gutter;
82
- margin-bottom: $layout-grid-gutter;
88
+
89
+ &+.grid {
90
+ margin-top: 1rem;
83
91
  }
84
- &--wrap {
85
- flex-wrap: wrap;
92
+ }
93
+
94
+ .grid--padding-fix {
95
+ margin-left: -$layout-grid-gutter;
96
+ margin-right: -$layout-grid-gutter;
97
+ padding: 0;
98
+ }
99
+
100
+ .grid--margin {
101
+ margin-top: $layout-grid-gutter;
102
+ margin-bottom: $layout-grid-gutter;
103
+ }
104
+
105
+ .grid--wrap {
106
+ flex-wrap: wrap;
107
+ }
108
+
109
+ .grid--boxed {
110
+ margin-left: -$layout-grid-gap;
111
+ margin-right: -$layout-grid-gap;
112
+
113
+ .grid__item {
114
+ margin: $layout-grid-gap;
115
+ padding: 0;
86
116
  }
87
- &--boxed {
88
- margin-left: -$layout-grid-gap;
89
- margin-right: -$layout-grid-gap;
90
- .grid__item {
91
- margin: $layout-grid-gap;
92
- padding: 0;
93
- }
94
- &-styled {
95
- .grid__item {
96
- background-color: white;
97
- border-radius: $border-radius__base--x-small;
98
- box-shadow: 0 1px 4px rgba(0,0,0,.12);
99
- }
100
- }
117
+ }
118
+
119
+ .grid--boxed-styled {
120
+ .grid__item {
121
+ background-color: white;
122
+ border-radius: $border-radius__base--x-small;
123
+ box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
101
124
  }
102
- &--boxed-small {
103
- margin-left: -$layout-grid-gap-small;
104
- margin-right: -$layout-grid-gap-small;
105
- .grid__item {
106
- margin: $layout-grid-gap-small;
107
- padding: 0;
108
- }
109
- &-styled {
110
- .grid__item {
111
- background-color: white;
112
- border-radius: $border-radius__base--x-small;
113
- box-shadow: 0 1px 4px rgba(0,0,0,.12);
114
- }
115
- }
125
+ }
126
+
127
+ .grid--boxed-small {
128
+ margin-left: -$layout-grid-gap-small;
129
+ margin-right: -$layout-grid-gap-small;
130
+
131
+ .grid__item {
132
+ margin: $layout-grid-gap-small;
133
+ padding: 0;
116
134
  }
117
- & + .grid {
118
- margin-top: 1rem;
135
+ }
136
+
137
+ .grid--boxed-small-styled {
138
+ .grid__item {
139
+ background-color: white;
140
+ border-radius: $border-radius__base--x-small;
141
+ box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
119
142
  }
120
143
  }
121
144
 
122
145
  // Media queries
123
- @each $name, $value in $layout-grid-media {
146
+ @each $name,
147
+ $value in $layout-grid-media {
124
148
  @media only screen and (min-width: $value) {
125
149
  .grid {
126
150
  .grid__item {
127
151
  &.gi-#{$name} {
128
152
  @include layout-grid-responsive;
129
- }
153
+ }
130
154
  }
131
- &--boxed {
132
- .grid__item {
133
- &.gi-#{$name} {
134
- @include layout-grid-responsive-boxed;
135
- }
155
+ }
156
+
157
+ .grid--boxed {
158
+ .grid__item {
159
+ &.gi-#{$name} {
160
+ @include layout-grid-responsive-boxed;
136
161
  }
137
162
  }
138
- &--boxed-small {
139
- .grid__item {
140
- &.gi-#{$name} {
141
- @include layout-grid-responsive-boxed-small;
142
- }
163
+ }
164
+
165
+ .grid--boxed-small {
166
+ .grid__item {
167
+ &.gi-#{$name} {
168
+ @include layout-grid-responsive-boxed-small;
143
169
  }
144
170
  }
145
171
  }
146
172
  }
147
- }
173
+ }
@@ -7,19 +7,23 @@ $background-main: $sd-background;
7
7
  padding: 1rem;
8
8
  padding-bottom: 0;
9
9
  height: 100%;
10
+
10
11
  ::-webkit-scrollbar {
11
12
  border-left: 4px solid transparent !important;
12
13
  border-right: 1px solid transparent !important;
13
14
  width: 6px !important;
14
15
  background: transparent !important;
15
16
  }
17
+
16
18
  ::-webkit-scrollbar-track {
17
19
  background: transparent !important;
18
20
  border-left: 3px solid transparent !important;
21
+
19
22
  &:hover {
20
23
  background: rgba(0,0,0,.05) !important;
21
24
  }
22
25
  }
26
+
23
27
  ::-webkit-scrollbar-thumb {
24
28
  border-left: 3px solid transparent !important;
25
29
  }
@@ -32,13 +36,16 @@ $background-main: $sd-background;
32
36
  margin: 0 1rem;
33
37
  height: 100%;
34
38
  min-width: 20rem;
39
+
35
40
  .sd-list-item-group {
36
41
  margin: 0;
37
42
  }
38
- &--wide {
39
- min-width: 36rem;
40
- }
41
43
  }
44
+
45
+ .sd-kanban-list__board--wide {
46
+ min-width: 36rem;
47
+ }
48
+
42
49
  .sd-kanban-list__board-header {
43
50
  grid-column: 1/2;
44
51
  grid-row: 1/2;
@@ -51,6 +58,7 @@ $background-main: $sd-background;
51
58
  border-bottom: 4px solid var(--sd-colour-bg--09);
52
59
  padding: 0 0 0.4rem 0;
53
60
  margin: 0 0.1rem;
61
+
54
62
  .sd-list-header {
55
63
  margin: 0 !important;
56
64
  flex-grow: 1;
@@ -59,10 +67,12 @@ $background-main: $sd-background;
59
67
  text-overflow: ellipsis;
60
68
  width: 100%;
61
69
  }
70
+
62
71
  .sd-list-header__name {
63
72
  flex-grow: 1;
64
73
  }
65
74
  }
75
+
66
76
  .sd-kanban-list__board-content {
67
77
  grid-column: 1/2;
68
78
  grid-row: 2/3;
@@ -77,4 +87,4 @@ $background-main: $sd-background;
77
87
  .sd-kanban-list__board-header {
78
88
  border-bottom: 4px solid rgba(86, 110, 119, 1) !important;
79
89
  }
80
- }
90
+ }