FloVanGH
56b2c280fd
docs: improved std-widgets snippets ( #6913 )
2024-11-26 09:00:54 +00:00
Nigel Breslaw
852f686607
(1.9 docs) Update the old std-widgets to the new mdx syntax
2024-11-26 10:01:46 +02:00
Nigel Breslaw
d834e031c1
1.9 Docs. Update std-widgets to new mdx syntax
2024-11-25 19:32:38 +02:00
dependabot[bot]
888fc275a6
build(deps): bump typescript from 5.2.2 to 5.7.2 ( #6897 )
...
NOTE: This updates typescript to 5.72 for all projects except api/node which cannot be updated
till typedoc is also updated.
* build(deps): bump typescript from 5.2.2 to 5.7.2
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.2.2 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.2.2...v5.7.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
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-25 19:32:07 +02:00
dependabot[bot]
e5285e0607
build(deps): bump the playwright group with 2 updates ( #6901 )
...
Bumps the playwright group with 2 updates: [@playwright/test](https://github.com/microsoft/playwright ) and [playwright](https://github.com/microsoft/playwright ).
Updates `@playwright/test` from 1.48.2 to 1.49.0
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.48.2...v1.49.0 )
Updates `playwright` from 1.48.2 to 1.49.0
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.48.2...v1.49.0 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: playwright
- dependency-name: playwright
dependency-type: direct:production
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>
2024-11-25 17:56:17 +02:00
dependabot[bot]
707d2ba215
build(deps): bump the astro group with 2 updates ( #6893 )
...
Bumps the astro group with 2 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight ) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro ).
Updates `@astrojs/starlight` from 0.29.0 to 0.29.2
- [Release notes](https://github.com/withastro/starlight/releases )
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md )
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.29.2/packages/starlight )
Updates `astro` from 4.16.12 to 4.16.14
- [Release notes](https://github.com/withastro/astro/releases )
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md )
- [Commits](https://github.com/withastro/astro/commits/astro@4.16.14/packages/astro )
---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: astro
- dependency-name: astro
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: astro
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 16:41:48 +02:00
Nigel Breslaw
97edda9848
1.9 Docs update
...
Fix the low res banner on home page.
Add snippets to Timer.
Move Color details into Reference.
2024-11-25 13:02:51 +02:00
Nigel Breslaw
a10cdf8048
More 1.9 docs
...
Show hide 'run in slintpad' button with same logic as copy paste code button.
Move std-widgets into reference.
Stop using code styling for h3 headers.
Make better use of Astro to reduce runtime javascript.
Make better use of Astro to ensure UI is built at build time and isn't dynamic at runtime.
2024-11-24 18:06:55 +02:00
Nigel Breslaw
47ab230cad
Setup a Playwright smoke test for Slintpad ( #6874 )
...
Remove cypress.
Use vite preview to serve the built bundle.
Setup playwright.
Run smoke test in CI.
2024-11-22 15:52:31 +02:00
Aurindam Jana
83ae918d76
Docs: Hero section styling
2024-11-21 22:45:47 +01:00
Nigel Breslaw
20926e0fa7
1.9 docs - more work on the guide
...
Start to have common properties.
Tweak version selector.
Update image docs with examples.
2024-11-21 17:37:46 +02:00
Olivier Goffart
b208691034
docs: fix typos in callback docs
...
Apply suggestions from code review
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-21 09:53:17 +01:00
Olivier Goffart
c0a123b6b9
Callback arguments names is no longer experimental
...
ChangeLog: named callback arguments
2024-11-21 09:53:17 +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
Aurindam Jana
dcef70b0c2
Tweak docs ( #6857 )
...
* Collapse Platforms in sidebar
* Add back Lang IntegrationLinkCard
* Style Hero section
* Get in Touch: Use LinkCard
2024-11-20 21:58:30 +01:00
Nigel Breslaw
0bbe8e7a53
Fix docs build ( #6853 )
...
* Fix docs build
* Tweak docs ci to also lint and format
2024-11-20 19:51:21 +01:00
Olivier Goffart
ac2f21a88e
docs: translations: Apply suggestions from code review
...
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-20 17:26:13 +01:00
Olivier Goffart
900f742d2c
Document the bundled translation
2024-11-20 17:26:13 +01:00
Nigel Breslaw
d48b2c3dd7
Fix web projects linting and formatting
2024-11-20 17:05:17 +02:00
Aurindam Jana
0898a5f641
Tweak Docs ( #6834 )
...
---------
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
2024-11-20 14:27:37 +01:00
Nigel Breslaw
bcbf461043
1.9 docs fix types table
2024-11-19 13:11:38 +02:00
Aurindam Jana
3c23187ebf
Docs: Update custom.css
2024-11-19 11:04:16 +01:00
Aurindam Jana
873509127d
Update Logo for Slint docs
...
Use the small version of the logo
2024-11-19 10:25:24 +01:00
Nigel Breslaw
b7278f6ca8
Enhance docs theme
...
Makes the dark theme look less like 'default Starlight'.
Syntax coloring uses the dark and light-plus theme.
Types are displayed as badges.
2024-11-17 21:31:32 +02:00
Nigel Breslaw
ebd1c2eb09
Put back missing _templates to fix nightly snapshots
2024-11-16 00:30:29 +02:00
Nigel Breslaw
04a870a589
Bring more old docs content into the new system
...
More language guide and move some items into an FAQ
2024-11-15 19:56:58 +02:00
Simon Hausmann
1866c4cecc
Fix version number
2024-11-15 14:34:07 +01:00
Nigel Breslaw
300423d03f
Enhance new docs
...
Fix very broken github link.
Move some items around and group std-widgets similar to element reference.
Move Timer to elements.
Use the simpler :::tip[Tip] markdown style.
Update Astro and the link validator.
2024-11-15 13:18:58 +02:00
FloVanGH
5ea05e18af
std-widgets: added horizontal-alignment to SpinBox ( #6778 )
2024-11-15 08:05:57 +00:00
Simon Hausmann
bf2ad512c6
Add the Slint version to the docs
...
This might not be the final location, but for now this should permit publishing.
2024-11-14 16:47:54 +01:00
Nigel Breslaw
08d90a5f13
Next gen docs for 1.9 ( #6766 )
...
Co-authored-by: Aurindam Jana <aurindam.jana@slint.dev>
Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-14 15:52:35 +01:00
FloVanGH
c84af1a8d7
std-widgets: added LayoutSpec global ( #6711 )
2024-11-06 14:47:04 +00:00
Ryan Naddy
908580b951
Added rejected to textedit ( #6662 )
2024-10-31 16:23:50 +01:00
Arnold Loubriat
17207b0508
Make accessible-position-in-set
zero-based
2024-10-30 15:54:01 +08:00
Arnold Loubriat
97219c21bf
Add the accessible-size-of-set
property
2024-10-30 15:54:01 +08:00
Arnold Loubriat
67166fcc2d
Add the accessible-position-in-set
property
2024-10-30 15:54:01 +08:00
Ryan Naddy
58efd5312b
Added rejected to TextInput ( #6649 )
2024-10-25 17:24:47 +02:00
Simon Hausmann
a98d4709be
Move printer demo and energy-monitor into new top-level demos/ folder
...
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.
Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00
Simon Hausmann
acafc9c3e6
Add default value to the docs of accessible-enabled
.
2024-10-25 10:20:09 +02:00
DataTriny
2de3b9d455
Add the accessible-enabled
property
2024-10-25 10:20:09 +02:00
FloVanGH
14c7910d49
PopupWindow: added close-policy property ( #6614 )
...
* Update api/cpp/include/slint_window.h
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update docs/reference/src/language/builtins/elements.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update internal/core/window.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/interpreter/eval.rs
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update internal/backends/qt/qt_window.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/interpreter/dynamic_item_tree.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/compiler/passes/materialize_fake_properties.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-10-24 09:27:39 +00:00
Aurindam Jana
d9e40caff9
Update Slint docs css for dark mode
2024-10-21 14:24:28 +02:00
Tasuku Suzuki
2df734e0c1
doc: Fix typo in plurals example
...
When the score is not one, plural form should be used
2024-10-21 09:08:35 +02:00
Aurindam Jana
5032ff1943
docs: apply FOUT fix for Safari only
2024-10-18 22:05:11 +02:00
Arnold Loubriat
504f87a212
Fix documentation
...
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2024-10-16 15:38:46 +02:00
Arnold Loubriat
bae1a4d242
Document the accessible-selectable
and accessible-selected
properties
2024-10-16 15:38:46 +02:00
Olivier Goffart
66ebcbd1b7
Janitor: fix wording of the building.md docs
2024-10-16 15:30:23 +02:00
Simon Hausmann
739c057759
Add codemirror integration to pnpm workspace
...
That way we get lint/format checks
2024-10-15 09:39:42 +02:00
Simon Hausmann
84aabae54d
Fix biome formatting with codemirror JS
2024-10-15 09:39:42 +02:00
Simon Hausmann
3b9a2027f7
Fix biome lints in codemirror JS
2024-10-15 09:39:42 +02:00