@breadstone/mosaik-elements-angular 0.1.37 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-angular",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "description": "Mosaik elements for Angular.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -12,8 +12,8 @@
12
12
  "url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
13
13
  },
14
14
  "dependencies": {
15
- "@breadstone/mosaik-elements": "0.1.37",
16
- "@breadstone/mosaik-elements-foundation": "0.1.37",
15
+ "@breadstone/mosaik-elements": "0.1.39",
16
+ "@breadstone/mosaik-elements-foundation": "0.1.39",
17
17
  "tslib": "2.8.1"
18
18
  },
19
19
  "peerDependencies": {
@@ -12102,6 +12102,7 @@ declare const COLOR_SWATCH_DEFAULT_PROPS: InjectionToken<Partial<libs_mosaik_ele
12102
12102
  /**
12103
12103
  * @public
12104
12104
  *
12105
+ * @slot checkmark - The checkmark slot.
12105
12106
  * @slot style - Custom styles injection slot for shadow DOM styling escape hatch
12106
12107
  */
12107
12108
  declare class ColorSwatchComponent {
@@ -12128,6 +12129,30 @@ declare class ColorSwatchComponent {
12128
12129
  * @public
12129
12130
  */
12130
12131
  readonly themeName: InputSignal<ColorSwatchElement['themeName'] | undefined>;
12132
+ /**
12133
+ * Signal input for the `isChecked` property.
12134
+ *
12135
+ * @public
12136
+ */
12137
+ readonly isChecked: InputSignal<ColorSwatchElement['isChecked'] | undefined>;
12138
+ /**
12139
+ * Signal input for the `disabled` property.
12140
+ *
12141
+ * @public
12142
+ */
12143
+ readonly disabled: InputSignal<ColorSwatchElement['disabled'] | undefined>;
12144
+ /**
12145
+ * Signal input for the `variant` property.
12146
+ *
12147
+ * @public
12148
+ */
12149
+ readonly variant: InputSignal<ColorSwatchElement['variant'] | undefined>;
12150
+ /**
12151
+ * Signal input for the `appearance` property.
12152
+ *
12153
+ * @public
12154
+ */
12155
+ readonly appearance: InputSignal<ColorSwatchElement['appearance'] | undefined>;
12131
12156
  /**
12132
12157
  * Signal input for the `value` property.
12133
12158
  *
@@ -12160,6 +12185,24 @@ declare class ColorSwatchComponent {
12160
12185
  * @private
12161
12186
  */
12162
12187
  private initInputSyncEffect;
12188
+ /**
12189
+ * Output signal for the `toggled` event.
12190
+ *
12191
+ * @public
12192
+ */
12193
+ readonly toggled: OutputEmitterRef<unknown>;
12194
+ /**
12195
+ * Output signal for the `checked` event.
12196
+ *
12197
+ * @public
12198
+ */
12199
+ readonly checked: OutputEmitterRef<unknown>;
12200
+ /**
12201
+ * Output signal for the `unchecked` event.
12202
+ *
12203
+ * @public
12204
+ */
12205
+ readonly unchecked: OutputEmitterRef<unknown>;
12163
12206
  /**
12164
12207
  * Output signal for the `connected` event.
12165
12208
  *
@@ -12178,6 +12221,15 @@ declare class ColorSwatchComponent {
12178
12221
  * @public
12179
12222
  */
12180
12223
  readonly changed: OutputEmitterRef<unknown>;
12224
+ /**
12225
+ * Invokes a method on the underlying native element.
12226
+ *
12227
+ * @public
12228
+ * @param method - The method name to invoke.
12229
+ * @param args - The arguments to pass to the method.
12230
+ * @returns The return value of the method.
12231
+ */
12232
+ invoke<TMethod extends ColorSwatchMethodNames>(method: TMethod, ...args: Parameters<ColorSwatchComponentMethods[TMethod]>): ReturnType<ColorSwatchComponentMethods[TMethod]>;
12181
12233
  /**
12182
12234
  * Sets a property value on the underlying native element.
12183
12235
  * This is useful for CDK behaviors and directives that need to modify element properties
@@ -12189,12 +12241,12 @@ declare class ColorSwatchComponent {
12189
12241
  */
12190
12242
  setInput<TProperty extends keyof ColorSwatchElement>(property: TProperty, value: ColorSwatchElement[TProperty]): void;
12191
12243
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorSwatchComponent, never>;
12192
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorSwatchComponent, "mosaik-color-swatch", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "hasBackground": { "alias": "hasBackground"; "required": false; "isSignal": true; }; "themeName": { "alias": "themeName"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "lang": { "alias": "lang"; "required": false; "isSignal": true; }; }, { "connected": "connected"; "disconnected": "disconnected"; "changed": "changed"; }, never, ["*"], true, never>;
12244
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorSwatchComponent, "mosaik-color-swatch", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "hasBackground": { "alias": "hasBackground"; "required": false; "isSignal": true; }; "themeName": { "alias": "themeName"; "required": false; "isSignal": true; }; "isChecked": { "alias": "isChecked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "lang": { "alias": "lang"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; "checked": "checked"; "unchecked": "unchecked"; "connected": "connected"; "disconnected": "disconnected"; "changed": "changed"; }, never, ["*"], true, never>;
12193
12245
  }
12194
12246
  /**
12195
12247
  * Declares the methods available on ColorSwatchComponent.
12196
12248
  */
12197
- type ColorSwatchMethodNames = never;
12249
+ type ColorSwatchMethodNames = 'check' | 'uncheck' | 'toggle';
12198
12250
  /**
12199
12251
  * Declares the methods interface for ColorSwatchComponent.
12200
12252
  */