@genesislcap/foundation-ui 14.347.0 → 14.347.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.
@@ -1657,6 +1657,37 @@
1657
1657
  }
1658
1658
  ]
1659
1659
  },
1660
+ {
1661
+ "kind": "javascript-module",
1662
+ "path": "src/_config/index.ts",
1663
+ "declarations": [],
1664
+ "exports": [
1665
+ {
1666
+ "kind": "js",
1667
+ "name": "*",
1668
+ "declaration": {
1669
+ "name": "*",
1670
+ "package": "./styles"
1671
+ }
1672
+ },
1673
+ {
1674
+ "kind": "js",
1675
+ "name": "*",
1676
+ "declaration": {
1677
+ "name": "*",
1678
+ "package": "./tokens"
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "js",
1683
+ "name": "*",
1684
+ "declaration": {
1685
+ "name": "*",
1686
+ "package": "./values"
1687
+ }
1688
+ }
1689
+ ]
1690
+ },
1660
1691
  {
1661
1692
  "kind": "javascript-module",
1662
1693
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2736,6 +2767,188 @@
2736
2767
  }
2737
2768
  ]
2738
2769
  },
2770
+ {
2771
+ "kind": "javascript-module",
2772
+ "path": "src/accordion/accordion.styles.ts",
2773
+ "declarations": [
2774
+ {
2775
+ "kind": "function",
2776
+ "name": "foundationAccordionStyles",
2777
+ "return": {
2778
+ "type": {
2779
+ "text": "ElementStyles"
2780
+ }
2781
+ },
2782
+ "parameters": [
2783
+ {
2784
+ "name": "context",
2785
+ "type": {
2786
+ "text": "ElementDefinitionContext"
2787
+ }
2788
+ },
2789
+ {
2790
+ "name": "definition",
2791
+ "type": {
2792
+ "text": "FoundationElementDefinition"
2793
+ }
2794
+ }
2795
+ ]
2796
+ }
2797
+ ],
2798
+ "exports": [
2799
+ {
2800
+ "kind": "js",
2801
+ "name": "foundationAccordionStyles",
2802
+ "declaration": {
2803
+ "name": "foundationAccordionStyles",
2804
+ "module": "src/accordion/accordion.styles.ts"
2805
+ }
2806
+ }
2807
+ ]
2808
+ },
2809
+ {
2810
+ "kind": "javascript-module",
2811
+ "path": "src/accordion/accordion.template.ts",
2812
+ "declarations": [
2813
+ {
2814
+ "kind": "function",
2815
+ "name": "foundationAccordionTemplate",
2816
+ "return": {
2817
+ "type": {
2818
+ "text": "ViewTemplate<Accordion>"
2819
+ }
2820
+ },
2821
+ "parameters": [
2822
+ {
2823
+ "name": "context",
2824
+ "type": {
2825
+ "text": "ElementDefinitionContext"
2826
+ }
2827
+ },
2828
+ {
2829
+ "name": "definition",
2830
+ "type": {
2831
+ "text": "FoundationElementDefinition"
2832
+ }
2833
+ }
2834
+ ]
2835
+ }
2836
+ ],
2837
+ "exports": [
2838
+ {
2839
+ "kind": "js",
2840
+ "name": "foundationAccordionTemplate",
2841
+ "declaration": {
2842
+ "name": "foundationAccordionTemplate",
2843
+ "module": "src/accordion/accordion.template.ts"
2844
+ }
2845
+ }
2846
+ ]
2847
+ },
2848
+ {
2849
+ "kind": "javascript-module",
2850
+ "path": "src/accordion/accordion.ts",
2851
+ "declarations": [
2852
+ {
2853
+ "kind": "class",
2854
+ "description": "",
2855
+ "name": "Accordion",
2856
+ "superclass": {
2857
+ "name": "FASTAccordion",
2858
+ "package": "@microsoft/fast-foundation"
2859
+ },
2860
+ "tagName": "%%prefix%%-accordion",
2861
+ "customElement": true
2862
+ },
2863
+ {
2864
+ "kind": "variable",
2865
+ "name": "foundationAccordionShadowOptions",
2866
+ "type": {
2867
+ "text": "ShadowRootInit"
2868
+ },
2869
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2870
+ },
2871
+ {
2872
+ "kind": "variable",
2873
+ "name": "defaultAccordionConfig",
2874
+ "type": {
2875
+ "text": "object"
2876
+ },
2877
+ "default": "{}"
2878
+ },
2879
+ {
2880
+ "kind": "variable",
2881
+ "name": "foundationAccordion",
2882
+ "description": "The Foundation Accordion",
2883
+ "privacy": "public"
2884
+ }
2885
+ ],
2886
+ "exports": [
2887
+ {
2888
+ "kind": "js",
2889
+ "name": "Accordion",
2890
+ "declaration": {
2891
+ "name": "Accordion",
2892
+ "module": "src/accordion/accordion.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "js",
2897
+ "name": "foundationAccordionShadowOptions",
2898
+ "declaration": {
2899
+ "name": "foundationAccordionShadowOptions",
2900
+ "module": "src/accordion/accordion.ts"
2901
+ }
2902
+ },
2903
+ {
2904
+ "kind": "js",
2905
+ "name": "defaultAccordionConfig",
2906
+ "declaration": {
2907
+ "name": "defaultAccordionConfig",
2908
+ "module": "src/accordion/accordion.ts"
2909
+ }
2910
+ },
2911
+ {
2912
+ "kind": "js",
2913
+ "name": "foundationAccordion",
2914
+ "declaration": {
2915
+ "name": "foundationAccordion",
2916
+ "module": "src/accordion/accordion.ts"
2917
+ }
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "javascript-module",
2923
+ "path": "src/accordion/index.ts",
2924
+ "declarations": [],
2925
+ "exports": [
2926
+ {
2927
+ "kind": "js",
2928
+ "name": "*",
2929
+ "declaration": {
2930
+ "name": "*",
2931
+ "package": "./accordion.template"
2932
+ }
2933
+ },
2934
+ {
2935
+ "kind": "js",
2936
+ "name": "*",
2937
+ "declaration": {
2938
+ "name": "*",
2939
+ "package": "./accordion.styles"
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "js",
2944
+ "name": "*",
2945
+ "declaration": {
2946
+ "name": "*",
2947
+ "package": "./accordion"
2948
+ }
2949
+ }
2950
+ ]
2951
+ },
2739
2952
  {
2740
2953
  "kind": "javascript-module",
2741
2954
  "path": "src/anchored-region/anchor-region.template.ts",
@@ -4326,219 +4539,6 @@
4326
4539
  }
4327
4540
  ]
4328
4541
  },
4329
- {
4330
- "kind": "javascript-module",
4331
- "path": "src/_config/index.ts",
4332
- "declarations": [],
4333
- "exports": [
4334
- {
4335
- "kind": "js",
4336
- "name": "*",
4337
- "declaration": {
4338
- "name": "*",
4339
- "package": "./styles"
4340
- }
4341
- },
4342
- {
4343
- "kind": "js",
4344
- "name": "*",
4345
- "declaration": {
4346
- "name": "*",
4347
- "package": "./tokens"
4348
- }
4349
- },
4350
- {
4351
- "kind": "js",
4352
- "name": "*",
4353
- "declaration": {
4354
- "name": "*",
4355
- "package": "./values"
4356
- }
4357
- }
4358
- ]
4359
- },
4360
- {
4361
- "kind": "javascript-module",
4362
- "path": "src/accordion/accordion.styles.ts",
4363
- "declarations": [
4364
- {
4365
- "kind": "function",
4366
- "name": "foundationAccordionStyles",
4367
- "return": {
4368
- "type": {
4369
- "text": "ElementStyles"
4370
- }
4371
- },
4372
- "parameters": [
4373
- {
4374
- "name": "context",
4375
- "type": {
4376
- "text": "ElementDefinitionContext"
4377
- }
4378
- },
4379
- {
4380
- "name": "definition",
4381
- "type": {
4382
- "text": "FoundationElementDefinition"
4383
- }
4384
- }
4385
- ]
4386
- }
4387
- ],
4388
- "exports": [
4389
- {
4390
- "kind": "js",
4391
- "name": "foundationAccordionStyles",
4392
- "declaration": {
4393
- "name": "foundationAccordionStyles",
4394
- "module": "src/accordion/accordion.styles.ts"
4395
- }
4396
- }
4397
- ]
4398
- },
4399
- {
4400
- "kind": "javascript-module",
4401
- "path": "src/accordion/accordion.template.ts",
4402
- "declarations": [
4403
- {
4404
- "kind": "function",
4405
- "name": "foundationAccordionTemplate",
4406
- "return": {
4407
- "type": {
4408
- "text": "ViewTemplate<Accordion>"
4409
- }
4410
- },
4411
- "parameters": [
4412
- {
4413
- "name": "context",
4414
- "type": {
4415
- "text": "ElementDefinitionContext"
4416
- }
4417
- },
4418
- {
4419
- "name": "definition",
4420
- "type": {
4421
- "text": "FoundationElementDefinition"
4422
- }
4423
- }
4424
- ]
4425
- }
4426
- ],
4427
- "exports": [
4428
- {
4429
- "kind": "js",
4430
- "name": "foundationAccordionTemplate",
4431
- "declaration": {
4432
- "name": "foundationAccordionTemplate",
4433
- "module": "src/accordion/accordion.template.ts"
4434
- }
4435
- }
4436
- ]
4437
- },
4438
- {
4439
- "kind": "javascript-module",
4440
- "path": "src/accordion/accordion.ts",
4441
- "declarations": [
4442
- {
4443
- "kind": "class",
4444
- "description": "",
4445
- "name": "Accordion",
4446
- "superclass": {
4447
- "name": "FASTAccordion",
4448
- "package": "@microsoft/fast-foundation"
4449
- },
4450
- "tagName": "%%prefix%%-accordion",
4451
- "customElement": true
4452
- },
4453
- {
4454
- "kind": "variable",
4455
- "name": "foundationAccordionShadowOptions",
4456
- "type": {
4457
- "text": "ShadowRootInit"
4458
- },
4459
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4460
- },
4461
- {
4462
- "kind": "variable",
4463
- "name": "defaultAccordionConfig",
4464
- "type": {
4465
- "text": "object"
4466
- },
4467
- "default": "{}"
4468
- },
4469
- {
4470
- "kind": "variable",
4471
- "name": "foundationAccordion",
4472
- "description": "The Foundation Accordion",
4473
- "privacy": "public"
4474
- }
4475
- ],
4476
- "exports": [
4477
- {
4478
- "kind": "js",
4479
- "name": "Accordion",
4480
- "declaration": {
4481
- "name": "Accordion",
4482
- "module": "src/accordion/accordion.ts"
4483
- }
4484
- },
4485
- {
4486
- "kind": "js",
4487
- "name": "foundationAccordionShadowOptions",
4488
- "declaration": {
4489
- "name": "foundationAccordionShadowOptions",
4490
- "module": "src/accordion/accordion.ts"
4491
- }
4492
- },
4493
- {
4494
- "kind": "js",
4495
- "name": "defaultAccordionConfig",
4496
- "declaration": {
4497
- "name": "defaultAccordionConfig",
4498
- "module": "src/accordion/accordion.ts"
4499
- }
4500
- },
4501
- {
4502
- "kind": "js",
4503
- "name": "foundationAccordion",
4504
- "declaration": {
4505
- "name": "foundationAccordion",
4506
- "module": "src/accordion/accordion.ts"
4507
- }
4508
- }
4509
- ]
4510
- },
4511
- {
4512
- "kind": "javascript-module",
4513
- "path": "src/accordion/index.ts",
4514
- "declarations": [],
4515
- "exports": [
4516
- {
4517
- "kind": "js",
4518
- "name": "*",
4519
- "declaration": {
4520
- "name": "*",
4521
- "package": "./accordion.template"
4522
- }
4523
- },
4524
- {
4525
- "kind": "js",
4526
- "name": "*",
4527
- "declaration": {
4528
- "name": "*",
4529
- "package": "./accordion.styles"
4530
- }
4531
- },
4532
- {
4533
- "kind": "js",
4534
- "name": "*",
4535
- "declaration": {
4536
- "name": "*",
4537
- "package": "./accordion"
4538
- }
4539
- }
4540
- ]
4541
- },
4542
4542
  {
4543
4543
  "kind": "javascript-module",
4544
4544
  "path": "src/avatar/avatar.styles.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.template.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,gEAiF/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,6DAEpC,CAAC"}
1
+ {"version":3,"file":"dialog.template.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAevC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,gEA4E/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,6DAEpC,CAAC"}
@@ -1,5 +1,15 @@
1
+ import { whenElse } from '@genesislcap/foundation-utils';
1
2
  import { html, ref, repeat, when } from '@microsoft/fast-element';
2
3
  import { getPrefix } from '../utils';
4
+ const contentAndPlaceholer = html `
5
+ <slot>
6
+ ${when((x) => x.notification, html `
7
+ <div class="details">
8
+ ${(x) => { var _a; return ((_a = x.notification) === null || _a === void 0 ? void 0 : _a.body) || 'Place holder for notification message'; }}
9
+ </div>
10
+ `)}
11
+ </slot>
12
+ `;
3
13
  export const getDialogTemplate = (prefix) => html `
4
14
  <dialog ${ref('mainElement')} part="dialog" type=${(x) => x.type}>
5
15
  <div class="content-wrapper" part="content">
@@ -20,15 +30,9 @@ export const getDialogTemplate = (prefix) => html `
20
30
  `)}
21
31
  </div>
22
32
  </div>
23
- <div class="content-container" part="content-container">
24
- <slot>
25
- ${when((x) => x.notification, html `
26
- <div class="details">
27
- ${(x) => { var _a; return ((_a = x.notification) === null || _a === void 0 ? void 0 : _a.body) || 'Place holder for notification message'; }}
28
- </div>
29
- `)}
30
- </slot>
31
- </div>
33
+ ${whenElse((x) => x.resizable, html `
34
+ <div class="content-container" part="content-container">${contentAndPlaceholer}</div>
35
+ `, contentAndPlaceholer)}
32
36
  <div part="bottom" class="bottom">
33
37
  <slot name="bottom">
34
38
  ${when((x) => x.notification, html `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.347.0",
4
+ "version": "14.347.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.347.0",
87
- "@genesislcap/genx": "14.347.0",
88
- "@genesislcap/rollup-builder": "14.347.0",
89
- "@genesislcap/ts-builder": "14.347.0",
90
- "@genesislcap/uvu-playwright-builder": "14.347.0",
91
- "@genesislcap/vite-builder": "14.347.0",
92
- "@genesislcap/webpack-builder": "14.347.0",
86
+ "@genesislcap/foundation-testing": "14.347.1",
87
+ "@genesislcap/genx": "14.347.1",
88
+ "@genesislcap/rollup-builder": "14.347.1",
89
+ "@genesislcap/ts-builder": "14.347.1",
90
+ "@genesislcap/uvu-playwright-builder": "14.347.1",
91
+ "@genesislcap/vite-builder": "14.347.1",
92
+ "@genesislcap/webpack-builder": "14.347.1",
93
93
  "copyfiles": "^2.4.1"
94
94
  },
95
95
  "dependencies": {
@@ -98,15 +98,15 @@
98
98
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
99
99
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
100
100
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
101
- "@genesislcap/expression-builder": "14.347.0",
102
- "@genesislcap/foundation-comms": "14.347.0",
103
- "@genesislcap/foundation-criteria": "14.347.0",
104
- "@genesislcap/foundation-errors": "14.347.0",
105
- "@genesislcap/foundation-events": "14.347.0",
106
- "@genesislcap/foundation-logger": "14.347.0",
107
- "@genesislcap/foundation-notifications": "14.347.0",
108
- "@genesislcap/foundation-user": "14.347.0",
109
- "@genesislcap/foundation-utils": "14.347.0",
101
+ "@genesislcap/expression-builder": "14.347.1",
102
+ "@genesislcap/foundation-comms": "14.347.1",
103
+ "@genesislcap/foundation-criteria": "14.347.1",
104
+ "@genesislcap/foundation-errors": "14.347.1",
105
+ "@genesislcap/foundation-events": "14.347.1",
106
+ "@genesislcap/foundation-logger": "14.347.1",
107
+ "@genesislcap/foundation-notifications": "14.347.1",
108
+ "@genesislcap/foundation-user": "14.347.1",
109
+ "@genesislcap/foundation-utils": "14.347.1",
110
110
  "@microsoft/fast-colors": "5.3.1",
111
111
  "@microsoft/fast-components": "2.30.6",
112
112
  "@microsoft/fast-element": "1.14.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "1867b0173e7ffe32db40d75b1cfb19bb81e8edca"
131
+ "gitHead": "fb3dde1303cacf1079541238912b2d3b005dfe16"
132
132
  }