@max-ts/svelte 1.8.1 → 1.8.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,8 +1,11 @@
1
1
  .styles_contentWrapper__ho48de0 {
2
2
  overflow: hidden;
3
+ height: 100%;
3
4
  }
4
5
  .styles_container__ho48de1 {
5
6
  display: flex;
7
+ height: 100%;
8
+ width: 100%;
6
9
  }
7
10
  .styles_orientation_horizontal__ho48de2 {
8
11
  margin-left: calc(-1 * var(--spacing-4));
@@ -20,11 +20,7 @@ function Content($$anchor, $$props) {
20
20
  var div = root();
21
21
  var div_1 = $.child(div);
22
22
  $.attribute_effect(div_1, () => ({
23
- class: [
24
- __default__.container,
25
- __default__.orientation[emblaCtx.orientation],
26
- $$props.class
27
- ],
23
+ class: [__default__.container, __default__.orientation[emblaCtx.orientation]],
28
24
  "data-embla-container": "",
29
25
  ...restProps
30
26
  }));
@@ -42,7 +38,7 @@ function Content($$anchor, $$props) {
42
38
  },
43
39
  plugins: emblaCtx.plugins
44
40
  }));
45
- $.template_effect(() => $.set_class(div, 1, $.clsx(__default__.contentWrapper)));
41
+ $.template_effect(() => $.set_class(div, 1, $.clsx([__default__.contentWrapper, $$props.class])));
46
42
  $.event("emblaInit", div, function(...$$args) {
47
43
  emblaCtx.onInit?.apply(this, $$args);
48
44
  });
@@ -1,5 +1,5 @@
1
1
  import "./../../../assets/src/theme.css.ts.vanilla-DlH7Hr_5.css";
2
- import "./../../../assets/src/components/Carousel/Content/styles.css.ts.vanilla-vey50OEc.css";
2
+ import "./../../../assets/src/components/Carousel/Content/styles.css.ts.vanilla-C4MEo1_C.css";
3
3
 
4
4
  //#region src/components/Carousel/Content/styles.css.ts
5
5
  var __default__ = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@max-ts/svelte",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "type": "module",
5
5
  "description": "Svelte component library.",
6
6
  "author": "Tsepelev Maksim",