@ilo-org/twig 0.2.24 → 0.2.25
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/.turbo/turbo-build:lib.log +2 -2
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/patterns/components/breadcrumb/breadcrumb.behavior.js +6 -3
- package/src/patterns/components/callout/callout.behavior.js +6 -3
- package/src/patterns/components/loading/loading.behavior.js +6 -3
- package/src/patterns/components/modal/modal.behavior.js +6 -3
- package/src/patterns/components/navigation/navigation.behavior.js +6 -3
- package/src/patterns/components/notification/notification.behavior.js +6 -3
- package/src/patterns/components/readmore/readmore.behavior.js +6 -3
- package/src/patterns/components/table/table.behavior.js +6 -3
- package/src/patterns/components/tableofcontents/tableofcontents.behavior.js +6 -3
- package/src/patterns/components/tabs/tabs.behavior.js +12 -6
- package/src/patterns/components/tags/tag.behavior.js +6 -3
- package/src/patterns/components/tooltip/tooltip.behavior.js +6 -3
- package/src/patterns/components/video/video.behavior.js +6 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @ilo-org/twig@0.2.
|
|
2
|
+
> @ilo-org/twig@0.2.25 build:lib /home/runner/work/designsystem/designsystem/packages/twig
|
|
3
3
|
> node importprefix.js && node importsvgs.js && pnpm output
|
|
4
4
|
|
|
5
5
|
theme prefix added
|
|
6
6
|
|
|
7
|
-
> @ilo-org/twig@0.2.
|
|
7
|
+
> @ilo-org/twig@0.2.25 output /home/runner/work/designsystem/designsystem/packages/twig
|
|
8
8
|
> node outputtwigs.js
|
|
9
9
|
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -5,9 +5,12 @@ Drupal.behaviors.breadcrumb = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Breadcrumb"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Breadcrumb component....");
|
|
11
|
+
new Breadcrumb(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.callout = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Callout"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Callout component....");
|
|
11
|
+
new Callout(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.loading = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Loading"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Loading component....");
|
|
11
|
+
new Loading(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.modal = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Modal"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Modal component....");
|
|
11
|
+
new Modal(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.navigation = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Navigation"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Navigation component....");
|
|
11
|
+
new Navigation(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -6,9 +6,12 @@ Drupal.behaviors.notification = {
|
|
|
6
6
|
Array.prototype.forEach.call(
|
|
7
7
|
document.querySelectorAll(`[data-loadcomponent="Notification"]`),
|
|
8
8
|
(element) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
if(!element.dataset.jsProcessed) {
|
|
10
|
+
// eslint-disable-next-line no-console
|
|
11
|
+
console.log("loading Notification component....");
|
|
12
|
+
new Notification(element);
|
|
13
|
+
element.dataset.jsProcessed = true;
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
);
|
|
14
17
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.readmore = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="ReadMore"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading ReadMore component....");
|
|
11
|
+
new ReadMore(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.table = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Table"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Table component....");
|
|
11
|
+
new Table(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.tableofcontents = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="TableOfContents"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading TableOfContents component....");
|
|
11
|
+
new TableOfContents(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -6,17 +6,23 @@ Drupal.behaviors.tabs = {
|
|
|
6
6
|
Array.prototype.forEach.call(
|
|
7
7
|
document.querySelectorAll(`[data-loadcomponent="Tabs"]`),
|
|
8
8
|
(element) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
if(!element.dataset.jsProcessed) {
|
|
10
|
+
// eslint-disable-next-line no-console
|
|
11
|
+
console.log("loading Tabs component....");
|
|
12
|
+
new Tabs(element);
|
|
13
|
+
element.dataset.jsProcessed = true;
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
);
|
|
14
17
|
Array.prototype.forEach.call(
|
|
15
18
|
document.querySelectorAll(`[data-loadcomponent="Tooltip"]`),
|
|
16
19
|
(element) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
if(!element.dataset.jsProcessed) {
|
|
21
|
+
// eslint-disable-next-line no-console
|
|
22
|
+
console.log("loading Tooltip component....");
|
|
23
|
+
new Tooltip(element);
|
|
24
|
+
element.dataset.jsProcessed = true;
|
|
25
|
+
}
|
|
20
26
|
}
|
|
21
27
|
);
|
|
22
28
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.tag = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Tag"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Tag component....");
|
|
11
|
+
new Tag(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.tooltip = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Tooltip"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Tooltip component....");
|
|
11
|
+
new Tooltip(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|
|
@@ -5,9 +5,12 @@ Drupal.behaviors.media = {
|
|
|
5
5
|
Array.prototype.forEach.call(
|
|
6
6
|
document.querySelectorAll(`[data-loadcomponent="Video"]`),
|
|
7
7
|
(element) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
if(!element.dataset.jsProcessed) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.log("loading Video component....");
|
|
11
|
+
new Video(element);
|
|
12
|
+
element.dataset.jsProcessed = true;
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
15
|
);
|
|
13
16
|
},
|