@postxl/generator 0.12.1 → 0.13.0

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.
@@ -35,8 +35,8 @@ function generateModelLibraryComponents({ model, meta }) {
35
35
  return `
36
36
  import React, { useState } from 'react'
37
37
 
38
- import { CardList } from '@components/shared/CardList'
39
- import { CardWithActions } from '@components/shared/CardWithActions'
38
+ import { Card } from '@components/atoms/Card'
39
+ import { CardList } from '@components/atoms/CardList'
40
40
 
41
41
  ${imports.generate()}
42
42
 
@@ -62,7 +62,7 @@ function generateModelLibraryComponents({ model, meta }) {
62
62
 
63
63
  return (
64
64
  <>
65
- <CardWithActions
65
+ <Card
66
66
  title={item.name}
67
67
  actions={[
68
68
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postxl/generator",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "main": "./dist/generator.js",
5
5
  "typings": "./dist/generator.d.ts",
6
6
  "bin": {