@hyvor/design 2.0.5 → 2.0.6
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/cloud/CloudContext/CloudContext.svelte +1 -1
- package/dist/cloud/CloudContext/CloudContext.svelte.d.ts +1 -1
- package/dist/cloud/HyvorBar/BarNotice/BarLicense.svelte +1 -1
- package/dist/cloud/HyvorBar/BarNotice/BarNotice.svelte +1 -1
- package/dist/cloud/HyvorBar/BarProducts/BarProducts.svelte +1 -1
- package/dist/cloud/HyvorBar/BarSupport.svelte +1 -1
- package/dist/cloud/HyvorBar/BarUpdatesList.svelte +1 -1
- package/dist/cloud/HyvorBar/BarUser.svelte +1 -1
- package/dist/cloud/HyvorBar/BarUserPicture.svelte +1 -1
- package/dist/cloud/HyvorBar/BarUserPreview.svelte +1 -1
- package/dist/cloud/HyvorBar/HyvorBar.svelte +1 -1
- package/dist/cloud/HyvorBar/Organization/BarOrganization.svelte +1 -1
- package/dist/cloud/HyvorBar/bar.js +1 -1
- package/dist/cloud/OrganizationCreator/OrganizationCreator.svelte +3 -3
- package/dist/cloud/OrganizationCreator/{organizationCreator.svelte.d.ts → organizationCreatorState.svelte.d.ts} +1 -1
- package/dist/cloud/OrganizationCreator/{organizationCreator.svelte.js → organizationCreatorState.svelte.js} +1 -1
- package/dist/cloud/OrganizationMembers/OrganizationMembersSearch.svelte +4 -1
- package/dist/cloud/OrganizationMembers/members.d.ts +1 -1
- package/dist/cloud/OrganizationMembers/members.js +1 -1
- package/dist/cloud/OrganizationSwitcher/OrganizationSwitcher.svelte +3 -3
- package/dist/cloud/OrganizationSwitcher/{organizationSwitcher.svelte.d.ts → organizationSwitcherState.svelte.d.ts} +1 -1
- package/dist/cloud/OrganizationSwitcher/{organizationSwitcher.svelte.js → organizationSwitcherState.svelte.js} +1 -1
- package/dist/cloud/ResourceCreator/ResourceCreator.svelte +3 -3
- package/dist/cloud/ResourceCreator/ResourceCreator.svelte.d.ts +1 -1
- package/dist/cloud/index.d.ts +1 -1
- package/dist/cloud/index.js +1 -1
- package/package.json +1 -1
- /package/dist/cloud/CloudContext/{cloudContext.svelte.d.ts → cloudContextState.svelte.d.ts} +0 -0
- /package/dist/cloud/CloudContext/{cloudContext.svelte.js → cloudContextState.svelte.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { getCloudContext } from '../../CloudContext/
|
|
2
|
+
import { getCloudContext } from '../../CloudContext/cloudContextState.svelte.js';
|
|
3
3
|
import Tag from '../../../components/Tag/Tag.svelte';
|
|
4
4
|
import Tooltip from '../../../components/Tooltip/Tooltip.svelte';
|
|
5
5
|
import IconBuilding from '@hyvor/icons/IconBuilding';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { barHasFailedInvoices } from '../bar.js';
|
|
3
3
|
import { Tag, Tooltip } from '../../../components/index.js';
|
|
4
4
|
import IconExclamationCircle from '@hyvor/icons/IconExclamationCircle';
|
|
5
|
-
import { getCloudContext } from '../../CloudContext/
|
|
5
|
+
import { getCloudContext } from '../../CloudContext/cloudContextState.svelte.js';
|
|
6
6
|
|
|
7
7
|
const { instance } = $derived(getCloudContext());
|
|
8
8
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ActionList, ActionListItem, Dropdown } from '../../../components/index.js';
|
|
3
3
|
import IconGrid from '@hyvor/icons/IconGrid';
|
|
4
|
-
import { getCloudContext } from '../../CloudContext/
|
|
4
|
+
import { getCloudContext } from '../../CloudContext/cloudContextState.svelte.js';
|
|
5
5
|
import { getProductsGroupedBySuite, getSuiteName } from './products.js';
|
|
6
6
|
import IconButton from '../../../components/IconButton/IconButton.svelte';
|
|
7
7
|
import ActionListGroup from '../../../components/ActionList/ActionListGroup.svelte';
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import Trustpilot from './img/Trustpilot.svelte';
|
|
21
21
|
import { SOCIAL_LINKS } from '../../marketing/social.js';
|
|
22
22
|
import IconTwitterX from '@hyvor/icons/IconTwitterX';
|
|
23
|
-
import { getCloudContext } from '../CloudContext/
|
|
23
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
24
24
|
import { PRODUCTS } from './BarProducts/products.js';
|
|
25
25
|
|
|
26
26
|
let supportDropdown = $state(false);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
Tag,
|
|
12
12
|
IconMessage
|
|
13
13
|
} from '../../components/index.js';
|
|
14
|
-
import { getCloudContext } from '../CloudContext/
|
|
14
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
15
15
|
|
|
16
16
|
let updates: BarUpdate[] = $state([]);
|
|
17
17
|
let loading = $state(true);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import Dropdown from '../../components/Dropdown/Dropdown.svelte';
|
|
6
6
|
import ActionList from '../../components/ActionList/ActionList.svelte';
|
|
7
7
|
import ActionListItem from '../../components/ActionList/ActionListItem.svelte';
|
|
8
|
-
import { getCloudContext } from '../CloudContext/
|
|
8
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
9
9
|
|
|
10
10
|
const cloudContext = $derived(getCloudContext());
|
|
11
11
|
const logoutUrl = `${cloudContext.instance}/account/logout`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import UserPicture from '../@components/UserPicture.svelte';
|
|
3
|
-
import { getCloudContext } from '../CloudContext/
|
|
3
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
4
4
|
|
|
5
5
|
const { user } = $derived(getCloudContext());
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { getCloudContext } from '../CloudContext/
|
|
2
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
3
3
|
import BarUserPicture from './BarUserPicture.svelte';
|
|
4
4
|
|
|
5
5
|
const { user } = $derived(getCloudContext());
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import BarNotice from './BarNotice/BarNotice.svelte';
|
|
9
9
|
import BarLicense from './BarNotice/BarLicense.svelte';
|
|
10
10
|
import BarOrganization from './Organization/BarOrganization.svelte';
|
|
11
|
-
import { cloudContextId, getCloudContext } from '../CloudContext/
|
|
11
|
+
import { cloudContextId, getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
12
12
|
import { PRODUCTS } from './BarProducts/products.js';
|
|
13
13
|
|
|
14
14
|
interface Props {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import DropdownContent from '../../../components/Dropdown/DropdownContent.svelte';
|
|
4
4
|
import OrganizationSwitcher from '../../OrganizationSwitcher/OrganizationSwitcher.svelte';
|
|
5
5
|
import OrganizationCreator from '../../OrganizationCreator/OrganizationCreator.svelte';
|
|
6
|
-
import { getCloudContext } from '../../CloudContext/
|
|
6
|
+
import { getCloudContext } from '../../CloudContext/cloudContextState.svelte.js';
|
|
7
7
|
import Tooltip from '../../../components/Tooltip/Tooltip.svelte';
|
|
8
8
|
|
|
9
9
|
let disableTooltip = $state(false);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { writable } from 'svelte/store';
|
|
2
|
-
import { getCloudContext } from '../CloudContext/
|
|
2
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
3
3
|
export const barUnreadUpdates = writable(0);
|
|
4
4
|
export const barHasFailedInvoices = writable(false);
|
|
5
5
|
export async function initBar() {
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import {
|
|
7
7
|
getCloudContext,
|
|
8
8
|
type CloudContextOrganization
|
|
9
|
-
} from '../CloudContext/
|
|
10
|
-
import { addToLoadedOrganizations } from '../OrganizationSwitcher/
|
|
9
|
+
} from '../CloudContext/cloudContextState.svelte.js';
|
|
10
|
+
import { addToLoadedOrganizations } from '../OrganizationSwitcher/organizationSwitcherState.svelte.js';
|
|
11
11
|
import {
|
|
12
12
|
createOrganization,
|
|
13
13
|
getCreatorOpened,
|
|
14
14
|
setCreatorOpened
|
|
15
|
-
} from './
|
|
15
|
+
} from './organizationCreatorState.svelte.js';
|
|
16
16
|
|
|
17
17
|
let name = $state('');
|
|
18
18
|
let input: HTMLInputElement | undefined = $state(undefined);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CloudContextOrganization } from '../CloudContext/
|
|
1
|
+
import { type CloudContextOrganization } from '../CloudContext/cloudContextState.svelte.js';
|
|
2
2
|
export declare function getCreatorOpened(): boolean;
|
|
3
3
|
export declare function setCreatorOpened(opened?: boolean): void;
|
|
4
4
|
export declare function createOrganization(name: string): Promise<CloudContextOrganization>;
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
import { clickOutside, IconMessage, toast } from '../../components/index.js';
|
|
3
3
|
import Loader from '../../components/Loader/Loader.svelte';
|
|
4
4
|
import TextInput from '../../components/TextInput/TextInput.svelte';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
getCloudContext,
|
|
7
|
+
type OrganizationMember
|
|
8
|
+
} from '../CloudContext/cloudContextState.svelte.js';
|
|
6
9
|
import { searchMembers } from './members.js';
|
|
7
10
|
import { dropdownSlide } from '../../components/Dropdown/dropdownSlide.js';
|
|
8
11
|
import UserPicture from '../@components/UserPicture.svelte';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type OrganizationMember } from '../CloudContext/
|
|
1
|
+
import { type OrganizationMember } from '../CloudContext/cloudContextState.svelte.js';
|
|
2
2
|
export declare function searchMembers(search: string): Promise<OrganizationMember[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCloudContext } from '../CloudContext/
|
|
1
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
2
2
|
export async function searchMembers(search) {
|
|
3
3
|
const { instance, organization } = getCloudContext();
|
|
4
4
|
const query = new URLSearchParams({
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import {
|
|
11
11
|
getCloudContext,
|
|
12
12
|
type CloudContextOrganization
|
|
13
|
-
} from '../CloudContext/
|
|
13
|
+
} from '../CloudContext/cloudContextState.svelte.js';
|
|
14
14
|
import {
|
|
15
15
|
getMyOrganizations,
|
|
16
16
|
getLoadedOrganizations,
|
|
17
17
|
switchOrganization
|
|
18
|
-
} from './
|
|
19
|
-
import { setCreatorOpened } from '../OrganizationCreator/
|
|
18
|
+
} from './organizationSwitcherState.svelte.js';
|
|
19
|
+
import { setCreatorOpened } from '../OrganizationCreator/organizationCreatorState.svelte.js';
|
|
20
20
|
|
|
21
21
|
let loading = $state(true);
|
|
22
22
|
let error = $state('');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CloudContextOrganization } from '../CloudContext/
|
|
1
|
+
import { type CloudContextOrganization } from '../CloudContext/cloudContextState.svelte.js';
|
|
2
2
|
export declare function getLoadedOrganizations(): CloudContextOrganization[] | undefined;
|
|
3
3
|
export declare function addToLoadedOrganizations(org: CloudContextOrganization): void;
|
|
4
4
|
export declare function getMyOrganizations(): Promise<CloudContextOrganization[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCloudContext } from '../CloudContext/
|
|
1
|
+
import { getCloudContext } from '../CloudContext/cloudContextState.svelte.js';
|
|
2
2
|
let loadedOrganizations = $state(undefined);
|
|
3
3
|
export function getLoadedOrganizations() {
|
|
4
4
|
return loadedOrganizations;
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
import {
|
|
7
7
|
getCloudContext,
|
|
8
8
|
type CloudContextOrganization
|
|
9
|
-
} from '../CloudContext/
|
|
9
|
+
} from '../CloudContext/cloudContextState.svelte.js';
|
|
10
10
|
import OrganizationSwitcher from '../OrganizationSwitcher/OrganizationSwitcher.svelte';
|
|
11
11
|
import Accordian from './Accordian.svelte';
|
|
12
12
|
import TextInput from '../../components/TextInput/TextInput.svelte';
|
|
13
13
|
import SplitControl from '../../components/SplitControl/SplitControl.svelte';
|
|
14
14
|
import IconInfoCircle from '@hyvor/icons/IconInfoCircle';
|
|
15
|
-
import { createOrganization } from '../OrganizationCreator/
|
|
15
|
+
import { createOrganization } from '../OrganizationCreator/organizationCreatorState.svelte.js';
|
|
16
16
|
import { toast } from '../../components/index.js';
|
|
17
|
-
import { addToLoadedOrganizations } from '../OrganizationSwitcher/
|
|
17
|
+
import { addToLoadedOrganizations } from '../OrganizationSwitcher/organizationSwitcherState.svelte.js';
|
|
18
18
|
import FormControl from '../../components/FormControl/FormControl.svelte';
|
|
19
19
|
import Validation from '../../components/FormControl/Validation.svelte';
|
|
20
20
|
|
package/dist/cloud/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as CloudContext } from './CloudContext/CloudContext.svelte';
|
|
2
|
-
export { getCloudContext, setCloudContext, type CloudContext as CloudContextType, type CloudContextUser, type CloudContextOrganization, type OrganizationRole, type OrganizationMember, type ResolvedLicense } from './CloudContext/
|
|
2
|
+
export { getCloudContext, setCloudContext, type CloudContext as CloudContextType, type CloudContextUser, type CloudContextOrganization, type OrganizationRole, type OrganizationMember, type ResolvedLicense } from './CloudContext/cloudContextState.svelte.js';
|
|
3
3
|
export { default as HyvorBar } from './HyvorBar/HyvorBar.svelte';
|
|
4
4
|
export { bar as hyvorBar } from './HyvorBar/bar.js';
|
|
5
5
|
export { default as ResourceCreator } from './ResourceCreator/ResourceCreator.svelte';
|
package/dist/cloud/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as CloudContext } from './CloudContext/CloudContext.svelte';
|
|
2
|
-
export { getCloudContext, setCloudContext } from './CloudContext/
|
|
2
|
+
export { getCloudContext, setCloudContext } from './CloudContext/cloudContextState.svelte.js';
|
|
3
3
|
export { default as HyvorBar } from './HyvorBar/HyvorBar.svelte';
|
|
4
4
|
export { bar as hyvorBar } from './HyvorBar/bar.js';
|
|
5
5
|
export { default as ResourceCreator } from './ResourceCreator/ResourceCreator.svelte';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|