Commit graph

2197 commits

Author SHA1 Message Date
Nigel Breslaw
6332050a23
Use Rnd to resize the Figma window (#8576) 2025-06-02 16:27:13 +03:00
Tobias Hunger
b9ada531f0 live-preview: s/unwrap()/unwrap_or_default()/ in eval.rs
Some checks are pending
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
I did nto bother so far as we have code we know compiles and can thus
not trigger most of the unwrap calls, but then we do have places
where we have less information than the compiler and that might trigger
an unwrap.

So let's be safe and just `unwrap_or_default()` (which is typically
return `Value::Void` here). That is fine as we need to expect
`Value::Void` a lotmore often than in the compiler anyway due to
not being able to evaluate all the things.
2025-06-02 13:28:25 +02:00
Tobias Hunger
ce8b42b3a1 live-preview: Get better basic values for the property editor 2025-06-02 13:28:25 +02:00
dependabot[bot]
2a40b5d066
build(deps-dev): bump @types/react in the react group (#8585) 2025-06-02 10:18:10 +03:00
Nigel Breslaw
16dedbec2f
Use gradients in globals palette (#8566)
Some checks failed
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Has been cancelled
CI / build_and_test (ubuntu-22.04, nightly) (push) Has been cancelled
CI / node_test (macos-14) (push) Has been cancelled
CI / node_test (ubuntu-22.04) (push) Has been cancelled
CI / node_test (windows-2022) (push) Has been cancelled
CI / python_test (macos-14) (push) Has been cancelled
CI / python_test (ubuntu-22.04) (push) Has been cancelled
CI / cpp_test_driver (macos-13) (push) Has been cancelled
CI / cpp_test_driver (ubuntu-22.04) (push) Has been cancelled
CI / cpp_test_driver (windows-2022) (push) Has been cancelled
CI / cpp_cmake (macos-14, 1.82) (push) Has been cancelled
CI / tree-sitter (push) Has been cancelled
CI / cpp_cmake (ubuntu-22.04, stable) (push) Has been cancelled
CI / cpp_cmake (windows-2022, nightly) (push) Has been cancelled
CI / cpp_package_test (push) Has been cancelled
CI / vsce_build_test (push) Has been cancelled
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Has been cancelled
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Has been cancelled
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Has been cancelled
CI / mcu-embassy (push) Has been cancelled
CI / ffi_32bit_build (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / wasm (push) Has been cancelled
CI / wasm_demo (push) Has been cancelled
CI / updater_test (0.3.0) (push) Has been cancelled
CI / fmt_test (push) Has been cancelled
CI / esp-idf-quick (push) Has been cancelled
CI / android (push) Has been cancelled
CI / miri (push) Has been cancelled
CI / test-figma-inspector (push) Has been cancelled
* Use GradientIndicator in Globals palette
* GradientIndicator can have rounded corners
2025-05-28 16:17:26 +03:00
Tobias Hunger
c1ee38d5cd live-preview: More tests for brushes in globals 2025-05-28 14:54:19 +02:00
Nigel Breslaw
ab7f884106
Show svg color or global name (#8560)
Tapping the widget will then open the picker to the svg-color tab or the globals tab.
2025-05-28 10:49:38 +03:00
szecket
c900649840
figma-inspector: corrected export regression for circular collection … (#8525)
Some checks are pending
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
2025-05-27 11:18:08 -04:00
Olivier Goffart
2536f73885 wasm prevew: Make sure the call to show preview work
The lsp_to_preview_message is being sent from the JS runtime and
this is not called from the event loop.
When the preview is starting the 50ms timer to refresh itself,
since this is not called from the event loop, there is nothing to
wake the event loop up to fire this timer until a mouse event or some
other event wakes the event loop.
To make sure this works, call lsp_to_preview_message from the event
loop to make sure that the timer is already started when the event
loop goes to sleep and only sleep for the duration of that timer
2025-05-27 16:55:54 +02:00
Tobias Hunger
25c1085b50 compiler: Add a struct to hold a ChildrenInsertionPoint
I expect I will need to add something here to handle
indices on children and then a tuple might get unwieldy.
2025-05-27 10:49:26 +02:00
dependabot[bot]
6161e7f7bb
build(deps-dev): bump vitest from 3.1.3 to 3.1.4 (#8532)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.4/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.4
  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>
2025-05-27 00:23:37 +03:00
dependabot[bot]
d5983b34d2
build(deps-dev): bump @figma/plugin-typings from 1.112.0 to 1.113.0 (#8533)
Bumps [@figma/plugin-typings](https://github.com/figma/plugin-typings) from 1.112.0 to 1.113.0.
- [Commits](https://github.com/figma/plugin-typings/commits)

---
updated-dependencies:
- dependency-name: "@figma/plugin-typings"
  dependency-version: 1.113.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 00:17:38 +03:00
dependabot[bot]
4fc931f354
build(deps-dev): bump @vitejs/plugin-react from 4.4.1 to 4.5.0 (#8537)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.5.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 00:10:48 +03:00
dependabot[bot]
78ca57549d
build(deps-dev): bump @types/react in the react group (#8531)
Bumps the react group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 19.1.4 to 19.1.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: react
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 00:09:12 +03:00
Nigel Breslaw
a04b55b08b
Simpler preview tab telemetry (#8545) 2025-05-27 00:03:10 +03:00
dependabot[bot]
b72245064c
build(deps): bump zustand from 5.0.4 to 5.0.5 (#8535)
Bumps [zustand](https://github.com/pmndrs/zustand) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](https://github.com/pmndrs/zustand/compare/v5.0.4...v5.0.5)

---
updated-dependencies:
- dependency-name: zustand
  dependency-version: 5.0.5
  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-05-26 23:54:04 +03:00
Tobias Hunger
ed8089e43b live-preview: Fix Mac menu commands
... being potentially run from the wrong thread.
2025-05-26 20:02:57 +02:00
Nigel Breslaw
26b9ad2622
live-preview: Improve filter UX (#8542)
Filter out brush globals for <color> properties
Show search icon in filter UI
Recent colors were not showing on gradient color picker
2025-05-26 16:09:05 +03:00
Tobias Hunger
3cf164eb58 live-preview: Get rid of CONTENT_CACHE
Now that all the code in preview.rs runs in the UI thread,
we do not need to separate out some data into a threading aware
part anymore.

This leaves room for optimizations later: We can probably reduce the
state we keep now.
2025-05-26 13:03:35 +02:00
Tobias Hunger
b530149df5 live-preview: Do more in UI thread when shutting down 2025-05-26 13:03:35 +02:00
Nigel Breslaw
7c1cefd806
Simplify the brush picker (#8528)
This makes the WindowManager simpler and know less about the Pickers internals.
This logic is now handled via the PickerData global.
2025-05-26 13:06:33 +03:00
Tobias Hunger
1864881555 live-preview: Work on the fuzzy matching
sort results based on the value the fuzzy matcher assigned to the match,
while keeping the entries with the same value sorted alphabetically.

Throw away the bottom half of the values if more than 10 results were found
or return everything.
2025-05-23 20:36:06 +02:00
Nigel Breslaw
f7d51ec5fe DRY with TabBar
Turn duplicate code into TabBar and simplify logic.
2025-05-23 18:48:30 +02:00
Nigel Breslaw
9d142ea4ec
live-preview: Pickers support palette filter (#8519) 2025-05-23 16:58:56 +03:00
Nigel Breslaw
4318f82241
Use the recent color as the default color/brush for unset properties (#8517) 2025-05-23 16:12:25 +03:00
Tobias Hunger
004721e2ae live-preview: Disentangle threads
Make sure all code in preview is actually running in
the UI thread. For WASM this is a NOOP, as we have just
one thread there anyway.

For the native side, we need to handle all lsp to preview
messages in the UI thread. This is a bit trieckier than it
sounds: We do not want to bring u the UI thread fully till
the UI needs to be shown.

So re reuse the machanism used to switch between WASM preview
and native preview in VSCode:

We listen for a `ShowPreview` message and if the event loop
is not up, we bring it up and send a `RequestState` to the
LSP. That will respond with all the data we need and repeat
its `ShowPreview` rerquest afterwards.
2025-05-23 12:50:17 +02:00
Nigel Breslaw
2fbe091b93
live-preview: Add simple support for Globals and svg-colors (#8515) 2025-05-23 12:25:47 +03:00
Tobias Hunger
1722b9ab69 live-preview: Separate the UI related code a bit better
Some checks failed
CI / wasm_demo (push) Has been cancelled
CI / tree-sitter (push) Has been cancelled
CI / node_test (windows-2022) (push) Has been cancelled
CI / python_test (macos-14) (push) Has been cancelled
CI / python_test (ubuntu-22.04) (push) Has been cancelled
CI / python_test (windows-2022) (push) Has been cancelled
CI / cpp_cmake (ubuntu-22.04, stable) (push) Has been cancelled
CI / build_and_test (--exclude bevy-example, ubuntu-22.04, 1.82) (push) Has been cancelled
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, --exclude bevy-example, windows-2022, 1.82) (push) Has been cancelled
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Has been cancelled
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Has been cancelled
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Has been cancelled
CI / build_and_test (ubuntu-22.04, nightly) (push) Has been cancelled
CI / node_test (macos-14) (push) Has been cancelled
CI / node_test (ubuntu-22.04) (push) Has been cancelled
CI / cpp_test_driver (macos-13) (push) Has been cancelled
CI / cpp_test_driver (ubuntu-22.04) (push) Has been cancelled
CI / cpp_test_driver (windows-2022) (push) Has been cancelled
CI / cpp_cmake (macos-14, 1.82) (push) Has been cancelled
CI / cpp_cmake (windows-2022, nightly) (push) Has been cancelled
CI / cpp_package_test (push) Has been cancelled
CI / vsce_build_test (push) Has been cancelled
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Has been cancelled
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Has been cancelled
CI / updater_test (0.3.0) (push) Has been cancelled
CI / fmt_test (push) Has been cancelled
CI / esp-idf-quick (push) Has been cancelled
CI / android (push) Has been cancelled
CI / miri (push) Has been cancelled
CI / test-figma-inspector (push) Has been cancelled
2025-05-22 16:58:58 +02:00
Tobias Hunger
c25d15c3d2 live-preview: Remember recent colors
... for the duration of the session. How can we save those
colors?

Recent colors change a lot, we probably do not want that stored
inside the git repository hosting the slint files... and this is
probably "personal data" and nor "project data" in the first place.
2025-05-22 15:30:30 +02:00
Tobias Hunger
bd0ba0cd44 lsp: Move poll_once into common
.. to clean up `preview.rs` a bit.

The functionality is generic and could be used in both LSP
and preview, so common with the other helper code seems
appropriate.
2025-05-22 14:03:52 +02:00
Nigel Breslaw
2c71c8539d
Make palette apply clicked colors (#8498) 2025-05-22 12:47:23 +03:00
Tobias Hunger
a90a986263 live_preview: Fuzzy-match palette entries 2025-05-22 09:46:30 +02:00
Nigel Breslaw
f06c8f8a85 Show basic palettes
Some checks are pending
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-05-21 16:28:03 +02:00
Tobias Hunger
0e0b85cda7 live-preview: Extract data from Palettes
... and rpesent that data to the UI. No UI has been
implemented for this yet.
2025-05-21 16:28:03 +02:00
Tobias Hunger
dbe7598480 live-preview: Add a palettes property to Api
... so that the UI side can know about all the palette entries.

Populate this property with the `Colors` namespace.
2025-05-21 16:28:03 +02:00
Tobias Hunger
447ee5de44 live-preview: Handle colors/brushes using palette names
Find color names/values defined in palettes in property bindings.

Make sure to not report those as code.

Do a lot more complex evaluation of color values "behind" the palette name
to get a useful value out for the palete name. This will e.g. follow the
true branch of conditions, handle Structs, struct field access and references to
globals when looking for the color value.
2025-05-21 16:28:03 +02:00
Nigel Breslaw
f40ce5fb1b
Basic live-preview telemetry (#8488) 2025-05-21 11:35:25 +03:00
szecket
5df8438288
figma-inspector: initial docs for the variables export files (#8326)
Some checks are pending
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-05-20 15:24:02 -04:00
Nigel Breslaw
a176a55352
Make figma project stricter (#8461)
Some checks are pending
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / build_and_test (--exclude bevy-example, ubuntu-22.04, 1.82) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, --exclude bevy-example, windows-2022, 1.82) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
This tidies up some dead code and turns on a more stricter tsconfig to automate keeping the project this way.
2025-05-19 17:21:05 +03:00
dependabot[bot]
cfde6f5c78
build(deps-dev): bump the react group with 2 updates (#8469)
Bumps the react group with 2 updates: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/react` from 19.1.3 to 19.1.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.1.3 to 19.1.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: react
- dependency-name: "@types/react-dom"
  dependency-version: 19.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: react
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 11:05:49 +03:00
dependabot[bot]
fc391895e5
build(deps-dev): bump shiki from 3.4.0 to 3.4.2 (#8471)
* build(deps-dev): bump shiki from 3.4.0 to 3.4.2

Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v3.4.2/packages/shiki)

---
updated-dependencies:
- dependency-name: shiki
  dependency-version: 3.4.2
  dependency-type: direct:development
  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-05-19 11:05:31 +03:00
dependabot[bot]
fd45de2e49
build(deps-dev): bump @figma/plugin-typings from 1.111.0 to 1.112.0 (#8470)
Bumps [@figma/plugin-typings](https://github.com/figma/plugin-typings) from 1.111.0 to 1.112.0.
- [Commits](https://github.com/figma/plugin-typings/compare/v1.111.0...v1.112.0)

---
updated-dependencies:
- dependency-name: "@figma/plugin-typings"
  dependency-version: 1.112.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 10:12:06 +03:00
szecket
69bd59b3d7
figma-inspector: adding some support for other object types (#8447)
* figma-inspector: added vector description

* figma-inspector: added group description as rectangle

* figma-inspector: added id to each item currently described

* figma-inspector: alpha was being calculated as 0-1 but needs to 0-255)

* figma-inspector: test update
2025-05-17 00:43:48 +12:00
dependabot[bot]
3129e970a2
build(deps): bump html-react-parser from 5.2.3 to 5.2.4 (#8427)
Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/remarkablemark/html-react-parser/releases)
- [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remarkablemark/html-react-parser/compare/v5.2.3...v5.2.4)

---
updated-dependencies:
- dependency-name: html-react-parser
  dependency-version: 5.2.4
  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-05-12 13:30:40 +03:00
dependabot[bot]
1307a1def0
build(deps-dev): bump vite from 6.3.4 to 6.3.5 (#8428)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.4 to 6.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.5
  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>
2025-05-12 13:30:16 +03:00
dependabot[bot]
3c0e4ef5a8
build(deps-dev): bump vitest from 3.1.2 to 3.1.3 (#8429)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.3
  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>
2025-05-12 12:55:49 +03:00
dependabot[bot]
7e1ced5494
build(deps-dev): bump shiki from 3.3.0 to 3.4.0 (#8434)
Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v3.4.0/packages/shiki)

---
updated-dependencies:
- dependency-name: shiki
  dependency-version: 3.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 12:55:23 +03:00
dependabot[bot]
2bd7111a4c
build(deps-dev): bump @figma/plugin-typings from 1.110.0 to 1.111.0 (#8426)
Bumps [@figma/plugin-typings](https://github.com/figma/plugin-typings) from 1.110.0 to 1.111.0.
- [Commits](https://github.com/figma/plugin-typings/compare/v1.110.0...v1.111.0)

---
updated-dependencies:
- dependency-name: "@figma/plugin-typings"
  dependency-version: 1.111.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 12:52:31 +03:00
dependabot[bot]
3577be6b34
build(deps-dev): bump @types/react in the react group (#8425)
Bumps the react group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


Updates `@types/react` from 19.1.2 to 19.1.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: react
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 12:52:20 +03:00
Tobias Hunger
24e24df737 live-preview: Send telemetry to VSCode
Send telemetry data from the live-preview to vscode.

It will process that data according to telemetry settings in VScode
2025-05-09 19:18:27 +02:00