superdesk-ui-framework 3.0.1-beta.3 → 3.0.1-beta.30
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/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +14 -7
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_big-icon-font.scss +1 -1
- package/app/styles/_buttons.scss +11 -6
- package/app/styles/_content-divider.scss +63 -8
- package/app/styles/_helpers.scss +24 -1
- package/app/styles/_icon-font.scss +17 -10
- package/app/styles/_labels.scss +0 -1
- package/app/styles/_master-desk.scss +3 -2
- package/app/styles/_modals.scss +6 -3
- package/app/styles/_normalize.scss +4 -0
- package/app/styles/_sd-tag-input.scss +256 -296
- package/app/styles/_simple-list.scss +0 -2
- package/app/styles/_table-list.scss +116 -12
- package/app/styles/app.scss +1 -0
- package/app/styles/components/_list-item.scss +36 -17
- package/app/styles/components/_sd-collapse-box.scss +6 -6
- package/app/styles/components/_sd-comment-box.scss +8 -4
- package/app/styles/components/_sd-editor-popup.scss +4 -4
- package/app/styles/components/_sd-grid-item.scss +30 -16
- package/app/styles/components/_sd-media-carousel.scss +37 -2
- package/app/styles/components/_sd-photo-preview.scss +3 -3
- package/app/styles/components/_sd-searchbar.scss +7 -0
- package/app/styles/components/_subnav.scss +470 -470
- package/app/styles/design-tokens/_design-tokens-general.scss +1 -1
- package/app/styles/design-tokens/_new-colors.scss +30 -13
- package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
- package/app/styles/form-elements/_forms-general.scss +81 -7
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +368 -110
- package/app/styles/grids/_grid-layout.scss +34 -1
- package/app/styles/interface-elements/_side-panel.scss +1 -1
- package/app/styles/layout/_basic-layout.scss +2 -2
- package/app/styles/layout/_editor.scss +10 -4
- package/app/styles/primereact/_pr-datepicker.scss +4 -2
- package/app/styles/primereact/_pr-dialog.scss +5 -0
- package/app/styles/primereact/_pr-dropdown.scss +17 -1
- package/app/styles/primereact/_pr-menu.scss +6 -5
- package/app/styles/variables/_colors.scss +21 -21
- package/app-typescript/components/Badge.tsx +3 -2
- package/app-typescript/components/ContentDivider.tsx +3 -0
- package/app-typescript/components/DatePicker.tsx +40 -52
- package/app-typescript/components/Dropdown.tsx +127 -82
- package/app-typescript/components/DurationInput.tsx +400 -0
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormLabel.tsx +8 -1
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/InputBase.tsx +95 -0
- package/app-typescript/components/Form/InputNew.tsx +107 -0
- package/app-typescript/components/Form/InputWrapper.tsx +79 -0
- package/app-typescript/components/Form/index.tsx +4 -0
- package/app-typescript/components/Input.tsx +28 -45
- package/app-typescript/components/Label.tsx +65 -10
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +21 -2
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
- package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
- package/app-typescript/components/Layouts/CoreLayout.tsx +2 -1
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +7 -1
- package/app-typescript/components/Layouts/Layout.tsx +1 -1
- package/app-typescript/components/LeftMenu.tsx +127 -122
- package/app-typescript/components/Lists/ContentList.tsx +66 -33
- package/app-typescript/components/Lists/TableList.tsx +348 -151
- package/app-typescript/components/Menu.tsx +2 -2
- package/app-typescript/components/MultiSelect.tsx +37 -50
- package/app-typescript/components/NavButton.tsx +2 -1
- package/app-typescript/components/Navigation/BottomNav.tsx +3 -2
- package/app-typescript/components/SearchBar.tsx +39 -12
- package/app-typescript/components/Select.tsx +23 -41
- package/app-typescript/components/SelectWithTemplate.tsx +32 -7
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/TimePicker.tsx +38 -15
- package/app-typescript/components/TreeSelect.tsx +546 -212
- package/app-typescript/index.ts +6 -1
- package/dist/examples.bundle.css +344 -71
- package/dist/examples.bundle.js +48203 -45174
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/dist/react/Badges.tsx +18 -0
- package/dist/react/ContentDivider.tsx +22 -18
- package/dist/react/ContentList.tsx +200 -18
- package/dist/react/DatePicker.tsx +21 -1
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +108 -0
- package/dist/react/Index.tsx +5 -0
- package/dist/react/Inputs.tsx +147 -2
- package/dist/react/Labels.tsx +51 -1
- package/dist/react/LeftNavigations.tsx +71 -44
- package/dist/react/MultiSelect.tsx +10 -7
- package/dist/react/NavButtons.tsx +31 -1
- package/dist/react/SelectWithTemplate.tsx +6 -1
- package/dist/react/TableList.tsx +79 -186
- package/dist/react/TimePicker.tsx +22 -12
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/TreeSelect.tsx +295 -51
- package/dist/react/tree-select/TreeSelect.tsx +273 -0
- package/dist/react/tree-select/example-1.tsx +71 -0
- package/dist/react/tree-select/example-2.tsx +59 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +14 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +2282 -782
- package/dist/superdesk-ui.bundle.js +37312 -21800
- package/dist/vendor.bundle.js +27 -27
- package/examples/css/docs-page.css +4 -4
- package/examples/index.js +4 -0
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/examples/pages/react/Badges.tsx +18 -0
- package/examples/pages/react/ContentDivider.tsx +22 -18
- package/examples/pages/react/ContentList.tsx +200 -18
- package/examples/pages/react/DatePicker.tsx +21 -1
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +108 -0
- package/examples/pages/react/Index.tsx +5 -0
- package/examples/pages/react/Inputs.tsx +147 -2
- package/examples/pages/react/Labels.tsx +51 -1
- package/examples/pages/react/LeftNavigations.tsx +71 -44
- package/examples/pages/react/MultiSelect.tsx +10 -7
- package/examples/pages/react/NavButtons.tsx +31 -1
- package/examples/pages/react/SelectWithTemplate.tsx +6 -1
- package/examples/pages/react/TableList.tsx +79 -186
- package/examples/pages/react/TimePicker.tsx +22 -12
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +295 -51
- package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
- package/examples/pages/react/tree-select/example-1.tsx +71 -0
- package/examples/pages/react/tree-select/example-2.tsx +59 -0
- package/package.json +5 -5
- package/react/components/Badge.d.ts +1 -0
- package/react/components/Badge.js +2 -2
- package/react/components/ContentDivider.d.ts +1 -0
- package/react/components/ContentDivider.js +2 -0
- package/react/components/DatePicker.d.ts +1 -0
- package/react/components/DatePicker.js +6 -22
- package/react/components/Dropdown.d.ts +6 -5
- package/react/components/Dropdown.js +57 -30
- package/react/components/DurationInput.d.ts +42 -0
- package/react/components/DurationInput.js +364 -0
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +1 -1
- package/react/components/Form/FormLabel.d.ts +4 -1
- package/react/components/Form/FormLabel.js +9 -3
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/InputBase.d.ts +41 -0
- package/react/components/Form/InputBase.js +86 -0
- package/react/components/Form/InputNew.d.ts +45 -0
- package/react/components/Form/InputNew.js +75 -0
- package/react/components/Form/InputWrapper.d.ts +28 -0
- package/react/components/Form/InputWrapper.js +91 -0
- package/react/components/Form/index.d.ts +4 -0
- package/react/components/Form/index.js +9 -1
- package/react/components/Input.js +5 -34
- package/react/components/Label.d.ts +2 -0
- package/react/components/Label.js +34 -3
- package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
- package/react/components/Layouts/AuthoringContainer.js +1 -1
- package/react/components/Layouts/AuthoringFrame.d.ts +1 -0
- package/react/components/Layouts/AuthoringFrame.js +1 -1
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +9 -2
- package/react/components/Layouts/AuthoringFrameRightBar.js +14 -3
- package/react/components/Layouts/AuthoringInnerHeader.js +1 -1
- package/react/components/Layouts/AuthoringMain.js +1 -1
- package/react/components/Layouts/CoreLayout.d.ts +1 -0
- package/react/components/Layouts/CoreLayout.js +1 -1
- package/react/components/Layouts/CoreLayoutMain.d.ts +1 -0
- package/react/components/Layouts/CoreLayoutMain.js +8 -1
- package/react/components/Layouts/Layout.js +1 -1
- package/react/components/LeftMenu.d.ts +3 -1
- package/react/components/LeftMenu.js +8 -1
- package/react/components/Lists/ContentList.d.ts +51 -0
- package/react/components/Lists/ContentList.js +110 -0
- package/react/components/Lists/TableList.d.ts +64 -0
- package/react/components/Lists/TableList.js +240 -0
- package/react/components/Menu.js +1 -1
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/components/NavButton.d.ts +1 -1
- package/react/components/Navigation/BottomNav.d.ts +1 -0
- package/react/components/Navigation/BottomNav.js +2 -2
- package/react/components/SearchBar.d.ts +3 -2
- package/react/components/SearchBar.js +28 -4
- package/react/components/Select.d.ts +1 -1
- package/react/components/Select.js +4 -26
- package/react/components/SelectWithTemplate.d.ts +11 -1
- package/react/components/SelectWithTemplate.js +19 -10
- package/react/components/TimePicker.d.ts +11 -1
- package/react/components/TimePicker.js +10 -3
- package/react/components/TreeSelect.d.ts +82 -0
- package/react/components/TreeSelect.js +521 -0
- package/react/index.d.ts +6 -0
- package/react/index.js +16 -3
- package/.vscode/settings.json +0 -5
- package/app-typescript/dist/components/Alert.d.ts +0 -16
- package/app-typescript/dist/components/Autocomplete.d.ts +0 -48
- package/app-typescript/dist/components/Avatar.d.ts +0 -33
- package/app-typescript/dist/components/Badge.d.ts +0 -13
- package/app-typescript/dist/components/Button.d.ts +0 -23
- package/app-typescript/dist/components/ButtonGroup.d.ts +0 -12
- package/app-typescript/dist/components/CheckButtonGroup.d.ts +0 -11
- package/app-typescript/dist/components/CheckGroup.d.ts +0 -9
- package/app-typescript/dist/components/Checkbox.d.ts +0 -19
- package/app-typescript/dist/components/CheckboxButton.d.ts +0 -19
- package/app-typescript/dist/components/DatePicker.d.ts +0 -37
- package/app-typescript/dist/components/Divider.d.ts +0 -9
- package/app-typescript/dist/components/DonutChart.d.ts +0 -12
- package/app-typescript/dist/components/Dropdown.d.ts +0 -28
- package/app-typescript/dist/components/DropdownFirst.d.ts +0 -42
- package/app-typescript/dist/components/EmptyState.d.ts +0 -11
- package/app-typescript/dist/components/FormLabel.d.ts +0 -9
- package/app-typescript/dist/components/Genie.d.ts +0 -13
- package/app-typescript/dist/components/GridItem.d.ts +0 -69
- package/app-typescript/dist/components/GridList.d.ts +0 -14
- package/app-typescript/dist/components/HeadingText.d.ts +0 -10
- package/app-typescript/dist/components/HelloWorld.d.ts +0 -8
- package/app-typescript/dist/components/Icon.d.ts +0 -12
- package/app-typescript/dist/components/IconButton.d.ts +0 -12
- package/app-typescript/dist/components/IconLabel.d.ts +0 -11
- package/app-typescript/dist/components/Input.d.ts +0 -24
- package/app-typescript/dist/components/Label.d.ts +0 -15
- package/app-typescript/dist/components/LeftMenu.d.ts +0 -26
- package/app-typescript/dist/components/Loader.d.ts +0 -8
- package/app-typescript/dist/components/NavButton.d.ts +0 -15
- package/app-typescript/dist/components/Popover.d.ts +0 -13
- package/app-typescript/dist/components/PropsList.d.ts +0 -15
- package/app-typescript/dist/components/Radio.d.ts +0 -19
- package/app-typescript/dist/components/RadioButton.d.ts +0 -20
- package/app-typescript/dist/components/Select.d.ts +0 -29
- package/app-typescript/dist/components/SelectWithTemplate.d.ts +0 -32
- package/app-typescript/dist/components/SlidingToolbar.d.ts +0 -8
- package/app-typescript/dist/components/StrechBar.d.ts +0 -4
- package/app-typescript/dist/components/SubNav.d.ts +0 -10
- package/app-typescript/dist/components/Switch.d.ts +0 -12
- package/app-typescript/dist/components/TabCustom.d.ts +0 -25
- package/app-typescript/dist/components/TabList.d.ts +0 -22
- package/app-typescript/dist/components/Tag.d.ts +0 -9
- package/app-typescript/dist/components/TagInput.d.ts +0 -7
- package/app-typescript/dist/components/TagInputTest.d.ts +0 -18
- package/app-typescript/dist/components/TimePicker.d.ts +0 -11
- package/app-typescript/dist/components/Tooltip.d.ts +0 -11
- package/app-typescript/dist/components/_Positioner.d.ts +0 -27
- package/app-typescript/dist/index.d.ts +0 -56
- package/patches/@superdesk+primereact+5.0.2-4.patch +0 -57
- package/yarn-error.log +0 -111
@@ -5,6 +5,8 @@
|
|
5
5
|
display: flex;
|
6
6
|
flex-direction: column;
|
7
7
|
align-self: stretch;
|
8
|
+
overflow: hidden !important;
|
9
|
+
padding: 1px;
|
8
10
|
//gap: $sd-base-increment * 1.5;
|
9
11
|
&--comfortable {
|
10
12
|
gap: $sd-base-increment * 2;
|
@@ -14,32 +16,26 @@
|
|
14
16
|
}
|
15
17
|
}
|
16
18
|
|
19
|
+
.table-list--read-only {
|
20
|
+
pointer-events: none;
|
21
|
+
cursor: default;
|
22
|
+
}
|
23
|
+
|
17
24
|
$table-list-palette: $sd-basic-palette;
|
18
25
|
|
19
26
|
.table-list__item {
|
20
27
|
display: grid;
|
21
|
-
z-index: 1;
|
22
28
|
align-items: center;
|
23
29
|
grid-template-columns: [contentCol] 1fr [actionsVisible] auto [actionsHidden] auto;
|
24
30
|
position: relative;
|
25
31
|
flex-direction: row;
|
26
|
-
padding:
|
32
|
+
padding: $sd-base-increment;
|
27
33
|
min-height: 4.2rem;
|
28
34
|
border-radius: var(--b-radius--medium);
|
29
35
|
background-color: var(--sd-item__main-Bg);
|
30
36
|
border: 1px solid var(--sd-colour-line--light);
|
31
37
|
transition: all 0.2s ease-in-out;
|
32
38
|
inset-inline-start: 0;
|
33
|
-
&::before {
|
34
|
-
content: "";
|
35
|
-
width: 6px;
|
36
|
-
position: absolute;
|
37
|
-
inset-block: 3px;
|
38
|
-
inset-inline-start: 3px;
|
39
|
-
background-color: var(--sd-colour-panel-bg--100);
|
40
|
-
z-index: 1;
|
41
|
-
border-radius: 2px;
|
42
|
-
}
|
43
39
|
|
44
40
|
&--margin {
|
45
41
|
margin-bottom: $sd-base-increment;
|
@@ -89,6 +85,10 @@ $table-list-palette: $sd-basic-palette;
|
|
89
85
|
}
|
90
86
|
}
|
91
87
|
}
|
88
|
+
&--locked {
|
89
|
+
border-color: hsla(350, 70%, 60%, 0.75);
|
90
|
+
border-left-color: hsla(350, 70%, 60%, 0.75) !important;
|
91
|
+
}
|
92
92
|
&.table-list__item--selected.table-list__item--clickable {
|
93
93
|
&:hover {
|
94
94
|
box-shadow: var(--sd-shadow__item--selected-thin);
|
@@ -117,6 +117,39 @@ $table-list-palette: $sd-basic-palette;
|
|
117
117
|
}
|
118
118
|
}
|
119
119
|
|
120
|
+
.table-list__add-item {
|
121
|
+
display: grid;
|
122
|
+
align-items: center;
|
123
|
+
//grid-template-columns: [contentCol] 1fr [actionsVisible] auto [actionsHidden] auto;
|
124
|
+
position: relative;
|
125
|
+
flex-direction: row;
|
126
|
+
padding: 8px;
|
127
|
+
min-height: 4.2rem;
|
128
|
+
border-radius: var(--b-radius--medium);
|
129
|
+
background-color: transparent;
|
130
|
+
border: 1px dashed var(--sd-colour-line--medium);
|
131
|
+
transition: all 0.2s ease-in-out;
|
132
|
+
inset-inline-start: 0;
|
133
|
+
|
134
|
+
&--container {
|
135
|
+
display: flex;
|
136
|
+
justify-content: center;
|
137
|
+
align-items: center;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.table-list__item-border {
|
142
|
+
width: 6px;
|
143
|
+
background-color: var(--sd-colour-panel-bg--100);
|
144
|
+
z-index: 2;
|
145
|
+
position: absolute;
|
146
|
+
inset-block: 3px;
|
147
|
+
inset-inline-start: 3px;
|
148
|
+
border-radius: 2px;
|
149
|
+
}
|
150
|
+
|
151
|
+
|
152
|
+
|
120
153
|
.table-list__item-content {
|
121
154
|
grid-column: contentCol;
|
122
155
|
grid-row: mainRow;
|
@@ -128,6 +161,15 @@ $table-list-palette: $sd-basic-palette;
|
|
128
161
|
align-items: center;
|
129
162
|
gap:8px;
|
130
163
|
}
|
164
|
+
.table-list__item-border {
|
165
|
+
width: 6px;
|
166
|
+
background-color: var(--sd-colour-panel-bg--100);
|
167
|
+
z-index: 2;
|
168
|
+
position: absolute;
|
169
|
+
inset-block: 3px;
|
170
|
+
inset-inline-start: 3px;
|
171
|
+
border-radius: 2px;
|
172
|
+
}
|
131
173
|
.table-list__item-content-block {
|
132
174
|
display: flex;
|
133
175
|
align-items: center;
|
@@ -224,6 +266,7 @@ $table-list-palette: $sd-basic-palette;
|
|
224
266
|
transition: all ease 0.3s;
|
225
267
|
}
|
226
268
|
}
|
269
|
+
|
227
270
|
.table-list__add-bar {
|
228
271
|
height: 12px;
|
229
272
|
display: flex;
|
@@ -237,8 +280,69 @@ $table-list-palette: $sd-basic-palette;
|
|
237
280
|
background-color: var(--sd-colour-panel-bg--000);
|
238
281
|
transform: scale(0.5);
|
239
282
|
}
|
283
|
+
|
240
284
|
.side-panel__content-block {
|
241
285
|
.table-list__item-content {
|
242
286
|
grid-template-columns: [columnLeft] 140px [columncenter] 1fr [columnRight] auto;
|
243
287
|
}
|
244
288
|
}
|
289
|
+
|
290
|
+
.table-list--gap-s {
|
291
|
+
gap: $sd-base-increment;
|
292
|
+
}
|
293
|
+
|
294
|
+
.table-list__item--draggable {
|
295
|
+
&.table-list__item--drag-handles-always {
|
296
|
+
border-left-width: 16px;
|
297
|
+
border-left-color: var(--sd-colour-line--medium);
|
298
|
+
&::after {
|
299
|
+
content: "";
|
300
|
+
width: 20px;
|
301
|
+
position: absolute;
|
302
|
+
inset-block: -1px;
|
303
|
+
inset-inline-start: -18px;
|
304
|
+
background-image: url(../img/dots.svg);
|
305
|
+
background-repeat: no-repeat;
|
306
|
+
background-position: center center;
|
307
|
+
z-index: 2;
|
308
|
+
border-radius: var(--b-radius--small);
|
309
|
+
opacity: 0.85;
|
310
|
+
}
|
311
|
+
&:hover {
|
312
|
+
border-left-color: var(--sd-colour-line--strong);
|
313
|
+
&::after {
|
314
|
+
cursor: grab;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
&:active {
|
318
|
+
border-color: var(--sd-colour-interactive);
|
319
|
+
cursor: grabbing;
|
320
|
+
&::after {
|
321
|
+
opacity: 1 !important;
|
322
|
+
cursor: grabbing;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
}
|
326
|
+
&.table-list__item--drag-handles-none {
|
327
|
+
border-left-width: 1px;
|
328
|
+
&::after {
|
329
|
+
content: "";
|
330
|
+
width: 0;
|
331
|
+
opacity: 0;
|
332
|
+
}
|
333
|
+
&:hover {
|
334
|
+
border-left-color: var(--sd-colour-line--strong);
|
335
|
+
&::after {
|
336
|
+
cursor: grab;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
&:active {
|
340
|
+
border-color: var(--sd-colour-interactive);
|
341
|
+
cursor: grabbing;
|
342
|
+
&::after {
|
343
|
+
opacity: 1 !important;
|
344
|
+
cursor: grabbing;
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
package/app/styles/app.scss
CHANGED
@@ -16,6 +16,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
16
16
|
flex-direction: row;
|
17
17
|
background-color: $sd-ListItem-background;
|
18
18
|
transition: background-color 0.2s linear;
|
19
|
+
flex-shrink: 0;
|
19
20
|
&:hover {
|
20
21
|
background-color: $sd-ListItem-background-hover;
|
21
22
|
cursor: pointer;
|
@@ -57,6 +58,17 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
57
58
|
}
|
58
59
|
}
|
59
60
|
&.actioning {
|
61
|
+
&:hover {
|
62
|
+
//pointer-events: none;
|
63
|
+
//cursor: default !important;
|
64
|
+
cursor: progress;
|
65
|
+
.sd-list-item__action-menu {
|
66
|
+
padding: 0;
|
67
|
+
width: 0;
|
68
|
+
overflow: hidden;
|
69
|
+
opacity: 0;
|
70
|
+
}
|
71
|
+
}
|
60
72
|
&::before {
|
61
73
|
content: '';
|
62
74
|
position: absolute;
|
@@ -69,7 +81,8 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
69
81
|
background-repeat: no-repeat;
|
70
82
|
background-position: center center;
|
71
83
|
background-size: 45px;
|
72
|
-
background-color:
|
84
|
+
background-color: var(--sd-colour-overlay-actioning);
|
85
|
+
border-radius: var(--b-radius--small);
|
73
86
|
}
|
74
87
|
}
|
75
88
|
&.locked {
|
@@ -292,12 +305,6 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
292
305
|
flex-grow: 1;
|
293
306
|
}
|
294
307
|
|
295
|
-
// Overrides for inner elements
|
296
|
-
// .sd-list-item {
|
297
|
-
// .label {
|
298
|
-
// margin-right: 0.6rem;
|
299
|
-
// }
|
300
|
-
// }
|
301
308
|
|
302
309
|
.sd-list-item {
|
303
310
|
.badge {
|
@@ -308,14 +315,15 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
308
315
|
.sd-list-item {
|
309
316
|
[class^="icon-"],
|
310
317
|
[class*=" icon-"] {
|
311
|
-
opacity: 0.
|
318
|
+
opacity: 0.75;
|
312
319
|
vertical-align: middle;
|
320
|
+
color: var(--color-icon-default);
|
313
321
|
}
|
314
322
|
time {
|
315
323
|
[class^="icon-"],
|
316
324
|
[class*=" icon-"] {
|
317
325
|
vertical-align: top;
|
318
|
-
margin-
|
326
|
+
margin-inline-end: 0.2rem;
|
319
327
|
}
|
320
328
|
}
|
321
329
|
}
|
@@ -363,17 +371,28 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
363
371
|
}
|
364
372
|
.sd-list-item__inline-icon,
|
365
373
|
.sd-list-item__inline-text {
|
366
|
-
margin-
|
374
|
+
margin-inline-end: 0.6rem;
|
375
|
+
}
|
376
|
+
|
377
|
+
.sd-list-item__icon-group {
|
378
|
+
display: flex;
|
379
|
+
align-items: flex-start;
|
380
|
+
gap: var(--gap--small);
|
381
|
+
min-height: 2rem;
|
382
|
+
margin-inline-end: 4px;
|
383
|
+
.sd-list-item__inline-icon {
|
384
|
+
margin: 0;
|
385
|
+
}
|
367
386
|
}
|
368
387
|
.sd-list-item__text-strong {
|
369
388
|
font-weight: 500;
|
370
389
|
color: $sd-text;
|
371
390
|
}
|
372
391
|
.sd-list-item__element-rm-10 {
|
373
|
-
margin-
|
392
|
+
margin-inline-end: 1rem;
|
374
393
|
}
|
375
394
|
.sd-list-item__element-lm-10 {
|
376
|
-
margin-
|
395
|
+
margin-inline-start: 1rem;
|
377
396
|
}
|
378
397
|
.sd-list-item__location {
|
379
398
|
padding-left: 1.6rem;
|
@@ -405,7 +424,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
405
424
|
width: 3rem;
|
406
425
|
background-color: $avatarBG;
|
407
426
|
border-radius: $border-radius__base--full;
|
408
|
-
margin-
|
427
|
+
margin-inline-end: 0.6rem;
|
409
428
|
color: $white;
|
410
429
|
text-align: center;
|
411
430
|
text-transform: uppercase;
|
@@ -434,8 +453,8 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
434
453
|
border: 1px dashed rgba(123, 123, 123, 0.6);
|
435
454
|
}
|
436
455
|
&--on-right {
|
437
|
-
margin-
|
438
|
-
margin-
|
456
|
+
margin-inline-end: 0;
|
457
|
+
margin-inline-start: 0.6rem;
|
439
458
|
}
|
440
459
|
}
|
441
460
|
|
@@ -477,7 +496,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
477
496
|
z-index: 0;
|
478
497
|
display: flex;
|
479
498
|
flex-direction: column;
|
480
|
-
margin-
|
499
|
+
margin-inline-start: 1rem;
|
481
500
|
.sd-list-item {
|
482
501
|
margin-top: 0;
|
483
502
|
border-top: 1px solid var(--sd-colour-line--x-light);
|
@@ -570,7 +589,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
|
|
570
589
|
}
|
571
590
|
}
|
572
591
|
.sd-list-header__number {
|
573
|
-
margin-
|
592
|
+
margin-inline-start: 1rem;
|
574
593
|
}
|
575
594
|
.sd-list-header__stretch-bar {
|
576
595
|
flex-grow: 1;
|
@@ -3,9 +3,10 @@
|
|
3
3
|
.sd-collapse-box {
|
4
4
|
display: flex;
|
5
5
|
flex-direction: column;
|
6
|
-
border-radius: $border-radius__base--
|
6
|
+
border-radius: $border-radius__base--small;
|
7
7
|
position: relative;
|
8
8
|
margin-bottom: 1rem;
|
9
|
+
border: 1px solid var(--sd-colour--shadow-line--m);
|
9
10
|
.sd-collapse-box__header {
|
10
11
|
display: block;
|
11
12
|
flex-grow: 0;
|
@@ -18,7 +19,7 @@
|
|
18
19
|
right: 1rem;
|
19
20
|
top: 0.8rem;
|
20
21
|
z-index: 2;
|
21
|
-
color:
|
22
|
+
color: var(--color-icon-default);
|
22
23
|
&--flex {
|
23
24
|
position: relative;
|
24
25
|
right: 0;
|
@@ -29,17 +30,17 @@
|
|
29
30
|
}
|
30
31
|
.sd-collapse-box__collapse-btn {
|
31
32
|
flex-grow: 1;
|
32
|
-
color:
|
33
|
+
color: var(--color-icon-default);
|
33
34
|
&:hover {
|
34
35
|
.icn-btn {
|
35
|
-
background-color:
|
36
|
+
background-color: hsla(214, 13%, 60%, 0.25);
|
36
37
|
color: $white;
|
37
38
|
opacity: 1;
|
38
39
|
}
|
39
40
|
}
|
40
41
|
&:active {
|
41
42
|
.icn-btn {
|
42
|
-
background-color:
|
43
|
+
background-color: hsla(214, 13%, 70%, 0.25);
|
43
44
|
color: $sd-colour-interactive;
|
44
45
|
opacity: 1;
|
45
46
|
}
|
@@ -70,7 +71,6 @@
|
|
70
71
|
margin: 0 -2rem 3rem -2rem;
|
71
72
|
&--top {
|
72
73
|
margin-top: 2.2rem;
|
73
|
-
background-color: rgba(0,0,0,0.04);
|
74
74
|
}
|
75
75
|
}
|
76
76
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
.comment-box__reply-item {
|
2
|
-
border-bottom: 1px solid
|
2
|
+
border-bottom: 1px solid var(--sd-colour-line--light);
|
3
3
|
}
|
4
4
|
|
5
5
|
.comment-box__input {
|
6
6
|
padding: 0.4rem;
|
7
|
-
border-radius: $border-radius__base--
|
8
|
-
border: 1px solid
|
7
|
+
border-radius: $border-radius__base--small;
|
8
|
+
border: 1px solid var(--sd-colour-line--light);
|
9
9
|
height: 2.8rem;
|
10
10
|
resize: none;
|
11
11
|
}
|
@@ -13,7 +13,10 @@
|
|
13
13
|
display: none;
|
14
14
|
padding-top: 1rem;
|
15
15
|
&--active {
|
16
|
-
display:
|
16
|
+
display: flex;
|
17
|
+
justify-content: flex-end;
|
18
|
+
align-items: center;
|
19
|
+
gap: var(--gap--small);
|
17
20
|
}
|
18
21
|
}
|
19
22
|
.comment-box__button-toolbar {
|
@@ -22,6 +25,7 @@
|
|
22
25
|
flex-direction: row;
|
23
26
|
align-items: center;
|
24
27
|
justify-content: flex-start;
|
28
|
+
gap: var(--gap--small);
|
25
29
|
&--right {
|
26
30
|
justify-content: flex-end;
|
27
31
|
}
|
@@ -17,11 +17,11 @@ $editor-popup-padding: 1.6rem;
|
|
17
17
|
|
18
18
|
.editor-popup__main {
|
19
19
|
display: flex;
|
20
|
-
color:
|
20
|
+
color: var(--color-text);
|
21
21
|
width: 32rem;
|
22
22
|
max-height: 100%;
|
23
23
|
&.editor-popup__main--floating {
|
24
|
-
background-color:
|
24
|
+
background-color: var(--color-dropdown-menu-Bg);
|
25
25
|
z-index: 2;
|
26
26
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 3px 1px -2px rgba(0, 0, 0, 0.1);
|
27
27
|
}
|
@@ -84,6 +84,6 @@ $editor-popup-padding: 1.6rem;
|
|
84
84
|
}
|
85
85
|
|
86
86
|
.editor-popup__secondary-content {
|
87
|
-
background-color:
|
88
|
-
border-top: 1px solid
|
87
|
+
background-color: hsla(214, 13%, 48%, 0.05);
|
88
|
+
border-top: 1px solid var(--sd-colour-line--light);
|
89
89
|
}
|
@@ -74,9 +74,13 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
|
|
74
74
|
display: flex;
|
75
75
|
flex-direction: row;
|
76
76
|
align-items: center;
|
77
|
-
margin-inline-start:
|
77
|
+
margin-inline-start: $sd-base-increment;
|
78
78
|
justify-content: flex-end;
|
79
79
|
visibility: hidden;
|
80
|
+
max-width: 0;
|
81
|
+
opacity: 0;
|
82
|
+
padding-inline-end: 0;
|
83
|
+
transition: all 0.2s ease;
|
80
84
|
&--visible {
|
81
85
|
visibility: visible;
|
82
86
|
opacity: 0.5;
|
@@ -226,6 +230,10 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
|
|
226
230
|
}
|
227
231
|
.sd-grid-item__footer-actions {
|
228
232
|
visibility: visible;
|
233
|
+
padding-inline-end: 0.4rem;
|
234
|
+
max-width: 32px;
|
235
|
+
margin-inline-start: auto;
|
236
|
+
opacity: 1;
|
229
237
|
&--visible {
|
230
238
|
opacity: 1;
|
231
239
|
}
|
@@ -246,6 +254,16 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
|
|
246
254
|
visibility: visible;
|
247
255
|
}
|
248
256
|
}
|
257
|
+
.sd-grid-item__footer-actions {
|
258
|
+
visibility: visible;
|
259
|
+
padding-inline-end: 0.4rem;
|
260
|
+
max-width: 32px;
|
261
|
+
margin-inline-start: auto;
|
262
|
+
opacity: 1;
|
263
|
+
&--visible {
|
264
|
+
opacity: 1;
|
265
|
+
}
|
266
|
+
}
|
249
267
|
}
|
250
268
|
&.sd-grid-item--overflow-v {
|
251
269
|
overflow: visible;
|
@@ -402,42 +420,38 @@ $sd-grid-item-shadow-activated: 0 0 0 2px var(--sd-colour-interactive--
|
|
402
420
|
display: flex;
|
403
421
|
flex-direction: row;
|
404
422
|
align-items: center;
|
405
|
-
&--multi-l
|
423
|
+
&--multi-l,
|
424
|
+
&--multi-r {
|
406
425
|
flex-grow: 1;
|
407
426
|
display: flex;
|
408
427
|
flex-direction: row;
|
409
428
|
align-items: center;
|
410
|
-
|
429
|
+
gap: $sd-base-increment;
|
430
|
+
}
|
431
|
+
&--multi-l {
|
432
|
+
justify-content: flex-start;
|
411
433
|
}
|
412
434
|
&--multi-r {
|
413
|
-
flex-grow: 1;
|
414
|
-
display: flex;
|
415
|
-
flex-direction: row;
|
416
|
-
align-items: center;
|
417
435
|
justify-content: flex-end;
|
418
|
-
padding-inline-end: 0.4rem;
|
419
436
|
}
|
420
437
|
&--single-r {
|
421
438
|
flex-grow: 0;
|
422
439
|
}
|
440
|
+
&--left,
|
441
|
+
&--right {
|
442
|
+
gap: $sd-base-increment;
|
443
|
+
}
|
423
444
|
&--left {
|
424
445
|
margin-inline-end: auto;
|
425
446
|
justify-content: flex-start;
|
426
|
-
|
427
|
-
> * {
|
428
|
-
margin: 0 0.4rem;
|
429
|
-
}
|
447
|
+
padding-inline-start: $sd-base-increment;
|
430
448
|
}
|
431
449
|
&--right {
|
432
450
|
margin-inline-start: auto;
|
433
451
|
justify-content: flex-end;
|
434
|
-
> * {
|
435
|
-
margin: 0 0.4rem;
|
436
|
-
}
|
437
452
|
}
|
438
453
|
}
|
439
454
|
.sd-grid-item__footer-block-item {
|
440
|
-
margin: 0 0.4rem;
|
441
455
|
flex-shrink: 0;
|
442
456
|
}
|
443
457
|
time {
|
@@ -290,8 +290,10 @@ $background-active: scale-color($background, $alpha: 100%))
|
|
290
290
|
font-weight: 300;
|
291
291
|
line-height: 140%;
|
292
292
|
border: 1px solid transparent;
|
293
|
-
transition: all ease-in-out 0.2s;
|
294
|
-
|
293
|
+
transition: all ease-in-out 0.2s;
|
294
|
+
background-color: transparent;
|
295
|
+
&[contenteditable="true"],
|
296
|
+
&textarea:not(disabled) {
|
295
297
|
&:hover {
|
296
298
|
border-color: var(--sd-colour-interactive--alpha-60);
|
297
299
|
}
|
@@ -312,6 +314,39 @@ $background-active: scale-color($background, $alpha: 100%))
|
|
312
314
|
}
|
313
315
|
|
314
316
|
}
|
317
|
+
textarea.sd-media-carousel__media-caption,
|
318
|
+
textarea.sd-media-carousel__media-title {
|
319
|
+
color: inherit;
|
320
|
+
position: relative;
|
321
|
+
padding: 1.2rem;
|
322
|
+
width: 100%;
|
323
|
+
font-size: 1.4rem;
|
324
|
+
text-align: start;
|
325
|
+
font-weight: 300;
|
326
|
+
line-height: 140%;
|
327
|
+
border: 1px solid transparent;
|
328
|
+
transition: all ease-in-out 0.2s;
|
329
|
+
background-color: transparent;
|
330
|
+
&:not(disabled) {
|
331
|
+
&:hover {
|
332
|
+
border-color: var(--sd-colour-interactive--alpha-60);
|
333
|
+
}
|
334
|
+
&:focus {
|
335
|
+
border-color: $sd-colour-interactive;
|
336
|
+
box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-30);
|
337
|
+
}
|
338
|
+
&:empty {
|
339
|
+
&:before {
|
340
|
+
position: absolute;
|
341
|
+
content: attr(sd-placeholder) " ";
|
342
|
+
opacity: 0.55;
|
343
|
+
color: inherit;
|
344
|
+
font-weight: 300;
|
345
|
+
cursor: text;
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
315
350
|
.sd-media-carousel__media-caption {
|
316
351
|
min-height: 4rem;
|
317
352
|
}
|
@@ -60,7 +60,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
60
60
|
background-repeat: no-repeat;
|
61
61
|
background-position: center center;
|
62
62
|
background-size: 60px;
|
63
|
-
background-color:
|
63
|
+
background-color: var(--sd-colour-overlay-actioning);
|
64
64
|
}
|
65
65
|
}
|
66
66
|
}
|
@@ -338,11 +338,11 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
338
338
|
}
|
339
339
|
|
340
340
|
.sd-photo-preview__slide-in-button {
|
341
|
-
position: absolute;
|
341
|
+
position: absolute !important;
|
342
342
|
top: 2.4rem;
|
343
343
|
right: 0;
|
344
344
|
z-index: 2;
|
345
|
-
background-color:
|
345
|
+
background-color: hsla(0, 0%, 100%, 0.1);
|
346
346
|
height:4.8rem;
|
347
347
|
width:4.8rem;
|
348
348
|
color: $white;
|