├── .config └── dotnet-tools.json ├── .editorconfig ├── .gitattributes ├── .github ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── ---support-request.md │ ├── --bug.md │ ├── --feature-request.md │ └── --thank-you.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml ├── lock.yml ├── stale.yml ├── support.yml └── workflows │ └── dependabot-auto-merge.yml ├── .gitignore ├── GitReleaseManager.yaml ├── GitVersion.yml ├── README.md ├── build.cake ├── build.ps1 ├── cake.config ├── deployment └── cake │ ├── apps-uwp-tasks.cake │ ├── apps-uwp-variables.cake │ ├── apps-web-tasks.cake │ ├── apps-web-variables.cake │ ├── apps-wpf-tasks.cake │ ├── apps-wpf-variables.cake │ ├── buildserver-continuaci.cake │ ├── buildserver.cake │ ├── codesigning-tasks.cake │ ├── codesigning-variables.cake │ ├── components-tasks.cake │ ├── components-variables.cake │ ├── dependencies-tasks.cake │ ├── dependencies-variables.cake │ ├── docker-tasks.cake │ ├── docker-variables.cake │ ├── generic-tasks.cake │ ├── generic-variables.cake │ ├── github-pages-tasks.cake │ ├── github-pages-variables.cake │ ├── installers-innosetup.cake │ ├── installers-msix.cake │ ├── installers-squirrel.cake │ ├── installers.cake │ ├── issuetrackers-github.cake │ ├── issuetrackers-jira.cake │ ├── issuetrackers.cake │ ├── lib-generic.cake │ ├── lib-logging.cake │ ├── lib-msbuild.cake │ ├── lib-nuget.cake │ ├── lib-octopusdeploy.cake │ ├── lib-signing.cake │ ├── lib-sourcelink.cake │ ├── notifications-msteams.cake │ ├── notifications.cake │ ├── sourcecontrol-github.cake │ ├── sourcecontrol.cake │ ├── tasks.cake │ ├── templates-tasks.cake │ ├── templates-variables.cake │ ├── tests-nunit.cake │ ├── tests-variables.cake │ ├── tests.cake │ ├── tools-tasks.cake │ ├── tools-variables.cake │ ├── vsextensions-tasks.cake │ └── vsextensions-variables.cake ├── design ├── Package │ └── Icon.png └── image.png ├── src ├── .vsconfig ├── Blorc.PatternFly.Example │ ├── App.razor │ ├── Blorc.PatternFly.Example.csproj │ ├── Components │ │ ├── Example │ │ │ ├── Example.razor │ │ │ └── Example.razor.cs │ │ ├── Integration │ │ │ └── TableIntegrationExample │ │ │ │ ├── TableIntegrationExample.razor │ │ │ │ └── TableIntegrationExample.razor.cs │ │ ├── Metadata │ │ │ ├── Metadata.razor │ │ │ └── Metadata.razor.cs │ │ ├── MetadataComponentBase.cs │ │ ├── NavigationItemContent │ │ │ ├── NavigationItemContent.razor │ │ │ └── NavigationItemContent.razor.cs │ │ └── Todo │ │ │ ├── Todo.razor │ │ │ └── Todo.razor.cs │ ├── Pages │ │ ├── Components │ │ │ ├── AboutModalDemo.razor │ │ │ ├── AboutModalDemo.razor.cs │ │ │ ├── AccordionDemo.razor │ │ │ ├── AlertDemo.razor │ │ │ ├── ApplicationLauncherDemo.razor │ │ │ ├── AvatarDemo.razor │ │ │ ├── BackgroundImageDemo.razor │ │ │ ├── BadgeDemo.razor │ │ │ ├── BrandDemo.razor │ │ │ ├── BreadcrumbDemo.razor │ │ │ ├── ButtonDemo.razor │ │ │ ├── CardDemo.razor │ │ │ ├── CheckboxDemo.razor │ │ │ ├── CheckboxDemo.razor.cs │ │ │ ├── ChipGroupDemo.razor │ │ │ ├── ContextSelectorDemo.razor │ │ │ ├── DataListDemo.razor │ │ │ ├── DropdownDemo.razor │ │ │ ├── EmptyStateDemo.razor │ │ │ ├── ExpandableDemo.razor │ │ │ ├── FormDemo.razor │ │ │ ├── FormSelectDemo.razor │ │ │ ├── IconDemo.razor │ │ │ ├── InputGroupDemo.razor │ │ │ ├── LabelDemo.razor │ │ │ ├── ListDemo.razor │ │ │ ├── LoginPageDemo.razor │ │ │ ├── ModalDemo.razor │ │ │ ├── ModalDemo.razor.cs │ │ │ ├── NavDemo.razor │ │ │ ├── OptionsMenuDemo.razor │ │ │ ├── PageDemo.razor │ │ │ ├── PaginationDemo.razor │ │ │ ├── PaginationDemo.razor.cs │ │ │ ├── PopoverDemo.razor │ │ │ ├── ProgressDemo.razor │ │ │ ├── RadioDemo.razor │ │ │ ├── SelectDemo.razor │ │ │ ├── SelectDemo.razor.cs │ │ │ ├── SimpleModal.razor │ │ │ ├── SkipToContentDemo.razor │ │ │ ├── SpinnerDemo.razor │ │ │ ├── SwitchDemo.razor │ │ │ ├── SwitchDemo.razor.cs │ │ │ ├── TableDemo.razor │ │ │ ├── TableDemo.razor.cs │ │ │ ├── TabsDemo.razor │ │ │ ├── TabsDemo.razor.cs │ │ │ ├── TextAreaDemo.razor │ │ │ ├── TextDemo.razor │ │ │ ├── TextInputDemo.razor │ │ │ ├── TitleDemo.razor │ │ │ ├── TooltipDemo.razor │ │ │ ├── WizardDemo.razor │ │ │ └── _Imports.razor │ │ ├── Index.razor │ │ ├── Layouts │ │ │ ├── BullseyeDemo.razor │ │ │ ├── FlexDemo.razor │ │ │ ├── GalleryDemo.razor │ │ │ ├── GridDemo.razor │ │ │ ├── LevelDemo.razor │ │ │ ├── SplitDemo.razor │ │ │ ├── StackDemo.razor │ │ │ ├── ToolbarDemo.razor │ │ │ └── _Imports.razor │ │ └── _Imports.razor │ ├── Program.cs │ ├── Properties │ │ ├── Annotations.cs │ │ └── launchSettings.json │ ├── Shared │ │ ├── MainLayout.razor │ │ ├── MainLayout.razor.cs │ │ └── NavMenu.razor │ ├── _Imports.razor │ └── wwwroot │ │ ├── .nojekyll │ │ ├── 404.html │ │ ├── css │ │ └── site.css │ │ ├── examples │ │ ├── avatar.svg │ │ └── brand.svg │ │ └── index.html ├── Blorc.PatternFly.Tests │ ├── Blorc.PatternFly.Tests.csproj │ ├── DummyFacts.cs │ ├── FodyWeavers.xml │ └── ModuleInitializer.cs ├── Blorc.PatternFly.ndproj ├── Blorc.PatternFly.sln ├── Blorc.PatternFly.sln.DotSettings ├── Blorc.PatternFly │ ├── Annotations.cs │ ├── Blorc.PatternFly.csproj │ ├── Components │ │ ├── AboutModal │ │ │ ├── AboutModal.razor │ │ │ └── AboutModal.razor.cs │ │ ├── Accordion │ │ │ ├── Accordion.razor │ │ │ ├── Accordion.razor.cs │ │ │ ├── AccordionItem.razor │ │ │ └── AccordionItem.razor.cs │ │ ├── Alert │ │ │ ├── Alert.razor │ │ │ ├── Alert.razor.cs │ │ │ └── AlertType.cs │ │ ├── ApplicationLauncher │ │ │ ├── ApplicationLauncher.razor │ │ │ └── ApplicationLauncher.razor.cs │ │ ├── Avatar │ │ │ ├── Avatar.razor │ │ │ └── Avatar.razor.cs │ │ ├── Badge │ │ │ ├── Badge.razor │ │ │ └── Badge.razor.cs │ │ ├── Brand │ │ │ ├── Brand.razor │ │ │ └── Brand.razor.cs │ │ ├── Breadcrumb │ │ │ ├── Breadcrumb.razor │ │ │ ├── Breadcrumb.razor.cs │ │ │ ├── BreadcrumbHeading.razor │ │ │ ├── BreadcrumbHeading.razor.cs │ │ │ ├── BreadcrumbItem.razor │ │ │ └── BreadcrumbItem.razor.cs │ │ ├── Button │ │ │ ├── Button.razor │ │ │ ├── Button.razor.cs │ │ │ ├── ButtonType.cs │ │ │ └── ButtonVariant.cs │ │ ├── Card │ │ │ ├── Card.razor │ │ │ ├── Card.razor.cs │ │ │ ├── CardBody.razor │ │ │ ├── CardBody.razor.cs │ │ │ ├── CardFooter.razor │ │ │ ├── CardFooter.razor.cs │ │ │ ├── CardHeader.razor │ │ │ └── CardHeader.razor.cs │ │ ├── Checkbox │ │ │ ├── Checkbox.razor │ │ │ └── Checkbox.razor.cs │ │ ├── Container │ │ │ ├── SourceContainer.razor │ │ │ ├── SourceContainer.razor.cs │ │ │ ├── TargetContainer.razor │ │ │ └── TargetContainer.razor.cs │ │ ├── Dropdown │ │ │ ├── Dropdown.razor │ │ │ ├── Dropdown.razor.cs │ │ │ ├── DropdownDirection.cs │ │ │ ├── DropdownGroup.razor │ │ │ ├── DropdownGroup.razor.cs │ │ │ ├── DropdownItem.razor │ │ │ ├── DropdownItem.razor.cs │ │ │ ├── DropdownPosition.cs │ │ │ ├── DropdownToggle.razor │ │ │ ├── DropdownToggle.razor.cs │ │ │ ├── DropdownToggleCheckbox.razor │ │ │ ├── DropdownToggleCheckbox.razor.cs │ │ │ ├── Item.razor │ │ │ ├── Item.razor.cs │ │ │ ├── KebabToggle.razor │ │ │ ├── KebabToggle.razor.cs │ │ │ ├── Separator.razor │ │ │ └── Separator.razor.cs │ │ ├── EmptyState │ │ │ ├── EmptyState.razor │ │ │ ├── EmptyState.razor.cs │ │ │ ├── EmptyStateBody.razor │ │ │ ├── EmptyStateBody.razor.cs │ │ │ ├── EmptyStateIcon.razor │ │ │ ├── EmptyStateIcon.razor.cs │ │ │ ├── EmptyStateSecondaryActions.razor │ │ │ ├── EmptyStateSecondaryActions.razor.cs │ │ │ └── EmptyStateVariant.cs │ │ ├── Expandable │ │ │ ├── Expandable.razor │ │ │ └── Expandable.razor.cs │ │ ├── Icon │ │ │ ├── DynamicIcon.razor │ │ │ ├── DynamicIcon.razor.cs │ │ │ ├── IconComponentBase.cs │ │ │ ├── Interfaces │ │ │ │ └── IIconComponent.cs │ │ │ └── src │ │ │ │ ├── FortAwesome.cs │ │ │ │ ├── FortAwesome.tt │ │ │ │ ├── fortawesome-brands.js │ │ │ │ ├── fortawesome-regular.js │ │ │ │ ├── fortawesome-solid.js │ │ │ │ ├── pfreact-customIcons.js │ │ │ │ ├── pfreact-pfIcons.js │ │ │ │ └── readme.txt │ │ ├── InputGroup │ │ │ ├── InputGroup.razor │ │ │ ├── InputGroup.razor.cs │ │ │ ├── InputGroupText.razor │ │ │ └── InputGroupText.razor.cs │ │ ├── Label │ │ │ ├── Label.razor │ │ │ └── Label.razor.cs │ │ ├── List │ │ │ ├── List.razor │ │ │ ├── List.razor.cs │ │ │ ├── ListItem.razor │ │ │ ├── ListItem.razor.cs │ │ │ └── ListVariant.cs │ │ ├── Modal │ │ │ ├── ExecutionContext.cs │ │ │ ├── Modal.razor │ │ │ ├── Modal.razor.cs │ │ │ ├── ModalSize.cs │ │ │ ├── ModalsContainer.razor │ │ │ ├── ModalsContainer.razor.cs │ │ │ ├── PleaseWaitModal.razor │ │ │ ├── PleaseWaitModal.razor.cs │ │ │ ├── UIModal.razor │ │ │ └── UIModal.razor.cs │ │ ├── Navigation │ │ │ ├── Interfaces │ │ │ │ └── IContainerNavigationComponent.cs │ │ │ ├── Navigation.razor │ │ │ ├── Navigation.razor.cs │ │ │ ├── NavigationExpandableSection.razor │ │ │ ├── NavigationExpandableSection.razor.cs │ │ │ ├── NavigationItem.razor │ │ │ └── NavigationItem.razor.cs │ │ ├── Page │ │ │ ├── Page.razor │ │ │ ├── Page.razor.cs │ │ │ ├── Sidebar.razor │ │ │ └── Sidebar.razor.cs │ │ ├── Pagination │ │ │ ├── Pagination.razor │ │ │ ├── Pagination.razor.cs │ │ │ ├── PaginationStateChangedEventArgs.cs │ │ │ └── PaginationVariant.cs │ │ ├── Progress │ │ │ ├── Progress.razor │ │ │ ├── Progress.razor.cs │ │ │ ├── ProgressMeasureLocation.cs │ │ │ ├── ProgressSize.cs │ │ │ └── ProgressVariant.cs │ │ ├── Radio │ │ │ ├── Radio.razor │ │ │ └── Radio.razor.cs │ │ ├── Select │ │ │ ├── CheckboxSelect.razor │ │ │ ├── CheckboxSelect.razor.cs │ │ │ ├── CheckboxSelectGroup.razor │ │ │ ├── CheckboxSelectGroup.razor.cs │ │ │ ├── CheckboxSelectOption.razor │ │ │ ├── CheckboxSelectOption.razor.cs │ │ │ ├── Select.razor │ │ │ ├── Select.razor.cs │ │ │ ├── SelectOption.razor │ │ │ ├── SelectOption.razor.cs │ │ │ ├── SelectVariant.cs │ │ │ ├── SingleSelect.razor │ │ │ └── SingleSelect.razor.cs │ │ ├── Spinner │ │ │ ├── Spinner.razor │ │ │ ├── Spinner.razor.cs │ │ │ └── SpinnerSize.cs │ │ ├── Switch │ │ │ ├── Switch.razor │ │ │ └── Switch.razor.cs │ │ ├── Table │ │ │ ├── ActionCell.razor │ │ │ ├── ActionCell.razor.cs │ │ │ ├── ActionColumn.razor │ │ │ ├── ActionColumn.razor.cs │ │ │ ├── ActionColumnDefinition.cs │ │ │ ├── ActionColumnType.cs │ │ │ ├── ActionDefinition.cs │ │ │ ├── Align.cs │ │ │ ├── ButtonCell.razor │ │ │ ├── ButtonCell.razor.cs │ │ │ ├── ButtonColumn.razor │ │ │ ├── ButtonColumn.razor.cs │ │ │ ├── ButtonColumnDefinition.cs │ │ │ ├── CallActionDefinition.cs │ │ │ ├── Cell.razor │ │ │ ├── Cell.razor.cs │ │ │ ├── Column.razor │ │ │ ├── Column.razor.cs │ │ │ ├── ColumnDefinition.cs │ │ │ ├── EventArgs │ │ │ │ └── OrderByColumnChangedEventArg.cs │ │ │ ├── GridSize.cs │ │ │ ├── Order.cs │ │ │ ├── OrderState.cs │ │ │ ├── Row.razor │ │ │ ├── Row.razor.cs │ │ │ ├── SeparatorActionDefinition.cs │ │ │ ├── SwitchActionDefinition.cs │ │ │ ├── Table.razor │ │ │ └── Table.razor.cs │ │ ├── Tabs │ │ │ ├── Interfaces │ │ │ │ └── ITab.cs │ │ │ ├── Tab.razor │ │ │ ├── Tab.razor.cs │ │ │ ├── Tabs.razor │ │ │ ├── Tabs.razor.cs │ │ │ └── TabsVariant.cs │ │ ├── Text │ │ │ ├── Text.razor │ │ │ ├── Text.razor.cs │ │ │ ├── TextContent.razor │ │ │ ├── TextContent.razor.cs │ │ │ ├── TextList.razor │ │ │ ├── TextList.razor.cs │ │ │ ├── TextListItem.razor │ │ │ └── TextListItem.razor.cs │ │ ├── TextArea │ │ │ ├── TextArea.razor │ │ │ └── TextArea.razor.cs │ │ ├── TextInput │ │ │ ├── TextInput.razor │ │ │ └── TextInput.razor.cs │ │ ├── Title │ │ │ ├── Title.razor │ │ │ └── Title.razor.cs │ │ ├── ToggleComponentContainer │ │ │ ├── IToggleComponentContainer.cs │ │ │ ├── ToggleComponentChangedEventArg.cs │ │ │ ├── ToggleComponentContainer.razor │ │ │ └── ToggleComponentContainer.razor.cs │ │ ├── Tooltip │ │ │ ├── Tooltip.razor │ │ │ ├── Tooltip.razor.cs │ │ │ ├── TooltipPosition.cs │ │ │ └── TooltipTrigger.cs │ │ └── _Imports.razor │ ├── Core │ │ ├── IProgressAsync.cs │ │ ├── IToggleComponent.cs │ │ └── UpdateMode.cs │ ├── Helpers │ │ └── DataHelper.cs │ ├── Layouts │ │ ├── Bullseye │ │ │ └── Bullseye.razor │ │ ├── Flex │ │ │ ├── Align.cs │ │ │ ├── ContentJustification.cs │ │ │ ├── Flex.razor │ │ │ ├── FlexComponent.cs │ │ │ ├── FlexItem.razor │ │ │ ├── FlexItemComponent.cs │ │ │ ├── FlexType.cs │ │ │ └── Space.cs │ │ ├── Gallery │ │ │ ├── Gallery.razor │ │ │ ├── Gallery.razor.cs │ │ │ └── GalleryItem.razor │ │ ├── Grid │ │ │ ├── Grid.razor │ │ │ ├── Grid.razor.cs │ │ │ ├── GridItem.razor │ │ │ └── GridItem.razor.cs │ │ ├── Level │ │ │ ├── Level.razor │ │ │ ├── Level.razor.cs │ │ │ └── LevelItem.razor │ │ ├── Split │ │ │ ├── Split.razor │ │ │ ├── Split.razor.cs │ │ │ ├── SplitItem.razor │ │ │ └── SplitItem.razor.cs │ │ ├── Stack │ │ │ ├── Stack.razor │ │ │ ├── Stack.razor.cs │ │ │ ├── StackItem.razor │ │ │ └── StackItem.razor.cs │ │ └── Toolbar │ │ │ ├── Toolbar.razor │ │ │ ├── Toolbar.razor.cs │ │ │ ├── ToolbarGroup.razor │ │ │ ├── ToolbarGroup.razor.cs │ │ │ ├── ToolbarItem.razor │ │ │ ├── ToolbarItem.razor.cs │ │ │ ├── ToolbarSection.razor │ │ │ └── ToolbarSection.razor.cs │ ├── Services │ │ ├── Extensions │ │ │ ├── DocumentServiceExtensions.cs │ │ │ ├── IComponentServiceFactoryExtensions.cs │ │ │ └── IServiceCollectionExtensions.cs │ │ ├── Interfaces │ │ │ ├── ISourceContainerService.cs │ │ │ └── ITargetContainerService.cs │ │ ├── ModalUIVisualizationService.cs │ │ ├── PleaseWaitModalExecutionService.cs │ │ ├── SourceContainerService.cs │ │ └── TargetContainerService.cs │ └── wwwroot │ │ └── patternfly │ │ ├── assets │ │ ├── fontawesome │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _screen-reader.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── fontawesome.scss │ │ ├── fonts │ │ │ ├── RedHatDisplay │ │ │ │ ├── RedHatDisplay-Black.eot │ │ │ │ ├── RedHatDisplay-Black.woff │ │ │ │ ├── RedHatDisplay-Black.woff2 │ │ │ │ ├── RedHatDisplay-BlackItalic.eot │ │ │ │ ├── RedHatDisplay-BlackItalic.woff │ │ │ │ ├── RedHatDisplay-BlackItalic.woff2 │ │ │ │ ├── RedHatDisplay-Bold.eot │ │ │ │ ├── RedHatDisplay-Bold.woff │ │ │ │ ├── RedHatDisplay-Bold.woff2 │ │ │ │ ├── RedHatDisplay-BoldItalic.eot │ │ │ │ ├── RedHatDisplay-BoldItalic.woff │ │ │ │ ├── RedHatDisplay-BoldItalic.woff2 │ │ │ │ ├── RedHatDisplay-Italic.eot │ │ │ │ ├── RedHatDisplay-Italic.woff │ │ │ │ ├── RedHatDisplay-Italic.woff2 │ │ │ │ ├── RedHatDisplay-Medium.eot │ │ │ │ ├── RedHatDisplay-Medium.woff │ │ │ │ ├── RedHatDisplay-Medium.woff2 │ │ │ │ ├── RedHatDisplay-MediumItalic.eot │ │ │ │ ├── RedHatDisplay-MediumItalic.woff │ │ │ │ ├── RedHatDisplay-MediumItalic.woff2 │ │ │ │ ├── RedHatDisplay-Regular.eot │ │ │ │ ├── RedHatDisplay-Regular.woff │ │ │ │ └── RedHatDisplay-Regular.woff2 │ │ │ ├── RedHatText │ │ │ │ ├── RedHatText-Bold.eot │ │ │ │ ├── RedHatText-Bold.woff │ │ │ │ ├── RedHatText-Bold.woff2 │ │ │ │ ├── RedHatText-BoldItalic.eot │ │ │ │ ├── RedHatText-BoldItalic.woff │ │ │ │ ├── RedHatText-BoldItalic.woff2 │ │ │ │ ├── RedHatText-Italic.eot │ │ │ │ ├── RedHatText-Italic.woff │ │ │ │ ├── RedHatText-Italic.woff2 │ │ │ │ ├── RedHatText-Medium.eot │ │ │ │ ├── RedHatText-Medium.woff │ │ │ │ ├── RedHatText-Medium.woff2 │ │ │ │ ├── RedHatText-MediumItalic.eot │ │ │ │ ├── RedHatText-MediumItalic.woff │ │ │ │ ├── RedHatText-MediumItalic.woff2 │ │ │ │ ├── RedHatText-Regular.eot │ │ │ │ ├── RedHatText-Regular.woff │ │ │ │ └── RedHatText-Regular.woff2 │ │ │ ├── overpass-mono-webfont │ │ │ │ ├── example.html │ │ │ │ ├── overpass-mono-bold.eot │ │ │ │ ├── overpass-mono-bold.ttf │ │ │ │ ├── overpass-mono-bold.woff │ │ │ │ ├── overpass-mono-bold.woff2 │ │ │ │ ├── overpass-mono-light.eot │ │ │ │ ├── overpass-mono-light.ttf │ │ │ │ ├── overpass-mono-light.woff │ │ │ │ ├── overpass-mono-light.woff2 │ │ │ │ ├── overpass-mono-regular.eot │ │ │ │ ├── overpass-mono-regular.ttf │ │ │ │ ├── overpass-mono-regular.woff │ │ │ │ ├── overpass-mono-regular.woff2 │ │ │ │ ├── overpass-mono-semibold.eot │ │ │ │ ├── overpass-mono-semibold.ttf │ │ │ │ ├── overpass-mono-semibold.woff │ │ │ │ ├── overpass-mono-semibold.woff2 │ │ │ │ └── overpass-mono.css │ │ │ ├── overpass-webfont │ │ │ │ ├── example.html │ │ │ │ ├── overpass-bold-italic.eot │ │ │ │ ├── overpass-bold-italic.ttf │ │ │ │ ├── overpass-bold-italic.woff │ │ │ │ ├── overpass-bold-italic.woff2 │ │ │ │ ├── overpass-bold.eot │ │ │ │ ├── overpass-bold.ttf │ │ │ │ ├── overpass-bold.woff │ │ │ │ ├── overpass-bold.woff2 │ │ │ │ ├── overpass-extrabold-italic.eot │ │ │ │ ├── overpass-extrabold-italic.ttf │ │ │ │ ├── overpass-extrabold-italic.woff │ │ │ │ ├── overpass-extrabold-italic.woff2 │ │ │ │ ├── overpass-extrabold.eot │ │ │ │ ├── overpass-extrabold.ttf │ │ │ │ ├── overpass-extrabold.woff │ │ │ │ ├── overpass-extrabold.woff2 │ │ │ │ ├── overpass-extralight-italic.eot │ │ │ │ ├── overpass-extralight-italic.ttf │ │ │ │ ├── overpass-extralight-italic.woff │ │ │ │ ├── overpass-extralight-italic.woff2 │ │ │ │ ├── overpass-extralight.eot │ │ │ │ ├── overpass-extralight.ttf │ │ │ │ ├── overpass-extralight.woff │ │ │ │ ├── overpass-extralight.woff2 │ │ │ │ ├── overpass-heavy-italic.eot │ │ │ │ ├── overpass-heavy-italic.ttf │ │ │ │ ├── overpass-heavy-italic.woff │ │ │ │ ├── overpass-heavy-italic.woff2 │ │ │ │ ├── overpass-heavy.eot │ │ │ │ ├── overpass-heavy.ttf │ │ │ │ ├── overpass-heavy.woff │ │ │ │ ├── overpass-heavy.woff2 │ │ │ │ ├── overpass-italic.eot │ │ │ │ ├── overpass-italic.ttf │ │ │ │ ├── overpass-italic.woff │ │ │ │ ├── overpass-italic.woff2 │ │ │ │ ├── overpass-light-italic.eot │ │ │ │ ├── overpass-light-italic.ttf │ │ │ │ ├── overpass-light-italic.woff │ │ │ │ ├── overpass-light-italic.woff2 │ │ │ │ ├── overpass-light.eot │ │ │ │ ├── overpass-light.ttf │ │ │ │ ├── overpass-light.woff │ │ │ │ ├── overpass-light.woff2 │ │ │ │ ├── overpass-regular.eot │ │ │ │ ├── overpass-regular.ttf │ │ │ │ ├── overpass-regular.woff │ │ │ │ ├── overpass-regular.woff2 │ │ │ │ ├── overpass-semibold-italic.eot │ │ │ │ ├── overpass-semibold-italic.ttf │ │ │ │ ├── overpass-semibold-italic.woff │ │ │ │ ├── overpass-semibold-italic.woff2 │ │ │ │ ├── overpass-semibold.eot │ │ │ │ ├── overpass-semibold.ttf │ │ │ │ ├── overpass-semibold.woff │ │ │ │ ├── overpass-semibold.woff2 │ │ │ │ ├── overpass-thin-italic.eot │ │ │ │ ├── overpass-thin-italic.ttf │ │ │ │ ├── overpass-thin-italic.woff │ │ │ │ ├── overpass-thin-italic.woff2 │ │ │ │ ├── overpass-thin.eot │ │ │ │ ├── overpass-thin.ttf │ │ │ │ ├── overpass-thin.woff │ │ │ │ ├── overpass-thin.woff2 │ │ │ │ └── overpass.css │ │ │ └── webfonts │ │ │ │ ├── fa-solid-900.eot │ │ │ │ ├── fa-solid-900.svg │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-solid-900.woff │ │ │ │ └── fa-solid-900.woff2 │ │ ├── icons │ │ │ └── fontawesome.css │ │ ├── images │ │ │ ├── FuseConnector_Icons_AzureServices.png │ │ │ ├── FuseConnector_Icons_REST.png │ │ │ ├── PF-Masthead-Logo.svg │ │ │ ├── activemq-core_200x150.png │ │ │ ├── background-filter.svg │ │ │ ├── camel-avro_200x150.png │ │ │ ├── camel-dropbox_200x150.png │ │ │ ├── camel-infinispan_200x150.png │ │ │ ├── camel-saxon_200x150.png │ │ │ ├── camel-spark_200x150.png │ │ │ ├── camel-swagger-java_200x150.png │ │ │ ├── g_sizing.png │ │ │ ├── img_avatar.svg │ │ │ ├── l_pf-reverse-164x11.png │ │ │ ├── l_pf-reverse.svg │ │ │ ├── logo-dropbox-old.svg │ │ │ ├── logo-dropbox.svg │ │ │ ├── logo-facebook.svg │ │ │ ├── logo-github.svg │ │ │ ├── logo-gitlab.svg │ │ │ ├── logo-google.svg │ │ │ ├── logo-google2.svg │ │ │ ├── pf-logo-small.svg │ │ │ ├── pf_logo.svg │ │ │ ├── pf_logo_color.svg │ │ │ ├── pf_mini_logo_white.svg │ │ │ ├── pfbg_1200.jpg │ │ │ ├── pfbg_2000.jpg │ │ │ ├── pfbg_576.jpg │ │ │ ├── pfbg_576@2x.jpg │ │ │ ├── pfbg_768.jpg │ │ │ ├── pfbg_768@2x.jpg │ │ │ ├── pfbg_992.jpg │ │ │ └── pfbg_992@2x.jpg │ │ └── pficon │ │ │ ├── pficon.eot │ │ │ ├── pficon.scss │ │ │ ├── pficon.svg │ │ │ ├── pficon.ttf │ │ │ ├── pficon.woff │ │ │ └── pficon.woff2 │ │ ├── patternfly-extras.css │ │ └── patternfly.css ├── Directory.Build.analyzers.props ├── Directory.Build.implicitusings.props ├── Directory.Build.nullable.props ├── Directory.Build.project.props ├── Directory.Build.props ├── Directory.Build.shared.explicit.props ├── Directory.Build.shared.implicit.props ├── Directory.Build.shared.mat.props ├── Directory.Build.shared.tests.props ├── Directory.Build.shared.tools.props ├── Directory.Build.shared.xamltools.props ├── Directory.Build.targets ├── GlobalSuppressions.cs ├── MethodTimeLogger.cs ├── SolutionAssemblyInfo.cs ├── global.json └── nuget.config └── tools ├── nuget.exe └── packages.config /.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "cake.tool": { 6 | "version": "3.0.0", 7 | "commands": [ 8 | "dotnet-cake" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | csharp 2 | *.sln merge=union 3 | *.csproj merge=union 4 | *.vbproj merge=union 5 | *.fsproj merge=union 6 | *.dbproj merge=union 7 | 8 | # Standard to msysgit 9 | *.doc diff=astextplain 10 | *.DOC diff=astextplain 11 | *.docx diff=astextplain 12 | *.DOCX diff=astextplain 13 | *.dot diff=astextplain 14 | *.DOT diff=astextplain 15 | *.pdf diff=astextplain 16 | *.PDF diff=astextplain 17 | *.rtf diff=astextplain 18 | *.RTF diff=astextplain 19 | diff= 20 | # Taken from: https://github.com/Danimoth/gitattributes/blob/master/CSharp.gitattributes 21 | # Auto detect text files and perform LF normalization 22 | # http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ 23 | 24 | * text=auto 25 | 26 | # Replace all tabs with spaces 27 | 28 | # Custom for Visual Studio 29 | *.cs 30 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: WildGums-oss # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | custom: # Replace with a single custom sponsorship URL -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | # IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE! 2 | 3 | ## Please provide as much detail as possible 4 | * Output Window Messages 5 | * Your Code (small reproducible sample) 6 | * If there is an exception/crash - provide the full stack trace 7 | 8 | *IF BUG, INCLUDE THIS PART:* 9 | 10 | ### Steps to reproduce 11 | 12 | 1. 13 | 2. 14 | 3. 15 | 16 | Platform: 17 | .NET version: 18 | 19 | ### Expected behaviour 20 | 21 | Tell us what should happen 22 | 23 | ### Actual behaviour 24 | 25 | Tell us what happens instead 26 | Can you also include a screen shot? 27 | 28 | *IF IT IS A NEW FEATURE REQUEST, INCLUDE THIS PART:* 29 | 30 | ### Feature description 31 | 32 | Write a description of the feature. How should it work? How should it look? 33 | Include some graphics if this could help! 34 | 35 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/---support-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F62C Support Request" 3 | about: Having Trouble - ONLY contributors to other OSS projects OR people who are 4 | funding this project can submit these! If you aren't one of these, expect the ban 5 | hammer to fall 6 | title: '' 7 | labels: '' 8 | assignees: '' 9 | 10 | --- 11 | 12 | ONLY active OSS contributors OR people who buy me a coffee can ask questions here. If you don't do either of these things - DO NOT FILE HERE OR I WILL SIMPLY REMOVE YOUR ACCOUNT :) 13 | 14 | Give as much details as humanly possible if you want any sort of answer! 15 | 16 | Enter Question Below (don't delete this line) -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/--bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F99FBug" 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: "s/unverified, t/bug \U0001F47E" 6 | assignees: '' 7 | 8 | --- 9 | 10 | # IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE! 11 | 12 | ## Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported) 13 | 14 | - [ ] WPF 15 | - [ ] UWP 16 | - [ ] iOS 17 | - [ ] Android 18 | - [ ] .NET Standard 19 | - [ ] .NET Core 20 | 21 | ## Component 22 | 23 | What component is this issue occurring in? 24 | 25 | ## Version of Library 26 | 27 | 28 | ## Version of OS(s) listed above with issue 29 | 30 | 31 | ## Steps to Reproduce 32 | 1. 33 | 2. 34 | 3. 35 | 36 | ## Expected Behavior 37 | 38 | 39 | ## Actual Behavior -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/--feature-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F354Feature Request" 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: "s/unverified, t/enhancement \U0001F423" 6 | assignees: '' 7 | 8 | --- 9 | 10 | # IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE! 11 | 12 | ## Summary 13 | Please provide a brief summary of your proposal. Two to three sentences is best here. 14 | 15 | ## API Changes 16 | Include a list of all API changes, additions, subtractions as would be required by your proposal. These APIs should be considered placeholders, so the naming is not as important as getting the concepts correct. If possible you should include some "example" code of usage of your new API. 17 | 18 | ## Intended Use Case 19 | Provide a detailed example of where your proposal would be used and for what purpose. -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/--thank-you.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "❤️Thank You" 3 | about: Just want to say thank you, this is the guy to do it in 4 | title: Thank You 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | Leave Your Message Below (don't delete this line though) -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | registries: 3 | nuget-feed-default: 4 | type: nuget-feed 5 | url: https://api.nuget.org/v3/index.json 6 | 7 | updates: 8 | - package-ecosystem: github-actions 9 | directory: "/" 10 | schedule: 11 | interval: weekly 12 | 13 | - package-ecosystem: nuget 14 | directory: "/" 15 | schedule: 16 | interval: daily 17 | open-pull-requests-limit: 10 18 | ignore: 19 | - dependency-name: "*Analyzers" 20 | versions: 21 | - ">= 0" 22 | registries: 23 | - nuget-feed-default -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before an issue becomes stale 2 | daysUntilStale: 60 3 | # Number of days of inactivity before a stale issue is closed 4 | daysUntilClose: 7 5 | # Issues with these labels will never be considered stale 6 | exemptLabels: 7 | - pinned 8 | - security 9 | - planned 10 | - nostale 11 | # Label to use when marking an issue as stale 12 | staleLabel: wontfix 13 | # Comment to post when marking an issue as stale. Set to `false` to disable 14 | markComment: > 15 | This issue has been automatically marked as stale because it has not had 16 | recent activity. It will be closed if no further activity occurs. Thank you 17 | for your contributions. 18 | # Comment to post when closing a stale issue. Set to `false` to disable 19 | closeComment: false -------------------------------------------------------------------------------- /.github/support.yml: -------------------------------------------------------------------------------- 1 | # Configuration for Support Requests - https://github.com/dessant/support-requests 2 | 3 | # Label used to mark issues as support requests 4 | supportLabel: support 5 | 6 | # Comment to post on issues marked as support requests, `{issue-author}` is an 7 | # optional placeholder. Set to `false` to disable 8 | supportComment: > 9 | :wave: @{issue-author}, we use the issue tracker exclusively for bug reports 10 | and feature requests. However, this issue appears to be a support request. 11 | Please use our support channels to get help with the project. 12 | 13 | # Close issues marked as support requests 14 | close: true 15 | 16 | # Lock issues marked as support requests 17 | lock: false 18 | 19 | # Assign `off-topic` as the reason for locking. Set to `false` to disable 20 | setLockReason: true 21 | 22 | # Repository to extend settings from 23 | # _extends: repo -------------------------------------------------------------------------------- /GitReleaseManager.yaml: -------------------------------------------------------------------------------- 1 | issue-labels-include: 2 | - Breaking change 3 | - Feature 4 | - Bug 5 | - Improvement 6 | - Documentation 7 | issue-labels-exclude: 8 | - Build 9 | issue-labels-alias: 10 | - name: Documentation 11 | header: Documentation 12 | plural: Documentation -------------------------------------------------------------------------------- /GitVersion.yml: -------------------------------------------------------------------------------- 1 | mode: ContinuousDeployment 2 | assembly-versioning-scheme: MajorMinorPatch 3 | next-version: 1.0.0 -------------------------------------------------------------------------------- /build.ps1: -------------------------------------------------------------------------------- 1 | $ErrorActionPreference = 'Stop' 2 | 3 | Set-Location -LiteralPath $PSScriptRoot 4 | 5 | $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = '1' 6 | $env:DOTNET_CLI_TELEMETRY_OPTOUT = '1' 7 | $env:DOTNET_NOLOGO = '1' 8 | 9 | dotnet tool restore 10 | if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } 11 | 12 | dotnet cake @args 13 | if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } 14 | -------------------------------------------------------------------------------- /cake.config: -------------------------------------------------------------------------------- 1 | ; The configuration file for Cake. 2 | 3 | [Settings] 4 | SkipVerification=true 5 | 6 | [Settings] 7 | EnableScriptCache=true 8 | 9 | [Paths] 10 | ; Cache=%temp%/cake-build/cache/ 11 | ; Note: cache-path is set via environment variables -------------------------------------------------------------------------------- /deployment/cake/codesigning-tasks.cake: -------------------------------------------------------------------------------- 1 | #l "codesigning-variables.cake" 2 | 3 | using System.Xml.Linq; 4 | 5 | //------------------------------------------------------------- 6 | 7 | // Empty by design for now 8 | -------------------------------------------------------------------------------- /design/Package/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WildGums/Blorc.PatternFly/de3a0f34583e9b0732ba639611cb640db850af3c/design/Package/Icon.png -------------------------------------------------------------------------------- /design/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WildGums/Blorc.PatternFly/de3a0f34583e9b0732ba639611cb640db850af3c/design/image.png -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/App.razor: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 |

Sorry, there's nothing at this address.

8 |
9 |
10 |
11 | 12 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/Example/Example.razor: -------------------------------------------------------------------------------- 1 | @inherits Blorc.PatternFly.Example.Components.Example.ExampleComponent 2 | 3 |

4 | 5 |
6 |

7 | 10 |

11 | @if (NavigationManager.Uri.Contains("/layouts/")) 12 | { 13 |
14 |
15 | @ChildContent 16 |
17 |
18 | } 19 | else 20 | { 21 |
22 |
23 | @ChildContent 24 |
25 |
26 | } 27 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/Example/Example.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Components.Example 2 | { 3 | using Microsoft.AspNetCore.Components; 4 | using Blorc.PatternFly.Components; 5 | using Blorc.Components; 6 | 7 | public class ExampleComponent : BlorcComponentBase 8 | { 9 | [Inject] 10 | protected NavigationManager NavigationManager { get; set; } 11 | 12 | [Parameter] 13 | public string Title { get; set; } 14 | 15 | public string Slug 16 | { 17 | get 18 | { 19 | return Title?.Replace(" ", "-").Replace("(", string.Empty).Replace(")", string.Empty).ToLower(); 20 | } 21 | } 22 | 23 | [Parameter] 24 | public RenderFragment ChildContent { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/Metadata/Metadata.razor: -------------------------------------------------------------------------------- 1 | @inherits Blorc.PatternFly.Example.Components.Metadata.MetadataComponent 2 | 3 |

@ComponentName

4 | 5 |
6 | 7 |

Metadata

8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
PatternFly documentation@DocumentationUrl
PatternFly source code@SourceUrl
22 | 23 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/MetadataComponentBase.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Components 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public abstract class MetadataComponentBase : BlorcComponentBase 7 | { 8 | [Parameter] 9 | public string ComponentName { get; set; } 10 | 11 | public string ComponentNameSlug 12 | { 13 | get 14 | { 15 | return ComponentName?.Replace(" ", string.Empty).Replace("-", string.Empty); 16 | } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/NavigationItemContent/NavigationItemContent.razor: -------------------------------------------------------------------------------- 1 | @using Blorc.PatternFly.Layouts.Split 2 | @using Blorc.PatternFly.Components.Badge 3 | @using Blorc.PatternFly.Components.Icon 4 | 5 | @inherits NavigationItemContentComponent 6 | 7 | 8 | 9 | @Text 10 | @if (ItemType == ItemType.New) 11 | { 12 | 13 | } 14 | else if (ItemType == ItemType.Unavailable) 15 | { 16 | 17 | } 18 | else if (ItemType == ItemType.Updated) 19 | { 20 | 21 | } 22 | else 23 | { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/Todo/Todo.razor: -------------------------------------------------------------------------------- 1 | @inherits Blorc.PatternFly.Example.Components.Todo.TodoComponent 2 | 3 |

4 |
5 |
6 | Component @ComponentName is not @(TodoList is null ? "yet" : "fully") supported. Need this component? There are several ways to help out! 7 |
8 |
9 |

    10 |
  1. Create a PR (pull request) with this component on the official repository
  2. 11 |
  3. Support us on Open Collective
  4. 12 |
13 | 14 | @if (TodoList is not null) 15 | { 16 |
17 |
18 | Todo List 19 |
20 |
21 |
    22 | @TodoList 23 |
24 | } 25 |

-------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Components/Todo/Todo.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Components.Todo 2 | { 3 | using Microsoft.AspNetCore.Components; 4 | 5 | public class TodoComponent : MetadataComponentBase 6 | { 7 | [Parameter] 8 | public RenderFragment TodoList { get; set; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/AboutModalDemo.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Pages.Components 2 | { 3 | using Blorc.Components; 4 | 5 | public partial class AboutModalDemo : BlorcComponentBase 6 | { 7 | public AboutModalDemo() 8 | : base(true) 9 | { 10 | } 11 | 12 | protected ISourceContainerService AboutModalContainerService { get; set; } 13 | 14 | public void Close() 15 | { 16 | AboutModalContainerService.HideContentAsync(); 17 | } 18 | 19 | protected void OnButtonClick() 20 | { 21 | AboutModalContainerService.ShowContentAsync(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/AvatarDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/avatar" 2 | 3 | @using Blorc.PatternFly.Components.Avatar 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 |
12 | 13 | @code { 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/BackgroundImageDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/background-image" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/BadgeDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/badge" 2 | 3 | @using Blorc.PatternFly.Components.Badge 4 | 5 | 6 | 7 |
8 | 9 | 7 10 | 24 11 | 240 12 | 999+ 13 | 14 | 15 | 16 | 7 17 | 24 18 | 240 19 | 999+ 20 | 21 |
22 | 23 | @code { 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/BrandDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/brand" 2 | 3 | @using Blorc.PatternFly.Components.Brand 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 |
12 | 13 | @code { 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/ChipGroupDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/chip-group" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/ContextSelectorDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/context-selector" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/DataListDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/data-list" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/FormDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/form" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/FormSelectDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/form-select" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/LabelDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/label" 2 | 3 | @using Blorc.PatternFly.Components.Label 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 |
13 | 14 | @code { 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/LoginPageDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/login-page" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/NavDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/nav" 2 | 3 | @using Blorc.PatternFly.Components.Navigation 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/OptionsMenuDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/options-menu" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/PageDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/page" 2 | @using Blorc.PatternFly.Components.Text 3 | 4 | 5 | 6 | 7 | 8 | This application is also the Page component demo. So, for now take a look into the MainLayout.razor file of Blorc.PatternFly.Example. 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Implement the full demo. 17 | Extract section as component. 18 | 19 | 20 | 21 | 22 | 23 | @code { 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/PaginationDemo.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Pages.Components 2 | { 3 | using Blorc.Components; 4 | using Blorc.StateConverters; 5 | 6 | public partial class PaginationDemo : BlorcComponentBase 7 | { 8 | public PaginationDemo() 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/PopoverDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/popover" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/SimpleModal.razor: -------------------------------------------------------------------------------- 1 | 

SimpleModal

2 | 3 | @code { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/SkipToContentDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/skip-to-content" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/SpinnerDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/spinner" 2 | 3 | @using Blorc.PatternFly.Components.Spinner 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/TitleDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/title" 2 | 3 | @using Blorc.PatternFly.Components.Title 4 | 5 | 6 | 7 |
8 | 9 | 10 | 4xl Title 11 | 12 | 13 | 3xl Title 14 | 15 | 16 | 2xl Title 17 | 18 | 19 | xl Title 20 | 21 | 22 | lg Title 23 | 24 | 25 | md Title 26 | 27 | 28 |
29 | 30 | @code { 31 | 32 | } 33 | 34 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/WizardDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/components/wizard" 2 | 3 | 4 | 5 | 6 | 7 | @code { 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using Blorc.PatternFly.Example.Components.Example 2 | @using Blorc.PatternFly.Example.Components.Metadata 3 | @using Blorc.PatternFly.Example.Components.Todo 4 | 5 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Index.razor: -------------------------------------------------------------------------------- 1 | @page "/" 2 | @page "/index.html" 3 | 4 | @using Blorc.PatternFly.Components.Text 5 | 6 | 7 | Blorc.PatternFly 8 | Welcome to the Blorc.PatternFly example app 9 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Layouts/BullseyeDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/layouts/bullseye" 2 | 3 | @using Blorc.PatternFly.Layouts.Bullseye 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 |
Bullseye ◎ layout
12 |
13 |
14 |
15 | 16 | @code { 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Layouts/LevelDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/layouts/level" 2 | 3 | @using Blorc.PatternFly.Layouts.Level 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | Level Item 12 | Level Item 13 | Level Item 14 | 15 | 16 | 17 | 18 | 19 | Level Item 20 | Level Item 21 | Level Item 22 | 23 | 24 |
25 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Layouts/SplitDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/layouts/split" 2 | 3 | @using Blorc.PatternFly.Layouts.Split 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | content 12 | pf-m-fill 13 | content 14 | 15 | 16 | 17 | 18 | 19 | content 20 | pf-m-fill 21 | content 22 | 23 | 24 |
25 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Layouts/StackDemo.razor: -------------------------------------------------------------------------------- 1 | @page "/layouts/stack" 2 | 3 | @using Blorc.PatternFly.Layouts.Stack 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | content 12 | pf-m-fill 13 | content 14 | 15 | 16 | 17 | 18 | 19 | content 20 | pf-m-fill 21 | content 22 | 23 | 24 |
25 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/Layouts/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using Blorc.PatternFly.Example.Components.Example 2 | @using Blorc.PatternFly.Example.Components.Metadata 3 | @using Blorc.PatternFly.Example.Components.Todo 4 | 5 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Pages/_Imports.razor: -------------------------------------------------------------------------------- 1 | @layout MainLayout 2 | 3 | @using Blorc.Components -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:19331/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "Blorc.PatternFly.Example": { 19 | "commandName": "Project", 20 | "launchBrowser": true, 21 | "environmentVariables": { 22 | "ASPNETCORE_ENVIRONMENT": "Development" 23 | }, 24 | "applicationUrl": "http://localhost:19332/" 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Shared/MainLayout.razor: -------------------------------------------------------------------------------- 1 | @using Blorc.Attributes 2 | @using Blorc.Dom.Injectors 3 | @using Blorc.Components 4 | @using Blorc.PatternFly.Layouts 5 | @using Blorc.PatternFly.Layouts.Split 6 | @using Blorc.PatternFly.Components.Page 7 | @using Blorc.PatternFly.Components.Button 8 | @using Blorc.PatternFly.Components.Icon 9 | @using Blorc.PatternFly.Components.Container 10 | 11 | @inherits MainLayoutComponent 12 | 13 | 14 | 15 | Blorc.PatternFly.Example 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | @Body 27 | 28 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/Shared/MainLayout.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Example.Shared 2 | { 3 | using Blorc.Components; 4 | 5 | public class MainLayoutComponent : BlorcLayoutComponentBase 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using Microsoft.AspNetCore.Components.Forms 3 | @using Microsoft.AspNetCore.Components.Routing 4 | @using Microsoft.AspNetCore.Components.Web 5 | @using Microsoft.JSInterop 6 | @using Blorc.PatternFly.Example 7 | @using Blorc.PatternFly.Example.Shared 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/wwwroot/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WildGums/Blorc.PatternFly/de3a0f34583e9b0732ba639611cb640db850af3c/src/Blorc.PatternFly.Example/wwwroot/.nojekyll -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/wwwroot/examples/avatar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Example/wwwroot/examples/brand.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Tests/DummyFacts.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Tests 2 | { 3 | using NUnit.Framework; 4 | 5 | [TestFixture] 6 | public class DummyFacts 7 | { 8 | [Test] 9 | public void DummyTest() 10 | { 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Tests/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly.Tests/ModuleInitializer.cs: -------------------------------------------------------------------------------- 1 |  2 | /// 3 | /// Used by the ModuleInit. All code inside the Initialize method is ran as soon as the assembly is loaded. 4 | /// 5 | public static class ModuleInitializer 6 | { 7 | /// 8 | /// Initializes the module. 9 | /// 10 | public static void Initialize() 11 | { 12 | 13 | } 14 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly.sln.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True 3 | True -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Accordion/Accordion.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | 7 |
8 | @Items 9 |
10 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Accordion/Accordion.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Accordion 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public partial class Accordion : BlorcComponentBase 7 | { 8 | private int _selectedIndex; 9 | 10 | [Parameter] 11 | public RenderFragment Items { get; set; } 12 | 13 | public int SelectedIndex 14 | { 15 | get => _selectedIndex; 16 | set 17 | { 18 | if (_selectedIndex != value) 19 | { 20 | _selectedIndex = value; 21 | } 22 | else 23 | { 24 | _selectedIndex = -1; 25 | } 26 | 27 | StateHasChanged(); 28 | } 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Accordion/AccordionItem.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
7 |

8 | 14 |

15 |
16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Alert/AlertType.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Alert 2 | { 3 | public enum AlertType 4 | { 5 | Info, 6 | Success, 7 | Warning, 8 | Danger 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/ApplicationLauncher/ApplicationLauncher.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Dropdown 4 | 5 | @inherits BlorcComponentBase 6 | 7 |
8 | 12 | 13 | 14 | 15 | 16 | 17 | @ChildContent 18 | 19 | 20 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Avatar/Avatar.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @Alt -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Avatar/Avatar.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Avatar 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public partial class Avatar : BlorcComponentBase 7 | { 8 | public Avatar() 9 | { 10 | } 11 | 12 | [Parameter] 13 | public string Source { get; set; } 14 | 15 | [Parameter] 16 | public string Alt { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Badge/Badge.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @ChildContent -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Brand/Brand.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @Alt -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Brand/Brand.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Brand 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public partial class Brand : BlorcComponentBase 7 | { 8 | public Brand() 9 | { 10 | 11 | } 12 | 13 | [Parameter] 14 | public string Source { get; set; } 15 | 16 | [Parameter] 17 | public string Alt { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Breadcrumb/Breadcrumb.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Breadcrumb/Breadcrumb.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Breadcrumb 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using Blorc.Components; 6 | using Microsoft.AspNetCore.Components; 7 | 8 | public partial class Breadcrumb : BlorcComponentBase 9 | { 10 | public Breadcrumb() 11 | { 12 | Label = "Breadcrumb"; 13 | } 14 | 15 | [Parameter] 16 | public string Label { get; set; } 17 | 18 | [Parameter] 19 | public RenderFragment ChildContent { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Breadcrumb/BreadcrumbHeading.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | 7 | @ChildContent 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Breadcrumb/BreadcrumbHeading.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Breadcrumb 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class BreadcrumbHeading : BlorcComponentBase 8 | { 9 | public BreadcrumbHeading() 10 | { 11 | Component = "a"; 12 | } 13 | 14 | [Parameter] 15 | public string Component { get; set; } 16 | 17 | [Parameter] 18 | public string To { get; set; } 19 | 20 | [Parameter] 21 | public string Target { get; set; } 22 | 23 | [Parameter] 24 | public RenderFragment ChildContent { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Breadcrumb/BreadcrumbItem.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Breadcrumb 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class BreadcrumbItem : BlorcComponentBase 8 | { 9 | public BreadcrumbItem() 10 | { 11 | Component = "a"; 12 | } 13 | 14 | [Parameter] 15 | public string Component { get; set; } 16 | 17 | [Parameter] 18 | public bool IsActive { get; set; } 19 | 20 | [Parameter] 21 | public string To { get; set; } 22 | 23 | [Parameter] 24 | public string Target { get; set; } 25 | 26 | [Parameter] 27 | public RenderFragment ChildContent { get; set; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Button/Button.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits UniqueComponentBase 5 | 6 | @_customRender 7 | 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Button/ButtonType.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Button 2 | { 3 | public enum ButtonType 4 | { 5 | Button, 6 | 7 | Submit 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Button/ButtonVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Button 2 | { 3 | public enum ButtonVariant 4 | { 5 | Primary, 6 | 7 | Secondary, 8 | 9 | Tertiary, 10 | 11 | Danger, 12 | 13 | Plain, 14 | 15 | Link, 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/Card.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CreateComponent() 7 | 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardBody.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender 7 | 8 | @code 9 | { 10 | private RenderFragment CustomRender; 11 | 12 | private RenderFragment CreateComponent() => builder => 13 | { 14 | builder.OpenElement(0, Component); 15 | builder.AddAttribute(1, "class", Class); 16 | 17 | builder.AddContent(2, ChildContent); 18 | builder.CloseElement(); 19 | }; 20 | 21 | protected override void OnInitialized() 22 | { 23 | base.OnInitialized(); 24 | 25 | CustomRender = CreateComponent(); 26 | } 27 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardBody.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Card 2 | { 3 | using Blorc.Components; 4 | using Blorc.StateConverters; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class CardBody : BlorcComponentBase 8 | { 9 | public CardBody() 10 | { 11 | Component = "div"; 12 | 13 | CreateConverter() 14 | .Fixed("pf-c-card__footer") 15 | .If(() => !IsFilled, "pf-m-no-fill") 16 | .Watch(() => IsFilled) 17 | .Update(() => Class); 18 | } 19 | 20 | public string Class { get; set; } 21 | 22 | [Parameter] 23 | public string Component { get; set; } 24 | 25 | [Parameter] 26 | public bool IsFilled { get; set; } 27 | 28 | [Parameter] 29 | public RenderFragment ChildContent { get; set; } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardFooter.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender 7 | 8 | @functions 9 | { 10 | private RenderFragment CustomRender; 11 | 12 | private RenderFragment CreateComponent() => builder => 13 | { 14 | builder.OpenElement(0, Component); 15 | builder.AddAttribute(1, "class", Class); 16 | 17 | builder.AddContent(2, ChildContent); 18 | builder.CloseElement(); 19 | }; 20 | 21 | protected override void OnInitialized() 22 | { 23 | base.OnInitialized(); 24 | 25 | CustomRender = CreateComponent(); 26 | } 27 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardFooter.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Card 2 | { 3 | using Blorc.Components; 4 | using Blorc.StateConverters; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class CardFooter : BlorcComponentBase 8 | { 9 | public CardFooter() 10 | { 11 | Component = "div"; 12 | 13 | CreateConverter() 14 | .Fixed("pf-c-card__footer") 15 | .Update(() => Class); 16 | } 17 | 18 | public string Class { get; set; } 19 | 20 | [Parameter] 21 | public string Component { get; set; } 22 | 23 | [Parameter] 24 | public RenderFragment ChildContent { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardHeader.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender 7 | 8 | @code 9 | { 10 | private RenderFragment CustomRender; 11 | 12 | private RenderFragment CreateComponent() => builder => 13 | { 14 | builder.OpenElement(0, Component); 15 | builder.AddAttribute(1, "class", Class); 16 | 17 | builder.AddContent(2, ChildContent); 18 | builder.CloseElement(); 19 | }; 20 | 21 | protected override void OnInitialized() 22 | { 23 | base.OnInitialized(); 24 | 25 | CustomRender = CreateComponent(); 26 | } 27 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Card/CardHeader.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Card 2 | { 3 | using Blorc.Components; 4 | using Blorc.StateConverters; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class CardHeader : BlorcComponentBase 8 | { 9 | public CardHeader() 10 | { 11 | Component = "div"; 12 | 13 | CreateConverter() 14 | .Fixed("pf-c-card__header") 15 | .Fixed("pf-c-title") 16 | .Fixed("pf-m-lg") 17 | .Update(() => Class); 18 | } 19 | 20 | public string Class { get; set; } 21 | 22 | [Parameter] 23 | public string Component { get; set; } 24 | 25 | [Parameter] 26 | public RenderFragment ChildContent { get; set; } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Checkbox/Checkbox.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits UniqueComponentBase 5 | 6 |
7 | 15 | 16 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Container/SourceContainer.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Container/SourceContainer.razor.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Container 8 | { 9 | using Blorc.Components; 10 | 11 | using Microsoft.AspNetCore.Components; 12 | 13 | public partial class SourceContainer : BlorcComponentBase 14 | { 15 | [Parameter] 16 | public RenderFragment ChildContent { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Container/TargetContainer.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | 7 |
8 | 9 | @foreach (var renderFragment in RenderFragments) 10 | { 11 |
12 | @renderFragment 13 |
14 | } 15 |
16 |
17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/Dropdown.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly 4 | 5 | @inherits UniqueComponentBase 6 | 7 | 8 |
9 | @Toggle 10 | 11 |
12 | @ChildContent 13 | 14 | @if (Items is not null) 15 | { 16 | if (IsGrouped) 17 | { 18 | @Items 19 | } 20 | else 21 | { 22 | 25 | } 26 | } 27 |
28 |
29 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownDirection.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Dropdown 2 | { 3 | public enum DropdownDirection 4 | { 5 | Up, 6 | 7 | Down 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownGroup.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
7 | @if (!string.IsNullOrWhiteSpace(Label)) 8 | { 9 |

@Label

10 | } 11 | 12 |
    13 | @ChildContent 14 |
15 |
-------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownGroup.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Dropdown 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public partial class DropdownGroup : BlorcComponentBase 7 | { 8 | public DropdownGroup() 9 | { 10 | } 11 | 12 | [Parameter] 13 | public string Label 14 | { 15 | get { return GetPropertyValue(nameof(Label)); } 16 | set { SetPropertyValue(nameof(Label), value); } 17 | } 18 | 19 | [Parameter] 20 | public string Key 21 | { 22 | get { return GetPropertyValue(nameof(Key)); } 23 | set { SetPropertyValue(nameof(Key), value); } 24 | } 25 | 26 | [Parameter] 27 | public RenderFragment ChildContent { get; set; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownItem.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
  • @CustomRender
  • -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownPosition.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Dropdown 2 | { 3 | public enum DropdownPosition 4 | { 5 | Left, 6 | 7 | Right 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/DropdownToggleCheckbox.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/Item.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @ChildContent -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/Item.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Dropdown 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using Blorc.Components; 6 | using Microsoft.AspNetCore.Components; 7 | 8 | public partial class Item : BlorcComponentBase 9 | { 10 | public Item() 11 | { 12 | Component = "a"; 13 | Href = "#"; 14 | } 15 | 16 | [Parameter] 17 | public string Component { get; set; } 18 | 19 | [Parameter] 20 | public bool IsDisabled { get; set; } 21 | 22 | [Parameter] 23 | public bool IsHovered { get; set; } 24 | 25 | [Parameter] 26 | public string Href { get; set; } 27 | 28 | [Parameter] 29 | public RenderFragment ChildContent { get; set; } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/KebabToggle.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Icon 4 | 5 | @inherits BlorcComponentBase 6 | 7 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Dropdown/Separator.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
  • @CustomRender
  • -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyState.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
    7 | @ChildContent 8 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateBody.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |

    7 | @ChildContent 8 |

    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateBody.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.EmptyState 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class EmptyStateBody : BlorcComponentBase 8 | { 9 | public EmptyStateBody() 10 | { 11 | } 12 | 13 | [Parameter] 14 | public RenderFragment ChildContent { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateIcon.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Icon 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateIcon.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.EmptyState 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Blorc.PatternFly.Components.Icon; 6 | using Microsoft.AspNetCore.Components; 7 | 8 | public partial class EmptyStateIcon : BlorcComponentBase 9 | { 10 | public EmptyStateIcon() 11 | { 12 | 13 | } 14 | 15 | [Parameter] 16 | public string Icon { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateSecondaryActions.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
    7 | @ChildContent 8 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateSecondaryActions.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.EmptyState 2 | { 3 | using Blorc.Components; 4 | using Microsoft.AspNetCore.Components; 5 | 6 | public partial class EmptyStateSecondaryActions : BlorcComponentBase 7 | { 8 | public EmptyStateSecondaryActions() 9 | { 10 | } 11 | 12 | [Parameter] 13 | public RenderFragment ChildContent { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/EmptyState/EmptyStateVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.EmptyState 2 | { 3 | public enum EmptyStateVariant 4 | { 5 | Small, 6 | 7 | Large, 8 | 9 | Full 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Expandable/Expandable.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Icon 4 | 5 | @inherits BlorcComponentBase 6 | 7 |
    8 | 12 | 13 | 14 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Icon/DynamicIcon.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Icon/Interfaces/IIconComponent.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Icon 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | public interface IIconComponent 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Icon/src/pfreact-pfIcons.js: -------------------------------------------------------------------------------- 1 | const { 2 | save, 3 | 'folder-open': folderOpen, 4 | edit, 5 | print, 6 | spinner, 7 | home, 8 | history, 9 | memory, 10 | server, 11 | user, 12 | users, 13 | info, 14 | filter, 15 | key, 16 | ...icons 17 | } = require('@patternfly/patternfly/icons/pf-icons'); 18 | 19 | module.exports = { 20 | pfIcons: { 21 | 'save-alt': save, 22 | 'folder-open-alt': folderOpen, 23 | 'edit-alt': edit, 24 | 'print-alt': print, 25 | 'spinner-alt': spinner, 26 | 'home-alt': home, 27 | 'memory-alt': memory, 28 | 'server-alt': server, 29 | 'user-sec': user, 30 | 'users-alt': users, 31 | 'info-alt': info, 32 | 'filter-alt': filter, 33 | ...icons 34 | } 35 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Icon/src/readme.txt: -------------------------------------------------------------------------------- 1 | The source files come from: 2 | 3 | * https://github.com/FortAwesome/Font-Awesome (Font Awesome Free License) 4 | * fortawesome-all.js => https://github.com/FortAwesome/Font-Awesome/blob/master/js/all.js 5 | 6 | * https://github.com/patternfly/patternfly-react (MIT) 7 | * pfreact-customIcons.js => https://github.com/patternfly/patternfly-react/tree/master/packages/react-icons/build/customIcons.js 8 | * pfreact-pfIcons => https://github.com/patternfly/patternfly-react/tree/master/packages/react-icons/build/pfIcons.js -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/InputGroup/InputGroup.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
    7 | @ChildContent 8 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/InputGroup/InputGroup.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.InputGroup 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class InputGroup : BlorcComponentBase 8 | { 9 | public InputGroup() 10 | { 11 | } 12 | 13 | [Parameter] 14 | public RenderFragment ChildContent { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/InputGroup/InputGroupText.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Label/Label.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @ChildContent 7 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Label/Label.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Label 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class Label : BlorcComponentBase 8 | { 9 | public Label() 10 | { 11 | 12 | } 13 | 14 | public string Class 15 | { 16 | get 17 | { 18 | var value = string.Empty; 19 | 20 | if (IsCompact) 21 | { 22 | value += "pf-m-compact"; 23 | } 24 | 25 | return value; 26 | } 27 | } 28 | 29 | [Parameter] 30 | public bool IsCompact { get; set; } 31 | 32 | [Parameter] 33 | public RenderFragment ChildContent { get; set; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/List/List.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
      7 | @ChildContent 8 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/List/ListItem.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
  • @ChildContent
  • -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/List/ListItem.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.List 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class ListItem : BlorcComponentBase 8 | { 9 | public ListItem() 10 | { 11 | 12 | } 13 | 14 | [Parameter] 15 | public RenderFragment ChildContent { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/List/ListVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.List 2 | { 3 | public enum ListVariant 4 | { 5 | Simple, 6 | 7 | Inline, 8 | 9 | Grid 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Modal/ExecutionContext.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Modal 8 | { 9 | using Blorc.PatternFly.Core; 10 | 11 | public class ExecutionContext 12 | { 13 | public ExecutionContext(IProgressAsync progress, object state) 14 | { 15 | Progress = progress; 16 | State = state; 17 | } 18 | 19 | public IProgressAsync Progress { get; } 20 | 21 | public object State { get; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Modal/ModalSize.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Modal 7 | { 8 | public enum ModalSize 9 | { 10 | Default, 11 | Large, 12 | Small 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Modal/ModalsContainer.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Layouts.Bullseye 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | @Dialog 9 | 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Navigation/Interfaces/IContainerNavigationComponent.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Navigation 2 | { 3 | using System; 4 | 5 | public interface IContainerNavigationComponent 6 | { 7 | event EventHandler CurrentItemInvalidated; 8 | 9 | void InvalidateCurrentItem(); 10 | 11 | void MarkBranchAsCurrent(); 12 | 13 | bool IsSynchronized { get; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Navigation/Navigation.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Navigation/NavigationItem.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
  • 7 | 8 | @if (ChildContent is not null) 9 | { 10 | @ChildContent 11 | } 12 | else 13 | { 14 | @Title 15 | } 16 | 17 |
  • -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Page/Sidebar.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | 7 |
    8 |
    9 | @ChildContent 10 |
    11 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Pagination/PaginationVariant.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Pagination 8 | { 9 | public enum PaginationVariant 10 | { 11 | Bottom, 12 | Top 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Progress/ProgressMeasureLocation.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Progress 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | public enum ProgressMeasureLocation 8 | { 9 | Top, 10 | 11 | Inside, 12 | 13 | Outside, 14 | 15 | None 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Progress/ProgressSize.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Progress 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | public enum ProgressSize 8 | { 9 | Small, 10 | 11 | Normal, 12 | 13 | Large, 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Progress/ProgressVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Progress 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Text; 6 | 7 | public enum ProgressVariant 8 | { 9 | Info, 10 | 11 | Success, 12 | 13 | Danger 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Radio/Radio.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using System 4 | 5 | @inherits UniqueComponentBase 6 | 7 |
    8 | 17 | 18 |
    19 | 20 | @code 21 | { 22 | private void OnValueChanged(ChangeEventArgs e) 23 | { 24 | IsChecked = (bool)e.Value; 25 | 26 | var handler = OnChange; 27 | if (handler is not null) 28 | { 29 | handler(this, EventArgs.Empty); 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelect.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits Select 5 | 8 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelect.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Select 2 | { 3 | public partial class CheckboxSelect : Select 4 | { 5 | public CheckboxSelect() 6 | { 7 | 8 | } 9 | 10 | // [Parameter] 11 | // public bool IsExpanded { get; set; } 12 | // 13 | // [Parameter] 14 | // public bool IsGrouped { get; set; } 15 | // 16 | // [Parameter] 17 | // public List CheckedItems {get;set;} 18 | 19 | // [Parameter] 20 | // public RenderFragment ChildContent { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelectGroup.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @if (ContainerSelect is not null && ContainerSelect.IsExpanded) 7 | { 8 |
    9 | 10 | @ChildContent 11 |
    12 | } 13 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelectGroup.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Select 2 | 3 | { 4 | using Blorc.Components; 5 | 6 | using Microsoft.AspNetCore.Components; 7 | 8 | public partial class CheckboxSelectGroup : BlorcComponentBase 9 | { 10 | [Parameter] 11 | public RenderFragment ChildContent { get; set; } 12 | 13 | [CascadingParameter] 14 | public Select ContainerSelect { get; set; } 15 | 16 | [Parameter] 17 | public string Key { get; set; } 18 | 19 | [Parameter] 20 | public string Label { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelectOption.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Checkbox 4 | 5 | @inherits SelectOption 6 | 7 | @if (ContainerSelect is not null && ContainerSelect.IsExpanded && IsVisible) 8 | { 9 | 12 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/CheckboxSelectOption.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Select 2 | { 3 | public partial class CheckboxSelectOption : SelectOption 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/SelectOption.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components.Web 2 | 3 | @inherits BlorcComponentBase 4 | 5 | @if (ContainerSelect is not null && ContainerSelect.IsExpanded && IsVisible) 6 | { 7 |
  • 8 | 15 |
  • 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/SelectVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Select 2 | { 3 | public enum SelectVariant 4 | { 5 | Single, 6 | 7 | Checkbox, 8 | 9 | Typeahead, 10 | 11 | TypeaheadMulti 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/SingleSelect.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Select/SingleSelect.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Select 2 | 3 | { 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class SingleSelect : BlorcComponentBase 8 | { 9 | [Parameter] public object SelectedItem { get; set; } 10 | 11 | [Parameter] public bool IsExpanded { get; set; } 12 | 13 | [Parameter] public RenderFragment ChildContent { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Spinner/Spinner.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @if (IsVisible) 7 | { 8 | 9 | 10 | 11 | 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Spinner/SpinnerSize.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Spinner 8 | { 9 | public enum SpinnerSize 10 | { 11 | Small, 12 | Medium, 13 | Large, 14 | XLarge 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Switch/Switch.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits UniqueComponentBase 5 | 6 | 18 | 19 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ActionColumn.razor: -------------------------------------------------------------------------------- 1 | @using System.Collections.Concurrent 2 | @using Microsoft.AspNetCore.Components 3 | @using Microsoft.AspNetCore.Components.Web 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | @Label 9 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ActionColumnDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Table 8 | { 9 | using System; 10 | using System.Collections.Generic; 11 | 12 | public class ActionColumnDefinition : ColumnDefinition 13 | { 14 | public Func> ActionSource { get; set; } 15 | 16 | public ActionColumnType ActionColumnType { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ActionColumnType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Table 8 | { 9 | public enum ActionColumnType 10 | { 11 | Toggle, 12 | 13 | ButtonAndToggle, 14 | 15 | Buttons, 16 | 17 | GutterButtons 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ActionDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table 7 | { 8 | public class ActionDefinition 9 | { 10 | public object DataContext { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/Align.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table 7 | { 8 | public enum Align 9 | { 10 | Default, 11 | Center 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ButtonCell.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | @using Blorc.PatternFly.Components.Button 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ButtonColumn.razor: -------------------------------------------------------------------------------- 1 | @using System.Collections.Concurrent 2 | @using Microsoft.AspNetCore.Components 3 | @using Microsoft.AspNetCore.Components.Web 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | @Label 9 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ButtonColumnDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Table 8 | { 9 | using System; 10 | 11 | using Blorc.PatternFly.Components.Button; 12 | 13 | public class ButtonColumnDefinition : ColumnDefinition 14 | { 15 | public ButtonVariant Variant { get; set; } 16 | 17 | public Action Action { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/CallActionDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table 7 | { 8 | using System; 9 | 10 | public class CallActionDefinition : ActionDefinition 11 | { 12 | public string Label { get; set; } 13 | 14 | public Action Action { get; set; } 15 | 16 | public string Key { get; set; } 17 | 18 | public bool IsDisabled { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/Cell.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @if (ValueContent is not null) 7 | { 8 | @ValueContent 9 | } 10 | else 11 | { 12 | @Value 13 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/Column.razor: -------------------------------------------------------------------------------- 1 | @using System.Collections.Concurrent 2 | @using Microsoft.AspNetCore.Components 3 | @using Microsoft.AspNetCore.Components.Web 4 | 5 | @inherits BlorcComponentBase 6 | 7 | 8 | @if (IsSortable) 9 | { 10 | 17 | } 18 | else 19 | { 20 | @Label 21 | } 22 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/ColumnDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Table 8 | { 9 | using System; 10 | 11 | public class ColumnDefinition 12 | { 13 | public Predicate FilterPredicate { get; set; } 14 | 15 | public int Idx { get; set; } 16 | 17 | public string Key { get; set; } 18 | 19 | public string Label { get; set; } 20 | 21 | public bool IsSortable { get; set; } 22 | 23 | public bool IsSelected { get; set; } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/EventArgs/OrderByColumnChangedEventArg.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table.EventArgs 7 | { 8 | using System; 9 | 10 | public class OrderByColumnChangedEventArg : EventArgs 11 | { 12 | public Column ColumnComponent { get; } 13 | 14 | public OrderByColumnChangedEventArg(Column columnComponent) 15 | { 16 | ColumnComponent = columnComponent; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/GridSize.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2020 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | 7 | namespace Blorc.PatternFly.Components.Table 8 | { 9 | public enum GridSize 10 | { 11 | Md, 12 | Xl 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/Order.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table 7 | { 8 | public enum Order 9 | { 10 | None, 11 | 12 | Descending, 13 | 14 | Ascending 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Table/SeparatorActionDefinition.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) 2008 - 2019 WildGums. All rights reserved. 4 | // 5 | // -------------------------------------------------------------------------------------------------------------------- 6 | namespace Blorc.PatternFly.Components.Table 7 | { 8 | public class SeparatorActionDefinition : ActionDefinition 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Tabs/Interfaces/ITab.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Tabs 2 | { 3 | using Microsoft.AspNetCore.Components; 4 | 5 | public interface ITab 6 | { 7 | int Id { get; } 8 | 9 | string UniqueLabelId { get; } 10 | 11 | string UniqueSectionId { get; set; } 12 | 13 | RenderFragment ChildContent { get; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Tabs/Tab.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
  • 7 | 13 |
  • 14 | 15 | @functions 16 | { 17 | private void OnClick() 18 | { 19 | Activate(); 20 | } 21 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Tabs/TabsVariant.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Tabs 2 | { 3 | public enum TabsVariant 4 | { 5 | Div, 6 | 7 | Nav 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/Text.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Text 2 | { 3 | using System; 4 | using System.ComponentModel; 5 | using Blorc.Components; 6 | using Microsoft.AspNetCore.Components; 7 | 8 | public partial class Text : BlorcComponentBase 9 | { 10 | public Text() 11 | { 12 | Component = "p"; 13 | } 14 | 15 | [Parameter] 16 | public string Component { get; set; } 17 | 18 | [Parameter] 19 | public string Href { get; set; } 20 | 21 | [Parameter] 22 | public RenderFragment ChildContent { get; set; } 23 | 24 | protected override void OnPropertyChanged(PropertyChangedEventArgs e) 25 | { 26 | base.OnPropertyChanged(e); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextContent.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 |
    7 | @ChildContent 8 |
    -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextContent.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Text 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class TextContent : BlorcComponentBase 8 | { 9 | public TextContent() 10 | { 11 | } 12 | 13 | [Parameter] 14 | public RenderFragment ChildContent { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextList.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender 7 | 8 | @code 9 | { 10 | private RenderFragment CustomRender; 11 | 12 | private RenderFragment CreateComponent() => builder => 13 | { 14 | builder.OpenElement(0, Component); 15 | 16 | builder.AddAttribute(1, "data-pf-content", "true"); 17 | builder.AddAttribute(2, "class", string.Empty); 18 | 19 | builder.AddContent(3, ChildContent); 20 | builder.CloseElement(); 21 | }; 22 | 23 | protected override void OnInitialized() 24 | { 25 | base.OnInitialized(); 26 | 27 | CustomRender = CreateComponent(); 28 | } 29 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextList.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Text 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class TextList : BlorcComponentBase 8 | { 9 | public TextList() 10 | { 11 | Component = "ul"; 12 | } 13 | 14 | [Parameter] 15 | public string Component { get; set; } 16 | 17 | [Parameter] 18 | public RenderFragment ChildContent { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextListItem.razor: -------------------------------------------------------------------------------- 1 | @using Microsoft.AspNetCore.Components 2 | @using Microsoft.AspNetCore.Components.Web 3 | 4 | @inherits BlorcComponentBase 5 | 6 | @CustomRender 7 | 8 | @code 9 | { 10 | private RenderFragment CustomRender; 11 | 12 | private RenderFragment CreateComponent() => builder => 13 | { 14 | builder.OpenElement(0, Component); 15 | 16 | builder.AddAttribute(1, "data-pf-content", "true"); 17 | builder.AddAttribute(2, "class", string.Empty); 18 | 19 | builder.AddContent(3, ChildContent); 20 | builder.CloseElement(); 21 | }; 22 | 23 | protected override void OnInitialized() 24 | { 25 | base.OnInitialized(); 26 | 27 | CustomRender = CreateComponent(); 28 | } 29 | } -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/Text/TextListItem.razor.cs: -------------------------------------------------------------------------------- 1 | namespace Blorc.PatternFly.Components.Text 2 | { 3 | using System; 4 | using Blorc.Components; 5 | using Microsoft.AspNetCore.Components; 6 | 7 | public partial class TextListItem : BlorcComponentBase 8 | { 9 | public TextListItem() 10 | { 11 | Component = "li"; 12 | } 13 | 14 | [Parameter] 15 | public string Component { get; set; } 16 | 17 | [Parameter] 18 | public RenderFragment ChildContent { get; set; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Blorc.PatternFly/Components/TextArea/TextArea.razor: -------------------------------------------------------------------------------- 1 | @using System 2 | @using Blorc.PatternFly.Core 3 | @using Microsoft.AspNetCore.Components 4 | @using Microsoft.AspNetCore.Components.Web 5 | 6 | @inherits BlorcComponentBase 7 | 8 | @switch (UpdateMode) 9 | { 10 | case UpdateMode.Continuous: 11 |