@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.
- package/dist/components/ui/calendar.d.ts +5 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +5 -7
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts +2 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7843 -4759
- package/dist/styles.css +1 -1
- package/dist/types/calendar.d.ts +7 -0
- package/dist/types/calendar.d.ts.map +1 -0
- package/dist/types/form-primitives.d.ts +1 -0
- package/dist/types/form-primitives.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/popover.d.ts +9 -3
- package/dist/types/popover.d.ts.map +1 -1
- package/package.json +3 -1
|
@@ -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"}
|
|
@@ -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"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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,aAAa,EACb,UAAU,EACV,YAAY,EACZ,WAAW,EACX,UAAU,
|
|
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,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,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,aAAa,EACb,UAAU,EACV,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC1E,YAAY,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"}
|
package/dist/types/popover.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import type { Popover as PopoverPrimitive } from "radix-ui";
|
|
1
2
|
import type * as React from "react";
|
|
2
|
-
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
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,
|
|
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.
|
|
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",
|