Skip to content

Commit

Permalink
Consent/tracking components
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Oct 14, 2024
1 parent 9ec6000 commit 00c413d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 10 deletions.
Binary file removed dist/.DS_Store
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/chunks/chunk.KGPID6RT.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{b as e}from"./chunk.GY32O3WU.js";import*as t from"react";import{createComponent as o}from"@lit/react";var a="hot-consent",n=o({tagName:a,elementClass:e,react:t,events:{},displayName:"Consent"}),p=n;export{p as a};
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Component from '../../components/tracking/tracking.component.js';
import Component from '../../components/consent/consent.component.js';
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
export default reactWrapper;
1 change: 1 addition & 0 deletions dist/react/consent/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { default as Header } from './header/index.js';
export { default as Logo } from './logo/index.js';
export { default as Toolbar } from './toolbar/index.js';
export { default as Tracking } from './tracking/index.js';
export { default as Consent } from './consent/index.js';
export { default as Alert } from '@shoelace-style/shoelace/dist/react/alert/index.js';
export { default as AnimatedImage } from '@shoelace-style/shoelace/dist/react/animated-image/index.js';
export { default as Animation } from '@shoelace-style/shoelace/dist/react/animation/index.js';
Expand Down
2 changes: 1 addition & 1 deletion dist/react/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/react/matomoTracking/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/react/tracking/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Component from '../../components/consent/consent.component.js';
import Component from '../../components/tracking/tracking.component.js';
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
export default reactWrapper;
2 changes: 1 addition & 1 deletion dist/react/tracking/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{a}from"../../chunks/chunk.UK3W7FLD.js";import"../../chunks/chunk.GY32O3WU.js";import"../../chunks/chunk.Q5SXKMUN.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as default};
import{a}from"../../chunks/chunk.3FANZE43.js";import"../../chunks/chunk.NZIJQUIE.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as default};
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import * as React from 'react';
import { createComponent } from '@lit/react';
import Component from '../../components/tracking/tracking.component.js';
import Component from '../../components/consent/consent.component.js';

const tagName = 'hot-matomo-tracking';
const tagName = 'hot-consent';

const reactWrapper = createComponent({
tagName,
elementClass: Component,
react: React,
events: {},
displayName: 'MatomoTracking'
displayName: 'Consent'
});

export default reactWrapper;
1 change: 1 addition & 0 deletions src/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { default as Header } from './header/index.js';
export { default as Logo } from './logo/index.js';
export { default as Toolbar } from './toolbar/index.js';
export { default as Tracking } from './tracking/index.js';
export { default as Consent } from './consent/index.js';

export { default as Alert } from '@shoelace-style/shoelace/dist/react/alert/index.js';
export { default as AnimatedImage } from '@shoelace-style/shoelace/dist/react/animated-image/index.js';
Expand Down
2 changes: 1 addition & 1 deletion src/react/tracking/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { createComponent } from '@lit/react';
import Component from '../../components/consent/consent.component.js';
import Component from '../../components/tracking/tracking.component.js';

const tagName = 'hot-tracking';

Expand Down

0 comments on commit 00c413d

Please sign in to comment.