@sc-360-v2/storefront-cms-library 0.5.3 → 0.5.5

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.
@@ -19,6 +19,7 @@ interface selfLayoutInterface {
19
19
  setItemsPerRow: CMSIBCommonInterface;
20
20
  sliderDisplayScrollbar: CMSIBCommonInterface;
21
21
  autoplay: CMSIBCommonInterface;
22
+ zoomEnable: CMSIBCommonInterface;
22
23
  autoplayStyle: CMSIBCommonInterface;
23
24
  autoplayDuration: CMSIBSizeInterface;
24
25
  sliderSpeed: CMSIBSizeInterface;
@@ -0,0 +1,8 @@
1
+ interface IconEntry {
2
+ name: string;
3
+ code: string;
4
+ }
5
+ declare const SVGLibrary: IconEntry[];
6
+ export declare const CMSSVG: (type: string) => string;
7
+ export { SVGLibrary };
8
+ export default SVGLibrary;
@@ -0,0 +1,7 @@
1
+ interface IconEntry {
2
+ name: string;
3
+ code: string;
4
+ }
5
+ declare const SVGLibrary: IconEntry[];
6
+ export { SVGLibrary };
7
+ export default SVGLibrary;
@@ -1,5 +1,10 @@
1
1
  /**
2
+ * SVG getter — looks up an icon by name from the builder icon set.
2
3
  *
3
- * @param {string} type - Please Enter SVG Type.
4
+ * Historically this file held its own inline SVGLibrary, duplicating many
5
+ * icons that also lived in updated-icons.ts. Those have all been merged into
6
+ * builder-icons.ts now, so this is just a thin wrapper.
7
+ *
8
+ * @param {string} type - Icon name (must exist in builder-icons.ts SVGLibrary).
4
9
  */
5
- export default function SVG(type: string, size?: string, color?: string): string;
10
+ export default function SVG(type: string, _size?: string, _color?: string): string;
@@ -1,10 +1,3 @@
1
- declare const SVGLibrary: ({
2
- name: string;
3
- code: string;
4
- svg?: undefined;
5
- } | {
6
- name: string;
7
- svg: string;
8
- code?: undefined;
9
- })[];
1
+ import SVGLibrary from "./builder-icons";
2
+ export { SVGLibrary };
10
3
  export default SVGLibrary;
@@ -0,0 +1,8 @@
1
+ interface IconEntry {
2
+ name: string;
3
+ code: string;
4
+ }
5
+ declare const SVGLibrary: IconEntry[];
6
+ export declare const CMSSVG: (type: string) => string;
7
+ export { SVGLibrary };
8
+ export default SVGLibrary;