@window-splitter/vue 1.0.2 → 1.1.0

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@window-splitter/vue",
4
- "version": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "sideEffects": false,
6
6
  "homepage": "https://react-window-splitter-six.vercel.app",
7
7
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "license": "MIT",
39
39
  "description": "A WAI-ARIA compliant window splitter for Vue.",
40
40
  "devDependencies": {
41
- "@internal/eslint-config": "1.0.2",
41
+ "@internal/eslint-config": "1.1.0",
42
42
  "@storybook/vue3": "^8.6.12",
43
43
  "@storybook/vue3-vite": "^8.6.12",
44
44
  "@testing-library/dom": "^10.4.0",
@@ -60,8 +60,8 @@
60
60
  "vue": "^3.5.13"
61
61
  },
62
62
  "dependencies": {
63
- "@window-splitter/interface": "1.0.2",
64
- "@window-splitter/state": "1.0.2"
63
+ "@window-splitter/interface": "1.1.0",
64
+ "@window-splitter/state": "1.1.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "vue": ">=3.x"
@@ -80,5 +80,5 @@
80
80
  },
81
81
  "types": "./dist/index.d.ts",
82
82
  "module": "./dist/index.mjs",
83
- "gitHead": "c9d2802d3c8ff3df8d7911b417130ab118ada6c1"
83
+ "gitHead": "bb02be9bc8534214871f13704afd741d2fab810f"
84
84
  }
@@ -33,6 +33,7 @@ const {
33
33
  snapshot: snapshotProp,
34
34
  autosaveId,
35
35
  id,
36
+ shiftAmount,
36
37
  ...attrs
37
38
  } = defineProps<PanelGroupProps>();
38
39
 
@@ -60,6 +61,7 @@ const [initialState, send, machineState] = groupMachine(
60
61
  orientation: orientation,
61
62
  groupId,
62
63
  autosaveStrategy: autosaveStrategy,
64
+ shiftAmount,
63
65
  ...(snapshot ? prepareSnapshot(snapshot) : undefined),
64
66
  },
65
67
  (s) => {
@@ -1,6 +1,6 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`Autosave > cookie 1`] = `"autosave-cookie-vue=%7B%22size%22%3A%7B%22x%22%3A0%2C%22y%22%3A0%2C%22width%22%3A500%2C%22height%22%3A198%2C%22top%22%3A0%2C%22right%22%3A500%2C%22bottom%22%3A198%2C%22left%22%3A0%7D%2C%22items%22%3A%5B%7B%22type%22%3A%22panel%22%2C%22currentValue%22%3A%7B%22type%22%3A%22percent%22%2C%22value%22%3A%220.7%22%7D%2C%22min%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22max%22%3A%221fr%22%2C%22collapsible%22%3Afalse%2C%22collapsedSize%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22onResize%22%3A%7B%7D%2C%22collapseIsControlled%22%3Afalse%2C%22id%22%3A%22panel-1%22%2C%22isStaticAtRest%22%3Afalse%7D%2C%7B%22type%22%3A%22handle%22%2C%22size%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%2210%22%7D%2C%22id%22%3A%22resizer1%22%7D%2C%7B%22type%22%3A%22panel%22%2C%22currentValue%22%3A%7B%22type%22%3A%22percent%22%2C%22value%22%3A%220.3%22%7D%2C%22min%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22max%22%3A%221fr%22%2C%22collapsible%22%3Afalse%2C%22collapsedSize%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22onResize%22%3A%7B%7D%2C%22collapseIsControlled%22%3Afalse%2C%22id%22%3A%22panel-2%22%2C%22isStaticAtRest%22%3Afalse%7D%5D%2C%22orientation%22%3A%22horizontal%22%2C%22dragOvershoot%22%3A%220%22%2C%22groupId%22%3A%22autosave-cookie-vue%22%2C%22autosaveStrategy%22%3A%22cookie%22%7D"`;
3
+ exports[`Autosave > cookie 1`] = `"autosave-cookie-vue=%7B%22size%22%3A%7B%22x%22%3A0%2C%22y%22%3A0%2C%22width%22%3A500%2C%22height%22%3A198%2C%22top%22%3A0%2C%22right%22%3A500%2C%22bottom%22%3A198%2C%22left%22%3A0%7D%2C%22items%22%3A%5B%7B%22type%22%3A%22panel%22%2C%22currentValue%22%3A%7B%22type%22%3A%22percent%22%2C%22value%22%3A%220.7%22%7D%2C%22min%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22max%22%3A%221fr%22%2C%22collapsible%22%3Afalse%2C%22collapsedSize%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22onResize%22%3A%7B%7D%2C%22collapseIsControlled%22%3Afalse%2C%22id%22%3A%22panel-1%22%2C%22isStaticAtRest%22%3Afalse%7D%2C%7B%22type%22%3A%22handle%22%2C%22size%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%2210%22%7D%2C%22id%22%3A%22resizer1%22%7D%2C%7B%22type%22%3A%22panel%22%2C%22currentValue%22%3A%7B%22type%22%3A%22percent%22%2C%22value%22%3A%220.3%22%7D%2C%22min%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22max%22%3A%221fr%22%2C%22collapsible%22%3Afalse%2C%22collapsedSize%22%3A%7B%22type%22%3A%22pixel%22%2C%22value%22%3A%220%22%7D%2C%22onResize%22%3A%7B%7D%2C%22collapseIsControlled%22%3Afalse%2C%22id%22%3A%22panel-2%22%2C%22isStaticAtRest%22%3Afalse%7D%5D%2C%22orientation%22%3A%22horizontal%22%2C%22dragOvershoot%22%3A%220%22%2C%22groupId%22%3A%22autosave-cookie-vue%22%2C%22autosaveStrategy%22%3A%22cookie%22%2C%22shiftAmount%22%3A15%7D"`;
4
4
 
5
5
  exports[`Autosave > localStorage 1`] = `
6
6
  [