lism-css 0.23.0-beta.0 → 0.24.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.
Files changed (37) hide show
  1. package/README.ja.md +38 -37
  2. package/README.md +5 -5
  3. package/dist/config/default-config.d.ts +5 -2
  4. package/dist/config/defaults/breakpoints.d.ts +7 -0
  5. package/dist/config/defaults/breakpoints.js +4 -1
  6. package/dist/config/defaults/props.d.ts +3 -0
  7. package/dist/config/defaults/props.js +4 -1
  8. package/dist/config/defaults/tokens.d.ts +2 -2
  9. package/dist/config/defaults/tokens.js +11 -2
  10. package/dist/config/index.d.ts +12 -7
  11. package/dist/config/index.js +12 -15
  12. package/dist/config/types.d.ts +38 -0
  13. package/dist/config/types.js +1 -0
  14. package/dist/css/base.css +1 -1
  15. package/dist/css/full.css +1 -1
  16. package/dist/css/full_no_layer.css +1 -1
  17. package/dist/css/main.css +1 -1
  18. package/dist/css/main_no_layer.css +1 -1
  19. package/dist/css/props.css +1 -1
  20. package/dist/css/reset.css +1 -1
  21. package/dist/css/trait.css +1 -1
  22. package/dist/index.d.ts +1 -0
  23. package/dist/lib/getBpData.d.ts +1 -1
  24. package/dist/lib/getBpData.js +1 -1
  25. package/dist/lib/getLismProps.d.ts +2 -1
  26. package/dist/lib/types/CustomPropRegistry.d.ts +6 -1
  27. package/dist/lib/types/CustomPropValueRegistry.d.ts +9 -0
  28. package/dist/lib/types/PropValueTypes.d.ts +14 -6
  29. package/dist/lib/types/ResponsiveProps.d.ts +3 -1
  30. package/dist/lib/warnUnsupportedBp.js +5 -5
  31. package/package.json +5 -1
  32. package/src/scss/_prop-config-full.gen.scss +1 -0
  33. package/src/scss/_prop-config.gen.scss +1 -0
  34. package/src/scss/base/_html.scss +1 -2
  35. package/src/scss/base/tokens/_tokens.gen.scss +2 -2
  36. package/src/scss/reset.scss +3 -0
  37. package/src/scss/trait/is/_boxLink.scss +2 -1
@@ -22,8 +22,8 @@
22
22
  --lts--s: -0.025em;
23
23
  --lts--l: 0.05em;
24
24
  --lts--xl: 0.1em;
25
- --ff--base: -apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif, 'Segoe UI Emoji';
26
- --ff--accent: 'Garamond', 'Baskerville', 'Times New Roman', serif;
25
+ --ff--base: -apple-system, 'BlinkMacSystemFont', 'Hiragino Sans', sans-serif;
26
+ --ff--accent: Georgia, serif;
27
27
  --ff--mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
28
28
  --fw--light: 300;
29
29
  --fw--normal: 400;
@@ -48,6 +48,9 @@
48
48
  }
49
49
 
50
50
  body {
51
+ /* BFCを作り、先頭子要素のmargin-topがbody外へ相殺されてmin-heightと合算スクロールが発生するのを防ぐ (#458) */
52
+ display: flow-root;
53
+
51
54
  /* htmlから継承する */
52
55
  overflow: inherit;
53
56
 
@@ -11,7 +11,8 @@
11
11
  }
12
12
 
13
13
  // リンクをクリック可能にするためにz-indexあげる
14
- .is--boxLink a {
14
+ // :where() で詳細度を 0 にし、no_layer ビルドでもユーティリティ等で上書きしやすくする。
15
+ .is--boxLink :where(a:not(.is--coverLink)) {
15
16
  position: relative;
16
17
  z-index: 2; // .is--coverLink::before + 1
17
18
  }