coveragebook_components 0.18.2 → 0.18.4
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 +2 -2
- data/app/assets/build/coco/coco.js +1 -1
- data/app/components/coco/buttons/button_group/button_group.css +17 -7
- data/app/components/coco/buttons/button_to/button_to.rb +1 -1
- data/app/components/coco/concerns/with_icon.rb +2 -0
- data/lib/coco.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 873d4f71088f17fd504337d34daba4dbc925eca1129a56506abe9b84b1eb0bfd
|
4
|
+
data.tar.gz: 1d2274c2d4971f43a96b82f41aaa34aba382ca101b475d25a1d3ddfe6467285d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38a6d6749c1ad9a3866886c83496c174fa571f087f71608d8f17b1d79d4025a5767ed5ca2c3bbeda428651314b339c56b6ce42696fc7e7dac89dd4a51404eca9
|
7
|
+
data.tar.gz: c2911c87e0b64b05797238fe9a58d8c87bdae68a9be53aebe4f14e2ca67871b52061e076771e9ad5c26a96569caf2a8632abffdb73c8cdc3e4e7c89b8ba08e9c
|
@@ -2263,13 +2263,13 @@ select{
|
|
2263
2263
|
column-gap: 0px
|
2264
2264
|
}
|
2265
2265
|
|
2266
|
-
[data-coco][data-component="button-group"][data-segmented="true"] .coco-button-wrapper:not(:first-child) .coco-button{
|
2266
|
+
[data-coco][data-component="button-group"][data-segmented="true"] .button-group-buttons > *:not(:first-child) .coco-button-wrapper:not(.button-dropdown .coco-button-wrapper) .coco-button, [data-coco][data-component="button-group"][data-segmented="true"] .button-group-buttons > .coco-button-wrapper:not(:first-child):not(.button-dropdown .coco-button-wrapper) .coco-button{
|
2267
2267
|
border-top-left-radius: 0px;
|
2268
2268
|
border-bottom-left-radius: 0px;
|
2269
2269
|
border-left-width: 0px
|
2270
2270
|
}
|
2271
2271
|
|
2272
|
-
[data-coco][data-component="button-group"][data-segmented="true"] .coco-button-wrapper:not(:last-child) .coco-button{
|
2272
|
+
[data-coco][data-component="button-group"][data-segmented="true"] .button-group-buttons > *:not(:last-child) .coco-button-wrapper:not(.button-dropdown .coco-button-wrapper) .coco-button, [data-coco][data-component="button-group"][data-segmented="true"] .button-group-buttons > .coco-button-wrapper:not(:last-child):not(.button-dropdown .coco-button-wrapper) .coco-button{
|
2273
2273
|
border-top-right-radius: 0px;
|
2274
2274
|
border-bottom-right-radius: 0px
|
2275
2275
|
}
|
@@ -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.4",
|
15448
15448
|
repository: "git@github.com:coveragebook/coco.git",
|
15449
15449
|
license: "NO LICENSE",
|
15450
15450
|
author: "Mark Perkins <mark@coveragebook.com>",
|
@@ -35,14 +35,24 @@
|
|
35
35
|
&[data-segmented="true"] {
|
36
36
|
.button-group-buttons {
|
37
37
|
@apply gap-x-0;
|
38
|
-
}
|
39
|
-
|
40
|
-
.coco-button-wrapper:not(:first-child) .coco-button {
|
41
|
-
@apply rounded-l-none border-l-0;
|
42
|
-
}
|
43
38
|
|
44
|
-
|
45
|
-
|
39
|
+
> *:not(:first-child) .coco-button-wrapper,
|
40
|
+
> .coco-button-wrapper:not(:first-child) {
|
41
|
+
&:not(.button-dropdown .coco-button-wrapper) {
|
42
|
+
.coco-button {
|
43
|
+
@apply rounded-l-none border-l-0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
> *:not(:last-child) .coco-button-wrapper,
|
49
|
+
> .coco-button-wrapper:not(:last-child) {
|
50
|
+
&:not(.button-dropdown .coco-button-wrapper) {
|
51
|
+
.coco-button {
|
52
|
+
@apply rounded-r-none;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
46
56
|
}
|
47
57
|
|
48
58
|
&[data-floating="true"] {
|
@@ -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
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.4
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1771,7 +1771,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1771
1771
|
- !ruby/object:Gem::Version
|
1772
1772
|
version: '0'
|
1773
1773
|
requirements: []
|
1774
|
-
rubygems_version: 3.
|
1774
|
+
rubygems_version: 3.5.10
|
1775
1775
|
signing_key:
|
1776
1776
|
specification_version: 4
|
1777
1777
|
summary: CoverageBook component library
|