@genesislcap/foundation-ui 14.125.1 → 14.126.0-PA-1036.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.
@@ -777,6 +777,47 @@
777
777
  }
778
778
  ]
779
779
  },
780
+ {
781
+ "kind": "javascript-module",
782
+ "path": "src/_common/icons.ts",
783
+ "declarations": [
784
+ {
785
+ "kind": "function",
786
+ "name": "closeIcon",
787
+ "parameters": [
788
+ {
789
+ "name": "slot",
790
+ "default": "'start'"
791
+ }
792
+ ]
793
+ }
794
+ ],
795
+ "exports": [
796
+ {
797
+ "kind": "js",
798
+ "name": "closeIcon",
799
+ "declaration": {
800
+ "name": "closeIcon",
801
+ "module": "src/_common/icons.ts"
802
+ }
803
+ }
804
+ ]
805
+ },
806
+ {
807
+ "kind": "javascript-module",
808
+ "path": "src/_common/index.ts",
809
+ "declarations": [],
810
+ "exports": [
811
+ {
812
+ "kind": "js",
813
+ "name": "*",
814
+ "declaration": {
815
+ "name": "*",
816
+ "package": "./icons"
817
+ }
818
+ }
819
+ ]
820
+ },
780
821
  {
781
822
  "kind": "javascript-module",
782
823
  "path": "src/_config/index.ts",
@@ -810,15 +851,28 @@
810
851
  },
