|
36 | 36 | </ExamplePreview>
|
37 | 37 | </ComponentExampleBox>
|
38 | 38 |
|
39 |
| - <ComponentExampleBox Title="Icon" RazorCode="@example3RazorCode" Id="example3"> |
| 39 | + <ComponentExampleBox Title="NoBorder" RazorCode="@example3RazorCode" Id="example3"> |
| 40 | + <ExamplePreview> |
| 41 | + <div>Demonstrating the no-border style of BitSearchBox in both enabled and disabled states.</div> |
| 42 | + <br /><br /> |
| 43 | + <div class="example-box"> |
| 44 | + <BitSearchBox Placeholder="Search" NoBorder/> |
| 45 | + <br /><br /> |
| 46 | + <BitSearchBox Placeholder="Disabled" IsEnabled="false" NoBorder/> |
| 47 | + </div> |
| 48 | + </ExamplePreview> |
| 49 | + </ComponentExampleBox> |
| 50 | + |
| 51 | + <ComponentExampleBox Title="Accent" RazorCode="@example4RazorCode" Id="example4"> |
| 52 | + <ExamplePreview> |
| 53 | + <div>Demonstrating the accent colors of BitSearchBox.</div> |
| 54 | + <br /><br /> |
| 55 | + <div class="example-box"> |
| 56 | + <BitSearchBox Placeholder="Primary" Accent="BitColorKind.Primary" NoBorder/> |
| 57 | + <br /><br /> |
| 58 | + <BitSearchBox Placeholder="Secondary" Accent="BitColorKind.Secondary" NoBorder/> |
| 59 | + <br /><br /> |
| 60 | + <BitSearchBox Placeholder="Tertiary" Accent="BitColorKind.Tertiary" NoBorder/> |
| 61 | + <br /><br /> |
| 62 | + <BitSearchBox Placeholder="Transparent" Accent="BitColorKind.Transparent" NoBorder/> |
| 63 | + </div> |
| 64 | + </ExamplePreview> |
| 65 | + </ComponentExampleBox> |
| 66 | + |
| 67 | + <ComponentExampleBox Title="Icon" RazorCode="@example5RazorCode" Id="example5"> |
40 | 68 | <ExamplePreview>
|
41 | 69 | <div>Examples of BitSearchBox with various icon configurations such as fixed icon, no animation, custom icon, and no icon.</div>
|
42 | 70 | <br /><br />
|
|
52 | 80 | </ExamplePreview>
|
53 | 81 | </ComponentExampleBox>
|
54 | 82 |
|
55 |
| - <ComponentExampleBox Title="Search Button" RazorCode="@example4RazorCode" Id="example4"> |
| 83 | + <ComponentExampleBox Title="Search Button" RazorCode="@example6RazorCode" Id="example6"> |
56 | 84 | <ExamplePreview>
|
57 | 85 | <div>Showcasing BitSearchBox with a search button in various configurations, including custom button icon and disabled state.</div>
|
58 | 86 | <br /><br />
|
|
61 | 89 | <br /><br />
|
62 | 90 | <BitSearchBox Placeholder="SearchButtonIconName" ShowSearchButton SearchButtonIconName="PageListFilter" />
|
63 | 91 | <br /><br />
|
64 |
| - <BitSearchBox Placeholder="Underlined" Underlined ShowSearchButton /> |
65 |
| - <br /><br /> |
66 | 92 | <BitSearchBox Placeholder="Disabled" IsEnabled="false" ShowSearchButton />
|
67 | 93 | <br /><br />
|
| 94 | + <BitSearchBox Placeholder="Underlined" Underlined ShowSearchButton /> |
| 95 | + <br /><br /> |
68 | 96 | <BitSearchBox Placeholder="Disabled Underlined" IsEnabled="false" Underlined ShowSearchButton />
|
| 97 | + <br /><br /> |
| 98 | + <BitSearchBox Placeholder="NoBorder" NoBorder ShowSearchButton /> |
| 99 | + <br /><br /> |
| 100 | + <BitSearchBox Placeholder="Disabled NoBorder" IsEnabled="false" NoBorder ShowSearchButton /> |
69 | 101 | </div>
|
70 | 102 | </ExamplePreview>
|
71 | 103 | </ComponentExampleBox>
|
72 | 104 |
|
73 |
| - <ComponentExampleBox Title="Style & Class" RazorCode="@example5RazorCode" Id="example5"> |
| 105 | + <ComponentExampleBox Title="Style & Class" RazorCode="@example7RazorCode" Id="example7"> |
74 | 106 | <ExamplePreview>
|
75 | 107 | <div>Explore styling and class customization for BitSearchBox, including component styles, custom classes, and detailed styles.</div>
|
76 | 108 | <br /><br />
|
|
99 | 131 | </ExamplePreview>
|
100 | 132 | </ComponentExampleBox>
|
101 | 133 |
|
102 |
| - <ComponentExampleBox Title="Binding" RazorCode="@example6RazorCode" CsharpCode="@example6CsharpCode" Id="example6"> |
| 134 | + <ComponentExampleBox Title="Binding" RazorCode="@example8RazorCode" CsharpCode="@example8CsharpCode" Id="example8"> |
103 | 135 | <ExamplePreview>
|
104 | 136 | <div>Binding examples for BitSearchBox including two-way binding, OnChange, and OnSearch events.</div>
|
105 | 137 | <br /><br /><br />
|
|
131 | 163 | </ExamplePreview>
|
132 | 164 | </ComponentExampleBox>
|
133 | 165 |
|
134 |
| - <ComponentExampleBox Title="Validation" RazorCode="@example7RazorCode" CsharpCode="@example7CsharpCode" Id="example7"> |
| 166 | + <ComponentExampleBox Title="Validation" RazorCode="@example9RazorCode" CsharpCode="@example9CsharpCode" Id="example9"> |
135 | 167 | <ExamplePreview>
|
136 | 168 | <div>Demonstrating validation of BitSearchBox using data annotations.</div>
|
137 | 169 | <br />
|
|
147 | 179 | </ExamplePreview>
|
148 | 180 | </ComponentExampleBox>
|
149 | 181 |
|
150 |
| - <ComponentExampleBox Title="Suggestion (AutoComplete)" RazorCode="@example8RazorCode" CsharpCode="@example8CsharpCode" Id="example8"> |
| 182 | + <ComponentExampleBox Title="Suggestion (AutoComplete)" RazorCode="@example10RazorCode" CsharpCode="@example10CsharpCode" Id="example10"> |
151 | 183 | <ExamplePreview>
|
152 | 184 | <div>Examples of BitSearchBox with suggestion list, including custom filtering, minimum trigger characters, and more.</div>
|
153 | 185 | <br /><br /><br />
|
|
207 | 239 | </ExamplePreview>
|
208 | 240 | </ComponentExampleBox>
|
209 | 241 |
|
210 |
| - <ComponentExampleBox Title="RTL" RazorCode="@example9RazorCode" Id="example9"> |
| 242 | + <ComponentExampleBox Title="RTL" RazorCode="@example11RazorCode" Id="example11"> |
211 | 243 | <ExamplePreview>
|
212 | 244 | <div>Use the BitSearchBox component in right-to-left (RTL).</div>
|
213 | 245 | <br /><br />
|
|
0 commit comments