@max-ts/svelte 1.12.2 → 1.12.4

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.
@@ -9,7 +9,7 @@ var root_2 = $.from_html(`<div role="tooltip" data-slot="tooltip-content"><!> <!
9
9
  var root = $.from_html(`<span style="display: contents;" data-slot="tooltip-trigger"><!></span> <!>`, 1);
10
10
  function Tooltip($$anchor, $$props) {
11
11
  $.push($$props, true);
12
- let offset = $.prop($$props, "offset", 3, 10), placement = $.prop($$props, "placement", 3, "top"), arrow = $.prop($$props, "arrow", 3, false), delayDuration = $.prop($$props, "delayDuration", 3, 200);
12
+ let offset = $.prop($$props, "offset", 3, 10), placement = $.prop($$props, "placement", 3, "top"), arrow = $.prop($$props, "arrow", 3, false), delayDuration = $.prop($$props, "delayDuration", 3, 100);
13
13
  const store = new TooltipStore({
14
14
  get placement() {
15
15
  return placement();
@@ -90,7 +90,6 @@ function Tooltip($$anchor, $$props) {
90
90
  $.if(node_1, ($$render) => {
91
91
  if (store.visible) $$render(consequent_2);
92
92
  });
93
- $.template_effect(() => $.set_class(span, 1, $.clsx($$props.class)));
94
93
  $.append($$anchor, fragment);
95
94
  $.pop();
96
95
  }
@@ -6,7 +6,6 @@ export type TooltipProps = {
6
6
  children?: Snippet<[]>;
7
7
  arrow?: boolean;
8
8
  offset?: number;
9
- class?: string;
10
9
  arrowClass?: string;
11
10
  contentClass?: string;
12
11
  placement?: Placement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@max-ts/svelte",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "type": "module",
5
5
  "description": "Svelte component library.",
6
6
  "author": "Tsepelev Maksim",