@d-zero/scaffold 5.0.0-alpha.3 → 5.0.0-alpha.30

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 (68) hide show
  1. package/.husky/pre-commit +1 -0
  2. package/.markuplintrc +9 -1
  3. package/.stylelintrc +18 -1
  4. package/.textlintignore +1 -0
  5. package/.textlintrc.js +9 -1
  6. package/CHANGELOG.md +159 -0
  7. package/__assets/_libs/component/bge-content.scss +6 -0
  8. package/__assets/_libs/component/{_c-content-main.scss → c-content-main.scss} +2 -3
  9. package/__assets/_libs/data/bge-blocks.html +2179 -0
  10. package/__assets/_libs/data/blocks.html +1 -31
  11. package/__assets/_libs/mixin/meta.pug +2 -2
  12. package/__assets/_libs/style/general/{_all.scss → all.scss} +0 -4
  13. package/__assets/htdocs/.eslintrc +10 -0
  14. package/__assets/htdocs/__tmpl/.markuplintrc +19 -0
  15. package/__assets/htdocs/__tmpl/000_home.pug +20 -0
  16. package/__assets/htdocs/__tmpl/100_sub.pug +23 -0
  17. package/__assets/htdocs/__tmpl/200_blog_index.pug +40 -0
  18. package/__assets/htdocs/__tmpl/210_blog_index.pug +40 -0
  19. package/__assets/htdocs/__tmpl/300_form_input.pug +569 -0
  20. package/__assets/htdocs/__tmpl/301_form_confirm.pug +212 -0
  21. package/__assets/htdocs/__tmpl/302_form_complete.pug +27 -0
  22. package/__assets/htdocs/__tmpl/index.pug +63 -0
  23. package/__assets/htdocs/css/bge-style.scss +18 -0
  24. package/__assets/htdocs/css/style.scss +32 -0
  25. package/__assets/htdocs/index.pug +9 -0
  26. package/__assets/htdocs/js/script.ts +3 -0
  27. package/__assets/htdocs/sub-folder.test/css/style.scss +5 -0
  28. package/__assets/htdocs/sub-folder.test/index.pug +8 -0
  29. package/__assets/htdocs/sub-folder.test/js/script.ts +2 -0
  30. package/cspell.json +2 -1
  31. package/eleventy.config.mjs +68 -0
  32. package/lint-staged.config.mjs +10 -1
  33. package/package.json +26 -29
  34. package/prh.yaml +3 -0
  35. package/tsconfig.json +1 -0
  36. package/__assets/_libs/data/blocks-burger.html +0 -4161
  37. package/eleventy.config.cjs +0 -19
  38. /package/__assets/_libs/component/{_c-card-list.scss → c-card-list.scss} +0 -0
  39. /package/__assets/_libs/component/{_c-card.pug → c-card.pug} +0 -0
  40. /package/__assets/_libs/component/{_c-card.scss → c-card.scss} +0 -0
  41. /package/__assets/_libs/component/{_c-content-index.scss → c-content-index.scss} +0 -0
  42. /package/__assets/_libs/component/{_c-footer.pug → c-footer.pug} +0 -0
  43. /package/__assets/_libs/component/{_c-footer.scss → c-footer.scss} +0 -0
  44. /package/__assets/_libs/component/{_c-header.pug → c-header.pug} +0 -0
  45. /package/__assets/_libs/component/{_c-header.scss → c-header.scss} +0 -0
  46. /package/__assets/_libs/component/{_c-media-list.scss → c-media-list.scss} +0 -0
  47. /package/__assets/_libs/component/{_c-media.pug → c-media.pug} +0 -0
  48. /package/__assets/_libs/component/{_c-media.scss → c-media.scss} +0 -0
  49. /package/__assets/_libs/component/{_c-nav-breadcrumb.pug → c-nav-breadcrumb.pug} +0 -0
  50. /package/__assets/_libs/component/{_c-nav-breadcrumb.scss → c-nav-breadcrumb.scss} +0 -0
  51. /package/__assets/_libs/component/{_c-nav-global.pug → c-nav-global.pug} +0 -0
  52. /package/__assets/_libs/component/{_c-nav-global.scss → c-nav-global.scss} +0 -0
  53. /package/__assets/_libs/component/{_c-nav-sitemap.pug → c-nav-sitemap.pug} +0 -0
  54. /package/__assets/_libs/component/{_c-nav-sitemap.scss → c-nav-sitemap.scss} +0 -0
  55. /package/__assets/_libs/component/{_c-page-home.scss → c-page-home.scss} +0 -0
  56. /package/__assets/_libs/component/{_c-page-sub.scss → c-page-sub.scss} +0 -0
  57. /package/__assets/_libs/component/{_c-pagination.pug → c-pagination.pug} +0 -0
  58. /package/__assets/_libs/component/{_c-pagination.scss → c-pagination.scss} +0 -0
  59. /package/__assets/_libs/component/{_c-title-page.pug → c-title-page.pug} +0 -0
  60. /package/__assets/_libs/component/{_c-title-page.scss → c-title-page.scss} +0 -0
  61. /package/__assets/_libs/style/base/{_root.scss → root.scss} +0 -0
  62. /package/__assets/_libs/style/general/{_body.scss → body.scss} +0 -0
  63. /package/__assets/_libs/style/general/{_button.scss → button.scss} +0 -0
  64. /package/__assets/_libs/style/general/{_img.scss → img.scss} +0 -0
  65. /package/__assets/_libs/style/theme/{_color.scss → color.scss} +0 -0
  66. /package/__assets/_libs/style/theme/{_dimension.scss → dimension.scss} +0 -0
  67. /package/__assets/_libs/style/theme/{_font.scss → font.scss} +0 -0
  68. /package/__assets/_libs/style/theme/{_index.scss → index.scss} +0 -0
