@genesislcap/foundation-ui 14.157.1-alpha-eb76ae5.0 → 14.157.1-alpha-e60ad86.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 +1050 -1050
  2. package/package.json +15 -15
@@ -11815,853 +11815,567 @@
11815
11815
  },
11816
11816
  {
11817
11817
  "kind": "javascript-module",
11818
- "path": "src/date-picker/calendar.ts",
11818
+ "path": "src/data-grid-row/data-grid-row.styles.ts",
11819
11819
  "declarations": [
11820
11820
  {
11821
- "kind": "class",
11822
- "description": "",
11823
- "name": "Calendar",
11824
- "members": [
11821
+ "kind": "function",
11822
+ "name": "foundationDataGridRowStyles",
11823
+ "return": {
11824
+ "type": {
11825
+ "text": "ElementStyles"
11826
+ }
11827
+ },
11828
+ "parameters": [
11825
11829
  {
11826
- "kind": "field",
11827
- "name": "today",
11830
+ "name": "context",
11828
11831
  "type": {
11829
- "text": "any"
11830
- },
11831
- "default": "new Day(null, lang)"
11832
+ "text": "ElementDefinitionContext"
11833
+ }
11832
11834
  },
11833
11835
  {
11834
- "kind": "field",
11835
- "name": "year",
11836
+ "name": "defintion",
11836
11837
  "type": {
11837
- "text": "number"
11838
+ "text": "FoundationElementDefinition"
11838
11839
  }
11839
- },
11840
+ }
11841
+ ]
11842
+ }
11843
+ ],
11844
+ "exports": [
11845
+ {
11846
+ "kind": "js",
11847
+ "name": "foundationDataGridRowStyles",
11848
+ "declaration": {
11849
+ "name": "foundationDataGridRowStyles",
11850
+ "module": "src/data-grid-row/data-grid-row.styles.ts"
11851
+ }
11852
+ }
11853
+ ]
11854
+ },
11855
+ {
11856
+ "kind": "javascript-module",
11857
+ "path": "src/data-grid-row/data-grid.row.ts",
11858
+ "declarations": [
11859
+ {
11860
+ "kind": "class",
11861
+ "description": "",
11862
+ "name": "DataGridRow",
11863
+ "superclass": {
11864
+ "name": "FASTDataGridRow",
11865
+ "package": "@microsoft/fast-components"
11866
+ },
11867
+ "tagName": "%%prefix%%-data-grid-row",
11868
+ "customElement": true,
11869
+ "attributes": [
11840
11870
  {
11841
- "kind": "field",
11842
- "name": "month",
11871
+ "name": "grid-template-columns",
11843
11872
  "type": {
11844
- "text": "any"
11873
+ "text": "string"
11845
11874
  },
11846
- "default": "new Month(new Date(this.year, (monthNumber || this.today.monthNumber) - 1), lang)"
11875
+ "description": "String that gets applied to the the css gridTemplateColumns attribute for the row",
11876
+ "fieldName": "gridTemplateColumns",
11877
+ "inheritedFrom": {
11878
+ "name": "DataGridRow",
11879
+ "module": "src/data-grid/data-grid-row.ts"
11880
+ }
11847
11881
  },
11848
11882
  {
11849
- "kind": "field",
11850
- "name": "lang",
11883
+ "name": "row-type",
11851
11884
  "type": {
11852
- "text": "string"
11885
+ "text": "DataGridRowTypes"
11853
11886
  },
11854
- "default": "lang"
11855
- },
11887
+ "description": "The type of row",
11888
+ "fieldName": "rowType",
11889
+ "inheritedFrom": {
11890
+ "name": "DataGridRow",
11891
+ "module": "src/data-grid/data-grid-row.ts"
11892
+ }
11893
+ }
11894
+ ],
11895
+ "members": [
11856
11896
  {
11857
11897
  "kind": "field",
11858
- "name": "weekDays"
11898
+ "name": "gridTemplateColumns",
11899
+ "type": {
11900
+ "text": "string"
11901
+ },
11902
+ "privacy": "public",
11903
+ "description": "String that gets applied to the the css gridTemplateColumns attribute for the row",
11904
+ "inheritedFrom": {
11905
+ "name": "DataGridRow",
11906
+ "module": "src/data-grid/data-grid-row.ts"
11907
+ }
11859
11908
  },
11860
11909
  {
11861
11910
  "kind": "method",
11862
- "name": "getMonth",
11863
- "parameters": [
11864
- {
11865
- "name": "monthNumber"
11911
+ "name": "gridTemplateColumnsChanged",
11912
+ "privacy": "private",
11913
+ "return": {
11914
+ "type": {
11915
+ "text": "void"
11866
11916
  }
11867
- ]
11868
- },
11869
- {
11870
- "kind": "method",
11871
- "name": "getPreviousMonth"
11917
+ },
11918
+ "inheritedFrom": {
11919
+ "name": "DataGridRow",
11920
+ "module": "src/data-grid/data-grid-row.ts"
11921
+ }
11872
11922
  },
11873
11923
  {
11874
- "kind": "method",
11875
- "name": "getNextMonth"
11924
+ "kind": "field",
11925
+ "name": "rowType",
11926
+ "type": {
11927
+ "text": "DataGridRowTypes"
11928
+ },
11929
+ "privacy": "public",
11930
+ "description": "The type of row",
11931
+ "inheritedFrom": {
11932
+ "name": "DataGridRow",
11933
+ "module": "src/data-grid/data-grid-row.ts"
11934
+ }
11876
11935
  },
11877
11936
  {
11878
11937
  "kind": "method",
11879
- "name": "goToDate",
11880
- "parameters": [
11881
- {
11882
- "name": "monthNumber"
11883
- },
11884
- {
11885
- "name": "year"
11938
+ "name": "rowTypeChanged",
11939
+ "privacy": "private",
11940
+ "return": {
11941
+ "type": {
11942
+ "text": "void"
11886
11943
  }
11887
- ]
11888
- },
11889
- {
11890
- "kind": "method",
11891
- "name": "goToNextYear"
11892
- },
11893
- {
11894
- "kind": "method",
11895
- "name": "goToPreviousYear"
11896
- },
11897
- {
11898
- "kind": "method",
11899
- "name": "goToNextMonth"
11900
- },
11901
- {
11902
- "kind": "method",
11903
- "name": "goToPreviousMonth"
11944
+ },
11945
+ "inheritedFrom": {
11946
+ "name": "DataGridRow",
11947
+ "module": "src/data-grid/data-grid-row.ts"
11948
+ }
11904
11949
  },
11905
11950
  {
11906
11951
  "kind": "field",
11907
- "name": "_presentation",
11952
+ "name": "rowData",
11908
11953
  "type": {
11909
- "text": "ComponentPresentation | null | undefined"
11954
+ "text": "object | null"
11910
11955
  },
11956
+ "privacy": "public",
11957
+ "default": "null",
11958
+ "description": "The base data for this row",
11959
+ "inheritedFrom": {
11960
+ "name": "DataGridRow",
11961
+ "module": "src/data-grid/data-grid-row.ts"
11962
+ }
11963
+ },
11964
+ {
11965
+ "kind": "method",
11966
+ "name": "rowDataChanged",
11911
11967
  "privacy": "private",
11912
- "default": "void 0",
11968
+ "return": {
11969
+ "type": {
11970
+ "text": "void"
11971
+ }
11972
+ },
11913
11973
  "inheritedFrom": {
11914
- "name": "FoundationElement",
11915
- "module": "src/foundation-element/foundation-element.ts"
11974
+ "name": "DataGridRow",
11975
+ "module": "src/data-grid/data-grid-row.ts"
11916
11976
  }
11917
11977
  },
11918
11978
  {
11919
11979
  "kind": "field",
11920
- "name": "$presentation",
11980
+ "name": "columnDefinitions",
11921
11981
  "type": {
11922
- "text": "ComponentPresentation | null"
11982
+ "text": "ColumnDefinition[] | null"
11923
11983
  },
11924
11984
  "privacy": "public",
11925
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
11985
+ "default": "null",
11986
+ "description": "The column definitions of the row",
11926
11987
  "inheritedFrom": {
11927
- "name": "FoundationElement",
11928
- "module": "src/foundation-element/foundation-element.ts"
11988
+ "name": "DataGridRow",
11989
+ "module": "src/data-grid/data-grid-row.ts"
11929
11990
  }
11930
11991
  },
11931
11992
  {
11932
11993
  "kind": "field",
11933
- "name": "template",
11994
+ "name": "cellItemTemplate",
11934
11995
  "type": {
11935
- "text": "ElementViewTemplate | void | null"
11996
+ "text": "ViewTemplate | undefined"
11936
11997
  },
11937
11998
  "privacy": "public",
11938
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
11999
+ "description": "The template used to render cells in generated rows.",
11939
12000
  "inheritedFrom": {
11940
- "name": "FoundationElement",
11941
- "module": "src/foundation-element/foundation-element.ts"
12001
+ "name": "DataGridRow",
12002
+ "module": "src/data-grid/data-grid-row.ts"
11942
12003
  }
11943
12004
  },
11944
12005
  {
11945
12006
  "kind": "method",
11946
- "name": "templateChanged",
11947
- "privacy": "protected",
12007
+ "name": "cellItemTemplateChanged",
12008
+ "privacy": "private",
11948
12009
  "return": {
11949
12010
  "type": {
11950
12011
  "text": "void"
11951
12012
  }
11952
12013
  },
11953
12014
  "inheritedFrom": {
11954
- "name": "FoundationElement",
11955
- "module": "src/foundation-element/foundation-element.ts"
12015
+ "name": "DataGridRow",
12016
+ "module": "src/data-grid/data-grid-row.ts"
11956
12017
  }
11957
12018
  },
11958
12019
  {
11959
12020
  "kind": "field",
11960
- "name": "styles",
12021
+ "name": "headerCellItemTemplate",
11961
12022
  "type": {
11962
- "text": "ElementStyles | void | null"
12023
+ "text": "ViewTemplate | undefined"
11963
12024
  },
11964
12025
  "privacy": "public",
11965
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
12026
+ "description": "The template used to render header cells in generated rows.",
11966
12027
  "inheritedFrom": {
11967
- "name": "FoundationElement",
11968
- "module": "src/foundation-element/foundation-element.ts"
12028
+ "name": "DataGridRow",
12029
+ "module": "src/data-grid/data-grid-row.ts"
11969
12030
  }
11970
12031
  },
11971
12032
  {
11972
12033
  "kind": "method",
11973
- "name": "stylesChanged",
11974
- "privacy": "protected",
12034
+ "name": "headerCellItemTemplateChanged",
12035
+ "privacy": "private",
11975
12036
  "return": {
11976
12037
  "type": {
11977
12038
  "text": "void"
11978
12039
  }
11979
12040
  },
11980
12041
  "inheritedFrom": {
11981
- "name": "FoundationElement",
11982
- "module": "src/foundation-element/foundation-element.ts"
12042
+ "name": "DataGridRow",
12043
+ "module": "src/data-grid/data-grid-row.ts"
11983
12044
  }
11984
12045
  },
11985
12046
  {
11986
- "kind": "method",
11987
- "name": "compose",
11988
- "privacy": "public",
11989
- "static": true,
11990
- "return": {
11991
- "type": {
11992
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
11993
- }
12047
+ "kind": "field",
12048
+ "name": "rowIndex",
12049
+ "type": {
12050
+ "text": "number"
11994
12051
  },
11995
- "parameters": [
11996
- {
11997
- "name": "this",
11998
- "type": {
11999
- "text": "K"
12000
- }
12001
- },
12002
- {
12003
- "name": "elementDefinition",
12004
- "type": {
12005
- "text": "T"
12006
- },
12007
- "description": "The definition of the element to create the registry\nfunction for."
12008
- }
12009
- ],
12010
- "description": "Defines an element registry function with a set of element definition defaults.",
12011
- "inheritedFrom": {
12012
- "name": "FoundationElement",
12013
- "module": "src/foundation-element/foundation-element.ts"
12014
- }
12015
- }
12016
- ]
12017
- }
12018
- ],
12019
- "exports": [
12020
- {
12021
- "kind": "js",
12022
- "name": "default",
12023
- "declaration": {
12024
- "name": "Calendar",
12025
- "module": "src/date-picker/calendar.ts"
12026
- }
12027
- }
12028
- ]
12029
- },
12030
- {
12031
- "kind": "javascript-module",
12032
- "path": "src/date-picker/date-picker.styles.ts",
12033
- "declarations": [
12034
- {
12035
- "kind": "variable",
12036
- "name": "foundationDatePickerStyles",
12037
- "type": {
12038
- "text": "ElementStyles"
12039
- },
12040
- "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .date-toggle::part(label) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-foreground-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--foreground-on-accent-rest);\n }\n\n .header .months-arrows {\n display: flex;\n flex-direction: row;\n }\n\n .header .icon-container {\n display: flex;\n width: 25px;\n height: 25px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n }\n\n .header .icon-container:first-child {\n margin-right: calc(var(--design-unit) * 2px);\n }\n\n .header .prev-month,\n .header .next-month {\n color: var(--foreground-on-accent-rest);\n font-size: 18px;\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--foreground-on-accent-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--foreground-on-accent-rest);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover {\n background: var(--neutral-stroke-hover);\n color: (--neutral-foreground-rest);\n }\n\n .date-toggle[readonly] .label {\n cursor: pointer;\n }\n`"
12041
- }
12042
- ],
12043
- "exports": [
12044
- {
12045
- "kind": "js",
12046
- "name": "foundationDatePickerStyles",
12047
- "declaration": {
12048
- "name": "foundationDatePickerStyles",
12049
- "module": "src/date-picker/date-picker.styles.ts"
12050
- }
12051
- }
12052
- ]
12053
- },
12054
- {
12055
- "kind": "javascript-module",
12056
- "path": "src/date-picker/date-picker.template.ts",
12057
- "declarations": [
12058
- {
12059
- "kind": "function",
12060
- "name": "getPrefixedDatePicker",
12061
- "parameters": [
12062
- {
12063
- "name": "prefix",
12064
- "type": {
12065
- "text": "string"
12066
- }
12067
- }
12068
- ]
12069
- },
12070
- {
12071
- "kind": "variable",
12072
- "name": "foundationDatePickerTemplate",
12073
- "default": "html<DatePicker>`\n ${(x) => getPrefixedDatePicker(getPrefix(x))}\n`"
12074
- }
12075
- ],
12076
- "exports": [
12077
- {
12078
- "kind": "js",
12079
- "name": "getPrefixedDatePicker",
12080
- "declaration": {
12081
- "name": "getPrefixedDatePicker",
12082
- "module": "src/date-picker/date-picker.template.ts"
12083
- }
12084
- },
12085
- {
12086
- "kind": "js",
12087
- "name": "foundationDatePickerTemplate",
12088
- "declaration": {
12089
- "name": "foundationDatePickerTemplate",
12090
- "module": "src/date-picker/date-picker.template.ts"
12091
- }
12092
- }
12093
- ]
12094
- },
12095
- {
12096
- "kind": "javascript-module",
12097
- "path": "src/date-picker/date-picker.ts",
12098
- "declarations": [
12099
- {
12100
- "kind": "variable",
12101
- "name": "foundationDatePickerShadowOptions",
12102
- "type": {
12103
- "text": "ShadowRootInit"
12104
- },
12105
- "default": "undefined"
12106
- },
12107
- {
12108
- "kind": "variable",
12109
- "name": "defaultDatePickerConfig",
12110
- "type": {
12111
- "text": "object"
12112
- },
12113
- "default": "{}"
12114
- },
12115
- {
12116
- "kind": "class",
12117
- "description": "",
12118
- "name": "DatePicker",
12119
- "members": [
12120
- {
12121
- "kind": "field",
12122
- "name": "format",
12123
- "type": {
12124
- "text": "string"
12125
- },
12126
- "default": "'MM-DD-YYYY'"
12127
- },
12128
- {
12129
- "kind": "method",
12130
- "name": "formatChanged",
12131
- "parameters": [
12132
- {
12133
- "name": "oldValue",
12134
- "type": {
12135
- "text": "string"
12136
- }
12137
- },
12138
- {
12139
- "name": "newValue",
12140
- "type": {
12141
- "text": "string"
12142
- }
12143
- }
12144
- ]
12145
- },
12146
- {
12147
- "kind": "field",
12148
- "name": "lang",
12149
- "type": {
12150
- "text": "string"
12151
- },
12152
- "default": "'en-US'"
12153
- },
12154
- {
12155
- "kind": "field",
12156
- "name": "visible",
12157
- "type": {
12158
- "text": "boolean"
12159
- },
12160
- "default": "false"
12161
- },
12162
- {
12163
- "kind": "field",
12164
- "name": "position",
12165
- "type": {
12166
- "text": "string"
12167
- },
12168
- "default": "'bottom'"
12169
- },
12170
- {
12171
- "kind": "field",
12172
- "name": "label",
12173
- "type": {
12174
- "text": "string"
12175
- }
12176
- },
12177
- {
12178
- "kind": "field",
12179
- "name": "value",
12180
- "type": {
12181
- "text": "string"
12182
- }
12183
- },
12184
- {
12185
- "kind": "method",
12186
- "name": "valueChanged",
12187
- "parameters": [
12188
- {
12189
- "name": "oldValue",
12190
- "type": {
12191
- "text": "string"
12192
- }
12193
- },
12194
- {
12195
- "name": "newValue",
12196
- "type": {
12197
- "text": "string"
12198
- }
12199
- }
12200
- ]
12201
- },
12202
- {
12203
- "kind": "field",
12204
- "name": "currentDate",
12205
- "type": {
12206
- "text": "any"
12207
- },
12208
- "default": "new Day(dayjsDate.toDate(), this.lang)"
12209
- },
12210
- {
12211
- "kind": "field",
12212
- "name": "currentMonth",
12213
- "type": {
12214
- "text": "Calendar"
12215
- }
12216
- },
12217
- {
12218
- "kind": "field",
12219
- "name": "currentYear",
12220
- "type": {
12221
- "text": "number"
12222
- }
12223
- },
12224
- {
12225
- "kind": "field",
12226
- "name": "calendarDropdownClasses",
12227
- "type": {
12228
- "text": "String"
12229
- }
12230
- },
12231
- {
12232
- "kind": "field",
12233
- "name": "formatDate",
12234
- "type": {
12235
- "text": "string"
12236
- }
12237
- },
12238
- {
12239
- "kind": "field",
12240
- "name": "monthList",
12241
- "type": {
12242
- "text": "any"
12243
- }
12244
- },
12245
- {
12246
- "kind": "field",
12247
- "name": "calendar",
12248
- "type": {
12249
- "text": "Calendar"
12250
- },
12251
- "default": "new Calendar(this.currentDate.year, this.currentDate.monthNumber, this.lang)"
12252
- },
12253
- {
12254
- "kind": "field",
12255
- "name": "toggleButton",
12256
- "type": {
12257
- "text": "HTMLElement"
12258
- }
12259
- },
12260
- {
12261
- "kind": "field",
12262
- "name": "calendarDaysContainer",
12263
- "type": {
12264
- "text": "HTMLElement"
12265
- }
12266
- },
12267
- {
12268
- "kind": "field",
12269
- "name": "selectedDayElement",
12270
- "type": {
12271
- "text": "HTMLElement"
12272
- }
12273
- },
12274
- {
12275
- "kind": "field",
12276
- "name": "prevBtn",
12277
- "type": {
12278
- "text": "HTMLElement"
12279
- }
12280
- },
12281
- {
12282
- "kind": "field",
12283
- "name": "nextBtn",
12284
- "type": {
12285
- "text": "HTMLElement"
12286
- }
12287
- },
12288
- {
12289
- "kind": "field",
12290
- "name": "substringNumber",
12291
- "type": {
12292
- "text": "number"
12293
- },
12294
- "default": "3"
12295
- },
12296
- {
12297
- "kind": "method",
12298
- "name": "updateHeaderText"
12299
- },
12300
- {
12301
- "kind": "method",
12302
- "name": "toggleCalendar"
12303
- },
12304
- {
12305
- "kind": "method",
12306
- "name": "toggleVisibility"
12307
- },
12308
- {
12309
- "kind": "method",
12310
- "name": "isSelectedDate",
12311
- "parameters": [
12312
- {
12313
- "name": "date"
12314
- }
12315
- ]
12316
- },
12317
- {
12318
- "kind": "method",
12319
- "name": "isCurrentCalendarMonth"
12320
- },
12321
- {
12322
- "kind": "method",
12323
- "name": "prevMonth"
12324
- },
12325
- {
12326
- "kind": "method",
12327
- "name": "nextMonth"
12328
- },
12329
- {
12330
- "kind": "method",
12331
- "name": "selectDay",
12332
- "parameters": [
12333
- {
12334
- "name": "day"
12335
- }
12336
- ]
12337
- },
12338
- {
12339
- "kind": "method",
12340
- "name": "getMonthDaysGrid"
12052
+ "privacy": "public",
12053
+ "description": "The index of the row in the parent grid.\nThis is typically set programmatically by the parent grid.",
12054
+ "inheritedFrom": {
12055
+ "name": "DataGridRow",
12056
+ "module": "src/data-grid/data-grid-row.ts"
12057
+ }
12341
12058
  },
12342
12059
  {
12343
12060
  "kind": "field",
12344
- "name": "_presentation",
12061
+ "name": "cellsRepeatBehavior",
12345
12062
  "type": {
12346
- "text": "ComponentPresentation | null | undefined"
12063
+ "text": "RepeatBehavior | null"
12347
12064
  },
12348
12065
  "privacy": "private",
12349
- "default": "void 0",
12066
+ "default": "null",
12350
12067
  "inheritedFrom": {
12351
- "name": "FoundationElement",
12352
- "module": "src/foundation-element/foundation-element.ts"
12068
+ "name": "DataGridRow",
12069
+ "module": "src/data-grid/data-grid-row.ts"
12353
12070
  }
12354
12071
  },
12355
12072
  {
12356
12073
  "kind": "field",
12357
- "name": "$presentation",
12074
+ "name": "cellsPlaceholder",
12358
12075
  "type": {
12359
- "text": "ComponentPresentation | null"
12076
+ "text": "Node | null"
12360
12077
  },
12361
- "privacy": "public",
12362
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12078
+ "privacy": "private",
12079
+ "default": "null",
12363
12080
  "inheritedFrom": {
12364
- "name": "FoundationElement",
12365
- "module": "src/foundation-element/foundation-element.ts"
12081
+ "name": "DataGridRow",
12082
+ "module": "src/data-grid/data-grid-row.ts"
12366
12083
  }
12367
12084
  },
12368
12085
  {
12369
12086
  "kind": "field",
12370
- "name": "template",
12087
+ "name": "refocusOnLoad",
12371
12088
  "type": {
12372
- "text": "ElementViewTemplate | void | null"
12089
+ "text": "boolean"
12373
12090
  },
12374
- "privacy": "public",
12375
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
12091
+ "privacy": "private",
12092
+ "default": "false",
12376
12093
  "inheritedFrom": {
12377
- "name": "FoundationElement",
12378
- "module": "src/foundation-element/foundation-element.ts"
12094
+ "name": "DataGridRow",
12095
+ "module": "src/data-grid/data-grid-row.ts"
12379
12096
  }
12380
12097
  },
12381
12098
  {
12382
12099
  "kind": "method",
12383
- "name": "templateChanged",
12384
- "privacy": "protected",
12100
+ "name": "handleFocusout",
12101
+ "privacy": "public",
12385
12102
  "return": {
12386
12103
  "type": {
12387
12104
  "text": "void"
12388
12105
  }
12389
12106
  },
12107
+ "parameters": [
12108
+ {
12109
+ "name": "e",
12110
+ "type": {
12111
+ "text": "FocusEvent"
12112
+ }
12113
+ }
12114
+ ],
12390
12115
  "inheritedFrom": {
12391
- "name": "FoundationElement",
12392
- "module": "src/foundation-element/foundation-element.ts"
12393
- }
12394
- },
12395
- {
12396
- "kind": "field",
12397
- "name": "styles",
12398
- "type": {
12399
- "text": "ElementStyles | void | null"
12400
- },
12401
- "privacy": "public",
12402
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
12403
- "inheritedFrom": {
12404
- "name": "FoundationElement",
12405
- "module": "src/foundation-element/foundation-element.ts"
12116
+ "name": "DataGridRow",
12117
+ "module": "src/data-grid/data-grid-row.ts"
12406
12118
  }
12407
12119
  },
12408
12120
  {
12409
12121
  "kind": "method",
12410
- "name": "stylesChanged",
12411
- "privacy": "protected",
12122
+ "name": "handleCellFocus",
12123
+ "privacy": "public",
12412
12124
  "return": {
12413
12125
  "type": {
12414
12126
  "text": "void"
12415
12127
  }
12416
12128
  },
12129
+ "parameters": [
12130
+ {
12131
+ "name": "e",
12132
+ "type": {
12133
+ "text": "Event"
12134
+ }
12135
+ }
12136
+ ],
12417
12137
  "inheritedFrom": {
12418
- "name": "FoundationElement",
12419
- "module": "src/foundation-element/foundation-element.ts"
12138
+ "name": "DataGridRow",
12139
+ "module": "src/data-grid/data-grid-row.ts"
12420
12140
  }
12421
12141
  },
12422
12142
  {
12423
12143
  "kind": "method",
12424
- "name": "compose",
12144
+ "name": "handleKeydown",
12425
12145
  "privacy": "public",
12426
- "static": true,
12427
12146
  "return": {
12428
12147
  "type": {
12429
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
12148
+ "text": "void"
12430
12149
  }
12431
12150
  },
12432
12151
  "parameters": [
12433
12152
  {
12434
- "name": "this",
12153
+ "name": "e",
12435
12154
  "type": {
12436
- "text": "K"
12155
+ "text": "KeyboardEvent"
12437
12156
  }
12438
- },
12439
- {
12440
- "name": "elementDefinition",
12441
- "type": {
12442
- "text": "T"
12443
- },
12444
- "description": "The definition of the element to create the registry\nfunction for."
12445
12157
  }
12446
12158
  ],
12447
- "description": "Defines an element registry function with a set of element definition defaults.",
12448
- "inheritedFrom": {
12449
- "name": "FoundationElement",
12450
- "module": "src/foundation-element/foundation-element.ts"
12451
- }
12452
- }
12453
- ],
12454
- "attributes": [
12455
- {
12456
- "name": "format",
12457
- "type": {
12458
- "text": "string"
12459
- },
12460
- "default": "'MM-DD-YYYY'",
12461
- "fieldName": "format"
12462
- },
12463
- {
12464
- "name": "lang",
12465
- "type": {
12466
- "text": "string"
12467
- },
12468
- "default": "'en-US'",
12469
- "fieldName": "lang"
12470
- },
12471
- {
12472
- "name": "visible",
12473
- "type": {
12474
- "text": "boolean"
12475
- },
12476
- "default": "false",
12477
- "fieldName": "visible"
12478
- },
12479
- {
12480
- "name": "position",
12481
- "type": {
12482
- "text": "string"
12483
- },
12484
- "default": "'bottom'",
12485
- "fieldName": "position"
12486
- },
12487
- {
12488
- "name": "label",
12489
- "type": {
12490
- "text": "string"
12491
- },
12492
- "fieldName": "label"
12493
- },
12494
- {
12495
- "name": "value",
12496
- "type": {
12497
- "text": "string"
12498
- },
12499
- "fieldName": "value"
12500
- }
12501
- ],
12502
- "superclass": {
12503
- "name": "FoundationElement",
12504
- "package": "@microsoft/fast-foundation"
12505
- },
12506
- "tagName": "%%prefix%%-date-picker",
12507
- "customElement": true
12508
- },
12509
- {
12510
- "kind": "variable",
12511
- "name": "foundationDatePicker",
12512
- "description": "The Foundation DatePicker",
12513
- "privacy": "public"
12514
- }
12515
- ],
12516
- "exports": [
12517
- {
12518
- "kind": "js",
12519
- "name": "foundationDatePickerShadowOptions",
12520
- "declaration": {
12521
- "name": "foundationDatePickerShadowOptions",
12522
- "module": "src/date-picker/date-picker.ts"
12523
- }
12524
- },
12525
- {
12526
- "kind": "js",
12527
- "name": "defaultDatePickerConfig",
12528
- "declaration": {
12529
- "name": "defaultDatePickerConfig",
12530
- "module": "src/date-picker/date-picker.ts"
12531
- }
12532
- },
12533
- {
12534
- "kind": "js",
12535
- "name": "DatePicker",
12536
- "declaration": {
12537
- "name": "DatePicker",
12538
- "module": "src/date-picker/date-picker.ts"
12539
- }
12540
- },
12541
- {
12542
- "kind": "js",
12543
- "name": "foundationDatePicker",
12544
- "declaration": {
12545
- "name": "foundationDatePicker",
12546
- "module": "src/date-picker/date-picker.ts"
12547
- }
12548
- }
12549
- ]
12550
- },
12551
- {
12552
- "kind": "javascript-module",
12553
- "path": "src/date-picker/day.ts",
12554
- "declarations": [
12555
- {
12556
- "kind": "class",
12557
- "description": "",
12558
- "name": "Day",
12559
- "members": [
12560
- {
12561
- "kind": "field",
12562
- "name": "Date",
12563
- "type": {
12564
- "text": "Object"
12565
- },
12566
- "default": "date"
12567
- },
12568
- {
12569
- "kind": "field",
12570
- "name": "date",
12571
- "type": {
12572
- "text": "Date"
12159
+ "inheritedFrom": {
12160
+ "name": "DataGridRow",
12161
+ "module": "src/data-grid/data-grid-row.ts"
12573
12162
  }
12574
12163
  },
12575
12164
  {
12576
- "kind": "field",
12577
- "name": "day",
12578
- "type": {
12579
- "text": "string"
12165
+ "kind": "method",
12166
+ "name": "updateItemTemplate",
12167
+ "privacy": "private",
12168
+ "return": {
12169
+ "type": {
12170
+ "text": "void"
12171
+ }
12172
+ },
12173
+ "inheritedFrom": {
12174
+ "name": "DataGridRow",
12175
+ "module": "src/data-grid/data-grid-row.ts"
12580
12176
  }
12581
12177
  },
12582
12178
  {
12583
12179
  "kind": "field",
12584
- "name": "dayNumber",
12585
- "type": {
12586
- "text": "number"
12180
+ "name": "updateRowStyle",
12181
+ "privacy": "private",
12182
+ "inheritedFrom": {
12183
+ "name": "DataGridRow",
12184
+ "module": "src/data-grid/data-grid-row.ts"
12587
12185
  }
12588
12186
  },
12589
12187
  {
12590
12188
  "kind": "field",
12591
- "name": "dayShort",
12189
+ "name": "_presentation",
12592
12190
  "type": {
12593
- "text": "string"
12191
+ "text": "ComponentPresentation | null | undefined"
12192
+ },
12193
+ "privacy": "private",
12194
+ "default": "void 0",
12195
+ "inheritedFrom": {
12196
+ "name": "FoundationElement",
12197
+ "module": "src/foundation-element/foundation-element.ts"
12594
12198
  }
12595
12199
  },
12596
12200
  {
12597
12201
  "kind": "field",
12598
- "name": "year",
12202
+ "name": "$presentation",
12599
12203
  "type": {
12600
- "text": "number"
12204
+ "text": "ComponentPresentation | null"
12205
+ },
12206
+ "privacy": "public",
12207
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12208
+ "inheritedFrom": {
12209
+ "name": "FoundationElement",
12210
+ "module": "src/foundation-element/foundation-element.ts"
12601
12211
  }
12602
12212
  },
12603
12213
  {
12604
12214
  "kind": "field",
12605
- "name": "yearShort",
12215
+ "name": "template",
12606
12216
  "type": {
12607
- "text": "number"
12217
+ "text": "ElementViewTemplate | void | null"
12218
+ },
12219
+ "privacy": "public",
12220
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
12221
+ "inheritedFrom": {
12222
+ "name": "FoundationElement",
12223
+ "module": "src/foundation-element/foundation-element.ts"
12608
12224
  }
12609
12225
  },
12610
12226
  {
12611
- "kind": "field",
12612
- "name": "month",
12613
- "type": {
12614
- "text": "string"
12227
+ "kind": "method",
12228
+ "name": "templateChanged",
12229
+ "privacy": "protected",
12230
+ "return": {
12231
+ "type": {
12232
+ "text": "void"
12233
+ }
12234
+ },
12235
+ "inheritedFrom": {
12236
+ "name": "FoundationElement",
12237
+ "module": "src/foundation-element/foundation-element.ts"
12615
12238
  }
12616
12239
  },
12617
12240
  {
12618
12241
  "kind": "field",
12619
- "name": "monthShort",
12242
+ "name": "styles",
12620
12243
  "type": {
12621
- "text": "string"
12244
+ "text": "ElementStyles | void | null"
12245
+ },
12246
+ "privacy": "public",
12247
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
12248
+ "inheritedFrom": {
12249
+ "name": "FoundationElement",
12250
+ "module": "src/foundation-element/foundation-element.ts"
12622
12251
  }
12623
12252
  },
12624
12253
  {
12625
- "kind": "field",
12626
- "name": "monthNumber",
12627
- "type": {
12628
- "text": "number"
12254
+ "kind": "method",
12255
+ "name": "stylesChanged",
12256
+ "privacy": "protected",
12257
+ "return": {
12258
+ "type": {
12259
+ "text": "void"
12260
+ }
12261
+ },
12262
+ "inheritedFrom": {
12263
+ "name": "FoundationElement",
12264
+ "module": "src/foundation-element/foundation-element.ts"
12629
12265
  }
12630
12266
  },
12631
12267
  {
12632
- "kind": "field",
12633
- "name": "timestamp",
12634
- "type": {
12635
- "text": "number"
12268
+ "kind": "method",
12269
+ "name": "compose",
12270
+ "privacy": "public",
12271
+ "static": true,
12272
+ "return": {
12273
+ "type": {
12274
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
12275
+ }
12276
+ },
12277
+ "parameters": [
12278
+ {
12279
+ "name": "this",
12280
+ "type": {
12281
+ "text": "K"
12282
+ }
12283
+ },
12284
+ {
12285
+ "name": "elementDefinition",
12286
+ "type": {
12287
+ "text": "T"
12288
+ },
12289
+ "description": "The definition of the element to create the registry\nfunction for."
12290
+ }
12291
+ ],
12292
+ "description": "Defines an element registry function with a set of element definition defaults.",
12293
+ "inheritedFrom": {
12294
+ "name": "FoundationElement",
12295
+ "module": "src/foundation-element/foundation-element.ts"
12636
12296
  }
12637
- },
12297
+ }
12298
+ ],
12299
+ "events": [
12638
12300
  {
12639
- "kind": "field",
12640
- "name": "week",
12641
- "type": {
12642
- "text": "number"
12301
+ "description": "Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row",
12302
+ "name": "row-focused",
12303
+ "inheritedFrom": {
12304
+ "name": "DataGridRow",
12305
+ "module": "src/data-grid/data-grid-row.ts"
12643
12306
  }
12644
- },
12645
- {
12646
- "kind": "field"
12647
12307
  }
12648
12308
  ]
12309
+ },
12310
+ {
12311
+ "kind": "variable",
12312
+ "name": "foundationDataGridRowShadowOptions",
12313
+ "type": {
12314
+ "text": "ShadowRootInit"
12315
+ },
12316
+ "default": "undefined"
12317
+ },
12318
+ {
12319
+ "kind": "variable",
12320
+ "name": "defaultDataGridRowConfig",
12321
+ "type": {
12322
+ "text": "object"
12323
+ },
12324
+ "default": "{}"
12325
+ },
12326
+ {
12327
+ "kind": "variable",
12328
+ "name": "foundationDataGridRow",
12329
+ "description": "The Foundation Data Grid Row Element.",
12330
+ "privacy": "public"
12649
12331
  }
12650
12332
  ],
12651
12333
  "exports": [
12652
12334
  {
12653
12335
  "kind": "js",
12654
- "name": "default",
12336
+ "name": "foundationDataGridRowTemplate",
12655
12337
  "declaration": {
12656
- "name": "Day",
12657
- "module": "src/date-picker/day.ts"
12338
+ "name": "dataGridRowTemplate",
12339
+ "package": "@microsoft/fast-foundation"
12340
+ }
12341
+ },
12342
+ {
12343
+ "kind": "js",
12344
+ "name": "DataGridRow",
12345
+ "declaration": {
12346
+ "name": "DataGridRow",
12347
+ "module": "src/data-grid-row/data-grid.row.ts"
12348
+ }
12349
+ },
12350
+ {
12351
+ "kind": "js",
12352
+ "name": "foundationDataGridRowShadowOptions",
12353
+ "declaration": {
12354
+ "name": "foundationDataGridRowShadowOptions",
12355
+ "module": "src/data-grid-row/data-grid.row.ts"
12356
+ }
12357
+ },
12358
+ {
12359
+ "kind": "js",
12360
+ "name": "defaultDataGridRowConfig",
12361
+ "declaration": {
12362
+ "name": "defaultDataGridRowConfig",
12363
+ "module": "src/data-grid-row/data-grid.row.ts"
12364
+ }
12365
+ },
12366
+ {
12367
+ "kind": "js",
12368
+ "name": "foundationDataGridRow",
12369
+ "declaration": {
12370
+ "name": "foundationDataGridRow",
12371
+ "module": "src/data-grid-row/data-grid.row.ts"
12658
12372
  }
12659
12373
  }
12660
12374
  ]
12661
12375
  },
12662
12376
  {
12663
12377
  "kind": "javascript-module",
12664
- "path": "src/date-picker/index.ts",
12378
+ "path": "src/data-grid-row/index.ts",
12665
12379
  "declarations": [],
12666
12380
  "exports": [
12667
12381
  {
@@ -12669,15 +12383,7 @@
12669
12383
  "name": "*",
12670
12384
  "declaration": {
12671
12385
  "name": "*",
12672
- "package": "./date-picker.styles"
12673
- }
12674
- },
12675
- {
12676
- "kind": "js",
12677
- "name": "*",
12678
- "declaration": {
12679
- "name": "*",
12680
- "package": "./date-picker.template"
12386
+ "package": "./data-grid.row"
12681
12387
  }
12682
12388
  },
12683
12389
  {
@@ -12685,65 +12391,210 @@
12685
12391
  "name": "*",
12686
12392
  "declaration": {
12687
12393
  "name": "*",
12688
- "package": "./date-picker"
12394
+ "package": "./data-grid-row.styles"
12689
12395
  }
12690
12396
  }
12691
12397
  ]
12692
12398
  },
12693
12399
  {
12694
12400
  "kind": "javascript-module",
12695
- "path": "src/date-picker/month.ts",
12401
+ "path": "src/date-picker/calendar.ts",
12696
12402
  "declarations": [
12697
12403
  {
12698
12404
  "kind": "class",
12699
12405
  "description": "",
12700
- "name": "Month",
12406
+ "name": "Calendar",
12701
12407
  "members": [
12702
12408
  {
12703
12409
  "kind": "field",
12704
- "name": "lang",
12410
+ "name": "today",
12411
+ "type": {
12412
+ "text": "any"
12413
+ },
12414
+ "default": "new Day(null, lang)"
12415
+ },
12416
+ {
12417
+ "kind": "field",
12418
+ "name": "year",
12419
+ "type": {
12420
+ "text": "number"
12421
+ }
12422
+ },
12423
+ {
12424
+ "kind": "field",
12425
+ "name": "month",
12426
+ "type": {
12427
+ "text": "any"
12428
+ },
12429
+ "default": "new Month(new Date(this.year, (monthNumber || this.today.monthNumber) - 1), lang)"
12430
+ },
12431
+ {
12432
+ "kind": "field",
12433
+ "name": "lang",
12434
+ "type": {
12435
+ "text": "string"
12436
+ },
12437
+ "default": "lang"
12438
+ },
12439
+ {
12440
+ "kind": "field",
12441
+ "name": "weekDays"
12442
+ },
12443
+ {
12444
+ "kind": "method",
12445
+ "name": "getMonth",
12446
+ "parameters": [
12447
+ {
12448
+ "name": "monthNumber"
12449
+ }
12450
+ ]
12451
+ },
12452
+ {
12453
+ "kind": "method",
12454
+ "name": "getPreviousMonth"
12455
+ },
12456
+ {
12457
+ "kind": "method",
12458
+ "name": "getNextMonth"
12459
+ },
12460
+ {
12461
+ "kind": "method",
12462
+ "name": "goToDate",
12463
+ "parameters": [
12464
+ {
12465
+ "name": "monthNumber"
12466
+ },
12467
+ {
12468
+ "name": "year"
12469
+ }
12470
+ ]
12471
+ },
12472
+ {
12473
+ "kind": "method",
12474
+ "name": "goToNextYear"
12475
+ },
12476
+ {
12477
+ "kind": "method",
12478
+ "name": "goToPreviousYear"
12479
+ },
12480
+ {
12481
+ "kind": "method",
12482
+ "name": "goToNextMonth"
12483
+ },
12484
+ {
12485
+ "kind": "method",
12486
+ "name": "goToPreviousMonth"
12487
+ },
12488
+ {
12489
+ "kind": "field",
12490
+ "name": "_presentation",
12705
12491
  "type": {
12706
- "text": "string"
12492
+ "text": "ComponentPresentation | null | undefined"
12707
12493
  },
12708
- "default": "lang"
12494
+ "privacy": "private",
12495
+ "default": "void 0",
12496
+ "inheritedFrom": {
12497
+ "name": "FoundationElement",
12498
+ "module": "src/foundation-element/foundation-element.ts"
12499
+ }
12709
12500
  },
12710
12501
  {
12711
12502
  "kind": "field",
12712
- "name": "name",
12503
+ "name": "$presentation",
12713
12504
  "type": {
12714
- "text": "string"
12505
+ "text": "ComponentPresentation | null"
12506
+ },
12507
+ "privacy": "public",
12508
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12509
+ "inheritedFrom": {
12510
+ "name": "FoundationElement",
12511
+ "module": "src/foundation-element/foundation-element.ts"
12715
12512
  }
12716
12513
  },
12717
12514
  {
12718
12515
  "kind": "field",
12719
- "name": "number",
12516
+ "name": "template",
12720
12517
  "type": {
12721
- "text": "number"
12518
+ "text": "ElementViewTemplate | void | null"
12519
+ },
12520
+ "privacy": "public",
12521
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
12522
+ "inheritedFrom": {
12523
+ "name": "FoundationElement",
12524
+ "module": "src/foundation-element/foundation-element.ts"
12722
12525
  }
12723
12526
  },
12724
12527
  {
12725
- "kind": "field",
12726
- "name": "year",
12727
- "type": {
12728
- "text": "number"
12528
+ "kind": "method",
12529
+ "name": "templateChanged",
12530
+ "privacy": "protected",
12531
+ "return": {
12532
+ "type": {
12533
+ "text": "void"
12534
+ }
12535
+ },
12536
+ "inheritedFrom": {
12537
+ "name": "FoundationElement",
12538
+ "module": "src/foundation-element/foundation-element.ts"
12729
12539
  }
12730
12540
  },
12731
12541
  {
12732
12542
  "kind": "field",
12733
- "name": "numberOfDays",
12543
+ "name": "styles",
12734
12544
  "type": {
12735
- "text": "number"
12545
+ "text": "ElementStyles | void | null"
12736
12546
  },
12737
- "default": "monthSize[this.number - 1]"
12547
+ "privacy": "public",
12548
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
12549
+ "inheritedFrom": {
12550
+ "name": "FoundationElement",
12551
+ "module": "src/foundation-element/foundation-element.ts"
12552
+ }
12738
12553
  },
12739
12554
  {
12740
12555
  "kind": "method",
12741
- "name": "getDay",
12556
+ "name": "stylesChanged",
12557
+ "privacy": "protected",
12558
+ "return": {
12559
+ "type": {
12560
+ "text": "void"
12561
+ }
12562
+ },
12563
+ "inheritedFrom": {
12564
+ "name": "FoundationElement",
12565
+ "module": "src/foundation-element/foundation-element.ts"
12566
+ }
12567
+ },
12568
+ {
12569
+ "kind": "method",
12570
+ "name": "compose",
12571
+ "privacy": "public",
12572
+ "static": true,
12573
+ "return": {
12574
+ "type": {
12575
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
12576
+ }
12577
+ },
12742
12578
  "parameters": [
12743
12579
  {
12744
- "name": "date"
12580
+ "name": "this",
12581
+ "type": {
12582
+ "text": "K"
12583
+ }
12584
+ },
12585
+ {
12586
+ "name": "elementDefinition",
12587
+ "type": {
12588
+ "text": "T"
12589
+ },
12590
+ "description": "The definition of the element to create the registry\nfunction for."
12745
12591
  }
12746
- ]
12592
+ ],
12593
+ "description": "Defines an element registry function with a set of element definition defaults.",
12594
+ "inheritedFrom": {
12595
+ "name": "FoundationElement",
12596
+ "module": "src/foundation-element/foundation-element.ts"
12597
+ }
12747
12598
  }
12748
12599
  ]
12749
12600
  }
@@ -12753,591 +12604,740 @@
12753
12604
  "kind": "js",
12754
12605
  "name": "default",
12755
12606
  "declaration": {
12756
- "name": "Month",
12757
- "module": "src/date-picker/month.ts"
12607
+ "name": "Calendar",
12608
+ "module": "src/date-picker/calendar.ts"
12758
12609
  }
12759
12610
  }
12760
12611
  ]
12761
12612
  },
12762
12613
  {
12763
12614
  "kind": "javascript-module",
12764
- "path": "src/data-grid-row/data-grid-row.styles.ts",
12615
+ "path": "src/date-picker/date-picker.styles.ts",
12765
12616
  "declarations": [
12766
12617
  {
12767
- "kind": "function",
12768
- "name": "foundationDataGridRowStyles",
12769
- "return": {
12770
- "type": {
12771
- "text": "ElementStyles"
12772
- }
12618
+ "kind": "variable",
12619
+ "name": "foundationDatePickerStyles",
12620
+ "type": {
12621
+ "text": "ElementStyles"
12773
12622
  },
12623
+ "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .date-toggle::part(label) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-foreground-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--foreground-on-accent-rest);\n }\n\n .header .months-arrows {\n display: flex;\n flex-direction: row;\n }\n\n .header .icon-container {\n display: flex;\n width: 25px;\n height: 25px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n }\n\n .header .icon-container:first-child {\n margin-right: calc(var(--design-unit) * 2px);\n }\n\n .header .prev-month,\n .header .next-month {\n color: var(--foreground-on-accent-rest);\n font-size: 18px;\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--foreground-on-accent-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--foreground-on-accent-rest);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover {\n background: var(--neutral-stroke-hover);\n color: (--neutral-foreground-rest);\n }\n\n .date-toggle[readonly] .label {\n cursor: pointer;\n }\n`"
12624
+ }
12625
+ ],
12626
+ "exports": [
12627
+ {
12628
+ "kind": "js",
12629
+ "name": "foundationDatePickerStyles",
12630
+ "declaration": {
12631
+ "name": "foundationDatePickerStyles",
12632
+ "module": "src/date-picker/date-picker.styles.ts"
12633
+ }
12634
+ }
12635
+ ]
12636
+ },
12637
+ {
12638
+ "kind": "javascript-module",
12639
+ "path": "src/date-picker/date-picker.template.ts",
12640
+ "declarations": [
12641
+ {
12642
+ "kind": "function",
12643
+ "name": "getPrefixedDatePicker",
12774
12644
  "parameters": [
12775
12645
  {
12776
- "name": "context",
12777
- "type": {
12778
- "text": "ElementDefinitionContext"
12779
- }
12780
- },
12781
- {
12782
- "name": "defintion",
12646
+ "name": "prefix",
12783
12647
  "type": {
12784
- "text": "FoundationElementDefinition"
12648
+ "text": "string"
12785
12649
  }
12786
12650
  }
12787
12651
  ]
12652
+ },
12653
+ {
12654
+ "kind": "variable",
12655
+ "name": "foundationDatePickerTemplate",
12656
+ "default": "html<DatePicker>`\n ${(x) => getPrefixedDatePicker(getPrefix(x))}\n`"
12788
12657
  }
12789
12658
  ],
12790
12659
  "exports": [
12791
12660
  {
12792
12661
  "kind": "js",
12793
- "name": "foundationDataGridRowStyles",
12662
+ "name": "getPrefixedDatePicker",
12794
12663
  "declaration": {
12795
- "name": "foundationDataGridRowStyles",
12796
- "module": "src/data-grid-row/data-grid-row.styles.ts"
12664
+ "name": "getPrefixedDatePicker",
12665
+ "module": "src/date-picker/date-picker.template.ts"
12666
+ }
12667
+ },
12668
+ {
12669
+ "kind": "js",
12670
+ "name": "foundationDatePickerTemplate",
12671
+ "declaration": {
12672
+ "name": "foundationDatePickerTemplate",
12673
+ "module": "src/date-picker/date-picker.template.ts"
12797
12674
  }
12798
12675
  }
12799
12676
  ]
12800
12677
  },
12801
12678
  {
12802
12679
  "kind": "javascript-module",
12803
- "path": "src/data-grid-row/data-grid.row.ts",
12680
+ "path": "src/date-picker/date-picker.ts",
12804
12681
  "declarations": [
12682
+ {
12683
+ "kind": "variable",
12684
+ "name": "foundationDatePickerShadowOptions",
12685
+ "type": {
12686
+ "text": "ShadowRootInit"
12687
+ },
12688
+ "default": "undefined"
12689
+ },
12690
+ {
12691
+ "kind": "variable",
12692
+ "name": "defaultDatePickerConfig",
12693
+ "type": {
12694
+ "text": "object"
12695
+ },
12696
+ "default": "{}"
12697
+ },
12805
12698
  {
12806
12699
  "kind": "class",
12807
12700
  "description": "",
12808
- "name": "DataGridRow",
12809
- "superclass": {
12810
- "name": "FASTDataGridRow",
12811
- "package": "@microsoft/fast-components"
12812
- },
12813
- "tagName": "%%prefix%%-data-grid-row",
12814
- "customElement": true,
12815
- "attributes": [
12701
+ "name": "DatePicker",
12702
+ "members": [
12703
+ {
12704
+ "kind": "field",
12705
+ "name": "format",
12706
+ "type": {
12707
+ "text": "string"
12708
+ },
12709
+ "default": "'MM-DD-YYYY'"
12710
+ },
12711
+ {
12712
+ "kind": "method",
12713
+ "name": "formatChanged",
12714
+ "parameters": [
12715
+ {
12716
+ "name": "oldValue",
12717
+ "type": {
12718
+ "text": "string"
12719
+ }
12720
+ },
12721
+ {
12722
+ "name": "newValue",
12723
+ "type": {
12724
+ "text": "string"
12725
+ }
12726
+ }
12727
+ ]
12728
+ },
12816
12729
  {
12817
- "name": "grid-template-columns",
12730
+ "kind": "field",
12731
+ "name": "lang",
12818
12732
  "type": {
12819
12733
  "text": "string"
12820
12734
  },
12821
- "description": "String that gets applied to the the css gridTemplateColumns attribute for the row",
12822
- "fieldName": "gridTemplateColumns",
12823
- "inheritedFrom": {
12824
- "name": "DataGridRow",
12825
- "module": "src/data-grid/data-grid-row.ts"
12826
- }
12735
+ "default": "'en-US'"
12827
12736
  },
12828
12737
  {
12829
- "name": "row-type",
12738
+ "kind": "field",
12739
+ "name": "visible",
12830
12740
  "type": {
12831
- "text": "DataGridRowTypes"
12741
+ "text": "boolean"
12832
12742
  },
12833
- "description": "The type of row",
12834
- "fieldName": "rowType",
12835
- "inheritedFrom": {
12836
- "name": "DataGridRow",
12837
- "module": "src/data-grid/data-grid-row.ts"
12838
- }
12839
- }
12840
- ],
12841
- "members": [
12743
+ "default": "false"
12744
+ },
12842
12745
  {
12843
12746
  "kind": "field",
12844
- "name": "gridTemplateColumns",
12747
+ "name": "position",
12845
12748
  "type": {
12846
12749
  "text": "string"
12847
12750
  },
12848
- "privacy": "public",
12849
- "description": "String that gets applied to the the css gridTemplateColumns attribute for the row",
12850
- "inheritedFrom": {
12851
- "name": "DataGridRow",
12852
- "module": "src/data-grid/data-grid-row.ts"
12751
+ "default": "'bottom'"
12752
+ },
12753
+ {
12754
+ "kind": "field",
12755
+ "name": "label",
12756
+ "type": {
12757
+ "text": "string"
12758
+ }
12759
+ },
12760
+ {
12761
+ "kind": "field",
12762
+ "name": "value",
12763
+ "type": {
12764
+ "text": "string"
12853
12765
  }
12854
12766
  },
12855
12767
  {
12856
12768
  "kind": "method",
12857
- "name": "gridTemplateColumnsChanged",
12858
- "privacy": "private",
12859
- "return": {
12860
- "type": {
12861
- "text": "void"
12769
+ "name": "valueChanged",
12770
+ "parameters": [
12771
+ {
12772
+ "name": "oldValue",
12773
+ "type": {
12774
+ "text": "string"
12775
+ }
12776
+ },
12777
+ {
12778
+ "name": "newValue",
12779
+ "type": {
12780
+ "text": "string"
12781
+ }
12862
12782
  }
12783
+ ]
12784
+ },
12785
+ {
12786
+ "kind": "field",
12787
+ "name": "currentDate",
12788
+ "type": {
12789
+ "text": "any"
12863
12790
  },
12864
- "inheritedFrom": {
12865
- "name": "DataGridRow",
12866
- "module": "src/data-grid/data-grid-row.ts"
12791
+ "default": "new Day(dayjsDate.toDate(), this.lang)"
12792
+ },
12793
+ {
12794
+ "kind": "field",
12795
+ "name": "currentMonth",
12796
+ "type": {
12797
+ "text": "Calendar"
12867
12798
  }
12868
12799
  },
12869
12800
  {
12870
12801
  "kind": "field",
12871
- "name": "rowType",
12802
+ "name": "currentYear",
12872
12803
  "type": {
12873
- "text": "DataGridRowTypes"
12874
- },
12875
- "privacy": "public",
12876
- "description": "The type of row",
12877
- "inheritedFrom": {
12878
- "name": "DataGridRow",
12879
- "module": "src/data-grid/data-grid-row.ts"
12804
+ "text": "number"
12880
12805
  }
12881
12806
  },
12882
12807
  {
12883
- "kind": "method",
12884
- "name": "rowTypeChanged",
12885
- "privacy": "private",
12886
- "return": {
12887
- "type": {
12888
- "text": "void"
12889
- }
12890
- },
12891
- "inheritedFrom": {
12892
- "name": "DataGridRow",
12893
- "module": "src/data-grid/data-grid-row.ts"
12808
+ "kind": "field",
12809
+ "name": "calendarDropdownClasses",
12810
+ "type": {
12811
+ "text": "String"
12894
12812
  }
12895
12813
  },
12896
12814
  {
12897
12815
  "kind": "field",
12898
- "name": "rowData",
12816
+ "name": "formatDate",
12899
12817
  "type": {
12900
- "text": "object | null"
12901
- },
12902
- "privacy": "public",
12903
- "default": "null",
12904
- "description": "The base data for this row",
12905
- "inheritedFrom": {
12906
- "name": "DataGridRow",
12907
- "module": "src/data-grid/data-grid-row.ts"
12818
+ "text": "string"
12908
12819
  }
12909
12820
  },
12910
12821
  {
12911
- "kind": "method",
12912
- "name": "rowDataChanged",
12913
- "privacy": "private",
12914
- "return": {
12915
- "type": {
12916
- "text": "void"
12917
- }
12918
- },
12919
- "inheritedFrom": {
12920
- "name": "DataGridRow",
12921
- "module": "src/data-grid/data-grid-row.ts"
12822
+ "kind": "field",
12823
+ "name": "monthList",
12824
+ "type": {
12825
+ "text": "any"
12922
12826
  }
12923
12827
  },
12924
12828
  {
12925
12829
  "kind": "field",
12926
- "name": "columnDefinitions",
12830
+ "name": "calendar",
12927
12831
  "type": {
12928
- "text": "ColumnDefinition[] | null"
12832
+ "text": "Calendar"
12929
12833
  },
12930
- "privacy": "public",
12931
- "default": "null",
12932
- "description": "The column definitions of the row",
12933
- "inheritedFrom": {
12934
- "name": "DataGridRow",
12935
- "module": "src/data-grid/data-grid-row.ts"
12834
+ "default": "new Calendar(this.currentDate.year, this.currentDate.monthNumber, this.lang)"
12835
+ },
12836
+ {
12837
+ "kind": "field",
12838
+ "name": "toggleButton",
12839
+ "type": {
12840
+ "text": "HTMLElement"
12936
12841
  }
12937
12842
  },
12938
12843
  {
12939
12844
  "kind": "field",
12940
- "name": "cellItemTemplate",
12845
+ "name": "calendarDaysContainer",
12941
12846
  "type": {
12942
- "text": "ViewTemplate | undefined"
12943
- },
12944
- "privacy": "public",
12945
- "description": "The template used to render cells in generated rows.",
12946
- "inheritedFrom": {
12947
- "name": "DataGridRow",
12948
- "module": "src/data-grid/data-grid-row.ts"
12847
+ "text": "HTMLElement"
12949
12848
  }
12950
12849
  },
12951
12850
  {
12952
- "kind": "method",
12953
- "name": "cellItemTemplateChanged",
12954
- "privacy": "private",
12955
- "return": {
12956
- "type": {
12957
- "text": "void"
12958
- }
12959
- },
12960
- "inheritedFrom": {
12961
- "name": "DataGridRow",
12962
- "module": "src/data-grid/data-grid-row.ts"
12851
+ "kind": "field",
12852
+ "name": "selectedDayElement",
12853
+ "type": {
12854
+ "text": "HTMLElement"
12963
12855
  }
12964
12856
  },
12965
12857
  {
12966
12858
  "kind": "field",
12967
- "name": "headerCellItemTemplate",
12859
+ "name": "prevBtn",
12968
12860
  "type": {
12969
- "text": "ViewTemplate | undefined"
12970
- },
12971
- "privacy": "public",
12972
- "description": "The template used to render header cells in generated rows.",
12973
- "inheritedFrom": {
12974
- "name": "DataGridRow",
12975
- "module": "src/data-grid/data-grid-row.ts"
12861
+ "text": "HTMLElement"
12862
+ }
12863
+ },
12864
+ {
12865
+ "kind": "field",
12866
+ "name": "nextBtn",
12867
+ "type": {
12868
+ "text": "HTMLElement"
12976
12869
  }
12977
12870
  },
12871
+ {
12872
+ "kind": "field",
12873
+ "name": "substringNumber",
12874
+ "type": {
12875
+ "text": "number"
12876
+ },
12877
+ "default": "3"
12878
+ },
12978
12879
  {
12979
12880
  "kind": "method",
12980
- "name": "headerCellItemTemplateChanged",
12981
- "privacy": "private",
12982
- "return": {
12983
- "type": {
12984
- "text": "void"
12881
+ "name": "updateHeaderText"
12882
+ },
12883
+ {
12884
+ "kind": "method",
12885
+ "name": "toggleCalendar"
12886
+ },
12887
+ {
12888
+ "kind": "method",
12889
+ "name": "toggleVisibility"
12890
+ },
12891
+ {
12892
+ "kind": "method",
12893
+ "name": "isSelectedDate",
12894
+ "parameters": [
12895
+ {
12896
+ "name": "date"
12985
12897
  }
12986
- },
12987
- "inheritedFrom": {
12988
- "name": "DataGridRow",
12989
- "module": "src/data-grid/data-grid-row.ts"
12990
- }
12898
+ ]
12899
+ },
12900
+ {
12901
+ "kind": "method",
12902
+ "name": "isCurrentCalendarMonth"
12903
+ },
12904
+ {
12905
+ "kind": "method",
12906
+ "name": "prevMonth"
12907
+ },
12908
+ {
12909
+ "kind": "method",
12910
+ "name": "nextMonth"
12911
+ },
12912
+ {
12913
+ "kind": "method",
12914
+ "name": "selectDay",
12915
+ "parameters": [
12916
+ {
12917
+ "name": "day"
12918
+ }
12919
+ ]
12991
12920
  },
12992
12921
  {
12993
- "kind": "field",
12994
- "name": "rowIndex",
12995
- "type": {
12996
- "text": "number"
12997
- },
12998
- "privacy": "public",
12999
- "description": "The index of the row in the parent grid.\nThis is typically set programmatically by the parent grid.",
13000
- "inheritedFrom": {
13001
- "name": "DataGridRow",
13002
- "module": "src/data-grid/data-grid-row.ts"
13003
- }
12922
+ "kind": "method",
12923
+ "name": "getMonthDaysGrid"
13004
12924
  },
13005
12925
  {
13006
12926
  "kind": "field",
13007
- "name": "cellsRepeatBehavior",
12927
+ "name": "_presentation",
13008
12928
  "type": {
13009
- "text": "RepeatBehavior | null"
12929
+ "text": "ComponentPresentation | null | undefined"
13010
12930
  },
13011
12931
  "privacy": "private",
13012
- "default": "null",
12932
+ "default": "void 0",
13013
12933
  "inheritedFrom": {
13014
- "name": "DataGridRow",
13015
- "module": "src/data-grid/data-grid-row.ts"
12934
+ "name": "FoundationElement",
12935
+ "module": "src/foundation-element/foundation-element.ts"
13016
12936
  }
13017
12937
  },
13018
12938
  {
13019
12939
  "kind": "field",
13020
- "name": "cellsPlaceholder",
12940
+ "name": "$presentation",
13021
12941
  "type": {
13022
- "text": "Node | null"
12942
+ "text": "ComponentPresentation | null"
13023
12943
  },
13024
- "privacy": "private",
13025
- "default": "null",
12944
+ "privacy": "public",
12945
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
13026
12946
  "inheritedFrom": {
13027
- "name": "DataGridRow",
13028
- "module": "src/data-grid/data-grid-row.ts"
12947
+ "name": "FoundationElement",
12948
+ "module": "src/foundation-element/foundation-element.ts"
13029
12949
  }
13030
12950
  },
13031
12951
  {
13032
12952
  "kind": "field",
13033
- "name": "refocusOnLoad",
12953
+ "name": "template",
13034
12954
  "type": {
13035
- "text": "boolean"
12955
+ "text": "ElementViewTemplate | void | null"
13036
12956
  },
13037
- "privacy": "private",
13038
- "default": "false",
12957
+ "privacy": "public",
12958
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
13039
12959
  "inheritedFrom": {
13040
- "name": "DataGridRow",
13041
- "module": "src/data-grid/data-grid-row.ts"
12960
+ "name": "FoundationElement",
12961
+ "module": "src/foundation-element/foundation-element.ts"
13042
12962
  }
13043
12963
  },
13044
12964
  {
13045
12965
  "kind": "method",
13046
- "name": "handleFocusout",
13047
- "privacy": "public",
12966
+ "name": "templateChanged",
12967
+ "privacy": "protected",
13048
12968
  "return": {
13049
12969
  "type": {
13050
12970
  "text": "void"
13051
12971
  }
13052
12972
  },
13053
- "parameters": [
13054
- {
13055
- "name": "e",
13056
- "type": {
13057
- "text": "FocusEvent"
13058
- }
13059
- }
13060
- ],
13061
12973
  "inheritedFrom": {
13062
- "name": "DataGridRow",
13063
- "module": "src/data-grid/data-grid-row.ts"
12974
+ "name": "FoundationElement",
12975
+ "module": "src/foundation-element/foundation-element.ts"
13064
12976
  }
13065
12977
  },
13066
12978
  {
13067
- "kind": "method",
13068
- "name": "handleCellFocus",
12979
+ "kind": "field",
12980
+ "name": "styles",
12981
+ "type": {
12982
+ "text": "ElementStyles | void | null"
12983
+ },
13069
12984
  "privacy": "public",
12985
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
12986
+ "inheritedFrom": {
12987
+ "name": "FoundationElement",
12988
+ "module": "src/foundation-element/foundation-element.ts"
12989
+ }
12990
+ },
12991
+ {
12992
+ "kind": "method",
12993
+ "name": "stylesChanged",
12994
+ "privacy": "protected",
13070
12995
  "return": {
13071
12996
  "type": {
13072
12997
  "text": "void"
13073
12998
  }
13074
12999
  },
13075
- "parameters": [
13076
- {
13077
- "name": "e",
13078
- "type": {
13079
- "text": "Event"
13080
- }
13081
- }
13082
- ],
13083
13000
  "inheritedFrom": {
13084
- "name": "DataGridRow",
13085
- "module": "src/data-grid/data-grid-row.ts"
13001
+ "name": "FoundationElement",
13002
+ "module": "src/foundation-element/foundation-element.ts"
13086
13003
  }
13087
13004
  },
13088
13005
  {
13089
13006
  "kind": "method",
13090
- "name": "handleKeydown",
13007
+ "name": "compose",
13091
13008
  "privacy": "public",
13009
+ "static": true,
13092
13010
  "return": {
13093
13011
  "type": {
13094
- "text": "void"
13012
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
13095
13013
  }
13096
13014
  },
13097
13015
  "parameters": [
13098
13016
  {
13099
- "name": "e",
13017
+ "name": "this",
13100
13018
  "type": {
13101
- "text": "KeyboardEvent"
13019
+ "text": "K"
13102
13020
  }
13021
+ },
13022
+ {
13023
+ "name": "elementDefinition",
13024
+ "type": {
13025
+ "text": "T"
13026
+ },
13027
+ "description": "The definition of the element to create the registry\nfunction for."
13103
13028
  }
13104
13029
  ],
13030
+ "description": "Defines an element registry function with a set of element definition defaults.",
13105
13031
  "inheritedFrom": {
13106
- "name": "DataGridRow",
13107
- "module": "src/data-grid/data-grid-row.ts"
13032
+ "name": "FoundationElement",
13033
+ "module": "src/foundation-element/foundation-element.ts"
13108
13034
  }
13035
+ }
13036
+ ],
13037
+ "attributes": [
13038
+ {
13039
+ "name": "format",
13040
+ "type": {
13041
+ "text": "string"
13042
+ },
13043
+ "default": "'MM-DD-YYYY'",
13044
+ "fieldName": "format"
13109
13045
  },
13110
13046
  {
13111
- "kind": "method",
13112
- "name": "updateItemTemplate",
13113
- "privacy": "private",
13114
- "return": {
13115
- "type": {
13116
- "text": "void"
13117
- }
13047
+ "name": "lang",
13048
+ "type": {
13049
+ "text": "string"
13118
13050
  },
13119
- "inheritedFrom": {
13120
- "name": "DataGridRow",
13121
- "module": "src/data-grid/data-grid-row.ts"
13051
+ "default": "'en-US'",
13052
+ "fieldName": "lang"
13053
+ },
13054
+ {
13055
+ "name": "visible",
13056
+ "type": {
13057
+ "text": "boolean"
13058
+ },
13059
+ "default": "false",
13060
+ "fieldName": "visible"
13061
+ },
13062
+ {
13063
+ "name": "position",
13064
+ "type": {
13065
+ "text": "string"
13066
+ },
13067
+ "default": "'bottom'",
13068
+ "fieldName": "position"
13069
+ },
13070
+ {
13071
+ "name": "label",
13072
+ "type": {
13073
+ "text": "string"
13074
+ },
13075
+ "fieldName": "label"
13076
+ },
13077
+ {
13078
+ "name": "value",
13079
+ "type": {
13080
+ "text": "string"
13081
+ },
13082
+ "fieldName": "value"
13083
+ }
13084
+ ],
13085
+ "superclass": {
13086
+ "name": "FoundationElement",
13087
+ "package": "@microsoft/fast-foundation"
13088
+ },
13089
+ "tagName": "%%prefix%%-date-picker",
13090
+ "customElement": true
13091
+ },
13092
+ {
13093
+ "kind": "variable",
13094
+ "name": "foundationDatePicker",
13095
+ "description": "The Foundation DatePicker",
13096
+ "privacy": "public"
13097
+ }
13098
+ ],
13099
+ "exports": [
13100
+ {
13101
+ "kind": "js",
13102
+ "name": "foundationDatePickerShadowOptions",
13103
+ "declaration": {
13104
+ "name": "foundationDatePickerShadowOptions",
13105
+ "module": "src/date-picker/date-picker.ts"
13106
+ }
13107
+ },
13108
+ {
13109
+ "kind": "js",
13110
+ "name": "defaultDatePickerConfig",
13111
+ "declaration": {
13112
+ "name": "defaultDatePickerConfig",
13113
+ "module": "src/date-picker/date-picker.ts"
13114
+ }
13115
+ },
13116
+ {
13117
+ "kind": "js",
13118
+ "name": "DatePicker",
13119
+ "declaration": {
13120
+ "name": "DatePicker",
13121
+ "module": "src/date-picker/date-picker.ts"
13122
+ }
13123
+ },
13124
+ {
13125
+ "kind": "js",
13126
+ "name": "foundationDatePicker",
13127
+ "declaration": {
13128
+ "name": "foundationDatePicker",
13129
+ "module": "src/date-picker/date-picker.ts"
13130
+ }
13131
+ }
13132
+ ]
13133
+ },
13134
+ {
13135
+ "kind": "javascript-module",
13136
+ "path": "src/date-picker/day.ts",
13137
+ "declarations": [
13138
+ {
13139
+ "kind": "class",
13140
+ "description": "",
13141
+ "name": "Day",
13142
+ "members": [
13143
+ {
13144
+ "kind": "field",
13145
+ "name": "Date",
13146
+ "type": {
13147
+ "text": "Object"
13148
+ },
13149
+ "default": "date"
13150
+ },
13151
+ {
13152
+ "kind": "field",
13153
+ "name": "date",
13154
+ "type": {
13155
+ "text": "Date"
13156
+ }
13157
+ },
13158
+ {
13159
+ "kind": "field",
13160
+ "name": "day",
13161
+ "type": {
13162
+ "text": "string"
13163
+ }
13164
+ },
13165
+ {
13166
+ "kind": "field",
13167
+ "name": "dayNumber",
13168
+ "type": {
13169
+ "text": "number"
13122
13170
  }
13123
13171
  },
13124
13172
  {
13125
13173
  "kind": "field",
13126
- "name": "updateRowStyle",
13127
- "privacy": "private",
13128
- "inheritedFrom": {
13129
- "name": "DataGridRow",
13130
- "module": "src/data-grid/data-grid-row.ts"
13174
+ "name": "dayShort",
13175
+ "type": {
13176
+ "text": "string"
13131
13177
  }
13132
13178
  },
13133
13179
  {
13134
13180
  "kind": "field",
13135
- "name": "_presentation",
13181
+ "name": "year",
13136
13182
  "type": {
13137
- "text": "ComponentPresentation | null | undefined"
13138
- },
13139
- "privacy": "private",
13140
- "default": "void 0",
13141
- "inheritedFrom": {
13142
- "name": "FoundationElement",
13143
- "module": "src/foundation-element/foundation-element.ts"
13183
+ "text": "number"
13144
13184
  }
13145
13185
  },
13146
13186
  {
13147
13187
  "kind": "field",
13148
- "name": "$presentation",
13188
+ "name": "yearShort",
13149
13189
  "type": {
13150
- "text": "ComponentPresentation | null"
13151
- },
13152
- "privacy": "public",
13153
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
13154
- "inheritedFrom": {
13155
- "name": "FoundationElement",
13156
- "module": "src/foundation-element/foundation-element.ts"
13190
+ "text": "number"
13157
13191
  }
13158
13192
  },
13159
13193
  {
13160
13194
  "kind": "field",
13161
- "name": "template",
13195
+ "name": "month",
13162
13196
  "type": {
13163
- "text": "ElementViewTemplate | void | null"
13164
- },
13165
- "privacy": "public",
13166
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
13167
- "inheritedFrom": {
13168
- "name": "FoundationElement",
13169
- "module": "src/foundation-element/foundation-element.ts"
13197
+ "text": "string"
13170
13198
  }
13171
13199
  },
13172
13200
  {
13173
- "kind": "method",
13174
- "name": "templateChanged",
13175
- "privacy": "protected",
13176
- "return": {
13177
- "type": {
13178
- "text": "void"
13179
- }
13180
- },
13181
- "inheritedFrom": {
13182
- "name": "FoundationElement",
13183
- "module": "src/foundation-element/foundation-element.ts"
13201
+ "kind": "field",
13202
+ "name": "monthShort",
13203
+ "type": {
13204
+ "text": "string"
13184
13205
  }
13185
13206
  },
13186
13207
  {
13187
13208
  "kind": "field",
13188
- "name": "styles",
13209
+ "name": "monthNumber",
13189
13210
  "type": {
13190
- "text": "ElementStyles | void | null"
13191
- },
13192
- "privacy": "public",
13193
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
13194
- "inheritedFrom": {
13195
- "name": "FoundationElement",
13196
- "module": "src/foundation-element/foundation-element.ts"
13211
+ "text": "number"
13197
13212
  }
13198
13213
  },
13199
13214
  {
13200
- "kind": "method",
13201
- "name": "stylesChanged",
13202
- "privacy": "protected",
13203
- "return": {
13204
- "type": {
13205
- "text": "void"
13206
- }
13207
- },
13208
- "inheritedFrom": {
13209
- "name": "FoundationElement",
13210
- "module": "src/foundation-element/foundation-element.ts"
13215
+ "kind": "field",
13216
+ "name": "timestamp",
13217
+ "type": {
13218
+ "text": "number"
13211
13219
  }
13212
13220
  },
13213
13221
  {
13214
- "kind": "method",
13215
- "name": "compose",
13216
- "privacy": "public",
13217
- "static": true,
13218
- "return": {
13219
- "type": {
13220
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
13221
- }
13222
- },
13223
- "parameters": [
13224
- {
13225
- "name": "this",
13226
- "type": {
13227
- "text": "K"
13228
- }
13229
- },
13230
- {
13231
- "name": "elementDefinition",
13232
- "type": {
13233
- "text": "T"
13234
- },
13235
- "description": "The definition of the element to create the registry\nfunction for."
13236
- }
13237
- ],
13238
- "description": "Defines an element registry function with a set of element definition defaults.",
13239
- "inheritedFrom": {
13240
- "name": "FoundationElement",
13241
- "module": "src/foundation-element/foundation-element.ts"
13222
+ "kind": "field",
13223
+ "name": "week",
13224
+ "type": {
13225
+ "text": "number"
13242
13226
  }
13243
- }
13244
- ],
13245
- "events": [
13227
+ },
13246
13228
  {
13247
- "description": "Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row",
13248
- "name": "row-focused",
13249
- "inheritedFrom": {
13250
- "name": "DataGridRow",
13251
- "module": "src/data-grid/data-grid-row.ts"
13252
- }
13229
+ "kind": "field"
13253
13230
  }
13254
13231
  ]
13255
- },
13256
- {
13257
- "kind": "variable",
13258
- "name": "foundationDataGridRowShadowOptions",
13259
- "type": {
13260
- "text": "ShadowRootInit"
13261
- },
13262
- "default": "undefined"
13263
- },
13264
- {
13265
- "kind": "variable",
13266
- "name": "defaultDataGridRowConfig",
13267
- "type": {
13268
- "text": "object"
13269
- },
13270
- "default": "{}"
13271
- },
13272
- {
13273
- "kind": "variable",
13274
- "name": "foundationDataGridRow",
13275
- "description": "The Foundation Data Grid Row Element.",
13276
- "privacy": "public"
13277
13232
  }
13278
13233
  ],
13279
13234
  "exports": [
13280
13235
  {
13281
13236
  "kind": "js",
13282
- "name": "foundationDataGridRowTemplate",
13283
- "declaration": {
13284
- "name": "dataGridRowTemplate",
13285
- "package": "@microsoft/fast-foundation"
13286
- }
13287
- },
13288
- {
13289
- "kind": "js",
13290
- "name": "DataGridRow",
13237
+ "name": "default",
13291
13238
  "declaration": {
13292
- "name": "DataGridRow",
13293
- "module": "src/data-grid-row/data-grid.row.ts"
13239
+ "name": "Day",
13240
+ "module": "src/date-picker/day.ts"
13294
13241
  }
13295
- },
13242
+ }
13243
+ ]
13244
+ },
13245
+ {
13246
+ "kind": "javascript-module",
13247
+ "path": "src/date-picker/index.ts",
13248
+ "declarations": [],
13249
+ "exports": [
13296
13250
  {
13297
13251
  "kind": "js",
13298
- "name": "foundationDataGridRowShadowOptions",
13252
+ "name": "*",
13299
13253
  "declaration": {
13300
- "name": "foundationDataGridRowShadowOptions",
13301
- "module": "src/data-grid-row/data-grid.row.ts"
13254
+ "name": "*",
13255
+ "package": "./date-picker.styles"
13302
13256
  }
13303
13257
  },
13304
13258
  {
13305
13259
  "kind": "js",
13306
- "name": "defaultDataGridRowConfig",
13260
+ "name": "*",
13307
13261
  "declaration": {
13308
- "name": "defaultDataGridRowConfig",
13309
- "module": "src/data-grid-row/data-grid.row.ts"
13262
+ "name": "*",
13263
+ "package": "./date-picker.template"
13310
13264
  }
13311
13265
  },
13312
13266
  {
13313
13267
  "kind": "js",
13314
- "name": "foundationDataGridRow",
13268
+ "name": "*",
13315
13269
  "declaration": {
13316
- "name": "foundationDataGridRow",
13317
- "module": "src/data-grid-row/data-grid.row.ts"
13270
+ "name": "*",
13271
+ "package": "./date-picker"
13318
13272
  }
13319
13273
  }
13320
13274
  ]
13321
13275
  },
13322
13276
  {
13323
13277
  "kind": "javascript-module",
13324
- "path": "src/data-grid-row/index.ts",
13325
- "declarations": [],
13326
- "exports": [
13278
+ "path": "src/date-picker/month.ts",
13279
+ "declarations": [
13327
13280
  {
13328
- "kind": "js",
13329
- "name": "*",
13330
- "declaration": {
13331
- "name": "*",
13332
- "package": "./data-grid.row"
13333
- }
13334
- },
13281
+ "kind": "class",
13282
+ "description": "",
13283
+ "name": "Month",
13284
+ "members": [
13285
+ {
13286
+ "kind": "field",
13287
+ "name": "lang",
13288
+ "type": {
13289
+ "text": "string"
13290
+ },
13291
+ "default": "lang"
13292
+ },
13293
+ {
13294
+ "kind": "field",
13295
+ "name": "name",
13296
+ "type": {
13297
+ "text": "string"
13298
+ }
13299
+ },
13300
+ {
13301
+ "kind": "field",
13302
+ "name": "number",
13303
+ "type": {
13304
+ "text": "number"
13305
+ }
13306
+ },
13307
+ {
13308
+ "kind": "field",
13309
+ "name": "year",
13310
+ "type": {
13311
+ "text": "number"
13312
+ }
13313
+ },
13314
+ {
13315
+ "kind": "field",
13316
+ "name": "numberOfDays",
13317
+ "type": {
13318
+ "text": "number"
13319
+ },
13320
+ "default": "monthSize[this.number - 1]"
13321
+ },
13322
+ {
13323
+ "kind": "method",
13324
+ "name": "getDay",
13325
+ "parameters": [
13326
+ {
13327
+ "name": "date"
13328
+ }
13329
+ ]
13330
+ }
13331
+ ]
13332
+ }
13333
+ ],
13334
+ "exports": [
13335
13335
  {
13336
13336
  "kind": "js",
13337
- "name": "*",
13337
+ "name": "default",
13338
13338
  "declaration": {
13339
- "name": "*",
13340
- "package": "./data-grid-row.styles"
13339
+ "name": "Month",
13340
+ "module": "src/date-picker/month.ts"
13341
13341
  }
13342
13342
  }
13343
13343
  ]