@fluid-topics/ft-typography 1.3.45 → 1.3.47

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.
@@ -1,3 +1,7 @@
1
1
  import { CSSResult } from "lit";
2
2
  import { typographies } from "@fluid-topics/design-system-variables";
3
+ /**
4
+ * @deprecated only there for backward compatibility.
5
+ * To delete once all ft-typography admin usages have been migrated to ftds-typography
6
+ */
3
7
  export declare function buildDsTypographyCss(variant: keyof typeof typographies, selector?: string | CSSResult): CSSResult;
@@ -1,5 +1,9 @@
1
1
  import { css, unsafeCSS } from "lit";
2
2
  import { typographies } from "@fluid-topics/design-system-variables";
3
+ /**
4
+ * @deprecated only there for backward compatibility.
5
+ * To delete once all ft-typography admin usages have been migrated to ftds-typography
6
+ */
3
7
  export function buildDsTypographyCss(variant, selector) {
4
8
  const typographyVariables = typographies[variant];
5
9
  return css `
@@ -8,7 +8,7 @@ import { html, unsafeStatic } from "lit/static-html.js";
8
8
  import { property } from "lit/decorators.js";
9
9
  import { FtLitElement } from "@fluid-topics/ft-wc-utils";
10
10
  import { FtTypographyVariants } from "./ft-typography.properties";
11
- import { FtdsTypographyStyles, FtTypographyBody1, FtTypographyBody2, FtTypographyBreadcrumb, FtTypographyButton, FtTypographyCaption, FtTypographyOverline, FtTypographyStyles, FtTypographySubtitle1, FtTypographySubtitle2, FtTypographyTitle, FtTypographyTitleDense } from "./ft-typography.styles";
11
+ import { FtLegacyDsTypographyStyles, FtTypographyBody1, FtTypographyBody2, FtTypographyBreadcrumb, FtTypographyButton, FtTypographyCaption, FtTypographyOverline, FtTypographyStyles, FtTypographySubtitle1, FtTypographySubtitle2, FtTypographyTitle, FtTypographyTitleDense } from "./ft-typography.styles";
12
12
  class FtTypography extends FtLitElement {
13
13
  constructor() {
14
14
  super(...arguments);
@@ -42,7 +42,7 @@ FtTypography.styles = [
42
42
  FtTypographyOverline,
43
43
  FtTypographyButton,
44
44
  FtTypographyStyles,
45
- ...FtdsTypographyStyles
45
+ ...FtLegacyDsTypographyStyles,
46
46
  ];
47
47
  __decorate([
48
48
  property()