@twick/ui 0.14.0 → 0.14.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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 motion-canvas
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 motion-canvas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/timeline/Timeline.tsx"],"names":[],"mappings":"AA8BA,wBAAgB,QAAQ,iCA0QvB"}
1
+ {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../src/components/timeline/Timeline.tsx"],"names":[],"mappings":"AA8BA,wBAAgB,QAAQ,iCAwQvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditorPreview.d.ts","sourceRoot":"","sources":["../../../src/components/viewport/EditorPreview.tsx"],"names":[],"mappings":"AA2BA,wBAAgB,aAAa,iCAkO5B"}
1
+ {"version":3,"file":"EditorPreview.d.ts","sourceRoot":"","sources":["../../../src/components/viewport/EditorPreview.tsx"],"names":[],"mappings":"AA2BA,wBAAgB,aAAa,iCA8N5B"}
package/dist/editor.html CHANGED
@@ -1,23 +1,23 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <link
7
- rel="icon"
8
- type="image/png"
9
- sizes="16x16"
10
- href="data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='7' width='18' height='5.97841' rx='0.934127' fill='%23444444'/%3E%3Cpath d='M9 15.9341C9 15.4182 9.41822 15 9.93413 15H26.0659C26.5818 15 27 15.4182 27 15.9341V20.0659C27 20.5818 26.5818 21 26.0659 21H9.93413C9.41822 21 9 20.5818 9 20.0659V15.9341Z' fill='%23444444'/%3E%3Crect x='16' y='23' width='18' height='6.02381' rx='0.934127' fill='%23444444'/%3E%3C/svg%3E"
11
- />
12
- <link rel="stylesheet" href="{{style}}" />
13
- <link
14
- rel="stylesheet"
15
- href="https://unpkg.com/highlightjs@9.16.2/styles/atom-one-dark.css"
16
- />
17
- <title>Twick</title>
18
- </head>
19
-
20
- <body>
21
- <script type="module" src="{{source}}"></script>
22
- </body>
23
- </html>
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link
7
+ rel="icon"
8
+ type="image/png"
9
+ sizes="16x16"
10
+ href="data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='7' width='18' height='5.97841' rx='0.934127' fill='%23444444'/%3E%3Cpath d='M9 15.9341C9 15.4182 9.41822 15 9.93413 15H26.0659C26.5818 15 27 15.4182 27 15.9341V20.0659C27 20.5818 26.5818 21 26.0659 21H9.93413C9.41822 21 9 20.5818 9 20.0659V15.9341Z' fill='%23444444'/%3E%3Crect x='16' y='23' width='18' height='6.02381' rx='0.934127' fill='%23444444'/%3E%3C/svg%3E"
11
+ />
12
+ <link rel="stylesheet" href="{{style}}" />
13
+ <link
14
+ rel="stylesheet"
15
+ href="https://unpkg.com/highlightjs@9.16.2/styles/atom-one-dark.css"
16
+ />
17
+ <title>Twick</title>
18
+ </head>
19
+
20
+ <body>
21
+ <script type="module" src="{{source}}"></script>
22
+ </body>
23
+ </html>
@@ -15,5 +15,4 @@ export * from './useStateChange';
15
15
  export * from './useStorage';
16
16
  export * from './useSubscribable';
17
17
  export * from './useViewportMatrix';
18
- export * from './useWheelEvent';
19
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare function useDocumentEvent<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, ev: DocumentEventMap[T]) => void, enabled?: boolean, options?: boolean | AddEventListenerOptions): void;
1
+ export declare function useDocumentEvent<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, ev: DocumentEventMap[T]) => void, enabled?: boolean, capture?: boolean): void;
2
2
  //# sourceMappingURL=useDocumentEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDocumentEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useDocumentEvent.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,gBAAgB,EAC/D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,EAC3D,OAAO,UAAO,EACd,OAAO,GAAE,OAAO,GAAG,uBAA+B,QAOnD"}
1
+ {"version":3,"file":"useDocumentEvent.d.ts","sourceRoot":"","sources":["../../src/hooks/useDocumentEvent.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,gBAAgB,EAC/D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,EAC3D,OAAO,UAAO,EACd,OAAO,UAAQ,QAOhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAKL,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAIrB,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAsBpD,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,QA4EtC;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,QAE5C;AAED,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAKL,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAIrB,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAqBpD,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,QAyEtC;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,QAE5C;AAED,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}