@genesislcap/foundation-utils 14.417.0 → 14.417.1-alpha-efccb2a.0
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/dist/custom-elements.json +131 -131
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/react-jsx-runtime.d.ts +56 -0
- package/package.json +11 -11
|
@@ -252,53 +252,120 @@
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
"kind": "javascript-module",
|
|
255
|
-
"path": "src/
|
|
256
|
-
"declarations": [],
|
|
257
|
-
"exports": [
|
|
258
|
-
{
|
|
259
|
-
"kind": "js",
|
|
260
|
-
"name": "*",
|
|
261
|
-
"declaration": {
|
|
262
|
-
"name": "*",
|
|
263
|
-
"package": "./renderOnChange"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "javascript-module",
|
|
270
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
255
|
+
"path": "src/design-system/design-system.ts",
|
|
271
256
|
"declarations": [
|
|
272
257
|
{
|
|
273
258
|
"kind": "function",
|
|
274
|
-
"name": "
|
|
259
|
+
"name": "assureDesignSystem",
|
|
260
|
+
"return": {
|
|
261
|
+
"type": {
|
|
262
|
+
"text": "DesignSystemModule"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
275
265
|
"parameters": [
|
|
276
266
|
{
|
|
277
|
-
"name": "
|
|
267
|
+
"name": "module",
|
|
278
268
|
"type": {
|
|
279
|
-
"text": "
|
|
269
|
+
"text": "DesignSystemModule"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"description": "assureDesignSystem.",
|
|
274
|
+
"privacy": "public"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "function",
|
|
278
|
+
"name": "getCurrentDesignSystem",
|
|
279
|
+
"return": {
|
|
280
|
+
"type": {
|
|
281
|
+
"text": ""
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"parameters": [
|
|
285
|
+
{
|
|
286
|
+
"name": "element",
|
|
287
|
+
"type": {
|
|
288
|
+
"text": "HTMLElement"
|
|
280
289
|
},
|
|
281
|
-
"description": "The
|
|
290
|
+
"description": "The starting HTML element"
|
|
282
291
|
},
|
|
283
292
|
{
|
|
284
|
-
"name": "
|
|
293
|
+
"name": "fallbackPrefix",
|
|
285
294
|
"type": {
|
|
286
295
|
"text": "string"
|
|
287
296
|
},
|
|
288
|
-
"description": "The
|
|
297
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
289
298
|
}
|
|
290
299
|
],
|
|
291
|
-
"description": "
|
|
300
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
301
|
+
"privacy": "public"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "function",
|
|
305
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
306
|
+
"return": {
|
|
307
|
+
"type": {
|
|
308
|
+
"text": ""
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"parameters": [
|
|
312
|
+
{
|
|
313
|
+
"name": "element",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "HTMLElement"
|
|
316
|
+
},
|
|
317
|
+
"description": "The starting HTML element"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "fallbackPrefix",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "string"
|
|
323
|
+
},
|
|
324
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
292
328
|
"privacy": "public"
|
|
293
329
|
}
|
|
294
330
|
],
|
|
295
331
|
"exports": [
|
|
296
332
|
{
|
|
297
333
|
"kind": "js",
|
|
298
|
-
"name": "
|
|
334
|
+
"name": "assureDesignSystem",
|
|
299
335
|
"declaration": {
|
|
300
|
-
"name": "
|
|
301
|
-
"module": "src/
|
|
336
|
+
"name": "assureDesignSystem",
|
|
337
|
+
"module": "src/design-system/design-system.ts"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"kind": "js",
|
|
342
|
+
"name": "getCurrentDesignSystem",
|
|
343
|
+
"declaration": {
|
|
344
|
+
"name": "getCurrentDesignSystem",
|
|
345
|
+
"module": "src/design-system/design-system.ts"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "js",
|
|
350
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
351
|
+
"declaration": {
|
|
352
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
353
|
+
"module": "src/design-system/design-system.ts"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "javascript-module",
|
|
360
|
+
"path": "src/design-system/index.ts",
|
|
361
|
+
"declarations": [],
|
|
362
|
+
"exports": [
|
|
363
|
+
{
|
|
364
|
+
"kind": "js",
|
|
365
|
+
"name": "*",
|
|
366
|
+
"declaration": {
|
|
367
|
+
"name": "*",
|
|
368
|
+
"package": "./design-system"
|
|
302
369
|
}
|
|
303
370
|
}
|
|
304
371
|
]
|
|
@@ -503,112 +570,30 @@
|
|
|
503
570
|
},
|
|
504
571
|
{
|
|
505
572
|
"kind": "javascript-module",
|
|
506
|
-
"path": "src/
|
|
507
|
-
"declarations": [
|
|
508
|
-
{
|
|
509
|
-
"kind": "function",
|
|
510
|
-
"name": "assureDesignSystem",
|
|
511
|
-
"return": {
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "DesignSystemModule"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"parameters": [
|
|
517
|
-
{
|
|
518
|
-
"name": "module",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "DesignSystemModule"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
"description": "assureDesignSystem.",
|
|
525
|
-
"privacy": "public"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"kind": "function",
|
|
529
|
-
"name": "getCurrentDesignSystem",
|
|
530
|
-
"return": {
|
|
531
|
-
"type": {
|
|
532
|
-
"text": ""
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"parameters": [
|
|
536
|
-
{
|
|
537
|
-
"name": "element",
|
|
538
|
-
"type": {
|
|
539
|
-
"text": "HTMLElement"
|
|
540
|
-
},
|
|
541
|
-
"description": "The starting HTML element"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"name": "fallbackPrefix",
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "string"
|
|
547
|
-
},
|
|
548
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
549
|
-
}
|
|
550
|
-
],
|
|
551
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
552
|
-
"privacy": "public"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"kind": "function",
|
|
556
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
557
|
-
"return": {
|
|
558
|
-
"type": {
|
|
559
|
-
"text": ""
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
"parameters": [
|
|
563
|
-
{
|
|
564
|
-
"name": "element",
|
|
565
|
-
"type": {
|
|
566
|
-
"text": "HTMLElement"
|
|
567
|
-
},
|
|
568
|
-
"description": "The starting HTML element"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "fallbackPrefix",
|
|
572
|
-
"type": {
|
|
573
|
-
"text": "string"
|
|
574
|
-
},
|
|
575
|
-
"description": "The prefix to fallback to if the provider is not available"
|
|
576
|
-
}
|
|
577
|
-
],
|
|
578
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
579
|
-
"privacy": "public"
|
|
580
|
-
}
|
|
581
|
-
],
|
|
573
|
+
"path": "src/directives/index.ts",
|
|
574
|
+
"declarations": [],
|
|
582
575
|
"exports": [
|
|
583
576
|
{
|
|
584
577
|
"kind": "js",
|
|
585
|
-
"name": "
|
|
586
|
-
"declaration": {
|
|
587
|
-
"name": "assureDesignSystem",
|
|
588
|
-
"module": "src/design-system/design-system.ts"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"kind": "js",
|
|
593
|
-
"name": "getCurrentDesignSystem",
|
|
578
|
+
"name": "*",
|
|
594
579
|
"declaration": {
|
|
595
|
-
"name": "
|
|
596
|
-
"
|
|
580
|
+
"name": "*",
|
|
581
|
+
"package": "./sync"
|
|
597
582
|
}
|
|
598
583
|
},
|
|
599
584
|
{
|
|
600
585
|
"kind": "js",
|
|
601
|
-
"name": "
|
|
586
|
+
"name": "*",
|
|
602
587
|
"declaration": {
|
|
603
|
-
"name": "
|
|
604
|
-
"
|
|
588
|
+
"name": "*",
|
|
589
|
+
"package": "./when-else"
|
|
605
590
|
}
|
|
606
591
|
}
|
|
607
592
|
]
|
|
608
593
|
},
|
|
609
594
|
{
|
|
610
595
|
"kind": "javascript-module",
|
|
611
|
-
"path": "src/
|
|
596
|
+
"path": "src/decorators/index.ts",
|
|
612
597
|
"declarations": [],
|
|
613
598
|
"exports": [
|
|
614
599
|
{
|
|
@@ -616,30 +601,45 @@
|
|
|
616
601
|
"name": "*",
|
|
617
602
|
"declaration": {
|
|
618
603
|
"name": "*",
|
|
619
|
-
"package": "./
|
|
604
|
+
"package": "./renderOnChange"
|
|
620
605
|
}
|
|
621
606
|
}
|
|
622
607
|
]
|
|
623
608
|
},
|
|
624
609
|
{
|
|
625
610
|
"kind": "javascript-module",
|
|
626
|
-
"path": "src/
|
|
627
|
-
"declarations": [
|
|
628
|
-
"exports": [
|
|
611
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
612
|
+
"declarations": [
|
|
629
613
|
{
|
|
630
|
-
"kind": "
|
|
631
|
-
"name": "
|
|
632
|
-
"
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
614
|
+
"kind": "function",
|
|
615
|
+
"name": "renderOnChange",
|
|
616
|
+
"parameters": [
|
|
617
|
+
{
|
|
618
|
+
"name": "target",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "FASTElement & { render(): void }"
|
|
621
|
+
},
|
|
622
|
+
"description": "The target to define the property change handler on."
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "name",
|
|
626
|
+
"type": {
|
|
627
|
+
"text": "string"
|
|
628
|
+
},
|
|
629
|
+
"description": "The property name."
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
633
|
+
"privacy": "public"
|
|
634
|
+
}
|
|
635
|
+
],
|
|
636
|
+
"exports": [
|
|
637
637
|
{
|
|
638
638
|
"kind": "js",
|
|
639
|
-
"name": "
|
|
639
|
+
"name": "renderOnChange",
|
|
640
640
|
"declaration": {
|
|
641
|
-
"name": "
|
|
642
|
-
"
|
|
641
|
+
"name": "renderOnChange",
|
|
642
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
]
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED FILE - DO NOT EDIT.
|
|
3
|
+
* Source package: @genesislcap/foundation-utils
|
|
4
|
+
* Generated from custom-elements manifest.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
declare module 'react/jsx-runtime' {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface GenesislcapFoundationUtilsReactElementProps2 {
|
|
10
|
+
children?: unknown;
|
|
11
|
+
class?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
slot?: string;
|
|
15
|
+
part?: string;
|
|
16
|
+
style?: string | Partial<CSSStyleDeclaration>;
|
|
17
|
+
role?: string;
|
|
18
|
+
tabIndex?: number | string;
|
|
19
|
+
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
20
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
21
|
+
}
|
|
22
|
+
interface GenesislcapFoundationUtilsReactElementProps1 {
|
|
23
|
+
children?: unknown;
|
|
24
|
+
class?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
id?: string;
|
|
27
|
+
slot?: string;
|
|
28
|
+
part?: string;
|
|
29
|
+
style?: string | Partial<CSSStyleDeclaration>;
|
|
30
|
+
role?: string;
|
|
31
|
+
tabIndex?: number | string;
|
|
32
|
+
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
33
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
34
|
+
}
|
|
35
|
+
interface GenesislcapFoundationUtilsReactElementProps3 {
|
|
36
|
+
children?: unknown;
|
|
37
|
+
class?: string;
|
|
38
|
+
className?: string;
|
|
39
|
+
id?: string;
|
|
40
|
+
slot?: string;
|
|
41
|
+
part?: string;
|
|
42
|
+
style?: string | Partial<CSSStyleDeclaration>;
|
|
43
|
+
role?: string;
|
|
44
|
+
tabIndex?: number | string;
|
|
45
|
+
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
46
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
47
|
+
}
|
|
48
|
+
interface IntrinsicElements {
|
|
49
|
+
'foundation-shortcut-listener': GenesislcapFoundationUtilsReactElementProps2;
|
|
50
|
+
'inactivity-dialog': GenesislcapFoundationUtilsReactElementProps1;
|
|
51
|
+
'slotted-styles': GenesislcapFoundationUtilsReactElementProps3;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "14.417.0",
|
|
4
|
+
"version": "14.417.1-alpha-efccb2a.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.417.0",
|
|
33
|
-
"@genesislcap/genx": "14.417.0",
|
|
34
|
-
"@genesislcap/rollup-builder": "14.417.0",
|
|
35
|
-
"@genesislcap/ts-builder": "14.417.0",
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.417.0",
|
|
37
|
-
"@genesislcap/vite-builder": "14.417.0",
|
|
38
|
-
"@genesislcap/webpack-builder": "14.417.0",
|
|
32
|
+
"@genesislcap/foundation-testing": "14.417.1-alpha-efccb2a.0",
|
|
33
|
+
"@genesislcap/genx": "14.417.1-alpha-efccb2a.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.417.1-alpha-efccb2a.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.417.1-alpha-efccb2a.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.417.1-alpha-efccb2a.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.417.1-alpha-efccb2a.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.417.1-alpha-efccb2a.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.417.0",
|
|
43
|
-
"@genesislcap/foundation-logger": "14.417.0",
|
|
42
|
+
"@genesislcap/expression-builder": "14.417.1-alpha-efccb2a.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.417.1-alpha-efccb2a.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "00d0d357de82849ea9dc574f615ba69d71b78ede"
|
|
62
62
|
}
|