@gettrx/core-styles 2.0.3 → 2.0.5

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.
@@ -10,3 +10,4 @@
10
10
  @forward "styles/utilities/api";
11
11
 
12
12
  @forward "styles/css/gettrx.css";
13
+ @forward "styles/components/ripple";
@@ -0,0 +1,39 @@
1
+ @use 'mixins/ripple' as ripple;
2
+
3
+ :root {
4
+ --gtr-ripple-duration: 550ms;
5
+ --gtr-ripple-opacity: 0.3;
6
+ --gtr-ripple-color: currentColor;
7
+ }
8
+
9
+ .gtr-ripple-host {
10
+ @include ripple.gtr-ripple-host;
11
+ }
12
+
13
+ .gtr-ripple-wave {
14
+ @include ripple.gtr-ripple-wave;
15
+ }
16
+
17
+ .btn.gtr-ripple-host {
18
+ --gtr-ripple-color: rgba(255, 255, 255, 0.35);
19
+ }
20
+
21
+ .btn-outline-primary.gtr-ripple-host,
22
+ .btn-outline-secondary.gtr-ripple-host,
23
+ .btn-outline-success.gtr-ripple-host,
24
+ .btn-outline-danger.gtr-ripple-host,
25
+ .btn-outline-warning.gtr-ripple-host,
26
+ .btn-outline-info.gtr-ripple-host,
27
+ .btn-outline-dark.gtr-ripple-host,
28
+ .btn-outline-light.gtr-ripple-host,
29
+ .btn-link.gtr-ripple-host,
30
+ .btn-ghost-primary.gtr-ripple-host,
31
+ .btn-ghost-secondary.gtr-ripple-host,
32
+ .btn-ghost-success.gtr-ripple-host,
33
+ .btn-ghost-danger.gtr-ripple-host,
34
+ .btn-ghost-warning.gtr-ripple-host,
35
+ .btn-ghost-info.gtr-ripple-host,
36
+ .btn-ghost-dark.gtr-ripple-host,
37
+ .btn-ghost-light.gtr-ripple-host {
38
+ --gtr-ripple-color: currentColor;
39
+ }
@@ -0,0 +1,22 @@
1
+ @mixin gtr-ripple-host {
2
+ position: relative;
3
+ overflow: hidden;
4
+ isolation: isolate;
5
+ }
6
+
7
+ @mixin gtr-ripple-wave {
8
+ position: absolute;
9
+ border-radius: 50%;
10
+ pointer-events: none;
11
+ transform: translate(-50%, -50%) scale(0);
12
+ opacity: var(--gtr-ripple-opacity, 0.3);
13
+ background-color: var(--gtr-ripple-color, currentColor);
14
+ animation: gtr-ripple-enter var(--gtr-ripple-duration, 550ms) ease-out forwards;
15
+ }
16
+
17
+ @keyframes gtr-ripple-enter {
18
+ to {
19
+ transform: translate(-50%, -50%) scale(1);
20
+ opacity: 0;
21
+ }
22
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Gettrx Core Styles
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Aug 2026 16:06:46 GMT
4
+ * Generated on Thu, 03 Sep 2026 16:30:02 GMT
5
5
  */
6
6
 
7
7
  $gtr-color-background-base : var(--gtr-color-background-base);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Gettrx Core Styles
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Aug 2026 16:06:46 GMT
4
+ * Generated on Thu, 03 Sep 2026 16:30:02 GMT
5
5
  */
6
6
 
7
7
  :root {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Gettrx Core Styles
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Aug 2026 16:06:46 GMT
4
+ * Generated on Thu, 03 Sep 2026 16:30:02 GMT
5
5
  */
6
6
 
7
7
  export const GtrColorBackgroundBase = 'var(--GtrColorBackgroundBase)';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gettrx/core-styles",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Gettrx core styles",
5
5
  "keywords": [
6
6
  "gettrx",