coveragebook_components 0.18.4 → 0.18.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 873d4f71088f17fd504337d34daba4dbc925eca1129a56506abe9b84b1eb0bfd
4
- data.tar.gz: 1d2274c2d4971f43a96b82f41aaa34aba382ca101b475d25a1d3ddfe6467285d
3
+ metadata.gz: 3ca47f01aabcdf890dac1454fc6df0d1620361b306410a582f8d0d3f215c3795
4
+ data.tar.gz: 13d6f82155eb49d6be133f7c29513f709e0e62a75916c4f5fe8399fdde8656a8
5
5
  SHA512:
6
- metadata.gz: 38a6d6749c1ad9a3866886c83496c174fa571f087f71608d8f17b1d79d4025a5767ed5ca2c3bbeda428651314b339c56b6ce42696fc7e7dac89dd4a51404eca9
7
- data.tar.gz: c2911c87e0b64b05797238fe9a58d8c87bdae68a9be53aebe4f14e2ca67871b52061e076771e9ad5c26a96569caf2a8632abffdb73c8cdc3e4e7c89b8ba08e9c
6
+ metadata.gz: dccd6ee2a240b78d166aa77a03739ce634fb82ae26e8516a5ba6e7b1bf0ba407acb0881b4d68ab01d5ce92df37953cad773399714af7523b75dc49be97433402
7
+ data.tar.gz: 0ef7069abf0016b7b8c30a409c1ae5177f1b076767230b5c76d95c6b92a623141ef6228964666a2cb5f27acc51374d9f3ab74b92b1cccde769d839019eaaeb80
@@ -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-flex;
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.4",
15447
+ version: "0.18.5",
15448
15448
  repository: "git@github.com:coveragebook/coco.git",
15449
15449
  license: "NO LICENSE",
15450
15450
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -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-flex items-center order-2;
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 (internal)
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
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.18.4"
2
+ VERSION = "0.18.5"
3
3
  end
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
4
+ version: 0.18.5
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-20 00:00:00.000000000 Z
11
+ date: 2024-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails