@burger-editor/blocks 4.0.0-alpha.31 → 4.0.0-alpha.32

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.
Files changed (2) hide show
  1. package/dist/index.js +39 -28
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var style$b = "/* No Styling */\n";
9
9
  var template$b = "<a href=\"\" data-kind=\"link\" data-before-icon=\"none\" data-after-icon=\"none\" data-bge=\"link:href, target:target, kind:data-kind, before-icon:data-before-icon, after-icon:data-after-icon\">\n\t<div>\n\t\t<span data-bge=\"text\">ボタン</span>\n\t\t<span data-bge=\"subtext\">サブテキスト</span>\n\t</div>\n</a>\n";
10
10
 
11
11
  var button = createItem({
12
- version: "4.0.0-alpha.30",
12
+ version: "4.0.0-alpha.31",
13
13
  name: "button",
14
14
  template: template$b,
15
15
  style: style$b,
@@ -23,14 +23,14 @@ var button = createItem({
23
23
  { value: "tertiary", label: "\u30BF\u30FC\u30B7\u30E3\u30EA\u30DC\u30BF\u30F3" },
24
24
  { value: "text", label: "\u30C6\u30AD\u30B9\u30C8\u30EA\u30F3\u30AF" }
25
25
  ],
26
- editor2.engine.config.experimental?.itemOptions?.button?.kinds
26
+ editor2.config.experimental?.itemOptions?.button?.kinds
27
27
  );
28
28
  const beforeIconOptions = mergeOptions(
29
29
  [
30
30
  { value: "none", label: "\u306A\u3057" },
31
31
  { value: "arrow-left", label: "\u5DE6\u77E2\u5370" }
32
32
  ],
33
- editor2.engine.config.experimental?.itemOptions?.button?.beforeIcons
33
+ editor2.config.experimental?.itemOptions?.button?.beforeIcons
34
34
  );
35
35
  const afterIconOptions = mergeOptions(
36
36
  [
@@ -40,7 +40,7 @@ var button = createItem({
40
40
  { value: "external", label: "\u5225\u30BF\u30D6" },
41
41
  { value: "text-file", label: "\u30D5\u30A1\u30A4\u30EB" }
42
42
  ],
43
- editor2.engine.config.experimental?.itemOptions?.button?.afterIcons
43
+ editor2.config.experimental?.itemOptions?.button?.afterIcons
44
44
  );
45
45
  editor2.setOptions("bge-kind", kindOptions);
46
46
  editor2.setOptions("bge-before-icon", beforeIconOptions);
@@ -65,7 +65,7 @@ var style$a = "/* No Styling */\n";
65
65
  var template$a = "<details data-bge=\"open:open\">\n\t<summary data-bge=\"summary\">折りたたみコンテンツ</summary>\n\t<div data-bge=\"content\"><p>内容を入力してください</p></div>\n</details>\n";
66
66
 
67
67
  var details = createItem({
68
- version: "4.0.0-alpha.30",
68
+ version: "4.0.0-alpha.31",
69
69
  name: "details",
70
70
  template: template$a,
71
71
  style: style$a,
@@ -79,20 +79,20 @@ var style$9 = "[data-bgi='download-file'] {\n\t[data-bge*='size'] {\n\t\t&::befo
79
79
  var template$9 = "<a href=\"./files/bgeditor/bg-sample.pdf\" target=\"_blank\" data-bge=\"path:href, download:download\">\n\t<div>\n\t\t<span data-bge=\"name\">サンプルダウンロードファイル</span>\n\t\t<span data-bge=\"formated-size, size:data-size\" data-size=\"138158\">134.92kB</span>\n\t</div>\n</a>\n";
80
80
 
81
81
  var downloadFile = createItem({
82
- version: "4.0.0-alpha.30",
82
+ version: "4.0.0-alpha.31",
83
83
  name: "download-file",
84
84
  template: template$9,
85
85
  style: style$9,
86
86
  editor: editor$9,
87
87
  editorOptions: {
88
88
  open(data, editor2) {
89
- editor2.engine.componentObserver.notify("file-select", {
89
+ editor2.componentObserver.notify("file-select", {
90
90
  path: data.path,
91
91
  fileSize: Number.parseFloat(data.size ?? "0"),
92
92
  isEmpty: data.path === "",
93
93
  isMounted: false
94
94
  });
95
- editor2.engine.componentObserver.on("file-select", ({ path, fileSize, isEmpty }) => {
95
+ editor2.componentObserver.on("file-select", ({ path, fileSize, isEmpty }) => {
96
96
  if (isEmpty) {
97
97
  return;
98
98
  }
@@ -118,7 +118,7 @@ var style$8 = "[data-bgi='google-maps'] {\n\tdiv {\n\t\tinline-size: 100%;\n\t\t
118
118
  var template$8 = "<div data-lat=\"35.681382\" data-lng=\"139.766084\" data-zoom=\"16\" data-bge=\"lat:data-lat, lng:data-lng, zoom:data-zoom\">\n\t<img data-bge=\"img:src\" src=\"https://maps.google.com/maps/api/staticmap?center=35.681382,139.766084&amp;zoom=16&amp;size=640x400&amp;markers=color:red|color:red|35.681382,139.766084&amp;scale=2&amp;key=%googleMapsApiKey%\" width=\"8\" height=\"5\" alt=\"Google Maps\" />\n</div>\n<a href=\"https://maps.apple.com/?q=35.681382,139.766084\" data-bge=\"url:href\" target=\"_blank\"><span>アプリで開く</span></a>\n";
119
119
 
120
120
  var googleMaps = createItem({
121
- version: "4.0.0-alpha.30",
121
+ version: "4.0.0-alpha.31",
122
122
  name: "google-maps",
123
123
  template: template$8,
124
124
  style: style$8,
@@ -221,7 +221,7 @@ var googleMaps = createItem({
221
221
  scale: "2",
222
222
  size: `${640}x${400}`,
223
223
  markers: `color:red|color:red|${newData.lat},${newData.lng}`,
224
- key: editor2.engine.config.googleMapsApiKey ?? ""
224
+ key: editor2.config.googleMapsApiKey ?? ""
225
225
  });
226
226
  const img = `${BASE_URL}?${param}`;
227
227
  return {
@@ -238,7 +238,7 @@ var googleMaps = createItem({
238
238
  return data;
239
239
  },
240
240
  isDisable(item) {
241
- if (item.editor.engine.config.googleMapsApiKey) {
241
+ if (item.editor.config.googleMapsApiKey) {
242
242
  return "";
243
243
  }
244
244
  return "Google Maps API\u30AD\u30FC\u304C\u767B\u9332\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002\n\u300C\u30B7\u30B9\u30C6\u30E0\u8A2D\u5B9A\u300D\u304B\u3089API\u30AD\u30FC\u3092\u767B\u9332\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002";
@@ -253,14 +253,14 @@ var style$7 = "[data-bgi='hr'] {\n\t--inline-size: 100%;\n\t--border-color: #000
253
253
  var template$7 = "<div data-bgi-hr-kind=\"primary\" data-bge=\"kind:data-bgi-hr-kind\">\n\t<hr />\n</div>\n";
254
254
 
255
255
  var hr = createItem({
256
- version: "4.0.0-alpha.30",
256
+ version: "4.0.0-alpha.31",
257
257
  name: "hr",
258
258
  template: template$7,
259
259
  style: style$7,
260
260
  editor: editor$7
261
261
  });
262
262
 
263
- var editor$6 = "<div data-bge-dialog=\"2col\">\n\t<div data-bge-dialog-ui=\"sticky\">\n\t\t<div>\n\t\t\t<div data-bge-editor-ui=\"tabs\" data-bge-editor-ui-for=\"bgi-image__tabs-content\"></div>\n\n\t\t\t<div id=\"bgi-image__tabs-content\" role=\"tabpanel\" aria-label=\"画像\">\n\t\t\t\t<div data-bge-editor-ui=\"preview\"></div>\n\t\t\t\t<input type=\"hidden\" name=\"bge-path[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-alt[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-width[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-height[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-media[]\" />\n\n\t\t\t\t<input type=\"hidden\" name=\"bge-file-size\" />\n\t\t\t\t<div>\n\t\t\t\t\t<label>\n\t\t\t\t\t\t<span>メディアクエリー</span>\n\t\t\t\t\t\t<input type=\"text\" name=\"bge-media-input\" />\n\t\t\t\t\t</label>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div>\n\t\t\t<fieldset>\n\t\t\t\t<legend>画像のサイズ</legend>\n\t\t\t\t<div role=\"radiogroup\" aria-labelledby=\"bgi-image__radio-group1\">\n\t\t\t\t\t<div id=\"bgi-image__radio-group1\">基準</div>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-scale-type\" value=\"container\" /><span>基準</span></label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-scale-type\" value=\"original\" checked />画像基準</label>\n\t\t\t\t</div>\n\t\t\t\t<div>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<label for=\"bgi-image__range-number\">幅</label>\n\t\t\t\t\t\t<input type=\"number\" id=\"bgi-image__range-number\" name=\"bge-css-width-number\" min=\"1\" step=\"1\" value=\"100\" />\n\t\t\t\t\t\t<output name=\"bge-css-width-unit\">px</output>\n\t\t\t\t\t</span>\n\t\t\t\t\t<input aria-label=\"幅\" type=\"range\" name=\"bge-scale\" min=\"1\" max=\"100\" step=\"1\" value=\"100\" />\n\t\t\t\t</div>\n\t\t\t\t<div role=\"radiogroup\" aria-labelledby=\"bgi-image__radio-group2\">\n\t\t\t\t\t<div id=\"bgi-image__radio-group2\">縦横比</div>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"unset\" checked />オリジナル</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"1/1\" />1 : 1</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"4/3\" />4 : 3</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"16/9\" />16 : 9</label>\n\t\t\t\t</div>\n\t\t\t\t<input type=\"hidden\" name=\"bge-css-width\" />\n\t\t\t</fieldset>\n\t\t\t<label>\n\t\t\t\t<span>画像の代替テキスト(alt)</span>\n\t\t\t\t<input type=\"text\" name=\"bge-alt-editable\" />\n\t\t\t</label>\n\t\t\t<label>\n\t\t\t\t<span>キャプション</span>\n\t\t\t\t<input type=\"text\" name=\"bge-caption\" />\n\t\t\t</label>\n\t\t\t<fieldset>\n\t\t\t\t<legend>リンク</legend>\n\t\t\t\t<label><input type=\"checkbox\" name=\"bge-popup\" />ポップアップで画像を開く</label>\n\t\t\t\t<label>\n\t\t\t\t\t<span>リンク先URL</span>\n\t\t\t\t\t<input type=\"url\" name=\"bge-href\" />\n\t\t\t\t</label>\n\t\t\t\t<label><input type=\"checkbox\" name=\"bge-target-blank\" />別タブで開く</label>\n\t\t\t</fieldset>\n\t\t\t<label><input type=\"checkbox\" name=\"bge-lazy\" checked aria-describedby=\"bge-lazy-desc\" />遅延読み込み</label>\n\t\t\t<small id=\"bge-lazy-desc\">画像がブラウザの表示エリアに現れるまでファイルを読み込みません。</small>\n\t\t</div>\n\t</div>\n\t<div>\n\t\t<div data-bge-editor-ui=\"imageUploader\"></div>\n\t\t<div data-bge-editor-ui=\"imageList\"></div>\n\t</div>\n</div>\n";
263
+ var editor$6 = "<div data-bge-dialog=\"2col\">\n\t<div data-bge-dialog-ui=\"sticky\">\n\t\t<div>\n\t\t\t<div data-bge-editor-ui=\"tabs\" data-bge-editor-ui-for=\"bgi-image__tabs-content\"></div>\n\n\t\t\t<div id=\"bgi-image__tabs-content\" role=\"tabpanel\" aria-label=\"画像\">\n\t\t\t\t<div data-bge-editor-ui=\"preview\"></div>\n\t\t\t\t<input type=\"hidden\" name=\"bge-path[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-alt[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-width[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-height[]\" />\n\t\t\t\t<input type=\"hidden\" name=\"bge-media[]\" />\n\n\t\t\t\t<input type=\"hidden\" name=\"bge-file-size\" />\n\t\t\t\t<div>\n\t\t\t\t\t<label>\n\t\t\t\t\t\t<span>メディアクエリー</span>\n\t\t\t\t\t\t<input type=\"text\" name=\"bge-media-input\" />\n\t\t\t\t\t</label>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div>\n\t\t\t<fieldset id=\"bge-image-size-fieldset\">\n\t\t\t\t<legend>画像のサイズ</legend>\n\t\t\t\t<div role=\"radiogroup\" aria-labelledby=\"bgi-image__radio-group1\">\n\t\t\t\t\t<div id=\"bgi-image__radio-group1\">基準</div>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-scale-type\" value=\"container\" /><span>基準</span></label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-scale-type\" value=\"original\" checked />画像基準</label>\n\t\t\t\t</div>\n\t\t\t\t<div>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<label for=\"bgi-image__range-number\">幅</label>\n\t\t\t\t\t\t<input type=\"number\" id=\"bgi-image__range-number\" name=\"bge-css-width-number\" min=\"1\" step=\"1\" value=\"100\" />\n\t\t\t\t\t\t<output name=\"bge-css-width-unit\">px</output>\n\t\t\t\t\t</span>\n\t\t\t\t\t<input aria-label=\"幅\" type=\"range\" name=\"bge-scale\" min=\"1\" max=\"100\" step=\"1\" value=\"100\" />\n\t\t\t\t</div>\n\t\t\t\t<div role=\"radiogroup\" aria-labelledby=\"bgi-image__radio-group2\">\n\t\t\t\t\t<div id=\"bgi-image__radio-group2\">縦横比</div>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"unset\" checked />オリジナル</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"1/1\" />1 : 1</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"4/3\" />4 : 3</label>\n\t\t\t\t\t<label><input type=\"radio\" name=\"bge-aspect-ratio\" value=\"16/9\" />16 : 9</label>\n\t\t\t\t</div>\n\t\t\t\t<input type=\"hidden\" name=\"bge-css-width\" />\n\t\t\t</fieldset>\n\t\t\t<label>\n\t\t\t\t<span>画像の代替テキスト(alt)</span>\n\t\t\t\t<input type=\"text\" name=\"bge-alt-editable\" />\n\t\t\t</label>\n\t\t\t<label>\n\t\t\t\t<span>キャプション</span>\n\t\t\t\t<input type=\"text\" name=\"bge-caption\" />\n\t\t\t</label>\n\t\t\t<fieldset>\n\t\t\t\t<legend>リンク</legend>\n\t\t\t\t<label><input type=\"checkbox\" name=\"bge-popup\" />ポップアップで画像を開く</label>\n\t\t\t\t<label>\n\t\t\t\t\t<span>リンク先URL</span>\n\t\t\t\t\t<input type=\"url\" name=\"bge-href\" />\n\t\t\t\t</label>\n\t\t\t\t<label><input type=\"checkbox\" name=\"bge-target-blank\" />別タブで開く</label>\n\t\t\t</fieldset>\n\t\t\t<label><input type=\"checkbox\" name=\"bge-lazy\" checked aria-describedby=\"bge-lazy-desc\" />遅延読み込み</label>\n\t\t\t<small id=\"bge-lazy-desc\">画像がブラウザの表示エリアに現れるまでファイルを読み込みません。</small>\n\t\t</div>\n\t</div>\n\t<div>\n\t\t<div data-bge-editor-ui=\"imageUploader\"></div>\n\t\t<div data-bge-editor-ui=\"imageList\"></div>\n\t</div>\n</div>\n";
264
264
 
265
265
  var style$6 = "[data-bgi='image'] {\n\tfigure {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tinline-size: var(--css-width, 100%);\n\t\tmax-inline-size: 100cqi;\n\t\tpadding: 0;\n\t\tmargin-block: 0;\n\t\tmargin-inline: auto;\n\n\t\t> :is(div, a, button) {\n\t\t\tdisplay: block;\n\t\t\tpadding: 0;\n\t\t\tbackground: transparent;\n\t\t\tborder: none;\n\t\t}\n\t}\n\n\timg {\n\t\tdisplay: block;\n\t\tinline-size: var(--css-width, auto);\n\t\tmax-inline-size: 100%;\n\t\tblock-size: auto;\n\t\taspect-ratio: var(--aspect-ratio, unset);\n\t\tobject-fit: var(--object-fit, unset);\n\t}\n\n\tfigcaption {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tinline-size: 100%;\n\n\t\t&:empty {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n";
266
266
 
@@ -334,7 +334,8 @@ function createWidthState() {
334
334
  debug() {
335
335
  return {
336
336
  ..._widthState,
337
- unit: _unit
337
+ unit: _unit,
338
+ css: this.getCSSWidth()
338
339
  };
339
340
  }
340
341
  };
@@ -342,15 +343,15 @@ function createWidthState() {
342
343
 
343
344
  const ORIGIN = "__org";
344
345
  var image = createItem({
345
- version: "4.0.0-alpha.30",
346
+ version: "4.0.0-alpha.31",
346
347
  name: "image",
347
348
  template: template$6,
348
349
  style: style$6,
349
350
  editor: editor$6,
350
351
  editorOptions: {
351
352
  beforeOpen(data) {
352
- const path = data.path.map((p) => p.replace(ORIGIN, ""));
353
- const lazy = data.loading === "lazy";
353
+ const path = (data.path ?? []).map((p) => p.replace(ORIGIN, ""));
354
+ const lazy = (data.loading ?? []).includes("lazy");
354
355
  const popup = data.node === "button" && data.command === "show-modal";
355
356
  const targetBlank = data.node === "a" && data.target === "_blank";
356
357
  return {
@@ -365,8 +366,11 @@ var image = createItem({
365
366
  open(initData, editor2) {
366
367
  let currentIndex = 0;
367
368
  const widthState = createWidthState();
369
+ const $fieldset = editor2.find("#bge-image-size-fieldset");
368
370
  widthState.setScaleType(initData.scaleType);
369
371
  widthState.setScale(initData.scale);
372
+ widthState.setMaxNumber(initData.width[0] ?? 400);
373
+ updateCSSWidth();
370
374
  selectTab(currentIndex);
371
375
  function fileSelect() {
372
376
  const $path = editor2.get("$path");
@@ -374,7 +378,7 @@ var image = createItem({
374
378
  if (!currentPath) {
375
379
  throw new Error("currentPath is not found");
376
380
  }
377
- editor2.engine.componentObserver.notify("file-select", {
381
+ editor2.componentObserver.notify("file-select", {
378
382
  path: currentPath,
379
383
  fileSize: Number.parseFloat(editor2.get("$fileSize") ?? "0"),
380
384
  isEmpty: currentPath === "",
@@ -389,7 +393,7 @@ var image = createItem({
389
393
  const media = editor2.get("$media")[currentIndex] ?? "";
390
394
  editor2.update("$mediaInput", media);
391
395
  }
392
- editor2.engine.componentObserver.on("file-select", ({ path, isEmpty }) => {
396
+ editor2.componentObserver.on("file-select", ({ path, isEmpty }) => {
393
397
  if (isEmpty) {
394
398
  return;
395
399
  }
@@ -399,15 +403,19 @@ var image = createItem({
399
403
  if (!path) {
400
404
  return;
401
405
  }
406
+ $fieldset.disabled = true;
402
407
  const $src = await loadImage(path);
403
408
  updateImage($src);
409
+ $fieldset.disabled = false;
404
410
  }
405
- editor2.engine.componentObserver.on("select-tab-in-item-editor", ({ index }) => {
411
+ editor2.componentObserver.on("select-tab-in-item-editor", ({ index }) => {
406
412
  selectTab(index);
407
413
  });
408
414
  function updateImage($src) {
409
415
  if (!$src) {
410
- console.error("\u753B\u50CF\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F");
416
+ {
417
+ console.error("\u753B\u50CF\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F");
418
+ }
411
419
  return;
412
420
  }
413
421
  const path = [...editor2.get("$path")];
@@ -461,6 +469,9 @@ var image = createItem({
461
469
  editor2.update("$scaleType", widthState.getScaleType());
462
470
  editor2.update("$scale", widthState.getScale());
463
471
  editor2.update("$cssWidth", widthState.getCSSWidth());
472
+ editor2.componentObserver.notify("update-css-width", {
473
+ cssWidth: widthState.getCSSWidth()
474
+ });
464
475
  }
465
476
  editor2.onChange("$popup", (disable) => {
466
477
  editor2.disable("$href", disable);
@@ -473,7 +484,7 @@ var image = createItem({
473
484
  });
474
485
  },
475
486
  beforeChange(newData) {
476
- const loading = newData.lazy ? "lazy" : "eager";
487
+ const loading = [newData.lazy ? "lazy" : "eager"];
477
488
  const node = newData.popup ? "button" : newData.href ? "a" : "div";
478
489
  const target = node === "a" && newData.targetBlank ? "_blank" : null;
479
490
  const command = node === "button" ? "show-modal" : null;
@@ -530,7 +541,7 @@ var style$5 = "[data-bgi='import'] {\n\tbge-import {\n\t\t&::before {\n\t\t\tfon
530
541
  var template$5 = "<bge-import data-bge=\":src\" src=\"\"></bge-import>\n";
531
542
 
532
543
  var importItem = createItem({
533
- version: "4.0.0-alpha.30",
544
+ version: "4.0.0-alpha.31",
534
545
  name: "import",
535
546
  template: template$5,
536
547
  style: style$5,
@@ -544,7 +555,7 @@ var style$4 = "/* No Styling */\n";
544
555
  var template$4 = "<div data-bge=\":scrollable\" data-bge-scrollable=\"false\">\n\t<table>\n\t\t<caption data-bge=\"caption\">\n\t\t\tキャプションを入力してください\n\t\t</caption>\n\t\t<tbody data-bge-list>\n\t\t\t<tr>\n\t\t\t\t<th data-bge=\"th\">表組の見出し</th>\n\t\t\t\t<td data-bge=\"td\">表組の内容を入力してください</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</div>\n";
545
556
 
546
557
  var table = createItem({
547
- version: "4.0.0-alpha.30",
558
+ version: "4.0.0-alpha.31",
548
559
  name: "table",
549
560
  template: template$4,
550
561
  style: style$4,
@@ -572,7 +583,7 @@ var style$3 = "/* No Styling */\n";
572
583
  var template$3 = "<h2 data-bge=\"title-h2\">見出しを入力してください</h2>\n";
573
584
 
574
585
  var titleH2 = createItem({
575
- version: "4.0.0-alpha.30",
586
+ version: "4.0.0-alpha.31",
576
587
  name: "title-h2",
577
588
  template: template$3,
578
589
  style: style$3,
@@ -586,7 +597,7 @@ var style$2 = "/* No Styling */\n";
586
597
  var template$2 = "<h3 data-bge=\"title-h3\">見出しを入力してください</h3>\n";
587
598
 
588
599
  var titleH3 = createItem({
589
- version: "4.0.0-alpha.30",
600
+ version: "4.0.0-alpha.31",
590
601
  name: "title-h3",
591
602
  template: template$2,
592
603
  style: style$2,
@@ -600,7 +611,7 @@ var style$1 = "/* No Styling */\n";
600
611
  var template$1 = "<div data-bge=\"wysiwyg\"><p>本文を入力してください</p></div>\n";
601
612
 
602
613
  var wysiwyg = createItem({
603
- version: "4.0.0-alpha.30",
614
+ version: "4.0.0-alpha.31",
604
615
  name: "wysiwyg",
605
616
  template: template$1,
606
617
  style: style$1,
@@ -615,7 +626,7 @@ var template = "<div data-id=\"3KtWfp0UopM\" data-title=\"YouTube動画\" data-w
615
626
 
616
627
  const FALLBACK_TITLE = "YouTube\u52D5\u753B";
617
628
  var youtube = createItem({
618
- version: "4.0.0-alpha.30",
629
+ version: "4.0.0-alpha.31",
619
630
  name: "youtube",
620
631
  template,
621
632
  style,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burger-editor/blocks",
3
- "version": "4.0.0-alpha.31",
3
+ "version": "4.0.0-alpha.32",
4
4
  "description": "BurgerEditor Blocks",
5
5
  "author": "D-ZERO",
6
6
  "license": "(MIT OR Apache-2.0)",
@@ -28,16 +28,16 @@
28
28
  "dev": "rollup -c -w"
29
29
  },
30
30
  "dependencies": {
31
- "@burger-editor/core": "4.0.0-alpha.31",
32
- "@burger-editor/utils": "4.0.0-alpha.31",
31
+ "@burger-editor/core": "4.0.0-alpha.32",
32
+ "@burger-editor/utils": "4.0.0-alpha.32",
33
33
  "@d-zero/shared": "0.16.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@burger-editor/custom-element": "4.0.0-alpha.31",
36
+ "@burger-editor/custom-element": "4.0.0-alpha.32",
37
37
  "@types/google.maps": "3.58.1",
38
38
  "rollup": "4.53.3",
39
39
  "rollup-plugin-esbuild": "6.2.1",
40
40
  "rollup-plugin-string": "3.0.0"
41
41
  },
42
- "gitHead": "eddeb2d87f068920d0e4bec26406afaa7ea86471"
42
+ "gitHead": "65279bc623c0c33e5c7da6d71c2def6cc7cd584b"
43
43
  }