@vlrc-fe/components 3.0.1 → 3.0.2
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/CHANGELOG.md +11 -0
- package/dist/Typography/Paragraph.cjs +1 -1
- package/dist/Typography/Paragraph.js +1 -1
- package/dist/Typography/Text.cjs +1 -1
- package/dist/Typography/Text.js +3 -3
- package/dist/Typography/Title.cjs +1 -1
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +2 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **Typography Color Inheritance**:
|
|
8
|
+
- `Text`, `Paragraph`, and `Title` now default to `color: inherit` instead of forcing `color: colors.foreground`.
|
|
9
|
+
- Semantic `type` prop on `Text` now applies explicit semantic color only when specified, allowing Typography primitives to naturally inherit colors inside colored containers, buttons, and badges.
|
|
10
|
+
- **Storybook Reorganization**:
|
|
11
|
+
- Reorganized all component stories into cohesive hierarchies (`Foundations/`, `Actions/`, `Feedback/`, `Forms/`, `Layout/`, `Navigation/`).
|
|
12
|
+
- Added theme switching support in Storybook preview.
|
|
13
|
+
|
|
3
14
|
## [2.8.0] - 2026-11-10
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kogj98:`x1ghz6dp`,kMwMTN:`
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kogj98:`x1ghz6dp`,kMwMTN:`x1heor9g`,kLWn49:`x1ksxc8v`,$$css:!0},sizeXxs:{kGuDYH:`x6phcfz`,kLWn49:`x37zpob`,$$css:!0},sizeXs:{kGuDYH:`x2ohwh0`,kLWn49:`xfrs9s4`,$$css:!0},sizeSm:{kGuDYH:`xboafo0`,kLWn49:`x1evy7pa`,$$css:!0},sizeMd:{kGuDYH:`xkpwil5`,kLWn49:`x1dbl2gt`,$$css:!0},sizeLg:{kGuDYH:`x1jchvi3`,kLWn49:`x1ksxc8v`,$$css:!0},sizeXl:{kGuDYH:`x1603h9y`,kLWn49:`x1dbl2gt`,$$css:!0},sizeXxl:{kGuDYH:`xngnso2`,kLWn49:`x1jjo3f5`,$$css:!0},defaultVariant:{$$css:!0},leadVariant:{kGuDYH:`x1603h9y`,kLWn49:`x1dbl2gt`,kMwMTN:`xw3nh4a`,k63SB2:`xo1l8bm`,$$css:!0},typeDefault:{kMwMTN:`x84br7x`,$$css:!0},typeSecondary:{kMwMTN:`xw3nh4a`,$$css:!0},typeMuted:{kMwMTN:`xw3nh4a`,$$css:!0},typeSuccess:{kMwMTN:`x1spsc8`,$$css:!0},typeWarning:{kMwMTN:`x7evrrw`,$$css:!0},typeDanger:{kMwMTN:`xuuroe4`,$$css:!0},typeInfo:{kMwMTN:`xb343pj`,$$css:!0},typeInherit:{kMwMTN:`x1heor9g`,$$css:!0},spacingNone:{k1K539:`xat24cr`,$$css:!0},spacingSm:{k1K539:`xhbfen4`,$$css:!0},spacingMd:{k1K539:`xyi6m4r`,$$css:!0},spacingLg:{k1K539:`x1nhhxel`,$$css:!0},alignLeft:{k9WMMc:`xdpxx8g`,$$css:!0},alignCenter:{k9WMMc:`x2b8uid`,$$css:!0},alignRight:{k9WMMc:`x1hr2gdg`,$$css:!0},alignJustify:{k9WMMc:`xmw9mke`,$$css:!0},ellipsisSingle:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,$$css:!0}},ee={xxs:c.sizeXxs,xs:c.sizeXs,sm:c.sizeSm,md:c.sizeMd,lg:c.sizeLg,xl:c.sizeXl,xxl:c.sizeXxl},l={default:c.defaultVariant,lead:c.leadVariant},u={none:c.spacingNone,sm:c.spacingSm,md:c.spacingMd,lg:c.spacingLg},d={left:c.alignLeft,center:c.alignCenter,right:c.alignRight,justify:c.alignJustify},f={default:c.typeDefault,secondary:c.typeSecondary,muted:c.typeMuted,success:c.typeSuccess,warning:c.typeWarning,danger:c.typeDanger,info:c.typeInfo,inherit:c.typeInherit},p=s.forwardRef(function({size:e=`md`,variant:o=`default`,type:s,spacing:p=`none`,align:m=`left`,weight:h,required:g,customSize:_,lines:v,rows:y,lineHeight:b,ellipsis:x,tooltip:S,textDecoration:C,textDecorationLine:w,textDecorationStyle:T,textDecorationColor:E,textDecorationThickness:D,textUnderlineOffset:O,color:k,margin:A,m:j,marginTop:M,mt:N,marginBottom:P,mb:te,marginLeft:F,ml:I,marginRight:L,mr:R,marginInline:z,mx:B,marginBlock:V,my:H,letterSpacing:U,as:W=`p`,className:G,children:K,sx:q,...J},Y){let X=v??y??(typeof x==`object`?x?.rows:void 0),Z=(x===!0||typeof x==`object`&&!!x&&!x.rows)&&!X,Q=ee[e]??c.sizeMd,ne=t.resolveCustomTypographyStyle({customSize:_,color:k,lines:v,rows:y,lineHeight:b,ellipsis:x,textDecoration:C,textDecorationLine:w,textDecorationStyle:T,textDecorationColor:E,textDecorationThickness:D,textUnderlineOffset:O,margin:A,m:j,marginTop:M,mt:N,marginBottom:P,mb:te,marginLeft:F,ml:I,marginRight:L,mr:R,marginInline:z,mx:B,marginBlock:V,my:H,letterSpacing:U}),$=i.props(c.base,Q,l[o],s&&f[s],u[p],d[m],h&&r.typographyWeightStyles[h],Z&&c.ellipsisSingle,q),re=n.resolveTooltipContent(S,x,K),ie=(0,a.jsxs)(W,{ref:Y,"data-slot":`typography-paragraph`,"data-variant":o,"data-size":e,"data-weight":h,...$,style:{...$.style,...ne},className:G?`${$.className||``} ${G}`.trim():$.className,...J,children:[K,g&&(0,a.jsx)(`span`,{"aria-hidden":`true`,className:`xuuroe4 x4aigyd x1rg5ohu xo5v014 x1s688f x87ps6o`,children:`*`})]});return n.renderWithTooltip(ie,re)});p.displayName=`Typography.Paragraph`,exports.Paragraph=p;
|
package/dist/Typography/Text.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),ee=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kMwMTN:`
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),ee=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kMwMTN:`x1heor9g`,kLWn49:`x1evy7pa`,$$css:!0},sizeXxs:{kGuDYH:`x6phcfz`,kLWn49:`x1xfvgam`,$$css:!0},sizeXs:{kGuDYH:`x2ohwh0`,kLWn49:`x37zpob`,$$css:!0},sizeSm:{kGuDYH:`xboafo0`,kLWn49:`xfrs9s4`,$$css:!0},sizeMd:{kGuDYH:`xkpwil5`,kLWn49:`x1evy7pa`,$$css:!0},sizeLg:{kGuDYH:`x1jchvi3`,kLWn49:`x1evy7pa`,$$css:!0},sizeXl:{kGuDYH:`x1603h9y`,kLWn49:`xfrs9s4`,$$css:!0},sizeXxl:{kGuDYH:`xngnso2`,kLWn49:`x37zpob`,$$css:!0},typeDefault:{kMwMTN:`x84br7x`,$$css:!0},typeSecondary:{kMwMTN:`xw3nh4a`,$$css:!0},typeMuted:{kMwMTN:`xw3nh4a`,$$css:!0},typeSuccess:{kMwMTN:`x1spsc8`,$$css:!0},typeWarning:{kMwMTN:`x7evrrw`,$$css:!0},typeDanger:{kMwMTN:`xuuroe4`,$$css:!0},typeInfo:{kMwMTN:`xb343pj`,$$css:!0},typeInherit:{kMwMTN:`x1heor9g`,$$css:!0},strong:{k63SB2:`x1xlr1w8`,$$css:!0},italic:{kKX8nH:`x1k4tb9n`,$$css:!0},underline:{kybGjl:`x1bvjpef`,$$css:!0},delete:{kybGjl:`xmqliwb`,$$css:!0},keyboard:{kMv6JI:`x17yh6e0`,kGuDYH:`x1dcheo9`,kaIpWk:`xqfady0`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`x1qry0bl`,kg3NbH:`x18a9hih`,k8WAf4:`x1dus959`,kGVxlE:`xfk7h2l`,$$css:!0},ellipsisSingle:{k1xSpc:`x1rg5ohu`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,kXLuUW:`x3ajldb`,$$css:!0}},l={xxs:c.sizeXxs,xs:c.sizeXs,sm:c.sizeSm,md:c.sizeMd,lg:c.sizeLg,xl:c.sizeXl,xxl:c.sizeXxl},u={default:c.typeDefault,secondary:c.typeSecondary,muted:c.typeMuted,success:c.typeSuccess,warning:c.typeWarning,danger:c.typeDanger,info:c.typeInfo,inherit:c.typeInherit},d=s.forwardRef(function({type:e,size:o=`md`,weight:d=`regular`,required:te,strong:f,italic:p,underline:m,delete:h,keyboard:g,customSize:_,lines:v,rows:y,lineHeight:ne,ellipsis:b,tooltip:re,textDecoration:x,textDecorationLine:S,textDecorationStyle:C,textDecorationColor:w,textDecorationThickness:T,textUnderlineOffset:E,color:D,margin:O,m:k,marginTop:A,mt:j,marginBottom:M,mb:N,marginLeft:P,ml:F,marginRight:I,mr:L,marginInline:R,mx:z,marginBlock:B,my:ie,letterSpacing:V,copyable:H,as:U,className:W,children:G,sx:K,...q},J){let[Y,X]=s.useState(!1),Z=`span`;g?Z=`kbd`:f?Z=`strong`:p?Z=`em`:h&&(Z=`del`);let Q=U||Z,ae=v??y??(typeof b==`object`?b?.rows:void 0),oe=(b===!0||typeof b==`object`&&!!b&&!b.rows)&&!ae,se=l[o]??c.sizeMd,ce=ee.resolveCustomTypographyStyle({customSize:_,color:D,lines:v,rows:y,lineHeight:ne,ellipsis:b,textDecoration:x,textDecorationLine:S,textDecorationStyle:C,textDecorationColor:w,textDecorationThickness:T,textUnderlineOffset:E,margin:O,m:k,marginTop:A,mt:j,marginBottom:M,mb:N,marginLeft:P,ml:F,marginRight:I,mr:L,marginInline:R,mx:z,marginBlock:B,my:ie,letterSpacing:V}),le=async()=>{if(typeof G==`string`)try{await navigator.clipboard.writeText(G),X(!0),setTimeout(()=>X(!1),2e3)}catch{}},$=i.props(c.base,se,e&&u[e],d&&r.typographyWeightStyles[d],f&&c.strong,p&&c.italic,m&&!x&&!S&&c.underline,h&&!x&&!S&&c.delete,g&&c.keyboard,oe&&c.ellipsisSingle,K),ue=n.resolveTooltipContent(re,b,G),de=(0,a.jsxs)(Q,{ref:J,"data-slot":`typography-text`,"data-type":e,"data-size":o,"data-weight":d,...$,style:{...$.style,...ce},className:W?`${$.className||``} ${W}`.trim():$.className,...q,children:[G,te&&(0,a.jsx)(`span`,{"aria-hidden":`true`,className:`xuuroe4 x4aigyd x1rg5ohu xo5v014 x1s688f x87ps6o`,children:`*`}),H&&(0,a.jsx)(`button`,{type:`button`,onClick:le,className:`xjyslct xc342km xjbqb8w xw3nh4a x1ypdohk xo8u9x4 x4aigyd xqfady0 x3nfvp2 x6s0dn4 xl56j7k xxymvpz x1a2a7pz x1gbuem2 xx6bhzk x8aud5w x9p52ec`,"aria-label":Y?`Copied`:`Copy text`,children:Y?(0,a.jsx)(t.Icons.Check,{className:`x1xvt488 xf08kfj`}):(0,a.jsx)(t.Icons.Copy,{className:`x1xvt488 xf08kfj`})})]});return n.renderWithTooltip(de,ue)});d.displayName=`Typography.Text`,exports.Text=d;
|
package/dist/Typography/Text.js
CHANGED
|
@@ -8,7 +8,7 @@ import * as o from "react";
|
|
|
8
8
|
// src/Typography/Text.tsx
|
|
9
9
|
var s = {
|
|
10
10
|
base: {
|
|
11
|
-
kMwMTN: "
|
|
11
|
+
kMwMTN: "x1heor9g",
|
|
12
12
|
kLWn49: "x1evy7pa",
|
|
13
13
|
$$css: !0
|
|
14
14
|
},
|
|
@@ -135,7 +135,7 @@ var s = {
|
|
|
135
135
|
danger: s.typeDanger,
|
|
136
136
|
info: s.typeInfo,
|
|
137
137
|
inherit: s.typeInherit
|
|
138
|
-
}, l = o.forwardRef(function({ type: l
|
|
138
|
+
}, l = o.forwardRef(function({ type: l, size: u = "md", weight: d = "regular", required: f, strong: p, italic: m, underline: h, delete: g, keyboard: _, customSize: re, lines: v, rows: y, lineHeight: b, ellipsis: x, tooltip: S, textDecoration: C, textDecorationLine: w, textDecorationStyle: T, textDecorationColor: E, textDecorationThickness: D, textUnderlineOffset: O, color: k, margin: A, m: j, marginTop: M, mt: N, marginBottom: P, mb: F, marginLeft: I, ml: L, marginRight: R, mr: ie, marginInline: z, mx: B, marginBlock: V, my: H, letterSpacing: U, copyable: W, as: G, className: K, children: q, sx: J, ...Y }, ae) {
|
|
139
139
|
let [X, Z] = o.useState(!1), Q = "span";
|
|
140
140
|
_ ? Q = "kbd" : p ? Q = "strong" : m ? Q = "em" : g && (Q = "del");
|
|
141
141
|
let oe = G || Q, se = v ?? y ?? (typeof x == "object" ? x?.rows : void 0), ce = (x === !0 || typeof x == "object" && !!x && !x.rows) && !se, le = c[u] ?? s.sizeMd, ue = t({
|
|
@@ -170,7 +170,7 @@ var s = {
|
|
|
170
170
|
if (typeof q == "string") try {
|
|
171
171
|
await navigator.clipboard.writeText(q), Z(!0), setTimeout(() => Z(!1), 2e3);
|
|
172
172
|
} catch {}
|
|
173
|
-
}, $ = te.props(s.base, le, ne[l], d && r[d], p && s.strong, m && s.italic, h && !C && !w && s.underline, g && !C && !w && s.delete, _ && s.keyboard, ce && s.ellipsisSingle, J), fe = n(S, x, q), pe = /* @__PURE__ */ a(oe, {
|
|
173
|
+
}, $ = te.props(s.base, le, l && ne[l], d && r[d], p && s.strong, m && s.italic, h && !C && !w && s.underline, g && !C && !w && s.delete, _ && s.keyboard, ce && s.ellipsisSingle, J), fe = n(S, x, q), pe = /* @__PURE__ */ a(oe, {
|
|
174
174
|
ref: ae,
|
|
175
175
|
"data-slot": "typography-text",
|
|
176
176
|
"data-type": l,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),ee=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kogj98:`x1ghz6dp`,k63SB2:`x1xlr1w8`,kMwMTN:`
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),ee=require("./utils.cjs"),n=require("./tooltip.cjs"),r=require("./weightStyles.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);var c={base:{kogj98:`x1ghz6dp`,k63SB2:`x1xlr1w8`,kMwMTN:`x1heor9g`,kLWn49:`x132q4wb`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,$$css:!0},sizeXxs:{kGuDYH:`x2ohwh0`,kLWn49:`xwn7fz2`,$$css:!0},sizeXs:{kGuDYH:`xboafo0`,kLWn49:`xwn7fz2`,$$css:!0},sizeSm:{kGuDYH:`xkpwil5`,kLWn49:`x1xfvgam`,$$css:!0},sizeMd:{kGuDYH:`x1jchvi3`,kLWn49:`x1xfvgam`,$$css:!0},sizeLg:{kGuDYH:`x1603h9y`,kLWn49:`xwn7fz2`,$$css:!0},sizeXl:{kGuDYH:`xngnso2`,kLWn49:`x132q4wb`,$$css:!0},sizeXxl:{kGuDYH:`x579bpy`,kLWn49:`x1u7k74`,kb6lSQ:`x72az59`,$$css:!0},defaultVariant:{$$css:!0},gradientVariant:{kKwaWg:`x1t3prov`,kBahZS:`x1t23j8t`,kUisrP:`xg7jpbn`,$$css:!0},monoVariant:{kMv6JI:`x17yh6e0`,k63SB2:`x1s688f`,$$css:!0},tight:{kb6lSQ:`xrq0m5f`,$$css:!0},normal:{kb6lSQ:`x1i21sxh`,$$css:!0},wide:{kb6lSQ:`x2ujxvm`,$$css:!0},ellipsisSingle:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,$$css:!0}},te={1:`xxl`,2:`xl`,3:`lg`,4:`md`,5:`sm`,6:`xs`},ne={xxs:c.sizeXxs,xs:c.sizeXs,sm:c.sizeSm,md:c.sizeMd,lg:c.sizeLg,xl:c.sizeXl,xxl:c.sizeXxl},re={default:c.defaultVariant,gradient:c.gradientVariant,mono:c.monoVariant},l={tight:c.tight,normal:c.normal,wide:c.wide},u=s.forwardRef(function({level:e=1,size:o,variant:u=`default`,tracking:ie=`normal`,weight:d,customSize:ae,lines:f,rows:p,lineHeight:oe,ellipsis:m,tooltip:se,textDecoration:ce,textDecorationLine:h,textDecorationStyle:g,textDecorationColor:_,textDecorationThickness:v,textUnderlineOffset:y,color:b,margin:x,m:S,marginTop:C,mt:w,marginBottom:T,mb:E,marginLeft:D,ml:O,marginRight:k,mr:A,marginInline:j,mx:M,marginBlock:N,my:P,letterSpacing:F,editable:I,copyable:L,onEdit:R,required:le,as:z,className:B,children:V,sx:H,...U},W){let ue=z||`h${e}`,[G,K]=s.useState(!1),[q,J]=s.useState(!1),[Y,de]=s.useState(typeof V==`string`?V:``),X=o??te[e]??`xxl`,fe=ne[X]??c.sizeXxl,pe=f??p??(typeof m==`object`?m?.rows:void 0),me=(m===!0||typeof m==`object`&&!!m&&!m.rows)&&!pe,he=ee.resolveCustomTypographyStyle({customSize:ae,color:b,lines:f,rows:p,lineHeight:oe,ellipsis:m,textDecoration:ce,textDecorationLine:h,textDecorationStyle:g,textDecorationColor:_,textDecorationThickness:v,textUnderlineOffset:y,margin:x,m:S,marginTop:C,mt:w,marginBottom:T,mb:E,marginLeft:D,ml:O,marginRight:k,mr:A,marginInline:j,mx:M,marginBlock:N,my:P,letterSpacing:F}),Z=async()=>{let e=typeof V==`string`?V:Y;try{await navigator.clipboard.writeText(e),K(!0),setTimeout(()=>K(!1),2e3)}catch{}},Q=()=>{J(!1),R?.(Y)},$=i.props(c.base,fe,re[u],l[ie],d&&r.typographyWeightStyles[d],me&&c.ellipsisSingle,H),ge=n.resolveTooltipContent(se,m,V),_e=(0,a.jsxs)(ue,{ref:W,"data-slot":`typography-title`,"data-level":e,"data-size":X,"data-variant":u,"data-weight":d,...$,style:{...$.style,...he},className:B?`${$.className||``} ${B}`.trim():$.className,...U,children:[q?(0,a.jsx)(`input`,{autoFocus:!0,value:Y,onChange:e=>de(e.target.value),onBlur:Q,onKeyDown:e=>{e.key===`Enter`&&Q(),e.key===`Escape`&&J(!1)},className:`x1qlqyl8 x1pd3egz xjb2p0i x84br7x x1mlyrtw xmkeg23 x1y0btm7 x1puiyjm xqfady0 x97vtpp x1o5vn8x x1a2a7pz`}):(0,a.jsxs)(`span`,{children:[V,le&&(0,a.jsx)(`span`,{"aria-hidden":`true`,className:`xuuroe4 x4aigyd x1rg5ohu xo5v014 x1s688f x87ps6o`,children:`*`})]}),I&&!q&&(0,a.jsx)(`button`,{type:`button`,onClick:()=>J(!0),className:`xjyslct xc342km xjbqb8w xw3nh4a x1ypdohk x78pyy4 xqfady0 x3nfvp2 x6s0dn4 xl56j7k x1a2a7pz x1gbuem2 xx6bhzk x8aud5w x9p52ec`,"aria-label":`Edit title`,children:(0,a.jsx)(t.Icons.Pencil,{className:`xcdlrvm x1l36t39`})}),L&&(0,a.jsx)(`button`,{type:`button`,onClick:Z,className:`xjyslct xc342km xjbqb8w xw3nh4a x1ypdohk x78pyy4 xqfady0 x3nfvp2 x6s0dn4 xl56j7k x1a2a7pz x1gbuem2 xx6bhzk x8aud5w x9p52ec`,"aria-label":G?`Copied`:`Copy title`,children:G?(0,a.jsx)(t.Icons.Check,{className:`xcdlrvm x1l36t39`}):(0,a.jsx)(t.Icons.Copy,{className:`xcdlrvm x1l36t39`})})]});return n.renderWithTooltip(_e,ge)});u.displayName=`Typography.Title`,exports.Title=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../src/Typography/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAc,UAAU,EAA+B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../src/Typography/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAc,UAAU,EAA+B,MAAM,SAAS,CAAC;AA6JnF,eAAO,MAAM,KAAK,gFAuLhB,CAAC"}
|
package/dist/Typography/Title.js
CHANGED
|
@@ -10,7 +10,7 @@ var a = {
|
|
|
10
10
|
base: {
|
|
11
11
|
kogj98: "x1ghz6dp",
|
|
12
12
|
k63SB2: "x1xlr1w8",
|
|
13
|
-
kMwMTN: "
|
|
13
|
+
kMwMTN: "x1heor9g",
|
|
14
14
|
kLWn49: "x132q4wb",
|
|
15
15
|
k1xSpc: "x78zum5",
|
|
16
16
|
kGNEyG: "x6s0dn4",
|
|
@@ -53,10 +53,7 @@ var a = {
|
|
|
53
53
|
kb6lSQ: "x72az59",
|
|
54
54
|
$$css: !0
|
|
55
55
|
},
|
|
56
|
-
defaultVariant: {
|
|
57
|
-
kMwMTN: "x84br7x",
|
|
58
|
-
$$css: !0
|
|
59
|
-
},
|
|
56
|
+
defaultVariant: { $$css: !0 },
|
|
60
57
|
gradientVariant: {
|
|
61
58
|
kKwaWg: "x1t3prov",
|
|
62
59
|
kBahZS: "x1t23j8t",
|