@gjsify/adwaita-storybook 0.26.1 → 0.27.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 (2) hide show
  1. package/package.json +6 -6
  2. package/src/app.ts +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/adwaita-storybook",
3
- "version": "0.26.1",
3
+ "version": "0.27.0",
4
4
  "description": "Browser renderer for the @gjsify/stories contract — the web counterpart of @gjsify/storybook, built on @gjsify/adwaita-web",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -16,7 +16,7 @@
16
16
  "lib"
17
17
  ],
18
18
  "scripts": {
19
- "clear": "rm -rf lib tsconfig.tsbuildinfo || exit 0",
19
+ "clear": "gjsify clear lib tsconfig.tsbuildinfo",
20
20
  "check": "gjsify tsc --noEmit",
21
21
  "build": "gjsify run build:types",
22
22
  "build:types": "gjsify tsc"
@@ -29,12 +29,12 @@
29
29
  "browser"
30
30
  ],
31
31
  "dependencies": {
32
- "@gjsify/adwaita-web": "^0.26.1",
33
- "@gjsify/stories": "^0.26.1",
34
- "@gjsify/storybook-core": "^0.26.1"
32
+ "@gjsify/adwaita-web": "^0.27.0",
33
+ "@gjsify/stories": "^0.27.0",
34
+ "@gjsify/storybook-core": "^0.27.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@gjsify/cli": "^0.26.1",
37
+ "@gjsify/cli": "^0.27.0",
38
38
  "typescript": "^6.0.3"
39
39
  },
40
40
  "gjsify": {
package/src/app.ts CHANGED
@@ -153,10 +153,7 @@ export class StorybookWebApp implements StorybookView<StoryElement> {
153
153
 
154
154
  // --- StorybookView<StoryElement> render seams (driven by the controller) ---
155
155
 
156
- renderSidebar(
157
- groups: Array<CategoryGroup<StoryElement>>,
158
- onSelect: (instance: StoryElement) => void,
159
- ): void {
156
+ renderSidebar(groups: Array<CategoryGroup<StoryElement>>, onSelect: (instance: StoryElement) => void): void {
160
157
  this._listEl.replaceChildren();
161
158
  this._rowByTitle.clear();
162
159