@genesislcap/foundation-ui 14.170.0-genxgit.1 → 14.170.1-alpha-2fe40dd.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +684 -684
  2. package/package.json +15 -15
@@ -817,37 +817,6 @@
817
817
  }
818
818
  ]
819
819
  },
820
- {
821
- "kind": "javascript-module",
822
- "path": "src/_config/index.ts",
823
- "declarations": [],
824
- "exports": [
825
- {
826
- "kind": "js",
827
- "name": "*",
828
- "declaration": {
829
- "name": "*",
830
- "package": "./styles"
831
- }
832
- },
833
- {
834
- "kind": "js",
835
- "name": "*",
836
- "declaration": {
837
- "name": "*",
838
- "package": "./tokens"
839
- }
840
- },
841
- {
842
- "kind": "js",
843
- "name": "*",
844
- "declaration": {
845
- "name": "*",
846
- "package": "./values"
847
- }
848
- }
849
- ]
850
- },
851
820
  {
852
821
  "kind": "javascript-module",
853
822
  "path": "src/_common/icons.ts",
@@ -893,6 +862,37 @@
893
862
  }
894
863
  ]
895
864
  },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/_config/index.ts",
868
+ "declarations": [],
869
+ "exports": [
870
+ {
871
+ "kind": "js",
872
+ "name": "*",
873
+ "declaration": {
874
+ "name": "*",
875
+ "package": "./styles"
876
+ }
877
+ },
878
+ {
879
+ "kind": "js",
880
+ "name": "*",
881
+ "declaration": {
882
+ "name": "*",
883
+ "package": "./tokens"
884
+ }
885
+ },
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./values"
892
+ }
893
+ }
894
+ ]
895
+ },
896
896
  {
897
897
  "kind": "javascript-module",
898
898
  "path": "src/accordion/accordion.styles.ts",
@@ -13377,126 +13377,450 @@
13377
13377
  },
13378
13378
  {
13379
13379
  "kind": "javascript-module",
13380
- "path": "src/dialog/dialog.styles.ts",
13380
+ "path": "src/design-system-provider/design-system-provider.styles.ts",
13381
13381
  "declarations": [
13382
13382
  {
13383
- "kind": "variable",
13384
- "name": "foundationDialogStyles",
13385
- "type": {
13386
- "text": "ElementStyles"
13387
- },
13388
- "default": "css`\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--color-error);\n }\n\n dialog[type='success']::before {\n background-color: var(--color-success);\n }\n\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13383
+ "kind": "function",
13384
+ "name": "designSystemProviderStyles",
13385
+ "parameters": [
13386
+ {
13387
+ "name": "context",
13388
+ "type": {
13389
+ "text": "ElementDefinitionContext"
13390
+ }
13391
+ }
13392
+ ]
13389
13393
  }
13390
13394
  ],
13391
13395
  "exports": [
13392
13396
  {
13393
13397
  "kind": "js",
13394
- "name": "foundationDialogStyles",
13398
+ "name": "designSystemProviderStyles",
13395
13399
  "declaration": {
13396
- "name": "foundationDialogStyles",
13397
- "module": "src/dialog/dialog.styles.ts"
13400
+ "name": "designSystemProviderStyles",
13401
+ "module": "src/design-system-provider/design-system-provider.styles.ts"
13398
13402
  }
13399
13403
  }
13400
13404
  ]
13401
13405
  },
13402
13406
  {
13403
13407
  "kind": "javascript-module",
13404
- "path": "src/dialog/dialog.template.ts",
13408
+ "path": "src/design-system-provider/design-system-provider.ts",
13405
13409
  "declarations": [
13406
13410
  {
13407
- "kind": "function",
13408
- "name": "getDialogTemplate",
13409
- "parameters": [
13411
+ "kind": "class",
13412
+ "description": "The Foundation Design System Provider",
13413
+ "name": "FoundationDesignSystemProvider",
13414
+ "members": [
13410
13415
  {
13411
- "name": "prefix",
13416
+ "kind": "field",
13417
+ "name": "cardFillColor",
13412
13418
  "type": {
13413
- "text": "string"
13414
- }
13419
+ "text": "Swatch"
13420
+ },
13421
+ "privacy": "public"
13422
+ },
13423
+ {
13424
+ "kind": "field",
13425
+ "name": "cardForegroundColor",
13426
+ "type": {
13427
+ "text": "Swatch"
13428
+ },
13429
+ "privacy": "public"
13415
13430
  }
13416
- ]
13431
+ ],
13432
+ "attributes": [
13433
+ {
13434
+ "name": "card-fill-color",
13435
+ "type": {
13436
+ "text": "Swatch"
13437
+ },
13438
+ "fieldName": "cardFillColor"
13439
+ },
13440
+ {
13441
+ "name": "card-foreground-color",
13442
+ "type": {
13443
+ "text": "Swatch"
13444
+ },
13445
+ "fieldName": "cardForegroundColor"
13446
+ }
13447
+ ],
13448
+ "superclass": {
13449
+ "name": "FASTDesignSystemProvider",
13450
+ "package": "@microsoft/fast-components"
13451
+ },
13452
+ "tagName": "%%prefix%%-design-system-provider",
13453
+ "customElement": true
13417
13454
  },
13418
13455
  {
13419
13456
  "kind": "variable",
13420
- "name": "foundationDialogTemplate",
13421
- "default": "html<Dialog>`\n ${(x) => getDialogTemplate(getPrefix(x))}\n`"
13457
+ "name": "foundationDesignSystemProvider",
13458
+ "description": "The Foundation Design System Provider composed element",
13459
+ "privacy": "public"
13422
13460
  }
13423
13461
  ],
13424
13462
  "exports": [
13425
13463
  {
13426
13464
  "kind": "js",
13427
- "name": "getDialogTemplate",
13465
+ "name": "FoundationDesignSystemProvider",
13428
13466
  "declaration": {
13429
- "name": "getDialogTemplate",
13430
- "module": "src/dialog/dialog.template.ts"
13467
+ "name": "FoundationDesignSystemProvider",
13468
+ "module": "src/design-system-provider/design-system-provider.ts"
13431
13469
  }
13432
13470
  },
13433
13471
  {
13434
13472
  "kind": "js",
13435
- "name": "foundationDialogTemplate",
13473
+ "name": "foundationDesignSystemProvider",
13436
13474
  "declaration": {
13437
- "name": "foundationDialogTemplate",
13438
- "module": "src/dialog/dialog.template.ts"
13475
+ "name": "foundationDesignSystemProvider",
13476
+ "module": "src/design-system-provider/design-system-provider.ts"
13439
13477
  }
13440
13478
  }
13441
13479
  ]
13442
13480
  },
