@vinyasa/typography 1.0.23 → 1.0.24
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/cjs/blockquote.cjs +3 -2
- package/dist/cjs/caption.cjs +7 -3
- package/dist/cjs/caption.css +14 -2
- package/dist/cjs/code.cjs +4 -3
- package/dist/cjs/heading.cjs +7 -3
- package/dist/cjs/heading.css +14 -2
- package/dist/cjs/index.cjs +15 -8
- package/dist/cjs/index.css +14 -2
- package/dist/cjs/kbd.cjs +3 -2
- package/dist/cjs/label.cjs +7 -3
- package/dist/cjs/label.css +14 -2
- package/dist/cjs/link.cjs +7 -3
- package/dist/cjs/link.css +14 -2
- package/dist/cjs/markdown-renderer.cjs +12 -6
- package/dist/cjs/markdown-renderer.css +14 -2
- package/dist/cjs/paragraph.cjs +7 -3
- package/dist/cjs/paragraph.css +14 -2
- package/dist/cjs/text.cjs +8 -4
- package/dist/cjs/text.css +14 -2
- package/dist/esm/191.css +14 -2
- package/dist/esm/191.js +8 -3
- package/dist/esm/651.js +4 -2
- package/dist/esm/783.js +3 -1
- package/dist/esm/919.js +3 -1
- package/dist/esm/components/text/Text.css.d.ts +9 -0
- package/dist/esm/components/text/Text.d.ts +1 -1
- package/package.json +5 -5
package/dist/cjs/blockquote.cjs
CHANGED
|
@@ -31,8 +31,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31
31
|
default: ()=>blockquote_Blockquote
|
|
32
32
|
});
|
|
33
33
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
|
-
const external_react_namespaceObject = require("react");
|
|
35
34
|
const tokens_namespaceObject = require("@vinyasa/tokens");
|
|
35
|
+
const external_react_namespaceObject = require("react");
|
|
36
36
|
const space = {
|
|
37
37
|
1: tokens_namespaceObject.themeContract.space1,
|
|
38
38
|
2: tokens_namespaceObject.themeContract.space2,
|
|
@@ -209,6 +209,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
209
209
|
"style",
|
|
210
210
|
"children"
|
|
211
211
|
]), [ref] = _rest;
|
|
212
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
212
213
|
const classes = className ? `${blockquote} ${className}` : blockquote;
|
|
213
214
|
const computedStyle = _object_spread({}, resolveSpacingStyle({
|
|
214
215
|
m,
|
|
@@ -227,7 +228,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
227
228
|
py
|
|
228
229
|
}), style);
|
|
229
230
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("blockquote", _object_spread_props(_object_spread({
|
|
230
|
-
ref:
|
|
231
|
+
ref: themedRef,
|
|
231
232
|
className: classes,
|
|
232
233
|
style: computedStyle
|
|
233
234
|
}, rest), {
|
package/dist/cjs/caption.cjs
CHANGED
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/caption.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/cjs/code.cjs
CHANGED
|
@@ -31,8 +31,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31
31
|
default: ()=>code_Code
|
|
32
32
|
});
|
|
33
33
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
|
-
const external_react_namespaceObject = require("react");
|
|
35
34
|
const tokens_namespaceObject = require("@vinyasa/tokens");
|
|
35
|
+
const external_react_namespaceObject = require("react");
|
|
36
36
|
const space = {
|
|
37
37
|
1: tokens_namespaceObject.themeContract.space1,
|
|
38
38
|
2: tokens_namespaceObject.themeContract.space2,
|
|
@@ -308,6 +308,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
308
308
|
"style",
|
|
309
309
|
"children"
|
|
310
310
|
]), [ref] = _rest;
|
|
311
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
311
312
|
const classes = className ? `${code({
|
|
312
313
|
block
|
|
313
314
|
})} ${className}` : code({
|
|
@@ -330,7 +331,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
330
331
|
py
|
|
331
332
|
}), style);
|
|
332
333
|
if (block) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", _object_spread_props(_object_spread({
|
|
333
|
-
ref:
|
|
334
|
+
ref: themedRef,
|
|
334
335
|
className: classes,
|
|
335
336
|
style: computedStyle
|
|
336
337
|
}, rest), {
|
|
@@ -339,7 +340,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
339
340
|
})
|
|
340
341
|
}));
|
|
341
342
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("code", _object_spread_props(_object_spread({
|
|
342
|
-
ref:
|
|
343
|
+
ref: themedRef,
|
|
343
344
|
className: classes,
|
|
344
345
|
style: computedStyle
|
|
345
346
|
}, rest), {
|
package/dist/cjs/heading.cjs
CHANGED
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/heading.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -49,8 +49,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
49
49
|
Text: ()=>text_Text
|
|
50
50
|
});
|
|
51
51
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
52
|
-
const external_react_namespaceObject = require("react");
|
|
53
52
|
const tokens_namespaceObject = require("@vinyasa/tokens");
|
|
53
|
+
const external_react_namespaceObject = require("react");
|
|
54
54
|
const space = {
|
|
55
55
|
1: tokens_namespaceObject.themeContract.space1,
|
|
56
56
|
2: tokens_namespaceObject.themeContract.space2,
|
|
@@ -227,6 +227,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
227
227
|
"style",
|
|
228
228
|
"children"
|
|
229
229
|
]), [ref] = _rest;
|
|
230
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
230
231
|
const classes = className ? `${blockquote} ${className}` : blockquote;
|
|
231
232
|
const computedStyle = _object_spread({}, resolveSpacingStyle({
|
|
232
233
|
m,
|
|
@@ -245,7 +246,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
245
246
|
py
|
|
246
247
|
}), style);
|
|
247
248
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("blockquote", _object_spread_props(_object_spread({
|
|
248
|
-
ref:
|
|
249
|
+
ref: themedRef,
|
|
249
250
|
className: classes,
|
|
250
251
|
style: computedStyle
|
|
251
252
|
}, rest), {
|
|
@@ -368,10 +369,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
368
369
|
default: '_4sie9wg',
|
|
369
370
|
muted: '_4sie9wh',
|
|
370
371
|
primary: '_4sie9wi',
|
|
371
|
-
|
|
372
|
+
info: '_4sie9wj',
|
|
373
|
+
success: '_4sie9wk',
|
|
374
|
+
warning: '_4sie9wl',
|
|
375
|
+
error: '_4sie9wm'
|
|
372
376
|
},
|
|
373
377
|
truncate: {
|
|
374
|
-
true: '
|
|
378
|
+
true: '_4sie9wn'
|
|
375
379
|
}
|
|
376
380
|
},
|
|
377
381
|
defaultVariants: {
|
|
@@ -488,6 +492,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
488
492
|
"style",
|
|
489
493
|
"children"
|
|
490
494
|
]), [ref] = _rest;
|
|
495
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
491
496
|
const classes = className ? `${Text_css_text({
|
|
492
497
|
size,
|
|
493
498
|
weight,
|
|
@@ -518,7 +523,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
518
523
|
py
|
|
519
524
|
});
|
|
520
525
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, Text_object_spread_props(Text_object_spread({
|
|
521
|
-
ref:
|
|
526
|
+
ref: themedRef,
|
|
522
527
|
className: classes,
|
|
523
528
|
style: Text_object_spread({}, spacingStyle, style)
|
|
524
529
|
}, rest), {
|
|
@@ -718,6 +723,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
718
723
|
"style",
|
|
719
724
|
"children"
|
|
720
725
|
]), [ref] = _rest;
|
|
726
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
721
727
|
const classes = className ? `${code({
|
|
722
728
|
block
|
|
723
729
|
})} ${className}` : code({
|
|
@@ -740,7 +746,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
740
746
|
py
|
|
741
747
|
}), style);
|
|
742
748
|
if (block) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", Code_object_spread_props(Code_object_spread({
|
|
743
|
-
ref:
|
|
749
|
+
ref: themedRef,
|
|
744
750
|
className: classes,
|
|
745
751
|
style: computedStyle
|
|
746
752
|
}, rest), {
|
|
@@ -749,7 +755,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
749
755
|
})
|
|
750
756
|
}));
|
|
751
757
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("code", Code_object_spread_props(Code_object_spread({
|
|
752
|
-
ref:
|
|
758
|
+
ref: themedRef,
|
|
753
759
|
className: classes,
|
|
754
760
|
style: computedStyle
|
|
755
761
|
}, rest), {
|
|
@@ -945,6 +951,7 @@ const Kbd = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _1
|
|
|
945
951
|
"style",
|
|
946
952
|
"children"
|
|
947
953
|
]), [ref] = _rest;
|
|
954
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
948
955
|
const classes = className ? `${kbd} ${className}` : kbd;
|
|
949
956
|
const computedStyle = Kbd_object_spread({}, resolveSpacingStyle({
|
|
950
957
|
m,
|
|
@@ -963,7 +970,7 @@ const Kbd = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _1
|
|
|
963
970
|
py
|
|
964
971
|
}), style);
|
|
965
972
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("kbd", Kbd_object_spread_props(Kbd_object_spread({
|
|
966
|
-
ref:
|
|
973
|
+
ref: themedRef,
|
|
967
974
|
className: classes,
|
|
968
975
|
style: computedStyle
|
|
969
976
|
}, rest), {
|
package/dist/cjs/index.css
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
._4sie9wg {
|
|
103
|
-
color: var(--vinyasa-
|
|
103
|
+
color: var(--vinyasa-text-default);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
._4sie9wh {
|
|
@@ -112,10 +112,22 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
._4sie9wj {
|
|
115
|
-
color: var(--vinyasa-
|
|
115
|
+
color: var(--vinyasa-status-info-text);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
._4sie9wk {
|
|
119
|
+
color: var(--vinyasa-status-success-text);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
._4sie9wl {
|
|
123
|
+
color: var(--vinyasa-status-warning-text);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
._4sie9wm {
|
|
127
|
+
color: var(--vinyasa-status-error-text);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
._4sie9wn {
|
|
119
131
|
text-overflow: ellipsis;
|
|
120
132
|
white-space: nowrap;
|
|
121
133
|
overflow: hidden;
|
package/dist/cjs/kbd.cjs
CHANGED
|
@@ -31,8 +31,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31
31
|
default: ()=>kbd_Kbd
|
|
32
32
|
});
|
|
33
33
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
|
-
const external_react_namespaceObject = require("react");
|
|
35
34
|
const tokens_namespaceObject = require("@vinyasa/tokens");
|
|
35
|
+
const external_react_namespaceObject = require("react");
|
|
36
36
|
const space = {
|
|
37
37
|
1: tokens_namespaceObject.themeContract.space1,
|
|
38
38
|
2: tokens_namespaceObject.themeContract.space2,
|
|
@@ -209,6 +209,7 @@ const Kbd = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _1
|
|
|
209
209
|
"style",
|
|
210
210
|
"children"
|
|
211
211
|
]), [ref] = _rest;
|
|
212
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
212
213
|
const classes = className ? `${kbd} ${className}` : kbd;
|
|
213
214
|
const computedStyle = _object_spread({}, resolveSpacingStyle({
|
|
214
215
|
m,
|
|
@@ -227,7 +228,7 @@ const Kbd = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _1
|
|
|
227
228
|
py
|
|
228
229
|
}), style);
|
|
229
230
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("kbd", _object_spread_props(_object_spread({
|
|
230
|
-
ref:
|
|
231
|
+
ref: themedRef,
|
|
231
232
|
className: classes,
|
|
232
233
|
style: computedStyle
|
|
233
234
|
}, rest), {
|
package/dist/cjs/label.cjs
CHANGED
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/label.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/cjs/link.cjs
CHANGED
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/link.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
|
@@ -222,6 +222,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
222
222
|
"style",
|
|
223
223
|
"children"
|
|
224
224
|
]), [ref] = _rest;
|
|
225
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
225
226
|
const classes = className ? `${blockquote} ${className}` : blockquote;
|
|
226
227
|
const computedStyle = _object_spread({}, resolveSpacingStyle({
|
|
227
228
|
m,
|
|
@@ -240,7 +241,7 @@ const Blockquote = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(
|
|
|
240
241
|
py
|
|
241
242
|
}), style);
|
|
242
243
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("blockquote", _object_spread_props(_object_spread({
|
|
243
|
-
ref:
|
|
244
|
+
ref: themedRef,
|
|
244
245
|
className: classes,
|
|
245
246
|
style: computedStyle
|
|
246
247
|
}, rest), {
|
|
@@ -450,6 +451,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
450
451
|
"style",
|
|
451
452
|
"children"
|
|
452
453
|
]), [ref] = _rest;
|
|
454
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
453
455
|
const classes = className ? `${code({
|
|
454
456
|
block
|
|
455
457
|
})} ${className}` : code({
|
|
@@ -472,7 +474,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
472
474
|
py
|
|
473
475
|
}), style);
|
|
474
476
|
if (block) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("pre", Code_object_spread_props(Code_object_spread({
|
|
475
|
-
ref:
|
|
477
|
+
ref: themedRef,
|
|
476
478
|
className: classes,
|
|
477
479
|
style: computedStyle
|
|
478
480
|
}, rest), {
|
|
@@ -481,7 +483,7 @@ const Code = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
481
483
|
})
|
|
482
484
|
}));
|
|
483
485
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("code", Code_object_spread_props(Code_object_spread({
|
|
484
|
-
ref:
|
|
486
|
+
ref: themedRef,
|
|
485
487
|
className: classes,
|
|
486
488
|
style: computedStyle
|
|
487
489
|
}, rest), {
|
|
@@ -518,10 +520,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
518
520
|
default: '_4sie9wg',
|
|
519
521
|
muted: '_4sie9wh',
|
|
520
522
|
primary: '_4sie9wi',
|
|
521
|
-
|
|
523
|
+
info: '_4sie9wj',
|
|
524
|
+
success: '_4sie9wk',
|
|
525
|
+
warning: '_4sie9wl',
|
|
526
|
+
error: '_4sie9wm'
|
|
522
527
|
},
|
|
523
528
|
truncate: {
|
|
524
|
-
true: '
|
|
529
|
+
true: '_4sie9wn'
|
|
525
530
|
}
|
|
526
531
|
},
|
|
527
532
|
defaultVariants: {
|
|
@@ -638,6 +643,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
638
643
|
"style",
|
|
639
644
|
"children"
|
|
640
645
|
]), [ref] = _rest;
|
|
646
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
641
647
|
const classes = className ? `${Text_css_text({
|
|
642
648
|
size,
|
|
643
649
|
weight,
|
|
@@ -668,7 +674,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
668
674
|
py
|
|
669
675
|
});
|
|
670
676
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, Text_object_spread_props(Text_object_spread({
|
|
671
|
-
ref:
|
|
677
|
+
ref: themedRef,
|
|
672
678
|
className: classes,
|
|
673
679
|
style: Text_object_spread({}, spacingStyle, style)
|
|
674
680
|
}, rest), {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
._4sie9wg {
|
|
124
|
-
color: var(--vinyasa-
|
|
124
|
+
color: var(--vinyasa-text-default);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
._4sie9wh {
|
|
@@ -133,10 +133,22 @@
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
._4sie9wj {
|
|
136
|
-
color: var(--vinyasa-
|
|
136
|
+
color: var(--vinyasa-status-info-text);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
._4sie9wk {
|
|
140
|
+
color: var(--vinyasa-status-success-text);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
._4sie9wl {
|
|
144
|
+
color: var(--vinyasa-status-warning-text);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
._4sie9wm {
|
|
148
|
+
color: var(--vinyasa-status-error-text);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
._4sie9wn {
|
|
140
152
|
text-overflow: ellipsis;
|
|
141
153
|
white-space: nowrap;
|
|
142
154
|
overflow: hidden;
|
package/dist/cjs/paragraph.cjs
CHANGED
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/paragraph.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/cjs/text.cjs
CHANGED
|
@@ -31,8 +31,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
31
31
|
default: ()=>text_Text
|
|
32
32
|
});
|
|
33
33
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
|
-
const external_react_namespaceObject = require("react");
|
|
35
34
|
const tokens_namespaceObject = require("@vinyasa/tokens");
|
|
35
|
+
const external_react_namespaceObject = require("react");
|
|
36
36
|
const space = {
|
|
37
37
|
1: tokens_namespaceObject.themeContract.space1,
|
|
38
38
|
2: tokens_namespaceObject.themeContract.space2,
|
|
@@ -221,10 +221,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
221
221
|
default: '_4sie9wg',
|
|
222
222
|
muted: '_4sie9wh',
|
|
223
223
|
primary: '_4sie9wi',
|
|
224
|
-
|
|
224
|
+
info: '_4sie9wj',
|
|
225
|
+
success: '_4sie9wk',
|
|
226
|
+
warning: '_4sie9wl',
|
|
227
|
+
error: '_4sie9wm'
|
|
225
228
|
},
|
|
226
229
|
truncate: {
|
|
227
|
-
true: '
|
|
230
|
+
true: '_4sie9wn'
|
|
228
231
|
}
|
|
229
232
|
},
|
|
230
233
|
defaultVariants: {
|
|
@@ -341,6 +344,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
341
344
|
"style",
|
|
342
345
|
"children"
|
|
343
346
|
]), [ref] = _rest;
|
|
347
|
+
const themedRef = (0, tokens_namespaceObject.useThemedRef)(ref);
|
|
344
348
|
const classes = className ? `${Text_css_text({
|
|
345
349
|
size,
|
|
346
350
|
weight,
|
|
@@ -371,7 +375,7 @@ const Text = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)((_0, _
|
|
|
371
375
|
py
|
|
372
376
|
});
|
|
373
377
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Component, _object_spread_props(_object_spread({
|
|
374
|
-
ref:
|
|
378
|
+
ref: themedRef,
|
|
375
379
|
className: classes,
|
|
376
380
|
style: _object_spread({}, spacingStyle, style)
|
|
377
381
|
}, rest), {
|
package/dist/cjs/text.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/esm/191.css
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
._4sie9wg {
|
|
67
|
-
color: var(--vinyasa-
|
|
67
|
+
color: var(--vinyasa-text-default);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
._4sie9wh {
|
|
@@ -76,10 +76,22 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
._4sie9wj {
|
|
79
|
-
color: var(--vinyasa-
|
|
79
|
+
color: var(--vinyasa-status-info-text);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
._4sie9wk {
|
|
83
|
+
color: var(--vinyasa-status-success-text);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._4sie9wl {
|
|
87
|
+
color: var(--vinyasa-status-warning-text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._4sie9wm {
|
|
91
|
+
color: var(--vinyasa-status-error-text);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
._4sie9wn {
|
|
83
95
|
text-overflow: ellipsis;
|
|
84
96
|
white-space: nowrap;
|
|
85
97
|
overflow: hidden;
|
package/dist/esm/191.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "./191.css";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useThemedRef } from "@vinyasa/tokens";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { createRuntimeFn } from "./953.js";
|
|
5
6
|
import { resolveSpacingStyle } from "./474.js";
|
|
@@ -31,10 +32,13 @@ var Text_css_text = createRuntimeFn({
|
|
|
31
32
|
default: '_4sie9wg',
|
|
32
33
|
muted: '_4sie9wh',
|
|
33
34
|
primary: '_4sie9wi',
|
|
34
|
-
|
|
35
|
+
info: '_4sie9wj',
|
|
36
|
+
success: '_4sie9wk',
|
|
37
|
+
warning: '_4sie9wl',
|
|
38
|
+
error: '_4sie9wm'
|
|
35
39
|
},
|
|
36
40
|
truncate: {
|
|
37
|
-
true: '
|
|
41
|
+
true: '_4sie9wn'
|
|
38
42
|
}
|
|
39
43
|
},
|
|
40
44
|
defaultVariants: {
|
|
@@ -45,6 +49,7 @@ var Text_css_text = createRuntimeFn({
|
|
|
45
49
|
compoundVariants: []
|
|
46
50
|
});
|
|
47
51
|
const Text = /*#__PURE__*/ forwardRef(({ as: Component = 'span', size, weight, align, color, truncate, m, mt, mr, mb, ml, mx, my, p, pt, pr, pb, pl, px, py, className, style, children, ...rest }, ref)=>{
|
|
52
|
+
const themedRef = useThemedRef(ref);
|
|
48
53
|
const classes = className ? `${Text_css_text({
|
|
49
54
|
size,
|
|
50
55
|
weight,
|
|
@@ -75,7 +80,7 @@ const Text = /*#__PURE__*/ forwardRef(({ as: Component = 'span', size, weight, a
|
|
|
75
80
|
py
|
|
76
81
|
});
|
|
77
82
|
return /*#__PURE__*/ jsx(Component, {
|
|
78
|
-
ref:
|
|
83
|
+
ref: themedRef,
|
|
79
84
|
className: classes,
|
|
80
85
|
style: {
|
|
81
86
|
...spacingStyle,
|
package/dist/esm/651.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "./651.css";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useThemedRef } from "@vinyasa/tokens";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { createRuntimeFn } from "./953.js";
|
|
5
6
|
import { resolveSpacingStyle } from "./474.js";
|
|
@@ -17,6 +18,7 @@ var code = createRuntimeFn({
|
|
|
17
18
|
compoundVariants: []
|
|
18
19
|
});
|
|
19
20
|
const Code = /*#__PURE__*/ forwardRef(({ block = false, m, mt, mr, mb, ml, mx, my, p, pt, pr, pb, pl, px, py, className, style, children, ...rest }, ref)=>{
|
|
21
|
+
const themedRef = useThemedRef(ref);
|
|
20
22
|
const classes = className ? `${code({
|
|
21
23
|
block
|
|
22
24
|
})} ${className}` : code({
|
|
@@ -42,7 +44,7 @@ const Code = /*#__PURE__*/ forwardRef(({ block = false, m, mt, mr, mb, ml, mx, m
|
|
|
42
44
|
...style
|
|
43
45
|
};
|
|
44
46
|
if (block) return /*#__PURE__*/ jsx("pre", {
|
|
45
|
-
ref:
|
|
47
|
+
ref: themedRef,
|
|
46
48
|
className: classes,
|
|
47
49
|
style: computedStyle,
|
|
48
50
|
...rest,
|
|
@@ -51,7 +53,7 @@ const Code = /*#__PURE__*/ forwardRef(({ block = false, m, mt, mr, mb, ml, mx, m
|
|
|
51
53
|
})
|
|
52
54
|
});
|
|
53
55
|
return /*#__PURE__*/ jsx("code", {
|
|
54
|
-
ref:
|
|
56
|
+
ref: themedRef,
|
|
55
57
|
className: classes,
|
|
56
58
|
style: computedStyle,
|
|
57
59
|
...rest,
|
package/dist/esm/783.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import "./783.css";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useThemedRef } from "@vinyasa/tokens";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { resolveSpacingStyle } from "./474.js";
|
|
5
6
|
var blockquote = 'adxw6l0';
|
|
6
7
|
const Blockquote = /*#__PURE__*/ forwardRef(({ m, mt, mr, mb, ml, mx, my, p, pt, pr, pb, pl, px, py, className, style, children, ...rest }, ref)=>{
|
|
8
|
+
const themedRef = useThemedRef(ref);
|
|
7
9
|
const classes = className ? `${blockquote} ${className}` : blockquote;
|
|
8
10
|
const computedStyle = {
|
|
9
11
|
...resolveSpacingStyle({
|
|
@@ -25,7 +27,7 @@ const Blockquote = /*#__PURE__*/ forwardRef(({ m, mt, mr, mb, ml, mx, my, p, pt,
|
|
|
25
27
|
...style
|
|
26
28
|
};
|
|
27
29
|
return /*#__PURE__*/ jsx("blockquote", {
|
|
28
|
-
ref:
|
|
30
|
+
ref: themedRef,
|
|
29
31
|
className: classes,
|
|
30
32
|
style: computedStyle,
|
|
31
33
|
...rest,
|
package/dist/esm/919.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import "./919.css";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useThemedRef } from "@vinyasa/tokens";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { resolveSpacingStyle } from "./474.js";
|
|
5
6
|
var kbd = '_18ahdyj0';
|
|
6
7
|
const Kbd = /*#__PURE__*/ forwardRef(({ m, mt, mr, mb, ml, mx, my, p, pt, pr, pb, pl, px, py, className, style, children, ...rest }, ref)=>{
|
|
8
|
+
const themedRef = useThemedRef(ref);
|
|
7
9
|
const classes = className ? `${kbd} ${className}` : kbd;
|
|
8
10
|
const computedStyle = {
|
|
9
11
|
...resolveSpacingStyle({
|
|
@@ -25,7 +27,7 @@ const Kbd = /*#__PURE__*/ forwardRef(({ m, mt, mr, mb, ml, mx, my, p, pt, pr, pb
|
|
|
25
27
|
...style
|
|
26
28
|
};
|
|
27
29
|
return /*#__PURE__*/ jsx("kbd", {
|
|
28
|
-
ref:
|
|
30
|
+
ref: themedRef,
|
|
29
31
|
className: classes,
|
|
30
32
|
style: computedStyle,
|
|
31
33
|
...rest,
|
|
@@ -60,6 +60,15 @@ export declare const text: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
60
60
|
primary: {
|
|
61
61
|
color: `var(--${string})`;
|
|
62
62
|
};
|
|
63
|
+
info: {
|
|
64
|
+
color: `var(--${string})`;
|
|
65
|
+
};
|
|
66
|
+
success: {
|
|
67
|
+
color: `var(--${string})`;
|
|
68
|
+
};
|
|
69
|
+
warning: {
|
|
70
|
+
color: `var(--${string})`;
|
|
71
|
+
};
|
|
63
72
|
error: {
|
|
64
73
|
color: `var(--${string})`;
|
|
65
74
|
};
|
|
@@ -8,7 +8,7 @@ declare const Text: import("react").ForwardRefExoticComponent<PolymorphicProps &
|
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | undefined;
|
|
9
9
|
weight?: "medium" | "bold" | "regular" | "semibold" | undefined;
|
|
10
10
|
align?: "left" | "right" | "center" | undefined;
|
|
11
|
-
color?: "default" | "muted" | "primary" | "error" | undefined;
|
|
11
|
+
color?: "default" | "muted" | "primary" | "info" | "success" | "warning" | "error" | undefined;
|
|
12
12
|
truncate?: boolean | undefined;
|
|
13
13
|
} & SpacingProps & import("react").RefAttributes<HTMLElement>>;
|
|
14
14
|
export default Text;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinyasa/typography",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"react": "^18.0.0 || ^19.0.0",
|
|
101
101
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
102
|
-
"@vinyasa/
|
|
103
|
-
"@vinyasa/
|
|
102
|
+
"@vinyasa/layout": "^1.0.24",
|
|
103
|
+
"@vinyasa/tokens": "^1.0.24"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"react-markdown": "^10.1.0"
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"@vanilla-extract/vite-plugin": "^5.2.3",
|
|
117
117
|
"@vanilla-extract/webpack-plugin": "^2.3.27",
|
|
118
118
|
"typescript": "^5.7.3",
|
|
119
|
-
"@vinyasa/layout": "1.0.
|
|
120
|
-
"@vinyasa/tokens": "1.0.
|
|
119
|
+
"@vinyasa/layout": "1.0.24",
|
|
120
|
+
"@vinyasa/tokens": "1.0.24"
|
|
121
121
|
},
|
|
122
122
|
"scripts": {
|
|
123
123
|
"build": "rslib build && node ../../scripts/postbuild-package.mjs",
|