@marigold/system 6.0.1 → 6.2.0
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.ts +6 -2
- package/dist/index.js +7 -3
- package/dist/index.mjs +7 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ type Theme = {
|
|
|
97
97
|
Text?: ComponentStyleFunction<string, string>;
|
|
98
98
|
TextArea?: ComponentStyleFunction<string, string>;
|
|
99
99
|
Tooltip?: Record<'container' | 'arrow', ComponentStyleFunction<string, string>>;
|
|
100
|
-
Tabs?: Record<'tabs' | 'tab', ComponentStyleFunction<string, string>>;
|
|
100
|
+
Tabs?: Record<'tabs' | 'container' | 'tabpanel' | 'tab', ComponentStyleFunction<string, string>>;
|
|
101
101
|
Underlay?: ComponentStyleFunction<string, string>;
|
|
102
102
|
Calendar?: Record<'calendar' | 'calendarCell' | 'calendarControllers', ComponentStyleFunction<string, string>>;
|
|
103
103
|
DatePicker?: Record<'container' | 'button', ComponentStyleFunction<string, string>>;
|
|
@@ -230,7 +230,7 @@ declare const fontWeight: {
|
|
|
230
230
|
thin: string;
|
|
231
231
|
extralight: string;
|
|
232
232
|
light: string;
|
|
233
|
-
|
|
233
|
+
regular: string;
|
|
234
234
|
medium: string;
|
|
235
235
|
semibold: string;
|
|
236
236
|
bold: string;
|
|
@@ -247,6 +247,10 @@ declare const textSize: {
|
|
|
247
247
|
'3xl': string;
|
|
248
248
|
'4xl': string;
|
|
249
249
|
'5xl': string;
|
|
250
|
+
'6xl': string;
|
|
251
|
+
'7xl': string;
|
|
252
|
+
'8xl': string;
|
|
253
|
+
'9xl': string;
|
|
250
254
|
};
|
|
251
255
|
declare const textStyle: {
|
|
252
256
|
italic: string;
|
package/dist/index.js
CHANGED
|
@@ -71,8 +71,8 @@ var import_react = __toESM(require("react"));
|
|
|
71
71
|
|
|
72
72
|
// src/utils.ts
|
|
73
73
|
var import_class_variance_authority = require("class-variance-authority");
|
|
74
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
75
74
|
var import_class_variance_authority2 = require("class-variance-authority");
|
|
75
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
76
76
|
var cva = (base, config) => {
|
|
77
77
|
function styles(props) {
|
|
78
78
|
return (0, import_tailwind_merge.twMerge)((0, import_class_variance_authority2.cva)(base, config)(props));
|
|
@@ -323,7 +323,7 @@ var fontWeight = {
|
|
|
323
323
|
thin: "font-thin",
|
|
324
324
|
extralight: "font-extralight",
|
|
325
325
|
light: "font-light",
|
|
326
|
-
|
|
326
|
+
regular: "font-normal",
|
|
327
327
|
medium: "font-medium",
|
|
328
328
|
semibold: "font-semibold",
|
|
329
329
|
bold: "font-bold",
|
|
@@ -339,7 +339,11 @@ var textSize = {
|
|
|
339
339
|
"2xl": "text-2xl",
|
|
340
340
|
"3xl": "text-3xl",
|
|
341
341
|
"4xl": "text-4xl",
|
|
342
|
-
"5xl": "text-5xl"
|
|
342
|
+
"5xl": "text-5xl",
|
|
343
|
+
"6xl": "text-6xl",
|
|
344
|
+
"7xl": "text-7xl",
|
|
345
|
+
"8xl": "text-8xl",
|
|
346
|
+
"9xl": "text-9xl"
|
|
343
347
|
};
|
|
344
348
|
var textStyle = {
|
|
345
349
|
italic: "italic",
|
package/dist/index.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import React, { forwardRef } from "react";
|
|
|
3
3
|
|
|
4
4
|
// src/utils.ts
|
|
5
5
|
import { cx } from "class-variance-authority";
|
|
6
|
-
import { twMerge } from "tailwind-merge";
|
|
7
6
|
import { cva as _cva } from "class-variance-authority";
|
|
7
|
+
import { twMerge } from "tailwind-merge";
|
|
8
8
|
var cva = (base, config) => {
|
|
9
9
|
function styles(props) {
|
|
10
10
|
return twMerge(_cva(base, config)(props));
|
|
@@ -255,7 +255,7 @@ var fontWeight = {
|
|
|
255
255
|
thin: "font-thin",
|
|
256
256
|
extralight: "font-extralight",
|
|
257
257
|
light: "font-light",
|
|
258
|
-
|
|
258
|
+
regular: "font-normal",
|
|
259
259
|
medium: "font-medium",
|
|
260
260
|
semibold: "font-semibold",
|
|
261
261
|
bold: "font-bold",
|
|
@@ -271,7 +271,11 @@ var textSize = {
|
|
|
271
271
|
"2xl": "text-2xl",
|
|
272
272
|
"3xl": "text-3xl",
|
|
273
273
|
"4xl": "text-4xl",
|
|
274
|
-
"5xl": "text-5xl"
|
|
274
|
+
"5xl": "text-5xl",
|
|
275
|
+
"6xl": "text-6xl",
|
|
276
|
+
"7xl": "text-7xl",
|
|
277
|
+
"8xl": "text-8xl",
|
|
278
|
+
"9xl": "text-9xl"
|
|
275
279
|
};
|
|
276
280
|
var textStyle = {
|
|
277
281
|
italic: "italic",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/system",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Marigold System Library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"class-variance-authority": "0.6.1",
|
|
28
28
|
"deepmerge": "^4.2.2",
|
|
29
29
|
"react-fast-compare": "^3.2.0",
|
|
30
|
-
"tailwind-merge": "1.
|
|
30
|
+
"tailwind-merge": "1.14.0",
|
|
31
31
|
"@marigold/types": "1.0.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "7.21.8",
|
|
39
|
-
"postcss": "8.4.
|
|
39
|
+
"postcss": "8.4.28",
|
|
40
40
|
"react": "18.2.0",
|
|
41
41
|
"tailwindcss": "3.3.3",
|
|
42
42
|
"tsup": "6.7.0",
|