13443
13481
  {
13444
13482
  "kind": "javascript-module",
13445
- "path": "src/dialog/dialog.ts",
13483
+ "path": "src/design-system-provider/design-system-provider.utils.ts",
13446
13484
  "declarations": [
13447
13485
  {
13448
- "kind": "variable",
13449
- "name": "foundationDialogShadowOptions",
13450
- "type": {
13451
- "text": "ShadowRootInit"
13452
- },
13453
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
13486
+ "kind": "function",
13487
+ "name": "provideTokens",
13488
+ "parameters": [
13489
+ {
13490
+ "name": "tokens"
13491
+ },
13492
+ {
13493
+ "name": "values"
13494
+ },
13495
+ {
13496
+ "name": "element",
13497
+ "optional": true,
13498
+ "type": {
13499
+ "text": "HTMLElement"
13500
+ }
13501
+ }
13502
+ ]
13503
+ },
13504
+ {
13505
+ "kind": "function",
13506
+ "name": "designToken",
13507
+ "parameters": [
13508
+ {
13509
+ "name": "token",
13510
+ "type": {
13511
+ "text": "DesignToken<T>"
13512
+ }
13513
+ }
13514
+ ]
13454
13515
  },
13455
13516
  {
13456
13517
  "kind": "variable",
13457
- "name": "defaultDialogConfig",
13518
+ "name": "swatchConverter",
13458
13519
  "type": {
13459
- "text": "object"
13520
+ "text": "ValueConverter"
13460
13521
  },
13461
- "default": "{}"
13522
+ "default": "{\n toView(value: any): string | null {\n if (value === null || value === undefined) {\n return null;\n }\n return (value as Swatch)?.toColorString();\n },\n\n fromView(value: any): any {\n if (value === null || value === undefined) {\n return null;\n }\n const color = parseColorHexRGB(value);\n return color ? SwatchRGB.create(color!.r, color!.g, color!.b) : null;\n },\n}"
13462
13523
  },
13463
13524
  {
13464
- "kind": "class",
13465
- "description": "",
13466
- "name": "DialogElement",
13467
- "members": [
13525
+ "kind": "function",
13526
+ "name": "paletteFromHex",
13527
+ "parameters": [
13468
13528
  {
13469
- "kind": "field",
13470
- "name": "mainElement",
13529
+ "name": "hexColor",
13471
13530
  "type": {
13472
- "text": "HTMLDialogElement"
13473
- },
13474
- "description": "A reference to the dialog element\nin the component Shadow DOM."
13475
- },
13531
+ "text": "string"
13532
+ }
13533
+ }
13534
+ ]
13535
+ },
13536
+ {
13537
+ "kind": "function",
13538
+ "name": "getDefaultConfig",
13539
+ "parameters": [
13476
13540
  {
13477
- "kind": "field",
13478
- "name": "notification",
13541
+ "name": "definition",
13479
13542
  "type": {
13480
- "text": "NotificationStructure"
13543
+ "text": "Partial<FoundationElementDefinition>"
13481
13544
  }
13482
13545
  },
13483
13546
  {
13484
- "kind": "method",
13485
- "name": "notificationChanged"
13486
- },
13547
+ "name": "exclusions",
13548
+ "default": "defaultExclusions"
13549
+ }
13550
+ ]
13551
+ },
13552
+ {
13553
+ "kind": "function",
13554
+ "name": "getExports",
13555
+ "parameters": [
13487
13556
  {
13488
- "kind": "field",
13489
- "name": "type",
13557
+ "name": "registrationFunction"
13558
+ }
13559
+ ]
13560
+ },
13561
+ {
13562
+ "kind": "function",
13563
+ "name": "getTypeRampValue",
13564
+ "parameters": [
13565
+ {
13566
+ "name": "baseTypeRamp",
13490
13567
  "type": {
13491
- "text": "DialogType"
13492
- },
13493
- "default": "'default'"
13568
+ "text": "string"
13569
+ }
13494
13570
  },
13495
13571
  {
13496
- "kind": "field",
13497
- "name": "position",
13572
+ "name": "value",
13498
13573
  "type": {
13499
- "text": "DialogPosition"
13574
+ "text": "number"
13575
+ }
13576
+ }
13577
+ ]
13578
+ },
13579
+ {
13580
+ "kind": "function",
13581
+ "name": "configureDesignSystem",
13582
+ "parameters": [
13583
+ {
13584
+ "name": "provider",
13585
+ "type": {
13586
+ "text": "HTMLElement"
13587
+ }
13588
+ },
13589
+ {
13590
+ "name": "config",
13591
+ "type": {
13592
+ "text": "DesignTokensConfig"
13593
+ }
13594
+ }
13595
+ ]
13596
+ }
13597
+ ],
13598
+ "exports": [
13599
+ {
13600
+ "kind": "js",
13601
+ "name": "provideTokens",
13602
+ "declaration": {
13603
+ "name": "provideTokens",
13604
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13605
+ }
13606
+ },
13607
+ {
13608
+ "kind": "js",
13609
+ "name": "designToken",
13610
+ "declaration": {
13611
+ "name": "designToken",
13612
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13613
+ }
13614
+ },
13615
+ {
13616
+ "kind": "js",
13617
+ "name": "swatchConverter",
13618
+ "declaration": {
13619
+ "name": "swatchConverter",
13620
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13621
+ }
13622
+ },
13623
+ {
13624
+ "kind": "js",
13625
+ "name": "paletteFromHex",
13626
+ "declaration": {
13627
+ "name": "paletteFromHex",
13628
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13629
+ }
13630
+ },
13631
+ {
13632
+ "kind": "js",
13633
+ "name": "getDefaultConfig",
13634
+ "declaration": {
13635
+ "name": "getDefaultConfig",
13636
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13637
+ }
13638
+ },
13639
+ {
13640
+ "kind": "js",
13641
+ "name": "getExports",
13642
+ "declaration": {
13643
+ "name": "getExports",
13644
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13645
+ }
13646
+ },
13647
+ {
13648
+ "kind": "js",
13649
+ "name": "getTypeRampValue",
13650
+ "declaration": {
13651
+ "name": "getTypeRampValue",
13652
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13653
+ }
13654
+ },
13655
+ {
13656
+ "kind": "js",
13657
+ "name": "configureDesignSystem",
13658
+ "declaration": {
13659
+ "name": "configureDesignSystem",
13660
+ "module": "src/design-system-provider/design-system-provider.utils.ts"
13661
+ }
13662
+ }
13663
+ ]
13664
+ },
13665
+ {
13666
+ "kind": "javascript-module",
13667
+ "path": "src/design-system-provider/index.ts",
13668
+ "declarations": [],
13669
+ "exports": [
13670
+ {
13671
+ "kind": "js",
13672
+ "name": "*",
13673
+ "declaration": {
13674
+ "name": "*",
13675
+ "package": "./design-system-provider.utils"
13676
+ }
13677
+ },
13678
+ {
13679
+ "kind": "js",
13680
+ "name": "*",
13681
+ "declaration": {
13682
+ "name": "*",
13683
+ "package": "./design-system-provider"
13684
+ }
13685
+ },
13686
+ {
13687
+ "kind": "js",
13688
+ "name": "*",
13689
+ "declaration": {
13690
+ "name": "*",
13691
+ "package": "./types"
13692
+ }
13693
+ }
13694
+ ]
13695
+ },
13696
+ {
13697
+ "kind": "javascript-module",
13698
+ "path": "src/design-system-provider/types.ts",
13699
+ "declarations": [],
13700
+ "exports": []
13701
+ },
13702
+ {
13703
+ "kind": "javascript-module",
13704
+ "path": "src/dialog/dialog.styles.ts",
13705
+ "declarations": [
13706
+ {
13707
+ "kind": "variable",
13708
+ "name": "foundationDialogStyles",
13709
+ "type": {
13710
+ "text": "ElementStyles"
13711
+ },
13712
+ "default": "css`\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--color-error);\n }\n\n dialog[type='success']::before {\n background-color: var(--color-success);\n }\n\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13713
+ }
13714
+ ],
13715
+ "exports": [
13716
+ {
13717
+ "kind": "js",
13718
+ "name": "foundationDialogStyles",
13719
+ "declaration": {
13720
+ "name": "foundationDialogStyles",
13721
+ "module": "src/dialog/dialog.styles.ts"
13722
+ }
13723
+ }
13724
+ ]
13725
+ },
13726
+ {
13727
+ "kind": "javascript-module",
13728
+ "path": "src/dialog/dialog.template.ts",
13729
+ "declarations": [
13730
+ {
13731
+ "kind": "function",
13732
+ "name": "getDialogTemplate",
13733
+ "parameters": [
13734
+ {
13735
+ "name": "prefix",
13736
+ "type": {
13737
+ "text": "string"
13738
+ }
13739
+ }
13740
+ ]
13741
+ },
13742
+ {
13743
+ "kind": "variable",
13744
+ "name": "foundationDialogTemplate",
13745
+ "default": "html<Dialog>`\n ${(x) => getDialogTemplate(getPrefix(x))}\n`"
13746
+ }
13747
+ ],
13748
+ "exports": [
13749
+ {
13750
+ "kind": "js",
13751
+ "name": "getDialogTemplate",
13752
+ "declaration": {
13753
+ "name": "getDialogTemplate",
13754
+ "module": "src/dialog/dialog.template.ts"
13755
+ }
13756
+ },
13757
+ {
13758
+ "kind": "js",
13759
+ "name": "foundationDialogTemplate",
13760
+ "declaration": {
13761
+ "name": "foundationDialogTemplate",
13762
+ "module": "src/dialog/dialog.template.ts"
13763
+ }
13764
+ }
13765
+ ]
13766
+ },
13767
+ {
13768
+ "kind": "javascript-module",
13769
+ "path": "src/dialog/dialog.ts",
13770
+ "declarations": [
13771
+ {
13772
+ "kind": "variable",
13773
+ "name": "foundationDialogShadowOptions",
13774
+ "type": {
13775
+ "text": "ShadowRootInit"
13776
+ },
13777
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
13778
+ },
13779
+ {
13780
+ "kind": "variable",
13781
+ "name": "defaultDialogConfig",
13782
+ "type": {
13783
+ "text": "object"
13784
+ },
13785
+ "default": "{}"
13786
+ },
13787
+ {
13788
+ "kind": "class",
13789
+ "description": "",
13790
+ "name": "DialogElement",
13791
+ "members": [
13792
+ {
13793
+ "kind": "field",
13794
+ "name": "mainElement",
13795
+ "type": {
13796
+ "text": "HTMLDialogElement"
13797
+ },
13798
+ "description": "A reference to the dialog element\nin the component Shadow DOM."
13799
+ },
13800
+ {
13801
+ "kind": "field",
13802
+ "name": "notification",
13803
+ "type": {
13804
+ "text": "NotificationStructure"
13805
+ }
13806
+ },
13807
+ {
13808
+ "kind": "method",
13809
+ "name": "notificationChanged"
13810
+ },
13811
+ {
13812
+ "kind": "field",
13813
+ "name": "type",
13814
+ "type": {
13815
+ "text": "DialogType"
13816
+ },
13817
+ "default": "'default'"
13818
+ },
13819
+ {
13820
+ "kind": "field",
13821
+ "name": "position",
13822
+ "type": {
13823
+ "text": "DialogPosition"
13500
13824
  },
13501
13825
  "default": "'center'"
13502
13826
  },
@@ -14125,331 +14449,7 @@
14125
14449
  },
14126
14450
  {
14127
14451
  "kind": "javascript-module",
14128
- "path": "src/design-system-provider/design-system-provider.styles.ts",
14129
- "declarations": [
14130
- {
14131
- "kind": "function",
14132
- "name": "designSystemProviderStyles",
14133
- "parameters": [
14134
- {
14135
- "name": "context",
14136
- "type": {
14137
- "text": "ElementDefinitionContext"
14138
- }
14139
- }
14140
- ]
14141
- }
14142
- ],
14143
- "exports": [
14144
- {
14145
- "kind": "js",
14146
- "name": "designSystemProviderStyles",
14147
- "declaration": {
14148
- "name": "designSystemProviderStyles",
14149
- "module": "src/design-system-provider/design-system-provider.styles.ts"
14150
- }
14151
- }
14152
- ]
14153
- },
14154
- {
14155
- "kind": "javascript-module",
14156
- "path": "src/design-system-provider/design-system-provider.ts",
14157
- "declarations": [
14158
- {
14159
- "kind": "class",
14160
- "description": "The Foundation Design System Provider",
14161
- "name": "FoundationDesignSystemProvider",
14162
- "members": [
14163
- {
14164
- "kind": "field",
14165
- "name": "cardFillColor",
14166
- "type": {
14167
- "text": "Swatch"
14168
- },
14169
- "privacy": "public"
14170
- },
14171
- {
14172
- "kind": "field",
14173
- "name": "cardForegroundColor",
14174
- "type": {
14175
- "text": "Swatch"
14176
- },
14177
- "privacy": "public"
14178
- }
14179
- ],
14180
- "attributes": [
14181
- {
14182
- "name": "card-fill-color",
14183
- "type": {
14184
- "text": "Swatch"
14185
- },
14186
- "fieldName": "cardFillColor"
14187
- },
14188
- {
14189
- "name": "card-foreground-color",
14190
- "type": {
14191
- "text": "Swatch"
14192
- },
14193
- "fieldName": "cardForegroundColor"
14194
- }
14195
- ],
14196
- "superclass": {
14197
- "name": "FASTDesignSystemProvider",
14198
- "package": "@microsoft/fast-components"
14199
- },
14200
- "tagName": "%%prefix%%-design-system-provider",
14201
- "customElement": true
14202
- },
14203
- {
14204
- "kind": "variable",
14205
- "name": "foundationDesignSystemProvider",
14206
- "description": "The Foundation Design System Provider composed element",
14207
- "privacy": "public"
14208
- }
14209
- ],
14210
- "exports": [
14211
- {
14212
- "kind": "js",
14213
- "name": "FoundationDesignSystemProvider",
14214
- "declaration": {
14215
- "name": "FoundationDesignSystemProvider",
14216
- "module": "src/design-system-provider/design-system-provider.ts"
14217
- }
14218
- },
14219
- {
14220
- "kind": "js",
14221
- "name": "foundationDesignSystemProvider",
14222
- "declaration": {
14223
- "name": "foundationDesignSystemProvider",
14224
- "module": "src/design-system-provider/design-system-provider.ts"
14225
- }
14226
- }
14227
- ]
14228
- },
14229
- {
14230
- "kind": "javascript-module",
14231
- "path": "src/design-system-provider/design-system-provider.utils.ts",
14232
- "declarations": [
14233
- {
14234
- "kind": "function",
14235
- "name": "provideTokens",
14236
- "parameters": [
14237
- {
14238
- "name": "tokens"
14239
- },
14240
- {
14241
- "name": "values"
14242
- },
14243
- {
14244
- "name": "element",
14245
- "optional": true,
14246
- "type": {
14247
- "text": "HTMLElement"
14248
- }
14249
- }
14250
- ]
14251
- },
14252
- {
14253
- "kind": "function",
14254
- "name": "designToken",
14255
- "parameters": [
14256
- {
14257
- "name": "token",
14258
- "type": {
14259
- "text": "DesignToken<T>"
14260
- }
14261
- }
14262
- ]
14263
- },
14264
- {
14265
- "kind": "variable",
14266
- "name": "swatchConverter",
14267
- "type": {
14268
- "text": "ValueConverter"
14269
- },
14270
- "default": "{\n toView(value: any): string | null {\n if (value === null || value === undefined) {\n return null;\n }\n return (value as Swatch)?.toColorString();\n },\n\n fromView(value: any): any {\n if (value === null || value === undefined) {\n return null;\n }\n const color = parseColorHexRGB(value);\n return color ? SwatchRGB.create(color!.r, color!.g, color!.b) : null;\n },\n}"
14271
- },
14272
- {
14273
- "kind": "function",
14274
- "name": "paletteFromHex",
14275
- "parameters": [
14276
- {
14277
- "name": "hexColor",
14278
- "type": {
14279
- "text": "string"
14280
- }
14281
- }
14282
- ]
14283
- },
14284
- {
14285
- "kind": "function",
14286
- "name": "getDefaultConfig",
14287
- "parameters": [
14288
- {
14289
- "name": "definition",
14290
- "type": {
14291
- "text": "Partial<FoundationElementDefinition>"
14292
- }
14293
- },
14294
- {
14295
- "name": "exclusions",
14296
- "default": "defaultExclusions"
14297
- }
14298
- ]
14299
- },
14300
- {
14301
- "kind": "function",
14302
- "name": "getExports",
14303
- "parameters": [
14304
- {
14305
- "name": "registrationFunction"
14306
- }
14307
- ]
14308
- },
14309
- {
14310
- "kind": "function",
14311
- "name": "getTypeRampValue",
14312
- "parameters": [
14313
- {
14314
- "name": "baseTypeRamp",
14315
- "type": {
14316
- "text": "string"
14317
- }
14318
- },
14319
- {
14320
- "name": "value",
14321
- "type": {
14322
- "text": "number"
14323
- }
14324
- }
14325
- ]
14326
- },
14327
- {
14328
- "kind": "function",
14329
- "name": "configureDesignSystem",
14330
- "parameters": [
14331
- {
14332
- "name": "provider",
14333
- "type": {
14334
- "text": "HTMLElement"
14335
- }
14336
- },
14337
- {
14338
- "name": "config",
14339
- "type": {
14340
- "text": "DesignTokensConfig"
14341
- }
14342
- }
14343
- ]
14344
- }
14345
- ],
14346
- "exports": [
14347
- {
14348
- "kind": "js",
14349
- "name": "provideTokens",
14350
- "declaration": {
14351
- "name": "provideTokens",
14352
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14353
- }
14354
- },
14355
- {
14356
- "kind": "js",
14357
- "name": "designToken",
14358
- "declaration": {
14359
- "name": "designToken",
14360
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14361
- }
14362
- },
14363
- {
14364
- "kind": "js",
14365
- "name": "swatchConverter",
14366
- "declaration": {
14367
- "name": "swatchConverter",
14368
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14369
- }
14370
- },
14371
- {
14372
- "kind": "js",
14373
- "name": "paletteFromHex",
14374
- "declaration": {
14375
- "name": "paletteFromHex",
14376
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14377
- }
14378
- },
14379
- {
14380
- "kind": "js",
14381
- "name": "getDefaultConfig",
14382
- "declaration": {
14383
- "name": "getDefaultConfig",
14384
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14385
- }
14386
- },
14387
- {
14388
- "kind": "js",
14389
- "name": "getExports",
14390
- "declaration": {
14391
- "name": "getExports",
14392
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14393
- }
14394
- },
14395
- {
14396
- "kind": "js",
14397
- "name": "getTypeRampValue",
14398
- "declaration": {
14399
- "name": "getTypeRampValue",
14400
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14401
- }
14402
- },
14403
- {
14404
- "kind": "js",
14405
- "name": "configureDesignSystem",
14406
- "declaration": {
14407
- "name": "configureDesignSystem",
14408
- "module": "src/design-system-provider/design-system-provider.utils.ts"
14409
- }
14410
- }
14411
- ]
14412
- },
14413
- {
14414
- "kind": "javascript-module",
14415
- "path": "src/design-system-provider/index.ts",
14416
- "declarations": [],
14417
- "exports": [
14418
- {
14419
- "kind": "js",
14420
- "name": "*",
14421
- "declaration": {
14422
- "name": "*",
14423
- "package": "./design-system-provider.utils"
14424
- }
14425
- },
14426
- {
14427
- "kind": "js",
14428
- "name": "*",
14429
- "declaration": {
14430
- "name": "*",
14431
- "package": "./design-system-provider"
14432
- }
14433
- },
14434
- {
14435
- "kind": "js",
14436
- "name": "*",
14437
- "declaration": {
14438
- "name": "*",
14439
- "package": "./types"
14440
- }
14441
- }
14442
- ]
14443
- },
14444
- {
14445
- "kind": "javascript-module",
14446
- "path": "src/design-system-provider/types.ts",
14447
- "declarations": [],
14448
- "exports": []
14449
- },
14450
- {
14451
- "kind": "javascript-module",
14452
- "path": "src/disclosure/disclosure.styles.ts",
14452
+ "path": "src/disclosure/disclosure.styles.ts",
14453
14453
  "declarations": [
14454
14454
  {
14455
14455
  "kind": "function",
@@ -17969,194 +17969,83 @@
17969
17969
  },
17970
17970
  {
17971
17971
  "kind": "javascript-module",
17972
- "path": "src/flipper/flipper.styles.ts",
17973
- "declarations": [
17974
- {
17975
- "kind": "function",
17976
- "name": "foundationFlipperStyles",
17977
- "return": {
17978
- "type": {
17979
- "text": "ElementStyles"
17980
- }
17981
- },
17982
- "parameters": [
17983
- {
17984
- "name": "context",
17985
- "type": {
17986
- "text": "ElementDefinitionContext"
17987
- }
17988
- },
17989
- {
17990
- "name": "definition",
17991
- "type": {
17992
- "text": "FlipperOptions"
17993
- }
17994
- }
17995
- ]
17972
+ "path": "src/flex-layout/flex-layout.styles.ts",
17973
+ "declarations": [
17974
+ {
17975
+ "kind": "variable",
17976
+ "name": "foundationFlexLayoutStyles",
17977
+ "type": {
17978
+ "text": "ElementStyles"
17979
+ },
17980
+ "default": "css`\n :host {\n width: 100%;\n height: 100%;\n }\n\n slot {\n width: 100%;\n height: 100%;\n display: flex;\n }\n\n ${flexLayoutRWDStyles()}\n ${flexLayoutRWDStyles('lg')}\n ${flexLayoutRWDStyles('md')}\n ${flexLayoutRWDStyles('sm')}\n`"
17996
17981
  }
17997
17982
  ],
17998
17983
  "exports": [
17999
17984
  {
18000
17985
  "kind": "js",
18001
- "name": "foundationFlipperStyles",
17986
+ "name": "foundationFlexLayoutStyles",
18002
17987
  "declaration": {
18003
- "name": "foundationFlipperStyles",
18004
- "module": "src/flipper/flipper.styles.ts"
17988
+ "name": "foundationFlexLayoutStyles",
17989
+ "module": "src/flex-layout/flex-layout.styles.ts"
18005
17990
  }
18006
17991
  }
18007
17992
  ]
18008
17993
  },
18009
17994
  {
18010
17995
  "kind": "javascript-module",
18011
- "path": "src/flipper/flipper.template.ts",
17996
+ "path": "src/flex-layout/flex-layout.template.ts",
18012
17997
  "declarations": [
18013
17998
  {
18014
- "kind": "function",
18015
- "name": "foundationFlipperTemplate",
18016
- "return": {
18017
- "type": {
18018
- "text": "ViewTemplate<Flipper>"
18019
- }
17999
+ "kind": "variable",
18000
+ "name": "foundationFlexLayoutTemplate",
18001
+ "type": {
18002
+ "text": "ViewTemplate<FlexLayout>"
18020
18003
  },
18021
- "parameters": [
18022
- {
18023
- "name": "context",
18024
- "type": {
18025
- "text": "ElementDefinitionContext"
18026
- }
18027
- },
18028
- {
18029
- "name": "definition",
18030
- "type": {
18031
- "text": "FlipperOptions"
18032
- }
18033
- }
18034
- ]
18004
+ "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18035
18005
  }
18036
18006
  ],
18037
18007
  "exports": [
18038
18008
  {
18039
18009
  "kind": "js",
18040
- "name": "foundationFlipperTemplate",
18010
+ "name": "foundationFlexLayoutTemplate",
18041
18011
  "declaration": {
18042
- "name": "foundationFlipperTemplate",
18043
- "module": "src/flipper/flipper.template.ts"
18012
+ "name": "foundationFlexLayoutTemplate",
18013
+ "module": "src/flex-layout/flex-layout.template.ts"
18044
18014
  }
18045
18015
  }
18046
18016
  ]
18047
18017
  },
18048
18018
  {
18049
18019
  "kind": "javascript-module",
18050
- "path": "src/flipper/flipper.ts",
18020
+ "path": "src/flex-layout/flex-layout.ts",
18051
18021
  "declarations": [
18022
+ {
18023
+ "kind": "variable",
18024
+ "name": "foundationFlexLayoutShadowOptions",
18025
+ "type": {
18026
+ "text": "ShadowRootInit"
18027
+ },
18028
+ "default": "undefined"
18029
+ },
18030
+ {
18031
+ "kind": "variable",
18032
+ "name": "defaultFlexLayoutConfig",
18033
+ "type": {
18034
+ "text": "object"
18035
+ },
18036
+ "default": "{}"
18037
+ },
18052
18038
  {
18053
18039
  "kind": "class",
18054
18040
  "description": "",
18055
- "name": "Flipper",
18041
+ "name": "FlexLayout",
18056
18042
  "superclass": {
18057
- "name": "FASTFlipper",
18058
- "package": "@microsoft/fast-components"
18043
+ "name": "FoundationElement",
18044
+ "package": "@microsoft/fast-foundation"
18059
18045
  },
18060
- "tagName": "%%prefix%%-flipper",
18046
+ "tagName": "%%prefix%%-flex-layout",
18061
18047
  "customElement": true,
18062
- "attributes": [
18063
- {
18064
- "type": {
18065
- "text": "boolean"
18066
- },
18067
- "description": "The disabled state of the flipper.",
18068
- "fieldName": "disabled",
18069
- "inheritedFrom": {
18070
- "name": "Flipper",
18071
- "module": "src/flipper/flipper.ts"
18072
- }
18073
- },
18074
- {
18075
- "name": "aria-hidden",
18076
- "type": {
18077
- "text": "boolean"
18078
- },
18079
- "default": "true",
18080
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18081
- "fieldName": "hiddenFromAT",
18082
- "inheritedFrom": {
18083
- "name": "Flipper",
18084
- "module": "src/flipper/flipper.ts"
18085
- }
18086
- },
18087
- {
18088
- "name": "direction",
18089
- "type": {
18090
- "text": "FlipperDirection"
18091
- },
18092
- "description": "The direction that the flipper implies navigating.",
18093
- "fieldName": "direction",
18094
- "inheritedFrom": {
18095
- "name": "Flipper",
18096
- "module": "src/flipper/flipper.ts"
18097
- }
18098
- }
18099
- ],
18100
18048
  "members": [
18101
- {
18102
- "kind": "field",
18103
- "name": "disabled",
18104
- "type": {
18105
- "text": "boolean"
18106
- },
18107
- "privacy": "public",
18108
- "description": "The disabled state of the flipper.",
18109
- "inheritedFrom": {
18110
- "name": "Flipper",
18111
- "module": "src/flipper/flipper.ts"
18112
- }
18113
- },
18114
- {
18115
- "kind": "field",
18116
- "name": "hiddenFromAT",
18117
- "type": {
18118
- "text": "boolean"
18119
- },
18120
- "privacy": "public",
18121
- "default": "true",
18122
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18123
- "inheritedFrom": {
18124
- "name": "Flipper",
18125
- "module": "src/flipper/flipper.ts"
18126
- }
18127
- },
18128
- {
18129
- "kind": "field",
18130
- "name": "direction",
18131
- "type": {
18132
- "text": "FlipperDirection"
18133
- },
18134
- "privacy": "public",
18135
- "description": "The direction that the flipper implies navigating.",
18136
- "inheritedFrom": {
18137
- "name": "Flipper",
18138
- "module": "src/flipper/flipper.ts"
18139
- }
18140
- },
18141
- {
18142
- "kind": "method",
18143
- "name": "keyupHandler",
18144
- "privacy": "public",
18145
- "parameters": [
18146
- {
18147
- "name": "e",
18148
- "type": {
18149
- "text": "Event & KeyboardEvent"
18150
- },
18151
- "description": "Keyboard event"
18152
- }
18153
- ],
18154
- "description": "Simulate a click event when the flipper has focus and the user hits enter or space keys\nBlur focus if the user hits escape key",
18155
- "inheritedFrom": {
18156
- "name": "Flipper",
18157
- "module": "src/flipper/flipper.ts"
18158
- }
18159
- },
18160
18049
  {
18161
18050
  "kind": "field",
18162
18051
  "name": "_presentation",
@@ -18268,79 +18157,59 @@
18268
18157
  "module": "src/foundation-element/foundation-element.ts"
18269
18158
  }
18270
18159
  }
18271
- ],
18272
- "events": [
18273
- {
18274
- "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18275
- "name": "click",
18276
- "inheritedFrom": {
18277
- "name": "Flipper",
18278
- "module": "src/flipper/flipper.ts"
18279
- }
18280
- }
18281
18160
  ]
18282
18161
  },
18283
18162
  {
18284
18163
  "kind": "variable",
18285
- "name": "foundationFlipperShadowOptions",
18286
- "type": {
18287
- "text": "ShadowRootInit"
18288
- },
18289
- "default": "undefined"
18290
- },
18291
- {
18292
- "kind": "variable",
18293
- "name": "defaultFlipperConfig",
18294
- "type": {
18295
- "text": "object"
18296
- },
18297
- "default": "{\n next: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n previous: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z\"\n />\n </svg>\n `,\n}"
18298
- },
18299
- {
18300
- "kind": "variable",
18301
- "name": "foundationFlipper",
18302
- "description": "The Foundation Flipper",
18164
+ "name": "foundationFlexLayout",
18165
+ "description": "The Foundation Flex Layout",
18303
18166
  "privacy": "public"
18304
18167
  }
18305
18168
  ],
18306
18169
  "exports": [
18307
18170
  {
18308
18171
  "kind": "js",
18309
- "name": "Flipper",
18172
+ "name": "foundationFlexLayoutShadowOptions",
18310
18173
  "declaration": {
18311
- "name": "Flipper",
18312
- "module": "src/flipper/flipper.ts"
18174
+ "name": "foundationFlexLayoutShadowOptions",
18175
+ "module": "src/flex-layout/flex-layout.ts"
18313
18176
  }
18314
18177
  },
18315
18178
  {
18316
18179
  "kind": "js",
18317
- "name": "foundationFlipperShadowOptions",
18180
+ "name": "defaultFlexLayoutConfig",
18318
18181
  "declaration": {
18319
- "name": "foundationFlipperShadowOptions",
18320
- "module": "src/flipper/flipper.ts"
18182
+ "name": "defaultFlexLayoutConfig",
18183
+ "module": "src/flex-layout/flex-layout.ts"
18321
18184
  }
18322
18185
  },
18323
18186
  {
18324
18187
  "kind": "js",
18325
- "name": "defaultFlipperConfig",
18188
+ "name": "FlexLayout",
18326
18189
  "declaration": {
18327
- "name": "defaultFlipperConfig",
18328
- "module": "src/flipper/flipper.ts"
18190
+ "name": "FlexLayout",
18191
+ "module": "src/flex-layout/flex-layout.ts"
18329
18192
  }
18330
18193
  },
18331
18194
  {
18332
18195
  "kind": "js",
18333
- "name": "foundationFlipper",
18196
+ "name": "foundationFlexLayout",
18334
18197
  "declaration": {
18335
- "name": "foundationFlipper",
18336
- "module": "src/flipper/flipper.ts"
18198
+ "name": "foundationFlexLayout",
18199
+ "module": "src/flex-layout/flex-layout.ts"
18337
18200
  }
18338
18201
  }
18339
18202
  ]
18340
18203
  },
18341
18204
  {
18342
18205
  "kind": "javascript-module",
18343
- "path": "src/flipper/index.ts",
18206
+ "path": "src/flex-layout/flex-layout.types.ts",
18207
+ "declarations": [],
18208
+ "exports": []
18209
+ },
18210
+ {
18211
+ "kind": "javascript-module",
18212
+ "path": "src/flex-layout/index.ts",
18344
18213
  "declarations": [],
18345
18214
  "exports": [
18346
18215
  {
@@ -18348,7 +18217,7 @@
18348
18217
  "name": "*",
18349
18218
  "declaration": {
18350
18219
  "name": "*",
18351
- "package": "./flipper.template"
18220
+ "package": "./flex-layout.template"
18352
18221
  }
18353
18222
  },
18354
18223
  {
@@ -18356,7 +18225,7 @@
18356
18225
  "name": "*",
18357
18226
  "declaration": {
18358
18227
  "name": "*",
18359
- "package": "./flipper.styles"
18228
+ "package": "./flex-layout.styles"
18360
18229
  }
18361
18230
  },
18362
18231
  {
@@ -18364,90 +18233,209 @@
18364
18233
  "name": "*",
18365
18234
  "declaration": {
18366
18235
  "name": "*",
18367
- "package": "./flipper"
18236
+ "package": "./flex-layout"
18237
+ }
18238
+ },
18239
+ {
18240
+ "kind": "js",
18241
+ "name": "*",
18242
+ "declaration": {
18243
+ "name": "*",
18244
+ "package": "./flex-layout.types"
18368
18245
  }
18369
18246
  }
18370
18247
  ]
18371
18248
  },
18372
18249
  {
18373
18250
  "kind": "javascript-module",
18374
- "path": "src/flex-layout/flex-layout.styles.ts",
18251
+ "path": "src/flipper/flipper.styles.ts",
18375
18252
  "declarations": [
18376
18253
  {
18377
- "kind": "variable",
18378
- "name": "foundationFlexLayoutStyles",
18379
- "type": {
18380
- "text": "ElementStyles"
18254
+ "kind": "function",
18255
+ "name": "foundationFlipperStyles",
18256
+ "return": {
18257
+ "type": {
18258
+ "text": "ElementStyles"
18259
+ }
18381
18260
  },
18382
- "default": "css`\n :host {\n width: 100%;\n height: 100%;\n }\n\n slot {\n width: 100%;\n height: 100%;\n display: flex;\n }\n\n ${flexLayoutRWDStyles()}\n ${flexLayoutRWDStyles('lg')}\n ${flexLayoutRWDStyles('md')}\n ${flexLayoutRWDStyles('sm')}\n`"
18261
+ "parameters": [
18262
+ {
18263
+ "name": "context",
18264
+ "type": {
18265
+ "text": "ElementDefinitionContext"
18266
+ }
18267
+ },
18268
+ {
18269
+ "name": "definition",
18270
+ "type": {
18271
+ "text": "FlipperOptions"
18272
+ }
18273
+ }
18274
+ ]
18383
18275
  }
18384
18276
  ],
18385
18277
  "exports": [
18386
18278
  {
18387
18279
  "kind": "js",
18388
- "name": "foundationFlexLayoutStyles",
18280
+ "name": "foundationFlipperStyles",
18389
18281
  "declaration": {
18390
- "name": "foundationFlexLayoutStyles",
18391
- "module": "src/flex-layout/flex-layout.styles.ts"
18282
+ "name": "foundationFlipperStyles",
18283
+ "module": "src/flipper/flipper.styles.ts"
18392
18284
  }
18393
18285
  }
18394
18286
  ]
18395
18287
  },
18396
18288
  {
18397
18289
  "kind": "javascript-module",
18398
- "path": "src/flex-layout/flex-layout.template.ts",
18290
+ "path": "src/flipper/flipper.template.ts",
18399
18291
  "declarations": [
18400
18292
  {
18401
- "kind": "variable",
18402
- "name": "foundationFlexLayoutTemplate",
18403
- "type": {
18404
- "text": "ViewTemplate<FlexLayout>"
18293
+ "kind": "function",
18294
+ "name": "foundationFlipperTemplate",
18295
+ "return": {
18296
+ "type": {
18297
+ "text": "ViewTemplate<Flipper>"
18298
+ }
18405
18299
  },
18406
- "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18300
+ "parameters": [
18301
+ {
18302
+ "name": "context",
18303
+ "type": {
18304
+ "text": "ElementDefinitionContext"
18305
+ }
18306
+ },
18307
+ {
18308
+ "name": "definition",
18309
+ "type": {
18310
+ "text": "FlipperOptions"
18311
+ }
18312
+ }
18313
+ ]
18407
18314
  }
18408
18315
  ],
18409
18316
  "exports": [
18410
18317
  {
18411
18318
  "kind": "js",
18412
- "name": "foundationFlexLayoutTemplate",
18319
+ "name": "foundationFlipperTemplate",
18413
18320
  "declaration": {
18414
- "name": "foundationFlexLayoutTemplate",
18415
- "module": "src/flex-layout/flex-layout.template.ts"
18321
+ "name": "foundationFlipperTemplate",
18322
+ "module": "src/flipper/flipper.template.ts"
18416
18323
  }
18417
18324
  }
18418
18325
  ]
18419
18326
  },
18420
18327
  {
18421
18328
  "kind": "javascript-module",
18422
- "path": "src/flex-layout/flex-layout.ts",
18329
+ "path": "src/flipper/flipper.ts",
18423
18330
  "declarations": [
18424
- {
18425
- "kind": "variable",
18426
- "name": "foundationFlexLayoutShadowOptions",
18427
- "type": {
18428
- "text": "ShadowRootInit"
18429
- },
18430
- "default": "undefined"
18431
- },
18432
- {
18433
- "kind": "variable",
18434
- "name": "defaultFlexLayoutConfig",
18435
- "type": {
18436
- "text": "object"
18437
- },
18438
- "default": "{}"
18439
- },
18440
18331
  {
18441
18332
  "kind": "class",
18442
18333
  "description": "",
18443
- "name": "FlexLayout",
18334
+ "name": "Flipper",
18444
18335
  "superclass": {
18445
- "name": "FoundationElement",
18446
- "package": "@microsoft/fast-foundation"
18336
+ "name": "FASTFlipper",
18337
+ "package": "@microsoft/fast-components"
18447
18338
  },
18448
- "tagName": "%%prefix%%-flex-layout",
18339
+ "tagName": "%%prefix%%-flipper",
18449
18340
  "customElement": true,
18341
+ "attributes": [
18342
+ {
18343
+ "type": {
18344
+ "text": "boolean"
18345
+ },
18346
+ "description": "The disabled state of the flipper.",
18347
+ "fieldName": "disabled",
18348
+ "inheritedFrom": {
18349
+ "name": "Flipper",
18350
+ "module": "src/flipper/flipper.ts"
18351
+ }
18352
+ },
18353
+ {
18354
+ "name": "aria-hidden",
18355
+ "type": {
18356
+ "text": "boolean"
18357
+ },
18358
+ "default": "true",
18359
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18360
+ "fieldName": "hiddenFromAT",
18361
+ "inheritedFrom": {
18362
+ "name": "Flipper",
18363
+ "module": "src/flipper/flipper.ts"
18364
+ }
18365
+ },
18366
+ {
18367
+ "name": "direction",
18368
+ "type": {
18369
+ "text": "FlipperDirection"
18370
+ },
18371
+ "description": "The direction that the flipper implies navigating.",
18372
+ "fieldName": "direction",
18373
+ "inheritedFrom": {
18374
+ "name": "Flipper",
18375
+ "module": "src/flipper/flipper.ts"
18376
+ }
18377
+ }
18378
+ ],
18450
18379
  "members": [
18380
+ {
18381
+ "kind": "field",
18382
+ "name": "disabled",
18383
+ "type": {
18384
+ "text": "boolean"
18385
+ },
18386
+ "privacy": "public",
18387
+ "description": "The disabled state of the flipper.",
18388
+ "inheritedFrom": {
18389
+ "name": "Flipper",
18390
+ "module": "src/flipper/flipper.ts"
18391
+ }
18392
+ },
18393
+ {
18394
+ "kind": "field",
18395
+ "name": "hiddenFromAT",
18396
+ "type": {
18397
+ "text": "boolean"
18398
+ },
18399
+ "privacy": "public",
18400
+ "default": "true",
18401
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18402
+ "inheritedFrom": {
18403
+ "name": "Flipper",
18404
+ "module": "src/flipper/flipper.ts"
18405
+ }
18406
+ },
18407
+ {
18408
+ "kind": "field",
18409
+ "name": "direction",
18410
+ "type": {
18411
+ "text": "FlipperDirection"
18412
+ },
18413
+ "privacy": "public",
18414
+ "description": "The direction that the flipper implies navigating.",
18415
+ "inheritedFrom": {
18416
+ "name": "Flipper",
18417
+ "module": "src/flipper/flipper.ts"
18418
+ }
18419
+ },
18420
+ {
18421
+ "kind": "method",
18422
+ "name": "keyupHandler",
18423
+ "privacy": "public",
18424
+ "parameters": [
18425
+ {
18426
+ "name": "e",
18427
+ "type": {
18428
+ "text": "Event & KeyboardEvent"
18429
+ },
18430
+ "description": "Keyboard event"
18431
+ }
18432
+ ],
18433
+ "description": "Simulate a click event when the flipper has focus and the user hits enter or space keys\nBlur focus if the user hits escape key",
18434
+ "inheritedFrom": {
18435
+ "name": "Flipper",
18436
+ "module": "src/flipper/flipper.ts"
18437
+ }
18438
+ },
18451
18439
  {
18452
18440
  "kind": "field",
18453
18441
  "name": "_presentation",
@@ -18559,59 +18547,79 @@
18559
18547
  "module": "src/foundation-element/foundation-element.ts"
18560
18548
  }
18561
18549
  }
18550
+ ],
18551
+ "events": [
18552
+ {
18553
+ "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18554
+ "name": "click",
18555
+ "inheritedFrom": {
18556
+ "name": "Flipper",
18557
+ "module": "src/flipper/flipper.ts"
18558
+ }
18559
+ }
18562
18560
  ]
18563
18561
  },
18564
18562
  {
18565
18563
  "kind": "variable",
18566
- "name": "foundationFlexLayout",
18567
- "description": "The Foundation Flex Layout",
18564
+ "name": "foundationFlipperShadowOptions",
18565
+ "type": {
18566
+ "text": "ShadowRootInit"
18567
+ },
18568
+ "default": "undefined"
18569
+ },
18570
+ {
18571
+ "kind": "variable",
18572
+ "name": "defaultFlipperConfig",
18573
+ "type": {
18574
+ "text": "object"
18575
+ },
18576
+ "default": "{\n next: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n previous: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z\"\n />\n </svg>\n `,\n}"
18577
+ },
18578
+ {
18579
+ "kind": "variable",
18580
+ "name": "foundationFlipper",
18581
+ "description": "The Foundation Flipper",
18568
18582
  "privacy": "public"
18569
18583
  }
18570
18584
  ],
18571
18585
  "exports": [
18572
18586
  {
18573
18587
  "kind": "js",
18574
- "name": "foundationFlexLayoutShadowOptions",
18588
+ "name": "Flipper",
18575
18589
  "declaration": {
18576
- "name": "foundationFlexLayoutShadowOptions",
18577
- "module": "src/flex-layout/flex-layout.ts"
18590
+ "name": "Flipper",
18591
+ "module": "src/flipper/flipper.ts"
18578
18592
  }
18579
18593
  },
18580
18594
  {
18581
18595
  "kind": "js",
18582
- "name": "defaultFlexLayoutConfig",
18596
+ "name": "foundationFlipperShadowOptions",
18583
18597
  "declaration": {
18584
- "name": "defaultFlexLayoutConfig",
18585
- "module": "src/flex-layout/flex-layout.ts"
18598
+ "name": "foundationFlipperShadowOptions",
18599
+ "module": "src/flipper/flipper.ts"
18586
18600
  }
18587
18601
  },
18588
18602
  {
18589
18603
  "kind": "js",
18590
- "name": "FlexLayout",
18604
+ "name": "defaultFlipperConfig",
18591
18605
  "declaration": {
18592
- "name": "FlexLayout",
18593
- "module": "src/flex-layout/flex-layout.ts"
18606
+ "name": "defaultFlipperConfig",
18607
+ "module": "src/flipper/flipper.ts"
18594
18608
  }
18595
18609
  },
18596
18610
  {
18597
18611
  "kind": "js",
18598
- "name": "foundationFlexLayout",
18612
+ "name": "foundationFlipper",
18599
18613
  "declaration": {
18600
- "name": "foundationFlexLayout",
18601
- "module": "src/flex-layout/flex-layout.ts"
18614
+ "name": "foundationFlipper",
18615
+ "module": "src/flipper/flipper.ts"
18602
18616
  }
18603
18617
  }
18604
18618
  ]
18605
18619
  },
18606
18620
  {
18607
18621
  "kind": "javascript-module",
18608
- "path": "src/flex-layout/flex-layout.types.ts",
18609
- "declarations": [],
18610
- "exports": []
18611
- },
18612
- {
18613
- "kind": "javascript-module",
18614
- "path": "src/flex-layout/index.ts",
18622
+ "path": "src/flipper/index.ts",
18615
18623
  "declarations": [],
18616
18624
  "exports": [
18617
18625
  {
@@ -18619,15 +18627,7 @@
18619
18627
  "name": "*",
18620
18628
  "declaration": {
18621
18629
  "name": "*",
18622
- "package": "./flex-layout.template"
18623
- }
18624
- },
18625
- {
18626
- "kind": "js",
18627
- "name": "*",
18628
- "declaration": {
18629
- "name": "*",
18630
- "package": "./flex-layout.styles"
18630
+ "package": "./flipper.template"
18631
18631
  }
18632
18632
  },
18633
18633
  {
@@ -18635,7 +18635,7 @@
18635
18635
  "name": "*",
18636
18636
  "declaration": {
18637
18637
  "name": "*",
18638
- "package": "./flex-layout"
18638
+ "package": "./flipper.styles"
18639
18639
  }
18640
18640
  },
18641
18641
  {
@@ -18643,7 +18643,7 @@
18643
18643
  "name": "*",
18644
18644
  "declaration": {
18645
18645
  "name": "*",
18646
- "package": "./flex-layout.types"
18646
+ "package": "./flipper"
18647
18647
  }
18648
18648
  }
18649
18649
  ]