@patternfly/react-templates 6.6.0-prerelease.6 → 6.6.0-prerelease.8
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 +6 -0
- package/components/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/umd/assets/{output-nU3YyZ7I.css → output-HlTNW3fX.css} +1884 -1877
- package/dist/umd/react-templates.min.js +1 -1
- package/package.json +6 -6
- package/src/components/Dropdown/examples/DropdownTemplates.md +1 -1
- package/src/components/Dropdown/examples/SimpleDropdownExample.tsx +2 -2
|
@@ -14,7 +14,7 @@ For custom use cases, please see the dropdown component suite from [@patternfly/
|
|
|
14
14
|
import { Fragment, useState, FunctionComponent } from 'react';
|
|
15
15
|
import { Checkbox, Flex, FlexItem } from '@patternfly/react-core';
|
|
16
16
|
import { SimpleDropdown } from '@patternfly/react-templates';
|
|
17
|
-
import
|
|
17
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
18
18
|
|
|
19
19
|
## Examples
|
|
20
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, useState, FunctionComponent } from 'react';
|
|
2
2
|
import { Checkbox, Flex, FlexItem } from '@patternfly/react-core';
|
|
3
3
|
import { SimpleDropdown, SimpleDropdownItem } from '@patternfly/react-templates';
|
|
4
|
-
import
|
|
4
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
5
5
|
|
|
6
6
|
export const SimpleDropdownExample: FunctionComponent = () => {
|
|
7
7
|
const [isDisabled, setIsDisabled] = useState(false);
|
|
@@ -43,7 +43,7 @@ export const SimpleDropdownExample: FunctionComponent = () => {
|
|
|
43
43
|
toggleVariant="plain"
|
|
44
44
|
initialItems={items}
|
|
45
45
|
isDisabled={isDisabled}
|
|
46
|
-
toggleContent={<
|
|
46
|
+
toggleContent={<RhUiEllipsisVerticalFillIcon />}
|
|
47
47
|
toggleAriaLabel="Plain dropdown toggle"
|
|
48
48
|
/>
|
|
49
49
|
</FlexItem>
|