@aplus-frontend/ui 0.0.16 → 0.0.17
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/es/index.mjs +42 -38
- package/es/src/ap-table/style/ap-table.css +6 -0
- package/es/src/check-card/checked.svg.mjs +4 -0
- package/es/src/check-card/context.d.ts +6 -0
- package/es/src/check-card/context.mjs +16 -0
- package/es/src/check-card/group.vue.d.ts +57 -0
- package/es/src/check-card/group.vue.mjs +57 -0
- package/es/src/check-card/group.vue2.mjs +4 -0
- package/es/src/check-card/index.d.ts +9 -0
- package/es/src/check-card/index.mjs +11 -0
- package/es/src/check-card/index.vue.d.ts +54 -0
- package/es/src/check-card/index.vue.mjs +4 -0
- package/es/src/check-card/index.vue2.mjs +133 -0
- package/es/src/check-card/interface.d.ts +100 -0
- package/es/src/check-card/interface.mjs +1 -0
- package/es/src/check-card/style/index.css +108 -0
- package/es/src/hooks/useControllableValue.mjs +15 -13
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +194 -190
- package/es/src/theme/ap-table/ap-table.css +6 -0
- package/es/src/theme/check-card/index.css +108 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-table/style/ap-table.css +6 -0
- package/lib/src/check-card/checked.svg.js +1 -0
- package/lib/src/check-card/context.d.ts +6 -0
- package/lib/src/check-card/context.js +1 -0
- package/lib/src/check-card/group.vue.d.ts +57 -0
- package/lib/src/check-card/group.vue.js +1 -0
- package/lib/src/check-card/group.vue2.js +1 -0
- package/lib/src/check-card/index.d.ts +9 -0
- package/lib/src/check-card/index.js +1 -0
- package/lib/src/check-card/index.vue.d.ts +54 -0
- package/lib/src/check-card/index.vue.js +1 -0
- package/lib/src/check-card/index.vue2.js +1 -0
- package/lib/src/check-card/interface.d.ts +100 -0
- package/lib/src/check-card/interface.js +1 -0
- package/lib/src/check-card/style/index.css +108 -0
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/theme/ap-table/ap-table.css +6 -0
- package/lib/src/theme/check-card/index.css +108 -0
- package/package.json +2 -2
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.aplus-check-card {
|
|
2
|
+
border-radius: 4px;
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
.aplus-check-card--disabled {
|
|
6
|
+
background-color: #F9F9FA;
|
|
7
|
+
cursor: not-allowed;
|
|
8
|
+
}
|
|
9
|
+
.aplus-check-card--bordered {
|
|
10
|
+
outline: 1px solid var(--check-card-border-color);
|
|
11
|
+
}
|
|
12
|
+
.aplus-check-card-aplus:hover {
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
outline: 1px solid #0070ff;
|
|
15
|
+
}
|
|
16
|
+
.aplus-check-card-aplus::after {
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 0;
|
|
20
|
+
height: 0;
|
|
21
|
+
opacity: 0;
|
|
22
|
+
inset-block-start: -2px;
|
|
23
|
+
inset-inline-end: -2px;
|
|
24
|
+
border-inline-start: 16px solid transparent;
|
|
25
|
+
border-block-end: 16px solid transparent;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
}
|
|
28
|
+
.aplus-check-card-aplus--checked {
|
|
29
|
+
outline: 2px solid #0070ff;
|
|
30
|
+
}
|
|
31
|
+
.aplus-check-card-aplus--checked:hover {
|
|
32
|
+
outline: 2px solid #0070ff;
|
|
33
|
+
}
|
|
34
|
+
.aplus-check-card-aplus--checked::after {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
border: 16px solid #0070ff;
|
|
37
|
+
border-inline-start: 16px solid transparent;
|
|
38
|
+
border-block-end: 16px solid transparent;
|
|
39
|
+
inset-block-start: -2px;
|
|
40
|
+
inset-inline-end: -2px;
|
|
41
|
+
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
42
|
+
}
|
|
43
|
+
.aplus-check-card-admin:hover {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
outline: 1px solid #34b77c;
|
|
46
|
+
}
|
|
47
|
+
.aplus-check-card-admin::after {
|
|
48
|
+
content: '';
|
|
49
|
+
position: absolute;
|
|
50
|
+
width: 0px;
|
|
51
|
+
height: 0px;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
inset-block-start: -2px;
|
|
54
|
+
inset-inline-end: -2px;
|
|
55
|
+
border-inline-start: 16px solid transparent;
|
|
56
|
+
border-block-end: 16px solid transparent;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
}
|
|
59
|
+
.aplus-check-card-admin--checked {
|
|
60
|
+
outline: 2px solid #34b77c;
|
|
61
|
+
}
|
|
62
|
+
.aplus-check-card-admin--checked:hover {
|
|
63
|
+
outline: 2px solid #34b77c;
|
|
64
|
+
}
|
|
65
|
+
.aplus-check-card-admin--checked::after {
|
|
66
|
+
content: '';
|
|
67
|
+
opacity: 1;
|
|
68
|
+
border: 16px solid #34b77c;
|
|
69
|
+
border-inline-start: 16px solid transparent;
|
|
70
|
+
border-block-end: 16px solid transparent;
|
|
71
|
+
inset-block-start: -2px;
|
|
72
|
+
inset-inline-end: -2px;
|
|
73
|
+
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
74
|
+
}
|
|
75
|
+
.aplus-check-card--middle {
|
|
76
|
+
padding: 16px 24px;
|
|
77
|
+
}
|
|
78
|
+
.aplus-check-card--small {
|
|
79
|
+
padding: 12px 24px;
|
|
80
|
+
}
|
|
81
|
+
.aplus-check-card__title {
|
|
82
|
+
margin-bottom: 8px;
|
|
83
|
+
}
|
|
84
|
+
.aplus-check-card__title > span {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
line-height: 22px;
|
|
87
|
+
color: #333;
|
|
88
|
+
}
|
|
89
|
+
.aplus-check-card__title--disabled {
|
|
90
|
+
color: #ABB7CC;
|
|
91
|
+
}
|
|
92
|
+
.aplus-check-card__content {
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
line-height: 22px;
|
|
95
|
+
color: #333;
|
|
96
|
+
}
|
|
97
|
+
.aplus-check-card__content--disabled {
|
|
98
|
+
color: #ABB7CC;
|
|
99
|
+
}
|
|
100
|
+
.aplus-check-card__checked-icon {
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 0;
|
|
103
|
+
right: 0;
|
|
104
|
+
z-index: 1;
|
|
105
|
+
-webkit-user-select: none;
|
|
106
|
+
-moz-user-select: none;
|
|
107
|
+
user-select: none;
|
|
108
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"sortablejs": "^1.15.2",
|
|
61
61
|
"@aplus-frontend/oss": "^1.0.11",
|
|
62
62
|
"mime": "^4.0.3",
|
|
63
|
-
"@aplus-frontend/hooks": "1.0.
|
|
63
|
+
"@aplus-frontend/hooks": "1.0.6",
|
|
64
64
|
"@aplus-frontend/utils": "1.0.22"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|