@pairdraw/vue 0.18.0 → 0.19.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/dist/canvas/CanvasRoot.vue.js +1 -0
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/drop/use.d.ts.map +1 -1
- package/dist/canvas/drop/use.js +5 -3
- package/dist/canvas/drop/use.js.map +1 -1
- package/dist/canvas/guides/input.js +2 -1
- package/dist/canvas/guides/input.js.map +1 -1
- package/dist/canvas/pen/input.js +20 -6
- package/dist/canvas/pen/input.js.map +1 -1
- package/dist/canvas/surface/gl-surface.js +82 -4
- package/dist/canvas/surface/gl-surface.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +5 -0
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/resize-observer.js +11 -4
- package/dist/canvas/surface/resize-observer.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +5 -0
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/surface/use.d.ts +1 -0
- package/dist/canvas/surface/use.js +1 -0
- package/dist/canvas/surface/use.js.map +1 -1
- package/dist/canvas/text-edit/editing.js +11 -8
- package/dist/canvas/text-edit/editing.js.map +1 -1
- package/dist/canvas/text-edit/keyboard.js +12 -0
- package/dist/canvas/text-edit/keyboard.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +240 -0
- package/dist/controls/appearance/use.d.ts +1 -1
- package/dist/controls/layout/helpers.d.ts.map +1 -1
- package/dist/controls/layout/helpers.js +36 -7
- package/dist/controls/layout/helpers.js.map +1 -1
- package/dist/controls/layout/use.d.ts +1 -0
- package/dist/controls/layout/use.d.ts.map +1 -1
- package/dist/controls/layout/use.js +3 -0
- package/dist/controls/layout/use.js.map +1 -1
- package/dist/controls/node-preview/use.js +21 -1
- package/dist/controls/node-preview/use.js.map +1 -1
- package/dist/controls/position/use.d.ts +2 -1
- package/dist/controls/position/use.d.ts.map +1 -1
- package/dist/controls/position/use.js +13 -5
- package/dist/controls/position/use.js.map +1 -1
- package/dist/controls/property-list/use.d.ts.map +1 -1
- package/dist/controls/property-list/use.js +27 -5
- package/dist/controls/property-list/use.js.map +1 -1
- package/dist/controls/selection-layout/use.d.ts.map +1 -1
- package/dist/controls/selection-layout/use.js +2 -1
- package/dist/controls/selection-layout/use.js.map +1 -1
- package/dist/controls/slots/authoring.d.ts.map +1 -1
- package/dist/controls/slots/authoring.js +2 -1
- package/dist/controls/slots/authoring.js.map +1 -1
- package/dist/controls/typography/actions.js +18 -10
- package/dist/controls/typography/actions.js.map +1 -1
- package/dist/controls/typography/axes.d.ts.map +1 -1
- package/dist/controls/typography/axes.js +62 -19
- package/dist/controls/typography/axes.js.map +1 -1
- package/dist/editor/commands/registry.d.ts +1 -0
- package/dist/editor/commands/registry.d.ts.map +1 -1
- package/dist/editor/commands/registry.js +1 -0
- package/dist/editor/commands/registry.js.map +1 -1
- package/dist/editor/commands/selection.js +12 -3
- package/dist/editor/commands/selection.js.map +1 -1
- package/dist/editor/commands/types.d.ts +1 -1
- package/dist/editor/commands/types.d.ts.map +1 -1
- package/dist/editor/menu-model/canvas.js +5 -1
- package/dist/editor/menu-model/canvas.js.map +1 -1
- package/dist/editor/selection-capabilities/use.d.ts +1 -0
- package/dist/editor/selection-capabilities/use.js +4 -0
- package/dist/editor/selection-capabilities/use.js.map +1 -1
- package/dist/editor/selection-state/nodes.js +2 -2
- package/dist/editor/selection-state/nodes.js.map +1 -1
- package/dist/i18n/locale.d.ts.map +1 -1
- package/dist/i18n/locale.js +16 -6
- package/dist/i18n/locale.js.map +1 -1
- package/dist/i18n/locales/de/ai.json.js +3 -0
- package/dist/i18n/locales/de/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/de/commands.json.js +1 -0
- package/dist/i18n/locales/de/comments.json.js +1 -0
- package/dist/i18n/locales/de/editor.json.js +2 -2
- package/dist/i18n/locales/de/menu.json.js +1 -1
- package/dist/i18n/locales/de/variables/panel.json.js +2 -0
- package/dist/i18n/locales/es/ai.json.js +3 -0
- package/dist/i18n/locales/es/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/es/commands.json.js +1 -0
- package/dist/i18n/locales/es/comments.json.js +1 -0
- package/dist/i18n/locales/es/editor.json.js +2 -2
- package/dist/i18n/locales/es/menu.json.js +1 -1
- package/dist/i18n/locales/es/variables/panel.json.js +2 -0
- package/dist/i18n/locales/fr/ai.json.js +3 -0
- package/dist/i18n/locales/fr/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/fr/commands.json.js +1 -0
- package/dist/i18n/locales/fr/comments.json.js +1 -0
- package/dist/i18n/locales/fr/editor.json.js +2 -2
- package/dist/i18n/locales/fr/menu.json.js +1 -1
- package/dist/i18n/locales/fr/variables/panel.json.js +2 -0
- package/dist/i18n/locales/it/ai.json.js +3 -0
- package/dist/i18n/locales/it/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/it/commands.json.js +1 -0
- package/dist/i18n/locales/it/comments.json.js +1 -0
- package/dist/i18n/locales/it/editor.json.js +2 -2
- package/dist/i18n/locales/it/menu.json.js +1 -1
- package/dist/i18n/locales/it/variables/panel.json.js +2 -0
- package/dist/i18n/locales/ja/ai.json.js +3 -0
- package/dist/i18n/locales/ja/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/ja/commands.json.js +1 -0
- package/dist/i18n/locales/ja/comments.json.js +1 -0
- package/dist/i18n/locales/ja/editor.json.js +2 -2
- package/dist/i18n/locales/ja/menu.json.js +1 -1
- package/dist/i18n/locales/ja/variables/panel.json.js +2 -0
- package/dist/i18n/locales/pl/ai.json.js +3 -0
- package/dist/i18n/locales/pl/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/pl/commands.json.js +1 -0
- package/dist/i18n/locales/pl/comments.json.js +1 -0
- package/dist/i18n/locales/pl/editor.json.js +2 -2
- package/dist/i18n/locales/pl/menu.json.js +1 -1
- package/dist/i18n/locales/pl/variables/panel.json.js +2 -0
- package/dist/i18n/locales/ru/ai.json.js +3 -0
- package/dist/i18n/locales/ru/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/ru/commands.json.js +1 -0
- package/dist/i18n/locales/ru/comments.json.js +1 -0
- package/dist/i18n/locales/ru/editor.json.js +2 -2
- package/dist/i18n/locales/ru/menu.json.js +1 -1
- package/dist/i18n/locales/ru/variables/panel.json.js +2 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +3 -0
- package/dist/i18n/locales/zh-cn/cloud/portal.json.js +1 -1
- package/dist/i18n/locales/zh-cn/commands.json.js +1 -0
- package/dist/i18n/locales/zh-cn/comments.json.js +1 -0
- package/dist/i18n/locales/zh-cn/editor.json.js +2 -2
- package/dist/i18n/locales/zh-cn/menu.json.js +1 -1
- package/dist/i18n/locales/zh-cn/variables/panel.json.js +2 -0
- package/dist/i18n/messages/ai.d.ts +6 -0
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +4 -0
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/cloud/portal.d.ts +1 -1
- package/dist/i18n/messages/cloud/portal.js +1 -1
- package/dist/i18n/messages/cloud/portal.js.map +1 -1
- package/dist/i18n/messages/commands.d.ts +1 -0
- package/dist/i18n/messages/commands.d.ts.map +1 -1
- package/dist/i18n/messages/commands.js +1 -0
- package/dist/i18n/messages/commands.js.map +1 -1
- package/dist/i18n/messages/comments.d.ts +1 -0
- package/dist/i18n/messages/comments.d.ts.map +1 -1
- package/dist/i18n/messages/comments.js +1 -0
- package/dist/i18n/messages/comments.js.map +1 -1
- package/dist/i18n/messages/editor.d.ts +1 -1
- package/dist/i18n/messages/editor.js +1 -1
- package/dist/i18n/messages/editor.js.map +1 -1
- package/dist/i18n/messages/menu.d.ts +1 -1
- package/dist/i18n/messages/menu.js +1 -1
- package/dist/i18n/messages/menu.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +1 -1
- package/dist/i18n/messages/panels.js +1 -1
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages/variables/panel.d.ts +2 -0
- package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
- package/dist/i18n/messages/variables/panel.js +2 -0
- package/dist/i18n/messages/variables/panel.js.map +1 -1
- package/dist/i18n/messages.d.ts +13 -4
- package/dist/i18n/useI18n.d.ts +48 -14
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +12 -2
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +39 -10
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
- package/dist/primitives/ColorPicker/gesture.d.ts +40 -0
- package/dist/primitives/ColorPicker/gesture.d.ts.map +1 -0
- package/dist/primitives/ColorPicker/gesture.js +120 -0
- package/dist/primitives/ColorPicker/gesture.js.map +1 -0
- package/dist/primitives/ColorPicker/index.d.ts +2 -1
- package/dist/primitives/ColorPicker/index.js +2 -1
- package/dist/primitives/Fill/FillSwatch.vue.d.ts.map +1 -1
- package/dist/primitives/Fill/FillSwatch.vue.js +6 -1
- package/dist/primitives/Fill/FillSwatch.vue.js.map +1 -1
- package/dist/primitives/Fill/types.d.ts +5 -0
- package/dist/primitives/Fill/types.d.ts.map +1 -1
- package/dist/primitives/Fill/useFill.d.ts.map +1 -1
- package/dist/primitives/Fill/useFill.js +15 -7
- package/dist/primitives/Fill/useFill.js.map +1 -1
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +1 -0
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js +7 -2
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +2 -0
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +14 -3
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/dist/primitives/LayerTree/model.js +1 -1
- package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js +1 -0
- package/dist/primitives/LayoutControls/LayoutControlsRoot.vue.js.map +1 -1
- package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts +2 -2
- package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts.map +1 -1
- package/dist/primitives/NumberField/NumberFieldRoot.vue.js +3 -2
- package/dist/primitives/NumberField/NumberFieldRoot.vue.js.map +1 -1
- package/dist/primitives/NumberField/types.d.ts +5 -0
- package/dist/primitives/NumberField/types.d.ts.map +1 -1
- package/dist/primitives/PageList/PageListRoot.vue.d.ts +3 -3
- package/dist/primitives/PageList/PageListRoot.vue.d.ts.map +1 -1
- package/dist/primitives/PageList/PageListRoot.vue.js +3 -2
- package/dist/primitives/PageList/PageListRoot.vue.js.map +1 -1
- package/dist/primitives/PageList/usePageList.d.ts +1 -1
- package/dist/primitives/PageList/usePageList.d.ts.map +1 -1
- package/dist/primitives/PositionControls/PositionControlsRoot.vue.d.ts +1 -0
- package/dist/primitives/PositionControls/PositionControlsRoot.vue.d.ts.map +1 -1
- package/dist/primitives/PositionControls/PositionControlsRoot.vue.js +11 -13
- package/dist/primitives/PositionControls/PositionControlsRoot.vue.js.map +1 -1
- package/dist/primitives/PropertyList/PropertyListRoot.vue.d.ts.map +1 -1
- package/dist/primitives/PropertyList/PropertyListRoot.vue.js +10 -1
- package/dist/primitives/PropertyList/PropertyListRoot.vue.js.map +1 -1
- package/dist/primitives/PropertyList/index.d.ts +2 -2
- package/dist/primitives/PropertyList/types.d.ts +14 -2
- package/dist/primitives/PropertyList/types.d.ts.map +1 -1
- package/dist/shared/input/drop-target.js +2 -1
- package/dist/shared/input/drop-target.js.map +1 -1
- package/dist/shared/input/duplicate-drag.js.map +1 -1
- package/dist/shared/input/move/drag.js +25 -4
- package/dist/shared/input/move/drag.js.map +1 -1
- package/dist/shared/input/resize/start.js +2 -1
- package/dist/shared/input/resize/start.js.map +1 -1
- package/dist/shared/input/select/move.js +8 -3
- package/dist/shared/input/select/move.js.map +1 -1
- package/dist/shared/input/select.js +22 -12
- package/dist/shared/input/select.js.map +1 -1
- package/dist/shared/input/types.d.ts +2 -0
- package/dist/shared/input/types.d.ts.map +1 -1
- package/dist/shared/input/types.js.map +1 -1
- package/dist/variables/use.d.ts.map +1 -1
- package/dist/variables/use.js +2 -1
- package/dist/variables/use.js.map +1 -1
- package/package.json +4 -4
package/dist/i18n/useI18n.d.ts
CHANGED
|
@@ -351,6 +351,8 @@ declare const useAIMessages: () => Ref<{
|
|
|
351
351
|
readonly toolUndone: "Undone";
|
|
352
352
|
readonly toolRunning: "Running…";
|
|
353
353
|
readonly toolError: "Error";
|
|
354
|
+
readonly toolErrorShowAll: "Show all";
|
|
355
|
+
readonly toolErrorShowLess: "Show less";
|
|
354
356
|
readonly toolInput: "Input";
|
|
355
357
|
readonly toolOutput: "Output";
|
|
356
358
|
readonly toolDetails: "Tool call details";
|
|
@@ -433,6 +435,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
433
435
|
readonly editSummaryChanged: import("@nanostores/i18n").TranslationFunction<[{
|
|
434
436
|
changed: string | number;
|
|
435
437
|
} & object], string>;
|
|
438
|
+
readonly editSummaryIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
439
|
+
document: string | number;
|
|
440
|
+
} & object], string>;
|
|
436
441
|
readonly editSummaryShow: "Show";
|
|
437
442
|
readonly changePreviewSmall: "Small (240 px)";
|
|
438
443
|
readonly changePreviewMedium: "Medium (480 px)";
|
|
@@ -1079,6 +1084,8 @@ declare const useAIMessages: () => Ref<{
|
|
|
1079
1084
|
readonly toolUndone: "Undone";
|
|
1080
1085
|
readonly toolRunning: "Running…";
|
|
1081
1086
|
readonly toolError: "Error";
|
|
1087
|
+
readonly toolErrorShowAll: "Show all";
|
|
1088
|
+
readonly toolErrorShowLess: "Show less";
|
|
1082
1089
|
readonly toolInput: "Input";
|
|
1083
1090
|
readonly toolOutput: "Output";
|
|
1084
1091
|
readonly toolDetails: "Tool call details";
|
|
@@ -1161,6 +1168,9 @@ declare const useAIMessages: () => Ref<{
|
|
|
1161
1168
|
readonly editSummaryChanged: import("@nanostores/i18n").TranslationFunction<[{
|
|
1162
1169
|
changed: string | number;
|
|
1163
1170
|
} & object], string>;
|
|
1171
|
+
readonly editSummaryIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
1172
|
+
document: string | number;
|
|
1173
|
+
} & object], string>;
|
|
1164
1174
|
readonly editSummaryShow: "Show";
|
|
1165
1175
|
readonly changePreviewSmall: "Small (240 px)";
|
|
1166
1176
|
readonly changePreviewMedium: "Medium (480 px)";
|
|
@@ -2517,6 +2527,7 @@ declare const useCommandMessages: () => Ref<{
|
|
|
2517
2527
|
readonly detachInstance: "Detach instance";
|
|
2518
2528
|
readonly detachIcon: "Detach icon";
|
|
2519
2529
|
readonly goToMainComponent: "Go to main component";
|
|
2530
|
+
readonly resetAllChanges: "Reset all changes";
|
|
2520
2531
|
readonly addAutoLayout: "Add auto layout";
|
|
2521
2532
|
readonly useAsMask: "Use as mask";
|
|
2522
2533
|
readonly removeMask: "Remove mask";
|
|
@@ -2619,6 +2630,7 @@ declare const useCommandMessages: () => Ref<{
|
|
|
2619
2630
|
readonly detachInstance: "Detach instance";
|
|
2620
2631
|
readonly detachIcon: "Detach icon";
|
|
2621
2632
|
readonly goToMainComponent: "Go to main component";
|
|
2633
|
+
readonly resetAllChanges: "Reset all changes";
|
|
2622
2634
|
readonly addAutoLayout: "Add auto layout";
|
|
2623
2635
|
readonly useAsMask: "Use as mask";
|
|
2624
2636
|
readonly removeMask: "Remove mask";
|
|
@@ -2729,6 +2741,7 @@ declare const useCommentMessages: () => Ref<{
|
|
|
2729
2741
|
readonly newestFirst: "Newest first";
|
|
2730
2742
|
readonly oldestFirst: "Oldest first";
|
|
2731
2743
|
readonly empty: "No comments yet. Click the canvas to leave one.";
|
|
2744
|
+
readonly allResolved: "All comments are resolved. Show resolved comments to read them.";
|
|
2732
2745
|
readonly noMatches: "No comments match.";
|
|
2733
2746
|
readonly replyCount: import("@nanostores/i18n").TranslationFunction<[{
|
|
2734
2747
|
count: string | number;
|
|
@@ -2761,6 +2774,7 @@ declare const useCommentMessages: () => Ref<{
|
|
|
2761
2774
|
readonly newestFirst: "Newest first";
|
|
2762
2775
|
readonly oldestFirst: "Oldest first";
|
|
2763
2776
|
readonly empty: "No comments yet. Click the canvas to leave one.";
|
|
2777
|
+
readonly allResolved: "All comments are resolved. Show resolved comments to read them.";
|
|
2764
2778
|
readonly noMatches: "No comments match.";
|
|
2765
2779
|
readonly replyCount: import("@nanostores/i18n").TranslationFunction<[{
|
|
2766
2780
|
count: string | number;
|
|
@@ -3351,6 +3365,7 @@ declare const useEditorMessages: () => Ref<{
|
|
|
3351
3365
|
tool: string | number;
|
|
3352
3366
|
} & object], string>;
|
|
3353
3367
|
readonly removeGradientStop: "Remove gradient stop";
|
|
3368
|
+
readonly selectGradientStop: "Select gradient stop";
|
|
3354
3369
|
readonly cornerRadius: "Radius";
|
|
3355
3370
|
readonly pointCount: "Count";
|
|
3356
3371
|
readonly starRatio: "Ratio";
|
|
@@ -3370,7 +3385,6 @@ declare const useEditorMessages: () => Ref<{
|
|
|
3370
3385
|
shortcut: string | number;
|
|
3371
3386
|
} & object], string>;
|
|
3372
3387
|
readonly toggleLayersPanel: "Layers panel";
|
|
3373
|
-
readonly togglePropertiesPanel: "Properties panel";
|
|
3374
3388
|
readonly goodies: "Goodies";
|
|
3375
3389
|
readonly goodiesDescription: "Styles, design systems, scripts and shaders to start from.";
|
|
3376
3390
|
readonly goodiesFeatured: "Featured";
|
|
@@ -3419,6 +3433,7 @@ declare const useEditorMessages: () => Ref<{
|
|
|
3419
3433
|
tool: string | number;
|
|
3420
3434
|
} & object], string>;
|
|
3421
3435
|
readonly removeGradientStop: "Remove gradient stop";
|
|
3436
|
+
readonly selectGradientStop: "Select gradient stop";
|
|
3422
3437
|
readonly cornerRadius: "Radius";
|
|
3423
3438
|
readonly pointCount: "Count";
|
|
3424
3439
|
readonly starRatio: "Ratio";
|
|
@@ -3438,7 +3453,6 @@ declare const useEditorMessages: () => Ref<{
|
|
|
3438
3453
|
shortcut: string | number;
|
|
3439
3454
|
} & object], string>;
|
|
3440
3455
|
readonly toggleLayersPanel: "Layers panel";
|
|
3441
|
-
readonly togglePropertiesPanel: "Properties panel";
|
|
3442
3456
|
readonly goodies: "Goodies";
|
|
3443
3457
|
readonly goodiesDescription: "Styles, design systems, scripts and shaders to start from.";
|
|
3444
3458
|
readonly goodiesFeatured: "Featured";
|
|
@@ -4163,7 +4177,7 @@ declare const useMenuMessages: () => Ref<{
|
|
|
4163
4177
|
readonly nextToolbarCategory: "Next toolbar category";
|
|
4164
4178
|
readonly removeGuide: "Remove guide";
|
|
4165
4179
|
readonly layersPanel: "Layers panel";
|
|
4166
|
-
readonly
|
|
4180
|
+
readonly designPanel: "Design panel";
|
|
4167
4181
|
readonly keyboardShortcuts: "Keyboard shortcuts";
|
|
4168
4182
|
readonly removeAutoLayout: "Remove auto layout";
|
|
4169
4183
|
readonly shaderMode: "Shader Mode";
|
|
@@ -4273,7 +4287,7 @@ declare const useMenuMessages: () => Ref<{
|
|
|
4273
4287
|
readonly nextToolbarCategory: "Next toolbar category";
|
|
4274
4288
|
readonly removeGuide: "Remove guide";
|
|
4275
4289
|
readonly layersPanel: "Layers panel";
|
|
4276
|
-
readonly
|
|
4290
|
+
readonly designPanel: "Design panel";
|
|
4277
4291
|
readonly keyboardShortcuts: "Keyboard shortcuts";
|
|
4278
4292
|
readonly removeAutoLayout: "Remove auto layout";
|
|
4279
4293
|
readonly shaderMode: "Shader Mode";
|
|
@@ -5036,7 +5050,7 @@ declare const usePanelMessages: () => Ref<{
|
|
|
5036
5050
|
} & {
|
|
5037
5051
|
size: string | number;
|
|
5038
5052
|
} & object], string>;
|
|
5039
|
-
readonly searchFonts: "Search fonts
|
|
5053
|
+
readonly searchFonts: "Search fonts…";
|
|
5040
5054
|
readonly noFontsFound: "No fonts found";
|
|
5041
5055
|
readonly searchIcons: "Search icons...";
|
|
5042
5056
|
readonly searchingIcons: "Searching…";
|
|
@@ -5856,7 +5870,7 @@ declare const usePanelMessages: () => Ref<{
|
|
|
5856
5870
|
} & {
|
|
5857
5871
|
size: string | number;
|
|
5858
5872
|
} & object], string>;
|
|
5859
|
-
readonly searchFonts: "Search fonts
|
|
5873
|
+
readonly searchFonts: "Search fonts…";
|
|
5860
5874
|
readonly noFontsFound: "No fonts found";
|
|
5861
5875
|
readonly searchIcons: "Search icons...";
|
|
5862
5876
|
readonly searchingIcons: "Searching…";
|
|
@@ -7963,7 +7977,7 @@ declare const useCloudPortalMessages: () => Ref<{
|
|
|
7963
7977
|
readonly deviceDescription: import("@nanostores/i18n").TranslationFunction<[{
|
|
7964
7978
|
email: string | number;
|
|
7965
7979
|
} & object], string>;
|
|
7966
|
-
readonly
|
|
7980
|
+
readonly deviceEnterCode: "Enter the code the app shows";
|
|
7967
7981
|
readonly deviceWarningTitle: "Only approve a sign-in you started";
|
|
7968
7982
|
readonly deviceWarningDescription: "If you didn’t just sign in to Pairdraw on a computer, deny this request.";
|
|
7969
7983
|
readonly approve: "Approve";
|
|
@@ -8490,7 +8504,7 @@ declare const useCloudPortalMessages: () => Ref<{
|
|
|
8490
8504
|
readonly deviceDescription: import("@nanostores/i18n").TranslationFunction<[{
|
|
8491
8505
|
email: string | number;
|
|
8492
8506
|
} & object], string>;
|
|
8493
|
-
readonly
|
|
8507
|
+
readonly deviceEnterCode: "Enter the code the app shows";
|
|
8494
8508
|
readonly deviceWarningTitle: "Only approve a sign-in you started";
|
|
8495
8509
|
readonly deviceWarningDescription: "If you didn’t just sign in to Pairdraw on a computer, deny this request.";
|
|
8496
8510
|
readonly approve: "Approve";
|
|
@@ -9071,6 +9085,8 @@ declare const useVariableMessages: () => Ref<{
|
|
|
9071
9085
|
} & {
|
|
9072
9086
|
from: string | number;
|
|
9073
9087
|
} & object], string>;
|
|
9088
|
+
readonly importMissingFilesHint: "Choose the folder these files sit in, so a resolver is read with all of them.";
|
|
9089
|
+
readonly importChooseFolder: "Choose folder";
|
|
9074
9090
|
readonly importNothing: "These files hold no design tokens.";
|
|
9075
9091
|
readonly importAction: "Import";
|
|
9076
9092
|
readonly importUnsupportedCSS: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -9282,6 +9298,8 @@ declare const useVariableMessages: () => Ref<{
|
|
|
9282
9298
|
} & {
|
|
9283
9299
|
from: string | number;
|
|
9284
9300
|
} & object], string>;
|
|
9301
|
+
readonly importMissingFilesHint: "Choose the folder these files sit in, so a resolver is read with all of them.";
|
|
9302
|
+
readonly importChooseFolder: "Choose folder";
|
|
9285
9303
|
readonly importNothing: "These files hold no design tokens.";
|
|
9286
9304
|
readonly importAction: "Import";
|
|
9287
9305
|
readonly importUnsupportedCSS: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -9593,6 +9611,8 @@ declare function useI18n(): {
|
|
|
9593
9611
|
readonly toolUndone: "Undone";
|
|
9594
9612
|
readonly toolRunning: "Running…";
|
|
9595
9613
|
readonly toolError: "Error";
|
|
9614
|
+
readonly toolErrorShowAll: "Show all";
|
|
9615
|
+
readonly toolErrorShowLess: "Show less";
|
|
9596
9616
|
readonly toolInput: "Input";
|
|
9597
9617
|
readonly toolOutput: "Output";
|
|
9598
9618
|
readonly toolDetails: "Tool call details";
|
|
@@ -9675,6 +9695,9 @@ declare function useI18n(): {
|
|
|
9675
9695
|
readonly editSummaryChanged: import("@nanostores/i18n").TranslationFunction<[{
|
|
9676
9696
|
changed: string | number;
|
|
9677
9697
|
} & object], string>;
|
|
9698
|
+
readonly editSummaryIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
9699
|
+
document: string | number;
|
|
9700
|
+
} & object], string>;
|
|
9678
9701
|
readonly editSummaryShow: "Show";
|
|
9679
9702
|
readonly changePreviewSmall: "Small (240 px)";
|
|
9680
9703
|
readonly changePreviewMedium: "Medium (480 px)";
|
|
@@ -10321,6 +10344,8 @@ declare function useI18n(): {
|
|
|
10321
10344
|
readonly toolUndone: "Undone";
|
|
10322
10345
|
readonly toolRunning: "Running…";
|
|
10323
10346
|
readonly toolError: "Error";
|
|
10347
|
+
readonly toolErrorShowAll: "Show all";
|
|
10348
|
+
readonly toolErrorShowLess: "Show less";
|
|
10324
10349
|
readonly toolInput: "Input";
|
|
10325
10350
|
readonly toolOutput: "Output";
|
|
10326
10351
|
readonly toolDetails: "Tool call details";
|
|
@@ -10403,6 +10428,9 @@ declare function useI18n(): {
|
|
|
10403
10428
|
readonly editSummaryChanged: import("@nanostores/i18n").TranslationFunction<[{
|
|
10404
10429
|
changed: string | number;
|
|
10405
10430
|
} & object], string>;
|
|
10431
|
+
readonly editSummaryIn: import("@nanostores/i18n").TranslationFunction<[{
|
|
10432
|
+
document: string | number;
|
|
10433
|
+
} & object], string>;
|
|
10406
10434
|
readonly editSummaryShow: "Show";
|
|
10407
10435
|
readonly changePreviewSmall: "Small (240 px)";
|
|
10408
10436
|
readonly changePreviewMedium: "Medium (480 px)";
|
|
@@ -11473,6 +11501,7 @@ declare function useI18n(): {
|
|
|
11473
11501
|
readonly detachInstance: "Detach instance";
|
|
11474
11502
|
readonly detachIcon: "Detach icon";
|
|
11475
11503
|
readonly goToMainComponent: "Go to main component";
|
|
11504
|
+
readonly resetAllChanges: "Reset all changes";
|
|
11476
11505
|
readonly addAutoLayout: "Add auto layout";
|
|
11477
11506
|
readonly useAsMask: "Use as mask";
|
|
11478
11507
|
readonly removeMask: "Remove mask";
|
|
@@ -11575,6 +11604,7 @@ declare function useI18n(): {
|
|
|
11575
11604
|
readonly detachInstance: "Detach instance";
|
|
11576
11605
|
readonly detachIcon: "Detach icon";
|
|
11577
11606
|
readonly goToMainComponent: "Go to main component";
|
|
11607
|
+
readonly resetAllChanges: "Reset all changes";
|
|
11578
11608
|
readonly addAutoLayout: "Add auto layout";
|
|
11579
11609
|
readonly useAsMask: "Use as mask";
|
|
11580
11610
|
readonly removeMask: "Remove mask";
|
|
@@ -11999,6 +12029,7 @@ declare function useI18n(): {
|
|
|
11999
12029
|
tool: string | number;
|
|
12000
12030
|
} & object], string>;
|
|
12001
12031
|
readonly removeGradientStop: "Remove gradient stop";
|
|
12032
|
+
readonly selectGradientStop: "Select gradient stop";
|
|
12002
12033
|
readonly cornerRadius: "Radius";
|
|
12003
12034
|
readonly pointCount: "Count";
|
|
12004
12035
|
readonly starRatio: "Ratio";
|
|
@@ -12018,7 +12049,6 @@ declare function useI18n(): {
|
|
|
12018
12049
|
shortcut: string | number;
|
|
12019
12050
|
} & object], string>;
|
|
12020
12051
|
readonly toggleLayersPanel: "Layers panel";
|
|
12021
|
-
readonly togglePropertiesPanel: "Properties panel";
|
|
12022
12052
|
readonly goodies: "Goodies";
|
|
12023
12053
|
readonly goodiesDescription: "Styles, design systems, scripts and shaders to start from.";
|
|
12024
12054
|
readonly goodiesFeatured: "Featured";
|
|
@@ -12067,6 +12097,7 @@ declare function useI18n(): {
|
|
|
12067
12097
|
tool: string | number;
|
|
12068
12098
|
} & object], string>;
|
|
12069
12099
|
readonly removeGradientStop: "Remove gradient stop";
|
|
12100
|
+
readonly selectGradientStop: "Select gradient stop";
|
|
12070
12101
|
readonly cornerRadius: "Radius";
|
|
12071
12102
|
readonly pointCount: "Count";
|
|
12072
12103
|
readonly starRatio: "Ratio";
|
|
@@ -12086,7 +12117,6 @@ declare function useI18n(): {
|
|
|
12086
12117
|
shortcut: string | number;
|
|
12087
12118
|
} & object], string>;
|
|
12088
12119
|
readonly toggleLayersPanel: "Layers panel";
|
|
12089
|
-
readonly togglePropertiesPanel: "Properties panel";
|
|
12090
12120
|
readonly goodies: "Goodies";
|
|
12091
12121
|
readonly goodiesDescription: "Styles, design systems, scripts and shaders to start from.";
|
|
12092
12122
|
readonly goodiesFeatured: "Featured";
|
|
@@ -12683,7 +12713,7 @@ declare function useI18n(): {
|
|
|
12683
12713
|
readonly nextToolbarCategory: "Next toolbar category";
|
|
12684
12714
|
readonly removeGuide: "Remove guide";
|
|
12685
12715
|
readonly layersPanel: "Layers panel";
|
|
12686
|
-
readonly
|
|
12716
|
+
readonly designPanel: "Design panel";
|
|
12687
12717
|
readonly keyboardShortcuts: "Keyboard shortcuts";
|
|
12688
12718
|
readonly removeAutoLayout: "Remove auto layout";
|
|
12689
12719
|
readonly shaderMode: "Shader Mode";
|
|
@@ -12793,7 +12823,7 @@ declare function useI18n(): {
|
|
|
12793
12823
|
readonly nextToolbarCategory: "Next toolbar category";
|
|
12794
12824
|
readonly removeGuide: "Remove guide";
|
|
12795
12825
|
readonly layersPanel: "Layers panel";
|
|
12796
|
-
readonly
|
|
12826
|
+
readonly designPanel: "Design panel";
|
|
12797
12827
|
readonly keyboardShortcuts: "Keyboard shortcuts";
|
|
12798
12828
|
readonly removeAutoLayout: "Remove auto layout";
|
|
12799
12829
|
readonly shaderMode: "Shader Mode";
|
|
@@ -13556,7 +13586,7 @@ declare function useI18n(): {
|
|
|
13556
13586
|
} & {
|
|
13557
13587
|
size: string | number;
|
|
13558
13588
|
} & object], string>;
|
|
13559
|
-
readonly searchFonts: "Search fonts
|
|
13589
|
+
readonly searchFonts: "Search fonts…";
|
|
13560
13590
|
readonly noFontsFound: "No fonts found";
|
|
13561
13591
|
readonly searchIcons: "Search icons...";
|
|
13562
13592
|
readonly searchingIcons: "Searching…";
|
|
@@ -14376,7 +14406,7 @@ declare function useI18n(): {
|
|
|
14376
14406
|
} & {
|
|
14377
14407
|
size: string | number;
|
|
14378
14408
|
} & object], string>;
|
|
14379
|
-
readonly searchFonts: "Search fonts
|
|
14409
|
+
readonly searchFonts: "Search fonts…";
|
|
14380
14410
|
readonly noFontsFound: "No fonts found";
|
|
14381
14411
|
readonly searchIcons: "Search icons...";
|
|
14382
14412
|
readonly searchingIcons: "Searching…";
|
|
@@ -15319,6 +15349,8 @@ declare function useI18n(): {
|
|
|
15319
15349
|
} & {
|
|
15320
15350
|
from: string | number;
|
|
15321
15351
|
} & object], string>;
|
|
15352
|
+
readonly importMissingFilesHint: "Choose the folder these files sit in, so a resolver is read with all of them.";
|
|
15353
|
+
readonly importChooseFolder: "Choose folder";
|
|
15322
15354
|
readonly importNothing: "These files hold no design tokens.";
|
|
15323
15355
|
readonly importAction: "Import";
|
|
15324
15356
|
readonly importUnsupportedCSS: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -15530,6 +15562,8 @@ declare function useI18n(): {
|
|
|
15530
15562
|
} & {
|
|
15531
15563
|
from: string | number;
|
|
15532
15564
|
} & object], string>;
|
|
15565
|
+
readonly importMissingFilesHint: "Choose the folder these files sit in, so a resolver is read with all of them.";
|
|
15566
|
+
readonly importChooseFolder: "Choose folder";
|
|
15533
15567
|
readonly importNothing: "These files hold no design tokens.";
|
|
15534
15568
|
readonly importAction: "Import";
|
|
15535
15569
|
readonly importUnsupportedCSS: import("@nanostores/i18n").TranslationFunction<[{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../src/i18n/useI18n.ts"],"mappings":";;;;iBA8CgB,iBAAiB,sBAAsB,OAAO,UAAU,gBACzC,IAAI,WAAW;cAGjC,wBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAChB,qBAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BgB,QAAA,IAAI"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PickerCancelCause } from "./gesture.js";
|
|
1
2
|
import { Color } from "@pairdraw/scene-graph/primitives";
|
|
2
3
|
//#region src/primitives/ColorPicker/ColorPickerRoot.vue.d.ts
|
|
3
4
|
interface ColorPickerUI {
|
|
@@ -8,13 +9,20 @@ type __VLS_Props = {
|
|
|
8
9
|
color: Color;
|
|
9
10
|
label?: string;
|
|
10
11
|
ui?: ColorPickerUI;
|
|
12
|
+
/**
|
|
13
|
+
* For a colour with no undo history, such as a preference: Escape closing the picker puts back
|
|
14
|
+
* the colour it opened with. Otherwise Escape keeps the edit, as Figma's picker does.
|
|
15
|
+
*/
|
|
16
|
+
escapeReverts?: boolean;
|
|
11
17
|
};
|
|
18
|
+
declare function update(next: Color): void;
|
|
12
19
|
declare var __VLS_16: {
|
|
13
20
|
style: {
|
|
14
21
|
background: string;
|
|
15
22
|
};
|
|
16
23
|
}, __VLS_32: {
|
|
17
24
|
color: Color;
|
|
25
|
+
update: typeof update;
|
|
18
26
|
};
|
|
19
27
|
type __VLS_Slots = {} & {
|
|
20
28
|
trigger?: (props: typeof __VLS_16) => any;
|
|
@@ -22,13 +30,15 @@ type __VLS_Slots = {} & {
|
|
|
22
30
|
default?: (props: typeof __VLS_32) => any;
|
|
23
31
|
};
|
|
24
32
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
cancel: () => any;
|
|
33
|
+
cancel: (cause: PickerCancelCause) => any;
|
|
26
34
|
update: (color: Color) => any;
|
|
27
35
|
openChange: (open: boolean) => any;
|
|
36
|
+
commit: () => any;
|
|
28
37
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onCancel?: (() => any) | undefined;
|
|
38
|
+
onCancel?: ((cause: PickerCancelCause) => any) | undefined;
|
|
30
39
|
onUpdate?: ((color: Color) => any) | undefined;
|
|
31
40
|
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
41
|
+
onCommit?: (() => any) | undefined;
|
|
32
42
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
43
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
44
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"mappings":";;;UAyHiB;EACf;EACA;;KAGG;EACH,OAAO;EACP;EACA,KAAK;;;;;EAKL;;iBAkDO,OAAO,MAAM;YAmIlB;;;;GAAqB;SAAA;iBAAA;;KACpB;EACD,WAAW,cAAc;;EACzB,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useRetainedPopup } from "../../lifecycle/retention/popup.js";
|
|
2
|
+
import { usePickerGesture } from "./gesture.js";
|
|
2
3
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, isRef, normalizeClass, normalizeStyle, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
4
|
import { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from "reka-ui";
|
|
4
5
|
import { colorToCSS } from "@pairdraw/scene-graph/color";
|
|
@@ -9,28 +10,53 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
9
10
|
props: {
|
|
10
11
|
color: {},
|
|
11
12
|
label: { default: "Edit color" },
|
|
12
|
-
ui: {}
|
|
13
|
+
ui: {},
|
|
14
|
+
escapeReverts: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
}
|
|
13
18
|
},
|
|
14
19
|
emits: [
|
|
15
20
|
"update",
|
|
16
21
|
"openChange",
|
|
22
|
+
"commit",
|
|
17
23
|
"cancel"
|
|
18
24
|
],
|
|
19
25
|
setup(__props, { emit: __emit }) {
|
|
20
26
|
const emit = __emit;
|
|
21
27
|
const swatchBg = computed(() => colorToCSS(__props.color));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
let pressColor = { ...__props.color };
|
|
29
|
+
const gesture = usePickerGesture({
|
|
30
|
+
open: () => popupOpen.value,
|
|
31
|
+
beforeChange: () => {
|
|
32
|
+
pressColor = { ...__props.color };
|
|
33
|
+
},
|
|
34
|
+
commit: () => emit("commit"),
|
|
35
|
+
cancel: () => {
|
|
36
|
+
emit("update", pressColor);
|
|
37
|
+
emit("cancel", "press");
|
|
38
|
+
}
|
|
25
39
|
});
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
40
|
+
const { open: popupOpen, portalActive } = useRetainedPopup(void 0, () => onOpenChange(false));
|
|
41
|
+
let openColor = { ...__props.color };
|
|
42
|
+
/** A press still held when the picker closes is put back, whichever way it closes. */
|
|
43
|
+
function onOpenChange(open) {
|
|
44
|
+
if (open) openColor = { ...__props.color };
|
|
45
|
+
if (!open) gesture.abort();
|
|
46
|
+
emit("openChange", open);
|
|
47
|
+
}
|
|
48
|
+
function update(next) {
|
|
49
|
+
gesture.change(() => emit("update", next));
|
|
50
|
+
}
|
|
51
|
+
function onEscapeKeyDown() {
|
|
52
|
+
if (!__props.escapeReverts) return;
|
|
53
|
+
emit("update", openColor);
|
|
54
|
+
emit("cancel", "escape");
|
|
29
55
|
}
|
|
30
56
|
return (_ctx, _cache) => {
|
|
31
57
|
return openBlock(), createBlock(unref(PopoverRoot), {
|
|
32
58
|
open: unref(popupOpen),
|
|
33
|
-
"onUpdate:open": [_cache[0] || (_cache[0] = ($event) => isRef(popupOpen) ? popupOpen.value = $event : null),
|
|
59
|
+
"onUpdate:open": [_cache[0] || (_cache[0] = ($event) => isRef(popupOpen) ? popupOpen.value = $event : null), onOpenChange]
|
|
34
60
|
}, {
|
|
35
61
|
default: withCtx(() => [createVNode(unref(PopoverTrigger), { "as-child": "" }, {
|
|
36
62
|
default: withCtx(() => [renderSlot(_ctx.$slots, "trigger", { style: normalizeStyle({ background: swatchBg.value }) }, () => [createElementVNode("button", {
|
|
@@ -46,9 +72,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
46
72
|
"side-offset": 4,
|
|
47
73
|
side: "left",
|
|
48
74
|
"data-picker-content": "",
|
|
49
|
-
onEscapeKeyDown
|
|
75
|
+
onEscapeKeyDown
|
|
50
76
|
}, {
|
|
51
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
77
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
78
|
+
color: __props.color,
|
|
79
|
+
update
|
|
80
|
+
})]),
|
|
52
81
|
_: 3
|
|
53
82
|
}, 8, ["class"])]),
|
|
54
83
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport { colorToCSS } from '@pairdraw/scene-graph/color'\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport { useRetainedPopup } from '#vue/lifecycle/retention/popup'\n\nexport interface ColorPickerUI {\n content?: string\n swatch?: string\n}\n\nconst {\n color,\n label = 'Edit color',\n ui\n} = defineProps<{\n color: Color\n label?: string\n ui?: ColorPickerUI\n}>()\n\nconst emit = defineEmits<{\n update: [color: Color]\n openChange: [open: boolean]\n cancel: []\n}>()\n\nconst swatchBg = computed(() => colorToCSS(color))\nconst { open: popupOpen, portalActive } = useRetainedPopup(undefined, () => {\n
|
|
1
|
+
{"version":3,"file":"ColorPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport { colorToCSS } from '@pairdraw/scene-graph/color'\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport { useRetainedPopup } from '#vue/lifecycle/retention/popup'\n\nimport { usePickerGesture, type PickerCancelCause } from './gesture'\n\nexport interface ColorPickerUI {\n content?: string\n swatch?: string\n}\n\nconst {\n color,\n label = 'Edit color',\n ui,\n escapeReverts = false\n} = defineProps<{\n color: Color\n label?: string\n ui?: ColorPickerUI\n /**\n * For a colour with no undo history, such as a preference: Escape closing the picker puts back\n * the colour it opened with. Otherwise Escape keeps the edit, as Figma's picker does.\n */\n escapeReverts?: boolean\n}>()\n\nconst emit = defineEmits<{\n update: [color: Color]\n openChange: [open: boolean]\n /** Ends the edit made so far as one undo step: a press's release, or a change with none held. */\n commit: []\n /**\n * `press`: Escape during a press that changed the colour, or the picker closing during one; the\n * colour from before the press has just come back through `update`. `escape`: with\n * `escapeReverts`, Escape closed the picker after the colour it opened with came back.\n */\n cancel: [cause: PickerCancelCause]\n}>()\n\nconst swatchBg = computed(() => colorToCSS(color))\nlet pressColor: Color = { ...color }\nconst gesture = usePickerGesture({\n open: () => popupOpen.value,\n // The colour the press found when it first changed it, so a change from elsewhere since the\n // press began is not put back.\n beforeChange: () => {\n pressColor = { ...color }\n },\n commit: () => emit('commit'),\n cancel: () => {\n emit('update', pressColor)\n emit('cancel', 'press')\n }\n})\nconst { open: popupOpen, portalActive } = useRetainedPopup(undefined, () => onOpenChange(false))\n\nlet openColor: Color = { ...color }\n\n/** A press still held when the picker closes is put back, whichever way it closes. */\nfunction onOpenChange(open: boolean) {\n if (open) openColor = { ...color }\n if (!open) gesture.abort()\n emit('openChange', open)\n}\n\nfunction update(next: Color) {\n gesture.change(() => emit('update', next))\n}\n\nfunction onEscapeKeyDown() {\n if (!escapeReverts) return\n emit('update', openColor)\n emit('cancel', 'escape')\n}\n</script>\n\n<template>\n <PopoverRoot v-model:open=\"popupOpen\" @update:open=\"onOpenChange\">\n <PopoverTrigger as-child>\n <slot name=\"trigger\" :style=\"{ background: swatchBg }\">\n <button\n type=\"button\"\n :aria-label=\"label\"\n :class=\"ui?.swatch\"\n :style=\"{ background: swatchBg }\"\n />\n </slot>\n </PopoverTrigger>\n\n <PopoverPortal v-if=\"portalActive\">\n <PopoverContent\n :class=\"ui?.content\"\n :side-offset=\"4\"\n side=\"left\"\n data-picker-content\n @escape-key-down=\"onEscapeKeyDown\"\n >\n <slot :color=\"color\" :update=\"update\" />\n </PopoverContent>\n </PopoverPortal>\n </PopoverRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EAgCA,MAAM,OAAO;EAab,MAAM,WAAW,eAAe,WAAW,QAAA,KAAK,CAAC;EACjD,IAAI,aAAoB,EAAE,GAAG,QAAA,MAAM;EACnC,MAAM,UAAU,iBAAiB;GAC/B,YAAY,UAAU;GAGtB,oBAAoB;IAClB,aAAa,EAAE,GAAG,QAAA,MAAM;GAC1B;GACA,cAAc,KAAK,QAAQ;GAC3B,cAAc;IACZ,KAAK,UAAU,UAAU;IACzB,KAAK,UAAU,OAAO;GACxB;EACF,CAAC;EACD,MAAM,EAAE,MAAM,WAAW,iBAAiB,iBAAiB,KAAA,SAAiB,aAAa,KAAK,CAAC;EAE/F,IAAI,YAAmB,EAAE,GAAG,QAAA,MAAM;;EAGlC,SAAS,aAAa,MAAe;GACnC,IAAI,MAAM,YAAY,EAAE,GAAG,QAAA,MAAM;GACjC,IAAI,CAAC,MAAM,QAAQ,MAAM;GACzB,KAAK,cAAc,IAAI;EACzB;EAEA,SAAS,OAAO,MAAa;GAC3B,QAAQ,aAAa,KAAK,UAAU,IAAI,CAAC;EAC3C;EAEA,SAAS,kBAAkB;GACzB,IAAI,CAAC,QAAA,eAAe;GACpB,KAAK,UAAU,SAAS;GACxB,KAAK,UAAU,QAAQ;EACzB;;GAIE,OAAA,UAAA,GAAA,YAuBc,MAAA,WAAA,GAAA;IAvBO,MAAM,MAAA,SAAA;IAAA,iBAAA,CAAA,OAAA,OAAA,OAAA,MAAA,WAAA,MAAA,SAAA,IAAA,UAAS,QAAA,SAAA,OAAgB,YAAA;;IAUjC,SAAA,cAAA,CATjB,YASiB,MAAA,cAAA,GAAA,EATD,YAAA,GAAQ,GAAA;KAQf,SAAA,cAAA,CAPP,WAOO,KAAA,QAAA,WAAA,EAPe,OAAK,eAAA,EAAA,YAAgB,SAAA,MAAQ,CAAA,EAAA,SAO5C,CANL,mBAKE,UAAA;MAJA,MAAK;MACJ,cAAY,QAAA;MACZ,OAAK,eAAE,QAAA,IAAI,MAAM;MACjB,OAAK,eAAA,EAAA,YAAgB,SAAA,MAAQ,CAAA;;;IAKf,CAAA,GAAA,MAAA,YAAA,KAAA,UAAA,GAArB,YAUgB,MAAA,aAAA,GAAA,EAAA,KAAA,EAAA,GAAA;KADG,SAAA,cAAA,CARjB,YAQiB,MAAA,cAAA,GAAA;MAPd,OAAK,eAAE,QAAA,IAAI,OAAO;MAClB,eAAa;MACd,MAAK;MACL,uBAAA;MACkB;;MAEsB,SAAA,cAAA,CAAxC,WAAwC,KAAA,QAAA,WAAA;OAAjC,OAAO,QAAA;OAAgB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
//#region src/primitives/ColorPicker/gesture.d.ts
|
|
2
|
+
interface PickerGestureOptions {
|
|
3
|
+
/** Whether the picker is open; only then does a press inside it start a step. */
|
|
4
|
+
open: () => boolean;
|
|
5
|
+
/** Ends the edit made so far as one undo step. */
|
|
6
|
+
commit: () => void;
|
|
7
|
+
/** Puts back what the press being held has changed. */
|
|
8
|
+
cancel: () => void;
|
|
9
|
+
/** A held press is about to make its first change, such as the moment to note what it changes. */
|
|
10
|
+
beforeChange?: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Why a picker reports `cancel`: `press` when Escape, or the picker closing, put back a press's
|
|
14
|
+
* change; `escape` when Escape closed a picker that puts back the colour it opened with.
|
|
15
|
+
*/
|
|
16
|
+
type PickerCancelCause = 'press' | 'escape';
|
|
17
|
+
/**
|
|
18
|
+
* Groups a picker's changes into undo steps as Figma desktop 126 does. A press inside the picker
|
|
19
|
+
* and everything it changes until the release is one step, such as a drag over the colour area;
|
|
20
|
+
* a change made with no press held is a step of its own, such as a tab's click, a typed value, or
|
|
21
|
+
* a chosen image. A press counts in the picker or in one opened from it, such as a shader colour's.
|
|
22
|
+
* Escape while a press that changed something is held puts that back, leaves the picker open, and
|
|
23
|
+
* ends the drag: the control holding the pointer loses it, so it stops following until the
|
|
24
|
+
* release, and anything it still reports is dropped.
|
|
25
|
+
*/
|
|
26
|
+
declare function usePickerGesture({ open, commit, cancel, beforeChange }: PickerGestureOptions): {
|
|
27
|
+
/** Applies a change, unless Escape put its press back; with no press held it is a step. */
|
|
28
|
+
change(apply: () => void): void;
|
|
29
|
+
/**
|
|
30
|
+
* Applies a change that is a step of its own, such as an image that arrives once its file is
|
|
31
|
+
* read. While a press is held, even one Escape put back, it waits for the press to end, so it
|
|
32
|
+
* neither splits that step nor survives being put back with it, and steps keep their order.
|
|
33
|
+
*/
|
|
34
|
+
step(apply: () => void): void;
|
|
35
|
+
/** For the picker closing while a press is held, such as when it loses focus: drops it. */
|
|
36
|
+
abort(): void;
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { PickerCancelCause, PickerGestureOptions, usePickerGesture };
|
|
40
|
+
//# sourceMappingURL=gesture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gesture.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/gesture.ts"],"mappings":";UAEiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;KAOU;;;;;;;;;;iBAcI,mBAAmB,MAAM,QAAQ,QAAQ,gBAAgB;;EA+FvD,OAAA;;;;;;EAYF,KAAA"}
|