houseaccount 0.13.1 → 0.13.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +8 -8
- data/art/index.html.erb +14 -15
- data/lib/houseaccount/form_builder.rb +2 -2
- data/lib/houseaccount/version.rb +1 -1
- data/public/css/houseaccount.css +1 -1
- data/public/index.html +16 -17
- data/public/{v0.13.1 → v0.13.3}/css/houseaccount.css +1 -1
- metadata +19 -19
- /data/public/{v0.13.1 → v0.13.3}/font/bootstrap-icons-FRBPO3H7.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-latin-QHYSRFVK.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-latin-ext-QZ4PXVHB.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-latin-ext.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-latin.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-vietnamese-RRA5CUQB.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/font/quicksand-500-vietnamese.woff2 +0 -0
- /data/public/{v0.13.1 → v0.13.3}/js/houseaccount.js +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/bootstrap.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/dawn.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/dracula.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/gruvbox.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/monokai.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/nord.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/one_dark.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/solarized.css +0 -0
- /data/public/{v0.13.1 → v0.13.3}/theme/tokyo_night.css +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a717ed17766bb214cc6262e7ccad3ada84c397a35e1e4a38ecb7d363e7e339b
|
|
4
|
+
data.tar.gz: '085176f5083b758d53b553bab1667b993002540c0dda1dcc8fa0eebd65ffbed5'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0b43ad2cd7084cb83b2dff232123b8065ed222160d85a4f1228e4de6d3bd461de4305a916b70bd837b6b83bbb5e0c208ae6e2bfeabc00fd8bc18c71de1416ce
|
|
7
|
+
data.tar.gz: f1c83dbdda8e5ef260d6382123bdf10687eda91e1aad66ce8ee27c574104cbbd1aeb24a12bc3be77f2d00a9a6d902755fa0c6d47d725e9d2672a98c49334c23e
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## 0.13.3 - 2026-09-17
|
|
11
|
+
|
|
12
|
+
* [Change] The showcase leads with the themes, and says less everywhere else
|
|
13
|
+
|
|
14
|
+
The palette toggle repaints everything under it, so it stands first, and the section is
|
|
15
|
+
Themes — the word the folder, the id and the files have always used. Its button names the
|
|
16
|
+
mode it switches to and nothing else. Icons lost the last paragraph on the page that
|
|
17
|
+
described what the thing under it draws, and on a phone the two card URLs show the path
|
|
18
|
+
without the origin there is no room for.
|
|
19
|
+
|
|
20
|
+
* [Fix] The README pins a version a host can install
|
|
21
|
+
|
|
22
|
+
Three 0.13 releases went out while the README still taught `~> 0.12.0`, which stops short
|
|
23
|
+
of 0.13: a pin that cannot resolve the gem it appears in. It pins `~> 0.13.0` now, every
|
|
24
|
+
example URL names this release, and `package-lock.json`, left at 0.12.0 by the same three
|
|
25
|
+
releases, carries the version its package does.
|
|
26
|
+
|
|
27
|
+
## 0.13.2 - 2026-09-17
|
|
28
|
+
|
|
29
|
+
* [Fix] The cell a label wraps is `flow-field`; `form-field` is Bootstrap's, and its rules applied
|
|
30
|
+
|
|
10
31
|
## 0.13.1 - 2026-09-17
|
|
11
32
|
|
|
12
33
|
* [Fix] A card too short for what does not scroll scrolls whole, rather than spilling it
|
data/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.13.0'
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
`~> 0.
|
|
28
|
+
`~> 0.13.0` stops short of `0.14`, 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.13.0"` stops short of `0.14`.
|
|
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.13.3/`, 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
|
|
@@ -248,16 +248,16 @@ Those follow the latest release. Every release is also kept whole under its own
|
|
|
248
248
|
forever and cached for a year, for a page that would rather move on its own terms:
|
|
249
249
|
|
|
250
250
|
```html
|
|
251
|
-
<link rel='stylesheet' href='https://design.houseaccount.com/v0.
|
|
252
|
-
<script type='module' src='https://design.houseaccount.com/v0.
|
|
251
|
+
<link rel='stylesheet' href='https://design.houseaccount.com/v0.13.3/css/houseaccount.css'>
|
|
252
|
+
<script type='module' src='https://design.houseaccount.com/v0.13.3/js/houseaccount.js'></script>
|
|
253
253
|
```
|
|
254
254
|
|
|
255
255
|
The same two files come from any CDN that carries the npm package, for a page that would
|
|
256
256
|
rather not depend on the site at all:
|
|
257
257
|
|
|
258
258
|
```html
|
|
259
|
-
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/houseaccount@0.
|
|
260
|
-
<script type='module' src='https://cdn.jsdelivr.net/npm/houseaccount@0.
|
|
259
|
+
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/houseaccount@0.13.3/public/css/houseaccount.css'>
|
|
260
|
+
<script type='module' src='https://cdn.jsdelivr.net/npm/houseaccount@0.13.3/public/js/houseaccount.js'></script>
|
|
261
261
|
```
|
|
262
262
|
|
|
263
263
|
The palettes are beside them, at `public/theme/nord.css` and the rest. A published version is never
|
data/art/index.html.erb
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<body class='text-center'>
|
|
37
37
|
<header class='container-fluid px-3 py-3 border-bottom d-flex flex-wrap justify-content-center align-items-baseline gap-3'>
|
|
38
38
|
<a class='lockup quicksand' href='#'><svg aria-hidden='true' style='width: 1.0515em; height: 1.0515em; top: 0.18625em' viewBox='0 0 512 512'><g fill='none' stroke='#3b8ae8' stroke-width='28' stroke-linecap='round' stroke-linejoin='round' transform='rotate(45 256 256)'><path d='M196 60 L316 60 L316 372 L196 372 Z'/><path d='M196 120 L316 120'/><path d='M196 372 L256 470 L316 372'/><path d='M232 431 L256 470 L280 431 Z' fill='#1B5288'/></g></svg>design</a>
|
|
39
|
-
<nav class='fg-2'>the <a href='#
|
|
39
|
+
<nav class='fg-2'>the <a href='#theme'>themes</a>, <a href='#component'>components</a>, <a href='#page'>error pages</a>, <a href='#favicon'>icons</a> shared by <a href='https://pro.houseaccount.com/bookings' title='Fountain'><img class='design-mark' src='logo/fountain.svg' alt='Fountain'></a> <a href='https://gold.houseaccount.com/specialty_matches' title='Goldrush'><img class='design-mark' src='logo/goldrush.svg' alt='Goldrush'></a> <a href='https://providers.houseaccount.com/providers' title='Houston'><img class='design-mark' src='logo/houston.svg' alt='Houston'></a> <a href='https://checkout.houseaccount.com/providers' title='Autopilot'><img class='design-mark' src='logo/autopilot.svg' alt='Autopilot'></a></nav>
|
|
40
40
|
</header>
|
|
41
41
|
|
|
42
42
|
<main class='container-fluid px-3'>
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
<div class='col-12 md:col-6'>
|
|
47
47
|
<div class='card p-3'>
|
|
48
48
|
<strong>Stylesheet</strong>
|
|
49
|
-
<a class='design-url' href='css/houseaccount.css'>https://design.houseaccount.com
|
|
50
|
-
<span class='small fg-2 mt-1'>Bootstrap 6
|
|
49
|
+
<a class='design-url' href='css/houseaccount.css'><span class='d-none sm:d-inline'>https://design.houseaccount.com/</span>css/houseaccount.css</a>
|
|
50
|
+
<span class='small fg-2 mt-1'>Bootstrap 6 with extra icons and components</span>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
<div class='col-12 md:col-6'>
|
|
54
54
|
<div class='card p-3'>
|
|
55
55
|
<strong>Script</strong>
|
|
56
|
-
<a class='design-url' href='js/houseaccount.js'>https://design.houseaccount.com
|
|
56
|
+
<a class='design-url' href='js/houseaccount.js'><span class='d-none sm:d-inline'>https://design.houseaccount.com/</span>js/houseaccount.js</a>
|
|
57
57
|
<span class='small fg-2 mt-1'>Turbo, Bootstrap, and a Stimulus application</span>
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
@@ -66,6 +66,16 @@
|
|
|
66
66
|
</div>
|
|
67
67
|
</section>
|
|
68
68
|
|
|
69
|
+
<section class='design-section' id='theme'>
|
|
70
|
+
<h2>Themes</h2>
|
|
71
|
+
<button type='button' class='btn btn-outline theme-primary' data-controller='scheme' data-action='scheme#rotate'
|
|
72
|
+
data-scheme-themes-value='["bootstrap","dawn","dracula","gruvbox","monokai","nord","one_dark","solarized","tokyo_night"]'
|
|
73
|
+
data-scheme-path-value='theme' data-scheme-storage-value='recourse-scheme'>
|
|
74
|
+
<span class='recourse-scheme-light'><i class='bi bi-moon-fill'></i> Dark</span>
|
|
75
|
+
<span class='recourse-scheme-dark'><i class='bi bi-sun-fill'></i> Light</span>
|
|
76
|
+
</button>
|
|
77
|
+
</section>
|
|
78
|
+
|
|
69
79
|
<section class='design-section' id='component'>
|
|
70
80
|
<h2>Components</h2>
|
|
71
81
|
<h3 class='h5 design-subsection'>Buttons and badges</h3>
|
|
@@ -208,19 +218,8 @@
|
|
|
208
218
|
</ul>
|
|
209
219
|
</section>
|
|
210
220
|
|
|
211
|
-
<section class='design-section' id='theme'>
|
|
212
|
-
<h2>Palettes</h2>
|
|
213
|
-
<button type='button' class='btn btn-outline theme-primary' data-controller='scheme' data-action='scheme#rotate'
|
|
214
|
-
data-scheme-themes-value='["bootstrap","dawn","dracula","gruvbox","monokai","nord","one_dark","solarized","tokyo_night"]'
|
|
215
|
-
data-scheme-path-value='theme' data-scheme-storage-value='recourse-scheme'>
|
|
216
|
-
<span class='recourse-scheme-light'><i class='bi bi-moon-fill'></i> Another palette, dark</span>
|
|
217
|
-
<span class='recourse-scheme-dark'><i class='bi bi-sun-fill'></i> Another palette, light</span>
|
|
218
|
-
</button>
|
|
219
|
-
</section>
|
|
220
|
-
|
|
221
221
|
<section class='design-section' id='favicon'>
|
|
222
222
|
<h2>Icons</h2>
|
|
223
|
-
<p class='fg-2'>Every mark an app is known by: the drawing under <code>/logo</code>, and what a tab, a phone and a manifest each ask for under <code>/favicon</code>. The pink one is a local machine's.</p>
|
|
224
223
|
<div class='table-responsive'>
|
|
225
224
|
<table class='table table-hover mx-auto' style='max-width: 60rem'>
|
|
226
225
|
<thead><tr><th scope='col'>Logo</th><th scope='col'>App</th><th scope='col'>.svg</th><th scope='col'>-dev.svg</th><th scope='col'>-96.png</th><th scope='col'>-180.png</th><th scope='col'>-192.png</th><th scope='col'>-512.png</th><th scope='col'>.ico</th><th scope='col'>.webmanifest</th></tr></thead>
|
|
@@ -35,7 +35,7 @@ module HouseAccount
|
|
|
35
35
|
heading = (@template.tag.legend legend if legend)
|
|
36
36
|
inside = @template.safe_join [heading, @template.capture(&)].compact
|
|
37
37
|
|
|
38
|
-
@template.tag.fieldset inside, **with_classes(options, 'd-grid
|
|
38
|
+
@template.tag.fieldset inside, **with_classes(options, 'd-grid flow-fieldset')
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
# A label is Bootstrap's `form-label`, whatever else it is given -- and given both words
|
|
@@ -51,7 +51,7 @@ module HouseAccount
|
|
|
51
51
|
words = @template.tag.span text, class: 'form-label'
|
|
52
52
|
inside = @template.safe_join [words, @template.capture(&block)]
|
|
53
53
|
|
|
54
|
-
@template.tag.label inside, for: field_id(method), **with_classes(options, '
|
|
54
|
+
@template.tag.label inside, for: field_id(method), **with_classes(options, 'flow-field')
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
# A text field is a large control.
|
data/lib/houseaccount/version.rb
CHANGED