Commit graph

41 commits

Author SHA1 Message Date
dependabot[bot]
a74cf7ae8e
build(deps): bump @biomejs/biome from 2.0.5 to 2.0.6 (#8810)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.6/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 21:32:18 +03:00
ogoffart
9cc24ff284 Bump version number to 1.13.0 2025-06-26 13:30:43 +00:00
dependabot[bot]
78bea10408
build(deps): bump @biomejs/biome from 2.0.0 to 2.0.4 (#8758)
* build(deps): bump @biomejs/biome from 2.0.0 to 2.0.4

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* [autofix.ci] apply automated fixes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-24 15:11:14 +03:00
Nigel Breslaw
6d21c7b7ff
Update to Biome 2.0 (#8730) 2025-06-19 21:38:30 +03:00
ogoffart
92f9f0e85d Bump version number to 1.12.1 2025-06-16 13:32:39 +00:00
Nigel Breslaw
39dea5a79d
demos: Fix wasm deploy of Home Automation demo (#8625) 2025-06-10 14:54:47 +03:00
Simon Hausmann
9ad4ef6e52 iOS: Disable the sandbox for the cargo build script by default
When the xcode project is in a sub-dir but the cargo build tries to access a file outside, this won't work.
2025-05-20 11:07:19 +02:00
Simon Hausmann
e14140c028 iOS: Fix initial window geometry
Define a dummy UILaunchScreen to avoid the app running in legacy mode for old devices.
2025-05-20 11:07:19 +02:00
Simon Hausmann
4df7a9504a Avoid double app prefix in ios bundle ids and use dev instead of com
(to be squashed)
2025-05-20 11:07:19 +02:00
Simon Hausmann
d37ee60155 Add iOS build of the Energy Monitor and Home Automation demos
Use xcodegen -s ios-project.yml to generate the Xcode project.
2025-05-20 11:07:19 +02:00
Nigel Breslaw
beef5d9cde
Time fix for home-auto demo (#8473)
* Landscape time was not hidden in portrait

* Apply landscape time fix to portrait
2025-05-19 14:53:38 +03:00
Tasuku Suzuki
40c89b96d6
Home Automation: Refactor alarm passcode logic (#8435)
Remove unnecessary indirect-passcode property.
Change max length of passcode to 4.
2025-05-12 13:29:49 +03:00
Tasuku Suzuki
18d2810a8f
Home Automation: Highlight current tab (#8416)
Add visual states and animated transitions to clearly highlight the selected tab.
2025-05-12 13:20:37 +03:00
Tasuku Suzuki
3e94d81ba0
Home Automation: adjust logo appearance (#8415)
Colored logo provides better visual appeal during demonstrations.

This also addresses an issue where the first touch in kiosk mode (which deactivates it) appeared unresponsive due to no immediate visual feedback.
2025-05-10 12:21:41 +03:00
Tasuku Suzuki
f97f2d105f
Home Automation: clean up imports (#8406) 2025-05-09 14:12:59 +03:00
Tasuku Suzuki
eb1ae3d3bc
Home Automation: Improve player's play button (#8405) 2025-05-08 13:37:12 +03:00
Tasuku Suzuki
0051c95b1b
Add real-time clock to home automation demo (#8390) 2025-05-08 13:19:03 +03:00
Tasuku Suzuki
d85f11758c
Home Automation: fix color of month (#8393) 2025-05-07 11:30:47 +03:00
Tasuku Suzuki
37ad2445a7
Fix time display in home automation demo (#8392)
Show 12 instead of 0 for noon/midnight and fix AM/PM logic
2025-05-07 11:27:34 +03:00
ogoffart
e0099ea500 Bump version number to 1.12.0 2025-04-30 13:27:50 +00:00
Tasuku Suzuki
31439de382
Home Automation: fix graph vertical grid lines (#8199) 2025-04-18 17:28:07 +03:00
Tobias Hunger
cd6f2e2cf2 ci: Format toml files
... using taplo with default settings

I tried this with 4 spaces indentation, but the patch is almost as
big as this one, so I went with default settings instead as that
is just easier:-)
2025-04-02 11:03:41 +02:00
Nigel Breslaw
30dca1423e
demos: Simplify home auto weather component (#7964) 2025-03-27 15:12:52 +02:00
Nigel Breslaw
287a976bd0
Updated Home Automation demo (#7890)
Adds:

Kiosk mode. After 30 seconds demo will cycle through views.
Landscape support.
{ API } to work with the new data tab in live-preview.
SW Renderer support (use of PNG images over gradients, Rectangles, shadows, etc).
Removes side-bar and theming.
Refreshed look.
2025-03-21 19:04:58 +02:00
ogoffart
178cf21c2e Bump version number to 1.11.0 2025-03-18 09:48:22 +00:00
ogoffart
c83af3ca5c Bump version number to 1.10.0 2025-01-13 13:38:41 +00:00
Olivier Goffart
3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
ogoffart
f309a551b5 Bump version number to 1.9.2 2024-12-30 10:18:16 +00:00
aurindam
dc3f29b6da Bump version number to 1.9.1 2024-12-19 12:57:19 +00:00
Olivier Goffart
fff19b329b Add explicit width and height to demo svg
Workaround for #6715
In the wasm interpreted, we use an `<img>` tag to load images, but that
cannot get the default svg size without an explicit width and height
2024-12-16 19:05:44 +01:00
szecket
bf66b9756f
hack to keep focus as hover steals it (#7093) 2024-12-13 16:59:15 -05:00
Simon Hausmann
a7461956ab Speed up the home automation's lock screen
Don't redraw the entire scene underneath every time the LEDs are
animated. Instead, cache it into one large layer. The scene is
reasonabley complex that this justifies the expense of the additional
memory throughput.
2024-11-28 10:39:16 +01:00
dependabot[bot]
ad8a23571a
build(deps): bump @biomejs/biome from 1.9.3 to 1.9.4 (#6863)
* build(deps): bump @biomejs/biome from 1.9.3 to 1.9.4

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/cli/v1.9.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* format:fix

* Ignore lint item

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
2024-11-21 00:28:19 +02:00
Nigel Breslaw
108e851802
Stop Home Automation demo showing a keyboard on a phone 2024-11-20 21:19:25 +02:00
Simon Hausmann
9f7e407eff Fix fallback to source builds
Continue to run build-on-demand.mjs to permit a fallback to a
from-source build for users who run `npm install slint-ui` on a platform
where we don't provide binaries for (such as linux-armv7/64). However,
this is only done when run from the installed package, not from git.
From git, the prestart trick remains in use.
2024-11-14 12:25:42 +01:00
Nigel Breslaw
0461abfc73 Avoid building Rust on pnpm install 2024-11-14 12:25:42 +01:00
Nigel Breslaw
892471205e
Home Automation fixes
Fix for incorrect sized SVG on web.
Fix for incorrect gradient on HVAC for web.
Fix for opacity animation not being triggered.
Fix for README having incorrect copy paste info.
2024-11-12 17:05:11 +02:00
Nigel Breslaw
5bd6c4b951
Improve the resolution the Home Automation demo runs at 2024-10-30 20:01:21 +02:00
Simon Hausmann
1eb30a484a Fix home-automation wasm loading 2024-10-25 17:15:46 +02:00
Nigel Breslaw
8ba87950ae
Add fonts back to Home Auto demo 2024-10-25 18:07:36 +03:00
Nigel Breslaw
e0557536a6
Add new home-automation demo (#6654) 2024-10-25 15:55:03 +02:00