create-foliwake 0.10.0 → 0.10.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/CHANGELOG.md CHANGED
@@ -5,6 +5,29 @@ with them. While the version is 0.x, a minor release may break; breaking changes
5
5
 
6
6
  Entries are written from the changesets of each pull request (`.changeset/`, CONTRIBUTING.md), newest first.
7
7
 
8
+ ## 0.10.2
9
+
10
+ ### Patch Changes
11
+
12
+ - 964b5e5: Links point to the public documentation on foliwake.org (`docs.foliwake.org`, `sdk.foliwake.org`); the config
13
+ schemas' `$id` is under `https://foliwake.org/schemas/`.
14
+ - Updated dependencies [964b5e5]
15
+ - @foliwake/block-kit@0.10.2
16
+ - @foliwake/site-check@0.10.2
17
+
18
+ ## 0.10.1
19
+
20
+ ### Patch Changes
21
+
22
+ - e448fbb: The starter blocks' stylesheets (`note`, `quiz`, `steps`) give every site variable a fallback, so the blocks keep
23
+ their styles inside an app that embeds the page: an app loads `components/<name>/<name>.css` but not the site's
24
+ `styles/styles.css` where `--color-accent` and the other variables are defined, and a `var()` without a fallback
25
+ dropped its declaration (the note's border was missing in a Next app). The docs say why, and troubleshooting
26
+ covers it and an app's unlayered reset that wins over `@layer blocks`.
27
+ - Updated dependencies [55ffb45]
28
+ - @foliwake/site-check@0.10.1
29
+ - @foliwake/block-kit@0.10.1
30
+
8
31
  ## 0.10.0
9
32
 
10
33
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-foliwake",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Create a Foliwake site frontend: npm create foliwake@latest. Blocks, styles, local sample pages, checks and GitHub workflows, checked with @foliwake/site-check before anything is written.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "url": "git+https://github.com/foliwake/foliwake-js.git",
14
14
  "directory": "packages/create-foliwake"
15
15
  },
16
- "homepage": "https://sdk.foliwake.dev/reference/packages/create-foliwake",
16
+ "homepage": "https://sdk.foliwake.org/reference/packages/create-foliwake",
17
17
  "bugs": {
18
18
  "url": "https://github.com/foliwake/foliwake-js/issues"
19
19
  },
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@clack/prompts": "1.8.1",
55
- "@foliwake/block-kit": "0.10.0",
56
- "@foliwake/site-check": "0.10.0"
55
+ "@foliwake/block-kit": "0.10.2",
56
+ "@foliwake/site-check": "0.10.2"
57
57
  },
58
58
  "files": [
59
59
  "dist/",
@@ -14,16 +14,16 @@
14
14
  & button[data-answer] {
15
15
  width: 100%;
16
16
  padding: 0.6rem 0.8rem;
17
- border: 1px solid var(--color-border);
17
+ border: 1px solid var(--color-border, #d4d4d8);
18
18
  border-radius: 0.5rem;
19
19
  font: inherit;
20
20
  text-align: left;
21
21
  color: inherit;
22
- background: var(--color-page);
22
+ background: var(--color-page, transparent);
23
23
  cursor: pointer;
24
24
  }
25
25
 
26
- & button[data-answer]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
26
+ & button[data-answer]:focus-visible { outline: 2px solid var(--color-accent, #1d4ed8); outline-offset: 2px; }
27
27
  & button[data-answer][data-result="right"] { border-color: #15803d; box-shadow: inset 4px 0 0 #15803d; }
28
28
  & button[data-answer][data-result="wrong"] { border-color: #b91c1c; box-shadow: inset 4px 0 0 #b91c1c; }
29
29
 
@@ -31,8 +31,8 @@
31
31
  place-items: center;
32
32
  font-size: 0.85rem;
33
33
  font-weight: 600;
34
- color: var(--color-page);
35
- background: var(--color-accent);
34
+ color: var(--color-page, #ffffff);
35
+ background: var(--color-accent, #1d4ed8);
36
36
  }
37
37
  }
38
38
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  @layer blocks {
5
5
  [data-component="note"] {
6
- border-left: 4px solid var(--color-accent);
6
+ border-left: 4px solid var(--color-accent, #1d4ed8);
7
7
 
8
8
  & [data-field="title"] {
9
9
  margin: 0 0 0.5rem;