orbiq-neural-ui-kit 1.0.16 → 1.0.18
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.
|
@@ -7374,6 +7374,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
7374
7374
|
args: ['starBtn']
|
|
7375
7375
|
}] } });
|
|
7376
7376
|
|
|
7377
|
+
class NeuralSearchTriggerComponent {
|
|
7378
|
+
width = input('100%', /* @ts-ignore */
|
|
7379
|
+
...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
|
|
7380
|
+
placeholder = input('Buscar', /* @ts-ignore */
|
|
7381
|
+
...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
7382
|
+
combo = input('mod+k', /* @ts-ignore */
|
|
7383
|
+
...(ngDevMode ? [{ debugName: "combo" }] : /* istanbul ignore next */ []));
|
|
7384
|
+
clicked = output();
|
|
7385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralSearchTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7386
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: NeuralSearchTriggerComponent, isStandalone: true, selector: "neural-search-trigger", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, combo: { classPropertyName: "combo", publicName: "combo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: `
|
|
7387
|
+
<button
|
|
7388
|
+
(click)="clicked.emit()"
|
|
7389
|
+
class="flex items-center justify-between h-[32px] px-3 bg-surface-gray-1 hover:bg-surface-gray-2 border border-transparent hover:border-outline-gray-2 rounded-6 transition-all group outline-none focus-visible:ring-2 focus-visible:ring-outline-gray-4 w-full"
|
|
7390
|
+
[style.width]="width()"
|
|
7391
|
+
>
|
|
7392
|
+
<div class="flex items-center gap-2 text-ink-gray-4 group-hover:text-ink-gray-5">
|
|
7393
|
+
<neural-icon name="lucide-search" class="size-4"></neural-icon>
|
|
7394
|
+
<span class="text-[13px]">{{ placeholder() }}</span>
|
|
7395
|
+
</div>
|
|
7396
|
+
@if (combo()) {
|
|
7397
|
+
<kbd class="hidden sm:inline-flex items-center font-sans text-[11px] font-medium text-ink-gray-4 bg-surface-base border border-outline-gray-2 rounded-4 px-1.5 shadow-sm group-hover:text-ink-gray-6 transition-colors">
|
|
7398
|
+
<neural-keyboard-shortcut [combo]="combo()" [bg]="false" [showPlus]="false"></neural-keyboard-shortcut>
|
|
7399
|
+
</kbd>
|
|
7400
|
+
}
|
|
7401
|
+
</button>
|
|
7402
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: NeuralIconComponent, selector: "neural-icon", inputs: ["name"] }, { kind: "component", type: NeuralKeyboardShortcutComponent, selector: "neural-keyboard-shortcut", inputs: ["combo", "bg", "showPlus", "useIcons"] }] });
|
|
7403
|
+
}
|
|
7404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: NeuralSearchTriggerComponent, decorators: [{
|
|
7405
|
+
type: Component,
|
|
7406
|
+
args: [{
|
|
7407
|
+
selector: 'neural-search-trigger',
|
|
7408
|
+
standalone: true,
|
|
7409
|
+
imports: [CommonModule, NeuralIconComponent, NeuralKeyboardShortcutComponent],
|
|
7410
|
+
template: `
|
|
7411
|
+
<button
|
|
7412
|
+
(click)="clicked.emit()"
|
|
7413
|
+
class="flex items-center justify-between h-[32px] px-3 bg-surface-gray-1 hover:bg-surface-gray-2 border border-transparent hover:border-outline-gray-2 rounded-6 transition-all group outline-none focus-visible:ring-2 focus-visible:ring-outline-gray-4 w-full"
|
|
7414
|
+
[style.width]="width()"
|
|
7415
|
+
>
|
|
7416
|
+
<div class="flex items-center gap-2 text-ink-gray-4 group-hover:text-ink-gray-5">
|
|
7417
|
+
<neural-icon name="lucide-search" class="size-4"></neural-icon>
|
|
7418
|
+
<span class="text-[13px]">{{ placeholder() }}</span>
|
|
7419
|
+
</div>
|
|
7420
|
+
@if (combo()) {
|
|
7421
|
+
<kbd class="hidden sm:inline-flex items-center font-sans text-[11px] font-medium text-ink-gray-4 bg-surface-base border border-outline-gray-2 rounded-4 px-1.5 shadow-sm group-hover:text-ink-gray-6 transition-colors">
|
|
7422
|
+
<neural-keyboard-shortcut [combo]="combo()" [bg]="false" [showPlus]="false"></neural-keyboard-shortcut>
|
|
7423
|
+
</kbd>
|
|
7424
|
+
}
|
|
7425
|
+
</button>
|
|
7426
|
+
`
|
|
7427
|
+
}]
|
|
7428
|
+
}], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], combo: [{ type: i0.Input, args: [{ isSignal: true, alias: "combo", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }] } });
|
|
7429
|
+
|
|
7377
7430
|
class NeuralSelectComponent {
|
|
7378
7431
|
value = model(/* @ts-ignore */
|
|
7379
7432
|
...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
@@ -14105,5 +14158,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
14105
14158
|
* Generated bundle index. Do not edit.
|
|
14106
14159
|
*/
|
|
14107
14160
|
|
|
14108
|
-
export { NeuralAccordionComponent, NeuralAlertComponent, NeuralAvatarComponent, NeuralAxisChartComponent, NeuralBadgeComponent, NeuralBottomSheetComponent, NeuralBreadcrumbsComponent, NeuralButtonComponent, NeuralCalendarComponent, NeuralCheckboxComponent, NeuralCodeEditorComponent, NeuralCodePreviewComponent, NeuralComboboxComponent, NeuralCommandPaletteComponent, NeuralContextMenuComponent, NeuralDatePickerComponent, NeuralDesktopShellComponent, NeuralDialogComponent, NeuralDividerComponent, NeuralDonutChartComponent, NeuralDropdownComponent, NeuralDurationComponent, NeuralEChartsComponent, NeuralErrorMessageComponent, NeuralFileUploaderComponent, NeuralFilterBuilderComponent, NeuralFloatingWindowComponent, NeuralFooterComponent, NeuralFormControlComponent, NeuralFormLabelComponent, NeuralFunnelChartComponent, NeuralHoverCardComponent, NeuralIconComponent, NeuralInputDescriptionComponent, NeuralInputErrorComponent, NeuralInputLabelComponent, NeuralItemListRowComponent, NeuralKeyboardShortcutComponent, NeuralLabelingWrapperComponent, NeuralListViewComponent, NeuralLoadingIndicatorComponent, NeuralLoadingTextComponent, NeuralMenuComponent, NeuralMobileNavComponent, NeuralMobileNavItemComponent, NeuralMobileShellComponent, NeuralMultiEmailInputComponent, NeuralMultiSelectComponent, NeuralNotificationCenterComponent, NeuralNumberChartComponent, NeuralPageHeaderComponent, NeuralPasswordComponent, NeuralPopoverComponent, NeuralPopoverContentDirective, NeuralPopoverPanelComponent, NeuralPopoverTriggerDirective, NeuralProgressComponent, NeuralRadioComponent, NeuralRadioGroupComponent, NeuralRailComponent, NeuralRailItemComponent, NeuralRatingComponent, NeuralRequiredIndicatorComponent, NeuralScrollAreaComponent, NeuralSelectComponent, NeuralSettingsContentComponent, NeuralSettingsDialogComponent, NeuralSettingsNavItemComponent, NeuralSettingsPanelComponent, NeuralSettingsSidebarComponent, NeuralSidebarComponent, NeuralSidebarItemComponent, NeuralSkeletonComponent, NeuralSliderComponent, NeuralSpinnerComponent, NeuralSwitchComponent, NeuralTabComponent, NeuralTabPanelComponent, NeuralTabsComponent, NeuralTextEditorComponent, NeuralTextInputComponent, NeuralTextareaComponent, NeuralThemeSwitcherComponent, NeuralTimePickerComponent, NeuralToastComponent, NeuralTooltipComponent, NeuralTreeComponent, NeuralTreeItemComponent, RADIO_GROUP, TABS_ROOT, ToastService, formatDuration, parseDuration };
|
|
14161
|
+
export { NeuralAccordionComponent, NeuralAlertComponent, NeuralAvatarComponent, NeuralAxisChartComponent, NeuralBadgeComponent, NeuralBottomSheetComponent, NeuralBreadcrumbsComponent, NeuralButtonComponent, NeuralCalendarComponent, NeuralCheckboxComponent, NeuralCodeEditorComponent, NeuralCodePreviewComponent, NeuralComboboxComponent, NeuralCommandPaletteComponent, NeuralContextMenuComponent, NeuralDatePickerComponent, NeuralDesktopShellComponent, NeuralDialogComponent, NeuralDividerComponent, NeuralDonutChartComponent, NeuralDropdownComponent, NeuralDurationComponent, NeuralEChartsComponent, NeuralErrorMessageComponent, NeuralFileUploaderComponent, NeuralFilterBuilderComponent, NeuralFloatingWindowComponent, NeuralFooterComponent, NeuralFormControlComponent, NeuralFormLabelComponent, NeuralFunnelChartComponent, NeuralHoverCardComponent, NeuralIconComponent, NeuralInputDescriptionComponent, NeuralInputErrorComponent, NeuralInputLabelComponent, NeuralItemListRowComponent, NeuralKeyboardShortcutComponent, NeuralLabelingWrapperComponent, NeuralListViewComponent, NeuralLoadingIndicatorComponent, NeuralLoadingTextComponent, NeuralMenuComponent, NeuralMobileNavComponent, NeuralMobileNavItemComponent, NeuralMobileShellComponent, NeuralMultiEmailInputComponent, NeuralMultiSelectComponent, NeuralNotificationCenterComponent, NeuralNumberChartComponent, NeuralPageHeaderComponent, NeuralPasswordComponent, NeuralPopoverComponent, NeuralPopoverContentDirective, NeuralPopoverPanelComponent, NeuralPopoverTriggerDirective, NeuralProgressComponent, NeuralRadioComponent, NeuralRadioGroupComponent, NeuralRailComponent, NeuralRailItemComponent, NeuralRatingComponent, NeuralRequiredIndicatorComponent, NeuralScrollAreaComponent, NeuralSearchTriggerComponent, NeuralSelectComponent, NeuralSettingsContentComponent, NeuralSettingsDialogComponent, NeuralSettingsNavItemComponent, NeuralSettingsPanelComponent, NeuralSettingsSidebarComponent, NeuralSidebarComponent, NeuralSidebarItemComponent, NeuralSkeletonComponent, NeuralSliderComponent, NeuralSpinnerComponent, NeuralSwitchComponent, NeuralTabComponent, NeuralTabPanelComponent, NeuralTabsComponent, NeuralTextEditorComponent, NeuralTextInputComponent, NeuralTextareaComponent, NeuralThemeSwitcherComponent, NeuralTimePickerComponent, NeuralToastComponent, NeuralTooltipComponent, NeuralTreeComponent, NeuralTreeItemComponent, RADIO_GROUP, TABS_ROOT, ToastService, formatDuration, parseDuration };
|
|
14109
14162
|
//# sourceMappingURL=orbiq-neural-ui-kit.mjs.map
|