@ui5/webcomponents-base 2.9.0-rc.1 → 2.9.0-rc.2
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/CHANGELOG.md +12 -0
- package/cypress/specs/util/FocusableElements.cy.tsx +48 -0
- package/dist/.tsbuildinfobuild +1 -1
- package/dist/custom-elements-internal.json +30 -15
- package/dist/custom-elements.json +30 -15
- package/dist/generated/VersionInfo.js +3 -3
- package/dist/generated/VersionInfo.js.map +1 -1
- package/dist/index.d.ts +42 -6
- package/dist/index.js +88 -0
- package/dist/index.js.map +1 -0
- package/dist/prod/generated/VersionInfo.js +1 -1
- package/dist/prod/generated/VersionInfo.js.map +1 -1
- package/dist/prod/index.js +2 -0
- package/dist/prod/index.js.map +7 -0
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js +1 -1
- package/dist/prod/thirdparty/preact/jsxRuntime.module.d.js.map +2 -2
- package/dist/prod/util/FocusableElements.js +1 -1
- package/dist/prod/util/FocusableElements.js.map +3 -3
- package/dist/prod/util/HTMLSanitizer.js.map +1 -1
- package/dist/thirdparty/preact/jsx.d.ts +1 -1
- package/dist/thirdparty/preact/jsxRuntime.module.d.ts +3 -3
- package/dist/util/FocusableElements.js +18 -2
- package/dist/util/FocusableElements.js.map +1 -1
- package/dist/util/HTMLSanitizer.d.ts +2 -0
- package/dist/util/HTMLSanitizer.js +2 -2
- package/dist/util/HTMLSanitizer.js.map +1 -1
- package/package-scripts.cjs +2 -2
- package/package.json +6 -6
- package/dist/prod/index.d.js +0 -2
- package/dist/prod/index.d.js.map +0 -7
- package/index.js +0 -208
package/package-scripts.cjs
CHANGED
|
@@ -49,8 +49,8 @@ const scripts = {
|
|
|
49
49
|
},
|
|
50
50
|
generateAPI: {
|
|
51
51
|
default: "nps generateAPI.generateCEM generateAPI.validateCEM",
|
|
52
|
-
generateCEM: `cem analyze --config "${LIB}/cem/custom-elements-manifest.config.mjs"
|
|
53
|
-
validateCEM: `node "${LIB}/cem/validate.js"
|
|
52
|
+
generateCEM: `cross-env UI5_CEM_MODE='dev' cem analyze --config "${LIB}/cem/custom-elements-manifest.config.mjs"`,
|
|
53
|
+
validateCEM: `cross-env UI5_CEM_MODE='dev' node "${LIB}/cem/validate.js"`,
|
|
54
54
|
},
|
|
55
55
|
watch: {
|
|
56
56
|
default: 'concurrently "nps watch.src" "nps watch.styles"',
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-base",
|
|
3
|
-
"version": "2.9.0-rc.
|
|
3
|
+
"version": "2.9.0-rc.2",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.base",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"module": "index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"openui5",
|
|
11
11
|
"sapui5",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"default": "./dist/ssr-dom.js"
|
|
26
26
|
},
|
|
27
27
|
".": {
|
|
28
|
-
"types": "./
|
|
29
|
-
"default": "./index.js"
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
30
|
},
|
|
31
31
|
"./dist/*": {
|
|
32
32
|
"production": "./dist/prod/*",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@openui5/sap.ui.core": "1.120.17",
|
|
64
64
|
"@ui5/cypress-internal": "0.0.0",
|
|
65
|
-
"@ui5/webcomponents-tools": "2.9.0-rc.
|
|
65
|
+
"@ui5/webcomponents-tools": "2.9.0-rc.2",
|
|
66
66
|
"chromedriver": "^133.0.0",
|
|
67
67
|
"clean-css": "^5.2.2",
|
|
68
68
|
"copy-and-watch": "^0.1.5",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"resolve": "^1.20.0",
|
|
74
74
|
"touch": "^3.1.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "17eb194560a6db21bab9da6eb69b599ac504fd78"
|
|
77
77
|
}
|
package/dist/prod/index.d.js
DELETED
package/dist/prod/index.d.js.map
DELETED
package/index.js
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
// animations/
|
|
2
|
-
import scroll from "./dist/animations/scroll.js";
|
|
3
|
-
import slideDown from "./dist/animations/slideDown.js";
|
|
4
|
-
import slideUp from "./dist/animations/slideUp.js";
|
|
5
|
-
|
|
6
|
-
// config/
|
|
7
|
-
import { getAnimationMode, setAnimationMode } from "./dist/config/AnimationMode.js";
|
|
8
|
-
import { getCalendarType } from "./dist/config/CalendarType.js";
|
|
9
|
-
import { getFirstDayOfWeek, getLegacyDateCalendarCustomizing } from "./dist/config/FormatSettings.js";
|
|
10
|
-
import {
|
|
11
|
-
setDefaultIconCollection,
|
|
12
|
-
getDefaultIconCollection,
|
|
13
|
-
} from "./dist/config/Icons.js";
|
|
14
|
-
import { RegisteredIconCollection } from "./dist/asset-registries/util/IconCollectionsByTheme.js";
|
|
15
|
-
import getEffectiveIconCollection from "./dist/asset-registries/util/getIconCollectionByTheme.js";
|
|
16
|
-
import {
|
|
17
|
-
getLanguage,
|
|
18
|
-
setLanguage,
|
|
19
|
-
getDefaultLanguage,
|
|
20
|
-
setFetchDefaultLanguage,
|
|
21
|
-
getFetchDefaultLanguage,
|
|
22
|
-
} from "./dist/config/Language.js";
|
|
23
|
-
import { getNoConflict, setNoConflict } from "./dist/config/NoConflict.js";
|
|
24
|
-
import {
|
|
25
|
-
getTheme,
|
|
26
|
-
setTheme,
|
|
27
|
-
getDefaultTheme,
|
|
28
|
-
} from "./dist/config/Theme.js";
|
|
29
|
-
|
|
30
|
-
// decorators/
|
|
31
|
-
import customElement from "./dist/decorators/customElement.js";
|
|
32
|
-
import event from "./dist/decorators/event.js";
|
|
33
|
-
import property from "./dist/decorators/property.js";
|
|
34
|
-
import slot from "./dist/decorators/slot.js";
|
|
35
|
-
|
|
36
|
-
// delegate/
|
|
37
|
-
import ItemNavigation from "./dist/delegate/ItemNavigation.js";
|
|
38
|
-
import ResizeHandler from "./dist/delegate/ResizeHandler.js";
|
|
39
|
-
import ScrollEnablement from "./dist/delegate/ScrollEnablement.js";
|
|
40
|
-
|
|
41
|
-
// locale/
|
|
42
|
-
import applyDirection from "./dist/locale/applyDirection.js";
|
|
43
|
-
import { attachDirectionChange, detachDirectionChange } from "./dist/locale/directionChange.js";
|
|
44
|
-
import getEffectiveDir from "./dist/locale/getEffectiveDir.js";
|
|
45
|
-
import { attachLanguageChange, detachLanguageChange } from "./dist/locale/languageChange.js";
|
|
46
|
-
|
|
47
|
-
// util/
|
|
48
|
-
import { URLListValidator, sanitizeHTML } from "./dist/util/HTMLSanitizer.js";
|
|
49
|
-
|
|
50
|
-
// Assets.ts
|
|
51
|
-
import { registerI18nLoader } from "./dist/asset-registries/i18n.js";
|
|
52
|
-
import { registerLocaleDataLoader } from "./dist/asset-registries/LocaleData.js";
|
|
53
|
-
import { registerThemePropertiesLoader } from "./dist/asset-registries/Themes.js";
|
|
54
|
-
import { registerIconLoader } from "./dist/asset-registries/Icons.js";
|
|
55
|
-
|
|
56
|
-
// Boot.ts
|
|
57
|
-
import { attachBoot } from "./dist/Boot.js";
|
|
58
|
-
|
|
59
|
-
// CustomElementsScope.ts
|
|
60
|
-
import {
|
|
61
|
-
setCustomElementsScopingSuffix,
|
|
62
|
-
getCustomElementsScopingSuffix,
|
|
63
|
-
setCustomElementsScopingRules,
|
|
64
|
-
getCustomElementsScopingRules,
|
|
65
|
-
getEffectiveScopingSuffixForTag,
|
|
66
|
-
} from "./dist/CustomElementsScope.js";
|
|
67
|
-
|
|
68
|
-
// Device.ts
|
|
69
|
-
import {
|
|
70
|
-
supportsTouch,
|
|
71
|
-
isSafari,
|
|
72
|
-
isChrome,
|
|
73
|
-
isFirefox,
|
|
74
|
-
isPhone,
|
|
75
|
-
isTablet,
|
|
76
|
-
isDesktop,
|
|
77
|
-
isCombi,
|
|
78
|
-
isIOS,
|
|
79
|
-
isAndroid,
|
|
80
|
-
} from "./dist/Device.js";
|
|
81
|
-
|
|
82
|
-
// EventProvider.ts
|
|
83
|
-
import EventProvider from "./dist/EventProvider.js";
|
|
84
|
-
|
|
85
|
-
// i18nBundle.ts
|
|
86
|
-
import I18nBundle, { getI18nBundle, registerCustomI18nBundleGetter } from "./dist/i18nBundle.js";
|
|
87
|
-
|
|
88
|
-
// MediaRange.ts
|
|
89
|
-
import MediaRange from "./dist/MediaRange.js";
|
|
90
|
-
|
|
91
|
-
// Render.ts
|
|
92
|
-
import {
|
|
93
|
-
renderDeferred,
|
|
94
|
-
renderImmediately,
|
|
95
|
-
cancelRender,
|
|
96
|
-
renderFinished,
|
|
97
|
-
} from "./dist/Render.js";
|
|
98
|
-
|
|
99
|
-
// Theming.ts
|
|
100
|
-
import { addCustomCSS, attachThemeLoaded, detachThemeLoaded } from "./dist/Theming.js";
|
|
101
|
-
|
|
102
|
-
// UI5Element.ts
|
|
103
|
-
import UI5Element from "./dist/UI5Element.js";
|
|
104
|
-
|
|
105
|
-
export default UI5Element;
|
|
106
|
-
export {
|
|
107
|
-
// animations/
|
|
108
|
-
scroll,
|
|
109
|
-
slideDown,
|
|
110
|
-
slideUp,
|
|
111
|
-
|
|
112
|
-
// config/
|
|
113
|
-
getAnimationMode,
|
|
114
|
-
setAnimationMode,
|
|
115
|
-
getCalendarType,
|
|
116
|
-
getFirstDayOfWeek,
|
|
117
|
-
getLegacyDateCalendarCustomizing,
|
|
118
|
-
setDefaultIconCollection,
|
|
119
|
-
getDefaultIconCollection,
|
|
120
|
-
getEffectiveIconCollection,
|
|
121
|
-
RegisteredIconCollection,
|
|
122
|
-
getLanguage,
|
|
123
|
-
setLanguage,
|
|
124
|
-
getDefaultLanguage,
|
|
125
|
-
setFetchDefaultLanguage,
|
|
126
|
-
getFetchDefaultLanguage,
|
|
127
|
-
getNoConflict,
|
|
128
|
-
setNoConflict,
|
|
129
|
-
getTheme,
|
|
130
|
-
setTheme,
|
|
131
|
-
getDefaultTheme,
|
|
132
|
-
|
|
133
|
-
// decorators/
|
|
134
|
-
customElement,
|
|
135
|
-
event,
|
|
136
|
-
property,
|
|
137
|
-
slot,
|
|
138
|
-
|
|
139
|
-
// delegate/
|
|
140
|
-
ItemNavigation,
|
|
141
|
-
ResizeHandler,
|
|
142
|
-
ScrollEnablement,
|
|
143
|
-
|
|
144
|
-
// locale/
|
|
145
|
-
applyDirection,
|
|
146
|
-
attachDirectionChange,
|
|
147
|
-
detachDirectionChange,
|
|
148
|
-
getEffectiveDir,
|
|
149
|
-
attachLanguageChange,
|
|
150
|
-
detachLanguageChange,
|
|
151
|
-
|
|
152
|
-
// util/
|
|
153
|
-
URLListValidator,
|
|
154
|
-
sanitizeHTML,
|
|
155
|
-
|
|
156
|
-
// Assets.ts
|
|
157
|
-
registerI18nLoader,
|
|
158
|
-
registerLocaleDataLoader,
|
|
159
|
-
registerThemePropertiesLoader,
|
|
160
|
-
registerIconLoader,
|
|
161
|
-
|
|
162
|
-
// Boot.ts
|
|
163
|
-
attachBoot,
|
|
164
|
-
|
|
165
|
-
// CustomElementsScope.ts
|
|
166
|
-
setCustomElementsScopingSuffix,
|
|
167
|
-
getCustomElementsScopingSuffix,
|
|
168
|
-
setCustomElementsScopingRules,
|
|
169
|
-
getCustomElementsScopingRules,
|
|
170
|
-
getEffectiveScopingSuffixForTag,
|
|
171
|
-
|
|
172
|
-
// Device.ts
|
|
173
|
-
supportsTouch,
|
|
174
|
-
isSafari,
|
|
175
|
-
isChrome,
|
|
176
|
-
isFirefox,
|
|
177
|
-
isPhone,
|
|
178
|
-
isTablet,
|
|
179
|
-
isDesktop,
|
|
180
|
-
isCombi,
|
|
181
|
-
isIOS,
|
|
182
|
-
isAndroid,
|
|
183
|
-
|
|
184
|
-
// EventProvider.ts
|
|
185
|
-
EventProvider,
|
|
186
|
-
|
|
187
|
-
// i18nBundle.ts
|
|
188
|
-
I18nBundle,
|
|
189
|
-
getI18nBundle,
|
|
190
|
-
registerCustomI18nBundleGetter,
|
|
191
|
-
|
|
192
|
-
// MediaRange.ts
|
|
193
|
-
MediaRange,
|
|
194
|
-
|
|
195
|
-
// Render.ts
|
|
196
|
-
renderDeferred,
|
|
197
|
-
renderImmediately,
|
|
198
|
-
cancelRender,
|
|
199
|
-
renderFinished,
|
|
200
|
-
|
|
201
|
-
// Theming.ts
|
|
202
|
-
addCustomCSS,
|
|
203
|
-
attachThemeLoaded,
|
|
204
|
-
detachThemeLoaded,
|
|
205
|
-
|
|
206
|
-
// UI5Element.ts
|
|
207
|
-
UI5Element,
|
|
208
|
-
};
|