coveragebook_components 0.17.6 → 0.17.7

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: c269c84dcfebd4fc4eb0e9542d17d84e6a6de8295ec20cf7f17d059de7321b77
4
- data.tar.gz: 6e9956db055856d5e4a90edb7357543617ceeb4963fdcd8cf6bf897c64c573f3
3
+ metadata.gz: 5535752274648feee015c6471880b40d3ddc2cd63e8836ec3839b7461917e530
4
+ data.tar.gz: 34fba281df9eddd0a2f1449bb8b4abcbb1cae0e4fdcee50c9d7db71c814abf8b
5
5
  SHA512:
6
- metadata.gz: e4489238d098216b49e077bd9b6573fc9ebdef9ff6ec0cc0b15d53d28aa91e0ff3a1ae6739a98fca8e646099386201fffc4b450da5279589f5994deac053ff50
7
- data.tar.gz: 2a0fbad3e33279253d388c0f82077fbf8bada21323039c3be6ffda78342216f1d89d5db9a3b187677eba4db224fc2c1fb70bdc52ddc08795be67d3a7f0481d5e
6
+ metadata.gz: c8b43623f1feeffe47afe6b28fd418b0e3be58ff0059eeb20eb522f33617a781a9e140645aaeee5096b678e99aa5abb346e02904b8a12e974c1a7b991f066464
7
+ data.tar.gz: 1da47f77ae7ce00536379c4e05368b3c24ef7e1331f2e9f7fbc15f56c63f157b2e337c37ba44df3af140599f22f1e1a1ad1ae189f5ffdced64b9b83cadd4a3d4
@@ -2643,6 +2643,15 @@ select{
2643
2643
  pointer-events: none
2644
2644
  }
2645
2645
 
2646
+ [data-coco][data-component="option-bar"][data-size="xs"] {
2647
+ padding: calc(0.25rem - 1px);
2648
+ }
2649
+
2650
+ [data-coco][data-component="option-bar"][data-size="xs"] .option-bar-buttons{
2651
+ -moz-column-gap: 0.25rem;
2652
+ column-gap: 0.25rem
2653
+ }
2654
+
2646
2655
  [data-coco][data-component="toolbar"] .toolbar-sections{
2647
2656
  display: flex;
2648
2657
  align-items: center;
@@ -15441,7 +15441,7 @@ var alpine_default = import_alpinejs.default;
15441
15441
  // ../../../package.json
15442
15442
  var package_default = {
15443
15443
  name: "coveragebook-components",
15444
- version: "0.17.6",
15444
+ version: "0.17.7",
15445
15445
  repository: "git@github.com:coveragebook/coco.git",
15446
15446
  license: "NO LICENSE",
15447
15447
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -17,5 +17,13 @@
17
17
  @apply pointer-events-none;
18
18
  }
19
19
  }
20
+
21
+ &[data-size="xs"] {
22
+ padding: calc(0.25rem - 1px);
23
+
24
+ .option-bar-buttons {
25
+ @apply gap-x-1;
26
+ }
27
+ }
20
28
  }
21
29
  }
@@ -2,7 +2,7 @@ module Coco
2
2
  class OptionBar < Coco::Component
3
3
  include Concerns::AcceptsOptions
4
4
 
5
- accepts_option :size, from: [:sm, :md], default: :sm
5
+ accepts_option :size, from: [:xs, :sm, :md], default: :sm
6
6
 
7
7
  renders_many :options, ->(*args, selected: false, **kwargs, &block) do
8
8
  theme = selected ? :neutral_light : :blank
data/lib/coco.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.17.6"
2
+ VERSION = "0.17.7"
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.17.6
4
+ version: 0.17.7
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-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails