@hanzo/ui 0.6.15 → 0.6.17

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/CHANGELOG.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "@hcengineering/ui",
2
+ "name": "@hanzo/ui",
3
3
  "entries": [
4
4
  {
5
5
  "version": "0.6.0",
6
- "tag": "@hcengineering/ui_v0.6.0",
6
+ "tag": "@hanzo/ui_v0.6.0",
7
7
  "date": "Sun, 08 Aug 2021 10:14:57 GMT",
8
8
  "comments": {
9
9
  "dependency": [
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- # Change Log - @hcengineering/ui
1
+ # Change Log - @hanzo/ui
2
2
 
3
3
  This log was last generated on Sun, 08 Aug 2021 10:14:57 GMT and should not be manually modified.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "0.6.15",
3
+ "version": "0.6.17",
4
4
  "main": "src/index.ts",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "EPL-2.0",
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@hanzo/analytics": "^0.6.0",
43
- "@hanzo/core": "^0.6.32",
44
- "@hanzo/platform": "^0.6.11",
45
- "@hanzo/theme": "^0.6.5",
43
+ "@hanzo/core": "^0.6.34",
44
+ "@hanzo/platform": "^0.6.12",
45
+ "@hanzo/theme": "^0.6.6",
46
46
  "autolinker": "4.0.0",
47
47
  "date-fns": "^2.30.0",
48
48
  "date-fns-tz": "^2.0.0",
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { Asset, IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { createEventDispatcher, onMount } from 'svelte'
20
20
  import { deviceOptionsStore, resizeObserver } from '..'
21
21
  import plugin from '../plugin'
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { createEventDispatcher, onMount } from 'svelte'
20
20
  import { registerFocus } from '../focus'
21
21
  import plugin from '../plugin'
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { Asset, IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { ComponentType, createEventDispatcher } from 'svelte'
20
20
 
21
21
  import plugin from '../plugin'
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
 
20
20
  export let label: IntlString
21
21
  export let params: Record<string, any> = {}
@@ -16,7 +16,7 @@
16
16
  // This component converts all URLs from the provided string or IntlString to Links.
17
17
 
18
18
  import { IntlString, translateCB } from '@hanzo/platform'
19
- import { themeStore } from '@hcengineering/theme'
19
+ import { themeStore } from '@hanzo/theme'
20
20
  import { replaceURLs } from '../utils'
21
21
 
22
22
  export let text: string | undefined = undefined
@@ -13,7 +13,7 @@
13
13
  // limitations under the License.
14
14
  -->
15
15
  <script lang="ts">
16
- import { themeStore } from '@hcengineering/theme'
16
+ import { themeStore } from '@hanzo/theme'
17
17
  import { getPlatformColor } from '../colors'
18
18
  export let values: Progress[]
19
19
  export let min: number = 0
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { afterUpdate, createEventDispatcher, onMount } from 'svelte'
20
20
  import { registerFocus } from '../focus'
21
21
  import plugin from '../plugin'
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { afterUpdate, onMount } from 'svelte'
20
20
 
21
21
  import ui from '../plugin'
@@ -13,7 +13,7 @@
13
13
  // limitations under the License.
14
14
  -->
15
15
  <script lang="ts">
16
- import { themeStore } from '@hcengineering/theme'
16
+ import { themeStore } from '@hanzo/theme'
17
17
  import { getPlatformColor } from '../colors'
18
18
  import { createEventDispatcher } from 'svelte'
19
19
  import { deviceOptionsStore } from '..'
@@ -13,7 +13,7 @@
13
13
  // limitations under the License.
14
14
  -->
15
15
  <script lang="ts">
16
- import { themeStore } from '@hcengineering/theme'
16
+ import { themeStore } from '@hanzo/theme'
17
17
  import { getPlatformColor } from '../colors'
18
18
  import { IconSize } from '../types'
19
19
 
@@ -13,7 +13,7 @@
13
13
  // limitations under the License.
14
14
  -->
15
15
  <script lang="ts">
16
- import { themeStore as themeOptions } from '@hcengineering/theme'
16
+ import { themeStore as themeOptions } from '@hanzo/theme'
17
17
  import { afterUpdate, beforeUpdate, createEventDispatcher, onDestroy, onMount } from 'svelte'
18
18
  import { resizeObserver } from '../resize'
19
19
  import { closeTooltip, tooltipstore } from '../tooltips'
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { createEventDispatcher, onDestroy, onMount } from 'svelte'
20
20
  import plugin from '../plugin'
21
21
  import IconClose from './icons/Close.svelte'
@@ -27,7 +27,7 @@
27
27
  import IconCheck from './icons/Check.svelte'
28
28
  import IconSearch from './icons/Search.svelte'
29
29
  import { translate } from '@hanzo/platform'
30
- import { themeStore } from '@hcengineering/theme'
30
+ import { themeStore } from '@hanzo/theme'
31
31
 
32
32
  export let placeholder: IntlString | undefined = undefined
33
33
  export let placeholderParam: any | undefined = undefined
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import type { IntlString } from '@hanzo/platform'
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import plugin from '../plugin'
20
20
  import Label from './Label.svelte'
21
21
 
@@ -15,7 +15,7 @@
15
15
  <script lang="ts">
16
16
  import { translate } from '@hanzo/platform'
17
17
  import ui from '../plugin'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { DAY, HOUR, MINUTE } from '../types'
20
20
 
21
21
  export let value: number
@@ -15,7 +15,7 @@
15
15
  -->
16
16
  <script lang="ts">
17
17
  import { translateCB } from '@hanzo/platform'
18
- import { themeStore } from '@hcengineering/theme'
18
+ import { themeStore } from '@hanzo/theme'
19
19
  import { ticker } from '..'
20
20
  import ui from '../plugin'
21
21
  import { tooltip } from '../tooltips'
@@ -4,7 +4,7 @@
4
4
  import type { AnyComponent, WidthType } from '../../types'
5
5
  import { deviceSizes, deviceWidths } from '../../types'
6
6
  // import { applicationShortcutKey } from '../../utils'
7
- import { Theme, themeStore } from '@hcengineering/theme'
7
+ import { Theme, themeStore } from '@hanzo/theme'
8
8
  import {
9
9
  IconArrowLeft,
10
10
  IconArrowRight,
@@ -17,7 +17,7 @@
17
17
  import { IntlString, translate } from '@hanzo/platform'
18
18
  import { afterUpdate } from 'svelte'
19
19
  import { WizardItemPosition, WizardItemPositionState } from '../..'
20
- import { themeStore } from '@hcengineering/theme'
20
+ import { themeStore } from '@hanzo/theme'
21
21
 
22
22
  export let label: IntlString
23
23
  export let position: WizardItemPosition
package/src/index.ts CHANGED
@@ -47,7 +47,7 @@ export type {
47
47
  MouseTargetEvent
48
48
  } from './types'
49
49
 
50
- export { themeStore, languageStore } from '@hcengineering/theme'
50
+ export { themeStore, languageStore } from '@hanzo/theme'
51
51
  // export { applicationShortcutKey } from './utils'
52
52
  export { getCurrentLocation, locationToUrl, navigate, location, setLocationStorageKey } from './location'
53
53
 
@@ -1,4 +1,4 @@
1
- import type { IntlString } from '@hcengineering/platform';
1
+ import type { IntlString } from '@hanzo/platform';
2
2
  import type { EmojiCategory } from './types';
3
3
  export * from './types';
4
4
  export * from './store';
@@ -1,4 +1,4 @@
1
- import type { IntlString } from '@hcengineering/platform';
1
+ import type { IntlString } from '@hanzo/platform';
2
2
  import type { AnySvelteComponent } from '../..';
3
3
  import type { Emoji } from 'emojibase';
4
4
  export type EmojiWithGroup = Emoji & {
package/types/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { type SvelteComponent } from 'svelte';
2
2
  import { uis } from './plugin';
3
3
  import type { DeviceOptions } from './types';
4
4
  export type { AnyComponent, AnySvelteComponent, Action, LabelAndProps, ListItem, TooltipAlignment, AnySvelteComponentWithProps, Location, PopupAlignment, PopupPositionElement, ButtonKind, ButtonSize, ButtonItem, HeaderAdaptive, IconSize, TabItem, BreadcrumbItem, DeviceOptions, TSeparatedItem, SeparatedItem, DefSeparators, SeparatedElement, TimeZone, MouseTargetEvent } from './types';
5
- export { themeStore, languageStore } from '@hcengineering/theme';
5
+ export { themeStore, languageStore } from '@hanzo/theme';
6
6
  export { getCurrentLocation, locationToUrl, navigate, location, setLocationStorageKey } from './location';
7
7
  export { default as EditBox } from './components/EditBox.svelte';
8
8
  export { default as Label } from './components/Label.svelte';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="svelte" />
2
- import { type Plugin } from '@hcengineering/platform';
2
+ import { type Plugin } from '@hanzo/platform';
3
3
  import { type Location as PlatformLocation } from './types';
4
4
  export declare function locationToUrl(location: PlatformLocation): string;
5
5
  export declare function parseLocation(location: Location | URL): PlatformLocation;
package/types/plugin.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IntlString, Metadata, Plugin } from '@hcengineering/platform';
1
+ import type { IntlString, Metadata, Plugin } from '@hanzo/platform';
2
2
  import { type AnyComponent } from './types';
3
3
  /**
4
4
  * @public
@@ -1,5 +1,5 @@
1
1
  /// <reference types="svelte" />
2
- import { type IntlString } from '@hcengineering/platform';
2
+ import { type IntlString } from '@hanzo/platform';
3
3
  import type { AnyComponent, AnySvelteComponent, LabelAndProps, TooltipAlignment } from './types';
4
4
  export declare const tooltipstore: import("svelte/store").Readable<LabelAndProps>;
5
5
  export declare function tooltip(node: HTMLElement, options?: LabelAndProps): any;
package/types/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { type Timestamp } from '@hcengineering/core';
2
- import type { Asset, IntlString, Resource } from '@hcengineering/platform';
1
+ import { type Timestamp } from '@hanzo/core';
2
+ import type { Asset, IntlString, Resource } from '@hanzo/platform';
3
3
  import { /* getContext, */ type ComponentType } from 'svelte';
4
4
  /**
5
5
  * Describe a browser URI location parsed to path, query and fragment.
package/types/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="svelte" />
2
- import type { IntlString, Metadata } from '@hcengineering/platform';
2
+ import type { IntlString, Metadata } from '@hanzo/platform';
3
3
  import { NotificationSeverity } from '.';
4
4
  import { type AnyComponent, type AnySvelteComponent, type WidthType } from './types';
5
5
  /**