@kubohiroya/turbowarp-bubble 0.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/LICENSE +8 -0
- package/README.md +293 -0
- package/THIRD_PARTY_NOTICES.md +123 -0
- package/dist/composition.js +4317 -0
- package/dist/extension-manifest.json +245 -0
- package/dist/turbowarp-adapter.js +3977 -0
- package/dist/turbowarp-bubble.js +7887 -0
- package/dist/types/actor-transform.d.ts +36 -0
- package/dist/types/bubble-svg.d.ts +36 -0
- package/dist/types/composition.d.ts +121 -0
- package/dist/types/placement.d.ts +24 -0
- package/dist/types/text-layout.d.ts +42 -0
- package/dist/types/turbowarp-adapter.d.ts +69 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/actor-transform-guide.svg +68 -0
- package/docs/assets/animation-mode-guide.svg +126 -0
- package/docs/assets/block-quick-start.svg +230 -0
- package/docs/assets/bubble-lifecycle.gif +0 -0
- package/docs/assets/bubble-style-gallery.svg +138 -0
- package/docs/assets/placement-guide.svg +292 -0
- package/docs/assets/width-linebreak-guide.svg +99 -0
- package/docs/block-manual.ja.md +292 -0
- package/docs/block-manual.md +292 -0
- package/docs/index.html +486 -0
- package/docs/ja/index.html +486 -0
- package/package.json +104 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { BubbleDirectionName } from "./placement.js";
|
|
2
|
+
export declare const defaultBubbleDistance = 12;
|
|
3
|
+
export declare const defaultBubbleTailLength = 18;
|
|
4
|
+
export declare const defaultBubbleOffset: Readonly<{
|
|
5
|
+
x: 0;
|
|
6
|
+
y: 0;
|
|
7
|
+
scalePercent: 100;
|
|
8
|
+
}>;
|
|
9
|
+
export type BubbleOffsetInput = readonly [x: number, y: number] | readonly [x: number, y: number, scalePercent: number];
|
|
10
|
+
export interface BubbleOffset {
|
|
11
|
+
readonly x: number;
|
|
12
|
+
readonly y: number;
|
|
13
|
+
readonly scalePercent: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ActorBounds {
|
|
16
|
+
readonly bottom: number;
|
|
17
|
+
readonly left: number;
|
|
18
|
+
readonly right: number;
|
|
19
|
+
readonly top: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ActorRelativeCenterInput {
|
|
22
|
+
readonly bounds: ActorBounds;
|
|
23
|
+
readonly bubbleWidth: number;
|
|
24
|
+
readonly bubbleHeight: number;
|
|
25
|
+
readonly direction: BubbleDirectionName | number;
|
|
26
|
+
readonly distance: number;
|
|
27
|
+
readonly tailLength: number;
|
|
28
|
+
readonly offset: BubbleOffset;
|
|
29
|
+
}
|
|
30
|
+
export declare function normalizeBubbleDistance(value: unknown): number;
|
|
31
|
+
export declare function normalizeBubbleTailLength(value: unknown): number;
|
|
32
|
+
export declare function normalizeBubbleOffset(value: unknown): BubbleOffset;
|
|
33
|
+
export declare function actorRelativeBubbleCenter(input: ActorRelativeCenterInput): Readonly<{
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { BubbleOffsetInput } from "./actor-transform.js";
|
|
2
|
+
export declare const bubbleVisualStyles: readonly ["NORMAL", "THINKING", "DREAMING", "YELLING", "OFF_PANEL", "WAVY", "WHISPERING", "ANNOUNCEMENT", "NARRATION", "NO_BUBBLE"];
|
|
3
|
+
export type BubbleVisualStyle = (typeof bubbleVisualStyles)[number];
|
|
4
|
+
export interface RenderBubbleSvgInput {
|
|
5
|
+
readonly style: BubbleVisualStyle;
|
|
6
|
+
readonly lines: readonly string[];
|
|
7
|
+
readonly width?: number;
|
|
8
|
+
readonly height?: number;
|
|
9
|
+
/** Scratch direction: 0 is up, 90 is right. */
|
|
10
|
+
readonly tailDirection?: number | null;
|
|
11
|
+
readonly tailLength?: number;
|
|
12
|
+
readonly offset?: BubbleOffsetInput;
|
|
13
|
+
readonly fillColor?: string;
|
|
14
|
+
readonly borderColor?: string;
|
|
15
|
+
readonly textColor?: string;
|
|
16
|
+
readonly fontFamily?: string;
|
|
17
|
+
readonly fontSize?: number;
|
|
18
|
+
readonly title?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface BubbleBodyCenterOffsetInput {
|
|
21
|
+
readonly style: BubbleVisualStyle;
|
|
22
|
+
readonly width: number;
|
|
23
|
+
readonly height: number;
|
|
24
|
+
readonly tailDirection: number;
|
|
25
|
+
readonly tailLength?: number;
|
|
26
|
+
readonly offset: BubbleOffsetInput;
|
|
27
|
+
}
|
|
28
|
+
export declare function bubbleBodyCenterOffset(input: BubbleBodyCenterOffsetInput): Readonly<{
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Renders the canonical Bubble body preview as a standalone SVG document.
|
|
34
|
+
* The function is pure so documentation and runtime adapters can share it.
|
|
35
|
+
*/
|
|
36
|
+
export declare function renderBubbleSvg(input: RenderBubbleSvgInput): string;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { AssetManagerComposition, AssetManagerCompositionTarget } from "@kubohiroya/turbowarp-asset-manager/composition";
|
|
2
|
+
import type { SvgTextComposition, SvgTextTarget } from "@kubohiroya/turbowarp-svg-text/composition";
|
|
3
|
+
import { type BubblePlacement, type BubblePlacementInput } from "./placement.js";
|
|
4
|
+
import { type BubbleOffset, type BubbleOffsetInput } from "./actor-transform.js";
|
|
5
|
+
import { type BubbleVisualStyle } from "./bubble-svg.js";
|
|
6
|
+
export { UnicodeLineBreakProvider, wrapText, type LineBreakOpportunity, type LineBreakProvider, type TextWidthMeasurer, type WrappedTextLayout, type WrappedTextLine, type WrapTextInput, } from "./text-layout.js";
|
|
7
|
+
export { bubbleBackgroundRegions, bubbleDirectionAliases, bubbleDirectionNames, defaultBubblePlacementInput, normalizeBubblePlacement, type BubbleActorPlacement, type BubbleBackgroundPlacement, type BubbleBackgroundRegion, type BubbleDirectionAlias, type BubbleDirectionName, type BubblePlacement, type BubblePlacementInput, } from "./placement.js";
|
|
8
|
+
export { actorRelativeBubbleCenter, defaultBubbleDistance, defaultBubbleOffset, defaultBubbleTailLength, normalizeBubbleDistance, normalizeBubbleOffset, normalizeBubbleTailLength, type ActorBounds, type ActorRelativeCenterInput, type BubbleOffset, type BubbleOffsetInput, } from "./actor-transform.js";
|
|
9
|
+
export { bubbleBodyCenterOffset, bubbleVisualStyles, renderBubbleSvg, type BubbleBodyCenterOffsetInput, type BubbleVisualStyle, type RenderBubbleSvgInput, } from "./bubble-svg.js";
|
|
10
|
+
export type BubbleKind = "say" | "think";
|
|
11
|
+
export type BubbleAnimationMode = "idle" | "talking" | "awaiting-advance";
|
|
12
|
+
export type BubbleLayer = "portraitBase" | "portraitBlink" | "portraitTalk" | "advanceIndicator";
|
|
13
|
+
export interface BubbleFrameAnimationInput {
|
|
14
|
+
readonly frames: ReadonlyArray<string>;
|
|
15
|
+
readonly frameIntervalSeconds: number;
|
|
16
|
+
}
|
|
17
|
+
export interface BubblePortraitInput {
|
|
18
|
+
readonly base: string;
|
|
19
|
+
readonly blink?: BubbleFrameAnimationInput;
|
|
20
|
+
readonly talk?: BubbleFrameAnimationInput;
|
|
21
|
+
}
|
|
22
|
+
export interface BubbleStyleInput {
|
|
23
|
+
readonly name: string;
|
|
24
|
+
readonly textStyle: string;
|
|
25
|
+
readonly placement?: BubblePlacementInput;
|
|
26
|
+
readonly distance?: number;
|
|
27
|
+
readonly tailLength?: number;
|
|
28
|
+
readonly offset?: BubbleOffsetInput;
|
|
29
|
+
readonly visualStyle?: BubbleVisualStyle;
|
|
30
|
+
readonly portrait?: BubblePortraitInput;
|
|
31
|
+
readonly advanceIndicator?: BubbleFrameAnimationInput;
|
|
32
|
+
}
|
|
33
|
+
export interface BubbleFrameAnimation {
|
|
34
|
+
readonly frames: ReadonlyArray<string>;
|
|
35
|
+
readonly frameIntervalSeconds: number;
|
|
36
|
+
}
|
|
37
|
+
export interface BubblePortrait {
|
|
38
|
+
readonly base: string;
|
|
39
|
+
readonly blink?: BubbleFrameAnimation;
|
|
40
|
+
readonly talk?: BubbleFrameAnimation;
|
|
41
|
+
}
|
|
42
|
+
export interface BubbleStyle {
|
|
43
|
+
readonly name: string;
|
|
44
|
+
readonly textStyle: string;
|
|
45
|
+
readonly placement: BubblePlacement;
|
|
46
|
+
readonly distance: number;
|
|
47
|
+
readonly tailLength: number;
|
|
48
|
+
readonly offset: BubbleOffset;
|
|
49
|
+
readonly visualStyle: BubbleVisualStyle;
|
|
50
|
+
readonly portrait?: BubblePortrait;
|
|
51
|
+
readonly advanceIndicator?: BubbleFrameAnimation;
|
|
52
|
+
}
|
|
53
|
+
export type BubbleAssetManager = Pick<AssetManagerComposition, "applyToTarget" | "getMimeType" | "isRegistered">;
|
|
54
|
+
export type BubbleSvgText = Pick<SvgTextComposition, "releaseTarget" | "setText">;
|
|
55
|
+
export interface BubbleSurfaceTargets {
|
|
56
|
+
readonly text: SvgTextTarget;
|
|
57
|
+
readonly portraitBase?: AssetManagerCompositionTarget;
|
|
58
|
+
readonly portraitBlink?: AssetManagerCompositionTarget;
|
|
59
|
+
readonly portraitTalk?: AssetManagerCompositionTarget;
|
|
60
|
+
readonly advanceIndicator?: AssetManagerCompositionTarget;
|
|
61
|
+
}
|
|
62
|
+
export interface BubbleSurface {
|
|
63
|
+
readonly targets: BubbleSurfaceTargets;
|
|
64
|
+
setLayerVisible(layer: BubbleLayer, visible: boolean): void | Promise<void>;
|
|
65
|
+
show(): void | Promise<void>;
|
|
66
|
+
hide(): void | Promise<void>;
|
|
67
|
+
dispose(): void | Promise<void>;
|
|
68
|
+
}
|
|
69
|
+
export interface BubbleSurfaceFactoryInput {
|
|
70
|
+
readonly actor: unknown;
|
|
71
|
+
readonly actorKey: string;
|
|
72
|
+
readonly kind: BubbleKind;
|
|
73
|
+
readonly style: BubbleStyle;
|
|
74
|
+
}
|
|
75
|
+
export type BubbleSurfaceFactory = (input: BubbleSurfaceFactoryInput) => BubbleSurface | Promise<BubbleSurface>;
|
|
76
|
+
export interface BubbleScheduler {
|
|
77
|
+
setTimeout(callback: () => void, milliseconds: number): unknown;
|
|
78
|
+
clearTimeout(handle: unknown): void;
|
|
79
|
+
}
|
|
80
|
+
export interface BubbleAnimationErrorContext {
|
|
81
|
+
readonly actorKey: string;
|
|
82
|
+
readonly layer: Exclude<BubbleLayer, "portraitBase">;
|
|
83
|
+
readonly assetName: string;
|
|
84
|
+
}
|
|
85
|
+
export interface BubbleCompositionOptions {
|
|
86
|
+
readonly assetManager: BubbleAssetManager;
|
|
87
|
+
readonly svgText: BubbleSvgText;
|
|
88
|
+
readonly createSurface: BubbleSurfaceFactory;
|
|
89
|
+
readonly scheduler?: BubbleScheduler;
|
|
90
|
+
readonly onAnimationError?: (error: unknown, context: BubbleAnimationErrorContext) => void;
|
|
91
|
+
}
|
|
92
|
+
export interface ShowBubbleInput {
|
|
93
|
+
readonly actor: unknown;
|
|
94
|
+
readonly actorKey: string;
|
|
95
|
+
readonly kind: BubbleKind;
|
|
96
|
+
readonly text: string;
|
|
97
|
+
readonly styleName: string;
|
|
98
|
+
readonly animationMode?: BubbleAnimationMode;
|
|
99
|
+
}
|
|
100
|
+
export interface BubbleHandle {
|
|
101
|
+
readonly actorKey: string;
|
|
102
|
+
readonly kind: BubbleKind;
|
|
103
|
+
readonly animationMode: BubbleAnimationMode;
|
|
104
|
+
setText(text: string): Promise<void>;
|
|
105
|
+
setAnimationMode(mode: BubbleAnimationMode): Promise<void>;
|
|
106
|
+
close(): Promise<void>;
|
|
107
|
+
}
|
|
108
|
+
export interface BubbleComposition {
|
|
109
|
+
defineStyle(input: BubbleStyleInput): void;
|
|
110
|
+
hasActiveBubble(actorKey: unknown): boolean;
|
|
111
|
+
show(input: ShowBubbleInput): Promise<BubbleHandle>;
|
|
112
|
+
releaseTarget(actorKey: unknown): Promise<void>;
|
|
113
|
+
releaseAll(): Promise<void>;
|
|
114
|
+
dispose(): Promise<void>;
|
|
115
|
+
}
|
|
116
|
+
export type BubbleCompositionErrorCode = "BUBBLE-COMPOSITION-001" | "BUBBLE-COMPOSITION-002" | "BUBBLE-COMPOSITION-003" | "BUBBLE-COMPOSITION-004" | "BUBBLE-COMPOSITION-005";
|
|
117
|
+
export declare class BubbleCompositionError extends Error {
|
|
118
|
+
readonly code: BubbleCompositionErrorCode;
|
|
119
|
+
constructor(code: BubbleCompositionErrorCode, message: string);
|
|
120
|
+
}
|
|
121
|
+
export declare function createBubbleComposition(options: BubbleCompositionOptions): BubbleComposition;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const bubbleDirectionNames: readonly ["up", "up-up-right", "up-right", "right-up-right", "right", "right-down-right", "down-right", "down-down-right", "down", "down-down-left", "down-left", "left-down-left", "left", "left-up-left", "up-left", "up-up-left"];
|
|
2
|
+
export type BubbleDirectionName = (typeof bubbleDirectionNames)[number];
|
|
3
|
+
export declare const bubbleDirectionAliases: readonly ["north", "north-northeast", "northeast", "east-northeast", "east", "east-southeast", "southeast", "south-southeast", "south", "south-southwest", "southwest", "west-southwest", "west", "west-northwest", "northwest", "north-northwest"];
|
|
4
|
+
export type BubbleDirectionAlias = (typeof bubbleDirectionAliases)[number];
|
|
5
|
+
export declare const bubbleBackgroundRegions: readonly ["HEADER_LIKE", "CENTER", "FOOTER_LIKE"];
|
|
6
|
+
export type BubbleBackgroundRegion = (typeof bubbleBackgroundRegions)[number];
|
|
7
|
+
export type BubblePlacementInput = BubbleDirectionName | BubbleDirectionAlias | BubbleBackgroundRegion | number;
|
|
8
|
+
export interface BubbleActorPlacement {
|
|
9
|
+
readonly basis: "actor";
|
|
10
|
+
readonly direction: BubbleDirectionName | number;
|
|
11
|
+
}
|
|
12
|
+
export interface BubbleBackgroundPlacement {
|
|
13
|
+
readonly basis: "background";
|
|
14
|
+
readonly region: BubbleBackgroundRegion;
|
|
15
|
+
}
|
|
16
|
+
export type BubblePlacement = BubbleActorPlacement | BubbleBackgroundPlacement;
|
|
17
|
+
export interface BubbleDirectionVector {
|
|
18
|
+
readonly x: number;
|
|
19
|
+
readonly y: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const defaultBubblePlacementInput: BubbleDirectionName;
|
|
22
|
+
/** Accepts API values and numeric strings supplied by Scratch block inputs. */
|
|
23
|
+
export declare function normalizeBubblePlacement(value: unknown): BubblePlacement;
|
|
24
|
+
export declare function bubbleDirectionVector(direction: BubbleDirectionName | number): BubbleDirectionVector;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface LineBreakOpportunity {
|
|
2
|
+
/** UTF-16 code unit offset immediately after the break. */
|
|
3
|
+
readonly position: number;
|
|
4
|
+
readonly required: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface LineBreakProvider {
|
|
7
|
+
getBreakOpportunities(text: string): readonly LineBreakOpportunity[];
|
|
8
|
+
}
|
|
9
|
+
export type TextWidthMeasurer = (text: string) => number;
|
|
10
|
+
export interface WrapTextInput {
|
|
11
|
+
readonly text: string;
|
|
12
|
+
readonly maxWidth: number;
|
|
13
|
+
readonly measureText: TextWidthMeasurer;
|
|
14
|
+
readonly lineBreakProvider?: LineBreakProvider;
|
|
15
|
+
readonly locale?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WrappedTextLine {
|
|
18
|
+
readonly text: string;
|
|
19
|
+
/** UTF-16 code unit offset in the original text. */
|
|
20
|
+
readonly start: number;
|
|
21
|
+
/** UTF-16 code unit offset in the original text, excluding a newline. */
|
|
22
|
+
readonly end: number;
|
|
23
|
+
readonly width: number;
|
|
24
|
+
}
|
|
25
|
+
export interface WrappedTextLayout {
|
|
26
|
+
readonly lines: readonly WrappedTextLine[];
|
|
27
|
+
readonly maxLineWidth: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Adapts UAX #14 opportunities and removes positions inside grapheme clusters.
|
|
31
|
+
*/
|
|
32
|
+
export declare class UnicodeLineBreakProvider implements LineBreakProvider {
|
|
33
|
+
#private;
|
|
34
|
+
constructor(locale?: string);
|
|
35
|
+
getBreakOpportunities(text: string): readonly LineBreakOpportunity[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Greedily chooses the last legal break that fits the measured pixel width.
|
|
39
|
+
* Explicit newlines are preserved. Unbreakable overflow falls back to a
|
|
40
|
+
* grapheme boundary, even when a single grapheme is wider than maxWidth.
|
|
41
|
+
*/
|
|
42
|
+
export declare function wrapText(input: WrapTextInput): WrappedTextLayout;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type BubbleComposition, type BubbleCompositionOptions, type BubbleAssetManager, type BubbleScheduler, type BubbleSvgText } from "./composition.js";
|
|
2
|
+
export interface TurboWarpBubbleTarget {
|
|
3
|
+
readonly id: string;
|
|
4
|
+
readonly isStage: boolean;
|
|
5
|
+
readonly drawableID?: number | null;
|
|
6
|
+
readonly visible?: boolean;
|
|
7
|
+
readonly x?: number;
|
|
8
|
+
readonly y?: number;
|
|
9
|
+
getBoundsForBubble?(): {
|
|
10
|
+
readonly bottom: number;
|
|
11
|
+
readonly left: number;
|
|
12
|
+
readonly right: number;
|
|
13
|
+
readonly top: number;
|
|
14
|
+
};
|
|
15
|
+
onTargetVisualChange?: ((target?: TurboWarpBubbleTarget) => void) | null;
|
|
16
|
+
}
|
|
17
|
+
export interface TurboWarpBubbleRenderer {
|
|
18
|
+
createSVGSkin(svg: string): number;
|
|
19
|
+
createDrawable(layerGroup: string): number;
|
|
20
|
+
destroyDrawable(drawableId: number, layerGroup: string): void;
|
|
21
|
+
destroySkin(skinId: number): void;
|
|
22
|
+
getCurrentSkinSize(drawableId: number): unknown;
|
|
23
|
+
getNativeSize(): unknown;
|
|
24
|
+
updateDrawablePosition(drawableId: number, position: [number, number]): void;
|
|
25
|
+
updateDrawableScale(drawableId: number, scale: [number, number]): void;
|
|
26
|
+
updateDrawableSkinId(drawableId: number, skinId: number): void;
|
|
27
|
+
updateDrawableVisible(drawableId: number, visible: boolean): void;
|
|
28
|
+
setDrawableOrder?(drawableId: number, order: number, layerGroup: string, relative?: boolean): void;
|
|
29
|
+
}
|
|
30
|
+
export interface TurboWarpAssetManagerExtension {
|
|
31
|
+
isLoaded(args: Readonly<{
|
|
32
|
+
NAME: unknown;
|
|
33
|
+
}>): boolean;
|
|
34
|
+
getAssetMimeType(args: Readonly<{
|
|
35
|
+
NAME: unknown;
|
|
36
|
+
}>): string;
|
|
37
|
+
resolveSkin(value: unknown): Readonly<{
|
|
38
|
+
skinId: number;
|
|
39
|
+
}> | Promise<Readonly<{
|
|
40
|
+
skinId: number;
|
|
41
|
+
}>>;
|
|
42
|
+
}
|
|
43
|
+
export interface TurboWarpSvgTextExtension {
|
|
44
|
+
setText(args: Readonly<{
|
|
45
|
+
STYLE: unknown;
|
|
46
|
+
TEXT: unknown;
|
|
47
|
+
}>, util: Readonly<{
|
|
48
|
+
target: TurboWarpBubbleTarget;
|
|
49
|
+
}>): void;
|
|
50
|
+
releaseTextActor(target: TurboWarpBubbleTarget): boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface TurboWarpBubbleRuntime {
|
|
53
|
+
readonly renderer: TurboWarpBubbleRenderer;
|
|
54
|
+
readonly ext_kubohiroyaassetmanager?: TurboWarpAssetManagerExtension;
|
|
55
|
+
readonly ext_kubohiroyasvgtext?: TurboWarpSvgTextExtension;
|
|
56
|
+
requestRedraw?(): void;
|
|
57
|
+
}
|
|
58
|
+
export interface TurboWarpBubbleCompositionOptions {
|
|
59
|
+
readonly assetManager?: BubbleAssetManager;
|
|
60
|
+
readonly svgText?: BubbleSvgText;
|
|
61
|
+
readonly scheduler?: BubbleScheduler;
|
|
62
|
+
readonly onAnimationError?: BubbleCompositionOptions["onAnimationError"];
|
|
63
|
+
}
|
|
64
|
+
export type BubbleRuntimeAdapterErrorCode = "BUBBLE-RUNTIME-001" | "BUBBLE-RUNTIME-002" | "BUBBLE-RUNTIME-003";
|
|
65
|
+
export declare class BubbleRuntimeAdapterError extends Error {
|
|
66
|
+
readonly code: BubbleRuntimeAdapterErrorCode;
|
|
67
|
+
constructor(code: BubbleRuntimeAdapterErrorCode, message: string);
|
|
68
|
+
}
|
|
69
|
+
export declare function createTurboWarpBubbleComposition(runtimeInput: TurboWarpBubbleRuntime, options?: TurboWarpBubbleCompositionOptions): BubbleComposition;
|
package/docs/.nojekyll
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1532" height="486" viewBox="0 0 1532 486" role="img" aria-labelledby="title description">
|
|
3
|
+
<title id="title">Actor相対のdistance、tail length、offset、scale</title>
|
|
4
|
+
<desc id="description">実際のBubble SVG rendererで、Actor boundsからtail tipまでのdistance、本体borderまでのtail length、offsetと文字を含むscaleを比較する図。</desc>
|
|
5
|
+
<style>
|
|
6
|
+
text { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; }
|
|
7
|
+
.heading { fill: #25283a; font-size: 28px; font-weight: 700; }
|
|
8
|
+
.subheading { fill: #25283a; font-size: 20px; font-weight: 700; }
|
|
9
|
+
.body { fill: #25283a; font-size: 16px; }
|
|
10
|
+
.small { fill: #667085; font-size: 13px; }
|
|
11
|
+
.block-text { fill: #ffffff; font-size: 13px; font-weight: 600; }
|
|
12
|
+
.input-text { fill: #25283a; font-size: 13px; font-weight: 500; }
|
|
13
|
+
</style>
|
|
14
|
+
<rect width="1532" height="486" fill="#f2f4f8"/>
|
|
15
|
+
<text x="32" y="48" class="heading">Actor相対:distance・tail・offset・scale</text>
|
|
16
|
+
<text x="32" y="78" class="body">赤い点のtail tipを基準に本体を再生成。scaleはフォント、表情、アイコン、余白にも適用します。</text>
|
|
17
|
+
<g data-actor-transform-scene="distance-tail">
|
|
18
|
+
<rect x="32" y="112" width="472" height="340" rx="18" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
19
|
+
<text x="52" y="146" class="subheading">distance 12 / tail length 18</text>
|
|
20
|
+
<text x="52" y="170" class="small">Actor bounds → tail tip → Bubble border</text>
|
|
21
|
+
<rect x="50" y="184" width="436" height="202" rx="10" fill="#edf3fa" stroke="#aebdd0"/>
|
|
22
|
+
<rect x="106" y="246" width="66" height="92" rx="12" fill="#ffd5b5" stroke="#b85d63" stroke-width="2" data-actor-bounds="true"/>
|
|
23
|
+
<text x="139" y="360" text-anchor="middle" class="small">Actor bounds</text>
|
|
24
|
+
<svg x="178" y="218" width="260" height="130" viewBox="0 0 260 130" data-bubble-renderer="canonical" data-bubble-style="NORMAL" overflow="visible">
|
|
25
|
+
<title>distance 12 / tail length 18 preview</title><path d="M 24.0000 56.0000 L 24.0000 42.0000 L 24.2216 39.1842 L 24.8810 36.4377 L 25.9619 33.8282 L 27.4377 31.4199 L 29.2721 29.2721 L 31.4199 27.4377 L 33.8282 25.9619 L 36.4377 24.8810 L 39.1842 24.2216 L 42.0000 24.0000 L 218.0000 24.0000 L 220.8158 24.2216 L 223.5623 24.8810 L 226.1718 25.9619 L 228.5801 27.4377 L 230.7279 29.2721 L 232.5623 31.4199 L 234.0381 33.8282 L 235.1190 36.4377 L 235.7784 39.1842 L 236.0000 42.0000 L 236.0000 88.0000 L 235.7784 90.8158 L 235.1190 93.5623 L 234.0381 96.1718 L 232.5623 98.5801 L 230.7279 100.7279 L 228.5801 102.5623 L 226.1718 104.0381 L 223.5623 105.1190 L 220.8158 105.7784 L 218.0000 106.0000 L 42.0000 106.0000 L 39.1842 105.7784 L 36.4377 105.1190 L 33.8282 104.0381 L 31.4199 102.5623 L 29.2721 100.7279 L 27.4377 98.5801 L 25.9619 96.1718 L 24.8810 93.5623 L 24.2216 90.8158 L 24.0000 88.0000 L 24.0000 74.0000 L 6.0000 65.0000 Z" fill="#fff4cc" stroke="#6f5b45" stroke-width="3" stroke-linejoin="round" data-boolean-operation="union" data-tail-base-on-border="true" /><text x="130" y="60.125" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="15">基準サイズ</text><text x="130" y="80.375" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="15">100%</text>
|
|
26
|
+
</svg>
|
|
27
|
+
<circle cx="184" cy="283" r="4" fill="#ef476f"/>
|
|
28
|
+
<line x1="172" y1="318" x2="184" y2="318" stroke="#ef476f" stroke-width="2"/>
|
|
29
|
+
<path d="M 177 314 L 172 318 L 177 322 M 179 314 L 184 318 L 179 322" fill="none" stroke="#ef476f"/>
|
|
30
|
+
<text x="178" y="338" text-anchor="middle" style="fill:#ef476f;font-size:12px;font-weight:700">distance 12</text>
|
|
31
|
+
<line x1="184" y1="241" x2="202" y2="241" stroke="#5b7cfa" stroke-width="2"/>
|
|
32
|
+
<text x="193" y="233" text-anchor="middle" style="fill:#4767d8;font-size:12px;font-weight:700">tail 18</text>
|
|
33
|
+
</g>
|
|
34
|
+
<g data-actor-transform-scene="offset">
|
|
35
|
+
<rect x="532" y="112" width="472" height="340" rx="18" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
36
|
+
<text x="552" y="146" class="subheading">offset [10, -10]</text>
|
|
37
|
+
<text x="552" y="170" class="small">tail tipを固定し、本体を右10・下10へ移動</text>
|
|
38
|
+
<rect x="550" y="184" width="436" height="202" rx="10" fill="#edf3fa" stroke="#aebdd0"/>
|
|
39
|
+
<rect x="606" y="246" width="66" height="92" rx="12" fill="#ffd5b5" stroke="#b85d63" stroke-width="2" data-actor-bounds="true"/>
|
|
40
|
+
<text x="639" y="360" text-anchor="middle" class="small">Actor bounds</text>
|
|
41
|
+
<svg x="678" y="218" width="260" height="130" viewBox="0 0 260 130" data-bubble-renderer="canonical" data-bubble-style="NORMAL" overflow="visible">
|
|
42
|
+
<title>offset [10, -10] preview</title><path d="M 34.0000 58.0896 L 34.0000 52.0000 L 34.2216 49.1842 L 34.8810 46.4377 L 35.9619 43.8282 L 37.4377 41.4199 L 39.2721 39.2721 L 41.4199 37.4377 L 43.8282 35.9619 L 46.4377 34.8810 L 49.1842 34.2216 L 52.0000 34.0000 L 228.0000 34.0000 L 230.8158 34.2216 L 233.5623 34.8810 L 236.1718 35.9619 L 238.5801 37.4377 L 240.7279 39.2721 L 242.5623 41.4199 L 244.0381 43.8282 L 245.1190 46.4377 L 245.7784 49.1842 L 246.0000 52.0000 L 246.0000 98.0000 L 245.7784 100.8158 L 245.1190 103.5623 L 244.0381 106.1718 L 242.5623 108.5801 L 240.7279 110.7279 L 238.5801 112.5623 L 236.1718 114.0381 L 233.5623 115.1190 L 230.8158 115.7784 L 228.0000 116.0000 L 52.0000 116.0000 L 49.1842 115.7784 L 46.4377 115.1190 L 43.8282 114.0381 L 41.4199 112.5623 L 39.2721 110.7279 L 37.4377 108.5801 L 35.9619 106.1718 L 34.8810 103.5623 L 34.2216 100.8158 L 34.0000 98.0000 L 34.0000 76.0896 L 6.0000 65.0000 Z" fill="#fff4cc" stroke="#6f5b45" stroke-width="3" stroke-linejoin="round" data-boolean-operation="union" data-tail-base-on-border="true" /><text x="140" y="70.125" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="15">位置補正</text><text x="140" y="90.375" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="15">10, -10</text>
|
|
43
|
+
</svg>
|
|
44
|
+
<circle cx="684" cy="283" r="4" fill="#ef476f"/>
|
|
45
|
+
<line x1="672" y1="318" x2="684" y2="318" stroke="#ef476f" stroke-width="2"/>
|
|
46
|
+
<path d="M 677 314 L 672 318 L 677 322 M 679 314 L 684 318 L 679 322" fill="none" stroke="#ef476f"/>
|
|
47
|
+
<text x="678" y="338" text-anchor="middle" style="fill:#ef476f;font-size:12px;font-weight:700">distance 12</text>
|
|
48
|
+
<line x1="684" y1="241" x2="702" y2="241" stroke="#5b7cfa" stroke-width="2"/>
|
|
49
|
+
<text x="693" y="233" text-anchor="middle" style="fill:#4767d8;font-size:12px;font-weight:700">tail 18</text>
|
|
50
|
+
</g>
|
|
51
|
+
<g data-actor-transform-scene="scale">
|
|
52
|
+
<rect x="1032" y="112" width="472" height="340" rx="18" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
53
|
+
<text x="1052" y="146" class="subheading">offset [0, 0, 120]</text>
|
|
54
|
+
<text x="1052" y="170" class="small">文字を含む全体を120%化し、Actor側の間隔を維持</text>
|
|
55
|
+
<rect x="1050" y="184" width="436" height="202" rx="10" fill="#edf3fa" stroke="#aebdd0"/>
|
|
56
|
+
<rect x="1106" y="246" width="66" height="92" rx="12" fill="#ffd5b5" stroke="#b85d63" stroke-width="2" data-actor-bounds="true"/>
|
|
57
|
+
<text x="1139" y="360" text-anchor="middle" class="small">Actor bounds</text>
|
|
58
|
+
<svg x="1178" y="218" width="260" height="130" viewBox="0 0 260 130" data-bubble-renderer="canonical" data-bubble-style="NORMAL" overflow="visible">
|
|
59
|
+
<title>offset [0, 0, 120] preview</title><path d="M 24.0000 56.0000 L 24.0000 37.4000 L 24.2659 34.0210 L 25.0572 30.7252 L 26.3543 27.5938 L 28.1252 24.7038 L 30.3265 22.1265 L 32.9038 19.9252 L 35.7938 18.1543 L 38.9252 16.8572 L 42.2210 16.0659 L 45.6000 15.8000 L 256.8000 15.8000 L 260.1790 16.0659 L 263.4748 16.8572 L 266.6062 18.1543 L 269.4962 19.9252 L 272.0735 22.1265 L 274.2748 24.7038 L 276.0457 27.5938 L 277.3428 30.7252 L 278.1341 34.0210 L 278.4000 37.4000 L 278.4000 92.6000 L 278.1341 95.9790 L 277.3428 99.2748 L 276.0457 102.4062 L 274.2748 105.2962 L 272.0735 107.8735 L 269.4962 110.0748 L 266.6062 111.8457 L 263.4748 113.1428 L 260.1790 113.9341 L 256.8000 114.2000 L 45.6000 114.2000 L 42.2210 113.9341 L 38.9252 113.1428 L 35.7938 111.8457 L 32.9038 110.0748 L 30.3265 107.8735 L 28.1252 105.2962 L 26.3543 102.4062 L 25.0572 99.2748 L 24.2659 95.9790 L 24.0000 92.6000 L 24.0000 74.0000 L 6.0000 65.0000 Z" fill="#fff4cc" stroke="#6f5b45" stroke-width="3" stroke-linejoin="round" data-boolean-operation="union" data-tail-base-on-border="true" /><text x="151.2" y="59.15" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="18">文字も外形も</text><text x="151.2" y="83.45" text-anchor="middle" fill="#25283a" font-family="Noto Sans JP, sans-serif" font-size="18">120%</text>
|
|
60
|
+
</svg>
|
|
61
|
+
<circle cx="1184" cy="283" r="4" fill="#ef476f"/>
|
|
62
|
+
<line x1="1172" y1="318" x2="1184" y2="318" stroke="#ef476f" stroke-width="2"/>
|
|
63
|
+
<path d="M 1177 314 L 1172 318 L 1177 322 M 1179 314 L 1184 318 L 1179 322" fill="none" stroke="#ef476f"/>
|
|
64
|
+
<text x="1178" y="338" text-anchor="middle" style="fill:#ef476f;font-size:12px;font-weight:700">distance 12</text>
|
|
65
|
+
<line x1="1184" y1="241" x2="1202" y2="241" stroke="#5b7cfa" stroke-width="2"/>
|
|
66
|
+
<text x="1193" y="233" text-anchor="middle" style="fill:#4767d8;font-size:12px;font-weight:700">tail 18</text>
|
|
67
|
+
</g>
|
|
68
|
+
</svg>
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="500" viewBox="0 0 1200 500" role="img" aria-labelledby="title description">
|
|
3
|
+
<title id="title">Bubble animation mode比較</title>
|
|
4
|
+
<desc id="description">talking、awaiting-advance、idleにおける目パチ、口パク、advance framesの動作比較。</desc>
|
|
5
|
+
<style>
|
|
6
|
+
text { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; }
|
|
7
|
+
.heading { fill: #25283a; font-size: 28px; font-weight: 700; }
|
|
8
|
+
.subheading { fill: #25283a; font-size: 20px; font-weight: 700; }
|
|
9
|
+
.body { fill: #25283a; font-size: 16px; }
|
|
10
|
+
.small { fill: #667085; font-size: 13px; }
|
|
11
|
+
.block-text { fill: #ffffff; font-size: 13px; font-weight: 600; }
|
|
12
|
+
.input-text { fill: #25283a; font-size: 13px; font-weight: 500; }
|
|
13
|
+
</style>
|
|
14
|
+
|
|
15
|
+
<rect width="1200" height="500" fill="#f2f4f8"/>
|
|
16
|
+
<text x="32" y="47" class="heading">animation modeで表示中の動きを切り替える</text>
|
|
17
|
+
<text x="32" y="72" class="small">緑は実行中、灰色は停止・非表示です。目パチはBubbleが表示されている間継続します。</text>
|
|
18
|
+
<g>
|
|
19
|
+
<rect x="24" y="86" width="360" height="382" rx="20" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
20
|
+
<rect x="44" y="106" width="170" height="34" rx="17" fill="#e8ebf2"/>
|
|
21
|
+
<text x="129" y="129" text-anchor="middle" style="fill:#25283a;font-size:15px;font-weight:700">talking</text>
|
|
22
|
+
<text x="44" y="164" class="small">say/think直後</text>
|
|
23
|
+
<g>
|
|
24
|
+
<circle cx="100" cy="253" r="37.44" fill="#ffd5b5" stroke="#b85d63" stroke-width="2.88"/>
|
|
25
|
+
<path d="M 65.44 236.44 Q 100 196.84 134.56 236.44 Q 118 219.16 100 228.52 Q 82 219.16 65.44 236.44" fill="#50354f"/>
|
|
26
|
+
<ellipse cx="87.04" cy="244.36" rx="2.88" ry="5.04" fill="#3b2d3c"/>
|
|
27
|
+
<ellipse cx="112.96" cy="244.36" rx="2.88" ry="5.04" fill="#3b2d3c"/>
|
|
28
|
+
<ellipse cx="100" cy="267.4" rx="6.4799999999999995" ry="8.64" fill="#7c2945"/>
|
|
29
|
+
</g>
|
|
30
|
+
<g>
|
|
31
|
+
<rect x="163" y="196" width="190" height="112" rx="28" fill="#fff4cc" stroke="#725a42" stroke-width="3"/>
|
|
32
|
+
<path d="M 193 302 L 167 338 L 241 305 Z" fill="#fff4cc" stroke="#725a42" stroke-width="3" stroke-linejoin="round"/>
|
|
33
|
+
<path d="M 189 308 H 245" stroke="#fff4cc" stroke-width="8"/>
|
|
34
|
+
<text x="199" y="266" style="fill:#25283a;font-size:17px;font-weight:700">海へ出発!</text>
|
|
35
|
+
|
|
36
|
+
</g>
|
|
37
|
+
<g transform="translate(0 0)">
|
|
38
|
+
<circle cx="56" cy="355" r="7" fill="#20a464"/>
|
|
39
|
+
<text x="74" y="361" class="body">目パチ</text>
|
|
40
|
+
<text x="352" y="361" text-anchor="end" class="body" style="font-weight:700">実行</text>
|
|
41
|
+
</g>
|
|
42
|
+
<g transform="translate(0 35)">
|
|
43
|
+
<circle cx="56" cy="355" r="7" fill="#20a464"/>
|
|
44
|
+
<text x="74" y="361" class="body">口パク</text>
|
|
45
|
+
<text x="352" y="361" text-anchor="end" class="body" style="font-weight:700">実行</text>
|
|
46
|
+
</g>
|
|
47
|
+
<g transform="translate(0 70)">
|
|
48
|
+
<circle cx="56" cy="355" r="7" fill="#c7ccd8"/>
|
|
49
|
+
<text x="74" y="361" class="body">次へ</text>
|
|
50
|
+
<text x="352" y="361" text-anchor="end" class="body" style="font-weight:700">非表示</text>
|
|
51
|
+
</g>
|
|
52
|
+
</g>
|
|
53
|
+
<g>
|
|
54
|
+
<rect x="420" y="86" width="360" height="382" rx="20" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
55
|
+
<rect x="440" y="106" width="170" height="34" rx="17" fill="#ff6680"/>
|
|
56
|
+
<text x="525" y="129" text-anchor="middle" style="fill:#ffffff;font-size:15px;font-weight:700">awaiting-advance</text>
|
|
57
|
+
<text x="440" y="164" class="small">ユーザの「次へ」操作待ち</text>
|
|
58
|
+
<g>
|
|
59
|
+
<circle cx="496" cy="253" r="37.44" fill="#ffd5b5" stroke="#b85d63" stroke-width="2.88"/>
|
|
60
|
+
<path d="M 461.44 236.44 Q 496 196.84 530.56 236.44 Q 514 219.16 496 228.52 Q 478 219.16 461.44 236.44" fill="#50354f"/>
|
|
61
|
+
<path d="M 478 244.36 Q 483.04 248.68 488.08000000000004 244.36" fill="none" stroke="#3b2d3c" stroke-width="2.16" stroke-linecap="round"/>
|
|
62
|
+
<path d="M 503.91999999999996 244.36 Q 508.96 248.68 514 244.36" fill="none" stroke="#3b2d3c" stroke-width="2.16" stroke-linecap="round"/>
|
|
63
|
+
<path d="M 488.8 268.12 Q 496 271.72 503.2 268.12" fill="none" stroke="#7c2945" stroke-width="2.16" stroke-linecap="round"/>
|
|
64
|
+
</g>
|
|
65
|
+
<g>
|
|
66
|
+
<rect x="559" y="196" width="190" height="112" rx="28" fill="#fff4cc" stroke="#725a42" stroke-width="3"/>
|
|
67
|
+
<path d="M 589 302 L 563 338 L 637 305 Z" fill="#fff4cc" stroke="#725a42" stroke-width="3" stroke-linejoin="round"/>
|
|
68
|
+
<path d="M 585 308 H 641" stroke="#fff4cc" stroke-width="8"/>
|
|
69
|
+
<text x="595" y="266" style="fill:#25283a;font-size:17px;font-weight:700">海へ出発!</text>
|
|
70
|
+
<g transform="translate(0 0)">
|
|
71
|
+
<path d="M 691 254 l 18 0 l -9 12 z" fill="#ff6680"/>
|
|
72
|
+
<path d="M 691 273 l 18 0 l -9 12 z" fill="#d94b68"/>
|
|
73
|
+
</g>
|
|
74
|
+
</g>
|
|
75
|
+
<g transform="translate(0 0)">
|
|
76
|
+
<circle cx="452" cy="355" r="7" fill="#20a464"/>
|
|
77
|
+
<text x="470" y="361" class="body">目パチ</text>
|
|
78
|
+
<text x="748" y="361" text-anchor="end" class="body" style="font-weight:700">実行</text>
|
|
79
|
+
</g>
|
|
80
|
+
<g transform="translate(0 35)">
|
|
81
|
+
<circle cx="452" cy="355" r="7" fill="#c7ccd8"/>
|
|
82
|
+
<text x="470" y="361" class="body">口パク</text>
|
|
83
|
+
<text x="748" y="361" text-anchor="end" class="body" style="font-weight:700">停止</text>
|
|
84
|
+
</g>
|
|
85
|
+
<g transform="translate(0 70)">
|
|
86
|
+
<circle cx="452" cy="355" r="7" fill="#20a464"/>
|
|
87
|
+
<text x="470" y="361" class="body">次へ</text>
|
|
88
|
+
<text x="748" y="361" text-anchor="end" class="body" style="font-weight:700">ループ</text>
|
|
89
|
+
</g>
|
|
90
|
+
</g>
|
|
91
|
+
<g>
|
|
92
|
+
<rect x="816" y="86" width="360" height="382" rx="20" fill="#ffffff" stroke="#d9deea" stroke-width="2"/>
|
|
93
|
+
<rect x="836" y="106" width="170" height="34" rx="17" fill="#e8ebf2"/>
|
|
94
|
+
<text x="921" y="129" text-anchor="middle" style="fill:#25283a;font-size:15px;font-weight:700">idle</text>
|
|
95
|
+
<text x="836" y="164" class="small">表示したまま静止</text>
|
|
96
|
+
<g>
|
|
97
|
+
<circle cx="892" cy="253" r="37.44" fill="#ffd5b5" stroke="#b85d63" stroke-width="2.88"/>
|
|
98
|
+
<path d="M 857.44 236.44 Q 892 196.84 926.56 236.44 Q 910 219.16 892 228.52 Q 874 219.16 857.44 236.44" fill="#50354f"/>
|
|
99
|
+
<ellipse cx="879.04" cy="244.36" rx="2.88" ry="5.04" fill="#3b2d3c"/>
|
|
100
|
+
<ellipse cx="904.96" cy="244.36" rx="2.88" ry="5.04" fill="#3b2d3c"/>
|
|
101
|
+
<path d="M 884.8 268.12 Q 892 271.72 899.2 268.12" fill="none" stroke="#7c2945" stroke-width="2.16" stroke-linecap="round"/>
|
|
102
|
+
</g>
|
|
103
|
+
<g>
|
|
104
|
+
<rect x="955" y="196" width="190" height="112" rx="28" fill="#fff4cc" stroke="#725a42" stroke-width="3"/>
|
|
105
|
+
<path d="M 985 302 L 959 338 L 1033 305 Z" fill="#fff4cc" stroke="#725a42" stroke-width="3" stroke-linejoin="round"/>
|
|
106
|
+
<path d="M 981 308 H 1037" stroke="#fff4cc" stroke-width="8"/>
|
|
107
|
+
<text x="991" y="266" style="fill:#25283a;font-size:17px;font-weight:700">海へ出発!</text>
|
|
108
|
+
|
|
109
|
+
</g>
|
|
110
|
+
<g transform="translate(0 0)">
|
|
111
|
+
<circle cx="848" cy="355" r="7" fill="#20a464"/>
|
|
112
|
+
<text x="866" y="361" class="body">目パチ</text>
|
|
113
|
+
<text x="1144" y="361" text-anchor="end" class="body" style="font-weight:700">実行</text>
|
|
114
|
+
</g>
|
|
115
|
+
<g transform="translate(0 35)">
|
|
116
|
+
<circle cx="848" cy="355" r="7" fill="#c7ccd8"/>
|
|
117
|
+
<text x="866" y="361" class="body">口パク</text>
|
|
118
|
+
<text x="1144" y="361" text-anchor="end" class="body" style="font-weight:700">停止</text>
|
|
119
|
+
</g>
|
|
120
|
+
<g transform="translate(0 70)">
|
|
121
|
+
<circle cx="848" cy="355" r="7" fill="#c7ccd8"/>
|
|
122
|
+
<text x="866" y="361" class="body">次へ</text>
|
|
123
|
+
<text x="1144" y="361" text-anchor="end" class="body" style="font-weight:700">非表示</text>
|
|
124
|
+
</g>
|
|
125
|
+
</g>
|
|
126
|
+
</svg>
|