terrazzo 0.4.1 → 0.4.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bddc5aafa6fba7a2d87bb86fd4e29d5ddfeb476c2440594603c669782eb8815b
4
- data.tar.gz: 06f9d7c58f0241269f060debbc67ef2f94049cfc5f46d3e2165989c67387eabc
3
+ metadata.gz: 46571aa81f8e31a7bda6a53f7f045ea3422c80e7fd044d76dbb24f287229ff9d
4
+ data.tar.gz: '0763742987e1a2245f4add794a04454889851d6fb86ef1cf2433f96d9e2c13dc'
5
5
  SHA512:
6
- metadata.gz: 57972ea8d44edfc9d96542f0d008ffa4da02a562846a861df6e89609b128d1c652619882736715d57aa5502cf67fe80f6cf2af62e70ba51529b38c6ddd9ec0ad
7
- data.tar.gz: 882f78a2c3b7faa03907e73f5638a01414c74b6950c50716d3db8419c7f4eba8067b6ab22b7ff8188c0b7e740dfee441b63332b016eaf2955cdf0942982f3149
6
+ metadata.gz: b47cf143b25b492705edeb796d2944accd1c4d373a4679987e90dd3e2c48c447fb76081aafd9905ba7cd61ebdd9d87abb896dd846be79a7277322cfd8b826777
7
+ data.tar.gz: 63d42b5a8988fa9960b0592a5615996f9759516cdf480af53f2a44aa015c5c1b705423993950d5224ccbf016bf796dbaa8f0534f3acdc5362839a2cc9bdb436e
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
2
  import { useContent } from "@thoughtbot/superglue";
3
3
 
4
- import { Layout } from "terrazzo/components";
4
+ import { getLayout } from "terrazzo";
5
5
  import { AdminForm } from "./_form";
6
6
  import { Button, Card, CardContent } from "terrazzo/ui";
7
7
 
8
8
  export default function AdminEdit() {
9
+ const Layout = getLayout();
9
10
  const {
10
11
  pageTitle,
11
12
  form,
@@ -1,11 +1,13 @@
1
1
  import React from "react";
2
2
  import { useContent } from "@thoughtbot/superglue";
3
3
 
4
- import { Layout, SearchBar, Pagination } from "../components";
4
+ import { getLayout } from "terrazzo";
5
+ import { SearchBar, Pagination } from "../components";
5
6
  import { AdminCollection } from "./_collection";
6
7
  import { Button } from "../components/ui";
7
8
 
8
9
  export default function AdminIndex() {
10
+ const Layout = getLayout();
9
11
  const {
10
12
  table,
11
13
  searchBar,
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
2
  import { useContent } from "@thoughtbot/superglue";
3
3
 
4
- import { Layout } from "terrazzo/components";
4
+ import { getLayout } from "terrazzo";
5
5
  import { AdminForm } from "./_form";
6
6
  import { Button, Card, CardContent } from "terrazzo/ui";
7
7
 
8
8
  export default function AdminNew() {
9
+ const Layout = getLayout();
9
10
  const {
10
11
  pageTitle,
11
12
  form,
@@ -1,11 +1,12 @@
1
1
  import React from "react";
2
2
  import { useContent } from "@thoughtbot/superglue";
3
3
 
4
- import { Layout } from "terrazzo/components";
4
+ import { getLayout } from "terrazzo";
5
5
  import { FieldRenderer } from "terrazzo/fields";
6
6
  import { Button, Card, CardContent, CardHeader, CardTitle } from "terrazzo/ui";
7
7
 
8
8
  export default function AdminShow() {
9
+ const Layout = getLayout();
9
10
  const {
10
11
  pageTitle,
11
12
  attributeGroups,
@@ -1,3 +1,3 @@
1
1
  module Terrazzo
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terrazzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terrazzo Contributors