diff --git a/sketch/manifest.toml b/sketch/manifest.toml index 444a7b4..5e2a64f 100644 --- a/sketch/manifest.toml +++ b/sketch/manifest.toml @@ -2,9 +2,9 @@ # You typically do not need to edit this file packages = [ - { name = "gleam_erlang", version = "0.25.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "054D571A7092D2A9727B3E5D183B7507DAB0DA41556EC9133606F09C15497373" }, - { name = "gleam_otp", version = "0.10.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "0B04FE915ACECE539B317F9652CAADBBC0F000184D586AAAF2D94C100945D72B" }, - { name = "gleam_stdlib", version = "0.39.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "2D7DE885A6EA7F1D5015D1698920C9BAF7241102836CE0C3837A4F160128A9C4" }, + { name = "gleam_erlang", version = "0.28.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "BE551521F708DCE5CB954AFBBDF08519C1C44986521FD40753608825F48FFA9E" }, + { name = "gleam_otp", version = "0.13.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "F7EA44C81679B2A6032FF1B3851F0EFB43F4F1F1CAC616CB7F4A18497F39FAB9" }, + { name = "gleam_stdlib", version = "0.41.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1B2F80CB1B66B027E3198A2FF71EF3F2F31DF89ED97AD606F25FD387A4C3C1EF" }, { name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" }, ] diff --git a/sketch/src/sketch/internals/class.gleam b/sketch/src/sketch/internals/class.gleam index 9223d8d..b6375f9 100644 --- a/sketch/src/sketch/internals/class.gleam +++ b/sketch/src/sketch/internals/class.gleam @@ -40,7 +40,7 @@ pub fn rules(class: Content) { pub fn definitions(class: Content) { let Definitions(medias, selectors, class) = class.definitions [[class], selectors, medias] - |> list.concat() + |> list.flatten() } pub fn set_rules(class: Content, rules: List(Int)) { diff --git a/sketch/src/sketch/internals/style.gleam b/sketch/src/sketch/internals/style.gleam index a3f4855..674100c 100644 --- a/sketch/src/sketch/internals/style.gleam +++ b/sketch/src/sketch/internals/style.gleam @@ -198,7 +198,7 @@ pub fn compute_classes( let selectors_def = wrap_pseudo_selectors(class_name, 2, pseudo_selectors) [query <> " {", sketch_string.wrap_class(class_name, properties, 2, None)] |> list.prepend([selectors_def, ["}"]], _) - |> list.concat() + |> list.flatten() |> string.join("\n") } let selectors_def = wrap_pseudo_selectors(class_name, 0, pseudo_selectors)