@liner-fe/design-library 1.2.14 → 1.2.16

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.d.ts CHANGED
@@ -69,7 +69,7 @@ declare const SideBanner: ({ button, onCloseClick }: SideBannerProps) => react_j
69
69
 
70
70
  interface BaseType {
71
71
  onClick: () => void;
72
- onCloseClick?: () => void;
72
+ onCloseClick?: (e?: React.MouseEvent<HTMLButtonElement>) => void;
73
73
  mountEffectCallback?: () => void;
74
74
  content: string;
75
75
  }
package/lib/index.js CHANGED
@@ -48,8 +48,7 @@ TemplateDialog.Close = ({ onClose }) => /* @__PURE__ */ jsx(
48
48
  {
49
49
  icon: { icon: IconClose, type: "neutral-label-secondary" },
50
50
  size: "m",
51
- level: "tertiary",
52
- fill: false,
51
+ level: "quinary",
53
52
  className: tw("absolute", "max-s:top-[12px] max-s:right-[12px] top-[16px] right-[16px]"),
54
53
  onClick: () => {
55
54
  onClose?.();
@@ -129,8 +128,7 @@ TemplateIllustDialog.Close = ({ onClose }) => /* @__PURE__ */ jsx(
129
128
  {
130
129
  icon: { icon: IconClose, type: "neutral-label-secondary" },
131
130
  size: "m",
132
- level: "tertiary",
133
- fill: false,
131
+ level: "quinary",
134
132
  className: tw("absolute", "max-s:top-[12px] max-s:right-[12px] top-[16px] right-[16px]"),
135
133
  onClick: () => {
136
134
  onClose?.();
@@ -195,8 +193,7 @@ var SideBanner = ({ button, onCloseClick }) => {
195
193
  icon: IconClose
196
194
  },
197
195
  level: "primary",
198
- fill: false,
199
- size: "xs",
196
+ size: "s",
200
197
  onClick: onCloseClick
201
198
  }
202
199
  ) }),
@@ -253,7 +250,6 @@ var NewsBanner = ({ tag, onClick, onCloseClick, content }) => {
253
250
  icon: IconClose
254
251
  },
255
252
  level: "primary",
256
- fill: false,
257
253
  size: "s"
258
254
  }
259
255
  )
@@ -306,7 +302,6 @@ var AlertBanner = ({ onClick, onCloseClick, content }) => {
306
302
  icon: IconClose
307
303
  },
308
304
  level: "primary",
309
- fill: false,
310
305
  size: "s",
311
306
  onClick: onCloseClick
312
307
  }
@@ -361,7 +356,6 @@ var PromotionBanner = ({
361
356
  icon: IconClose
362
357
  },
363
358
  level: "inverse-static",
364
- fill: false,
365
359
  size: "s"
366
360
  }
367
361
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/design-library",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
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/design-token": "^2.5.48",
14
- "@liner-fe/icon": "^0.2.73",
15
- "@liner-fe/prism": "^2.12.2"
13
+ "@liner-fe/design-token": "^2.5.50",
14
+ "@liner-fe/icon": "^0.2.76",
15
+ "@liner-fe/prism": "^2.12.12"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@chromatic-com/storybook": "^4.1.1",