Bruno Valladares
c1d552e578
feat(plugins): radio, segmented, slider, color and checkbox-list controls for plugin settings ( #7693 )
...
Plugin API 1.21 adds optional settings schema fields: presentation (select, radio, segmented, slider, color, checkbox-list), enumOptions (label, description, icon per enum value), minimum / maximum / step, and when conditions on another setting of the page. New src/ui primitives RadioGroup, SegmentedControl, CheckboxGroup, Slider and ColorInput. Schemas that use none of them render as before; manifests admitting an older API keep ignoring JSON Schema bounds.
Review changes: the fields are gated on API 1.21 (1.20 shipped in 0.1.57), and the colour swatch fill is stretched inside its button.
Part of #7688 .
Co-authored-by: Bruno0416 <[email protected] >
2026-12-03 21:00:11 +08:00
..
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 13:16:04 +08:00
2026-12-03 02:53:06 +08:00
2026-12-03 14:07:19 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 07:09:15 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 19:21:30 +08:00
2026-12-03 15:54:37 +08:00
2026-12-01 02:38:34 +08:00
2026-12-03 16:58:35 +08:00
2026-11-25 19:27:09 +08:00
2026-11-27 17:06:51 +08:00
2026-11-25 02:01:59 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:29:59 +08:00
2026-11-29 13:31:13 +08:00
2026-11-29 14:03:48 +08:00
2026-11-29 14:03:48 +08:00
2026-11-27 02:34:33 +08:00
2026-11-24 07:02:21 +08:00
2026-12-02 15:48:23 +08:00
2026-11-26 21:39:53 +08:00
2026-11-26 21:52:50 +08:00
2026-12-01 06:02:57 +08:00
2026-11-26 19:31:03 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 14:07:19 +08:00
2026-12-03 19:57:52 +08:00
2026-11-24 07:02:21 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:20:09 +08:00
2026-11-12 13:18:36 +08:00
2026-11-24 23:04:40 +08:00
2026-12-02 14:25:35 +08:00
2026-11-11 02:05:41 +08:00
2026-11-24 07:02:21 +08:00
2026-11-07 15:29:16 +08:00
2026-12-03 15:27:17 +08:00
2026-11-07 19:25:10 +08:00
2026-11-27 16:21:12 +08:00
2026-12-03 15:27:17 +08:00
2026-11-27 16:21:12 +08:00
2026-11-07 04:30:30 +08:00
2026-11-24 07:02:21 +08:00
2026-11-08 03:15:08 +08:00
2026-12-03 03:52:27 +08:00
2026-11-26 23:33:04 +08:00
2026-12-03 00:26:01 +08:00
2026-12-03 21:00:11 +08:00
2026-11-24 20:29:25 +08:00
2026-11-25 00:45:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 14:58:10 +08:00
2026-12-03 17:41:54 +08:00
2026-12-03 17:23:45 +08:00
2026-12-03 17:36:01 +08:00
2026-12-03 17:36:01 +08:00
2026-11-29 15:15:42 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 11:42:00 +08:00
2026-12-03 18:27:33 +08:00
2026-12-03 16:45:44 +08:00
2026-12-03 15:31:16 +08:00
2026-12-03 02:53:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 09:51:49 +08:00
2026-11-29 14:37:35 +08:00
2026-11-24 06:01:01 +08:00
2026-11-25 19:27:09 +08:00
2026-12-03 19:28:08 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 07:02:21 +08:00
2026-12-02 15:48:23 +08:00
2026-12-02 13:58:59 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 19:28:08 +08:00
2026-12-02 14:47:00 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 08:46:36 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 15:52:08 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 01:57:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 20:01:26 +08:00