@hed-hog/tag 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.
@@ -22,6 +22,7 @@ import {
22
22
  import { Badge } from '@/components/ui/badge';
23
23
  import { Button } from '@/components/ui/button';
24
24
  import { Card, CardContent } from '@/components/ui/card';
25
+ import { FormActions } from '@/components/ui/form-actions';
25
26
  import {
26
27
  Form,
27
28
  FormControl,
@@ -42,7 +43,6 @@ import {
42
43
  Sheet,
43
44
  SheetContent,
44
45
  SheetDescription,
45
- SheetFooter,
46
46
  SheetHeader,
47
47
  SheetTitle,
48
48
  } from '@/components/ui/sheet';
@@ -454,12 +454,15 @@ export default function TagPage() {
454
454
  )}
455
455
  />
456
456
 
457
- <SheetFooter className="px-0">
458
- <Button type="submit" className="w-full">
459
- <Save className="mr-2 h-4 w-4" />
460
- {t('save')}
461
- </Button>
462
- </SheetFooter>
457
+ <FormActions
458
+ sheet
459
+ cancelLabel={t('cancel')}
460
+ onCancel={() => setIsSheetOpen(false)}
461
+ submitIcon={<Save className="size-4" />}
462
+ submitLabel={t('save')}
463
+ submitType="submit"
464
+ sheetClassName="px-0"
465
+ />
463
466
  </form>
464
467
  </Form>
465
468
  </SheetContent>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/tag",
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,10 +9,10 @@
9
9
  "@nestjs/core": "^11",
10
10
  "@nestjs/jwt": "^11",
11
11
  "@nestjs/mapped-types": "*",
12
- "@hed-hog/api-pagination": "0.0.7",
13
12
  "@hed-hog/api": "0.0.6",
14
- "@hed-hog/core": "0.0.300",
13
+ "@hed-hog/api-pagination": "0.0.7",
15
14
  "@hed-hog/api-locale": "0.0.14",
15
+ "@hed-hog/core": "0.0.302",
16
16
  "@hed-hog/api-prisma": "0.0.6"
17
17
  },
18
18
  "exports": {