@@ -44,37 +44,7 @@
44
44
  <p>blockquote</p>
45
45
  </blockquote>
46
46
 
47
- <p>
48
- 通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s
49
- ><sub>下付き文字</sub><sup>上付き文字</sup
50
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
51
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
52
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
53
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
54
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
55
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
56
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
57
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
58
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
59
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
60
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
61
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
62
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
63
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
64
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
65
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
66
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
67
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
68
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
69
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
70
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
71
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
72
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
73
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
74
- ><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u
75
- ><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup
76
- ><a href="./">リンクテキスト</a>
77
- </p>
47
+ <p>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a>通常テキスト<strong>太字テキスト</strong><u>下線</u><s>取り消し線</s><sub>下付き文字</sub><sup>上付き文字</sup><a href="./">リンクテキスト</a></p>
78
48
 
79
49
  <table>
80
50
  <caption>
@@ -17,5 +17,5 @@ mixin meta(title)
17
17
  meta(name="twitter:image" content="__OGP用画像__")
18
18
  link(rel="shortcut icon" href="/favicon.png")
19
19
  link(rel="apple-touch-icon" href="/img/apple-touch-icon.png")
20
- link(href="/css/style.scss" rel="stylesheet")
21
- script(src="/js/script.ts" type="module")
20
+ link(href="/css/style.css" rel="stylesheet")
21
+ script(src="/js/script.js" type="module")
@@ -7,9 +7,5 @@
7
7
  &::after {
8
8
  box-sizing: border-box;
9
9
  }
10
-
11
- &::selection {
12
- background-color: initial;
13
- }
14
10
  }
