Updates to react-streamfield 0.9.5.

pull/5536/head
Bertrand Bordage 2019-08-21 18:21:36 +02:00 zatwierdzone przez Matt Westcott
rodzic ec60b02ea0
commit 1a4c157ec8
5 zmienionych plików z 3308 dodań i 3351 usunięć

Wyświetl plik

@ -26,6 +26,15 @@ $action-font-size: 18px;
&::after {
content: ''; // LEGIT
}
input[type='radio'] {
margin-bottom: 1.1em;
vertical-align: middle;
&::before {
top: unset;
}
}
}
// TODO: #CSSoverhaul This should be fixed as part of Wagtail CSS overhaul. The default

6642
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -94,7 +94,7 @@
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-redux": "^5.0.6",
"react-streamfield": "^0.9.2",
"react-streamfield": "^0.9.5",
"react-transition-group": "^1.1.3",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",

Wyświetl plik

@ -20,14 +20,14 @@
self.container.slideDown();
self.container.removeClass('stream-menu-closed');
self.container.attr('aria-hidden', 'false');
self.openCloseButton.addClass('c-sf-add-button--closed');
self.openCloseButton.addClass('c-sf-add-button--close');
};
self.hide = function() {
self.container.slideUp();
self.container.addClass('stream-menu-closed');
self.container.attr('aria-hidden', 'true');
self.openCloseButton.removeClass('c-sf-add-button--closed');
self.openCloseButton.removeClass('c-sf-add-button--close');
};
self.addFirstBlock = function() {

Wyświetl plik

@ -1,4 +1,4 @@
<button type="button" title="Add" class="c-sf-add-button c-sf-add-button--visible {% if state == 'open' %}c-sf-add-button--closed{% endif %}" id="{{ menu_id }}-openclose">
<button type="button" title="Add" class="c-sf-add-button c-sf-add-button--visible {% if state == 'open' %}c-sf-add-button--close{% endif %}" id="{{ menu_id }}-openclose">
<i aria-hidden="true">+</i>
</button>
<div aria-hidden="{% if state == 'closed' %}true{% else %}false{% endif %}" {% if state == 'closed' %}class="stream-menu-closed"{% endif %} id="{{ menu_id }}">