@d-zero/scaffold 5.0.0-beta.1 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitignore +5 -0
- package/CHANGELOG.md +6 -0
- package/__assets/_libs/component/c-content-main.css +112 -5
- package/__assets/_libs/data/bge-blocks-v2.html +2101 -0
- package/__assets/_libs/data/bge-blocks.html +1040 -1824
- package/__assets/_libs/data/blocks.js +1 -1
- package/burgereditor.config.js +24 -0
- package/package.json +8 -6
package/.gitignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.0-beta.2](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-beta.1...v5.0.0-beta.2) (2025-07-11)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **scaffold:** introduce @burger-editor/local for local development ([1524937](https://github.com/d-zero-dev/frontend-env/commit/15249370d68aeeb9c5b20d7c29dd4c8dfc0d000e))
|
|
11
|
+
|
|
6
12
|
# [5.0.0-beta.1](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2025-07-01)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -7,12 +7,8 @@
|
|
|
7
7
|
* ただし、クラス名は`c-`で開始してはいけない。もちろん 【`c-` + `コンポーネント名` + `__` + `エレメント名`】 という規則でクラス名をつけない。
|
|
8
8
|
* さらにそのルールに従って、メインコンテンツの中にコンポーネントを内包してはいけない。 */
|
|
9
9
|
.c-content-main {
|
|
10
|
-
:where(*) {
|
|
11
|
-
text-underline-offset: 3px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
:where(h2, h3, h4, h5, h6, p) {
|
|
15
|
-
margin-block-end:
|
|
11
|
+
margin-block-end: 1rem;
|
|
16
12
|
}
|
|
17
13
|
|
|
18
14
|
:where(ul, ol, table, blockquote) {
|
|
@@ -58,6 +54,117 @@
|
|
|
58
54
|
border: 1px solid var(--border-color);
|
|
59
55
|
}
|
|
60
56
|
|
|
57
|
+
[data-bgi] {
|
|
58
|
+
:where(&, & > div) {
|
|
59
|
+
:where(& > :first-child) {
|
|
60
|
+
margin-block-start: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:where(& > :last-child) {
|
|
64
|
+
margin-block-end: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-bgi='button'],
|
|
70
|
+
[data-bgi='download-file'] {
|
|
71
|
+
a {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
min-inline-size: 10em;
|
|
75
|
+
max-inline-size: 20em;
|
|
76
|
+
padding-block: 0.5em;
|
|
77
|
+
padding-inline: 1em;
|
|
78
|
+
color: inherit;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
border: 1px solid currentcolor;
|
|
81
|
+
border-radius: calc(infinity * 1px);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[data-bgi='table'],
|
|
86
|
+
[data-bgi='wysiwyg'] {
|
|
87
|
+
table {
|
|
88
|
+
inline-size: 100%;
|
|
89
|
+
border-spacing: 0;
|
|
90
|
+
border-collapse: collapse;
|
|
91
|
+
|
|
92
|
+
th,
|
|
93
|
+
td {
|
|
94
|
+
padding: 1.5em;
|
|
95
|
+
border: 1px solid currentcolor;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[data-bgi='hr'] {
|
|
101
|
+
--border-color: currentcolor;
|
|
102
|
+
--border-width: 3px;
|
|
103
|
+
|
|
104
|
+
[data-bgi-hr-kind='dashed'] {
|
|
105
|
+
--border-kind: dashed;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
[data-bgi-hr-kind='bold'] {
|
|
109
|
+
--border-width: 5px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-bgi-hr-kind='narrow'] {
|
|
113
|
+
--border-width: 1px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-bgi-hr-kind='short'] {
|
|
117
|
+
--inline-size: 50%;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@container bge-container (width < 768px) {
|
|
122
|
+
[data-bge-container='grid:1'],
|
|
123
|
+
[data-bge-container^='grid:1:'] {
|
|
124
|
+
[data-bge-container-frame] {
|
|
125
|
+
--bge-grid-col: 1;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
[data-bge-container='grid:2'],
|
|
130
|
+
[data-bge-container^='grid:2:'] {
|
|
131
|
+
[data-bge-container-frame] {
|
|
132
|
+
--bge-grid-col: 2;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
[data-bge-container='grid:3'],
|
|
137
|
+
[data-bge-container^='grid:3:'] {
|
|
138
|
+
[data-bge-container-frame] {
|
|
139
|
+
--bge-grid-col: 2;
|
|
140
|
+
|
|
141
|
+
/* 最後の要素を2列分にする */
|
|
142
|
+
> :nth-child(2n + 1):last-child {
|
|
143
|
+
grid-column: span 2;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
[data-bge-container='grid:4'],
|
|
149
|
+
[data-bge-container^='grid:4:'] {
|
|
150
|
+
[data-bge-container-frame] {
|
|
151
|
+
--bge-grid-col: 2;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-bge-container='grid:5'],
|
|
156
|
+
[data-bge-container^='grid:5:'] {
|
|
157
|
+
[data-bge-container-frame] {
|
|
158
|
+
--bge-grid-col: 2;
|
|
159
|
+
|
|
160
|
+
/* 最後の要素を2列分にする */
|
|
161
|
+
> :nth-child(2n + 1):last-child {
|
|
162
|
+
grid-column: span 2;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
61
168
|
.cc-form-description {
|
|
62
169
|
font-size: calc(14 / 16 * 1rem);
|
|
63
170
|
}
|