diff --git a/.yarnrc b/.yarnrc index 287234dc..a607ad43 100644 --- a/.yarnrc +++ b/.yarnrc @@ -2,4 +2,4 @@ # yarn lockfile v1 -lastUpdateCheck 1728862732146 +lastUpdateCheck 1729300363924 diff --git a/README.md b/README.md index 627faa2f..3780d6c9 100644 --- a/README.md +++ b/README.md @@ -1064,7 +1064,7 @@ will be rendered as: - + ``` diff --git a/compose.yml b/compose.yml index c20bf5ec..797acd8f 100644 --- a/compose.yml +++ b/compose.yml @@ -21,7 +21,8 @@ services: command: /bin/bash selenium: - image: selenium/standalone-chrome:122.0 + # Try removing headless=old option when upgrading the version. + image: selenium/standalone-chrome:129.0 logging: driver: none stdin_open: true diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index 3e47a2a4..410156e6 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -138,7 +138,7 @@ GEM mini_mime (1.1.5) minitest (5.25.1) msgpack (1.7.3) - net-imap (0.4.16) + net-imap (0.4.17) date net-protocol net-pop (0.1.2) @@ -166,7 +166,7 @@ GEM puma (6.4.3) nio4r (~> 2.0) racc (1.8.1) - rack (3.1.7) + rack (3.1.8) rack-session (2.0.0) rack (>= 3.0.0) rack-test (2.1.0) diff --git a/demo/doc/screenshots/bootstrap/index-122/00_horizontal_form.png b/demo/doc/screenshots/bootstrap/index-122/00_horizontal_form.png new file mode 100644 index 00000000..86271ed1 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index-122/00_horizontal_form.png differ diff --git a/demo/doc/screenshots/bootstrap/index-122/01_with_validation_error.png b/demo/doc/screenshots/bootstrap/index-122/01_with_validation_error.png new file mode 100644 index 00000000..d0741767 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index-122/01_with_validation_error.png differ diff --git a/demo/doc/screenshots/bootstrap/index-122/02_inline_form.png b/demo/doc/screenshots/bootstrap/index-122/02_inline_form.png new file mode 100644 index 00000000..c1d0d6af Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index-122/02_inline_form.png differ diff --git a/demo/doc/screenshots/bootstrap/index-122/03_simple_action_text_example.png b/demo/doc/screenshots/bootstrap/index-122/03_simple_action_text_example.png new file mode 100644 index 00000000..6f7d9828 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index-122/03_simple_action_text_example.png differ diff --git a/demo/doc/screenshots/bootstrap/index-122/04_floating_labels.png b/demo/doc/screenshots/bootstrap/index-122/04_floating_labels.png new file mode 100644 index 00000000..be1290d4 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index-122/04_floating_labels.png differ diff --git a/demo/doc/screenshots/bootstrap/index/00_horizontal_form.png b/demo/doc/screenshots/bootstrap/index/00_horizontal_form.png new file mode 100644 index 00000000..abfdb1f2 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index/00_horizontal_form.png differ diff --git a/demo/doc/screenshots/bootstrap/index/01_with_validation_error.png b/demo/doc/screenshots/bootstrap/index/01_with_validation_error.png new file mode 100644 index 00000000..19e2a16c Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index/01_with_validation_error.png differ diff --git a/demo/doc/screenshots/bootstrap/index/02_inline_form.png b/demo/doc/screenshots/bootstrap/index/02_inline_form.png new file mode 100644 index 00000000..8e43dc93 Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index/02_inline_form.png differ diff --git a/demo/doc/screenshots/bootstrap/index/03_simple_action_text_example.png b/demo/doc/screenshots/bootstrap/index/03_simple_action_text_example.png new file mode 100644 index 00000000..f4b7629d Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index/03_simple_action_text_example.png differ diff --git a/demo/doc/screenshots/bootstrap/index/04_floating_labels.png b/demo/doc/screenshots/bootstrap/index/04_floating_labels.png new file mode 100644 index 00000000..42fc817a Binary files /dev/null and b/demo/doc/screenshots/bootstrap/index/04_floating_labels.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/00_example.png b/demo/doc/screenshots/bootstrap/readme/00_example.png index 8f9a2f9d..66453ed3 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/00_example.png and b/demo/doc/screenshots/bootstrap/readme/00_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/01_example.png b/demo/doc/screenshots/bootstrap/readme/01_example.png index ddc0dbf0..0a44a2dc 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/01_example.png and b/demo/doc/screenshots/bootstrap/readme/01_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/02_example.png b/demo/doc/screenshots/bootstrap/readme/02_example.png index 2def1067..c8383dd1 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/02_example.png and b/demo/doc/screenshots/bootstrap/readme/02_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/03_example.png b/demo/doc/screenshots/bootstrap/readme/03_example.png index 49e7e673..df4bcff2 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/03_example.png and b/demo/doc/screenshots/bootstrap/readme/03_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/04_example.png b/demo/doc/screenshots/bootstrap/readme/04_example.png index 2722e2d9..72d3260f 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/04_example.png and b/demo/doc/screenshots/bootstrap/readme/04_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/05_example.png b/demo/doc/screenshots/bootstrap/readme/05_example.png index ae2b67de..18497152 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/05_example.png and b/demo/doc/screenshots/bootstrap/readme/05_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/06_example.png b/demo/doc/screenshots/bootstrap/readme/06_example.png index cc54ac65..06bb9bcc 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/06_example.png and b/demo/doc/screenshots/bootstrap/readme/06_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/07_example.png b/demo/doc/screenshots/bootstrap/readme/07_example.png index 7c4c02da..4a681113 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/07_example.png and b/demo/doc/screenshots/bootstrap/readme/07_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/08_example.png b/demo/doc/screenshots/bootstrap/readme/08_example.png index 1142c557..f947f048 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/08_example.png and b/demo/doc/screenshots/bootstrap/readme/08_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/09_example.png b/demo/doc/screenshots/bootstrap/readme/09_example.png index 05642f35..06ebee73 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/09_example.png and b/demo/doc/screenshots/bootstrap/readme/09_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/10_example.png b/demo/doc/screenshots/bootstrap/readme/10_example.png index a97a846e..a4caa6ee 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/10_example.png and b/demo/doc/screenshots/bootstrap/readme/10_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/11_example.png b/demo/doc/screenshots/bootstrap/readme/11_example.png index ed036161..dd396d8e 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/11_example.png and b/demo/doc/screenshots/bootstrap/readme/11_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/12_example.png b/demo/doc/screenshots/bootstrap/readme/12_example.png index f00620ae..623ab73e 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/12_example.png and b/demo/doc/screenshots/bootstrap/readme/12_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/13_example.png b/demo/doc/screenshots/bootstrap/readme/13_example.png index f3611174..5ede5950 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/13_example.png and b/demo/doc/screenshots/bootstrap/readme/13_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/14_example.png b/demo/doc/screenshots/bootstrap/readme/14_example.png index 4d6bbacd..c7f1aa9f 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/14_example.png and b/demo/doc/screenshots/bootstrap/readme/14_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/15_example.png b/demo/doc/screenshots/bootstrap/readme/15_example.png index b1c11336..b09b325b 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/15_example.png and b/demo/doc/screenshots/bootstrap/readme/15_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/16_example.png b/demo/doc/screenshots/bootstrap/readme/16_example.png index d6fcb66f..03935fcd 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/16_example.png and b/demo/doc/screenshots/bootstrap/readme/16_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/17_example.png b/demo/doc/screenshots/bootstrap/readme/17_example.png index ed1b83df..ac7948a6 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/17_example.png and b/demo/doc/screenshots/bootstrap/readme/17_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/18_example.png b/demo/doc/screenshots/bootstrap/readme/18_example.png index ad711524..ebe3a83e 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/18_example.png and b/demo/doc/screenshots/bootstrap/readme/18_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/19_example.png b/demo/doc/screenshots/bootstrap/readme/19_example.png index 48c1540d..f1d461be 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/19_example.png and b/demo/doc/screenshots/bootstrap/readme/19_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/20_example.png b/demo/doc/screenshots/bootstrap/readme/20_example.png index 82c288dc..45cc2fc8 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/20_example.png and b/demo/doc/screenshots/bootstrap/readme/20_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/21_example.png b/demo/doc/screenshots/bootstrap/readme/21_example.png index 16582623..29a477aa 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/21_example.png and b/demo/doc/screenshots/bootstrap/readme/21_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/22_example.png b/demo/doc/screenshots/bootstrap/readme/22_example.png index 2458f71f..8855dad1 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/22_example.png and b/demo/doc/screenshots/bootstrap/readme/22_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/23_example.png b/demo/doc/screenshots/bootstrap/readme/23_example.png index a49a616d..2baafd7f 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/23_example.png and b/demo/doc/screenshots/bootstrap/readme/23_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/24_example.png b/demo/doc/screenshots/bootstrap/readme/24_example.png index 873c39a4..507f4bea 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/24_example.png and b/demo/doc/screenshots/bootstrap/readme/24_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/25_example.png b/demo/doc/screenshots/bootstrap/readme/25_example.png index 22fadd88..8a3ab48b 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/25_example.png and b/demo/doc/screenshots/bootstrap/readme/25_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/26_example.png b/demo/doc/screenshots/bootstrap/readme/26_example.png index cf512cc3..52c9f992 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/26_example.png and b/demo/doc/screenshots/bootstrap/readme/26_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/27_example.png b/demo/doc/screenshots/bootstrap/readme/27_example.png index 4912613b..f7220849 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/27_example.png and b/demo/doc/screenshots/bootstrap/readme/27_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/28_example.png b/demo/doc/screenshots/bootstrap/readme/28_example.png index 59b157a5..b61dcd89 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/28_example.png and b/demo/doc/screenshots/bootstrap/readme/28_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/29_example.png b/demo/doc/screenshots/bootstrap/readme/29_example.png index 01f9acd6..d6a94584 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/29_example.png and b/demo/doc/screenshots/bootstrap/readme/29_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/30_example.png b/demo/doc/screenshots/bootstrap/readme/30_example.png index 01f9acd6..d6a94584 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/30_example.png and b/demo/doc/screenshots/bootstrap/readme/30_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/31_example.png b/demo/doc/screenshots/bootstrap/readme/31_example.png index 7c713caf..174aaa84 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/31_example.png and b/demo/doc/screenshots/bootstrap/readme/31_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/32_example.png b/demo/doc/screenshots/bootstrap/readme/32_example.png index 784f1f6d..2c3ae3c3 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/32_example.png and b/demo/doc/screenshots/bootstrap/readme/32_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/33_example.png b/demo/doc/screenshots/bootstrap/readme/33_example.png index 97c652b4..11acb679 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/33_example.png and b/demo/doc/screenshots/bootstrap/readme/33_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/34_example.png b/demo/doc/screenshots/bootstrap/readme/34_example.png index 2412250d..16bc015d 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/34_example.png and b/demo/doc/screenshots/bootstrap/readme/34_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/35_example.png b/demo/doc/screenshots/bootstrap/readme/35_example.png index 55261b49..92cda71a 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/35_example.png and b/demo/doc/screenshots/bootstrap/readme/35_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/36_example.png b/demo/doc/screenshots/bootstrap/readme/36_example.png index 633faa05..57a006c9 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/36_example.png and b/demo/doc/screenshots/bootstrap/readme/36_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/37_example.png b/demo/doc/screenshots/bootstrap/readme/37_example.png index 4da253e8..50c3659b 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/37_example.png and b/demo/doc/screenshots/bootstrap/readme/37_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/38_example.png b/demo/doc/screenshots/bootstrap/readme/38_example.png index 3110bbf2..a157450a 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/38_example.png and b/demo/doc/screenshots/bootstrap/readme/38_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/40_example.png b/demo/doc/screenshots/bootstrap/readme/40_example.png index 91a2d9f0..76fe41fe 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/40_example.png and b/demo/doc/screenshots/bootstrap/readme/40_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/41_example.png b/demo/doc/screenshots/bootstrap/readme/41_example.png index f952d167..1a9f5824 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/41_example.png and b/demo/doc/screenshots/bootstrap/readme/41_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/42_example.png b/demo/doc/screenshots/bootstrap/readme/42_example.png index 47ea376e..6df60dfc 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/42_example.png and b/demo/doc/screenshots/bootstrap/readme/42_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/43_example.png b/demo/doc/screenshots/bootstrap/readme/43_example.png index 4d559273..e3d97c0e 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/43_example.png and b/demo/doc/screenshots/bootstrap/readme/43_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/44_example.png b/demo/doc/screenshots/bootstrap/readme/44_example.png index 0fbe0c5c..f7d7041d 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/44_example.png and b/demo/doc/screenshots/bootstrap/readme/44_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/45_example.png b/demo/doc/screenshots/bootstrap/readme/45_example.png index d89a1f45..900eda4a 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/45_example.png and b/demo/doc/screenshots/bootstrap/readme/45_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/46_example.png b/demo/doc/screenshots/bootstrap/readme/46_example.png index 54cd55f7..dfac24d0 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/46_example.png and b/demo/doc/screenshots/bootstrap/readme/46_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/47_example.png b/demo/doc/screenshots/bootstrap/readme/47_example.png index a368abe4..3b1d8173 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/47_example.png and b/demo/doc/screenshots/bootstrap/readme/47_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/48_example.png b/demo/doc/screenshots/bootstrap/readme/48_example.png index b318a5d0..42fd7be9 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/48_example.png and b/demo/doc/screenshots/bootstrap/readme/48_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/49_example.png b/demo/doc/screenshots/bootstrap/readme/49_example.png index c1997294..0dab0c5c 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/49_example.png and b/demo/doc/screenshots/bootstrap/readme/49_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/50_example.png b/demo/doc/screenshots/bootstrap/readme/50_example.png index c250185a..8eedcb70 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/50_example.png and b/demo/doc/screenshots/bootstrap/readme/50_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/51_example.png b/demo/doc/screenshots/bootstrap/readme/51_example.png index d1320f09..c959f90a 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/51_example.png and b/demo/doc/screenshots/bootstrap/readme/51_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/52_example.png b/demo/doc/screenshots/bootstrap/readme/52_example.png index 1c5fc83c..38dd4847 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/52_example.png and b/demo/doc/screenshots/bootstrap/readme/52_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/53_example.png b/demo/doc/screenshots/bootstrap/readme/53_example.png index 07b258a4..e66420f6 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/53_example.png and b/demo/doc/screenshots/bootstrap/readme/53_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/54_example.png b/demo/doc/screenshots/bootstrap/readme/54_example.png index 097ea567..661a4635 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/54_example.png and b/demo/doc/screenshots/bootstrap/readme/54_example.png differ diff --git a/demo/doc/screenshots/bootstrap/readme/55_example.png b/demo/doc/screenshots/bootstrap/readme/55_example.png index 7b1cd60c..e10702a5 100644 Binary files a/demo/doc/screenshots/bootstrap/readme/55_example.png and b/demo/doc/screenshots/bootstrap/readme/55_example.png differ diff --git a/demo/test/application_system_test_case.rb b/demo/test/application_system_test_case.rb index e256abf2..d4167324 100644 --- a/demo/test/application_system_test_case.rb +++ b/demo/test/application_system_test_case.rb @@ -19,8 +19,10 @@ def remote_selenium? = @remote_selenium ||= ENV["SELENIUM_HOST"].present? || ENV end driven_by :selenium, using: :headless_chrome, screen_size: [960, 720], options: options do |capabilities| - capabilities.add_argument "force-device-scale-factor=1" - capabilities.add_argument "lang=#{ENV.fetch('LANG', 'en_CA')}" + capabilities.add_argument("force-device-scale-factor=1") + capabilities.add_argument("lang=#{ENV.fetch('LANG', 'en_CA')}") + # Needed for Selenium 129. Presumably remove at some point. + capabilities.add_argument("--headless=old") end if remote_selenium?