@burger-editor/blocks 4.0.0-alpha.50 → 4.0.0-alpha.52
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/index.js +28 -20
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var style$b = "/* No Styling */\n";
|
|
|
9
9
|
var template$b = "<a href=\"\" data-kind=\"primary\" 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.
|
|
12
|
+
version: "4.0.0-alpha.51",
|
|
13
13
|
name: "button",
|
|
14
14
|
template: template$b,
|
|
15
15
|
style: style$b,
|
|
@@ -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.
|
|
68
|
+
version: "4.0.0-alpha.51",
|
|
69
69
|
name: "details",
|
|
70
70
|
template: template$a,
|
|
71
71
|
style: style$a,
|
|
@@ -79,7 +79,7 @@ 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.
|
|
82
|
+
version: "4.0.0-alpha.51",
|
|
83
83
|
name: "download-file",
|
|
84
84
|
template: template$9,
|
|
85
85
|
style: style$9,
|
|
@@ -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&zoom=16&size=640x400&markers=color:red|color:red|35.681382,139.766084&scale=2&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.
|
|
121
|
+
version: "4.0.0-alpha.51",
|
|
122
122
|
name: "google-maps",
|
|
123
123
|
template: template$8,
|
|
124
124
|
style: style$8,
|
|
@@ -253,7 +253,7 @@ 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.
|
|
256
|
+
version: "4.0.0-alpha.51",
|
|
257
257
|
name: "hr",
|
|
258
258
|
template: template$7,
|
|
259
259
|
style: style$7,
|
|
@@ -343,7 +343,7 @@ function createWidthState() {
|
|
|
343
343
|
|
|
344
344
|
const ORIGIN = "__org";
|
|
345
345
|
var image = createItem({
|
|
346
|
-
version: "4.0.0-alpha.
|
|
346
|
+
version: "4.0.0-alpha.51",
|
|
347
347
|
name: "image",
|
|
348
348
|
template: template$6,
|
|
349
349
|
style: style$6,
|
|
@@ -541,7 +541,7 @@ var style$5 = "[data-bgi='import'] {\n\tbge-import {\n\t\t&::before {\n\t\t\tfon
|
|
|
541
541
|
var template$5 = "<bge-import data-bge=\":src\" src=\"\"></bge-import>\n";
|
|
542
542
|
|
|
543
543
|
var importItem = createItem({
|
|
544
|
-
version: "4.0.0-alpha.
|
|
544
|
+
version: "4.0.0-alpha.51",
|
|
545
545
|
name: "import",
|
|
546
546
|
template: template$5,
|
|
547
547
|
style: style$5,
|
|
@@ -555,7 +555,7 @@ var style$4 = "/* No Styling */\n";
|
|
|
555
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";
|
|
556
556
|
|
|
557
557
|
var table = createItem({
|
|
558
|
-
version: "4.0.0-alpha.
|
|
558
|
+
version: "4.0.0-alpha.51",
|
|
559
559
|
name: "table",
|
|
560
560
|
template: template$4,
|
|
561
561
|
style: style$4,
|
|
@@ -583,7 +583,7 @@ var style$3 = "/* No Styling */\n";
|
|
|
583
583
|
var template$3 = "<h2 data-bge=\"title-h2\">見出しを入力してください</h2>\n";
|
|
584
584
|
|
|
585
585
|
var titleH2 = createItem({
|
|
586
|
-
version: "4.0.0-alpha.
|
|
586
|
+
version: "4.0.0-alpha.51",
|
|
587
587
|
name: "title-h2",
|
|
588
588
|
template: template$3,
|
|
589
589
|
style: style$3,
|
|
@@ -597,7 +597,7 @@ var style$2 = "/* No Styling */\n";
|
|
|
597
597
|
var template$2 = "<h3 data-bge=\"title-h3\">見出しを入力してください</h3>\n";
|
|
598
598
|
|
|
599
599
|
var titleH3 = createItem({
|
|
600
|
-
version: "4.0.0-alpha.
|
|
600
|
+
version: "4.0.0-alpha.51",
|
|
601
601
|
name: "title-h3",
|
|
602
602
|
template: template$2,
|
|
603
603
|
style: style$2,
|
|
@@ -611,7 +611,7 @@ var style$1 = "/* No Styling */\n";
|
|
|
611
611
|
var template$1 = "<div data-bge=\"wysiwyg\"><p>本文を入力してください</p></div>\n";
|
|
612
612
|
|
|
613
613
|
var wysiwyg = createItem({
|
|
614
|
-
version: "4.0.0-alpha.
|
|
614
|
+
version: "4.0.0-alpha.51",
|
|
615
615
|
name: "wysiwyg",
|
|
616
616
|
template: template$1,
|
|
617
617
|
style: style$1,
|
|
@@ -626,7 +626,7 @@ var template = "<div data-id=\"3KtWfp0UopM\" data-title=\"YouTube動画\" data-w
|
|
|
626
626
|
|
|
627
627
|
const FALLBACK_TITLE = "YouTube\u52D5\u753B";
|
|
628
628
|
var youtube = createItem({
|
|
629
|
-
version: "4.0.0-alpha.
|
|
629
|
+
version: "4.0.0-alpha.51",
|
|
630
630
|
name: "youtube",
|
|
631
631
|
template,
|
|
632
632
|
style,
|
|
@@ -750,7 +750,8 @@ const defaultCatalog = {
|
|
|
750
750
|
svg: wysiwygIcon,
|
|
751
751
|
containerProps: {
|
|
752
752
|
type: "grid",
|
|
753
|
-
columns: 1
|
|
753
|
+
columns: 1,
|
|
754
|
+
autoRepeat: "auto-fit"
|
|
754
755
|
},
|
|
755
756
|
items: [["wysiwyg"]]
|
|
756
757
|
}
|
|
@@ -762,7 +763,8 @@ const defaultCatalog = {
|
|
|
762
763
|
svg: imageIcon,
|
|
763
764
|
containerProps: {
|
|
764
765
|
type: "grid",
|
|
765
|
-
columns: 1
|
|
766
|
+
columns: 1,
|
|
767
|
+
autoRepeat: "auto-fit"
|
|
766
768
|
},
|
|
767
769
|
items: [["image"]]
|
|
768
770
|
}
|
|
@@ -774,7 +776,8 @@ const defaultCatalog = {
|
|
|
774
776
|
svg: disclosureIcon,
|
|
775
777
|
containerProps: {
|
|
776
778
|
type: "grid",
|
|
777
|
-
columns: 1
|
|
779
|
+
columns: 1,
|
|
780
|
+
autoRepeat: "auto-fit"
|
|
778
781
|
},
|
|
779
782
|
items: [["details"]]
|
|
780
783
|
}
|
|
@@ -797,7 +800,8 @@ const defaultCatalog = {
|
|
|
797
800
|
svg: youtubeIcon,
|
|
798
801
|
containerProps: {
|
|
799
802
|
type: "grid",
|
|
800
|
-
columns: 1
|
|
803
|
+
columns: 1,
|
|
804
|
+
autoRepeat: "auto-fit"
|
|
801
805
|
},
|
|
802
806
|
items: [["youtube"]]
|
|
803
807
|
}
|
|
@@ -811,7 +815,8 @@ const defaultCatalog = {
|
|
|
811
815
|
svg: imageText3Icon,
|
|
812
816
|
containerProps: {
|
|
813
817
|
type: "grid",
|
|
814
|
-
columns: 3
|
|
818
|
+
columns: 3,
|
|
819
|
+
autoRepeat: "auto-fit"
|
|
815
820
|
},
|
|
816
821
|
items: [
|
|
817
822
|
["image", "wysiwyg"],
|
|
@@ -827,7 +832,8 @@ const defaultCatalog = {
|
|
|
827
832
|
svg: textImageTextIcon,
|
|
828
833
|
containerProps: {
|
|
829
834
|
type: "grid",
|
|
830
|
-
columns: 3
|
|
835
|
+
columns: 3,
|
|
836
|
+
autoRepeat: "auto-fit"
|
|
831
837
|
},
|
|
832
838
|
items: [
|
|
833
839
|
[{ name: "wysiwyg", data: { wysiwyg: "<h2>\u898B\u51FA\u3057</h2>" } }, "image", "wysiwyg"],
|
|
@@ -1000,7 +1006,8 @@ const defaultCatalog = {
|
|
|
1000
1006
|
containerProps: {
|
|
1001
1007
|
frameSemantics: "ul",
|
|
1002
1008
|
type: "grid",
|
|
1003
|
-
columns: 4
|
|
1009
|
+
columns: 4,
|
|
1010
|
+
autoRepeat: "auto-fit"
|
|
1004
1011
|
},
|
|
1005
1012
|
items: [
|
|
1006
1013
|
[
|
|
@@ -1063,7 +1070,8 @@ const defaultCatalog = {
|
|
|
1063
1070
|
svg: googleMapsIcon,
|
|
1064
1071
|
containerProps: {
|
|
1065
1072
|
type: "grid",
|
|
1066
|
-
columns: 1
|
|
1073
|
+
columns: 1,
|
|
1074
|
+
autoRepeat: "auto-fit"
|
|
1067
1075
|
},
|
|
1068
1076
|
items: [["google-maps"]]
|
|
1069
1077
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burger-editor/blocks",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.52",
|
|
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.
|
|
32
|
-
"@burger-editor/utils": "4.0.0-alpha.
|
|
33
|
-
"@d-zero/shared": "0.17.
|
|
31
|
+
"@burger-editor/core": "4.0.0-alpha.52",
|
|
32
|
+
"@burger-editor/utils": "4.0.0-alpha.52",
|
|
33
|
+
"@d-zero/shared": "0.17.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@burger-editor/custom-element": "4.0.0-alpha.
|
|
36
|
+
"@burger-editor/custom-element": "4.0.0-alpha.52",
|
|
37
37
|
"@types/google.maps": "3.58.1",
|
|
38
|
-
"rollup": "4.55.
|
|
38
|
+
"rollup": "4.55.2",
|
|
39
39
|
"rollup-plugin-esbuild": "6.2.1",
|
|
40
40
|
"rollup-plugin-string": "3.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "992a7d22e8ae02654a084658360c3bdce90028d7"
|
|
43
43
|
}
|