svelte-tweakpane-ui 1.2.0 → 1.2.1

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,7 +1,7 @@
1
1
  <script context="module"></script>
2
2
 
3
3
  <script>
4
- import * as pluginModule from '@kitschpatrol/tweakpane-textarea-plugin';
4
+ import * as pluginModule from '@pangenerator/tweakpane-textarea-plugin';
5
5
  import GenericInput from '../internal/GenericInput.svelte';
6
6
  import {} from '../utils.js';
7
7
  import { BROWSER } from 'esm-env';
@@ -1,7 +1,7 @@
1
1
  import { SvelteComponent } from 'svelte';
2
2
  import type { ValueChangeEvent } from '../utils.js';
3
3
  export type TextareaChangeEvent = ValueChangeEvent<string>;
4
- import type { TextareaPluginInputParams } from '@kitschpatrol/tweakpane-textarea-plugin/dist/types/plugin.js';
4
+ import type { TextareaPluginInputParams } from '@pangenerator/tweakpane-textarea-plugin/dist/types/plugin.js';
5
5
  import { type GenericInputRef } from '../internal/GenericInput.svelte';
6
6
  declare const __propDef: {
7
7
  props: Omit<
@@ -125,25 +125,22 @@ export type TextareaProps = typeof __propDef.props;
125
125
  export type TextareaEvents = typeof __propDef.events;
126
126
  export type TextareaSlots = typeof __propDef.slots;
127
127
  /**
128
- * A multi-line text input field, in the spirit of the HTML `<textarea>` element.
128
+ * A multi-line text input field, in the spirit of the HTML `<textarea>`
129
+ * element.
129
130
  *
130
131
  * Integrates the
131
- * [tweakpane-textarea-plugin](https://github.com/panGenerator/tweakpane-textarea-plugin) by [Krzysztof
132
- * Goliński](http://www.golinski.org) and [Jakub Koźniewski](https://pangenerator.com).
132
+ * [tweakpane-textarea-plugin](https://github.com/panGenerator/tweakpane-textarea-plugin)
133
+ * by [Krzysztof Goliński](http://www.golinski.org) and [Jakub
134
+ * Koźniewski](https://pangenerator.com).
133
135
  *
134
- * Extends the underlying implementation with the `live` property to match the behavior of the `<Text>`
135
- * component.
136
+ * Extends the underlying implementation with the `live` property to match the
137
+ * behavior of the `<Text>` component.
136
138
  *
137
- * Note that _Svelte Tweakpane UI_ embeds a
138
- * [fork](https://github.com/kitschpatrol/tweakpane-textarea-plugin) of the plugin with support for
139
- * Tweakpane 4. The dependency will be updated to point to the source repository if / when the open
140
- * [pull request](https://github.com/panGenerator/tweakpane-textarea-plugin/pull/4) with Tweakpane 4
141
- * support is merged.
139
+ * @emits {TextareaChangeEvent} change - When `value` changes. (This event is
140
+ * provided for advanced use cases. Prefer binding to `value`.)
142
141
  *
143
- * @emits {TextareaChangeEvent} change - When `value` changes. (This event is provided for advanced use cases. Prefer binding to `value`.)
144
- *
145
- * Usage outside of a `<Pane>` component will implicitly wrap the text area in `<Pane
146
- * position='inline'>`.
142
+ * Usage outside of a `<Pane>` component will implicitly wrap the text area in
143
+ * `<Pane position='inline'>`.
147
144
  *
148
145
  * @example
149
146
  * ```svelte
package/license.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Eric Mika
3
+ Copyright (c) 2023-2024 Eric Mika
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-tweakpane-ui",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Wraps UI elements from Tweakpane in a collection of idiomatic Svelte components, and augments Tweakpane with a few extra features for your convenience and enjoyment.",
6
6
  "repository": {
@@ -187,30 +187,30 @@
187
187
  "@0b5vr/tweakpane-plugin-profiler": "^0.4.1",
188
188
  "@0b5vr/tweakpane-plugin-rotation": "^0.2.0",
189
189
  "@kitschpatrol/tweakpane-image-plugin": "^2.0.0",
190
- "@kitschpatrol/tweakpane-textarea-plugin": "^2.0.1",
190
+ "@pangenerator/tweakpane-textarea-plugin": "^2.0.0",
191
191
  "@tweakpane/core": "^2.0.3",
192
192
  "@tweakpane/plugin-camerakit": "^0.3.0",
193
193
  "@tweakpane/plugin-essentials": "^0.2.1",
194
194
  "esm-env": "^1.0.0",
195
195
  "fast-copy": "^3.0.1",
196
196
  "fast-equals": "^5.0.1",
197
- "nanoid": "^5.0.4",
197
+ "nanoid": "^5.0.6",
198
198
  "svelte-local-storage-store": "^0.6.4",
199
199
  "tweakpane": "^4.0.3",
200
200
  "tweakpane-plugin-waveform": "^1.0.0"
201
201
  },
202
202
  "devDependencies": {
203
- "@kitschpatrol/shared-config": "^4.3.3",
203
+ "@kitschpatrol/shared-config": "^4.4.2",
204
204
  "@phenomnomnominal/tsquery": "^6.1.3",
205
- "@playwright/test": "^1.41.1",
205
+ "@playwright/test": "^1.41.2",
206
206
  "@stkb/rewrap": "^0.1.0",
207
207
  "@sveltejs/adapter-static": "^3.0.1",
208
- "@sveltejs/kit": "^2.5.0",
209
- "@sveltejs/package": "^2.2.6",
210
- "@sveltejs/vite-plugin-svelte": "^3.0.1",
211
- "@types/eslint": "^8.56.2",
208
+ "@sveltejs/kit": "^2.5.1",
209
+ "@sveltejs/package": "^2.2.7",
210
+ "@sveltejs/vite-plugin-svelte": "^3.0.2",
211
+ "@types/eslint": "^8.56.3",
212
212
  "@types/fs-extra": "^11.0.4",
213
- "@types/node": "^20.11.6",
213
+ "@types/node": "^20.11.20",
214
214
  "bumpp": "^9.3.0",
215
215
  "eslint": "^8.56.0",
216
216
  "fs-extra": "^11.2.0",
@@ -219,15 +219,15 @@
219
219
  "postcss-html": "^1.6.0",
220
220
  "publint": "^0.2.7",
221
221
  "read-package-up": "^11.0.0",
222
- "svelte": "^4.2.9",
223
- "svelte-check": "^3.6.3",
222
+ "svelte": "^4.2.12",
223
+ "svelte-check": "^3.6.4",
224
224
  "svelte-language-server": "^0.16.3",
225
- "svelte2tsx": "^0.7.0",
225
+ "svelte2tsx": "^0.7.1",
226
226
  "ts-morph": "^21.0.1",
227
227
  "tslib": "^2.6.2",
228
- "tsx": "^4.7.0",
228
+ "tsx": "^4.7.1",
229
229
  "typescript": "^5.3.3",
230
- "vite": "^5.0.12",
230
+ "vite": "^5.1.4",
231
231
  "yaml": "^2.3.4"
232
232
  },
233
233
  "scripts": {
package/readme.md CHANGED
@@ -1,8 +1,19 @@
1
+ <!--+ Warning: Content inside HTML comment blocks was generated by mdat and may be overwritten. +-->
2
+
3
+ <!-- title -->
4
+
1
5
  # svelte-tweakpane-ui
2
6
 
3
- [![NPM Package](https://img.shields.io/npm/v/svelte-tweakpane-ui.svg)](https://npmjs.com/package/svelte-tweakpane-ui)
7
+ <!-- /title -->
8
+
9
+ <!-- badges { npm: ["svelte-tweakpane-ui"], custom: { "Documentation": { image: "https://img.shields.io/badge/-documentation-ffdd00?logo=readthedocs&logoColor=222222", link: "https://kitschpatrol.com/svelte-tweakpane-ui" }}} -->
10
+
11
+ [![NPM Package svelte-tweakpane-ui](https://img.shields.io/npm/v/svelte-tweakpane-ui.svg)](https://npmjs.com/package/svelte-tweakpane-ui)
12
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
13
  [![Documentation](https://img.shields.io/badge/-documentation-ffdd00?logo=readthedocs&logoColor=222222)](https://kitschpatrol.com/svelte-tweakpane-ui)
5
14
 
15
+ <!-- /badges -->
16
+
6
17
  ## Overview
7
18
 
8
19
  🎛️ **_Svelte Tweakpane UI_** wraps user-interface elements from the excellent [Tweakpane](https://tweakpane.github.io/docs/) library in a collection of 31 idiomatic, reactive, type-safe, carefully-crafted, and obsessively-documented [Svelte](https://svelte.dev) components.
@@ -17,8 +28,8 @@ The library makes it easy to quickly and declaratively add knobs and dials to yo
17
28
 
18
29
  ## Documentation
19
30
 
20
- **_Please see the documentation site for much more information:_**
21
- **[https://kitschpatrol.com/svelte-tweakpane-ui](https://kitschpatrol.com/svelte-tweakpane-ui)**
31
+ **_Please see the documentation site for much more information:_**\
32
+ **<https://kitschpatrol.com/svelte-tweakpane-ui>**
22
33
 
23
34
  ## Quick start
24
35
 
@@ -38,6 +49,22 @@ npm install svelte-tweakpane-ui
38
49
  <Button on:click={() => alert('🎛️')} />
39
50
  ```
40
51
 
52
+ ## Maintainers
53
+
54
+ [@kitschpatrol](https://github.com/kitschpatrol)
55
+
56
+ <!-- footer -->
57
+
58
+ ## Contributing
59
+
60
+ [Issues](https://github.com/kitschpatrol/svelte-tweakpane-ui/issues) and pull requests are welcome.
61
+
62
+ ## License
63
+
64
+ [MIT](license.txt) © Eric Mika
65
+
66
+ <!-- /footer -->
67
+
41
68
  ---
42
69
 
43
70
  _Note: This library is not to be confused with Karl Moore's [`svelte-tweakpane`](https://github.com/pierogis/svelte-tweakpane)._