@bccampus/ui-components 0.4.2 → 0.5.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/_chunks/CompositeDataItem.js +204 -0
- package/dist/_chunks/createLucideIcon.js +103 -0
- package/dist/_chunks/index.js +125 -0
- package/dist/_chunks/index2.js +44 -0
- package/dist/_chunks/index3.js +533 -0
- package/dist/{utils-CRiPKpXj.js → _chunks/utils.js} +754 -526
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.js +84 -0
- package/dist/components/ui/banner.d.ts +10 -0
- package/dist/components/ui/banner.js +45 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/{button.js → components/ui/button.js} +11 -10
- package/dist/components/ui/card.d.ts +27 -0
- package/dist/components/ui/card.js +109 -0
- package/dist/components/ui/composite/CompositeData.d.ts +20 -0
- package/dist/components/ui/composite/CompositeData.js +89 -0
- package/dist/components/ui/composite/CompositeDataItem.d.ts +28 -0
- package/dist/components/ui/composite/CompositeDataItem.js +5 -0
- package/dist/components/ui/composite/FocusProvider/AbstractFocusProvider.d.ts +41 -0
- package/dist/components/ui/composite/FocusProvider/AbstractFocusProvider.js +35 -0
- package/dist/components/ui/composite/FocusProvider/ListboxFocusProvider.d.ts +16 -0
- package/dist/components/ui/composite/FocusProvider/ListboxFocusProvider.js +67 -0
- package/dist/components/ui/composite/FocusProvider/index.d.ts +2 -0
- package/dist/components/ui/composite/FocusProvider/index.js +6 -0
- package/dist/components/ui/composite/SelectionProvider/AbstractSelectionProvider.d.ts +23 -0
- package/dist/components/ui/composite/SelectionProvider/AbstractSelectionProvider.js +20 -0
- package/dist/components/ui/composite/SelectionProvider/MultipleSelectionProvider.d.ts +9 -0
- package/dist/components/ui/composite/SelectionProvider/MultipleSelectionProvider.js +20 -0
- package/dist/components/ui/composite/SelectionProvider/SingleSelectionProvider.d.ts +9 -0
- package/dist/components/ui/composite/SelectionProvider/SingleSelectionProvider.js +25 -0
- package/dist/components/ui/composite/SelectionProvider/index.d.ts +3 -0
- package/dist/components/ui/composite/SelectionProvider/index.js +8 -0
- package/dist/components/ui/composite/composite-component-item.d.ts +2 -0
- package/dist/components/ui/composite/composite-component-item.js +74 -0
- package/dist/components/ui/composite/composite-component.d.ts +2 -0
- package/dist/components/ui/composite/composite-component.js +66 -0
- package/dist/components/ui/composite/index.d.ts +7 -0
- package/dist/components/ui/composite/index.js +22 -0
- package/dist/components/ui/composite/listbox.d.ts +2 -0
- package/dist/components/ui/composite/listbox.js +58 -0
- package/dist/components/ui/composite/types.d.ts +82 -0
- package/dist/components/ui/composite/types.js +1 -0
- package/dist/components/ui/horizontal-list.d.ts +10 -0
- package/dist/components/ui/horizontal-list.js +82 -0
- package/dist/components/ui/icon-generator/generate-tiles.d.ts +4 -0
- package/dist/components/ui/icon-generator/generate-tiles.js +223 -0
- package/dist/components/ui/icon-generator/icon-generator.d.ts +3 -0
- package/dist/components/ui/icon-generator/icon-generator.js +82 -0
- package/dist/components/ui/icon-generator/index.d.ts +4 -0
- package/dist/components/ui/icon-generator/index.js +11 -0
- package/dist/components/ui/icon-generator/masked-image-generator.d.ts +3 -0
- package/dist/components/ui/icon-generator/masked-image-generator.js +31 -0
- package/dist/{masked-image-generator.d.ts → components/ui/icon-generator/types.d.ts} +48 -58
- package/dist/components/ui/icon-generator/types.js +30 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/{input.js → components/ui/input.js} +8 -8
- package/dist/components/ui/navigation-menu.d.ts +16 -0
- package/dist/components/ui/navigation-menu.js +1041 -0
- package/dist/components/ui/overlay.d.ts +7 -0
- package/dist/{overlay.js → components/ui/overlay.js} +7 -7
- package/dist/components/ui/page-header.d.ts +5 -0
- package/dist/{page-header.js → components/ui/page-header.js} +189 -181
- package/dist/components/ui/page-section.d.ts +8 -0
- package/dist/{page-section.js → components/ui/page-section.js} +7 -7
- package/dist/components/ui/page.d.ts +3 -0
- package/dist/components/ui/page.js +8 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/popover.js +3532 -0
- package/dist/components/ui/search-input.d.ts +3 -0
- package/dist/components/ui/search-input.js +24 -0
- package/dist/components/ui/tag.d.ts +10 -0
- package/dist/{tag.js → components/ui/tag.js} +10 -9
- package/dist/components/ui/typography/caption.d.ts +8 -0
- package/dist/components/ui/typography/caption.js +28 -0
- package/dist/components/ui/typography/index.d.ts +1 -0
- package/dist/components/ui/typography/index.js +5 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +9 -0
- package/dist/hooks/use-effect-after-mount.d.ts +2 -0
- package/dist/hooks/use-effect-after-mount.js +24 -0
- package/dist/hooks/use-id.d.ts +1 -0
- package/dist/hooks/use-id.js +7 -0
- package/dist/hooks/use-keyboard-event.d.ts +59 -0
- package/dist/hooks/use-keyboard-event.js +52 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +16 -0
- package/dist/lib/object.d.ts +5 -0
- package/dist/lib/object.js +38 -0
- package/dist/lib/set-operations.d.ts +5 -0
- package/dist/lib/set-operations.js +51 -0
- package/dist/{utils.d.ts → lib/utils.d.ts} +2 -5
- package/dist/lib/utils.js +4 -0
- package/package.json +9 -76
- package/src/components/index.ts +17 -0
- package/src/components/ui/composite/FocusProvider/index.ts +2 -0
- package/src/components/ui/composite/SelectionProvider/MultipleSelectionProvider.ts +1 -1
- package/src/components/ui/composite/SelectionProvider/index.ts +3 -0
- package/src/components/ui/composite/index.ts +5 -5
- package/src/components/ui/icon-generator/index.ts +2 -0
- package/src/components/ui/typography/index.ts +1 -0
- package/src/hooks/index.ts +3 -0
- package/src/index.ts +3 -0
- package/src/lib/index.ts +3 -0
- package/tsconfig.lib.json +44 -0
- package/vite.config.ts +28 -31
- package/dist/AbstractFocusProvider-CxvlcEki.js +0 -29
- package/dist/AbstractSelectionProvider-BtaROstC.js +0 -30
- package/dist/CompositeDataItem-DuHOHCWy.js +0 -158
- package/dist/ListboxFocusProvider.d.ts +0 -149
- package/dist/ListboxFocusProvider.js +0 -53
- package/dist/MultipleSelectionProvider.d.ts +0 -141
- package/dist/MultipleSelectionProvider.js +0 -19
- package/dist/SingleSelectionProvider.d.ts +0 -141
- package/dist/SingleSelectionProvider.js +0 -23
- package/dist/banner.d.ts +0 -16
- package/dist/banner.js +0 -42
- package/dist/button.d.ts +0 -17
- package/dist/caption.d.ts +0 -13
- package/dist/caption.js +0 -27
- package/dist/card.d.ts +0 -46
- package/dist/card.js +0 -108
- package/dist/composite-component-DSUbd1XS.js +0 -122
- package/dist/composite.d.ts +0 -208
- package/dist/composite.js +0 -82
- package/dist/createLucideIcon-CzehbSja.js +0 -94
- package/dist/generate-tiles-DuagGD1d.js +0 -244
- package/dist/generate-tiles.d.ts +0 -43
- package/dist/generate-tiles.js +0 -7
- package/dist/horizontal-list.d.ts +0 -16
- package/dist/horizontal-list.js +0 -77
- package/dist/icon-generator-tuhuqdpL.js +0 -76
- package/dist/icon-generator.d.ts +0 -58
- package/dist/icon-generator.js +0 -6
- package/dist/index-CQhYMnjT.js +0 -34
- package/dist/index-U7DVCmS_.js +0 -76
- package/dist/input.d.ts +0 -7
- package/dist/listbox.d.ts +0 -171
- package/dist/listbox.js +0 -76
- package/dist/masked-image-generator.js +0 -29
- package/dist/navigation-menu.d.ts +0 -27
- package/dist/navigation-menu.js +0 -1139
- package/dist/overlay.d.ts +0 -13
- package/dist/page-header.d.ts +0 -9
- package/dist/page-section.d.ts +0 -14
- package/dist/page.d.ts +0 -7
- package/dist/page.js +0 -8
- package/dist/search-input.d.ts +0 -7
- package/dist/search-input.js +0 -23
- package/dist/tag.d.ts +0 -16
- package/dist/ui-components.d.ts +0 -215
- package/dist/ui-components.js +0 -54
- package/dist/utils.js +0 -4
- package/src/assets/icons/icon_01.svg +0 -6
- package/src/assets/icons/icon_02.svg +0 -6
- package/src/assets/icons/icon_03.svg +0 -6
- package/src/assets/icons/icon_04.svg +0 -6
- package/src/assets/icons/icon_05.svg +0 -4
- package/src/assets/icons/icon_06.svg +0 -4
- package/src/assets/images/image_01.jpg +0 -0
- package/src/assets/images/image_02.jpg +0 -0
- package/src/assets/images/image_03.webp +0 -0
- package/src/assets/images/image_04.png +0 -0
- package/src/assets/images/image_05.jpg +0 -0
- package/src/assets/images/image_06.jpg +0 -0
- package/src/components/ui/index.ts +0 -15
package/dist/overlay.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
export declare function Overlay({ className, position, ...props }: OverlayProps): JSX.Element;
|
|
6
|
-
|
|
7
|
-
export declare type OverlayProps = React.ComponentProps<"div"> & VariantProps<typeof overlayVariants>;
|
|
8
|
-
|
|
9
|
-
declare const overlayVariants: (props?: ({
|
|
10
|
-
position?: "b" | "br" | "tr" | "r" | "t" | "l" | "tl" | "bl" | "c" | null | undefined;
|
|
11
|
-
} & ClassProp) | undefined) => string;
|
|
12
|
-
|
|
13
|
-
export { }
|
package/dist/page-header.d.ts
DELETED
package/dist/page-section.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
export declare function PageSection({ className, px, py, ...props }: PageSectionProps): JSX.Element;
|
|
6
|
-
|
|
7
|
-
export declare type PageSectionProps = React.ComponentProps<"div"> & VariantProps<typeof pageSectionVariants>;
|
|
8
|
-
|
|
9
|
-
declare const pageSectionVariants: (props?: ({
|
|
10
|
-
px?: "none" | "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
11
|
-
py?: "none" | "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
12
|
-
} & ClassProp) | undefined) => string;
|
|
13
|
-
|
|
14
|
-
export { }
|
package/dist/page.d.ts
DELETED
package/dist/page.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "./utils-CRiPKpXj.js";
|
|
3
|
-
function i({ className: a, ...e }) {
|
|
4
|
-
return /* @__PURE__ */ r("div", { "data-slot": "page", className: o("group/page @container/page relative w-full", a), ...e });
|
|
5
|
-
}
|
|
6
|
-
export {
|
|
7
|
-
i as Page
|
|
8
|
-
};
|
package/dist/search-input.d.ts
DELETED
package/dist/search-input.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "./utils-CRiPKpXj.js";
|
|
3
|
-
import { Input as a } from "./input.js";
|
|
4
|
-
import { c as n } from "./createLucideIcon-CzehbSja.js";
|
|
5
|
-
/**
|
|
6
|
-
* @license lucide-react v0.544.0 - ISC
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the ISC license.
|
|
9
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
const s = [
|
|
12
|
-
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
13
|
-
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
14
|
-
], i = n("search", s);
|
|
15
|
-
function h({ className: r, ...t }) {
|
|
16
|
-
return /* @__PURE__ */ c("div", { className: o("relative", r), children: [
|
|
17
|
-
/* @__PURE__ */ e(a, { ...t }),
|
|
18
|
-
/* @__PURE__ */ e(i, { className: "absolute size-4 top-1/2 right-3 -translate-y-1/2 pointer-events-none text-primary" })
|
|
19
|
-
] });
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
h as SearchInput
|
|
23
|
-
};
|
package/dist/tag.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
export declare function Tag({ className, size, variant, asChild, ...props }: TagProps): JSX.Element;
|
|
6
|
-
|
|
7
|
-
export declare interface TagProps extends VariantProps<typeof tagVariants>, React.ComponentProps<"div"> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export declare const tagVariants: (props?: ({
|
|
12
|
-
variant?: "button" | "default" | null | undefined;
|
|
13
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
14
|
-
} & ClassProp) | undefined) => string;
|
|
15
|
-
|
|
16
|
-
export { }
|
package/dist/ui-components.d.ts
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
-
import { JSX } from 'react';
|
|
3
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
|
-
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
export declare function Banner({ className, size, variant, dismissible, children, ...props }: BannerProps): JSX_2.Element | null;
|
|
8
|
-
|
|
9
|
-
export declare interface BannerProps extends VariantProps<typeof bannerVariants>, React.ComponentProps<"div"> {
|
|
10
|
-
dismissible?: boolean;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare const bannerVariants: (props?: ({
|
|
14
|
-
variant?: "default" | "alert" | null | undefined;
|
|
15
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
16
|
-
} & ClassProp) | undefined) => string;
|
|
17
|
-
|
|
18
|
-
export declare function Button({ className, variant, size, block, asChild, ...props }: ButtonProps): JSX_2.Element;
|
|
19
|
-
|
|
20
|
-
export declare type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
21
|
-
asChild?: boolean;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export declare const buttonVariants: (props?: ({
|
|
25
|
-
variant?: "default" | "secondary" | "outline" | "ghost" | "item" | "destructive" | null | undefined;
|
|
26
|
-
block?: boolean | null | undefined;
|
|
27
|
-
size?: "text" | "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
28
|
-
} & ClassProp) | undefined) => string;
|
|
29
|
-
|
|
30
|
-
export declare function Caption({ className, variant, asChild, ...props }: React.ComponentProps<"div"> & VariantProps<typeof captionVariants> & {
|
|
31
|
-
asChild?: boolean;
|
|
32
|
-
}): JSX_2.Element;
|
|
33
|
-
|
|
34
|
-
export declare const captionVariants: (props?: ({
|
|
35
|
-
variant?: "default" | "light" | null | undefined;
|
|
36
|
-
} & ClassProp) | undefined) => string;
|
|
37
|
-
|
|
38
|
-
export declare function Card<T extends boolean = false>({ className, asLink, bordered, rounded, ...props }: CardProps<T>): JSX_2.Element;
|
|
39
|
-
|
|
40
|
-
export declare function CardArea({ name, className, ...props }: CardAreaProps): JSX_2.Element;
|
|
41
|
-
|
|
42
|
-
declare type CardAreaProps = React.ComponentProps<"div"> & {
|
|
43
|
-
name: string;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export declare function CardCaption(props: React.ComponentProps<"div">): JSX_2.Element;
|
|
47
|
-
|
|
48
|
-
export declare function CardContent(props: React.ComponentProps<"div">): JSX_2.Element;
|
|
49
|
-
|
|
50
|
-
export declare function CardImage({ className, ...props }: React.ComponentProps<"img">): JSX_2.Element;
|
|
51
|
-
|
|
52
|
-
export declare function CardItemGroup({ className, ...props }: React.ComponentProps<"div">): JSX_2.Element;
|
|
53
|
-
|
|
54
|
-
export declare function CardMedia({ className, ...props }: React.ComponentProps<"div">): JSX_2.Element;
|
|
55
|
-
|
|
56
|
-
export declare function CardMeta(props: React.ComponentProps<"div">): JSX_2.Element;
|
|
57
|
-
|
|
58
|
-
export declare type CardProps<T extends boolean> = (T extends true ? React.ComponentProps<"a"> : React.ComponentProps<"div">) & VariantProps<typeof cardVariants> & {
|
|
59
|
-
asLink?: T;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export declare function CardSubcaption(props: React.ComponentProps<"div">): JSX_2.Element;
|
|
63
|
-
|
|
64
|
-
export declare function CardSubtitle({ size, className, ...props }: CardTitleProps): JSX_2.Element;
|
|
65
|
-
|
|
66
|
-
export declare function CardTitle({ size, className, ...props }: CardTitleProps): JSX_2.Element;
|
|
67
|
-
|
|
68
|
-
declare type CardTitleProps = React.ComponentProps<"div"> & {
|
|
69
|
-
size?: "sm" | "md" | "lg";
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export declare function CardToolbar({ className, ...props }: React.ComponentProps<"div">): JSX_2.Element;
|
|
73
|
-
|
|
74
|
-
declare const cardVariants: (props?: ({
|
|
75
|
-
bordered?: boolean | null | undefined;
|
|
76
|
-
rounded?: boolean | null | undefined;
|
|
77
|
-
} & ClassProp) | undefined) => string;
|
|
78
|
-
|
|
79
|
-
export declare function HorizontalList({ variant, className, children, toolbarLocation, scrollBy, ...props }: HorizontalListProps): JSX_2.Element;
|
|
80
|
-
|
|
81
|
-
export declare interface HorizontalListProps extends VariantProps<typeof horizontalListVariants>, React.ComponentProps<"div"> {
|
|
82
|
-
toolbarLocation?: "bottom" | "top";
|
|
83
|
-
scrollBy?: number;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
declare const horizontalListVariants: (props?: ({
|
|
87
|
-
variant?: "overflow" | "contain" | null | undefined;
|
|
88
|
-
} & ClassProp) | undefined) => string;
|
|
89
|
-
|
|
90
|
-
export declare function IconGenerator({ pattern, tileSize, tileClassName, tileBgClassName, renderChildren, fit, ...props }: IconGeneratorProps): JSX_2.Element;
|
|
91
|
-
|
|
92
|
-
declare interface IconGeneratorProps extends Omit<React.ComponentProps<"svg">, "children" | "width" | "height" | "overflow"> {
|
|
93
|
-
pattern?: (TileShape | TileConfig)[][];
|
|
94
|
-
tileSize?: number;
|
|
95
|
-
tileClassName?: string;
|
|
96
|
-
tileBgClassName?: string;
|
|
97
|
-
fit?: "none" | "fill" | "width" | "height";
|
|
98
|
-
renderChildren?: (paths: (JSX.Element | null)[], width: number, height: number) => React.ReactNode;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export declare function Input({ className, ...props }: InputProps): JSX_2.Element;
|
|
102
|
-
|
|
103
|
-
export declare type InputProps = React.ComponentProps<"input">;
|
|
104
|
-
|
|
105
|
-
export declare function MaskedImageGenerator({ src, imageFit, imagePosition, maskType, ...props }: MaskedImageGeneratorProps): JSX_2.Element;
|
|
106
|
-
|
|
107
|
-
declare interface MaskedImageGeneratorProps extends IconGeneratorProps {
|
|
108
|
-
src: string;
|
|
109
|
-
imageFit?: "cover" | "contain" | "fill";
|
|
110
|
-
imagePosition?: "top" | "center" | "bottom";
|
|
111
|
-
maskType?: "alpha" | "luminance";
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export declare function NavigationMenu({ className, children, noViewport, mega, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
115
|
-
noViewport?: boolean;
|
|
116
|
-
mega?: boolean;
|
|
117
|
-
}): JSX_2.Element;
|
|
118
|
-
|
|
119
|
-
export declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>): JSX_2.Element;
|
|
120
|
-
|
|
121
|
-
export declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): JSX_2.Element;
|
|
122
|
-
|
|
123
|
-
export declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>): JSX_2.Element;
|
|
124
|
-
|
|
125
|
-
export declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>): JSX_2.Element;
|
|
126
|
-
|
|
127
|
-
export declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>): JSX_2.Element;
|
|
128
|
-
|
|
129
|
-
export declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): JSX_2.Element;
|
|
130
|
-
|
|
131
|
-
export declare const navigationMenuTriggerStyle: string;
|
|
132
|
-
|
|
133
|
-
export declare function NavigationMenuViewport({ className, mega, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport> & {
|
|
134
|
-
mega?: boolean;
|
|
135
|
-
}): JSX_2.Element;
|
|
136
|
-
|
|
137
|
-
export declare function Overlay({ className, position, ...props }: OverlayProps): JSX_2.Element;
|
|
138
|
-
|
|
139
|
-
export declare type OverlayProps = React.ComponentProps<"div"> & VariantProps<typeof overlayVariants>;
|
|
140
|
-
|
|
141
|
-
declare const overlayVariants: (props?: ({
|
|
142
|
-
position?: "b" | "br" | "tr" | "r" | "t" | "l" | "tl" | "bl" | "c" | null | undefined;
|
|
143
|
-
} & ClassProp) | undefined) => string;
|
|
144
|
-
|
|
145
|
-
export declare function Page({ className, ...props }: PageProps): JSX_2.Element;
|
|
146
|
-
|
|
147
|
-
export declare function PageHeader({ children, asChild, ...props }: PageHeaderProps): JSX_2.Element;
|
|
148
|
-
|
|
149
|
-
export declare type PageHeaderProps = React.ComponentProps<"div"> & {
|
|
150
|
-
asChild?: boolean;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
export declare type PageProps = React.ComponentProps<"div">;
|
|
154
|
-
|
|
155
|
-
export declare function PageSection({ className, px, py, ...props }: PageSectionProps): JSX_2.Element;
|
|
156
|
-
|
|
157
|
-
export declare type PageSectionProps = React.ComponentProps<"div"> & VariantProps<typeof pageSectionVariants>;
|
|
158
|
-
|
|
159
|
-
declare const pageSectionVariants: (props?: ({
|
|
160
|
-
px?: "none" | "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
161
|
-
py?: "none" | "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
162
|
-
} & ClassProp) | undefined) => string;
|
|
163
|
-
|
|
164
|
-
export declare function SearchInput({ className, ...props }: SearchInputProps): JSX_2.Element;
|
|
165
|
-
|
|
166
|
-
export declare type SearchInputProps = React.ComponentProps<"input">;
|
|
167
|
-
|
|
168
|
-
export declare function Tag({ className, size, variant, asChild, ...props }: TagProps): JSX_2.Element;
|
|
169
|
-
|
|
170
|
-
export declare interface TagProps extends VariantProps<typeof tagVariants>, React.ComponentProps<"div"> {
|
|
171
|
-
asChild?: boolean;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export declare const tagVariants: (props?: ({
|
|
175
|
-
variant?: "button" | "default" | null | undefined;
|
|
176
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
177
|
-
} & ClassProp) | undefined) => string;
|
|
178
|
-
|
|
179
|
-
declare interface TileConfig {
|
|
180
|
-
shape: TileShape;
|
|
181
|
-
scale?: number;
|
|
182
|
-
className?: string;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
declare const TileShape: {
|
|
186
|
-
readonly Blank: 0;
|
|
187
|
-
readonly Rand: 1;
|
|
188
|
-
readonly Mosaic: 2;
|
|
189
|
-
readonly MosaicCircle: 3;
|
|
190
|
-
readonly MosaicDiamond: 4;
|
|
191
|
-
readonly Square: 6;
|
|
192
|
-
readonly Circle: 7;
|
|
193
|
-
readonly Diamond: 8;
|
|
194
|
-
readonly Hexagon: 9;
|
|
195
|
-
readonly RandBasic: 10;
|
|
196
|
-
readonly TriangleSE: 11;
|
|
197
|
-
readonly TriangleSW: 12;
|
|
198
|
-
readonly TriangleNW: 13;
|
|
199
|
-
readonly TriangleNE: 14;
|
|
200
|
-
readonly TriangleRand: 15;
|
|
201
|
-
readonly CaretN: 16;
|
|
202
|
-
readonly CaretE: 17;
|
|
203
|
-
readonly CaretS: 18;
|
|
204
|
-
readonly CaretW: 19;
|
|
205
|
-
readonly CaretRand: 20;
|
|
206
|
-
readonly PieSE: 21;
|
|
207
|
-
readonly PieSW: 22;
|
|
208
|
-
readonly PieNW: 23;
|
|
209
|
-
readonly PieNE: 24;
|
|
210
|
-
readonly PieRand: 25;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
declare type TileShape = (typeof TileShape)[keyof typeof TileShape];
|
|
214
|
-
|
|
215
|
-
export { }
|
package/dist/ui-components.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { I as o } from "./icon-generator-tuhuqdpL.js";
|
|
2
|
-
import { MaskedImageGenerator as e } from "./masked-image-generator.js";
|
|
3
|
-
import { Caption as i, captionVariants as p } from "./caption.js";
|
|
4
|
-
import { Banner as m } from "./banner.js";
|
|
5
|
-
import { Button as u, buttonVariants as C } from "./button.js";
|
|
6
|
-
import { Card as x, CardArea as M, CardCaption as v, CardContent as I, CardImage as N, CardItemGroup as s, CardMedia as c, CardMeta as l, CardSubcaption as S, CardSubtitle as T, CardTitle as b, CardToolbar as V } from "./card.js";
|
|
7
|
-
import { HorizontalList as L } from "./horizontal-list.js";
|
|
8
|
-
import { Input as k } from "./input.js";
|
|
9
|
-
import { NavigationMenu as B, NavigationMenuContent as H, NavigationMenuIndicator as h, NavigationMenuItem as w, NavigationMenuLink as z, NavigationMenuList as A, NavigationMenuTrigger as O, NavigationMenuViewport as j, navigationMenuTriggerStyle as q } from "./navigation-menu.js";
|
|
10
|
-
import { Overlay as E } from "./overlay.js";
|
|
11
|
-
import { PageHeader as J } from "./page-header.js";
|
|
12
|
-
import { PageSection as Q } from "./page-section.js";
|
|
13
|
-
import { Page as U } from "./page.js";
|
|
14
|
-
import { SearchInput as X } from "./search-input.js";
|
|
15
|
-
import { Tag as Z, tagVariants as _ } from "./tag.js";
|
|
16
|
-
export {
|
|
17
|
-
m as Banner,
|
|
18
|
-
u as Button,
|
|
19
|
-
i as Caption,
|
|
20
|
-
x as Card,
|
|
21
|
-
M as CardArea,
|
|
22
|
-
v as CardCaption,
|
|
23
|
-
I as CardContent,
|
|
24
|
-
N as CardImage,
|
|
25
|
-
s as CardItemGroup,
|
|
26
|
-
c as CardMedia,
|
|
27
|
-
l as CardMeta,
|
|
28
|
-
S as CardSubcaption,
|
|
29
|
-
T as CardSubtitle,
|
|
30
|
-
b as CardTitle,
|
|
31
|
-
V as CardToolbar,
|
|
32
|
-
L as HorizontalList,
|
|
33
|
-
o as IconGenerator,
|
|
34
|
-
k as Input,
|
|
35
|
-
e as MaskedImageGenerator,
|
|
36
|
-
B as NavigationMenu,
|
|
37
|
-
H as NavigationMenuContent,
|
|
38
|
-
h as NavigationMenuIndicator,
|
|
39
|
-
w as NavigationMenuItem,
|
|
40
|
-
z as NavigationMenuLink,
|
|
41
|
-
A as NavigationMenuList,
|
|
42
|
-
O as NavigationMenuTrigger,
|
|
43
|
-
j as NavigationMenuViewport,
|
|
44
|
-
E as Overlay,
|
|
45
|
-
U as Page,
|
|
46
|
-
J as PageHeader,
|
|
47
|
-
Q as PageSection,
|
|
48
|
-
X as SearchInput,
|
|
49
|
-
Z as Tag,
|
|
50
|
-
C as buttonVariants,
|
|
51
|
-
p as captionVariants,
|
|
52
|
-
q as navigationMenuTriggerStyle,
|
|
53
|
-
_ as tagVariants
|
|
54
|
-
};
|
package/dist/utils.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="298" height="298" viewBox="0 0 298 298" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M298 0.00782553L298 149.008C215.71 149.008 149 82.2982 149 0.00780599L298 0.00782553Z" fill="currentColor" />
|
|
3
|
-
<path d="M1.3026e-05 0.0078125L149 0.00782553C149 82.2983 82.2904 149.008 0 149.008L1.3026e-05 0.0078125Z" class="fill-current" />
|
|
4
|
-
<path d="M149 149.008L298 149.008C298 231.298 231.29 298.008 149 298.008L149 149.008Z" class="fill-current" />
|
|
5
|
-
<path d="M149 149.008L149 298.008C66.7096 298.008 -1.07911e-05 231.298 0 149.008L149 149.008Z" class="fill-current" />
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="298" height="298" viewBox="0 0 298 298" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M1.3026e-05 298.008L149 298.008C149 215.717 82.2904 149.008 1.3026e-05 149.008L1.3026e-05 298.008Z" fill="#2E5776"/>
|
|
3
|
-
<path d="M1.3026e-05 0.0078125L149 0.00785158C149 82.2983 82.2904 149.008 -2.6052e-05 149.008L1.3026e-05 0.0078125Z" fill="#2E5776"/>
|
|
4
|
-
<path d="M298 149.008L149 149.008C149 231.298 215.71 298.008 298 298.008L298 149.008Z" fill="#2E5776"/>
|
|
5
|
-
<path d="M298 149.008L149 149.008C149 66.7173 215.71 0.00778372 298 0.0078125L298 149.008Z" fill="#2E5776"/>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="299" height="299" viewBox="0 0 299 299" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M0.937513 0.0625L149.938 0.062513C149.938 82.3529 83.2279 149.063 0.9375 149.062L0.937513 0.0625Z" fill="#2E5776"/>
|
|
3
|
-
<path d="M0.937513 149.062L149.938 149.063C149.938 231.353 83.2279 298.063 0.9375 298.062L0.937513 149.062Z" fill="#2E5776"/>
|
|
4
|
-
<path d="M149.938 0.0625L298.938 0.062513C298.938 82.3529 232.228 149.063 149.938 149.062L149.938 0.0625Z" fill="#2E5776"/>
|
|
5
|
-
<path d="M149.938 149.062L298.938 149.063C298.938 231.353 232.228 298.063 149.938 298.062L149.938 149.062Z" fill="#2E5776"/>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="298" height="299" viewBox="0 0 298 299" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M1.3026e-05 0.0703125L149 0.0703255C149 82.3608 82.2904 149.07 0 149.07L1.3026e-05 0.0703125Z" fill="#2E5776"/>
|
|
3
|
-
<path d="M0 298.07L6.513e-06 149.07C82.2904 149.07 149 215.78 149 298.07L0 298.07Z" fill="#2E5776"/>
|
|
4
|
-
<path d="M298 0.0703255L298 149.07C215.71 149.07 149 82.3607 149 0.070306L298 0.0703255Z" fill="#2E5776"/>
|
|
5
|
-
<path d="M298 298.07L149 298.07C149 215.78 215.71 149.07 298 149.07L298 298.07Z" fill="#2E5776"/>
|
|
6
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="298" height="298" viewBox="0 0 298 298" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M149 149C231.29 149 298 215.71 298 298H0C0 215.71 66.7096 149 149 149Z" fill="#2E5776"/>
|
|
3
|
-
<path d="M149 149C66.7096 149 5.83194e-06 82.2904 1.3026e-05 -2.6052e-05L298 0C298 82.2904 231.29 149 149 149Z" fill="#2E5776"/>
|
|
4
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="298" height="298" viewBox="0 0 298 298" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M149 149C149 66.7096 215.71 -2.91597e-06 298 -6.513e-06L298 298C215.71 298 149 231.29 149 149Z" fill="#2E5776"/>
|
|
3
|
-
<path d="M149 149C149 231.29 82.2904 298 -1.3026e-05 298L0 -6.513e-06C82.2904 -2.91597e-06 149 66.7096 149 149Z" fill="#2E5776"/>
|
|
4
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './icon-generator/icon-generator.tsx'
|
|
2
|
-
export * from './icon-generator/masked-image-generator.tsx'
|
|
3
|
-
export * from './typography/caption.tsx'
|
|
4
|
-
export * from './banner.tsx'
|
|
5
|
-
export * from './button.tsx'
|
|
6
|
-
export * from './card.tsx'
|
|
7
|
-
export * from './horizontal-list.tsx'
|
|
8
|
-
export * from './input.tsx'
|
|
9
|
-
export * from './navigation-menu.tsx'
|
|
10
|
-
export * from './overlay.tsx'
|
|
11
|
-
export * from './page-header.tsx'
|
|
12
|
-
export * from './page-section.tsx'
|
|
13
|
-
export * from './page.tsx'
|
|
14
|
-
export * from './search-input.tsx'
|
|
15
|
-
export * from './tag.tsx'
|