@genesislcap/foundation-utils 14.417.1-alpha-efccb2a.0 → 14.417.1-alpha-83eabbf.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.
@@ -250,126 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/design-system/design-system.ts",
256
- "declarations": [
257
- {
258
- "kind": "function",
259
- "name": "assureDesignSystem",
260
- "return": {
261
- "type": {
262
- "text": "DesignSystemModule"
263
- }
264
- },
265
- "parameters": [
266
- {
267
- "name": "module",
268
- "type": {
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"
289
- },
290
- "description": "The starting HTML element"
291
- },
292
- {
293
- "name": "fallbackPrefix",
294
- "type": {
295
- "text": "string"
296
- },
297
- "description": "The prefix to fallback to if the provider is not available"
298
- }
299
- ],
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.",
328
- "privacy": "public"
329
- }
330
- ],
331
- "exports": [
332
- {
333
- "kind": "js",
334
- "name": "assureDesignSystem",
335
- "declaration": {
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"
369
- }
370
- }
371
- ]
372
- },
373
253
  {
374
254
  "kind": "javascript-module",
375
255
  "path": "src/data/inMemoryDatabase.ts",
@@ -568,6 +448,126 @@
568
448
  }
569
449
  ]
570
450
  },
451
+ {
452
+ "kind": "javascript-module",
453
+ "path": "src/design-system/design-system.ts",
454
+ "declarations": [
455
+ {
456
+ "kind": "function",
457
+ "name": "assureDesignSystem",
458
+ "return": {
459
+ "type": {
460
+ "text": "DesignSystemModule"
461
+ }
462
+ },
463
+ "parameters": [
464
+ {
465
+ "name": "module",
466
+ "type": {
467
+ "text": "DesignSystemModule"
468
+ }
469
+ }
470
+ ],
471
+ "description": "assureDesignSystem.",
472
+ "privacy": "public"
473
+ },
474
+ {
475
+ "kind": "function",
476
+ "name": "getCurrentDesignSystem",
477
+ "return": {
478
+ "type": {
479
+ "text": ""
480
+ }
481
+ },
482
+ "parameters": [
483
+ {
484
+ "name": "element",
485
+ "type": {
486
+ "text": "HTMLElement"
487
+ },
488
+ "description": "The starting HTML element"
489
+ },
490
+ {
491
+ "name": "fallbackPrefix",
492
+ "type": {
493
+ "text": "string"
494
+ },
495
+ "description": "The prefix to fallback to if the provider is not available"
496
+ }
497
+ ],
498
+ "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.",
499
+ "privacy": "public"
500
+ },
501
+ {
502
+ "kind": "function",
503
+ "name": "getCurrentDesignSystemPrefix",
504
+ "return": {
505
+ "type": {
506
+ "text": ""
507
+ }
508
+ },
509
+ "parameters": [
510
+ {
511
+ "name": "element",
512
+ "type": {
513
+ "text": "HTMLElement"
514
+ },
515
+ "description": "The starting HTML element"
516
+ },
517
+ {
518
+ "name": "fallbackPrefix",
519
+ "type": {
520
+ "text": "string"
521
+ },
522
+ "description": "The prefix to fallback to if the provider is not available"
523
+ }
524
+ ],
525
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
526
+ "privacy": "public"
527
+ }
528
+ ],
529
+ "exports": [
530
+ {
531
+ "kind": "js",
532
+ "name": "assureDesignSystem",
533
+ "declaration": {
534
+ "name": "assureDesignSystem",
535
+ "module": "src/design-system/design-system.ts"
536
+ }
537
+ },
538
+ {
539
+ "kind": "js",
540
+ "name": "getCurrentDesignSystem",
541
+ "declaration": {
542
+ "name": "getCurrentDesignSystem",
543
+ "module": "src/design-system/design-system.ts"
544
+ }
545
+ },
546
+ {
547
+ "kind": "js",
548
+ "name": "getCurrentDesignSystemPrefix",
549
+ "declaration": {
550
+ "name": "getCurrentDesignSystemPrefix",
551
+ "module": "src/design-system/design-system.ts"
552
+ }
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "kind": "javascript-module",
558
+ "path": "src/design-system/index.ts",
559
+ "declarations": [],
560
+ "exports": [
561
+ {
562
+ "kind": "js",
563
+ "name": "*",
564
+ "declaration": {
565
+ "name": "*",
566
+ "package": "./design-system"
567
+ }
568
+ }
569
+ ]
570
+ },
571
571
  {
572
572
  "kind": "javascript-module",
573
573
  "path": "src/directives/index.ts",
@@ -4,46 +4,24 @@
4
4
  * Generated from custom-elements manifest.
5
5
  */
6
6
 
7
+ import type { HTMLAttributes } from 'react';
8
+
7
9
  declare module 'react/jsx-runtime' {
8
10
  namespace JSX {
9
- interface GenesislcapFoundationUtilsReactElementProps2 {
10
- children?: unknown;
11
+ interface GenesislcapFoundationUtilsReactElementProps1 extends HTMLAttributes<HTMLElement> {
11
12
  class?: string;
12
- className?: string;
13
- id?: string;
14
- slot?: string;
15
13
  part?: string;
16
- style?: string | Partial<CSSStyleDeclaration>;
17
- role?: string;
18
- tabIndex?: number | string;
19
14
  [key: `data-${string}`]: string | number | boolean | undefined;
20
- [key: `aria-${string}`]: string | number | boolean | undefined;
21
15
  }
22
- interface GenesislcapFoundationUtilsReactElementProps1 {
23
- children?: unknown;
16
+ interface GenesislcapFoundationUtilsReactElementProps2 extends HTMLAttributes<HTMLElement> {
24
17
  class?: string;
25
- className?: string;
26
- id?: string;
27
- slot?: string;
28
18
  part?: string;
29
- style?: string | Partial<CSSStyleDeclaration>;
30
- role?: string;
31
- tabIndex?: number | string;
32
19
  [key: `data-${string}`]: string | number | boolean | undefined;
33
- [key: `aria-${string}`]: string | number | boolean | undefined;
34
20
  }
35
- interface GenesislcapFoundationUtilsReactElementProps3 {
36
- children?: unknown;
21
+ interface GenesislcapFoundationUtilsReactElementProps3 extends HTMLAttributes<HTMLElement> {
37
22
  class?: string;
38
- className?: string;
39
- id?: string;
40
- slot?: string;
41
23
  part?: string;
42
- style?: string | Partial<CSSStyleDeclaration>;
43
- role?: string;
44
- tabIndex?: number | string;
45
24
  [key: `data-${string}`]: string | number | boolean | undefined;
46
- [key: `aria-${string}`]: string | number | boolean | undefined;
47
25
  }
48
26
  interface IntrinsicElements {
49
27
  'foundation-shortcut-listener': GenesislcapFoundationUtilsReactElementProps2;
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.1-alpha-efccb2a.0",
4
+ "version": "14.417.1-alpha-83eabbf.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.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",
32
+ "@genesislcap/foundation-testing": "14.417.1-alpha-83eabbf.0",
33
+ "@genesislcap/genx": "14.417.1-alpha-83eabbf.0",
34
+ "@genesislcap/rollup-builder": "14.417.1-alpha-83eabbf.0",
35
+ "@genesislcap/ts-builder": "14.417.1-alpha-83eabbf.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.417.1-alpha-83eabbf.0",
37
+ "@genesislcap/vite-builder": "14.417.1-alpha-83eabbf.0",
38
+ "@genesislcap/webpack-builder": "14.417.1-alpha-83eabbf.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.417.1-alpha-efccb2a.0",
43
- "@genesislcap/foundation-logger": "14.417.1-alpha-efccb2a.0",
42
+ "@genesislcap/expression-builder": "14.417.1-alpha-83eabbf.0",
43
+ "@genesislcap/foundation-logger": "14.417.1-alpha-83eabbf.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": "00d0d357de82849ea9dc574f615ba69d71b78ede"
61
+ "gitHead": "eec85009ab3c6ae8d2c3bbcd8edd19f8697a0579"
62
62
  }