coveragebook_components 0.18.4 → 0.18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/build/coco/coco.css +5 -2
- data/app/assets/build/coco/coco.js +4 -4
- data/app/components/coco/buttons/button/button.css +2 -1
- data/app/components/coco/modals/modal/modal.js +1 -1
- data/app/helpers/coco/components_helper.rb +9 -1
- data/lib/coco.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c274350f8f5561630fe65dc980b1bdcb0341d357dbfd3923e8aabcb5f0a7c582
|
4
|
+
data.tar.gz: a0652acb9d326cceb57a5363c1d6399e3cac4d5b1fc6f8c6a7365422605e6f7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad21e7ba0e74a7b0cd27ba3efd4a397c2e356c18894086bf75da4f3966e5b9e25bbebc11d894691663ae54e3e1df18bd30202e3000eeff92ba0554cb9fedc559
|
7
|
+
data.tar.gz: 7200211fcaebcd48bae2323f8c0cc583cb8a760fb896ffff38420d4af1616a1247d96122c1df7ad100030392213570b681f7f342e5424dc66b9f2817ce21fb62
|
@@ -771,14 +771,17 @@ select{
|
|
771
771
|
gap: 0.5rem;
|
772
772
|
text-align: center;
|
773
773
|
width: -moz-fit-content;
|
774
|
-
width: fit-content
|
774
|
+
width: fit-content;
|
775
|
+
min-width: 1%
|
775
776
|
}
|
776
777
|
|
777
778
|
[data-coco].coco-button .button-content{
|
778
779
|
position: relative;
|
779
780
|
order: 2;
|
780
|
-
display: inline-
|
781
|
+
display: inline-block;
|
781
782
|
align-items: center;
|
783
|
+
overflow: hidden;
|
784
|
+
text-overflow: ellipsis;
|
782
785
|
white-space: nowrap;
|
783
786
|
line-height: 1
|
784
787
|
}
|
@@ -15444,7 +15444,7 @@ var alpine_default = import_alpinejs.default;
|
|
15444
15444
|
// ../../../package.json
|
15445
15445
|
var package_default = {
|
15446
15446
|
name: "coveragebook-components",
|
15447
|
-
version: "0.18.
|
15447
|
+
version: "0.18.6",
|
15448
15448
|
repository: "git@github.com:coveragebook/coco.git",
|
15449
15449
|
license: "NO LICENSE",
|
15450
15450
|
author: "Mark Perkins <mark@coveragebook.com>",
|
@@ -15509,11 +15509,11 @@ var package_default = {
|
|
15509
15509
|
"lodash.keyby": "^4.6.0",
|
15510
15510
|
"lodash.mapvalues": "^4.6.0",
|
15511
15511
|
"lucide-static": "^0.303.0",
|
15512
|
-
postcss: "^8.4.
|
15512
|
+
postcss: "^8.4.38",
|
15513
15513
|
"postcss-cli": "^11.0.0",
|
15514
15514
|
"postcss-value-parser": "^4.2.0",
|
15515
15515
|
prettier: "^3.2.5",
|
15516
|
-
"release-it": "^17.
|
15516
|
+
"release-it": "^17.2.1",
|
15517
15517
|
svgo: "^3.0.2",
|
15518
15518
|
tailwindcss: "^3.4.3",
|
15519
15519
|
"tippy.js": "^6.3.7"
|
@@ -16545,8 +16545,8 @@ var modal_default = CocoComponent("modal", () => {
|
|
16545
16545
|
hide() {
|
16546
16546
|
this.open = false;
|
16547
16547
|
setTimeout(() => {
|
16548
|
-
this.clearFrame();
|
16549
16548
|
this.$dispatch("modal:hidden");
|
16549
|
+
this.clearFrame();
|
16550
16550
|
}, 200);
|
16551
16551
|
},
|
16552
16552
|
dismiss(event) {
|
@@ -10,10 +10,11 @@
|
|
10
10
|
.button-inner {
|
11
11
|
@apply inline-flex items-center text-center mx-auto gap-2;
|
12
12
|
width: fit-content;
|
13
|
+
min-width: 1%;
|
13
14
|
}
|
14
15
|
|
15
16
|
.button-content {
|
16
|
-
@apply whitespace-nowrap relative leading-none inline-
|
17
|
+
@apply whitespace-nowrap relative leading-none inline-block items-center order-2 truncate;
|
17
18
|
}
|
18
19
|
|
19
20
|
.button-state-content {
|
@@ -27,6 +27,10 @@ module Coco
|
|
27
27
|
render(Coco::ButtonGroup.new(**), &)
|
28
28
|
end
|
29
29
|
|
30
|
+
def coco_menu(**, &)
|
31
|
+
render(Coco::Menu.new(**), &)
|
32
|
+
end
|
33
|
+
|
30
34
|
def coco_menu_button(text = nil, **, &)
|
31
35
|
render(Coco::MenuButton.new(text: text, **), &)
|
32
36
|
end
|
@@ -242,7 +246,11 @@ module Coco
|
|
242
246
|
render(Coco::SeamlessTextarea.new(**), &)
|
243
247
|
end
|
244
248
|
|
245
|
-
# Utilties
|
249
|
+
# Utilties
|
250
|
+
|
251
|
+
def coco_dropdown(**, &)
|
252
|
+
render(Coco::Dropdown.new(**), &)
|
253
|
+
end
|
246
254
|
|
247
255
|
def coco_placeholder(text_content = nil, **, &)
|
248
256
|
render(Coco::Placeholder.new(text_content:, **), &)
|
data/lib/coco.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coveragebook_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Perkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|