@hivcd-printshop/design-system 1.4.1 → 1.5.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/dist/index.js +12 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -11
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1164,7 +1164,7 @@ var ModalBase = ({ isVisible, header, children, className, onClose }) => {
|
|
|
1164
1164
|
className: cn(
|
|
1165
1165
|
"relative w-110 pt-8 h-fit pointer-events-auto",
|
|
1166
1166
|
"flex flex-col items-center",
|
|
1167
|
-
"border border-gray02",
|
|
1167
|
+
// "border border-gray02",
|
|
1168
1168
|
"bg-white shadow-[0px_0px_30px_0px_rgba(0,0,0,0.08)]",
|
|
1169
1169
|
className
|
|
1170
1170
|
),
|
|
@@ -1182,7 +1182,7 @@ var ModalBase = ({ isVisible, header, children, className, onClose }) => {
|
|
|
1182
1182
|
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(IconClose, {})
|
|
1183
1183
|
}
|
|
1184
1184
|
),
|
|
1185
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h1", { className: cn("text-
|
|
1185
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h1", { className: cn("text-head1-medium text-strong"), children: header }),
|
|
1186
1186
|
children
|
|
1187
1187
|
]
|
|
1188
1188
|
}
|
|
@@ -1380,7 +1380,7 @@ var NoticeBar = ({
|
|
|
1380
1380
|
children: [
|
|
1381
1381
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("section", { className: "flex items-center gap-3", children: [
|
|
1382
1382
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(NoticeBadge, { variable: badgeVariable }),
|
|
1383
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("h1", { className: "text-
|
|
1383
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("h1", { className: "text-head3-regular text-strong", children: title })
|
|
1384
1384
|
] }),
|
|
1385
1385
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "text-body3-book text-tertiary", children: date })
|
|
1386
1386
|
]
|
|
@@ -1398,7 +1398,7 @@ var SearchBar = ({ value, onChange, className }) => {
|
|
|
1398
1398
|
"w-full h-12 pl-4 pr-3",
|
|
1399
1399
|
"flex items-center gap-2",
|
|
1400
1400
|
"box-border border-b border-gray02 border-t border-t-white",
|
|
1401
|
-
"focus-within:border-black focus-within:border focus-within:outline-none",
|
|
1401
|
+
"focus-within:border-black focus-within:border focus-within:outline-none focus-within:pl-[15px]",
|
|
1402
1402
|
className
|
|
1403
1403
|
),
|
|
1404
1404
|
children: [
|
|
@@ -1500,7 +1500,7 @@ var Stepper = ({ step, title, isOpen, collapsible, onClick, className }) => {
|
|
|
1500
1500
|
" | ",
|
|
1501
1501
|
title
|
|
1502
1502
|
] });
|
|
1503
|
-
const base = "w-full flex items-center justify-between px-5 py-2.5 text-head3-medium text-
|
|
1503
|
+
const base = "w-full flex items-center justify-between px-5 py-2.5 text-head3-medium text-strong text-left bg-white border-b border-gray02";
|
|
1504
1504
|
if (!collapsible) {
|
|
1505
1505
|
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: cn(base, className), children: label });
|
|
1506
1506
|
}
|
|
@@ -1553,7 +1553,7 @@ var RadioToggleItem = ({
|
|
|
1553
1553
|
}
|
|
1554
1554
|
),
|
|
1555
1555
|
open && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col gap-2 px-3 py-3 bg-white", children: [
|
|
1556
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-
|
|
1556
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-body3-book text-secondary", children: content }),
|
|
1557
1557
|
badges && badges.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-wrap gap-1", children: badges.map((badge) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Badge2, { label: badge }, badge)) }),
|
|
1558
1558
|
labelTextButton && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1559
1559
|
TextButton2,
|
|
@@ -1578,7 +1578,7 @@ var Radio = ({ selected = false, className }) => {
|
|
|
1578
1578
|
{
|
|
1579
1579
|
className: cn(
|
|
1580
1580
|
"inline-flex size-6 shrink-0 items-center justify-center rounded-full transition-colors",
|
|
1581
|
-
"group-hover:bg-gray00 group-active:bg-gray01",
|
|
1581
|
+
// "group-hover:bg-gray00 group-active:bg-gray01",
|
|
1582
1582
|
className
|
|
1583
1583
|
),
|
|
1584
1584
|
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { className: "size-2.5" })
|
|
@@ -2097,7 +2097,7 @@ var UpperPartTab = ({
|
|
|
2097
2097
|
className
|
|
2098
2098
|
),
|
|
2099
2099
|
children: [
|
|
2100
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("px-5 text-head1-medium", selected ? "text-strong" : "text-
|
|
2100
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("px-5 text-head1-medium", selected ? "text-strong" : "text-gray04"), children: label }),
|
|
2101
2101
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: cn("h-0.5 w-full", selected ? "bg-black" : "bg-transparent") })
|
|
2102
2102
|
]
|
|
2103
2103
|
}
|
|
@@ -2195,7 +2195,7 @@ var LowerPartItemButton = ({
|
|
|
2195
2195
|
className: cn(
|
|
2196
2196
|
"inline-flex h-full items-center justify-center px-5 text-head3-medium cursor-pointer no-underline",
|
|
2197
2197
|
"transition-colors hover:bg-gray00 active:bg-gray01",
|
|
2198
|
-
selected ? "text-strong" : "text-
|
|
2198
|
+
selected ? "text-strong" : "text-gray04",
|
|
2199
2199
|
className
|
|
2200
2200
|
),
|
|
2201
2201
|
children: label
|
|
@@ -2235,8 +2235,9 @@ var Toast = (0, import_react12.forwardRef)(function Toast2({ message, open, dura
|
|
|
2235
2235
|
role: "status",
|
|
2236
2236
|
"aria-live": "polite",
|
|
2237
2237
|
className: cn(
|
|
2238
|
-
"w-full h-fit py-2.5 bg-
|
|
2239
|
-
"
|
|
2238
|
+
"w-full h-fit py-2.5 bg-gray08",
|
|
2239
|
+
"mt-7 mx-8",
|
|
2240
|
+
"text-white text-center text-body1-regular",
|
|
2240
2241
|
"shadow-[0_2px_15px_rgba(0,0,0,0.18)]",
|
|
2241
2242
|
controlled && "transition-opacity duration-300",
|
|
2242
2243
|
controlled && (visible ? "opacity-100" : "opacity-0"),
|