ada-ui 4.7.0 → 5.1.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.
package/scss/_button.scss DELETED
@@ -1,52 +0,0 @@
1
- @mixin button {
2
- overflow: hidden;
3
- outline: none;
4
- color: var(--fg);
5
- font-family: inherit;
6
- cursor: pointer;
7
- user-select: none;
8
- vertical-align: middle;
9
- transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
10
-
11
- &:disabled {
12
- opacity: 0.4;
13
- filter: saturate(0.6);
14
- cursor: default;
15
- pointer-events: none;
16
- }
17
- }
18
-
19
- .button {
20
- @include button;
21
- white-space: nowrap;
22
- text-overflow: ellipsis;
23
- border-radius: 0.3rem;
24
- box-shadow: $box-shadow;
25
- border: 1px solid var(--light-alpha40);
26
- background-color: transparent;
27
- min-height: min-content;
28
- min-width: 8rem;
29
- padding: 0.8rem 1.6rem;
30
- margin: 0.8rem;
31
- font-size: 1.1rem;
32
-
33
- &.small {
34
- min-width: 0;
35
- padding: 0.8rem;
36
- }
37
- &.fill {
38
- background-color: var(--default);
39
- }
40
- &:focus {
41
- border: 1px solid var(--light-alpha70);
42
- }
43
- &:hover {
44
- // stays after click on touch devices
45
- // TODO: only for non-touch devices
46
- // /*background-color: var(--light-alpha40);*/
47
- }
48
- &:active {
49
- background-color: var(--light);
50
- border: 1px solid var(--default-alpha40);
51
- }
52
- }
package/scss/_corner.scss DELETED
@@ -1,47 +0,0 @@
1
- @mixin corner($location, $style: "default") {
2
- --border-width: 2px;
3
-
4
- content: "";
5
- border-style: solid;
6
- border-color: var(--default);
7
- position: absolute;
8
- height: 1rem;
9
- width: 1rem;
10
- z-index: 2;
11
-
12
- @if $style == "light" {
13
- --border-width: 1px;
14
-
15
- border-color: var(--light-alpha40);
16
- height: 0.75rem;
17
- width: 0.75rem;
18
- }
19
-
20
- @if $location == "top-left" {
21
- border-width: var(--border-width) 0 0 var(--border-width);
22
- border-radius: 0.3rem 0 0 0;
23
- left: 0;
24
- top: 0;
25
- }
26
-
27
- @if $location == "top-right" {
28
- border-width: var(--border-width) var(--border-width) 0 0;
29
- border-radius: 0 0.3rem 0 0;
30
- right: 0;
31
- top: 0;
32
- }
33
-
34
- @if $location == "bottom-left" {
35
- border-width: 0 0 var(--border-width) var(--border-width);
36
- border-radius: 0 0 0 0.3rem;
37
- left: 0;
38
- bottom: 0;
39
- }
40
-
41
- @if $location == "bottom-right" {
42
- border-width: 0 var(--border-width) var(--border-width) 0;
43
- border-radius: 0 0 0.3rem 0;
44
- right: 0;
45
- bottom: 0;
46
- }
47
- }
@@ -1,8 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: ["./src/**/*.{html,jsx,tsx}"],
4
- theme: {
5
- extend: {},
6
- },
7
- plugins: [],
8
- };