@functionalcms/svelte-components 4.2.2 → 4.2.3

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.
@@ -1,11 +1,12 @@
1
1
  <script lang="ts">
2
- interface Props {
3
- isHuman: boolean;
4
- }
5
- let { isHuman = true }: Partial<Props> = $props();
2
+ // interface Props {
3
+ // isHuman: boolean;
4
+ // }
5
+ // let { isHuman = true }: Partial<Props> = $props();
6
+ let isHuman = false;
6
7
  </script>
7
8
 
8
9
  <div style="display:none; visibility: hidden;">
9
- <input id="humanTest" type="checkbox" name="humanTest" bind:checked={isHuman} s />
10
+ <input id="humanTest" type="checkbox" name="humanTest" bind:checked={isHuman} />
10
11
  <label for="humanTest">Do not check if you are a human</label>
11
12
  </div>
@@ -1,5 +1,18 @@
1
- declare const AntiBot: import("svelte").Component<Partial<{
2
- isHuman: boolean;
3
- }>, {}, "">;
4
- type AntiBot = ReturnType<typeof AntiBot>;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ declare const AntiBot: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
15
+ [evt: string]: CustomEvent<any>;
16
+ }, {}, {}, string>;
17
+ type AntiBot = InstanceType<typeof AntiBot>;
5
18
  export default AntiBot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [