@exhaustive-ui/mcp 22.4.0 → 22.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -30,7 +30,8 @@ import { SplitterModule } from '@exhaustive-ui/core/splitter';
30
30
  standalone: true,
31
31
  imports: [SplitterModule]
32
32
  })
33
- export class SplitterHorizontalDemo {}
33
+ export class SplitterHorizontalDemo {
34
+ }
34
35
  ```
35
36
 
36
37
  ## Nested
@@ -71,7 +72,8 @@ import { SplitterModule } from '@exhaustive-ui/core/splitter';
71
72
  standalone: true,
72
73
  imports: [SplitterModule]
73
74
  })
74
- export class SplitterNestedDemo {}
75
+ export class SplitterNestedDemo {
76
+ }
75
77
  ```
76
78
 
77
79
  ## Size
@@ -98,7 +100,8 @@ import { SplitterModule } from '@exhaustive-ui/core/splitter';
98
100
  standalone: true,
99
101
  imports: [SplitterModule]
100
102
  })
101
- export class SplitterSizeDemo {}
103
+ export class SplitterSizeDemo {
104
+ }
102
105
  ```
103
106
 
104
107
  ## Vertical
@@ -125,7 +128,8 @@ import { SplitterModule } from '@exhaustive-ui/core/splitter';
125
128
  standalone: true,
126
129
  imports: [SplitterModule]
127
130
  })
128
- export class SplitterVerticalDemo {}
131
+ export class SplitterVerticalDemo {
132
+ }
129
133
  ```
130
134
 
131
135
  ## Splitter
@@ -136,20 +140,20 @@ Splitter is utilized to separate and resize panels.
136
140
 
137
141
  | Name | Type | Default | Description |
138
142
  |------|------|---------|-------------|
139
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
140
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
141
- | pt | InputSignal<SplitterPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
142
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
143
- | panelStyleClass | InputSignal<string> | ... | Style class of the panel. |
144
- | panelStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the panel. |
145
- | stateStorage | InputSignal<string> | ... | Defines where a stateful splitter keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage. |
146
- | stateKey | InputSignal<string> | ... | Storage identifier of a stateful Splitter. |
147
- | layout | InputSignal<string> | ... | Orientation of the panels. Valid values are 'horizontal' and 'vertical'. |
148
- | gutterSize | InputSignalWithTransform<number, unknown> | ... | Size of the divider in pixels. |
149
- | step | InputSignalWithTransform<number, unknown> | ... | Step factor to increment/decrement the size of the panels while pressing the arrow keys. |
150
- | minSizes | InputSignal<number[]> | ... | Minimum size of the elements relative to 100%. |
151
- | maxSizes | InputSignal<number[]> | ... | Maximum size of the elements relative to 100%. |
152
- | panelSizes | InputSignal<number[]> | ... | Size of the elements relative to 100%. |
143
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
144
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
145
+ | pt | SplitterPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
146
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
147
+ | panelStyleClass | string | - | Style class of the panel. |
148
+ | panelStyle | { [klass: string]: any } | - | Inline style of the panel. |
149
+ | stateStorage | string | 'session' | Defines where a stateful splitter keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage. |
150
+ | stateKey | string | - | Storage identifier of a stateful Splitter. |
151
+ | layout | string | 'horizontal' | Orientation of the panels. Valid values are 'horizontal' and 'vertical'. |
152
+ | gutterSize | number | 4 | Size of the divider in pixels. |
153
+ | step | number | 5 | Step factor to increment/decrement the size of the panels while pressing the arrow keys. |
154
+ | minSizes | number[] | [] | Minimum size of the elements relative to 100%. |
155
+ | maxSizes | number[] | [] | Maximum size of the elements relative to 100%. |
156
+ | panelSizes | number[] | [] | Size of the elements relative to 100%. |
153
157
 
154
158
  ### Emits
155
159
 
@@ -12,8 +12,8 @@ Stepper consists of a combination of StepList , Step , StepPanels and StepPanel
12
12
 
13
13
  ```typescript
14
14
  import { Component } from '@angular/core';
15
- import { ButtonModule } from '@exhaustive-ui/core/button';
16
15
  import { StepperModule } from '@exhaustive-ui/core/stepper';
16
+ import { ButtonModule } from '@exhaustive-ui/core/button';
17
17
 
18
18
  @Component({
19
19
  template: `
@@ -61,9 +61,10 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
61
61
  </div>
62
62
  `,
63
63
  standalone: true,
64
- imports: [ButtonModule, StepperModule]
64
+ imports: [StepperModule, ButtonModule]
65
65
  })
66
- export class StepperBasicDemo {}
66
+ export class StepperBasicDemo {
67
+ }
67
68
  ```
