Skip to content

Commit

Permalink
Merge pull request #1422 from Infineon/1421-remove-tracking-code
Browse files Browse the repository at this point in the history
Tracking needs to be removed
  • Loading branch information
verena-ifx committed Aug 22, 2024
2 parents 2a2211e + 8078d8b commit 47f325e
Show file tree
Hide file tree
Showing 47 changed files with 60 additions and 242 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"command": {
"publish": {
"verifyAccess": false
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "components-angular",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -26,7 +26,7 @@
"@angular/platform-browser": "^17.3.3",
"@angular/platform-browser-dynamic": "^17.3.3",
"@angular/router": "^17.3.3",
"@infineon/infineon-design-system-angular": "^24.4.1",
"@infineon/infineon-design-system-angular": "^24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-angular",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"description": "Infineon design system Stencil web components for Angular",
"author": "Verena Lechner",
"license": "MIT",
Expand All @@ -11,7 +11,7 @@
"@angular/common": "^17.3.3",
"@angular/core": "^17.3.3",
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "^24.4.1"
"@infineon/infineon-design-system-stencil": "^24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-react",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"description": "Infineon design system Stencil web components for React",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "24.4.1"
"@infineon/infineon-design-system-stencil": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0"
},
"auto": {
"plugins": [
Expand Down
4 changes: 2 additions & 2 deletions packages/components-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-vue",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"description": "Infineon design system Stencil web components for Vue",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "24.4.1"
"@infineon/infineon-design-system-stencil": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0"
},
"auto": {
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-stencil",
"version": "24.4.1",
"version": "24.4.2--canary.1422.082552aebb87730afd64b324b28ce2b6d131ed05.0",
"private": false,
"description": "Infineon design system Stencil web components",
"homepage": "https://infineon.github.io/infineon-design-system-stencil",
Expand Down
65 changes: 0 additions & 65 deletions packages/components/rollup-plugin-inject-tracking.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/components/src/components/accordion/accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//ifxAccordion.tsx
import { Component, h, Listen, Element, Prop } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-accordion',
Expand All @@ -11,9 +10,6 @@ export class Accordion {
@Element() el: HTMLElement;
@Prop() autoCollapse: boolean = false;

componentDidLoad() {
trackComponentView('Accordion');
}

@Listen('ifxItemOpen')
async onItemOpen(event: CustomEvent) {
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/components/alert/alert.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, Prop, h, Event, EventEmitter } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-alert',
Expand All @@ -13,10 +12,6 @@ export class Alert {
@Event() ifxClose: EventEmitter;
@Prop() closable: boolean = true;

componentDidLoad() {
trackComponentView('Alert');
}

handleClose() {
this.ifxClose.emit()
}
Expand Down
5 changes: 1 addition & 4 deletions packages/components/src/components/badge/badge.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, h } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-badge',
Expand All @@ -8,9 +7,7 @@ import { trackComponentView } from '../../global/utils/tracking';
})
export class Badge {

componentDidLoad() {
trackComponentView('Badge');
}


render() {
return (
Expand Down
3 changes: 0 additions & 3 deletions packages/components/src/components/breadcrumb/breadcrumb.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, h, Element } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-breadcrumb',
Expand All @@ -12,8 +11,6 @@ export class Breadcrumb {
componentDidLoad() {
const element = this.el.shadowRoot.firstChild;
this.addEventListenersToHandleCustomFocusState(element);
trackComponentView('Breadcrumb');

}

private addEventListenersToHandleCustomFocusState(element: HTMLElement) {
Expand Down
6 changes: 2 additions & 4 deletions packages/components/src/components/button/button.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, Prop, h, Host, Method, Element, Listen, State, Watch } from '@stencil/core';
import classNames from 'classnames';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-button',
Expand Down Expand Up @@ -66,9 +66,7 @@ export class Button {
this.handleButtonWidth()
}

componentDidLoad() {
trackComponentView('Button');
}


handleClick = (ev: Event) => {
if (this.el.shadowRoot) {
Expand Down
3 changes: 1 addition & 2 deletions packages/components/src/components/card/card.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, h, Host, Element, Prop, State, Listen } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-card',
Expand Down Expand Up @@ -85,7 +85,6 @@ export class Card {
componentDidLoad() {
this.handleHovering();
this.addEventListenersToHandleCustomFocusState();
trackComponentView('Card');

}

Expand Down
5 changes: 1 addition & 4 deletions packages/components/src/components/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, h, Prop, Element, State, Event, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-checkbox',
Expand Down Expand Up @@ -78,9 +78,6 @@ export class Checkbox {
this.inputElement.indeterminate = this.internalIndeterminate;
}

componentDidLoad() {
trackComponentView('Checkbox');
}

/**
* Callback for form association.
Expand Down
6 changes: 1 addition & 5 deletions packages/components/src/components/chips/chip.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, h, Element, Prop, Listen, State, Event, EventEmitter } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-chip',
Expand All @@ -14,10 +14,6 @@ export class Chip {
@State() active: boolean = false;
@Event() ifxDropdownMenu: EventEmitter<CustomEvent>;

componentDidLoad() {
trackComponentView('Chip');
}

@Listen('mousedown', { target: 'document' })
handleOutsideClick(event: MouseEvent) {
const path = event.composedPath();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AttachInternals } from '@stencil/core';
import { Component, Prop, h, Element, Event, EventEmitter } from '@stencil/core';
import { trackComponentView } from '../../global/utils/tracking';

@Component({
tag: 'ifx-date-picker',
Expand Down Expand Up @@ -66,8 +66,6 @@ export class DatePicker {

componentDidLoad() {
this.setFireFoxClasses()
trackComponentView('DatePicker');

}

/**
Expand Down
6 changes: 2 additions & 4 deletions packages/components/src/components/dropdown/dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//dropdown.tsx
import { Component, Prop, h, Element, Listen, Method, Watch, State, EventEmitter, Event } from "@stencil/core";
import { createPopper } from '@popperjs/core';
import { trackComponentView } from '../../global/utils/tracking';

import { IOpenable } from './IOpenable';

Expand Down Expand Up @@ -66,9 +66,7 @@ export class Dropdown {
this.watchHandlerIsOpen(this.defaultOpen, this.internalIsOpen);
}

componentDidLoad() {
trackComponentView('Dropdown');
}


@Watch('defaultOpen')
watchHandlerIsOpen(newValue: boolean, oldValue: boolean) {
Expand Down
Loading

0 comments on commit 47f325e

Please sign in to comment.