15
11
  /* stylelint-enable selector-max-universal */
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": ["../../.eslintrc.cjs"],
3
+ "env": {
4
+ "node": false,
5
+ "browser": true,
6
+ "jquery": true,
7
+ "es6": true,
8
+ "commonjs": true
9
+ }
10
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "extends": ["../../../.markuplintrc"],
3
+ "nodeRules": [
4
+ {
5
+ "selector": "link, script",
6
+ "rules": {
7
+ "invalid-attr": {
8
+ "options": {
9
+ "allowAttrs": {
10
+ "⚠️": {
11
+ "type": "Any"
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,20 @@
1
+ html(lang="ja")
2
+ head
3
+ include /mixin/meta.pug
4
+ +meta('__サイトタイトル__')
5
+ body.c-page-home
6
+ .c-page-home__base
7
+ .c-page-home__header
8
+ - const isHome = true;
9
+ include /component/c-header.pug
10
+ .c-page-home__nav-global
11
+ include /component/c-nav-global.pug
12
+
13
+ .c-page-home__main
14
+ main
15
+ h2 メイン
16
+
17
+ .c-page-home__nav-sitemap
18
+ include /component/c-nav-sitemap.pug
19
+ .c-page-home__footer
20
+ include /component/c-footer.pug
@@ -0,0 +1,23 @@
1
+ html(lang="ja")
2
+ head
3
+ include /mixin/meta.pug
4
+ +meta('__ページタイトル__ | __サイトタイトル__')
5
+ body.c-page-sub
6
+ .c-page-sub__base
7
+ .c-page-sub__header
8
+ include /component/c-header.pug
9
+ .c-page-sub__nav-global
10
+ include /component/c-nav-global.pug
11
+ .c-page-sub__main
12
+ main
13
+ article.c-page-sub__content
14
+ .c-page-sub__title-page
15
+ include /component/c-title-page.pug
16
+ .c-page-sub__nav-breadcrumb
17
+ include /component/c-nav-breadcrumb.pug
18
+ .c-page-sub__content-main
19
+ .c-content-main !{ blocks }
20
+ .c-page-sub__nav-sitemap
21
+ include /component/c-nav-sitemap.pug
22
+ .c-page-sub__footer
23
+ include /component/c-footer.pug
@@ -0,0 +1,40 @@
1
+ html(lang="ja")
2
+ head
3
+ include /mixin/meta.pug
4
+ +meta('__ページタイトル__ | __サイトタイトル__')
5
+ body.c-page-sub
6
+ .c-page-sub__base
7
+ .c-page-sub__header
8
+ include /component/c-header.pug
9
+ .c-page-sub__nav-global
10
+ include /component/c-nav-global.pug
11
+
12
+ .c-page-sub__main
13
+ main
14
+ article.c-page-sub__content
15
+ .c-page-sub__title-page
16
+ include /component/c-title-page.pug
17
+ .c-page-sub__nav-breadcrumb
18
+ include /component/c-nav-breadcrumb.pug
19
+ .c-page-sub__content-index
20
+ .c-content-index
21
+ .c-content-index__categories
22
+ // ⚠️ CMS要件:
23
+ // - ページがカテゴリーインデックスの場合は aria-current="page" を付加する
24
+ // - カテゴリーインデックスではなく、カテゴリーに属するページでは aria-current="page" は付加しない
25
+ ul
26
+ li: a(href="__PATH_TO__"): span ALL
27
+ li: a(href="__PATH_TO__" aria-current="page"): span カテゴリー1
28
+ li: a(href="__PATH_TO__"): span カテゴリー2
29
+ li: a(href="__PATH_TO__"): span カテゴリー3
30
+ .c-content-index__body
31
+ .c-media-list
32
+ each article in data.articles
33
+ include /component/c-media.pug
34
+ .c-page-sub__pagination
35
+ include /component/c-pagination.pug
36
+
37
+ .c-page-sub__nav-sitemap
38
+ include /component/c-nav-sitemap.pug
39
+ .c-page-sub__footer
40
+ include /component/c-footer.pug
@@ -0,0 +1,40 @@
1
+ html(lang="ja")
2
+ head
3
+ include /mixin/meta.pug
4
+ +meta('__ページタイトル__ | __サイトタイトル__')
5
+ body.c-page-sub
6
+ .c-page-sub__base
7
+ .c-page-sub__header
8
+ include /component/c-header.pug
9
+ .c-page-sub__nav-global
10
+ include /component/c-nav-global.pug
11
+
12
+ .c-page-sub__main
13
+ main
14
+ article.c-page-sub__content
15
+ .c-page-sub__title-page
16
+ include /component/c-title-page.pug
17
+ .c-page-sub__nav-breadcrumb
18
+ include /component/c-nav-breadcrumb.pug
19
+ .c-page-sub__content-index
20
+ .c-content-index
21
+ .c-content-index__categories
22
+ // ⚠️ CMS要件:
23
+ // - ページがカテゴリーインデックスの場合は aria-current="page" を付加する
24
+ // - カテゴリーインデックスではなく、カテゴリーに属するページでは aria-current="page" は付加しない
25
+ ul
26
+ li: a(href="__PATH_TO__"): span ALL
27
+ li: a(href="__PATH_TO__" aria-current="page"): span カテゴリー1
28
+ li: a(href="__PATH_TO__"): span カテゴリー2
29
+ li: a(href="__PATH_TO__"): span カテゴリー3
30
+ .c-content-index__body
31
+ .c-card-list
32
+ each article in data.articles
33
+ include /component/c-card.pug
34
+ .c-page-sub__pagination
35
+ include /component/c-pagination.pug
36
+
37
+ .c-page-sub__nav-sitemap
38
+ include /component/c-nav-sitemap.pug
39
+ .c-page-sub__footer
40
+ include /component/c-footer.pug