@servicetitan/navigation 0.2.0 → 1.1.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.
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const defaultNavigation: () => JSX.Element;
9
- export declare const withLogoTextAndOverflow: () => JSX.Element;
10
- export declare const withAllMonolithData: () => JSX.Element;
8
+ export declare const defaultNavigation: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const withLogoTextAndOverflow: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const withAllMonolithData: () => import("react/jsx-runtime").JSX.Element;
11
11
  //# sourceMappingURL=header-navigation.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header-navigation.stories.d.ts","sourceRoot":"","sources":["../../../src/components/header-navigation/header-navigation.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;;;;;;AAWrC,wBAIE;AA0CF,eAAO,MAAM,iBAAiB,mBAa7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBAoBnC,CAAC;AAgCF,eAAO,MAAM,mBAAmB,mBAsD/B,CAAC"}
1
+ {"version":3,"file":"header-navigation.stories.d.ts","sourceRoot":"","sources":["../../../src/components/header-navigation/header-navigation.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;;;;;;AAWrC,wBAIE;AA0CF,eAAO,MAAM,iBAAiB,+CAa7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,+CAoBnC,CAAC;AAgCF,eAAO,MAAM,mBAAmB,+CAsD/B,CAAC"}
@@ -5,8 +5,8 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const logoTitan: () => JSX.Element;
9
- export declare const logoTitanBlueMantle: () => JSX.Element;
10
- export declare const logoCompanyTitle: () => JSX.Element;
11
- export declare const logoTitanText: () => JSX.Element;
8
+ export declare const logoTitan: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const logoTitanBlueMantle: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const logoCompanyTitle: () => import("react/jsx-runtime").JSX.Element;
11
+ export declare const logoTitanText: () => import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=logo.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo.stories.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.stories.tsx"],"names":[],"mappings":";;;;;;AAIA,wBAIE;AAEF,eAAO,MAAM,SAAS,mBAAsB,CAAC;AAC7C,eAAO,MAAM,mBAAmB,mBAA2C,CAAC;AAC5E,eAAO,MAAM,gBAAgB,mBAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa,mBAOzB,CAAC"}
1
+ {"version":3,"file":"logo.stories.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.stories.tsx"],"names":[],"mappings":";;;;;;AAIA,wBAIE;AAEF,eAAO,MAAM,SAAS,+CAAsB,CAAC;AAC7C,eAAO,MAAM,mBAAmB,+CAA2C,CAAC;AAC5E,eAAO,MAAM,gBAAgB,+CAA6B,CAAC;AAC3D,eAAO,MAAM,aAAa,+CAOzB,CAAC"}
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: import("./profile-dropdown").ProfileDropdownType;
5
4
  parameters: {};
6
5
  };
7
6
  export default _default;
8
- export declare const profileDropdownDefault: () => JSX.Element;
9
- export declare const profileDropdownWithLogo: () => JSX.Element;
10
- export declare const profileDropdownWithErrorLogo: () => JSX.Element;
11
- export declare const profileDropdownWithInfo: () => JSX.Element;
12
- export declare const profileDropdownWithCounter: () => JSX.Element;
13
- export declare const profileDropdownWithBothBadges: () => JSX.Element;
14
- export declare const profileDropdownWithHintPopup: () => JSX.Element;
15
- export declare const profileDropdownWithHintAndInfoPopup: () => JSX.Element;
7
+ export declare const profileDropdownDefault: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const profileDropdownWithLogo: () => import("react/jsx-runtime").JSX.Element;
9
+ export declare const profileDropdownWithErrorLogo: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const profileDropdownWithInfo: () => import("react/jsx-runtime").JSX.Element;
11
+ export declare const profileDropdownWithCounter: () => import("react/jsx-runtime").JSX.Element;
12
+ export declare const profileDropdownWithBothBadges: () => import("react/jsx-runtime").JSX.Element;
13
+ export declare const profileDropdownWithHintPopup: () => import("react/jsx-runtime").JSX.Element;
14
+ export declare const profileDropdownWithHintAndInfoPopup: () => import("react/jsx-runtime").JSX.Element;
16
15
  //# sourceMappingURL=profile-dropdown.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-dropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown.stories.tsx"],"names":[],"mappings":";;;;;;AAKA,wBAIE;AAeF,eAAO,MAAM,sBAAsB,mBAalC,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBAQnC,CAAC;AAEF,eAAO,MAAM,4BAA4B,mBAQxC,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBASnC,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBAUtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,mBASzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,mBAkBxC,CAAC;AAEF,eAAO,MAAM,mCAAmC,mBAa/C,CAAC"}
