@semantic-components/ui 0.36.0 → 0.38.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/fesm2022/semantic-components-ui.mjs +8211 -5152
- package/fesm2022/semantic-components-ui.mjs.map +1 -1
- package/index.d.ts +18 -3
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +5 -13
- package/lib/components/badge/badge.d.ts +4 -4
- package/lib/components/button/button-base.d.ts +7 -5
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/calendar/calendar-header.d.ts +14 -0
- package/lib/components/calendar/calendar-utils.d.ts +6 -0
- package/lib/components/calendar/calendar.d.ts +32 -27
- package/lib/components/calendar/day-button.d.ts +9 -0
- package/lib/components/calendar/day-selector.d.ts +16 -0
- package/lib/components/calendar/month-selector.d.ts +12 -0
- package/lib/components/calendar/types.d.ts +6 -0
- package/lib/components/calendar/utils.d.ts +6 -0
- package/lib/components/calendar/year-selector.d.ts +10 -0
- package/lib/components/card/card-content.d.ts +3 -3
- package/lib/components/card/card-description.d.ts +3 -3
- package/lib/components/card/card-footer.d.ts +3 -3
- package/lib/components/card/card-header.d.ts +3 -3
- package/lib/components/card/card-title.d.ts +3 -3
- package/lib/components/card/card.d.ts +3 -3
- package/lib/components/carousel/carousel-next.d.ts +6 -6
- package/lib/components/carousel/carousel-previous.d.ts +6 -6
- package/lib/components/carousel/carousel.d.ts +9 -6
- package/lib/components/checkbox/checkbox-container.d.ts +7 -0
- package/lib/components/checkbox/checkbox-field.d.ts +13 -0
- package/lib/components/checkbox/checkbox.d.ts +3 -8
- package/lib/components/checkbox/checkbox2.d.ts +17 -0
- package/lib/components/checkbox/index.d.ts +3 -0
- package/lib/components/{progress → circular-progress}/circular-progress.d.ts +6 -10
- package/lib/components/circular-progress/index.d.ts +1 -0
- package/lib/components/clock-picker/clock-picker.d.ts +3 -3
- package/lib/components/code-highlighter/code-highlighter.d.ts +6 -7
- package/lib/components/code-highlighter/shiki.service.d.ts +4 -0
- package/lib/components/color-picker/color-picker.d.ts +18 -0
- package/lib/components/color-picker/index.d.ts +1 -0
- package/lib/components/combobox/combobox.d.ts +3 -3
- package/lib/components/comments/comment.d.ts +1 -1
- package/lib/components/comments/comments.d.ts +3 -3
- package/lib/components/date-picker/date-picker-toggle.d.ts +10 -0
- package/lib/components/date-picker/date-picker.d.ts +28 -20
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/date-range-picker/date-range-picker.d.ts +47 -0
- package/lib/components/date-range-picker/index.d.ts +1 -0
- package/lib/components/dual-range-slider/dual-range-slider.d.ts +15 -0
- package/lib/components/dual-range-slider/index.d.ts +1 -0
- package/lib/components/editor/editor.d.ts +1 -1
- package/lib/components/editor/index.d.ts +27 -0
- package/lib/components/fieldset/description.d.ts +7 -0
- package/lib/components/fieldset/error-message.d.ts +5 -0
- package/lib/components/fieldset/field.d.ts +13 -0
- package/lib/components/fieldset/fieldset.d.ts +7 -0
- package/lib/components/fieldset/index.d.ts +5 -0
- package/lib/components/fieldset/legend.d.ts +7 -0
- package/lib/components/file-upload/file-upload.d.ts +28 -5
- package/lib/components/file-upload/index.d.ts +0 -2
- package/lib/components/full-calendar/full-calendar.d.ts +1 -1
- package/lib/components/input/input.d.ts +5 -1
- package/lib/components/input/plain-input.d.ts +1 -1
- package/lib/components/input-number/index.d.ts +3 -0
- package/lib/components/input-number/input-number-decrementer.d.ts +9 -0
- package/lib/components/input-number/input-number-incrementer.d.ts +9 -0
- package/lib/components/input-number/input-number.d.ts +11 -0
- package/lib/components/input-number-group/index.d.ts +1 -0
- package/lib/components/input-number-group/input-number-group.d.ts +11 -0
- package/lib/components/input-otp/input-otp-slot.d.ts +19 -11
- package/lib/components/input-otp/input-otp.d.ts +19 -21
- package/lib/components/input-password/input-password.d.ts +8 -8
- package/lib/components/label/label.d.ts +3 -1
- package/lib/components/link/link.d.ts +2 -1
- package/lib/components/multi-select/index.d.ts +1 -0
- package/lib/components/multi-select/multi-select.d.ts +41 -0
- package/lib/components/on-this-page/index.d.ts +1 -0
- package/lib/components/on-this-page/on-this-page.d.ts +31 -0
- package/lib/components/paginator/index.d.ts +10 -0
- package/lib/components/paginator/page-size-select.d.ts +7 -0
- package/lib/components/paginator/pagination-ellipsis.d.ts +7 -0
- package/lib/components/paginator/pagination-first.d.ts +11 -0
- package/lib/components/paginator/pagination-last.d.ts +10 -0
- package/lib/components/paginator/pagination-link.d.ts +14 -0
- package/lib/components/paginator/pagination-list.d.ts +7 -0
- package/lib/components/paginator/pagination-next.d.ts +11 -0
- package/lib/components/paginator/pagination-previous.d.ts +12 -0
- package/lib/components/paginator/paginator-container.d.ts +7 -0
- package/lib/components/paginator/paginator.d.ts +8 -18
- package/lib/components/paginator/paginator.service.d.ts +27 -0
- package/lib/components/progress/index.d.ts +0 -1
- package/lib/components/progress/progress.d.ts +1 -3
- package/lib/components/range-calendar/days-selector.d.ts +19 -0
- package/lib/components/range-calendar/index.d.ts +1 -0
- package/lib/components/range-calendar/range-calendar.d.ts +41 -0
- package/lib/components/range-calendar/types.d.ts +5 -0
- package/lib/components/range-slider/index.d.ts +1 -0
- package/lib/components/range-slider/range-slider.d.ts +10 -0
- package/lib/components/rating/index.d.ts +1 -0
- package/lib/components/rating/rating.d.ts +23 -0
- package/lib/components/scroll-area/hover-scrollbar.component.d.ts +14 -0
- package/lib/components/scroll-area/index.d.ts +1 -0
- package/lib/components/scroll-area/scroll-area.d.ts +4 -4
- package/lib/components/scroll-spy/index.d.ts +1 -0
- package/lib/components/scroll-spy/scroll-spy.d.ts +12 -0
- package/lib/components/scroll-to-top/index.d.ts +2 -0
- package/lib/components/scroll-to-top/scroll-to-top-button.d.ts +10 -0
- package/lib/components/scroll-to-top/scroll-to-top-button2.d.ts +11 -0
- package/lib/components/scroll-to-top/scroll-to-top.d.ts +18 -0
- package/lib/components/select/option.d.ts +1 -2
- package/lib/components/sheet/sheet-close.d.ts +5 -6
- package/lib/components/sheet/sheet-container.d.ts +4 -4
- package/lib/components/sheet/sheet-trigger.d.ts +5 -5
- package/lib/components/sheet/sheet.d.ts +6 -7
- package/lib/components/sidebar/index.d.ts +1 -0
- package/lib/components/sidebar/sidebar-content.d.ts +7 -0
- package/lib/components/sidebar/sidebar-mobile.d.ts +10 -9
- package/lib/components/sidebar/sidebar-toggler.d.ts +7 -5
- package/lib/components/sidebar/sidebar.d.ts +4 -0
- package/lib/components/slider/slider.d.ts +8 -9
- package/lib/components/stepper/index.d.ts +2 -0
- package/lib/components/stepper/step.d.ts +9 -0
- package/lib/components/stepper/stepper.d.ts +11 -0
- package/lib/components/switch/switch.d.ts +11 -21
- package/lib/components/table/index.d.ts +2 -2
- package/lib/components/table/table-header-group.d.ts +7 -0
- package/lib/components/table/table-header.d.ts +1 -1
- package/lib/components/table-of-contents/index.d.ts +1 -0
- package/lib/components/table-of-contents/table-of-contents.d.ts +21 -0
- package/lib/components/time-picker/time-picker2.d.ts +2 -2
- package/lib/components/toast/index.d.ts +5 -1
- package/lib/components/toast/toast-action.d.ts +3 -3
- package/lib/components/toast/toast-close.d.ts +5 -3
- package/lib/components/toast/toast-container.d.ts +10 -0
- package/lib/components/toast/toast-content.d.ts +3 -3
- package/lib/components/toast/toast-description.d.ts +3 -3
- package/lib/components/toast/toast-id.d.ts +2 -0
- package/lib/components/toast/toast-title.d.ts +3 -3
- package/lib/components/toast/toast.d.ts +16 -5
- package/lib/components/toast/toast.service.d.ts +9 -0
- package/lib/components/toast/toaster.d.ts +23 -5
- package/lib/components/toggle-switch/index.d.ts +1 -0
- package/lib/components/toggle-switch/toggle-switch.d.ts +7 -0
- package/lib/components/touch-area/index.d.ts +1 -0
- package/lib/components/touch-area/touch-area.d.ts +7 -0
- package/package.json +4 -4
- package/styles/shiki-styles.css +1 -1
- package/styles/typography-styles.css +304 -0
- package/lib/components/button/cursor.d.ts +0 -10
- package/lib/components/calendar/month-days.d.ts +0 -19
- package/lib/components/calendar/month-year-header.d.ts +0 -9
- package/lib/components/calendar/util.d.ts +0 -5
- package/lib/components/chat/chat.d.ts +0 -5
- package/lib/components/chat/index.d.ts +0 -1
- package/lib/components/date-picker/date-input.d.ts +0 -9
- package/lib/components/file-upload/drop-zone.d.ts +0 -11
- package/lib/components/file-upload/file-card.d.ts +0 -12
- package/lib/components/file-upload/file-preview.d.ts +0 -7
- package/lib/components/file-upload/file-uploader.d.ts +0 -16
- package/lib/components/file-upload/file.d.ts +0 -4
- package/lib/components/file-upload/image.d.ts +0 -7
- package/lib/components/file-upload/single-file-uploader.d.ts +0 -18
- package/lib/components/file-upload/utils.d.ts +0 -4
- package/lib/components/input-otp/input-otp-handler.d.ts +0 -7
- package/lib/components/paginator/page-item.d.ts +0 -10
- package/lib/components/rtl/index.d.ts +0 -1
- package/lib/components/rtl/rtl.d.ts +0 -9
- package/lib/components/table/table-head.d.ts +0 -7
- package/lib/components/tel-input/form-field-custom-control.component.d.ts +0 -9
- package/lib/components/tel-input/index.d.ts +0 -2
- package/lib/components/tel-input/tel-input.component.d.ts +0 -70
- package/lib/components/toast/toast-example.d.ts +0 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScSidebarContent {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScSidebarContent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebarContent, "sc-sidebar-content", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { ScSidebarState } from './sidebar-state';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class ScSidebarMobile {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
private readonly router;
|
|
4
|
+
private readonly sidebarState;
|
|
5
|
+
protected readonly styles: import("@angular/core").WritableSignal<string>;
|
|
6
|
+
readonly side: import("@angular/core").InputSignal<"left" | "right">;
|
|
7
|
+
private readonly openMobile;
|
|
8
|
+
protected readonly state: import("@angular/core").Signal<"open" | "closed">;
|
|
9
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
10
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
11
|
+
constructor();
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSidebarMobile, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebarMobile, "sc-sidebar-mobile", never, { "side": { "alias": "side"; "required": true; "isSignal": true; }; "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebarMobile, "sc-sidebar-mobile", never, { "side": { "alias": "side"; "required": true; "isSignal": true; }; "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
14
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ScButtonBase } from '../button';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ScSidebarToggler {
|
|
4
|
-
sidebarState
|
|
5
|
-
|
|
3
|
+
export declare class ScSidebarToggler extends ScButtonBase {
|
|
4
|
+
private readonly sidebarState;
|
|
5
|
+
readonly variantInput: import("@angular/core").InputSignal<"outline" | "link" | "primary" | "destructive" | "secondary" | "ghost" | null | undefined>;
|
|
6
|
+
readonly sizeInput: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "icon" | null | undefined>;
|
|
7
|
+
protected toggleSidebar(): void;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSidebarToggler, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebarToggler, "sc-sidebar-toggler", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebarToggler, "button[sc-sidebar-toggler]", never, { "variantInput": { "alias": "variantInput"; "required": false; "isSignal": true; }; "sizeInput": { "alias": "sizeInput"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
1
2
|
import { ScSidebarState } from './sidebar-state';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ScSidebar {
|
|
@@ -14,6 +15,9 @@ export declare class ScSidebar {
|
|
|
14
15
|
classes1: import("@angular/core").WritableSignal<string>;
|
|
15
16
|
classes2: import("@angular/core").WritableSignal<string>;
|
|
16
17
|
constructor();
|
|
18
|
+
private readonly scSheetTrigger;
|
|
19
|
+
readonly sheetRef: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
20
|
+
openSheet(side: 'top' | 'bottom' | 'left' | 'right'): void;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSidebar, never>;
|
|
18
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScSidebar, "sc-sidebar", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
23
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScSlider {
|
|
3
3
|
private readonly host;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
max: import("@angular/core").InputSignal<number>;
|
|
4
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
readonly value: import("@angular/core").ModelSignal<number>;
|
|
7
|
+
readonly min: import("@angular/core").InputSignal<number>;
|
|
8
|
+
readonly max: import("@angular/core").InputSignal<number>;
|
|
9
|
+
readonly type: import("@angular/core").InputSignal<"range">;
|
|
11
10
|
constructor();
|
|
12
|
-
handleInput(event: KeyboardEvent): void;
|
|
11
|
+
protected handleInput(event: KeyboardEvent): void;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSlider, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSlider, "input[sc-slider]", never, { "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSlider, "input[sc-slider]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
15
14
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CdkStep } from '@angular/cdk/stepper';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScStep extends CdkStep {
|
|
5
|
+
label: string;
|
|
6
|
+
content: TemplateRef<any>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScStep, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScStep, "sc-step", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CdkStepper } from '@angular/cdk/stepper';
|
|
2
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScStepper extends CdkStepper implements OnInit {
|
|
5
|
+
readonly stepCompleteEvent: import("@angular/core").InputSignal<EventEmitter<void>>;
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
onClick(index: number): void;
|
|
8
|
+
complete(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScStepper, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScStepper, "sc-stepper", never, { "stepCompleteEvent": { "alias": "stepCompleteEvent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,24 +1,14 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ScSwitch
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
constructor();
|
|
15
|
-
toggle(): void;
|
|
16
|
-
writeValue(value: boolean): void;
|
|
17
|
-
onChange: any;
|
|
18
|
-
onTouch: any;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
2
|
+
export declare class ScSwitch {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
readonly idInput: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly id: import("@angular/core").WritableSignal<string>;
|
|
7
|
+
readonly checkedInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
8
|
+
protected readonly checked: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
readonly checkedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
10
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
protected readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
22
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSwitch, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSwitch, "sc-switch", never, { "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSwitch, "input[sc-switch]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "checkedInput": { "alias": "checked"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], true, never>;
|
|
24
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * from './table';
|
|
2
2
|
export * from './table-container';
|
|
3
|
-
export * from './table-header';
|
|
3
|
+
export * from './table-header-group';
|
|
4
4
|
export * from './table-body';
|
|
5
5
|
export * from './table-footer';
|
|
6
|
-
export * from './table-
|
|
6
|
+
export * from './table-header';
|
|
7
7
|
export * from './table-row';
|
|
8
8
|
export * from './table-cell';
|
|
9
9
|
export * from './table-caption';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTableHeaderGroup {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTableHeaderGroup, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScTableHeaderGroup, "thead[sc-table-header-group]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@ export declare class ScTableHeader {
|
|
|
3
3
|
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
4
|
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScTableHeader, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScTableHeader, "
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScTableHeader, "th[sc-table-header]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './table-of-contents';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ScSection {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
element: HTMLElement;
|
|
7
|
+
}
|
|
8
|
+
export declare class ScTableOfContents implements AfterViewInit, OnDestroy {
|
|
9
|
+
private readonly elementRef;
|
|
10
|
+
sections: import("@angular/core").WritableSignal<ScSection[]>;
|
|
11
|
+
activeSection: import("@angular/core").WritableSignal<string>;
|
|
12
|
+
private observer;
|
|
13
|
+
constructor(elementRef: ElementRef);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
private initializeToc;
|
|
17
|
+
private setupIntersectionObserver;
|
|
18
|
+
scrollToSection(event: Event, sectionId: string): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTableOfContents, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScTableOfContents, "sc-table-of-contents", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ScTimePicker2 implements OnInit {
|
|
4
4
|
readonly initialTime: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
-
timeSelected:
|
|
5
|
+
readonly timeSelected: import("@angular/core").OutputEmitterRef<string>;
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
hours: number[];
|
|
8
8
|
minutes: number[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScToastAction {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastAction, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastAction, "button[sc-toast-action]", never, { "
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastAction, "button[sc-toast-action]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScToastClose {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
private readonly toastService;
|
|
4
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
protected close(): void;
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastClose, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastClose, "button[sc-toast-close]", never, { "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastClose, "button[sc-toast-close]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
9
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScToastContainer {
|
|
4
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
5
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
6
|
+
readonly templateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
7
|
+
protected readonly injector: Injector;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastContainer, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastContainer, "sc-toast-container", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "templateRef": { "alias": "templateRef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScToastContent {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastContent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastContent, "div[sc-toast-content]", never, { "
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastContent, "div[sc-toast-content]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScToastDescription {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastDescription, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastDescription, "p[sc-toast-description]", never, { "
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastDescription, "p[sc-toast-description]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScToastTitle {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToastTitle, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastTitle, "h2[sc-toast-title]", never, { "
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToastTitle, "h2[sc-toast-title]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ToastState } from './toast.service';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ScToast {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare class ScToast implements OnInit {
|
|
5
|
+
private readonly toaster;
|
|
6
|
+
private readonly toastService;
|
|
7
|
+
private readonly toastId;
|
|
8
|
+
readonly variant: import("@angular/core").InputSignal<"default" | "destructive" | null | undefined>;
|
|
9
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
10
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
11
|
+
protected readonly state: import("@angular/core").Signal<ToastState | undefined>;
|
|
12
|
+
protected readonly swipe: import("@angular/core").WritableSignal<"start" | "end" | "cancel" | "move" | undefined>;
|
|
13
|
+
private readonly animationState;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
protected animationend(): void;
|
|
6
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScToast, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScToast, "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToast, "div[sc-toast]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
19
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type ToastState = 'open' | 'closed';
|
|
3
|
+
export declare class ToastService {
|
|
4
|
+
private readonly stateSource;
|
|
5
|
+
currentState: import("rxjs").Observable<ToastState>;
|
|
6
|
+
updateState(newState: ToastState): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class Toaster {
|
|
4
|
-
private
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
private readonly toastRefs;
|
|
5
|
+
private readonly maxToasts;
|
|
6
|
+
private readonly overlay;
|
|
7
|
+
private readonly idGenerator;
|
|
8
|
+
private readonly injector;
|
|
9
|
+
/**
|
|
10
|
+
* Show a toast notification
|
|
11
|
+
* @returns The ID of the created toast
|
|
12
|
+
*/
|
|
13
|
+
show(toastTemplate: TemplateRef<unknown>): string;
|
|
14
|
+
/**
|
|
15
|
+
* Remove a specific toast by ID
|
|
16
|
+
*/
|
|
17
|
+
remove(id: string): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Remove all currently displayed toasts
|
|
20
|
+
*/
|
|
21
|
+
clear(): void;
|
|
22
|
+
private createToast;
|
|
23
|
+
private closeToast;
|
|
24
|
+
private updateToastPositions;
|
|
25
|
+
private createInjector;
|
|
8
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<Toaster, never>;
|
|
9
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<Toaster>;
|
|
10
28
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toggle-switch';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScToggleSwitch {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScToggleSwitch, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScToggleSwitch, "button[sc-toggle-switch]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './touch-area';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScTouchArea {
|
|
3
|
+
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
+
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScTouchArea, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScTouchArea, "span[sc-touch-area]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semantic-components/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"rxjs": "~7.8.1",
|
|
46
46
|
"@semantic-icons/lucide-icons": ">=0.0.1",
|
|
47
47
|
"@semantic-components/utils": ">=0.0.1",
|
|
48
|
-
"@semantic-components/supabase": ">=0.0.1",
|
|
49
48
|
"@angular/platform-browser": ">=19.0.0",
|
|
50
|
-
"shiki": "
|
|
51
|
-
"@angular/router": ">=19.0.0"
|
|
49
|
+
"shiki": ">=3.0.0",
|
|
50
|
+
"@angular/router": ">=19.0.0",
|
|
51
|
+
"@js-temporal/polyfill": ">=0.4.4"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"repository": {
|
package/styles/shiki-styles.css
CHANGED