@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.
- package/README.md +13 -1
- package/data/cards/accordion.md +91 -0
- package/data/cards/animateonscroll.md +155 -0
- package/data/cards/autocomplete.md +109 -0
- package/data/cards/autofocus.md +36 -0
- package/data/cards/avatar.md +45 -0
- package/data/cards/badge.md +44 -0
- package/data/cards/blockui.md +51 -0
- package/data/cards/breadcrumb.md +56 -0
- package/data/cards/button.md +83 -0
- package/data/cards/card.md +49 -0
- package/data/cards/carousel.md +101 -0
- package/data/cards/cascadeselect.md +77 -0
- package/data/cards/chart.md +105 -0
- package/data/cards/checkbox.md +59 -0
- package/data/cards/chip.md +50 -0
- package/data/cards/classnames.md +91 -0
- package/data/cards/colorpicker.md +52 -0
- package/data/cards/confirmdialog.md +119 -0
- package/data/cards/confirmpopup.md +96 -0
- package/data/cards/contextmenu.md +60 -0
- package/data/cards/dataview.md +134 -0
- package/data/cards/datepicker.md +103 -0
- package/data/cards/dialog.md +89 -0
- package/data/cards/divider.md +55 -0
- package/data/cards/dock.md +106 -0
- package/data/cards/dragdrop.md +106 -0
- package/data/cards/drawer.md +62 -0
- package/data/cards/dynamicdialog.md +103 -0
- package/data/cards/editor.md +55 -0
- package/data/cards/fieldset.md +54 -0
- package/data/cards/fileinput.md +72 -0
- package/data/cards/fileupload.md +88 -0
- package/data/cards/floatlabel.md +41 -0
- package/data/cards/fluid.md +49 -0
- package/data/cards/focustrap.md +64 -0
- package/data/cards/galleria.md +94 -0
- package/data/cards/iconfield.md +45 -0
- package/data/cards/iftalabel.md +38 -0
- package/data/cards/image.md +58 -0
- package/data/cards/imagecompare.md +45 -0
- package/data/cards/inplace.md +56 -0
- package/data/cards/inputgroup.md +77 -0
- package/data/cards/inputmask.md +71 -0
- package/data/cards/inputnumber.md +78 -0
- package/data/cards/inputotp.md +60 -0
- package/data/cards/inputtext.md +41 -0
- package/data/cards/keyfilter.md +49 -0
- package/data/cards/knob.md +55 -0
- package/data/cards/listbox.md +105 -0
- package/data/cards/megamenu.md +96 -0
- package/data/cards/menu.md +64 -0
- package/data/cards/menubar.md +102 -0
- package/data/cards/message.md +51 -0
- package/data/cards/metergroup.md +53 -0
- package/data/cards/multiselect.md +115 -0
- package/data/cards/orderlist.md +96 -0
- package/data/cards/organizationchart.md +84 -0
- package/data/cards/overlay.md +63 -0
- package/data/cards/paginator.md +62 -0
- package/data/cards/panel.md +57 -0
- package/data/cards/panelmenu.md +94 -0
- package/data/cards/password.md +81 -0
- package/data/cards/picklist.md +106 -0
- package/data/cards/popover.md +53 -0
- package/data/cards/progressbar.md +42 -0
- package/data/cards/progressspinner.md +38 -0
- package/data/cards/radiobutton.md +52 -0
- package/data/cards/rating.md +56 -0
- package/data/cards/ripple.md +37 -0
- package/data/cards/scroller.md +32 -0
- package/data/cards/scrollpanel.md +50 -0
- package/data/cards/scrolltop.md +48 -0
- package/data/cards/select.md +108 -0
- package/data/cards/selectbutton.md +64 -0
- package/data/cards/skeleton.md +54 -0
- package/data/cards/slider.md +52 -0
- package/data/cards/speeddial.md +102 -0
- package/data/cards/splitbutton.md +96 -0
- package/data/cards/splitter.md +52 -0
- package/data/cards/stepper.md +125 -0
- package/data/cards/styleclass.md +46 -0
- package/data/cards/table.md +305 -0
- package/data/cards/tabs.md +97 -0
- package/data/cards/tag.md +41 -0
- package/data/cards/terminal.md +76 -0
- package/data/cards/textarea.md +45 -0
- package/data/cards/tieredmenu.md +121 -0
- package/data/cards/timeline.md +58 -0
- package/data/cards/toast.md +58 -0
- package/data/cards/togglebutton.md +59 -0
- package/data/cards/toggleswitch.md +52 -0
- package/data/cards/toolbar.md +74 -0
- package/data/cards/tooltip.md +43 -0
- package/data/cards/tree.md +93 -0
- package/data/cards/treeselect.md +98 -0
- package/data/cards/treetable.md +231 -0
- package/data/components/accordion.md +31 -23
- package/data/components/animateonscroll.md +18 -15
- package/data/components/autocomplete.md +162 -93
- package/data/components/autofocus.md +9 -7
- package/data/components/avatar.md +56 -43
- package/data/components/badge.md +27 -18
- package/data/components/blockui.md +15 -8
- package/data/components/breadcrumb.md +20 -14
- package/data/components/button.md +121 -94
- package/data/components/card.md +12 -10
- package/data/components/carousel.md +75 -53
- package/data/components/cascadeselect.md +271 -238
- package/data/components/chart.md +88 -74
- package/data/components/checkbox.md +107 -97
- package/data/components/chip.md +20 -16
- package/data/components/classnames.md +22 -4
- package/data/components/colorpicker.md +54 -36
- package/data/components/confirmdialog.md +146 -43
- package/data/components/confirmpopup.md +95 -22
- package/data/components/contextmenu.md +110 -39
- package/data/components/dataview.md +176 -83
- package/data/components/datepicker.md +171 -141
- package/data/components/dialog.md +80 -68
- package/data/components/divider.md +17 -12
- package/data/components/dock.md +65 -29
- package/data/components/dragdrop.md +26 -12
- package/data/components/drawer.md +67 -48
- package/data/components/dynamicdialog.md +22 -13
- package/data/components/editor.md +42 -33
- package/data/components/fieldset.md +20 -17
- package/data/components/fileinput.md +92 -35
- package/data/components/fileupload.md +101 -61
- package/data/components/floatlabel.md +20 -11
- package/data/components/fluid.md +11 -9
- package/data/components/focustrap.md +11 -7
- package/data/components/galleria.md +231 -90
- package/data/components/iconfield.md +23 -15
- package/data/components/iftalabel.md +15 -9
- package/data/components/image.md +31 -26
- package/data/components/imagecompare.md +8 -6
- package/data/components/inplace.md +27 -22
- package/data/components/inputgroup.md +53 -29
- package/data/components/inputmask.md +107 -85
- package/data/components/inputnumber.md +128 -90
- package/data/components/inputotp.md +55 -42
- package/data/components/inputtext.md +72 -50
- package/data/components/keyfilter.md +6 -3
- package/data/components/knob.md +70 -58
- package/data/components/listbox.md +171 -141
- package/data/components/llms.md +4 -0
- package/data/components/megamenu.md +24 -23
- package/data/components/menu.md +37 -34
- package/data/components/menubar.md +27 -22
- package/data/components/message.md +44 -32
- package/data/components/metergroup.md +48 -17
- package/data/components/multiselect.md +232 -168
- package/data/components/orderlist.md +55 -48
- package/data/components/organizationchart.md +182 -13
- package/data/components/overlay.md +31 -26
- package/data/components/paginator.md +49 -34
- package/data/components/panel.md +23 -19
- package/data/components/panelmenu.md +51 -25
- package/data/components/password.md +104 -91
- package/data/components/picklist.md +93 -71
- package/data/components/popover.md +68 -46
- package/data/components/progressbar.md +28 -22
- package/data/components/progressspinner.md +13 -11
- package/data/components/radiobutton.md +69 -35
- package/data/components/rating.md +48 -40
- package/data/components/ripple.md +8 -6
- package/data/components/scroller.md +29 -29
- package/data/components/scrollpanel.md +9 -7
- package/data/components/scrolltop.md +20 -18
- package/data/components/select.md +248 -169
- package/data/components/selectbutton.md +118 -56
- package/data/components/skeleton.md +22 -18
- package/data/components/slider.md +73 -49
- package/data/components/speeddial.md +77 -59
- package/data/components/splitbutton.md +354 -329
- package/data/components/splitter.md +22 -18
- package/data/components/stepper.md +38 -21
- package/data/components/styleclass.md +12 -6
- package/data/components/table.md +524 -315
- package/data/components/tabs.md +44 -26
- package/data/components/tag.md +18 -14
- package/data/components/terminal.md +38 -27
- package/data/components/textarea.md +82 -47
- package/data/components/tieredmenu.md +34 -29
- package/data/components/timeline.md +29 -28
- package/data/components/toast.md +115 -57
- package/data/components/togglebutton.md +53 -39
- package/data/components/toggleswitch.md +41 -28
- package/data/components/toolbar.md +19 -18
- package/data/components/tooltip.md +43 -32
- package/data/components/tree.md +114 -81
- package/data/components/treeselect.md +176 -174
- package/data/components/treetable.md +1250 -1045
- package/data/components.json +4134 -4088
- package/data/llms-full.txt +8979 -6437
- package/data/llms.txt +100 -96
- package/data/manifest.json +183 -15
- package/data/pages/llms.md +29 -0
- package/data/pages/tailwind.md +20 -10
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +37 -2
- package/dist/index.mjs +1395 -1079
- package/dist/index.mjs.map +1 -1
- 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 |
|
|
140
|
-
| unstyled |
|
|
141
|
-
| pt |
|
|
142
|
-
| ptOptions |
|
|
143
|
-
| panelStyleClass |
|
|
144
|
-
| panelStyle |
|
|
145
|
-
| stateStorage |
|
|
146
|
-
| stateKey |
|
|
147
|
-
| layout |
|
|
148
|
-
| gutterSize |
|
|
149
|
-
| step |
|
|
150
|
-
| minSizes |
|
|
151
|
-
| maxSizes |
|
|
152
|
-
| panelSizes |
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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 |
|
|
349
|
-
| unstyled |
|
|
350
|
-
| pt |
|
|
351
|
-
| ptOptions |
|
|
352
|
-
| value |
|
|
353
|
-
| linear |
|
|
354
|
-
| motionOptions |
|
|
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
|
|