lexxy 0.1.3.beta → 0.1.4.beta

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.
Binary file
Binary file
@@ -296,7 +296,7 @@
296
296
  --lexxy-attachment-icon-color: var(--lexxy-color-purple);
297
297
  }
298
298
 
299
- :where (
299
+ :where(
300
300
  .attachment--txt,
301
301
  .attachment--pages,
302
302
  .attachment--rtf,
@@ -11,10 +11,6 @@
11
11
  position: relative;
12
12
  transition: opacity 150ms;
13
13
 
14
- &:not(:has(lexxy-toolbar)) {
15
- opacity: 0;
16
- }
17
-
18
14
  input,
19
15
  button {
20
16
  &:focus-visible {
@@ -22,7 +18,8 @@
22
18
  }
23
19
  }
24
20
 
25
- button {
21
+ button,
22
+ summary {
26
23
  -webkit-appearance: none;
27
24
  appearance: none;
28
25
  background: var(--lexxy-color-canvas);
@@ -87,10 +84,12 @@
87
84
  font-size: inherit;
88
85
  gap: var(--lexxy-toolbar-gap);
89
86
  max-inline-size: 100%;
87
+ /* overflow-x: auto; */
90
88
  padding: 2px;
91
89
  position: relative;
92
90
 
93
- > button {
91
+ button[data-command],
92
+ summary {
94
93
  aspect-ratio: 1;
95
94
  block-size: 2lh;
96
95
  color: currentColor;
@@ -116,6 +115,34 @@
116
115
  }
117
116
  }
118
117
 
118
+ :where(.lexxy-editor__toolbar-overflow) {
119
+ display: none;
120
+ position: relative;
121
+ z-index: 1;
122
+
123
+ summary {
124
+ list-style: none;
125
+
126
+ &::-webkit-details-marker {
127
+ display: none;
128
+ }
129
+
130
+ [open] & {
131
+ filter: brightness(0.9);
132
+ }
133
+ }
134
+ }
135
+
136
+ :where(.lexxy-editor__toolbar-overflow-menu) {
137
+ background-color: var(--lexxy-color-canvas);
138
+ border-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
139
+ box-shadow: var(--lexxy-shadow);
140
+ display: flex;
141
+ inset-inline-end: 0;
142
+ padding: var(--lexxy-toolbar-gap);
143
+ position: absolute;
144
+ }
145
+
119
146
  /* Link dialog
120
147
  /* -------------------------------------------------------------------------- */
121
148
 
data/lib/lexxy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lexxy
2
- VERSION = "0.1.3.beta"
2
+ VERSION = "0.1.4.beta"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.beta
4
+ version: 0.1.4.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Manrubia
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-09-04 00:00:00.000000000 Z
10
+ date: 2025-09-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails