@plaidev/karte-action-sdk 1.1.270-29410833.25c7eb841 → 1.1.270-29420750.2ec690591
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-flex/css.d.ts +2 -2
- package/dist/components-flex/props.d.ts +2 -2
- package/dist/components-flex/responsiveProp.d.ts +7 -0
- package/dist/hydrate/components-flex/css.d.ts +2 -2
- package/dist/hydrate/components-flex/props.d.ts +2 -2
- package/dist/hydrate/components-flex/responsiveProp.d.ts +7 -0
- package/dist/hydrate/index.d.ts +1 -0
- package/dist/hydrate/index.es.js +260 -204
- package/dist/hydrate/index.svelte5.d.ts +2 -1
- package/dist/hydrate/preview.d.ts +28 -0
- package/dist/hydrate/stores.d.ts +22 -1
- package/dist/hydrate/types.d.ts +13 -0
- package/dist/hydrate/utils.d.ts +1 -0
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +260 -204
- package/dist/preview.d.ts +28 -0
- package/dist/stores.d.ts +22 -1
- package/dist/svelte5/components-flex/css.d.ts +2 -2
- package/dist/svelte5/components-flex/props.d.ts +2 -2
- package/dist/svelte5/components-flex/responsiveProp.d.ts +7 -0
- package/dist/svelte5/hydrate/components-flex/css.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/props.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/responsiveProp.d.ts +7 -0
- package/dist/svelte5/hydrate/index.es.d.ts +2 -1
- package/dist/svelte5/hydrate/index.es.js +235 -186
- package/dist/svelte5/hydrate/preview.d.ts +28 -0
- package/dist/svelte5/hydrate/stores.d.ts +22 -1
- package/dist/svelte5/hydrate/types.d.ts +13 -0
- package/dist/svelte5/hydrate/utils.d.ts +1 -0
- package/dist/svelte5/index.es.d.ts +2 -1
- package/dist/svelte5/index.es.js +235 -186
- package/dist/svelte5/index.front2.es.js +236 -188
- package/dist/svelte5/index.svelte5.d.ts +2 -1
- package/dist/svelte5/preview.d.ts +28 -0
- package/dist/svelte5/stores.d.ts +22 -1
- package/dist/svelte5/types.d.ts +13 -0
- package/dist/svelte5/utils.d.ts +1 -0
- package/dist/templates.cjs.js +3 -2
- package/dist/templates.js +3 -2
- package/dist/types.d.ts +13 -0
- package/dist/utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components-flex/responsive.d.ts +0 -26
- package/dist/hydrate/components-flex/responsive.d.ts +0 -26
- package/dist/svelte5/components-flex/responsive.d.ts +0 -26
- package/dist/svelte5/hydrate/components-flex/responsive.d.ts +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Properties } from "csstype";
|
|
2
|
-
import {
|
|
2
|
+
import { ResponsiveProp } from "./responsiveProp.js";
|
|
3
3
|
export declare function createComponentRawCss(layerId: string, define: (style: (selector: string, styles: Properties) => string) => string[]): string;
|
|
4
|
-
export declare function toResponsiveSelector(responsiveSetting:
|
|
4
|
+
export declare function toResponsiveSelector(responsiveSetting: ResponsiveProp<any>, body: string): string;
|
|
5
5
|
export declare function toStyleTag(css: string): string;
|
|
@@ -4,9 +4,9 @@ import type { BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET } from "./button/types.js";
|
|
|
4
4
|
import type { BrandKit } from "./brand-kit.js";
|
|
5
5
|
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode, BackgroundColorVariantCode } from "./variants.js";
|
|
6
6
|
import type { TEXT_THEME } from "./text/types.js";
|
|
7
|
-
import { type
|
|
7
|
+
import { type ResponsiveProp } from "./responsiveProp.js";
|
|
8
8
|
export type FlexComponentProps<T extends object> = T & {
|
|
9
|
-
responsiveSettings?:
|
|
9
|
+
responsiveSettings?: ResponsiveProp<T>[];
|
|
10
10
|
};
|
|
11
11
|
type PositionPlaceProps = {
|
|
12
12
|
top?: Properties["top"];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FlexComponentProps } from "./props.js";
|
|
2
|
+
import { Readable } from "svelte/store";
|
|
3
|
+
export type ResponsiveProp<T extends object> = {
|
|
4
|
+
breakpointId?: string;
|
|
5
|
+
props: Partial<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare function useResponsiveProps<T extends object>(props: FlexComponentProps<T>): Readable<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Properties } from "csstype";
|
|
2
|
-
import {
|
|
2
|
+
import { ResponsiveProp } from "./responsiveProp.js";
|
|
3
3
|
export declare function createComponentRawCss(layerId: string, define: (style: (selector: string, styles: Properties) => string) => string[]): string;
|
|
4
|
-
export declare function toResponsiveSelector(responsiveSetting:
|
|
4
|
+
export declare function toResponsiveSelector(responsiveSetting: ResponsiveProp<any>, body: string): string;
|
|
5
5
|
export declare function toStyleTag(css: string): string;
|
|
@@ -4,9 +4,9 @@ import type { BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET } from "./button/types.js";
|
|
|
4
4
|
import type { BrandKit } from "./brand-kit.js";
|
|
5
5
|
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode, BackgroundColorVariantCode } from "./variants.js";
|
|
6
6
|
import type { TEXT_THEME } from "./text/types.js";
|
|
7
|
-
import { type
|
|
7
|
+
import { type ResponsiveProp } from "./responsiveProp.js";
|
|
8
8
|
export type FlexComponentProps<T extends object> = T & {
|
|
9
|
-
responsiveSettings?:
|
|
9
|
+
responsiveSettings?: ResponsiveProp<T>[];
|
|
10
10
|
};
|
|
11
11
|
type PositionPlaceProps = {
|
|
12
12
|
top?: Properties["top"];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FlexComponentProps } from "./props.js";
|
|
2
|
+
import { Readable } from "svelte/store";
|
|
3
|
+
export type ResponsiveProp<T extends object> = {
|
|
4
|
+
breakpointId?: string;
|
|
5
|
+
props: Partial<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare function useResponsiveProps<T extends object>(props: FlexComponentProps<T>): Readable<T>;
|
package/dist/hydrate/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export type { CollectionConfig, ActionTableRowRequestConfig, ActionTableRowsRequ
|
|
|
17
17
|
export { addChoiceAnswer, addFreeAnswer, removeAnswer, getAnsweredQuestion, getAnsweredQuestionIds, sendAnswer, sendAnswers } from "./form.js";
|
|
18
18
|
export * as widget from "./widget.js";
|
|
19
19
|
export { onMount, onDestory, beforeUpdate, afterUpdate, tick, LAYOUT_COMPONENT_NAMES } from "./components/index.js";
|
|
20
|
+
export * from "./preview.js";
|
|
20
21
|
export { default as State } from "./components/State.svelte.js";
|
|
21
22
|
export { default as StateItem } from "./components/StateItem.svelte.js";
|
|
22
23
|
export { default as Modal } from "./components/Modal.svelte.js";
|