toku-ui 1.1.7 → 1.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.
@@ -3,11 +3,13 @@ export declare const TTypography: import("vue").DefineComponent<{
3
3
  fontStyle: PropType<"normal" | "italic" | undefined>;
4
4
  fontWeight: PropType<"medium" | "bold" | "semibold" | "regular" | undefined>;
5
5
  variant: PropType<"h1" | "h2" | "h3" | "h4" | "s1" | "s2" | "s3" | "s4" | "b0" | "b1" | "b2" | "b3" | "b4" | "b5" | "b6" | undefined>;
6
+ as: PropType<string | undefined>;
6
7
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
8
  [key: string]: any;
8
9
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
10
  fontStyle: PropType<"normal" | "italic" | undefined>;
10
11
  fontWeight: PropType<"medium" | "bold" | "semibold" | "regular" | undefined>;
11
12
  variant: PropType<"h1" | "h2" | "h3" | "h4" | "s1" | "s2" | "s3" | "s4" | "b0" | "b1" | "b2" | "b3" | "b4" | "b5" | "b6" | undefined>;
13
+ as: PropType<string | undefined>;
12
14
  }>>, {}, {}>;
13
15
  //# sourceMappingURL=TTypography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TTypography.d.ts","sourceRoot":"","sources":["../../../src/components/TTypography/TTypography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAgC,MAAM,KAAK,CAAC;AAW7D,eAAO,MAAM,WAAW;;;;;;;;;;YAsBtB,CAAC"}
1
+ {"version":3,"file":"TTypography.d.ts","sourceRoot":"","sources":["../../../src/components/TTypography/TTypography.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAgC,MAAM,KAAK,CAAC;AAW7D,eAAO,MAAM,WAAW;;;;;;;;;;;;YAyBtB,CAAC"}
@@ -3,5 +3,6 @@ export interface TTypographyProps extends HTMLAttributes {
3
3
  fontStyle?: 'normal' | 'italic';
4
4
  fontWeight?: 'bold' | 'semibold' | 'medium' | 'regular';
5
5
  variant?: 'h1' | 'h2' | 'h3' | 'h4' | 's1' | 's2' | 's3' | 's4' | 'b0' | 'b1' | 'b2' | 'b3' | 'b4' | 'b5' | 'b6';
6
+ as?: string;
6
7
  }
7
8
  //# sourceMappingURL=TTypography.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TTypography.types.d.ts","sourceRoot":"","sources":["../../../src/components/TTypography/TTypography.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxD,OAAO,CAAC,EACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;CACV"}
1
+ {"version":3,"file":"TTypography.types.d.ts","sourceRoot":"","sources":["../../../src/components/TTypography/TTypography.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxD,OAAO,CAAC,EACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IACT,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
package/dist/index.es.js CHANGED
@@ -6033,13 +6033,14 @@ const Mo = {
6033
6033
  props: {
6034
6034
  fontStyle: String,
6035
6035
  fontWeight: String,
6036
- variant: String
6036
+ variant: String,
6037
+ as: String
6037
6038
  },
6038
6039
  setup(i, {
6039
6040
  attrs: a,
6040
6041
  slots: r
6041
6042
  }) {
6042
- const u = $(() => ae.merge({}, Gm, i, a)), s = Um(), d = $(() => [s.value, `${s.value}--${u.value.variant}`, `${s.value}--${u.value.fontWeight}`, `${s.value}--${u.value.fontStyle}`]), h = $(() => qm[u.value.variant]);
6043
+ const u = $(() => ae.merge({}, Gm, i, a)), s = Um(), d = $(() => [s.value, `${s.value}--${u.value.variant}`, `${s.value}--${u.value.fontWeight}`, `${s.value}--${u.value.fontStyle}`]), h = $(() => u.value.as || qm[u.value.variant]);
6043
6044
  return () => {
6044
6045
  var b;
6045
6046
  return en(h.value, {