Skip to content

Commit 415dcef

Browse files
authored
v1.0.5
* node-status-card :: When going from schedule to publish make sure to reset the publish date to now. * sortables style improvements.
1 parent 9fb6fea commit 415dcef

File tree

11 files changed

+1146
-445
lines changed

11 files changed

+1146
-445
lines changed

CHANGELOG-1.x.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# CHANGELOG
22

33

4+
## v1.0.5
5+
* node-status-card :: When going from schedule to publish make sure to reset the publish date to now.
6+
* sortables style improvements.
7+
8+
49
## v1.0.4
510
* When creating a new teaser that has a target, copy over description and image_ref as well.
611
* Wrap poll stats card answer text.

demo/package-lock.json

Lines changed: 77 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1026 additions & 338 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triniti/cms",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"license": "Apache-2.0",
55
"description": "A single page app for managing triniti schemas and services.",
66
"repository": {

src/assets/styles/_variables.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,10 @@ $focus-ring-opacity: .5; // .25 !default
627627
$focus-ring-color: rgba($secondary, $focus-ring-opacity) !default; // rgba($primary, $focus-ring-opacity) !default
628628
$focus-ring-blur: 0 !default;
629629
$focus-ring-box-shadow: 0 0 0 1px var(--#{$prefix}body-bg), 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color !default;
630+
$focus-ring-color-danger: rgba($danger, $focus-ring-opacity) !default;
631+
$focus-ring-box-shadow-danger: 0 0 0 1px var(--#{$prefix}body-bg), 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color-danger !default;
632+
$focus-ring-color-success: rgba($success, $focus-ring-opacity) !default;
633+
$focus-ring-box-shadow-success: 0 0 0 1px var(--#{$prefix}body-bg), 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color-success !default;
630634
// scss-docs-end focus-ring-variables
631635

632636
// scss-docs-start caret-variables

src/assets/styles/base/_master.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,3 +684,11 @@ div:not(.ratio) > iframe {
684684
margin-left: auto;
685685
margin-right: auto;
686686
}
687+
688+
.focus-ring-box-shadow-danger {
689+
box-shadow: $focus-ring-box-shadow-danger;
690+
}
691+
692+
.focus-ring-box-shadow-success {
693+
box-shadow: $focus-ring-box-shadow-success;
694+
}

src/plugins/apollo/components/poll-screen/SortableAnswer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function SortableAnswer(props) {
3030
opacity: isDragging ? 0.75 : undefined,
3131
boxShadow: isDragging ? '0 0 0 2px rgba(8, 160, 232, 0.3), 0 4px 12px rgba(0,0,0,0.2)' : undefined,
3232
borderColor: isDragging ? 'var(--bs-secondary)' : undefined,
33+
zIndex: isDragging ? '100' : undefined,
3334
transform: CSS.Transform.toString(transform),
3435
transition,
3536
};
@@ -40,13 +41,13 @@ export default function SortableAnswer(props) {
4041
<li
4142
ref={setNodeRef}
4243
key={id}
43-
className="sortable-item d-flex flex-nowrap align-items-center"
44+
className="sortable-item d-flex flex-nowrap align-items-center ps-1"
4445
data-id={id}
4546
data-index={index}
4647
style={style}
4748
>
4849
{editMode && (
49-
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1 ps-1">
50+
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1">
5051
<button className="sortable-drag-handle btn-hover btn-hover-bg" {...attributes} {...listeners}>
5152
<Icon imgSrc="drag" />
5253
</button>

src/plugins/curator/components/gallery-screen/images-tab/SortableImage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default function SortableImage(props) {
3333
width: 'calc(10% - 16px)',
3434
boxShadow: isDragging ? '0 4px 12px rgba(0,0,0,0.5)' : undefined,
3535
borderColor: isDragging ? 'var(--bs-body-bg) !important' : undefined,
36+
zIndex: isDragging ? '100' : undefined,
3637
transform: CSS.Transform.toString(transform),
3738
transition,
3839
};

src/plugins/curator/components/promotion-screen/SortableSlot.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default function SortableSlot(props) {
3939
opacity: isDragging ? 0.75 : undefined,
4040
boxShadow: isDragging ? '0 0 0 2px rgba(8, 160, 232, 0.3), 0 4px 12px rgba(0,0,0,0.2)' : undefined,
4141
borderColor: isDragging ? 'var(--bs-secondary)' : undefined,
42+
zIndex: isDragging ? '100' : undefined,
4243
transform: CSS.Transform.toString(transform),
4344
transition,
4445
};
@@ -49,13 +50,13 @@ export default function SortableSlot(props) {
4950
<li
5051
ref={setNodeRef}
5152
key={id}
52-
className="sortable-item d-flex flex-nowrap align-items-center"
53+
className="sortable-item d-flex flex-nowrap align-items-center ps-1"
5354
data-id={id}
5455
data-index={index}
5556
style={style}
5657
>
5758
{editMode && (
58-
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1 ps-1">
59+
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1">
5960
<button className="sortable-drag-handle btn-hover btn-hover-bg" {...attributes} {...listeners}>
6061
<Icon imgSrc="drag" />
6162
</button>

src/plugins/ncr/components/node-picker-field/SortableValues.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function SortableValue(props) {
5353
opacity: isDragging ? 0.75 : undefined,
5454
boxShadow: isDragging ? '0 0 0 2px rgba(8, 160, 232, 0.3), 0 4px 12px rgba(0,0,0,0.2)' : undefined,
5555
borderColor: isDragging ? 'var(--bs-secondary)' : undefined,
56+
zIndex: isDragging ? '100' : undefined,
5657
transform: CSS.Transform.toString(transform),
5758
transition,
5859
};
@@ -76,13 +77,13 @@ function SortableValue(props) {
7677
<li
7778
ref={setNodeRef}
7879
key={id}
79-
className="sortable-item d-flex flex-nowrap align-items-center"
80+
className="sortable-item d-flex flex-nowrap align-items-center ps-1"
8081
data-id={id}
8182
data-index={index}
8283
style={style}
8384
>
8485
{editMode && (
85-
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1 ps-1">
86+
<div className="d-inline-flex flex-shrink-0 align-self-stretch my-1">
8687
<span className="sortable-drag-handle btn-hover btn-hover-bg py-2" {...attributes} {...listeners}>
8788
<Icon imgSrc="drag" />
8889
</span>

0 commit comments

Comments
 (0)