811
852
  {
812
853
  "kind": "javascript-module",
813
- "path": "src/_common/icons.ts",
854
+ "path": "src/accordion/accordion.styles.ts",
814
855
  "declarations": [
815
856
  {
816
857
  "kind": "function",
817
- "name": "closeIcon",
858
+ "name": "foundationAccordionStyles",
859
+ "return": {
860
+ "type": {
861
+ "text": "ElementStyles"
862
+ }
863
+ },
818
864
  "parameters": [
819
865
  {
820
- "name": "slot",
821
- "default": "'start'"
866
+ "name": "context",
867
+ "type": {
868
+ "text": "ElementDefinitionContext"
869
+ }
870
+ },
871
+ {
872
+ "name": "definition",
873
+ "type": {
874
+ "text": "FoundationElementDefinition"
875
+ }
822
876
  }
823
877
  ]
824
878
  }
@@ -826,17 +880,129 @@
826
880
  "exports": [
827
881
  {
828
882
  "kind": "js",
829
- "name": "closeIcon",
883
+ "name": "foundationAccordionStyles",
830
884
  "declaration": {
831
- "name": "closeIcon",
832
- "module": "src/_common/icons.ts"
885
+ "name": "foundationAccordionStyles",
886
+ "module": "src/accordion/accordion.styles.ts"
833
887
  }
834
888
  }
835
889
  ]
836
890
  },
837
891
  {
838
892
  "kind": "javascript-module",
839
- "path": "src/_common/index.ts",
893
+ "path": "src/accordion/accordion.template.ts",
894
+ "declarations": [
895
+ {
896
+ "kind": "function",
897
+ "name": "foundationAccordionTemplate",
898
+ "return": {
899
+ "type": {
900
+ "text": "ViewTemplate<Accordion>"
901
+ }
902
+ },
903
+ "parameters": [
904
+ {
905
+ "name": "context",
906
+ "type": {
907
+ "text": "ElementDefinitionContext"
908
+ }
909
+ },
910
+ {
911
+ "name": "definition",
912
+ "type": {
913
+ "text": "FoundationElementDefinition"
914
+ }
915
+ }
916
+ ]
917
+ }
918
+ ],
919
+ "exports": [
920
+ {
921
+ "kind": "js",
922
+ "name": "foundationAccordionTemplate",
923
+ "declaration": {
924
+ "name": "foundationAccordionTemplate",
925
+ "module": "src/accordion/accordion.template.ts"
926
+ }
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ "kind": "javascript-module",
932
+ "path": "src/accordion/accordion.ts",
933
+ "declarations": [
934
+ {
935
+ "kind": "class",
936
+ "description": "",
937
+ "name": "Accordion",
938
+ "superclass": {
939
+ "name": "FASTAccordion",
940
+ "package": "@microsoft/fast-foundation"
941
+ },
942
+ "tagName": "%%prefix%%-accordion",
943
+ "customElement": true
944
+ },
945
+ {
946
+ "kind": "variable",
947
+ "name": "foundationAccordionShadowOptions",
948
+ "type": {
949
+ "text": "ShadowRootInit"
950
+ },
951
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
952
+ },
953
+ {
954
+ "kind": "variable",
955
+ "name": "defaultAccordionConfig",
956
+ "type": {
957
+ "text": "object"
958
+ },
959
+ "default": "{}"
960
+ },
961
+ {
962
+ "kind": "variable",
963
+ "name": "foundationAccordion",
964
+ "description": "The Foundation Accordion",
965
+ "privacy": "public"
966
+ }
967
+ ],
968
+ "exports": [
969
+ {
970
+ "kind": "js",
971
+ "name": "Accordion",
972
+ "declaration": {
973
+ "name": "Accordion",
974
+ "module": "src/accordion/accordion.ts"
975
+ }
976
+ },
977
+ {
978
+ "kind": "js",
979
+ "name": "foundationAccordionShadowOptions",
980
+ "declaration": {
981
+ "name": "foundationAccordionShadowOptions",
982
+ "module": "src/accordion/accordion.ts"
983
+ }
984
+ },
985
+ {
986
+ "kind": "js",
987
+ "name": "defaultAccordionConfig",
988
+ "declaration": {
989
+ "name": "defaultAccordionConfig",
990
+ "module": "src/accordion/accordion.ts"
991
+ }
992
+ },
993
+ {
994
+ "kind": "js",
995
+ "name": "foundationAccordion",
996
+ "declaration": {
997
+ "name": "foundationAccordion",
998
+ "module": "src/accordion/accordion.ts"
999
+ }
1000
+ }
1001
+ ]
1002
+ },
1003
+ {
1004
+ "kind": "javascript-module",
1005
+ "path": "src/accordion/index.ts",
840
1006
  "declarations": [],
841
1007
  "exports": [
842
1008
  {
@@ -844,7 +1010,23 @@
844
1010
  "name": "*",
845
1011
  "declaration": {
846
1012
  "name": "*",
847
- "package": "./icons"
1013
+ "package": "./accordion.template"
1014
+ }
1015
+ },
1016
+ {
1017
+ "kind": "js",
1018
+ "name": "*",
1019
+ "declaration": {
1020
+ "name": "*",
1021
+ "package": "./accordion.styles"
1022
+ }
1023
+ },
1024
+ {
1025
+ "kind": "js",
1026
+ "name": "*",
1027
+ "declaration": {
1028
+ "name": "*",
1029
+ "package": "./accordion"
848
1030
  }
849
1031
  }
850
1032
  ]
@@ -3912,188 +4094,6 @@
3912
4094
  }
3913
4095
  ]
3914
4096
  },
3915
- {
3916
- "kind": "javascript-module",
3917
- "path": "src/accordion/accordion.styles.ts",
3918
- "declarations": [
3919
- {
3920
- "kind": "function",
3921
- "name": "foundationAccordionStyles",
3922
- "return": {
3923
- "type": {
3924
- "text": "ElementStyles"
3925
- }
3926
- },
3927
- "parameters": [
3928
- {
3929
- "name": "context",
3930
- "type": {
3931
- "text": "ElementDefinitionContext"
3932
- }
3933
- },
3934
- {
3935
- "name": "definition",
3936
- "type": {
3937
- "text": "FoundationElementDefinition"
3938
- }
3939
- }
3940
- ]
3941
- }
3942
- ],
3943
- "exports": [
3944
- {
3945
- "kind": "js",
3946
- "name": "foundationAccordionStyles",
3947
- "declaration": {
3948
- "name": "foundationAccordionStyles",
3949
- "module": "src/accordion/accordion.styles.ts"
3950
- }
3951
- }
3952
- ]
3953
- },
3954
- {
3955
- "kind": "javascript-module",
3956
- "path": "src/accordion/accordion.template.ts",
3957
- "declarations": [
3958
- {
3959
- "kind": "function",
3960
- "name": "foundationAccordionTemplate",
3961
- "return": {
3962
- "type": {
3963
- "text": "ViewTemplate<Accordion>"
3964
- }
3965
- },
3966
- "parameters": [
3967
- {
3968
- "name": "context",
3969
- "type": {
3970
- "text": "ElementDefinitionContext"
3971
- }
3972
- },
3973
- {
3974
- "name": "definition",
3975
- "type": {
3976
- "text": "FoundationElementDefinition"
3977
- }
3978
- }
3979
- ]
3980
- }
3981
- ],
3982
- "exports": [
3983
- {
3984
- "kind": "js",
3985
- "name": "foundationAccordionTemplate",
3986
- "declaration": {
3987
- "name": "foundationAccordionTemplate",
3988
- "module": "src/accordion/accordion.template.ts"
3989
- }
3990
- }
3991
- ]
3992
- },
3993
- {
3994
- "kind": "javascript-module",
3995
- "path": "src/accordion/accordion.ts",
3996
- "declarations": [
3997
- {
3998
- "kind": "class",
3999
- "description": "",
4000
- "name": "Accordion",
4001
- "superclass": {
4002
- "name": "FASTAccordion",
4003
- "package": "@microsoft/fast-foundation"
4004
- },
4005
- "tagName": "%%prefix%%-accordion",
4006
- "customElement": true
4007
- },
4008
- {
4009
- "kind": "variable",
4010
- "name": "foundationAccordionShadowOptions",
4011
- "type": {
4012
- "text": "ShadowRootInit"
4013
- },
4014
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4015
- },
4016
- {
4017
- "kind": "variable",
4018
- "name": "defaultAccordionConfig",
4019
- "type": {
4020
- "text": "object"
4021
- },
4022
- "default": "{}"
4023
- },
4024
- {
4025
- "kind": "variable",
4026
- "name": "foundationAccordion",
4027
- "description": "The Foundation Accordion",
4028
- "privacy": "public"
4029
- }
4030
- ],
4031
- "exports": [
4032
- {
4033
- "kind": "js",
4034
- "name": "Accordion",
4035
- "declaration": {
4036
- "name": "Accordion",
4037
- "module": "src/accordion/accordion.ts"
4038
- }
4039
- },
4040
- {
4041
- "kind": "js",
4042
- "name": "foundationAccordionShadowOptions",
4043
- "declaration": {
4044
- "name": "foundationAccordionShadowOptions",
4045
- "module": "src/accordion/accordion.ts"
4046
- }
4047
- },
4048
- {
4049
- "kind": "js",
4050
- "name": "defaultAccordionConfig",
4051
- "declaration": {
4052
- "name": "defaultAccordionConfig",
4053
- "module": "src/accordion/accordion.ts"
4054
- }
4055
- },
4056
- {
4057
- "kind": "js",
4058
- "name": "foundationAccordion",
4059
- "declaration": {
4060
- "name": "foundationAccordion",
4061
- "module": "src/accordion/accordion.ts"
4062
- }
4063
- }
4064
- ]
4065
- },
4066
- {
4067
- "kind": "javascript-module",
4068
- "path": "src/accordion/index.ts",
4069
- "declarations": [],
4070
- "exports": [
4071
- {
4072
- "kind": "js",
4073
- "name": "*",
4074
- "declaration": {
4075
- "name": "*",
4076
- "package": "./accordion.template"
4077
- }
4078
- },
4079
- {
4080
- "kind": "js",
4081
- "name": "*",
4082
- "declaration": {
4083
- "name": "*",
4084
- "package": "./accordion.styles"
4085
- }
4086
- },
4087
- {
4088
- "kind": "js",
4089
- "name": "*",
4090
- "declaration": {
4091
- "name": "*",
4092
- "package": "./accordion"
4093
- }
4094
- }
4095
- ]
4096
- },
4097
4097
  {
4098
4098
  "kind": "javascript-module",
4099
4099
  "path": "src/avatar/avatar.styles.ts",
@@ -19929,7 +19929,7 @@
19929
19929
  "type": {
19930
19930
  "text": "object"
19931
19931
  },
19932
- "default": "{\n nextFlipper: html`\n <fast-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></fast-flipper>\n `,\n previousFlipper: html`\n <fast-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></fast-flipper>\n `,\n}"
19932
+ "default": "{\n nextFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n previousFlipper: html`\n <foundation-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></foundation-flipper>\n `,\n}"
19933
19933
  },
19934
19934
  {
19935
19935
  "kind": "variable",
@@ -25539,6 +25539,13 @@
25539
25539
  "text": "string"
25540
25540
  }
25541
25541
  },
