coveragebook_components 0.18.2 → 0.18.3

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: 8d1e2c38d35907997a458be41c8d3c58aa1e2bd59a574d859ae79a4249baac99
4
- data.tar.gz: 61be0de9cfc48cfa7f1bacd3634f5684515e2f212475690704102ce63ea6ef93
3
+ metadata.gz: 5ab6e7819d32d36dd7e21bd2e143c41943da2f16f0d185f63b900bc147e283a3
4
+ data.tar.gz: 83cd712841c71742a032b67b43e92102547fc40fb63c51ad3bc6f267e3199ba8
5
5
  SHA512:
6
- metadata.gz: 1272f8a3e79da8c29eaad226d0e824782b04b787d126980fb232a208d107be678fa2865b1e2bbfafa4b24dd9babcff78eda1e85622ec3feba3ba7e098b34cd03
7
- data.tar.gz: 4413438ae4e3e67299bcd80097b9dd80269bd17c21eea80fc5e755d81321c9873584666c6ee4dd2d1eb474cf41a793c466faf0c98ebf8d63c3dcde15c063d15d
6
+ metadata.gz: 8495ec8f348a46d4d54434fd41afe5ee12f16704a91e9c8f7514e5a27ba0d49340d85f012bddfc72b21f6740112ba4bc8e639d28c792d7d4a7639513fc10e81c
7
+ data.tar.gz: ad4dfbe4904f6b8a8462529fe9580c842430277cdd044cd72a9515198dd7580996ae8ffb9a15bedd7678e0ea2349e6226c0d8805a155ab24be1e400849ee879e
@@ -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.2",
15447
+ version: "0.18.3",
15448
15448
  repository: "git@github.com:coveragebook/coco.git",
15449
15449
  license: "NO LICENSE",
15450
15450
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -13,7 +13,7 @@ module Coco
13
13
  )
14
14
  end
15
15
 
16
- %i[confirmation].each do |slot_name|
16
+ %i[confirmation icon].each do |slot_name|
17
17
  renders_one slot_name, ->(**kwargs, &block) do
18
18
  button.send(:"with_#{slot_name}", **kwargs, &block)
19
19
  end
@@ -9,6 +9,8 @@ module Coco
9
9
  shorthand: :name do |tt|
10
10
  tt.accepts_option :name, private: true
11
11
  tt.accepts_option :position, from: ["start", "end", :start, :end]
12
+ tt.accepts_option :style, default: :line
13
+ tt.accepts_option :spin, default: false
12
14
  end
13
15
 
14
16
  renders_one :icon, ->(icon_name = nil, position: nil, **kwargs) do
data/lib/coco.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.18.2"
2
+ VERSION = "0.18.3"
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.2
4
+ version: 0.18.3
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-15 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails