Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-v5] Add FluentSwitch component #3434

Open
wants to merge 41 commits into
base: dev-v5
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
83515c5
Switch component
agriffard Feb 23, 2025
46951e9
Tests
agriffard Feb 23, 2025
b649899
Doc and Tests
agriffard Feb 23, 2025
1ccbb0c
Add "Best practices"
agriffard Feb 23, 2025
7978e2d
Remove unneeded nodes in tests .csproj
agriffard Feb 23, 2025
2953e10
Align attributes, remove parenthesis for checked, remove IFluentCompo…
agriffard Feb 23, 2025
4280d64
Simpler default Test, @bind-Value in Pascal case
agriffard Feb 23, 2025
b4aa61e
Default.verified.razor.html
agriffard Feb 23, 2025
9c4c81a
Add ReadOnly Example and Test
agriffard Feb 23, 2025
7af2b4e
Switch documentation (**Layout**)
agriffard Feb 24, 2025
23da682
Add FluentSwitch.razor.css with style for readonly, Add fieldAddition…
agriffard Feb 24, 2025
93688f8
Test ReadOnly
agriffard Feb 24, 2025
f072467
Remove attributes from field, target "fluent-switch[readonly]" in css…
agriffard Feb 24, 2025
fd336d5
GetTabIndexValue
agriffard Feb 24, 2025
4db3afa
Readonly test
agriffard Feb 24, 2025
c83ab80
Remove unused InternalTryParseValueFromString method
agriffard Feb 24, 2025
3896d47
Remove bound value from SwitchLabelPosition example
agriffard Feb 24, 2025
852e933
Obsolete properties
agriffard Feb 24, 2025
02717c7
Default example
agriffard Feb 24, 2025
9678eea
Merge branch 'dev-v5' into SwitchV5
vnbaaij Feb 24, 2025
28442e7
Merge branch 'dev-v5' into SwitchV5
dvoituron Feb 25, 2025
aff2529
CheckMessage, UncheckedMessage and example
agriffard Feb 25, 2025
72a690f
Merge branch 'SwitchV5' of https://github.com/agriffard/fluentui-blaz…
agriffard Feb 25, 2025
d820ec6
GetLabelValue
agriffard Feb 25, 2025
3506333
GetLabel
agriffard Feb 25, 2025
a471825
Merge branch 'dev-v5' into SwitchV5
vnbaaij Mar 4, 2025
727cf7e
FluentSwitch_LabelPosition Tests
agriffard Mar 4, 2025
3441835
Merge branch 'dev-v5' into SwitchV5
vnbaaij Mar 4, 2025
3b85510
Merge branch 'dev-v5' into SwitchV5
dvoituron Mar 6, 2025
1f1617f
Use GetValueIfNoAdditionalAttribute
agriffard Mar 6, 2025
69ddfd6
Removed values documentation of ChildContent replacement
agriffard Mar 6, 2025
d7fc580
Removing single FluentCheckbox_LabelPosition Test
agriffard Mar 6, 2025
49cc56c
Removing FluentSwitch_LabelPosition razor.html
agriffard Mar 6, 2025
da9da63
FluentCheckbox_LabelTemplate Test
agriffard Mar 6, 2025
a413fbb
FluentSpinner_ChildContent
agriffard Mar 6, 2025
4499f63
Uncomment Obsolete and use pragma directive CS0618
agriffard Mar 6, 2025
f7a1631
Add FluentSwitch_Message Test for CheckedMessage and UncheckedMessage
agriffard Mar 6, 2025
74993b3
FluentSwitch_ChildContent
agriffard Mar 6, 2025
7157b2b
Merge branch 'dev-v5' into SwitchV5
dvoituron Mar 6, 2025
380780f
ReadOnly: Add css to FluentField, Add TabIndex to FluentField, Update…
agriffard Mar 8, 2025
d2ad93e
Checked and Unchecked Tests, FluentSwitch_TryParseValueFromString
agriffard Mar 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<fluent-field id="xxx" label-position="after" style="pointer-events: none;">
<fluent-field id="xxx" label-position="after" readonly="">
<fluent-switch id="xxx" readonly="" blazor:onfocusout="1" blazor:onchange="2" slot="input"></fluent-switch>
<fluent-text as="span" size="200" slot="message"></fluent-text>
</fluent-field>