Commit graph

157 commits

Author SHA1 Message Date
Simon Hausmann
34eaf79855 material: doc: Fix up the instructions for building docs to include the docsnapper
Imported from d0d220b4a8
2025-09-18 15:47:45 +02:00
Nigel Breslaw
30d0310036 material: Align favicons with docs.slint.dev (https://github.com/slint-ui/material-components/issues/77)
* Align favicons with docs.slint.dev

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Imported from d54ba3ac25
2025-09-18 15:47:45 +02:00
Simon Hausmann
cea2101a34 material: Use a scale factor of 3 for all screenshots
Imported from bf604811e6
2025-09-18 15:47:45 +02:00
Simon Hausmann
b75b01a652 material: Add screenshots to doc snippets
... in the cases where it looks good and compiles.


Imported from 674f459975
2025-09-18 15:47:44 +02:00
Nigel Breslaw
9f02b7ff00 material: Update readme (https://github.com/slint-ui/material-components/issues/74)
Imported from 6620597c08
2025-09-18 15:47:44 +02:00
Nigel Breslaw
7596b75db0 material: Fix light/dark changes (https://github.com/slint-ui/material-components/issues/73)
There were 2 seperate keys used to store the theme for the front page and docs. So changing one, did not change the other. This is now fixed.

Imported from 7946f823bd
2025-09-18 15:47:44 +02:00
Nigel Breslaw
fe4767f498 material: Fix images and logos (https://github.com/slint-ui/material-components/issues/71)
Imported from 53e421d41c
2025-09-18 15:47:44 +02:00
Simon Hausmann
de3bc6d005 material: Dialog: The exported type is called Dialog, not BaseDialog
Imported from 8441b61012
2025-09-18 15:47:44 +02:00
Simon Hausmann
8fdd140945 material: FloatingActionButton: Import FABStyle to make the doc snippet compile
Imported from af8ccfa14d
2025-09-18 15:47:44 +02:00
Simon Hausmann
82f9564fd9 material: TimePicker: Improve time property docs
Use the same inline snippet as in the main Slint docs


Imported from adb3eb2786
2025-09-18 15:47:44 +02:00
Simon Hausmann
5cf7839be6 material: TimePicker: Removed accepted/cancelled callbacks
Those are not implemented


Imported from 8bfcdae3de
2025-09-18 15:47:44 +02:00
Simon Hausmann
c970f2f17c material: TimePicker: Replaced the minute/hour properties with a time property
That way the provided example compiles and reflects the API that's exported.


Imported from 2acb1bd4ea
2025-09-18 15:47:44 +02:00
Nigel Breslaw
710583ace7 material: Tidy site for publishing (https://github.com/slint-ui/material-components/issues/68)
* Tidy site for publishing

1. Link to the getting started guide.
2. Remove the old getting started list as the docs now covers this.
3. Remove the FAQ as it wasn't accurate.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Imported from 12bd04cf81
2025-09-18 15:47:44 +02:00
Nigel Breslaw
21bed3ceed material: Add getting started guide to docs (https://github.com/slint-ui/material-components/issues/67)
Imported from 13b62b7403
2025-09-18 15:47:44 +02:00
dependabot[bot]
b126733820 material: build(deps-dev): bump cspell from 9.1.1 to 9.1.2 in /docs (https://github.com/slint-ui/material-components/issues/66)
---
updated-dependencies:
- dependency-name: cspell
  dependency-version: 9.1.2
  dependency-type: direct:development
  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>

Imported from ff6ffd8996
2025-09-18 15:47:44 +02:00
dependabot[bot]
7f2d33a1e5 material: build(deps): bump @types/node from 24.0.3 to 24.0.7 in /docs (https://github.com/slint-ui/material-components/issues/65)
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.7
  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>

Imported from 30de9a3488
2025-09-18 15:47:44 +02:00
dependabot[bot]
7a1df5fef8 material: build(deps-dev): bump @biomejs/biome from 2.0.4 to 2.0.6 in /docs (https://github.com/slint-ui/material-components/issues/64)
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.6
  dependency-type: direct:development
  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>

Imported from 2a7f781c89
2025-09-18 15:47:44 +02:00
dependabot[bot]
2763a70fe2 material: build(deps): bump astro from 5.10.0 to 5.10.1 in /docs in the starlight_astro group (https://github.com/slint-ui/material-components/issues/63)
* build(deps): bump astro in /docs in the starlight_astro group

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 5.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

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>

Imported from 2af0161894
2025-09-18 15:47:44 +02:00
Nigel Breslaw
1ef1bddcab material: Follow favicon best practices (https://github.com/slint-ui/material-components/issues/62)
Imported from fd82f85bc6
2025-09-18 15:47:44 +02:00
Nigel Breslaw
010a6484cf material: Use .ico for favicon (https://github.com/slint-ui/material-components/issues/61)
This ensures it works on safari

Imported from 8f059e1958
2025-09-18 15:47:44 +02:00
Nigel Breslaw
f0316fc3d4 material: Stop favicons being hashed (https://github.com/slint-ui/material-components/issues/60)
Favicons are not showing up in the google search results for docs and this material site. It's possible this is because the favicons are being converted into a file name with a hash e.g. favicon_233242.ico. This ensure they are in the public folder where Astro won't hash them and change the name. This might fix the google search results issue. 

Imported from 385065e768
2025-09-18 15:47:44 +02:00
Nigel Breslaw
8bd4ecdf32 material: Add a favicon to the root (https://github.com/slint-ui/material-components/issues/59)
Imported from 097918e6e0
2025-09-18 15:47:44 +02:00
Nigel Breslaw
e593469aeb material: Delete dead file (https://github.com/slint-ui/material-components/issues/58)
Imported from b9a6c265e7
2025-09-18 15:47:44 +02:00
Nigel Breslaw
c0f7a89a1e material: Improve android download (https://github.com/slint-ui/material-components/issues/56)
Imported from 1f17335a35
2025-09-18 15:47:44 +02:00
Nigel Breslaw
c6932db90e material: Fixes: Privacy redirect, banner being clickable, delete unused content (https://github.com/slint-ui/material-components/issues/55)
Imported from 85d6be9493
2025-09-18 15:47:44 +02:00
Nigel Breslaw
4c61826eb2 material: Show banner even on mobile (https://github.com/slint-ui/material-components/issues/54)
Imported from 18e7293cc3
2025-09-18 15:47:44 +02:00
Nigel Breslaw
351e2dd956 material: Add announcement banner (https://github.com/slint-ui/material-components/issues/53)
Imported from 3fdf54b794
2025-09-18 15:47:44 +02:00
Nigel Breslaw
b7f94fc7af material: Tweak android text (https://github.com/slint-ui/material-components/issues/52)
Imported from dae1c429e7
2025-09-18 15:47:44 +02:00
Nigel Breslaw
7b794f1a51 material: Use slint blue on the logo (https://github.com/slint-ui/material-components/issues/50)
Imported from 04a458c1ec
2025-09-18 15:47:44 +02:00
Nigel Breslaw
503cba7043 material: Ensure kebab case is used in docs: foo_bar -> foo-bar (https://github.com/slint-ui/material-components/issues/48)
Imported from 0785655db6
2025-09-18 15:47:44 +02:00
Nigel Breslaw
18749b3206 material: Fix missing defaults and links (https://github.com/slint-ui/material-components/issues/47)
Imported from f846548960
2025-09-18 15:47:44 +02:00
Nigel Breslaw
0ce02e0f04 material: Remove dead styling page (https://github.com/slint-ui/material-components/issues/46)
Imported from edfce1b8f1
2025-09-18 15:47:44 +02:00
Nigel Breslaw
180c1d09df material: Put back missing callbacks (https://github.com/slint-ui/material-components/issues/43)
Imported from 5c84c4348b
2025-09-18 15:47:44 +02:00
Nigel Breslaw
a9a1403f26 material: Remove function and callback snippets (https://github.com/slint-ui/material-components/issues/42)
Imported from 4de1291437
2025-09-18 15:47:44 +02:00
Nigel Breslaw
6d352d62f1 material: Fix missing icons in production (https://github.com/slint-ui/material-components/issues/41)
Imported from ee5d8416d4
2025-09-18 15:47:44 +02:00
Nigel Breslaw
c2522c3d39 material: Fix info icons (https://github.com/slint-ui/material-components/issues/40)
* Fix info icons

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Imported from a772527057
2025-09-18 15:47:44 +02:00
Nigel Breslaw
e25db9fa0b material: Less repetative bullet points (https://github.com/slint-ui/material-components/issues/39)
Imported from 4bbf2b83a0
2025-09-18 15:47:44 +02:00
Nigel Breslaw
25fed84619 material: Replace stock images (https://github.com/slint-ui/material-components/issues/38)
Imported from f934e0dce2
2025-09-18 15:47:44 +02:00
Nigel Breslaw
1324d7c75c material: Improve text on home page (https://github.com/slint-ui/material-components/issues/37)
Imported from 6805ad0c10
2025-09-18 15:47:44 +02:00
Nigel Breslaw
d91c9a4f83 material: Stop phone being clipped (https://github.com/slint-ui/material-components/issues/36)
Imported from a529bb8f71
2025-09-18 15:47:44 +02:00
Nigel Breslaw
b4a7b9cdff material: Move social links to header (https://github.com/slint-ui/material-components/issues/35)
Imported from b61053d652
2025-09-18 15:47:44 +02:00
Nigel Breslaw
10793db0f2 material: Add material phone image to landing page (https://github.com/slint-ui/material-components/issues/34)
Imported from b55800cbb0
2025-09-18 15:47:44 +02:00
Nigel Breslaw
64b2a77ef5 material: Use Slint logo for all favicons (https://github.com/slint-ui/material-components/issues/33)
Imported from 6751f9b854
2025-09-18 15:47:44 +02:00
Nigel Breslaw
dca4dd951b material: Fix CSS in production bugs (https://github.com/slint-ui/material-components/issues/32)
Imported from a23d5e3293
2025-09-18 15:47:44 +02:00
Nigel Breslaw
9711a625e7 material: Material UI homepage (https://github.com/slint-ui/material-components/issues/27)
Use AstroWind template to improve the home page

Imported from 7cafd1db3b
2025-09-18 15:47:44 +02:00
Nigel Breslaw
7cd8194e1c material: API docs for Material Components (https://github.com/slint-ui/material-components/issues/26)
Imported from 34d5af0e35
2025-09-18 15:47:44 +02:00
Simon Hausmann
9a469395a5 material: CI: Add an apk build of the gallery
Imported from a40d228c1f
2025-09-18 15:47:44 +02:00
Simon Hausmann
ea79416517 material: CI: Add a job to build a wasm version of the gallery
Also removed the workflow_run trigger for the ci.yaml file, as that
would make the jobs run on the master sha1, instead of the specific one
for a PR.


Imported from acba8590e6
2025-09-18 15:47:44 +02:00
dependabot[bot]
f1db9b50bb material: build(deps-dev): bump @playwright/test in /docs in the playwright group (https://github.com/slint-ui/material-components/issues/12)
Bumps the playwright group in /docs with 1 update: [@playwright/test](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.52.0 to 1.53.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.52.0...v1.53.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-version: 1.53.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Imported from 14cb622e1a
2025-09-18 15:47:44 +02:00
dependabot[bot]
1dfd4d4905 material: build(deps): bump @types/node from 20.16.10 to 24.0.3 in /docs (https://github.com/slint-ui/material-components/issues/13)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.16.10 to 24.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Imported from 2dd692fc17
2025-09-18 15:47:44 +02:00