Browse Source

Rename blocks to be shorter

master
Andrew Kingston 5 years ago
parent
commit
862bf14268
  1. 4
      packages/builder/src/components/design/AppPreview/componentStructure.json
  2. 8
      packages/client/manifest.json
  3. 0
      packages/client/src/components/app/blocks/CardsBlock.svelte
  4. 0
      packages/client/src/components/app/blocks/TableBlock.svelte
  5. 4
      packages/client/src/components/app/blocks/index.js

4
packages/builder/src/components/design/AppPreview/componentStructure.json

@ -3,8 +3,8 @@
"name": "Blocks", "name": "Blocks",
"icon": "Article", "icon": "Article",
"children": [ "children": [
"tablewithsearch", "tableblock",
"cardlistwithsearch" "cardsblock"
] ]
}, },
"section", "section",

8
packages/client/manifest.json

@ -2622,9 +2622,9 @@
} }
] ]
}, },
"tablewithsearch": { "tableblock": {
"block": true, "block": true,
"name": "Table with search", "name": "Table block",
"icon": "Table", "icon": "Table",
"styles": ["size"], "styles": ["size"],
"info": "Only the first 3 search columns will be used.", "info": "Only the first 3 search columns will be used.",
@ -2769,9 +2769,9 @@
} }
] ]
}, },
"cardlistwithsearch": { "cardsblock": {
"block": true, "block": true,
"name": "Card list with search", "name": "Cards block",
"icon": "Table", "icon": "Table",
"styles": ["size"], "styles": ["size"],
"info": "Only the first 3 search columns will be used.", "info": "Only the first 3 search columns will be used.",

0
packages/client/src/components/app/blocks/CardListWithSearch.svelte → packages/client/src/components/app/blocks/CardsBlock.svelte

0
packages/client/src/components/app/blocks/TableWithSearch.svelte → packages/client/src/components/app/blocks/TableBlock.svelte

4
packages/client/src/components/app/blocks/index.js

@ -1,2 +1,2 @@
export { default as tablewithsearch } from "./TableWithSearch.svelte" export { default as tableblock } from "./TableBlock.svelte"
export { default as cardlistwithsearch } from "./CardListWithSearch.svelte" export { default as cardsblock } from "./CardsBlock.svelte"

Loading…
Cancel
Save