@exhaustive-ui/mcp 22.0.0-alpha.10 → 22.0.0-alpha.12
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/data/components/animateonscroll.md +10 -10
- package/data/components/autocomplete.md +1 -1
- package/data/components/badge.md +1 -1
- package/data/components/breadcrumb.md +1 -0
- package/data/components/button.md +1 -1
- package/data/components/carousel.md +8 -8
- package/data/components/chart.md +11 -11
- package/data/components/chip.md +1 -1
- package/data/components/confirmdialog.md +4 -4
- package/data/components/confirmpopup.md +2 -2
- package/data/components/contextmenu.md +8 -8
- package/data/components/dataview.md +11 -11
- package/data/components/datepicker.md +1 -1
- package/data/components/dialog.md +5 -5
- package/data/components/divider.md +2 -2
- package/data/components/dragdrop.md +4 -4
- package/data/components/drawer.md +3 -3
- package/data/components/fileupload.md +1 -1
- package/data/components/image.md +216 -0
- package/data/components/imagecompare.md +1 -1
- package/data/components/inputgroup.md +3 -3
- package/data/components/menu.md +2 -2
- package/data/components/menubar.md +1 -1
- package/data/components/orderlist.md +4 -3
- package/data/components/overlay.md +2 -2
- package/data/components/panelmenu.md +1 -1
- package/data/components/password.md +1 -0
- package/data/components/picklist.md +2 -2
- package/data/components/popover.md +7 -7
- package/data/components/skeleton.md +2 -2
- package/data/components/slider.md +1 -1
- package/data/components/speeddial.md +1 -1
- package/data/components/stepper.md +12 -12
- package/data/components/styleclass.md +2 -2
- package/data/components/table.md +2 -2
- package/data/components/tabs.md +4 -4
- package/data/components/tieredmenu.md +1 -1
- package/data/components/timeline.md +2 -2
- package/data/components/toast.md +1 -1
- package/data/components/toggleswitch.md +1 -1
- package/data/components/tree.md +9 -9
- package/data/components/treeselect.md +2 -1
- package/data/components/treetable.md +1 -1
- package/data/components.json +643 -99
- package/data/llms-full.txt +380 -154
- package/data/llms.txt +1 -0
- package/data/manifest.json +72 -8
- package/data/pages/accessibility.md +1 -1
- package/data/pages/configuration.md +0 -4
- package/data/pages/primeflex.md +1 -1
- package/data/pages/tailwind.md +8 -8
- package/data/pages/unstyled.md +1 -1
- package/data/snapshot.json +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# Angular Image Component
|
|
2
|
+
|
|
3
|
+
Displays an image with preview and tranformation options.
|
|
4
|
+
|
|
5
|
+
## Accessibility
|
|
6
|
+
|
|
7
|
+
Screen Reader The preview button is a native button element with an aria-label that refers to the aria.zoomImage property of the locale API by default. When preview is active, dialog role with aria-modal is applied to the overlay image container. Button controls use aria.rotateRight , aria.rotateLeft , aria.zoomIn , aria.zoomOut and aria.close from the locale API as aria-label . ButtonBar Keyboard Support When preview is activated, close button receives the initial focus. Key Function tab Moves focus through button bar. enter Activates the button. space Activates the button. esc Closes the image preview.
|
|
8
|
+
|
|
9
|
+
## Basic
|
|
10
|
+
|
|
11
|
+
Image is used as the native img element and supports all properties that the native element has. For multiple image, see Galleria.
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Component } from '@angular/core';
|
|
15
|
+
import { ImageModule } from '@exhaustive-ui/core/image';
|
|
16
|
+
|
|
17
|
+
@Component({
|
|
18
|
+
template: `
|
|
19
|
+
<div class="card flex justify-center">
|
|
20
|
+
<p-image src="https://exhaustive-ui.com/demo/galleria/galleria10.jpg" alt="Image" width="250" />
|
|
21
|
+
</div>
|
|
22
|
+
`,
|
|
23
|
+
standalone: true,
|
|
24
|
+
imports: [ImageModule]
|
|
25
|
+
})
|
|
26
|
+
export class ImageBasicDemo {}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Preview
|
|
30
|
+
|
|
31
|
+
Preview mode displays a modal layer when the image is clicked that provides transformation options such as rotating and zooming.
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { Component } from '@angular/core';
|
|
35
|
+
import { ImageModule } from '@exhaustive-ui/core/image';
|
|
36
|
+
|
|
37
|
+
@Component({
|
|
38
|
+
template: `
|
|
39
|
+
<div class="card flex justify-center">
|
|
40
|
+
<p-image src="https://exhaustive-ui.com/demo/galleria/galleria10.jpg" alt="Image" width="250" [preview]="true" />
|
|
41
|
+
</div>
|
|
42
|
+
`,
|
|
43
|
+
standalone: true,
|
|
44
|
+
imports: [ImageModule]
|
|
45
|
+
})
|
|
46
|
+
export class ImagePreviewDemo {}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## previewimagesource-doc
|
|
50
|
+
|
|
51
|
+
In case that you want to show different image on preview, you can set previewImageSrc attribute. It could come handy when wanted to use smaller image version at first and bigger one on preview.
|
|
52
|
+
|
|
53
|
+
```typescript
|
|
54
|
+
import { Component } from '@angular/core';
|
|
55
|
+
import { ImageModule } from '@exhaustive-ui/core/image';
|
|
56
|
+
|
|
57
|
+
@Component({
|
|
58
|
+
template: `
|
|
59
|
+
<div class="card flex justify-center">
|
|
60
|
+
<p-image src="https://exhaustive-ui.com/demo/galleria/galleria11.jpg" previewImageSrc="https://exhaustive-ui.com/demo/galleria/galleria11.jpg" alt="Image" width="250" [preview]="true" />
|
|
61
|
+
</div>
|
|
62
|
+
`,
|
|
63
|
+
standalone: true,
|
|
64
|
+
imports: [ImageModule]
|
|
65
|
+
})
|
|
66
|
+
export class ImagePreviewimagesourceDemo {}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Template
|
|
70
|
+
|
|
71
|
+
An eye icon is displayed by default when the image is hovered in preview mode. Use the indicator template for custom content.
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import { Component } from '@angular/core';
|
|
75
|
+
import { ImageModule } from '@exhaustive-ui/core/image';
|
|
76
|
+
|
|
77
|
+
@Component({
|
|
78
|
+
template: `
|
|
79
|
+
<div class="card flex justify-center">
|
|
80
|
+
<p-image src="https://exhaustive-ui.com/demo/galleria/galleria11.jpg" [preview]="true" alt="Image" width="250">
|
|
81
|
+
<ng-template #indicator>
|
|
82
|
+
<i class="pi pi-search"></i>
|
|
83
|
+
</ng-template>
|
|
84
|
+
<ng-template #image>
|
|
85
|
+
<img src="https://exhaustive-ui.com/demo/galleria/galleria11.jpg" alt="image" width="250" />
|
|
86
|
+
</ng-template>
|
|
87
|
+
<ng-template #preview let-style="style" let-previewCallback="previewCallback">
|
|
88
|
+
<img src="https://exhaustive-ui.com/demo/galleria/galleria11.jpg" alt="image" [style]="style" (click)="previewCallback()" />
|
|
89
|
+
</ng-template>
|
|
90
|
+
</p-image>
|
|
91
|
+
</div>
|
|
92
|
+
`,
|
|
93
|
+
standalone: true,
|
|
94
|
+
imports: [ImageModule]
|
|
95
|
+
})
|
|
96
|
+
export class ImageTemplateDemo {}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Image
|
|
100
|
+
|
|
101
|
+
Displays an image with preview and tranformation options. For multiple image, see Galleria.
|
|
102
|
+
|
|
103
|
+
### Props
|
|
104
|
+
|
|
105
|
+
| Name | Type | Default | Description |
|
|
106
|
+
|------|------|---------|-------------|
|
|
107
|
+
| dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
|
|
108
|
+
| unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
|
|
109
|
+
| pt | InputSignal<ImagePassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
110
|
+
| ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
|
|
111
|
+
| imageClass | InputSignal<string> | ... | Style class of the image element. |
|
|
112
|
+
| imageStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the image element. |
|
|
113
|
+
| src | InputSignal<string \| SafeUrl> | ... | The source path for the main image. |
|
|
114
|
+
| srcSet | InputSignal<string \| SafeUrl> | ... | The srcset definition for the main image. |
|
|
115
|
+
| sizes | InputSignal<string> | ... | The sizes definition for the main image. |
|
|
116
|
+
| previewImageSrc | InputSignal<string \| SafeUrl> | ... | The source path for the preview image. |
|
|
117
|
+
| previewImageSrcSet | InputSignal<string \| SafeUrl> | ... | The srcset definition for the preview image. |
|
|
118
|
+
| previewImageSizes | InputSignal<string> | ... | The sizes definition for the preview image. |
|
|
119
|
+
| alt | InputSignal<string> | ... | Attribute of the preview image element. |
|
|
120
|
+
| previewAriaLabel | InputSignal<string> | ... | Accessible name of the preview dialog. Defaults to the alt text, then to the zoomImage ARIA translation. |
|
|
121
|
+
| width | InputSignal<string> | ... | Attribute of the image element. |
|
|
122
|
+
| height | InputSignal<string> | ... | Attribute of the image element. |
|
|
123
|
+
| loading | InputSignal<"eager" \| "lazy"> | ... | Attribute of the image element. |
|
|
124
|
+
| preview | InputSignalWithTransform<boolean, unknown> | ... | Controls the preview functionality. |
|
|
125
|
+
| appendTo | InputSignal<any> | 'self' | Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). |
|
|
126
|
+
| maskMotionOptions | InputSignal<MotionOptions> | ... | The motion options for the mask. |
|
|
127
|
+
| motionOptions | InputSignal<MotionOptions> | ... | The motion options. |
|
|
128
|
+
|
|
129
|
+
### Emits
|
|
130
|
+
|
|
131
|
+
| Name | Parameters | Description |
|
|
132
|
+
|------|------------|-------------|
|
|
133
|
+
| onShow | value: any | Triggered when the preview overlay is shown. |
|
|
134
|
+
| onHide | value: any | Triggered when the preview overlay is hidden. |
|
|
135
|
+
| onImageError | event: Event | This event is triggered if an error occurs while loading an image file. |
|
|
136
|
+
|
|
137
|
+
### Templates
|
|
138
|
+
|
|
139
|
+
| Name | Type | Description |
|
|
140
|
+
|------|------|-------------|
|
|
141
|
+
| indicator | TemplateRef<void> | Custom indicator template. |
|
|
142
|
+
| rotaterighticon | TemplateRef<void> | Custom rotate right icon template. |
|
|
143
|
+
| rotatelefticon | TemplateRef<void> | Custom rotate left icon template. |
|
|
144
|
+
| zoomouticon | TemplateRef<void> | Custom zoom out icon template. |
|
|
145
|
+
| zoominicon | TemplateRef<void> | Custom zoom in icon template. |
|
|
146
|
+
| closeicon | TemplateRef<void> | Custom close icon template. |
|
|
147
|
+
| preview | TemplateRef<ImagePreviewTemplateContext> | Custom preview template. |
|
|
148
|
+
| image | TemplateRef<ImageImageTemplateContext> | Custom image template. |
|
|
149
|
+
|
|
150
|
+
## Pass Through Options
|
|
151
|
+
|
|
152
|
+
| Name | Type | Description |
|
|
153
|
+
|------|------|-------------|
|
|
154
|
+
| root | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the root's DOM element. |
|
|
155
|
+
| image | PassThroughOption<HTMLImageElement, I> | Used to pass attributes to the image's DOM element. |
|
|
156
|
+
| previewMask | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the preview mask button's DOM element. |
|
|
157
|
+
| previewIcon | PassThroughOption<SVGElement, I> | Used to pass attributes to the preview icon's DOM element. |
|
|
158
|
+
| mask | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the mask's DOM element. |
|
|
159
|
+
| toolbar | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the toolbar's DOM element. |
|
|
160
|
+
| rotateRightButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the rotate right button's DOM element. |
|
|
161
|
+
| rotateLeftButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the rotate left button's DOM element. |
|
|
162
|
+
| zoomOutButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the zoom out button's DOM element. |
|
|
163
|
+
| zoomInButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the zoom in button's DOM element. |
|
|
164
|
+
| closeButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the close button's DOM element. |
|
|
165
|
+
| original | PassThroughOption<HTMLImageElement, I> | Used to pass attributes to the original/preview image's DOM element. |
|
|
166
|
+
| motion | MotionOptions | Used to pass options to the motion component/directive. |
|
|
167
|
+
|
|
168
|
+
## Theming
|
|
169
|
+
|
|
170
|
+
### CSS Classes
|
|
171
|
+
|
|
172
|
+
| Class | Description |
|
|
173
|
+
|-------|-------------|
|
|
174
|
+
| p-image | Class name of the root element |
|
|
175
|
+
| p-image-preview-mask | Class name of the preview mask element |
|
|
176
|
+
| p-image-preview-icon | Class name of the preview icon element |
|
|
177
|
+
| p-image-mask | Class name of the mask element |
|
|
178
|
+
| p-image-toolbar | Class name of the toolbar element |
|
|
179
|
+
| p-image-rotate-right-button | Class name of the rotate right button element |
|
|
180
|
+
| p-image-rotate-left-button | Class name of the rotate left button element |
|
|
181
|
+
| p-image-zoom-out-button | Class name of the zoom out button element |
|
|
182
|
+
| p-image-zoom-in-button | Class name of the zoom in button element |
|
|
183
|
+
| p-image-close-button | Class name of the close button element |
|
|
184
|
+
| p-image-original | Class name of the original element |
|
|
185
|
+
|
|
186
|
+
### Design Tokens
|
|
187
|
+
|
|
188
|
+
| Token | CSS Variable | Description |
|
|
189
|
+
|-------|--------------|-------------|
|
|
190
|
+
| image.transition.duration | --p-image-transition-duration | Transition duration of root |
|
|
191
|
+
| image.preview.icon.size | --p-image-preview-icon-size | Icon size of preview |
|
|
192
|
+
| image.preview.mask.background | --p-image-preview-mask-background | Mask background of preview |
|
|
193
|
+
| image.preview.mask.color | --p-image-preview-mask-color | Mask color of preview |
|
|
194
|
+
| image.toolbar.position.left | --p-image-toolbar-position-left | Position left of toolbar |
|
|
195
|
+
| image.toolbar.position.right | --p-image-toolbar-position-right | Position right of toolbar |
|
|
196
|
+
| image.toolbar.position.top | --p-image-toolbar-position-top | Position top of toolbar |
|
|
197
|
+
| image.toolbar.position.bottom | --p-image-toolbar-position-bottom | Position bottom of toolbar |
|
|
198
|
+
| image.toolbar.blur | --p-image-toolbar-blur | Blur of toolbar |
|
|
199
|
+
| image.toolbar.background | --p-image-toolbar-background | Background of toolbar |
|
|
200
|
+
| image.toolbar.border.color | --p-image-toolbar-border-color | Border color of toolbar |
|
|
201
|
+
| image.toolbar.border.width | --p-image-toolbar-border-width | Border width of toolbar |
|
|
202
|
+
| image.toolbar.border.radius | --p-image-toolbar-border-radius | Border radius of toolbar |
|
|
203
|
+
| image.toolbar.padding | --p-image-toolbar-padding | Padding of toolbar |
|
|
204
|
+
| image.toolbar.gap | --p-image-toolbar-gap | Gap of toolbar |
|
|
205
|
+
| image.action.hover.background | --p-image-action-hover-background | Hover background of action |
|
|
206
|
+
| image.action.color | --p-image-action-color | Color of action |
|
|
207
|
+
| image.action.hover.color | --p-image-action-hover-color | Hover color of action |
|
|
208
|
+
| image.action.size | --p-image-action-size | Size of action |
|
|
209
|
+
| image.action.icon.size | --p-image-action-icon-size | Icon size of action |
|
|
210
|
+
| image.action.border.radius | --p-image-action-border-radius | Border radius of action |
|
|
211
|
+
| image.action.focus.ring.width | --p-image-action-focus-ring-width | Focus ring width of action |
|
|
212
|
+
| image.action.focus.ring.style | --p-image-action-focus-ring-style | Focus ring style of action |
|
|
213
|
+
| image.action.focus.ring.color | --p-image-action-focus-ring-color | Focus ring color of action |
|
|
214
|
+
| image.action.focus.ring.offset | --p-image-action-focus-ring-offset | Focus ring offset of action |
|
|
215
|
+
| image.action.focus.ring.shadow | --p-image-action-focus-ring-shadow | Focus ring shadow of action |
|
|
216
|
+
|
|
@@ -44,7 +44,7 @@ import { ImageCompareModule } from '@exhaustive-ui/core/imagecompare';
|
|
|
44
44
|
@Component({
|
|
45
45
|
template: `
|
|
46
46
|
<div class="card flex justify-center">
|
|
47
|
-
<p-imagecompare class="sm
|
|
47
|
+
<p-imagecompare class="sm:w-96! shadow-lg rounded-2xl">
|
|
48
48
|
<ng-template #left>
|
|
49
49
|
<img src="https://exhaustive-ui.com/demo/compare/island1.jpg" />
|
|
50
50
|
</ng-template>
|
|
@@ -86,7 +86,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
86
86
|
<p-button icon="pi pi-search" severity="secondary" variant="text" (click)="menu.toggle($event)" />
|
|
87
87
|
</p-inputgroup-addon>
|
|
88
88
|
</p-inputgroup>
|
|
89
|
-
<p-menu #menu [model]="items" popup styleClass="
|
|
89
|
+
<p-menu #menu [model]="items" popup styleClass="min-w-fit!" />
|
|
90
90
|
<p-inputgroup>
|
|
91
91
|
<p-inputgroup-addon>
|
|
92
92
|
<p-button icon="pi pi-check" severity="secondary" />
|
|
@@ -215,7 +215,7 @@ import { InputNumberModule } from '@exhaustive-ui/core/inputnumber';
|
|
|
215
215
|
@Component({
|
|
216
216
|
template: `
|
|
217
217
|
<div class="card flex justify-center">
|
|
218
|
-
<p-inputgroup class="md
|
|
218
|
+
<p-inputgroup class="md:w-80!">
|
|
219
219
|
<p-inputgroup-addon>
|
|
220
220
|
<i class="pi pi-shopping-cart"></i>
|
|
221
221
|
</p-inputgroup-addon>
|
|
@@ -246,7 +246,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
246
246
|
@Component({
|
|
247
247
|
template: `
|
|
248
248
|
<div class="card flex justify-center">
|
|
249
|
-
<p-inputgroup class="w-full md
|
|
249
|
+
<p-inputgroup class="w-full md:w-120!">
|
|
250
250
|
<p-inputgroup-addon>
|
|
251
251
|
<i class="pi pi-clock"></i>
|
|
252
252
|
</p-inputgroup-addon>
|
package/data/components/menu.md
CHANGED
|
@@ -299,7 +299,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
299
299
|
<span [class]="item.icon"></span>
|
|
300
300
|
<span class="ms-2">{{ item.label }}</span>
|
|
301
301
|
<p-badge *ngIf="item.badge" class="ms-auto" [value]="item.badge" />
|
|
302
|
-
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
302
|
+
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded-sm bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
303
303
|
</a>
|
|
304
304
|
</ng-template>
|
|
305
305
|
<ng-template #end>
|
|
@@ -357,7 +357,7 @@ export class MenuTemplateDemo implements OnInit {
|
|
|
357
357
|
label: 'Logout',
|
|
358
358
|
icon: 'pi pi-sign-out',
|
|
359
359
|
shortcut: '⌘+Q',
|
|
360
|
-
linkClass: '
|
|
360
|
+
linkClass: 'text-red-500! dark:text-red-400!'
|
|
361
361
|
}
|
|
362
362
|
]
|
|
363
363
|
},
|
|
@@ -280,7 +280,7 @@ import { MenuItem } from '@exhaustive-ui/core/api';
|
|
|
280
280
|
<a pRipple class="flex items-center px-4 py-3 cursor-pointer gap-2">
|
|
281
281
|
<span>{{ item.label }}</span>
|
|
282
282
|
<p-badge *ngIf="item.badge" [ngClass]="{ 'ms-auto': !root }" [value]="item.badge" />
|
|
283
|
-
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
283
|
+
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded-sm bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
284
284
|
<i *ngIf="item.items" [ngClass]="['ms-auto pi', root ? 'pi-angle-down' : 'pi-angle-right']"></i>
|
|
285
285
|
</a>
|
|
286
286
|
</ng-template>
|
|
@@ -69,7 +69,7 @@ import { Product } from '@/domain/product';
|
|
|
69
69
|
<p-orderlist [value]="products()" dataKey="id" [dragdrop]="true" [responsive]="true" breakpoint="575px" scrollHeight="20rem">
|
|
70
70
|
<ng-template let-option let-selected="selected" #item>
|
|
71
71
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
72
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
72
|
+
<img class="w-12 shrink-0 rounded-sm" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
73
73
|
<div class="flex-1 flex flex-col">
|
|
74
74
|
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
75
75
|
<span
|
|
@@ -131,7 +131,7 @@ import { Product } from '@/domain/product';
|
|
|
131
131
|
<p-orderlist [value]="products()" filterBy="name" filterPlaceholder="Filter by name" [responsive]="true" breakpoint="575px" scrollHeight="20rem" class="sm:min-w-96">
|
|
132
132
|
<ng-template let-option let-selected="selected" #item>
|
|
133
133
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
134
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
134
|
+
<img class="w-12 shrink-0 rounded-sm" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
135
135
|
<div class="flex-1 flex flex-col">
|
|
136
136
|
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
137
137
|
<span
|
|
@@ -193,7 +193,7 @@ import { Product } from '@/domain/product';
|
|
|
193
193
|
<p-orderlist [value]="products()" dataKey="id" [responsive]="true" breakpoint="575px" scrollHeight="20rem">
|
|
194
194
|
<ng-template let-option let-selected="selected" #item>
|
|
195
195
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
196
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
196
|
+
<img class="w-12 shrink-0 rounded-sm" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
197
197
|
<div class="flex-1 flex flex-col">
|
|
198
198
|
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
199
199
|
<span
|
|
@@ -271,6 +271,7 @@ OrderList is used to manage the order of a collection.
|
|
|
271
271
|
| trackBy | InputSignal<Function> | ... | Function to optimize the dom operations by delegating to ngForTrackBy, default algorithm checks for object identity. |
|
|
272
272
|
| scrollHeight | InputSignal<string> | ... | Height of the viewport, a scrollbar is defined if height of list exceeds this value. |
|
|
273
273
|
| autoOptionFocus | InputSignalWithTransform<boolean, unknown> | ... | Whether to focus on the first visible or selected element. |
|
|
274
|
+
| focusOnHover | InputSignalWithTransform<boolean, unknown> | ... | When enabled, the hovered option will be focused. |
|
|
274
275
|
| dataKey | InputSignal<string> | ... | Name of the field that uniquely identifies the record in the data. |
|
|
275
276
|
| optionLabel | InputSignal<string> | ... | Name of the label field of an option, used to display it and to search it with the keyboard. Defaults to dataKey, then to 'name'. |
|
|
276
277
|
| selection | ModelSignal<any[]> | ... | A list of values that are currently selected. Two-way bindable with `[(selection)]` : `selectionChange` is emitted with the new selection when it changes. |
|
|
@@ -30,7 +30,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
30
30
|
template: `
|
|
31
31
|
<div class="card flex justify-center">
|
|
32
32
|
<p-button (click)="toggle()" label="Show Overlay"></p-button>
|
|
33
|
-
<p-overlay [(visible)]="overlayVisible" [responsive]="{ breakpoint: '640px', direction: 'bottom', contentStyleClass: 'h-20rem' }" contentStyleClass="p-6 bg-surface-0 dark:bg-surface-900 shadow rounded-border"> Content </p-overlay>
|
|
33
|
+
<p-overlay [(visible)]="overlayVisible" [responsive]="{ breakpoint: '640px', direction: 'bottom', contentStyleClass: 'h-20rem' }" contentStyleClass="p-6 bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border"> Content </p-overlay>
|
|
34
34
|
</div>
|
|
35
35
|
`,
|
|
36
36
|
standalone: true,
|
|
@@ -141,7 +141,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
141
141
|
template: `
|
|
142
142
|
<div class="card flex justify-center">
|
|
143
143
|
<p-button (click)="toggle()" label="Show Overlay"></p-button>
|
|
144
|
-
<p-overlay [(visible)]="overlayVisible" [responsive]="{ breakpoint: '640px', direction: 'bottom', contentStyleClass: 'h-20rem' }" contentStyleClass="p-6 bg-surface-0 dark:bg-surface-900 shadow rounded-border">
|
|
144
|
+
<p-overlay [(visible)]="overlayVisible" [responsive]="{ breakpoint: '640px', direction: 'bottom', contentStyleClass: 'h-20rem' }" contentStyleClass="p-6 bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border">
|
|
145
145
|
<ng-template #content let-option> Content - {{ option.mode }} </ng-template>
|
|
146
146
|
</p-overlay>
|
|
147
147
|
</div>
|
|
@@ -503,7 +503,7 @@ import { PanelMenu } from '@exhaustive-ui/core/panelmenu';
|
|
|
503
503
|
<i [class]="item.icon + ' text-primary group-hover:text-inherit'"></i>
|
|
504
504
|
<span class="ms-2">{{ item.label }}</span>
|
|
505
505
|
<p-badge *ngIf="item.badge" class="ms-auto" [value]="item.badge" />
|
|
506
|
-
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
506
|
+
<span *ngIf="item.shortcut" class="ms-auto border border-surface rounded-sm bg-emphasis text-muted-color text-xs p-1">{{ item.shortcut }}</span>
|
|
507
507
|
</a>
|
|
508
508
|
</ng-template>
|
|
509
509
|
</p-panelmenu>
|
|
@@ -484,6 +484,7 @@ Password displays strength indicator for password fields.
|
|
|
484
484
|
| strongLabel | InputSignal<string> | ... | Text for a strong password. Defaults to Exhaustive I18N API configuration. |
|
|
485
485
|
| inputId | InputSignal<string> | ... | Identifier of the accessible input element. |
|
|
486
486
|
| feedback | InputSignalWithTransform<boolean, unknown> | ... | Whether to show the strength indicator or not. |
|
|
487
|
+
| readonly | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that an input field is read-only. |
|
|
487
488
|
| toggleMask | InputSignalWithTransform<boolean, unknown> | ... | Whether to show an icon to display the password as plain text. |
|
|
488
489
|
| inputStyleClass | InputSignal<string> | ... | Style class of the input field. |
|
|
489
490
|
| inputStyle | InputSignal<{ [klass: string]: any }> | ... | Inline style of the input field. |
|
|
@@ -69,7 +69,7 @@ import { Product } from '@/domain/product';
|
|
|
69
69
|
>
|
|
70
70
|
<ng-template let-option let-selected="selected" #option>
|
|
71
71
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
72
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
72
|
+
<img class="w-12 shrink-0 rounded-sm" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
73
73
|
<div class="flex-1 flex flex-col">
|
|
74
74
|
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
75
75
|
<span
|
|
@@ -120,7 +120,7 @@ import { Product } from '@/domain/product';
|
|
|
120
120
|
<p-picklist [source]="sourceProducts()" [target]="targetProducts()" [dragdrop]="true" [responsive]="true" sourceFilterPlaceholder="Search by name" targetFilterPlaceholder="Search by name" breakpoint="1400px" scrollHeight="20rem">
|
|
121
121
|
<ng-template let-option let-selected="selected" #item>
|
|
122
122
|
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
123
|
-
<img class="w-12 shrink-0 rounded" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
123
|
+
<img class="w-12 shrink-0 rounded-sm" src="https://exhaustive-ui.com/demo/product/{{ option.image }}" [alt]="option.name" />
|
|
124
124
|
<div class="flex-1 flex flex-col">
|
|
125
125
|
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
126
126
|
<span
|
|
@@ -22,11 +22,11 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
22
22
|
<div class="card flex justify-center">
|
|
23
23
|
<p-button (click)="op.toggle($event)" icon="pi pi-share-alt" label="Share" />
|
|
24
24
|
<p-popover #op>
|
|
25
|
-
<div class="flex flex-col gap-4 w-
|
|
25
|
+
<div class="flex flex-col gap-4 w-100">
|
|
26
26
|
<div>
|
|
27
27
|
<span class="font-medium text-surface-900 dark:text-surface-0 block mb-2">Share this document</span>
|
|
28
28
|
<p-inputgroup>
|
|
29
|
-
<input pInputText value="https://exhaustive-ui.com/s/12323ff26t2g243g423g234gg52hy25XADXAG3" readonly class="w-
|
|
29
|
+
<input pInputText value="https://exhaustive-ui.com/s/12323ff26t2g243g423g234gg52hy25XADXAG3" readonly class="w-100" />
|
|
30
30
|
<p-inputgroup-addon>
|
|
31
31
|
<i class="pi pi-copy"></i>
|
|
32
32
|
</p-inputgroup-addon>
|
|
@@ -106,7 +106,7 @@ import { Product } from '@/domain/product';
|
|
|
106
106
|
<td>{{ product.name }}</td>
|
|
107
107
|
<td>$ {{ product.price }}</td>
|
|
108
108
|
<td>
|
|
109
|
-
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.image" class="w-16 shadow-
|
|
109
|
+
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.image" class="w-16 shadow-xs" />
|
|
110
110
|
</td>
|
|
111
111
|
<td>
|
|
112
112
|
<p-button (onClick)="displayProduct($event, product)" icon="pi pi-search" severity="secondary" rounded />
|
|
@@ -116,11 +116,11 @@ import { Product } from '@/domain/product';
|
|
|
116
116
|
</p-table>
|
|
117
117
|
<p-popover #op (onHide)="selectedProduct.set(null)">
|
|
118
118
|
<ng-template #content>
|
|
119
|
-
<div *ngIf="selectedProduct()" class="rounded flex flex-col">
|
|
120
|
-
<div class="flex justify-center rounded">
|
|
119
|
+
<div *ngIf="selectedProduct()" class="rounded-sm flex flex-col">
|
|
120
|
+
<div class="flex justify-center rounded-sm">
|
|
121
121
|
<div class="relative mx-auto">
|
|
122
|
-
<img class="rounded w-44 sm:w-64" [src]="'https://exhaustive-ui.com/demo/product/' + selectedProduct().image" [alt]="selectedProduct().name" />
|
|
123
|
-
<p-tag [value]="selectedProduct().inventoryStatus" [severity]="getSeverity(selectedProduct())" class="absolute dark
|
|
122
|
+
<img class="rounded-sm w-44 sm:w-64" [src]="'https://exhaustive-ui.com/demo/product/' + selectedProduct().image" [alt]="selectedProduct().name" />
|
|
123
|
+
<p-tag [value]="selectedProduct().inventoryStatus" [severity]="getSeverity(selectedProduct())" class="absolute dark:bg-surface-900!" [style.left.px]="4" [style.top.px]="4" />
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
126
126
|
<div class="pt-4">
|
|
@@ -17,7 +17,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
|
|
|
17
17
|
@Component({
|
|
18
18
|
template: `
|
|
19
19
|
<div class="card">
|
|
20
|
-
<div class="rounded border border-surface-200 dark:border-surface-700 p-6 bg-surface-0 dark:bg-surface-900">
|
|
20
|
+
<div class="rounded-sm border border-surface-200 dark:border-surface-700 p-6 bg-surface-0 dark:bg-surface-900">
|
|
21
21
|
<div class="flex mb-4">
|
|
22
22
|
<p-skeleton shape="circle" size="4rem" class="mr-2" />
|
|
23
23
|
<div>
|
|
@@ -95,7 +95,7 @@ import { SkeletonModule } from '@exhaustive-ui/core/skeleton';
|
|
|
95
95
|
@Component({
|
|
96
96
|
template: `
|
|
97
97
|
<div class="card">
|
|
98
|
-
<div class="rounded border border-surface-200 dark:border-surface-700 p-6 bg-surface-0 dark:bg-surface-900">
|
|
98
|
+
<div class="rounded-sm border border-surface-200 dark:border-surface-700 p-6 bg-surface-0 dark:bg-surface-900">
|
|
99
99
|
<ul class="m-0 p-0 list-none">
|
|
100
100
|
<li class="mb-4">
|
|
101
101
|
<div class="flex">
|
|
@@ -43,7 +43,7 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
43
43
|
template: `
|
|
44
44
|
<div class="card flex justify-center">
|
|
45
45
|
<div class="flex flex-col items-center">
|
|
46
|
-
<img alt="user header" class="w-full md:w-80 rounded mb-6" src="https://exhaustive-ui.com/demo/card-vue.jpg" [style]="filterStyle" />
|
|
46
|
+
<img alt="user header" class="w-full md:w-80 rounded-sm mb-6" src="https://exhaustive-ui.com/demo/card-vue.jpg" [style]="filterStyle" />
|
|
47
47
|
<p-selectbutton [(ngModel)]="filter" [options]="filterOptions" optionLabel="label" optionValue="value" class="mb-4" />
|
|
48
48
|
<p-slider [(ngModel)]="filterValues[filter]" class="w-56" [min]="0" [max]="200" />
|
|
49
49
|
</div>
|
|
@@ -371,7 +371,7 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
371
371
|
</p-button>
|
|
372
372
|
</ng-template>
|
|
373
373
|
<ng-template #item let-item let-toggleCallback="toggleCallback">
|
|
374
|
-
<div class="flex flex-col items-center justify-between gap-2 p-2 border rounded border-surface-200 dark:border-surface-700 w-20 cursor-pointer" (click)="toggleCallback($event, item)">
|
|
374
|
+
<div class="flex flex-col items-center justify-between gap-2 p-2 border rounded-sm border-surface-200 dark:border-surface-700 w-20 cursor-pointer" (click)="toggleCallback($event, item)">
|
|
375
375
|
<span [class]="item.icon"></span>
|
|
376
376
|
<span>
|
|
377
377
|
{{ item.label }}
|
|
@@ -18,7 +18,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
18
18
|
@Component({
|
|
19
19
|
template: `
|
|
20
20
|
<div class="card flex justify-center">
|
|
21
|
-
<p-stepper [value]="1" class="basis-
|
|
21
|
+
<p-stepper [value]="1" class="basis-200">
|
|
22
22
|
<p-step-list>
|
|
23
23
|
<p-step [value]="1">Header I</p-step>
|
|
24
24
|
<p-step [value]="2">Header II</p-step>
|
|
@@ -28,7 +28,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
28
28
|
<p-step-panel [value]="1">
|
|
29
29
|
<ng-template #content let-activateCallback="activateCallback">
|
|
30
30
|
<div class="flex flex-col h-48">
|
|
31
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
31
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
32
32
|
</div>
|
|
33
33
|
<div class="flex pt-6 justify-end">
|
|
34
34
|
<p-button label="Next" icon="pi pi-arrow-right" iconPos="right" (onClick)="activateCallback(2)" />
|
|
@@ -38,7 +38,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
38
38
|
<p-step-panel [value]="2">
|
|
39
39
|
<ng-template #content let-activateCallback="activateCallback">
|
|
40
40
|
<div class="flex flex-col h-48">
|
|
41
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
41
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
42
42
|
</div>
|
|
43
43
|
<div class="flex pt-6 justify-between">
|
|
44
44
|
<p-button label="Back" severity="secondary" icon="pi pi-arrow-left" (onClick)="activateCallback(1)" />
|
|
@@ -49,7 +49,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
49
49
|
<p-step-panel [value]="3">
|
|
50
50
|
<ng-template #content let-activateCallback="activateCallback">
|
|
51
51
|
<div class="flex flex-col h-48">
|
|
52
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
52
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
53
53
|
</div>
|
|
54
54
|
<div class="flex pt-6 justify-start">
|
|
55
55
|
<p-button label="Back" icon="pi pi-arrow-left" iconPos="right" (onClick)="activateCallback(2)" />
|
|
@@ -78,7 +78,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
78
78
|
@Component({
|
|
79
79
|
template: `
|
|
80
80
|
<div class="card flex justify-center">
|
|
81
|
-
<p-stepper [value]="1" class="basis-
|
|
81
|
+
<p-stepper [value]="1" class="basis-200" [linear]="true">
|
|
82
82
|
<p-step-list>
|
|
83
83
|
<p-step [value]="1">Header I</p-step>
|
|
84
84
|
<p-step [value]="2">Header II</p-step>
|
|
@@ -88,7 +88,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
88
88
|
<p-step-panel [value]="1">
|
|
89
89
|
<ng-template #content let-activateCallback="activateCallback">
|
|
90
90
|
<div class="flex flex-col h-48">
|
|
91
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
91
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
92
92
|
</div>
|
|
93
93
|
<div class="flex pt-6 justify-end">
|
|
94
94
|
<p-button label="Next" icon="pi pi-arrow-right" iconPos="right" (onClick)="activateCallback(2)" />
|
|
@@ -98,7 +98,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
98
98
|
<p-step-panel [value]="2">
|
|
99
99
|
<ng-template #content let-activateCallback="activateCallback">
|
|
100
100
|
<div class="flex flex-col h-48">
|
|
101
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
101
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
102
102
|
</div>
|
|
103
103
|
<div class="flex pt-6 justify-between">
|
|
104
104
|
<p-button label="Back" severity="secondary" icon="pi pi-arrow-left" (onClick)="activateCallback(1)" />
|
|
@@ -109,7 +109,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
109
109
|
<p-step-panel [value]="3">
|
|
110
110
|
<ng-template #content let-activateCallback="activateCallback">
|
|
111
111
|
<div class="flex flex-col h-48">
|
|
112
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
112
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
113
113
|
</div>
|
|
114
114
|
<div class="flex pt-6 justify-start">
|
|
115
115
|
<p-button label="Back" icon="pi pi-arrow-left" iconPos="right" (onClick)="activateCallback(2)" />
|
|
@@ -146,7 +146,7 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
146
146
|
@Component({
|
|
147
147
|
template: `
|
|
148
148
|
<div class="card flex justify-center">
|
|
149
|
-
<p-stepper [(value)]="activeStep" class="basis-
|
|
149
|
+
<p-stepper [(value)]="activeStep" class="basis-160">
|
|
150
150
|
<p-step-list>
|
|
151
151
|
<p-step [value]="1" class="flex flex-row flex-auto gap-2">
|
|
152
152
|
<ng-template #content let-activateCallback="activateCallback" let-value="value">
|
|
@@ -293,7 +293,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
293
293
|
<p-step-panel>
|
|
294
294
|
<ng-template #content let-activateCallback="activateCallback">
|
|
295
295
|
<div class="flex flex-col h-48">
|
|
296
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
296
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content I</div>
|
|
297
297
|
</div>
|
|
298
298
|
<div class="py-6">
|
|
299
299
|
<p-button label="Next" (onClick)="activateCallback(2)" />
|
|
@@ -306,7 +306,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
306
306
|
<p-step-panel>
|
|
307
307
|
<ng-template #content let-activateCallback="activateCallback">
|
|
308
308
|
<div class="flex flex-col h-48">
|
|
309
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
309
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content II</div>
|
|
310
310
|
</div>
|
|
311
311
|
<div class="flex py-6 gap-2">
|
|
312
312
|
<p-button label="Back" severity="secondary" (onClick)="activateCallback(1)" />
|
|
@@ -320,7 +320,7 @@ import { StepperModule } from '@exhaustive-ui/core/stepper';
|
|
|
320
320
|
<p-step-panel>
|
|
321
321
|
<ng-template #content let-activateCallback="activateCallback">
|
|
322
322
|
<div class="flex flex-col h-48">
|
|
323
|
-
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
323
|
+
<div class="border-2 border-dashed border-surface-200 dark:border-surface-700 rounded-sm bg-surface-50 dark:bg-surface-950 flex-auto flex justify-center items-center font-medium">Content III</div>
|
|
324
324
|
</div>
|
|
325
325
|
<div class="py-6">
|
|
326
326
|
<p-button label="Back" severity="secondary" (onClick)="activateCallback(2)" />
|
|
@@ -55,7 +55,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
55
55
|
template: `
|
|
56
56
|
<div class="card">
|
|
57
57
|
<div class="flex flex-wrap justify-center gap-4">
|
|
58
|
-
<div class="flex flex-col items-center gap-4 w-
|
|
58
|
+
<div class="flex flex-col items-center gap-4 w-100">
|
|
59
59
|
<p-button
|
|
60
60
|
pStyleClass=".window-responsive-box"
|
|
61
61
|
enterFromClass="hidden"
|
|
@@ -74,7 +74,7 @@ import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
77
|
-
<div class="flex flex-col items-center gap-4 w-
|
|
77
|
+
<div class="flex flex-col items-center gap-4 w-100">
|
|
78
78
|
<p-button
|
|
79
79
|
pStyleClass=".resizable-container"
|
|
80
80
|
enterFromClass="hidden"
|
package/data/components/table.md
CHANGED
|
@@ -2514,7 +2514,7 @@ interface ExportColumn {
|
|
|
2514
2514
|
<td style="min-width: 12rem">{{ product.code }}</td>
|
|
2515
2515
|
<td style="min-width: 16rem">{{ product.name }}</td>
|
|
2516
2516
|
<td>
|
|
2517
|
-
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.name" style="width: 64px" class="rounded" />
|
|
2517
|
+
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.name" style="width: 64px" class="rounded-sm" />
|
|
2518
2518
|
</td>
|
|
2519
2519
|
<td>{{ product.price | currency: 'USD' }}</td>
|
|
2520
2520
|
<td>{{ product.category }}</td>
|
|
@@ -4093,7 +4093,7 @@ interface Column {
|
|
|
4093
4093
|
<tr>
|
|
4094
4094
|
<td>{{ product.name }}</td>
|
|
4095
4095
|
<td>
|
|
4096
|
-
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.name" class="w-24 rounded" />
|
|
4096
|
+
<img [src]="'https://exhaustive-ui.com/demo/product/' + product.image" [alt]="product.name" class="w-24 rounded-sm" />
|
|
4097
4097
|
</td>
|
|
4098
4098
|
<td>{{ product.price | currency: 'USD' }}</td>
|
|
4099
4099
|
<td>{{ product.category }}</td>
|