@genesislcap/foundation-ui 15.43.0-FUI-2646.1 → 15.43.0-FUI-2629.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.
Files changed (34) hide show
  1. package/dist/custom-elements.json +1454 -802
  2. package/dist/dts/actions-menu/actions-menu.d.ts +3 -0
  3. package/dist/dts/actions-menu/actions-menu.d.ts.map +1 -1
  4. package/dist/dts/base-components.d.ts +1 -0
  5. package/dist/dts/base-components.d.ts.map +1 -1
  6. package/dist/dts/index.d.ts +1 -0
  7. package/dist/dts/index.d.ts.map +1 -1
  8. package/dist/dts/react.d.ts +19 -9
  9. package/dist/dts/utils/index.d.ts +1 -0
  10. package/dist/dts/utils/index.d.ts.map +1 -1
  11. package/dist/dts/utils/popover-position.d.ts +26 -0
  12. package/dist/dts/utils/popover-position.d.ts.map +1 -0
  13. package/dist/dts/vertical-dropdown-menu/index.d.ts +4 -0
  14. package/dist/dts/vertical-dropdown-menu/index.d.ts.map +1 -0
  15. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.d.ts +67 -0
  16. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.d.ts.map +1 -0
  17. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.styles.d.ts +5 -0
  18. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.styles.d.ts.map +1 -0
  19. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.template.d.ts +5 -0
  20. package/dist/dts/vertical-dropdown-menu/vertical-dropdown-menu.template.d.ts.map +1 -0
  21. package/dist/esm/actions-menu/actions-menu.js +17 -2
  22. package/dist/esm/base-components.js +2 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/utils/index.js +1 -0
  25. package/dist/esm/utils/popover-position.js +70 -0
  26. package/dist/esm/vertical-dropdown-menu/index.js +3 -0
  27. package/dist/esm/vertical-dropdown-menu/vertical-dropdown-menu.js +155 -0
  28. package/dist/esm/vertical-dropdown-menu/vertical-dropdown-menu.styles.js +55 -0
  29. package/dist/esm/vertical-dropdown-menu/vertical-dropdown-menu.template.js +64 -0
  30. package/dist/foundation-ui.api.json +1281 -78
  31. package/dist/foundation-ui.d.ts +78 -0
  32. package/dist/react.cjs +13 -6
  33. package/dist/react.mjs +11 -5
  34. package/package.json +18 -18
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationVerificationCodeInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationVerificationCodeInput,\n foundationVerticalDropdownMenu,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -875,6 +875,14 @@
875
875
  "name": "*",
876
876
  "package": "./verification-code-input"
877
877
  }
878
+ },
879
+ {
880
+ "kind": "js",
881
+ "name": "*",
882
+ "declaration": {
883
+ "name": "*",
884
+ "package": "./vertical-dropdown-menu"
885
+ }
878
886
  }
879
887
  ]
880
888
  },
@@ -1920,11 +1928,34 @@
1920
1928
  },
1921
1929
  {
1922
1930
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
1931
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
1932
  "declarations": [
1925
1933
  {
1926
1934
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
1935
+ "name": "actionsMenuBaseStyles",
1936
+ "return": {
1937
+ "type": {
1938
+ "text": "ElementStyles"
1939
+ }
1940
+ },
1941
+ "parameters": [
1942
+ {
1943
+ "name": "context",
1944
+ "type": {
1945
+ "text": "ElementDefinitionContext"
1946
+ }
1947
+ },
1948
+ {
1949
+ "name": "definition",
1950
+ "type": {
1951
+ "text": "FoundationElementDefinition"
1952
+ }
1953
+ }
1954
+ ]
1955
+ },
1956
+ {
1957
+ "kind": "function",
1958
+ "name": "foundationActionsMenuStyles",
1928
1959
  "return": {
1929
1960
  "type": {
1930
1961
  "text": "ElementStyles"
@@ -1949,277 +1980,299 @@
1949
1980
  "exports": [
1950
1981
  {
1951
1982
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
1983
+ "name": "actionsMenuBaseStyles",
1953
1984
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
1985
+ "name": "actionsMenuBaseStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1987
+ }
1988
+ },
1989
+ {
1990
+ "kind": "js",
1991
+ "name": "foundationActionsMenuStyles",
1992
+ "declaration": {
1993
+ "name": "foundationActionsMenuStyles",
1994
+ "module": "src/actions-menu/actions-menu.styles.ts"
1956
1995
  }
1957
1996
  }
1958
1997
  ]
1959
1998
  },
1960
1999
  {
1961
2000
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
2001
+ "path": "src/actions-menu/actions-menu.template.ts",
1963
2002
  "declarations": [
1964
2003
  {
1965
2004
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
1967
- "return": {
1968
- "type": {
1969
- "text": "ViewTemplate<Accordion>"
1970
- }
1971
- },
2005
+ "name": "menuTemplate",
1972
2006
  "parameters": [
1973
2007
  {
1974
- "name": "context",
2008
+ "name": "prefix",
1975
2009
  "type": {
1976
- "text": "ElementDefinitionContext"
2010
+ "text": "string"
1977
2011
  }
1978
- },
2012
+ }
2013
+ ]
2014
+ },
2015
+ {
2016
+ "kind": "function",
2017
+ "name": "singleOptionTemplate",
2018
+ "parameters": [
1979
2019
  {
1980
- "name": "definition",
2020
+ "name": "prefix",
1981
2021
  "type": {
1982
- "text": "FoundationElementDefinition"
2022
+ "text": "string"
1983
2023
  }
1984
2024
  }
1985
2025
  ]
2026
+ },
2027
+ {
2028
+ "kind": "variable",
2029
+ "name": "foundationActionsMenuTemplate",
2030
+ "type": {
2031
+ "text": "ViewTemplate<ActionsMenu>"
2032
+ },
2033
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1986
2034
  }
1987
2035
  ],
1988
2036
  "exports": [
1989
2037
  {
1990
2038
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
2039
+ "name": "menuTemplate",
1992
2040
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
2041
+ "name": "menuTemplate",
2042
+ "module": "src/actions-menu/actions-menu.template.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "kind": "js",
2047
+ "name": "singleOptionTemplate",
2048
+ "declaration": {
2049
+ "name": "singleOptionTemplate",
2050
+ "module": "src/actions-menu/actions-menu.template.ts"
2051
+ }
2052
+ },
2053
+ {
2054
+ "kind": "js",
2055
+ "name": "foundationActionsMenuTemplate",
2056
+ "declaration": {
2057
+ "name": "foundationActionsMenuTemplate",
2058
+ "module": "src/actions-menu/actions-menu.template.ts"
1995
2059
  }
1996
2060
  }
1997
2061
  ]
1998
2062
  },
1999
2063
  {
2000
2064
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2065
+ "path": "src/actions-menu/actions-menu.ts",
2002
2066
  "declarations": [
2003
2067
  {
2004
2068
  "kind": "class",
2005
2069
  "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2070
+ "name": "ActionsMenu",
2071
+ "members": [
2014
2072
  {
2015
- "name": "expand-mode",
2073
+ "kind": "field",
2074
+ "name": "actions",
2016
2075
  "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2076
+ "text": "ActionMenuItem[]"
2024
2077
  }
2025
- }
2026
- ],
2027
- "members": [
2078
+ },
2028
2079
  {
2029
2080
  "kind": "field",
2030
- "name": "expandmode",
2081
+ "name": "isVertical",
2031
2082
  "type": {
2032
- "text": "AccordionExpandMode"
2083
+ "text": "boolean"
2033
2084
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
- "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2039
- }
2085
+ "default": "false"
2040
2086
  },
2041
2087
  {
2042
2088
  "kind": "field",
2043
- "name": "activeid",
2089
+ "name": "addDefaultActions",
2044
2090
  "type": {
2045
- "text": "string | null"
2091
+ "text": "boolean"
2046
2092
  },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2093
+ "default": "true"
2052
2094
  },
2053
2095
  {
2054
2096
  "kind": "field",
2055
- "name": "activeItemIndex",
2097
+ "name": "autoCloseOnAction",
2056
2098
  "type": {
2057
- "text": "number"
2099
+ "text": "boolean"
2058
2100
  },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2064
- }
2101
+ "default": "true"
2065
2102
  },
2066
2103
  {
2067
2104
  "kind": "field",
2068
- "name": "accordionIds",
2105
+ "name": "classNames",
2069
2106
  "type": {
2070
- "text": "Array<string | null>"
2071
- },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2107
+ "text": "string"
2076
2108
  }
2077
2109
  },
2078
2110
  {
2079
2111
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2112
+ "name": "definition",
2113
+ "type": {
2114
+ "text": "any"
2085
2115
  }
2086
2116
  },
2087
2117
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2118
+ "kind": "field",
2119
+ "name": "name",
2120
+ "type": {
2121
+ "text": "string"
2095
2122
  },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2099
- }
2123
+ "default": "'Actions'"
2100
2124
  },
2101
2125
  {
2102
2126
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2127
+ "name": "open",
2128
+ "type": {
2129
+ "text": "boolean"
2130
+ },
2131
+ "default": "false"
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "buttonAppearance",
2136
+ "type": {
2137
+ "text": "string"
2108
2138
  }
2109
2139
  },
2110
2140
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2141
+ "kind": "field",
2142
+ "name": "hideDisabled",
2143
+ "type": {
2144
+ "text": "boolean"
2118
2145
  },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "hideMenuSingleOption",
2151
+ "type": {
2152
+ "text": "boolean"
2153
+ },
2154
+ "default": "false"
2155
+ },
2156
+ {
2157
+ "kind": "field",
2158
+ "name": "singleOption",
2159
+ "type": {
2160
+ "text": "ActionMenuItem"
2122
2161
  }
2123
2162
  },
2124
2163
  {
2125
2164
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2165
+ "name": "actionsMenu",
2166
+ "type": {
2167
+ "text": "HTMLElement"
2131
2168
  }
2132
2169
  },
2133
2170
  {
2134
2171
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2172
+ "name": "actionsOpener",
2173
+ "type": {
2174
+ "text": "HTMLElement"
2140
2175
  }
2141
2176
  },
