skeleton-webcomponent-loader 1.0.2 → 2.1.1
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 +26 -0
- package/dist/cjs/{css-shim-b5b9a7c7.js → css-shim-b3e497ca.js} +1 -1
- package/dist/cjs/{index-b7b0a13e.js → index-b5d2dca0.js} +209 -138
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/nb-skeleton.cjs.entry.js +23 -77
- package/dist/cjs/skeleton-webcomponent.cjs.js +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/skeleton/skeleton.js +71 -39
- package/dist/custom-elements/index.d.ts +10 -2
- package/dist/custom-elements/index.js +26 -79
- package/dist/esm/{css-shim-2bc9d17d.js → css-shim-2f04a37a.js} +1 -1
- package/dist/esm/{index-f5ca0f12.js → index-63fd3905.js} +193 -121
- package/dist/esm/loader.js +5 -5
- package/dist/esm/nb-skeleton.entry.js +23 -77
- package/dist/esm/polyfills/index.js +2 -2
- package/dist/esm/skeleton-webcomponent.js +5 -5
- package/dist/esm-es5/{css-shim-2bc9d17d.js → css-shim-2f04a37a.js} +0 -0
- package/dist/esm-es5/index-63fd3905.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/nb-skeleton.entry.js +1 -7
- package/dist/esm-es5/skeleton-webcomponent.js +1 -1
- package/dist/skeleton-webcomponent/p-12077897.js +1 -0
- package/dist/skeleton-webcomponent/{p-527e1426.system.js → p-16aec442.system.js} +0 -0
- package/dist/skeleton-webcomponent/p-63ed3b45.entry.js +1 -0
- package/dist/skeleton-webcomponent/p-7e96e5d4.js +1 -0
- package/dist/skeleton-webcomponent/p-8bef7229.system.js +1 -0
- package/dist/skeleton-webcomponent/p-dc1bf577.system.entry.js +1 -0
- package/dist/skeleton-webcomponent/p-f59432d4.system.js +1 -0
- package/dist/skeleton-webcomponent/skeleton-webcomponent.esm.js +1 -1
- package/dist/skeleton-webcomponent/skeleton-webcomponent.js +1 -1
- package/dist/types/components/skeleton/skeleton.d.ts +9 -1
- package/dist/types/components.d.ts +14 -2
- package/dist/types/stencil-public-runtime.d.ts +225 -195
- package/loader/index.d.ts +0 -1
- package/package.json +19 -7
- package/readme.md +7 -5
- package/dist/esm-es5/index-f5ca0f12.js +0 -1
- package/dist/skeleton-webcomponent/p-4be3ea66.system.entry.js +0 -7
- package/dist/skeleton-webcomponent/p-8715773a.entry.js +0 -7
- package/dist/skeleton-webcomponent/p-8f82881f.js +0 -1
- package/dist/skeleton-webcomponent/p-b131d02e.system.js +0 -1
- package/dist/skeleton-webcomponent/p-d9243289.js +0 -1
- package/dist/skeleton-webcomponent/p-fde56e0b.system.js +0 -1
|
@@ -151,6 +151,12 @@ export interface UserBuildConditionals {
|
|
|
151
151
|
* include or exclude code depending on the build.
|
|
152
152
|
*/
|
|
153
153
|
export declare const Build: UserBuildConditionals;
|
|
154
|
+
/**
|
|
155
|
+
* The `Env` object provides access to the "env" object declared in the project's `stencil.config.ts`.
|
|
156
|
+
*/
|
|
157
|
+
export declare const Env: {
|
|
158
|
+
[prop: string]: string | undefined;
|
|
159
|
+
};
|
|
154
160
|
/**
|
|
155
161
|
* The `@Component()` decorator is used to provide metadata about the component class.
|
|
156
162
|
* https://stenciljs.com/docs/component
|
|
@@ -209,6 +215,7 @@ export declare const State: StateDecorator;
|
|
|
209
215
|
*/
|
|
210
216
|
export declare const Watch: WatchDecorator;
|
|
211
217
|
export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
218
|
+
export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
212
219
|
/**
|
|
213
220
|
* `setMode()` is used for libraries which provide multiple "modes" for styles.
|
|
214
221
|
*/
|
|
@@ -217,6 +224,13 @@ export declare const setMode: (handler: ResolutionHandler) => void;
|
|
|
217
224
|
* getMode
|
|
218
225
|
*/
|
|
219
226
|
export declare function getMode<T = string | undefined>(ref: any): T;
|
|
227
|
+
export declare function setPlatformHelpers(helpers: {
|
|
228
|
+
jmp?: (c: any) => any;
|
|
229
|
+
raf?: (c: any) => number;
|
|
230
|
+
ael?: (el: any, eventName: string, listener: any, options: any) => void;
|
|
231
|
+
rel?: (el: any, eventName: string, listener: any, options: any) => void;
|
|
232
|
+
ce?: (eventName: string, opts?: any) => any;
|
|
233
|
+
}): void;
|
|
220
234
|
/**
|
|
221
235
|
* Get the base path to where the assets can be found. Use `setAssetPath(path)`
|
|
222
236
|
* if the path needs to be customized.
|
|
@@ -267,6 +281,11 @@ export declare function writeTask(task: RafCallback): void;
|
|
|
267
281
|
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
|
268
282
|
*/
|
|
269
283
|
export declare function readTask(task: RafCallback): void;
|
|
284
|
+
/**
|
|
285
|
+
* `setErrorHandler()` can be used to inject a custom global error handler.
|
|
286
|
+
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
287
|
+
*/
|
|
288
|
+
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
270
289
|
/**
|
|
271
290
|
* This file gets copied to all distributions of stencil component collections.
|
|
272
291
|
* - no imports
|
|
@@ -430,19 +449,27 @@ export declare const Fragment: FunctionalComponent<{}>;
|
|
|
430
449
|
*/
|
|
431
450
|
export declare namespace h {
|
|
432
451
|
function h(sel: any): VNode;
|
|
433
|
-
function h(sel: Node, data: VNodeData): VNode;
|
|
434
|
-
function h(sel: any, data: VNodeData): VNode;
|
|
452
|
+
function h(sel: Node, data: VNodeData | null): VNode;
|
|
453
|
+
function h(sel: any, data: VNodeData | null): VNode;
|
|
435
454
|
function h(sel: any, text: string): VNode;
|
|
436
455
|
function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
|
437
|
-
function h(sel: any, data: VNodeData, text: string): VNode;
|
|
438
|
-
function h(sel: any, data: VNodeData, children: Array<VNode | undefined | null>): VNode;
|
|
439
|
-
function h(sel: any, data: VNodeData, children: VNode): VNode;
|
|
456
|
+
function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
457
|
+
function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
458
|
+
function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
440
459
|
namespace JSX {
|
|
441
460
|
interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
|
|
442
461
|
[tagName: string]: any;
|
|
443
462
|
}
|
|
444
463
|
}
|
|
445
464
|
}
|
|
465
|
+
export declare function h(sel: any): VNode;
|
|
466
|
+
export declare function h(sel: Node, data: VNodeData | null): VNode;
|
|
467
|
+
export declare function h(sel: any, data: VNodeData | null): VNode;
|
|
468
|
+
export declare function h(sel: any, text: string): VNode;
|
|
469
|
+
export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
|
470
|
+
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
471
|
+
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
472
|
+
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
446
473
|
export interface VNode {
|
|
447
474
|
$flags$: number;
|
|
448
475
|
$tag$: string | number | Function;
|
|
@@ -639,7 +666,7 @@ export declare namespace JSXBase {
|
|
|
639
666
|
use: JSXBase.SVGAttributes;
|
|
640
667
|
view: JSXBase.SVGAttributes;
|
|
641
668
|
}
|
|
642
|
-
interface SlotAttributes {
|
|
669
|
+
interface SlotAttributes extends JSXAttributes {
|
|
643
670
|
name?: string;
|
|
644
671
|
slot?: string;
|
|
645
672
|
onSlotchange?: (event: Event) => void;
|
|
@@ -652,6 +679,7 @@ export declare namespace JSXBase {
|
|
|
652
679
|
media?: string;
|
|
653
680
|
rel?: string;
|
|
654
681
|
target?: string;
|
|
682
|
+
referrerPolicy?: ReferrerPolicy;
|
|
655
683
|
}
|
|
656
684
|
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
657
685
|
}
|
|
@@ -1139,87 +1167,87 @@ export declare namespace JSXBase {
|
|
|
1139
1167
|
unselectable?: boolean;
|
|
1140
1168
|
}
|
|
1141
1169
|
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1142
|
-
|
|
1170
|
+
class?: string | {
|
|
1143
1171
|
[className: string]: boolean;
|
|
1144
1172
|
};
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1173
|
+
color?: string;
|
|
1174
|
+
height?: number | string;
|
|
1175
|
+
id?: string;
|
|
1176
|
+
lang?: string;
|
|
1177
|
+
max?: number | string;
|
|
1178
|
+
media?: string;
|
|
1179
|
+
method?: string;
|
|
1180
|
+
min?: number | string;
|
|
1181
|
+
name?: string;
|
|
1182
|
+
style?: {
|
|
1155
1183
|
[key: string]: string | undefined;
|
|
1156
1184
|
};
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1185
|
+
target?: string;
|
|
1186
|
+
type?: string;
|
|
1187
|
+
width?: number | string;
|
|
1188
|
+
role?: string;
|
|
1189
|
+
tabindex?: number;
|
|
1162
1190
|
'accent-height'?: number | string;
|
|
1163
|
-
|
|
1164
|
-
|
|
1191
|
+
accumulate?: 'none' | 'sum';
|
|
1192
|
+
additive?: 'replace' | 'sum';
|
|
1165
1193
|
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1194
|
+
allowReorder?: 'no' | 'yes';
|
|
1195
|
+
alphabetic?: number | string;
|
|
1196
|
+
amplitude?: number | string;
|
|
1169
1197
|
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1198
|
+
ascent?: number | string;
|
|
1199
|
+
attributeName?: string;
|
|
1200
|
+
attributeType?: string;
|
|
1201
|
+
autoReverse?: number | string;
|
|
1202
|
+
azimuth?: number | string;
|
|
1203
|
+
baseFrequency?: number | string;
|
|
1176
1204
|
'baseline-shift'?: number | string;
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1205
|
+
baseProfile?: number | string;
|
|
1206
|
+
bbox?: number | string;
|
|
1207
|
+
begin?: number | string;
|
|
1208
|
+
bias?: number | string;
|
|
1209
|
+
by?: number | string;
|
|
1210
|
+
calcMode?: number | string;
|
|
1183
1211
|
'cap-height'?: number | string;
|
|
1184
|
-
|
|
1212
|
+
clip?: number | string;
|
|
1185
1213
|
'clip-path'?: string;
|
|
1186
|
-
|
|
1214
|
+
clipPathUnits?: number | string;
|
|
1187
1215
|
'clip-rule'?: number | string;
|
|
1188
1216
|
'color-interpolation'?: number | string;
|
|
1189
1217
|
'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
|
|
1190
1218
|
'color-profile'?: number | string;
|
|
1191
1219
|
'color-rendering'?: number | string;
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1220
|
+
contentScriptType?: number | string;
|
|
1221
|
+
contentStyleType?: number | string;
|
|
1222
|
+
cursor?: number | string;
|
|
1223
|
+
cx?: number | string;
|
|
1224
|
+
cy?: number | string;
|
|
1225
|
+
d?: string;
|
|
1226
|
+
decelerate?: number | string;
|
|
1227
|
+
descent?: number | string;
|
|
1228
|
+
diffuseConstant?: number | string;
|
|
1229
|
+
direction?: number | string;
|
|
1230
|
+
display?: number | string;
|
|
1231
|
+
divisor?: number | string;
|
|
1204
1232
|
'dominant-baseline'?: number | string;
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1233
|
+
dur?: number | string;
|
|
1234
|
+
dx?: number | string;
|
|
1235
|
+
dy?: number | string;
|
|
1208
1236
|
'edge-mode'?: number | string;
|
|
1209
|
-
|
|
1237
|
+
elevation?: number | string;
|
|
1210
1238
|
'enable-background'?: number | string;
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1239
|
+
end?: number | string;
|
|
1240
|
+
exponent?: number | string;
|
|
1241
|
+
externalResourcesRequired?: number | string;
|
|
1242
|
+
fill?: string;
|
|
1215
1243
|
'fill-opacity'?: number | string;
|
|
1216
1244
|
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1245
|
+
filter?: string;
|
|
1246
|
+
filterRes?: number | string;
|
|
1247
|
+
filterUnits?: number | string;
|
|
1220
1248
|
'flood-color'?: number | string;
|
|
1221
1249
|
'flood-opacity'?: number | string;
|
|
1222
|
-
|
|
1250
|
+
focusable?: number | string;
|
|
1223
1251
|
'font-family'?: string;
|
|
1224
1252
|
'font-size'?: number | string;
|
|
1225
1253
|
'font-size-adjust'?: number | string;
|
|
@@ -1227,113 +1255,113 @@ export declare namespace JSXBase {
|
|
|
1227
1255
|
'font-style'?: number | string;
|
|
1228
1256
|
'font-variant'?: number | string;
|
|
1229
1257
|
'font-weight'?: number | string;
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1258
|
+
format?: number | string;
|
|
1259
|
+
from?: number | string;
|
|
1260
|
+
fx?: number | string;
|
|
1261
|
+
fy?: number | string;
|
|
1262
|
+
g1?: number | string;
|
|
1263
|
+
g2?: number | string;
|
|
1236
1264
|
'glyph-name'?: number | string;
|
|
1237
1265
|
'glyph-orientation-horizontal'?: number | string;
|
|
1238
1266
|
'glyph-orientation-vertical'?: number | string;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1267
|
+
glyphRef?: number | string;
|
|
1268
|
+
gradientTransform?: string;
|
|
1269
|
+
gradientUnits?: string;
|
|
1270
|
+
hanging?: number | string;
|
|
1243
1271
|
'horiz-adv-x'?: number | string;
|
|
1244
1272
|
'horiz-origin-x'?: number | string;
|
|
1245
|
-
|
|
1246
|
-
|
|
1273
|
+
href?: string;
|
|
1274
|
+
ideographic?: number | string;
|
|
1247
1275
|
'image-rendering'?: number | string;
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1276
|
+
in2?: number | string;
|
|
1277
|
+
in?: string;
|
|
1278
|
+
intercept?: number | string;
|
|
1279
|
+
k1?: number | string;
|
|
1280
|
+
k2?: number | string;
|
|
1281
|
+
k3?: number | string;
|
|
1282
|
+
k4?: number | string;
|
|
1283
|
+
k?: number | string;
|
|
1284
|
+
kernelMatrix?: number | string;
|
|
1285
|
+
kernelUnitLength?: number | string;
|
|
1286
|
+
kerning?: number | string;
|
|
1287
|
+
keyPoints?: number | string;
|
|
1288
|
+
keySplines?: number | string;
|
|
1289
|
+
keyTimes?: number | string;
|
|
1290
|
+
lengthAdjust?: number | string;
|
|
1263
1291
|
'letter-spacing'?: number | string;
|
|
1264
1292
|
'lighting-color'?: number | string;
|
|
1265
|
-
|
|
1266
|
-
|
|
1293
|
+
limitingConeAngle?: number | string;
|
|
1294
|
+
local?: number | string;
|
|
1267
1295
|
'marker-end'?: string;
|
|
1268
|
-
|
|
1296
|
+
markerHeight?: number | string;
|
|
1269
1297
|
'marker-mid'?: string;
|
|
1270
1298
|
'marker-start'?: string;
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1299
|
+
markerUnits?: number | string;
|
|
1300
|
+
markerWidth?: number | string;
|
|
1301
|
+
mask?: string;
|
|
1302
|
+
maskContentUnits?: number | string;
|
|
1303
|
+
maskUnits?: number | string;
|
|
1304
|
+
mathematical?: number | string;
|
|
1305
|
+
mode?: number | string;
|
|
1306
|
+
numOctaves?: number | string;
|
|
1307
|
+
offset?: number | string;
|
|
1308
|
+
opacity?: number | string;
|
|
1309
|
+
operator?: number | string;
|
|
1310
|
+
order?: number | string;
|
|
1311
|
+
orient?: number | string;
|
|
1312
|
+
orientation?: number | string;
|
|
1313
|
+
origin?: number | string;
|
|
1314
|
+
overflow?: number | string;
|
|
1287
1315
|
'overline-position'?: number | string;
|
|
1288
1316
|
'overline-thickness'?: number | string;
|
|
1289
1317
|
'paint-order'?: number | string;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1318
|
+
panose1?: number | string;
|
|
1319
|
+
pathLength?: number | string;
|
|
1320
|
+
patternContentUnits?: string;
|
|
1321
|
+
patternTransform?: number | string;
|
|
1322
|
+
patternUnits?: string;
|
|
1295
1323
|
'pointer-events'?: number | string;
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1324
|
+
points?: string;
|
|
1325
|
+
pointsAtX?: number | string;
|
|
1326
|
+
pointsAtY?: number | string;
|
|
1327
|
+
pointsAtZ?: number | string;
|
|
1328
|
+
preserveAlpha?: number | string;
|
|
1329
|
+
preserveAspectRatio?: string;
|
|
1330
|
+
primitiveUnits?: number | string;
|
|
1331
|
+
r?: number | string;
|
|
1332
|
+
radius?: number | string;
|
|
1333
|
+
refX?: number | string;
|
|
1334
|
+
refY?: number | string;
|
|
1307
1335
|
'rendering-intent'?: number | string;
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1336
|
+
repeatCount?: number | string;
|
|
1337
|
+
repeatDur?: number | string;
|
|
1338
|
+
requiredextensions?: number | string;
|
|
1339
|
+
requiredFeatures?: number | string;
|
|
1340
|
+
restart?: number | string;
|
|
1341
|
+
result?: string;
|
|
1342
|
+
rotate?: number | string;
|
|
1343
|
+
rx?: number | string;
|
|
1344
|
+
ry?: number | string;
|
|
1345
|
+
scale?: number | string;
|
|
1346
|
+
seed?: number | string;
|
|
1319
1347
|
'shape-rendering'?: number | string;
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1348
|
+
slope?: number | string;
|
|
1349
|
+
spacing?: number | string;
|
|
1350
|
+
specularConstant?: number | string;
|
|
1351
|
+
specularExponent?: number | string;
|
|
1352
|
+
speed?: number | string;
|
|
1353
|
+
spreadMethod?: string;
|
|
1354
|
+
startOffset?: number | string;
|
|
1355
|
+
stdDeviation?: number | string;
|
|
1356
|
+
stemh?: number | string;
|
|
1357
|
+
stemv?: number | string;
|
|
1358
|
+
stitchTiles?: number | string;
|
|
1331
1359
|
'stop-color'?: string;
|
|
1332
1360
|
'stop-opacity'?: number | string;
|
|
1333
1361
|
'strikethrough-position'?: number | string;
|
|
1334
1362
|
'strikethrough-thickness'?: number | string;
|
|
1335
|
-
|
|
1336
|
-
|
|
1363
|
+
string?: number | string;
|
|
1364
|
+
stroke?: string;
|
|
1337
1365
|
'stroke-dasharray'?: string | number;
|
|
1338
1366
|
'stroke-dashoffset'?: string | number;
|
|
1339
1367
|
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
|
|
@@ -1341,67 +1369,65 @@ export declare namespace JSXBase {
|
|
|
1341
1369
|
'stroke-miterlimit'?: string;
|
|
1342
1370
|
'stroke-opacity'?: number | string;
|
|
1343
1371
|
'stroke-width'?: number | string;
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1372
|
+
surfaceScale?: number | string;
|
|
1373
|
+
systemLanguage?: number | string;
|
|
1374
|
+
tableValues?: number | string;
|
|
1375
|
+
targetX?: number | string;
|
|
1376
|
+
targetY?: number | string;
|
|
1349
1377
|
'text-anchor'?: string;
|
|
1350
1378
|
'text-decoration'?: number | string;
|
|
1351
|
-
|
|
1379
|
+
textLength?: number | string;
|
|
1352
1380
|
'text-rendering'?: number | string;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1381
|
+
to?: number | string;
|
|
1382
|
+
transform?: string;
|
|
1383
|
+
u1?: number | string;
|
|
1384
|
+
u2?: number | string;
|
|
1357
1385
|
'underline-position'?: number | string;
|
|
1358
1386
|
'underline-thickness'?: number | string;
|
|
1359
|
-
|
|
1387
|
+
unicode?: number | string;
|
|
1360
1388
|
'unicode-bidi'?: number | string;
|
|
1361
1389
|
'unicode-range'?: number | string;
|
|
1362
1390
|
'units-per-em'?: number | string;
|
|
1363
1391
|
'v-alphabetic'?: number | string;
|
|
1364
|
-
|
|
1392
|
+
values?: string;
|
|
1365
1393
|
'vector-effect'?: number | string;
|
|
1366
|
-
|
|
1394
|
+
version?: string;
|
|
1367
1395
|
'vert-adv-y'?: number | string;
|
|
1368
1396
|
'vert-origin-x'?: number | string;
|
|
1369
1397
|
'vert-origin-y'?: number | string;
|
|
1370
1398
|
'v-hanging'?: number | string;
|
|
1371
1399
|
'v-ideographic'?: number | string;
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1400
|
+
viewBox?: string;
|
|
1401
|
+
viewTarget?: number | string;
|
|
1402
|
+
visibility?: number | string;
|
|
1375
1403
|
'v-mathematical'?: number | string;
|
|
1376
|
-
|
|
1404
|
+
widths?: number | string;
|
|
1377
1405
|
'word-spacing'?: number | string;
|
|
1378
1406
|
'writing-mode'?: number | string;
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1407
|
+
x1?: number | string;
|
|
1408
|
+
x2?: number | string;
|
|
1409
|
+
x?: number | string;
|
|
1382
1410
|
'x-channel-selector'?: string;
|
|
1383
1411
|
'x-height'?: number | string;
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1412
|
+
xlinkActuate?: string;
|
|
1413
|
+
xlinkArcrole?: string;
|
|
1414
|
+
xlinkHref?: string;
|
|
1415
|
+
xlinkRole?: string;
|
|
1416
|
+
xlinkShow?: string;
|
|
1417
|
+
xlinkTitle?: string;
|
|
1418
|
+
xlinkType?: string;
|
|
1419
|
+
xmlBase?: string;
|
|
1420
|
+
xmlLang?: string;
|
|
1421
|
+
xmlns?: string;
|
|
1422
|
+
xmlSpace?: string;
|
|
1423
|
+
y1?: number | string;
|
|
1424
|
+
y2?: number | string;
|
|
1425
|
+
y?: number | string;
|
|
1426
|
+
yChannelSelector?: string;
|
|
1427
|
+
z?: number | string;
|
|
1428
|
+
zoomAndPan?: string;
|
|
1401
1429
|
}
|
|
1402
|
-
interface DOMAttributes<T
|
|
1403
|
-
key?: string | number;
|
|
1404
|
-
ref?: (elm?: T) => void;
|
|
1430
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1405
1431
|
slot?: string;
|
|
1406
1432
|
part?: string;
|
|
1407
1433
|
exportparts?: string;
|
|
@@ -1419,10 +1445,10 @@ export declare namespace JSXBase {
|
|
|
1419
1445
|
onCompositionUpdateCapture?: (event: CompositionEvent) => void;
|
|
1420
1446
|
onFocus?: (event: FocusEvent) => void;
|
|
1421
1447
|
onFocusCapture?: (event: FocusEvent) => void;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1448
|
+
onFocusin?: (event: FocusEvent) => void;
|
|
1449
|
+
onFocusinCapture?: (event: FocusEvent) => void;
|
|
1450
|
+
onFocusout?: (event: FocusEvent) => void;
|
|
1451
|
+
onFocusoutCapture?: (event: FocusEvent) => void;
|
|
1426
1452
|
onBlur?: (event: FocusEvent) => void;
|
|
1427
1453
|
onBlurCapture?: (event: FocusEvent) => void;
|
|
1428
1454
|
onChange?: (event: Event) => void;
|
|
@@ -1522,6 +1548,10 @@ export declare namespace JSXBase {
|
|
|
1522
1548
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1523
1549
|
}
|
|
1524
1550
|
}
|
|
1551
|
+
export interface JSXAttributes<T = Element> {
|
|
1552
|
+
key?: string | number;
|
|
1553
|
+
ref?: (elm?: T) => void;
|
|
1554
|
+
}
|
|
1525
1555
|
export interface CustomElementsDefineOptions {
|
|
1526
1556
|
exclude?: string[];
|
|
1527
1557
|
resourcesUrl?: string;
|
package/loader/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skeleton-webcomponent-loader",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Skeleton loader webcomponent developed in stencil.js",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/custom-elements/index.js",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
25
25
|
"generate": "stencil generate",
|
|
26
26
|
"prepublish": "npm run build",
|
|
27
|
-
"commit": "npx git-cz"
|
|
27
|
+
"commit": "npx git-cz",
|
|
28
|
+
"release": "standard-version"
|
|
28
29
|
},
|
|
29
30
|
"config": {
|
|
30
31
|
"commitizen": {
|
|
@@ -32,9 +33,8 @@
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@stencil/core": "^2.0
|
|
36
|
-
"@stencil/sass": "^1.
|
|
37
|
-
"classnames": "^2.2.6"
|
|
36
|
+
"@stencil/core": "^2.13.0",
|
|
37
|
+
"@stencil/sass": "^1.5.2"
|
|
38
38
|
},
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"devDependencies": {
|
|
@@ -46,10 +46,22 @@
|
|
|
46
46
|
"jest-cli": "^26.4.2",
|
|
47
47
|
"prettier": "^2.1.2",
|
|
48
48
|
"pretty-quick": "^3.1.0",
|
|
49
|
-
"puppeteer": "^5.2.1"
|
|
49
|
+
"puppeteer": "^5.2.1",
|
|
50
|
+
"standard-version": "^9.0.0"
|
|
50
51
|
},
|
|
51
52
|
"repository": {
|
|
52
53
|
"type": "git",
|
|
53
54
|
"url": "github:nikbabchenko/skeleton-webcomponent"
|
|
54
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://skeleton-webcomponent-loader.web.app",
|
|
57
|
+
"keywords": [
|
|
58
|
+
"skeleton",
|
|
59
|
+
"skeleton-component",
|
|
60
|
+
"webcomponent",
|
|
61
|
+
"ghost",
|
|
62
|
+
"ghost component",
|
|
63
|
+
"skeleton webcomponent",
|
|
64
|
+
"skeleton loader",
|
|
65
|
+
"loader"
|
|
66
|
+
]
|
|
55
67
|
}
|