Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 remove bootstrap #1578

Draft
wants to merge 49 commits into
base: main
Choose a base branch
from
Draft

V3 remove bootstrap #1578

wants to merge 49 commits into from

Conversation

danielleroux
Copy link
Collaborator

🆕 What is the new behavior?

Remove bootstrap dependencies
To do:

  • Clarify H1 - Hx sizes
  • other stuff??

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📄 Documentation was reviewed/updated (pnpm run docs)
  • 🧪 Unit tests were added/updated and pass (pnpm test)
  • 📸 Visual regression tests were added/updated and pass (Guide)
  • 🧐 Static code analysis passes (pnpm lint)
  • 🏗️ Successful compilation (pnpm build, changes pushed)

👨‍💻 Help & support

github-actions bot and others added 30 commits June 14, 2024 11:37
Copy link

changeset-bot bot commented Nov 26, 2024

🦋 Changeset detected

Latest commit: 49c3549

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@siemens/ix-angular Major
@siemens/ix-react Major
@siemens/ix Major
@siemens/ix-vue Major
@siemens/ix-aggrid Major
@siemens/ix-echarts Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@danielleroux danielleroux marked this pull request as draft November 26, 2024 11:07
Copy link
Contributor

github-actions bot commented Nov 26, 2024

Report of strict check