2177
+ {
2178
+ "kind": "field",
2179
+ "name": "positionTracker",
2180
+ "type": {
2181
+ "text": "AnchoredPopoverPositionTracker | undefined"
2182
+ },
2183
+ "privacy": "private"
2184
+ },
2142
2185
  {
2143
2186
  "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2187
+ "name": "updateMenuPosition",
2188
+ "privacy": "private"
2189
+ },
2190
+ {
2191
+ "kind": "method",
2192
+ "name": "definitionChanged",
2193
+ "privacy": "protected",
2194
+ "parameters": [
2195
+ {
2196
+ "name": "oldValue",
2197
+ "type": {
2198
+ "text": "any"
2199
+ }
2200
+ },
2201
+ {
2202
+ "name": "newValue",
2203
+ "type": {
2204
+ "text": "any"
2205
+ }
2149
2206
  }
2150
- },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2207
+ ]
2155
2208
  },
2156
2209
  {
2157
2210
  "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2211
+ "name": "openChanged",
2212
+ "privacy": "protected"
2213
+ },
2214
+ {
2215
+ "kind": "method",
2216
+ "name": "startTrackingPosition",
2217
+ "privacy": "private"
2218
+ },
2219
+ {
2220
+ "kind": "method",
2221
+ "name": "stopTrackingPosition",
2222
+ "privacy": "private"
2223
+ },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "toggleActionsMenuVisibility"
2227
+ },
2228
+ {
2229
+ "kind": "method",
2230
+ "name": "onActionMenuItemClick",
2231
+ "parameters": [
2232
+ {
2233
+ "name": "callback",
2234
+ "type": {
2235
+ "text": "(rowData) => void | any"
2236
+ }
2163
2237
  }
2164
- },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2238
+ ]
2169
2239
  },
2170
2240
  {
2171
2241
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2242
+ "name": "allActions",
2243
+ "type": {
2244
+ "text": "ActionMenuItem[]"
2245
+ },
2246
+ "readonly": true
2178
2247
  },
2179
2248
  {
2180
2249
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2250
+ "name": "rowData",
2251
+ "readonly": true
2187
2252
  },
2188
2253
  {
2189
2254
  "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2255
+ "name": "getLabel",
2197
2256
  "parameters": [
2198
2257
  {
2199
- "name": "adjustment",
2258
+ "name": "name",
2200
2259
  "type": {
2201
- "text": "number"
2260
+ "text": "string | ((rowData: any) => string)"
2202
2261
  }
2203
2262
  }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2263
+ ]
2209
2264
  },
2210
2265
  {
2211
2266
  "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2267
+ "name": "getTemplate",
2268
+ "parameters": [
2269
+ {
2270
+ "name": "prefix",
2271
+ "type": {
2272
+ "text": "string"
2273
+ }
2217
2274
  }
2218
- },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2275
+ ]
2223
2276
  },
2224
2277
  {
2225
2278
  "kind": "field",
@@ -2333,78 +2386,107 @@
2333
2386
  }
2334
2387
  }
2335
2388
  ],
2336
- "events": [
2389
+ "attributes": [
2337
2390
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2343
- }
2391
+ "name": "is-vertical",
2392
+ "type": {
2393
+ "text": "boolean"
2394
+ },
2395
+ "default": "false",
2396
+ "fieldName": "isVertical"
2397
+ },
2398
+ {
2399
+ "name": "add-default-actions",
2400
+ "type": {
2401
+ "text": "boolean"
2402
+ },
2403
+ "default": "true",
2404
+ "fieldName": "addDefaultActions"
2405
+ },
2406
+ {
2407
+ "name": "auto-close-on-action",
2408
+ "type": {
2409
+ "text": "boolean"
2410
+ },
2411
+ "default": "true",
2412
+ "fieldName": "autoCloseOnAction"
2413
+ },
2414
+ {
2415
+ "name": "name",
2416
+ "type": {
2417
+ "text": "string"
2418
+ },
2419
+ "default": "'Actions'",
2420
+ "fieldName": "name"
2421
+ },
2422
+ {
2423
+ "name": "open",
2424
+ "type": {
2425
+ "text": "boolean"
2426
+ },
2427
+ "default": "false",
2428
+ "fieldName": "open"
2429
+ },
2430
+ {
2431
+ "name": "buttonAppearance",
2432
+ "type": {
2433
+ "text": "string"
2434
+ },
2435
+ "fieldName": "buttonAppearance"
2436
+ },
2437
+ {
2438
+ "name": "hide-disabled",
2439
+ "type": {
2440
+ "text": "boolean"
2441
+ },
2442
+ "default": "false",
2443
+ "fieldName": "hideDisabled"
2444
+ },
2445
+ {
2446
+ "name": "hide-menu-single-option",
2447
+ "type": {
2448
+ "text": "boolean"
2449
+ },
2450
+ "default": "false",
2451
+ "fieldName": "hideMenuSingleOption"
2344
2452
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2358
- "type": {
2359
- "text": "object"
2453
+ ],
2454
+ "superclass": {
2455
+ "name": "FoundationElement",
2456
+ "package": "@microsoft/fast-foundation"
2360
2457
  },
2361
- "default": "{}"
2458
+ "tagName": "%%prefix%%-actions-menu",
2459
+ "customElement": true
2362
2460
  },
2363
2461
  {
2364
2462
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2463
+ "name": "foundationActionsMenu",
2464
+ "description": "The Foundation Actions Menu",
2367
2465
  "privacy": "public"
2368
2466
  }
2369
2467
  ],
2370
2468
  "exports": [
2371
2469
  {
2372
2470
  "kind": "js",
2373
- "name": "Accordion",
2374
- "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2471
+ "name": "ActionsMenu",
2390
2472
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2473
+ "name": "ActionsMenu",
2474
+ "module": "src/actions-menu/actions-menu.ts"
2393
2475
  }
2394
2476
  },
2395
2477
  {
2396
2478
  "kind": "js",
2397
- "name": "foundationAccordion",
2479
+ "name": "foundationActionsMenu",
2398
2480
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2481
+ "name": "foundationActionsMenu",
2482
+ "module": "src/actions-menu/actions-menu.ts"
2401
2483
  }
2402
2484
  }
2403
2485
  ]
2404
2486
  },
2405
2487
  {
2406
2488
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2489
+ "path": "src/actions-menu/index.ts",
2408
2490
  "declarations": [],
2409
2491
  "exports": [
2410
2492
  {
@@ -2412,7 +2494,7 @@
2412
2494
  "name": "*",
2413
2495
  "declaration": {
2414
2496
  "name": "*",
2415
- "package": "./accordion.template"
2497
+ "package": "./actions-menu.styles"
2416
2498
  }
2417
2499
  },
2418
2500
  {
@@ -2420,7 +2502,7 @@
2420
2502
  "name": "*",
2421
2503
  "declaration": {
2422
2504
  "name": "*",
2423
- "package": "./accordion.styles"
2505
+ "package": "./actions-menu.template"
2424
2506
  }
2425
2507
  },
2426
2508
  {
@@ -2428,210 +2510,122 @@
2428
2510
  "name": "*",
2429
2511
  "declaration": {
2430
2512
  "name": "*",
2431
- "package": "./accordion"
2513
+ "package": "./actions-menu"
2432
2514
  }
2433
2515
  }
2434
2516
  ]
2435
2517
  },
2436
2518
  {
2437
2519
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2520
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2439
2521
  "declarations": [
2440
2522
  {
2441
- "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2466
- "return": {
2467
- "type": {
2468
- "text": "ElementStyles"
2469
- }
2470
- },
2471
- "parameters": [
2472
- {
2473
- "name": "context",
2474
- "type": {
2475
- "text": "ElementDefinitionContext"
2476
- }
2477
- },
2478
- {
2479
- "name": "definition",
2480
- "type": {
2481
- "text": "FoundationElementDefinition"
2482
- }
2483
- }
2484
- ]
2523
+ "kind": "variable",
2524
+ "name": "foundationAiCriteriaSearchStyles",
2525
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2485
2526
  }
2486
2527
  ],
2487
2528
  "exports": [
2488
2529
  {
2489
2530
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2531
+ "name": "foundationAiCriteriaSearchStyles",
2499
2532
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2533
+ "name": "foundationAiCriteriaSearchStyles",
2534
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2502
2535
  }
2503
2536
  }
2504
2537
  ]
2505
2538
  },
2506
2539
  {
2507
2540
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2541
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2509
2542
  "declarations": [
2510
- {
2511
- "kind": "function",
2512
- "name": "menuTemplate",
2513
- "parameters": [
2514
- {
2515
- "name": "prefix",
2516
- "type": {
2517
- "text": "string"
2518
- }
2519
- }
2520
- ]
2521
- },
2522
- {
2523
- "kind": "function",
2524
- "name": "singleOptionTemplate",
2525
- "parameters": [
2526
- {
2527
- "name": "prefix",
2528
- "type": {
2529
- "text": "string"
2530
- }
2531
- }
2532
- ]
2533
- },
2534
2543
  {
2535
2544
  "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
2545
+ "name": "foundationAiCriteriaSearchTemplate",
2537
2546
  "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
2547
+ "text": "ViewTemplate<AiCriteriaSearch>"
2539
2548
  },
2540
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2549
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2541
2550
  }
2542
2551
  ],
2543
2552
  "exports": [
2544
2553
  {
2545
2554
  "kind": "js",
2546
- "name": "menuTemplate",
2547
- "declaration": {
2548
- "name": "menuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2550
- }
2551
- },
2552
- {
2553
- "kind": "js",
2554
- "name": "singleOptionTemplate",
2555
- "declaration": {
2556
- "name": "singleOptionTemplate",
2557
- "module": "src/actions-menu/actions-menu.template.ts"
2558
- }
2559
- },
2560
- {
2561
- "kind": "js",
2562
- "name": "foundationActionsMenuTemplate",
2555
+ "name": "foundationAiCriteriaSearchTemplate",
2563
2556
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
2557
+ "name": "foundationAiCriteriaSearchTemplate",
2558
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2566
2559
  }
2567
2560
  }
2568
2561
  ]
2569
2562
  },
