@semantic-components/ui 0.12.0 → 0.13.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.
Files changed (70) hide show
  1. package/fesm2022/semantic-components-ui.mjs +1885 -778
  2. package/fesm2022/semantic-components-ui.mjs.map +1 -1
  3. package/index.d.ts +8 -1
  4. package/lib/components/autocomplete/autocomplete-item.d.ts +2 -2
  5. package/lib/components/button/button.d.ts +6 -5
  6. package/lib/components/checkbox/checkbox.d.ts +1 -1
  7. package/lib/components/cookie-consent/cookie-consent.d.ts +10 -0
  8. package/lib/components/cookie-consent/index.d.ts +1 -0
  9. package/lib/components/editor/actions/editor-redo.d.ts +12 -0
  10. package/lib/components/editor/actions/editor-text-align-center.d.ts +12 -0
  11. package/lib/components/editor/actions/editor-text-align-left.d.ts +12 -0
  12. package/lib/components/editor/actions/editor-text-align-right.d.ts +12 -0
  13. package/lib/components/editor/actions/editor-undo.d.ts +12 -0
  14. package/lib/components/editor/actions/editor-unset-link.d.ts +14 -0
  15. package/lib/components/editor/editor-group.d.ts +7 -0
  16. package/lib/components/editor/editor-toolbar.d.ts +7 -0
  17. package/lib/components/editor/extensions/extension-link.d.ts +0 -1
  18. package/lib/components/editor/extensions/extensions.d.ts +10 -3
  19. package/lib/components/file-upload/drop-zone.d.ts +11 -0
  20. package/lib/components/file-upload/file-card.d.ts +12 -0
  21. package/lib/components/file-upload/file-preview.d.ts +7 -0
  22. package/lib/components/file-upload/file-upload.d.ts +9 -0
  23. package/lib/components/file-upload/file-uploader.d.ts +16 -0
  24. package/lib/components/file-upload/file.d.ts +4 -0
  25. package/lib/components/file-upload/image.d.ts +7 -0
  26. package/lib/components/file-upload/index.d.ts +3 -0
  27. package/lib/components/file-upload/single-file-uploader.d.ts +18 -0
  28. package/lib/components/file-upload/utils.d.ts +4 -0
  29. package/lib/components/input/input.d.ts +3 -3
  30. package/lib/components/menu/menu-checkbox-item.d.ts +1 -1
  31. package/lib/components/menu/menu-group.d.ts +2 -2
  32. package/lib/components/page/index.d.ts +4 -0
  33. package/lib/components/page/page-description.d.ts +7 -0
  34. package/lib/components/page/page-subtitle.d.ts +7 -0
  35. package/lib/components/page/page-title.d.ts +7 -0
  36. package/lib/components/page/section.d.ts +5 -0
  37. package/lib/components/popover/popover-trigger-for.d.ts +3 -3
  38. package/lib/components/radio-group/radio-item.d.ts +15 -17
  39. package/lib/components/scroll-area/scroll-area.d.ts +4 -6
  40. package/lib/components/select/option.d.ts +23 -3
  41. package/lib/components/select/select-state.d.ts +7 -0
  42. package/lib/components/select/select.d.ts +22 -7
  43. package/lib/components/separator/index.d.ts +1 -0
  44. package/lib/components/separator/separator.d.ts +8 -0
  45. package/lib/components/slider/slider.d.ts +1 -1
  46. package/lib/components/tab-group/index.d.ts +4 -0
  47. package/lib/components/tab-group/tab-content.d.ts +7 -0
  48. package/lib/components/tab-group/tab-group.d.ts +11 -0
  49. package/lib/components/tab-group/tab-item.d.ts +5 -0
  50. package/lib/components/tab-group/tab-label.d.ts +7 -0
  51. package/lib/components/time-picker/time-picker.d.ts +5 -1
  52. package/lib/components/toggle-group/index.d.ts +2 -0
  53. package/lib/components/toggle-group/toggle-group-item.d.ts +5 -0
  54. package/lib/components/toggle-group/toggle-group.d.ts +8 -0
  55. package/lib/components/typography/blockquote.d.ts +5 -0
  56. package/lib/components/typography/heading.d.ts +4 -4
  57. package/lib/components/typography/index.d.ts +1 -0
  58. package/lib/utils/index.d.ts +0 -1
  59. package/lib/utils/settings.d.ts +1 -0
  60. package/package.json +5 -6
  61. package/lib/components/editor/extensions/extension-history.d.ts +0 -14
  62. package/lib/components/editor/extensions/extension-text-align.d.ts +0 -16
  63. package/lib/components/editor/toolbar/extensions-group.d.ts +0 -5
  64. package/lib/components/editor/toolbar/extensions-separator.d.ts +0 -7
  65. package/lib/components/select/listbox-option.d.ts +0 -8
  66. package/lib/components/select/listbox.d.ts +0 -7
  67. package/lib/utils/css.d.ts +0 -2
  68. /package/lib/components/{menubar → menu-bar}/index.d.ts +0 -0
  69. /package/lib/components/{menubar → menu-bar}/menu-bar-item.d.ts +0 -0
  70. /package/lib/components/{menubar → menu-bar}/menu-bar.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class ScSlider {
3
- private host;
3
+ private readonly host;
4
4
  class: import("@angular/core").InputSignal<string>;
5
5
  trackClass: import("@angular/core").WritableSignal<string>;
6
6
  thumbClass: import("@angular/core").WritableSignal<string>;
@@ -0,0 +1,4 @@
1
+ export * from './tab-group';
2
+ export * from './tab-item';
3
+ export * from './tab-label';
4
+ export * from './tab-content';
@@ -0,0 +1,7 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ScTabContent2 {
4
+ readonly template: import("@angular/core").Signal<TemplateRef<unknown>>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScTabContent2, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScTabContent2, "sc-tab-content2", never, {}, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { ScTabContent2 } from './tab-content';
3
+ import { ScTabLabel2 } from './tab-label';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ScTabGroup implements AfterViewInit {
6
+ readonly tabLabels: import("@angular/core").Signal<readonly ScTabLabel2[]>;
7
+ readonly tabContents: import("@angular/core").Signal<readonly ScTabContent2[]>;
8
+ ngAfterViewInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScTabGroup, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScTabGroup, "sc-tab-group", never, {}, {}, ["tabLabels", "tabContents"], ["*"], true, never>;
11
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScTabItem {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScTabItem, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScTabItem, "sc-tab-item", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,7 @@
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,4 +1,5 @@
1
1
  import { InputSignal, OnDestroy, OutputEmitterRef, Signal, TemplateRef } from '@angular/core';
2
+ import { ScSettings } from '../../utils';
2
3
  import { ScTimeOption } from './time-option';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -15,6 +16,9 @@ export interface MatTimepickerSelected<D> {
15
16
  value: D;
16
17
  }
17
18
  export declare class ScTimePicker implements OnDestroy {
19
+ settings: ScSettings;
20
+ clock: InputSignal<"am-pm" | "24-hour" | undefined>;
21
+ _clock: Signal<"am-pm" | "24-hour" | undefined>;
18
22
  class: InputSignal<string>;
19
23
  classes: Signal<string>;
20
24
  private readonly _overlay;
@@ -93,5 +97,5 @@ export declare class ScTimePicker implements OnDestroy {
93
97
  */
94
98
  private _handleInputStateChanges;
95
99
  static ɵfac: i0.ɵɵFactoryDeclaration<ScTimePicker, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<ScTimePicker, "sc-time-picker", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScTimePicker, "sc-time-picker", never, { "clock": { "alias": "clock"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
97
101
  }
@@ -0,0 +1,2 @@
1
+ export * from './toggle-group';
2
+ export * from './toggle-group-item';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToggleGroupItem {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToggleGroupItem, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToggleGroupItem, "sc-toggle-group-item", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToggleGroup {
3
+ type: import("@angular/core").InputSignal<"single" | "multiple">;
4
+ class: import("@angular/core").InputSignal<string>;
5
+ _class: import("@angular/core").Signal<string>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToggleGroup, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToggleGroup, "sc-toggle-group", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScBlockquote {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScBlockquote, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScBlockquote, "blockquote[sc-blockquote]", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class ScHeading {
3
- level: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null | undefined>;
4
- class: import("@angular/core").InputSignal<string>;
5
- classes: import("@angular/core").Signal<string>;
3
+ readonly level: import("@angular/core").InputSignal<"1" | "2" | "3" | "4" | "5" | "6" | null | undefined>;
4
+ readonly classInput: import("@angular/core").InputSignal<string>;
5
+ protected readonly class: import("@angular/core").Signal<string>;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ScHeading, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ScHeading, "h1[sc-heading], h2[sc-heading], h3[sc-heading], h4[sc-heading], h5[sc-heading], h6[sc-heading]", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScHeading, "h1[sc-heading], h2[sc-heading], h3[sc-heading], h4[sc-heading], h5[sc-heading], h6[sc-heading]", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
8
  }
@@ -1,2 +1,3 @@
1
1
  export * from './heading';
2
2
  export * from './article';
3
+ export * from './blockquote';
@@ -1,2 +1 @@
1
- export * from './css';
2
1
  export * from './settings';
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class ScSettings {
3
+ clock: import("@angular/core").WritableSignal<"am-pm" | "24-hour">;
3
4
  dateFormatPattern: import("@angular/core").WritableSignal<string>;
4
5
  private readonly localeId;
5
6
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semantic-components/ui",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,7 +11,7 @@
11
11
  "@angular/cdk": ">=19.0.0",
12
12
  "@angular/forms": ">=19.0.0",
13
13
  "@tiptap/core": "^2.10.3",
14
- "@semantic-icons/lucide-icons": "^0.9.0",
14
+ "@semantic-icons/lucide-icons": ">=0.10.0",
15
15
  "@tiptap/extension-blockquote": "^2.10.3",
16
16
  "@tiptap/extension-bold": "^2.10.3",
17
17
  "@tiptap/extension-bullet-list": "^2.10.3",
@@ -40,11 +40,10 @@
40
40
  "@tiptap/extension-table-cell": "^2.10.3",
41
41
  "@tiptap/extension-table": "^2.10.3",
42
42
  "class-variance-authority": "^0.7.1",
43
- "clsx": "^2.1.1",
44
- "tailwind-merge": "^2.5.2",
45
- "ngx-scrollbar": "^16.1.1",
46
43
  "embla-carousel": "^8.5.1",
47
- "rxjs": "~7.8.1"
44
+ "rxjs": "~7.8.1",
45
+ "@semantic-components/utils": "0.1.0",
46
+ "@semantic-components/supabase": ">=0.0.1"
48
47
  },
49
48
  "sideEffects": false,
50
49
  "repository": {
@@ -1,14 +0,0 @@
1
- import { ScExtensions } from './extensions';
2
- import * as i0 from "@angular/core";
3
- export declare class ScExtensionHistory {
4
- ariaLabel1: string;
5
- ariaLabel2: string;
6
- private readonly parent;
7
- extensions: ScExtensions;
8
- constructor();
9
- get editor(): import("@tiptap/core").Editor;
10
- undo(): void;
11
- redo(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionHistory, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionHistory, "sc-extension-history", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,16 +0,0 @@
1
- import { ScExtensions } from './extensions';
2
- import * as i0 from "@angular/core";
3
- export declare class ScExtensionTextAlignAction {
4
- ariaLabel1: string;
5
- ariaLabel2: string;
6
- ariaLabel3: string;
7
- private readonly parent;
8
- extensions: ScExtensions;
9
- constructor();
10
- get editor(): import("@tiptap/core").Editor;
11
- setLeftAlign(): void;
12
- setCenterAlign(): void;
13
- setRightAlign(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionTextAlignAction, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionTextAlignAction, "sc-extension-text-align", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScExtensionsGroup {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionsGroup, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionsGroup, "sc-extensions-group", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScExtensionsSeparator {
3
- class: import("@angular/core").InputSignal<string>;
4
- classes: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionsSeparator, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionsSeparator, "sc-extensions-separator", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScListboxOption {
3
- class: import("@angular/core").InputSignal<string>;
4
- classes: import("@angular/core").Signal<string>;
5
- isSelected: import("@angular/core").InputSignal<boolean>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ScListboxOption, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ScListboxOption, "li[sc-listbox-option]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScListbox {
3
- class: import("@angular/core").InputSignal<string>;
4
- classes: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScListbox, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScListbox, "ul[sc-listbox]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
- }
@@ -1,2 +0,0 @@
1
- import { type ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
File without changes