Skip to content

Commit df96bcd

Browse files
github-actions[bot]mmarinkovm4rc0zhirsch88
authored
🐛 fix(core): Cannot build after upgrade 19.2.0 to 19.3.0 (#1750)
* Create PR for #1749 * add back format cjs * format * revert back changed in core/index.ts * fix(core): fix doc app * use release mode for snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Magdalena Marinkov <[email protected]> Co-authored-by: Marco Zirkenbach <[email protected]> Co-authored-by: Gery Hirschfeld <[email protected]>
1 parent 4338e3a commit df96bcd

File tree

5 files changed

+8
-81
lines changed

5 files changed

+8
-81
lines changed

.github/workflows/pr-comment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484

8585
- name: Build
8686
run: npx nx run-many -t build --projects=tag:scope:release
87+
env:
88+
BAL_DS_RELEASE: true
8789

8890
- name: Pre-Publish
8991
run: npx nx run pre-publish

packages/core/src/components.d.ts

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,39 +1124,6 @@ export namespace Components {
11241124
*/
11251125
"space": BalProps.BalDividerSpace;
11261126
}
1127-
interface BalDocApp {
1128-
/**
1129-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
1130-
* @default true
1131-
*/
1132-
"animated": boolean;
1133-
"language"?: string;
1134-
/**
1135-
* @default ''
1136-
*/
1137-
"logComponents": string;
1138-
/**
1139-
* @default true
1140-
*/
1141-
"logCustom": boolean;
1142-
/**
1143-
* @default true
1144-
*/
1145-
"logEvents": boolean;
1146-
/**
1147-
* @default true
1148-
*/
1149-
"logLifecycle": boolean;
1150-
/**
1151-
* @default true
1152-
*/
1153-
"logRender": boolean;
1154-
"region"?: string;
1155-
/**
1156-
* @default false
1157-
*/
1158-
"stickyFooter": boolean;
1159-
}
11601127
interface BalDropdown {
11611128
/**
11621129
* Indicates whether the value of the control can be automatically completed by the browser.
@@ -4930,12 +4897,6 @@ declare global {
49304897
prototype: HTMLBalDividerElement;
49314898
new (): HTMLBalDividerElement;
49324899
};
4933-
interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement {
4934-
}
4935-
var HTMLBalDocAppElement: {
4936-
prototype: HTMLBalDocAppElement;
4937-
new (): HTMLBalDocAppElement;
4938-
};
49394900
interface HTMLBalDropdownElementEventMap {
49404901
"balChange": BalEvents.BalDropdownChangeDetail;
49414902
"balFocus": BalEvents.BalDropdownFocusDetail;
@@ -5917,7 +5878,6 @@ declare global {
59175878
"bal-date-calendar": HTMLBalDateCalendarElement;
59185879
"bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
59195880
"bal-divider": HTMLBalDividerElement;
5920-
"bal-doc-app": HTMLBalDocAppElement;
59215881
"bal-dropdown": HTMLBalDropdownElement;
59225882
"bal-field": HTMLBalFieldElement;
59235883
"bal-field-control": HTMLBalFieldControlElement;
@@ -7143,39 +7103,6 @@ declare namespace LocalJSX {
71437103
*/
71447104
"space"?: BalProps.BalDividerSpace;
71457105
}
7146-
interface BalDocApp {
7147-
/**
7148-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
7149-
* @default true
7150-
*/
7151-
"animated"?: boolean;
7152-
"language"?: string;
7153-
/**
7154-
* @default ''
7155-
*/
7156-
"logComponents"?: string;
7157-
/**
7158-
* @default true
7159-
*/
7160-
"logCustom"?: boolean;
7161-
/**
7162-
* @default true
7163-
*/
7164-
"logEvents"?: boolean;
7165-
/**
7166-
* @default true
7167-
*/
7168-
"logLifecycle"?: boolean;
7169-
/**
7170-
* @default true
7171-
*/
7172-
"logRender"?: boolean;
7173-
"region"?: string;
7174-
/**
7175-
* @default false
7176-
*/
7177-
"stickyFooter"?: boolean;
7178-
}
71797106
interface BalDropdown {
71807107
/**
71817108
* Indicates whether the value of the control can be automatically completed by the browser.
@@ -10496,7 +10423,6 @@ declare namespace LocalJSX {
1049610423
"bal-date-calendar": BalDateCalendar;
1049710424
"bal-date-calendar-cell": BalDateCalendarCell;
1049810425
"bal-divider": BalDivider;
10499-
"bal-doc-app": BalDocApp;
1050010426
"bal-dropdown": BalDropdown;
1050110427
"bal-field": BalField;
1050210428
"bal-field-control": BalFieldControl;
@@ -10620,7 +10546,6 @@ declare module "@stencil/core" {
1062010546
"bal-date-calendar": LocalJSX.BalDateCalendar & JSXBase.HTMLAttributes<HTMLBalDateCalendarElement>;
1062110547
"bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
1062210548
"bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
10623-
"bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes<HTMLBalDocAppElement>;
1062410549
"bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
1062510550
"bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
1062610551
"bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;

packages/core/src/components/docs/bal-doc-app/bal-doc-app.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Component, Host, h, Prop, ComponentInterface } from '@stencil/core'
21
import * as balIcons from '@baloise/ds-icons'
3-
import { updateBalIcons } from '../../../utils/config'
2+
import { Component, ComponentInterface, h, Host, Prop } from '@stencil/core'
3+
import globalScript from '../../../global'
44
import { balBrowser } from '../../../utils/browser'
5+
import { updateBalIcons } from '../../../utils/config'
56
import { BalLogger } from '../../../utils/log'
6-
import globalScript from '../../../global'
77

88
/**
99
* @internal

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export {
2929
/**
3030
* Components
3131
*/
32-
export * from './components'
32+
export { Components, JSX } from './components'
3333

3434
/**
3535
* Types

packages/core/stencil.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { sass } from '@stencil/sass'
33
import fg from 'fast-glob'
44
import { join, parse, resolve } from 'path'
55

6+
import { webOutputTarget } from '@baloise/output-target-web'
7+
import { CustomDocumentationGenerator } from './config/doc-output-target'
68
import { AngularGenerator, AngularModuleGenerator } from './config/stencil.bindings.angular'
79
import { ReactGenerator } from './config/stencil.bindings.react'
8-
import { CustomDocumentationGenerator } from './config/doc-output-target'
9-
import { webOutputTarget } from '@baloise/output-target-web'
1010

1111
const IS_BAL_DS_RELEASE = process.env.BAL_DS_RELEASE === 'true'
1212
const IS_BAL_DOCUMENTATION = process.env.BAL_DOCUMENTATION === 'true'

0 commit comments

Comments
 (0)