68
69
 
69
70
  ## Linear
@@ -72,8 +73,8 @@ When linear property is set to true, current step must be completed in order to
72
73
 
73
74
  ```typescript
74
75
  import { Component } from '@angular/core';
75
- import { ButtonModule } from '@exhaustive-ui/core/button';
76
76
  import { StepperModule } from '@exhaustive-ui/core/stepper';
77
+ import { ButtonModule } from '@exhaustive-ui/core/button';
77
78
 
78
79
  @Component({
79
80
  template: `
@@ -121,9 +122,10 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
121
122
  </div>
122
123
  `,
123
124
  standalone: true,
124
- imports: [ButtonModule, StepperModule]
125
+ imports: [StepperModule, ButtonModule]
125
126
  })
126
- export class StepperLinearDemo {}
127
+ export class StepperLinearDemo {
128
+ }
127
129
  ```
128
130
 
129
131
  ## stepsonly
@@ -136,10 +138,11 @@ Stepper provides various templating options to customize the default UI design.
136
138
 
137
139
  ```typescript
138
140
  import { Component } from '@angular/core';
141
+ import { CommonModule } from '@angular/common';
139
142
  import { FormsModule } from '@angular/forms';
143
+ import { StepperModule } from '@exhaustive-ui/core/stepper';
140
144
  import { ButtonModule } from '@exhaustive-ui/core/button';
141
145
  import { PasswordModule } from '@exhaustive-ui/core/password';
142
- import { StepperModule } from '@exhaustive-ui/core/stepper';
143
146
  import { ToggleButtonModule } from '@exhaustive-ui/core/togglebutton';
144
147
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
145
148
 
@@ -150,7 +153,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
150
153
  <p-step-list>
151
154
  <p-step [value]="1" class="flex flex-row flex-auto gap-2">
152
155
  <ng-template #content let-activateCallback="activateCallback" let-value="value">
153
- <button class="bg-transparent border-0 inline-flex flex-col gap-2" (click)="activateCallback()">
156
+ <button class="bg-transparent border-0 inline-flex flex-col gap-2" aria-label="Account" (click)="activateCallback()">
154
157
  <span
155
158
  class="rounded-full border-2 w-12 h-12 inline-flex items-center justify-center"
156
159
  [ngClass]="{
@@ -165,7 +168,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
165
168
  </p-step>
166
169
  <p-step [value]="2" class="flex flex-row flex-auto gap-2">
167
170
  <ng-template #content let-activateCallback="activateCallback" let-value="value">
168
- <button class="bg-transparent border-0 inline-flex flex-col gap-2" (click)="activateCallback()">
171
+ <button class="bg-transparent border-0 inline-flex flex-col gap-2" aria-label="Interests" (click)="activateCallback()">
169
172
  <span
170
173
  class="rounded-full border-2 w-12 h-12 inline-flex items-center justify-center"
171
174
  [ngClass]="{
@@ -180,7 +183,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
180
183
  </p-step>
181
184
  <p-step [value]="3" class="flex flex-row flex-auto gap-2">
182
185
  <ng-template #content let-activateCallback="activateCallback" let-value="value">
183
- <button class="bg-transparent border-0 inline-flex flex-col gap-2" (click)="activateCallback()">
186
+ <button class="bg-transparent border-0 inline-flex flex-col gap-2" aria-label="Confirmation" (click)="activateCallback()">
184
187
  <span
185
188
  class="rounded-full border-2 w-12 h-12 inline-flex items-center justify-center"
186
189
  [ngClass]="{
@@ -255,22 +258,35 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
255
258
  </div>
256
259
  `,
257
260
  standalone: true,
258
- imports: [ButtonModule, PasswordModule, StepperModule, ToggleButtonModule, InputTextModule, FormsModule]
261
+ imports: [CommonModule, FormsModule, StepperModule, ButtonModule, PasswordModule, ToggleButtonModule, InputTextModule]
259
262
  })
260
263
  export class StepperTemplateDemo {
261
264
  activeStep: number = 1;
265
+
262
266
  name: string | undefined = null;
267
+
263
268
  email: string | undefined = null;
269
+
264
270
  password: string | undefined = null;
271
+
265
272
  option1: boolean | undefined = false;
273
+
266
274
  option2: boolean | undefined = false;
275
+
267
276
  option3: boolean | undefined = false;
277
+
268
278
  option4: boolean | undefined = false;
279
+
269
280
  option5: boolean | undefined = false;
281
+
270
282
  option6: boolean | undefined = false;
283
+
271
284
  option7: boolean | undefined = false;
285
+
272
286
  option8: boolean | undefined = false;
287
+
273
288
  option9: boolean | undefined = false;
289
+
274
290
  option10: boolean | undefined = false;
275
291
  }
