@namiml/web-sdk 3.4.0-dev.202603262050 → 3.4.0-dev.202604010118
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/containers/RepeatingGrid.d.ts +12 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/utils/helpers.d.ts +2 -2
- package/dist/nami-web.cjs +26 -26
- package/dist/nami-web.mjs +26 -26
- package/dist/nami-web.umd.js +25 -25
- package/dist/types/components/containers.d.ts +11 -0
- package/dist/types/components/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -132,6 +132,17 @@ export type TResponsiveGrid = TBaseComponent & {
|
|
|
132
132
|
loopSource?: string;
|
|
133
133
|
loopSourceConditions: TTestObject[];
|
|
134
134
|
};
|
|
135
|
+
export type TRepeatingGrid = TBaseComponent & {
|
|
136
|
+
component: "repeatingGrid";
|
|
137
|
+
components: any;
|
|
138
|
+
loopVariable?: string;
|
|
139
|
+
loopSource?: string;
|
|
140
|
+
loopSourceConditions: TTestObject[];
|
|
141
|
+
columns: number;
|
|
142
|
+
columnSpacing?: number;
|
|
143
|
+
rowSpacing?: number;
|
|
144
|
+
itemAlignment?: string;
|
|
145
|
+
};
|
|
135
146
|
export type TToggleSwitch = TBaseComponent & {
|
|
136
147
|
component: 'toggleSwitch';
|
|
137
148
|
checked?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NamiAnimationSpec } from "./animation";
|
|
2
|
-
import { TButtonContainer, TCarouselContainer, TCarouselSlide, TCollapseContainer, TFlexProductContainer, TPlayPauseButton, TProductContainer, TRadioButton, TResponsiveGrid, TStack, TToggleSwitch, TVolumeButton, UserAction } from "./containers";
|
|
2
|
+
import { TButtonContainer, TCarouselContainer, TCarouselSlide, TCollapseContainer, TFlexProductContainer, TPlayPauseButton, TProductContainer, TRadioButton, TRepeatingGrid, TResponsiveGrid, TStack, TToggleSwitch, TVolumeButton, UserAction } from "./containers";
|
|
3
3
|
import { TConditionalComponent, TCountdownTimerTextComponent, TImageComponent, TProgressIndicatorComponent, TProgressBarComponent, TQRCodeComponent, TSegmentPicker, TSegmentPickerItem, TSpacerComponent, TSvgImageComponent, TSymbolComponent, TTextComponent, TTextListComponent, TToggleButtonComponent, TVideoComponent } from "./elements";
|
|
4
4
|
export interface TBaseComponent {
|
|
5
5
|
id?: string;
|
|
@@ -72,7 +72,7 @@ export interface TBaseComponent {
|
|
|
72
72
|
hidden?: boolean;
|
|
73
73
|
animation?: NamiAnimationSpec;
|
|
74
74
|
}
|
|
75
|
-
export type TComponent = TButtonContainer | TContainer | TTextListComponent | TTextComponent | TSpacerComponent | TImageComponent | TSvgImageComponent | TSymbolComponent | TCarouselContainer | TProductContainer | TFlexProductContainer | TStack | TConditionalComponent | TSegmentPicker | TSegmentPickerItem | TVideoComponent | TCollapseContainer | TResponsiveGrid | TVolumeButton | TPlayPauseButton | TQRCodeComponent | TToggleSwitch | TRadioButton | TProgressIndicatorComponent | TToggleButtonComponent | TCountdownTimerTextComponent | TProgressBarComponent;
|
|
75
|
+
export type TComponent = TButtonContainer | TContainer | TTextListComponent | TTextComponent | TSpacerComponent | TImageComponent | TSvgImageComponent | TSymbolComponent | TCarouselContainer | TProductContainer | TFlexProductContainer | TStack | TConditionalComponent | TSegmentPicker | TSegmentPickerItem | TVideoComponent | TCollapseContainer | TResponsiveGrid | TRepeatingGrid | TVolumeButton | TPlayPauseButton | TQRCodeComponent | TToggleSwitch | TRadioButton | TProgressIndicatorComponent | TToggleButtonComponent | TCountdownTimerTextComponent | TProgressBarComponent;
|
|
76
76
|
export type DirectionType = "vertical" | "horizontal";
|
|
77
77
|
export type AlignmentType = "center" | "right" | "left" | "top" | "bottom";
|
|
78
78
|
export type BorderLocationType = "upperLeft" | "upperRight" | "lowerLeft" | "lowerRight";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namiml/web-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.4.0-dev.
|
|
4
|
+
"version": "3.4.0-dev.202604010118",
|
|
5
5
|
"source": "src/nami-web.ts",
|
|
6
6
|
"description": "Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web",
|
|
7
7
|
"scripts": {
|