css-zero 0.0.66 → 0.0.67

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: 8195f9b90919258a5ca6a46c93bb2d75cc6142e22f0040b021ae75067ccb1e98
4
- data.tar.gz: d7bdfd732b027d74495b1924aa15e783c69ab497462981f309e2aa11c6f3803b
3
+ metadata.gz: e19dd0c9e5592c736629373cb7465fcd9859855dcb75dc85cd0237c785ea98ca
4
+ data.tar.gz: 35030590c335e823f27420ee64a6f4cd54c17df138206f75301292b3eca0a74a
5
5
  SHA512:
6
- metadata.gz: 3c440da9a275a5967e1ef77f363408c60aaf3c79b50016f71d87eb0987b9a169c6cccadde923e4e4a92bc5fd3f6481c401bea1cc1eff8bc3970d112e65fb9411
7
- data.tar.gz: a784b89273f04e43caed45ebc8a63eaa97879a3c66deb9a7778dc22a59836b5d3ad578c8c5b44250f8de041eade07c7b8ffb5052b0e2be93bdb42d913b3aa8f6
6
+ metadata.gz: c73c277981ae7967a6e7c3e349a68c882fde04bdca3e3d28cb68a3860dff106aade4f80e8c17b760e3b28650d5e6600df885d6fe2a586ae89b673a52fe300714
7
+ data.tar.gz: cdebd5cce5afe52d375a75ca6e3086dec51202094981b9ecb5da040e1ad0efdfd481ce36a2d6cd6e01c32c6d157db8340e63f5a75535ff367b6d429ffd23bc1f
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.66"
2
+ VERSION = "0.0.67"
3
3
  end
@@ -4,7 +4,7 @@ accordion:
4
4
  alert:
5
5
  - app/assets/stylesheets/alert.css
6
6
  autoanimate:
7
- - app/javascript/controllers/autoanimate_controller.js
7
+ - app/assets/stylesheets/autoanimate.css
8
8
  autosave:
9
9
  - app/javascript/controllers/autosave_controller.js
10
10
  avatar:
@@ -0,0 +1,15 @@
1
+ .auto-animate > * {
2
+ view-transition-class: auto-animation;
3
+ }
4
+
5
+ ::view-transition-old(.auto-animation):only-child {
6
+ animation: var(--animate-fade-out) forwards;
7
+ animation-duration: var(--time-200);
8
+ opacity: 1;
9
+ }
10
+
11
+ ::view-transition-new(.auto-animation):only-child {
12
+ animation: var(--animate-fade-in) forwards;
13
+ animation-duration: var(--time-200);
14
+ opacity: 0;
15
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.66
4
+ version: 0.0.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lázaro Nixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-23 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com
@@ -58,6 +58,7 @@ files:
58
58
  - lib/generators/css_zero/add/templates/app/assets/images/x.svg
59
59
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/accordion.css
60
60
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/alert.css
61
+ - lib/generators/css_zero/add/templates/app/assets/stylesheets/autoanimate.css
61
62
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/avatar.css
62
63
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/badge.css
63
64
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/breadcrumb.css
@@ -86,7 +87,6 @@ files:
86
87
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/zcombobox.css
87
88
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/zdatepicker.css
88
89
  - lib/generators/css_zero/add/templates/app/assets/stylesheets/ztrix.css
89
- - lib/generators/css_zero/add/templates/app/javascript/controllers/autoanimate_controller.js
90
90
  - lib/generators/css_zero/add/templates/app/javascript/controllers/autosave_controller.js
91
91
  - lib/generators/css_zero/add/templates/app/javascript/controllers/autoselect_controller.js
92
92
  - lib/generators/css_zero/add/templates/app/javascript/controllers/carousel_controller.js
@@ -1,8 +0,0 @@
1
- import { Controller } from "@hotwired/stimulus"
2
- import autoAnimate from "https://cdn.skypack.dev/@formkit/auto-animate@0.8.2"
3
-
4
- export default class extends Controller {
5
- connect() {
6
- autoAnimate(this.element)
7
- }
8
- }