marksmith 0.4.6 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1d5b2c4a0d4db7b3a054c7059c057679275bbecce5d97652daa3257cacb93dc
4
- data.tar.gz: 8d836efd54a1f4ef8a6c1c70ad055a413387f2ac39fa44791cc56f767f7494ed
3
+ metadata.gz: cd114ef023d1bb2bf2a4c1e530269cef7f7dda64fbd46c6da455798dc7384675
4
+ data.tar.gz: 2fe6423eab7d334177cdc13583536f1c64624bed78aa17181f222bbadae6b636
5
5
  SHA512:
6
- metadata.gz: 4f81f2f31b7011f281fbd2d00cd31feeb99bd659cb758977aed56d28d0bbd33e9a0d7c09bbb52a7631edf14d1f4522eb534770b7594f3c221714df7ef06dcea5
7
- data.tar.gz: eb655f70633ed583a635e38cc96bcf8dfb9ca5bf78f761cbe0dc47c40527e176450d04dbd77f08ce095bd681a2830e5ecbbcb30274957ebfe96d29ba78f6d88c
6
+ metadata.gz: 697bb4e1f8920cd111321b6fe46f14d6bfb6da573acbb56290b5560baef8f9de362d26bf60da7cbb20ce10be4ebf587b8d2de9a4d387d91aa358f08e7aef3292
7
+ data.tar.gz: 61367cf4b06f4fc1b9ca92dd4aa70426ec79e41659aacc8d6349e469debefadaa86a7e2af0bb1affb9b1afe02a96c6cb4e974639a29038a9ef5a00701fd21400
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Marksmith 0.4.5
2
+ Marksmith 0.4.8
3
3
  */
4
4
  var ListContinuationController = (function () {
5
5
  'use strict';
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Marksmith 0.4.5
2
+ Marksmith 0.4.8
3
3
  */
4
4
  var ListContinuationController = (function (stimulus) {
5
5
  'use strict';
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Marksmith 0.4.5
2
+ Marksmith 0.4.8
3
3
  */
4
4
  var MarksmithController = (function () {
5
5
  'use strict';
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Marksmith 0.4.5
2
+ Marksmith 0.4.8
3
3
  */
4
4
  var MarksmithController = (function (stimulus) {
5
5
  'use strict';
@@ -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-neutral-50 {
1136
+ .ms\:\[\.active\]\:bg-white {
1134
1137
  &:is(.active) {
1135
- background-color: var(--ms-color-neutral-50);
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-neutral-50 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",
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 ms:justify-bewteen ms:bg-neutral-50 ms:rounded-t-md ms:gap-y-1",
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
- include ActiveSupport::Configurable
4
-
5
- config_accessor(:automatically_mount_engine) { true }
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
@@ -39,7 +39,11 @@ module Marksmith
39
39
  initializer "marksmith.assets.precompile" do |app|
40
40
  if Rails.application.config.respond_to?(:assets)
41
41
  # The manifest will expose the asset files to the main app.
42
- app.config.assets.precompile << "marksmith_manifest.js"
42
+ app.config.assets.paths << Engine.root.join("app", "assets", "stylesheets").to_s
43
+
44
+ if defined?(::Sprockets)
45
+ app.config.assets.precompile << "marksmith_manifest.js"
46
+ end
43
47
  end
44
48
  end
45
49
 
@@ -1,3 +1,3 @@
1
1
  module Marksmith
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marksmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-07-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -103,7 +102,6 @@ metadata:
103
102
  homepage_uri: https://github.com/avo-hq/marksmith
104
103
  source_code_uri: https://github.com/avo-hq/marksmith
105
104
  changelog_uri: https://github.com/avo-hq/marksmith/releases
106
- post_install_message:
107
105
  rdoc_options: []
108
106
  require_paths:
109
107
  - lib
@@ -118,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
116
  - !ruby/object:Gem::Version
119
117
  version: '0'
120
118
  requirements: []
121
- rubygems_version: 3.5.22
122
- signing_key:
119
+ rubygems_version: 3.6.9
123
120
  specification_version: 4
124
121
  summary: Marksmith is a GitHub-style markdown editor for Ruby on Rails applications.
125
122
  test_files: []