@sprawlify/svelte 0.0.75 → 0.0.76
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/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +1 -0
- package/dist/components/aspect-ratio/aspect-ratio-anatomy.d.ts +1 -0
- package/dist/components/aspect-ratio/aspect-ratio-anatomy.js +1 -0
- package/dist/components/aspect-ratio/aspect-ratio-content.svelte +18 -0
- package/dist/components/aspect-ratio/aspect-ratio-content.svelte.d.ts +8 -0
- package/dist/components/aspect-ratio/aspect-ratio-context.svelte +17 -0
- package/dist/components/aspect-ratio/aspect-ratio-context.svelte.d.ts +8 -0
- package/dist/components/aspect-ratio/aspect-ratio-root-provider.svelte +29 -0
- package/dist/components/aspect-ratio/aspect-ratio-root-provider.svelte.d.ts +12 -0
- package/dist/components/aspect-ratio/aspect-ratio-root.svelte +33 -0
- package/dist/components/aspect-ratio/aspect-ratio-root.svelte.d.ts +9 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +4 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +4 -0
- package/dist/components/aspect-ratio/index.d.ts +7 -0
- package/dist/components/aspect-ratio/index.js +7 -0
- package/dist/components/aspect-ratio/use-aspect-ratio-context.d.ts +4 -0
- package/dist/components/aspect-ratio/use-aspect-ratio-context.js +4 -0
- package/dist/components/aspect-ratio/use-aspect-ratio.svelte.d.ts +9 -0
- package/dist/components/aspect-ratio/use-aspect-ratio.svelte.js +17 -0
- package/dist/components/carousel/carousel-anatomy.d.ts +1 -1
- package/dist/components/checkbox/checkbox-anatomy.d.ts +1 -1
- package/dist/components/color-picker/color-picker-anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox-anatomy.d.ts +1 -1
- package/dist/components/date-picker/date-picker-anatomy.d.ts +1 -1
- package/dist/components/listbox/listbox-anatomy.d.ts +1 -1
- package/dist/components/segment-group/segment-group-anatomy.d.ts +2 -2
- package/dist/components/toggle/toggle-anatomy.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group-anatomy.d.ts +1 -1
- package/dist/components/tour/tour-anatomy.d.ts +1 -1
- package/package.json +7 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from '@sprawlify/primitives/anatomy';
|
|
2
2
|
export { accordionAnatomy } from './accordion/accordion-anatomy';
|
|
3
3
|
export { angleSliderAnatomy } from './angle-slider/angle-slider-anatomy';
|
|
4
|
+
export { aspectRatioAnatomy } from './aspect-ratio/aspect-ratio-anatomy';
|
|
4
5
|
export { avatarAnatomy } from './avatar/avatar-anatomy';
|
|
5
6
|
export { bottomSheetAnatomy } from './bottom-sheet/bottom-sheet-anatomy';
|
|
6
7
|
export { carouselAnatomy } from './carousel/carousel-anatomy';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from '@sprawlify/primitives/anatomy';
|
|
2
2
|
export { accordionAnatomy } from './accordion/accordion-anatomy';
|
|
3
3
|
export { angleSliderAnatomy } from './angle-slider/angle-slider-anatomy';
|
|
4
|
+
export { aspectRatioAnatomy } from './aspect-ratio/aspect-ratio-anatomy';
|
|
4
5
|
export { avatarAnatomy } from './avatar/avatar-anatomy';
|
|
5
6
|
export { bottomSheetAnatomy } from './bottom-sheet/bottom-sheet-anatomy';
|
|
6
7
|
export { carouselAnatomy } from './carousel/carousel-anatomy';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { anatomy as aspectRatioAnatomy } from '@sprawlify/primitives/machines/aspect-ratio';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { anatomy as aspectRatioAnatomy } from '@sprawlify/primitives/machines/aspect-ratio';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script module lang="ts">
|
|
2
|
+
import type { HTMLProps, PolymorphicProps, RefAttribute } from '../../types'
|
|
3
|
+
|
|
4
|
+
export interface AspectRatioContentBaseProps extends PolymorphicProps<'div'>, RefAttribute {}
|
|
5
|
+
export interface AspectRatioContentProps extends HTMLProps<'div'>, AspectRatioContentBaseProps {}
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<script lang="ts">
|
|
9
|
+
import { Sprawlify } from '../factory'
|
|
10
|
+
import { mergeProps } from '../../core'
|
|
11
|
+
import { useAspectRatioContext } from './use-aspect-ratio-context'
|
|
12
|
+
|
|
13
|
+
let { ref = $bindable(null), ...props }: AspectRatioContentProps = $props()
|
|
14
|
+
const aspectRatio = useAspectRatioContext()
|
|
15
|
+
const mergedProps = $derived(mergeProps(aspectRatio().getContentProps(), props))
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<Sprawlify as="div" bind:ref {...mergedProps} />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { HTMLProps, PolymorphicProps, RefAttribute } from '../../types';
|
|
2
|
+
export interface AspectRatioContentBaseProps extends PolymorphicProps<'div'>, RefAttribute {
|
|
3
|
+
}
|
|
4
|
+
export interface AspectRatioContentProps extends HTMLProps<'div'>, AspectRatioContentBaseProps {
|
|
5
|
+
}
|
|
6
|
+
declare const AspectRatioContent: import("svelte").Component<AspectRatioContentProps, {}, "ref">;
|
|
7
|
+
type AspectRatioContent = ReturnType<typeof AspectRatioContent>;
|
|
8
|
+
export default AspectRatioContent;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script module lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte'
|
|
3
|
+
import type { UseAspectRatioContext } from './use-aspect-ratio-context'
|
|
4
|
+
|
|
5
|
+
export interface AspectRatioContextProps {
|
|
6
|
+
children: Snippet<[UseAspectRatioContext]>
|
|
7
|
+
}
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<script lang="ts">
|
|
11
|
+
import { useAspectRatioContext } from './use-aspect-ratio-context'
|
|
12
|
+
|
|
13
|
+
let { children }: AspectRatioContextProps = $props()
|
|
14
|
+
const context = useAspectRatioContext()
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
{@render children(context)}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
import type { UseAspectRatioContext } from './use-aspect-ratio-context';
|
|
3
|
+
export interface AspectRatioContextProps {
|
|
4
|
+
children: Snippet<[UseAspectRatioContext]>;
|
|
5
|
+
}
|
|
6
|
+
declare const AspectRatioContext: import("svelte").Component<AspectRatioContextProps, {}, "">;
|
|
7
|
+
type AspectRatioContext = ReturnType<typeof AspectRatioContext>;
|
|
8
|
+
export default AspectRatioContext;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script module lang="ts">
|
|
2
|
+
import type { HTMLProps, PolymorphicProps, RefAttribute } from '../../types'
|
|
3
|
+
import type { UseAspectRatioReturn } from './use-aspect-ratio.svelte'
|
|
4
|
+
|
|
5
|
+
interface RootProviderProps {
|
|
6
|
+
value: UseAspectRatioReturn
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface AspectRatioRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'>, RefAttribute {}
|
|
10
|
+
export interface AspectRatioRootProviderProps extends HTMLProps<'div'>, AspectRatioRootProviderBaseProps {}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import { mergeProps } from '../../core'
|
|
15
|
+
import { createSplitProps } from '../../utils/create-split-props'
|
|
16
|
+
import { Sprawlify } from '../factory'
|
|
17
|
+
import { AspectRatioProvider } from './use-aspect-ratio-context'
|
|
18
|
+
|
|
19
|
+
let { ref = $bindable(null), ...props }: AspectRatioRootProviderProps = $props()
|
|
20
|
+
|
|
21
|
+
const [{ value: aspectRatio }, localProps] = $derived(
|
|
22
|
+
createSplitProps<RootProviderProps>()(props, ['value']),
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
const mergedProps = $derived(mergeProps(aspectRatio().getRootProps(), localProps))
|
|
26
|
+
AspectRatioProvider(aspectRatio)
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<Sprawlify as="div" bind:ref {...mergedProps} />
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLProps, PolymorphicProps, RefAttribute } from '../../types';
|
|
2
|
+
import type { UseAspectRatioReturn } from './use-aspect-ratio.svelte';
|
|
3
|
+
interface RootProviderProps {
|
|
4
|
+
value: UseAspectRatioReturn;
|
|
5
|
+
}
|
|
6
|
+
export interface AspectRatioRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'>, RefAttribute {
|
|
7
|
+
}
|
|
8
|
+
export interface AspectRatioRootProviderProps extends HTMLProps<'div'>, AspectRatioRootProviderBaseProps {
|
|
9
|
+
}
|
|
10
|
+
declare const AspectRatioRootProvider: import("svelte").Component<AspectRatioRootProviderProps, {}, "ref">;
|
|
11
|
+
type AspectRatioRootProvider = ReturnType<typeof AspectRatioRootProvider>;
|
|
12
|
+
export default AspectRatioRootProvider;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<script module lang="ts">
|
|
2
|
+
import type { Assign, HTMLProps, Optional, PolymorphicProps, RefAttribute } from '../../types'
|
|
3
|
+
import type { UseAspectRatioProps } from './use-aspect-ratio.svelte'
|
|
4
|
+
|
|
5
|
+
export interface AspectRatioRootBaseProps extends Optional<UseAspectRatioProps, 'id'>, PolymorphicProps<'div'>, RefAttribute {}
|
|
6
|
+
export interface AspectRatioRootProps extends Assign<HTMLProps<'div'>, AspectRatioRootBaseProps> {}
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
import { mergeProps } from '../../core'
|
|
11
|
+
import { createSplitProps } from '../../utils/create-split-props'
|
|
12
|
+
import { Sprawlify } from '../factory'
|
|
13
|
+
import { AspectRatioProvider } from './use-aspect-ratio-context'
|
|
14
|
+
import { useAspectRatio } from './use-aspect-ratio.svelte'
|
|
15
|
+
|
|
16
|
+
let { ref = $bindable(null), ...props }: AspectRatioRootProps = $props()
|
|
17
|
+
const providedId = $props.id()
|
|
18
|
+
|
|
19
|
+
const [useAspectRatioProps, localProps] = $derived(
|
|
20
|
+
createSplitProps<Optional<UseAspectRatioProps, 'id'>>()(props, ['id', 'ids', 'ratio']),
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
const resolvedProps = $derived({
|
|
24
|
+
...useAspectRatioProps,
|
|
25
|
+
id: providedId,
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
const aspectRatio = useAspectRatio(() => resolvedProps)
|
|
29
|
+
const mergedProps = $derived(mergeProps(aspectRatio().getRootProps(), localProps))
|
|
30
|
+
AspectRatioProvider(aspectRatio)
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<Sprawlify as="div" bind:ref {...mergedProps} />
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Assign, HTMLProps, Optional, PolymorphicProps, RefAttribute } from '../../types';
|
|
2
|
+
import type { UseAspectRatioProps } from './use-aspect-ratio.svelte';
|
|
3
|
+
export interface AspectRatioRootBaseProps extends Optional<UseAspectRatioProps, 'id'>, PolymorphicProps<'div'>, RefAttribute {
|
|
4
|
+
}
|
|
5
|
+
export interface AspectRatioRootProps extends Assign<HTMLProps<'div'>, AspectRatioRootBaseProps> {
|
|
6
|
+
}
|
|
7
|
+
declare const AspectRatioRoot: import("svelte").Component<AspectRatioRootProps, {}, "ref">;
|
|
8
|
+
type AspectRatioRoot = ReturnType<typeof AspectRatioRoot>;
|
|
9
|
+
export default AspectRatioRoot;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as Context, type AspectRatioContextProps as ContextProps } from './aspect-ratio-context.svelte';
|
|
2
|
+
export { default as Content, type AspectRatioContentBaseProps as ContentBaseProps, type AspectRatioContentProps as ContentProps } from './aspect-ratio-content.svelte';
|
|
3
|
+
export { default as Root, type AspectRatioRootBaseProps as RootBaseProps, type AspectRatioRootProps as RootProps } from './aspect-ratio-root.svelte';
|
|
4
|
+
export { default as RootProvider, type AspectRatioRootProviderBaseProps as RootProviderBaseProps, type AspectRatioRootProviderProps as RootProviderProps } from './aspect-ratio-root-provider.svelte';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as Context } from './aspect-ratio-context.svelte';
|
|
2
|
+
export { default as Content } from './aspect-ratio-content.svelte';
|
|
3
|
+
export { default as Root } from './aspect-ratio-root.svelte';
|
|
4
|
+
export { default as RootProvider } from './aspect-ratio-root-provider.svelte';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AspectRatioContext, type AspectRatioContextProps } from './aspect-ratio-context.svelte';
|
|
2
|
+
export { default as AspectRatioContent, type AspectRatioContentBaseProps, type AspectRatioContentProps } from './aspect-ratio-content.svelte';
|
|
3
|
+
export { default as AspectRatioRoot, type AspectRatioRootBaseProps, type AspectRatioRootProps } from './aspect-ratio-root.svelte';
|
|
4
|
+
export { default as AspectRatioRootProvider, type AspectRatioRootProviderBaseProps, type AspectRatioRootProviderProps } from './aspect-ratio-root-provider.svelte';
|
|
5
|
+
export { useAspectRatio, type UseAspectRatioProps, type UseAspectRatioReturn } from './use-aspect-ratio.svelte';
|
|
6
|
+
export { useAspectRatioContext, type UseAspectRatioContext } from './use-aspect-ratio-context';
|
|
7
|
+
export * as AspectRatio from './aspect-ratio';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AspectRatioContext } from './aspect-ratio-context.svelte';
|
|
2
|
+
export { default as AspectRatioContent } from './aspect-ratio-content.svelte';
|
|
3
|
+
export { default as AspectRatioRoot } from './aspect-ratio-root.svelte';
|
|
4
|
+
export { default as AspectRatioRootProvider } from './aspect-ratio-root-provider.svelte';
|
|
5
|
+
export { useAspectRatio } from './use-aspect-ratio.svelte';
|
|
6
|
+
export { useAspectRatioContext } from './use-aspect-ratio-context';
|
|
7
|
+
export * as AspectRatio from './aspect-ratio';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { UseAspectRatioReturn } from './use-aspect-ratio.svelte';
|
|
2
|
+
export interface UseAspectRatioContext extends UseAspectRatioReturn {
|
|
3
|
+
}
|
|
4
|
+
export declare const AspectRatioProvider: (opts: UseAspectRatioContext) => void, useAspectRatioContext: (fallback?: UseAspectRatioContext | undefined) => UseAspectRatioContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Accessor } from '../../types';
|
|
2
|
+
import * as aspectRatio from '@sprawlify/primitives/machines/aspect-ratio';
|
|
3
|
+
import { type PropTypes } from '../../core';
|
|
4
|
+
import { type MaybeFunction } from '@sprawlify/primitives/utils';
|
|
5
|
+
export interface UseAspectRatioProps extends Omit<aspectRatio.Props, 'getRootNode'> {
|
|
6
|
+
}
|
|
7
|
+
export interface UseAspectRatioReturn extends Accessor<aspectRatio.Api<PropTypes>> {
|
|
8
|
+
}
|
|
9
|
+
export declare const useAspectRatio: (props: MaybeFunction<UseAspectRatioProps>) => () => aspectRatio.Api<PropTypes>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useEnvironmentContext } from '../../providers/environment';
|
|
2
|
+
import * as aspectRatio from '@sprawlify/primitives/machines/aspect-ratio';
|
|
3
|
+
import { normalizeProps, useMachine } from '../../core';
|
|
4
|
+
import { runIfFn } from '@sprawlify/primitives/utils';
|
|
5
|
+
export const useAspectRatio = (props) => {
|
|
6
|
+
const env = useEnvironmentContext();
|
|
7
|
+
const machineProps = $derived.by(() => {
|
|
8
|
+
const resolvedProps = runIfFn(props);
|
|
9
|
+
return {
|
|
10
|
+
getRootNode: env().getRootNode,
|
|
11
|
+
...resolvedProps,
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
const service = useMachine(aspectRatio.machine, () => machineProps);
|
|
15
|
+
const api = $derived(aspectRatio.connect(service, normalizeProps));
|
|
16
|
+
return () => api;
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const carouselAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"
|
|
1
|
+
export declare const carouselAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"root" | "control" | "item" | "indicator" | "nextTrigger" | "prevTrigger" | "progressText" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "autoplayIndicator">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const checkboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "
|
|
1
|
+
export declare const checkboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "root" | "control" | "indicator" | "group">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const colorPickerAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "area" | "view" | "root" | "control" | "
|
|
1
|
+
export declare const colorPickerAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "area" | "view" | "root" | "control" | "trigger" | "positioner" | "content" | "valueText" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const comboboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "
|
|
1
|
+
export declare const comboboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "root" | "control" | "item" | "itemGroup" | "trigger" | "positioner" | "content" | "clearTrigger" | "itemIndicator" | "itemText" | "list" | "itemGroupLabel" | "empty">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const datePickerAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "table" | "view" | "root" | "control" | "
|
|
1
|
+
export declare const datePickerAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "table" | "view" | "root" | "control" | "nextTrigger" | "prevTrigger" | "trigger" | "positioner" | "content" | "valueText" | "clearTrigger" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const listboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "
|
|
1
|
+
export declare const listboxAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"label" | "input" | "root" | "item" | "itemGroup" | "content" | "valueText" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const segmentGroupAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"label" | "
|
|
2
|
-
export declare const parts: Record<"label" | "
|
|
1
|
+
export declare const segmentGroupAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl">;
|
|
2
|
+
export declare const parts: Record<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl", import("@sprawlify/primitives/anatomy").AnatomyPart>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const toggleAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"
|
|
1
|
+
export declare const toggleAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"root" | "indicator">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const toggleGroupAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"
|
|
1
|
+
export declare const toggleGroupAnatomy: import("@sprawlify/primitives/anatomy").Anatomy<"root" | "item">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tourAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"description" | "title" | "control" | "progressText" | "
|
|
1
|
+
export declare const tourAnatomy: import("@sprawlify/primitives/anatomy").AnatomyInstance<"description" | "title" | "control" | "progressText" | "positioner" | "content" | "arrow" | "arrowTip" | "actionTrigger" | "closeTrigger" | "backdrop" | "spotlight">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Svelte wrapper for primitives.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"svelte": "./dist/components/angle-slider/index.js",
|
|
28
28
|
"default": "./dist/components/angle-slider/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./aspect-ratio": {
|
|
31
|
+
"types": "./dist/components/aspect-ratio/index.d.ts",
|
|
32
|
+
"svelte": "./dist/components/aspect-ratio/index.js",
|
|
33
|
+
"default": "./dist/components/aspect-ratio/index.js"
|
|
34
|
+
},
|
|
30
35
|
"./avatar": {
|
|
31
36
|
"types": "./dist/components/avatar/index.d.ts",
|
|
32
37
|
"svelte": "./dist/components/avatar/index.js",
|
|
@@ -330,7 +335,7 @@
|
|
|
330
335
|
"access": "public"
|
|
331
336
|
},
|
|
332
337
|
"dependencies": {
|
|
333
|
-
"@sprawlify/primitives": "0.0.
|
|
338
|
+
"@sprawlify/primitives": "0.0.76"
|
|
334
339
|
},
|
|
335
340
|
"peerDependencies": {
|
|
336
341
|
"svelte": "^5.0.0"
|