@baloise/ds-core 0.0.5-snapshot.18- → 0.0.5
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/components/bal-app.js +85 -1
- package/components/index.js +282 -5
- package/components/tokens.esm.js +1 -1
- package/dist/cjs/{global-e99d827b.js → app-globals-96247350.js} +4 -2
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{breakpoints.decorator-d23cb3cb.js → breakpoints.decorator-317b79eb.js} +1 -1
- package/dist/cjs/{breakpoints.subject-10b97f68.js → breakpoints.subject-d01efdb0.js} +1 -1
- package/dist/cjs/design-system-components.cjs.js +2 -3
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-9c752efa.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/{tokens.esm-50b082a1.js → tokens.esm-49773ac1.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/design-system-components/design-system-components.esm.js +1 -1
- package/dist/design-system-components/design-system-components.js +1 -1
- package/dist/design-system-components/index.esm.js +1 -1
- package/dist/design-system-components/{p-2f9422afeb.entry.js → p-0685d79c20.entry.js} +1 -1
- package/dist/design-system-components/{p-3af4aa5dd2.system.entry.js → p-1063c5cdc0.system.entry.js} +1 -1
- package/dist/design-system-components/{p-051f8a1a.system.js → p-14bd447f.system.js} +1 -1
- package/dist/design-system-components/{p-be273124.system.js → p-16910f58.system.js} +1 -1
- package/dist/design-system-components/{p-83bfae67.system.js → p-17391ff3.system.js} +1 -1
- package/dist/design-system-components/p-238f1f34.js +1 -0
- package/dist/design-system-components/{p-e8777baf.system.js → p-2b79fb51.system.js} +1 -1
- package/dist/design-system-components/{p-a34056a1.js → p-2cc957ce.js} +1 -1
- package/dist/design-system-components/{p-f8b769af7e.system.entry.js → p-356f5cfef3.system.entry.js} +1 -1
- package/dist/design-system-components/{p-dc7d48da1d.system.entry.js → p-3865f038de.system.entry.js} +1 -1
- package/dist/design-system-components/{p-0f2af7bbc3.entry.js → p-3c8c5b6dd2.entry.js} +1 -1
- package/dist/design-system-components/{p-8aa81eeb6e.entry.js → p-458253ab5b.entry.js} +1 -1
- package/dist/design-system-components/{p-5e870a5808.entry.js → p-464c925d97.entry.js} +1 -1
- package/dist/design-system-components/p-50f12cb1.system.js +1 -1
- package/dist/design-system-components/{p-40ca690a4d.entry.js → p-55a5a05ad3.entry.js} +1 -1
- package/dist/design-system-components/{p-091eab19.js → p-5650ce58.js} +1 -1
- package/dist/design-system-components/{p-db72f1b8ca.system.entry.js → p-5ee8262d62.system.entry.js} +1 -1
- package/dist/design-system-components/p-66904dc1.js +1 -1
- package/dist/design-system-components/p-75c02a9ff4.entry.js +1 -0
- package/dist/design-system-components/{p-e62988c618.system.entry.js → p-7653dae772.system.entry.js} +1 -1
- package/dist/design-system-components/{p-5514046282.entry.js → p-77c0fa3e01.entry.js} +1 -1
- package/dist/design-system-components/{p-9acf9fbb7a.system.entry.js → p-7b57f1bf7a.system.entry.js} +1 -1
- package/dist/design-system-components/{p-558e787f00.system.entry.js → p-7e2faa5297.system.entry.js} +1 -1
- package/dist/design-system-components/{p-0aca601913.system.entry.js → p-81a1bd545f.system.entry.js} +1 -1
- package/dist/design-system-components/{p-888d7ea6b2.entry.js → p-97b3918054.entry.js} +1 -1
- package/dist/design-system-components/{p-06e3c9ed5f.entry.js → p-97dbfd519a.entry.js} +1 -1
- package/dist/design-system-components/p-9f5e39e1.system.js +1 -0
- package/dist/design-system-components/{p-4bcddd59a7.system.entry.js → p-a2e1502c7f.system.entry.js} +1 -1
- package/dist/design-system-components/{p-eb819e6392.system.entry.js → p-adb6bc44ef.system.entry.js} +1 -1
- package/dist/design-system-components/{p-eaf0e36655.entry.js → p-b293bf1ba0.entry.js} +1 -1
- package/dist/design-system-components/{p-b910a8a15e.system.entry.js → p-b5ff90d62d.system.entry.js} +1 -1
- package/dist/design-system-components/{p-0d891840cf.system.entry.js → p-c835e3cce4.system.entry.js} +1 -1
- package/dist/design-system-components/{p-ee0bad20fe.entry.js → p-c994b45363.entry.js} +1 -1
- package/dist/design-system-components/{p-2aba64dc98.entry.js → p-d1ebb10fc2.entry.js} +1 -1
- package/dist/design-system-components/{p-297c5e29ef.system.entry.js → p-d3c37b705b.system.entry.js} +1 -1
- package/dist/design-system-components/{p-9536385c66.entry.js → p-ed0e733640.entry.js} +1 -1
- package/dist/esm/{global-648bb593.js → app-globals-04db8eba.js} +4 -2
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-datepicker.entry.js +3 -3
- package/dist/esm/bal-hint_3.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-popover_2.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +3 -3
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +3 -3
- package/dist/esm/{breakpoints.decorator-52930576.js → breakpoints.decorator-4c9411f6.js} +1 -1
- package/dist/esm/{breakpoints.subject-599ebb15.js → breakpoints.subject-b9035870.js} +1 -1
- package/dist/esm/design-system-components.js +2 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-ff8054a2.js +1 -1
- package/dist/esm/loader.js +2 -3
- package/dist/esm/{tokens.esm-71e6a725.js → tokens.esm-09a5bc3a.js} +1 -1
- package/dist/esm-es5/app-globals-04db8eba.js +1 -0
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-datepicker.entry.js +1 -1
- package/dist/esm-es5/bal-hint_3.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popover_2.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-4c9411f6.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-599ebb15.js → breakpoints.subject-b9035870.js} +1 -1
- package/dist/esm-es5/design-system-components.js +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-ff8054a2.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/types/components.d.ts +0 -37
- package/package.json +7 -7
- package/components/bal-app2.js +0 -87
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -260
- package/components/initialize.js +0 -281
- package/dist/cjs/app-globals-96827f05.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -229
- package/dist/design-system-components/p-01ebb73de9.entry.js +0 -1
- package/dist/design-system-components/p-2cf6aee410.entry.js +0 -1
- package/dist/design-system-components/p-787f9258.system.js +0 -1
- package/dist/design-system-components/p-adff9a327e.system.entry.js +0 -1
- package/dist/design-system-components/p-bafa7b4e.js +0 -1
- package/dist/design-system-components/p-bfbc64f2.js +0 -1
- package/dist/design-system-components/p-fc586c6a.system.js +0 -1
- package/dist/esm/app-globals-46c15307.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -227
- package/dist/esm-es5/app-globals-46c15307.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-52930576.js +0 -1
- package/dist/esm-es5/global-648bb593.js +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/ds-playground/ds-playground/packages/core/.stencil/packages/icons/src/index.d.ts +0 -81
- /package/dist/design-system-components/{p-0492b758.system.js → p-dab8ac06.system.js} +0 -0
- /package/dist/design-system-components/{p-117c1161.js → p-e33303db.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-71e6a725.js → tokens.esm-09a5bc3a.js} +0 -0
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import * as balIcons from "../../../../../../icons/src/index";
|
|
3
|
-
import { updateBalIcons } from "../../../utils/config";
|
|
4
|
-
import { balBrowser } from "../../../utils/browser";
|
|
5
|
-
import globalScript from "../../../global";
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export class DocApp {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.logComponents = '';
|
|
12
|
-
this.logLifecycle = true;
|
|
13
|
-
this.logEvents = true;
|
|
14
|
-
this.logRender = true;
|
|
15
|
-
this.logCustom = true;
|
|
16
|
-
this.stickyFooter = false;
|
|
17
|
-
this.region = undefined;
|
|
18
|
-
this.language = undefined;
|
|
19
|
-
this.animated = true;
|
|
20
|
-
}
|
|
21
|
-
connectedCallback() {
|
|
22
|
-
globalScript();
|
|
23
|
-
updateBalIcons(balIcons);
|
|
24
|
-
}
|
|
25
|
-
componentDidRender() {
|
|
26
|
-
const logConfig = {
|
|
27
|
-
components: this.logComponents
|
|
28
|
-
.split(',')
|
|
29
|
-
.map(c => c.trim())
|
|
30
|
-
.filter(c => c !== ''),
|
|
31
|
-
lifecycle: this.logLifecycle,
|
|
32
|
-
event: this.logEvents,
|
|
33
|
-
render: this.logRender,
|
|
34
|
-
custom: this.logCustom,
|
|
35
|
-
};
|
|
36
|
-
if (balBrowser.hasWindow) {
|
|
37
|
-
if (this.logComponents) {
|
|
38
|
-
;
|
|
39
|
-
window.BaloiseDesignSystem.config.logger = logConfig;
|
|
40
|
-
}
|
|
41
|
-
if (this.region) {
|
|
42
|
-
;
|
|
43
|
-
window.BaloiseDesignSystem.config.region = this.region;
|
|
44
|
-
}
|
|
45
|
-
if (this.language) {
|
|
46
|
-
;
|
|
47
|
-
window.BaloiseDesignSystem.config.language = this.language;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
return (h(Host, null, h("bal-app", { animated: this.animated }, h("div", { class: { 'has-sticky-footer': this.stickyFooter } }, h("slot", null)))));
|
|
53
|
-
}
|
|
54
|
-
static get is() { return "bal-doc-app"; }
|
|
55
|
-
static get originalStyleUrls() {
|
|
56
|
-
return {
|
|
57
|
-
"$": ["bal-doc-app.sass"]
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
static get styleUrls() {
|
|
61
|
-
return {
|
|
62
|
-
"$": ["bal-doc-app.css"]
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
static get properties() {
|
|
66
|
-
return {
|
|
67
|
-
"logComponents": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"mutable": false,
|
|
70
|
-
"complexType": {
|
|
71
|
-
"original": "string",
|
|
72
|
-
"resolved": "string",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": ""
|
|
80
|
-
},
|
|
81
|
-
"attribute": "log-components",
|
|
82
|
-
"reflect": false,
|
|
83
|
-
"defaultValue": "''"
|
|
84
|
-
},
|
|
85
|
-
"logLifecycle": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"mutable": false,
|
|
88
|
-
"complexType": {
|
|
89
|
-
"original": "boolean",
|
|
90
|
-
"resolved": "boolean",
|
|
91
|
-
"references": {}
|
|
92
|
-
},
|
|
93
|
-
"required": false,
|
|
94
|
-
"optional": false,
|
|
95
|
-
"docs": {
|
|
96
|
-
"tags": [],
|
|
97
|
-
"text": ""
|
|
98
|
-
},
|
|
99
|
-
"attribute": "log-lifecycle",
|
|
100
|
-
"reflect": false,
|
|
101
|
-
"defaultValue": "true"
|
|
102
|
-
},
|
|
103
|
-
"logEvents": {
|
|
104
|
-
"type": "boolean",
|
|
105
|
-
"mutable": false,
|
|
106
|
-
"complexType": {
|
|
107
|
-
"original": "boolean",
|
|
108
|
-
"resolved": "boolean",
|
|
109
|
-
"references": {}
|
|
110
|
-
},
|
|
111
|
-
"required": false,
|
|
112
|
-
"optional": false,
|
|
113
|
-
"docs": {
|
|
114
|
-
"tags": [],
|
|
115
|
-
"text": ""
|
|
116
|
-
},
|
|
117
|
-
"attribute": "log-events",
|
|
118
|
-
"reflect": false,
|
|
119
|
-
"defaultValue": "true"
|
|
120
|
-
},
|
|
121
|
-
"logRender": {
|
|
122
|
-
"type": "boolean",
|
|
123
|
-
"mutable": false,
|
|
124
|
-
"complexType": {
|
|
125
|
-
"original": "boolean",
|
|
126
|
-
"resolved": "boolean",
|
|
127
|
-
"references": {}
|
|
128
|
-
},
|
|
129
|
-
"required": false,
|
|
130
|
-
"optional": false,
|
|
131
|
-
"docs": {
|
|
132
|
-
"tags": [],
|
|
133
|
-
"text": ""
|
|
134
|
-
},
|
|
135
|
-
"attribute": "log-render",
|
|
136
|
-
"reflect": false,
|
|
137
|
-
"defaultValue": "true"
|
|
138
|
-
},
|
|
139
|
-
"logCustom": {
|
|
140
|
-
"type": "boolean",
|
|
141
|
-
"mutable": false,
|
|
142
|
-
"complexType": {
|
|
143
|
-
"original": "boolean",
|
|
144
|
-
"resolved": "boolean",
|
|
145
|
-
"references": {}
|
|
146
|
-
},
|
|
147
|
-
"required": false,
|
|
148
|
-
"optional": false,
|
|
149
|
-
"docs": {
|
|
150
|
-
"tags": [],
|
|
151
|
-
"text": ""
|
|
152
|
-
},
|
|
153
|
-
"attribute": "log-custom",
|
|
154
|
-
"reflect": false,
|
|
155
|
-
"defaultValue": "true"
|
|
156
|
-
},
|
|
157
|
-
"stickyFooter": {
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "boolean",
|
|
162
|
-
"resolved": "boolean",
|
|
163
|
-
"references": {}
|
|
164
|
-
},
|
|
165
|
-
"required": false,
|
|
166
|
-
"optional": false,
|
|
167
|
-
"docs": {
|
|
168
|
-
"tags": [],
|
|
169
|
-
"text": ""
|
|
170
|
-
},
|
|
171
|
-
"attribute": "sticky-footer",
|
|
172
|
-
"reflect": false,
|
|
173
|
-
"defaultValue": "false"
|
|
174
|
-
},
|
|
175
|
-
"region": {
|
|
176
|
-
"type": "string",
|
|
177
|
-
"mutable": false,
|
|
178
|
-
"complexType": {
|
|
179
|
-
"original": "string",
|
|
180
|
-
"resolved": "string",
|
|
181
|
-
"references": {}
|
|
182
|
-
},
|
|
183
|
-
"required": false,
|
|
184
|
-
"optional": true,
|
|
185
|
-
"docs": {
|
|
186
|
-
"tags": [],
|
|
187
|
-
"text": ""
|
|
188
|
-
},
|
|
189
|
-
"attribute": "region",
|
|
190
|
-
"reflect": false
|
|
191
|
-
},
|
|
192
|
-
"language": {
|
|
193
|
-
"type": "string",
|
|
194
|
-
"mutable": false,
|
|
195
|
-
"complexType": {
|
|
196
|
-
"original": "string",
|
|
197
|
-
"resolved": "string",
|
|
198
|
-
"references": {}
|
|
199
|
-
},
|
|
200
|
-
"required": false,
|
|
201
|
-
"optional": true,
|
|
202
|
-
"docs": {
|
|
203
|
-
"tags": [],
|
|
204
|
-
"text": ""
|
|
205
|
-
},
|
|
206
|
-
"attribute": "language",
|
|
207
|
-
"reflect": false
|
|
208
|
-
},
|
|
209
|
-
"animated": {
|
|
210
|
-
"type": "boolean",
|
|
211
|
-
"mutable": false,
|
|
212
|
-
"complexType": {
|
|
213
|
-
"original": "boolean",
|
|
214
|
-
"resolved": "boolean",
|
|
215
|
-
"references": {}
|
|
216
|
-
},
|
|
217
|
-
"required": false,
|
|
218
|
-
"optional": false,
|
|
219
|
-
"docs": {
|
|
220
|
-
"tags": [],
|
|
221
|
-
"text": "Disables all animation inside the bal-app. Can be used for simplify e2e testing."
|
|
222
|
-
},
|
|
223
|
-
"attribute": "animated",
|
|
224
|
-
"reflect": true,
|
|
225
|
-
"defaultValue": "true"
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
}
|