ep-lib-ts 1.0.67 → 1.0.69
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/components/basics/EpAvatar.vue.js +1 -54
- package/dist/components/basics/EpAvatar.vue.js.map +1 -1
- package/dist/components/basics/EpAvatar.vue2.js +55 -1
- package/dist/components/basics/EpAvatar.vue2.js.map +1 -1
- package/dist/components/basics/EpCard.vue.js +4 -4
- package/dist/components/basics/EpCard.vue.js.map +1 -1
- package/dist/components/basics/EpDivider.vue.js +4 -3
- package/dist/components/basics/EpDivider.vue.js.map +1 -1
- package/dist/components/basics/EpHoverCard.vue.js +2 -2
- package/dist/components/basics/EpHoverCard.vue.js.map +1 -1
- package/dist/components/basics/EpImg.vue.js +1 -1
- package/dist/components/basics/EpImg.vue.js.map +1 -1
- package/dist/components/basics/EpStackedList.vue.js +3 -3
- package/dist/components/basics/EpStackedList.vue.js.map +1 -1
- package/dist/components/basics/EpTable.vue.js +1 -1
- package/dist/components/basics/EpTable.vue.js.map +1 -1
- package/dist/components/educationals/EpBranchingScenario.vue.js +1 -1
- package/dist/components/educationals/EpBranchingScenario.vue2.js +3 -3
- package/dist/components/educationals/EpBranchingScenario.vue2.js.map +1 -1
- package/dist/components/educationals/EpEdu.vue.js +1 -1
- package/dist/components/educationals/EpEdu.vue.js.map +1 -1
- package/dist/components/educationals/EpInstructions.vue.js +6 -1
- package/dist/components/educationals/EpInstructions.vue.js.map +1 -1
- package/dist/components/educationals/EpReading.vue.js +1 -1
- package/dist/components/educationals/EpReading.vue.js.map +1 -1
- package/dist/components/educationals/EpResource.vue.js +1 -1
- package/dist/components/educationals/EpResource.vue.js.map +1 -1
- package/dist/components/educationals/EpSpecificObjective.vue.js +40 -19
- package/dist/components/educationals/EpSpecificObjective.vue.js.map +1 -1
- package/dist/components/interactions/EpAccordeon.vue.js +1 -1
- package/dist/components/interactions/EpAccordeon.vue2.js +3 -2
- package/dist/components/interactions/EpAccordeon.vue2.js.map +1 -1
- package/dist/components/interactions/EpContentSlider.vue.js +75 -9
- package/dist/components/interactions/EpContentSlider.vue.js.map +1 -1
- package/dist/components/interactions/EpQuestion.vue.js +1 -1
- package/dist/components/interactions/EpQuestion.vue.js.map +1 -1
- package/dist/components/interactions/EpSummativeTable.vue.js +1 -1
- package/dist/components/interactions/EpSummativeTable.vue.js.map +1 -1
- package/dist/components/medias/EpAudio.vue.js +1 -1
- package/dist/components/medias/EpCarousel.vue.js +2 -2
- package/dist/components/medias/EpCarousel.vue.js.map +1 -1
- package/dist/components/medias/EpHierarchy.vue2.js +1 -1
- package/dist/components/medias/EpHierarchy.vue2.js.map +1 -1
- package/dist/components/medias/EpSoftware.vue.js +1 -1
- package/dist/components/medias/EpSoftware.vue.js.map +1 -1
- package/dist/components/medias/EpTerm.vue.js +2 -2
- package/dist/components/medias/EpTerm.vue.js.map +1 -1
- package/dist/components/medias/EpWordDef.vue.js +133 -50
- package/dist/components/medias/EpWordDef.vue.js.map +1 -1
- package/dist/components/signages/EpHeader.vue.js +3 -3
- package/dist/components/signages/EpHeader.vue.js.map +1 -1
- package/dist/components/tools/BgAudio.vue.js +52 -1
- package/dist/components/tools/BgAudio.vue.js.map +1 -1
- package/dist/components/tools/BgAudio.vue2.js +1 -52
- package/dist/components/tools/BgAudio.vue2.js.map +1 -1
- package/dist/components/tools/Details.vue.js +1 -55
- package/dist/components/tools/Details.vue.js.map +1 -1
- package/dist/components/tools/Details.vue2.js +55 -1
- package/dist/components/tools/Details.vue2.js.map +1 -1
- package/dist/components/tools/TextMedia.vue.js +1 -49
- package/dist/components/tools/TextMedia.vue.js.map +1 -1
- package/dist/components/tools/TextMedia.vue2.js +49 -1
- package/dist/components/tools/TextMedia.vue2.js.map +1 -1
- package/dist/components/tools/TimelineItem.vue.js +1 -1
- package/dist/components/tools/TimelineItem.vue2.js +1 -1
- package/dist/components/tools/TimelineItem.vue2.js.map +1 -1
- package/dist/components/tools/TwoColsMedia.vue2.js +2 -2
- package/dist/components/tools/TwoColsMedia.vue2.js.map +1 -1
- package/dist/composables/useColors.js +58 -0
- package/dist/composables/useColors.js.map +1 -0
- package/dist/style.css +147 -0
- package/dist/types/Accordeon.js +20 -20
- package/dist/types/Accordeon.js.map +1 -1
- package/dist/types/Alert.js +32 -32
- package/dist/types/Alert.js.map +1 -1
- package/dist/types/Btn.js +21 -21
- package/dist/types/Btn.js.map +1 -1
- package/dist/types/Chip.js +14 -14
- package/dist/types/Chip.js.map +1 -1
- package/dist/types/educationals/EpInstructions.d.ts +1 -0
- package/dist/types/educationals/EpSpecificObjective.d.ts +1 -1
- package/package.json +2 -4
- package/dist/styles.css +0 -655
package/dist/style.css
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
|
|
2
|
+
.katex[data-v-a9b6227c] {
|
|
3
|
+
font-size: 1.6em;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.eptimeline-list-enter-active[data-v-6ad2fc60],
|
|
8
|
+
.eptimeline-list-leave-active[data-v-6ad2fc60] {
|
|
9
|
+
transition: all 0.5s ease;
|
|
10
|
+
}
|
|
11
|
+
.eptimeline-list-enter-from[data-v-6ad2fc60],
|
|
12
|
+
.eptimeline-list-leave-to[data-v-6ad2fc60] {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: translateX(30px);
|
|
15
|
+
}
|
|
16
|
+
/*$vite$:1*/
|
|
17
|
+
|
|
18
|
+
.ep-info-box[data-v-64f3d0d8] a {
|
|
19
|
+
text-decoration: underline;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
}
|
|
22
|
+
/*$vite$:1*/
|
|
23
|
+
|
|
24
|
+
.ep-tree-wrapper[data-v-819ce9ba] {
|
|
25
|
+
overflow: auto;
|
|
26
|
+
border: 1px solid #ddd;
|
|
27
|
+
}
|
|
28
|
+
.ep-tree-container[data-v-819ce9ba] {
|
|
29
|
+
width: 100%;
|
|
30
|
+
overflow-x: auto;
|
|
31
|
+
}
|
|
32
|
+
/*$vite$:1*/
|
|
33
|
+
|
|
34
|
+
.shape[data-v-4a99873e] {
|
|
35
|
+
height: var(--e4ec2c0a);
|
|
36
|
+
width: var(--3f346a72);
|
|
37
|
+
}
|
|
38
|
+
/*$vite$:1*/
|
|
39
|
+
|
|
40
|
+
@keyframes fade-352aec5b {
|
|
41
|
+
0% {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
}
|
|
44
|
+
100% {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@keyframes scale-352aec5b {
|
|
49
|
+
0% {
|
|
50
|
+
transform: scale(0.5);
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
100% {
|
|
54
|
+
transform: scale(1);
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
@keyframes slideY-352aec5b {
|
|
59
|
+
0% {
|
|
60
|
+
transform: translateY(-100%);
|
|
61
|
+
opacity: 0;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
transform: translateY(0);
|
|
65
|
+
opacity: 1;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Transition animation */
|
|
70
|
+
.fade[data-v-352aec5b] {
|
|
71
|
+
animation: fade-352aec5b 1s;
|
|
72
|
+
}
|
|
73
|
+
.scale[data-v-352aec5b] {
|
|
74
|
+
animation: scale-352aec5b 1s;
|
|
75
|
+
}
|
|
76
|
+
.slideY[data-v-352aec5b] {
|
|
77
|
+
animation: slideY-352aec5b 1s;
|
|
78
|
+
}
|
|
79
|
+
/*$vite$:1*/
|
|
80
|
+
|
|
81
|
+
pre {
|
|
82
|
+
white-space: break-spaces;
|
|
83
|
+
}
|
|
84
|
+
/*$vite$:1*/
|
|
85
|
+
|
|
86
|
+
.ep-modal-mask {
|
|
87
|
+
position: fixed;
|
|
88
|
+
z-index: 6998;
|
|
89
|
+
top: 0;
|
|
90
|
+
left: 0;
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
94
|
+
display: flex;
|
|
95
|
+
transition: opacity 0.3s ease;
|
|
96
|
+
}
|
|
97
|
+
.ep-modal-container {
|
|
98
|
+
margin: auto;
|
|
99
|
+
max-height: 95%;
|
|
100
|
+
transition: all 0.3s ease;
|
|
101
|
+
z-index: 7000;
|
|
102
|
+
}
|
|
103
|
+
.ep-modal-header h3 {
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
color: #42b983;
|
|
106
|
+
}
|
|
107
|
+
.ep-modal-body {
|
|
108
|
+
margin: 20px 0;
|
|
109
|
+
}
|
|
110
|
+
.ep-modal-default-button {
|
|
111
|
+
float: right;
|
|
112
|
+
}
|
|
113
|
+
.ep-modal-enter-from {
|
|
114
|
+
opacity: 0;
|
|
115
|
+
}
|
|
116
|
+
.ep-modal-leave-to {
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
.ep-modal-enter-from .ep-modal-container,
|
|
120
|
+
.ep-modal-leave-to .ep-modal-container {
|
|
121
|
+
transform: scale(1.1);
|
|
122
|
+
}
|
|
123
|
+
/*$vite$:1*/
|
|
124
|
+
|
|
125
|
+
.ep-accordeon-content[data-v-2a09fe07] {
|
|
126
|
+
max-height: 0;
|
|
127
|
+
overflow: hidden;
|
|
128
|
+
}
|
|
129
|
+
/*$vite$:1*/
|
|
130
|
+
|
|
131
|
+
.ep-content-timeline-item[data-v-138944a6] {
|
|
132
|
+
max-height: 0;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
}
|
|
135
|
+
/*$vite$:1*/
|
|
136
|
+
|
|
137
|
+
.ep-display-box[data-v-4e1d2bd1] {
|
|
138
|
+
z-index: 9999;
|
|
139
|
+
position: absolute;
|
|
140
|
+
right: 12rem;
|
|
141
|
+
}
|
|
142
|
+
/*$vite$:1*/
|
|
143
|
+
|
|
144
|
+
.ep-sensible-content[data-v-b3ee44a0] {
|
|
145
|
+
position: relative;
|
|
146
|
+
}
|
|
147
|
+
/*$vite$:1*/
|
package/dist/types/Accordeon.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
const typeAccordeon = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "
|
|
4
|
-
outlined: "
|
|
3
|
+
default: "bg-neutral text-white dark:text-black",
|
|
4
|
+
outlined: "text-black dark:text-white border-neutral border"
|
|
5
5
|
},
|
|
6
6
|
primary: {
|
|
7
|
-
default: "
|
|
8
|
-
outlined: "
|
|
7
|
+
default: "bg-primary text-white dark:text-black",
|
|
8
|
+
outlined: "text-primary border-primary border"
|
|
9
9
|
},
|
|
10
10
|
secondary: {
|
|
11
|
-
default: "
|
|
12
|
-
outlined: "
|
|
11
|
+
default: "bg-secondary text-white dark:text-black",
|
|
12
|
+
outlined: "text-secondary border-secondary border"
|
|
13
13
|
},
|
|
14
14
|
warning: {
|
|
15
|
-
default: "
|
|
16
|
-
outlined: "
|
|
15
|
+
default: "bg-warning text-white dark:text-black",
|
|
16
|
+
outlined: "text-warning border-warning border"
|
|
17
17
|
},
|
|
18
18
|
success: {
|
|
19
|
-
default: "
|
|
20
|
-
outlined: "
|
|
19
|
+
default: "bg-success text-white dark:text-black",
|
|
20
|
+
outlined: "text-success border-success border"
|
|
21
21
|
},
|
|
22
22
|
error: {
|
|
23
|
-
default: "
|
|
24
|
-
outlined: "
|
|
23
|
+
default: "bg-error text-white dark:text-black",
|
|
24
|
+
outlined: "text-error border-error border"
|
|
25
25
|
},
|
|
26
26
|
/* this types is only for ptsAlert */
|
|
27
27
|
info: {
|
|
28
|
-
default: "
|
|
29
|
-
outlined: "
|
|
28
|
+
default: "bg-info text-white dark:text-black",
|
|
29
|
+
outlined: "text-info border-info border"
|
|
30
30
|
},
|
|
31
31
|
question: {
|
|
32
|
-
default: "
|
|
33
|
-
outlined: "
|
|
32
|
+
default: "bg-question text-white dark:text-black",
|
|
33
|
+
outlined: "text-question border-question border"
|
|
34
34
|
},
|
|
35
35
|
/*NETTOYER DB*/
|
|
36
36
|
Question: {
|
|
37
|
-
default: "
|
|
38
|
-
outlined: "
|
|
37
|
+
default: "bg-question text-white dark:text-black",
|
|
38
|
+
outlined: "text-question border-question border"
|
|
39
39
|
},
|
|
40
40
|
tip: {
|
|
41
|
-
default: "
|
|
42
|
-
outlined: "
|
|
41
|
+
default: "bg-tip text-white dark:text-black",
|
|
42
|
+
outlined: "text-tip border-tip border"
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordeon.js","sources":["../../src/types/Accordeon.ts"],"sourcesContent":["export const typeAccordeon = {\n base:{\n default:'
|
|
1
|
+
{"version":3,"file":"Accordeon.js","sources":["../../src/types/Accordeon.ts"],"sourcesContent":["export const typeAccordeon = {\n base:{\n default:'bg-neutral text-white dark:text-black',\n outlined:'text-black dark:text-white border-neutral border'\n },\n primary:{\n default:'bg-primary text-white dark:text-black',\n outlined:'text-primary border-primary border'\n },\n secondary:{\n default:'bg-secondary text-white dark:text-black',\n outlined:'text-secondary border-secondary border'\n },\n warning:{\n default:'bg-warning text-white dark:text-black',\n outlined:'text-warning border-warning border'\n },\n success:{\n default:'bg-success text-white dark:text-black',\n outlined:'text-success border-success border'\n },\n error:{\n default:'bg-error text-white dark:text-black',\n outlined:'text-error border-error border'\n },\n /* this types is only for ptsAlert */\n info:{\n default:'bg-info text-white dark:text-black',\n outlined:'text-info border-info border'\n },\n question:{\n default:'bg-question text-white dark:text-black',\n outlined:'text-question border-question border'\n },\n /*NETTOYER DB*/\n Question:{\n default:'bg-question text-white dark:text-black',\n outlined:'text-question border-question border'\n },\n tip:{\n default:'bg-tip text-white dark:text-black',\n outlined:'text-tip border-tip border'\n },\n}\n\n\nexport type TypeAccordeon = keyof typeof typeAccordeon\n\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EACzB,MAAK;AAAA,IACD,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,SAAQ;AAAA,IACJ,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,WAAU;AAAA,IACN,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,SAAQ;AAAA,IACJ,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,SAAQ;AAAA,IACJ,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,OAAM;AAAA,IACF,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA;AAAA,EAGb,MAAK;AAAA,IACD,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,UAAS;AAAA,IACL,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA;AAAA,EAGb,UAAS;AAAA,IACL,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAAA,EAEb,KAAI;AAAA,IACA,SAAQ;AAAA,IACR,UAAS;AAAA,EAAA;AAEjB;"}
|
package/dist/types/Alert.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
const typeAlert = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "
|
|
4
|
-
outlined: "
|
|
3
|
+
default: "bg-neutral text-white dark:text-black",
|
|
4
|
+
outlined: "border-neutral border"
|
|
5
5
|
},
|
|
6
6
|
warning: {
|
|
7
|
-
default: "
|
|
8
|
-
outlined: "
|
|
7
|
+
default: "bg-warning text-white dark:text-black",
|
|
8
|
+
outlined: "border-warning border text-warning"
|
|
9
9
|
},
|
|
10
10
|
success: {
|
|
11
|
-
default: "
|
|
12
|
-
outlined: "
|
|
11
|
+
default: "bg-success text-white dark:text-black",
|
|
12
|
+
outlined: "border-success border text-success"
|
|
13
13
|
},
|
|
14
14
|
error: {
|
|
15
|
-
default: "
|
|
16
|
-
outlined: "
|
|
15
|
+
default: "bg-error text-white dark:text-black",
|
|
16
|
+
outlined: "border-error border text-error"
|
|
17
17
|
},
|
|
18
18
|
/* this types is only for ptsAlert */
|
|
19
19
|
info: {
|
|
20
|
-
default: "
|
|
21
|
-
outlined: "
|
|
20
|
+
default: "bg-info text-white dark:text-black",
|
|
21
|
+
outlined: "border-info border text-info"
|
|
22
22
|
},
|
|
23
23
|
question: {
|
|
24
|
-
default: "
|
|
25
|
-
outlined: "
|
|
24
|
+
default: "bg-question text-white dark:text-black",
|
|
25
|
+
outlined: "border-question border text-question"
|
|
26
26
|
},
|
|
27
27
|
/* TO CLEAN IN STRAPI */
|
|
28
28
|
Question: {
|
|
29
|
-
default: "
|
|
30
|
-
outlined: "
|
|
29
|
+
default: "bg-question text-white dark:text-black",
|
|
30
|
+
outlined: "border-question border text-question"
|
|
31
31
|
},
|
|
32
32
|
tip: {
|
|
33
|
-
default: "
|
|
34
|
-
outlined: "
|
|
33
|
+
default: "bg-tip text-white dark:text-black",
|
|
34
|
+
outlined: "border-tip border text-tip"
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
const typeDivider = {
|
|
38
38
|
base: {
|
|
39
|
-
default: "
|
|
40
|
-
outlined: "
|
|
39
|
+
default: "border dark:border-surface-dark",
|
|
40
|
+
outlined: "border-neutral"
|
|
41
41
|
},
|
|
42
42
|
warning: {
|
|
43
|
-
default: "
|
|
44
|
-
outlined: "
|
|
43
|
+
default: "border dark:border-surface-dark",
|
|
44
|
+
outlined: "border-warning"
|
|
45
45
|
},
|
|
46
46
|
success: {
|
|
47
|
-
default: "
|
|
48
|
-
outlined: "
|
|
47
|
+
default: "border dark:border-surface-dark",
|
|
48
|
+
outlined: "border-success"
|
|
49
49
|
},
|
|
50
50
|
error: {
|
|
51
|
-
default: "
|
|
52
|
-
outlined: "
|
|
51
|
+
default: "border dark:border-surface-dark",
|
|
52
|
+
outlined: "border-error"
|
|
53
53
|
},
|
|
54
54
|
/* this types is only for ptsAlert */
|
|
55
55
|
info: {
|
|
56
|
-
default: "
|
|
57
|
-
outlined: "
|
|
56
|
+
default: "border dark:border-surface-dark",
|
|
57
|
+
outlined: "border-info"
|
|
58
58
|
},
|
|
59
59
|
question: {
|
|
60
|
-
default: "
|
|
61
|
-
outlined: "
|
|
60
|
+
default: "border dark:border-surface-dark",
|
|
61
|
+
outlined: "border-question"
|
|
62
62
|
},
|
|
63
63
|
/* TO CLEAN IN STRAPI */
|
|
64
64
|
Question: {
|
|
65
|
-
default: "
|
|
66
|
-
outlined: "
|
|
65
|
+
default: "border dark:border-surface-dark",
|
|
66
|
+
outlined: "border-question"
|
|
67
67
|
},
|
|
68
68
|
tip: {
|
|
69
|
-
default: "
|
|
70
|
-
outlined: "
|
|
69
|
+
default: "border dark:border-surface-dark",
|
|
70
|
+
outlined: "border-tip"
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
export {
|
package/dist/types/Alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../src/types/Alert.ts"],"sourcesContent":["export const typeAlert = {\n base: {\n default: '
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../src/types/Alert.ts"],"sourcesContent":["export const typeAlert = {\n base: {\n default: 'bg-neutral text-white dark:text-black',\n outlined: 'border-neutral border'\n },\n warning: {\n default: 'bg-warning text-white dark:text-black',\n outlined: 'border-warning border text-warning'\n },\n success: {\n default: 'bg-success text-white dark:text-black',\n outlined: 'border-success border text-success'\n },\n error: {\n default: 'bg-error text-white dark:text-black',\n outlined: 'border-error border text-error'\n },\n /* this types is only for ptsAlert */\n info: {\n default: 'bg-info text-white dark:text-black',\n outlined: 'border-info border text-info'\n },\n question: {\n default: 'bg-question text-white dark:text-black',\n outlined: 'border-question border text-question'\n },\n /* TO CLEAN IN STRAPI */\n Question: {\n default: 'bg-question text-white dark:text-black',\n outlined: 'border-question border text-question'\n },\n tip: {\n default: 'bg-tip text-white dark:text-black',\n outlined: 'border-tip border text-tip'\n },\n}\n\nexport type TypeAlert = keyof typeof typeAlert\n\n\nexport const typeDivider = {\n base: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-neutral'\n },\n warning: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-warning'\n },\n success: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-success'\n },\n error: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-error'\n },\n /* this types is only for ptsAlert */\n info: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-info'\n },\n question: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-question'\n },\n /* TO CLEAN IN STRAPI */\n Question: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-question'\n },\n tip: {\n default: 'border dark:border-surface-dark',\n outlined: 'border-tip'\n },\n}\n\n\n"],"names":[],"mappings":"AAAO,MAAM,YAAY;AAAA,EACrB,MAAM;AAAA,IACF,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,SAAS;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,SAAS;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,OAAO;AAAA,IACH,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA;AAAA,EAGd,MAAM;AAAA,IACF,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,UAAU;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA;AAAA,EAGd,UAAU;AAAA,IACP,SAAS;AAAA,IACR,UAAU;AAAA,EAAA;AAAA,EAEd,KAAK;AAAA,IACD,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAElB;AAKO,MAAM,cAAc;AAAA,EACvB,MAAM;AAAA,IACF,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,SAAS;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,SAAS;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,OAAO;AAAA,IACH,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA;AAAA,EAGd,MAAM;AAAA,IACF,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,UAAU;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA;AAAA,EAGd,UAAU;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEd,KAAK;AAAA,IACD,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAElB;"}
|
package/dist/types/Btn.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
const bgVariants = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "
|
|
4
|
-
outlined: "ring-1
|
|
5
|
-
text: "uppercase
|
|
3
|
+
default: "bg-neutral hover:bg-neutral-800 dark:text-black text-white",
|
|
4
|
+
outlined: "ring-1 ring-inset ring-neutral hover:border-neutral bg-transparent hover:bg-neutral-400 hover:text-white dark:hover:text-black",
|
|
5
|
+
text: "uppercase text-neutral-800 border border-transparent dark:text-neutral-300 hover:border-neutral"
|
|
6
6
|
},
|
|
7
7
|
primary: {
|
|
8
|
-
default: "
|
|
9
|
-
outlined: "ring-1
|
|
10
|
-
text: "uppercase
|
|
8
|
+
default: "bg-primary hover:bg-primary-800 dark:text-black text-white",
|
|
9
|
+
outlined: "ring-1 ring-inset ring-primary text-primary hover:border-primary bg-transparent hover:bg-primary-400 hover:text-white dark:hover:text-black",
|
|
10
|
+
text: "uppercase text-primary border border-transparent hover:border-primary"
|
|
11
11
|
},
|
|
12
12
|
secondary: {
|
|
13
|
-
default: "
|
|
14
|
-
outlined: "ring-1
|
|
15
|
-
text: "uppercase
|
|
13
|
+
default: "bg-secondary hover:bg-secondary-800 dark:text-black text-white",
|
|
14
|
+
outlined: "ring-1 ring-inset ring-secondary text-secondary hover:border-secondary bg-transparent hover:bg-secondary-400 hover:text-white dark:hover:text-black",
|
|
15
|
+
text: "uppercase text-secondary border border-transparent hover:border-secondary"
|
|
16
16
|
},
|
|
17
17
|
info: {
|
|
18
|
-
default: "
|
|
19
|
-
outlined: "ring-1
|
|
20
|
-
text: "uppercase
|
|
18
|
+
default: "bg-info hover:bg-info-800 dark:text-black text-white",
|
|
19
|
+
outlined: "ring-1 ring-inset ring-info text-info hover:border-info bg-transparent hover:bg-info-400 hover:text-white dark:hover:text-black",
|
|
20
|
+
text: "uppercase text-info border border-transparent hover:border-info"
|
|
21
21
|
},
|
|
22
22
|
warning: {
|
|
23
|
-
default: "
|
|
24
|
-
outlined: "ring-1
|
|
25
|
-
text: "uppercase
|
|
23
|
+
default: "bg-warning hover:bg-warning-800 dark:text-black text-white",
|
|
24
|
+
outlined: "ring-1 ring-inset ring-warning text-warning hover:border-warning bg-transparent hover:bg-warning-400 hover:text-white dark:hover:text-black",
|
|
25
|
+
text: "uppercase text-warning border border-transparent hover:border-warning"
|
|
26
26
|
},
|
|
27
27
|
success: {
|
|
28
|
-
default: "
|
|
29
|
-
outlined: "ring-1
|
|
30
|
-
text: "uppercase
|
|
28
|
+
default: "bg-success hover:bg-success-800 dark:text-black text-white",
|
|
29
|
+
outlined: "ring-1 ring-inset ring-success text-success hover:border-success bg-transparent hover:bg-success-400 hover:text-white dark:hover:text-black",
|
|
30
|
+
text: "uppercase text-success border border-transparent hover:border-success"
|
|
31
31
|
},
|
|
32
32
|
error: {
|
|
33
|
-
default: "
|
|
34
|
-
outlined: "ring-1
|
|
35
|
-
text: "uppercase
|
|
33
|
+
default: "bg-error hover:bg-error-800 dark:text-black text-white",
|
|
34
|
+
outlined: "ring-1 ring-inset ring-error text-error hover:border-error bg-transparent hover:bg-error-400 hover:text-white dark:hover:text-black",
|
|
35
|
+
text: "uppercase text-error border border-transparent hover:border-error"
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
const sizeVariants = {
|
package/dist/types/Btn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Btn.js","sources":["../../src/types/Btn.ts"],"sourcesContent":["export const bgVariants = {\n base: {\n default: '
|
|
1
|
+
{"version":3,"file":"Btn.js","sources":["../../src/types/Btn.ts"],"sourcesContent":["export const bgVariants = {\n base: {\n default: 'bg-neutral hover:bg-neutral-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-neutral hover:border-neutral bg-transparent hover:bg-neutral-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-neutral-800 border border-transparent dark:text-neutral-300 hover:border-neutral'\n },\n primary: {\n default: 'bg-primary hover:bg-primary-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-primary text-primary hover:border-primary bg-transparent hover:bg-primary-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-primary border border-transparent hover:border-primary'\n },\n secondary: {\n default: 'bg-secondary hover:bg-secondary-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-secondary text-secondary hover:border-secondary bg-transparent hover:bg-secondary-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-secondary border border-transparent hover:border-secondary'\n },\n info: {\n default: 'bg-info hover:bg-info-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-info text-info hover:border-info bg-transparent hover:bg-info-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-info border border-transparent hover:border-info'\n },\n warning: {\n default: 'bg-warning hover:bg-warning-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-warning text-warning hover:border-warning bg-transparent hover:bg-warning-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-warning border border-transparent hover:border-warning'\n },\n success: {\n default: 'bg-success hover:bg-success-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-success text-success hover:border-success bg-transparent hover:bg-success-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-success border border-transparent hover:border-success'\n },\n error: {\n default: 'bg-error hover:bg-error-800 dark:text-black text-white',\n outlined: 'ring-1 ring-inset ring-error text-error hover:border-error bg-transparent hover:bg-error-400 hover:text-white dark:hover:text-black',\n text: 'uppercase text-error border border-transparent hover:border-error'\n },\n}\n\nexport const sizeVariants = {\n small:'px-2 py-1 text-sm',\n medium:'px-4 py-2',\n large:'px-8 py-4 text-lg',\n}\n\nexport type ButtonBgVariant = keyof typeof bgVariants\n//export type ButtonOutlinedVariants = keyof typeof outlinedVariants\nexport type ButtonSize = keyof typeof sizeVariants"],"names":[],"mappings":"AAAO,MAAM,aAAa;AAAA,EACxB,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,WAAW;AAAA,IACT,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAAA,EAER,OAAO;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,IACV,MAAM;AAAA,EAAA;AAEV;AAEO,MAAM,eAAe;AAAA,EACxB,OAAM;AAAA,EACN,QAAO;AAAA,EACP,OAAM;AACV;"}
|
package/dist/types/Chip.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
const chipVariants = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "
|
|
4
|
-
outlined: "ring-1
|
|
3
|
+
default: "bg-neutral text-white dark:text-black",
|
|
4
|
+
outlined: "ring-1 ring-neutral ring-inset bg-transparent text-neutral"
|
|
5
5
|
},
|
|
6
6
|
primary: {
|
|
7
|
-
default: "
|
|
8
|
-
outlined: "ring-1
|
|
7
|
+
default: "bg-primary text-white dark:text-black",
|
|
8
|
+
outlined: "ring-1 ring-primary ring-inset bg-transparent text-primary"
|
|
9
9
|
},
|
|
10
10
|
secondary: {
|
|
11
|
-
default: "
|
|
12
|
-
outlined: "ring-1
|
|
11
|
+
default: "bg-secondary text-white dark:text-black",
|
|
12
|
+
outlined: "ring-1 ring-secondary ring-inset bg-transparent text-secondary"
|
|
13
13
|
},
|
|
14
14
|
info: {
|
|
15
|
-
default: "
|
|
16
|
-
outlined: "ring-1
|
|
15
|
+
default: "bg-info text-white dark:text-black",
|
|
16
|
+
outlined: "ring-1 ring-info ring-inset bg-transparent text-info"
|
|
17
17
|
},
|
|
18
18
|
warning: {
|
|
19
|
-
default: "
|
|
20
|
-
outlined: "ring-1
|
|
19
|
+
default: "bg-warning text-white dark:text-black",
|
|
20
|
+
outlined: "ring-1 ring-warning ring-inset bg-transparent text-warning"
|
|
21
21
|
},
|
|
22
22
|
success: {
|
|
23
|
-
default: "
|
|
24
|
-
outlined: "ring-1
|
|
23
|
+
default: "bg-success text-white dark:text-black",
|
|
24
|
+
outlined: "ring-1 ring-success ring-inset bg-transparent text-success"
|
|
25
25
|
},
|
|
26
26
|
error: {
|
|
27
|
-
default: "
|
|
28
|
-
outlined: "ring-1
|
|
27
|
+
default: "bg-error text-white dark:text-black",
|
|
28
|
+
outlined: "ring-1 ring-error ring-inset bg-transparent text-error"
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
const sizeChipVariants = {
|
package/dist/types/Chip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.js","sources":["../../src/types/Chip.ts"],"sourcesContent":["export const chipVariants = {\n base: {\n default: '
|
|
1
|
+
{"version":3,"file":"Chip.js","sources":["../../src/types/Chip.ts"],"sourcesContent":["export const chipVariants = {\n base: {\n default: 'bg-neutral text-white dark:text-black',\n outlined: 'ring-1 ring-neutral ring-inset bg-transparent text-neutral',\n },\n primary: {\n default: 'bg-primary text-white dark:text-black',\n outlined: 'ring-1 ring-primary ring-inset bg-transparent text-primary',\n },\n secondary: {\n default: 'bg-secondary text-white dark:text-black',\n outlined: 'ring-1 ring-secondary ring-inset bg-transparent text-secondary',\n },\n info: {\n default: 'bg-info text-white dark:text-black',\n outlined: 'ring-1 ring-info ring-inset bg-transparent text-info',\n },\n warning: {\n default: 'bg-warning text-white dark:text-black',\n outlined: 'ring-1 ring-warning ring-inset bg-transparent text-warning',\n },\n success: {\n default: 'bg-success text-white dark:text-black',\n outlined: 'ring-1 ring-success ring-inset bg-transparent text-success',\n },\n error: {\n default: 'bg-error text-white dark:text-black',\n outlined: 'ring-1 ring-error ring-inset bg-transparent text-error',\n },\n}\n\nexport const sizeChipVariants = {\n small:'px-2 py-1 text-xs',\n medium:'py-2 px-3 text-sm',\n large:'px-3 py-3 text-lg',\n}\n\nexport type ChipBgVariant = keyof typeof chipVariants\n//export type ChipOutlinedVariants = keyof typeof outlineChipVariants\nexport type ChipSize = keyof typeof sizeChipVariants"],"names":[],"mappings":"AAAO,MAAM,eAAe;AAAA,EAC1B,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,WAAW;AAAA,IACT,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,SAAS;AAAA,IACP,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAAA,EAEZ,OAAO;AAAA,IACL,SAAS;AAAA,IACT,UAAU;AAAA,EAAA;AAEd;AAEO,MAAM,mBAAmB;AAAA,EAC5B,OAAM;AAAA,EACN,QAAO;AAAA,EACP,OAAM;AACV;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep-lib-ts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": ["dist"],
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
"./entry/*": {
|
|
15
15
|
"types": "./dist/entry/*.d.ts",
|
|
16
16
|
"import": "./dist/entry/*.js"
|
|
17
|
-
}
|
|
18
|
-
"./styles.css": "./dist/styles.css"
|
|
17
|
+
}
|
|
19
18
|
},
|
|
20
|
-
"sideEffects": ["dist/styles.css"],
|
|
21
19
|
"typesVersions": {
|
|
22
20
|
"*": {
|
|
23
21
|
"entry/*": ["dist/entry/*"]
|