@patternfly/react-core 5.0.0-alpha.61 → 5.0.0-alpha.63
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.
- package/CHANGELOG.md +10 -0
- package/dist/esm/components/CalendarMonth/CalendarMonth.d.ts.map +1 -1
- package/dist/esm/components/CalendarMonth/CalendarMonth.js +9 -11
- package/dist/esm/components/CalendarMonth/CalendarMonth.js.map +1 -1
- package/dist/esm/components/DualListSelector/DualListSelectorControl.d.ts +1 -1
- package/dist/esm/components/Menu/MenuItem.d.ts +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.d.ts.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js +3 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/esm/components/Select/Select.d.ts +26 -192
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js +51 -935
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Select/SelectGroup.d.ts +7 -8
- package/dist/esm/components/Select/SelectGroup.d.ts.map +1 -1
- package/dist/esm/components/Select/SelectGroup.js +4 -7
- package/dist/esm/components/Select/SelectGroup.js.map +1 -1
- package/dist/{js/next → esm}/components/Select/SelectList.d.ts +1 -1
- package/dist/esm/components/Select/SelectList.d.ts.map +1 -0
- package/dist/esm/{next/components → components}/Select/SelectList.js +1 -1
- package/dist/esm/components/Select/SelectList.js.map +1 -0
- package/dist/esm/components/Select/SelectOption.d.ts +13 -66
- package/dist/esm/components/Select/SelectOption.d.ts.map +1 -1
- package/dist/esm/components/Select/SelectOption.js +6 -192
- package/dist/esm/components/Select/SelectOption.js.map +1 -1
- package/dist/esm/components/Select/index.d.ts +1 -1
- package/dist/esm/components/Select/index.d.ts.map +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/Select/index.js.map +1 -1
- package/dist/esm/deprecated/components/Select/Select.d.ts +199 -0
- package/dist/esm/deprecated/components/Select/Select.d.ts.map +1 -0
- package/dist/esm/deprecated/components/Select/Select.js +940 -0
- package/dist/esm/deprecated/components/Select/Select.js.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectGroup.d.ts +13 -0
- package/dist/esm/deprecated/components/Select/SelectGroup.d.ts.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectGroup.js +13 -0
- package/dist/esm/deprecated/components/Select/SelectGroup.js.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectMenu.d.ts.map +1 -0
- package/dist/esm/{components → deprecated/components}/Select/SelectMenu.js +1 -1
- package/dist/esm/deprecated/components/Select/SelectMenu.js.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectOption.d.ts +73 -0
- package/dist/esm/deprecated/components/Select/SelectOption.d.ts.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectOption.js +196 -0
- package/dist/esm/deprecated/components/Select/SelectOption.js.map +1 -0
- package/dist/esm/deprecated/components/Select/SelectToggle.d.ts.map +1 -0
- package/dist/esm/{components → deprecated/components}/Select/SelectToggle.js +2 -2
- package/dist/esm/deprecated/components/Select/SelectToggle.js.map +1 -0
- package/dist/esm/{next → deprecated}/components/Select/index.d.ts +1 -1
- package/dist/esm/deprecated/components/Select/index.d.ts.map +1 -0
- package/dist/esm/{next → deprecated}/components/Select/index.js +1 -1
- package/dist/esm/deprecated/components/Select/index.js.map +1 -0
- package/dist/esm/deprecated/components/Select/selectConstants.d.ts.map +1 -0
- package/dist/esm/deprecated/components/Select/selectConstants.js.map +1 -0
- package/dist/esm/deprecated/components/index.d.ts +1 -0
- package/dist/esm/deprecated/components/index.d.ts.map +1 -1
- package/dist/esm/deprecated/components/index.js +1 -0
- package/dist/esm/deprecated/components/index.js.map +1 -1
- package/dist/esm/next/components/index.d.ts +0 -1
- package/dist/esm/next/components/index.d.ts.map +1 -1
- package/dist/esm/next/components/index.js +0 -1
- package/dist/esm/next/components/index.js.map +1 -1
- package/dist/js/components/CalendarMonth/CalendarMonth.d.ts.map +1 -1
- package/dist/js/components/CalendarMonth/CalendarMonth.js +8 -10
- package/dist/js/components/CalendarMonth/CalendarMonth.js.map +1 -1
- package/dist/js/components/DualListSelector/DualListSelectorControl.d.ts +1 -1
- package/dist/js/components/Menu/MenuItem.d.ts +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.d.ts.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.js +3 -1
- package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/js/components/Select/Select.d.ts +26 -192
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.js +51 -936
- package/dist/js/components/Select/Select.js.map +1 -1
- package/dist/js/components/Select/SelectGroup.d.ts +7 -8
- package/dist/js/components/Select/SelectGroup.d.ts.map +1 -1
- package/dist/js/components/Select/SelectGroup.js +4 -7
- package/dist/js/components/Select/SelectGroup.js.map +1 -1
- package/dist/{esm/next → js}/components/Select/SelectList.d.ts +1 -1
- package/dist/js/components/Select/SelectList.d.ts.map +1 -0
- package/dist/js/{next/components → components}/Select/SelectList.js +1 -1
- package/dist/js/components/Select/SelectList.js.map +1 -0
- package/dist/js/components/Select/SelectOption.d.ts +13 -66
- package/dist/js/components/Select/SelectOption.d.ts.map +1 -1
- package/dist/js/components/Select/SelectOption.js +7 -193
- package/dist/js/components/Select/SelectOption.js.map +1 -1
- package/dist/js/components/Select/index.d.ts +1 -1
- package/dist/js/components/Select/index.d.ts.map +1 -1
- package/dist/js/components/Select/index.js +1 -1
- package/dist/js/components/Select/index.js.map +1 -1
- package/dist/js/deprecated/components/Select/Select.d.ts +199 -0
- package/dist/js/deprecated/components/Select/Select.d.ts.map +1 -0
- package/dist/js/deprecated/components/Select/Select.js +944 -0
- package/dist/js/deprecated/components/Select/Select.js.map +1 -0
- package/dist/js/deprecated/components/Select/SelectGroup.d.ts +13 -0
- package/dist/js/deprecated/components/Select/SelectGroup.d.ts.map +1 -0
- package/dist/js/deprecated/components/Select/SelectGroup.js +17 -0
- package/dist/js/deprecated/components/Select/SelectGroup.js.map +1 -0
- package/dist/js/deprecated/components/Select/SelectMenu.d.ts.map +1 -0
- package/dist/js/{components → deprecated/components}/Select/SelectMenu.js +1 -1
- package/dist/js/deprecated/components/Select/SelectMenu.js.map +1 -0
- package/dist/js/deprecated/components/Select/SelectOption.d.ts +73 -0
- package/dist/js/deprecated/components/Select/SelectOption.d.ts.map +1 -0
- package/dist/js/deprecated/components/Select/SelectOption.js +200 -0
- package/dist/js/deprecated/components/Select/SelectOption.js.map +1 -0
- package/dist/js/deprecated/components/Select/SelectToggle.d.ts.map +1 -0
- package/dist/js/{components → deprecated/components}/Select/SelectToggle.js +2 -2
- package/dist/js/deprecated/components/Select/SelectToggle.js.map +1 -0
- package/dist/js/{next → deprecated}/components/Select/index.d.ts +1 -1
- package/dist/js/deprecated/components/Select/index.d.ts.map +1 -0
- package/dist/js/{next → deprecated}/components/Select/index.js +1 -1
- package/dist/js/deprecated/components/Select/index.js.map +1 -0
- package/dist/js/deprecated/components/Select/selectConstants.d.ts.map +1 -0
- package/dist/js/deprecated/components/Select/selectConstants.js.map +1 -0
- package/dist/js/deprecated/components/index.d.ts +1 -0
- package/dist/js/deprecated/components/index.d.ts.map +1 -1
- package/dist/js/deprecated/components/index.js +1 -0
- package/dist/js/deprecated/components/index.js.map +1 -1
- package/dist/js/next/components/index.d.ts +0 -1
- package/dist/js/next/components/index.d.ts.map +1 -1
- package/dist/js/next/components/index.js +0 -1
- package/dist/js/next/components/index.js.map +1 -1
- package/dist/umd/react-core.min.js +3 -3
- package/package.json +2 -2
- package/src/components/Alert/examples/Alert.md +5 -5
- package/src/components/Breadcrumb/examples/BreadcrumbBasic.tsx +1 -1
- package/src/components/Button/examples/ButtonVariations.tsx +4 -4
- package/src/components/CalendarMonth/CalendarMonth.tsx +25 -15
- package/src/components/Card/examples/CardBasic.tsx +1 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +22 -31
- package/src/components/Dropdown/examples/DropdownBasic.tsx +1 -0
- package/src/components/FormSelect/examples/FormSelectBasic.tsx +1 -1
- package/src/components/LoginPage/examples/LoginPageLanguageSelect.tsx +28 -19
- package/src/components/MenuToggle/MenuToggle.tsx +2 -1
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +18 -10
- package/src/components/Modal/examples/ModalBasic.tsx +2 -1
- package/src/components/Nav/examples/NavDefault.tsx +1 -1
- package/src/components/Pagination/examples/PaginationTop.tsx +1 -0
- package/src/components/Select/Select.tsx +113 -1475
- package/src/components/Select/SelectGroup.tsx +13 -25
- package/src/{next/components → components}/Select/SelectList.tsx +1 -1
- package/src/components/Select/SelectOption.tsx +22 -452
- package/src/components/Select/examples/Select.md +11 -2896
- package/src/{next/components → components}/Select/examples/SelectBasic.tsx +1 -2
- package/src/{next/components → components}/Select/examples/SelectCheckbox.tsx +1 -2
- package/src/{next/components → components}/Select/examples/SelectGrouped.tsx +1 -2
- package/src/{next/components → components}/Select/examples/SelectMultiTypeahead.tsx +4 -1
- package/src/{next/components → components}/Select/examples/SelectTypeahead.tsx +4 -1
- package/src/components/Select/index.ts +1 -1
- package/src/components/Switch/examples/SwitchBasic.tsx +1 -0
- package/src/components/Toolbar/__tests__/Toolbar.test.tsx +3 -21
- package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +12 -124
- package/src/components/Toolbar/examples/Toolbar.md +0 -1
- package/src/components/Toolbar/examples/ToolbarComponentManagedToggleGroups.tsx +59 -63
- package/src/components/Toolbar/examples/ToolbarConsumerManagedToggleGroups.tsx +58 -62
- package/src/components/Toolbar/examples/ToolbarCustomChipGroupContent.tsx +107 -23
- package/src/components/Toolbar/examples/ToolbarGroups.tsx +96 -59
- package/src/components/Toolbar/examples/ToolbarStacked.tsx +56 -39
- package/src/components/Toolbar/examples/ToolbarWithFilters.tsx +115 -28
- package/src/components/Tooltip/examples/TooltipOptions.tsx +53 -23
- package/src/demos/Card/Card.md +39 -23
- package/src/demos/CardDemos.md +99 -46
- package/src/demos/Toolbar.md +51 -21
- package/src/demos/examples/Tabs/TabsAndTable.tsx +5 -22
- package/src/deprecated/components/ContextSelector/examples/ContextSelectorBasic.tsx +1 -0
- package/src/deprecated/components/OptionsMenu/examples/OptionsMenu.md +2 -1
- package/src/deprecated/components/Select/Select.tsx +1495 -0
- package/src/deprecated/components/Select/SelectGroup.tsx +36 -0
- package/src/{components → deprecated/components}/Select/SelectMenu.tsx +2 -2
- package/src/deprecated/components/Select/SelectOption.tsx +461 -0
- package/src/{components → deprecated/components}/Select/SelectToggle.tsx +3 -3
- package/src/{components → deprecated/components}/Select/__tests__/Select.test.tsx +1 -1
- package/src/deprecated/components/Select/examples/Select.md +2937 -0
- package/src/{next → deprecated}/components/Select/index.ts +1 -1
- package/src/deprecated/components/index.ts +1 -0
- package/src/next/components/index.ts +0 -1
- package/dist/esm/components/Select/SelectMenu.d.ts.map +0 -1
- package/dist/esm/components/Select/SelectMenu.js.map +0 -1
- package/dist/esm/components/Select/SelectToggle.d.ts.map +0 -1
- package/dist/esm/components/Select/SelectToggle.js.map +0 -1
- package/dist/esm/components/Select/selectConstants.d.ts.map +0 -1
- package/dist/esm/components/Select/selectConstants.js.map +0 -1
- package/dist/esm/next/components/Select/Select.d.ts +0 -33
- package/dist/esm/next/components/Select/Select.d.ts.map +0 -1
- package/dist/esm/next/components/Select/Select.js +0 -56
- package/dist/esm/next/components/Select/Select.js.map +0 -1
- package/dist/esm/next/components/Select/SelectGroup.d.ts +0 -12
- package/dist/esm/next/components/Select/SelectGroup.d.ts.map +0 -1
- package/dist/esm/next/components/Select/SelectGroup.js +0 -10
- package/dist/esm/next/components/Select/SelectGroup.js.map +0 -1
- package/dist/esm/next/components/Select/SelectList.d.ts.map +0 -1
- package/dist/esm/next/components/Select/SelectList.js.map +0 -1
- package/dist/esm/next/components/Select/SelectOption.d.ts +0 -20
- package/dist/esm/next/components/Select/SelectOption.d.ts.map +0 -1
- package/dist/esm/next/components/Select/SelectOption.js +0 -10
- package/dist/esm/next/components/Select/SelectOption.js.map +0 -1
- package/dist/esm/next/components/Select/index.d.ts.map +0 -1
- package/dist/esm/next/components/Select/index.js.map +0 -1
- package/dist/js/components/Select/SelectMenu.d.ts.map +0 -1
- package/dist/js/components/Select/SelectMenu.js.map +0 -1
- package/dist/js/components/Select/SelectToggle.d.ts.map +0 -1
- package/dist/js/components/Select/SelectToggle.js.map +0 -1
- package/dist/js/components/Select/selectConstants.d.ts.map +0 -1
- package/dist/js/components/Select/selectConstants.js.map +0 -1
- package/dist/js/next/components/Select/Select.d.ts +0 -33
- package/dist/js/next/components/Select/Select.d.ts.map +0 -1
- package/dist/js/next/components/Select/Select.js +0 -59
- package/dist/js/next/components/Select/Select.js.map +0 -1
- package/dist/js/next/components/Select/SelectGroup.d.ts +0 -12
- package/dist/js/next/components/Select/SelectGroup.d.ts.map +0 -1
- package/dist/js/next/components/Select/SelectGroup.js +0 -14
- package/dist/js/next/components/Select/SelectGroup.js.map +0 -1
- package/dist/js/next/components/Select/SelectList.d.ts.map +0 -1
- package/dist/js/next/components/Select/SelectList.js.map +0 -1
- package/dist/js/next/components/Select/SelectOption.d.ts +0 -20
- package/dist/js/next/components/Select/SelectOption.d.ts.map +0 -1
- package/dist/js/next/components/Select/SelectOption.js +0 -14
- package/dist/js/next/components/Select/SelectOption.js.map +0 -1
- package/dist/js/next/components/Select/index.d.ts.map +0 -1
- package/dist/js/next/components/Select/index.js.map +0 -1
- package/src/next/components/Select/Select.tsx +0 -133
- package/src/next/components/Select/SelectGroup.tsx +0 -24
- package/src/next/components/Select/SelectOption.tsx +0 -31
- package/src/next/components/Select/examples/Select.md +0 -38
- /package/dist/esm/{components → deprecated/components}/Select/SelectMenu.d.ts +0 -0
- /package/dist/esm/{components → deprecated/components}/Select/SelectToggle.d.ts +0 -0
- /package/dist/esm/{components → deprecated/components}/Select/selectConstants.d.ts +0 -0
- /package/dist/esm/{components → deprecated/components}/Select/selectConstants.js +0 -0
- /package/dist/js/{components → deprecated/components}/Select/SelectMenu.d.ts +0 -0
- /package/dist/js/{components → deprecated/components}/Select/SelectToggle.d.ts +0 -0
- /package/dist/js/{components → deprecated/components}/Select/selectConstants.d.ts +0 -0
- /package/dist/js/{components → deprecated/components}/Select/selectConstants.js +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/SelectGroup.test.tsx +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/SelectOption.test.tsx +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/SelectToggle.test.tsx +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/__snapshots__/Select.test.tsx.snap +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +0 -0
- /package/src/{components → deprecated/components}/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +0 -0
- /package/src/{components → deprecated/components}/Select/selectConstants.tsx +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.0-alpha.63](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.62...@patternfly/react-core@5.0.0-alpha.63) (2023-04-11)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **Select:** Deprecated old select and promoted select next ([#8825](https://github.com/patternfly/patternfly-react/issues/8825)) ([6fd4eeb](https://github.com/patternfly/patternfly-react/commit/6fd4eeb85fbe88ab427737138470226f38442318))
|
|
11
|
+
|
|
12
|
+
# [5.0.0-alpha.62](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.61...@patternfly/react-core@5.0.0-alpha.62) (2023-04-11)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @patternfly/react-core
|
|
15
|
+
|
|
6
16
|
# [5.0.0-alpha.61](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.0-alpha.60...@patternfly/react-core@5.0.0-alpha.61) (2023-04-11)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarMonth.d.ts","sourceRoot":"","sources":["../../../../src/components/CalendarMonth/CalendarMonth.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CalendarMonth.d.ts","sourceRoot":"","sources":["../../../../src/components/CalendarMonth/CalendarMonth.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,oBAAY,OAAO;IACjB,MAAM,IAAI;IACV,MAAM,IAAA;IACN,OAAO,IAAA;IACP,SAAS,IAAA;IACT,QAAQ,IAAA;IACR,MAAM,IAAA;IACN,QAAQ,IAAA;CACT;AAED,MAAM,WAAW,wBAAwB;IACvC,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;IACxC,6GAA6G;IAC7G,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,yFAAyF;IACzF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;IACpD,4CAA4C;IAC5C,WAAW,CAAC,EAAE,CAA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I,CAAC;IACzC,gEAAgE;IAChE,UAAU,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,EAAE,CAAC;CAC1C;AA2CD,yCAAyC;AAEzC,eAAO,MAAM,aAAa;mSAqBvB,aAAa;;CAiRf,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
|
-
import { TextInput } from '../TextInput
|
|
4
|
-
import { Button } from '../Button
|
|
5
|
-
import { Select, SelectOption } from '../Select';
|
|
3
|
+
import { TextInput } from '../TextInput';
|
|
4
|
+
import { Button } from '../Button';
|
|
5
|
+
import { Select, SelectList, SelectOption } from '../Select';
|
|
6
|
+
import { MenuToggle } from '../MenuToggle';
|
|
6
7
|
import { InputGroup } from '../InputGroup';
|
|
7
8
|
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
|
|
8
9
|
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
|
|
@@ -161,13 +162,9 @@ export const CalendarMonth = (_a) => {
|
|
|
161
162
|
React.createElement(InputGroup, null,
|
|
162
163
|
React.createElement("div", { className: styles.calendarMonthHeaderMonth },
|
|
163
164
|
React.createElement("span", { id: hiddenMonthId, hidden: true }, "Month"),
|
|
164
|
-
React.createElement(Select
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
// Max width with "September"
|
|
168
|
-
width: "140px", "aria-labelledby": hiddenMonthId, isOpen: isSelectOpen, onToggle: () => {
|
|
169
|
-
setIsSelectOpen(!isSelectOpen);
|
|
170
|
-
onSelectToggle(!isSelectOpen);
|
|
165
|
+
React.createElement(Select, { toggle: (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, onClick: () => setIsSelectOpen(!isSelectOpen), isExpanded: isSelectOpen, style: { width: "140px" } }, monthFormatted)), "aria-labelledby": hiddenMonthId, isOpen: isSelectOpen, onOpenChange: (isOpen) => {
|
|
166
|
+
setIsSelectOpen(isOpen);
|
|
167
|
+
onSelectToggle(isOpen);
|
|
171
168
|
}, onSelect: (ev, monthNum) => {
|
|
172
169
|
// When we put CalendarMonth in a Popover we want the Popover's onDocumentClick
|
|
173
170
|
// to see the SelectOption as a child so it doesn't close the Popover.
|
|
@@ -181,7 +178,8 @@ export const CalendarMonth = (_a) => {
|
|
|
181
178
|
setShouldFocus(false);
|
|
182
179
|
onMonthChange(ev, newDate);
|
|
183
180
|
}, 0);
|
|
184
|
-
},
|
|
181
|
+
}, selected: monthFormatted },
|
|
182
|
+
React.createElement(SelectList, null, longMonths.map((longMonth, index) => (React.createElement(SelectOption, { key: index, itemId: index, isSelected: longMonth === monthFormatted }, longMonth)))))),
|
|
185
183
|
React.createElement("div", { className: styles.calendarMonthHeaderYear },
|
|
186
184
|
React.createElement(TextInput, { "aria-label": yearInputAriaLabel, type: "number", value: yearFormatted, onChange: (year, ev) => {
|
|
187
185
|
const newDate = new Date(focusedDate);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarMonth.js","sourceRoot":"","sources":["../../../../src/components/CalendarMonth/CalendarMonth.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,cAAc,MAAM,yDAAyD,CAAC;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,MAAM,sEAAsE,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO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AE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,EACvC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5B,QAAQ,EAAE,CAAC,OAAO,gBAEhB,aAAa;4BACX,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC;4BACrB,CAAC,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,IAE/D,CAAC,SAAS,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,GAEnC,YAAY,CACN,CACN,CACN,CAAC;YACJ,CAAC,CAAC,CACC,CACN,CAAC,CACI,CACF,CACJ,CACP,CAAC;IAEF,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,MAAM,SAAS,GAAG,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAQ,CAAC;QACrF,OAAO,CACL,oBAAC,SAAS,oBAAK,CAAC,WAAW,CAAC,cAAc,IAAI,EAAE,iBAAiB,EAAE,WAAW,CAAC,cAAc,EAAE,CAAC;YAC7F,WAAW,CAAC,KAAK;YACjB,gBAAgB,CACP,CACb,CAAC;KACH;IACD,OAAO,gBAAgB,CAAC;AAC1B,CAAC,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -21,5 +21,5 @@ export interface DualListSelectorControlProps extends Omit<React.HTMLProps<HTMLD
|
|
|
21
21
|
tooltipProps?: any;
|
|
22
22
|
}
|
|
23
23
|
export declare const DualListSelectorControlBase: React.FunctionComponent<DualListSelectorControlProps>;
|
|
24
|
-
export declare const DualListSelectorControl: React.ForwardRefExoticComponent<Pick<DualListSelectorControlProps, "children" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerRef" | "isDisabled" | "
|
|
24
|
+
export declare const DualListSelectorControl: React.ForwardRefExoticComponent<Pick<DualListSelectorControlProps, "children" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerRef" | "isDisabled" | "tooltipContent" | "tooltipProps"> & React.RefAttributes<any>>;
|
|
25
25
|
//# sourceMappingURL=DualListSelectorControl.d.ts.map
|
|
@@ -57,5 +57,5 @@ export interface MenuItemProps extends Omit<React.HTMLProps<HTMLLIElement>, 'onC
|
|
|
57
57
|
/** Sets the id attribute on the menu item component. */
|
|
58
58
|
id?: string;
|
|
59
59
|
}
|
|
60
|
-
export declare const MenuItem: React.ForwardRefExoticComponent<Pick<MenuItemProps, "children" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerRef" | "direction" | "icon" | "to" | "component" | "isActive" | "isDisabled" | "isLoading" | "isDanger" | "actions" | "description" | "
|
|
60
|
+
export declare const MenuItem: React.ForwardRefExoticComponent<Pick<MenuItemProps, "children" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "innerRef" | "direction" | "icon" | "to" | "component" | "isActive" | "isDisabled" | "isLoading" | "isDanger" | "actions" | "description" | "isFavorited" | "itemId" | "hasCheckbox" | "isLoadButton" | "flyoutMenu" | "isExternalLink" | "isSelected" | "isFocused" | "onShowFlyout" | "drilldownMenu" | "isOnPath"> & React.RefAttributes<any>>;
|
|
61
61
|
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuToggle.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,oBAAY,iBAAiB,GAAG,cAAc,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC,8GAA8G;IAC9G,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACzB,qCAAqC;IACrC,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;CACjC;AAED,MAAM,WAAW,eACf,SAAQ,IAAI,CACV,KAAK,CAAC,iBAAiB,CACrB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpF,iBAAiB,CAClB,EACD,KAAK,CACN;IACD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gDAAgD;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,wCAAwC;IACxC,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IACpF,4EAA4E;IAC5E,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC;IACrC,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACzC;AAED,qBAAa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC;IAClE,WAAW,SAAoB;IAC/B,MAAM,CAAC,YAAY,EAAE,eAAe,CAMlC;IAEF,MAAM;CAqHP;AAED,eAAO,MAAM,UAAU,2FAErB,CAAC"}
|
|
@@ -3,6 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-toggle';
|
|
4
4
|
import { css } from '@patternfly/react-styles';
|
|
5
5
|
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
|
|
6
|
+
import { Icon } from '../Icon';
|
|
6
7
|
export class MenuToggleBase extends React.Component {
|
|
7
8
|
constructor() {
|
|
8
9
|
super(...arguments);
|
|
@@ -17,7 +18,8 @@ export class MenuToggleBase extends React.Component {
|
|
|
17
18
|
React.createElement("span", { className: css(styles.menuToggleToggleIcon) },
|
|
18
19
|
React.createElement(CaretDownIcon, { "aria-hidden": true }))));
|
|
19
20
|
const content = (React.createElement(React.Fragment, null,
|
|
20
|
-
icon && React.createElement("span", { className: css(styles.menuToggleIcon) },
|
|
21
|
+
icon && React.createElement("span", { className: css(styles.menuToggleIcon) },
|
|
22
|
+
React.createElement(Icon, null, icon)),
|
|
21
23
|
isTypeahead ? children : React.createElement("span", { className: css(styles.menuToggleText) }, children),
|
|
22
24
|
React.isValidElement(badge) && React.createElement("span", { className: css(styles.menuToggleCount) }, badge),
|
|
23
25
|
isTypeahead ? (React.createElement("button", { type: "button", className: css(styles.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": "Menu toggle" }, toggleControls)) : (toggleControls)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,aAAa,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,gEAAgE,CAAC;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AA2C/B,MAAM,OAAO,cAAe,SAAQ,KAAK,CAAC,SAA0B;IAApE;;QACE,gBAAW,GAAG,gBAAgB,CAAC;IA8HjC,CAAC;IArHC,MAAM;QACJ,MAAM,KAeF,IAAI,CAAC,KAAK,EAfR,EACJ,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,KAAK,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,QAAQ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AC;SACH;QAED,OAAO,CACL,8CACE,SAAS,EAAE,GAAG,CAAC,YAAY,CAAC,EAC5B,IAAI,EAAC,QAAQ,gBACD,SAAS,mBACN,UAAU,EACzB,GAAG,EAAE,QAAwC,EAC7C,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,OAAO,IACZ,cAAc,EAClB,CACH,CAAC;IACJ,CAAC;;AA5HM,2BAAY,GAAoB;IACrC,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,KAAK;IACjB,UAAU,EAAE,KAAK;IACjB,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,KAAK;CACpB,CAAC;AAyHJ,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAsB,EAAE,GAAiC,EAAE,EAAE,CAAC,CACxG,oBAAC,cAAc,kBAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,CAC7C,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -1,199 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/** Callback for when the view more button is clicked */
|
|
10
|
-
onClick: (event: React.MouseEvent | React.ChangeEvent) => void;
|
|
11
|
-
}
|
|
12
|
-
export interface SelectProps extends Omit<React.HTMLProps<HTMLDivElement>, 'onSelect' | 'ref' | 'checked' | 'selected'>, OUIAProps {
|
|
13
|
-
/** Content rendered inside the Select. Must be React.ReactElement<SelectGroupProps>[] */
|
|
14
|
-
children?: React.ReactElement[];
|
|
15
|
-
/** Classes applied to the root of the Select */
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MenuProps } from '../Menu';
|
|
3
|
+
import { PopperProps } from '../../helpers/Popper/Popper';
|
|
4
|
+
import { OUIAProps } from '../../helpers';
|
|
5
|
+
export interface SelectProps extends MenuProps, OUIAProps {
|
|
6
|
+
/** Anything which can be rendered in a select */
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/** Classes applied to root element of select */
|
|
16
9
|
className?: string;
|
|
17
|
-
/** Indicates where menu will be aligned horizontally */
|
|
18
|
-
position?: SelectPosition | 'right' | 'left';
|
|
19
|
-
/** Flag specifying which direction the Select menu expands */
|
|
20
|
-
direction?: 'up' | 'down';
|
|
21
10
|
/** Flag to indicate if select is open */
|
|
22
11
|
isOpen?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
/**
|
|
12
|
+
/** Single itemId for single select menus, or array of itemIds for multi select. You can also specify isSelected on the SelectOption. */
|
|
13
|
+
selected?: any | any[];
|
|
14
|
+
/** Renderer for a custom select toggle. Forwards a ref to the toggle. */
|
|
15
|
+
toggle: (toggleRef: React.RefObject<any>) => React.ReactNode;
|
|
16
|
+
/** Function callback when user selects an option. */
|
|
17
|
+
onSelect?: (event?: React.MouseEvent<Element, MouseEvent>, itemId?: string | number) => void;
|
|
18
|
+
/** Callback to allow the select component to change the open state of the menu.
|
|
19
|
+
* Triggered by clicking outside of the menu, or by pressing either tab or escape. */
|
|
20
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
21
|
+
/** Indicates if the select should be without the outer box-shadow */
|
|
26
22
|
isPlain?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
isCreatable?: boolean;
|
|
31
|
-
/** Flag to indicate if create option should be at top of typeahead */
|
|
32
|
-
isCreateOptionOnTop?: boolean;
|
|
33
|
-
/** Flag indicating if placeholder styles should be applied */
|
|
34
|
-
hasPlaceholderStyle?: boolean;
|
|
35
|
-
/** Flag indicating if the creatable option should set its value as a SelectOptionObject */
|
|
36
|
-
isCreateSelectOptionObject?: boolean;
|
|
37
|
-
/** Value to indicate if the select is modified to show that validation state.
|
|
38
|
-
* If set to success, select will be modified to indicate valid state.
|
|
39
|
-
* If set to error, select will be modified to indicate error state.
|
|
40
|
-
* If set to warning, select will be modified to indicate warning state.
|
|
41
|
-
*/
|
|
42
|
-
validated?: 'success' | 'warning' | 'error' | 'default';
|
|
43
|
-
/** Loading variant to display either the spinner or the view more text button */
|
|
44
|
-
loadingVariant?: 'spinner' | SelectViewMoreObject;
|
|
45
|
-
/** Text displayed in typeahead select to prompt the user to create an item */
|
|
46
|
-
createText?: string;
|
|
47
|
-
/** Title text of Select */
|
|
48
|
-
placeholderText?: string | React.ReactNode;
|
|
49
|
-
/** Text to display in typeahead select when no results are found */
|
|
50
|
-
noResultsFoundText?: string;
|
|
51
|
-
/** Array of selected items for multi select variants. */
|
|
52
|
-
selections?: string | SelectOptionObject | (string | SelectOptionObject)[];
|
|
53
|
-
/** Flag indicating if selection badge should be hidden for checkbox variant,default false */
|
|
54
|
-
isCheckboxSelectionBadgeHidden?: boolean;
|
|
55
|
-
/** Id for select toggle element */
|
|
56
|
-
toggleId?: string;
|
|
57
|
-
/** Ref for the select toggle element */
|
|
58
|
-
toggleRef?: React.Ref<HTMLButtonElement> | React.Ref<HTMLDivElement>;
|
|
59
|
-
/** Adds accessible text to Select */
|
|
60
|
-
'aria-label'?: string;
|
|
61
|
-
/** Id of label for the Select aria-labelledby */
|
|
62
|
-
'aria-labelledby'?: string;
|
|
63
|
-
/** Id of div for the select aria-labelledby */
|
|
64
|
-
'aria-describedby'?: string;
|
|
65
|
-
/** Flag indicating if the select is an invalid state */
|
|
66
|
-
'aria-invalid'?: boolean;
|
|
67
|
-
/** Label for input field of type ahead select variants */
|
|
68
|
-
typeAheadAriaLabel?: string;
|
|
69
|
-
/** Id of div for input field of type ahead select variants */
|
|
70
|
-
typeAheadAriaDescribedby?: string;
|
|
71
|
-
/** Label for clear selection button of type ahead select variants */
|
|
72
|
-
clearSelectionsAriaLabel?: string;
|
|
73
|
-
/** Label for toggle of type ahead select variants */
|
|
74
|
-
toggleAriaLabel?: string;
|
|
75
|
-
/** Label for remove chip button of multiple type ahead select variant */
|
|
76
|
-
removeSelectionAriaLabel?: string;
|
|
77
|
-
/** ID list of favorited select items */
|
|
78
|
-
favorites?: string[];
|
|
79
|
-
/** Label for the favorites group */
|
|
80
|
-
favoritesLabel?: string;
|
|
81
|
-
/** Enables favorites. Callback called when a select options's favorite button is clicked */
|
|
82
|
-
onFavorite?: (itemId: string, isFavorite: boolean) => void;
|
|
83
|
-
/** Callback for selection behavior */
|
|
84
|
-
onSelect?: (event: React.MouseEvent | React.ChangeEvent, value: string | SelectOptionObject, isPlaceholder?: boolean) => void;
|
|
85
|
-
/** Callback for toggle button behavior */
|
|
86
|
-
onToggle: (event: React.MouseEvent | React.ChangeEvent | React.KeyboardEvent | Event, isExpanded: boolean) => void;
|
|
87
|
-
/** Callback for toggle blur */
|
|
88
|
-
onBlur?: (event?: any) => void;
|
|
89
|
-
/** Callback for typeahead clear button */
|
|
90
|
-
onClear?: (event: React.MouseEvent) => void;
|
|
91
|
-
/** Optional callback for custom filtering */
|
|
92
|
-
onFilter?: (e: React.ChangeEvent<HTMLInputElement> | null, value: string) => React.ReactElement[] | undefined;
|
|
93
|
-
/** Optional callback for newly created options */
|
|
94
|
-
onCreateOption?: (newOptionValue: string) => void;
|
|
95
|
-
/** Optional event handler called each time the value in the typeahead input changes. */
|
|
96
|
-
onTypeaheadInputChanged?: (value: string) => void;
|
|
97
|
-
/** Variant of rendered Select */
|
|
98
|
-
variant?: 'single' | 'checkbox' | 'typeahead' | 'typeaheadmulti';
|
|
99
|
-
/** Width of the select container as a number of px or string percentage */
|
|
100
|
-
width?: string | number;
|
|
101
|
-
/** Max height of the select container as a number of px or string percentage */
|
|
102
|
-
maxHeight?: string | number;
|
|
103
|
-
/** Icon element to render inside the select toggle */
|
|
104
|
-
toggleIcon?: React.ReactElement;
|
|
105
|
-
/** Custom icon for the dropdown replacing the CaretDownIcon */
|
|
106
|
-
toggleIndicator?: React.ReactElement;
|
|
107
|
-
/** Custom content to render in the select menu. If this prop is defined, the variant prop will be ignored and the select will render with a single select toggle */
|
|
108
|
-
customContent?: React.ReactNode;
|
|
109
|
-
/** Flag indicating if select should have an inline text input for filtering */
|
|
110
|
-
hasInlineFilter?: boolean;
|
|
111
|
-
/** Placeholder text for inline filter */
|
|
112
|
-
inlineFilterPlaceholderText?: string;
|
|
113
|
-
/** Custom text for select badge */
|
|
114
|
-
customBadgeText?: string | number;
|
|
115
|
-
/** Prefix for the id of the input in the checkbox select variant*/
|
|
116
|
-
inputIdPrefix?: string;
|
|
117
|
-
/** Value for the typeahead and inline filtering input autocomplete attribute. When targeting Chrome this property should be a random string. */
|
|
118
|
-
inputAutoComplete?: string;
|
|
119
|
-
/** Optional props to pass to the chip group in the typeaheadmulti variant */
|
|
120
|
-
chipGroupProps?: Omit<ChipGroupProps, 'children' | 'ref'>;
|
|
121
|
-
/** Optional props to render custom chip group in the typeaheadmulti variant */
|
|
122
|
-
chipGroupComponent?: React.ReactNode;
|
|
123
|
-
/** Flag for retaining keyboard-entered value in typeahead text field when focus leaves input away */
|
|
124
|
-
isInputValuePersisted?: boolean;
|
|
125
|
-
/** Flag for retaining filter results on blur from keyboard-entered typeahead text */
|
|
126
|
-
isInputFilterPersisted?: boolean;
|
|
127
|
-
/** Flag indicating the typeahead input value should reset upon selection */
|
|
128
|
-
shouldResetOnSelect?: boolean;
|
|
129
|
-
/** Content rendered in the footer of the select menu */
|
|
130
|
-
footer?: React.ReactNode;
|
|
131
|
-
/** The container to append the menu to. Defaults to 'inline'.
|
|
132
|
-
* If your menu is being cut off you can append it to an element higher up the DOM tree.
|
|
133
|
-
* Some examples:
|
|
134
|
-
* menuAppendTo="parent"
|
|
135
|
-
* menuAppendTo={() => document.body}
|
|
136
|
-
* menuAppendTo={document.getElementById('target')}
|
|
137
|
-
*/
|
|
138
|
-
menuAppendTo?: HTMLElement | (() => HTMLElement) | 'inline' | 'parent';
|
|
139
|
-
/** Flag for indicating that the select menu should automatically flip vertically when
|
|
140
|
-
* it reaches the boundary. This prop can only be used when the select component is not
|
|
141
|
-
* appended inline, e.g. `menuAppendTo="parent"`
|
|
142
|
-
*/
|
|
143
|
-
isFlipEnabled?: boolean;
|
|
144
|
-
/** z-index of the select menu when menuAppendTo is not inline. */
|
|
23
|
+
/** @hide Forwarded ref */
|
|
24
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
25
|
+
/** z-index of the select menu */
|
|
145
26
|
zIndex?: number;
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
export interface SelectState {
|
|
152
|
-
focusFirstOption: boolean;
|
|
153
|
-
typeaheadInputValue: string | null;
|
|
154
|
-
typeaheadFilteredChildren: React.ReactNode[];
|
|
155
|
-
favoritesGroup: React.ReactNode[];
|
|
156
|
-
typeaheadCurrIndex: number;
|
|
157
|
-
creatableValue: string;
|
|
158
|
-
tabbedIntoFavoritesMenu: boolean;
|
|
159
|
-
typeaheadStoredIndex: number;
|
|
160
|
-
ouiaStateId: string;
|
|
161
|
-
viewMoreNextIndex: number;
|
|
162
|
-
}
|
|
163
|
-
export declare class Select extends React.Component<SelectProps & OUIAProps, SelectState> {
|
|
164
|
-
static displayName: string;
|
|
165
|
-
private parentRef;
|
|
166
|
-
private menuComponentRef;
|
|
167
|
-
private filterRef;
|
|
168
|
-
private clearRef;
|
|
169
|
-
private inputRef;
|
|
170
|
-
private refCollection;
|
|
171
|
-
private optionContainerRefCollection;
|
|
172
|
-
private footerRef;
|
|
173
|
-
static defaultProps: PickOptional<SelectProps>;
|
|
174
|
-
state: SelectState;
|
|
175
|
-
getTypeaheadActiveChild: (typeaheadCurrIndex: number) => HTMLElement;
|
|
176
|
-
componentDidUpdate: (prevProps: SelectProps, prevState: SelectState) => void;
|
|
177
|
-
onEnter: () => void;
|
|
178
|
-
onToggle: (e: React.MouseEvent | React.ChangeEvent | React.KeyboardEvent | Event, isExpanded: boolean) => void;
|
|
179
|
-
onClose: () => void;
|
|
180
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
181
|
-
updateTypeAheadFilteredChildren: (typeaheadInputValue: string, e: React.ChangeEvent<HTMLInputElement> | null) => void;
|
|
182
|
-
onClick: (e: React.MouseEvent) => void;
|
|
183
|
-
clearSelection: (_e: React.MouseEvent) => void;
|
|
184
|
-
extendTypeaheadChildren(typeaheadCurrIndex: number, favoritesGroup?: React.ReactNode[]): React.ReactNode[];
|
|
185
|
-
sendRef: (optionRef: React.ReactNode, favoriteRef: React.ReactNode, optionContainerRef: React.ReactNode, index: number) => void;
|
|
186
|
-
handleMenuKeys: (index: number, innerIndex: number, position: string) => void;
|
|
187
|
-
moveFocus: (nextIndex: number, updateCurrentIndex?: boolean) => void;
|
|
188
|
-
switchFocusToFavoriteMenu: () => void;
|
|
189
|
-
moveFocusToLastMenuItem: () => void;
|
|
190
|
-
handleTypeaheadKeys: (position: string, shiftKey?: boolean) => void;
|
|
191
|
-
onClickTypeaheadToggleButton: () => void;
|
|
192
|
-
getDisplay: (value: string | SelectOptionObject, type?: 'node' | 'text') => any;
|
|
193
|
-
findText: (item: React.ReactNode) => string;
|
|
194
|
-
generateSelectedBadge: () => string | number;
|
|
195
|
-
setVieMoreNextIndex: () => void;
|
|
196
|
-
isLastOptionBeforeFooter: (index: any) => boolean;
|
|
197
|
-
render(): JSX.Element;
|
|
27
|
+
/** @beta Determines the accessible role of the select. For a checkbox select pass in "menu". */
|
|
28
|
+
role?: string;
|
|
29
|
+
/** Additional properties to pass to the popper */
|
|
30
|
+
popperProps?: Partial<PopperProps>;
|
|
198
31
|
}
|
|
32
|
+
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<any>>;
|
|
199
33
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[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