@smartsoft001/claude-plugins 2.172.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.
|
|
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"
|
|
@@ -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(),
|