@semantic-components/ui 0.37.0 → 0.39.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 +6976 -3480
- package/fesm2022/semantic-components-ui.mjs.map +1 -1
- package/index.d.ts +13 -4
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/lib/components/calendar/calendar-header.d.ts +18 -0
- package/lib/components/calendar/calendar-utils.d.ts +6 -0
- package/lib/components/calendar/calendar.d.ts +37 -27
- package/lib/components/calendar/calendar.service.d.ts +7 -0
- package/lib/components/calendar/day-button.d.ts +9 -0
- package/lib/components/calendar/day-selector.d.ts +18 -0
- package/lib/components/calendar/month-selector.d.ts +15 -0
- package/lib/components/calendar/types.d.ts +7 -0
- package/lib/components/calendar/utils.d.ts +6 -0
- package/lib/components/calendar/year-selector.d.ts +17 -0
- 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/checkbox2.d.ts +6 -19
- 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/shiki.service.d.ts +4 -0
- package/lib/components/color-picker/color-picker.d.ts +2 -2
- package/lib/components/combobox/combobox.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/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 +2 -0
- 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/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/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/flexible-scroll-area.component.d.ts +33 -0
- package/lib/components/scroll-area/horizontal-scroll-area.component.d.ts +34 -0
- package/lib/components/scroll-area/hover-scrollbar.component.d.ts +14 -0
- package/lib/components/scroll-area/index.d.ts +4 -0
- package/lib/components/scroll-area/scroll-area.component.d.ts +24 -0
- package/lib/components/scroll-area/scroll-area.d.ts +4 -4
- package/lib/components/scroll-spy/scroll-spy.d.ts +4 -4
- 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 +2 -1
- 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 +1 -11
- 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/package.json +4 -4
- package/styles/all-styles.css +159 -0
- package/styles/shiki-styles.css +1 -1
- package/styles/typography-styles.css +304 -0
- 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/rtl/index.d.ts +0 -1
- package/lib/components/rtl/rtl.d.ts +0 -9
- package/lib/components/tab-group/index.d.ts +0 -4
- package/lib/components/tab-group/tab-content.d.ts +0 -7
- package/lib/components/tab-group/tab-group.d.ts +0 -11
- package/lib/components/tab-group/tab-item.d.ts +0 -5
- package/lib/components/tab-group/tab-label.d.ts +0 -7
- 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
- package/styles/styles.css +0 -2
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ScTabLabel2 {
|
|
4
|
-
readonly template: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScTabLabel2, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScTabLabel2, "sc-tab-label2", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ScTableHead {
|
|
3
|
-
readonly classInput: import("@angular/core").InputSignal<string>;
|
|
4
|
-
protected readonly class: import("@angular/core").Signal<string>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScTableHead, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScTableHead, "th[sc-table-head]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormFieldCustomControlComponent {
|
|
4
|
-
readonly form: FormGroup<{
|
|
5
|
-
tel: FormControl<null>;
|
|
6
|
-
}>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldCustomControlComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldCustomControlComponent, "sc-form-field-custom-control", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { DoCheck, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormControl, FormGroup, NgControl } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** Data structure for holding telephone number. */
|
|
6
|
-
export declare class TelModel {
|
|
7
|
-
area: string;
|
|
8
|
-
exchange: string;
|
|
9
|
-
subscriber: string;
|
|
10
|
-
constructor(area: string, exchange: string, subscriber: string);
|
|
11
|
-
}
|
|
12
|
-
export declare class TelInputComponent implements ControlValueAccessor, DoCheck, OnDestroy {
|
|
13
|
-
private readonly _parentForm;
|
|
14
|
-
private readonly _parentFormGroup;
|
|
15
|
-
static nextId: number;
|
|
16
|
-
readonly areaInput: import("@angular/core").Signal<HTMLInputElement>;
|
|
17
|
-
readonly exchangeInput: import("@angular/core").Signal<HTMLInputElement>;
|
|
18
|
-
readonly subscriberInput: import("@angular/core").Signal<HTMLInputElement>;
|
|
19
|
-
ngControl: NgControl | null;
|
|
20
|
-
readonly parts: FormGroup<{
|
|
21
|
-
area: FormControl<string | null>;
|
|
22
|
-
exchange: FormControl<string | null>;
|
|
23
|
-
subscriber: FormControl<string | null>;
|
|
24
|
-
}>;
|
|
25
|
-
readonly stateChanges: Subject<void>;
|
|
26
|
-
readonly touched: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
readonly controlType = "sma-tel-input";
|
|
28
|
-
readonly id: string;
|
|
29
|
-
readonly _userAriaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
30
|
-
readonly _placeholder: import("@angular/core").InputSignal<string>;
|
|
31
|
-
readonly _required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
|
-
readonly _disabledByInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
|
-
readonly _value: import("@angular/core").ModelSignal<TelModel | null>;
|
|
34
|
-
onChange: (_: any) => void;
|
|
35
|
-
onTouched: () => void;
|
|
36
|
-
getLabelId(): string;
|
|
37
|
-
private readonly _focused;
|
|
38
|
-
private readonly disabledByCva;
|
|
39
|
-
private readonly _disabled;
|
|
40
|
-
private readonly _focusMonitor;
|
|
41
|
-
private readonly _elementRef;
|
|
42
|
-
get focused(): boolean;
|
|
43
|
-
get empty(): boolean;
|
|
44
|
-
get userAriaDescribedBy(): string;
|
|
45
|
-
get placeholder(): string;
|
|
46
|
-
get required(): boolean;
|
|
47
|
-
get disabled(): boolean;
|
|
48
|
-
get value(): TelModel | null;
|
|
49
|
-
get errorState(): boolean;
|
|
50
|
-
constructor();
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
onFocusIn(): void;
|
|
53
|
-
onFocusOut(event: FocusEvent): void;
|
|
54
|
-
autoFocusNext(control: AbstractControl, nextElement?: HTMLInputElement): void;
|
|
55
|
-
autoFocusPrev(control: AbstractControl, prevElement: HTMLInputElement): void;
|
|
56
|
-
setDescribedByIds(ids: string[]): void;
|
|
57
|
-
onContainerClick(): void;
|
|
58
|
-
writeValue(tel: TelModel | null): void;
|
|
59
|
-
registerOnChange(fn: any): void;
|
|
60
|
-
registerOnTouched(fn: any): void;
|
|
61
|
-
setDisabledState(isDisabled: boolean): void;
|
|
62
|
-
_handleInput(control: AbstractControl, nextElement?: HTMLInputElement): void;
|
|
63
|
-
private _updateValue;
|
|
64
|
-
/** Whether the component is in an error state. */
|
|
65
|
-
_errorState: boolean | undefined;
|
|
66
|
-
ngDoCheck(): void;
|
|
67
|
-
private updateErrorState;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TelInputComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TelInputComponent, "sc-tel-input", never, { "_userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "_placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "_required": { "alias": "required"; "required": false; "isSignal": true; }; "_disabledByInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "_value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "_value": "valueChange"; }, never, never, true, never>;
|
|
70
|
-
}
|
package/styles/styles.css
DELETED