Commit graph

64 commits

Author SHA1 Message Date
Nigel Breslaw
482c3237c2 material: SegmentedButton: model -> items (https://github.com/slint-ui/material-components/issues/152)
Imported from 4545d04349
2025-09-18 15:47:45 +02:00
Nigel Breslaw
6f8f28ee0a material: empty-badge -> show-badge (https://github.com/slint-ui/material-components/issues/151)
Imported from b8e77998b4
2025-09-18 15:47:45 +02:00
Nigel Breslaw
c2420d0a50 material: icon-selected -> selected-icon (https://github.com/slint-ui/material-components/issues/150)
Imported from ec32ec5250
2025-09-18 15:47:45 +02:00
Nigel Breslaw
eb105c8593 material: SegmentedButton: Add index-changed callback. (https://github.com/slint-ui/material-components/issues/149)
Imported from 67d5871e56
2025-09-18 15:47:45 +02:00
Nigel Breslaw
4a9192883a material: icon-checked -> checked-icon (https://github.com/slint-ui/material-components/issues/148)
Imported from 6c2a83940b
2025-09-18 15:47:45 +02:00
Nigel Breslaw
94ab45f6b0 material: Add index-changed callback to Nav items (https://github.com/slint-ui/material-components/issues/147)
NaviagtionBar, NavigationRail and TabBar all gain an explicit 
`index-changed(index)` callback.

Imported from 3d9d00a91b
2025-09-18 15:47:45 +02:00
Nigel Breslaw
de8d488cb7 material: Update Navigation and SearchBar (https://github.com/slint-ui/material-components/issues/146)
Imported from 18a7efbe6b
2025-09-18 15:47:45 +02:00
Nigel Breslaw
ae45308c58 material: current-item -> current-index (https://github.com/slint-ui/material-components/issues/145)
Imported from 073c3302d6
2025-09-18 15:47:45 +02:00
Nigel Breslaw
a2edac554e material: trailing/leading_clicked -> trailing/leading_button_clicked (https://github.com/slint-ui/material-components/issues/144)
Imported from 1a9b97365e
2025-09-18 15:47:45 +02:00
Nigel Breslaw
10a903a2e9 material: leading/trailing_icon -> leading/trailing_button (https://github.com/slint-ui/material-components/issues/143)
Imported from 7c09b88743
2025-09-18 15:47:45 +02:00
Nigel Breslaw
1215b21b07 material: container_background -> show_background (https://github.com/slint-ui/material-components/issues/141)
Imported from 48bafbb3e6
2025-09-18 15:47:45 +02:00
FG
874ae2aa9b material: Components: added DatePickerPopup (https://github.com/slint-ui/material-components/issues/137)
* Components: added DatePickerPopup
* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>

Imported from e30c2bc1f4
2025-09-18 15:47:45 +02:00
FloVanGH
9cc99316ea material: Components: added DropDownMenu (https://github.com/slint-ui/material-components/issues/131)
* Components: added DropDownMenu
* [autofix.ci] apply automated fixes
* REUSE

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>

Imported from 3ee890853a
2025-09-18 15:47:45 +02:00
FloVanGH
971bff4434 material: Components: added Menu (https://github.com/slint-ui/material-components/issues/130)
* Components: added Menu
* [autofix.ci] apply automated fixes

---------

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

Imported from 599653f7ce
2025-09-18 15:47:45 +02:00
Nigel Breslaw
3effbadc9d material: Fix broken git commands in the templates (https://github.com/slint-ui/material-components/issues/127)
Imported from 99460986b6
2025-09-18 15:47:45 +02:00
Nigel Breslaw
7fb42f6973 material: Group the docs as per Material pages (https://github.com/slint-ui/material-components/issues/129)
Imported from 0257a45452
2025-09-18 15:47:45 +02:00
FloVanGH
26864c089f material: Added RadioButton and RadioButtonTile (https://github.com/slint-ui/material-components/issues/126)
* Components: added RadioButton and RadioButtonTile
* Components: added docs for RadioButton and RadioButtonTile

* [autofix.ci] apply automated fixes

---------

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

Imported from 752faed7e5
2025-09-18 15:47:45 +02:00
npwoods
0d7f513f2c material: Created two new callbacks for NavigationalDrawer (https://github.com/slint-ui/material-components/issues/114)
* Created two new callbacks for `NavigationalDrawer`
* `callback selected(group-index: int, item-index: int)`
* `callback item-pointer-event(group-index: int, item-index: int, event: PointerEvent, position: Point)`

These callbacks provide the ability to respond to items being selected and general item pointer events respectively

* Snake case
* Documentation

Imported from bcec4840ff
2025-09-18 15:47:45 +02:00
Ewayn
c24fd2b60e material: feat: add released callback to Slider component (https://github.com/slint-ui/material-components/issues/118)
* feat: add released callback to Slider component
* fix: pr review comments

Imported from 5fd3eeed7f
2025-09-18 15:47:45 +02:00
Nigel Breslaw
e930442e77 material: Add slint logo and link to slint.dev (https://github.com/slint-ui/material-components/issues/91)
Imported from 12c2cc0ffa
2025-09-18 15:47:45 +02:00
Olivier Goffart
66851b53da material: Don't put link to staging in a public repo
Imported from 2de0be4f79
2025-09-18 15:47:45 +02:00
Nigel Breslaw
f49b7f0f2a material: Optimise astro images (https://github.com/slint-ui/material-components/issues/82)
Imported from 5da4c44f53
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
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
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
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
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