1
+ {"version":3,"file":"profile-dropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/profile-dropdown/profile-dropdown.stories.tsx"],"names":[],"mappings":";;;;;AAKA,wBAIE;AAeF,eAAO,MAAM,sBAAsB,+CAalC,CAAC;AAEF,eAAO,MAAM,uBAAuB,+CAQnC,CAAC;AAEF,eAAO,MAAM,4BAA4B,+CAQxC,CAAC;AAEF,eAAO,MAAM,uBAAuB,+CASnC,CAAC;AAEF,eAAO,MAAM,0BAA0B,+CAUtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,+CASzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,+CAkBxC,CAAC;AAEF,eAAO,MAAM,mCAAmC,+CAa/C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/navigation",
3
- "version": "0.2.0",
3
+ "version": "1.1.0",
4
4
  "description": "Navigation components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,22 +18,22 @@
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@servicetitan/design-system": ">=13.2.1",
21
- "@servicetitan/react-ioc": "~14.1.1",
21
+ "@servicetitan/react-ioc": ">=14.1.1",
22
22
  "@servicetitan/tokens": ">=12.2.1",
23
23
  "mobx": "~6.3.2",
24
- "mobx-react": "~7.2.0",
25
- "react": "~17.0.2",
24
+ "mobx-react": ">=7.5.1",
25
+ "react": ">=17.0.2",
26
26
  "react-router-dom": "~5.3.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@servicetitan/design-system": ">=12.4.1",
30
- "@servicetitan/react-ioc": "~14.1.1",
29
+ "@servicetitan/design-system": "~13.4.5",
30
+ "@servicetitan/react-ioc": "^23.2.1",
31
31
  "@servicetitan/tokens": ">=12.1.11",
32
- "@testing-library/react": "^12.0.0",
33
- "@types/react": "~17.0.15",
32
+ "@testing-library/react": "^14.0.0",
33
+ "@types/react": "~18.2.55",
34
34
  "mobx": "~6.3.2",
35
- "mobx-react": "~7.2.0",
36
- "react": "~17.0.2",
35
+ "mobx-react": "~7.5.1",
36
+ "react": "~18.2.0",
37
37
  "react-router-dom": "~5.3.0"
38
38
  },
39
39
  "publishConfig": {
@@ -43,5 +43,5 @@
43
43
  "less": true,
44
44
  "webpack": false
45
45
  },
46
- "gitHead": "72d081af4ab3deb72dab7d4fc93a4c2e473b726f"
46
+ "gitHead": "a859628bb29f8f17153e2a4e23bb38f14f447b10"
47
47
  }
@@ -1,11 +1,11 @@
1
1
  export const __esModule: true;
2
- export const link: string;
3
- export const icon: string;
4
- export const header: string;
5
- export const counter: string;
6
2
  export const active: string;
7
- export const right: string;
3
+ export const counter: string;
4
+ export const header: string;
5
+ export const icon: string;
6
+ export const link: string;
8
7
  export const minimized: string;
9
8
  export const navigationLinks: string;
10
9
  export const overflowPopover: string;
10
+ export const right: string;
11
11
 
@@ -1,6 +1,6 @@
1
1
  export const __esModule: true;
2
2
  export const container: string;
3
- export const logoWrapper: string;
4
- export const logoTextTitle: string;
5
3
  export const logoTextDescription: string;
4
+ export const logoTextTitle: string;
5
+ export const logoWrapper: string;
6
6
 
@@ -1,18 +1,18 @@
1
1
  export const __esModule: true;
2
- export const triggerContainer: string;
3
- export const profileImage: string;
4
- export const info: string;
5
2
  export const avatarBadge: string;
6
3
  export const badge: string;
7
4
  export const badgeNoContent: string;
8
5
  export const badgeWithContent: string;
9
- export const triggerContainerHintArrow: string;
10
6
  export const dropdown: string;
11
7
  export const dropdownContent: string;
12
8
  export const dropdownContentBottomLeft: string;
13
9
  export const dropdownContentWrapper: string;
14
- export const dropdownSection: string;
15
10
  export const dropdownLink: string;
11
+ export const dropdownSection: string;
16
12
  export const hint: string;
17
13
  export const hintContent: string;
14
+ export const info: string;
15
+ export const profileImage: string;
16
+ export const triggerContainer: string;
17
+ export const triggerContainerHintArrow: string;
18
18