Commit 7df1e2c
authored
Blazor: Reorganize files and prepend NationalInstruments namespace (#2892)
# Pull Request
## 🤨 Rationale
For consistency with other NI-authored binaries, we want the Blazor
assemblies from this repo to be namespaced under `NationalInstruments`.
Also, we want to reorganize the Blazor projects to better match the
structure of the "components" packages.
## 👩💻 Implementation
- changed namespaces and assembly names from `FooBlazor` to
`NationalInstruments.FooBlazor`
- moved components `.razor` and `.razor.cs` files into
component-specific subdirectories
- moved component-specific type files into said directories
- renamed `Components` folder to `Source`
- moved shared files from the root into a `Source/Patterns` directory
## 🧪 Testing
Build/tests pass1 parent 3dd7811 commit 7df1e2c
File tree
376 files changed
+607
-572
lines changed- change
- packages/blazor-workspace
- Examples
- Demo.Client
- wwwroot
- Demo.Hybrid
- wwwroot
- Demo.Server
- Components
- NimbleBlazor
- NuGetFiles/build
- Properties
- Source
- AnchorButton
- AnchorMenuItem
- AnchorTabs
- AnchorTab
- AnchorTreeItem
- Anchor
- Banner
- BreadcrumbItem
- Breadcrumb
- Button
- CardButton
- Card
- Checkbox
- Combobox
- Dialog
- Drawer
- LabelProvider
- Core
- Table
- ListOptionGroup
- ListOption
- Mapping
- Base
- Empty
- Icon
- Spinner
- Text
- MenuButton
- MenuItem
- Menu
- NumberField
- Patterns
- Dropdown
- RadioGroup
- Radio
- RichText/Viewer
- Select
- Spinner
- Switch
- TabPanel
- TableColumn
- Anchor
- Base
- DateText
- DurationText
- EnumBase
- Mapping
- MenuButton
- NumberText
- Text
- Table
- TabsToolbar
- Tabs
- Tab
- TextArea
- TextField
- ThemeProvider
- ToggleButton
- Toolbar
- Tooltip
- TreeItem
- TreeView
- Unit
- Byte
- Celsius
- Fahrenheit
- Volt
- WaferMap
- wwwroot
- OkBlazor
- Properties
- Source
- Button
- IconDynamic
- Patterns
- wwwroot
- SprightBlazor
- Properties
- Source
- Chat
- Conversation
- Input
- Message
- Inbound
- Outbound
- System
- Patterns
- Rectangle
- wwwroot
- Tests
- BlazorWorkspace.Testing.Acceptance
- NimbleBlazor.Tests.Acceptance.Client
- Pages.InteractiveWebAssembly
- NimbleBlazor.Tests.Acceptance
- Pages.InteractiveServer
- Pages.StaticSSR
- Tests.InteractiveServer
- Tests.InteractiveWebAssembly
- Tests.StaticSSR
- NimbleBlazor.Tests
- Unit
- Components
- OkBlazor.Tests.Acceptance
- Pages
- Tests
- OkBlazor.Tests
- Unit/Components
- SprightBlazor.Tests.Acceptance
- Pages
- Tests
- SprightBlazor.Tests
- Unit/Components
- build
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
376 files changed
+607
-572
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
358 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
365 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
0 commit comments