qstd 0.3.33 → 0.3.34

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.
@@ -220,9 +220,9 @@ var preset = {
220
220
  }
221
221
  },
222
222
  debug: {
223
- values: { type: "boolean | string" },
223
+ values: { type: "boolean" },
224
224
  transform(value) {
225
- if (value === true) return { outline: "1px solid red" };
225
+ if (value === true) return { border: "1px solid red" };
226
226
  if (typeof value === "string") {
227
227
  const parts = value.trim().split(/\s+/);
228
228
  let borderWidth = "1px", borderStyle = "solid", borderColor = "red";
@@ -254,12 +254,12 @@ var preset = {
254
254
  const shouldWrap = !isKeyword && !isHex && !isFunc && !isVarRef && (looksLikeScaleToken || looksLikeSemanticToken);
255
255
  const normalizedBorderColor = shouldWrap ? `var(--colors-${borderColor.replace(/\./g, "-")})` : borderColor;
256
256
  return {
257
- outlineWidth: borderWidth,
258
- outlineStyle: borderStyle,
259
- outlineColor: normalizedBorderColor
257
+ borderWidth,
258
+ borderStyle,
259
+ borderColor: normalizedBorderColor
260
260
  };
261
261
  }
262
- return { outline: "1px solid red" };
262
+ return { border: "1px solid red" };
263
263
  }
264
264
  },
265
265
  cols: {
@@ -218,9 +218,9 @@ var preset = {
218
218
  }
219
219
  },
220
220
  debug: {
221
- values: { type: "boolean | string" },
221
+ values: { type: "boolean" },
222
222
  transform(value) {
223
- if (value === true) return { outline: "1px solid red" };
223
+ if (value === true) return { border: "1px solid red" };
224
224
  if (typeof value === "string") {
225
225
  const parts = value.trim().split(/\s+/);
226
226
  let borderWidth = "1px", borderStyle = "solid", borderColor = "red";
@@ -252,12 +252,12 @@ var preset = {
252
252
  const shouldWrap = !isKeyword && !isHex && !isFunc && !isVarRef && (looksLikeScaleToken || looksLikeSemanticToken);
253
253
  const normalizedBorderColor = shouldWrap ? `var(--colors-${borderColor.replace(/\./g, "-")})` : borderColor;
254
254
  return {
255
- outlineWidth: borderWidth,
256
- outlineStyle: borderStyle,
257
- outlineColor: normalizedBorderColor
255
+ borderWidth,
256
+ borderStyle,
257
+ borderColor: normalizedBorderColor
258
258
  };
259
259
  }
260
- return { outline: "1px solid red" };
260
+ return { border: "1px solid red" };
261
261
  }
262
262
  },
263
263
  cols: {
@@ -1,4 +1,3 @@
1
- /// <reference lib="dom" />
2
1
  /**
3
2
  * React module - Block component, hooks, and types
4
3
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qstd",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "description": "Standard Block component and utilities library with Panda CSS",
5
5
  "author": "malin1",
6
6
  "license": "MIT",
@@ -205,7 +205,7 @@ export interface UtilityValues {
205
205
  stroke: Tokens["colors"];
206
206
  strokeWidth: number;
207
207
  srOnly: boolean;
208
- debug: boolean | string;
208
+ debug: boolean;
209
209
  containerName: CssProperties["containerName"];
210
210
  grid: boolean;
211
211
  center: boolean | 'x' | 'y';