pentatrion-design 1.1.2 → 1.1.3
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/.github/workflows/deploy-storybook.yml +2 -0
- package/.github/workflows/release.yml +42 -0
- package/dist/{Button-jLcascU9.d.mts → Button-BXHHq6gh.d.mts} +3 -3
- package/dist/{Button-jLcascU9.d.mts.map → Button-BXHHq6gh.d.mts.map} +1 -1
- package/dist/components/accordion/index.d.mts +4 -4
- package/dist/components/autocomplete/index.d.mts +6 -6
- package/dist/components/badge/index.d.mts +2 -2
- package/dist/components/button/index.d.mts +2 -2
- package/dist/components/code/index.d.mts +2 -2
- package/dist/components/code/index.d.mts.map +1 -1
- package/dist/components/context-menu/index.d.mts +3 -3
- package/dist/components/dialog/index.d.mts +3 -3
- package/dist/components/dialog/index.d.mts.map +1 -1
- package/dist/components/dropdown-menu/index.d.mts +5 -5
- package/dist/components/dropdown-menu-nested/index.d.mts +5 -5
- package/dist/components/flash/index.d.mts +2 -2
- package/dist/components/flash/index.d.mts.map +1 -1
- package/dist/components/form/index.d.mts +4 -4
- package/dist/components/highlight/index.d.mts +2 -2
- package/dist/components/highlight/index.d.mts.map +1 -1
- package/dist/components/input/index.d.mts +17 -17
- package/dist/components/loader/index.d.mts +2 -2
- package/dist/components/media-preview/index.d.mts +3 -3
- package/dist/components/modal/index.d.mts +8 -8
- package/dist/components/notification/index.d.mts +4 -4
- package/dist/components/popover/index.d.mts +9 -9
- package/dist/components/popover/index.d.mts.map +1 -1
- package/dist/components/resizable/index.d.mts +4 -4
- package/dist/components/resizable/index.d.mts.map +1 -1
- package/dist/components/resize-area/index.d.mts +2 -2
- package/dist/components/resize-area/index.d.mts.map +1 -1
- package/dist/components/scroll/index.d.mts +2 -2
- package/dist/components/scroll/index.d.mts.map +1 -1
- package/dist/components/select/index.d.mts +1 -1
- package/dist/components/snack/index.d.mts +2 -2
- package/dist/components/snack/index.d.mts.map +1 -1
- package/dist/components/steps/index.d.mts +3 -3
- package/dist/components/steps/index.d.mts.map +1 -1
- package/dist/components/table/index.d.mts +8 -8
- package/dist/components/tabs/index.d.mts +2 -2
- package/dist/components/tabs/index.d.mts.map +1 -1
- package/dist/components/toast/index.d.mts +2 -2
- package/dist/components/tooltip/index.d.mts +7 -7
- package/dist/{index-BjFHH6YC.d.mts → index-DrF0iLec.d.mts} +5 -5
- package/dist/{index-BjFHH6YC.d.mts.map → index-DrF0iLec.d.mts.map} +1 -1
- package/dist/{index-nYRuqVhj.d.mts → index-je76qZrj.d.mts} +5 -5
- package/dist/{index-nYRuqVhj.d.mts.map → index-je76qZrj.d.mts.map} +1 -1
- package/package.json +4 -1
- package/src/tailwind/theme.css +46 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
push:
|
|
7
|
+
tags:
|
|
8
|
+
- "v*.*.*"
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- uses: pnpm/action-setup@v4
|
|
17
|
+
# pnpm version is specified in the package.json packageManager section
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: 22
|
|
21
|
+
cache: pnpm
|
|
22
|
+
registry-url: https://registry.npmjs.org
|
|
23
|
+
|
|
24
|
+
- name: "Install JS dependencies"
|
|
25
|
+
run: "pnpm i --frozen-lockfile"
|
|
26
|
+
|
|
27
|
+
- name: Build library
|
|
28
|
+
run: pnpm run build
|
|
29
|
+
|
|
30
|
+
- name: Release
|
|
31
|
+
uses: softprops/action-gh-release@v2
|
|
32
|
+
if: github.ref_type == 'tag'
|
|
33
|
+
with:
|
|
34
|
+
token: ${{ secrets.DESIGN_RELEASE_GITHUB_TOKEN }}
|
|
35
|
+
|
|
36
|
+
- name: Publish 🚀
|
|
37
|
+
shell: bash
|
|
38
|
+
run: |
|
|
39
|
+
echo -e "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN\nregistry=https://registry.npmjs.org/\nunsafe-perm=true" > .npmrc
|
|
40
|
+
pnpm publish --access public --no-git-checks
|
|
41
|
+
env:
|
|
42
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ThemeColor } from "./types-NxD0D2V5.mjs";
|
|
2
2
|
import { ComponentProps, RefObject } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/button/Button.d.ts
|
|
@@ -44,7 +44,7 @@ declare function Button({
|
|
|
44
44
|
width,
|
|
45
45
|
ref,
|
|
46
46
|
...props
|
|
47
|
-
}: ButtonProps):
|
|
47
|
+
}: ButtonProps): react_jsx_runtime42.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ButtonProps as n, buttonVariants as r, Button as t };
|
|
50
|
-
//# sourceMappingURL=Button-
|
|
50
|
+
//# sourceMappingURL=Button-BXHHq6gh.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button-
|
|
1
|
+
{"version":3,"file":"Button-BXHHq6gh.d.mts","names":[],"sources":["../src/components/button/Button.tsx"],"sourcesContent":[],"mappings":";;;;;;UAmBiB,WAAA,SAAoB,KAAK;;;;EAAzB,KAAA,CAAA,EAOP,UAPmB;EAAa,KAAA,CAAA,EAAA,KAAA,GAAA,MAAA,GAAA,QAAA;EAOhC,OAAA,CAAA,EAAA,OAAA;EAkBQ,QAAA,CAAA,EAAA,OAAA;EAAV,SAAA,CAAA,EAAA,OAAA;EAzB6B;;AA4BrC;EAuDgB,QAAA,CAAM,EAAA,OAAA;EACpB,IAAA,CAAA,EAAA,OAAA;EACA,OAAA,CAAA,EAAA,OAAA;EACA,GAAA,CAAA,EA7DM,SA6DN,CA7DgB,iBA6DhB,CAAA;;AAEA,cA5DW,cA4DX,EAAA,CAAA,KAMA,CANA,EAAA,CAAA;EACA,SAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;EACA,IAAA,CAAA,EAAA,OAAA,GAAA,OAAA,GAAA,OAAA,GAAA,QAAA,GAAA,QAAA,GAAA,UAAA,GAAA,IAAA,GAAA,SAAA;EACA,IAAA,CAAA,EAAA,OAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EACA,KAAA,CAAA,EAAA,KAAA,GAAA,MAAA,GAAA,QAAA,GAAA,IAAA,GAAA,SAAA;EACA,OAAA,CAAA,EAAA,MAAA,GAAA,WAAA,GAAA,OAAA,GAAA,UAAA,GAAA,OAAA,GAAA,IAAA,GAAA,SAAA;CACA,GAbD,+BAAA,CAAA,SAaC,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AACA,iBAZc,MAAA,CAYd;EAAA,UAAA;EAAA,OAAA;EAAA,OAAA;EAAA,KAAA;EAAA,IAAA;EAAA,SAAA;EAAA,SAAA;EAAA,QAAA;EAAA,QAAA;EAAA,QAAA;EAAA,IAAA;EAAA,OAAA;EAAA,KAAA;EAAA,GAAA;EAAA,GAAA;AAAA,CAAA,EAIC,WAJD,CAAA,EAIY,mBAAA,CAAA,GAAA,CAAA,OAJZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/accordion/Accordion.d.ts
|
|
5
5
|
interface Props$2 {
|
|
@@ -13,7 +13,7 @@ declare function Accordion({
|
|
|
13
13
|
defaultValue,
|
|
14
14
|
onChange,
|
|
15
15
|
children
|
|
16
|
-
}: Props$2):
|
|
16
|
+
}: Props$2): react_jsx_runtime51.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/components/accordion/AccordionTrigger.d.ts
|
|
19
19
|
interface Props$1 extends ComponentProps<"button"> {
|
|
@@ -23,7 +23,7 @@ declare function AccordionTrigger({
|
|
|
23
23
|
name,
|
|
24
24
|
children,
|
|
25
25
|
...rest
|
|
26
|
-
}: Props$1):
|
|
26
|
+
}: Props$1): react_jsx_runtime51.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/accordion/AccordionContent.d.ts
|
|
29
29
|
interface Props extends ComponentProps<"div"> {
|
|
@@ -33,7 +33,7 @@ declare function AccordionContent({
|
|
|
33
33
|
name,
|
|
34
34
|
children,
|
|
35
35
|
...rest
|
|
36
|
-
}: Props):
|
|
36
|
+
}: Props): react_jsx_runtime51.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Accordion, AccordionContent, AccordionTrigger };
|
|
39
39
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { l as Option, u as OptionLike } from "../../index-
|
|
1
|
+
import { l as Option, u as OptionLike } from "../../index-DrF0iLec.mjs";
|
|
2
2
|
import { i as ThemeColor } from "../../types-NxD0D2V5.mjs";
|
|
3
3
|
import * as react6 from "react";
|
|
4
4
|
import { ComponentProps, ReactNode, RefObject } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
6
6
|
import { Placement, useInteractions } from "@floating-ui/react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/autocomplete/AutocompleteOption.d.ts
|
|
9
9
|
type AutocompleteOptionProps<O extends OptionLike> = O;
|
|
10
|
-
declare const AutocompleteOption: react6.MemoExoticComponent<(<O extends OptionLike>(props: AutocompleteOptionProps<O>) =>
|
|
10
|
+
declare const AutocompleteOption: react6.MemoExoticComponent<(<O extends OptionLike>(props: AutocompleteOptionProps<O>) => react_jsx_runtime49.JSX.Element)>;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/components/autocomplete/Autocomplete.d.ts
|
|
13
13
|
interface AutocompleteProps<O extends OptionLike = Option> extends ComponentProps<"input"> {
|
|
@@ -63,7 +63,7 @@ declare function Autocomplete<O extends OptionLike = Option>({
|
|
|
63
63
|
readOnly,
|
|
64
64
|
ref,
|
|
65
65
|
...rest
|
|
66
|
-
}: AutocompleteProps<O>):
|
|
66
|
+
}: AutocompleteProps<O>): react_jsx_runtime49.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/autocomplete/SimpleAutocomplete.d.ts
|
|
69
69
|
interface Props$1<O extends OptionLike = Option> extends Omit<AutocompleteProps<O>, "searchValue" | "onChangeSearchValue" | "loading" | "clearSearchButton" | "selectOnFocus"> {}
|
|
@@ -72,7 +72,7 @@ declare function SimpleAutocomplete<O extends OptionLike = Option>({
|
|
|
72
72
|
selection,
|
|
73
73
|
onChangeSelection,
|
|
74
74
|
...rest
|
|
75
|
-
}: Props$1<O>):
|
|
75
|
+
}: Props$1<O>): react_jsx_runtime49.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/autocomplete/LazyAutocomplete.d.ts
|
|
78
78
|
interface Props<O extends OptionLike = Option> extends Omit<AutocompleteProps<O>, "searchValue" | "onChangeSearchValue" | "options" | "selectOnFocus"> {
|
|
@@ -85,7 +85,7 @@ declare function LazyAutocomplete<O extends OptionLike = Option>({
|
|
|
85
85
|
selection,
|
|
86
86
|
onChangeSelection,
|
|
87
87
|
...rest
|
|
88
|
-
}: Props<O>):
|
|
88
|
+
}: Props<O>): react_jsx_runtime49.JSX.Element;
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/autocomplete/useAutocompleteContext.d.ts
|
|
91
91
|
interface AutocompleteContext {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ThemeColor } from "../../types-NxD0D2V5.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/badge/Badge.d.ts
|
|
6
6
|
interface Props {
|
|
@@ -20,7 +20,7 @@ declare function Badge({
|
|
|
20
20
|
tooltip,
|
|
21
21
|
url,
|
|
22
22
|
color
|
|
23
|
-
}: Props):
|
|
23
|
+
}: Props): react_jsx_runtime40.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Badge };
|
|
26
26
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ButtonProps, r as buttonVariants, t as Button } from "../../Button-
|
|
2
|
-
import { n as ButtonGroup, r as buttonGroupVariants, t as HrefButton } from "../../index-
|
|
1
|
+
import { n as ButtonProps, r as buttonVariants, t as Button } from "../../Button-BXHHq6gh.mjs";
|
|
2
|
+
import { n as ButtonGroup, r as buttonGroupVariants, t as HrefButton } from "../../index-je76qZrj.mjs";
|
|
3
3
|
export { Button, ButtonGroup, ButtonProps, HrefButton, buttonGroupVariants, buttonVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime48 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/code/Code.d.ts
|
|
5
5
|
interface Props {
|
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
declare function Code({
|
|
10
10
|
children,
|
|
11
11
|
className
|
|
12
|
-
}: Props):
|
|
12
|
+
}: Props): react_jsx_runtime48.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Code };
|
|
15
15
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/code/Code.tsx"],"sourcesContent":[],"mappings":";;;;UAGU,KAAA;YACE;;AAHsB;AAOlB,iBAAA,IAAA,CAAI;EAAA,QAAA;EAAA;AAAA,CAAA,EAA0B,KAA1B,CAAA,EAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/code/Code.tsx"],"sourcesContent":[],"mappings":";;;;UAGU,KAAA;YACE;;AAHsB;AAOlB,iBAAA,IAAA,CAAI;EAAA,QAAA;EAAA;AAAA,CAAA,EAA0B,KAA1B,CAAA,EAA+B,mBAAA,CAAA,GAAA,CAAA,OAA/B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactElement, ReactNode, RefObject } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/context-menu/ContextMenu.d.ts
|
|
5
5
|
interface Props extends ComponentPropsWithRef<"div"> {
|
|
@@ -13,7 +13,7 @@ declare function ContextMenu({
|
|
|
13
13
|
children,
|
|
14
14
|
style,
|
|
15
15
|
eventName
|
|
16
|
-
}: Props):
|
|
16
|
+
}: Props): react_jsx_runtime32.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/components/context-menu/ContextMenuItem.d.ts
|
|
19
19
|
type ContextMenuItemMouseEvent = React.MouseEvent<HTMLButtonElement> | MouseEvent | CustomEvent | null;
|
|
@@ -31,7 +31,7 @@ declare function ContextMenuItem({
|
|
|
31
31
|
className,
|
|
32
32
|
ref,
|
|
33
33
|
...props
|
|
34
|
-
}: ContextMenuItemProps):
|
|
34
|
+
}: ContextMenuItemProps): react_jsx_runtime32.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { ContextMenu, ContextMenuItem, type ContextMenuItemMouseEvent };
|
|
37
37
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as ThemeBaseColor } from "../../types-NxD0D2V5.mjs";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
4
4
|
import { Placement } from "@floating-ui/react";
|
|
5
5
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ interface Props extends ComponentProps<"div"> {
|
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare const dialogVariants: (props?: ({
|
|
16
|
-
color?: "
|
|
16
|
+
color?: "default" | "yellow" | "gray" | "red" | "orange" | "green" | "blue" | null | undefined;
|
|
17
17
|
shadow?: boolean | null | undefined;
|
|
18
18
|
rounded?: boolean | null | undefined;
|
|
19
19
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -26,7 +26,7 @@ declare function Dialog({
|
|
|
26
26
|
className,
|
|
27
27
|
role,
|
|
28
28
|
...rest
|
|
29
|
-
}: Props):
|
|
29
|
+
}: Props): react_jsx_runtime39.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Dialog, dialogVariants };
|
|
32
32
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/dialog/Dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAMU,KAAA,SAAc;UACd;;;EADA,SAAM,CAAA,EAIF,SAJE;EACN,QAAA,EAIE,SAJF;;AAIE,cAGC,cAHD,EAAA,CAAA,KA8BU,CA9BV,EAAA,CAAA;EALY,KAAA,CAAA,EAAA,QAAA,GAAA,MAAA,GAAA,KAAA,GAAA,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/dialog/Dialog.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAMU,KAAA,SAAc;UACd;;;EADA,SAAM,CAAA,EAIF,SAJE;EACN,QAAA,EAIE,SAJF;;AAIE,cAGC,cAHD,EAAA,CAAA,KA8BU,CA9BV,EAAA,CAAA;EALY,KAAA,CAAA,EAAA,SAAA,GAAA,QAAA,GAAA,MAAA,GAAA,KAAA,GAAA,QAAA,GAAA,OAAA,GAAA,MAAA,GAAA,IAAA,GAAA,SAAA;EAAc,MAAA,CAAA,EAAA,OAAA,GAAA,IAAA,GAAA,SAAA;EAQzB,OAAA,CAAA,EAAA,OAyBX,GAAA,IAAA,GAAA,SAAA;AAEF,CAAA,GAFE,+BAAA,CAAA,SAEoB,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AACpB,iBADc,MAAA,CACd;EAAA,SAAA;EAAA,KAAA;EAAA,OAAA;EAAA,MAAA;EAAA,QAAA;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAQC,KARD,CAAA,EAQM,mBAAA,CAAA,GAAA,CAAA,OARN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as ThemeBaseColor } from "../../types-NxD0D2V5.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react3 from "react";
|
|
3
3
|
import { ComponentProps, ReactNode, RefObject } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
5
5
|
import { Placement, UseFloatingReturn, UseInteractionsReturn } from "@floating-ui/react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/dropdown-menu/interface.d.ts
|
|
@@ -36,7 +36,7 @@ declare const DropdownMenu: ({
|
|
|
36
36
|
children,
|
|
37
37
|
ref,
|
|
38
38
|
...props
|
|
39
|
-
}: DropdownMenuProps) =>
|
|
39
|
+
}: DropdownMenuProps) => react_jsx_runtime23.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/components/dropdown-menu/useDropdownMenu.d.ts
|
|
42
42
|
type UseDropdownMenuReturn = {
|
|
@@ -61,7 +61,7 @@ declare function useDropdownMenu({
|
|
|
61
61
|
}: UseDropdownMenuOptions): UseDropdownMenuReturn;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/dropdown-menu/useDropdownMenuContext.d.ts
|
|
64
|
-
declare const DropdownMenuContext:
|
|
64
|
+
declare const DropdownMenuContext: react3.Context<UseDropdownMenuReturn | null>;
|
|
65
65
|
declare function useDropdownMenuContext(): UseDropdownMenuReturn;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/dropdown-menu/DropdownMenuItem.d.ts
|
|
@@ -76,7 +76,7 @@ declare function DropdownMenuItem({
|
|
|
76
76
|
type,
|
|
77
77
|
asChild,
|
|
78
78
|
...rest
|
|
79
|
-
}: Props):
|
|
79
|
+
}: Props): react_jsx_runtime23.JSX.Element;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { DropdownMenu, DropdownMenuContext, DropdownMenuItem, UseDropdownMenuOptions, useDropdownMenu, useDropdownMenuContext };
|
|
82
82
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../../Button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../../Button-BXHHq6gh.mjs";
|
|
2
2
|
import { ButtonHTMLAttributes, RefObject } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dropdown-menu-nested/DropdownMenuNested.d.ts
|
|
6
6
|
interface Props$2 extends ButtonProps {
|
|
@@ -11,7 +11,7 @@ interface Props$2 extends ButtonProps {
|
|
|
11
11
|
declare function DropdownMenuNested({
|
|
12
12
|
ref,
|
|
13
13
|
...props
|
|
14
|
-
}: Props$2):
|
|
14
|
+
}: Props$2): react_jsx_runtime37.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/components/dropdown-menu-nested/MenuItem.d.ts
|
|
17
17
|
interface Props$1 extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -24,7 +24,7 @@ declare function MenuItem({
|
|
|
24
24
|
disabled,
|
|
25
25
|
ref,
|
|
26
26
|
...props
|
|
27
|
-
}: Props$1):
|
|
27
|
+
}: Props$1): react_jsx_runtime37.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/dropdown-menu-nested/MenuItemWithChildren.d.ts
|
|
30
30
|
interface Props extends ButtonProps {
|
|
@@ -38,7 +38,7 @@ declare function MenuItemWithChildren({
|
|
|
38
38
|
triggerComponent: TriggerComponent,
|
|
39
39
|
ref,
|
|
40
40
|
...props
|
|
41
|
-
}: Props):
|
|
41
|
+
}: Props): react_jsx_runtime37.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { DropdownMenuNested, MenuItem, MenuItemWithChildren };
|
|
44
44
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ThemeColor } from "../../types-NxD0D2V5.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/flash/Flash.d.ts
|
|
6
6
|
interface Props {
|
|
@@ -12,7 +12,7 @@ declare function Flash({
|
|
|
12
12
|
color,
|
|
13
13
|
children,
|
|
14
14
|
className
|
|
15
|
-
}: Props):
|
|
15
|
+
}: Props): react_jsx_runtime44.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Flash };
|
|
18
18
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/flash/Flash.tsx"],"sourcesContent":[],"mappings":";;;;;UAIU,KAAA;UACA;aACG;EAFH,SAAK,CAAA,EAAA,MAAA;AAMf;AAAwB,iBAAR,KAAA,CAAQ;EAAA,KAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAAyC,KAAzC,CAAA,EAA8C,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/flash/Flash.tsx"],"sourcesContent":[],"mappings":";;;;;UAIU,KAAA;UACA;aACG;EAFH,SAAK,CAAA,EAAA,MAAA;AAMf;AAAwB,iBAAR,KAAA,CAAQ;EAAA,KAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAAyC,KAAzC,CAAA,EAA8C,mBAAA,CAAA,GAAA,CAAA,OAA9C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as SelectProps, l as Option } from "../../index-
|
|
1
|
+
import { i as SelectProps, l as Option } from "../../index-DrF0iLec.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/form/InputField.d.ts
|
|
6
6
|
interface InputFieldProps {
|
|
@@ -28,7 +28,7 @@ declare function InputField({
|
|
|
28
28
|
preventLayerShift,
|
|
29
29
|
"data-testid": dataTestId,
|
|
30
30
|
className
|
|
31
|
-
}: InputFieldProps):
|
|
31
|
+
}: InputFieldProps): react_jsx_runtime14.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/form/SelectField.d.ts
|
|
34
34
|
interface SelectFieldOwnProps<O extends Option = Option> extends SelectProps<O> {
|
|
@@ -47,7 +47,7 @@ declare function SelectField<O extends Option = Option>({
|
|
|
47
47
|
id: providedId,
|
|
48
48
|
ref,
|
|
49
49
|
...rest
|
|
50
|
-
}: SelectFieldOwnProps<O>):
|
|
50
|
+
}: SelectFieldOwnProps<O>): react_jsx_runtime14.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { InputField, type InputFieldProps, SelectField };
|
|
53
53
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/highlight/Highlight.d.ts
|
|
4
4
|
interface Props {
|
|
@@ -10,7 +10,7 @@ declare function Highlight({
|
|
|
10
10
|
value,
|
|
11
11
|
indices,
|
|
12
12
|
minLength
|
|
13
|
-
}: Props): string |
|
|
13
|
+
}: Props): string | react_jsx_runtime53.JSX.Element | undefined;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Highlight };
|
|
16
16
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/highlight/Highlight.tsx"],"sourcesContent":[],"mappings":";;;UAEU,KAAA;;;EAAA,SAAK,CAAA,EAAA,MAAA;AAKf;AAA4B,iBAAZ,SAAA,CAAY;EAAA,KAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAAiC,KAAjC,CAAA,EAAA,MAAA,GAAsC,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../../src/components/highlight/Highlight.tsx"],"sourcesContent":[],"mappings":";;;UAEU,KAAA;;;EAAA,SAAK,CAAA,EAAA,MAAA;AAKf;AAA4B,iBAAZ,SAAA,CAAY;EAAA,KAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAAiC,KAAjC,CAAA,EAAA,MAAA,GAAsC,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAtC,SAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as ThemeColor } from "../../types-NxD0D2V5.mjs";
|
|
2
|
-
import { n as ButtonProps } from "../../Button-
|
|
3
|
-
import "../../index-
|
|
2
|
+
import { n as ButtonProps } from "../../Button-BXHHq6gh.mjs";
|
|
3
|
+
import "../../index-je76qZrj.mjs";
|
|
4
4
|
import { ComponentProps, ComponentPropsWithRef, ReactNode, RefObject } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/input/Input.d.ts
|
|
8
8
|
interface InputProps extends Omit<ComponentPropsWithRef<"input">, "prefix" | "size"> {
|
|
@@ -36,7 +36,7 @@ declare function Input({
|
|
|
36
36
|
children,
|
|
37
37
|
ref,
|
|
38
38
|
...rest
|
|
39
|
-
}: InputProps):
|
|
39
|
+
}: InputProps): react_jsx_runtime68.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/components/input/InputButton.d.ts
|
|
42
42
|
interface InputButtonProps extends Omit<ComponentPropsWithRef<"input">, "prefix" | "size"> {
|
|
@@ -67,7 +67,7 @@ declare function InputButton({
|
|
|
67
67
|
onBlur,
|
|
68
68
|
ref,
|
|
69
69
|
...rest
|
|
70
|
-
}: InputButtonProps):
|
|
70
|
+
}: InputButtonProps): react_jsx_runtime68.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/input/Checkbox.d.ts
|
|
73
73
|
interface CheckboxProps extends ComponentProps<"input"> {
|
|
@@ -84,7 +84,7 @@ declare function Checkbox({
|
|
|
84
84
|
children,
|
|
85
85
|
ref,
|
|
86
86
|
...rest
|
|
87
|
-
}: CheckboxProps):
|
|
87
|
+
}: CheckboxProps): react_jsx_runtime68.JSX.Element;
|
|
88
88
|
interface CheckboxButtonProps extends Omit<ComponentProps<"input">, "size"> {
|
|
89
89
|
disabled?: boolean;
|
|
90
90
|
color?: ButtonProps["color"];
|
|
@@ -107,7 +107,7 @@ declare function CheckboxButton({
|
|
|
107
107
|
children,
|
|
108
108
|
ref,
|
|
109
109
|
...rest
|
|
110
|
-
}: CheckboxButtonProps):
|
|
110
|
+
}: CheckboxButtonProps): react_jsx_runtime68.JSX.Element;
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/components/input/Radio.d.ts
|
|
113
113
|
interface RadioProps extends ComponentPropsWithRef<"input"> {
|
|
@@ -123,7 +123,7 @@ declare function Radio({
|
|
|
123
123
|
className,
|
|
124
124
|
ref,
|
|
125
125
|
...rest
|
|
126
|
-
}: RadioProps):
|
|
126
|
+
}: RadioProps): react_jsx_runtime68.JSX.Element;
|
|
127
127
|
interface RadioWithLegendProps extends RadioProps {
|
|
128
128
|
label: string;
|
|
129
129
|
labelClassName?: string;
|
|
@@ -137,7 +137,7 @@ declare function RadioWithLegend({
|
|
|
137
137
|
className,
|
|
138
138
|
ref,
|
|
139
139
|
...rest
|
|
140
|
-
}: RadioWithLegendProps):
|
|
140
|
+
}: RadioWithLegendProps): react_jsx_runtime68.JSX.Element;
|
|
141
141
|
interface RadioButtonProps extends Omit<RadioProps, "size" | "color"> {
|
|
142
142
|
color?: ButtonProps["color"];
|
|
143
143
|
size?: "small" | "medium" | "large" | "custom" | "input";
|
|
@@ -154,7 +154,7 @@ declare function RadioButton({
|
|
|
154
154
|
icon,
|
|
155
155
|
ref,
|
|
156
156
|
...rest
|
|
157
|
-
}: RadioButtonProps):
|
|
157
|
+
}: RadioButtonProps): react_jsx_runtime68.JSX.Element;
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region src/components/input/Toggle.d.ts
|
|
160
160
|
interface ToggleProps extends ComponentPropsWithRef<"input"> {
|
|
@@ -170,7 +170,7 @@ declare function Toggle({
|
|
|
170
170
|
children,
|
|
171
171
|
ref,
|
|
172
172
|
...rest
|
|
173
|
-
}: ToggleProps):
|
|
173
|
+
}: ToggleProps): react_jsx_runtime68.JSX.Element;
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/components/input/AudioRange.d.ts
|
|
176
176
|
interface RangeProps$1 extends Omit<ComponentPropsWithRef<"input">, "value" | "defaultValue" | "min" | "max" | "step"> {
|
|
@@ -197,7 +197,7 @@ declare function AudioRange({
|
|
|
197
197
|
onChange,
|
|
198
198
|
ref,
|
|
199
199
|
...rest
|
|
200
|
-
}: RangeProps$1):
|
|
200
|
+
}: RangeProps$1): react_jsx_runtime68.JSX.Element;
|
|
201
201
|
//#endregion
|
|
202
202
|
//#region src/components/input/Range.d.ts
|
|
203
203
|
interface RangeProps extends Omit<ComponentPropsWithRef<"input">, "value" | "defaultValue" | "min" | "max" | "step"> {
|
|
@@ -232,7 +232,7 @@ declare function Range({
|
|
|
232
232
|
onChange,
|
|
233
233
|
ref,
|
|
234
234
|
...rest
|
|
235
|
-
}: RangeProps):
|
|
235
|
+
}: RangeProps): react_jsx_runtime68.JSX.Element;
|
|
236
236
|
//#endregion
|
|
237
237
|
//#region src/components/input/Color.d.ts
|
|
238
238
|
interface ColorProps extends ComponentProps<"button"> {
|
|
@@ -253,7 +253,7 @@ declare function Color({
|
|
|
253
253
|
className,
|
|
254
254
|
ref,
|
|
255
255
|
...rest
|
|
256
|
-
}: ColorProps):
|
|
256
|
+
}: ColorProps): react_jsx_runtime68.JSX.Element;
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/components/input/Stars.d.ts
|
|
259
259
|
interface StarsProps extends Omit<ComponentPropsWithRef<"input">, "onChange" | "defaultValue" | "value" | "max" | "step"> {
|
|
@@ -274,7 +274,7 @@ declare function Stars({
|
|
|
274
274
|
required,
|
|
275
275
|
ref,
|
|
276
276
|
...rest
|
|
277
|
-
}: StarsProps):
|
|
277
|
+
}: StarsProps): react_jsx_runtime68.JSX.Element;
|
|
278
278
|
//#endregion
|
|
279
279
|
//#region src/components/input/MappedStars.d.ts
|
|
280
280
|
type MappedStarOption = {
|
|
@@ -300,7 +300,7 @@ declare function MappedStars({
|
|
|
300
300
|
required,
|
|
301
301
|
ref,
|
|
302
302
|
...rest
|
|
303
|
-
}: MappedStarsProps):
|
|
303
|
+
}: MappedStarsProps): react_jsx_runtime68.JSX.Element;
|
|
304
304
|
//#endregion
|
|
305
305
|
//#region src/components/input/TotpInput.d.ts
|
|
306
306
|
interface TotpInputProps {
|
|
@@ -319,7 +319,7 @@ declare function TotpInput({
|
|
|
319
319
|
type,
|
|
320
320
|
autoFocus,
|
|
321
321
|
name
|
|
322
|
-
}: TotpInputProps):
|
|
322
|
+
}: TotpInputProps): react_jsx_runtime68.JSX.Element;
|
|
323
323
|
//#endregion
|
|
324
324
|
export { AudioRange, Checkbox, CheckboxButton, Color, Input, InputButton, MappedStars, Radio, RadioButton, RadioWithLegend, Range, Stars, Toggle, TotpInput, inputConfig };
|
|
325
325
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ThemeColor } from "../../types-NxD0D2V5.mjs";
|
|
2
2
|
import { CSSProperties, ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/loader/Loader.d.ts
|
|
6
6
|
interface Props extends ComponentPropsWithoutRef<"div"> {
|
|
@@ -20,7 +20,7 @@ declare function Loader({
|
|
|
20
20
|
position,
|
|
21
21
|
children,
|
|
22
22
|
...rest
|
|
23
|
-
}: Props):
|
|
23
|
+
}: Props): react_jsx_runtime22.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Loader };
|
|
26
26
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/media-preview/types.d.ts
|
|
5
5
|
type MediaOrigin = "s3Upload" | "localUpload" | "external" | "asset";
|
|
@@ -32,7 +32,7 @@ declare function FileIcon({
|
|
|
32
32
|
media,
|
|
33
33
|
className,
|
|
34
34
|
...rest
|
|
35
|
-
}: Props$1):
|
|
35
|
+
}: Props$1): react_jsx_runtime70.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/media-preview/getIconByMime.d.ts
|
|
38
38
|
type $TSFixMe = any;
|
|
@@ -63,7 +63,7 @@ declare function MediaPreview({
|
|
|
63
63
|
srcSet,
|
|
64
64
|
sizes,
|
|
65
65
|
...rest
|
|
66
|
-
}: Props):
|
|
66
|
+
}: Props): react_jsx_runtime70.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/media-preview/util.d.ts
|
|
69
69
|
declare function isMediaImage(media: BasicMedia | null | undefined): media is BasicMediaImage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as ThemeBaseColor } from "../../types-NxD0D2V5.mjs";
|
|
2
|
-
import { n as ButtonProps } from "../../Button-
|
|
2
|
+
import { n as ButtonProps } from "../../Button-BXHHq6gh.mjs";
|
|
3
3
|
import * as react4 from "react";
|
|
4
4
|
import { ComponentProps, Dispatch, ReactNode, RefObject, SetStateAction } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
6
6
|
import { UseFloatingReturn, UseInteractionsReturn } from "@floating-ui/react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/modal/interface.d.ts
|
|
@@ -20,7 +20,7 @@ interface Props$2 extends ModalOptions {
|
|
|
20
20
|
declare function Modal({
|
|
21
21
|
children,
|
|
22
22
|
...options
|
|
23
|
-
}: Props$2):
|
|
23
|
+
}: Props$2): react_jsx_runtime25.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/modal/ModalContent.d.ts
|
|
26
26
|
interface Props$1 extends ComponentProps<"div"> {
|
|
@@ -34,7 +34,7 @@ declare function ModalContent({
|
|
|
34
34
|
children,
|
|
35
35
|
ref,
|
|
36
36
|
...props
|
|
37
|
-
}: Props$1):
|
|
37
|
+
}: Props$1): react_jsx_runtime25.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/modal/ModalTrigger.d.ts
|
|
40
40
|
interface Props extends ButtonProps {
|
|
@@ -46,7 +46,7 @@ declare function ModalTrigger({
|
|
|
46
46
|
size,
|
|
47
47
|
ref,
|
|
48
48
|
...props
|
|
49
|
-
}: Props):
|
|
49
|
+
}: Props): react_jsx_runtime25.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/components/modal/useModal.d.ts
|
|
52
52
|
type UseModalReturn = {
|
|
@@ -79,7 +79,7 @@ declare function ModalHeader({
|
|
|
79
79
|
className,
|
|
80
80
|
closeButton,
|
|
81
81
|
...props
|
|
82
|
-
}: ModalHeaderProps):
|
|
82
|
+
}: ModalHeaderProps): react_jsx_runtime25.JSX.Element;
|
|
83
83
|
interface ModalDescriptionProps extends ComponentProps<"div"> {
|
|
84
84
|
scrollable?: boolean;
|
|
85
85
|
}
|
|
@@ -88,12 +88,12 @@ declare function ModalDescription({
|
|
|
88
88
|
className,
|
|
89
89
|
scrollable,
|
|
90
90
|
...props
|
|
91
|
-
}: ModalDescriptionProps):
|
|
91
|
+
}: ModalDescriptionProps): react_jsx_runtime25.JSX.Element;
|
|
92
92
|
declare function ModalFooter({
|
|
93
93
|
children,
|
|
94
94
|
className,
|
|
95
95
|
...props
|
|
96
|
-
}: ComponentProps<"footer">):
|
|
96
|
+
}: ComponentProps<"footer">): react_jsx_runtime25.JSX.Element;
|
|
97
97
|
//#endregion
|
|
98
98
|
export { Modal, ModalContent, ModalContext, ModalDescription, ModalFooter, ModalHeader, ModalOptions, ModalTrigger, useModal, useModalContext };
|
|
99
99
|
//# sourceMappingURL=index.d.mts.map
|