@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 +1 -1
- 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/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -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';
|