flowbite-svelte 0.34.11 → 0.34.12

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.
@@ -28,7 +28,7 @@ let imgClass;
28
28
  $: imgClass = classNames(reverse ? 'rounded-b-lg' : 'rounded-t-lg', horizontal && 'object-cover w-full h-96 md:h-auto md:w-48 md:rounded-none', horizontal && (reverse ? 'md:rounded-r-lg' : 'md:rounded-l-lg'));
29
29
  </script>
30
30
 
31
- <Frame tag={href ? 'a' : 'div'} rounded shadow border {href} {...$$restProps} class={cardClass}>
31
+ <Frame tag={href ? 'a' : 'div'} rounded shadow border on:click on:focusin on:focusout on:mouseenter on:mouseleave {href} {...$$restProps} class={cardClass}>
32
32
  {#if img}
33
33
  <img class={imgClass} src={img} alt="" />
34
34
  <div class={innerPdding}>
@@ -11,6 +11,12 @@ declare const __propDef: {
11
11
  size?: SizeType | undefined;
12
12
  };
13
13
  events: {
14
+ click: MouseEvent;
15
+ focusin: FocusEvent;
16
+ focusout: FocusEvent;
17
+ mouseenter: MouseEvent;
18
+ mouseleave: MouseEvent;
19
+ } & {
14
20
  [evt: string]: CustomEvent<any>;
15
21
  };
16
22
  slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"Card.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/cards/Card.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAmE3C,QAAA,MAAM,SAAS;;;eADgH,MAAM,GAAG,SAAS;;;cAAiD,MAAM,GAAG,SAAS;;;;;;;;;;CACtI,CAAC;AAC/E,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE/C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,oBAAoB,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,CAAC;CACvF"}
1
+ {"version":3,"file":"Card.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/cards/Card.svelte"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAE5C;AACD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAmE3C,QAAA,MAAM,SAAS;;;eADgH,MAAM,GAAG,SAAS;;;cAAiD,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;CACtI,CAAC;AAC/E,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC;AAE/C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,oBAAoB,CAAC,SAAS,EAAE,UAAU,EAAE,SAAS,CAAC;CACvF"}
@@ -86,6 +86,7 @@ $: divClass = classNames(bgColors[color], textColors[color], rounded && (color =
86
86
  transition:transition={params}
87
87
  {...$$restProps}
88
88
  class={divClass}
89
+ on:click
89
90
  on:mouseenter
90
91
  on:mouseleave
91
92
  on:focusin
@@ -99,6 +100,7 @@ $: divClass = classNames(bgColors[color], textColors[color], rounded && (color =
99
100
  bind:this={node}
100
101
  {...$$restProps}
101
102
  class={divClass}
103
+ on:click
102
104
  on:mouseenter
103
105
  on:mouseleave
104
106
  on:focusin
@@ -16,6 +16,7 @@ declare const __propDef: {
16
16
  options?: {} | undefined;
17
17
  };
18
18
  events: {
19
+ click: MouseEvent;
19
20
  mouseenter: MouseEvent;
20
21
  mouseleave: MouseEvent;
21
22
  focusin: FocusEvent;
@@ -1 +1 @@
1
- {"version":3,"file":"Frame.svelte.d.ts","sourceRoot":"","sources":["../../../src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AAQ,oBAAoB,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC;CAC3F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.34.11",
3
+ "version": "0.34.12",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "dist/index.js",
6
6
  "author": {