2570
2563
  {
2571
2564
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
2565
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2573
2566
  "declarations": [
2574
2567
  {
2575
2568
  "kind": "class",
2576
- "description": "",
2577
- "name": "ActionsMenu",
2569
+ "description": "Natural-language criteria search input with AI interpretation.",
2570
+ "name": "AiCriteriaSearch",
2578
2571
  "members": [
2579
2572
  {
2580
2573
  "kind": "field",
2581
- "name": "actions",
2574
+ "name": "providerRegistry",
2582
2575
  "type": {
2583
- "text": "ActionMenuItem[]"
2576
+ "text": "AIProviderRegistry"
2584
2577
  }
2585
2578
  },
2586
2579
  {
2587
2580
  "kind": "field",
2588
- "name": "isVertical",
2581
+ "name": "placeholder",
2589
2582
  "type": {
2590
- "text": "boolean"
2583
+ "text": "string"
2591
2584
  },
2592
- "default": "false"
2585
+ "default": "'Describe your search criteria in natural language...'"
2593
2586
  },
2594
2587
  {
2595
2588
  "kind": "field",
2596
- "name": "addDefaultActions",
2589
+ "name": "disabled",
2597
2590
  "type": {
2598
2591
  "text": "boolean"
2599
- },
2600
- "default": "true"
2592
+ }
2601
2593
  },
2602
2594
  {
2603
2595
  "kind": "field",
2604
- "name": "autoCloseOnAction",
2596
+ "name": "inputValue",
2605
2597
  "type": {
2606
- "text": "boolean"
2598
+ "text": "string"
2607
2599
  },
2608
- "default": "true"
2600
+ "default": "''"
2609
2601
  },
2610
2602
  {
2611
2603
  "kind": "field",
2612
- "name": "classNames",
2604
+ "name": "isInterpreting",
2613
2605
  "type": {
2614
- "text": "string"
2615
- }
2606
+ "text": "boolean"
2607
+ },
2608
+ "default": "false"
2616
2609
  },
2617
2610
  {
2618
2611
  "kind": "field",
2619
- "name": "definition",
2612
+ "name": "lastValidCriteria",
2620
2613
  "type": {
2621
- "text": "any"
2622
- }
2614
+ "text": "string | null"
2615
+ },
2616
+ "default": "null"
2623
2617
  },
2624
2618
  {
2625
2619
  "kind": "field",
2626
- "name": "name",
2620
+ "name": "activeGroups",
2627
2621
  "type": {
2628
- "text": "string"
2622
+ "text": "CriteriaGroup[]"
2629
2623
  },
2630
- "default": "'Actions'"
2624
+ "default": "[]"
2631
2625
  },
2632
2626
  {
2633
2627
  "kind": "field",
2634
- "name": "open",
2628
+ "name": "showingChips",
2635
2629
  "type": {
2636
2630
  "text": "boolean"
2637
2631
  },
@@ -2639,14 +2633,15 @@
2639
2633
  },
2640
2634
  {
2641
2635
  "kind": "field",
2642
- "name": "buttonAppearance",
2636
+ "name": "fieldMetadata",
2643
2637
  "type": {
2644
- "text": "string"
2645
- }
2638
+ "text": "MetadataDetail[] | string[]"
2639
+ },
2640
+ "default": "[]"
2646
2641
  },
2647
2642
  {
2648
2643
  "kind": "field",
2649
- "name": "hideDisabled",
2644
+ "name": "isRecording",
2650
2645
  "type": {
2651
2646
  "text": "boolean"
2652
2647
  },
@@ -2654,114 +2649,125 @@
2654
2649
  },
2655
2650
  {
2656
2651
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2652
+ "name": "textAreaRef",
2658
2653
  "type": {
2659
- "text": "boolean"
2654
+ "text": "HTMLTextAreaElement"
2660
2655
  },
2661
- "default": "false"
2656
+ "privacy": "public"
2662
2657
  },
2663
2658
  {
2664
2659
  "kind": "field",
2665
- "name": "singleOption",
2660
+ "name": "stopRecording",
2666
2661
  "type": {
2667
- "text": "ActionMenuItem"
2668
- }
2662
+ "text": "(() => void) | null"
2663
+ },
2664
+ "privacy": "private",
2665
+ "default": "null"
2669
2666
  },
2670
2667
  {
2671
2668
  "kind": "field",
2672
- "name": "actionsMenu",
2669
+ "name": "speechApplyDebounceTimer",
2673
2670
  "type": {
2674
- "text": "HTMLElement"
2675
- }
2671
+ "text": "ReturnType<typeof setTimeout> | null"
2672
+ },
2673
+ "privacy": "private",
2674
+ "default": "null"
2676
2675
  },
2677
2676
  {
2678
2677
  "kind": "field",
2679
- "name": "actionsOpener",
2678
+ "name": "speechAvailable",
2680
2679
  "type": {
2681
- "text": "HTMLElement"
2682
- }
2680
+ "text": "boolean"
2681
+ },
2682
+ "readonly": true
2683
2683
  },
2684
2684
  {
2685
- "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
2685
+ "kind": "field",
2686
+ "name": "criteriaChips",
2687
+ "type": {
2688
+ "text": "CriteriaChip[]"
2689
+ },
2690
+ "readonly": true
2688
2691
  },
2689
2692
  {
2690
2693
  "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
2694
+ "name": "getFieldLabel",
2695
+ "privacy": "private",
2696
+ "return": {
2697
+ "type": {
2698
+ "text": "string"
2699
+ }
2700
+ },
2693
2701
  "parameters": [
2694
2702
  {
2695
- "name": "oldValue",
2696
- "type": {
2697
- "text": "any"
2698
- }
2699
- },
2700
- {
2701
- "name": "newValue",
2703
+ "name": "fieldName",
2702
2704
  "type": {
2703
- "text": "any"
2705
+ "text": "string"
2704
2706
  }
2705
2707
  }
2706
2708
  ]
2707
2709
  },
2708
2710
  {
2709
2711
  "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
2712
- },
2713
- {
2714
- "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
2712
+ "name": "toggleCriteriaView",
2713
+ "return": {
2714
+ "type": {
2715
+ "text": "void"
2716
+ }
2717
+ }
2716
2718
  },
2717
2719
  {
2718
2720
  "kind": "method",
2719
- "name": "onActionMenuItemClick",
2721
+ "name": "removeChip",
2722
+ "return": {
2723
+ "type": {
2724
+ "text": "void"
2725
+ }
2726
+ },
2720
2727
  "parameters": [
2721
2728
  {
2722
- "name": "callback",
2729
+ "name": "groupIndex",
2723
2730
  "type": {
2724
- "text": "(rowData) => void | any"
2731
+ "text": "number"
2732
+ }
2733
+ },
2734
+ {
2735
+ "name": "clauseIndex",
2736
+ "type": {
2737
+ "text": "number"
2725
2738
  }
2726
2739
  }
2727
2740
  ]
2728
2741
  },
2729
2742
  {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
2743
+ "kind": "method",
2744
+ "name": "clearChips",
2745
+ "return": {
2746
+ "type": {
2747
+ "text": "void"
2748
+ }
2749
+ }
2736
2750
  },
2737
2751
  {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
2752
+ "kind": "method",
2753
+ "name": "handleSubmit"
2741
2754
  },
2742
2755
  {
2743
2756
  "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
2751
- }
2752
- ]
2757
+ "name": "handleBlur"
2753
2758
  },
2754
2759
  {
2755
2760
  "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
2763
- }
2764
- ]
2761
+ "name": "clear"
2762
+ },
2763
+ {
2764
+ "kind": "method",
2765
+ "name": "toggleSpeechInput"
2766
+ },
2767
+ {
2768
+ "kind": "method",
2769
+ "name": "clearSpeechApplyDebounce",
2770
+ "privacy": "private"
2765
2771
  },
2766
2772
  {
2767
2773
  "kind": "field",
@@ -2875,115 +2881,154 @@
2875
2881
  }
2876
2882
  }
2877
2883
  ],
2878
- "attributes": [
2879
- {
2880
- "name": "is-vertical",
2881
- "type": {
2882
- "text": "boolean"
2883
- },
2884
- "default": "false",
2885
- "fieldName": "isVertical"
2886
- },
2887
- {
2888
- "name": "add-default-actions",
2889
- "type": {
2890
- "text": "boolean"
2891
- },
2892
- "default": "true",
2893
- "fieldName": "addDefaultActions"
2894
- },
2895
- {
2896
- "name": "auto-close-on-action",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "true",
2901
- "fieldName": "autoCloseOnAction"
2902
- },
2884
+ "events": [
2903
2885
  {
2904
- "name": "name",
2905
- "type": {
2906
- "text": "string"
2907
- },
2908
- "default": "'Actions'",
2909
- "fieldName": "name"
2886
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2887
+ "name": "criteria-changed"
2910
2888
  },
2911
2889
  {
2912
- "name": "open",
2913
- "type": {
2914
- "text": "boolean"
2915
- },
2916
- "default": "false",
2917
- "fieldName": "open"
2918
- },
2890
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2891
+ "name": "validation-errors"
2892
+ }
2893
+ ],
2894
+ "attributes": [
2919
2895
  {
2920
- "name": "buttonAppearance",
2896
+ "name": "placeholder",
2921
2897
  "type": {
2922
2898
  "text": "string"
2923
2899
  },
2924
- "fieldName": "buttonAppearance"
2925
- },
2926
- {
2927
- "name": "hide-disabled",
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "default": "false",
2932
- "fieldName": "hideDisabled"
2900
+ "default": "'Describe your search criteria in natural language...'",
2901
+ "fieldName": "placeholder"
2933
2902
  },
2934
2903
  {
2935
- "name": "hide-menu-single-option",
2936
2904
  "type": {
2937
2905
  "text": "boolean"
2938
2906
  },
2939
- "default": "false",
2940
- "fieldName": "hideMenuSingleOption"
2907
+ "fieldName": "disabled"
2941
2908
  }
2942
2909
  ],
2943
2910
  "superclass": {
2944
2911
  "name": "FoundationElement",
2945
2912
  "package": "@microsoft/fast-foundation"
2946
2913
  },
2947
- "tagName": "%%prefix%%-actions-menu",
2914
+ "tagName": "%%prefix%%-ai-criteria-search",
2948
2915
  "customElement": true
2949
2916
  },
2950
2917
  {
2951
2918
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2954
- "privacy": "public"
2919
+ "name": "foundationAiCriteriaSearchShadowOptions",
2920
+ "type": {
2921
+ "text": "ShadowRootInit"
2922
+ },
2923
+ "default": "undefined"
2924
+ },
2925
+ {
2926
+ "kind": "variable",
2927
+ "name": "defaultAiCriteriaSearchConfig",
2928
+ "type": {
2929
+ "text": "object"
2930
+ },
2931
+ "default": "{}"
2932
+ },
2933
+ {
2934
+ "kind": "variable",
2935
+ "name": "foundationAiCriteriaSearch"
2955
2936
  }
2956
2937
  ],
2957
2938
  "exports": [
2958
2939
  {
2959
2940
  "kind": "js",
2960
- "name": "ActionsMenu",
2941
+ "name": "AiCriteriaSearch",
2961
2942
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
2943
+ "name": "AiCriteriaSearch",
2944
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2964
2945
  }
2965
2946
  },
2966
2947
  {
2967
2948
  "kind": "js",
2968
- "name": "foundationActionsMenu",
2949
+ "name": "foundationAiCriteriaSearchShadowOptions",
2969
2950
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
2951
+ "name": "foundationAiCriteriaSearchShadowOptions",
2952
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2953
+ }
2954
+ },
2955
+ {
2956
+ "kind": "js",
2957
+ "name": "defaultAiCriteriaSearchConfig",
2958
+ "declaration": {
2959
+ "name": "defaultAiCriteriaSearchConfig",
2960
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2961
+ }
2962
+ },
2963
+ {
2964
+ "kind": "js",
2965
+ "name": "foundationAiCriteriaSearch",
2966
+ "declaration": {
2967
+ "name": "foundationAiCriteriaSearch",
2968
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2972
2969
  }
2973
2970
  }
2974
2971
  ]
2975
2972
  },
2976
2973
  {
2977
2974
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
2975
+ "path": "src/ai-criteria-search/index.ts",
2979
2976
  "declarations": [],
2980
2977
  "exports": [
2978
+ {
2979
+ "kind": "js",
2980
+ "name": "AiCriteriaSearch",
2981
+ "declaration": {
2982
+ "name": "AiCriteriaSearch",
2983
+ "module": "./ai-criteria-search"
2984
+ }
2985
+ },
2986
+ {
2987
+ "kind": "js",
2988
+ "name": "defaultAiCriteriaSearchConfig",
2989
+ "declaration": {
2990
+ "name": "defaultAiCriteriaSearchConfig",
2991
+ "module": "./ai-criteria-search"
2992
+ }
2993
+ },
2994
+ {
2995
+ "kind": "js",
2996
+ "name": "foundationAiCriteriaSearch",
2997
+ "declaration": {
2998
+ "name": "foundationAiCriteriaSearch",
2999
+ "module": "./ai-criteria-search"
3000
+ }
3001
+ },
3002
+ {
3003
+ "kind": "js",
3004
+ "name": "foundationAiCriteriaSearchShadowOptions",
3005
+ "declaration": {
3006
+ "name": "foundationAiCriteriaSearchShadowOptions",
3007
+ "module": "./ai-criteria-search"
3008
+ }
3009
+ },
3010
+ {
3011
+ "kind": "js",
3012
+ "name": "foundationAiCriteriaSearchStyles",
3013
+ "declaration": {
3014
+ "name": "foundationAiCriteriaSearchStyles",
3015
+ "module": "./ai-criteria-search.styles"
3016
+ }
3017
+ },
3018
+ {
3019
+ "kind": "js",
3020
+ "name": "foundationAiCriteriaSearchTemplate",
3021
+ "declaration": {
3022
+ "name": "foundationAiCriteriaSearchTemplate",
3023
+ "module": "./ai-criteria-search.template"
3024
+ }
3025
+ },
2981
3026
  {
2982
3027
  "kind": "js",
2983
3028
  "name": "*",
2984
3029
  "declaration": {
2985
3030
  "name": "*",
2986
- "package": "./actions-menu.styles"
3031
+ "package": "./validation/criteria-ir"
2987
3032
  }
2988
3033
  },
2989
3034
  {
@@ -2991,7 +3036,7 @@
2991
3036
  "name": "*",
2992
3037
  "declaration": {
2993
3038
  "name": "*",
2994
- "package": "./actions-menu.template"
3039
+ "package": "./validation/operator-map"
2995
3040
  }
2996
3041
  },
2997
3042
  {
@@ -2999,215 +3044,357 @@
2999
3044
  "name": "*",
3000
3045
  "declaration": {
3001
3046
  "name": "*",
3002
- "package": "./actions-menu"
3047
+ "package": "./validation/schema-validator"
3003
3048
  }
3004
3049
  }
3005
3050
  ]
3006
3051
  },
3007
3052
  {
3008
3053
  "kind": "javascript-module",
3009
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3054
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3010
3055
  "declarations": [
3011
3056
  {
3012
- "kind": "variable",
3013
- "name": "foundationAiCriteriaSearchStyles",
3014
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3057
+ "kind": "function",
3058
+ "name": "formatValidationErrors",
3059
+ "return": {
3060
+ "type": {
3061
+ "text": "string"
3062
+ }
3063
+ },
3064
+ "parameters": [
3065
+ {
3066
+ "name": "errors",
3067
+ "type": {
3068
+ "text": "ValidationError[]"
3069
+ }
3070
+ }
3071
+ ],
3072
+ "description": "Formats validation errors into a user-friendly message."
3073
+ },
3074
+ {
3075
+ "kind": "function",
3076
+ "name": "showCriteriaError",
3077
+ "return": {
3078
+ "type": {
3079
+ "text": "void"
3080
+ }
3081
+ },
3082
+ "parameters": [
3083
+ {
3084
+ "name": "title",
3085
+ "type": {
3086
+ "text": "string"
3087
+ },
3088
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3089
+ },
3090
+ {
3091
+ "name": "body",
3092
+ "type": {
3093
+ "text": "string"
3094
+ },
3095
+ "description": "Error message to display"
3096
+ },
3097
+ {
3098
+ "name": "tagName",
3099
+ "type": {
3100
+ "text": "string"
3101
+ },
3102
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3103
+ }
3104
+ ],
3105
+ "description": "Shows a criteria error as a toast notification."
3015
3106
  }
3016
3107
  ],
3017
3108
  "exports": [
3018
3109
  {
3019
3110
  "kind": "js",
3020
- "name": "foundationAiCriteriaSearchStyles",
3111
+ "name": "formatValidationErrors",
3021
3112
  "declaration": {
3022
- "name": "foundationAiCriteriaSearchStyles",
3023
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3113
+ "name": "formatValidationErrors",
3114
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3115
+ }
3116
+ },
3117
+ {
3118
+ "kind": "js",
3119
+ "name": "showCriteriaError",
3120
+ "declaration": {
3121
+ "name": "showCriteriaError",
3122
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3024
3123
  }
3025
3124
  }
3026
3125
  ]
3027
3126
  },
