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.
- package/dist/control/Textarea.svelte +1 -1
- package/dist/control/Textarea.svelte.d.ts +12 -15
- package/license.txt +1 -1
- package/package.json +15 -15
- package/readme.md +30 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
3
|
<script>
|
|
4
|
-
import * as pluginModule from '@
|
|
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 '@
|
|
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>`
|
|
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)
|
|
132
|
-
* Goliński](http://www.golinski.org) and [Jakub
|
|
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
|
|
135
|
-
* component.
|
|
136
|
+
* Extends the underlying implementation with the `live` property to match the
|
|
137
|
+
* behavior of the `<Text>` component.
|
|
136
138
|
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
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
|
-
*
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-tweakpane-ui",
|
|
3
|
-
"version": "1.2.
|
|
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
|
-
"@
|
|
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.
|
|
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.
|
|
203
|
+
"@kitschpatrol/shared-config": "^4.4.2",
|
|
204
204
|
"@phenomnomnominal/tsquery": "^6.1.3",
|
|
205
|
-
"@playwright/test": "^1.41.
|
|
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.
|
|
209
|
-
"@sveltejs/package": "^2.2.
|
|
210
|
-
"@sveltejs/vite-plugin-svelte": "^3.0.
|
|
211
|
-
"@types/eslint": "^8.56.
|
|
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.
|
|
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.
|
|
223
|
-
"svelte-check": "^3.6.
|
|
222
|
+
"svelte": "^4.2.12",
|
|
223
|
+
"svelte-check": "^3.6.4",
|
|
224
224
|
"svelte-language-server": "^0.16.3",
|
|
225
|
-
"svelte2tsx": "^0.7.
|
|
225
|
+
"svelte2tsx": "^0.7.1",
|
|
226
226
|
"ts-morph": "^21.0.1",
|
|
227
227
|
"tslib": "^2.6.2",
|
|
228
|
-
"tsx": "^4.7.
|
|
228
|
+
"tsx": "^4.7.1",
|
|
229
229
|
"typescript": "^5.3.3",
|
|
230
|
-
"vite": "^5.
|
|
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
|
-
|
|
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
|
+
[](https://npmjs.com/package/svelte-tweakpane-ui)
|
|
12
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
13
|
[](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
|
-
|
|
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)._
|