pasito 0.1.2 → 0.1.3

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.
package/dist/index.css CHANGED
@@ -71,24 +71,28 @@
71
71
  .pasito-step::after {
72
72
  content: "";
73
73
  position: absolute;
74
- inset: 0;
74
+ top: 0;
75
+ left: 0;
76
+ bottom: 0;
77
+ width: 0;
75
78
  border-radius: inherit;
76
79
  background: var(--pill-fill-bg);
77
- transform: scaleX(0);
78
- transform-origin: left center;
79
80
  pointer-events: none;
80
81
  }
81
82
  .pasito-vertical .pasito-step::after {
82
- transform: scaleY(0);
83
- transform-origin: center top;
83
+ right: 0;
84
+ bottom: auto;
85
+ width: auto;
86
+ height: 0;
84
87
  }
85
88
  .pasito-step-filling::after {
86
- transform: scaleX(1);
87
- transition: transform var(--pill-fill-duration, 3000ms) linear;
89
+ width: 100%;
90
+ transition: width var(--pill-fill-duration, 3000ms) linear;
88
91
  }
89
92
  .pasito-vertical .pasito-step-filling::after {
90
- transform: scaleY(1);
91
- transition: transform var(--pill-fill-duration, 3000ms) linear;
93
+ width: auto;
94
+ height: 100%;
95
+ transition: height var(--pill-fill-duration, 3000ms) linear;
92
96
  }
93
97
  .pasito-entering {
94
98
  width: 0;
package/dist/react.css CHANGED
@@ -71,24 +71,28 @@
71
71
  .pasito-step::after {
72
72
  content: "";
73
73
  position: absolute;
74
- inset: 0;
74
+ top: 0;
75
+ left: 0;
76
+ bottom: 0;
77
+ width: 0;
75
78
  border-radius: inherit;
76
79
  background: var(--pill-fill-bg);
77
- transform: scaleX(0);
78
- transform-origin: left center;
79
80
  pointer-events: none;
80
81
  }
81
82
  .pasito-vertical .pasito-step::after {
82
- transform: scaleY(0);
83
- transform-origin: center top;
83
+ right: 0;
84
+ bottom: auto;
85
+ width: auto;
86
+ height: 0;
84
87
  }
85
88
  .pasito-step-filling::after {
86
- transform: scaleX(1);
87
- transition: transform var(--pill-fill-duration, 3000ms) linear;
89
+ width: 100%;
90
+ transition: width var(--pill-fill-duration, 3000ms) linear;
88
91
  }
89
92
  .pasito-vertical .pasito-step-filling::after {
90
- transform: scaleY(1);
91
- transition: transform var(--pill-fill-duration, 3000ms) linear;
93
+ width: auto;
94
+ height: 100%;
95
+ transition: height var(--pill-fill-duration, 3000ms) linear;
92
96
  }
93
97
  .pasito-entering {
94
98
  width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pasito",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A dependency-free stepper/progress indicator with pure CSS transitions — React & Vue",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",