odt-ui-rails 2.2.9 → 2.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96dede14c0cb2d23cc6c98786bc2ec498554da2444159c6384f174b877ff7fd0
4
- data.tar.gz: 7a10098064d3a9b9fc0805b353df96f87469963a208cb1dadbb64504ad1943c6
3
+ metadata.gz: a8122bf17489c5b3318f3dd2c7b90202e6d79f8252c90739121343c768b126a9
4
+ data.tar.gz: 36a59e4f27e1deee7bdbb8d92bffd93df11a21d97a9168a288e2041337ae8f3d
5
5
  SHA512:
6
- metadata.gz: 587b164eba1277283ca586a09d5293357012963e8e38424fd58a21bfd39382ea689086baf8b2517cb1f0cbe02391527073c2806da57ee4a8ae8f4392c83d86ec
7
- data.tar.gz: 73aaec1ab91838903c9d88fbf703c2ab55e7179e0deb3acef8f3a8db0ac68b85707b2775e1cf4648e92322491351eec18a2ee30dcc4de8fe2880bd4758e1a4f0
6
+ metadata.gz: 047f42be5ce32f32fa7f618fa1a2929771c376f85f31a38ea517ebf06d231129f77acf001a42cc275a3c2593601be9f9ba9b82c62684eba82b97ab9e786c6f82
7
+ data.tar.gz: 25a92cb79041cdef37b4c4cf16676e36e988a9058d6913d4216c11167f8db5982184dd1cb9687c8f298a6b9b0e85d649f98d5f34bc84bda5048cac20326e2f84
data/README.md CHANGED
@@ -58,7 +58,7 @@
58
58
  Add the gem to your application's `Gemfile`:
59
59
 
60
60
  ```ruby
61
- gem "odt-ui-rails", "~> 2.2.9"
61
+ gem "odt-ui-rails", "~> 2.2.10"
62
62
  ```
63
63
 
64
64
  Install dependencies:
@@ -1758,34 +1758,36 @@
1758
1758
  margin-top: 0.0625rem;
1759
1759
  }
1760
1760
 
1761
- /* Checkmark indicator */
1762
- .odt-checkbox:checked::after {
1763
- content: "";
1764
- display: block;
1765
- width: 4px;
1766
- height: 8px;
1767
- border: solid currentColor;
1768
- border-width: 0 2px 2px 0;
1769
- transform: rotate(45deg);
1770
- margin-bottom: 2px;
1771
- animation: odt-pop 140ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
1772
- }
1773
-
1774
- .odt-checkbox--sm:checked::after {
1775
- width: 3px;
1776
- height: 6px;
1777
- border-width: 0 1.5px 1.5px 0;
1778
- margin-bottom: 1px;
1779
- }
1780
-
1781
- .odt-checkbox--lg:checked::after {
1782
- width: 5px;
1783
- height: 10px;
1784
- border-width: 0 2.5px 2.5px 0;
1785
- margin-bottom: 2px;
1786
- }
1761
+ /* Checkmark indicator */
1762
+ .odt-checkbox:checked::after {
1763
+ content: "";
1764
+ display: block;
1765
+ width: 0.75rem;
1766
+ height: 0.75rem;
1767
+ background-color: currentColor;
1768
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
1769
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
1770
+ -webkit-mask-size: contain;
1771
+ mask-size: contain;
1772
+ -webkit-mask-repeat: no-repeat;
1773
+ mask-repeat: no-repeat;
1774
+ -webkit-mask-position: center;
1775
+ mask-position: center;
1776
+ animation: odt-pop 140ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
1777
+ }
1778
+
1779
+ .odt-checkbox--sm:checked::after {
1780
+ width: 0.625rem;
1781
+ height: 0.625rem;
1782
+ }
1783
+
1784
+ .odt-checkbox--lg:checked::after {
1785
+ width: 0.875rem;
1786
+ height: 0.875rem;
1787
+ }
1788
+
1789
+ /* Radio Dot indicator */
1787
1790
 
1788
- /* Radio Dot indicator */
1789
1791
  .odt-radio:checked::after {
1790
1792
  content: "";
1791
1793
  display: block;
@@ -2210,34 +2210,36 @@
2210
2210
  margin-top: 0.0625rem;
2211
2211
  }
2212
2212
 
2213
- /* Checkmark indicator */
2214
- .odt-checkbox:checked::after {
2215
- content: "";
2216
- display: block;
2217
- width: 4px;
2218
- height: 8px;
2219
- border: solid currentColor;
2220
- border-width: 0 2px 2px 0;
2221
- transform: rotate(45deg);
2222
- margin-bottom: 2px;
2223
- animation: odt-pop 140ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
2224
- }
2213
+ /* Checkmark indicator */
2214
+ .odt-checkbox:checked::after {
2215
+ content: "";
2216
+ display: block;
2217
+ width: 0.75rem;
2218
+ height: 0.75rem;
2219
+ background-color: currentColor;
2220
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2221
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
2222
+ -webkit-mask-size: contain;
2223
+ mask-size: contain;
2224
+ -webkit-mask-repeat: no-repeat;
2225
+ mask-repeat: no-repeat;
2226
+ -webkit-mask-position: center;
2227
+ mask-position: center;
2228
+ animation: odt-pop 140ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
2229
+ }
2225
2230
 
2226
- .odt-checkbox--sm:checked::after {
2227
- width: 3px;
2228
- height: 6px;
2229
- border-width: 0 1.5px 1.5px 0;
2230
- margin-bottom: 1px;
2231
- }
2231
+ .odt-checkbox--sm:checked::after {
2232
+ width: 0.625rem;
2233
+ height: 0.625rem;
2234
+ }
2232
2235
 
2233
- .odt-checkbox--lg:checked::after {
2234
- width: 5px;
2235
- height: 10px;
2236
- border-width: 0 2.5px 2.5px 0;
2237
- margin-bottom: 2px;
2238
- }
2236
+ .odt-checkbox--lg:checked::after {
2237
+ width: 0.875rem;
2238
+ height: 0.875rem;
2239
+ }
2240
+
2241
+ /* Radio Dot indicator */
2239
2242
 
2240
- /* Radio Dot indicator */
2241
2243
  .odt-radio:checked::after {
2242
2244
  content: "";
2243
2245
  display: block;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OdtUi
4
- VERSION = "2.2.9"
4
+ VERSION = "2.2.10"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odt-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.9
4
+ version: 2.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pixel