@liner-fe/prism 4.0.4 → 4.0.6

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -3
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -3357,7 +3357,7 @@ var style_module_default24 = {
3357
3357
  import { jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
3358
3358
  var titleVariants2 = cva14({ base: [style_module_default24.title, "lp-sys-typo-title4-accent-bold"] });
3359
3359
  var descriptionVariants2 = cva14({
3360
- base: [style_module_default24.description, "lp-sys-typo-paragraph2-post-regular"]
3360
+ base: [style_module_default24.description, "lp-sys-typo-caption1-normal-regular"]
3361
3361
  });
3362
3362
  var DialogHeader = /* @__PURE__ */ __name(({ title, description }) => /* @__PURE__ */ jsxs20("div", { className: style_module_default24.header, children: [
3363
3363
  /* @__PURE__ */ jsx33(DialogPrimitive.Title, { className: titleVariants2(), children: title }),
@@ -3467,8 +3467,8 @@ var BottomSheetFooter = /* @__PURE__ */ __name(({ dismiss, confirm, extra }) =>
3467
3467
  if (!hasFooter) return null;
3468
3468
  return /* @__PURE__ */ jsxs24(Flex, { direction: "column", gap: "2", width: "100%", pt: "3", px: "4", pb: "4", children: [
3469
3469
  hasActions && /* @__PURE__ */ jsxs24("div", { className: style_module_default25.actions, children: [
3470
- dismiss && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: "tertiary", size: "l", onClick: dismiss.onClick, children: dismiss.label }) }),
3471
- confirm && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: confirm.level ?? "primary", size: "l", onClick: confirm.onClick, children: confirm.label }) })
3470
+ dismiss && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: "tertiary", size: "cta", onClick: dismiss.onClick, children: dismiss.label }) }),
3471
+ confirm && /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(Button, { level: confirm.level ?? "primary", size: "cta", onClick: confirm.onClick, children: confirm.label }) })
3472
3472
  ] }),
3473
3473
  extra && /* @__PURE__ */ jsx37("div", { className: style_module_default25.extra, children: /* @__PURE__ */ jsx37(Drawer2.Close, { asChild: true, children: /* @__PURE__ */ jsx37(TextButton, { level: "tertiary", size: "xs", onClick: extra.onClick, children: extra.label }) }) })
3474
3474
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "dependencies": {
@@ -21,9 +21,9 @@
21
21
  "react-dom": "^19.1.0",
22
22
  "sonner": "2.0.7",
23
23
  "vaul": "1.1.2",
24
- "@liner-fe/design-token-primitive": "^1.1.1",
25
- "@liner-fe/icon": "^2.0.29",
26
- "@liner-fe/design-token": "^4.1.1"
24
+ "@liner-fe/design-token-primitive": "^1.2.0",
25
+ "@liner-fe/icon": "^2.0.30",
26
+ "@liner-fe/design-token": "^4.2.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@chromatic-com/storybook": "^1.5.0",