276
292
  ```
@@ -281,8 +297,8 @@ Vertical layout requires StepItem as a wrapper of Step and StepPanel components.
281
297
 
282
298
  ```typescript
283
299
  import { Component } from '@angular/core';
284
- import { ButtonModule } from '@exhaustive-ui/core/button';
285
300
  import { StepperModule } from '@exhaustive-ui/core/stepper';
301
+ import { ButtonModule } from '@exhaustive-ui/core/button';
286
302
 
287
303
  @Component({
288
304
  template: `
@@ -332,9 +348,10 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
332
348
  </div>
333
349
  `,
334
350
  standalone: true,
335
- imports: [ButtonModule, StepperModule]
351
+ imports: [StepperModule, ButtonModule]
336
352
  })
337
- export class StepperVerticalDemo {}
353
+ export class StepperVerticalDemo {
354
+ }
338
355
  ```
339
356
 
340
357
  ## Stepper
@@ -345,13 +362,13 @@ Stepper is a component that streamlines a wizard-like workflow, organizing conte
345
362
 
346
363
  | Name | Type | Default | Description |
347
364
  |------|------|---------|-------------|
348
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
349
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
350
- | pt | InputSignal<StepperPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
351
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
352
- | value | ModelSignal<number> | undefined | A model that can hold a numeric value or be undefined. |
353
- | linear | InputSignalWithTransform<any, boolean> | false | A boolean variable that captures user input. |
354
- | motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
365
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
366
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
367
+ | pt | StepperPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
368
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
369
+ | value | number | undefined | A model that can hold a numeric value or be undefined. |
370
+ | linear | any | false | A boolean variable that captures user input. |
371
+ | motionOptions | MotionOptions | - | The motion options. |
355
372
 
356
373
  ## Pass Through Options
357
374
 
@@ -8,6 +8,7 @@ Classes to apply during enter and leave animations are specified using the enter
8
8
 
9
9
  ```typescript
10
10
  import { Component } from '@angular/core';
11
+ import { StyleClassModule } from '@exhaustive-ui/core/styleclass';
11
12
  import { ButtonModule } from '@exhaustive-ui/core/button';
12
13
 
13
14
  @Component({
@@ -38,9 +39,10 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
38
39
  </div>
39
40
  `,
40
41
  standalone: true,
41
- imports: [ButtonModule]
42
+ imports: [StyleClassModule, ButtonModule]
42
43
  })
43
- export class StyleclassAnimationDemo {}
44
+ export class StyleclassAnimationDemo {
45
+ }
44
46
  ```
45
47
 
46
48
  ## Hide On Resize
@@ -50,6 +52,7 @@ When hideOnResize is enabled, the leave animation is triggered automatically whe
50
52
  ```typescript
51
53
  import { Component } from '@angular/core';
52
54
  import { ButtonModule } from '@exhaustive-ui/core/button';
55
+ import { StyleClassModule } from '@exhaustive-ui/core/styleclass';
53
56
 
54
57
  @Component({
55
58
  template: `
@@ -97,9 +100,10 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
97
100
  </div>
98
101
  `,
99
102
  standalone: true,
100
- imports: [ButtonModule]
103
+ imports: [StyleClassModule, ButtonModule]
101
104
  })
102
- export class StyleclassHideonresizeDemo {}
105
+ export class StyleclassHideonresizeDemo {
106
+ }
103
107
  ```
104
108
 
105
109
  ## Toggle Class
@@ -110,6 +114,7 @@ StyleClass has two modes, toggleClass to simply add-remove a class and enter/lea
110
114
  import { Component } from '@angular/core';
111
115
  import { ButtonModule } from '@exhaustive-ui/core/button';
112
116
  import { InputTextModule } from '@exhaustive-ui/core/inputtext';
117
+ import { StyleClassModule } from '@exhaustive-ui/core/styleclass';
113
118
 
114
119
  @Component({
115
120
  template: `
@@ -119,8 +124,9 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
119
124
  </div>
120
125
  `,
121
126
  standalone: true,
122
- imports: [ButtonModule, InputTextModule]
127
+ imports: [StyleClassModule, ButtonModule, InputTextModule]
123
128
  })
124
- export class StyleclassToggleclassDemo {}
129
+ export class StyleclassToggleclassDemo {
130
+ }
125
131
  ```
126
132