ep-lib-ts 1.0.64 → 1.0.66
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/EpCard.vue.js +29 -40
- package/dist/components/basics/EpCard.vue.js.map +1 -1
- package/dist/components/basics/EpDivider.vue.js +1 -1
- package/dist/components/basics/EpDivider.vue.js.map +1 -1
- package/dist/components/basics/EpHoverCard.vue.js +13 -30
- package/dist/components/basics/EpHoverCard.vue.js.map +1 -1
- package/dist/components/basics/EpImg.vue.js +5 -3
- package/dist/components/basics/EpImg.vue.js.map +1 -1
- package/dist/components/basics/EpStackedList.vue.js +2 -2
- package/dist/components/basics/EpStackedList.vue.js.map +1 -1
- package/dist/components/basics/EpTable.vue.js +4 -4
- 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 +10 -6
- package/dist/components/educationals/EpEdu.vue.js.map +1 -1
- package/dist/components/educationals/EpObjective.vue.js +3 -3
- package/dist/components/educationals/EpObjective.vue.js.map +1 -1
- package/dist/components/educationals/EpReading.vue.js +36 -28
- 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 +7 -8
- package/dist/components/educationals/EpSpecificObjective.vue.js.map +1 -1
- package/dist/components/forms/EpRadioSummative.vue2.js +1 -1
- package/dist/components/forms/EpRadioSummative.vue2.js.map +1 -1
- package/dist/components/interactions/EpAccordeon.vue.js +1 -1
- package/dist/components/interactions/EpAccordeon.vue2.js +2 -1
- package/dist/components/interactions/EpAccordeon.vue2.js.map +1 -1
- package/dist/components/interactions/EpContentSlider.vue.js +4 -4
- 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 +2 -2
- package/dist/components/interactions/EpSummativeTable.vue.js.map +1 -1
- package/dist/components/medias/EpAudio.vue.js +1 -1
- package/dist/components/medias/EpHierarchy.vue.js +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 +4 -4
- package/dist/components/medias/EpTerm.vue.js.map +1 -1
- package/dist/components/medias/EpWordDef.vue.js +6 -6
- package/dist/components/medias/EpWordDef.vue.js.map +1 -1
- package/dist/components/signages/EpAlert.vue.js +1 -1
- package/dist/components/signages/EpAlert.vue2.js.map +1 -1
- package/dist/components/signages/EpHeader.vue.js +6 -6
- package/dist/components/signages/EpHeader.vue.js.map +1 -1
- package/dist/components/signages/EpQuote.vue.js +4 -4
- package/dist/components/signages/EpQuote.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 +55 -1
- package/dist/components/tools/Details.vue.js.map +1 -1
- package/dist/components/tools/Details.vue2.js +1 -56
- package/dist/components/tools/Details.vue2.js.map +1 -1
- package/dist/components/tools/DisplayBox.vue.js +3 -1
- package/dist/components/tools/DisplayBox.vue.js.map +1 -1
- package/dist/components/tools/DisplayBox.vue2.js +2 -2
- package/dist/components/tools/DisplayBox.vue2.js.map +1 -1
- package/dist/components/tools/TextMedia.vue.js +49 -1
- package/dist/components/tools/TextMedia.vue.js.map +1 -1
- package/dist/components/tools/TextMedia.vue2.js +1 -49
- package/dist/components/tools/TextMedia.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/styles.css +192 -124
- package/dist/types/Accordeon.d.ts +0 -4
- package/dist/types/Accordeon.js +20 -24
- 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.d.ts +0 -5
- package/dist/types/Btn.js +21 -26
- package/dist/types/Btn.js.map +1 -1
- package/dist/types/Chip.d.ts +0 -4
- package/dist/types/Chip.js +14 -18
- package/dist/types/Chip.js.map +1 -1
- package/dist/types/Colors.d.ts +1 -1
- package/dist/types/Hover.d.ts +1 -1
- package/dist/types/Medias.d.ts +0 -1
- package/dist/types/Medias.js +0 -1
- package/dist/types/Medias.js.map +1 -1
- package/dist/types/Radio.d.ts +0 -1
- package/dist/types/Radio.js +0 -1
- package/dist/types/Radio.js.map +1 -1
- package/dist/types/StackedList.d.ts +1 -1
- package/dist/types/StackedList.js.map +1 -1
- package/dist/types/Switch.d.ts +0 -1
- package/dist/types/Switch.js +0 -1
- package/dist/types/Switch.js.map +1 -1
- package/dist/types/basics/EpCard.d.ts +3 -1
- package/dist/types/educationals/EpEdu.d.ts +1 -0
- package/dist/types/signages/EpBadge.d.ts +0 -1
- package/package.json +1 -1
package/dist/types/Alert.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
const typeAlert = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "bg-
|
|
4
|
-
outlined: "
|
|
3
|
+
default: "ep-bg-neutral ep-btn-text-neutral",
|
|
4
|
+
outlined: "ep-border-neutral border"
|
|
5
5
|
},
|
|
6
6
|
warning: {
|
|
7
|
-
default: "bg-warning
|
|
8
|
-
outlined: "
|
|
7
|
+
default: "ep-bg-warning ep-btn-text-warning",
|
|
8
|
+
outlined: "ep-border-warning border ep-text-warning"
|
|
9
9
|
},
|
|
10
10
|
success: {
|
|
11
|
-
default: "bg-success
|
|
12
|
-
outlined: "
|
|
11
|
+
default: "ep-bg-success ep-btn-text-success",
|
|
12
|
+
outlined: "ep-border-success border ep-text-success"
|
|
13
13
|
},
|
|
14
14
|
error: {
|
|
15
|
-
default: "bg-error
|
|
16
|
-
outlined: "
|
|
15
|
+
default: "ep-bg-error ep-btn-text-error",
|
|
16
|
+
outlined: "ep-border-error border ep-text-error"
|
|
17
17
|
},
|
|
18
18
|
/* this types is only for ptsAlert */
|
|
19
19
|
info: {
|
|
20
|
-
default: "bg-info
|
|
21
|
-
outlined: "
|
|
20
|
+
default: "ep-bg-info ep-btn-text-info",
|
|
21
|
+
outlined: "ep-border-info border ep-text-info"
|
|
22
22
|
},
|
|
23
23
|
question: {
|
|
24
|
-
default: "bg-question
|
|
25
|
-
outlined: "
|
|
24
|
+
default: "ep-bg-question ep-btn-text-question",
|
|
25
|
+
outlined: "ep-border-question border ep-text-question"
|
|
26
26
|
},
|
|
27
27
|
/* TO CLEAN IN STRAPI */
|
|
28
28
|
Question: {
|
|
29
|
-
default: "bg-question
|
|
30
|
-
outlined: "
|
|
29
|
+
default: "ep-bg-question ep-btn-text-question",
|
|
30
|
+
outlined: "ep-border-question border ep-text-question"
|
|
31
31
|
},
|
|
32
32
|
tip: {
|
|
33
|
-
default: "bg-tip
|
|
34
|
-
outlined: "
|
|
33
|
+
default: "ep-bg-tip ep-btn-text-tip",
|
|
34
|
+
outlined: "ep-border-tip border ep-text-tip"
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
const typeDivider = {
|
|
38
38
|
base: {
|
|
39
|
-
default: "
|
|
40
|
-
outlined: "
|
|
39
|
+
default: "ep-border",
|
|
40
|
+
outlined: "ep-border-neutral"
|
|
41
41
|
},
|
|
42
42
|
warning: {
|
|
43
|
-
default: "
|
|
44
|
-
outlined: "
|
|
43
|
+
default: "ep-border",
|
|
44
|
+
outlined: "ep-border-warning"
|
|
45
45
|
},
|
|
46
46
|
success: {
|
|
47
|
-
default: "
|
|
48
|
-
outlined: "
|
|
47
|
+
default: "ep-border",
|
|
48
|
+
outlined: "ep-border-success"
|
|
49
49
|
},
|
|
50
50
|
error: {
|
|
51
|
-
default: "
|
|
52
|
-
outlined: "
|
|
51
|
+
default: "ep-border",
|
|
52
|
+
outlined: "ep-border-error"
|
|
53
53
|
},
|
|
54
54
|
/* this types is only for ptsAlert */
|
|
55
55
|
info: {
|
|
56
|
-
default: "
|
|
57
|
-
outlined: "
|
|
56
|
+
default: "ep-border",
|
|
57
|
+
outlined: "ep-border-info"
|
|
58
58
|
},
|
|
59
59
|
question: {
|
|
60
|
-
default: "
|
|
61
|
-
outlined: "
|
|
60
|
+
default: "ep-border",
|
|
61
|
+
outlined: "ep-border-question"
|
|
62
62
|
},
|
|
63
63
|
/* TO CLEAN IN STRAPI */
|
|
64
64
|
Question: {
|
|
65
|
-
default: "
|
|
66
|
-
outlined: "
|
|
65
|
+
default: "ep-border",
|
|
66
|
+
outlined: "ep-border-question"
|
|
67
67
|
},
|
|
68
68
|
tip: {
|
|
69
|
-
default: "
|
|
70
|
-
outlined: "
|
|
69
|
+
default: "ep-border",
|
|
70
|
+
outlined: "ep-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: 'bg-
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../src/types/Alert.ts"],"sourcesContent":["export const typeAlert = {\n base: {\n default: 'ep-bg-neutral ep-btn-text-neutral',\n outlined: 'ep-border-neutral border'\n },\n warning: {\n default: 'ep-bg-warning ep-btn-text-warning',\n outlined: 'ep-border-warning border ep-text-warning'\n },\n success: {\n default: 'ep-bg-success ep-btn-text-success',\n outlined: 'ep-border-success border ep-text-success'\n },\n error: {\n default: 'ep-bg-error ep-btn-text-error',\n outlined: 'ep-border-error border ep-text-error'\n },\n /* this types is only for ptsAlert */\n info: {\n default: 'ep-bg-info ep-btn-text-info',\n outlined: 'ep-border-info border ep-text-info'\n },\n question: {\n default: 'ep-bg-question ep-btn-text-question',\n outlined: 'ep-border-question border ep-text-question'\n },\n /* TO CLEAN IN STRAPI */\n Question: {\n default: 'ep-bg-question ep-btn-text-question',\n outlined: 'ep-border-question border ep-text-question'\n },\n tip: {\n default: 'ep-bg-tip ep-btn-text-tip',\n outlined: 'ep-border-tip border ep-text-tip'\n },\n}\n\nexport type TypeAlert = keyof typeof typeAlert\n\n\nexport const typeDivider = {\n base: {\n default: 'ep-border',\n outlined: 'ep-border-neutral'\n },\n warning: {\n default: 'ep-border',\n outlined: 'ep-border-warning'\n },\n success: {\n default: 'ep-border',\n outlined: 'ep-border-success'\n },\n error: {\n default: 'ep-border',\n outlined: 'ep-border-error'\n },\n /* this types is only for ptsAlert */\n info: {\n default: 'ep-border',\n outlined: 'ep-border-info'\n },\n question: {\n default: 'ep-border',\n outlined: 'ep-border-question'\n },\n /* TO CLEAN IN STRAPI */\n Question: {\n default: 'ep-border',\n outlined: 'ep-border-question'\n },\n tip: {\n default: 'ep-border',\n outlined: 'ep-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.d.ts
CHANGED
package/dist/types/Btn.js
CHANGED
|
@@ -1,43 +1,38 @@
|
|
|
1
1
|
const bgVariants = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "ep-bg-neutral ep-hover-bg-neutral",
|
|
4
|
-
outlined: "ring-1 ep-ring-neutral ring-inset bg-transparent ep-hover-bg-neutral",
|
|
5
|
-
text: "uppercase ep-hover-bg-neutral border border-transparent"
|
|
3
|
+
default: "ep-bg-neutral ep-hover-bg-neutral ep-btn-text-neutral ep-hover-btn-text-neutral",
|
|
4
|
+
outlined: "ring-1 ep-ring-neutral ring-inset bg-transparent ep-hover-bg-neutral ep-btn-text-neutral-outline ep-hover-btn-text-neutral-outline",
|
|
5
|
+
text: "uppercase ep-hover-bg-neutral border border-transparent ep-hover-btn-text-neutral-outline"
|
|
6
6
|
},
|
|
7
7
|
primary: {
|
|
8
|
-
default: "ep-bg-primary ep-hover-bg-primary",
|
|
9
|
-
outlined: "ring-1 ep-ring-primary ring-inset bg-transparent ep-hover-bg-primary",
|
|
10
|
-
text: "uppercase ep-hover-bg-primary border border-transparent"
|
|
8
|
+
default: "ep-bg-primary ep-hover-bg-primary ep-btn-text-primary ep-hover-btn-text-primary",
|
|
9
|
+
outlined: "ring-1 ep-ring-primary ring-inset bg-transparent ep-hover-bg-primary ep-btn-text-primary-outline ep-hover-btn-text-primary-outline",
|
|
10
|
+
text: "uppercase ep-hover-bg-primary ep-text-primary-light border border-transparent ep-hover-btn-text-primary-outline"
|
|
11
11
|
},
|
|
12
12
|
secondary: {
|
|
13
|
-
default: "ep-bg-secondary ep-hover-bg-secondary",
|
|
14
|
-
outlined: "ring-1 ep-ring-secondary ring-inset bg-transparent ep-hover-bg-secondary",
|
|
15
|
-
text: "uppercase ep-hover-bg-secondary border border-transparent"
|
|
16
|
-
},
|
|
17
|
-
accent: {
|
|
18
|
-
default: "ep-bg-accent ep-hover-bg-accent",
|
|
19
|
-
outlined: "ring-1 ep-ring-accent ring-inset bg-transparent ep-hover-bg-accent",
|
|
20
|
-
text: "uppercase ep-hover-bg-accent border border-transparent"
|
|
13
|
+
default: "ep-bg-secondary ep-hover-bg-secondary ep-btn-text-secondary ep-hover-btn-text-secondary",
|
|
14
|
+
outlined: "ring-1 ep-ring-secondary ring-inset bg-transparent ep-hover-bg-secondary ep-btn-text-secondary-outline ep-hover-btn-text-secondary-outline",
|
|
15
|
+
text: "uppercase ep-hover-bg-secondary ep-text-secondary border border-transparent ep-hover-btn-text-secondary-outline"
|
|
21
16
|
},
|
|
22
17
|
info: {
|
|
23
|
-
default: "ep-bg-info ep-hover-bg-info",
|
|
24
|
-
outlined: "ring-1 ep-ring-info ring-inset bg-transparent ep-hover-bg-info",
|
|
25
|
-
text: "uppercase ep-hover-bg-info border border-transparent"
|
|
18
|
+
default: "ep-bg-info ep-hover-bg-info ep-btn-text-info ep-hover-btn-text-info",
|
|
19
|
+
outlined: "ring-1 ep-ring-info ring-inset bg-transparent ep-hover-bg-info ep-btn-text-info-outline ep-hover-btn-text-info-outline",
|
|
20
|
+
text: "uppercase ep-hover-bg-info ep-text-info border border-transparent ep-hover-btn-text-info-outline"
|
|
26
21
|
},
|
|
27
22
|
warning: {
|
|
28
|
-
default: "ep-bg-warning ep-hover-bg-warning",
|
|
29
|
-
outlined: "ring-1 ep-ring-warning ring-inset bg-transparent ep-hover-bg-warning",
|
|
30
|
-
text: "uppercase ep-hover-bg-warning border border-transparent"
|
|
23
|
+
default: "ep-bg-warning ep-hover-bg-warning ep-btn-text-warning ep-hover-btn-text-warning",
|
|
24
|
+
outlined: "ring-1 ep-ring-warning ring-inset bg-transparent ep-hover-bg-warning ep-btn-text-warning-outline ep-hover-btn-text-warning-outline",
|
|
25
|
+
text: "uppercase ep-hover-bg-warning ep-text-warning border border-transparent ep-hover-btn-text-warning-outline"
|
|
31
26
|
},
|
|
32
27
|
success: {
|
|
33
|
-
default: "ep-bg-success ep-hover-bg-success",
|
|
34
|
-
outlined: "ring-1 ep-ring-success ring-inset bg-transparent ep-hover-bg-success",
|
|
35
|
-
text: "uppercase ep-hover-bg-success border border-transparent"
|
|
28
|
+
default: "ep-bg-success ep-hover-bg-success ep-btn-text-success ep-hover-btn-text-success",
|
|
29
|
+
outlined: "ring-1 ep-ring-success ring-inset bg-transparent ep-hover-bg-success ep-btn-text-success-outline ep-hover-btn-text-success-outline",
|
|
30
|
+
text: "uppercase ep-hover-bg-success ep-text-success border border-transparent ep-hover-btn-text-success-outline"
|
|
36
31
|
},
|
|
37
32
|
error: {
|
|
38
|
-
default: "ep-bg-error ep-hover-bg-error",
|
|
39
|
-
outlined: "ring-1 ep-ring-error ring-inset bg-transparent ep-hover-bg-error",
|
|
40
|
-
text: "uppercase ep-hover-bg-error border border-transparent"
|
|
33
|
+
default: "ep-bg-error ep-hover-bg-error ep-btn-text-error ep-hover-btn-text-error",
|
|
34
|
+
outlined: "ring-1 ep-ring-error ring-inset bg-transparent ep-hover-bg-error ep-btn-text-error-outline ep-hover-btn-text-error-outline",
|
|
35
|
+
text: "uppercase ep-hover-bg-error ep-text-error border border-transparent ep-hover-btn-text-error-outline"
|
|
41
36
|
}
|
|
42
37
|
};
|
|
43
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: 'ep-bg-neutral ep-hover-bg-neutral',\n outlined: 'ring-1 ep-ring-neutral ring-inset bg-transparent ep-hover-bg-neutral',\n text: 'uppercase ep-hover-bg-neutral border border-transparent',\n },\n primary: {\n default: 'ep-bg-primary ep-hover-bg-primary',\n outlined: 'ring-1 ep-ring-primary ring-inset bg-transparent ep-hover-bg-primary',\n text: 'uppercase ep-hover-bg-primary border border-transparent',\n },\n secondary: {\n default: 'ep-bg-secondary ep-hover-bg-secondary',\n outlined: 'ring-1 ep-ring-secondary ring-inset bg-transparent ep-hover-bg-secondary
|
|
1
|
+
{"version":3,"file":"Btn.js","sources":["../../src/types/Btn.ts"],"sourcesContent":["export const bgVariants = {\n base: {\n default: 'ep-bg-neutral ep-hover-bg-neutral ep-btn-text-neutral ep-hover-btn-text-neutral',\n outlined: 'ring-1 ep-ring-neutral ring-inset bg-transparent ep-hover-bg-neutral ep-btn-text-neutral-outline ep-hover-btn-text-neutral-outline',\n text: 'uppercase ep-hover-bg-neutral border border-transparent ep-hover-btn-text-neutral-outline',\n },\n primary: {\n default: 'ep-bg-primary ep-hover-bg-primary ep-btn-text-primary ep-hover-btn-text-primary',\n outlined: 'ring-1 ep-ring-primary ring-inset bg-transparent ep-hover-bg-primary ep-btn-text-primary-outline ep-hover-btn-text-primary-outline',\n text: 'uppercase ep-hover-bg-primary ep-text-primary-light border border-transparent ep-hover-btn-text-primary-outline',\n },\n secondary: {\n default: 'ep-bg-secondary ep-hover-bg-secondary ep-btn-text-secondary ep-hover-btn-text-secondary',\n outlined: 'ring-1 ep-ring-secondary ring-inset bg-transparent ep-hover-bg-secondary ep-btn-text-secondary-outline ep-hover-btn-text-secondary-outline',\n text: 'uppercase ep-hover-bg-secondary ep-text-secondary border border-transparent ep-hover-btn-text-secondary-outline',\n },\n info: {\n default: 'ep-bg-info ep-hover-bg-info ep-btn-text-info ep-hover-btn-text-info',\n outlined: 'ring-1 ep-ring-info ring-inset bg-transparent ep-hover-bg-info ep-btn-text-info-outline ep-hover-btn-text-info-outline',\n text: 'uppercase ep-hover-bg-info ep-text-info border border-transparent ep-hover-btn-text-info-outline',\n },\n warning: {\n default: 'ep-bg-warning ep-hover-bg-warning ep-btn-text-warning ep-hover-btn-text-warning',\n outlined: 'ring-1 ep-ring-warning ring-inset bg-transparent ep-hover-bg-warning ep-btn-text-warning-outline ep-hover-btn-text-warning-outline',\n text: 'uppercase ep-hover-bg-warning ep-text-warning border border-transparent ep-hover-btn-text-warning-outline',\n },\n success: {\n default: 'ep-bg-success ep-hover-bg-success ep-btn-text-success ep-hover-btn-text-success',\n outlined: 'ring-1 ep-ring-success ring-inset bg-transparent ep-hover-bg-success ep-btn-text-success-outline ep-hover-btn-text-success-outline',\n text: 'uppercase ep-hover-bg-success ep-text-success border border-transparent ep-hover-btn-text-success-outline',\n },\n error: {\n default: 'ep-bg-error ep-hover-bg-error ep-btn-text-error ep-hover-btn-text-error',\n outlined: 'ring-1 ep-ring-error ring-inset bg-transparent ep-hover-bg-error ep-btn-text-error-outline ep-hover-btn-text-error-outline',\n text: 'uppercase ep-hover-bg-error ep-text-error border border-transparent ep-hover-btn-text-error-outline',\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,IACR,SAAS;AAAA,IACR,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.d.ts
CHANGED
package/dist/types/Chip.js
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
1
|
const chipVariants = {
|
|
2
2
|
base: {
|
|
3
|
-
default: "
|
|
4
|
-
outlined: "
|
|
3
|
+
default: "ep-bg-neutral ep-btn-text-neutral",
|
|
4
|
+
outlined: "ring-1 ep-ring-neutral ring-inset bg-transparent ep-btn-text-neutral-outline"
|
|
5
5
|
},
|
|
6
6
|
primary: {
|
|
7
|
-
default: "bg-primary
|
|
8
|
-
outlined: "
|
|
7
|
+
default: "ep-bg-primary ep-btn-text-primary",
|
|
8
|
+
outlined: "ring-1 ep-ring-primary ring-inset bg-transparent ep-btn-text-primary-outline"
|
|
9
9
|
},
|
|
10
10
|
secondary: {
|
|
11
|
-
default: "bg-secondary
|
|
12
|
-
outlined: "
|
|
13
|
-
},
|
|
14
|
-
accent: {
|
|
15
|
-
default: "bg-accent border-accent border dark:bg-accent-dark dark:text-white dark:border-accent-dark",
|
|
16
|
-
outlined: "border-accent border text-accent dark:bg-transparent"
|
|
11
|
+
default: "ep-bg-secondary ep-btn-text-secondary",
|
|
12
|
+
outlined: "ring-1 ep-ring-secondary ring-inset bg-transparent ep-btn-text-secondary-outline"
|
|
17
13
|
},
|
|
18
14
|
info: {
|
|
19
|
-
default: "bg-info
|
|
20
|
-
outlined: "
|
|
15
|
+
default: "ep-bg-info ep-btn-text-info",
|
|
16
|
+
outlined: "ring-1 ep-ring-info ring-inset bg-transparent ep-btn-text-info-outline"
|
|
21
17
|
},
|
|
22
18
|
warning: {
|
|
23
|
-
default: "bg-warning
|
|
24
|
-
outlined: "
|
|
19
|
+
default: "ep-bg-warning ep-btn-text-warning",
|
|
20
|
+
outlined: "ring-1 ep-ring-warning ring-inset bg-transparent ep-btn-text-warning-outline"
|
|
25
21
|
},
|
|
26
22
|
success: {
|
|
27
|
-
default: "bg-success
|
|
28
|
-
outlined: "
|
|
23
|
+
default: "ep-bg-success ep-btn-text-success",
|
|
24
|
+
outlined: "ring-1 ep-ring-success ring-inset bg-transparent ep-btn-text-success-outline"
|
|
29
25
|
},
|
|
30
26
|
error: {
|
|
31
|
-
default: "bg-error
|
|
32
|
-
outlined: "
|
|
27
|
+
default: "ep-bg-error ep-btn-text-error",
|
|
28
|
+
outlined: "ring-1 ep-ring-error ring-inset bg-transparent ep-btn-text-error-outline"
|
|
33
29
|
}
|
|
34
30
|
};
|
|
35
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
|
|
1
|
+
{"version":3,"file":"Chip.js","sources":["../../src/types/Chip.ts"],"sourcesContent":["export const chipVariants = {\n base: {\n default: 'ep-bg-neutral ep-btn-text-neutral',\n outlined: 'ring-1 ep-ring-neutral ring-inset bg-transparent ep-btn-text-neutral-outline',\n },\n primary: {\n default: 'ep-bg-primary ep-btn-text-primary',\n outlined: 'ring-1 ep-ring-primary ring-inset bg-transparent ep-btn-text-primary-outline',\n },\n secondary: {\n default: 'ep-bg-secondary ep-btn-text-secondary',\n outlined: 'ring-1 ep-ring-secondary ring-inset bg-transparent ep-btn-text-secondary-outline',\n },\n info: {\n default: 'ep-bg-info ep-btn-text-info',\n outlined: 'ring-1 ep-ring-info ring-inset bg-transparent ep-btn-text-info-outline',\n },\n warning: {\n default: 'ep-bg-warning ep-btn-text-warning',\n outlined: 'ring-1 ep-ring-warning ring-inset bg-transparent ep-btn-text-warning-outline',\n },\n success: {\n default: 'ep-bg-success ep-btn-text-success',\n outlined: 'ring-1 ep-ring-success ring-inset bg-transparent ep-btn-text-success-outline',\n },\n error: {\n default: 'ep-bg-error ep-btn-text-error',\n outlined: 'ring-1 ep-ring-error ring-inset bg-transparent ep-btn-text-error-outline',\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/dist/types/Colors.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Color = "
|
|
1
|
+
export type Color = "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info" | "question" | "tip";
|
package/dist/types/Hover.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type Animation = "" | "scale" | "translateY" | "translateX";
|
|
1
|
+
export type Animation = "none" | "scale" | "translateY" | "translateX";
|
|
2
2
|
export type TextSize = "text-sm" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl";
|
|
3
3
|
export type MaxWidth = "max-w-xs" | "max-w-sm" | "max-w-md" | "max-w-lg" | "max-w-xl" | "max-w-2xl";
|
package/dist/types/Medias.d.ts
CHANGED
package/dist/types/Medias.js
CHANGED
|
@@ -3,7 +3,6 @@ const mediaVariants = {
|
|
|
3
3
|
base: "bg-neutral-100 text-black dark:bg-neutral-300 ",
|
|
4
4
|
primary: "bg-primary text-white dark:bg-main-color-600",
|
|
5
5
|
secondary: "bg-secondary text-white dark:bg-secondary-dark",
|
|
6
|
-
accent: "bg-accent text-white dark:bg-accent-dark",
|
|
7
6
|
info: "bg-info text-white dark:bg-info-dark",
|
|
8
7
|
warning: "bg-warning text-white dark:bg-warning-dark",
|
|
9
8
|
success: "bg-success text-white dark:bg-success-dark",
|
package/dist/types/Medias.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Medias.js","sources":["../../src/types/Medias.ts"],"sourcesContent":["export const mediaVariants = {\n neutral:\"text-black dark:text-white\",\n base:'bg-neutral-100 text-black dark:bg-neutral-300 ',\n primary:'bg-primary text-white dark:bg-main-color-600',\n secondary:'bg-secondary text-white dark:bg-secondary-dark',\n
|
|
1
|
+
{"version":3,"file":"Medias.js","sources":["../../src/types/Medias.ts"],"sourcesContent":["export const mediaVariants = {\n neutral:\"text-black dark:text-white\",\n base:'bg-neutral-100 text-black dark:bg-neutral-300 ',\n primary:'bg-primary text-white dark:bg-main-color-600',\n secondary:'bg-secondary text-white dark:bg-secondary-dark',\n info:'bg-info text-white dark:bg-info-dark',\n warning:'bg-warning text-white dark:bg-warning-dark',\n success:'bg-success text-white dark:bg-success-dark',\n error:'bg-error text-white dark:bg-error-dark',\n}\n\n\nexport type MediaVariants = keyof typeof mediaVariants\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EACzB,SAAQ;AAAA,EACR,MAAK;AAAA,EACL,SAAQ;AAAA,EACR,WAAU;AAAA,EACV,MAAK;AAAA,EACL,SAAQ;AAAA,EACR,SAAQ;AAAA,EACR,OAAM;AACV;"}
|
package/dist/types/Radio.d.ts
CHANGED
package/dist/types/Radio.js
CHANGED
|
@@ -2,7 +2,6 @@ const radioVariants = {
|
|
|
2
2
|
base: "form-radio rounded-full border-neutral-300 text-gray-600 h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-gray-300",
|
|
3
3
|
primary: "form-radio rounded-full border-primary text-primary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-primary",
|
|
4
4
|
secondary: "form-radio rounded-full border-secondary text-secondary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-secondary",
|
|
5
|
-
accent: "form-radio rounded-full border-accent text-accent h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-accent",
|
|
6
5
|
info: "form-radio rounded-full border-info text-info h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-info",
|
|
7
6
|
warning: "form-radio rounded-full border-warning text-warning h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-warning",
|
|
8
7
|
success: "form-radio rounded-full border-success text-success h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-success",
|
package/dist/types/Radio.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.js","sources":["../../src/types/Radio.ts"],"sourcesContent":["export const radioVariants = {\n base:'form-radio rounded-full border-neutral-300 text-gray-600 h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-gray-300',\n primary:'form-radio rounded-full border-primary text-primary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-primary',\n secondary:'form-radio rounded-full border-secondary text-secondary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-secondary',\n
|
|
1
|
+
{"version":3,"file":"Radio.js","sources":["../../src/types/Radio.ts"],"sourcesContent":["export const radioVariants = {\n base:'form-radio rounded-full border-neutral-300 text-gray-600 h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-gray-300',\n primary:'form-radio rounded-full border-primary text-primary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-primary',\n secondary:'form-radio rounded-full border-secondary text-secondary h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-secondary',\n info:'form-radio rounded-full border-info text-info h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-info',\n warning:'form-radio rounded-full border-warning text-warning h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-warning',\n success:'form-radio rounded-full border-success text-success h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-success',\n error:'form-radio rounded-full border-error text-error h-[1.190rem] w-[1.190rem] disabled:opacity-40 focus:ring-error',\n}\n\n\nexport type RadioVariants = keyof typeof radioVariants\n//export type ChipOutlinedVariants = keyof typeof outlineChipVariants\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EACzB,MAAK;AAAA,EACL,SAAQ;AAAA,EACR,WAAU;AAAA,EACV,MAAK;AAAA,EACL,SAAQ;AAAA,EACR,SAAQ;AAAA,EACR,OAAM;AACV;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type Color = "primary" | "secondary" | "
|
|
1
|
+
type Color = "primary" | "secondary" | "error" | "warning" | "success" | "info" | "question" | "tip";
|
|
2
2
|
type Variant = "circle" | "square" | "rounded";
|
|
3
3
|
type Size = "small" | "middle" | "big";
|
|
4
4
|
export interface ListItem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackedList.js","sources":["../../src/types/StackedList.ts"],"sourcesContent":["type Color = \"primary\" | \"secondary\" | \"
|
|
1
|
+
{"version":3,"file":"StackedList.js","sources":["../../src/types/StackedList.ts"],"sourcesContent":["type Color = \"primary\" | \"secondary\" | \"error\" | \"warning\" | \"success\" | \"info\" | \"question\" | \"tip\";\ntype Variant = \"circle\" | \"square\" | \"rounded\";\ntype Size = \"small\" | \"middle\" | \"big\";\nimport type { ContentComponents } from \"./Component\";\n\ninterface Avatar {\n src?: string;\n alt: string;\n name?:string\n}\n\nexport interface ListItem {\n uid?:string;\n avatar?: string;\n title: string;\n description: string;\n url?:string;\n icon?:string;\n}\n\nexport interface AvatarStyle {\n color?: Color;\n size?: Size;\n variant?: Variant;\n name?: string\n}\n\nexport const roundedType = {\n none: \"rounded-none\",\n small: \"rounded-md\",\n middle: \"rounded-lg\",\n big: \"rounded-2xl\",\n}\n//show to josue\nexport type RoundedStyle = keyof typeof roundedType\n\n\n\n"],"names":[],"mappings":"AA2BO,MAAM,cAAc;AAAA,EACvB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AACT;"}
|
package/dist/types/Switch.d.ts
CHANGED
package/dist/types/Switch.js
CHANGED
|
@@ -2,7 +2,6 @@ const ColorVariants = {
|
|
|
2
2
|
base: "peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:border-gray-600 peer-checked:bg-blue-600 ",
|
|
3
3
|
primary: "peer-focus:ring-bg-main-color-200 dark:peer-focus:ring-bg-main-color-600 rounded-full peer dark:border-gray-600 peer-checked:bg-primary",
|
|
4
4
|
secondary: "peer-focus:ring-bg-secondary-light dark:peer-focus:ring-bg-secondary-dark rounded-full peer dark:border-gray-600 peer-checked:bg-secondary",
|
|
5
|
-
accent: "peer-focus:ring-bg-accent-light dark:peer-focus:ring-bg-accent-dark rounded-full peer dark:border-gray-600 peer-checked:bg-accent",
|
|
6
5
|
info: "peer-focus:ring-bg-info-light dark:peer-focus:ring-bg-info-dark rounded-full peer dark:border-gray-600 peer-checked:bg-info",
|
|
7
6
|
warning: "peer-focus:ring-bg-warning-light dark:peer-focus:ring-bg-warning-dark rounded-full peer dark:border-gray-600 peer-checked:bg-warning",
|
|
8
7
|
success: "peer-focus:ring-bg-success-light dark:peer-focus:ring-bg-success-dark rounded-full peer dark:border-gray-600 peer-checked:bg-success",
|
package/dist/types/Switch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sources":["../../src/types/Switch.ts"],"sourcesContent":["export const ColorVariants = {\n base:\n 'peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:border-gray-600 peer-checked:bg-blue-600 '\n ,\n primary:\n 'peer-focus:ring-bg-main-color-200 dark:peer-focus:ring-bg-main-color-600 rounded-full peer dark:border-gray-600 peer-checked:bg-primary'\n ,\n secondary:\n 'peer-focus:ring-bg-secondary-light dark:peer-focus:ring-bg-secondary-dark rounded-full peer dark:border-gray-600 peer-checked:bg-secondary'\n ,\n
|
|
1
|
+
{"version":3,"file":"Switch.js","sources":["../../src/types/Switch.ts"],"sourcesContent":["export const ColorVariants = {\n base:\n 'peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:border-gray-600 peer-checked:bg-blue-600 '\n ,\n primary:\n 'peer-focus:ring-bg-main-color-200 dark:peer-focus:ring-bg-main-color-600 rounded-full peer dark:border-gray-600 peer-checked:bg-primary'\n ,\n secondary:\n 'peer-focus:ring-bg-secondary-light dark:peer-focus:ring-bg-secondary-dark rounded-full peer dark:border-gray-600 peer-checked:bg-secondary'\n ,\n info:\n 'peer-focus:ring-bg-info-light dark:peer-focus:ring-bg-info-dark rounded-full peer dark:border-gray-600 peer-checked:bg-info'\n ,\n warning:\n 'peer-focus:ring-bg-warning-light dark:peer-focus:ring-bg-warning-dark rounded-full peer dark:border-gray-600 peer-checked:bg-warning'\n ,\n success:\n 'peer-focus:ring-bg-success-light dark:peer-focus:ring-bg-success-dark rounded-full peer dark:border-gray-600 peer-checked:bg-success'\n ,\n error:\n 'peer-focus:ring-bg-error-light dark:peer-focus:ring-bg-error-dark rounded-full peer dark:border-gray-600 peer-checked:bg-error'\n ,\n}\n\n\nexport type SwitchColorVariant = keyof typeof ColorVariants\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;AAAA,EACzB,MACI;AAAA,EAEJ,SACI;AAAA,EAEJ,WACI;AAAA,EAEJ,MACI;AAAA,EAEJ,SACI;AAAA,EAEJ,SACI;AAAA,EAEJ,OACI;AAER;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from '../Colors';
|
|
1
2
|
import { Density } from '../Card';
|
|
2
3
|
export interface EpCardProps {
|
|
3
4
|
title?: string | null;
|
|
@@ -5,7 +6,8 @@ export interface EpCardProps {
|
|
|
5
6
|
outlined?: boolean;
|
|
6
7
|
flat?: boolean;
|
|
7
8
|
icon?: string | null;
|
|
8
|
-
|
|
9
|
+
bordercolor?: Color;
|
|
10
|
+
bgcolor?: Color;
|
|
9
11
|
src?: string | null;
|
|
10
12
|
maxWidth?: string;
|
|
11
13
|
density?: Density;
|