framework7-svelte 8.3.0 → 8.3.2

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.
@@ -129,6 +129,7 @@
129
129
 
130
130
  $: inputType = type === 'datepicker' || type === 'colorpicker' ? 'text' : type;
131
131
 
132
+ // eslint-disable-next-line
132
133
  $: needsValue = type !== 'file' && type !== 'datepicker' && type !== 'colorpicker';
133
134
 
134
135
  $: inputValue = (() => {
@@ -142,14 +143,6 @@
142
143
  return v;
143
144
  })();
144
145
 
145
- $: classes = classNames(!wrap && className, {
146
- resizable: inputType === 'textarea' && resizable,
147
- 'no-store-data': noFormStoreData || noStoreData || ignoreStoreData,
148
- 'input-invalid': (errorMessage && errorMessageForce) || inputInvalid,
149
- 'input-with-value': inputHasValue(),
150
- 'input-focused': inputFocused,
151
- });
152
-
153
146
  $: wrapClasses = classNames(
154
147
  className,
155
148
  'input',
@@ -165,6 +165,7 @@
165
165
 
166
166
  $: inputType = type === 'datepicker' || type === 'colorpicker' ? 'text' : type;
167
167
 
168
+ // eslint-disable-next-line
168
169
  $: needsValue = type !== 'file' && type !== 'datepicker' && type !== 'colorpicker';
169
170
 
170
171
  $: inputValue = (() => {
@@ -10,10 +10,10 @@
10
10
  export let right = undefined;
11
11
  export let side = undefined;
12
12
 
13
- $: classes = classNames(className, `swipeout-actions-${sideComputed}`, colorClasses($$props));
14
-
15
13
  // eslint-disable-next-line
16
14
  $: sideComputed = side || (left ? 'left' : right ? 'right' : 'left');
15
+
16
+ $: classes = classNames(className, `swipeout-actions-${sideComputed}`, colorClasses($$props));
17
17
  </script>
18
18
 
19
19
  <div class={classes} {...restProps($$restProps)}>
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Framework7 Svelte 8.3.0
2
+ * Framework7 Svelte 8.3.2
3
3
  * Build full featured iOS & Android apps using Framework7 & Svelte
4
4
  * https://framework7.io/svelte/
5
5
  *
6
- * Copyright 2014-2023 Vladimir Kharlampidi
6
+ * Copyright 2014-2024 Vladimir Kharlampidi
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: August 18, 2023
10
+ * Released on: February 27, 2024
11
11
  */
12
12
  import Framework7Svelte from './shared/plugin.js';
13
13
  import { f7, f7ready, theme, app } from './shared/f7.js';
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "framework7-svelte",
3
- "version": "8.3.0",
3
+ "version": "8.3.2",
4
4
  "description": "Build full featured iOS & Android apps using Framework7 & Svelte",
5
5
  "type": "module",
6
6
  "svelte": "./framework7-svelte.js",
7
7
  "exports": {
8
- ".": "./framework7-svelte.js",
8
+ ".": {
9
+ "import": "./framework7-svelte.js",
10
+ "types": "./framework7-svelte.d.ts"
11
+ },
9
12
  "./components/*": "./components/*",
10
13
  "./shared/*": "./shared/*"
11
14
  },
@@ -46,5 +49,5 @@
46
49
  "type": "patreon",
47
50
  "url": "https://www.patreon.com/framework7"
48
51
  },
49
- "releaseDate": "August 18, 2023"
52
+ "releaseDate": "February 27, 2024"
50
53
  }