@ah-automation.nl/component-lib 0.0.32 → 0.0.34

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.
@@ -0,0 +1,7 @@
1
+ import type * as React from "react";
2
+ import type { DayPicker } from "react-day-picker";
3
+ import type { Button } from "@/components/ui/button";
4
+ export type CalendarProps = React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ };
7
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/types/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IACnE,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,CAAC"}
@@ -8,4 +8,5 @@ export type SwitchSize = "sm" | "default";
8
8
  export type SwitchProps = RadixSwitchProps & {
9
9
  size?: SwitchSize;
10
10
  };
11
+ export type TextareaProps = React.ComponentPropsWithoutRef<"textarea">;
11
12
  //# sourceMappingURL=form-primitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-primitives.d.ts","sourceRoot":"","sources":["../../src/types/form-primitives.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,KAAK,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAC1C,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG;IAC3C,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"form-primitives.d.ts","sourceRoot":"","sources":["../../src/types/form-primitives.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,KAAK,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAC1C,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG;IAC3C,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC"}
@@ -1,10 +1,11 @@
1
1
  export type { AppHeaderAppItem, AppHeaderAppItemEvent, AppHeaderIcon, AppHeaderLanguageOption, AppHeaderProfileAction, AppHeaderProfileActionEvent, AppHeaderProps, AppHeaderSession, } from "./app-header";
2
2
  export type { AppShellProps } from "./app-shell";
3
+ export type { CalendarProps } from "./calendar";
3
4
  export type { DataTableColumnFilterPlaceholders, DataTableColumnFilterRenderer, DataTableColumnFilterRenderers, DataTableColumnMeta, DataTableExpandedRowRenderer, DataTableGlobalFilterFn, DataTableProps, DataTableRenderProps, DataTableRowClassNameGetter, DataTableRowClickHandler, DataTableSelectionContentProps, DataTableSlotContent, } from "./data-table";
4
- export type { CheckboxProps, InputProps, SpinnerProps, SwitchProps, SwitchSize, } from "./form-primitives";
5
+ export type { CheckboxProps, InputProps, SpinnerProps, SwitchProps, SwitchSize, TextareaProps, } from "./form-primitives";
5
6
  export type { GenericDrawerProps } from "./generic-drawer";
6
7
  export type { MultiSelectOption, MultiSelectProps } from "./multi-select";
7
- export type { PopoverContentPassThroughProps, PopoverTriggerPassThroughProps, } from "./popover";
8
+ export type { PopoverAnchorProps, PopoverContentPassThroughProps, PopoverContentProps, PopoverProps, PopoverTriggerPassThroughProps, PopoverTriggerProps, } from "./popover";
8
9
  export type { SidebarNavGroup, SidebarNavGroupItem, SidebarNavIcon, SidebarNavItem, SidebarNavProps, } from "./sidebar-nav";
9
10
  export type { SingleSelectOption, SingleSelectProps } from "./single-select";
10
11
  export type { UserImageProps } from "./user-image";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,GACjB,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EACV,iCAAiC,EACjC,6BAA6B,EAC7B,8BAA8B,EAC9B,mBAAmB,EACnB,4BAA4B,EAC5B,uBAAuB,EACvB,cAAc,EACd,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,8BAA8B,EAC9B,oBAAoB,GACrB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,aAA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Y,EACV,kBAAkB,EAClB,8BAA8B,EAC9B,mBAAmB,EACnB,YAAY,EACZ,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC7E,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,11 @@
1
+ import type { Popover as PopoverPrimitive } from "radix-ui";
1
2
  import type * as React from "react";
2
- import type { PopoverContent, PopoverTrigger } from "@/components/ui/popover";
3
- export type PopoverTriggerPassThroughProps = Omit<React.ComponentProps<typeof PopoverTrigger>, "asChild" | "children">;
4
- export type PopoverContentPassThroughProps = Omit<React.ComponentProps<typeof PopoverContent>, "children">;
3
+ export type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
4
+ export type PopoverTriggerProps = React.ComponentProps<typeof PopoverPrimitive.Trigger>;
5
+ export type PopoverAnchorProps = React.ComponentProps<typeof PopoverPrimitive.Anchor>;
6
+ export type PopoverContentProps = React.ComponentProps<typeof PopoverPrimitive.Content> & {
7
+ portalContainer?: React.ComponentProps<typeof PopoverPrimitive.Portal>["container"];
8
+ };
9
+ export type PopoverTriggerPassThroughProps = Omit<PopoverTriggerProps, "asChild" | "children">;
10
+ export type PopoverContentPassThroughProps = Omit<PopoverContentProps, "children">;
5
11
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/types/popover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9E,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAC3C,SAAS,GAAG,UAAU,CACvB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAC3C,UAAU,CACX,CAAC"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/types/popover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CACpD,OAAO,gBAAgB,CAAC,OAAO,CAChC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,cAAc,CACnD,OAAO,gBAAgB,CAAC,MAAM,CAC/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CACpD,OAAO,gBAAgB,CAAC,OAAO,CAChC,GAAG;IACF,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CACpC,OAAO,gBAAgB,CAAC,MAAM,CAC/B,CAAC,WAAW,CAAC,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACnB,SAAS,GAAG,UAAU,CACvB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,mBAAmB,EACnB,UAAU,CACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ah-automation.nl/component-lib",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -39,9 +39,11 @@
39
39
  "class-variance-authority": "^0.7.1",
40
40
  "clsx": "^2.1.1",
41
41
  "cmdk": "^1.1.1",
42
+ "date-fns": "^4.1.0",
42
43
  "flag-icons": "^7.5.0",
43
44
  "lucide-react": "^0.577.0",
44
45
  "radix-ui": "^1.4.3",
46
+ "react-day-picker": "^10.0.0",
45
47
  "shadcn": "^4.0.7",
46
48
  "tailwind-merge": "^3.5.0",
47
49
  "tailwindcss": "^4.2.1",