@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 +2 -2
- package/CHANGELOG.md +1 -1
- package/package.json +4 -4
- package/src/components/DropdownPopup.svelte +1 -1
- package/src/components/EditBox.svelte +1 -1
- package/src/components/EditWithIcon.svelte +1 -1
- package/src/components/Label.svelte +1 -1
- package/src/components/LinkWrapper.svelte +1 -1
- package/src/components/MultiProgress.svelte +1 -1
- package/src/components/NumberInput.svelte +1 -1
- package/src/components/PlainTextEditor.svelte +1 -1
- package/src/components/Progress.svelte +1 -1
- package/src/components/ProgressCircle.svelte +1 -1
- package/src/components/Scroller.svelte +1 -1
- package/src/components/SearchInput.svelte +1 -1
- package/src/components/SelectPopup.svelte +1 -1
- package/src/components/TextArea.svelte +1 -1
- package/src/components/TimeShiftPresenter.svelte +1 -1
- package/src/components/TimeSince.svelte +1 -1
- package/src/components/internal/Root.svelte +1 -1
- package/src/components/wizard/WizardStep.svelte +1 -1
- package/src/index.ts +1 -1
- package/types/components/emoji/index.d.ts +1 -1
- package/types/components/emoji/types.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/types/location.d.ts +1 -1
- package/types/plugin.d.ts +1 -1
- package/types/tooltips.d.ts +1 -1
- package/types/types.d.ts +2 -2
- package/types/utils.d.ts +1 -1
package/CHANGELOG.json
CHANGED
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "0.6.
|
|
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.
|
|
44
|
-
"@hanzo/platform": "^0.6.
|
|
45
|
-
"@hanzo/theme": "^0.6.
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 as themeOptions } from '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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 '@
|
|
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';
|
package/types/location.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="svelte" />
|
|
2
|
-
import { type Plugin } from '@
|
|
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
package/types/tooltips.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="svelte" />
|
|
2
|
-
import { type IntlString } from '@
|
|
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 '@
|
|
2
|
-
import type { Asset, IntlString, Resource } from '@
|
|
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 '@
|
|
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
|
/**
|