25542
+ {
25543
+ "kind": "field",
25544
+ "name": "optionElement",
25545
+ "type": {
25546
+ "text": "string"
25547
+ }
25548
+ },
25542
25549
  {
25543
25550
  "kind": "field",
25544
25551
  "name": "valueField",
@@ -25585,15 +25592,6 @@
25585
25592
  },
25586
25593
  "privacy": "protected"
25587
25594
  },
25588
- {
25589
- "kind": "field",
25590
- "name": "optionElement",
25591
- "type": {
25592
- "text": "string"
25593
- },
25594
- "privacy": "public",
25595
- "default": "'fast-option'"
25596
- },
25597
25595
  {
25598
25596
  "kind": "field",
25599
25597
  "name": "isSnapshot",
@@ -26267,6 +26265,13 @@
26267
26265
  },
26268
26266
  "fieldName": "labelField"
26269
26267
  },
26268
+ {
26269
+ "name": "option-element",
26270
+ "type": {
26271
+ "text": "string"
26272
+ },
26273
+ "fieldName": "optionElement"
26274
+ },
26270
26275
  {
26271
26276
  "name": "value-field",
26272
26277
  "type": {
@@ -3,13 +3,13 @@ import { Select } from '../select';
3
3
  import { BaseDatasource } from '../utils';
4
4
  export declare class OptionsDatasource extends BaseDatasource {
5
5
  labelField: string;
6
+ optionElement: string;
6
7
  valueField: string;
7
8
  labelFormatter: any;
8
9
  initialSelectedValue: string | number;
9
10
  initialSelectedValueChanged(oldValue: any, newValue: any): void;
10
11
  initalSelectedValueInitialized: boolean;
11
12
  protected select: Select | Combobox;
12
- optionElement: string;
13
13
  isSnapshot: boolean;
14
14
  protected options: {
15
15
  value: any;
@@ -1 +1 @@
1
- {"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAU,MAAM,UAAU,CAAC;AAGlD,qBAGa,iBAAkB,SAAQ,cAAc;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IAC3C,cAAc,MAAC;IAEf,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClD,2BAA2B,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAI9C,8BAA8B,EAAE,OAAO,CAAS;IAEhD,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAiB;IACtC,UAAU,EAAE,OAAO,CAAQ;IAElC,SAAS,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE7C,iBAAiB;IA8BjB,sBAAsB;IAY5B,SAAS,IAAI,IAAI;IAUjB,iBAAiB,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE;IA8BtC,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,IAAI;IAI9C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;IAI7C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;CAG9C"}
1
+ {"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAU,MAAM,UAAU,CAAC;AAGlD,qBAGa,iBAAkB,SAAQ,cAAc;IACf,UAAU,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IAC3C,cAAc,MAAC;IAEf,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClD,2BAA2B,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAI9C,8BAA8B,EAAE,OAAO,CAAS;IAEhD,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAQ;IAElC,SAAS,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE7C,iBAAiB;IA8BjB,sBAAsB;IAY5B,SAAS,IAAI,IAAI;IAUjB,iBAAiB,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE;IA8BtC,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,GAAG,IAAI;IAI9C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;IAI7C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;CAG9C"}
@@ -14,17 +14,17 @@ export const foundationHorizontalScrollShadowOptions = {
14
14
  };
15
15
  export const defaultHorizontalScrollConfig = {
16
16
  nextFlipper: html `
17
- <fast-flipper
17
+ <foundation-flipper
18
18
  @click="${(x) => x.scrollToNext()}"
19
19
  aria-hidden="${(x) => x.flippersHiddenFromAT}"
20
- ></fast-flipper>
20
+ ></foundation-flipper>
21
21
  `,
22
22
  previousFlipper: html `
23
- <fast-flipper
23
+ <foundation-flipper
24
24
  @click="${(x) => x.scrollToPrevious()}"
25
25
  direction="previous"
26
26
  aria-hidden="${(x) => x.flippersHiddenFromAT}"
27
- ></fast-flipper>
27
+ ></foundation-flipper>
28
28
  `,
29
29
  };
30
30
  /**
@@ -9,7 +9,6 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
9
9
  constructor() {
10
10
  super(...arguments);
11
11
  this.initalSelectedValueInitialized = false;
12
- this.optionElement = 'fast-option';
13
12
  this.isSnapshot = true;
14
13
  }
15
14
  initialSelectedValueChanged(oldValue, newValue) {
@@ -104,6 +103,9 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
104
103
  __decorate([
105
104
  attr({ attribute: 'label-field' })
106
105
  ], OptionsDatasource.prototype, "labelField", void 0);
106
+ __decorate([
107
+ attr({ attribute: 'option-element' })
108
+ ], OptionsDatasource.prototype, "optionElement", void 0);
107
109
  __decorate([
108
110
  attr({ attribute: 'value-field' })
109
111
  ], OptionsDatasource.prototype, "valueField", void 0);
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.125.1",
4
+ "version": "14.126.0-PA-1036.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -74,8 +74,8 @@
74
74
  "test:debug": "genx test --debug"
75
75
  },
76
76
  "devDependencies": {
77
- "@genesislcap/foundation-testing": "14.125.1",
78
- "@genesislcap/genx": "14.125.1",
77
+ "@genesislcap/foundation-testing": "14.126.0-PA-1036.1",
78
+ "@genesislcap/genx": "14.126.0-PA-1036.1",
79
79
  "copyfiles": "^2.4.1",
80
80
  "rimraf": "^3.0.2",
81
81
  "rxjs": "^7.5.4"
@@ -86,12 +86,12 @@
86
86
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
87
87
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
88
88
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
89
- "@genesislcap/foundation-comms": "14.125.1",
90
- "@genesislcap/foundation-criteria": "14.125.1",
91
- "@genesislcap/foundation-errors": "14.125.1",
92
- "@genesislcap/foundation-logger": "14.125.1",
93
- "@genesislcap/foundation-notifications": "14.125.1",
94
- "@genesislcap/foundation-utils": "14.125.1",
89
+ "@genesislcap/foundation-comms": "14.126.0-PA-1036.1",
90
+ "@genesislcap/foundation-criteria": "14.126.0-PA-1036.1",
91
+ "@genesislcap/foundation-errors": "14.126.0-PA-1036.1",
92
+ "@genesislcap/foundation-logger": "14.126.0-PA-1036.1",
93
+ "@genesislcap/foundation-notifications": "14.126.0-PA-1036.1",
94
+ "@genesislcap/foundation-utils": "14.126.0-PA-1036.1",
95
95
  "@microsoft/fast-colors": "^5.1.4",
96
96
  "@microsoft/fast-components": "^2.21.3",
97
97
  "@microsoft/fast-element": "^1.7.0",
@@ -113,5 +113,5 @@
113
113
  "access": "public"
114
114
  },
115
115
  "customElements": "dist/custom-elements.json",
116
- "gitHead": "1c6f03b9dccb2332ab68e08f66ecc4f4011b604b"
116
+ "gitHead": "8aaf618a04b53570dfe0d72e88df81d823fd4166"
117
117
  }