Skip to content

Commit 8b3503f

Browse files
committed
Merge branch 'master' into task/#341-event-manager-plugin
2 parents 48cb3fc + 2630ef4 commit 8b3503f

50 files changed

Lines changed: 1878 additions & 2640 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/web/public/components/combobox/demo/default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ZardComboboxComponent, type ZardComboboxOption } from '../combobox.comp
1414
placeholder="Select framework..."
1515
searchPlaceholder="Search framework..."
1616
emptyText="No framework found."
17-
(zOnSelect)="onSelect($event)"
17+
(zComboSelected)="onSelect($event)"
1818
/>
1919
`,
2020
})

apps/web/public/components/combobox/demo/grouped.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ZardComboboxComponent, type ZardComboboxGroup, type ZardComboboxOption
1313
placeholder="Select technology..."
1414
searchPlaceholder="Search technology..."
1515
emptyText="No technology found."
16-
(zOnSelect)="onSelect($event)"
16+
(zComboSelected)="onSelect($event)"
1717
/>
1818
`,
1919
})

apps/web/public/components/combobox/doc/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
### Outputs
2020

21-
| Event | Type | Description |
22-
| -------------- | ---------------------------------- | ---------------------------------- |
23-
| `zValueChange` | `EventEmitter<string \| null>` | Emitted when the value changes |
24-
| `zOnSelect` | `EventEmitter<ZardComboboxOption>` | Emitted when an option is selected |
21+
| Event | Type | Description |
22+
| ---------------- | ---------------------------- | ---------------------------------- |
23+
| `zValueChange` | `output<string \| null>` | Emitted when the value changes |
24+
| `zComboSelected` | `output<ZardComboboxOption>` | Emitted when an option is selected |

apps/web/public/components/command/demo/default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { ZardCommandModule } from '../command.module';
99
imports: [ZardCommandModule],
1010
standalone: true,
1111
template: `
12-
<z-command class="md:min-w-[500px]" (zOnSelect)="handleCommand($event)">
12+
<z-command class="md:min-w-[500px]" (zCommandSelected)="handleCommand($event)">
1313
<z-command-input placeholder="Search actions, files, and more..." />
1414
<z-command-list>
1515
<z-command-empty>No commands found.</z-command-empty>

apps/web/public/components/command/doc/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ The main command palette container that handles search input and keyboard naviga
1111

1212
### Events
1313

14-
| Event | Description | Type |
15-
| ----------- | -------------------------------------- | --------------------------------- |
16-
| `zOnChange` | Fired when the selected option changes | `EventEmitter<ZardCommandOption>` |
17-
| `zOnSelect` | Fired when an option is selected | `EventEmitter<ZardCommandOption>` |
14+
| Event | Description | Type |
15+
| ------------------ | -------------------------------------- | --------------------------- |
16+
| `zCommandChange` | Fired when the selected option changes | `output<ZardCommandOption>` |
17+
| `zCommandSelected` | Fired when an option is selected | `output<ZardCommandOption>` |
1818

1919
---
2020

apps/web/public/components/resizable/doc/api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ The main container component that manages resizable panels.
1818

1919
### Outputs
2020

21-
| Output | Type | Description |
22-
| -------------- | ------------------------------- | -------------------------- |
23-
| `zResizeStart` | `EventEmitter<ZardResizeEvent>` | Emitted when resize starts |
24-
| `zResize` | `EventEmitter<ZardResizeEvent>` | Emitted during resize |
25-
| `zResizeEnd` | `EventEmitter<ZardResizeEvent>` | Emitted when resize ends |
21+
| Output | Type | Description |
22+
| -------------- | ------------------------- | -------------------------- |
23+
| `zResizeStart` | `output<ZardResizeEvent>` | Emitted when resize starts |
24+
| `zResize` | `output<ZardResizeEvent>` | Emitted during resize |
25+
| `zResizeEnd` | `output<ZardResizeEvent>` | Emitted when resize ends |
2626

2727
### Methods
2828

apps/web/public/components/slider/doc/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
### Events
1919

20-
| Event | Description | Type |
21-
| ----------- | ------------------------------------- | -------- |
22-
| `(onSlide)` | Emitted when the slider value changes | `number` |
20+
| Event | Description | Type |
21+
| --------------------- | ------------------------------------- | -------- |
22+
| `(zSlideIndexChange)` | Emitted when the slider value changes | `number` |

apps/web/public/components/tabs/doc/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ To configure the tab group, pass the following props to the component.
1313
| `[zShowArrow]` | Whether to show scroll arrows when content overflows | `true \| false` | `true` |
1414
| `[zScrollAmount]` | Whether to show scroll arrows when content overflows | `number` | `100` |
1515
| `[zAlignTabs]` | Alignment of tabs within the navigation | `start \| center \| end` | `start` |
16-
| `(zOnTabChange)` | Emits when a new tab is selected or index signal emit | `$event` | `$event` |
16+
| `(zTabChange)` | Emits when a new tab is selected or index signal emit | `$event` | `$event` |
1717
| `(zDeselect)` | Emits when the current tab is deselected | `$event` | `$event` |

apps/web/public/components/toggle/doc/api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
### Events
2020

21-
| Event | Description | Payload |
22-
| ------------ | ------------------------------------- | --------- |
23-
| `(onClick)` | Emitted when the toggle is clicked | `void` |
24-
| `(onHover)` | Emitted when the toggle is hovered | `void` |
25-
| `(onChange)` | Emitted when the toggle value changes | `boolean` |
21+
| Event | Description | Payload |
22+
| ----------------- | ------------------------------------- | --------- |
23+
| `(zToggleClick)` | Emitted when the toggle is clicked | `void` |
24+
| `(zToggleHover)` | Emitted when the toggle is hovered | `void` |
25+
| `(zToggleChange)` | Emitted when the toggle value changes | `boolean` |

apps/web/public/installation/manual/carousel.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ import { ZardIconComponent } from '../icon/icon.component';
9393
>
9494
<z-icon
9595
zType="circle-small"
96-
[zStrokeWidth]="1"
97-
class="block size-3"
98-
[class]="index === selectedIndex() ? 'fill-primary stroke-primary' : 'fill-border stroke-border'"
96+
[zStrokeWidth]="0"
97+
[class]="'block size-4 ' + (index === selectedIndex() ? 'fill-primary' : 'fill-border')"
9998
/>
10099
</span>
101100
}

0 commit comments

Comments
 (0)