@semantic-components/ui 0.51.0 → 0.53.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/index.d.ts CHANGED
@@ -35,7 +35,6 @@ export * from './lib/components/scroll-area';
35
35
  export * from './lib/components/card';
36
36
  export * from './lib/components/toast';
37
37
  export * from './lib/components/slider';
38
- export * from './lib/components/carousel';
39
38
  export * from './lib/components/checkbox';
40
39
  export * from './lib/components/checkbox-group';
41
40
  export * from './lib/components/accordion';
@@ -65,7 +64,6 @@ export * from './lib/components/comments';
65
64
  export * from './lib/components/tags';
66
65
  export * from './lib/components/combobox';
67
66
  export * from './lib/components/clock-picker';
68
- export * from './lib/components/code-highlighter';
69
67
  export * from './lib/components/image-placeholder';
70
68
  export * from './lib/components/fieldset';
71
69
  export * from './lib/components/touch-area';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semantic-components/ui",
3
- "version": "0.51.0",
3
+ "version": "0.53.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,12 +13,9 @@
13
13
  "@angular/cdk": ">=19.0.0",
14
14
  "@angular/forms": ">=19.0.0",
15
15
  "class-variance-authority": "^0.7.1",
16
- "embla-carousel": "^8.5.1",
17
16
  "rxjs": "~7.8.1",
18
17
  "@semantic-icons/lucide-icons": ">=0.0.1",
19
- "@semantic-components/utils": "0.40.0",
20
- "@angular/platform-browser": ">=19.0.0",
21
- "shiki": ">=3.0.0",
18
+ "@semantic-components/utils": "0.42.0",
22
19
  "@angular/router": ">=19.0.0",
23
20
  "@js-temporal/polyfill": ">=0.4.4"
24
21
  },
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScCarouselContainer {
3
- readonly classInput: import("@angular/core").InputSignal<string>;
4
- protected readonly class: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarouselContainer, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarouselContainer, "div[sc-carousel-container]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScCarouselItem {
3
- private readonly scCarousel;
4
- readonly classInput: import("@angular/core").InputSignal<string>;
5
- protected readonly class: import("@angular/core").Signal<string>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarouselItem, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarouselItem, "div[sc-carousel-item]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScCarouselItems {
3
- private readonly scCarousel;
4
- readonly classInput: import("@angular/core").InputSignal<string>;
5
- protected readonly class: import("@angular/core").Signal<string>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarouselItems, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarouselItems, "div[sc-carousel-items]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
- }
@@ -1,12 +0,0 @@
1
- import { ScButtonBase } from '../button';
2
- import * as i0 from "@angular/core";
3
- export declare class ScCarouselNext extends ScButtonBase {
4
- private readonly scCarousel;
5
- readonly variantInput: import("@angular/core").InputSignal<"primary" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined>;
6
- readonly sizeInput: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "icon" | null | undefined>;
7
- protected readonly class: import("@angular/core").Signal<string>;
8
- protected readonly disabled: import("@angular/core").WritableSignal<boolean>;
9
- protected scrollNext(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarouselNext, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarouselNext, "button[sc-carousel-next]", never, { "variantInput": { "alias": "variantInput"; "required": false; "isSignal": true; }; "sizeInput": { "alias": "sizeInput"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,12 +0,0 @@
1
- import { ScButtonBase } from '../button';
2
- import * as i0 from "@angular/core";
3
- export declare class ScCarouselPrevious extends ScButtonBase {
4
- private readonly scCarousel;
5
- readonly variantInput: import("@angular/core").InputSignal<"primary" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined>;
6
- readonly sizeInput: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "icon" | null | undefined>;
7
- protected readonly class: import("@angular/core").Signal<string>;
8
- protected readonly disabled: import("@angular/core").WritableSignal<boolean>;
9
- protected scrollPrev(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarouselPrevious, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarouselPrevious, "button[sc-carousel-previous]", never, { "variantInput": { "alias": "variantInput"; "required": false; "isSignal": true; }; "sizeInput": { "alias": "sizeInput"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,24 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { EmblaCarouselType } from 'embla-carousel';
3
- import * as i0 from "@angular/core";
4
- export declare class ScCarousel implements OnDestroy {
5
- private readonly host;
6
- readonly classInput: import("@angular/core").InputSignal<string>;
7
- protected readonly class: import("@angular/core").Signal<string>;
8
- readonly orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
9
- readonly optionsInput: import("@angular/core").InputSignal<Partial<import("embla-carousel/components/Options").OptionsType>>;
10
- readonly options: import("@angular/core").Signal<Partial<import("embla-carousel/components/Options").OptionsType>>;
11
- readonly plugins: import("@angular/core").InputSignal<import("embla-carousel").CreatePluginType<import("embla-carousel/components/Plugins").LoosePluginType, {}>[]>;
12
- readonly canScrollPrev: import("@angular/core").WritableSignal<boolean>;
13
- readonly canScrollNext: import("@angular/core").WritableSignal<boolean>;
14
- private emblaApi;
15
- get api(): EmblaCarouselType;
16
- constructor();
17
- togglePrevNextBtnsState: () => void;
18
- handleKeydown(event: KeyboardEvent): void;
19
- private scrollPrev;
20
- private scrollNext;
21
- ngOnDestroy(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCarousel, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCarousel, "div[sc-carousel]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "plugins": { "alias": "plugins"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
24
- }
@@ -1,6 +0,0 @@
1
- export * from './carousel';
2
- export * from './carousel-container';
3
- export * from './carousel-items';
4
- export * from './carousel-item';
5
- export * from './carousel-previous';
6
- export * from './carousel-next';
@@ -1,17 +0,0 @@
1
- import { SafeHtml } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- export declare class ScCodeHighlighter {
4
- private readonly themeService;
5
- private readonly shikiService;
6
- private readonly sanitizer;
7
- readonly classInput: import("@angular/core").InputSignal<string>;
8
- protected readonly class: import("@angular/core").Signal<string>;
9
- readonly code: import("@angular/core").InputSignal<string>;
10
- readonly language: import("@angular/core").InputSignal<"angular-ts" | "angular-html" | "shellscript">;
11
- readonly themeInput: import("@angular/core").InputSignal<"github-light" | "github-dark" | undefined>;
12
- readonly theme: import("@angular/core").Signal<"github-light" | "github-dark">;
13
- protected readonly highlightedCode: import("@angular/core").WritableSignal<SafeHtml>;
14
- constructor();
15
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCodeHighlighter, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCodeHighlighter, "sc-code-highlighter", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "code": { "alias": "code"; "required": true; "isSignal": true; }; "language": { "alias": "language"; "required": true; "isSignal": true; }; "themeInput": { "alias": "theme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
- }
@@ -1 +0,0 @@
1
- export * from './code-highlighter';
@@ -1,10 +0,0 @@
1
- import { Highlighter } from 'shiki';
2
- import { LangType, ThemeType } from './types';
3
- import * as i0 from "@angular/core";
4
- export declare class ShikiService {
5
- private highlighter;
6
- initializeHighlighter(): Promise<Highlighter>;
7
- highlightCode(code: string, language: LangType, theme: ThemeType): Promise<string>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ShikiService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<ShikiService>;
10
- }
@@ -1,4 +0,0 @@
1
- export declare const themesArray: readonly ["github-light", "github-dark"];
2
- export type ThemeType = (typeof themesArray)[number];
3
- export declare const langsArray: readonly ["angular-ts", "angular-html", "shellscript"];
4
- export type LangType = (typeof langsArray)[number];