houseaccount 0.10.1 → 0.11.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.
- package/README.md +19 -8
- package/package.json +5 -1
- package/public/css/houseaccount.css +1 -0
- package/public/font/bootstrap-icons-6LILWPE2.woff2 +0 -0
- package/public/font/quicksand-500-latin-QHYSRFVK.woff2 +0 -0
- package/public/font/quicksand-500-latin-ext-QZ4PXVHB.woff2 +0 -0
- package/public/font/quicksand-500-latin-ext.woff2 +0 -0
- package/public/font/quicksand-500-latin.woff2 +0 -0
- package/public/font/quicksand-500-vietnamese-RRA5CUQB.woff2 +0 -0
- package/public/font/quicksand-500-vietnamese.woff2 +0 -0
- package/public/js/houseaccount.js +144 -0
- package/public/theme/bootstrap.css +11 -0
- package/public/theme/dawn.css +189 -0
- package/public/theme/dracula.css +189 -0
- package/public/theme/gruvbox.css +189 -0
- package/public/theme/monokai.css +190 -0
- package/public/theme/nord.css +189 -0
- package/public/theme/one_dark.css +189 -0
- package/public/theme/solarized.css +188 -0
- package/public/theme/tokyo_night.css +189 -0
package/README.md
CHANGED
|
@@ -22,10 +22,10 @@ gem install houseaccount
|
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
24
|
# Gemfile
|
|
25
|
-
gem 'houseaccount', '~> 0.
|
|
25
|
+
gem 'houseaccount', '~> 0.11.0'
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
`~> 0.
|
|
28
|
+
`~> 0.11.0` stops short of `0.12`, since below 1.0 a minor release may break whatever it likes.
|
|
29
29
|
Rails 8.1 and Ruby 3.2 are the minimum.
|
|
30
30
|
|
|
31
31
|
### From npm
|
|
@@ -59,7 +59,7 @@ Stimulus application rather than taking the house's:
|
|
|
59
59
|
import WallController from 'houseaccount/controllers/wall_controller.js'
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
Pin as a Gemfile does, and for the same reason: `"houseaccount": "~0.
|
|
62
|
+
Pin as a Gemfile does, and for the same reason: `"houseaccount": "~0.11.0"` stops short of `0.12`.
|
|
63
63
|
|
|
64
64
|
A page takes the gem's layout, and wears the same head:
|
|
65
65
|
|
|
@@ -95,7 +95,7 @@ which Pages redirects away from.
|
|
|
95
95
|
|
|
96
96
|
With the gem in the bundle an app serves `/css/houseaccount.css`, `/js/houseaccount.js`,
|
|
97
97
|
`/theme/*`, `/font/*`, `/logo/*` and `/favicon/*` itself — and its own version's copy under
|
|
98
|
-
`/v0.
|
|
98
|
+
`/v0.11.0/`, which is what the head helper links, cached for a year — answers a 400, 404, 406, 422 or 500
|
|
99
99
|
with the house's own page, and has these helpers in every view:
|
|
100
100
|
|
|
101
101
|
```erb
|
|
@@ -240,12 +240,23 @@ Those follow the latest release. Every release is also kept whole under its own
|
|
|
240
240
|
forever and cached for a year, for a page that would rather move on its own terms:
|
|
241
241
|
|
|
242
242
|
```html
|
|
243
|
-
<link rel='stylesheet' href='https://design.houseaccount.com/v0.
|
|
244
|
-
<script type='module' src='https://design.houseaccount.com/v0.
|
|
243
|
+
<link rel='stylesheet' href='https://design.houseaccount.com/v0.11.0/css/houseaccount.css'>
|
|
244
|
+
<script type='module' src='https://design.houseaccount.com/v0.11.0/js/houseaccount.js'></script>
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
The same two files come from any CDN that carries the npm package, for a page that would
|
|
248
|
+
rather not depend on the site at all:
|
|
249
|
+
|
|
250
|
+
```html
|
|
251
|
+
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/houseaccount@0.11.0/css/houseaccount.css'>
|
|
252
|
+
<script type='module' src='https://cdn.jsdelivr.net/npm/houseaccount@0.11.0/js/houseaccount.js'></script>
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
The palettes are beside them, at `/theme/nord.css` and the rest. A published version is never
|
|
256
|
+
written again, so that URL is owed its bytes for as long as npm stands.
|
|
257
|
+
|
|
258
|
+
A host with a Content Security Policy allows whichever origin it names for `style-src`,
|
|
259
|
+
`script-src` and `font-src`.
|
|
249
260
|
|
|
250
261
|
## What is in the bundle
|
|
251
262
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houseaccount",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "HouseAccount's front end: Bootstrap 6 with the house customizations, the Stimulus controllers behind every HouseAccount page, and the brand's own CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"app/fonts",
|
|
11
11
|
"app/javascript",
|
|
12
12
|
"app/stylesheets",
|
|
13
|
+
"public/css",
|
|
14
|
+
"public/font",
|
|
15
|
+
"public/js",
|
|
16
|
+
"public/theme",
|
|
13
17
|
"vendor",
|
|
14
18
|
"MIT-LICENSE"
|
|
15
19
|
],
|