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.
- 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 +20 -7
- 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 +4271 -3557
- 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
@@ -1,5 +1,4 @@
|
|
1
1
|
// variables/colors.scss
|
2
|
-
// -------------------------------------------------------------------------
|
3
2
|
|
4
3
|
// Refernce Colours
|
5
4
|
// $ref-color-primary: hsla(198, 50%, 50%, 1);
|
@@ -27,70 +26,67 @@
|
|
27
26
|
// $ref-color-light-grey--07: hsl(214, 13%, 65%);
|
28
27
|
// $ref-color-light-grey--08: hsl(214, 13%, 60%);
|
29
28
|
|
30
|
-
/////
|
29
|
+
///// =====================================================================
|
31
30
|
|
31
|
+
$sd-colour-interactive: var(--sd-colour-interactive);
|
32
|
+
$sd-colour--focus-shadow: var(--sd-colour-interactive--alpha-40);
|
32
33
|
|
33
|
-
$
|
34
|
-
$
|
34
|
+
$mainListBackGround: var(--sd-colour-panel-bg--100);
|
35
|
+
$subnav-background: var(--sd-colour-panel-bg--100);
|
36
|
+
$subnav-background-darker: var(--sd-colour-panel-bg--200);
|
35
37
|
|
36
|
-
$
|
37
|
-
$subnav-background:
|
38
|
-
$subnav-background-
|
39
|
-
|
40
|
-
$subnav-background-blue-grey: var(--color-subnav-bg--blueGrey-00);
|
41
|
-
$subnav-background-blue-grey-darker: var(--color-subnav-bg--blueGrey-10);
|
42
|
-
$subnav-background-dark-blue-grey: var(--color-subnav-bg--blueGrey-10);
|
43
|
-
$subnav-background-darkUi: var(--color-subnav-bg--00);
|
38
|
+
$subnav-background-blue-grey: var(--color-subnav-bg--blueGrey-00);
|
39
|
+
$subnav-background-blue-grey-darker: var(--color-subnav-bg--blueGrey-10);
|
40
|
+
$subnav-background-dark-blue-grey: var(--color-subnav-bg--blueGrey-10);
|
41
|
+
$subnav-background-darkUi: var(--color-subnav-bg--00);
|
44
42
|
|
45
43
|
// NEWLY DEFINED COLOURS
|
46
44
|
// =========================================================================
|
47
|
-
$sd-colour-background__base:
|
48
|
-
$sd-colour-background__panel--default:
|
49
|
-
|
50
|
-
$sd-colour-brand__base--supedesk: hsla(152, 71%, 40%, 1);
|
51
|
-
$sd-colour-brand__base--primary: hsla(165, 59%, 49%, 1);
|
52
|
-
$sd-colour-brand__base--secondary: hsla(185, 33%, 57%, 1);
|
53
|
-
|
54
|
-
$sd-colour-text__base: var(--color-text);
|
55
|
-
$sd-colour-text__base--light: var(--color-text-light);
|
56
|
-
$sd-colour-text__slugline: var(--sd-slugline-color);
|
45
|
+
$sd-colour-background__base: hsla(0, 0%, 100%, 1);
|
46
|
+
$sd-colour-background__panel--default: hsla(0, 0%, 100%, 1);
|
57
47
|
|
58
|
-
$sd-colour-
|
48
|
+
$sd-colour-brand__base--supedesk: hsla(152, 71%, 40%, 1);
|
49
|
+
$sd-colour-brand__base--primary: hsla(165, 59%, 49%, 1);
|
50
|
+
$sd-colour-brand__base--secondary: hsla(185, 33%, 57%, 1);
|
59
51
|
|
60
|
-
$sd-colour-
|
61
|
-
$sd-colour-
|
62
|
-
$sd-colour-
|
52
|
+
$sd-colour-text__base: var(--color-text);
|
53
|
+
$sd-colour-text__base--light: var(--color-text-light);
|
54
|
+
$sd-colour-text__slugline: var(--sd-slugline-color);
|
63
55
|
|
64
|
-
$sd-colour-
|
65
|
-
$sd-colour-background__button-primary--hover: var(--sd-colour-interactive--hover);
|
66
|
-
$sd-colour-background__button-primary--active: var(--sd-colour-interactive--active);
|
56
|
+
$sd-colour-background__sliding-toolbar: var(--sd-colour-bg__sliding-toolbar);
|
67
57
|
|
68
|
-
|
58
|
+
$sd-colour-background__menu-item: transparent;
|
59
|
+
$sd-colour-background__menu-item--hover: var(--sd-colour-interactive--alpha-20);
|
60
|
+
$sd-colour-background__menu-item--active: var(--sd-colour-interactive--alpha-30);
|
69
61
|
|
62
|
+
$sd-colour-background__button-primary--normal: var(--sd-colour-interactive);
|
63
|
+
$sd-colour-background__button-primary--hover: var(--sd-colour-interactive--hover);
|
64
|
+
$sd-colour-background__button-primary--active: var(--sd-colour-interactive--active);
|
70
65
|
|
66
|
+
// ==========================================================================
|
71
67
|
|
72
68
|
// Basic colors
|
73
|
-
$sd-blue:
|
74
|
-
$sd-blueMedium:
|
75
|
-
$sd-blueDark:
|
76
|
-
$sd-green:
|
77
|
-
|
78
|
-
$green:
|
79
|
-
$red:
|
80
|
-
$yellow:
|
81
|
-
$orange:
|
82
|
-
$purple:
|
83
|
-
|
84
|
-
$black:
|
85
|
-
$grayDarker:
|
86
|
-
$grayDark:
|
87
|
-
$grayMedium:
|
88
|
-
$gray:
|
89
|
-
$grayNeutral:
|
90
|
-
$grayText:
|
91
|
-
$grayLight:
|
92
|
-
$grayLighter:
|
93
|
-
$white:
|
69
|
+
$sd-blue: hsla(198, 49%, 58%, 1);
|
70
|
+
$sd-blueMedium: hsla(198, 49%, 47%, 1);
|
71
|
+
$sd-blueDark: hsla(197, 100%, 25%, 1);
|
72
|
+
$sd-green: hsla(152, 71%, 40%, 1);
|
73
|
+
|
74
|
+
$green: hsla(120, 40%, 46%, 1);
|
75
|
+
$red: hsla(358, 79%, 50%, 1);
|
76
|
+
$yellow: hsla(45, 100%, 53%, 1);
|
77
|
+
$orange: hsla(35, 100%, 43%, 1);
|
78
|
+
$purple: hsla(291, 64%, 42%, 1);
|
79
|
+
|
80
|
+
$black: hsl(214, 13%, 0%);
|
81
|
+
$grayDarker: hsl(214, 13%, 13%);
|
82
|
+
$grayDark: hsl(214, 13%, 20%);
|
83
|
+
$grayMedium: hsl(214, 13%, 27%);
|
84
|
+
$gray: hsl(214, 13%, 40%);
|
85
|
+
$grayNeutral: hsl(214, 13%, 48%);
|
86
|
+
$grayText: hsl(214, 13%, 45%);
|
87
|
+
$grayLight: hsl(214, 13%, 60%);
|
88
|
+
$grayLighter: hsl(214, 13%, 96%);
|
89
|
+
$white: hsl(214, 13%, 100%);
|
94
90
|
|
95
91
|
// Greys
|
96
92
|
// $gray--900: hsl(214, 13%, 20%);
|
@@ -106,14 +102,14 @@ $white: hsl(214, 13%, 100%);
|
|
106
102
|
// $grey--50: hsl(214, 13%, 96%);
|
107
103
|
|
108
104
|
// Extended colors
|
109
|
-
$fernGreen:
|
110
|
-
$oldGold:
|
111
|
-
$darkOrange:
|
112
|
-
$fireBrick:
|
113
|
-
$deepPink:
|
114
|
-
$darkMagenta:
|
115
|
-
$darkViolet:
|
116
|
-
$navy:
|
105
|
+
$fernGreen: hsla(91, 47%, 34%, 1);
|
106
|
+
$oldGold: hsla(48, 100%, 41%, 1);
|
107
|
+
$darkOrange: hsla(31, 100%, 43%, 1);
|
108
|
+
$fireBrick: hsla(7, 100%, 37%, 1);
|
109
|
+
$deepPink: hsla(325, 100%, 45%, 1);
|
110
|
+
$darkMagenta: hsla(300, 100%, 27%, 1);
|
111
|
+
$darkViolet: hsla(280, 100%, 34%, 1);
|
112
|
+
$navy: hsla(240, 100%, 25%, 1);
|
117
113
|
|
118
114
|
// Panel backgrounds
|
119
115
|
// $panel-bg--00: #fff;
|
@@ -126,76 +122,72 @@ $navy: hsla(240, 100%, 25%, 1);
|
|
126
122
|
// Text specific colors
|
127
123
|
//Subnav colours
|
128
124
|
|
129
|
-
$sd-text:
|
130
|
-
$sd-text-light:
|
131
|
-
$sd-text-lighter:
|
132
|
-
$sd-slugline:
|
133
|
-
$sd-slugline-darkUI:
|
125
|
+
$sd-text: var(--color-text);
|
126
|
+
$sd-text-light: var(--color-text-light);
|
127
|
+
$sd-text-lighter: var(--color-text-lighter);
|
128
|
+
$sd-slugline: var(--sd-slugline-color);
|
129
|
+
$sd-slugline-darkUI: hsl(196, 19%, 50%);
|
134
130
|
|
135
131
|
// Light border color that works well on white and dark backgrounds
|
136
132
|
$neutral-border-color: scale-color($grayNeutral, $alpha: -50%);
|
137
133
|
|
138
134
|
// Misc
|
139
|
-
$avatarBG:
|
140
|
-
$sd-background:
|
141
|
-
$sd-background-darkUI:
|
142
|
-
$sd-filters-bg:
|
143
|
-
$sd-filters-darkUI-bg:
|
135
|
+
$avatarBG: hsla(168, 31%, 55%, 1);
|
136
|
+
$sd-background: hsla(0, 0%, 97%, 1);
|
137
|
+
$sd-background-darkUI: hsla(0, 0%, 23%, 1);
|
138
|
+
$sd-filters-bg: hsla(0, 0%, 93%, 1);
|
139
|
+
$sd-filters-darkUI-bg: hsla(0, 0%, 20%, 1);
|
144
140
|
|
145
|
-
$sd-hover:
|
146
|
-
$transparent-gray:
|
147
|
-
$transparent-white:
|
148
|
-
$sd-inputBorderColor:
|
141
|
+
$sd-hover: hsla(196, 52%, 96%, 1);
|
142
|
+
$transparent-gray: hsla(0, 0%, 0%, 0.15);
|
143
|
+
$transparent-white: hsla(0, 0%, 100%, 0.4);
|
144
|
+
$sd-inputBorderColor: $transparent-gray;
|
149
145
|
|
150
|
-
$photoBG-dark:
|
151
|
-
$annotation-color:
|
152
|
-
$comment-color:
|
146
|
+
$photoBG-dark: hsla(0, 0%, 17%, 1);
|
147
|
+
$annotation-color: hsla(87, 68%, 61%, 1);
|
148
|
+
$comment-color: hsla(54, 100%, 72%, 1);
|
153
149
|
|
154
|
-
$sd-inputBorderColor-darkUi:
|
150
|
+
$sd-inputBorderColor-darkUi: $transparent-white;
|
155
151
|
|
156
152
|
//Subnav colours
|
157
153
|
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
154
|
$sd-basic-palette: (
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
155
|
+
default: hsla(214, 13%, 60%, 1),
|
156
|
+
primary: $sd-blue,
|
157
|
+
success: $green,
|
158
|
+
warning: $orange,
|
159
|
+
alert: $red,
|
160
|
+
highlight: $purple,
|
161
|
+
sd-green: $sd-green,
|
170
162
|
);
|
171
163
|
|
172
164
|
$sd-extended-palette: (
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
165
|
+
default: $grayDark,
|
166
|
+
primary: $sd-blue,
|
167
|
+
success: $green,
|
168
|
+
warning: $orange,
|
169
|
+
alert: $red,
|
170
|
+
highlight: $purple,
|
171
|
+
|
172
|
+
success2: $fernGreen,
|
173
|
+
yellow2: $oldGold,
|
174
|
+
orange2: $darkOrange,
|
175
|
+
red2: $fireBrick,
|
176
|
+
highlight2: $deepPink,
|
177
|
+
highlight3: $darkMagenta,
|
178
|
+
highlight4: $darkViolet,
|
179
|
+
darkBlue2: $navy,
|
180
|
+
sd-green: $sd-green,
|
189
181
|
);
|
190
182
|
|
191
183
|
$sd-basic-palette-ui-dark: (
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
184
|
+
default: $grayLighter,
|
185
|
+
primary: $sd-blue,
|
186
|
+
success: $green,
|
187
|
+
warning: $orange,
|
188
|
+
alert: $red,
|
189
|
+
highlight: #bf00e0,
|
190
|
+
sd-green: $sd-green,
|
199
191
|
);
|
200
192
|
|
201
193
|
// Dark UI
|
@@ -207,67 +199,73 @@ $default-color-ui-dark: map-get($sd-basic-palette-ui-dark, default);
|
|
207
199
|
|
208
200
|
// Additional colors with shades -- Material design based
|
209
201
|
$baseColors: (
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
202
|
+
red: hsla(4, 90%, 58%, 1),
|
203
|
+
pink: hsla(340, 82%, 52%, 1),
|
204
|
+
purple: hsla(291, 64%, 42%, 1),
|
205
|
+
deep-purple: hsla(262, 52%, 47%, 1),
|
206
|
+
indigo: hsla(231, 48%, 48%, 1),
|
207
|
+
blue: hsla(207, 90%, 54%, 1),
|
208
|
+
light-blue: hsla(199, 98%, 48%, 1),
|
209
|
+
cyan: hsla(187, 100%, 42%, 1),
|
210
|
+
teal: hsla(174, 100%, 29%, 1),
|
211
|
+
green: hsla(122, 39%, 49%, 1),
|
212
|
+
light-green: hsla(88, 50%, 53%, 1),
|
213
|
+
lime: hsla(66, 70%, 54%, 1),
|
214
|
+
yellow: hsla(54, 100%, 62%, 1),
|
215
|
+
amber: hsla(45, 100%, 51%, 1),
|
216
|
+
orange: hsla(36, 100%, 50%, 1),
|
217
|
+
deep-orange: hsla(14, 100%, 57%, 1),
|
218
|
+
brown: hsla(16, 25%, 38%, 1),
|
219
|
+
grey: hsla(0, 0%, 57%, 1),
|
220
|
+
blue-grey: hsla(200, 18%, 46%, 1)
|
229
221
|
);
|
230
222
|
|
231
223
|
@function colorMap($baseColors, $variations) {
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
224
|
+
$colors: ();
|
225
|
+
|
226
|
+
@each $color,
|
227
|
+
$value in $baseColors {
|
228
|
+
$maxVar: 36;
|
229
|
+
$mid: $variations / 2;
|
230
|
+
$dist: $mid - 1;
|
231
|
+
$step: $maxVar / $dist;
|
232
|
+
|
233
|
+
// lighten and darken
|
234
|
+
@for $i from 1 through $dist {
|
235
|
+
$percent: $maxVar - ($step * ($i - 1));
|
236
|
+
$darken: ($variations - $i) * 100;
|
237
|
+
$lighten: $i * 100;
|
238
|
+
|
239
|
+
$colors: map-merge($colors, (
|
240
|
+
#{$color}--#{$lighten}: lighten($value, $percent),
|
241
|
+
#{$color}--#{$darken}: darken($value, $percent))
|
242
|
+
);
|
243
|
+
}
|
244
|
+
|
245
|
+
// middle eg 500
|
246
|
+
$colors: map-merge($colors, (#{$color}--50: lighten($value, 38.7)));
|
247
|
+
$colors: map-merge($colors, (#{$color}--#{$variations/2*100}: $value));
|
248
|
+
}
|
249
|
+
|
250
|
+
@return $colors;
|
257
251
|
}
|
258
252
|
|
259
|
-
@each $color,
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
253
|
+
@each $color,
|
254
|
+
$value in colorMap($baseColors, 10) {
|
255
|
+
.#{$color} {
|
256
|
+
background-color: $value;
|
257
|
+
}
|
258
|
+
|
259
|
+
.hollow-#{$color} {
|
260
|
+
color: $value !important;
|
261
|
+
border-color: $value !important;
|
262
|
+
|
263
|
+
&:hover {
|
264
|
+
color: $value !important;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
.text-#{$color} {
|
269
|
+
color: $value;
|
270
|
+
}
|
271
|
+
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
// variables/typography.scss
|
2
|
-
// -----------------------------------------------------
|
3
2
|
|
4
3
|
$baseFontSize: 13px;
|
5
4
|
$baseFontFamily: "Roboto", Helvetica, Arial, sans-serif;
|
@@ -9,4 +8,4 @@ $baseLineHeight: 140%;
|
|
9
8
|
$altFontFamily: Georgia, "Times New Roman", Times, serif;
|
10
9
|
|
11
10
|
$headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
|
12
|
-
$headingsFontWeight: bold; // instead of browser default, bold
|
11
|
+
$headingsFontWeight: bold; // instead of browser default, bold
|
package/dist/examples.bundle.css
CHANGED
@@ -12012,19 +12012,20 @@ doc-react-playground {
|
|
12012
12012
|
padding: 1px;
|
12013
12013
|
z-index: 1;
|
12014
12014
|
opacity: 1 !important; }
|
12015
|
-
|
12016
|
-
|
12017
|
-
|
12018
|
-
|
12019
|
-
|
12020
|
-
|
12021
|
-
|
12022
|
-
|
12023
|
-
|
12024
|
-
|
12025
|
-
|
12026
|
-
|
12027
|
-
|
12015
|
+
|
12016
|
+
.icn-mix--2x {
|
12017
|
+
font-size: 32px;
|
12018
|
+
height: 32px; }
|
12019
|
+
.icn-mix--2x .icn-mix__icn {
|
12020
|
+
opacity: 0.6;
|
12021
|
+
width: 32px;
|
12022
|
+
height: 32px;
|
12023
|
+
line-height: 32px;
|
12024
|
+
font-size: 32px; }
|
12025
|
+
.icn-mix--2x .icn-mix__sub-icn {
|
12026
|
+
font-size: 1.6rem;
|
12027
|
+
inset-inline-end: -0.6rem;
|
12028
|
+
inset-block-end: -0.3rem; }
|
12028
12029
|
|
12029
12030
|
.double-size-icn {
|
12030
12031
|
display: inline-block;
|
@@ -12036,9 +12037,10 @@ doc-react-playground {
|
|
12036
12037
|
height: 32px;
|
12037
12038
|
line-height: 32px;
|
12038
12039
|
font-size: 32px; }
|
12039
|
-
|
12040
|
-
|
12041
|
-
|
12040
|
+
|
12041
|
+
.double-size-icn--light [class^="icon-"],
|
12042
|
+
.double-size-icn--light [class*=" icon-"] {
|
12043
|
+
opacity: 0.5; }
|
12042
12044
|
|
12043
12045
|
.subnav .icn-mix__sub-icn {
|
12044
12046
|
background-color: var(--sd-colour-panel-bg--100) !important; }
|
package/dist/examples.bundle.js
CHANGED
@@ -100368,7 +100368,7 @@ var Menu = /** @class */ (function (_super) {
|
|
100368
100368
|
if (firstMenuItem instanceof HTMLElement) {
|
100369
100369
|
firstMenuItem.focus();
|
100370
100370
|
}
|
100371
|
-
}, "data-test-id": "menu",
|
100371
|
+
}, "data-test-id": "menu", zIndex: (_a = this.props.zIndex) !== null && _a !== void 0 ? _a : superdeskTopBarZIndex }))));
|
100372
100372
|
};
|
100373
100373
|
return Menu;
|
100374
100374
|
}(React.Component));
|
@@ -100579,7 +100579,7 @@ var TieredMenu = /*#__PURE__*/function (_Component) {
|
|
100579
100579
|
key: "onEnter",
|
100580
100580
|
value: function onEnter() {
|
100581
100581
|
if (this.props.autoZIndex) {
|
100582
|
-
this.container.style.zIndex =
|
100582
|
+
this.container.style.zIndex = this.props.zIndex;
|
100583
100583
|
}
|
100584
100584
|
|
100585
100585
|
_DomHandler.default.absolutePosition(this.container, this.target);
|
@@ -100754,7 +100754,7 @@ _defineProperty(TieredMenu, "defaultProps", {
|
|
100754
100754
|
style: null,
|
100755
100755
|
className: null,
|
100756
100756
|
autoZIndex: true,
|
100757
|
-
|
100757
|
+
zIndex: 0,
|
100758
100758
|
appendTo: null,
|
100759
100759
|
onShow: null,
|
100760
100760
|
onHide: null
|
@@ -100767,7 +100767,7 @@ _defineProperty(TieredMenu, "propTypes", {
|
|
100767
100767
|
style: _propTypes.default.object,
|
100768
100768
|
className: _propTypes.default.string,
|
100769
100769
|
autoZIndex: _propTypes.default.bool,
|
100770
|
-
|
100770
|
+
zIndex: _propTypes.default.number,
|
100771
100771
|
appendTo: _propTypes.default.any,
|
100772
100772
|
onShow: _propTypes.default.func,
|
100773
100773
|
onHide: _propTypes.default.func,
|
@@ -118086,7 +118086,6 @@ _defineProperty(MultiSelect, "defaultProps", {
|
|
118086
118086
|
disabled: false,
|
118087
118087
|
showClear: false,
|
118088
118088
|
filter: false,
|
118089
|
-
filterBy: null,
|
118090
118089
|
filterMatchMode: 'contains',
|
118091
118090
|
filterPlaceholder: null,
|
118092
118091
|
filterLocale: undefined,
|
@@ -118128,7 +118127,6 @@ _defineProperty(MultiSelect, "propTypes", {
|
|
118128
118127
|
disabled: _propTypes.default.bool,
|
118129
118128
|
showClear: _propTypes.default.bool,
|
118130
118129
|
filter: _propTypes.default.bool,
|
118131
|
-
filterBy: _propTypes.default.string,
|
118132
118130
|
filterMatchMode: _propTypes.default.string,
|
118133
118131
|
filterPlaceholder: _propTypes.default.string,
|
118134
118132
|
filterLocale: _propTypes.default.string,
|
@@ -143244,7 +143242,7 @@ exports.ResizablePanelsDoc = ResizablePanelsDoc;
|
|
143244
143242
|
/* 686 */
|
143245
143243
|
/***/ (function(module, exports) {
|
143246
143244
|
|
143247
|
-
module.exports = {"name":"superdesk-ui-framework","version":"3.0.
|
143245
|
+
module.exports = {"name":"superdesk-ui-framework","version":"3.0.43","license":"AGPL-3.0","repository":{"type":"git","url":"https://github.com/superdesk/superdesk-ui-framework.git"},"main":"dist/superdesk-ui.bundle.js","types":"react/index.d.ts","contributors":["Nemanja Pavlovic","Vladimir Stefanovic","Darko Tomic","Aleksandar Jelicic","Tomas Kikutis","Dragana Zivkovic"],"scripts":{"start":"webpack-dev-server --config tasks/webpack.dev.js","server":"webpack --watch --config tasks/webpack.prod.js && tsc-watch","build":"webpack --config tasks/webpack.prod.js && tsc","build-ui":"webpack && tsc && npm run lint","lint":"eslint --parser=@typescript-eslint/parser app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}'","lint-fix":"tsc -p tsconfig.json --noEmit && tslint --fix -c tslint.json 'app-typescript/**/*.{ts,tsx}'","prepublishOnly":"npm run build","unit-test":"mocha","debug-unit-tests":"mocha --inspect-brk"},"devDependencies":{"@types/assert":"^1.5.6","@types/chart.js":"^2.9.24","@types/classnames":"^2.2.9","@types/enzyme":"^3.10.12","@types/lodash":"^4.14.161","@types/mocha":"^9.1.1","@types/react":"16.8.23","@types/react-beautiful-dnd":"^13.1.2","@types/react-dom":"16.8.0","@types/react-router-dom":"^5.1.2","@types/react-scrollspy":"^3.3.5","@typescript-eslint/parser":"^5.58.0","angular":"^1.7.9","angular-animate":"^1.7.9","angular-route":"^1.7.9","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-react":"^6.24.1","classnames":"^2.2.5","clean-webpack-plugin":"^1.0.0","code-prettify":"^0.1.0","copy-webpack-plugin":"^4.6.0","css-loader":"^2.1.1","eslint":"^4.6.1","eslint-loader":"^1.9.0","eslint-plugin-angular":"^3.1.1","eslint-plugin-react":"^7.3.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^0.11.2","html-loader":"^0.5.1","html-webpack-plugin":"^2.30.1","jquery":"^3.1.1","jquery-ui":"^1.12.1","jsdom":"20.0.3","jsdom-global":"3.0.2","lodash":"4.17.21","mocha":"^8.4.0","node-sass":"6.0","prismjs":"^1.28.0","prop-types":"^15.6.0","react":"16.8.6","react-bootstrap":"^0.31.2","react-dom":"16.8.6","react-redux":"^5.0.6","react-router-dom":"^5.1.2","redux":"^3.7.2","redux-form":"^7.0.4","sass-loader":"^6.0.6","style-loader":"^0.18.2","superdesk-code-style":"^1.1.2","ts-loader":"^6.0.2","ts-node":"^10.9.1","tslint":"^5.18.0","typescript":"4.9.5","url-loader":"^1.1.2","webpack":"^3.5.5","webpack-cli":"3.3.10","webpack-dev-server":"2.11.1","webpack-merge":"^4.2.1"},"dependencies":{"@material-ui/lab":"^4.0.0-alpha.56","@popperjs/core":"^2.4.0","@superdesk/primereact":"^5.0.2-12","@superdesk/react-resizable-panels":"0.0.39","@types/enzyme-adapter-react-16":"^1.0.6","@types/node":"^14.10.2","chart.js":"^2.9.3","date-fns":"2.7.0","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.7","moment":"^2.29.3","popper-max-size-modifier":"^0.2.0","popper.js":"1.14.4","primeicons":"2.0.0","react-beautiful-dnd":"^13.0.0","react-id-generator":"^3.0.0","react-popper":"^2.2.3","react-scrollspy":"^3.4.3"}}
|
143248
143246
|
|
143249
143247
|
/***/ }),
|
143250
143248
|
/* 687 */
|