Skip to content

Commit c9215f4

Browse files
committed
feat(ver): update to rc versions
1 parent 6dc985d commit c9215f4

File tree

5 files changed

+877
-1000
lines changed

5 files changed

+877
-1000
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
"whatwg-fetch": "^3.6.20"
8484
},
8585
"dependencies": {
86-
"@patternfly/react-tokens": "^6.0.0-alpha.35",
86+
"@patternfly/react-tokens": "^6.0.0-prerelease.7",
8787
"sharp": "^0.33.4"
88-
}
88+
},
89+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
8990
}

packages/module/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"tag": "alpha"
3232
},
3333
"dependencies": {
34-
"@patternfly/react-core": "^6.0.0-alpha.101",
35-
"@patternfly/react-icons": "^6.0.0-alpha.36",
36-
"@patternfly/react-table": "^6.0.0-alpha.102",
34+
"@patternfly/react-core": "^6.0.0-prerelease.21",
35+
"@patternfly/react-icons": "^6.0.0-prerelease.7",
36+
"@patternfly/react-table": "^6.0.0-prerelease.22",
3737
"react-jss": "^10.10.0",
3838
"clsx": "^2.1.1"
3939
},
@@ -43,8 +43,8 @@
4343
},
4444
"devDependencies": {
4545
"@patternfly/patternfly-a11y": "^4.3.1",
46-
"@patternfly/documentation-framework": "^6.0.0-alpha.83",
47-
"@patternfly/patternfly": "6.0.0-alpha.210",
46+
"@patternfly/documentation-framework": "^6.0.0-alpha.108",
47+
"@patternfly/patternfly": "6.0.0-prerelease.15",
4848
"@types/react": "^18.2.33",
4949
"@types/react-dom": "^18.2.14",
5050
"react": "^18.3.1",

packages/module/src/BulkSelect/BulkSelect.tsx

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const BulkSelectValue = {
1717
nonePage: 'nonePage'
1818
} as const;
1919

20-
export type BulkSelectValue = typeof BulkSelectValue[keyof typeof BulkSelectValue];
20+
export type BulkSelectValue = (typeof BulkSelectValue)[keyof typeof BulkSelectValue];
2121

2222
export interface BulkSelectProps extends Omit<DropdownProps, 'toggle' | 'onSelect'> {
2323
/** BulkSelect className */
@@ -102,29 +102,27 @@ export const BulkSelect: React.FC<BulkSelectProps> = ({
102102
onClick={onToggleClick}
103103
aria-label="Bulk select toggle"
104104
ouiaId={`${ouiaId}-toggle`}
105-
splitButtonOptions={{
106-
items: [
107-
<MenuToggleCheckbox
108-
ouiaId={`${ouiaId}-checkbox`}
109-
id={`${ouiaId}-checkbox`}
110-
key="bulk-select-checkbox"
111-
aria-label={`Select ${allOption}`}
112-
isChecked={
113-
(isDataPaginated && pagePartiallySelected) ||
114-
(!isDataPaginated && selectedCount > 0 && selectedCount < totalCount)
115-
? null
116-
: pageSelected || selectedCount === totalCount
117-
}
118-
onChange={(checked) => onSelect?.(!checked || checked === null ? noneOption : allOption)}
119-
{...menuToggleCheckboxProps}
120-
/>,
121-
selectedCount > 0 ? (
122-
<span onClick={onToggleClick} data-ouia-component-id={`${ouiaId}-text`} key="bulk-select-text">
123-
{`${selectedCount} selected`}
124-
</span>
125-
) : null
126-
]
127-
}}
105+
splitButtonItems={[
106+
<MenuToggleCheckbox
107+
ouiaId={`${ouiaId}-checkbox`}
108+
id={`${ouiaId}-checkbox`}
109+
key="bulk-select-checkbox"
110+
aria-label={`Select ${allOption}`}
111+
isChecked={
112+
(isDataPaginated && pagePartiallySelected) ||
113+
(!isDataPaginated && selectedCount > 0 && selectedCount < totalCount)
114+
? null
115+
: pageSelected || selectedCount === totalCount
116+
}
117+
onChange={(checked) => onSelect?.(!checked || checked === null ? noneOption : allOption)}
118+
{...menuToggleCheckboxProps}
119+
/>,
120+
selectedCount > 0 ? (
121+
<span onClick={onToggleClick} data-ouia-component-id={`${ouiaId}-text`} key="bulk-select-text">
122+
{`${selectedCount} selected`}
123+
</span>
124+
) : null
125+
]}
128126
/>
129127
)}
130128
{...props}

packages/module/src/index.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export * from './WarningModal';
66
export { default as UnavailableContent } from './UnavailableContent';
77
export * from './UnavailableContent';
88

9+
export { default as UnauthorizedAccess } from './UnauthorizedAccess';
10+
export * from './UnauthorizedAccess';
11+
912
export { default as TagCount } from './TagCount';
1013
export * from './TagCount';
1114

@@ -21,21 +24,21 @@ export * from './Shortcut';
2124
export { default as ServiceCard } from './ServiceCard';
2225
export * from './ServiceCard';
2326

27+
export { default as PageHeader } from './PageHeader';
28+
export * from './PageHeader';
29+
2430
export { default as NotFoundIcon } from './NotFoundIcon';
2531
export * from './NotFoundIcon';
2632

27-
export { default as UnauthorizedAccess } from './UnauthorizedAccess';
28-
export * from './UnauthorizedAccess';
29-
3033
export { default as MultiContentCard } from './MultiContentCard';
3134
export * from './MultiContentCard';
3235

33-
export { default as LogSnippet } from './LogSnippet';
34-
export * from './LogSnippet';
35-
3636
export { default as MissingPage } from './MissingPage';
3737
export * from './MissingPage';
3838

39+
export { default as LogSnippet } from './LogSnippet';
40+
export * from './LogSnippet';
41+
3942
export { default as HorizontalNav } from './HorizontalNav';
4043
export * from './HorizontalNav';
4144

@@ -54,9 +57,6 @@ export * from './DetailsPageHeader';
5457
export { default as DetailsPage } from './DetailsPage';
5558
export * from './DetailsPage';
5659

57-
export { default as PageHeader } from './PageHeader';
58-
export * from './PageHeader';
59-
6060
export { default as ColumnManagementModal } from './ColumnManagementModal';
6161
export * from './ColumnManagementModal';
6262

@@ -69,8 +69,8 @@ export * from './BulkSelect';
6969
export { default as Battery } from './Battery';
7070
export * from './Battery';
7171

72-
export { default as Ansible } from './AnsibleSupport';
73-
export * from './AnsibleSupport';
72+
export { default as Ansible } from './Ansible';
73+
export * from './Ansible';
7474

7575
export { default as ActionMenu } from './ActionMenu';
7676
export * from './ActionMenu';

0 commit comments

Comments
 (0)