This is the main core package for Loki Components, as is being used by the Loki Checkout suite.
Install this package via composer (assuming you have setup the composer.yireo.com
repository correctly already):
composer require loki/magento2-components
Next, enable this module:
bin/magento module:enable Loki_Components
For getting support, create an Issue under the following project URL:
https://github.com/LokiExtensions/Loki_Components
The following options of this module can be configured via the Store Configuration:
loki_components/general/debug
loki_components/general/only_validate_ajax
loki_components/validators/enable_mx_validation_for_email
loki_components/global_messages/timeout
The following LokiComponents are created or references in this module:
loki-components.modal
loki-components.global-messages
The following dependencies are declared in the module its `etc/module.xml` file:
Magento_Config
Magento_Customer
Magento_Backend
Magento_Store
Loki_CssUtils
Yireo_CspUtilities
Loki_Components
loki/magento2-components
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-config: ^101.0
magento/module-customer: ^103.0
magento/module-store: ^101.0
laminas/laminas-http: ^2.0
loki/magento2-css-utils: ^1.0
yireo/magento2-csp-utilities: ^1.0
psr/log: ^1.0 | ^2.0 | ^3.0
php: ^8.1
ext-json: *
ext-pcre: *
ext-simplexml: *
ext-dom: *
dev-main | 29 August 2025 |
2.0.15 | 29 August 2025 |
2.0.14 | 27 August 2025 |
2.0.13 | 26 August 2025 |
2.0.12 | 21 August 2025 |
2.0.11 | 18 August 2025 |
2.0.10 | 15 August 2025 |
2.0.9 | 13 August 2025 |
2.0.8 | 10 August 2025 |
2.0.7 | 07 August 2025 |
2.0.6 | 06 August 2025 |
2.0.5 | 01 August 2025 |
2.0.4 | 30 July 2025 |
2.0.3 | 29 July 2025 |
2.0.2 | 28 July 2025 |
2.0.1 | 24 July 2025 |
2.0.0 | 21 July 2025 |
AppMode
focus-listener
Loki_CssUtils
strict_types
declarationxmark.svg
to close global messages$style()
variable in PHTML templatesaria-errormessage
together with existing aria-invalid
Yireo_LokiComponents
to Loki_Components
yireo/magento2-loki-components
to loki/magento2-components
's Hertogenbosch
)setValue()
methodx-init-data
to separate text/x-loki-init
script to prevent possible escaping issuesjsData
to be set from block as wellx-json
directiveComponentUtil
as a whole as deprecatedjs_component_name
from block by defaultdate
and past_date
document.getElementById
after nextTickemail_available
block loki-checkout.defaults.x
to loki-components.defaults.x
loki-checkout.css_classes
to loki-components.css_classes
Alpine.store()
APIspreg_match
issue