@codefast/ui 0.0.6 → 0.0.8
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/alert-dialog.js +3 -3
- package/dist/alert-dialog.mjs +1 -1
- package/dist/badge.js +4 -4
- package/dist/badge.js.map +1 -1
- package/dist/badge.mjs +4 -4
- package/dist/badge.mjs.map +1 -1
- package/dist/blockquote.d.mts +7 -0
- package/dist/blockquote.d.ts +7 -0
- package/dist/blockquote.js +13 -0
- package/dist/blockquote.js.map +1 -0
- package/dist/blockquote.mjs +13 -0
- package/dist/blockquote.mjs.map +1 -0
- package/dist/box.d.mts +14 -0
- package/dist/box.d.ts +14 -0
- package/dist/box.js +15 -0
- package/dist/box.js.map +1 -0
- package/dist/box.mjs +15 -0
- package/dist/box.mjs.map +1 -0
- package/dist/button.d.mts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.js +2 -2
- package/dist/button.mjs +1 -1
- package/dist/calendar.js +3 -3
- package/dist/calendar.mjs +1 -1
- package/dist/carousel.js +3 -3
- package/dist/carousel.mjs +1 -1
- package/dist/chunk-2D7SRYKN.js +135 -0
- package/dist/chunk-2D7SRYKN.js.map +1 -0
- package/dist/chunk-EDVCMWDT.mjs +158 -0
- package/dist/chunk-EDVCMWDT.mjs.map +1 -0
- package/dist/chunk-ESWGFN3R.mjs +135 -0
- package/dist/chunk-ESWGFN3R.mjs.map +1 -0
- package/dist/{chunk-Z524G4RY.mjs → chunk-KW5FJ62U.mjs} +6 -2
- package/dist/chunk-KW5FJ62U.mjs.map +1 -0
- package/dist/chunk-OCLLX7EY.js +158 -0
- package/dist/chunk-OCLLX7EY.js.map +1 -0
- package/dist/{chunk-4K26QLS2.js → chunk-U2WDUCW3.js} +6 -2
- package/dist/chunk-U2WDUCW3.js.map +1 -0
- package/dist/code.d.mts +7 -0
- package/dist/code.d.ts +7 -0
- package/dist/code.js +13 -0
- package/dist/code.js.map +1 -0
- package/dist/code.mjs +13 -0
- package/dist/code.mjs.map +1 -0
- package/dist/container.d.mts +7 -0
- package/dist/container.d.ts +7 -0
- package/dist/container.js +17 -0
- package/dist/container.js.map +1 -0
- package/dist/container.mjs +17 -0
- package/dist/container.mjs.map +1 -0
- package/dist/data-table.d.mts +16 -0
- package/dist/data-table.d.ts +16 -0
- package/dist/data-table.js +255 -0
- package/dist/data-table.js.map +1 -0
- package/dist/data-table.mjs +255 -0
- package/dist/data-table.mjs.map +1 -0
- package/dist/dropdown-menu.js +34 -157
- package/dist/dropdown-menu.js.map +1 -1
- package/dist/dropdown-menu.mjs +16 -139
- package/dist/dropdown-menu.mjs.map +1 -1
- package/dist/em.d.mts +7 -0
- package/dist/em.d.ts +7 -0
- package/dist/em.js +13 -0
- package/dist/em.js.map +1 -0
- package/dist/em.mjs +13 -0
- package/dist/em.mjs.map +1 -0
- package/dist/heading.d.mts +8 -0
- package/dist/heading.d.ts +8 -0
- package/dist/heading.js +13 -0
- package/dist/heading.js.map +1 -0
- package/dist/heading.mjs +13 -0
- package/dist/heading.mjs.map +1 -0
- package/dist/input-otp.d.mts +2 -2
- package/dist/input-otp.d.ts +2 -2
- package/dist/input.d.mts +58 -1
- package/dist/input.d.ts +58 -1
- package/dist/input.js +17 -6
- package/dist/input.js.map +1 -1
- package/dist/input.mjs +18 -7
- package/dist/input.mjs.map +1 -1
- package/dist/kbd.d.mts +7 -0
- package/dist/kbd.d.ts +7 -0
- package/dist/kbd.js +27 -0
- package/dist/kbd.js.map +1 -0
- package/dist/kbd.mjs +27 -0
- package/dist/kbd.mjs.map +1 -0
- package/dist/pagination.js +2 -2
- package/dist/pagination.mjs +1 -1
- package/dist/pre.d.mts +7 -0
- package/dist/pre.d.ts +7 -0
- package/dist/pre.js +13 -0
- package/dist/pre.js.map +1 -0
- package/dist/pre.mjs +13 -0
- package/dist/pre.mjs.map +1 -0
- package/dist/quote.d.mts +7 -0
- package/dist/quote.d.ts +7 -0
- package/dist/quote.js +13 -0
- package/dist/quote.js.map +1 -0
- package/dist/quote.mjs +13 -0
- package/dist/quote.mjs.map +1 -0
- package/dist/section.d.mts +7 -0
- package/dist/section.d.ts +7 -0
- package/dist/section.js +13 -0
- package/dist/section.js.map +1 -0
- package/dist/section.mjs +13 -0
- package/dist/section.mjs.map +1 -0
- package/dist/select.js +26 -134
- package/dist/select.js.map +1 -1
- package/dist/select.mjs +12 -120
- package/dist/select.mjs.map +1 -1
- package/dist/sheet.d.mts +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/strong.d.mts +7 -0
- package/dist/strong.d.ts +7 -0
- package/dist/strong.js +13 -0
- package/dist/strong.js.map +1 -0
- package/dist/strong.mjs +13 -0
- package/dist/strong.mjs.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/table.js +2 -5
- package/dist/table.js.map +1 -1
- package/dist/table.mjs +2 -5
- package/dist/table.mjs.map +1 -1
- package/dist/text.d.mts +14 -0
- package/dist/text.d.ts +14 -0
- package/dist/text.js +15 -0
- package/dist/text.js.map +1 -0
- package/dist/text.mjs +15 -0
- package/dist/text.mjs.map +1 -0
- package/package.json +69 -3
- package/src/badge.tsx +4 -6
- package/src/blockquote.tsx +24 -0
- package/src/box.tsx +33 -0
- package/src/button.tsx +4 -0
- package/src/code.tsx +22 -0
- package/src/container.tsx +25 -0
- package/src/data-table.tsx +255 -0
- package/src/em.tsx +22 -0
- package/src/heading.tsx +25 -0
- package/src/input.tsx +26 -8
- package/src/kbd.tsx +32 -0
- package/src/pre.tsx +22 -0
- package/src/quote.tsx +22 -0
- package/src/section.tsx +24 -0
- package/src/strong.tsx +22 -0
- package/src/table.tsx +2 -5
- package/src/text.tsx +34 -0
- package/dist/chunk-4K26QLS2.js.map +0 -1
- package/dist/chunk-Z524G4RY.mjs.map +0 -1
package/dist/input.d.mts
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { VariantProps } from 'cva';
|
|
2
3
|
|
|
3
|
-
declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> &
|
|
4
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<(props?: ({
|
|
5
|
+
inputSize?: "default" | "xs" | "sm" | "lg" | undefined;
|
|
6
|
+
} & ({
|
|
7
|
+
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
} | null | undefined)[] | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
} | null | undefined)[] | {
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
} | null | undefined)[] | {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
} | null | undefined)[] | {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
} | null | undefined)[] | {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
} | null | undefined)[] | {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
} | null | undefined)[] | {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
} | null | undefined)[] | {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
} | null | undefined)[] | {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
} | null | undefined)[] | {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
} | null | undefined)[] | {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
} | null | undefined;
|
|
32
|
+
className?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
class?: undefined;
|
|
35
|
+
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
36
|
+
[x: string]: any;
|
|
37
|
+
} | null | undefined)[] | {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
} | null | undefined)[] | {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
} | null | undefined)[] | {
|
|
42
|
+
[x: string]: any;
|
|
43
|
+
} | null | undefined)[] | {
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
} | null | undefined)[] | {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
} | null | undefined)[] | {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
} | null | undefined)[] | {
|
|
50
|
+
[x: string]: any;
|
|
51
|
+
} | null | undefined)[] | {
|
|
52
|
+
[x: string]: any;
|
|
53
|
+
} | null | undefined)[] | {
|
|
54
|
+
[x: string]: any;
|
|
55
|
+
} | null | undefined)[] | {
|
|
56
|
+
[x: string]: any;
|
|
57
|
+
} | null | undefined)[] | {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
})) | undefined) => string> & React.RefAttributes<HTMLInputElement>>;
|
|
4
61
|
|
|
5
62
|
export { Input };
|
package/dist/input.d.ts
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { VariantProps } from 'cva';
|
|
2
3
|
|
|
3
|
-
declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> &
|
|
4
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<(props?: ({
|
|
5
|
+
inputSize?: "default" | "xs" | "sm" | "lg" | undefined;
|
|
6
|
+
} & ({
|
|
7
|
+
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
} | null | undefined)[] | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
} | null | undefined)[] | {
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
} | null | undefined)[] | {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
} | null | undefined)[] | {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
} | null | undefined)[] | {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
} | null | undefined)[] | {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
} | null | undefined)[] | {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
} | null | undefined)[] | {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
} | null | undefined)[] | {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
} | null | undefined)[] | {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
} | null | undefined)[] | {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
} | null | undefined;
|
|
32
|
+
className?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
class?: undefined;
|
|
35
|
+
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
36
|
+
[x: string]: any;
|
|
37
|
+
} | null | undefined)[] | {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
} | null | undefined)[] | {
|
|
40
|
+
[x: string]: any;
|
|
41
|
+
} | null | undefined)[] | {
|
|
42
|
+
[x: string]: any;
|
|
43
|
+
} | null | undefined)[] | {
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
} | null | undefined)[] | {
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
} | null | undefined)[] | {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
} | null | undefined)[] | {
|
|
50
|
+
[x: string]: any;
|
|
51
|
+
} | null | undefined)[] | {
|
|
52
|
+
[x: string]: any;
|
|
53
|
+
} | null | undefined)[] | {
|
|
54
|
+
[x: string]: any;
|
|
55
|
+
} | null | undefined)[] | {
|
|
56
|
+
[x: string]: any;
|
|
57
|
+
} | null | undefined)[] | {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
})) | undefined) => string> & React.RefAttributes<HTMLInputElement>>;
|
|
4
61
|
|
|
5
62
|
export { Input };
|
package/dist/input.js
CHANGED
|
@@ -5,15 +5,26 @@ var _chunkG3NP7M2Njs = require('./chunk-G3NP7M2N.js');
|
|
|
5
5
|
// src/input.tsx
|
|
6
6
|
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
7
7
|
var _jsxruntime = require('react/jsx-runtime');
|
|
8
|
-
var
|
|
8
|
+
var inputVariants = _chunkG3NP7M2Njs.cva.call(void 0, {
|
|
9
|
+
base: "border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
10
|
+
variants: {
|
|
11
|
+
inputSize: {
|
|
12
|
+
default: "h-10",
|
|
13
|
+
xs: "h-8",
|
|
14
|
+
sm: "h-9",
|
|
15
|
+
lg: "h-11"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
inputSize: "default"
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
var Input = React.forwardRef(({ className, inputSize, ...props }, ref) => {
|
|
9
23
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10
24
|
"input",
|
|
11
25
|
{
|
|
12
|
-
type,
|
|
13
|
-
className:
|
|
14
|
-
"border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
15
|
-
className
|
|
16
|
-
),
|
|
26
|
+
type: "text",
|
|
27
|
+
className: inputVariants({ className, inputSize }),
|
|
17
28
|
ref,
|
|
18
29
|
...props
|
|
19
30
|
}
|
package/dist/input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/input.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;
|
|
1
|
+
{"version":3,"sources":["../src/input.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AAiCnB;AAzBJ,IAAM,gBAAgB,IAAI;AAAA,EACxB,MAAM;AAAA,EACN,UAAU;AAAA,IACR,WAAW;AAAA,MACT,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,WAAW;AAAA,EACb;AACF,CAAC;AAMD,IAAM,QAAc,iBAIlB,CAAC,EAAE,WAAW,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC7C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW,cAAc,EAAE,WAAW,UAAU,CAAC;AAAA,MACjD;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AACD,MAAM,cAAc","sourcesContent":["import * as React from \"react\";\nimport { type VariantProps } from \"cva\";\nimport { cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Input\n * -------------------------------------------------------------------------- */\n\nconst inputVariants = cva({\n base: \"border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n variants: {\n inputSize: {\n default: \"h-10\",\n xs: \"h-8\",\n sm: \"h-9\",\n lg: \"h-11\",\n },\n },\n defaultVariants: {\n inputSize: \"default\",\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: Input\n * -------------------------------------------------------------------------- */\n\nconst Input = React.forwardRef<\n HTMLInputElement,\n Omit<React.InputHTMLAttributes<HTMLInputElement>, \"size\"> &\n VariantProps<typeof inputVariants>\n>(({ className, inputSize, ...props }, ref) => {\n return (\n <input\n type=\"text\"\n className={inputVariants({ className, inputSize })}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = \"Input\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Input };\n"]}
|
package/dist/input.mjs
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
cva
|
|
3
3
|
} from "./chunk-UG3URV2Z.mjs";
|
|
4
4
|
|
|
5
5
|
// src/input.tsx
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
var
|
|
8
|
+
var inputVariants = cva({
|
|
9
|
+
base: "border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
10
|
+
variants: {
|
|
11
|
+
inputSize: {
|
|
12
|
+
default: "h-10",
|
|
13
|
+
xs: "h-8",
|
|
14
|
+
sm: "h-9",
|
|
15
|
+
lg: "h-11"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
inputSize: "default"
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
var Input = React.forwardRef(({ className, inputSize, ...props }, ref) => {
|
|
9
23
|
return /* @__PURE__ */ jsx(
|
|
10
24
|
"input",
|
|
11
25
|
{
|
|
12
|
-
type,
|
|
13
|
-
className:
|
|
14
|
-
"border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
15
|
-
className
|
|
16
|
-
),
|
|
26
|
+
type: "text",
|
|
27
|
+
className: inputVariants({ className, inputSize }),
|
|
17
28
|
ref,
|
|
18
29
|
...props
|
|
19
30
|
}
|
package/dist/input.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/input.tsx"],"sourcesContent":["import * as React from \"react\";\nimport {
|
|
1
|
+
{"version":3,"sources":["../src/input.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { type VariantProps } from \"cva\";\nimport { cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Input\n * -------------------------------------------------------------------------- */\n\nconst inputVariants = cva({\n base: \"border-input focus-visible:ring-ring focus-visible:ring-offset-background placeholder:text-muted-foreground flex w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n variants: {\n inputSize: {\n default: \"h-10\",\n xs: \"h-8\",\n sm: \"h-9\",\n lg: \"h-11\",\n },\n },\n defaultVariants: {\n inputSize: \"default\",\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: Input\n * -------------------------------------------------------------------------- */\n\nconst Input = React.forwardRef<\n HTMLInputElement,\n Omit<React.InputHTMLAttributes<HTMLInputElement>, \"size\"> &\n VariantProps<typeof inputVariants>\n>(({ className, inputSize, ...props }, ref) => {\n return (\n <input\n type=\"text\"\n className={inputVariants({ className, inputSize })}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = \"Input\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Input };\n"],"mappings":";;;;;AAAA,YAAY,WAAW;AAiCnB;AAzBJ,IAAM,gBAAgB,IAAI;AAAA,EACxB,MAAM;AAAA,EACN,UAAU;AAAA,IACR,WAAW;AAAA,MACT,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,WAAW;AAAA,EACb;AACF,CAAC;AAMD,IAAM,QAAc,iBAIlB,CAAC,EAAE,WAAW,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC7C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW,cAAc,EAAE,WAAW,UAAU,CAAC;AAAA,MACjD;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AACD,MAAM,cAAc;","names":[]}
|
package/dist/kbd.d.mts
ADDED
package/dist/kbd.d.ts
ADDED
package/dist/kbd.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
|
+
|
|
3
|
+
var _chunkG3NP7M2Njs = require('./chunk-G3NP7M2N.js');
|
|
4
|
+
|
|
5
|
+
// src/kbd.tsx
|
|
6
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
7
|
+
var _reactslot = require('@radix-ui/react-slot');
|
|
8
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
9
|
+
var Kbd = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
10
|
+
const Comp = asChild ? _reactslot.Slot : "kbd";
|
|
11
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
+
Comp,
|
|
13
|
+
{
|
|
14
|
+
ref,
|
|
15
|
+
className: _chunkG3NP7M2Njs.cn.call(void 0,
|
|
16
|
+
"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium",
|
|
17
|
+
className
|
|
18
|
+
),
|
|
19
|
+
...props
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
Kbd.displayName = "Kbd";
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.Kbd = Kbd;
|
|
27
|
+
//# sourceMappingURL=kbd.js.map
|
package/dist/kbd.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/kbd.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAcjB;AAPJ,IAAM,MAAY,iBAGhB,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC3C,QAAM,OAAO,UAAU,OAAO;AAE9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AACD,IAAI,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\nconst Kbd = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement> & { asChild?: boolean }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : \"kbd\";\n\n return (\n <Comp\n ref={ref}\n className={cn(\n \"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n});\nKbd.displayName = \"Kbd\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd };\n"]}
|
package/dist/kbd.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-UG3URV2Z.mjs";
|
|
4
|
+
|
|
5
|
+
// src/kbd.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Kbd = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
10
|
+
const Comp = asChild ? Slot : "kbd";
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
Comp,
|
|
13
|
+
{
|
|
14
|
+
ref,
|
|
15
|
+
className: cn(
|
|
16
|
+
"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium",
|
|
17
|
+
className
|
|
18
|
+
),
|
|
19
|
+
...props
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
Kbd.displayName = "Kbd";
|
|
24
|
+
export {
|
|
25
|
+
Kbd
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=kbd.mjs.map
|
package/dist/kbd.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/kbd.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\nconst Kbd = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement> & { asChild?: boolean }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : \"kbd\";\n\n return (\n <Comp\n ref={ref}\n className={cn(\n \"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n});\nKbd.displayName = \"Kbd\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd };\n"],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAcjB;AAPJ,IAAM,MAAY,iBAGhB,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC3C,QAAM,OAAO,UAAU,OAAO;AAE9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AACD,IAAI,cAAc;","names":[]}
|
package/dist/pagination.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkU2WDUCW3js = require('./chunk-U2WDUCW3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkG3NP7M2Njs = require('./chunk-G3NP7M2N.js');
|
|
@@ -49,7 +49,7 @@ function PaginationLink({
|
|
|
49
49
|
"a",
|
|
50
50
|
{
|
|
51
51
|
"aria-current": isActive ? "page" : void 0,
|
|
52
|
-
className:
|
|
52
|
+
className: _chunkU2WDUCW3js.buttonVariants.call(void 0, {
|
|
53
53
|
variant: isActive ? "outline" : "ghost",
|
|
54
54
|
size,
|
|
55
55
|
className
|
package/dist/pagination.mjs
CHANGED
package/dist/pre.d.mts
ADDED
package/dist/pre.d.ts
ADDED
package/dist/pre.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/pre.tsx
|
|
2
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
3
|
+
var _reactslot = require('@radix-ui/react-slot');
|
|
4
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
5
|
+
var Pre = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? _reactslot.Slot : "pre";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Pre.displayName = "Pre";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.Pre = Pre;
|
|
13
|
+
//# sourceMappingURL=pre.js.map
|
package/dist/pre.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/pre.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAYZ;AANT,IAAM,MAAY,iBAGhB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,IAAI,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\nconst Pre = React.forwardRef<\n HTMLPreElement,\n React.HTMLAttributes<HTMLPreElement> & { asChild?: boolean }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"pre\";\n\n return <Comp ref={ref} {...props} />;\n});\nPre.displayName = \"Pre\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre };\n"]}
|
package/dist/pre.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/pre.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var Pre = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? Slot : "pre";
|
|
7
|
+
return /* @__PURE__ */ jsx(Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Pre.displayName = "Pre";
|
|
10
|
+
export {
|
|
11
|
+
Pre
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=pre.mjs.map
|
package/dist/pre.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/pre.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\nconst Pre = React.forwardRef<\n HTMLPreElement,\n React.HTMLAttributes<HTMLPreElement> & { asChild?: boolean }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"pre\";\n\n return <Comp ref={ref} {...props} />;\n});\nPre.displayName = \"Pre\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAYZ;AANT,IAAM,MAAY,iBAGhB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,IAAI,cAAc;","names":[]}
|
package/dist/quote.d.mts
ADDED
package/dist/quote.d.ts
ADDED
package/dist/quote.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/quote.tsx
|
|
2
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
3
|
+
var _reactslot = require('@radix-ui/react-slot');
|
|
4
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
5
|
+
var Quote = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? _reactslot.Slot : "q";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Quote.displayName = "Quote";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.Quote = Quote;
|
|
13
|
+
//# sourceMappingURL=quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/quote.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAYZ;AANT,IAAM,QAAc,iBAGlB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,MAAM,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\nconst Quote = React.forwardRef<\n HTMLQuoteElement,\n React.QuoteHTMLAttributes<HTMLQuoteElement> & { asChild?: boolean }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"q\";\n\n return <Comp ref={ref} {...props} />;\n});\nQuote.displayName = \"Quote\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote };\n"]}
|
package/dist/quote.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/quote.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var Quote = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? Slot : "q";
|
|
7
|
+
return /* @__PURE__ */ jsx(Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Quote.displayName = "Quote";
|
|
10
|
+
export {
|
|
11
|
+
Quote
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=quote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/quote.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\nconst Quote = React.forwardRef<\n HTMLQuoteElement,\n React.QuoteHTMLAttributes<HTMLQuoteElement> & { asChild?: boolean }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"q\";\n\n return <Comp ref={ref} {...props} />;\n});\nQuote.displayName = \"Quote\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAYZ;AANT,IAAM,QAAc,iBAGlB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,MAAM,cAAc;","names":[]}
|
package/dist/section.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/section.tsx
|
|
2
|
+
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
3
|
+
var _reactslot = require('@radix-ui/react-slot');
|
|
4
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
5
|
+
var Section = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? _reactslot.Slot : "section";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Section.displayName = "Section";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.Section = Section;
|
|
13
|
+
//# sourceMappingURL=section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/section.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAcZ;AART,IAAM,UAAgB,iBAKpB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,QAAQ,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\nconst Section = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement> & {\n asChild?: boolean;\n }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"section\";\n\n return <Comp ref={ref} {...props} />;\n});\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section };\n"]}
|
package/dist/section.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/section.tsx
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var Section = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
+
const Comp = asChild ? Slot : "section";
|
|
7
|
+
return /* @__PURE__ */ jsx(Comp, { ref, ...props });
|
|
8
|
+
});
|
|
9
|
+
Section.displayName = "Section";
|
|
10
|
+
export {
|
|
11
|
+
Section
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=section.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/section.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\nconst Section = React.forwardRef<\n HTMLElement,\n React.HTMLAttributes<HTMLElement> & {\n asChild?: boolean;\n }\n>(({ asChild, ...props }, ref) => {\n const Comp = asChild ? Slot : \"section\";\n\n return <Comp ref={ref} {...props} />;\n});\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAcZ;AART,IAAM,UAAgB,iBAKpB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAChC,QAAM,OAAO,UAAU,OAAO;AAE9B,SAAO,oBAAC,QAAK,KAAW,GAAG,OAAO;AACpC,CAAC;AACD,QAAQ,cAAc;","names":[]}
|