src/components/application-header/application-header.tsx
  • src/components/application-header/application-header.tsx(80,12): error TS2564: Property 'applicationLayoutContext' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'applicationLayoutContext' has no initializer and is not definitely assigned in the constructor.
  • src/components/application-header/application-header.tsx(85,12): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/application-header/application-header.tsx(143,25): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/application-header/application-header.tsx(157,7): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/application-header/application-header.tsx(157,7): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/application-header/application-header.tsx(177,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/application-header/application-header.tsx(191,7): error TS2345: Argument of type 'AppSwitchConfiguration | undefined' is not assignable to parameter of type 'AppSwitchConfiguration'.: error TS2345: Argument of type 'AppSwitchConfiguration | undefined' is not assignable to parameter of type 'AppSwitchConfiguration'.
  • src/components/application-header/application-header.tsx(197,7): error TS2345: Argument of type 'AppSwitchConfiguration | undefined' is not assignable to parameter of type 'AppSwitchConfiguration'.: error TS2345: Argument of type 'AppSwitchConfiguration | undefined' is not assignable to parameter of type 'AppSwitchConfiguration'.
  • src/components/application-header/application-header.tsx(203,7): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
src/components/application-header/application-switch-modal/application-switch-modal.tsx
  • src/components/application-header/application-switch-modal/application-switch-modal.tsx(89,11): error TS2564: Property 'config' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'config' has no initializer and is not definitely assigned in the constructor.
src/components/application-header/test/application-header.ct.ts
  • src/components/application-header/test/application-header.ct.ts(181,24): error TS2352: Conversion of type '{ hideHeader: false; host: null; sidebar: false; appSwitchConfig: null; }' to type '{ hideHeader: boolean; host: "basic-navigation" | "map-navigation" | null; appSwitchConfig?: AppSwitchConfiguration | undefined; sidebar?: boolean | undefined; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.: error TS2352: Conversion of type '{ hideHeader: false; host: null; sidebar: false; appSwitchConfig: null; }' to type '{ hideHeader: boolean; host: "basic-navigation" | "map-navigation" | null; appSwitchConfig?: AppSwitchConfiguration | undefined; sidebar?: boolean | undefined; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  • src/components/application-header/test/application-header.ct.ts(423,36): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly sm: { readonly height: 800; readonly width: 360; }; readonly md: { readonly height: 768; readonly width: 1024; }; readonly lg: { readonly height: 1080; readonly width: 1920; }; }'.: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly sm: { readonly height: 800; readonly width: 360; }; readonly md: { readonly height: 768; readonly width: 1024; }; readonly lg: { readonly height: 1080; readonly width: 1920; }; }'.
src/components/avatar/avatar.tsx
  • src/components/avatar/avatar.tsx(183,13): error TS2322: Type '(ref: HTMLIxDropdownElement) => HTMLIxDropdownElement' is not assignable to type '(elm?: HTMLIxDropdownElement | undefined) => void'.: error TS2322: Type '(ref: HTMLIxDropdownElement) => HTMLIxDropdownElement' is not assignable to type '(elm?: HTMLIxDropdownElement | undefined) => void'.
  • src/components/avatar/avatar.tsx(203,15): error TS2322: Type '(ref: HTMLSlotElement) => HTMLSlotElement' is not assignable to type '(elm?: Element | undefined) => void'.: error TS2322: Type '(ref: HTMLSlotElement) => HTMLSlotElement' is not assignable to type '(elm?: Element | undefined) => void'.
src/components/blind/blind.tsx
  • src/components/blind/blind.tsx(164,15): error TS2322: Type '(ref: HTMLElement) => HTMLElement' is not assignable to type '(elm?: HTMLIxIconElement | undefined) => void'.: error TS2322: Type '(ref: HTMLElement) => HTMLElement' is not assignable to type '(elm?: HTMLIxIconElement | undefined) => void'.
src/components/breadcrumb-item/breadcrumb-item.tsx
  • src/components/breadcrumb-item/breadcrumb-item.tsx(44,11): error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.
  • src/components/breadcrumb-item/breadcrumb-item.tsx(49,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/breadcrumb-item/breadcrumb-item.tsx(64,12): error TS2564: Property 'itemClick' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'itemClick' has no initializer and is not definitely assigned in the constructor.
src/components/chip/chip.tsx
  • src/components/chip/chip.tsx(27,14): error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.
  • src/components/chip/chip.tsx(56,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/chip/chip.tsx(80,12): error TS2564: Property 'closeChip' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closeChip' has no initializer and is not definitely assigned in the constructor.
src/components/chip/test/chip.ct.ts
  • src/components/chip/test/chip.ct.ts(39,14): error TS18047: 'normalChipSize' is possibly 'null'.: error TS18047: 'normalChipSize' is possibly 'null'.
  • src/components/chip/test/chip.ct.ts(39,44): error TS18047: 'outlineChipSize' is possibly 'null'.: error TS18047: 'outlineChipSize' is possibly 'null'.
src/components/date-dropdown/test/date-dropdown.ct.ts
  • src/components/date-dropdown/test/date-dropdown.ct.ts(38,9): error TS2322: Type 'undefined' is not assignable to type 'string'.: error TS2322: Type 'undefined' is not assignable to type 'string'.
src/components/date-picker/date-picker.tsx
  • src/components/date-picker/date-picker.tsx(354,26): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
  • src/components/date-picker/date-picker.tsx(549,28): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
  • src/components/date-picker/date-picker.tsx(552,35): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
src/components/dropdown-button/dropdown-button.tsx
  • src/components/dropdown-button/dropdown-button.tsx(96,9): error TS2322: Type 'MakeRef<HTMLElement>' is not assignable to type '(el: HTMLElement | null) => void'.: error TS2322: Type 'MakeRef<HTMLElement>' is not assignable to type '(el: HTMLElement | null) => void'.
src/components/dropdown/test/dropdown.ct.ts
  • src/components/dropdown/test/dropdown.ct.ts(610,7): error TS18047: 'mount' is possibly 'null'.: error TS18047: 'mount' is possibly 'null'.
  • src/components/dropdown/test/dropdown.ct.ts(610,25): error TS2345: Argument of type 'HTMLIxDropdownElement | null' is not assignable to parameter of type 'Node'.: error TS2345: Argument of type 'HTMLIxDropdownElement | null' is not assignable to parameter of type 'Node'.
  • src/components/dropdown/test/dropdown.ct.ts(611,7): error TS18047: 'mount' is possibly 'null'.: error TS18047: 'mount' is possibly 'null'.
  • src/components/dropdown/test/dropdown.ct.ts(611,20): error TS2345: Argument of type 'HTMLIxDropdownElement | null' is not assignable to parameter of type 'string | Node'.: error TS2345: Argument of type 'HTMLIxDropdownElement | null' is not assignable to parameter of type 'string | Node'.
  • src/components/dropdown/test/dropdown.ct.ts(624,7): error TS18047: 'mount' is possibly 'null'.: error TS18047: 'mount' is possibly 'null'.
  • src/components/dropdown/test/dropdown.ct.ts(649,20): error TS2345: Argument of type 'HTMLIxDropdownButtonElement | null' is not assignable to parameter of type 'Node'.: error TS2345: Argument of type 'HTMLIxDropdownButtonElement | null' is not assignable to parameter of type 'Node'.
src/components/expanding-search/expanding-search.tsx
  • src/components/expanding-search/expanding-search.tsx(55,12): error TS2564: Property 'valueChange' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'valueChange' has no initializer and is not definitely assigned in the constructor.
src/components/filter-chip/filter-chip.tsx
  • src/components/filter-chip/filter-chip.tsx(27,14): error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.
  • src/components/filter-chip/filter-chip.tsx(43,12): error TS2564: Property 'closeClick' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closeClick' has no initializer and is not definitely assigned in the constructor.
src/components/flip-tile/flip-tile.tsx
  • src/components/flip-tile/flip-tile.tsx(26,11): error TS2564: Property 'state' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'state' has no initializer and is not definitely assigned in the constructor.
  • src/components/flip-tile/flip-tile.tsx(41,12): error TS2564: Property 'isFlipAnimationActive' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'isFlipAnimationActive' has no initializer and is not definitely assigned in the constructor.
  • src/components/flip-tile/flip-tile.tsx(44,11): error TS2564: Property 'contentItems' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'contentItems' has no initializer and is not definitely assigned in the constructor.
  • src/components/flip-tile/flip-tile.tsx(46,11): error TS2564: Property 'observer' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'observer' has no initializer and is not definitely assigned in the constructor.
src/components/group/group-context-menu.tsx
  • src/components/group/group-context-menu.tsx(37,18): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
src/components/icon-button/icon-button.tsx
  • src/components/icon-button/icon-button.tsx(24,14): error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(32,38): error TS2564: Property 'a11yLabel' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'a11yLabel' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(43,11): error TS2564: Property 'outline' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'outline' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(48,11): error TS2564: Property 'ghost' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'ghost' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(53,11): error TS2564: Property 'oval' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'oval' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(58,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(69,11): error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.
  • src/components/icon-button/icon-button.tsx(91,3): error TS2564: Property 'submitButtonElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'submitButtonElement' has no initializer and is not definitely assigned in the constructor.
src/components/kpi/kpi.tsx
  • src/components/kpi/kpi.tsx(22,11): error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.
  • src/components/kpi/kpi.tsx(27,11): error TS2564: Property 'value' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'value' has no initializer and is not definitely assigned in the constructor.
  • src/components/kpi/kpi.tsx(32,11): error TS2564: Property 'unit' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'unit' has no initializer and is not definitely assigned in the constructor.
src/components/link-button/link-button.tsx
  • src/components/link-button/link-button.tsx(30,11): error TS2564: Property 'url' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'url' has no initializer and is not definitely assigned in the constructor.
src/components/map-navigation-overlay/map-navigation-overlay.tsx
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(30,14): error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(35,11): error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(40,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(48,11): error TS2564: Property 'color' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'color' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(53,11): error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation-overlay/map-navigation-overlay.tsx(58,12): error TS2564: Property 'closeClick' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closeClick' has no initializer and is not definitely assigned in the constructor.
src/components/map-navigation/map-navigation.tsx
  • src/components/map-navigation/map-navigation.tsx(35,14): error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation/map-navigation.tsx(40,11): error TS2564: Property 'applicationName' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'applicationName' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation/map-navigation.tsx(45,11): error TS2564: Property 'navigationTitle' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'navigationTitle' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation/map-navigation.tsx(55,12): error TS2564: Property 'navigationToggled' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'navigationToggled' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation/map-navigation.tsx(60,12): error TS2564: Property 'contextMenuClick' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'contextMenuClick' has no initializer and is not definitely assigned in the constructor.
  • src/components/map-navigation/map-navigation.tsx(74,12): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(78,12): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(82,12): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(98,5): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(105,5): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(129,5): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(140,9): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(153,9): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(182,9): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/map-navigation/map-navigation.tsx(187,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.: error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • src/components/map-navigation/map-navigation.tsx(189,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.: error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
src/components/menu-about-news/menu-about-news.tsx
  • src/components/menu-about-news/menu-about-news.tsx(27,11): error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-about-news/menu-about-news.tsx(37,11): error TS2564: Property 'aboutItemLabel' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'aboutItemLabel' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-about-news/menu-about-news.tsx(47,12): error TS2564: Property 'showMore' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'showMore' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-about-news/menu-about-news.tsx(52,12): error TS2564: Property 'closePopover' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closePopover' has no initializer and is not definitely assigned in the constructor.
src/components/menu-about/menu-about.tsx
  • src/components/menu-about/menu-about.tsx(40,28): error TS2564: Property 'activeTabLabel' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'activeTabLabel' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-about/menu-about.tsx(53,12): error TS2564: Property 'close' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'close' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-about/menu-about.tsx(55,12): error TS2564: Property 'items' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'items' has no initializer and is not definitely assigned in the constructor.
src/components/menu-category/menu-category.tsx
  • src/components/menu-category/menu-category.tsx(43,11): error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'label' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(48,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(53,11): error TS2564: Property 'notifications' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'notifications' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(58,3): error TS2564: Property 'closeOtherCategories' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closeOtherCategories' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(65,11): error TS2564: Property 'observer' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'observer' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(66,11): error TS2564: Property 'menuItemsContainer' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'menuItemsContainer' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-category/menu-category.tsx(67,11): error TS2564: Property 'ixMenu' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'ixMenu' has no initializer and is not definitely assigned in the constructor.
src/components/menu-settings/menu-settings.tsx
  • src/components/menu-settings/menu-settings.tsx(40,28): error TS2564: Property 'activeTabLabel' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'activeTabLabel' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-settings/menu-settings.tsx(53,12): error TS2564: Property 'close' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'close' has no initializer and is not definitely assigned in the constructor.
  • src/components/menu-settings/menu-settings.tsx(55,12): error TS2564: Property 'items' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'items' has no initializer and is not definitely assigned in the constructor.
src/components/menu/menu-expand-icon.tsx
  • src/components/menu/menu-expand-icon.tsx(43,28): error TS2564: Property 'breakpoint' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'breakpoint' has no initializer and is not definitely assigned in the constructor.
src/components/message-bar/message-bar.tsx
  • src/components/message-bar/message-bar.tsx(47,12): error TS2564: Property 'closedChange' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closedChange' has no initializer and is not definitely assigned in the constructor.
  • src/components/message-bar/message-bar.tsx(49,12): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/message-bar/message-bar.tsx(51,12): error TS2564: Property 'color' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'color' has no initializer and is not definitely assigned in the constructor.
  • src/components/message-bar/message-bar.tsx(105,33): error TS2345: Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'.: error TS2345: Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'.
src/components/modal/modal.tsx
  • src/components/modal/modal.tsx(70,11): error TS2564: Property 'beforeDismiss' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'beforeDismiss' has no initializer and is not definitely assigned in the constructor.
  • src/components/modal/modal.tsx(85,12): error TS2564: Property 'dialogClose' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'dialogClose' has no initializer and is not definitely assigned in the constructor.
  • src/components/modal/modal.tsx(90,12): error TS2564: Property 'dialogDismiss' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'dialogDismiss' has no initializer and is not definitely assigned in the constructor.
  • src/components/modal/modal.tsx(102,12): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/modal/modal.tsx(145,18): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/modal/modal.tsx(194,7): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/modal/modal.tsx(220,7): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
src/components/modal/test/modal.ct.ts
  • src/components/modal/test/modal.ct.ts(73,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/components/modal/test/modal.ct.ts(123,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
src/components/pagination/pagination.tsx
  • src/components/pagination/pagination.tsx(74,11): error TS2564: Property 'count' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'count' has no initializer and is not definitely assigned in the constructor.
  • src/components/pagination/pagination.tsx(234,47): error TS18047: 'e.target' is possibly 'null'.: error TS18047: 'e.target' is possibly 'null'.
  • src/components/pagination/pagination.tsx(234,47): error TS7053: Element implicitly has an 'any' type because expression of type '"value"' can't be used to index type 'EventTarget'.: error TS7053: Element implicitly has an 'any' type because expression of type '"value"' can't be used to index type 'EventTarget'.
src/components/pagination/test/pagination.ct.ts
  • src/components/pagination/test/pagination.ct.ts(57,50): error TS2345: Argument of type '(e: CustomEvent) => void' is not assignable to parameter of type 'EventListenerOrEventListenerObject'.: error TS2345: Argument of type '(e: CustomEvent) => void' is not assignable to parameter of type 'EventListenerOrEventListenerObject'.
src/components/pill/pill.tsx
  • src/components/pill/pill.tsx(18,14): error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'el' has no initializer and is not definitely assigned in the constructor.
src/components/split-button/split-button.tsx
  • src/components/split-button/split-button.tsx(86,12): error TS2564: Property 'buttonClick' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'buttonClick' has no initializer and is not definitely assigned in the constructor.
  • src/components/split-button/split-button.tsx(88,11): error TS2564: Property 'triggerElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'triggerElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/split-button/split-button.tsx(89,11): error TS2564: Property 'dropdownElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'dropdownElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/split-button/split-button.tsx(131,26): error TS2322: Type 'HTMLIxIconButtonElement | undefined' is not assignable to type 'HTMLElement'.: error TS2322: Type 'HTMLIxIconButtonElement | undefined' is not assignable to type 'HTMLElement'.
  • src/components/split-button/split-button.tsx(138,24): error TS2322: Type 'HTMLIxDropdownElement | undefined' is not assignable to type 'HTMLIxDropdownElement'.: error TS2322: Type 'HTMLIxDropdownElement | undefined' is not assignable to type 'HTMLIxDropdownElement'.
src/components/toast/toast.tsx
  • src/components/toast/toast.tsx(43,11): error TS2564: Property 'toastTitle' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'toastTitle' has no initializer and is not definitely assigned in the constructor.
  • src/components/toast/toast.tsx(58,11): error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'icon' has no initializer and is not definitely assigned in the constructor.
  • src/components/toast/toast.tsx(63,11): error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'iconColor' has no initializer and is not definitely assigned in the constructor.
  • src/components/toast/toast.tsx(68,12): error TS2564: Property 'closeToast' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'closeToast' has no initializer and is not definitely assigned in the constructor.
src/components/tree/test/tree.ct.ts
  • src/components/tree/test/tree.ct.ts(64,31): error TS7006: Parameter 'mount' implicitly has an 'any' type.: error TS7006: Parameter 'mount' implicitly has an 'any' type.
src/components/tree/tree.tsx
  • src/components/tree/tree.tsx(88,11): error TS2564: Property 'hyperlist' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'hyperlist' has no initializer and is not definitely assigned in the constructor.
src/components/utils/lazy-list/lazy.ts
  • src/components/utils/lazy-list/lazy.ts(41,3): error TS2564: Property '_config' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_config' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(44,3): error TS2564: Property '_renderAnimationFrame' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_renderAnimationFrame' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(45,3): error TS2564: Property '_averageHeight' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_averageHeight' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(53,3): error TS2564: Property '_itemHeights' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_itemHeights' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(54,3): error TS2564: Property '_containerSize' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_containerSize' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(55,3): error TS2564: Property '_scrollPaddingBottom' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_scrollPaddingBottom' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(56,3): error TS2564: Property '_scrollPaddingTop' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_scrollPaddingTop' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(59,3): error TS2564: Property '_screenItemsLen' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_screenItemsLen' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(60,3): error TS2564: Property '_lastFrom' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property '_lastFrom' has no initializer and is not definitely assigned in the constructor.
  • src/components/utils/lazy-list/lazy.ts(70,43): error TS7006: Parameter 'style' implicitly has an 'any' type.: error TS7006: Parameter 'style' implicitly has an 'any' type.
  • src/components/utils/lazy-list/lazy.ts(72,25): error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.: error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
  • src/components/utils/lazy-list/lazy.ts(73,23): error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.: error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
  • src/components/utils/lazy-list/lazy.ts(116,25): error TS2565: Property '_config' is used before being assigned.: error TS2565: Property '_config' is used before being assigned.
  • src/components/utils/lazy-list/lazy.ts(189,28): error TS2322: Type 'number | undefined' is not assignable to type 'number'.: error TS2322: Type 'number | undefined' is not assignable to type 'number'.
  • src/components/utils/lazy-list/lazy.ts(197,23): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'VirtualListConfig'.: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'VirtualListConfig'.
  • src/components/utils/lazy-list/lazy.ts(204,11): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'VirtualListConfig'.: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'VirtualListConfig'.
  • src/components/utils/lazy-list/lazy.ts(228,28): error TS18048: 'config.itemHeight' is possibly 'undefined'.: error TS18048: 'config.itemHeight' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(228,48): error TS18048: 'config.total' is possibly 'undefined'.: error TS18048: 'config.total' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(253,30): error TS2345: Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'.: error TS2345: Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'.
  • src/components/utils/lazy-list/lazy.ts(292,11): error TS7006: Parameter 'i' implicitly has an 'any' type.: error TS7006: Parameter 'i' implicitly has an 'any' type.
  • src/components/utils/lazy-list/lazy.ts(294,16): error TS2722: Cannot invoke an object which is possibly 'undefined'.: error TS2722: Cannot invoke an object which is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(356,14): error TS18048: 'total' is possibly 'undefined'.: error TS18048: 'total' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(356,51): error TS18048: 'total' is possibly 'undefined'.: error TS18048: 'total' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(373,5): error TS7053: Element implicitly has an 'any' type because expression of type '"appendChild" | "push"' can't be used to index type 'never[] | DocumentFragment'.: error TS7053: Element implicitly has an 'any' type because expression of type '"appendChild" | "push"' can't be used to index type 'never[] | DocumentFragment'.
  • src/components/utils/lazy-list/lazy.ts(378,7): error TS7053: Element implicitly has an 'any' type because expression of type '"appendChild" | "push"' can't be used to index type 'never[] | DocumentFragment'.: error TS7053: Element implicitly has an 'any' type because expression of type '"appendChild" | "push"' can't be used to index type 'never[] | DocumentFragment'.
  • src/components/utils/lazy-list/lazy.ts(397,28): error TS18048: 'total' is possibly 'undefined'.: error TS18048: 'total' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(422,31): error TS18048: 'total' is possibly 'undefined'.: error TS18048: 'total' is possibly 'undefined'.
  • src/components/utils/lazy-list/lazy.ts(424,7): error TS18048: 'total' is possibly 'undefined'.: error TS18048: 'total' is possibly 'undefined'.
src/components/workflow-step/workflow-step.tsx
  • src/components/workflow-step/workflow-step.tsx(38,14): error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'hostElement' has no initializer and is not definitely assigned in the constructor.
src/tests/toggle-button/toggle-button.e2e.ts
  • src/tests/toggle-button/toggle-button.e2e.ts(28,11): error TS18047: 'b.shadowRoot' is possibly 'null'.: error TS18047: 'b.shadowRoot' is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(28,11): error TS18047: 'b.shadowRoot' is possibly 'null'.: error TS18047: 'b.shadowRoot' is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(28,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(28,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(46,11): error TS18047: 'b.shadowRoot' is possibly 'null'.: error TS18047: 'b.shadowRoot' is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(46,11): error TS18047: 'b.shadowRoot' is possibly 'null'.: error TS18047: 'b.shadowRoot' is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(46,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.
  • src/tests/toggle-button/toggle-button.e2e.ts(46,11): error TS2531: Object is possibly 'null'.: error TS2531: Object is possibly 'null'.

Copy link

sonarcloud bot commented Dec 5, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants