@hed-hog/studio 0.0.300 → 0.0.302

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.
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { Page, PageHeader } from '@/components/entity-list';
4
- import { Button } from '@/components/ui/button';
4
+ import { FormActions } from '@/components/ui/form-actions';
5
5
  import {
6
6
  Form,
7
7
  FormControl,
@@ -119,9 +119,7 @@ export default function StudioProjectFormPage() {
119
119
  </FormItem>
120
120
  )}
121
121
  />
122
- <Button type="submit" className="w-full">
123
- Salvar Projeto
124
- </Button>
122
+ <FormActions submitLabel="Salvar Projeto" submitType="submit" />
125
123
  </form>
126
124
  </Form>
127
125
  </Page>
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { Page, PageHeader } from '@/components/entity-list';
4
- import { Button } from '@/components/ui/button';
4
+ import { FormActions } from '@/components/ui/form-actions';
5
5
  import {
6
6
  Form,
7
7
  FormControl,
@@ -100,9 +100,7 @@ export default function StudioSceneFormPage() {
100
100
  </FormItem>
101
101
  )}
102
102
  />
103
- <Button type="submit" className="w-full">
104
- Salvar Cena
105
- </Button>
103
+ <FormActions submitLabel="Salvar Cena" submitType="submit" />
106
104
  </form>
107
105
  </Form>
108
106
  </Page>
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { Page, PageHeader } from '@/components/entity-list';
4
- import { Button } from '@/components/ui/button';
4
+ import { FormActions } from '@/components/ui/form-actions';
5
5
  import {
6
6
  Form,
7
7
  FormControl,
@@ -93,9 +93,7 @@ export default function StudioSessionFormPage() {
93
93
  </FormItem>
94
94
  )}
95
95
  />
96
- <Button type="submit" className="w-full">
97
- Salvar Sessao
98
- </Button>
96
+ <FormActions submitLabel="Salvar Sessao" submitType="submit" />
99
97
  </form>
100
98
  </Form>
101
99
  </Page>
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
3
  import { Page, PageHeader } from '@/components/entity-list';
4
- import { Button } from '@/components/ui/button';
4
+ import { FormActions } from '@/components/ui/form-actions';
5
5
  import {
6
6
  Form,
7
7
  FormControl,
@@ -90,9 +90,10 @@ export default function StudioStorageProfileFormPage() {
90
90
  )}
91
91
  />
92
92
  ))}
93
- <Button type="submit" className="w-full">
94
- Salvar Storage Profile
95
- </Button>
93
+ <FormActions
94
+ submitLabel="Salvar Storage Profile"
95
+ submitType="submit"
96
+ />
96
97
  </form>
97
98
  </Form>
98
99
  </Page>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/studio",
3
- "version": "0.0.300",
3
+ "version": "0.0.302",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -9,12 +9,12 @@
9
9
  "@nestjs/core": "^11",
10
10
  "@nestjs/jwt": "^11",
11
11
  "@nestjs/mapped-types": "*",
12
- "@hed-hog/api": "0.0.6",
13
12
  "@hed-hog/api-pagination": "0.0.7",
13
+ "@hed-hog/api-locale": "0.0.14",
14
14
  "@hed-hog/api-types": "0.0.1",
15
- "@hed-hog/core": "0.0.300",
16
15
  "@hed-hog/api-prisma": "0.0.6",
17
- "@hed-hog/api-locale": "0.0.14"
16
+ "@hed-hog/api": "0.0.6",
17
+ "@hed-hog/core": "0.0.302"
18
18
  },
19
19
  "exports": {
20
20
  ".": {