From b74039c0e4be8cca2e204181aa777240b4738e00 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Tue, 10 Sep 2024 22:17:35 -0700 Subject: [PATCH] Add Picker and Option. (#176) Part of https://github.com/jverkoey/slipstream/issues/25. --- .../Guides/SlipstreamForWebDevelopers.md | 10 +++--- .../Documentation.docc/W3C/W3CViews.md | 2 ++ .../W3C/Elements/Forms/Option.swift | 27 +++++++++++++++ .../W3C/Elements/Forms/Picker.swift | 33 +++++++++++++++++++ .../W3C/Forms/OptionTests.swift | 14 ++++++++ .../W3C/Forms/PickerTests.swift | 10 ++++++ 6 files changed, 91 insertions(+), 5 deletions(-) create mode 100644 Sources/Slipstream/W3C/Elements/Forms/Option.swift create mode 100644 Sources/Slipstream/W3C/Elements/Forms/Picker.swift create mode 100644 Tests/SlipstreamTests/W3C/Forms/OptionTests.swift create mode 100644 Tests/SlipstreamTests/W3C/Forms/PickerTests.swift diff --git a/Sources/Slipstream/Documentation.docc/Guides/SlipstreamForWebDevelopers.md b/Sources/Slipstream/Documentation.docc/Guides/SlipstreamForWebDevelopers.md index d9bf68b..b9b7224 100644 --- a/Sources/Slipstream/Documentation.docc/Guides/SlipstreamForWebDevelopers.md +++ b/Sources/Slipstream/Documentation.docc/Guides/SlipstreamForWebDevelopers.md @@ -168,14 +168,14 @@ provided below is an organized table of W3C HTML tags and their equivalent Slips W3C tag | Slipstream view :--------|:---------------- -[`
`](https://html.spec.whatwg.org/multipage/sections.html#the-form-element) | [Not implemented yet](https://github.com/jverkoey/slipstream/issues/25) +[``](https://html.spec.whatwg.org/multipage/sections.html#the-form-element) | ``Form`` [`