@aristobyte-ui/anchor 2.4.0 → 2.5.0
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.
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
@use '@aristobyte-ui/utils/styles' as *;
|
|
2
|
+
|
|
3
|
+
.anchor {
|
|
4
|
+
background-color: $transparent;
|
|
5
|
+
border: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
display: flex;
|
|
8
|
+
font-size: 0.875rem;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
letter-spacing: 0rem;
|
|
11
|
+
line-height: 1.4285714286;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
padding: 0.5rem 1rem;
|
|
15
|
+
transition: all 200ms ease;
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
text-decoration: underline;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:active {
|
|
22
|
+
transform: scale(0.97);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--white {
|
|
26
|
+
color: $white;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
color: $white-hover;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--black {
|
|
34
|
+
color: $black;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
color: $black-hover;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--default {
|
|
42
|
+
color: $color-default;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
color: $color-default-hover;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--primary {
|
|
50
|
+
color: $color-primary;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: $color-primary-hover;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--secondary {
|
|
58
|
+
color: $color-secondary;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
color: $color-secondary-hover;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--success {
|
|
66
|
+
color: $color-success;
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
color: $color-success-hover;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--error {
|
|
74
|
+
color: $color-error;
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
color: $color-error-hover;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&--warning {
|
|
82
|
+
color: $color-warning;
|
|
83
|
+
color: $black;
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
color: $color-warning-hover;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
svg {
|
|
91
|
+
height: 100%;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
@use '@aristobyte-ui/utils/styles' as *;
|
|
2
|
+
|
|
3
|
+
.anchor {
|
|
4
|
+
background-color: $transparent;
|
|
5
|
+
border: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
display: flex;
|
|
8
|
+
font-size: 0.875rem;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
letter-spacing: 0rem;
|
|
11
|
+
line-height: 1.4285714286;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
padding: 0.5rem 1rem;
|
|
15
|
+
transition: all 200ms ease;
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
text-decoration: underline;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:active {
|
|
22
|
+
transform: scale(0.97);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--white {
|
|
26
|
+
color: $white;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
color: $white-hover;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--black {
|
|
34
|
+
color: $black;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
color: $black-hover;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--default {
|
|
42
|
+
color: $color-default;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
color: $color-default-hover;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--primary {
|
|
50
|
+
color: $color-primary;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: $color-primary-hover;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--secondary {
|
|
58
|
+
color: $color-secondary;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
color: $color-secondary-hover;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--success {
|
|
66
|
+
color: $color-success;
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
color: $color-success-hover;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--error {
|
|
74
|
+
color: $color-error;
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
color: $color-error-hover;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&--warning {
|
|
82
|
+
color: $color-warning;
|
|
83
|
+
color: $black;
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
color: $color-warning-hover;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
svg {
|
|
91
|
+
height: 100%;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristobyte-ui/anchor",
|
|
3
3
|
"description": "A fully-typed, lightweight Anchor component for AristoByteUI with ripple effect support, multiple variants, and seamless integration with SCSS modules and design tokens.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "AristoByte <info@aristobyte.com>",
|
|
@@ -45,9 +45,10 @@
|
|
|
45
45
|
"module": "es/src/main/index.js",
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": "^19.1.0",
|
|
48
|
-
"react-dom": "^19.1.0"
|
|
48
|
+
"react-dom": "^19.1.0",
|
|
49
|
+
"sass": "^1.97.3"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
51
|
-
"@aristobyte-ui/utils": "2.
|
|
52
|
+
"@aristobyte-ui/utils": "2.5.0"
|
|
52
53
|
}
|
|
53
54
|
}
|