ar-design 0.2.54 → 0.2.56

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.
@@ -52,8 +52,10 @@
52
52
  height: fit-content;
53
53
  margin-left: auto;
54
54
  margin-right: auto;
55
+ padding: 2.5rem;
55
56
  }
56
57
  .ar-layout > main > section.full-width {
58
+ width: 100%;
57
59
  }
58
60
 
59
61
  /* Media Queries */
@@ -28,7 +28,7 @@
28
28
  padding: 0 2.5rem;
29
29
  }
30
30
 
31
- .ar-layout > main > section {
31
+ .ar-layout > main > section:not(.full-width) {
32
32
  max-width: none;
33
33
  padding: 2.5rem;
34
34
  }
@@ -29,7 +29,7 @@
29
29
  padding: 0 2.5rem;
30
30
  }
31
31
 
32
- .ar-layout > main > section {
32
+ .ar-layout > main > section:not(.full-width) {
33
33
  max-width: none;
34
34
  padding: 2.5rem;
35
35
  }
@@ -29,7 +29,7 @@
29
29
  padding: 0 2.5rem;
30
30
  }
31
31
 
32
- .ar-layout > main > section {
32
+ .ar-layout > main > section:not(.full-width) {
33
33
  max-width: none;
34
34
  padding: 2.5rem;
35
35
  }
@@ -22,7 +22,7 @@
22
22
  padding: 0 2.5rem;
23
23
  }
24
24
 
25
- .ar-layout > main > section {
25
+ .ar-layout > main > section:not(.full-width) {
26
26
  max-width: 960px;
27
27
  padding: 2.5rem;
28
28
  }
@@ -22,7 +22,7 @@
22
22
  padding: 0 2.5rem;
23
23
  }
24
24
 
25
- .ar-layout > main > section {
25
+ .ar-layout > main > section:not(.full-width) {
26
26
  max-width: 1140px;
27
27
  padding: 2.5rem;
28
28
  }
@@ -23,7 +23,7 @@
23
23
  padding: 0 2.5rem;
24
24
  }
25
25
 
26
- .ar-layout > main > section {
26
+ .ar-layout > main > section:not(.full-width) {
27
27
  max-width: 1340px;
28
28
  padding: 2.5rem;
29
29
  }
@@ -28,7 +28,6 @@ const Table = forwardRef(({ children, title, description, data, columns, actions
28
28
  const [selectAll, setSelectAll] = useState(false);
29
29
  const [selectionItems, setSelectionItems] = useState([]);
30
30
  const [showSubitems, setShowSubitems] = useState({});
31
- const [isTrueSubitems, setIsTrueSubitems] = useState({});
32
31
  // states -> File
33
32
  const [files, setFiles] = useState([]);
34
33
  const [formData, setFormData] = useState(undefined);
@@ -1,4 +1,4 @@
1
- type Result<TResponse> = {
1
+ export type Result<TResponse> = {
2
2
  response: TResponse;
3
3
  __response__: Promise<Response> | null;
4
4
  __ok__: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ar-design",
3
- "version": "0.2.54",
3
+ "version": "0.2.56",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",