@liner-fe/design-library 1.2.18 → 1.2.20
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/lib/index.js +4 -4
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -220,7 +220,7 @@ var NewsBanner = ({ tag, onClick, onCloseClick, content }) => {
|
|
|
220
220
|
return /* @__PURE__ */ jsxs(
|
|
221
221
|
"div",
|
|
222
222
|
{
|
|
223
|
-
className: "pl-
|
|
223
|
+
className: "pl-component-600 pr-component-400 m:pl-component-400 py-component-200 hover:bg-brand-fill-low-hover bg-brand-fill-low flex min-h-[44px] s:min-h-[52px] w-full items-center justify-between cursor-pointer gap-positive-300",
|
|
224
224
|
onClick,
|
|
225
225
|
children: [
|
|
226
226
|
/* @__PURE__ */ jsx("div", { className: "flex w-full grow flex-col items-start", children: /* @__PURE__ */ jsxs("div", { className: "gap-positive-200 flex items-center", children: [
|
|
@@ -239,7 +239,7 @@ var NewsBanner = ({ tag, onClick, onCloseClick, content }) => {
|
|
|
239
239
|
children: content
|
|
240
240
|
}
|
|
241
241
|
) }),
|
|
242
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col items-start justify-center", children: /* @__PURE__ */ jsx("div", { className: "pl-component-100 flex items-center", children: /* @__PURE__ */ jsx(IconArrowRight, { type: "neutral-label-primary", size: "xs" }) }) })
|
|
242
|
+
/* @__PURE__ */ jsx("div", { className: "hidden s:flex flex-col items-start justify-center", children: /* @__PURE__ */ jsx("div", { className: "pl-component-100 flex items-center", children: /* @__PURE__ */ jsx(IconArrowRight, { type: "neutral-label-primary", size: "xs" }) }) })
|
|
243
243
|
] })
|
|
244
244
|
] }) }),
|
|
245
245
|
onCloseClick && /* @__PURE__ */ jsx(
|
|
@@ -262,7 +262,7 @@ var AlertBanner = ({ onClick, onCloseClick, content, label }) => {
|
|
|
262
262
|
"div",
|
|
263
263
|
{
|
|
264
264
|
onClick,
|
|
265
|
-
className: "m:pl-
|
|
265
|
+
className: "m:pl-component-400 py-component-200 pl-component-600 pr-component-400 flex min-h-[44px] s:min-h-[52px] w-full items-center justify-between bg-[rgba(254,143,22,0.45)] hover:bg-[rgba(254,143,22,0.48)] cursor-pointer gap-positive-300",
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ jsx("div", { className: "flex w-full grow flex-col items-start", children: /* @__PURE__ */ jsxs("div", { className: "gap-positive-200 flex items-center", children: [
|
|
268
268
|
/* @__PURE__ */ jsx("div", { className: "flex h-[16px] w-[16px] items-center justify-center", children: /* @__PURE__ */ jsx(IconExclamationmarkFill, { size: "xs", fill: true }) }),
|
|
@@ -327,7 +327,7 @@ var PromotionBanner = ({
|
|
|
327
327
|
"div",
|
|
328
328
|
{
|
|
329
329
|
onClick,
|
|
330
|
-
className: "
|
|
330
|
+
className: "pl-component-600 m:pl-component-400 pr-component-400 py-component-200 bg-inverse-container-static-high hover:bg-inverse-container-static-high-hover flex min-h-[44px] s:min-h-[52px] w-full items-center justify-between cursor-pointer gap-positive-300",
|
|
331
331
|
children: [
|
|
332
332
|
/* @__PURE__ */ jsx("div", { className: "flex w-full grow flex-col items-start", children: /* @__PURE__ */ jsxs("div", { className: "gap-positive-200 flex items-center", children: [
|
|
333
333
|
tag && /* @__PURE__ */ jsxs("div", { className: "gap-positive-150 s:flex items-center hidden", children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/design-library",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@tailwindcss/vite": "^4.1.14",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"react-dom": "18.2.0",
|
|
11
11
|
"tailwind-merge": "^3.3.1",
|
|
12
12
|
"tailwindcss": "^4.1.14",
|
|
13
|
-
"@liner-fe/
|
|
14
|
-
"@liner-fe/
|
|
15
|
-
"@liner-fe/
|
|
13
|
+
"@liner-fe/design-token": "^2.5.50",
|
|
14
|
+
"@liner-fe/icon": "^0.2.77",
|
|
15
|
+
"@liner-fe/prism": "^2.12.12"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@chromatic-com/storybook": "^4.1.1",
|