@meith/settings 0.30.0 → 0.30.1

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 +3 -3
  2. package/src/definitions.ts +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meith/settings",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "zod": "^4.4.3",
23
- "@meith/core": "0.30.0",
24
- "@meith/i18n": "0.30.0"
23
+ "@meith/core": "0.30.1",
24
+ "@meith/i18n": "0.30.1"
25
25
  }
26
26
  }
@@ -90,6 +90,21 @@ export const SETTING_DEFINITIONS = [
90
90
  invalidates: ['settings', 'layout'],
91
91
  ui: { multiline: true },
92
92
  }),
93
+ define({
94
+ key: 'board.install_banner',
95
+ group: 'board',
96
+ label: 'Offer to install the board',
97
+ description:
98
+ 'Pins a dismissable bar to the bottom of small screens inviting the reader ' +
99
+ 'to add this board to their home screen, with an Install button that opens ' +
100
+ 'the browser prompt where one exists and brief directions where none does. ' +
101
+ 'It never shows inside the installed app, and dismissing it keeps it away ' +
102
+ 'on that device for a year. Off by default: turn it on while you want ' +
103
+ 'installs encouraged, and off again once the point is made.',
104
+ schema: z.boolean(),
105
+ default: false,
106
+ invalidates: ['settings', 'layout'],
107
+ }),
93
108
  define({
94
109
  key: 'board.offline',
95
110
  group: 'board',