Current section

10 Versions

Jump to

Compare versions

4 files changed
+29 additions
-13 deletions
  @@ -1,10 +1,7 @@
1 -
2 - This project is a translation of the Elm package "dnd-list", copyright Anna Bansaghi.
3 - The original code is licensed under the BSD-3 license.
4 -
5 1 BSD 3-Clause License
6 2
7 3 Copyright (c) 2025, Timo Gatsonides
4 + Copyright (c) 2019, Anna Bansaghi
8 5 All rights reserved.
9 6
10 7 Redistribution and use in source and binary forms, with or without
  @@ -221,3 +221,22 @@ cd groupsexample && gleam run -m lustre/dev start # Groups example
221 221 - `Listen`: When to trigger operations (OnDrag vs OnDrop)
222 222
223 223 The library provides a clean, type-safe API that integrates seamlessly with Lustre applications while offering the flexibility to handle complex drag-and-drop scenarios.
224 +
225 + ## Development
226 +
227 + File bug reports or feature requests at the [issue tracker](https://todo.sr.ht/~tpjg/dnd).
228 + To send patches configure git [sendemail](https://git-send-email.io) and send your patches.
229 +
230 + ```sh
231 + git config sendemail.to "~tpjg/dnd-dev@lists.sr.ht"
232 +
233 + git commit -m "..."
234 + git send-email HEAD^
235 + ```
236 +
237 + Or to send just once:
238 +
239 + ```sh
240 + git commit
241 + git send-email --to "~tpjg/dnd-dev@lists.sr.ht" HEAD^
242 + ```
  @@ -1,5 +1,5 @@
1 1 name = "dnd"
2 - version = "1.0.1"
2 + version = "1.0.2"
3 3
4 4 # Target specifies the target platform for the project. running this in a browser.
5 5 target = "javascript"
  @@ -10,7 +10,7 @@ target = "javascript"
10 10 description = "Drag and Drop library for gleam / lustre"
11 11 licences = ["BSD-3-Clause"]
12 12 repository = { type = "sourcehut", user = "tpjg", repo = "dnd" }
13 - links = [{ title = "Sources", href = "https://git.sr.ht/~tpjg/dnd" }]
13 + links = [{ title = "Issues", href = "https://todo.sr.ht/~tpjg/dnd" }]
14 14 #
15 15 # For a full reference of all the available options, you can have a look at
16 16 # https://gleam.run/writing-gleam/gleam-toml/.
  @@ -1,23 +1,23 @@
1 1 {<<"name">>, <<"dnd">>}.
2 2 {<<"app">>, <<"dnd">>}.
3 - {<<"version">>, <<"1.0.1">>}.
3 + {<<"version">>, <<"1.0.2">>}.
4 4 {<<"description">>, <<"Drag and Drop library for gleam / lustre"/utf8>>}.
5 5 {<<"licenses">>, [<<"BSD-3-Clause">>]}.
6 6 {<<"build_tools">>, [<<"gleam">>]}.
7 7 {<<"links">>, [
8 - {<<"Sources">>, <<"https://git.sr.ht/~tpjg/dnd">>},
8 + {<<"Issues">>, <<"https://todo.sr.ht/~tpjg/dnd">>},
9 9 {<<"Repository">>, <<"https://git.sr.ht/~tpjg/dnd">>}
10 10 ]}.
11 11 {<<"requirements">>, [
12 - {<<"gleam_stdlib">>, [
13 - {<<"app">>, <<"gleam_stdlib">>},
14 - {<<"optional">>, false},
15 - {<<"requirement">>, <<">= 0.44.0 and < 2.0.0">>}
16 - ]},
17 12 {<<"lustre">>, [
18 13 {<<"app">>, <<"lustre">>},
19 14 {<<"optional">>, false},
20 15 {<<"requirement">>, <<">= 5.2.1 and < 6.0.0">>}
16 + ]},
17 + {<<"gleam_stdlib">>, [
18 + {<<"app">>, <<"gleam_stdlib">>},
19 + {<<"optional">>, false},
20 + {<<"requirement">>, <<">= 0.44.0 and < 2.0.0">>}
21 21 ]}
22 22 ]}.
23 23 {<<"files">>, [