dependabot[bot]
36430f1da0
build(deps-dev): bump cspell from 8.17.0 to 8.17.1
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell ) from 8.17.0 to 8.17.1.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.17.1/packages/cspell )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-17 16:28:55 +01:00
Simon Hausmann
bae815b3e2
Fix link within page
2024-12-17 16:04:03 +01:00
Simon Hausmann
abea612d2f
Fix up wording of other platforms sections
2024-12-17 15:44:24 +01:00
Simon Hausmann
276fee4e0c
For translation bundling with Rust, mention where the code snippet goes
2024-12-17 15:31:02 +01:00
Simon Hausmann
4b859989df
Remove TODO about Node.js and subsystem:console for Windows
...
This isn't solvable without re-compiling/re-linking Node.js, so we need to address this differently in the future.
Closes #6941
2024-12-17 15:26:32 +01:00
Simon Hausmann
661e6421ef
Remove double heading
2024-12-17 15:23:19 +01:00
Simon Hausmann
9bfc23caf3
Move Arrays & Models section to the guide
2024-12-17 15:22:18 +01:00
Simon Hausmann
33c57e9132
Remove entry in-app communication section
2024-12-17 15:18:11 +01:00
Simon Hausmann
a02694860b
Fix typo
2024-12-17 15:18:11 +01:00
Simon Hausmann
41937b719a
Remove compoent and properties section for now
...
As discussed
2024-12-17 15:18:11 +01:00
Simon Hausmann
3c5457a845
Fix some typos
...
Co-authored-by: Nigel Breslaw <NigelBreslaw@users.noreply.github.com>
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
2024-12-17 15:18:11 +01:00
Simon Hausmann
f5f40d84bf
Add period at the end of sentences
2024-12-17 14:53:04 +01:00
Simon Hausmann
b525bbd909
Improve key handling overview
...
Co-authored-by: Nigel Breslaw <NigelBreslaw@users.noreply.github.com>
2024-12-17 14:50:10 +01:00
Nigel Breslaw
32771e4fd8
1.9 Reference Section Fixes ( #7123 )
2024-12-17 11:20:38 +02:00
Simon Hausmann
1eaeb72440
doc: Fix language of return value handling of key callbacks for FocusScope
...
We use reject instead of ignore.
2024-12-17 09:30:38 +01:00
Simon Hausmann
466f66286d
Fix up key-pressed/key-released docs
...
- Use the same wording from `key-pressed` also in `key-released` for `TextEdit`
- Apply the docs for both also to `LineEdit` and `TextInput`
2024-12-17 09:28:25 +01:00
FloVanGH
12ec7d1512
improved docs for key-pressed, key-released events
2024-12-17 09:28:25 +01:00
Nigel Breslaw
f025ecf703
1.9 Doc fix ( #7111 )
...
Show docs version and check existing Slint versions at runtime. Without this the list of versions would be fixed to whatever versions exist when the docs are published and archived. No future versions would should.
2024-12-16 20:56:43 +02:00
Olivier Goffart
60c10213d2
Remove LayoutSpec
and undeprecate StyleMetrics.layout-*
properties ( #7069 )
...
StyleMetrics is the right name for these
2024-12-16 14:52:28 +01:00
Nigel Breslaw
f032942cb1
1.9 docs: Fix structure ( #7104 )
2024-12-16 12:17:24 +02:00
dependabot[bot]
9bd444c002
build(deps): bump the playwright group with 2 updates ( #7100 )
...
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.49.0 to 1.49.1
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.49.0...v1.49.1 )
Updates `playwright` from 1.49.0 to 1.49.1
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.49.0...v1.49.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: playwright
- dependency-name: playwright
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: playwright
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 12:06:45 +02:00
Benny Sjoestrand
5ef4aace4c
Implement full-screen property for slint Window item
...
Make it possible to programatically to switch to full-screen mode
via a new property in the Windows item.
The SLINT_FULLSCREEN environment variable will default set this
property to true. However settings this property in the slint code
will override the SLINT_FULLSCREEN.
Fixes #6665
2024-12-16 09:52:40 +01:00
Olivier Goffart
f59d630bcf
Docs: For android, put a link to the rust docs.
2024-12-16 09:33:07 +01:00
dependabot[bot]
0f4f3ad89e
build(deps): bump the astro group with 2 updates ( #7099 )
...
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.2 to 0.30.1
- [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.30.1/packages/starlight )
Updates `astro` from 4.16.16 to 5.0.5
- [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@5.0.5/packages/astro )
---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: astro
- dependency-name: astro
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: astro
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 10:06:59 +02:00
dependabot[bot]
f6ebd2c65d
build(deps-dev): bump cspell from 8.16.1 to 8.17.0
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell ) from 8.16.1 to 8.17.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.17.0/packages/cspell )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 08:53:02 +01:00
Nigel Breslaw
f6da11e153
1.9 Docs improve reference structure
2024-12-13 21:08:34 +02:00
FloVanGH
e0ad561c86
widgets: added key-pressed and key-released callbacks to all text input components ( #7081 )
...
* widgets: removed rejected event
* widgets: added key-pressed, key-released callbacks to text input components
* Update docs/astro/src/content/docs/reference/std-widgets/lineedit.mdx
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
---------
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-12-12 16:20:45 +00:00
Olivier Goffart
c0f346fdf7
Rust docs: have a macro to make link to the Slint doc
2024-12-12 16:44:31 +01:00
Simon Hausmann
3ce2f70101
Fix comment syntax for mdx
2024-12-11 18:14:51 +01:00
Simon Hausmann
e3bf175f97
Fix failing CSpell test in CI
2024-12-11 17:59:09 +01:00
Aurindam Jana
eae05b9686
Docs: Add content to embedded platforms ( #7062 )
...
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-12-11 15:36:30 +01:00
Nigel Breslaw
c794f875b8
1.9 docs: Remove Mermaid and Playwright build dependency ( #7066 )
2024-12-11 15:18:54 +02:00
Aurindam Jana
626bc98bff
Docs: Cosmetic changes ( #7059 )
...
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
2024-12-11 13:44:10 +02:00
Nigel Breslaw
f64afc2588
1.9 docs: Add in missing globals ( #7061 )
2024-12-11 12:49:57 +02:00
Nigel Breslaw
2eedfcc1a2
1.9 Docs: Turn on link validator ( #7057 )
2024-12-11 01:20:02 +02:00
Nigel Breslaw
c953dcae81
1.9 docs: Slint language philosophy ( #7039 )
2024-12-09 23:54:10 +02:00
Olivier Goffart
34152611b3
PopupWindow: fix absolute-position property within a PopupWindow
...
We were actually skipping two element (the popup and the popup parent)
Also this broke the positioning of sub-popup.
The "fix" is to not get a parent for popup window.
This will also have the side effect of fixing the focus issue
2024-12-09 15:58:16 +01:00
Nigel Breslaw
cbd6f0912a
1.9 docs: Update structure ( #7036 )
2024-12-09 15:37:10 +02:00
dependabot[bot]
f2b536c2f6
build(deps): bump starlight-links-validator from 0.13.3 to 0.13.4 ( #7034 )
...
Bumps [starlight-links-validator](https://github.com/HiDeoo/starlight-links-validator ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/HiDeoo/starlight-links-validator/releases )
- [Commits](https://github.com/HiDeoo/starlight-links-validator/compare/v0.13.3...v0.13.4 )
---
updated-dependencies:
- dependency-name: starlight-links-validator
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>
2024-12-09 09:26:32 +02:00
Olivier Goffart
a3dad45f0b
Accessibility: rename a few properties after API review:
...
- Rename `accessible-selectable` and `accessible-selected` to `accessible-item-{selectable,selected}`.
Because the property is for items in list rather than eg Text
- Rename `accessible-position-in-set` to `accessible-item-index`.
- Rename `accessible-size-of-set` to `accessible-item-count` and move
the property to the container element rather than the item itself
2024-12-07 08:25:42 +01:00
Simon Hausmann
764b902957
Add a code snippet for TouchArea.enabled
2024-12-06 20:55:14 +01:00
Simon Hausmann
1c6529d637
TouchArea.enabled
: Document cancellation behaviour
2024-12-06 20:55:14 +01:00
Simon Hausmann
30ed9da728
Document TouchArea
's enabled
property
...
I'm surprised this wasn't documented...
2024-12-06 20:55:14 +01:00
Nigel Breslaw
9d7187c013
Fix css and CI ( #7010 )
2024-12-05 22:53:25 +02:00
Nigel Breslaw
4aac3ac8f4
1.9 doc fixes ( #7009 )
2024-12-05 21:02:26 +02:00
Aurindam Jana
7d7af08351
Update custom.css
2024-12-05 19:49:22 +01:00
Simon Hausmann
eab8952729
doc: Fix heading depth for callbacks
...
...in TouchArea and SGH.
2024-12-05 16:55:56 +01:00
Simon Hausmann
1c84bcd34b
Fix file name
2024-12-05 16:46:25 +01:00
Nigel Breslaw
92534a8a27
1.9 Organise docs folder. ( #7005 )
...
Move astro files to docs/astro
2024-12-05 15:40:04 +02:00