@plasmicpkgs/antd 2.0.70 → 2.0.72
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/.tsbuildinfo +1 -1
- package/dist/antd.esm.js +2 -2
- package/dist/antd.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/skinny/registerCarousel.cjs.js +2 -2
- package/skinny/registerCarousel.cjs.js.map +1 -1
- package/skinny/registerCarousel.esm.js +2 -2
- package/skinny/registerCarousel.esm.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/antd",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.72",
|
|
4
4
|
"description": "Plasmic registration calls for antd components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
"antd": "^4.19.5"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@plasmicapp/host": "1.0.
|
|
62
|
+
"@plasmicapp/host": "1.0.153",
|
|
63
63
|
"@size-limit/preset-small-lib": "^4.11.0",
|
|
64
64
|
"@types/node": "^14.0.26",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-dom": "^18.2.0",
|
|
67
|
+
"rollup": "^3.10.1",
|
|
67
68
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
68
69
|
"rollup-plugin-replace-imports": "^1.0.0",
|
|
69
|
-
"size-limit": "^4.11.0"
|
|
70
|
-
"tsdx": "^0.14.1"
|
|
70
|
+
"size-limit": "^4.11.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@plasmicapp/host": ">=1.0.0",
|
|
74
74
|
"react": ">=16.8.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "a00a74da4da1cd6ceb7b12646a7a3bf4e871e162"
|
|
77
77
|
}
|
|
@@ -9,9 +9,9 @@ var registerComponent__default = /*#__PURE__*/_interopDefault(registerComponent)
|
|
|
9
9
|
|
|
10
10
|
const Carousel = antd.Carousel;
|
|
11
11
|
const contentStyle = {
|
|
12
|
-
height:
|
|
12
|
+
height: 160,
|
|
13
13
|
color: "#fff",
|
|
14
|
-
lineHeight:
|
|
14
|
+
lineHeight: 160,
|
|
15
15
|
textAlign: "center",
|
|
16
16
|
backgroundColor: "#364d79"
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCarousel.cjs.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport {
|
|
1
|
+
{"version":3,"file":"registerCarousel.cjs.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport { Registerable } from \"./registerable\";\n\nexport const Carousel = AntdCarousel;\n\nconst contentStyle = {\n height: 160,\n color: \"#fff\",\n lineHeight: 160,\n textAlign: \"center\" as const,\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: ComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCarousel\",\n importName: \"Carousel\",\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: ComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n"],"names":["AntdCarousel","registerComponent"],"mappings":";;;;;;;;;AAOO,MAAM,QAAW,GAAAA,cAAA;AAExB,MAAM,YAAe,GAAA;AAAA,EACnB,MAAQ,EAAA,GAAA;AAAA,EACR,KAAO,EAAA,MAAA;AAAA,EACP,UAAY,EAAA,GAAA;AAAA,EACZ,SAAW,EAAA,QAAA;AAAA,EACX,eAAiB,EAAA,SAAA;AACnB,CAAA,CAAA;AAEO,MAAM,YAA6C,GAAA;AAAA,EACxD,IAAM,EAAA,cAAA;AAAA,EACN,WAAa,EAAA,eAAA;AAAA,EACb,KAAO,EAAA;AAAA,IACL,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,iCAAA;AAAA,MACb,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAAA,IACA,WAAa,EAAA;AAAA,MACX,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,KAAO,EAAA,QAAA,EAAU,QAAQ,OAAO,CAAA;AAAA,MAC1C,WAAa,EAAA,0BAAA;AAAA,MACb,gBAAkB,EAAA,QAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,uDAAA;AAAA,MACb,gBAAkB,EAAA,IAAA;AAAA,KACpB;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,QAAA;AAAA,MACN,OAAA,EAAS,CAAC,SAAA,EAAW,MAAM,CAAA;AAAA,MAC3B,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,MAAA;AAAA,MACN,YAAc,EAAA;AAAA,QACZ;AAAA,UACE,IAAM,EAAA,MAAA;AAAA,UACN,QAAU,EAAA;AAAA,YACR,IAAM,EAAA,MAAA;AAAA,YACN,KAAO,EAAA,GAAA;AAAA,YACP,MAAQ,EAAA,YAAA;AAAA,WACV;AAAA,SACF;AAAA,QACA;AAAA,UACE,IAAM,EAAA,MAAA;AAAA,UACN,QAAU,EAAA;AAAA,YACR,IAAM,EAAA,MAAA;AAAA,YACN,KAAO,EAAA,GAAA;AAAA,YACP,MAAQ,EAAA,YAAA;AAAA,WACV;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,2CAAA;AAAA,EACZ,UAAY,EAAA,UAAA;AACd,EAAA;AAEgB,SAAA,gBAAA,CACd,QACA,kBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAIC,kCAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAA,QAAA,EAAU,kDAAsB,YAAY,CAAA,CAAA;AAClE;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerCarousel.esm.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport {
|
|
1
|
+
{"version":3,"file":"registerCarousel.esm.js","sources":["../src/registerCarousel.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Carousel as AntdCarousel } from \"antd\";\nimport type { CarouselProps } from \"antd/es/carousel\";\nimport { Registerable } from \"./registerable\";\n\nexport const Carousel = AntdCarousel;\n\nconst contentStyle = {\n height: 160,\n color: \"#fff\",\n lineHeight: 160,\n textAlign: \"center\" as const,\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: ComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCarousel\",\n importName: \"Carousel\",\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: ComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n"],"names":["AntdCarousel"],"mappings":";;;AAOO,MAAM,QAAW,GAAAA,WAAA;AAExB,MAAM,YAAe,GAAA;AAAA,EACnB,MAAQ,EAAA,GAAA;AAAA,EACR,KAAO,EAAA,MAAA;AAAA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