@local-logic/design-system 0.7.11 → 0.7.12

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/dist/ui/index.js +8 -8
  2. package/package.json +3 -3
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as Z, jsx as u } from "react/jsx-runtime";
1
+ import { jsxs as Z, jsx as y } from "react/jsx-runtime";
2
2
  import t, { createContext as $, forwardRef as x, useContext as B } from "react";
3
3
  const F = /* @__PURE__ */ new Map([
4
4
  [
@@ -64,12 +64,12 @@ const j = x((e, a) => {
64
64
  "mirrored",
65
65
  "children",
66
66
  "weights"
67
- ]), p = B(N), {
67
+ ]), u = B(N), {
68
68
  color: z = "currentColor",
69
- size: y,
69
+ size: p,
70
70
  weight: A = "regular",
71
71
  mirrored: C = !1
72
- } = p, P = h(p, [
72
+ } = u, P = h(u, [
73
73
  "color",
74
74
  "size",
75
75
  "weight",
@@ -80,8 +80,8 @@ const j = x((e, a) => {
80
80
  b(b({
81
81
  ref: a,
82
82
  xmlns: "http://www.w3.org/2000/svg",
83
- width: l ?? y,
84
- height: l ?? y,
83
+ width: l ?? p,
84
+ height: l ?? p,
85
85
  fill: n ?? z,
86
86
  viewBox: "0 0 256 256",
87
87
  transform: o || C ? "scale(-1, 1)" : void 0
@@ -172,9 +172,9 @@ const G = `
172
172
  "data-size": i,
173
173
  "data-inverse": d,
174
174
  children: [
175
- n && /* @__PURE__ */ u(n, { className: H }),
175
+ n && /* @__PURE__ */ y(n, { className: H }),
176
176
  e,
177
- n && r === "ghost" && /* @__PURE__ */ u(M, { className: J })
177
+ n && r === "ghost" && /* @__PURE__ */ y(M, { className: J })
178
178
  ]
179
179
  }
180
180
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@local-logic/design-system",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "author": "Local Logic",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,6 +39,7 @@
39
39
  "dev": "vite",
40
40
  "build": "vite build",
41
41
  "build:staging": "vite build --mode=staging",
42
+ "build:storybook": "storybook build",
42
43
  "stats": "STATS=1 vite build",
43
44
  "size": "yarn run build && size-limit",
44
45
  "lint": "TIMING=1 eslint --ext .js,.jsx,.ts,.tsx .",
@@ -46,7 +47,6 @@
46
47
  "prepublishOnly": "yarn run build",
47
48
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
48
49
  "storybook": "storybook dev -p 6007",
49
- "build-storybook": "storybook build",
50
50
  "locale-invalidate": "txjs-cli invalidate"
51
51
  },
52
52
  "peerDependencies": {
@@ -86,7 +86,7 @@
86
86
  "tsconfig": "*",
87
87
  "tsconfig-paths-webpack-plugin": "^4.1.0",
88
88
  "typescript": "^5.6.3",
89
- "vite": "^5.4.12",
89
+ "vite": "^6.0.9",
90
90
  "vite-plugin-dts": "^4.3.0",
91
91
  "vite-plugin-svgr": "^4.2.0",
92
92
  "vitest": "^2.1.9"