marksmith 0.4.7 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/list_continuation_controller-full.esm.js +1 -1
- data/app/assets/javascripts/list_continuation_controller-no-stimulus.esm.js +1 -1
- data/app/assets/javascripts/marksmith_controller-full.esm.js +1 -1
- data/app/assets/javascripts/marksmith_controller-no-stimulus.esm.js +1 -1
- data/app/assets/stylesheets/marksmith.css +5 -2
- data/app/helpers/marksmith/marksmith_helper.rb +1 -1
- data/app/views/marksmith/shared/_toolbar.html.erb +1 -1
- data/lib/marksmith/configuration.rb +3 -5
- data/lib/marksmith/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd114ef023d1bb2bf2a4c1e530269cef7f7dda64fbd46c6da455798dc7384675
|
|
4
|
+
data.tar.gz: 2fe6423eab7d334177cdc13583536f1c64624bed78aa17181f222bbadae6b636
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 697bb4e1f8920cd111321b6fe46f14d6bfb6da573acbb56290b5560baef8f9de362d26bf60da7cbb20ce10be4ebf587b8d2de9a4d387d91aa358f08e7aef3292
|
|
7
|
+
data.tar.gz: 61367cf4b06f4fc1b9ca92dd4aa70426ec79e41659aacc8d6349e469debefadaa86a7e2af0bb1affb9b1afe02a96c6cb4e974639a29038a9ef5a00701fd21400
|
|
@@ -856,6 +856,9 @@
|
|
|
856
856
|
.ms\:items-center {
|
|
857
857
|
align-items: center;
|
|
858
858
|
}
|
|
859
|
+
.ms\:justify-between {
|
|
860
|
+
justify-content: space-between;
|
|
861
|
+
}
|
|
859
862
|
.ms\:gap-1 {
|
|
860
863
|
gap: calc(var(--ms-spacing) * 1);
|
|
861
864
|
}
|
|
@@ -1130,9 +1133,9 @@
|
|
|
1130
1133
|
border-color: var(--ms-color-neutral-500);
|
|
1131
1134
|
}
|
|
1132
1135
|
}
|
|
1133
|
-
.ms\:\[\.active\]\:bg-
|
|
1136
|
+
.ms\:\[\.active\]\:bg-white {
|
|
1134
1137
|
&:is(.active) {
|
|
1135
|
-
background-color: var(--ms-color-
|
|
1138
|
+
background-color: var(--ms-color-white);
|
|
1136
1139
|
}
|
|
1137
1140
|
}
|
|
1138
1141
|
.ms\:\[\.active\]\:text-neutral-900 {
|
|
@@ -46,7 +46,7 @@ module Marksmith
|
|
|
46
46
|
"ms:h-[calc(100%+3px)] ms:border-b-none",
|
|
47
47
|
# "ms:border-b-neutral-00",
|
|
48
48
|
# active classes
|
|
49
|
-
"ms:[.active]:bg-
|
|
49
|
+
"ms:[.active]:bg-white ms:[.active]:text-neutral-900 ms:dark:[.active]:text-neutral-300 ms:[.active]:dark:bg-neutral-800 ms:[.active]:dark:border-neutral-500 ms:[.active]:rounded-t-md ms:[.active]:border-neutral-500",
|
|
50
50
|
|
|
51
51
|
)
|
|
52
52
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<%= tag.div class: class_names(
|
|
2
|
-
"marksmith-toolbar ms:flex-1 ms:flex-col-reverse ms:@md:flex-row ms:grow ms:flex
|
|
2
|
+
"marksmith-toolbar ms:flex-1 ms:flex-col-reverse ms:@md:flex-row ms:grow ms:flex ms:justify-between ms:bg-neutral-50 ms:rounded-t-md ms:gap-y-1",
|
|
3
3
|
"ms:dark:bg-neutral-700 ms:dark:text-neutral-200"
|
|
4
4
|
) do %>
|
|
5
5
|
<%= render partial: "marksmith/shared/tabs" %>
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
module Marksmith
|
|
2
2
|
class Configuration
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
config_accessor(:mount_path) { "/marksmith" }
|
|
7
|
-
config_accessor(:parser) { "commonmarker" }
|
|
3
|
+
class_attribute :automatically_mount_engine, default: true
|
|
4
|
+
class_attribute :mount_path, default: "/marksmith"
|
|
5
|
+
class_attribute :parser, default: "commonmarker"
|
|
8
6
|
end
|
|
9
7
|
|
|
10
8
|
def self.configuration
|
data/lib/marksmith/version.rb
CHANGED