@sc-360-v2/storefront-cms-library 0.3.56 → 0.3.58

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.
@@ -20,16 +20,49 @@ export declare const getDefaultData: () => {
20
20
  } | undefined;
21
21
  height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
22
22
  margin: import("../../interfaces/global").CSSPaddingValues | undefined;
23
- padding: import("../../interfaces/global").CSSPaddingValues | undefined;
23
+ padding: {
24
+ value: number;
25
+ isAll?: boolean | undefined;
26
+ sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
27
+ property?: string | undefined;
28
+ iscss?: boolean | undefined;
29
+ propertyType?: any;
30
+ };
24
31
  overflowContent: CMSIBCommonInterface | undefined;
25
32
  scrollDirection: CMSIBCommonInterface | undefined;
26
33
  displayScrollbar: CMSIBCommonInterface | undefined;
27
34
  positionType: CMSIBCommonInterface | undefined;
28
35
  pinTo: CMSIBCommonInterface | undefined;
36
+ direction: {
37
+ value: string;
38
+ property: string;
39
+ propertyType: CMSElementEditTypes;
40
+ };
41
+ itemGap: {
42
+ property: string;
43
+ propertyType: CMSElementEditTypes;
44
+ value: number;
45
+ unit: CMSCSSUnitTypesEnums;
46
+ };
47
+ justifyContent: {
48
+ property: string;
49
+ propertyType: CMSElementEditTypes;
50
+ value: string;
51
+ };
52
+ alignItems: {
53
+ property: string;
54
+ propertyType: CMSElementEditTypes;
55
+ value: string;
56
+ };
29
57
  };
30
58
  design: {
31
59
  selectorKey: SelectorKeysEnum;
32
60
  list: {
61
+ dividerPosition: {
62
+ value: string;
63
+ property: string;
64
+ propertyType: CMSElementEditTypes;
65
+ };
33
66
  showDivider: {
34
67
  value: boolean;
35
68
  parentRef: string;
@@ -63,6 +96,13 @@ export declare const getDefaultData: () => {
63
96
  propertyType?: any;
64
97
  isReadOnly?: boolean | undefined;
65
98
  };
99
+ dividerBorderRadius: {
100
+ property: string;
101
+ isAll: boolean;
102
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
103
+ iscss?: boolean | undefined;
104
+ propertyType?: any;
105
+ };
66
106
  listGap: {
67
107
  value: number;
68
108
  unit: CMSCSSUnitTypesEnums;
@@ -199,6 +239,13 @@ export declare const getDefaultData: () => {
199
239
  propertyType?: any;
200
240
  isReadOnly?: boolean | undefined;
201
241
  };
242
+ dividerBorderRadius: {
243
+ property: string;
244
+ isAll: boolean;
245
+ sides: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides;
246
+ iscss?: boolean | undefined;
247
+ propertyType?: any;
248
+ };
202
249
  selectorKey: SelectorKeysEnum;
203
250
  padding: import("../../interfaces/global").CSSPaddingValues | undefined;
204
251
  itemGap: {
@@ -207,6 +254,11 @@ export declare const getDefaultData: () => {
207
254
  property: string;
208
255
  propertyType: CMSElementEditTypes;
209
256
  };
257
+ verticalAlignment: {
258
+ value: string;
259
+ property: string;
260
+ propertyType: CMSElementEditTypes;
261
+ };
210
262
  };
211
263
  };
212
264
  content: {
@@ -101,4 +101,5 @@ import * as loader from "./loader";
101
101
  import * as addProductsTab from "./addProductsTab";
102
102
  import * as quotaDetails from "./quotaDetails";
103
103
  import * as shippingPayments from "./shipping-payments";
104
- export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, quotaDetails, shippingPayments, };
104
+ import * as productDescription from "./productDescription";
105
+ export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, quotaDetails, shippingPayments, productDescription, };
@@ -0,0 +1,16 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ interface selfLayoutInterface {
3
+ selectorKey: string;
4
+ textData: any;
5
+ showAdditionalDescription: any;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum textSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design",
13
+ DATA_CONNECTOR = "dataConnector"
14
+ }
15
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
16
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const dateTimeFormat: (params: {
2
+ dateString: string;
3
+ isTime?: boolean;
4
+ formatStr?: string;
5
+ timeZone?: string;
6
+ locale?: string;
7
+ }) => string | null;
@@ -1 +1,7 @@
1
- export declare const dateTimeFormat: (dateString: string | number, isTime?: boolean, formatStr?: string, timeZone?: string, locale?: string) => string | null;
1
+ export declare const dateTimeFormat: (params: {
2
+ dateString: string;
3
+ isTime?: boolean;
4
+ formatStr?: string;
5
+ timeZone?: string;
6
+ locale?: string;
7
+ }) => string | null;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, HTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, ButtonHTMLAttributes, SelectHTMLAttributes, OptionHTMLAttributes, ImgHTMLAttributes, VideoHTMLAttributes } from "react";
1
+ import { DetailedHTMLProps, HTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, ButtonHTMLAttributes, SelectHTMLAttributes, OptionHTMLAttributes, ImgHTMLAttributes, VideoHTMLAttributes, LabelHTMLAttributes } from "react";
2
2
  export interface H1Props extends DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> {
3
3
  children?: ReactNode;
4
4
  }
@@ -53,7 +53,7 @@ export interface TableCellProps extends DetailedHTMLProps<HTMLAttributes<HTMLTab
53
53
  export interface FormProps extends DetailedHTMLProps<HTMLAttributes<HTMLFormElement>, HTMLFormElement> {
54
54
  children?: ReactNode;
55
55
  }
56
- export interface LabelProps extends DetailedHTMLProps<HTMLAttributes<HTMLLabelElement>, HTMLLabelElement> {
56
+ export interface LabelProps extends DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> {
57
57
  children?: ReactNode;
58
58
  }
59
59
  export interface DetailsProps extends DetailedHTMLProps<HTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.56",
3
+ "version": "0.3.58",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {