Skip to content

Commit

Permalink
Merge pull request #1144 from liveview-native/bc-modifier-sheet-tests…
Browse files Browse the repository at this point in the history
…-and-refactor

Refactor and added parser tests
  • Loading branch information
bcardarella authored Oct 10, 2023
2 parents be2ed6d + 747e5a8 commit a89cfb7
Show file tree
Hide file tree
Showing 256 changed files with 303 additions and 3,968 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## v0.2

### Breaking

* removed modifiers and types
* migrated to `LiveViewNative.Stylesheet``
* renamed `LiveViewNativeSwiftUi` to `LiveViewNative.SwiftUI` module namespace
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule LiveViewNativeSwiftUi.Platform do
defmodule LiveViewNative.SwiftUI.Platform do
defstruct [
:app_name,
:os_name,
Expand Down
7 changes: 7 additions & 0 deletions lib/live_view_native/swiftui/rules_parser.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule LiveViewNative.SwiftUI.RulesParser do
use LiveViewNative.Stylesheet.RulesParser, :mock

def parse(rules) do
rules
end
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule LiveViewNativeSwiftUi.Utils do
defmodule LiveViewNative.SwiftUI.Utils do
def encode_key(key) when is_atom(key), do: encode_key("#{key}")

def encode_key(key) when is_binary(key) do
Expand Down
2 changes: 1 addition & 1 deletion lib/live_view_native_swift_ui.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule LiveViewNativeSwiftUi do
defmodule LiveViewNative.SwiftUI do
use LiveViewNativePlatform

def platforms,
Expand Down
41 changes: 0 additions & 41 deletions lib/live_view_native_swift_ui/modifiers.ex

This file was deleted.

13 changes: 0 additions & 13 deletions lib/live_view_native_swift_ui/modifiers/animation/animation.ex

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions lib/live_view_native_swift_ui/modifiers/animation/transition.ex

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions lib/live_view_native_swift_ui/modifiers/documents/rename_action.ex

This file was deleted.

13 changes: 0 additions & 13 deletions lib/live_view_native_swift_ui/modifiers/drag_and_drop/draggable.ex

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a89cfb7

Please sign in to comment.