@nqlib/nqui 0.1.4 → 0.2.0
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/assets/svg/auth-lines.d.ts +4 -0
- package/dist/assets/svg/auth-lines.d.ts.map +1 -0
- package/dist/assets/svg/logo.d.ts +4 -0
- package/dist/assets/svg/logo.d.ts.map +1 -0
- package/dist/{base-80a1f760-D0C4rGX6.js → base-80a1f760-BQrCZyJa.js} +1 -1
- package/dist/{base-80a1f760-DjCXSyeI.cjs → base-80a1f760-DCLYB19_.cjs} +1 -1
- package/dist/components/AppLayout.d.ts.map +1 -1
- package/dist/components/app-sidebar.d.ts.map +1 -1
- package/dist/components/custom/enhanced-badge.d.ts +33 -0
- package/dist/components/custom/enhanced-badge.d.ts.map +1 -0
- package/dist/components/custom/enhanced-button.d.ts +1 -1
- package/dist/components/custom/enhanced-combobox.d.ts +35 -0
- package/dist/components/custom/enhanced-combobox.d.ts.map +1 -0
- package/dist/components/custom/enhanced-dropdown-menu.d.ts +37 -0
- package/dist/components/custom/enhanced-dropdown-menu.d.ts.map +1 -0
- package/dist/components/custom/enhanced-progress.d.ts +50 -0
- package/dist/components/custom/enhanced-progress.d.ts.map +1 -0
- package/dist/components/custom/enhanced-radio-group.d.ts +86 -11
- package/dist/components/custom/enhanced-radio-group.d.ts.map +1 -1
- package/dist/components/custom/enhanced-select.d.ts +25 -0
- package/dist/components/custom/enhanced-select.d.ts.map +1 -0
- package/dist/components/custom/enhanced-sonner.d.ts +16 -0
- package/dist/components/custom/enhanced-sonner.d.ts.map +1 -0
- package/dist/components/custom/table-of-contents.d.ts +4 -1
- package/dist/components/custom/table-of-contents.d.ts.map +1 -1
- package/dist/components/custom/tracker.d.ts +52 -0
- package/dist/components/custom/tracker.d.ts.map +1 -0
- package/dist/components/shadcn-studio/blocks/login-page-05/login-form.d.ts +3 -0
- package/dist/components/shadcn-studio/blocks/login-page-05/login-form.d.ts.map +1 -0
- package/dist/components/shadcn-studio/blocks/login-page-05/login-page-05.d.ts +3 -0
- package/dist/components/shadcn-studio/blocks/login-page-05/login-page-05.d.ts.map +1 -0
- package/dist/components/shadcn-studio/logo.d.ts +5 -0
- package/dist/components/shadcn-studio/logo.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +1 -0
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +2 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +7 -1
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +3 -2
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/combobox.d.ts +1 -1
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/empty.d.ts +1 -1
- package/dist/components/ui/input-group.d.ts +1 -1
- package/dist/components/ui/input-group.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +2 -2
- package/dist/components/ui/progress.d.ts +7 -1
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/shadcn-io/code-block/index.d.ts.map +1 -1
- package/dist/components/ui/shadcn-io/snippet/index.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/{consoleHook-59e792cb-Bo5H9MpE.cjs → consoleHook-59e792cb-DJ4uHAQF.cjs} +1 -1
- package/dist/{consoleHook-59e792cb-Bn_kYimG.js → consoleHook-59e792cb-n4I-kGsA.js} +1 -1
- package/dist/favicon.svg +4 -0
- package/dist/{index-599aeaf7-DrU1PSR6.cjs → index-599aeaf7-CXxtNvO2.cjs} +1 -1
- package/dist/{index-599aeaf7-D4wnsI9S.js → index-599aeaf7-CZGesGM3.js} +3 -3
- package/dist/{index-y0wancIw.js → index-BjE8DAoQ.js} +1 -1
- package/dist/{index-BfXl0N5c.cjs → index-Bqrdg4au.cjs} +1 -1
- package/dist/{index-Blaj1BKg.cjs → index-BvxfKCZJ.cjs} +1 -1
- package/dist/index-C_pJc_iw.cjs +1922 -0
- package/dist/{index-Dk2p9rpx.js → index-CfSa6_Do.js} +2 -2
- package/dist/{index-BXIRKklr.js → index-Cj7bKrKR.js} +3 -3
- package/dist/{index-Bh54my7Z.cjs → index-DrnFFSuI.cjs} +1 -1
- package/dist/{index-DC77eP71.js → index-rkOlLo3R.js} +24997 -22845
- package/dist/index.d.ts +16 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/mockdata/toc.d.ts +12 -0
- package/dist/mockdata/toc.d.ts.map +1 -1
- package/dist/nqui.cjs.js +1 -1
- package/dist/nqui.es.js +354 -296
- package/dist/pages/Dashboard.d.ts.map +1 -1
- package/dist/stories/mockData.d.ts +157 -0
- package/dist/stories/mockData.d.ts.map +1 -0
- package/dist/styles.css +97 -310
- package/package.json +21 -6
- package/scripts/publish-npmjs.js +30 -0
- package/dist/index-DXsoJSDt.cjs +0 -1253
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-lines.d.ts","sourceRoot":"","sources":["../../../src/assets/svg/auth-lines.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,QAAA,MAAM,SAAS,GAAI,OAAO,aAAa,CAAC,UAAU,CAAC,4CA2flD,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/assets/svg/logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,QAAA,MAAM,IAAI,GAAI,OAAO,aAAa,CAAC,UAAU,CAAC,4CAsD7C,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./index-
|
|
1
|
+
"use strict";const n=require("./index-C_pJc_iw.cjs");var r=(function(){function e(t,i,o){o===void 0&&(o={}),this.status="idle",this.options=o,this.sandboxSetup=i,this.iframeSelector=t}return e.prototype.updateOptions=function(t){n.dequal(this.options,t)||(this.options=t,this.updateSandbox())},e.prototype.updateSandbox=function(t,i){throw t===void 0&&(t=this.sandboxSetup),Error("Method not implemented")},e.prototype.destroy=function(){throw Error("Method not implemented")},e.prototype.dispatch=function(t){throw Error("Method not implemented")},e.prototype.listen=function(t){throw Error("Method not implemented")},e})();exports.SandpackClient=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../../src/components/AppLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../../src/components/AppLayout.tsx"],"names":[],"mappings":"AAmIA,wBAAgB,SAAS,4CAOxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../src/components/app-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../src/components/app-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAkB9B,OAAO,EACL,OAAO,EAWR,MAAM,yBAAyB,CAAA;AA4IhC,wBAAgB,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,2CAuN5E"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
export interface EnhancedBadgeProps extends React.ComponentProps<"span">, VariantProps<typeof enhancedBadgeVariants> {
|
|
4
|
+
asChild?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Enhanced badge variants with button-like styling
|
|
8
|
+
* Base classes match badge sizing: h-5, px-2, py-0.5, text-[0.625rem], rounded-full
|
|
9
|
+
*/
|
|
10
|
+
declare const enhancedBadgeVariants: (props?: ({
|
|
11
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Enhanced Badge component with button-like styling
|
|
15
|
+
*
|
|
16
|
+
* Wraps the base shadcn Badge component with enhanced styling:
|
|
17
|
+
* - Borders, gradients, and shadows for dimensional appearance
|
|
18
|
+
* - Enhanced focus and hover states
|
|
19
|
+
* - Smooth opacity transitions
|
|
20
|
+
*
|
|
21
|
+
* Enhanced variants: default, destructive, secondary, success, warning, info
|
|
22
|
+
* Unchanged variants: outline, ghost, link (fallback to core badge)
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* <EnhancedBadge variant="default">New</EnhancedBadge>
|
|
27
|
+
* <EnhancedBadge variant="destructive">Error</EnhancedBadge>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
declare const EnhancedBadge: React.ForwardRefExoticComponent<Omit<EnhancedBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
31
|
+
export { EnhancedBadge, EnhancedBadge as Badge, enhancedBadgeVariants as badgeVariants };
|
|
32
|
+
export type { EnhancedBadgeProps as BadgeProps };
|
|
33
|
+
//# sourceMappingURL=enhanced-badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-badge.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,MAAM,WAAW,kBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAClC,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;8EA+D1B,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,aAAa,yGAqClB,CAAA;AAID,OAAO,EAAE,aAAa,EAAE,aAAa,IAAI,KAAK,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAA;AACxF,YAAY,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAA"}
|
|
@@ -9,7 +9,7 @@ export interface EnhancedButtonProps extends React.ButtonHTMLAttributes<HTMLButt
|
|
|
9
9
|
*/
|
|
10
10
|
declare const enhancedButtonVariants: (props?: ({
|
|
11
11
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | null | undefined;
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
/**
|
|
15
15
|
* Enhanced Button component with meccs-ui styling
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
3
|
+
/**
|
|
4
|
+
* Enhanced Combobox components with button-like 3D effects (no gradient)
|
|
5
|
+
*
|
|
6
|
+
* Adds button-like styling to input triggers with:
|
|
7
|
+
* - 3D shadow effects
|
|
8
|
+
* - Border highlights
|
|
9
|
+
* - Inset highlights
|
|
10
|
+
* - No gradient overlay
|
|
11
|
+
*/
|
|
12
|
+
declare const Combobox: typeof ComboboxPrimitive.Root;
|
|
13
|
+
declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
|
|
17
|
+
showTrigger?: boolean;
|
|
18
|
+
showClear?: boolean;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function ComboboxContent({ className, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function ComboboxItem({ className, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function ComboboxChip({ className, ...props }: ComboboxPrimitive.Chip.Props & {
|
|
30
|
+
showRemove?: boolean;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function useComboboxAnchor(): React.MutableRefObject<HTMLDivElement | null>;
|
|
34
|
+
export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, ComboboxClear, useComboboxAnchor, };
|
|
35
|
+
//# sourceMappingURL=enhanced-combobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-combobox.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-combobox.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
3
|
+
/**
|
|
4
|
+
* Enhanced DropdownMenu components with button-like 3D effects (no gradient)
|
|
5
|
+
*
|
|
6
|
+
* Adds button-like styling to menu items with:
|
|
7
|
+
* - 3D shadow effects on trigger
|
|
8
|
+
* - Border highlights
|
|
9
|
+
* - Inset highlights
|
|
10
|
+
* - No gradient overlay
|
|
11
|
+
*/
|
|
12
|
+
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
13
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
|
+
inset?: boolean;
|
|
17
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
+
inset?: boolean;
|
|
22
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const DropdownMenuShortcut: {
|
|
25
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
30
|
+
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
31
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
33
|
+
inset?: boolean;
|
|
34
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
37
|
+
//# sourceMappingURL=enhanced-dropdown-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAoBtE;;;;;;;;GAQG;AAEH,QAAA,MAAM,YAAY,mDAAmB,CAAA;AAErC,QAAA,MAAM,mBAAmB,gLAqHvB,CAAA;AAGF,QAAA,MAAM,mBAAmB,0KAKvB,CAAA;AAGF,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAIjB,CAAA;AAGF,QAAA,MAAM,wBAAwB,+KAK5B,CAAA;AAIF,QAAA,MAAM,qBAAqB,4KAKzB,CAAA;AAGF,QAAA,MAAM,iBAAiB;YAGX,OAAO;wCAIjB,CAAA;AAGF,QAAA,MAAM,qBAAqB,4KAKzB,CAAA;AAGF,QAAA,MAAM,oBAAoB;8BAGvB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAEvC,CAAA;AAGD,QAAA,MAAM,iBAAiB,qHAAwB,CAAA;AAE/C,QAAA,MAAM,kBAAkB,yDAAyB,CAAA;AAEjD,QAAA,MAAM,eAAe,sDAAsB,CAAA;AAE3C,QAAA,MAAM,sBAAsB,6KAK1B,CAAA;AAIF,QAAA,MAAM,sBAAsB;YAGhB,OAAO;wCAIjB,CAAA;AAIF,QAAA,MAAM,sBAAsB,0HAA6B,CAAA;AAEzD,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const progressBlockVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "error" | "success" | "warning" | "neutral" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface EnhancedProgressProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof progressBlockVariants> {
|
|
7
|
+
/**
|
|
8
|
+
* Progress value (0 to max)
|
|
9
|
+
*/
|
|
10
|
+
value: number;
|
|
11
|
+
/**
|
|
12
|
+
* Maximum value
|
|
13
|
+
* @default 100
|
|
14
|
+
*/
|
|
15
|
+
max?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Number of blocks to display (optional - auto-calculated if not provided)
|
|
18
|
+
*/
|
|
19
|
+
blocks?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Show tooltip on hover showing progress percentage
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
showTooltip?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Enable hover opacity effect on blocks
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
hoverEffect?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Height override (Tailwind class or CSS value)
|
|
32
|
+
* @default "h-8"
|
|
33
|
+
*/
|
|
34
|
+
height?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Enhanced Progress component with block-based segmented design
|
|
38
|
+
*
|
|
39
|
+
* Displays progress as discrete colored blocks, similar to GitHub's contribution graph.
|
|
40
|
+
* Supports auto-calculated block count based on container width, or manual block count override.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```tsx
|
|
44
|
+
* <EnhancedProgress value={75} variant="success" />
|
|
45
|
+
* <EnhancedProgress value={50} blocks={100} height="h-12" />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
declare const EnhancedProgress: React.ForwardRefExoticComponent<EnhancedProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
export { EnhancedProgress };
|
|
50
|
+
//# sourceMappingURL=enhanced-progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-progress.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAwBjE,QAAA,MAAM,qBAAqB;;8EAazB,CAAA;AA2CF,MAAM,WAAW,qBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAC5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,gBAAgB,8FAiJrB,CAAA;AAID,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,34 +1,109 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
3
3
|
export interface EnhancedRadioGroupProps extends React.ComponentProps<typeof RadioGroupPrimitive.Root> {
|
|
4
|
+
/**
|
|
5
|
+
* Visual variant of the radio group.
|
|
6
|
+
* - `animated`: Default variant with circular radio buttons and pulse animation on selection
|
|
7
|
+
* - `sliding`: Sliding indicator background that moves to the selected item
|
|
8
|
+
* - `bar-left`: Vertical bar with animated left glider indicator
|
|
9
|
+
* - `bar-right`: Vertical bar with animated right glider indicator
|
|
10
|
+
*
|
|
11
|
+
* @default "animated"
|
|
12
|
+
*/
|
|
4
13
|
variant?: "animated" | "sliding" | "bar-left" | "bar-right";
|
|
14
|
+
/**
|
|
15
|
+
* Disables all radio items in the group.
|
|
16
|
+
*
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
5
19
|
disabled?: boolean;
|
|
6
20
|
}
|
|
7
21
|
/**
|
|
8
22
|
* Enhanced RadioGroup component with variant support
|
|
9
23
|
*
|
|
10
|
-
* Wraps Radix UI RadioGroup primitives with enhanced styling and variants
|
|
11
|
-
* - animated: Default variant with Hugeicons and pulse animation
|
|
12
|
-
* - sliding: Sliding indicator background that moves to selected item
|
|
13
|
-
* - bar-left: Vertical bar with left glider indicator
|
|
14
|
-
* - bar-right: Vertical bar with right glider indicator
|
|
15
|
-
*
|
|
24
|
+
* Wraps Radix UI RadioGroup primitives with enhanced styling and variants.
|
|
16
25
|
* Maintains all Radix UI accessibility and state management.
|
|
17
26
|
*
|
|
27
|
+
* **Usage Tips:**
|
|
28
|
+
* - Pass content directly as children to RadioGroupItem (don't wrap in Label)
|
|
29
|
+
* - Use the `spacing` prop on RadioGroupItem to control gap between radio and content
|
|
30
|
+
* - The "animated" variant is best for most use cases
|
|
31
|
+
*
|
|
18
32
|
* @example
|
|
19
33
|
* ```tsx
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* <
|
|
23
|
-
* </
|
|
34
|
+
* // Basic usage
|
|
35
|
+
* <RadioGroup variant="animated" value={value} onValueChange={setValue}>
|
|
36
|
+
* <RadioGroupItem value="option1">Option 1</RadioGroupItem>
|
|
37
|
+
* <RadioGroupItem value="option2">Option 2</RadioGroupItem>
|
|
38
|
+
* </RadioGroup>
|
|
39
|
+
*
|
|
40
|
+
* // With custom content and spacing
|
|
41
|
+
* <RadioGroup value={value} onValueChange={setValue}>
|
|
42
|
+
* <RadioGroupItem value="option1" spacing="compact">
|
|
43
|
+
* <div>
|
|
44
|
+
* <div className="font-medium">Option 1</div>
|
|
45
|
+
* <div className="text-sm text-muted-foreground">Description</div>
|
|
46
|
+
* </div>
|
|
47
|
+
* </RadioGroupItem>
|
|
48
|
+
* </RadioGroup>
|
|
24
49
|
* ```
|
|
25
50
|
*/
|
|
26
51
|
declare const EnhancedRadioGroup: React.ForwardRefExoticComponent<Omit<EnhancedRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
52
|
export interface EnhancedRadioGroupItemProps extends React.ComponentProps<typeof RadioGroupPrimitive.Item> {
|
|
53
|
+
/**
|
|
54
|
+
* The content to display next to the radio button.
|
|
55
|
+
*
|
|
56
|
+
* **Important:** Pass children directly to RadioGroupItem. Do NOT wrap RadioGroupItem
|
|
57
|
+
* in a separate Label component, as RadioGroupItem already provides the label wrapper.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```tsx
|
|
61
|
+
* // ✅ Correct usage
|
|
62
|
+
* <RadioGroupItem value="option1">
|
|
63
|
+
* <div>
|
|
64
|
+
* <div className="font-medium">Option 1</div>
|
|
65
|
+
* <div className="text-sm text-muted-foreground">Description</div>
|
|
66
|
+
* </div>
|
|
67
|
+
* </RadioGroupItem>
|
|
68
|
+
*
|
|
69
|
+
* // ❌ Incorrect usage - don't wrap in Label
|
|
70
|
+
* <Label>
|
|
71
|
+
* <RadioGroupItem value="option1" />
|
|
72
|
+
* <span>Option 1</span>
|
|
73
|
+
* </Label>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
28
76
|
children?: React.ReactNode;
|
|
77
|
+
/**
|
|
78
|
+
* Controls the spacing between the radio button and its content.
|
|
79
|
+
* - `compact`: 8px gap (gap-2)
|
|
80
|
+
* - `default`: 12px gap (gap-3) - default
|
|
81
|
+
* - `comfortable`: 16px gap (gap-4)
|
|
82
|
+
*
|
|
83
|
+
* Only applies to the "animated" variant.
|
|
84
|
+
*
|
|
85
|
+
* @default "default"
|
|
86
|
+
*/
|
|
87
|
+
spacing?: "compact" | "default" | "comfortable";
|
|
29
88
|
}
|
|
30
89
|
/**
|
|
31
|
-
* Enhanced RadioGroupItem component with variant-specific rendering
|
|
90
|
+
* Enhanced RadioGroupItem component with variant-specific rendering.
|
|
91
|
+
*
|
|
92
|
+
* This component automatically wraps the radio button in a label and handles
|
|
93
|
+
* accessibility. Pass your content directly as children - do not wrap this
|
|
94
|
+
* component in additional Label components.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```tsx
|
|
98
|
+
* <RadioGroup value={value} onValueChange={setValue}>
|
|
99
|
+
* <RadioGroupItem value="option1" spacing="compact">
|
|
100
|
+
* <div>
|
|
101
|
+
* <div className="font-medium">Option 1</div>
|
|
102
|
+
* <div className="text-sm text-muted-foreground">Description</div>
|
|
103
|
+
* </div>
|
|
104
|
+
* </RadioGroupItem>
|
|
105
|
+
* </RadioGroup>
|
|
106
|
+
* ```
|
|
32
107
|
*/
|
|
33
108
|
declare const EnhancedRadioGroupItem: React.ForwardRefExoticComponent<Omit<EnhancedRadioGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
34
109
|
export { EnhancedRadioGroup, EnhancedRadioGroup as RadioGroup, EnhancedRadioGroupItem, EnhancedRadioGroupItem as RadioGroupItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAe5D,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IAC7D,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAAA;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"enhanced-radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAe5D,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IAC7D;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAAA;IAC3D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,QAAA,MAAM,kBAAkB,6GA0ZtB,CAAA;AAIF,MAAM,WAAW,2BACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IAC7D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,aAAa,CAAA;CAChD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,sBAAsB,oHAgO1B,CAAA;AAIF,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,IAAI,UAAU,EAAE,sBAAsB,EAAE,sBAAsB,IAAI,cAAc,EAAE,CAAA;AACjI,YAAY,EAAE,uBAAuB,IAAI,eAAe,EAAE,2BAA2B,IAAI,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Select as SelectPrimitive } from "radix-ui";
|
|
3
|
+
/**
|
|
4
|
+
* Enhanced Select components with button-like 3D effects (no gradient)
|
|
5
|
+
*
|
|
6
|
+
* Adds button-like styling with:
|
|
7
|
+
* - 3D shadow effects
|
|
8
|
+
* - Border highlights
|
|
9
|
+
* - Inset highlights
|
|
10
|
+
* - No gradient overlay
|
|
11
|
+
*/
|
|
12
|
+
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function SelectGroup({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
16
|
+
size?: "sm" | "default";
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function SelectContent({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function SelectItem({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
25
|
+
//# sourceMappingURL=enhanced-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-select.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAA;AAMpD;;;;;;;;GAQG;AAEH,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;CACxB,2CA4HA;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAEtD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpD;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAEnD;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,2CAExD;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,2CAE7D;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,2CAE/D;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ToasterProps } from "sonner";
|
|
2
|
+
/**
|
|
3
|
+
* Enhanced Sonner Toaster with 3D gradient effects like buttons
|
|
4
|
+
*
|
|
5
|
+
* Adds button-like styling with:
|
|
6
|
+
* - Gradient overlays
|
|
7
|
+
* - 3D shadow effects
|
|
8
|
+
* - Border highlights
|
|
9
|
+
* - Semantic color glows
|
|
10
|
+
*/
|
|
11
|
+
declare const EnhancedToaster: {
|
|
12
|
+
({ ...props }: ToasterProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export { EnhancedToaster, EnhancedToaster as EnhancedSonner };
|
|
16
|
+
//# sourceMappingURL=enhanced-sonner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-sonner.d.ts","sourceRoot":"","sources":["../../../src/components/custom/enhanced-sonner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAA;AAK7D;;;;;;;;GAQG;AACH,QAAA,MAAM,eAAe;mBAAkB,YAAY;;CAgclD,CAAA;AAID,OAAO,EAAE,eAAe,EAAE,eAAe,IAAI,cAAc,EAAE,CAAA"}
|
|
@@ -50,8 +50,11 @@ export interface TableOfContentsProps extends React.HTMLAttributes<HTMLDivElemen
|
|
|
50
50
|
title?: string;
|
|
51
51
|
/**
|
|
52
52
|
* Visual variant of the TOC
|
|
53
|
+
* - normal: Fumadocs-style with left border and animated thumb indicator
|
|
54
|
+
* - circuit: Clerk-style with continuous line structure (simple linear paths)
|
|
55
|
+
* - clerk: Enhanced Clerk-style with smooth corner radius and quadratic curves
|
|
53
56
|
*/
|
|
54
|
-
variant?: "normal" | "circuit";
|
|
57
|
+
variant?: "normal" | "circuit" | "clerk";
|
|
55
58
|
}
|
|
56
59
|
/**
|
|
57
60
|
* Enhanced Table of Contents component with auto-detection and scroll spy
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../../../src/components/custom/table-of-contents.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AAaD,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IACtE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd
|
|
1
|
+
{"version":3,"file":"table-of-contents.d.ts","sourceRoot":"","sources":["../../../src/components/custom/table-of-contents.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;CACrB;AAaD,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IACtE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;CACzC;AA+FD;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,eAAe,6FAyNpB,CAAA;AA09BD,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface TrackerBlockProps {
|
|
3
|
+
/**
|
|
4
|
+
* Unique key for the block (optional, falls back to index)
|
|
5
|
+
*/
|
|
6
|
+
key?: string | number;
|
|
7
|
+
/**
|
|
8
|
+
* Tailwind color classes for the block (e.g., "bg-emerald-600 dark:bg-emerald-500")
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Tooltip text to display on hover
|
|
13
|
+
*/
|
|
14
|
+
tooltip?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TrackerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
/**
|
|
18
|
+
* Array of block data to display
|
|
19
|
+
*/
|
|
20
|
+
data: TrackerBlockProps[];
|
|
21
|
+
/**
|
|
22
|
+
* Default background color for blocks without a color prop
|
|
23
|
+
* @default "bg-muted"
|
|
24
|
+
*/
|
|
25
|
+
defaultBackgroundColor?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Enable hover opacity effect on blocks
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
hoverEffect?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Tracker component for displaying a horizontal bar of colored blocks
|
|
34
|
+
*
|
|
35
|
+
* Similar to GitHub's contribution graph, displays a series of colored blocks
|
|
36
|
+
* with optional tooltips. Useful for visualizing activity, status, or progress
|
|
37
|
+
* over time.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```tsx
|
|
41
|
+
* <Tracker
|
|
42
|
+
* data={[
|
|
43
|
+
* { color: "bg-emerald-600", tooltip: "Active" },
|
|
44
|
+
* { color: "bg-red-600", tooltip: "Error" },
|
|
45
|
+
* { tooltip: "No data" }
|
|
46
|
+
* ]}
|
|
47
|
+
* />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
declare const Tracker: React.ForwardRefExoticComponent<TrackerProps & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
export { Tracker };
|
|
52
|
+
//# sourceMappingURL=tracker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../../../src/components/custom/tracker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAkB9B,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAqDD,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE;;OAEG;IACH,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,OAAO,qFAmCZ,CAAA;AAID,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-form.d.ts","sourceRoot":"","sources":["../../../../../src/components/shadcn-studio/blocks/login-page-05/login-form.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,SAAS,+CAoDd,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-page-05.d.ts","sourceRoot":"","sources":["../../../../../src/components/shadcn-studio/blocks/login-page-05/login-page-05.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,KAAK,+CAkEV,CAAA;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/shadcn-studio/logo.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,IAAI,GAAI,eAAe;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,4CAOlD,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,aAAa;;8EAiBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAmB,EACnB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAW3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,QAAA,MAAM,aAAa;;8EAiBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAmB,EACnB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAW3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA;AAC/B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,CAAA"}
|
|
@@ -2,11 +2,12 @@ import * as React from "react";
|
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export { Button, buttonVariants };
|
|
12
|
+
export { Button as CoreButton };
|
|
12
13
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;8EA2BnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;8EA2BnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA;AACjC,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,CAAA"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const cardVariants: (props?: ({
|
|
4
|
+
variant?: "default" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
3
9
|
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
10
|
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
11
|
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AA0CjE,QAAA,MAAM,YAAY;;8EAiBjB,CAAA;AAED,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAExC,QAAA,MAAM,IAAI,kFAQT,CAAA;AAGD,QAAA,MAAM,UAAU,6GASd,CAAA;AAGF,QAAA,MAAM,SAAS,6GAYb,CAAA;AAGF,QAAA,MAAM,eAAe,6GASnB,CAAA;AAGF,QAAA,MAAM,WAAW,6GAKf,CAAA;AAGF,QAAA,MAAM,UAAU,6GASd,CAAA;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
2
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export { Checkbox };
|
|
5
|
+
export { Checkbox as CoreCheckbox };
|
|
5
6
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAK7D,QAAA,MAAM,QAAQ,iKAkBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA;AACnB,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAA"}
|
|
@@ -20,6 +20,6 @@ declare function ComboboxChip({ className, children, showRemove, ...props }: Com
|
|
|
20
20
|
showRemove?: boolean;
|
|
21
21
|
}): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function useComboboxAnchor(): React.
|
|
23
|
+
declare function useComboboxAnchor(): React.MutableRefObject<HTMLDivElement | null>;
|
|
24
24
|
export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
|
|
25
25
|
//# sourceMappingURL=combobox.d.ts.map
|