@takumi-rs/helpers 0.29.3 → 0.29.5
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/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-
|
|
2
|
-
export { A as AnyNode, J as JsonValue, N as Node } from './types-
|
|
1
|
+
import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-BQVVNqov.cjs';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-BQVVNqov.cjs';
|
|
3
3
|
|
|
4
4
|
declare function container(props: Omit<ContainerNode, "type">): ContainerNode;
|
|
5
5
|
declare function text(text: string, style?: PartialStyle): TextNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-
|
|
2
|
-
export { A as AnyNode, J as JsonValue, N as Node } from './types-
|
|
1
|
+
import { C as ContainerNode, P as PartialStyle, T as TextNode, I as ImageNode, S as Style, a as Color } from './types-BQVVNqov.js';
|
|
2
|
+
export { A as AnyNode, J as JsonValue, N as Node } from './types-BQVVNqov.js';
|
|
3
3
|
|
|
4
4
|
declare function container(props: Omit<ContainerNode, "type">): ContainerNode;
|
|
5
5
|
declare function text(text: string, style?: PartialStyle): TextNode;
|
package/dist/jsx/jsx.d.cts
CHANGED
package/dist/jsx/jsx.d.ts
CHANGED
|
@@ -303,54 +303,26 @@ type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
|
|
|
303
303
|
*/
|
|
304
304
|
type FontFamily = string;
|
|
305
305
|
|
|
306
|
-
/**
|
|
307
|
-
* Represents a single font feature setting with a feature tag and value.
|
|
308
|
-
*/
|
|
309
|
-
type FontFeatureSetting = {
|
|
310
|
-
/**
|
|
311
|
-
* The four-character OpenType feature tag (e.g., "liga", "kern", "smcp")
|
|
312
|
-
*/
|
|
313
|
-
tag: string;
|
|
314
|
-
/**
|
|
315
|
-
* The numeric value for this feature (usually 0 or 1, but can be other values)
|
|
316
|
-
*/
|
|
317
|
-
value: number;
|
|
318
|
-
};
|
|
319
|
-
|
|
320
306
|
/**
|
|
321
307
|
* Controls OpenType font features via CSS font-feature-settings property.
|
|
322
308
|
*
|
|
323
309
|
* This allows enabling/disabling specific typographic features in OpenType fonts
|
|
324
310
|
* such as ligatures, kerning, small caps, and other advanced typography features.
|
|
325
311
|
*/
|
|
326
|
-
type FontFeatureSettings =
|
|
312
|
+
type FontFeatureSettings = string;
|
|
327
313
|
|
|
328
314
|
/**
|
|
329
315
|
* Controls the slant (italic/oblique) of text rendering.
|
|
330
316
|
*/
|
|
331
317
|
type FontStyle = "normal" | "italic" | "oblique" | `oblique ${string}deg`;
|
|
332
318
|
|
|
333
|
-
/**
|
|
334
|
-
* Represents a single font variation setting with an axis name and value.
|
|
335
|
-
*/
|
|
336
|
-
type FontVariationSetting = {
|
|
337
|
-
/**
|
|
338
|
-
* The four-character axis name (e.g., "wght", "wdth", "ital")
|
|
339
|
-
*/
|
|
340
|
-
axis: string;
|
|
341
|
-
/**
|
|
342
|
-
* The numeric value for this axis
|
|
343
|
-
*/
|
|
344
|
-
value: number;
|
|
345
|
-
};
|
|
346
|
-
|
|
347
319
|
/**
|
|
348
320
|
* Controls variable font axis values via CSS font-variation-settings property.
|
|
349
321
|
*
|
|
350
322
|
* This allows fine-grained control over variable font characteristics like weight,
|
|
351
323
|
* width, slant, and other custom axes defined in the font.
|
|
352
324
|
*/
|
|
353
|
-
type FontVariationSettings =
|
|
325
|
+
type FontVariationSettings = string;
|
|
354
326
|
|
|
355
327
|
/**
|
|
356
328
|
* Represents font weight value.
|
|
@@ -303,54 +303,26 @@ type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
|
|
|
303
303
|
*/
|
|
304
304
|
type FontFamily = string;
|
|
305
305
|
|
|
306
|
-
/**
|
|
307
|
-
* Represents a single font feature setting with a feature tag and value.
|
|
308
|
-
*/
|
|
309
|
-
type FontFeatureSetting = {
|
|
310
|
-
/**
|
|
311
|
-
* The four-character OpenType feature tag (e.g., "liga", "kern", "smcp")
|
|
312
|
-
*/
|
|
313
|
-
tag: string;
|
|
314
|
-
/**
|
|
315
|
-
* The numeric value for this feature (usually 0 or 1, but can be other values)
|
|
316
|
-
*/
|
|
317
|
-
value: number;
|
|
318
|
-
};
|
|
319
|
-
|
|
320
306
|
/**
|
|
321
307
|
* Controls OpenType font features via CSS font-feature-settings property.
|
|
322
308
|
*
|
|
323
309
|
* This allows enabling/disabling specific typographic features in OpenType fonts
|
|
324
310
|
* such as ligatures, kerning, small caps, and other advanced typography features.
|
|
325
311
|
*/
|
|
326
|
-
type FontFeatureSettings =
|
|
312
|
+
type FontFeatureSettings = string;
|
|
327
313
|
|
|
328
314
|
/**
|
|
329
315
|
* Controls the slant (italic/oblique) of text rendering.
|
|
330
316
|
*/
|
|
331
317
|
type FontStyle = "normal" | "italic" | "oblique" | `oblique ${string}deg`;
|
|
332
318
|
|
|
333
|
-
/**
|
|
334
|
-
* Represents a single font variation setting with an axis name and value.
|
|
335
|
-
*/
|
|
336
|
-
type FontVariationSetting = {
|
|
337
|
-
/**
|
|
338
|
-
* The four-character axis name (e.g., "wght", "wdth", "ital")
|
|
339
|
-
*/
|
|
340
|
-
axis: string;
|
|
341
|
-
/**
|
|
342
|
-
* The numeric value for this axis
|
|
343
|
-
*/
|
|
344
|
-
value: number;
|
|
345
|
-
};
|
|
346
|
-
|
|
347
319
|
/**
|
|
348
320
|
* Controls variable font axis values via CSS font-variation-settings property.
|
|
349
321
|
*
|
|
350
322
|
* This allows fine-grained control over variable font characteristics like weight,
|
|
351
323
|
* width, slant, and other custom axes defined in the font.
|
|
352
324
|
*/
|
|
353
|
-
type FontVariationSettings =
|
|
325
|
+
type FontVariationSettings = string;
|
|
354
326
|
|
|
355
327
|
/**
|
|
356
328
|
* Represents font weight value.
|