@smartsoft001/claude-plugins 2.171.0 → 2.173.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/claude-plugins",
3
- "version": "2.171.0",
3
+ "version": "2.173.0",
4
4
  "description": "Installs the smart@smartsoft Claude Code plugin into a project: the agents, skills and hooks this workspace develops with.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "smart",
3
3
  "description": "Smartsoft integration - safety validation, audit logging, and auto-formatting hooks",
4
- "version": "2.170.0"
4
+ "version": "2.172.0"
5
5
  }
@@ -37,13 +37,13 @@ Abstract base directive for extending custom dropdown implementations.
37
37
 
38
38
  ### Inputs
39
39
 
40
- | Input | Type | Default | Description |
41
- | -------------- | ------------------------------- | ----------- | --------------------------------------------- |
42
- | `items` | `InputSignal<IDropdownItem[]>` | `[]` | Menu items |
43
- | `triggerLabel` | `InputSignal<string>` | `undefined` | Default text rendered inside the trigger |
44
- | `open` | `ModelSignal<boolean>` | `false` | Two-way bindable open/closed state |
45
- | `options` | `InputSignal<IDropdownOptions>` | `undefined` | Dropdown configuration (variant, headerLabel) |
46
- | `class` | `InputSignal<string>` | `''` | External CSS classes (alias for `cssClass`) |
40
+ | Input | Type | Default | Description |
41
+ | -------------- | ------------------------------- | ----------- | ---------------------------------------------------------- |
42
+ | `items` | `InputSignal<IDropdownItem[]>` | `[]` | Menu items |
43
+ | `triggerLabel` | `InputSignal<string>` | `undefined` | Trigger text; projected content is used when it is not set |
44
+ | `open` | `ModelSignal<boolean>` | `false` | Two-way bindable open/closed state |
45
+ | `options` | `InputSignal<IDropdownOptions>` | `undefined` | Dropdown configuration (variant, headerLabel) |
46
+ | `class` | `InputSignal<string>` | `''` | External CSS classes (alias for `cssClass`) |
47
47
 
48
48
  ### Outputs
49
49
 
@@ -68,11 +68,7 @@ interface IDropdownItem {
68
68
 
69
69
  ```typescript
70
70
  type SmartDropdownVariant =
71
- | 'simple'
72
- | 'with-dividers'
73
- | 'with-icons'
74
- | 'minimal'
75
- | 'with-header';
71
+ 'simple' | 'with-dividers' | 'with-icons' | 'minimal' | 'with-header';
76
72
 
77
73
  interface IDropdownOptions {
78
74
  variant?: SmartDropdownVariant;
@@ -21,7 +21,7 @@ Main wrapper component. Renders `SignInFormStandardComponent` by default. When `
21
21
 
22
22
  ### SignInFormStandardComponent (`<smart-sign-in-form-standard>`)
23
23
 
24
- Barebones placeholder concrete implementation using a native `<form>`. Renders an outer wrapper, the form with optional `<label>`s (toggle via `options.showLabels`), `<input type="email">`, `<input type="password">` (with `autocomplete="new-password"` in `sign-up` mode), an optional forgot-password link (sign-in mode only), an optional submit-label override, optional social provider buttons, optional alt-link (sign-up href in sign-in mode, sign-in href in sign-up mode), and an optional `extraTpl` slot. The submit handler emits `{ email, password, mode }` via the inherited `submit` output unless `disabled` is `true`. Each social provider button emits `{ providerId, mode }` via `socialClick`.
24
+ Barebones placeholder concrete implementation using a native `<form>`. Renders an outer wrapper, the form with optional `<label>`s (toggle via `options.showLabels`), `<input type="email">`, `<input type="password">` (with `autocomplete="new-password"` in `sign-up` mode), an optional forgot-password link (sign-in mode only), an optional submit-label override, optional social provider buttons, optional alt-link (sign-up href in sign-in mode, sign-in href in sign-up mode), and an optional `extraTpl` slot. The submit handler emits `{ email, password, mode }` via the inherited `submit` output unless `disabled` is `true`. It stops the native `submit` event from bubbling, because the output shares its name with the DOM event: without that, a `(submit)` listener on the host would also receive the raw `SubmitEvent`. A custom implementation must do the same. Each social provider button emits `{ providerId, mode }` via `socialClick`.
25
25
 
26
26
  ### SignInFormBaseComponent (abstract)
27
27
 
@@ -153,6 +153,9 @@ export class MyCustomSignInFormComponent extends SignInFormBaseComponent {
153
153
 
154
154
  onSubmit(event: Event): void {
155
155
  event.preventDefault();
156
+ // Keep the native submit event inside: it would reach every (submit)
157
+ // listener on the host next to the typed output.
158
+ event.stopPropagation();
156
159
  if (this.disabled()) return;
157
160
  this.submit.emit({
158
161
  email: this.email(),