@hanzo/ui 0.6.15 → 0.6.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "0.6.15",
3
+ "version": "0.6.16",
4
4
  "main": "src/index.ts",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "EPL-2.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
 
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';