@servicetitan/navigation 1.5.1 → 1.5.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.
@@ -1 +1 @@
1
- {"version":3,"file":"logo-titan-text.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo-titan-text.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,WAAW,kBAAkB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;CAChE;AAMD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuBhD,CAAC"}
1
+ {"version":3,"file":"logo-titan-text.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo-titan-text.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,WAAW,kBAAkB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,EAAE,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;CAChE;AAMD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyBhD,CAAC"}
@@ -3,5 +3,5 @@ import classNames from 'classnames';
3
3
  import { LogoTitan } from './logo-titan';
4
4
  import * as Styles from './logo-titan-text.module.less';
5
5
  const DefaultLogoWrapper = ({ className, children, }) => _jsx("div", Object.assign({ className: className }, { children: children }));
6
- export const LogoTitanText = ({ className, description, logoWrapper: LogoWrapper = DefaultLogoWrapper, mantleFill, title, }) => (_jsxs("div", Object.assign({ className: classNames('d-f', Styles.container, className) }, { children: [_jsx(LogoWrapper, Object.assign({ className: classNames('bg-white d-if justify-content-center align-items-center', Styles.logoWrapper) }, { children: _jsx(LogoTitan, { width: 40, height: 40, mantleFill: mantleFill }) })), _jsxs("div", Object.assign({ className: "d-if p-l-1 c-white flex-column justify-content-center align-items-start" }, { children: [_jsx("span", Object.assign({ className: classNames(Styles.logoTextTitle, 'ff-display') }, { children: title })), _jsx("span", Object.assign({ className: classNames(Styles.logoTextDescription, 'fs-1 t-truncate m-b-1') }, { children: description }))] }))] })));
6
+ export const LogoTitanText = ({ className, description, logoWrapper: LogoWrapper = DefaultLogoWrapper, mantleFill, title, }) => (_jsxs("div", Object.assign({ className: classNames('d-f', Styles.container, className) }, { children: [_jsx(LogoWrapper, Object.assign({ className: classNames('bg-white d-if justify-content-center align-items-center', Styles.logoWrapper) }, { children: _jsx(LogoTitan, { width: 40, height: 40, mantleFill: mantleFill }) })), _jsxs("div", Object.assign({ className: "d-if p-l-1 c-white flex-column justify-content-center align-items-start" }, { children: [_jsx("span", Object.assign({ className: classNames(Styles.logoTextTitle, 'ff-display t-truncate') }, { children: title })), _jsx("span", Object.assign({ className: classNames(Styles.logoTextDescription, 'ff-default t-truncate') }, { children: description }))] }))] })));
7
7
  //# sourceMappingURL=logo-titan-text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo-titan-text.js","sourceRoot":"","sources":["../../../src/components/logo/logo-titan-text.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AAUxD,MAAM,kBAAkB,GAAmD,CAAC,EACxE,SAAS,EACT,QAAQ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,EAAE,EAAE,CAAC,CACF,6BAAK,SAAS,EAAE,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,iBAC1D,KAAC,WAAW,kBACR,SAAS,EAAE,UAAU,CACjB,yDAAyD,EACzD,MAAM,CAAC,WAAW,CACrB,gBAED,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,UAAU,GAAI,IAClD,EACd,6BAAK,SAAS,EAAC,yEAAyE,iBACpF,6BAAM,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,aAAa,EAAE,uBAAuB,CAAC,gBACrE,KAAK,IACH,EACP,6BAAM,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,EAAE,uBAAuB,CAAC,gBAC3E,WAAW,IACT,KACL,KACJ,CACT,CAAC"}
@@ -15,11 +15,14 @@
15
15
 
16
16
  .logo-text-title {
17
17
  font-weight: @font-weight-semibold;
18
- font-size: 19px;
18
+ font-size: 21px;
19
19
  max-width: 140px;
20
+ line-height: 24px;
20
21
  }
21
22
 
22
23
  .logo-text-description {
24
+ font-size: @typescale-1;
23
25
  max-width: 140px;
26
+ line-height: 16px;
24
27
  }
25
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/navigation",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Navigation components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,5 +43,5 @@
43
43
  "less": true,
44
44
  "webpack": false
45
45
  },
46
- "gitHead": "805ab04fa9b3baaedc6233bbbda63fd4500e5d98"
46
+ "gitHead": "639d0d0a4680610482fbf00171d159affc78affd"
47
47
  }
@@ -15,11 +15,14 @@
15
15
 
16
16
  .logo-text-title {
17
17
  font-weight: @font-weight-semibold;
18
- font-size: 19px;
18
+ font-size: 21px;
19
19
  max-width: 140px;
20
+ line-height: 24px;
20
21
  }
21
22
 
22
23
  .logo-text-description {
24
+ font-size: @typescale-1;
23
25
  max-width: 140px;
26
+ line-height: 16px;
24
27
  }
25
28
  }
@@ -32,8 +32,10 @@ export const LogoTitanText: FC<LogoTitanTextProps> = ({
32
32
  <LogoTitan width={40} height={40} mantleFill={mantleFill} />
33
33
  </LogoWrapper>
34
34
  <div className="d-if p-l-1 c-white flex-column justify-content-center align-items-start">
35
- <span className={classNames(Styles.logoTextTitle, 'ff-display')}>{title}</span>
36
- <span className={classNames(Styles.logoTextDescription, 'fs-1 t-truncate m-b-1')}>
35
+ <span className={classNames(Styles.logoTextTitle, 'ff-display t-truncate')}>
36
+ {title}
37
+ </span>
38
+ <span className={classNames(Styles.logoTextDescription, 'ff-default t-truncate')}>
37
39
  {description}
38
40
  </span>
39
41
  </div>