3028
3127
  {
3029
3128
  "kind": "javascript-module",
3030
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3129
+ "path": "src/accordion/accordion.styles.ts",
3031
3130
  "declarations": [
3032
3131
  {
3033
- "kind": "variable",
3034
- "name": "foundationAiCriteriaSearchTemplate",
3035
- "type": {
3036
- "text": "ViewTemplate<AiCriteriaSearch>"
3132
+ "kind": "function",
3133
+ "name": "foundationAccordionStyles",
3134
+ "return": {
3135
+ "type": {
3136
+ "text": "ElementStyles"
3137
+ }
3037
3138
  },
3038
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3139
+ "parameters": [
3140
+ {
3141
+ "name": "context",
3142
+ "type": {
3143
+ "text": "ElementDefinitionContext"
3144
+ }
3145
+ },
3146
+ {
3147
+ "name": "definition",
3148
+ "type": {
3149
+ "text": "FoundationElementDefinition"
3150
+ }
3151
+ }
3152
+ ]
3039
3153
  }
3040
3154
  ],
3041
3155
  "exports": [
3042
3156
  {
3043
3157
  "kind": "js",
3044
- "name": "foundationAiCriteriaSearchTemplate",
3158
+ "name": "foundationAccordionStyles",
3045
3159
  "declaration": {
3046
- "name": "foundationAiCriteriaSearchTemplate",
3047
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3160
+ "name": "foundationAccordionStyles",
3161
+ "module": "src/accordion/accordion.styles.ts"
3048
3162
  }
3049
3163
  }
3050
3164
  ]
3051
3165
  },
3052
3166
  {
3053
3167
  "kind": "javascript-module",
3054
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3168
+ "path": "src/accordion/accordion.template.ts",
3055
3169
  "declarations": [
3056
3170
  {
3057
- "kind": "class",
3058
- "description": "Natural-language criteria search input with AI interpretation.",
3059
- "name": "AiCriteriaSearch",
3060
- "members": [
3171
+ "kind": "function",
3172
+ "name": "foundationAccordionTemplate",
3173
+ "return": {
3174
+ "type": {
3175
+ "text": "ViewTemplate<Accordion>"
3176
+ }
3177
+ },
3178
+ "parameters": [
3061
3179
  {
3062
- "kind": "field",
3063
- "name": "providerRegistry",
3180
+ "name": "context",
3064
3181
  "type": {
3065
- "text": "AIProviderRegistry"
3182
+ "text": "ElementDefinitionContext"
3066
3183
  }
3067
3184
  },
3068
3185
  {
3069
- "kind": "field",
3070
- "name": "placeholder",
3071
- "type": {
3072
- "text": "string"
3073
- },
3074
- "default": "'Describe your search criteria in natural language...'"
3075
- },
3076
- {
3077
- "kind": "field",
3078
- "name": "disabled",
3186
+ "name": "definition",
3079
3187
  "type": {
3080
- "text": "boolean"
3188
+ "text": "FoundationElementDefinition"
3081
3189
  }
3082
- },
3190
+ }
3191
+ ]
3192
+ }
3193
+ ],
3194
+ "exports": [
3195
+ {
3196
+ "kind": "js",
3197
+ "name": "foundationAccordionTemplate",
3198
+ "declaration": {
3199
+ "name": "foundationAccordionTemplate",
3200
+ "module": "src/accordion/accordion.template.ts"
3201
+ }
3202
+ }
3203
+ ]
3204
+ },
3205
+ {
3206
+ "kind": "javascript-module",
3207
+ "path": "src/accordion/accordion.ts",
3208
+ "declarations": [
3209
+ {
3210
+ "kind": "class",
3211
+ "description": "",
3212
+ "name": "Accordion",
3213
+ "superclass": {
3214
+ "name": "FASTAccordion",
3215
+ "package": "@microsoft/fast-foundation"
3216
+ },
3217
+ "tagName": "%%prefix%%-accordion",
3218
+ "customElement": true,
3219
+ "attributes": [
3083
3220
  {
3084
- "kind": "field",
3085
- "name": "inputValue",
3221
+ "name": "expand-mode",
3086
3222
  "type": {
3087
- "text": "string"
3223
+ "text": "AccordionExpandMode"
3088
3224
  },
3089
- "default": "''"
3090
- },
3225
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3226
+ "fieldName": "expandmode",
3227
+ "inheritedFrom": {
3228
+ "name": "Accordion",
3229
+ "module": "src/accordion/accordion.ts"
3230
+ }
3231
+ }
3232
+ ],
3233
+ "members": [
3091
3234
  {
3092
3235
  "kind": "field",
3093
- "name": "isInterpreting",
3236
+ "name": "expandmode",
3094
3237
  "type": {
3095
- "text": "boolean"
3238
+ "text": "AccordionExpandMode"
3096
3239
  },
3097
- "default": "false"
3240
+ "privacy": "public",
3241
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3242
+ "inheritedFrom": {
3243
+ "name": "Accordion",
3244
+ "module": "src/accordion/accordion.ts"
3245
+ }
3098
3246
  },
3099
3247
  {
3100
3248
  "kind": "field",
3101
- "name": "lastValidCriteria",
3249
+ "name": "activeid",
3102
3250
  "type": {
3103
3251
  "text": "string | null"
3104
3252
  },
3105
- "default": "null"
3106
- },
3107
- {
3108
- "kind": "field",
3109
- "name": "activeGroups",
3110
- "type": {
3111
- "text": "CriteriaGroup[]"
3112
- },
3113
- "default": "[]"
3253
+ "privacy": "private",
3254
+ "inheritedFrom": {
3255
+ "name": "Accordion",
3256
+ "module": "src/accordion/accordion.ts"
3257
+ }
3114
3258
  },
3115
3259
  {
3116
3260
  "kind": "field",
3117
- "name": "showingChips",
3261
+ "name": "activeItemIndex",
3118
3262
  "type": {
3119
- "text": "boolean"
3263
+ "text": "number"
3120
3264
  },
3121
- "default": "false"
3265
+ "privacy": "private",
3266
+ "default": "0",
3267
+ "inheritedFrom": {
3268
+ "name": "Accordion",
3269
+ "module": "src/accordion/accordion.ts"
3270
+ }
3122
3271
  },
3123
3272
  {
3124
3273
  "kind": "field",
3125
- "name": "fieldMetadata",
3274
+ "name": "accordionIds",
3126
3275
  "type": {
3127
- "text": "MetadataDetail[] | string[]"
3276
+ "text": "Array<string | null>"
3128
3277
  },
3129
- "default": "[]"
3278
+ "privacy": "private",
3279
+ "inheritedFrom": {
3280
+ "name": "Accordion",
3281
+ "module": "src/accordion/accordion.ts"
3282
+ }
3130
3283
  },
3131
3284
  {
3132
3285
  "kind": "field",
3133
- "name": "isRecording",
3134
- "type": {
3135
- "text": "boolean"
3136
- },
3137
- "default": "false"
3286
+ "name": "change",
3287
+ "privacy": "private",
3288
+ "inheritedFrom": {
3289
+ "name": "Accordion",
3290
+ "module": "src/accordion/accordion.ts"
3291
+ }
3138
3292
  },
3139
3293
  {
3140
- "kind": "field",
3141
- "name": "textAreaRef",
3142
- "type": {
3143
- "text": "HTMLTextAreaElement"
3294
+ "kind": "method",
3295
+ "name": "findExpandedItem",
3296
+ "privacy": "private",
3297
+ "return": {
3298
+ "type": {
3299
+ "text": "AccordionItem | null"
3300
+ }
3144
3301
  },
3145
- "privacy": "public"
3302
+ "inheritedFrom": {
3303
+ "name": "Accordion",
3304
+ "module": "src/accordion/accordion.ts"
3305
+ }
3146
3306
  },
3147
3307
  {
3148
3308
  "kind": "field",
3149
- "name": "stopRecording",
3150
- "type": {
3151
- "text": "(() => void) | null"
3152
- },
3309
+ "name": "setItems",
3153
3310
  "privacy": "private",
3154
- "default": "null"
3311
+ "inheritedFrom": {
3312
+ "name": "Accordion",
3313
+ "module": "src/accordion/accordion.ts"
3314
+ }
3155
3315
  },
3156
3316
  {
3157
- "kind": "field",
3158
- "name": "speechApplyDebounceTimer",
3159
- "type": {
3160
- "text": "ReturnType<typeof setTimeout> | null"
3161
- },
3317
+ "kind": "method",
3318
+ "name": "resetItems",
3162
3319
  "privacy": "private",
3163
- "default": "null"
3320
+ "return": {
3321
+ "type": {
3322
+ "text": "void"
3323
+ }
3324
+ },
3325
+ "inheritedFrom": {
3326
+ "name": "Accordion",
3327
+ "module": "src/accordion/accordion.ts"
3328
+ }
3164
3329
  },
3165
3330
  {
3166
3331
  "kind": "field",
3167
- "name": "speechAvailable",
3168
- "type": {
3169
- "text": "boolean"
3170
- },
3171
- "readonly": true
3332
+ "name": "removeItemListeners",
3333
+ "privacy": "private",
3334
+ "inheritedFrom": {
3335
+ "name": "Accordion",
3336
+ "module": "src/accordion/accordion.ts"
3337
+ }
3172
3338
  },
3173
3339
  {
3174
3340
  "kind": "field",
3175
- "name": "criteriaChips",
3176
- "type": {
3177
- "text": "CriteriaChip[]"
3178
- },
3179
- "readonly": true
3341
+ "name": "activeItemChange",
3342
+ "privacy": "private",
3343
+ "inheritedFrom": {
3344
+ "name": "Accordion",
3345
+ "module": "src/accordion/accordion.ts"
3346
+ }
3180
3347
  },
3181
3348
  {
3182
3349
  "kind": "method",
3183
- "name": "getFieldLabel",
3350
+ "name": "getItemIds",
3184
3351
  "privacy": "private",
3185
3352
  "return": {
3186
3353
  "type": {
3187
- "text": "string"
3354
+ "text": "Array<string | null>"
3188
3355
  }
3189
3356
  },
3190
- "parameters": [
3191
- {
3192
- "name": "fieldName",
3193
- "type": {
3194
- "text": "string"
3195
- }
3196
- }
3197
- ]
3357
+ "inheritedFrom": {
3358
+ "name": "Accordion",
3359
+ "module": "src/accordion/accordion.ts"
3360
+ }
3198
3361
  },
3199
3362
  {
3200
3363
  "kind": "method",
3201
- "name": "toggleCriteriaView",
3364
+ "name": "isSingleExpandMode",
3365
+ "privacy": "private",
3202
3366
  "return": {
3203
3367
  "type": {
3204
- "text": "void"
3368
+ "text": "boolean"
3205
3369
  }
3370
+ },
3371
+ "inheritedFrom": {
3372
+ "name": "Accordion",
3373
+ "module": "src/accordion/accordion.ts"
3374
+ }
3375
+ },
3376
+ {
3377
+ "kind": "field",
3378
+ "name": "handleItemKeyDown",
3379
+ "privacy": "private",
3380
+ "inheritedFrom": {
3381
+ "name": "Accordion",
3382
+ "module": "src/accordion/accordion.ts"
3383
+ }
3384
+ },
3385
+ {
3386
+ "kind": "field",
3387
+ "name": "handleItemFocus",
3388
+ "privacy": "private",
3389
+ "inheritedFrom": {
3390
+ "name": "Accordion",
3391
+ "module": "src/accordion/accordion.ts"
3206
3392
  }
3207
3393
  },
3208
3394
  {
3209
3395
  "kind": "method",
3210
- "name": "removeChip",
3396
+ "name": "adjust",
3397
+ "privacy": "private",
3211
3398
  "return": {
3212
3399
  "type": {
3213
3400
  "text": "void"
@@ -3215,49 +3402,31 @@
3215
3402
  },
3216
3403
  "parameters": [
3217
3404
  {
3218
- "name": "groupIndex",
3219
- "type": {
3220
- "text": "number"
3221
- }
3222
- },
3223
- {
3224
- "name": "clauseIndex",
3405
+ "name": "adjustment",
3225
3406
  "type": {
3226
3407
  "text": "number"
3227
3408
  }
3228
3409
  }
3229
- ]
3410
+ ],
3411
+ "inheritedFrom": {
3412
+ "name": "Accordion",
3413
+ "module": "src/accordion/accordion.ts"
3414
+ }
3230
3415
  },
3231
3416
  {
3232
3417
  "kind": "method",
3233
- "name": "clearChips",
3418
+ "name": "focusItem",
3419
+ "privacy": "private",
3234
3420
  "return": {
3235
3421
  "type": {
3236
3422
  "text": "void"
3237
3423
  }
3424
+ },
3425
+ "inheritedFrom": {
3426
+ "name": "Accordion",
3427
+ "module": "src/accordion/accordion.ts"
3238
3428
  }
3239
3429
  },
3240
- {
3241
- "kind": "method",
3242
- "name": "handleSubmit"
3243
- },
3244
- {
3245
- "kind": "method",
3246
- "name": "handleBlur"
3247
- },
3248
- {
3249
- "kind": "method",
3250
- "name": "clear"
3251
- },
3252
- {
3253
- "kind": "method",
3254
- "name": "toggleSpeechInput"
3255
- },
3256
- {
3257
- "kind": "method",
3258
- "name": "clearSpeechApplyDebounce",
3259
- "privacy": "private"
3260
- },
3261
3430
  {
3262
3431
  "kind": "field",
3263
3432
  "name": "_presentation",
@@ -3372,48 +3541,26 @@
3372
3541
  ],
3373
3542
  "events": [
3374
3543
  {
3375
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3376
- "name": "criteria-changed"
3377
- },
3378
- {
3379
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3380
- "name": "validation-errors"
3381
- }
3382
- ],
3383
- "attributes": [
3384
- {
3385
- "name": "placeholder",
3386
- "type": {
3387
- "text": "string"
3388
- },
3389
- "default": "'Describe your search criteria in natural language...'",
3390
- "fieldName": "placeholder"
3391
- },
3392
- {
3393
- "type": {
3394
- "text": "boolean"
3395
- },
3396
- "fieldName": "disabled"
3544
+ "description": "Fires a custom 'change' event when the active item changes",
3545
+ "name": "change",
3546
+ "inheritedFrom": {
3547
+ "name": "Accordion",
3548
+ "module": "src/accordion/accordion.ts"
3549
+ }
3397
3550
  }
3398
- ],
3399
- "superclass": {
3400
- "name": "FoundationElement",
3401
- "package": "@microsoft/fast-foundation"
3402
- },
3403
- "tagName": "%%prefix%%-ai-criteria-search",
3404
- "customElement": true
3551
+ ]
3405
3552
  },
3406
3553
  {
3407
3554
  "kind": "variable",
3408
- "name": "foundationAiCriteriaSearchShadowOptions",
3555
+ "name": "foundationAccordionShadowOptions",
3409
3556
  "type": {
3410
3557
  "text": "ShadowRootInit"
3411
3558
  },
3412
- "default": "undefined"
3559
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3413
3560
  },
3414
3561
  {
3415
3562
  "kind": "variable",
3416
- "name": "defaultAiCriteriaSearchConfig",
3563
+ "name": "defaultAccordionConfig",
3417
3564
  "type": {
3418
3565
  "text": "object"
3419
3566
  },
@@ -3421,103 +3568,57 @@
3421
3568
  },
3422
3569
  {
3423
3570
  "kind": "variable",
3424
- "name": "foundationAiCriteriaSearch"
3571
+ "name": "foundationAccordion",
3572
+ "description": "The Foundation Accordion",
3573
+ "privacy": "public"
3425
3574
  }
3426
3575
  ],
3427
3576
  "exports": [
3428
3577
  {
3429
3578
  "kind": "js",
3430
- "name": "AiCriteriaSearch",
3579
+ "name": "Accordion",
3431
3580
  "declaration": {
3432
- "name": "AiCriteriaSearch",
3433
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3581
+ "name": "Accordion",
3582
+ "module": "src/accordion/accordion.ts"
3434
3583
  }
3435
3584
  },
3436
3585
  {
3437
3586
  "kind": "js",
3438
- "name": "foundationAiCriteriaSearchShadowOptions",
3587
+ "name": "foundationAccordionShadowOptions",
3439
3588
  "declaration": {
3440
- "name": "foundationAiCriteriaSearchShadowOptions",
3441
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3589
+ "name": "foundationAccordionShadowOptions",
3590
+ "module": "src/accordion/accordion.ts"
3442
3591
  }
3443
3592
  },
3444
3593
  {
3445
3594
  "kind": "js",
3446
- "name": "defaultAiCriteriaSearchConfig",
3595
+ "name": "defaultAccordionConfig",
3447
3596
  "declaration": {
3448
- "name": "defaultAiCriteriaSearchConfig",
3449
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3597
+ "name": "defaultAccordionConfig",
3598
+ "module": "src/accordion/accordion.ts"
3450
3599
  }
3451
3600
  },
3452
3601
  {
3453
3602
  "kind": "js",
3454
- "name": "foundationAiCriteriaSearch",
3603
+ "name": "foundationAccordion",
3455
3604
  "declaration": {
3456
- "name": "foundationAiCriteriaSearch",
3457
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3605
+ "name": "foundationAccordion",
3606
+ "module": "src/accordion/accordion.ts"
3458
3607
  }
3459
3608
  }
3460
3609
  ]
3461
3610
  },
3462
3611
  {
3463
3612
  "kind": "javascript-module",
3464
- "path": "src/ai-criteria-search/index.ts",
3613
+ "path": "src/accordion/index.ts",
3465
3614
  "declarations": [],
3466
3615
  "exports": [
3467
- {
3468
- "kind": "js",
3469
- "name": "AiCriteriaSearch",
3470
- "declaration": {
3471
- "name": "AiCriteriaSearch",
3472
- "module": "./ai-criteria-search"
3473
- }
3474
- },
3475
- {
3476
- "kind": "js",
3477
- "name": "defaultAiCriteriaSearchConfig",
3478
- "declaration": {
3479
- "name": "defaultAiCriteriaSearchConfig",
3480
- "module": "./ai-criteria-search"
3481
- }
3482
- },
3483
- {
3484
- "kind": "js",
3485
- "name": "foundationAiCriteriaSearch",
3486
- "declaration": {
3487
- "name": "foundationAiCriteriaSearch",
3488
- "module": "./ai-criteria-search"
3489
- }
3490
- },
3491
- {
3492
- "kind": "js",
3493
- "name": "foundationAiCriteriaSearchShadowOptions",
3494
- "declaration": {
3495
- "name": "foundationAiCriteriaSearchShadowOptions",
3496
- "module": "./ai-criteria-search"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "foundationAiCriteriaSearchStyles",
3502
- "declaration": {
3503
- "name": "foundationAiCriteriaSearchStyles",
3504
- "module": "./ai-criteria-search.styles"
3505
- }
3506
- },
3507
- {
3508
- "kind": "js",
3509
- "name": "foundationAiCriteriaSearchTemplate",
3510
- "declaration": {
3511
- "name": "foundationAiCriteriaSearchTemplate",
3512
- "module": "./ai-criteria-search.template"
3513
- }
3514
- },
3515
3616
  {
3516
3617
  "kind": "js",
3517
3618
  "name": "*",
3518
3619
  "declaration": {
3519
3620
  "name": "*",
3520
- "package": "./validation/criteria-ir"
3621
+ "package": "./accordion.template"
3521
3622
  }
3522
3623
  },
3523
3624
  {
@@ -3525,7 +3626,7 @@
3525
3626
  "name": "*",
3526
3627
  "declaration": {
3527
3628
  "name": "*",
3528
- "package": "./validation/operator-map"
3629
+ "package": "./accordion.styles"
3529
3630
  }
3530
3631
  },
3531
3632
  {
@@ -3533,82 +3634,7 @@
3533
3634
  "name": "*",
3534
3635
  "declaration": {
3535
3636
  "name": "*",
3536
- "package": "./validation/schema-validator"
3537
- }
3538
- }
3539
- ]
3540
- },
3541
- {
3542
- "kind": "javascript-module",
3543
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3544
- "declarations": [
3545
- {
3546
- "kind": "function",
3547
- "name": "formatValidationErrors",
3548
- "return": {
3549
- "type": {
3550
- "text": "string"
3551
- }
3552
- },
3553
- "parameters": [
3554
- {
3555
- "name": "errors",
3556
- "type": {
3557
- "text": "ValidationError[]"
3558
- }
3559
- }
3560
- ],
3561
- "description": "Formats validation errors into a user-friendly message."
3562
- },
3563
- {
3564
- "kind": "function",
3565
- "name": "showCriteriaError",
3566
- "return": {
3567
- "type": {
3568
- "text": "void"
3569
- }
3570
- },
3571
- "parameters": [
3572
- {
3573
- "name": "title",
3574
- "type": {
3575
- "text": "string"
3576
- },
3577
- "description": "Notification title (e.g. \"Criteria validation error\")"
3578
- },
3579
- {
3580
- "name": "body",
3581
- "type": {
3582
- "text": "string"
3583
- },
3584
- "description": "Error message to display"
3585
- },
3586
- {
3587
- "name": "tagName",
3588
- "type": {
3589
- "text": "string"
3590
- },
3591
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3592
- }
3593
- ],
3594
- "description": "Shows a criteria error as a toast notification."
3595
- }
3596
- ],
3597
- "exports": [
3598
- {
3599
- "kind": "js",
3600
- "name": "formatValidationErrors",
3601
- "declaration": {
3602
- "name": "formatValidationErrors",
3603
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
- }
3605
- },
3606
- {
3607
- "kind": "js",
3608
- "name": "showCriteriaError",
3609
- "declaration": {
3610
- "name": "showCriteriaError",
3611
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3637
+ "package": "./accordion"
3612
3638
  }
3613
3639
  }
3614
3640
  ]
@@ -59090,6 +59116,14 @@
59090
59116
  "package": "./options-datasource-utils"
59091
59117
  }
59092
59118
  },
59119
+ {
59120
+ "kind": "js",
59121
+ "name": "*",
59122
+ "declaration": {
59123
+ "name": "*",
59124
+ "package": "./popover-position"
59125
+ }
59126
+ },
59093
59127
  {
59094
59128
  "kind": "js",
59095
59129
  "name": "*",
@@ -59182,15 +59216,106 @@
59182
59216
  "name": "requestServerCriteriaBuilder",
59183
59217
  "parameters": [
59184
59218
  {
59185
- "name": "datasource",
59186
- "type": {
59187
- "text": "OptionsDatasource | MultiselectDatasource"
59219
+ "name": "datasource",
59220
+ "type": {
59221
+ "text": "OptionsDatasource | MultiselectDatasource"
59222
+ }
59223
+ },
59224
+ {
59225
+ "name": "value",
59226
+ "type": {
59227
+ "text": "string | number"
59228
+ }
59229
+ }
59230
+ ]
59231
+ }
59232
+ ],
59233
+ "exports": [
59234
+ {
59235
+ "kind": "js",
59236
+ "name": "dataserverCriteriaBuilder",
59237
+ "declaration": {
59238
+ "name": "dataserverCriteriaBuilder",
59239
+ "module": "src/utils/options-datasource-utils.ts"
59240
+ }
59241
+ },
59242
+ {
59243
+ "kind": "js",
59244
+ "name": "resolveByValueCriteriaBuilder",
59245
+ "declaration": {
59246
+ "name": "resolveByValueCriteriaBuilder",
59247
+ "module": "src/utils/options-datasource-utils.ts"
59248
+ }
59249
+ },
59250
+ {
59251
+ "kind": "js",
59252
+ "name": "requestServerCriteriaBuilder",
59253
+ "declaration": {
59254
+ "name": "requestServerCriteriaBuilder",
59255
+ "module": "src/utils/options-datasource-utils.ts"
59256
+ }
59257
+ }
59258
+ ]
59259
+ },
59260
+ {
59261
+ "kind": "javascript-module",
59262
+ "path": "src/utils/popover-position.ts",
59263
+ "declarations": [
59264
+ {
59265
+ "kind": "function",
59266
+ "name": "findScrollableAncestors",
59267
+ "return": {
59268
+ "type": {
59269
+ "text": "(HTMLElement | Document)[]"
59270
+ }
59271
+ },
59272
+ "parameters": [
59273
+ {
59274
+ "name": "element",
59275
+ "type": {
59276
+ "text": "HTMLElement"
59277
+ }
59278
+ }
59279
+ ],
59280
+ "description": "Walks up from `element`, crossing shadow-root boundaries via `.host`, collecting every\nscrollable ancestor (including the anchor's own document).",
59281
+ "privacy": "public"
59282
+ },
59283
+ {
59284
+ "kind": "class",
59285
+ "description": "Keeps a Popover-API element anchored to its trigger while any of the trigger's scrollable\nancestors scroll, and reports back when the trigger has been removed from the DOM (e.g. AG\nGrid row virtualization recycling the row that owns it).",
59286
+ "name": "AnchoredPopoverPositionTracker",
59287
+ "members": [
59288
+ {
59289
+ "kind": "field",
59290
+ "name": "ancestors",
59291
+ "type": {
59292
+ "text": "(HTMLElement | Document)[]"
59293
+ },
59294
+ "privacy": "private",
59295
+ "default": "[]"
59296
+ },
59297
+ {
59298
+ "kind": "field",
59299
+ "name": "handleScroll",
59300
+ "privacy": "private",
59301
+ "readonly": true
59302
+ },
59303
+ {
59304
+ "kind": "method",
59305
+ "name": "start",
59306
+ "return": {
59307
+ "type": {
59308
+ "text": "void"
59309
+ }
59188
59310
  }
59189
59311
  },
59190
59312
  {
59191
- "name": "value",
59192
- "type": {
59193
- "text": "string | number"
59313
+ "kind": "method",
59314
+ "name": "stop",
59315
+ "return": {
59316
+ "type": {
59317
+ "text": "void"
59318
+ }
59194
59319
  }
59195
59320
  }
59196
59321
  ]
@@ -59199,26 +59324,18 @@
59199
59324
  "exports": [
59200
59325
  {
59201
59326
  "kind": "js",
59202
- "name": "dataserverCriteriaBuilder",
59203
- "declaration": {
59204
- "name": "dataserverCriteriaBuilder",
59205
- "module": "src/utils/options-datasource-utils.ts"
59206
- }
59207
- },
59208
- {
59209
- "kind": "js",
59210
- "name": "resolveByValueCriteriaBuilder",
59327
+ "name": "findScrollableAncestors",
59211
59328
  "declaration": {
59212
- "name": "resolveByValueCriteriaBuilder",
59213
- "module": "src/utils/options-datasource-utils.ts"
59329
+ "name": "findScrollableAncestors",
59330
+ "module": "src/utils/popover-position.ts"
59214
59331
  }
59215
59332
  },
59216
59333
  {
59217
59334
  "kind": "js",
59218
- "name": "requestServerCriteriaBuilder",
59335
+ "name": "AnchoredPopoverPositionTracker",
59219
59336
  "declaration": {
59220
- "name": "requestServerCriteriaBuilder",
59221
- "module": "src/utils/options-datasource-utils.ts"
59337
+ "name": "AnchoredPopoverPositionTracker",
59338
+ "module": "src/utils/popover-position.ts"
59222
59339
  }
59223
59340
  }
59224
59341
  ]
@@ -60120,6 +60237,541 @@
60120
60237
  }
60121
60238
  ]
60122
60239
  },
60240
+ {
60241
+ "kind": "javascript-module",
60242
+ "path": "src/vertical-dropdown-menu/index.ts",
60243
+ "declarations": [],
60244
+ "exports": [
60245
+ {
60246
+ "kind": "js",
60247
+ "name": "*",
60248
+ "declaration": {
60249
+ "name": "*",
60250
+ "package": "./vertical-dropdown-menu.styles"
60251
+ }
60252
+ },
60253
+ {
60254
+ "kind": "js",
60255
+ "name": "*",
60256
+ "declaration": {
60257
+ "name": "*",
60258
+ "package": "./vertical-dropdown-menu.template"
60259
+ }
60260
+ },
60261
+ {
60262
+ "kind": "js",
60263
+ "name": "*",
60264
+ "declaration": {
60265
+ "name": "*",
60266
+ "package": "./vertical-dropdown-menu"
60267
+ }
60268
+ }
60269
+ ]
60270
+ },
60271
+ {
60272
+ "kind": "javascript-module",
60273
+ "path": "src/vertical-dropdown-menu/vertical-dropdown-menu.styles.ts",
60274
+ "declarations": [
60275
+ {
60276
+ "kind": "function",
60277
+ "name": "verticalDropdownMenuBaseStyles",
60278
+ "return": {
60279
+ "type": {
60280
+ "text": "ElementStyles"
60281
+ }
60282
+ },
60283
+ "parameters": [
60284
+ {
60285
+ "name": "context",
60286
+ "type": {
60287
+ "text": "ElementDefinitionContext"
60288
+ }
60289
+ },
60290
+ {
60291
+ "name": "definition",
60292
+ "type": {
60293
+ "text": "FoundationElementDefinition"
60294
+ }
60295
+ }
60296
+ ]
60297
+ },
60298
+ {
60299
+ "kind": "function",
60300
+ "name": "foundationVerticalDropdownMenuStyles",
60301
+ "return": {
60302
+ "type": {
60303
+ "text": "ElementStyles"
60304
+ }
60305
+ },
60306
+ "parameters": [
60307
+ {
60308
+ "name": "context",
60309
+ "type": {
60310
+ "text": "ElementDefinitionContext"
60311
+ }
60312
+ },
60313
+ {
60314
+ "name": "definition",
60315
+ "type": {
60316
+ "text": "FoundationElementDefinition"
60317
+ }
60318
+ }
60319
+ ]
60320
+ }
60321
+ ],
60322
+ "exports": [
60323
+ {
60324
+ "kind": "js",
60325
+ "name": "verticalDropdownMenuBaseStyles",
60326
+ "declaration": {
60327
+ "name": "verticalDropdownMenuBaseStyles",
60328
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.styles.ts"
60329
+ }
60330
+ },
60331
+ {
60332
+ "kind": "js",
60333
+ "name": "foundationVerticalDropdownMenuStyles",
60334
+ "declaration": {
60335
+ "name": "foundationVerticalDropdownMenuStyles",
60336
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.styles.ts"
60337
+ }
60338
+ }
60339
+ ]
60340
+ },
60341
+ {
60342
+ "kind": "javascript-module",
60343
+ "path": "src/vertical-dropdown-menu/vertical-dropdown-menu.template.ts",
60344
+ "declarations": [
60345
+ {
60346
+ "kind": "function",
60347
+ "name": "verticalDropdownMenuTemplate",
60348
+ "parameters": [
60349
+ {
60350
+ "name": "prefix",
60351
+ "type": {
60352
+ "text": "string"
60353
+ }
60354
+ }
60355
+ ]
60356
+ },
60357
+ {
60358
+ "kind": "variable",
60359
+ "name": "foundationVerticalDropdownMenuTemplate",
60360
+ "type": {
60361
+ "text": "ViewTemplate<VerticalDropdownMenu>"
60362
+ },
60363
+ "default": "html`\n <div class=\"vertical-dropdown-menu-container\" part=\"vertical-dropdown-menu-container\">\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
60364
+ }
60365
+ ],
60366
+ "exports": [
60367
+ {
60368
+ "kind": "js",
60369
+ "name": "verticalDropdownMenuTemplate",
60370
+ "declaration": {
60371
+ "name": "verticalDropdownMenuTemplate",
60372
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.template.ts"
60373
+ }
60374
+ },
60375
+ {
60376
+ "kind": "js",
60377
+ "name": "foundationVerticalDropdownMenuTemplate",
60378
+ "declaration": {
60379
+ "name": "foundationVerticalDropdownMenuTemplate",
60380
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.template.ts"
60381
+ }
60382
+ }
60383
+ ]
60384
+ },
60385
+ {
60386
+ "kind": "javascript-module",
60387
+ "path": "src/vertical-dropdown-menu/vertical-dropdown-menu.ts",
60388
+ "declarations": [
60389
+ {
60390
+ "kind": "class",
60391
+ "description": "The Vertical Dropdown Menu component.",
60392
+ "name": "VerticalDropdownMenu",
60393
+ "members": [
60394
+ {
60395
+ "kind": "field",
60396
+ "name": "items",
60397
+ "type": {
60398
+ "text": "VerticalDropdownMenuItem[] | ((rowData: any) => VerticalDropdownMenuItem[])"
60399
+ }
60400
+ },
60401
+ {
60402
+ "kind": "field",
60403
+ "name": "definition",
60404
+ "type": {
60405
+ "text": "any"
60406
+ }
60407
+ },
60408
+ {
60409
+ "kind": "field",
60410
+ "name": "classNames",
60411
+ "type": {
60412
+ "text": "string"
60413
+ }
60414
+ },
60415
+ {
60416
+ "kind": "field",
60417
+ "name": "open",
60418
+ "type": {
60419
+ "text": "boolean"
60420
+ },
60421
+ "default": "false"
60422
+ },
60423
+ {
60424
+ "kind": "field",
60425
+ "name": "iconName",
60426
+ "type": {
60427
+ "text": "string"
60428
+ },
60429
+ "default": "'ellipsis-vertical'"
60430
+ },
60431
+ {
60432
+ "kind": "field",
60433
+ "name": "buttonAppearance",
60434
+ "type": {
60435
+ "text": "string"
60436
+ }
60437
+ },
60438
+ {
60439
+ "kind": "field",
60440
+ "name": "autoCloseOnAction",
60441
+ "type": {
60442
+ "text": "boolean"
60443
+ },
60444
+ "default": "true"
60445
+ },
60446
+ {
60447
+ "kind": "field",
60448
+ "name": "hideDisabled",
60449
+ "type": {
60450
+ "text": "boolean"
60451
+ },
60452
+ "default": "false"
60453
+ },
60454
+ {
60455
+ "kind": "field",
60456
+ "name": "menuOpener",
60457
+ "type": {
60458
+ "text": "HTMLElement"
60459
+ }
60460
+ },
60461
+ {
60462
+ "kind": "field",
60463
+ "name": "dropdownMenu",
60464
+ "type": {
60465
+ "text": "HTMLElement"
60466
+ }
60467
+ },
60468
+ {
60469
+ "kind": "field",
60470
+ "name": "positionTracker",
60471
+ "type": {
60472
+ "text": "AnchoredPopoverPositionTracker | undefined"
60473
+ },
60474
+ "privacy": "private"
60475
+ },
60476
+ {
60477
+ "kind": "method",
60478
+ "name": "definitionChanged",
60479
+ "privacy": "protected",
60480
+ "parameters": [
60481
+ {
60482
+ "name": "oldValue",
60483
+ "type": {
60484
+ "text": "any"
60485
+ }
60486
+ },
60487
+ {
60488
+ "name": "newValue",
60489
+ "type": {
60490
+ "text": "any"
60491
+ }
60492
+ }
60493
+ ]
60494
+ },
60495
+ {
60496
+ "kind": "method",
60497
+ "name": "openChanged",
60498
+ "privacy": "protected"
60499
+ },
60500
+ {
60501
+ "kind": "method",
60502
+ "name": "updateMenuPosition",
60503
+ "privacy": "private"
60504
+ },
60505
+ {
60506
+ "kind": "method",
60507
+ "name": "startTrackingPosition",
60508
+ "privacy": "private"
60509
+ },
60510
+ {
60511
+ "kind": "method",
60512
+ "name": "stopTrackingPosition",
60513
+ "privacy": "private"
60514
+ },
60515
+ {
60516
+ "kind": "method",
60517
+ "name": "toggleVisibility"
60518
+ },
60519
+ {
60520
+ "kind": "method",
60521
+ "name": "onPopoverToggle",
60522
+ "parameters": [
60523
+ {
60524
+ "name": "event",
60525
+ "type": {
60526
+ "text": "Event"
60527
+ }
60528
+ }
60529
+ ],
60530
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape)\ncloses the popover without going through `toggleVisibility()`."
60531
+ },
60532
+ {
60533
+ "kind": "method",
60534
+ "name": "onItemClick",
60535
+ "parameters": [
60536
+ {
60537
+ "name": "callback",
60538
+ "type": {
60539
+ "text": "(rowData: any) => void | any"
60540
+ }
60541
+ }
60542
+ ]
60543
+ },
60544
+ {
60545
+ "kind": "field",
60546
+ "name": "rowData",
60547
+ "readonly": true
60548
+ },
60549
+ {
60550
+ "kind": "field",
60551
+ "name": "resolvedItems",
60552
+ "type": {
60553
+ "text": "VerticalDropdownMenuItem[]"
60554
+ },
60555
+ "readonly": true
60556
+ },
60557
+ {
60558
+ "kind": "field",
60559
+ "name": "visibleItems",
60560
+ "type": {
60561
+ "text": "VerticalDropdownMenuItem[]"
60562
+ },
60563
+ "readonly": true
60564
+ },
60565
+ {
60566
+ "kind": "method",
60567
+ "name": "getLabel",
60568
+ "parameters": [
60569
+ {
60570
+ "name": "label",
60571
+ "type": {
60572
+ "text": "string | ((rowData: any) => string)"
60573
+ }
60574
+ }
60575
+ ]
60576
+ },
60577
+ {
60578
+ "kind": "method",
60579
+ "name": "getTemplate",
60580
+ "parameters": [
60581
+ {
60582
+ "name": "prefix",
60583
+ "type": {
60584
+ "text": "string"
60585
+ }
60586
+ }
60587
+ ]
60588
+ },
60589
+ {
60590
+ "kind": "field",
60591
+ "name": "_presentation",
60592
+ "type": {
60593
+ "text": "ComponentPresentation | null | undefined"
60594
+ },
60595
+ "privacy": "private",
60596
+ "default": "void 0",
60597
+ "inheritedFrom": {
60598
+ "name": "FoundationElement",
60599
+ "module": "src/foundation-element/foundation-element.ts"
60600
+ }
60601
+ },
60602
+ {
60603
+ "kind": "field",
60604
+ "name": "$presentation",
60605
+ "type": {
60606
+ "text": "ComponentPresentation | null"
60607
+ },
60608
+ "privacy": "public",
60609
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
60610
+ "inheritedFrom": {
60611
+ "name": "FoundationElement",
60612
+ "module": "src/foundation-element/foundation-element.ts"
60613
+ }
60614
+ },
60615
+ {
60616
+ "kind": "field",
60617
+ "name": "template",
60618
+ "type": {
60619
+ "text": "ElementViewTemplate | void | null"
60620
+ },
60621
+ "privacy": "public",
60622
+ "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.",
60623
+ "inheritedFrom": {
60624
+ "name": "FoundationElement",
60625
+ "module": "src/foundation-element/foundation-element.ts"
60626
+ }
60627
+ },
60628
+ {
60629
+ "kind": "method",
60630
+ "name": "templateChanged",
60631
+ "privacy": "protected",
60632
+ "return": {
60633
+ "type": {
60634
+ "text": "void"
60635
+ }
60636
+ },
60637
+ "inheritedFrom": {
60638
+ "name": "FoundationElement",
60639
+ "module": "src/foundation-element/foundation-element.ts"
60640
+ }
60641
+ },
60642
+ {
60643
+ "kind": "field",
60644
+ "name": "styles",
60645
+ "type": {
60646
+ "text": "ElementStyles | void | null"
60647
+ },
60648
+ "privacy": "public",
60649
+ "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.",
60650
+ "inheritedFrom": {
60651
+ "name": "FoundationElement",
60652
+ "module": "src/foundation-element/foundation-element.ts"
60653
+ }
60654
+ },
60655
+ {
60656
+ "kind": "method",
60657
+ "name": "stylesChanged",
60658
+ "privacy": "protected",
60659
+ "return": {
60660
+ "type": {
60661
+ "text": "void"
60662
+ }
60663
+ },
60664
+ "inheritedFrom": {
60665
+ "name": "FoundationElement",
60666
+ "module": "src/foundation-element/foundation-element.ts"
60667
+ }
60668
+ },
60669
+ {
60670
+ "kind": "method",
60671
+ "name": "compose",
60672
+ "privacy": "public",
60673
+ "static": true,
60674
+ "return": {
60675
+ "type": {
60676
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
60677
+ }
60678
+ },
60679
+ "parameters": [
60680
+ {
60681
+ "name": "this",
60682
+ "type": {
60683
+ "text": "K"
60684
+ }
60685
+ },
60686
+ {
60687
+ "name": "elementDefinition",
60688
+ "type": {
60689
+ "text": "T"
60690
+ },
60691
+ "description": "The definition of the element to create the registry\nfunction for."
60692
+ }
60693
+ ],
60694
+ "description": "Defines an element registry function with a set of element definition defaults.",
60695
+ "inheritedFrom": {
60696
+ "name": "FoundationElement",
60697
+ "module": "src/foundation-element/foundation-element.ts"
60698
+ }
60699
+ }
60700
+ ],
60701
+ "attributes": [
60702
+ {
60703
+ "name": "open",
60704
+ "type": {
60705
+ "text": "boolean"
60706
+ },
60707
+ "default": "false",
60708
+ "fieldName": "open"
60709
+ },
60710
+ {
60711
+ "name": "icon-name",
60712
+ "type": {
60713
+ "text": "string"
60714
+ },
60715
+ "default": "'ellipsis-vertical'",
60716
+ "fieldName": "iconName"
60717
+ },
60718
+ {
60719
+ "name": "buttonAppearance",
60720
+ "type": {
60721
+ "text": "string"
60722
+ },
60723
+ "fieldName": "buttonAppearance"
60724
+ },
60725
+ {
60726
+ "name": "auto-close-on-action",
60727
+ "type": {
60728
+ "text": "boolean"
60729
+ },
60730
+ "default": "true",
60731
+ "fieldName": "autoCloseOnAction"
60732
+ },
60733
+ {
60734
+ "name": "hide-disabled",
60735
+ "type": {
60736
+ "text": "boolean"
60737
+ },
60738
+ "default": "false",
60739
+ "fieldName": "hideDisabled"
60740
+ }
60741
+ ],
60742
+ "superclass": {
60743
+ "name": "FoundationElement",
60744
+ "package": "@microsoft/fast-foundation"
60745
+ },
60746
+ "tagName": "%%prefix%%-vertical-dropdown-menu",
60747
+ "customElement": true
60748
+ },
60749
+ {
60750
+ "kind": "variable",
60751
+ "name": "foundationVerticalDropdownMenu",
60752
+ "description": "The Foundation Vertical Dropdown Menu",
60753
+ "privacy": "public"
60754
+ }
60755
+ ],
60756
+ "exports": [
60757
+ {
60758
+ "kind": "js",
60759
+ "name": "VerticalDropdownMenu",
60760
+ "declaration": {
60761
+ "name": "VerticalDropdownMenu",
60762
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.ts"
60763
+ }
60764
+ },
60765
+ {
60766
+ "kind": "js",
60767
+ "name": "foundationVerticalDropdownMenu",
60768
+ "declaration": {
60769
+ "name": "foundationVerticalDropdownMenu",
60770
+ "module": "src/vertical-dropdown-menu/vertical-dropdown-menu.ts"
60771
+ }
60772
+ }
60773
+ ]
60774
+ },
60123
60775
  {
60124
60776
  "kind": "javascript-module",
60125
60777
  "path": "src/_config/styles/colors.ts",