@eclass/ui-kit 1.11.1 → 1.11.2
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/atoms/Icons/AcademicRecord.d.ts +6 -0
- package/dist/atoms/Icons/index.d.ts +1 -0
- package/dist/eclass-ui-kit.es.js +32 -3
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +22 -22
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Buttons/BtnTertiary.d.ts +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -26803,6 +26803,25 @@ function TextBubble(props) {
|
|
|
26803
26803
|
}));
|
|
26804
26804
|
}
|
|
26805
26805
|
TextBubble.displayName = "TextBubble";
|
|
26806
|
+
function AcademicRecord(props) {
|
|
26807
|
+
return /* @__PURE__ */ jsxs(Base, __spreadProps(__spreadValues({}, props), {
|
|
26808
|
+
w: "16px",
|
|
26809
|
+
h: "16px",
|
|
26810
|
+
viewBox: "0 0 16 16",
|
|
26811
|
+
title: "academicRecord",
|
|
26812
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
26813
|
+
d: "M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",
|
|
26814
|
+
fill: "currentColor"
|
|
26815
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
26816
|
+
d: "M15 10H1V12H15V10Z",
|
|
26817
|
+
fill: "currentColor"
|
|
26818
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
26819
|
+
d: "M15 14H1V16H15V14Z",
|
|
26820
|
+
fill: "currentColor"
|
|
26821
|
+
})]
|
|
26822
|
+
}));
|
|
26823
|
+
}
|
|
26824
|
+
AcademicRecord.displayName = "AcademicRecord";
|
|
26806
26825
|
function TinyAlert({
|
|
26807
26826
|
status,
|
|
26808
26827
|
text,
|
|
@@ -26920,6 +26939,7 @@ function Btn({
|
|
|
26920
26939
|
if (!children && !rightIcon && !leftIcon) {
|
|
26921
26940
|
showChildren = "Button";
|
|
26922
26941
|
}
|
|
26942
|
+
const paddingTopBottom = ".75rem";
|
|
26923
26943
|
const borderRadius = rounded ? "12px" : vars("radii-small");
|
|
26924
26944
|
const colorMain = (_a = bg2 == null ? void 0 : bg2.main) != null ? _a : vars("colors-main-deepSkyBlue");
|
|
26925
26945
|
const touchColor = touchDark ? "rgba(160, 160, 160, 0.2)" : "rgba(255, 255, 255, 0.2)";
|
|
@@ -26954,8 +26974,8 @@ function Btn({
|
|
|
26954
26974
|
},
|
|
26955
26975
|
type,
|
|
26956
26976
|
tabIndex,
|
|
26957
|
-
paddingTop: size2 === "regular" ? vars("space-xs") : vars("space-xxs"),
|
|
26958
|
-
paddingBottom: size2 === "regular" ? vars("space-xs") : vars("space-xxs"),
|
|
26977
|
+
paddingTop: size2 === "regular" ? paddingTopBottom : onlyIcon ? vars("space-xs") : vars("space-xxs"),
|
|
26978
|
+
paddingBottom: size2 === "regular" ? paddingTopBottom : onlyIcon ? vars("space-xs") : vars("space-xxs"),
|
|
26959
26979
|
paddingLeft: size2 === "regular" ? vars("space-s") : vars("space-xs"),
|
|
26960
26980
|
paddingRight: size2 === "regular" ? vars("space-s") : vars("space-xs"),
|
|
26961
26981
|
position: "relative",
|
|
@@ -27089,7 +27109,7 @@ function BtnTertiary({
|
|
|
27089
27109
|
edit: /* @__PURE__ */ jsx(Pen, {
|
|
27090
27110
|
color: colorIcon
|
|
27091
27111
|
}),
|
|
27092
|
-
|
|
27112
|
+
delete: /* @__PURE__ */ jsx(TrashCan, {
|
|
27093
27113
|
color: colorIcon
|
|
27094
27114
|
}),
|
|
27095
27115
|
more: /* @__PURE__ */ jsx(PlusSign, {
|
|
@@ -27100,6 +27120,9 @@ function BtnTertiary({
|
|
|
27100
27120
|
}),
|
|
27101
27121
|
multimedia: /* @__PURE__ */ jsx(Multimedia, {
|
|
27102
27122
|
color: colorIcon
|
|
27123
|
+
}),
|
|
27124
|
+
record: /* @__PURE__ */ jsx(AcademicRecord, {
|
|
27125
|
+
color: colorIcon
|
|
27103
27126
|
})
|
|
27104
27127
|
};
|
|
27105
27128
|
const icon = (_a = btnIcons[iconStatus]) != null ? _a : btnIcons.multimedia;
|
|
@@ -27118,6 +27141,10 @@ function BtnTertiary({
|
|
|
27118
27141
|
lineHeight: "16px",
|
|
27119
27142
|
textDecorationLine: "underline",
|
|
27120
27143
|
borderRadius: "12px",
|
|
27144
|
+
paddingTop: vars("space-xxs"),
|
|
27145
|
+
paddingBottom: vars("space-xxs"),
|
|
27146
|
+
paddingLeft: vars("space-xs"),
|
|
27147
|
+
paddingRight: vars("space-xs"),
|
|
27121
27148
|
color: gray,
|
|
27122
27149
|
rightIcon: rIcon,
|
|
27123
27150
|
leftIcon: lIcon,
|
|
@@ -27149,6 +27176,8 @@ function BtnLink({
|
|
|
27149
27176
|
return /* @__PURE__ */ jsx(Box, {
|
|
27150
27177
|
as: "button",
|
|
27151
27178
|
id: id2,
|
|
27179
|
+
backgroundColor: "transparent",
|
|
27180
|
+
borderStyle: "none",
|
|
27152
27181
|
width: "fit-content",
|
|
27153
27182
|
padding: ".25em",
|
|
27154
27183
|
fontFamily: "Roboto",
|