superdesk-ui-framework 3.0.42 → 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.
- package/app/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +13 -2
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +5 -7
- package/dist/superdesk-ui.bundle.css +4265 -3552
- package/dist/superdesk-ui.bundle.js +4 -6
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- 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,
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
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
|
-
|
76
|
-
|
77
|
-
margin-
|
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
|
-
|
85
|
-
|
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
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
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
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
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
|
-
|
118
|
-
|
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,
|
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
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
155
|
+
}
|
156
|
+
|
157
|
+
.grid--boxed {
|
158
|
+
.grid__item {
|
159
|
+
&.gi-#{$name} {
|
160
|
+
@include layout-grid-responsive-boxed;
|
136
161
|
}
|
137
162
|
}
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
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
|
+
}
|