@lokalise/harmony 1.40.2 → 1.40.3-exp-epic2x.1
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/dist/harmony.css +110 -317
- package/dist/harmony100.cjs +8 -11
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +8 -11
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +47 -12
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +46 -11
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +6 -3
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +6 -3
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +99 -9
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +81 -8
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +14 -9
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +13 -8
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +20 -57
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +20 -57
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +9 -42
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +8 -41
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +14 -5
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +14 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +17 -9
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +16 -8
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +21 -24
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +20 -23
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +10 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +9 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +22 -14
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +24 -16
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +14 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +13 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +35 -12
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +35 -12
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +14 -18
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +14 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +19 -96
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +19 -79
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +33 -85
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +33 -85
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +22 -31
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +21 -30
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +21 -21
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +20 -20
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +6 -6
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +5 -5
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +15 -132
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +14 -131
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +87 -12
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +86 -11
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +30 -5
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +30 -5
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +6 -41
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +5 -40
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +6 -61
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +5 -60
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +96 -7
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +96 -7
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +14 -7
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +13 -6
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +15 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +14 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +37 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +36 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +28 -10
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +28 -10
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +10 -63
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +9 -62
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +6 -88
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +5 -87
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +6 -15
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +6 -15
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +25 -97
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +24 -96
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +7 -14
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +6 -13
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +13 -15
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +12 -14
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +7 -37
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +6 -36
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +10 -28
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +10 -28
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +1 -1
- package/dist/harmony138.mjs +1 -1
- package/dist/harmony139.cjs +1 -1
- package/dist/harmony139.mjs +1 -1
- package/dist/harmony14.cjs +1 -1
- package/dist/harmony14.mjs +1 -1
- package/dist/harmony140.cjs +2 -2
- package/dist/harmony140.mjs +2 -2
- package/dist/harmony141.cjs +11 -7
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +11 -7
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +15 -56
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +15 -56
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +20 -59
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +20 -59
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +13 -19
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +12 -18
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +5 -10
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +5 -10
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +11 -15
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +11 -15
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +28 -17
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +28 -17
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony148.cjs +12 -10
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +12 -10
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +1 -1
- package/dist/harmony26.mjs +1 -1
- package/dist/harmony4.cjs +15 -24
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +15 -24
- package/dist/harmony4.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony6.cjs +3 -3
- package/dist/harmony6.mjs +3 -3
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony75.cjs +1 -1
- package/dist/harmony75.mjs +1 -1
- package/dist/harmony76.cjs +51 -6
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +50 -5
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +38 -8
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +38 -8
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +9 -18
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +8 -17
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +6 -21
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +8 -23
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony8.cjs +5 -5
- package/dist/harmony8.mjs +5 -5
- package/dist/harmony80.cjs +28 -4
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +28 -4
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +3 -32
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -32
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +30 -29
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +31 -30
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +43 -19
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +43 -19
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +27 -29
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +27 -29
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +64 -57
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +64 -57
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +15 -9
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +14 -8
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +3 -8
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +3 -8
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +10 -27
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +11 -28
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +13 -4
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +12 -3
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +9 -31
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +10 -32
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +22 -44
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +21 -43
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +160 -23
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +160 -23
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +41 -63
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +41 -63
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +25 -13
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +26 -14
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +3 -3
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +3 -3
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +16 -9
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +18 -11
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +75 -21
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +74 -20
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +9 -163
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +10 -164
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +30 -44
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +30 -44
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +15 -49
- package/dist/types/src/components/Sidebar/SidebarContent/SidebarContent.d.ts +7 -0
- package/dist/types/src/components/Sidebar/SidebarContext.d.ts +3 -0
- package/dist/types/src/components/Sidebar/SidebarProvider.d.ts +3 -0
- package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +5 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/IconLink/IconLink.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Menu/Menu.d.ts +3 -2
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/BillingMenuItem/BillingMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/DarkModeToggle/DarkModeToggle.d.ts +18 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.d.ts +11 -24
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.stories.d.ts +3 -5
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.d.ts +10 -35
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.d.ts +1 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.d.ts +5 -7
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts +6 -9
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.d.ts +4 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebar.d.ts +1 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebarDataLoader.d.ts +5 -0
- package/dist/types/src/components/Sidebar/types.d.ts +72 -0
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +16 -10
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +15 -11
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedSessionPayload.d.ts +7 -5
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +4 -4
- package/dist/types/src/features/publicApi/projects.d.ts +8 -8
- package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +6 -6
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +12 -12
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +10 -10
- package/dist/types/src/utils/user/permissions.d.ts +9 -0
- package/dist/types/src/utils/user/permissions.test.d.ts +1 -0
- package/dist/types/tests/mocks/sidebar/sidebar.d.ts +19 -0
- package/dist/types/tests/utils/sidebar.d.ts +4 -0
- package/package.json +1 -1
- package/dist/harmony149.cjs +0 -9
- package/dist/harmony149.cjs.map +0 -1
- package/dist/harmony149.mjs +0 -9
- package/dist/harmony149.mjs.map +0 -1
- package/dist/harmony150.cjs +0 -15
- package/dist/harmony150.cjs.map +0 -1
- package/dist/harmony150.mjs +0 -15
- package/dist/harmony150.mjs.map +0 -1
- package/dist/harmony151.cjs +0 -35
- package/dist/harmony151.cjs.map +0 -1
- package/dist/harmony151.mjs +0 -35
- package/dist/harmony151.mjs.map +0 -1
- package/dist/harmony152.cjs +0 -17
- package/dist/harmony152.cjs.map +0 -1
- package/dist/harmony152.mjs +0 -17
- package/dist/harmony152.mjs.map +0 -1
- package/dist/harmony153.cjs +0 -49
- package/dist/harmony153.cjs.map +0 -1
- package/dist/harmony153.mjs +0 -49
- package/dist/harmony153.mjs.map +0 -1
- package/dist/harmony154.cjs +0 -15
- package/dist/harmony154.cjs.map +0 -1
- package/dist/harmony154.mjs +0 -15
- package/dist/harmony154.mjs.map +0 -1
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContent.d.ts +0 -6
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.d.ts +0 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuProvider.d.ts +0 -7
- package/dist/types/src/components/Sidebar/utils/index.d.ts +0 -4
- /package/dist/types/src/components/Sidebar/Widgets/{ProfileMenu/ProfileMenu.test.d.ts → Avatar/Avatar.test.d.ts} +0 -0
- /package/dist/types/src/components/Sidebar/{UpgradeIcon → Widgets/ProfileMenu/UpgradeIcon}/UpgradeIcon.d.ts +0 -0
package/dist/harmony.css
CHANGED
@@ -56,51 +56,6 @@
|
|
56
56
|
padding-top: 0;
|
57
57
|
box-shadow: none;
|
58
58
|
}
|
59
|
-
._sidebarContainer_bmdti_1 {
|
60
|
-
border-right: 1px solid var(--lok-color-border-default);
|
61
|
-
position: fixed;
|
62
|
-
width: 65px;
|
63
|
-
top: 0;
|
64
|
-
left: 0;
|
65
|
-
bottom: 0;
|
66
|
-
background-color: var(--lok-color-background-surface-middle);
|
67
|
-
display: flex;
|
68
|
-
justify-content: space-between;
|
69
|
-
flex-direction: column;
|
70
|
-
padding-bottom: var(--lok-spacing-3);
|
71
|
-
z-index: 1;
|
72
|
-
}
|
73
|
-
|
74
|
-
._logoLink_bmdti_16 {
|
75
|
-
display: flex;
|
76
|
-
align-items: center;
|
77
|
-
justify-content: center;
|
78
|
-
height: 67px;
|
79
|
-
position: relative;
|
80
|
-
|
81
|
-
&:hover {
|
82
|
-
background-color: var(--lok-color-background-surface-middle);
|
83
|
-
}
|
84
|
-
|
85
|
-
> img {
|
86
|
-
width: 36px;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
._logoLink_1baxb_1 {
|
90
|
-
display: flex;
|
91
|
-
align-items: center;
|
92
|
-
justify-content: center;
|
93
|
-
height: 67px;
|
94
|
-
position: relative;
|
95
|
-
|
96
|
-
&:hover {
|
97
|
-
background-color: var(--lok-color-background-surface-middle);
|
98
|
-
}
|
99
|
-
|
100
|
-
> img {
|
101
|
-
width: 36px;
|
102
|
-
}
|
103
|
-
}
|
104
59
|
._link_18vhx_1._link_18vhx_1 {
|
105
60
|
display: flex;
|
106
61
|
justify-content: center;
|
@@ -122,94 +77,16 @@
|
|
122
77
|
color: var(--lok-color-background-action-primary-default);
|
123
78
|
background-color: var(--lok-color-background-surface-fore);
|
124
79
|
}
|
125
|
-
.
|
126
|
-
|
127
|
-
display: flex;
|
128
|
-
justify-content: center;
|
129
|
-
align-items: center;
|
130
|
-
height: 65px;
|
131
|
-
width: 64px;
|
132
|
-
background: transparent;
|
133
|
-
border: none;
|
134
|
-
outline: none;
|
135
|
-
color: var(--lok-color-text-light-default);
|
136
|
-
|
137
|
-
&:hover {
|
138
|
-
color: var(--lok-color-background-action-primary-default);
|
139
|
-
background-color: var(--lok-color-background-surface-fore);
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
._dropdownButtonActive_1naek_19 {
|
144
|
-
color: var(--lok-color-background-action-primary-default);
|
145
|
-
background-color: var(--lok-color-background-surface-fore);
|
146
|
-
}
|
147
|
-
._iconContainer_nz34m_1 {
|
148
|
-
color: var(--lok-color-background-surface-default);
|
149
|
-
background-color: var(--lok-color-background-action-danger-default);
|
150
|
-
border-radius: 100%;
|
151
|
-
font-size: 10px;
|
152
|
-
height: 16px;
|
153
|
-
width: 16px;
|
154
|
-
}
|
155
|
-
:root {
|
156
|
-
--menu-container-width: 300px;
|
157
|
-
--profile-button-size: 65px;
|
158
|
-
}
|
159
|
-
|
160
|
-
._popoverContent_1phdw_6 {
|
161
|
-
width: var(--menu-container-width);
|
162
|
-
}
|
163
|
-
|
164
|
-
._menuContainer_1phdw_10 {
|
165
|
-
width: var(--menu-container-width);
|
166
|
-
font-size: var(--lok-font-size-small);
|
167
|
-
button,
|
168
|
-
a {
|
169
|
-
font-size: var(--lok-font-size-small);
|
170
|
-
padding: var(--lok-spacing-3) var(--lok-spacing-4);
|
171
|
-
}
|
172
|
-
}
|
173
|
-
|
174
|
-
._profileButton_1phdw_20 {
|
175
|
-
cursor: pointer;
|
176
|
-
position: relative;
|
177
|
-
border: none;
|
178
|
-
background: transparent;
|
179
|
-
height: var(--profile-button-size);
|
180
|
-
width: var(--profile-button-size);
|
181
|
-
|
182
|
-
&:hover {
|
183
|
-
background: none;
|
184
|
-
}
|
185
|
-
}
|
186
|
-
|
187
|
-
._profileImage_1phdw_33 {
|
188
|
-
width: 40px;
|
189
|
-
height: 40px;
|
190
|
-
border-radius: 100%;
|
191
|
-
background-color: var(--lok-color-background-surface-default);
|
192
|
-
object-fit: contain; /* Make sure that non-square images maintain their aspect ratio */
|
193
|
-
}
|
194
|
-
|
195
|
-
._profileImageHighlight_1phdw_41 {
|
196
|
-
border: 3px solid var(--lok-color-background-action-danger-default);
|
80
|
+
._mainLabel_1baso_1 {
|
81
|
+
color: var(--lok-color-text-disabled);
|
197
82
|
}
|
198
83
|
|
199
|
-
.
|
200
|
-
|
201
|
-
|
202
|
-
right: 10px;
|
84
|
+
._subLabel_1baso_5 {
|
85
|
+
color: var(--lok-color-text-disabled);
|
86
|
+
font: var(--lok-typography-body-tiny-default);
|
203
87
|
}
|
204
|
-
|
205
|
-
|
206
|
-
width: 45px;
|
207
|
-
height: 45px;
|
208
|
-
display: flex;
|
209
|
-
align-items: center;
|
210
|
-
border-radius: var(--lok-radius-rounded);
|
211
|
-
justify-content: center;
|
212
|
-
margin: auto;
|
88
|
+
._switchContainer_9byp6_1 {
|
89
|
+
flex-grow: 1;
|
213
90
|
}
|
214
91
|
._container_q5pot_1 {
|
215
92
|
max-width: 100%;
|
@@ -305,6 +182,14 @@
|
|
305
182
|
background-color: var(--lok-color-background-surface-default);
|
306
183
|
object-fit: contain;
|
307
184
|
}
|
185
|
+
._iconContainer_nz34m_1 {
|
186
|
+
color: var(--lok-color-background-surface-default);
|
187
|
+
background-color: var(--lok-color-background-action-danger-default);
|
188
|
+
border-radius: 100%;
|
189
|
+
font-size: 10px;
|
190
|
+
height: 16px;
|
191
|
+
width: 16px;
|
192
|
+
}
|
308
193
|
._container_1u995_1 {
|
309
194
|
max-width: 100%;
|
310
195
|
min-width: 0;
|
@@ -328,226 +213,134 @@
|
|
328
213
|
font: var(--lok-typography-body-small-strong);
|
329
214
|
height: 16px;
|
330
215
|
}
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
width: 100%;
|
335
|
-
display: flex;
|
336
|
-
justify-content: center;
|
337
|
-
align-items: center;
|
338
|
-
position: relative;
|
339
|
-
height: 65px;
|
340
|
-
color: var(--lok-color-text-light-default);
|
341
|
-
|
342
|
-
&:hover {
|
343
|
-
color: var(--lok-color-background-action-primary-default);
|
344
|
-
background-color: var(--lok-color-background-surface-fore);
|
345
|
-
}
|
346
|
-
}
|
347
|
-
|
348
|
-
._activeNavItem_1dudv_18 {
|
349
|
-
color: var(--lok-color-background-action-primary-default);
|
350
|
-
background-color: var(--lok-color-background-surface-fore);
|
216
|
+
:root {
|
217
|
+
--menu-container-width: 300px;
|
218
|
+
--profile-button-size: 65px;
|
351
219
|
}
|
352
220
|
|
353
|
-
.
|
354
|
-
|
355
|
-
top: calc(50% - 16px);
|
356
|
-
left: calc(50% + 2px);
|
357
|
-
|
358
|
-
display: flex;
|
359
|
-
align-items: center;
|
360
|
-
justify-content: center;
|
361
|
-
text-align: center;
|
362
|
-
|
363
|
-
width: 16px;
|
364
|
-
height: 16px;
|
365
|
-
border-radius: var(--lok-radius-rounded);
|
366
|
-
background-color: var(--lok-color-text-danger);
|
367
|
-
|
368
|
-
font-size: var(--lok-font-size-tiny);
|
369
|
-
text-transform: uppercase;
|
370
|
-
color: var(--lok-color-text-inverse);
|
221
|
+
._popoverContent_1phdw_6 {
|
222
|
+
width: var(--menu-container-width);
|
371
223
|
}
|
372
|
-
._langRowCompleted_vpgdi_1 {
|
373
|
-
background: var(--lok-color-background-info);
|
374
|
-
td {
|
375
|
-
overflow: hidden;
|
376
|
-
text-overflow: ellipsis;
|
377
|
-
text-align: start;
|
378
224
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
225
|
+
._menuContainer_1phdw_10 {
|
226
|
+
width: var(--menu-container-width);
|
227
|
+
font-size: var(--lok-font-size-small);
|
228
|
+
button,
|
229
|
+
a {
|
230
|
+
font-size: var(--lok-font-size-small);
|
231
|
+
padding: var(--lok-spacing-3) var(--lok-spacing-4);
|
383
232
|
}
|
384
233
|
}
|
385
234
|
|
386
|
-
.
|
387
|
-
|
388
|
-
text-align: left;
|
389
|
-
}
|
390
|
-
|
391
|
-
._langStatus_vpgdi_20 {
|
392
|
-
color: var(--lok-color-text-light-default);
|
393
|
-
|
394
|
-
&::before {
|
395
|
-
display: inline-block;
|
396
|
-
content: '';
|
397
|
-
width: 6px;
|
398
|
-
height: 6px;
|
399
|
-
border-radius: 50%;
|
400
|
-
margin: var(--lok-spacing-1);
|
401
|
-
background-color: #cbd5e0;
|
402
|
-
}
|
403
|
-
|
404
|
-
&[data-status='completed'] {
|
405
|
-
&::before {
|
406
|
-
background-color: #60e778;
|
407
|
-
}
|
408
|
-
}
|
409
|
-
|
410
|
-
&[data-status='in_progress'] {
|
411
|
-
&::before {
|
412
|
-
background-color: #facc15;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
}
|
416
|
-
._taskContainer_mt2or_1 {
|
417
|
-
padding: var(--lok-spacing-4);
|
235
|
+
._profileButton_1phdw_20 {
|
236
|
+
cursor: pointer;
|
418
237
|
position: relative;
|
238
|
+
border: none;
|
239
|
+
background: transparent;
|
240
|
+
height: var(--profile-button-size);
|
241
|
+
width: var(--profile-button-size);
|
419
242
|
|
420
|
-
&:
|
421
|
-
|
422
|
-
content: '';
|
423
|
-
height: 1px;
|
424
|
-
width: calc(100% - 2 * var(--lok-spacing-4));
|
425
|
-
position: absolute;
|
426
|
-
top: 0;
|
427
|
-
left: var(--lok-spacing-4);
|
428
|
-
background: var(--lok-color-background-surface-fore);
|
243
|
+
&:hover {
|
244
|
+
background: none;
|
429
245
|
}
|
430
246
|
}
|
431
247
|
|
432
|
-
.
|
433
|
-
|
248
|
+
._profileImage_1phdw_33 {
|
249
|
+
width: 40px;
|
250
|
+
height: 40px;
|
251
|
+
border-radius: 100%;
|
252
|
+
background-color: var(--lok-color-background-surface-default);
|
253
|
+
object-fit: contain; /* Make sure that non-square images maintain their aspect ratio */
|
434
254
|
}
|
435
255
|
|
436
|
-
.
|
437
|
-
|
438
|
-
overflow: hidden;
|
439
|
-
text-overflow: ellipsis;
|
440
|
-
margin-block: var(--lok-spacing-4) var(--lok-spacing-2);
|
256
|
+
._profileImageHighlight_1phdw_41 {
|
257
|
+
border: 3px solid var(--lok-color-background-action-danger-default);
|
441
258
|
}
|
442
259
|
|
443
|
-
.
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
text-overflow: ellipsis;
|
260
|
+
._profileImageUpgradeIcon_1phdw_45 {
|
261
|
+
position: absolute;
|
262
|
+
bottom: 10px;
|
263
|
+
right: 10px;
|
448
264
|
}
|
449
265
|
|
450
|
-
.
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
border-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
}
|
466
|
-
|
467
|
-
thead th,
|
468
|
-
tbody td {
|
469
|
-
padding-left: var(--lok-spacing-2);
|
470
|
-
}
|
266
|
+
._userIconWrapper_1phdw_51 {
|
267
|
+
width: 45px;
|
268
|
+
height: 45px;
|
269
|
+
display: flex;
|
270
|
+
align-items: center;
|
271
|
+
border-radius: var(--lok-radius-rounded);
|
272
|
+
justify-content: center;
|
273
|
+
margin: auto;
|
274
|
+
}
|
275
|
+
._logoLink_1baxb_1 {
|
276
|
+
display: flex;
|
277
|
+
align-items: center;
|
278
|
+
justify-content: center;
|
279
|
+
height: 67px;
|
280
|
+
position: relative;
|
471
281
|
|
472
|
-
|
473
|
-
|
474
|
-
padding-right: var(--lok-spacing-4);
|
282
|
+
&:hover {
|
283
|
+
background-color: var(--lok-color-background-surface-middle);
|
475
284
|
}
|
476
285
|
|
477
|
-
|
478
|
-
|
479
|
-
text-align: left;
|
480
|
-
padding-bottom: var(--lok-spacing-1);
|
481
|
-
font: var(--lok-typography-body-tiny-default);
|
482
|
-
text-transform: uppercase;
|
483
|
-
|
484
|
-
&:nth-child(1) {
|
485
|
-
width: 170px;
|
486
|
-
}
|
487
|
-
|
488
|
-
&:nth-child(2) {
|
489
|
-
width: 107px;
|
490
|
-
}
|
491
|
-
|
492
|
-
&:nth-child(3) {
|
493
|
-
width: 75px;
|
494
|
-
}
|
495
|
-
|
496
|
-
&:nth-child(4) {
|
497
|
-
width: 118px;
|
498
|
-
}
|
286
|
+
> img {
|
287
|
+
width: 36px;
|
499
288
|
}
|
500
289
|
}
|
290
|
+
._shortcutMenu_ujdmb_1:hover {
|
291
|
+
background-color: var(--lok-color-background-active);
|
292
|
+
}
|
501
293
|
|
502
|
-
.
|
294
|
+
._shortcutLabel_ujdmb_5 {
|
295
|
+
margin-left: var(--lok-spacing-1);
|
503
296
|
color: var(--lok-color-text-light-default);
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
> span {
|
508
|
-
overflow: hidden;
|
509
|
-
text-overflow: ellipsis;
|
510
|
-
flex-basis: 100%;
|
511
|
-
max-width: max-content;
|
297
|
+
width: 47px;
|
298
|
+
text-align: right;
|
299
|
+
}
|
512
300
|
|
513
|
-
|
514
|
-
|
515
|
-
|
301
|
+
._dropdownButton_ujdmb_12 {
|
302
|
+
cursor: pointer;
|
303
|
+
display: flex;
|
304
|
+
justify-content: center;
|
305
|
+
align-items: center;
|
306
|
+
height: 65px;
|
307
|
+
width: 64px;
|
308
|
+
background: transparent;
|
309
|
+
border: none;
|
310
|
+
outline: none;
|
311
|
+
color: var(--lok-color-text-light-default);
|
516
312
|
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
}
|
313
|
+
&:hover {
|
314
|
+
color: var(--lok-color-background-action-primary-default);
|
315
|
+
background-color: var(--lok-color-background-surface-fore);
|
521
316
|
}
|
522
317
|
}
|
523
|
-
._loadingContainer_19d6m_1 {
|
524
|
-
height: 100px;
|
525
|
-
width: 487px;
|
526
|
-
left: 69px;
|
527
|
-
}
|
528
318
|
|
529
|
-
.
|
530
|
-
|
531
|
-
|
532
|
-
width: 360px;
|
533
|
-
left: 65px;
|
534
|
-
}
|
535
|
-
|
536
|
-
._noTasksHeading_19d6m_14 {
|
537
|
-
font: var(--lok-typography-heading-3);
|
319
|
+
._dropdownButtonActive_ujdmb_30 {
|
320
|
+
color: var(--lok-color-background-action-primary-default);
|
321
|
+
background-color: var(--lok-color-background-surface-fore);
|
538
322
|
}
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
323
|
+
._sidebarContainer_1x0gj_1 {
|
324
|
+
border-right: 1px solid var(--lok-color-border-default);
|
325
|
+
position: fixed;
|
326
|
+
width: 65px;
|
327
|
+
top: 0;
|
328
|
+
left: 0;
|
329
|
+
bottom: 0;
|
330
|
+
background-color: var(--lok-color-background-surface-middle);
|
331
|
+
display: flex;
|
332
|
+
justify-content: space-between;
|
333
|
+
flex-direction: column;
|
334
|
+
padding-bottom: var(--lok-spacing-3);
|
335
|
+
z-index: 1;
|
543
336
|
}
|
544
337
|
|
545
|
-
.
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
338
|
+
._sidebarSkeleton_1x0gj_16 {
|
339
|
+
display: flex;
|
340
|
+
flex-direction: column;
|
341
|
+
justify-content: center;
|
342
|
+
align-items: center;
|
343
|
+
gap: var(--lok-spacing-5);
|
551
344
|
}
|
552
345
|
._breadcrumbsItem_1hm6a_1 {
|
553
346
|
color: var(--lok-color-text-light-default);
|
package/dist/harmony100.cjs
CHANGED
@@ -1,15 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
return /* @__PURE__ */ jsxRuntime.jsx(louis.SortIcon, { ariaLabel: "sorting" });
|
13
|
-
};
|
14
|
-
exports.SortingIcon = SortingIcon;
|
4
|
+
const Avatar_module = require("./harmony119.cjs");
|
5
|
+
const Avatar = ({
|
6
|
+
src,
|
7
|
+
href = "/",
|
8
|
+
ariaLabel = "Lokalise App Home",
|
9
|
+
alt = "Lokalise Logo"
|
10
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx("a", { className: Avatar_module.default.logoLink, href, "aria-label": ariaLabel, children: /* @__PURE__ */ jsxRuntime.jsx("img", { src, alt }) });
|
11
|
+
exports.Avatar = Avatar;
|
15
12
|
//# sourceMappingURL=harmony100.cjs.map
|
package/dist/harmony100.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.cjs","sources":["../src/components/
|
1
|
+
{"version":3,"file":"harmony100.cjs","sources":["../src/components/Sidebar/Widgets/Avatar/Avatar.tsx"],"sourcesContent":["import styles from './Avatar.module.css'\n\ntype AvatarProps = {\n\t/** URL of the avatar/logo image */\n\tsrc: string\n\t/** Link destination when avatar is clicked. Defaults to '/' */\n\thref?: string\n\t/** Accessibility label for the avatar link. Defaults to 'Home' */\n\tariaLabel?: string\n\t/** Alt text for the avatar image. Defaults to 'Lokalise' */\n\talt?: string\n}\n\n/**\n * Display company main avatar / logo in the top section of the Sidebar.\n * Used as the main branding element and home navigation link.\n *\n * @example\n * ```\n * <Avatar src=\"/logo.png\" href=\"/\" ariaLabel=\"Home\" alt=\"\" />\n * ```\n */\n\nexport const Avatar = ({\n\tsrc,\n\thref = '/',\n\tariaLabel = 'Lokalise App Home',\n\talt = 'Lokalise Logo',\n}: AvatarProps) => (\n\t<a className={styles.logoLink} href={href} aria-label={ariaLabel}>\n\t\t<img src={src} alt={alt} />\n\t</a>\n)\n"],"names":["jsx","styles"],"mappings":";;;;AAuBO,MAAM,SAAS,CAAC;AAAA,EACtB;AAAA,EACA,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,MAAM;AACP,MACEA,2BAAAA,IAAA,KAAA,EAAE,WAAWC,cAAA,QAAO,UAAU,MAAY,cAAY,WACtD,UAACD,2BAAAA,IAAA,OAAA,EAAI,KAAU,IAAA,CAAU,EAC1B,CAAA;;"}
|
package/dist/harmony100.mjs
CHANGED
@@ -1,15 +1,12 @@
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
2
|
-
import
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
}
|
10
|
-
return /* @__PURE__ */ jsx(SortIcon, { ariaLabel: "sorting" });
|
11
|
-
};
|
2
|
+
import styles from "./harmony119.mjs";
|
3
|
+
const Avatar = ({
|
4
|
+
src,
|
5
|
+
href = "/",
|
6
|
+
ariaLabel = "Lokalise App Home",
|
7
|
+
alt = "Lokalise Logo"
|
8
|
+
}) => /* @__PURE__ */ jsx("a", { className: styles.logoLink, href, "aria-label": ariaLabel, children: /* @__PURE__ */ jsx("img", { src, alt }) });
|
12
9
|
export {
|
13
|
-
|
10
|
+
Avatar
|
14
11
|
};
|
15
12
|
//# sourceMappingURL=harmony100.mjs.map
|
package/dist/harmony100.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony100.mjs","sources":["../src/components/
|
1
|
+
{"version":3,"file":"harmony100.mjs","sources":["../src/components/Sidebar/Widgets/Avatar/Avatar.tsx"],"sourcesContent":["import styles from './Avatar.module.css'\n\ntype AvatarProps = {\n\t/** URL of the avatar/logo image */\n\tsrc: string\n\t/** Link destination when avatar is clicked. Defaults to '/' */\n\thref?: string\n\t/** Accessibility label for the avatar link. Defaults to 'Home' */\n\tariaLabel?: string\n\t/** Alt text for the avatar image. Defaults to 'Lokalise' */\n\talt?: string\n}\n\n/**\n * Display company main avatar / logo in the top section of the Sidebar.\n * Used as the main branding element and home navigation link.\n *\n * @example\n * ```\n * <Avatar src=\"/logo.png\" href=\"/\" ariaLabel=\"Home\" alt=\"\" />\n * ```\n */\n\nexport const Avatar = ({\n\tsrc,\n\thref = '/',\n\tariaLabel = 'Lokalise App Home',\n\talt = 'Lokalise Logo',\n}: AvatarProps) => (\n\t<a className={styles.logoLink} href={href} aria-label={ariaLabel}>\n\t\t<img src={src} alt={alt} />\n\t</a>\n)\n"],"names":[],"mappings":";;AAuBO,MAAM,SAAS,CAAC;AAAA,EACtB;AAAA,EACA,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,MAAM;AACP,MACE,oBAAA,KAAA,EAAE,WAAW,OAAO,UAAU,MAAY,cAAY,WACtD,UAAC,oBAAA,OAAA,EAAI,KAAU,IAAA,CAAU,EAC1B,CAAA;"}
|
package/dist/harmony101.cjs
CHANGED
@@ -1,15 +1,50 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
4
|
+
const louis = require("@lokalise/louis");
|
5
|
+
const clsx = require("./harmony73.cjs");
|
6
|
+
const HelpMenu_module = require("./harmony120.cjs");
|
7
|
+
const HelpMenu = ({ contactSupport, keyboardShortcuts }) => {
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
9
|
+
louis.Menu,
|
10
|
+
{
|
11
|
+
menuButton: ({ opened }) => /* @__PURE__ */ jsxRuntime.jsx(louis.Tooltip, { placement: "right", tooltip: "Help", children: /* @__PURE__ */ jsxRuntime.jsx(
|
12
|
+
"button",
|
13
|
+
{
|
14
|
+
type: "button",
|
15
|
+
className: clsx.clsx(HelpMenu_module.default.dropdownButton, {
|
16
|
+
[HelpMenu_module.default.dropdownButtonActive]: opened
|
17
|
+
}),
|
18
|
+
"data-testid": "sidebar-help-menu-button",
|
19
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(louis.HelpCenterIcon, { size: "25px" })
|
20
|
+
}
|
21
|
+
) }),
|
22
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(louis.MenuList, { placement: "right-start", children: [
|
23
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://lokalise.com/blog/category/tutorials/", target: "_blank", children: "Tutorials" }),
|
24
|
+
contactSupport && /* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { onClick: contactSupport.onClick, children: "Contact support" }),
|
25
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://docs.lokalise.com/en/", target: "_blank", children: "Documentation" }),
|
26
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuDivider, {}),
|
27
|
+
keyboardShortcuts && /* @__PURE__ */ jsxRuntime.jsxs(louis.MenuItem, { className: HelpMenu_module.default.shortcutMenu, onClick: keyboardShortcuts.onClick, children: [
|
28
|
+
"Keyboard shortcuts",
|
29
|
+
" ",
|
30
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: HelpMenu_module.default.shortcutLabel, children: keyboardShortcuts.label })
|
31
|
+
] }),
|
32
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
33
|
+
louis.MenuItem,
|
34
|
+
{
|
35
|
+
href: "https://developers.lokalise.com/reference/lokalise-rest-api",
|
36
|
+
target: "_blank",
|
37
|
+
children: "API reference"
|
38
|
+
}
|
39
|
+
),
|
40
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://github.com/lokalise/lokalise-cli-2-go", target: "_blank", children: "CLI tool" }),
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuDivider, {}),
|
42
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://lokalise.com/blog/category/product-updates/", target: "_blank", children: "What’s new" }),
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://lokalise.com/blog/", target: "_blank", children: "Blog" }),
|
44
|
+
/* @__PURE__ */ jsxRuntime.jsx(louis.MenuItem, { href: "https://lokalise.com/product/apps", target: "_blank", children: "Apps" })
|
45
|
+
] })
|
46
|
+
}
|
47
|
+
);
|
10
48
|
};
|
11
|
-
exports.
|
12
|
-
exports.default = styles;
|
13
|
-
exports.headerSortButton = headerSortButton;
|
14
|
-
exports.rightAlignedCell = rightAlignedCell;
|
49
|
+
exports.HelpMenu = HelpMenu;
|
15
50
|
//# sourceMappingURL=harmony101.cjs.map
|
package/dist/harmony101.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony101.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony101.cjs","sources":["../src/components/Sidebar/Widgets/HelpMenu/HelpMenu.tsx"],"sourcesContent":["import type { HelpMenuConfig } from '@components/Sidebar/types'\nimport { HelpCenterIcon, Menu, MenuDivider, MenuItem, MenuList, Tooltip } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './HelpMenu.module.css'\n\n/**\n * Help menu component that provides links to tutorials, documentation, support, and more.\n *\n * @example\n * ```\n * <HelpMenu\n * contactSupport={{ onClick: handleContactSupport }}\n * keyboardShortcuts={{ onClick: handleShowShortcuts, label: '⌘K' }}\n * />\n * ```\n */\n\nexport const HelpMenu = ({ contactSupport, keyboardShortcuts }: HelpMenuConfig) => {\n\treturn (\n\t\t<Menu\n\t\t\tmenuButton={({ opened }) => (\n\t\t\t\t<Tooltip placement=\"right\" tooltip=\"Help\">\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclassName={clsx(styles.dropdownButton, {\n\t\t\t\t\t\t\t[styles.dropdownButtonActive]: opened,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tdata-testid=\"sidebar-help-menu-button\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<HelpCenterIcon size=\"25px\" />\n\t\t\t\t\t</button>\n\t\t\t\t</Tooltip>\n\t\t\t)}\n\t\t>\n\t\t\t<MenuList placement=\"right-start\">\n\t\t\t\t<MenuItem href=\"https://lokalise.com/blog/category/tutorials/\" target=\"_blank\">\n\t\t\t\t\tTutorials\n\t\t\t\t</MenuItem>\n\t\t\t\t{contactSupport && <MenuItem onClick={contactSupport.onClick}>Contact support</MenuItem>}\n\t\t\t\t<MenuItem href=\"https://docs.lokalise.com/en/\" target=\"_blank\">\n\t\t\t\t\tDocumentation\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuDivider />\n\t\t\t\t{keyboardShortcuts && (\n\t\t\t\t\t<MenuItem className={styles.shortcutMenu} onClick={keyboardShortcuts.onClick}>\n\t\t\t\t\t\tKeyboard shortcuts{' '}\n\t\t\t\t\t\t<span className={styles.shortcutLabel}>{keyboardShortcuts.label}</span>\n\t\t\t\t\t</MenuItem>\n\t\t\t\t)}\n\t\t\t\t<MenuItem\n\t\t\t\t\thref=\"https://developers.lokalise.com/reference/lokalise-rest-api\"\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t>\n\t\t\t\t\tAPI reference\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuItem href=\"https://github.com/lokalise/lokalise-cli-2-go\" target=\"_blank\">\n\t\t\t\t\tCLI tool\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuDivider />\n\t\t\t\t<MenuItem href=\"https://lokalise.com/blog/category/product-updates/\" target=\"_blank\">\n\t\t\t\t\tWhat’s new\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuItem href=\"https://lokalise.com/blog/\" target=\"_blank\">\n\t\t\t\t\tBlog\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuItem href=\"https://lokalise.com/product/apps\" target=\"_blank\">\n\t\t\t\t\tApps\n\t\t\t\t</MenuItem>\n\t\t\t</MenuList>\n\t\t</Menu>\n\t)\n}\n"],"names":["jsx","Menu","Tooltip","clsx","styles","HelpCenterIcon","jsxs","MenuList","MenuItem","MenuDivider"],"mappings":";;;;;;AAiBO,MAAM,WAAW,CAAC,EAAE,gBAAgB,wBAAwC;AAEjF,SAAAA,2BAAA;AAAA,IAACC,MAAA;AAAA,IAAA;AAAA,MACA,YAAY,CAAC,EAAE,OAAO,qCACpBC,MAAQ,SAAA,EAAA,WAAU,SAAQ,SAAQ,QAClC,UAAAF,2BAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,MAAK;AAAA,UACL,WAAWG,KAAAA,KAAKC,gBAAA,QAAO,gBAAgB;AAAA,YACtC,CAACA,gBAAAA,QAAO,oBAAoB,GAAG;AAAA,UAAA,CAC/B;AAAA,UACD,eAAY;AAAA,UAEZ,UAAAJ,2BAAAA,IAACK,MAAAA,gBAAe,EAAA,MAAK,OAAO,CAAA;AAAA,QAAA;AAAA,MAAA,GAE9B;AAAA,MAGD,UAAAC,2BAAA,KAACC,MAAS,UAAA,EAAA,WAAU,eACnB,UAAA;AAAA,QAAAP,+BAACQ,MAAAA,UAAS,EAAA,MAAK,iDAAgD,QAAO,UAAS,UAE/E,aAAA;AAAA,QACC,kBAAmBR,2BAAAA,IAAAQ,MAAAA,UAAA,EAAS,SAAS,eAAe,SAAS,UAAe,mBAAA;AAAA,uCAC5EA,MAAAA,UAAS,EAAA,MAAK,iCAAgC,QAAO,UAAS,UAE/D,iBAAA;AAAA,uCACCC,MAAY,aAAA,EAAA;AAAA,QACZ,qDACCD,gBAAS,EAAA,WAAWJ,gBAAAA,QAAO,cAAc,SAAS,kBAAkB,SAAS,UAAA;AAAA,UAAA;AAAA,UAC1D;AAAA,yCAClB,QAAK,EAAA,WAAWA,gBAAAA,QAAO,eAAgB,4BAAkB,MAAM,CAAA;AAAA,QAAA,GACjE;AAAA,QAEDJ,2BAAA;AAAA,UAACQ,MAAA;AAAA,UAAA;AAAA,YACA,MAAK;AAAA,YACL,QAAO;AAAA,YACP,UAAA;AAAA,UAAA;AAAA,QAED;AAAA,uCACCA,MAAAA,UAAS,EAAA,MAAK,iDAAgD,QAAO,UAAS,UAE/E,YAAA;AAAA,uCACCC,MAAY,aAAA,EAAA;AAAA,uCACZD,MAAAA,UAAS,EAAA,MAAK,uDAAsD,QAAO,UAAS,UAErF,cAAA;AAAA,uCACCA,MAAAA,UAAS,EAAA,MAAK,8BAA6B,QAAO,UAAS,UAE5D,QAAA;AAAA,uCACCA,MAAAA,UAAS,EAAA,MAAK,qCAAoC,QAAO,UAAS,UAEnE,OAAA,CAAA;AAAA,MAAA,EACD,CAAA;AAAA,IAAA;AAAA,EACD;AAEF;;"}
|