Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
a77de6e
IBX-11506: Add DS toggle form theme
tischsoic Mar 27, 2026
92cc066
IBX-11506: Use DS toggle form theme in admin UI
tischsoic Mar 27, 2026
36f4d0b
IBX-11506: Use DS toggle in custom URL checkbox
tischsoic Mar 27, 2026
ea2353e
IBX-11506: Use DS toggle in boolean field
tischsoic Mar 27, 2026
7c5ee0e
IBX-11506: Use DS toggle in locations tab
tischsoic Mar 27, 2026
894c2eb
IBX-11506: Support DS toggles in legacy toggle helper
tischsoic Mar 27, 2026
326ae36
IBX-11506: Update custom URL toggle selectors
tischsoic Mar 27, 2026
79f8b1e
IBX-11506: Initialize DS components in admin UI
tischsoic Mar 27, 2026
32ada7c
IBX-11506: Update focus mode toggle selectors
tischsoic Mar 27, 2026
67a026d
IBX-11506: Update user toggle field selectors
tischsoic Mar 27, 2026
91533fb
IBX-11506: Update checkbox field toggle selectors
tischsoic Mar 27, 2026
7877681
IBX-11506: Update URL alias toggle selector
tischsoic Mar 27, 2026
0ca235a
IBX-11506: Cast location toggle values to string
tischsoic Mar 27, 2026
52185fe
IBX-11506: Update checkbox input styles
tischsoic Mar 27, 2026
f81abdd
IBX-11507-use-ds-radio-button: use DS radio in admin form theme
tischsoic Mar 27, 2026
1058b9f
IBX-11507-use-ds-radio-button: use DS radio in translation add form
tischsoic Mar 27, 2026
100ce96
IBX-11507-use-ds-radio-button: use DS radio in locations tab
tischsoic Mar 27, 2026
a148c22
IBX-11507-use-ds-radio-button: use DS radio in translations tab
tischsoic Mar 27, 2026
7732946
IBX-11507-use-ds-radio-button: update user edit radio selector
tischsoic Mar 27, 2026
a99745b
IBX-11507-use-ds-radio-button: update content type radio selector
tischsoic Mar 27, 2026
a4962ee
IBX-11507-use-ds-radio-button: update content edit radio selector
tischsoic Mar 27, 2026
8d0d179
IBX-11507-use-ds-radio-button: update table radio styles
tischsoic Mar 27, 2026
c39f0cb
IBX-11507-use-ds-radio-button: update grid view radio styles
tischsoic Mar 27, 2026
66babe7
IBX-11507-use-ds-radio-button: update content type radio locator
tischsoic Mar 27, 2026
a919e86
IBX-11507-use-ds-radio-button: update content view radio locator
tischsoic Mar 27, 2026
f2b529a
IBX-11507-use-ds-radio-button: update UDW radio classes
tischsoic Mar 28, 2026
9db2c17
IBX-11507-use-ds-radio-button: update grid view radio visuals
tischsoic Mar 28, 2026
53d84b8
IBX-11507-use-ds-radio-button: include DS base styles in admin UI
tischsoic Mar 28, 2026
27a7437
IBX-11506: Use DS checkbox classes in form fields
tischsoic Mar 26, 2026
b60af13
IBX-11506: Use DS checkbox classes in trash list
tischsoic Mar 26, 2026
d4c973e
IBX-11506: Update UDW collapsible checkbox styles
tischsoic Mar 26, 2026
ad68abc
IBX-11506: Update content type selector checkbox styles
tischsoic Mar 26, 2026
9419973
IBX-11506: Update column toggler checkbox styles
tischsoic Mar 26, 2026
d0acb3b
IBX-11506: Use DS checkbox classes in UDW selection
tischsoic Mar 26, 2026
6bd6cc8
IBX-11506: Use DS checkbox classes in content type selector
tischsoic Mar 26, 2026
e2d6ebd
IBX-11506: Use DS checkbox classes in sub-items rows
tischsoic Mar 26, 2026
fcc0659
IBX-11506: Update grid view checkbox styles
tischsoic Mar 26, 2026
922b026
IBX-11506: Use DS choice classes in UDW item selection
tischsoic Mar 26, 2026
a1fa8f7
IBX-11506: Use DS checkbox classes in sub-items header
tischsoic Mar 26, 2026
d34091e
IBX-11506: Use DS checkbox classes in React dropdown
tischsoic Mar 26, 2026
f7674e6
IBX-11506: Drop legacy checkbox classes from selection options
tischsoic Mar 26, 2026
1521644
IBX-11506: Drop legacy checkbox classes from relations list
tischsoic Mar 26, 2026
53fe8ea
IBX-11506: Update notifications filter checkbox selector
tischsoic Mar 26, 2026
dad4c61
IBX-11506: Drop legacy checkbox classes from language details
tischsoic Mar 26, 2026
c3cd2e6
IBX-11506: Drop legacy checkbox classes from language list
tischsoic Mar 26, 2026
d84e56b
IBX-11506: Update binary preview checkbox styles
tischsoic Mar 26, 2026
1848a92
IBX-11506: Drop legacy checkbox classes from binary preview
tischsoic Mar 26, 2026
615d41a
IBX-11506: Update notifications checkbox selector
tischsoic Mar 26, 2026
96295be
IBX-11506: Drop legacy checkbox classes from notifications list
tischsoic Mar 26, 2026
855c941
IBX-11506: Update table checkbox styles
tischsoic Mar 26, 2026
397892e
IBX-11506: Update bulk toggle checkbox selectors
tischsoic Mar 26, 2026
5f6cb91
IBX-11506: Update table checkbox selectors
tischsoic Mar 26, 2026
a9fe382
IBX-11506: Drop legacy checkbox classes from table headers
tischsoic Mar 26, 2026
c187ef4
IBX-11506: Update author checkbox selector
tischsoic Mar 26, 2026
6a52ad6
IBX-11506: Drop legacy checkbox classes from author rows
tischsoic Mar 26, 2026
e312a9b
IBX-11506: Update dropdown checkbox selector
tischsoic Mar 26, 2026
1a5d682
IBX-11506: Drop legacy checkbox classes from dropdown items
tischsoic Mar 26, 2026
bf7e9b5
IBX-11506: Use Twig checkbox tag in table header cells
tischsoic Mar 26, 2026
2553854
IBX-11506: Use Twig checkbox tag in dropdown items
tischsoic Mar 26, 2026
8c82433
IBX-11506: Use Twig checkbox tag in language list
tischsoic Mar 26, 2026
ebeb459
IBX-11506: Use Twig checkbox tag in binary preview
tischsoic Mar 26, 2026
cd2e60e
IBX-11506: Use Twig checkbox tag in author rows
tischsoic Mar 26, 2026
88ba262
IBX-11506: Use Twig checkbox tag in notifications list
tischsoic Mar 26, 2026
eb4b72e
IBX-11506: Use Twig checkbox tag in language details
tischsoic Mar 26, 2026
1615a97
IBX-11506: Update language checkbox locator
tischsoic Mar 28, 2026
0cc5469
IBX-11506: Update UDW checkbox locator
tischsoic Mar 28, 2026
aa52fe1
IBX-11506: Update delete dialog checkbox locator
tischsoic Mar 28, 2026
612cf4a
IBX-11506: Fix dropdown checkbox selectors
tischsoic Mar 30, 2026
1d11095
IBX-11506: Update dropdown checkbox styles
tischsoic Mar 30, 2026
b805319
IBX-11507-use-ds-radio-button: restore checked choice input background
tischsoic Mar 31, 2026
a2b097b
IBX-11507-use-ds-radio-button: restore form-check-input classes in fo…
tischsoic Mar 31, 2026
011122c
IBX-11506: update URL alias toggle locator
tischsoic Apr 1, 2026
b4c60b1
IBX-11506: fix focus mode toggle state locator
tischsoic Apr 1, 2026
a5a8b0b
IBX-11506: wait for dropdown popover visibility
tischsoic Apr 1, 2026
2049fc4
IBX-11506: wait for focus mode state update
tischsoic Apr 2, 2026
409ead7
IBX-11506: scope user enabled toggle checks
tischsoic Apr 2, 2026
c1065eb
IBX-11506: stabilize last field definition expansion
tischsoic Apr 2, 2026
d9b14c2
IBX-11506: cast DS toggle values to string
tischsoic Apr 2, 2026
fec4966
IBX-11506: cast binary checkbox values to string
tischsoic Apr 2, 2026
67ea5a7
IBX-11506: cast URL toggle values to string
tischsoic Apr 2, 2026
b39ab8f
IBX-11506: drop field definition hover transition wait
tischsoic Apr 2, 2026
509d5d3
IBX-11506: verify language enabled state from checkbox
tischsoic Apr 2, 2026
22f98b8
IBX-11506: fail cleanly when context menu has no more button
tischsoic Apr 2, 2026
610fd81
IBX-11506: use checkbox attribute for language state
tischsoic Apr 2, 2026
f79553b
IBX-11506: expand field definitions from title toggle
tischsoic Apr 2, 2026
13a2dc0
IBX-11506: match IDS action buttons in context menu
tischsoic Apr 2, 2026
2c4f87e
IBX-11506: wait for URL alias redirect toggle state
tischsoic Apr 2, 2026
5497ded
IBX-11506: use DS checkbox and radio label classes in form theme
tischsoic Apr 16, 2026
534fe40
IBX-11506: update DS choice input label selectors
tischsoic Apr 16, 2026
05e1665
Revert "IBX-11506: use DS checkbox and radio label classes in form th…
tischsoic Apr 16, 2026
7a90da1
Revert "IBX-11506: update DS choice input label selectors"
tischsoic Apr 16, 2026
501ac6e
[Behat] Adjusted selector
katarzynazawada Apr 17, 2026
d9c0dbb
[Behat] Adjusted UrlAlias test
katarzynazawada Apr 20, 2026
23760ba
[Behat] Adjusted tests
katarzynazawada Apr 20, 2026
1f81cb7
[Behat] Adjusted tests
katarzynazawada Apr 20, 2026
b2f6fff
[Behat] Added import
katarzynazawada Apr 20, 2026
fd19ddd
[Behat] Adjusted tests
katarzynazawada Apr 21, 2026
09d3d55
[Behat] Adjusted return type
katarzynazawada Apr 21, 2026
3c0abc7
[Behat] Adjusted return type
katarzynazawada Apr 21, 2026
d122e80
IBX-11506: use DS checkbox in three-state wrapper
tischsoic Apr 26, 2026
651c50c
IBX-11506: use DS checkbox in UDW selection toggle
tischsoic Apr 26, 2026
b456a30
IBX-11506: use DS checkbox in UDW item toggle
tischsoic Apr 26, 2026
3f75089
IBX-11506: use DS checkbox in sub-items rows
tischsoic Apr 26, 2026
7de54bf
IBX-11506: use DS checkbox in dropdown items
tischsoic Apr 26, 2026
aa95c0a
IBX-11506: use DS checkbox in columns toggler
tischsoic Apr 26, 2026
67c587c
IBX-11506: use DS checkbox in content type selector
tischsoic Apr 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions features/standard/UserCreation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Feature: User management
| First name | testuseredited |
| Last name | lastnameedited |
And I set content fields for user
| label | Username | Password | Confirm password | Email |
| User account | testuser | Test123456 | Test123456 | test@test.org |
| label | Username | Password | Confirm password | Email | Enabled |
| User account | testuser | Test123456 | Test123456 | test@test.org | Yes |
And I perform the "Update" action
Then I should be on Content view Page for "Users/testuseredited lastnameedited"
And content attributes equal
Expand Down
1 change: 1 addition & 0 deletions src/bundle/Resources/encore/ibexa.css.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = (Encore) => {
path.resolve(__dirname, '../public/scss/ibexa-bootstrap.scss'),
path.resolve(__dirname, '../public/scss/ibexa.scss'),
path.resolve(__dirname, '../public/scss/ui/ibexa-modules.scss'),
path.resolve('./vendor/ibexa/admin-ui-assets/src/bundle/Resources/public/vendors/ids-assets/dist/css/styles.css'),
path.resolve('./vendor/ibexa/admin-ui-assets/src/bundle/Resources/public/vendors/flatpickr/dist/flatpickr.min.css'),
path.resolve(
'./vendor/ibexa/admin-ui-assets/src/bundle/Resources/public/vendors/flatpickr/dist/plugins/confirmDate/confirmDate.css',
Expand Down
1 change: 1 addition & 0 deletions src/bundle/Resources/encore/ibexa.js.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const layout = [
path.resolve(__dirname, '../public/js/scripts/admin.focus.mode.js'),
path.resolve(__dirname, '../public/js/scripts/sidebar/main.menu.js'),
path.resolve(__dirname, '../public/js/scripts/admin.input.text.js'),
path.resolve('./vendor/ibexa/design-system-twig/src/bundle/Resources/public/ts/init_components.ts'),
path.resolve(__dirname, '../public/js/scripts/admin.table.js'),
path.resolve(__dirname, '../public/js/scripts/core/collapse.js'),
path.resolve(__dirname, '../public/js/scripts/admin.dropdown.js'),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(function (global, doc) {
const SELECTOR_FILTER_CHECKBOX = '.ids-input--checkbox:not([name="dropdown-checkbox"])';
const searchForm = doc.querySelector('.ibexa-list-search-form');
const filtersContainerNode = doc.querySelector('.ibexa-list-filters');
const applyFiltersBtn = filtersContainerNode.querySelector('.ibexa-btn--apply');
Expand All @@ -13,9 +14,7 @@
}

const sourceSelect = filterNode.querySelector('.ibexa-list-filters__item-content .ibexa-dropdown__source .ibexa-input--select');
const checkboxes = filterNode.querySelectorAll(
'.ibexa-list-filters__item-content .ibexa-input--checkbox:not([name="dropdown-checkbox"])',
);
const checkboxes = filterNode.querySelectorAll(`.ibexa-list-filters__item-content ${SELECTOR_FILTER_CHECKBOX}`);
const timePicker = filterNode.querySelector('.ibexa-date-time-picker__input');

if (sourceSelect) {
Expand Down Expand Up @@ -45,9 +44,7 @@
return;
}

const checkboxes = filterNode.querySelectorAll(
'.ibexa-list-filters__item-content .ibexa-input--checkbox:not([name="dropdown-checkbox"])',
);
const checkboxes = filterNode.querySelectorAll(`.ibexa-list-filters__item-content ${SELECTOR_FILTER_CHECKBOX}`);
checkboxes.forEach((checkbox) => {
checkbox.addEventListener('change', filterChange, false);
});
Expand Down Expand Up @@ -80,7 +77,7 @@
}

const select = filterNode.querySelector('.ibexa-dropdown__source .ibexa-input--select');
const checkedCheckboxes = filterNode.querySelectorAll('.ibexa-input--checkbox:checked');
const checkedCheckboxes = filterNode.querySelectorAll(`${SELECTOR_FILTER_CHECKBOX}:checked`);

if (isNodeDatePicker(filterNode)) {
const timePicker = filterNode.querySelector('.ibexa-date-time-picker__input');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { isFirefox } from '@ibexa-admin-ui/src/bundle/Resources/public/js/scripts/helpers/browser.helper.js';

(function (global, doc, ibexa, Translator, Routing) {
const SELECTOR_NOTIFICATION_CHECKBOX = '.ibexa-notification-list__mark-row-checkbox';
const SELECTOR_MODAL_ITEM = '.ibexa-notifications-modal__item';
const SELECTOR_GO_TO_NOTIFICATION = '.ibexa-notification-view-all__show';
const SELECTOR_TOGGLE_NOTIFICATION = '.ibexa-notification-view-all__mail';
Expand All @@ -10,7 +11,7 @@ import { isFirefox } from '@ibexa-admin-ui/src/bundle/Resources/public/js/script
const markAsReadBtn = doc.querySelector('.ibexa-notification-list__btn-mark-as-read');
const deleteBtn = doc.querySelector('.ibexa-notification-list__btn-delete');
const notificationsCheckboxes = [
...doc.querySelectorAll('.ibexa-notification-list .ibexa-table__cell--has-checkbox .ibexa-input--checkbox'),
...doc.querySelectorAll(`.ibexa-notification-list .ibexa-table__cell--has-checkbox ${SELECTOR_NOTIFICATION_CHECKBOX}`),
];
const notificationsTable = doc.querySelector('.ibexa-table--notifications');
const uncheckCheckboxesEvent = new CustomEvent('ibexa-uncheck-checkboxes', {
Expand Down
7 changes: 4 additions & 3 deletions src/bundle/Resources/public/js/scripts/admin.table.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(function (global, doc) {
const SELECTOR_TABLE_CHECKBOX = '.ids-input--checkbox';
const ibexaTables = doc.querySelectorAll('.ibexa-table');
const setMainCheckboxState = (mainCheckbox, subCheckboxes, event) => {
const isFromJS = event?.detail?.isFromJS ?? false;
Expand Down Expand Up @@ -61,9 +62,9 @@
}

const mainCheckboxIndex = [...headCells].indexOf(headCellWithCheckbox);
const mainCheckbox = headCellWithCheckbox.querySelector('.ibexa-input--checkbox');
const mainCheckbox = headCellWithCheckbox.querySelector(SELECTOR_TABLE_CHECKBOX);
const subCheckboxes = tableBody.querySelectorAll(
`.ibexa-table__cell--has-checkbox:nth-child(${mainCheckboxIndex + 1}) .ibexa-input--checkbox`,
`.ibexa-table__cell--has-checkbox:nth-child(${mainCheckboxIndex + 1}) ${SELECTOR_TABLE_CHECKBOX}`,
);

if (!mainCheckbox) {
Expand Down Expand Up @@ -138,7 +139,7 @@

const uncheckCheckboxes = (table) => {
const mainCheckbox = table.querySelector('.ibexa-table__header-cell-checkbox');
const subCheckboxes = [...table.querySelectorAll('.ibexa-table__cell--has-checkbox .ibexa-input--checkbox')];
const subCheckboxes = [...table.querySelectorAll(`.ibexa-table__cell--has-checkbox ${SELECTOR_TABLE_CHECKBOX}`)];

mainCheckbox.checked = false;
mainCheckbox.indeterminate = false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(function (global, doc) {
const SELECTOR_TABLE_CHECKBOX = '.ids-input--checkbox';
const toggleForms = doc.querySelectorAll('.ibexa-toggle-btn-state');

toggleForms.forEach((toggleForm) => {
const checkboxes = [...toggleForm.querySelectorAll('.ibexa-table__cell--has-checkbox .ibexa-input--checkbox')];
const checkboxes = [...toggleForm.querySelectorAll(`.ibexa-table__cell--has-checkbox ${SELECTOR_TABLE_CHECKBOX}`)];
const buttonRemove = doc.querySelector(toggleForm.dataset.toggleButtonId);

if (!buttonRemove) {
Expand Down
14 changes: 11 additions & 3 deletions src/bundle/Resources/public/js/scripts/core/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

this.sourceInput.querySelectorAll('option').forEach((option) => (option.selected = false));
this.itemsListContainer.querySelectorAll('.ibexa-dropdown__item--selected').forEach((option) => {
const checkbox = option.querySelector('.ibexa-input--checkbox');
const checkbox = option.querySelector('.ibexa-dropdown__item-checkbox');

option.classList.remove('ibexa-dropdown__item--selected');

Expand Down Expand Up @@ -211,7 +211,11 @@
const value = this.getValueFromElement(element);

if (value && !this.canSelectOnlyOne) {
element.querySelector('.ibexa-input').checked = selected;
const checkbox = element.querySelector('.ibexa-dropdown__item-checkbox');

if (checkbox) {
checkbox.checked = selected;
}
}

this.itemsListContainer.querySelector(`[data-value=${value}]`).classList.toggle('ibexa-dropdown__item--selected', selected);
Expand Down Expand Up @@ -314,7 +318,11 @@
itemSelected.classList.remove('ibexa-dropdown__item--selected');

if (!this.canSelectOnlyOne) {
itemSelected.querySelector('.ibexa-input').checked = false;
const checkbox = itemSelected.querySelector('.ibexa-dropdown__item-checkbox');

if (checkbox) {
checkbox.checked = false;
}
}

if (optionSelect) {
Expand Down
23 changes: 13 additions & 10 deletions src/bundle/Resources/public/js/scripts/core/toggle.button.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
class ToggleButton {
constructor(config) {
this.toggleNode = config.toggleNode;
this.inputsSelector = config?.inputsSelector || 'input';
this.inputsSelector = config?.inputsSelector || (this.toggleNode.classList.contains('ids-toggle') ? '.ids-toggle__source input' : 'input');
this.checkedClass = this.toggleNode.classList.contains('ids-toggle') ? 'ids-toggle--checked' : 'ibexa-toggle--is-checked';
this.disabledClass = this.toggleNode.classList.contains('ids-toggle') ? 'ids-toggle--disabled' : 'ibexa-toggle--is-disabled';
this.focusedClass = this.toggleNode.classList.contains('ids-toggle') ? 'ids-toggle--focused' : 'ibexa-toggle--is-focused';

this.toggleState = this.toggleState.bind(this);
this.addFocus = this.addFocus.bind(this);
Expand All @@ -18,18 +21,18 @@

const toggler = event.currentTarget;

if (toggler.classList.contains('ibexa-toggle--is-disabled')) {
if (toggler.classList.contains(this.disabledClass)) {
return;
}

const isChecked = toggler.classList.toggle('ibexa-toggle--is-checked');
const isChecked = toggler.classList.toggle(this.checkedClass);

if (toggler.classList.contains('ibexa-toggle--radio')) {
const valueToSet = isChecked ? 1 : 0;

toggler.querySelector(`.form-check input[value="${valueToSet}"]`).checked = true;
} else {
const toggleInput = toggler.querySelector('.ibexa-toggle__input');
const toggleInput = toggler.querySelector(this.inputsSelector);

toggleInput.checked = isChecked;
toggleInput.dispatchEvent(new Event('change'));
Expand All @@ -39,25 +42,25 @@
addFocus(event) {
event.preventDefault();

const toggler = event.currentTarget.closest('.ibexa-toggle');
const toggler = event.currentTarget.closest('.ibexa-toggle, .ids-toggle');

if (toggler.classList.contains('ibexa-toggle--is-disabled')) {
if (toggler.classList.contains(this.disabledClass)) {
return;
}

toggler.classList.add('ibexa-toggle--is-focused');
toggler.classList.add(this.focusedClass);
}

removeFocus(event) {
event.preventDefault();

const toggler = event.currentTarget.closest('.ibexa-toggle');
const toggler = event.currentTarget.closest('.ibexa-toggle, .ids-toggle');

if (toggler.classList.contains('ibexa-toggle--is-disabled')) {
if (toggler.classList.contains(this.disabledClass)) {
return;
}

toggler.classList.remove('ibexa-toggle--is-focused');
toggler.classList.remove(this.focusedClass);
}

toggleStateOnSpacePressed(event) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(function (global, doc, ibexa) {
const SELECTOR_REMOVE_AUTHOR = '.ibexa-btn--remove-author';
const SELECTOR_AUTHOR = '.ibexa-data-source__author';
const SELECTOR_AUTHOR_CHECKBOX = '.ibexa-data-source__author-checkbox';
const SELECTOR_FIELD = '.ibexa-field-edit--ibexa_author';
const SELECTOR_LABEL = '.ibexa-data-source__label';
const SELECTOR_FIELD_EMAIL = '.ibexa-data-source__field--email';
Expand Down Expand Up @@ -104,7 +105,7 @@

toggleBulkDeleteButtonState(event) {
const container = event.target.closest(SELECTOR_FIELD);
const checkboxes = container.querySelectorAll('.ibexa-input--checkbox');
const checkboxes = container.querySelectorAll(SELECTOR_AUTHOR_CHECKBOX);
const isAnyCheckboxSelected = [...checkboxes].some((checkbox) => checkbox.checked);
const bulkDeleteButton = container.querySelector('.ibexa-btn--bulk-remove-author');

Expand All @@ -113,7 +114,7 @@

removeSelectedItems(event) {
const container = event.target.closest(SELECTOR_FIELD);
const selectedCheckboxes = container.querySelectorAll('.ibexa-input--checkbox:checked');
const selectedCheckboxes = container.querySelectorAll(`${SELECTOR_AUTHOR_CHECKBOX}:checked`);
const bulkDeleteButton = container.querySelector('.ibexa-btn--bulk-remove-author');

selectedCheckboxes.forEach((checkbox) => checkbox.closest(SELECTOR_AUTHOR).remove());
Expand Down Expand Up @@ -246,7 +247,7 @@
},
{
isValueValidator: false,
selector: '.ibexa-data-source__author .ibexa-input--checkbox',
selector: `.ibexa-data-source__author ${SELECTOR_AUTHOR_CHECKBOX}`,
eventName: 'change',
callback: 'toggleBulkDeleteButtonState',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

editButtons.forEach((editButton) => {
const languageRadioOption = doc.querySelector(
`.ibexa-extra-actions--edit.ibexa-extra-actions--prevent-show[data-actions="${editButton.dataset.actions}"] .ibexa-input--radio`,
`.ibexa-extra-actions--edit.ibexa-extra-actions--prevent-show[data-actions="${editButton.dataset.actions}"] .ids-input--radio`,
);

if (!languageRadioOption) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function (global, doc) {
const editButton = doc.querySelector('.ibexa-btn--edit');
const languageRadioOption = doc.querySelector('.ibexa-extra-actions--edit.ibexa-extra-actions--prevent-show .ibexa-input--radio');
const languageRadioOption = doc.querySelector('.ibexa-extra-actions--edit.ibexa-extra-actions--prevent-show .ids-input--radio');
const editActions = doc.querySelector('.ibexa-extra-actions--edit');
const btns = editActions.querySelectorAll('.form-check [type="radio"]');
const changeHandler = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function (global, doc) {
const editButton = doc.querySelector('.ibexa-btn--edit-user');
const languageRadioOption = doc.querySelector('.ibexa-extra-actions--edit-user.ibexa-extra-actions--prevent-show .ibexa-input--radio');
const languageRadioOption = doc.querySelector('.ibexa-extra-actions--edit-user.ibexa-extra-actions--prevent-show .ids-input--radio');
const editActions = doc.querySelector('.ibexa-extra-actions--edit-user');

if (!editActions || !languageRadioOption) {
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/scss/_custom-url-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
&--checked {
display: none;

.ibexa-toggle--is-checked + & {
.ids-toggle--checked + & {
display: block;
}
}

&--unchecked {
.ibexa-toggle--is-checked + .ibexa-custom-url-from__info-text--checked + & {
.ids-toggle--checked + .ibexa-custom-url-from__info-text--checked + & {
display: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
}
}

.ibexa-input {
.ibexa-dropdown__item-checkbox {
flex-shrink: 0;
margin: 0 calculateRem(16px) 0 0;
}
Expand Down
13 changes: 10 additions & 3 deletions src/bundle/Resources/public/scss/_grid-view-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
border-color: $ibexa-color-dark;
text-decoration: none;

.ibexa-input--checkbox,
.ibexa-input--radio {
.ids-input--checkbox,
.ids-input--radio {
border-color: $ibexa-color-primary;
}
}
Expand Down Expand Up @@ -179,9 +179,16 @@
top: calculateRem(10px);
display: none;

.ibexa-input {
.ibexa-input,
.ids-input {
background-color: $ibexa-color-white;
}

&--hovered {
.ids-input {
border-color: $ibexa-color-primary;
}
}
}

&:hover {
Expand Down
12 changes: 12 additions & 0 deletions src/bundle/Resources/public/scss/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -528,3 +528,15 @@
}
}
}

.form-check-input:checked {
background-color: $ibexa-color-white;
}

.form-check-input:checked[type=checkbox] {
--bs-form-check-bg-image: none;
}

.form-check-input[type=checkbox] {
border-radius: calculateRem(2px);
}
12 changes: 6 additions & 6 deletions src/bundle/Resources/public/scss/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
border-color: $ibexa-color-primary;
}

.ibexa-input--checkbox,
.ibexa-input--radio {
.ids-input--checkbox,
.ids-input--radio {
border-color: $ibexa-color-primary;
}
}
Expand Down Expand Up @@ -149,7 +149,7 @@
}

&__header-cell-checkbox {
&.ibexa-input--checkbox {
&.ids-input--checkbox {
margin-bottom: 0;
}
}
Expand Down Expand Up @@ -186,7 +186,7 @@
&--has-checkbox {
width: calculateRem(48px);

.ibexa-input--checkbox {
.ids-input--checkbox {
float: left;
margin-bottom: 0;
}
Expand All @@ -212,12 +212,12 @@
&--content-center {
text-align: center;

.ibexa-input--checkbox {
.ids-input--checkbox {
margin-bottom: 0;
}
}

.ibexa-input--radio {
.ids-input--radio {
vertical-align: middle;
}
}
Expand Down
Loading
Loading