@fuf-stack/pixels 1.13.2 → 1.14.1
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/Accordion/Accordion.d.mts +18 -18
- package/dist/Accordion/Accordion.d.mts.map +1 -1
- package/dist/Accordion/Accordion.mjs +3 -2
- package/dist/Accordion/Accordion.mjs.map +1 -1
- package/dist/Alert/Alert.d.mts +42 -42
- package/dist/Alert/Alert.d.mts.map +1 -1
- package/dist/Alert/Alert.mjs +5 -3
- package/dist/Alert/Alert.mjs.map +1 -1
- package/dist/Avatar/Avatar.d.mts +14 -14
- package/dist/Avatar/Avatar.d.mts.map +1 -1
- package/dist/Avatar/Avatar.mjs +3 -1
- package/dist/Avatar/Avatar.mjs.map +1 -1
- package/dist/AvatarGroup/AvatarGroup.d.mts +2 -2
- package/dist/AvatarGroup/AvatarGroup.d.mts.map +1 -1
- package/dist/Badge/Badge.d.mts +3 -3
- package/dist/Badge/Badge.d.mts.map +1 -1
- package/dist/Badge/Badge.mjs +3 -1
- package/dist/Badge/Badge.mjs.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.d.mts +15 -15
- package/dist/Breadcrumb/Breadcrumb.d.mts.map +1 -1
- package/dist/Breadcrumb/Breadcrumb.mjs +2 -1
- package/dist/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/dist/Button/Button.d.mts +2 -2
- package/dist/Button/Button.d.mts.map +1 -1
- package/dist/Button/Button.mjs +11 -10
- package/dist/Button/Button.mjs.map +1 -1
- package/dist/Card/Card.d.mts +14 -14
- package/dist/Card/Card.d.mts.map +1 -1
- package/dist/Card/Card.mjs +2 -1
- package/dist/Card/Card.mjs.map +1 -1
- package/dist/Drawer/Drawer.d.mts +27 -27
- package/dist/Drawer/Drawer.d.mts.map +1 -1
- package/dist/Drawer/Drawer.mjs +3 -1
- package/dist/Drawer/Drawer.mjs.map +1 -1
- package/dist/Json/Json.d.mts +2 -2
- package/dist/Json/Json.d.mts.map +1 -1
- package/dist/Json/jsonParser.mjs +9 -4
- package/dist/Json/jsonParser.mjs.map +1 -1
- package/dist/Label/Label.d.mts +34 -34
- package/dist/Label/Label.d.mts.map +1 -1
- package/dist/Label/Label.mjs +3 -2
- package/dist/Label/Label.mjs.map +1 -1
- package/dist/Menu/Menu.d.mts +16 -16
- package/dist/Menu/Menu.d.mts.map +1 -1
- package/dist/Menu/Menu.mjs +2 -1
- package/dist/Menu/Menu.mjs.map +1 -1
- package/dist/Modal/Modal.d.mts +12 -12
- package/dist/Modal/Modal.d.mts.map +1 -1
- package/dist/Modal/Modal.mjs +3 -1
- package/dist/Modal/Modal.mjs.map +1 -1
- package/dist/Modal/modalStore.d.mts +4 -5
- package/dist/Modal/modalStore.d.mts.map +1 -1
- package/dist/Popover/Popover.d.mts +25 -25
- package/dist/Popover/Popover.d.mts.map +1 -1
- package/dist/Popover/Popover.mjs +2 -1
- package/dist/Popover/Popover.mjs.map +1 -1
- package/dist/Progress/Progress.d.mts +10 -10
- package/dist/Progress/Progress.d.mts.map +1 -1
- package/dist/Progress/Progress.mjs +2 -1
- package/dist/Progress/Progress.mjs.map +1 -1
- package/dist/ProgressCircular/ProgressCircular.d.mts +9 -9
- package/dist/ProgressCircular/ProgressCircular.d.mts.map +1 -1
- package/dist/ProgressCircular/ProgressCircular.mjs +6 -6
- package/dist/ProgressCircular/ProgressCircular.mjs.map +1 -1
- package/dist/ScrollShadow/ScrollShadow.d.mts +2 -2
- package/dist/ScrollShadow/ScrollShadow.d.mts.map +1 -1
- package/dist/SearchInput/SearchInput.d.mts +4 -4
- package/dist/SearchInput/SearchInput.d.mts.map +1 -1
- package/dist/SearchInput/SearchInput.mjs +2 -1
- package/dist/SearchInput/SearchInput.mjs.map +1 -1
- package/dist/Table/Table.d.mts +6 -6
- package/dist/Table/Table.d.mts.map +1 -1
- package/dist/Table/Table.mjs +3 -1
- package/dist/Table/Table.mjs.map +1 -1
- package/dist/Tabs/Tabs.d.mts +5 -5
- package/dist/Tabs/Tabs.d.mts.map +1 -1
- package/dist/Tabs/Tabs.mjs +3 -1
- package/dist/Tabs/Tabs.mjs.map +1 -1
- package/dist/Toast/Toaster.d.mts +2 -2
- package/dist/Toast/Toaster.d.mts.map +1 -1
- package/dist/Toast/toast.d.mts +3 -3
- package/dist/Toast/toast.d.mts.map +1 -1
- package/dist/Tooltip/Tooltip.d.mts +17 -17
- package/dist/Tooltip/Tooltip.d.mts.map +1 -1
- package/dist/Tooltip/Tooltip.mjs +2 -1
- package/dist/Tooltip/Tooltip.mjs.map +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +1 -1
- package/dist/hooks/useDebounce/useDebounce.d.mts +1 -2
- package/dist/hooks/useDebounce/useDebounce.d.mts.map +1 -1
- package/dist/hooks/useDebounce/useDebounce.mjs +8 -6
- package/dist/hooks/useDebounce/useDebounce.mjs.map +1 -1
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.mts +1 -2
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.mts.map +1 -1
- package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.mjs.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.d.mts +1 -2
- package/dist/hooks/useLocalStorage/useLocalStorage.d.mts.map +1 -1
- package/dist/hooks/useLocalStorage/useLocalStorage.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/Container.mjs +2 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/Container.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.mjs +8 -7
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/Copied.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs +11 -8
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/KeyValues.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/NestedClose.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/comps/Value.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/section/CountInfo.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/section/Ellipsis.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/section/KeyName.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/section/Row.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store/Expands.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store/Section.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store/ShowTools.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store/Symbols.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store/Types.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/store.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/symbol/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/types/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs +6 -3
- package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.43_@babel_runtime@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@uiw/react-json-view/esm/utils/useRender.mjs.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts +3 -4
- package/dist/utils/createWithSuspense/createWithSuspense.d.mts.map +1 -1
- package/dist/utils/createWithSuspense/createWithSuspense.mjs +20 -19
- package/dist/utils/createWithSuspense/createWithSuspense.mjs.map +1 -1
- package/package.json +6 -6
package/dist/Json/Json.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
//#region src/Json/Json.d.ts
|
|
3
|
-
interface JsonProps {
|
|
3
|
+
export interface JsonProps {
|
|
4
4
|
/** CSS class name */
|
|
5
5
|
className?: string;
|
|
6
6
|
/** When set to true, all nodes will be collapsed by default. Use an integer value to collapse at a particular depth. */
|
|
@@ -20,5 +20,5 @@ interface JsonProps {
|
|
|
20
20
|
*/
|
|
21
21
|
declare const Json: ({ className, collapsed, errorRenderer, maxHeight, onCopy, value }: JsonProps) => import("react").JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export {
|
|
23
|
+
export { Json as default };
|
|
24
24
|
//# sourceMappingURL=Json.d.mts.map
|
package/dist/Json/Json.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Json.d.mts","names":[],"sources":["../../src/Json/Json.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Json.d.mts","names":[],"sources":["../../src/Json/Json.tsx"],"mappings":";;iBA+DiB;;EAEf;;EAEA;;EAEA,iBAAiB,OAAO,OAAO,0BAA0B;;EAEzD;;EAEA,UAAU;;EAEV;;;;;;cAOI,SAAQ,WAAA,WAAA,eAAA,WAAA,QAAA,SAOX,8BAAS,IAAA"}
|
package/dist/Json/jsonParser.mjs
CHANGED
|
@@ -6,10 +6,15 @@ var JsonParseError = class extends Error {
|
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
const getValue = (value) => {
|
|
9
|
-
if (typeof value === "string")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
if (typeof value === "string") {
|
|
10
|
+
let parsedValue;
|
|
11
|
+
try {
|
|
12
|
+
parsedValue = JSON.parse(value);
|
|
13
|
+
} catch (error) {
|
|
14
|
+
throw new JsonParseError(`Invalid JSON string: ${error.message}`);
|
|
15
|
+
}
|
|
16
|
+
if (parsedValue !== null && typeof parsedValue === "object") return parsedValue;
|
|
17
|
+
throw new JsonParseError(`${typeof parsedValue} cannot be visualized`);
|
|
13
18
|
}
|
|
14
19
|
if (value === null || value === void 0) throw new JsonParseError("Value cannot be null or undefined");
|
|
15
20
|
if (typeof value === "object") return value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonParser.mjs","names":[],"sources":["../../src/Json/jsonParser.ts"],"sourcesContent":["export class JsonParseError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'JsonParseError';\n }\n}\n\nexport const getValue = (value: string | object): object => {\n if (typeof value === 'string') {\n try {\n
|
|
1
|
+
{"version":3,"file":"jsonParser.mjs","names":[],"sources":["../../src/Json/jsonParser.ts"],"sourcesContent":["export class JsonParseError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'JsonParseError';\n }\n}\n\nexport const getValue = (value: string | object): object => {\n if (typeof value === 'string') {\n let parsedValue: unknown;\n try {\n parsedValue = JSON.parse(value) as unknown;\n } catch (error) {\n throw new JsonParseError(\n `Invalid JSON string: ${(error as Error).message}`,\n );\n }\n if (parsedValue !== null && typeof parsedValue === 'object') {\n return parsedValue;\n }\n throw new JsonParseError(`${typeof parsedValue} cannot be visualized`);\n }\n if (value === null || value === undefined) {\n throw new JsonParseError('Value cannot be null or undefined');\n }\n if (typeof value === 'object') {\n return value;\n }\n throw new JsonParseError(`${typeof value} cannot be visualized`);\n};\n"],"mappings":";AAAA,IAAa,iBAAb,cAAoC,MAAM;CACxC,YAAY,SAAiB;EAC3B,MAAM,OAAO;EACb,KAAK,OAAO;CACd;AACF;AAEA,MAAa,YAAY,UAAmC;CAC1D,IAAI,OAAO,UAAU,UAAU;EAC7B,IAAI;EACJ,IAAI;GACF,cAAc,KAAK,MAAM,KAAK;EAChC,SAAS,OAAO;GACd,MAAM,IAAI,eACR,wBAAyB,MAAgB,SAC3C;EACF;EACA,IAAI,gBAAgB,QAAQ,OAAO,gBAAgB,UACjD,OAAO;EAET,MAAM,IAAI,eAAe,GAAG,OAAO,YAAY,sBAAsB;CACvE;CACA,IAAI,UAAU,QAAQ,UAAU,KAAA,GAC9B,MAAM,IAAI,eAAe,mCAAmC;CAE9D,IAAI,OAAO,UAAU,UACnB,OAAO;CAET,MAAM,IAAI,eAAe,GAAG,OAAO,MAAM,sBAAsB;AACjE"}
|
package/dist/Label/Label.d.mts
CHANGED
|
@@ -2,9 +2,9 @@ import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ChipProps } from "@heroui/chip";
|
|
4
4
|
//#region src/Label/Label.d.ts
|
|
5
|
-
declare const labelVariants: ((props?: ({
|
|
6
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
5
|
+
export declare const labelVariants: ((props?: ({
|
|
7
6
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
7
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
8
8
|
hasEndContent?: boolean | undefined;
|
|
9
9
|
isIconOnly?: boolean | undefined;
|
|
10
10
|
} & ({
|
|
@@ -15,8 +15,8 @@ declare const labelVariants: ((props?: ({
|
|
|
15
15
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
16
16
|
})) | undefined) => {
|
|
17
17
|
base: (slotProps?: ({
|
|
18
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
19
18
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
19
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
20
20
|
hasEndContent?: boolean | undefined;
|
|
21
21
|
isIconOnly?: boolean | undefined;
|
|
22
22
|
} & ({
|
|
@@ -27,8 +27,8 @@ declare const labelVariants: ((props?: ({
|
|
|
27
27
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
28
28
|
})) | undefined) => string;
|
|
29
29
|
closeButton: (slotProps?: ({
|
|
30
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
31
30
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
31
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
32
32
|
hasEndContent?: boolean | undefined;
|
|
33
33
|
isIconOnly?: boolean | undefined;
|
|
34
34
|
} & ({
|
|
@@ -39,8 +39,8 @@ declare const labelVariants: ((props?: ({
|
|
|
39
39
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
40
40
|
})) | undefined) => string;
|
|
41
41
|
content: (slotProps?: ({
|
|
42
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
43
42
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
43
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
44
44
|
hasEndContent?: boolean | undefined;
|
|
45
45
|
isIconOnly?: boolean | undefined;
|
|
46
46
|
} & ({
|
|
@@ -51,8 +51,8 @@ declare const labelVariants: ((props?: ({
|
|
|
51
51
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
52
52
|
})) | undefined) => string;
|
|
53
53
|
dot: (slotProps?: ({
|
|
54
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
55
54
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
55
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
56
56
|
hasEndContent?: boolean | undefined;
|
|
57
57
|
isIconOnly?: boolean | undefined;
|
|
58
58
|
} & ({
|
|
@@ -63,8 +63,8 @@ declare const labelVariants: ((props?: ({
|
|
|
63
63
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
64
64
|
})) | undefined) => string;
|
|
65
65
|
icon: (slotProps?: ({
|
|
66
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
67
66
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
67
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
68
68
|
hasEndContent?: boolean | undefined;
|
|
69
69
|
isIconOnly?: boolean | undefined;
|
|
70
70
|
} & ({
|
|
@@ -76,8 +76,8 @@ declare const labelVariants: ((props?: ({
|
|
|
76
76
|
})) | undefined) => string;
|
|
77
77
|
} & {
|
|
78
78
|
base: (slotProps?: ({
|
|
79
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
80
79
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
80
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
81
81
|
hasEndContent?: boolean | undefined;
|
|
82
82
|
isIconOnly?: boolean | undefined;
|
|
83
83
|
} & ({
|
|
@@ -88,8 +88,8 @@ declare const labelVariants: ((props?: ({
|
|
|
88
88
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
89
89
|
})) | undefined) => string;
|
|
90
90
|
closeButton: (slotProps?: ({
|
|
91
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
92
91
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
92
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
93
93
|
hasEndContent?: boolean | undefined;
|
|
94
94
|
isIconOnly?: boolean | undefined;
|
|
95
95
|
} & ({
|
|
@@ -100,8 +100,8 @@ declare const labelVariants: ((props?: ({
|
|
|
100
100
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
101
101
|
})) | undefined) => string;
|
|
102
102
|
content: (slotProps?: ({
|
|
103
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
104
103
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
104
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
105
105
|
hasEndContent?: boolean | undefined;
|
|
106
106
|
isIconOnly?: boolean | undefined;
|
|
107
107
|
} & ({
|
|
@@ -112,8 +112,8 @@ declare const labelVariants: ((props?: ({
|
|
|
112
112
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
113
113
|
})) | undefined) => string;
|
|
114
114
|
dot: (slotProps?: ({
|
|
115
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
116
115
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
116
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
117
117
|
hasEndContent?: boolean | undefined;
|
|
118
118
|
isIconOnly?: boolean | undefined;
|
|
119
119
|
} & ({
|
|
@@ -124,8 +124,8 @@ declare const labelVariants: ((props?: ({
|
|
|
124
124
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
125
125
|
})) | undefined) => string;
|
|
126
126
|
icon: (slotProps?: ({
|
|
127
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
128
127
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
128
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
129
129
|
hasEndContent?: boolean | undefined;
|
|
130
130
|
isIconOnly?: boolean | undefined;
|
|
131
131
|
} & ({
|
|
@@ -137,8 +137,8 @@ declare const labelVariants: ((props?: ({
|
|
|
137
137
|
})) | undefined) => string;
|
|
138
138
|
} & {}) & {
|
|
139
139
|
extend: ((props?: ({
|
|
140
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
141
140
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
141
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
142
142
|
hasEndContent?: boolean | undefined;
|
|
143
143
|
isIconOnly?: boolean | undefined;
|
|
144
144
|
} & ({
|
|
@@ -149,8 +149,8 @@ declare const labelVariants: ((props?: ({
|
|
|
149
149
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
150
150
|
})) | undefined) => {} & {
|
|
151
151
|
base: (slotProps?: ({
|
|
152
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
153
152
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
153
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
154
154
|
hasEndContent?: boolean | undefined;
|
|
155
155
|
isIconOnly?: boolean | undefined;
|
|
156
156
|
} & ({
|
|
@@ -161,8 +161,8 @@ declare const labelVariants: ((props?: ({
|
|
|
161
161
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
162
162
|
})) | undefined) => string;
|
|
163
163
|
closeButton: (slotProps?: ({
|
|
164
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
165
164
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
165
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
166
166
|
hasEndContent?: boolean | undefined;
|
|
167
167
|
isIconOnly?: boolean | undefined;
|
|
168
168
|
} & ({
|
|
@@ -173,8 +173,8 @@ declare const labelVariants: ((props?: ({
|
|
|
173
173
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
174
174
|
})) | undefined) => string;
|
|
175
175
|
content: (slotProps?: ({
|
|
176
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
177
176
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
177
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
178
178
|
hasEndContent?: boolean | undefined;
|
|
179
179
|
isIconOnly?: boolean | undefined;
|
|
180
180
|
} & ({
|
|
@@ -185,8 +185,8 @@ declare const labelVariants: ((props?: ({
|
|
|
185
185
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
186
186
|
})) | undefined) => string;
|
|
187
187
|
dot: (slotProps?: ({
|
|
188
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
189
188
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
189
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
190
190
|
hasEndContent?: boolean | undefined;
|
|
191
191
|
isIconOnly?: boolean | undefined;
|
|
192
192
|
} & ({
|
|
@@ -197,8 +197,8 @@ declare const labelVariants: ((props?: ({
|
|
|
197
197
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
198
198
|
})) | undefined) => string;
|
|
199
199
|
icon: (slotProps?: ({
|
|
200
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
201
200
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
201
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
202
202
|
hasEndContent?: boolean | undefined;
|
|
203
203
|
isIconOnly?: boolean | undefined;
|
|
204
204
|
} & ({
|
|
@@ -274,22 +274,22 @@ declare const labelVariants: ((props?: ({
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
defaultVariants: {
|
|
277
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
278
277
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
278
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
279
279
|
hasEndContent?: boolean | undefined;
|
|
280
280
|
isIconOnly?: boolean | undefined;
|
|
281
281
|
};
|
|
282
282
|
compoundVariants: ({
|
|
283
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | ("solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded")[] | undefined;
|
|
284
283
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | ("danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary")[] | undefined;
|
|
284
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | ("flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded")[] | undefined;
|
|
285
285
|
hasEndContent?: boolean | boolean[] | undefined;
|
|
286
286
|
isIconOnly?: boolean | boolean[] | undefined;
|
|
287
287
|
} & ({
|
|
288
288
|
class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
|
|
289
289
|
base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
290
|
+
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
290
291
|
closeButton?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
291
292
|
icon?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
292
|
-
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
293
293
|
dot?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
294
294
|
};
|
|
295
295
|
className?: never;
|
|
@@ -297,19 +297,19 @@ declare const labelVariants: ((props?: ({
|
|
|
297
297
|
class?: never;
|
|
298
298
|
className?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
|
|
299
299
|
base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
300
|
+
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
300
301
|
closeButton?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
301
302
|
icon?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
302
|
-
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
303
303
|
dot?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
304
304
|
};
|
|
305
305
|
}))[];
|
|
306
306
|
compoundSlots: ({
|
|
307
|
-
slots: ("base" | "
|
|
307
|
+
slots: ("base" | "content" | "closeButton" | "icon" | "dot")[];
|
|
308
308
|
} & ({
|
|
309
309
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | ("danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary")[] | undefined;
|
|
310
310
|
isIconOnly?: boolean | boolean[] | undefined;
|
|
311
311
|
hasEndContent?: boolean | boolean[] | undefined;
|
|
312
|
-
variant?: "
|
|
312
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | ("flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded")[] | undefined;
|
|
313
313
|
} & ({
|
|
314
314
|
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
315
315
|
className?: never;
|
|
@@ -317,7 +317,7 @@ declare const labelVariants: ((props?: ({
|
|
|
317
317
|
class?: never;
|
|
318
318
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
319
319
|
})))[];
|
|
320
|
-
variantKeys: ("
|
|
320
|
+
variantKeys: ("color" | "variant" | "hasEndContent" | "isIconOnly")[];
|
|
321
321
|
};
|
|
322
322
|
base: undefined;
|
|
323
323
|
slots: {
|
|
@@ -383,22 +383,22 @@ declare const labelVariants: ((props?: ({
|
|
|
383
383
|
};
|
|
384
384
|
};
|
|
385
385
|
defaultVariants: {
|
|
386
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | undefined;
|
|
387
386
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | undefined;
|
|
387
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | undefined;
|
|
388
388
|
hasEndContent?: boolean | undefined;
|
|
389
389
|
isIconOnly?: boolean | undefined;
|
|
390
390
|
};
|
|
391
391
|
compoundVariants: ({
|
|
392
|
-
variant?: "solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded" | ("solid" | "bordered" | "light" | "flat" | "shadow" | "dot" | "faded")[] | undefined;
|
|
393
392
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | ("danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary")[] | undefined;
|
|
393
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | ("flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded")[] | undefined;
|
|
394
394
|
hasEndContent?: boolean | boolean[] | undefined;
|
|
395
395
|
isIconOnly?: boolean | boolean[] | undefined;
|
|
396
396
|
} & ({
|
|
397
397
|
class?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
|
|
398
398
|
base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
399
|
+
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
399
400
|
closeButton?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
400
401
|
icon?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
401
|
-
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
402
402
|
dot?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
403
403
|
};
|
|
404
404
|
className?: never;
|
|
@@ -406,19 +406,19 @@ declare const labelVariants: ((props?: ({
|
|
|
406
406
|
class?: never;
|
|
407
407
|
className?: (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined) | {
|
|
408
408
|
base?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
409
|
+
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
409
410
|
closeButton?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
410
411
|
icon?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
411
|
-
content?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
412
412
|
dot?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
413
413
|
};
|
|
414
414
|
}))[];
|
|
415
415
|
compoundSlots: ({
|
|
416
|
-
slots: ("base" | "
|
|
416
|
+
slots: ("base" | "content" | "closeButton" | "icon" | "dot")[];
|
|
417
417
|
} & ({
|
|
418
418
|
color?: "danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary" | ("danger" | "default" | "info" | "success" | "warning" | "primary" | "secondary")[] | undefined;
|
|
419
419
|
isIconOnly?: boolean | boolean[] | undefined;
|
|
420
420
|
hasEndContent?: boolean | boolean[] | undefined;
|
|
421
|
-
variant?: "
|
|
421
|
+
variant?: "flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded" | ("flat" | "light" | "shadow" | "bordered" | "solid" | "dot" | "faded")[] | undefined;
|
|
422
422
|
} & ({
|
|
423
423
|
class?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
424
424
|
className?: never;
|
|
@@ -426,11 +426,11 @@ declare const labelVariants: ((props?: ({
|
|
|
426
426
|
class?: never;
|
|
427
427
|
className?: string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | readonly (string | false | 0 | 0n | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
428
428
|
})))[];
|
|
429
|
-
variantKeys: ("
|
|
429
|
+
variantKeys: ("color" | "variant" | "hasEndContent" | "isIconOnly")[];
|
|
430
430
|
};
|
|
431
431
|
type VariantProps = TVProps<typeof labelVariants>;
|
|
432
432
|
type ClassName = TVClassName<typeof labelVariants>;
|
|
433
|
-
interface LabelProps extends VariantProps {
|
|
433
|
+
export interface LabelProps extends VariantProps {
|
|
434
434
|
/** content of the label */
|
|
435
435
|
children?: ReactNode;
|
|
436
436
|
/** CSS class name */
|
|
@@ -455,5 +455,5 @@ interface LabelProps extends VariantProps {
|
|
|
455
455
|
*/
|
|
456
456
|
declare const Label: ({ children, className: _className, color, endContent, icon, onClose, radius, size, variant }: LabelProps) => import("react").JSX.Element;
|
|
457
457
|
//#endregion
|
|
458
|
-
export {
|
|
458
|
+
export { Label as default };
|
|
459
459
|
//# sourceMappingURL=Label.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.mts","names":[],"sources":["../../src/Label/Label.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Label.d.mts","names":[],"sources":["../../src/Label/Label.tsx"],"mappings":";;;;qBAUa,iBAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8ErB,eAAe,eAAe;KAC9B,YAAY,mBAAmB;iBAEnB,mBAAmB;;EAElC,WAAW;;EAEX,YAAY;;EAEZ,QAAQ;;EAER,aAAa;;EAEb,OAAO;;EAEP,UAAU;;EAEV,SAAS;;EAET,OAAO;;EAEP;;;;;cAMI,UAAS,UAAA,WAAA,YAAA,OAAA,YAAA,MAAA,SAAA,QAAA,MAAA,WAUZ,+BAAU,IAAA"}
|
package/dist/Label/Label.mjs
CHANGED
|
@@ -57,12 +57,13 @@ const labelVariants = tv({
|
|
|
57
57
|
* Label component based on [HeroUI Chip](https://www.heroui.com//docs/components/chip)
|
|
58
58
|
*/
|
|
59
59
|
const Label = ({ children = void 0, className: _className = void 0, color = "default", endContent = void 0, icon = void 0, onClose = void 0, radius = "full", size = "md", variant = "solid" }) => {
|
|
60
|
-
const
|
|
60
|
+
const variants = labelVariants({
|
|
61
61
|
color,
|
|
62
62
|
isIconOnly: !!icon && !children && !endContent,
|
|
63
63
|
hasEndContent: !!endContent,
|
|
64
64
|
variant
|
|
65
|
-
})
|
|
65
|
+
});
|
|
66
|
+
const classNames = variantsToClassNames(variants, _className, "base");
|
|
66
67
|
return /* @__PURE__ */ jsxs(Chip, {
|
|
67
68
|
classNames,
|
|
68
69
|
endContent,
|
package/dist/Label/Label.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.mjs","names":["heroLabelVariants","HeroLabel"],"sources":["../../src/Label/Label.tsx"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ChipProps as HeroLabelProps } from '@heroui/chip';\nimport type { ReactNode } from 'react';\n\nimport { Chip as HeroLabel } from '@heroui/chip';\nimport { chip as heroLabelVariants } from '@heroui/theme';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// label variants\nexport const labelVariants = tv({\n slots: {\n base: '',\n closeButton: '',\n content: '',\n dot: '',\n icon: '',\n },\n variants: {\n color: {\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/chip.ts\n info: {\n dot: 'bg-info',\n },\n ...heroLabelVariants.variants.color,\n },\n isIconOnly: {\n true: {\n content: 'px-1',\n },\n false: {\n content: 'flex items-center gap-2',\n },\n },\n hasEndContent: {\n true: {\n base: 'pr-2',\n },\n },\n variant: heroLabelVariants.variants.variant,\n },\n defaultVariants: heroLabelVariants.defaultVariants,\n compoundVariants: [\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/chip.ts\n ...heroLabelVariants.compoundVariants,\n // solid / color info\n {\n variant: 'solid',\n color: 'info',\n class: {\n base: 'bg-info text-info-foreground',\n },\n },\n // bordered / color info\n {\n variant: 'bordered',\n color: 'info',\n class: {\n base: 'border-info text-info',\n },\n },\n // light / color info\n {\n variant: 'light',\n color: 'info',\n class: {\n base: 'text-info',\n },\n },\n // flat / color info\n {\n variant: 'flat',\n color: 'info',\n class: {\n base: 'bg-info/20 text-info-600',\n },\n },\n // faded / color info\n {\n variant: 'faded',\n color: 'info',\n class: {\n base: 'border-default text-info',\n },\n },\n ],\n});\n\ntype VariantProps = TVProps<typeof labelVariants>;\ntype ClassName = TVClassName<typeof labelVariants>;\n\nexport interface LabelProps extends VariantProps {\n /** content of the label */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** color of the label */\n color?: VariantProps['color'];\n /** element to be rendered in the right side of the label */\n endContent?: HeroLabelProps['endContent'];\n /** optional label icon, when only icon provided without children and endContent */\n icon?: ReactNode;\n /** add close button to endContent */\n onClose?: HeroLabelProps['onClose'];\n /** radius of the label */\n radius?: HeroLabelProps['radius'];\n /** size of the label */\n size?: HeroLabelProps['size'];\n /** style variant of the label */\n variant?: 'solid' | 'bordered' | 'light' | 'flat' | 'faded' | 'dot';\n}\n\n/**\n * Label component based on [HeroUI Chip](https://www.heroui.com//docs/components/chip)\n */\nconst Label = ({\n children = undefined,\n className: _className = undefined,\n color = 'default',\n endContent = undefined,\n icon = undefined,\n onClose = undefined,\n radius = 'full',\n size = 'md',\n variant = 'solid',\n}: LabelProps) => {\n // determine variants based on props\n const isIconOnly = !!icon && !children && !endContent;\n const hasEndContent = !!endContent;\n\n // classNames from slots\n const variants = labelVariants({ color, isIconOnly, hasEndContent, variant });\n const classNames = variantsToClassNames(variants, _className, 'base');\n\n return (\n <HeroLabel\n classNames={classNames}\n endContent={endContent}\n onClose={onClose}\n radius={radius}\n size={size}\n variant={variant}\n >\n {icon ? <span className={classNames.icon}>{icon}</span> : null}\n {children}\n </HeroLabel>\n );\n};\n\nexport default Label;\n"],"mappings":";;;;;AAUA,MAAa,gBAAgB,GAAG;CAC9B,OAAO;EACL,MAAM;EACN,aAAa;EACb,SAAS;EACT,KAAK;EACL,MAAM;CACR;CACA,UAAU;EACR,OAAO;GAEL,MAAM,EACJ,KAAK,UACP;GACA,GAAGA,KAAkB,SAAS;EAChC;EACA,YAAY;GACV,MAAM,EACJ,SAAS,OACX;GACA,OAAO,EACL,SAAS,0BACX;EACF;EACA,eAAe,EACb,MAAM,EACJ,MAAM,OACR,EACF;EACA,SAASA,KAAkB,SAAS;CACtC;CACA,iBAAiBA,KAAkB;CACnC,kBAAkB;EAEhB,GAAGA,KAAkB;EAErB;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,+BACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,wBACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,YACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,2BACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,2BACR;EACF;CACF;AACF,CAAC;;;;AA6BD,MAAM,SAAS,EACb,WAAW,KAAA,GACX,WAAW,aAAa,KAAA,GACxB,QAAQ,WACR,aAAa,KAAA,GACb,OAAO,KAAA,GACP,UAAU,KAAA,GACV,SAAS,QACT,OAAO,MACP,UAAU,cACM;
|
|
1
|
+
{"version":3,"file":"Label.mjs","names":["heroLabelVariants","HeroLabel"],"sources":["../../src/Label/Label.tsx"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ChipProps as HeroLabelProps } from '@heroui/chip';\nimport type { ReactNode } from 'react';\n\nimport { Chip as HeroLabel } from '@heroui/chip';\nimport { chip as heroLabelVariants } from '@heroui/theme';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// label variants\nexport const labelVariants = tv({\n slots: {\n base: '',\n closeButton: '',\n content: '',\n dot: '',\n icon: '',\n },\n variants: {\n color: {\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/chip.ts\n info: {\n dot: 'bg-info',\n },\n ...heroLabelVariants.variants.color,\n },\n isIconOnly: {\n true: {\n content: 'px-1',\n },\n false: {\n content: 'flex items-center gap-2',\n },\n },\n hasEndContent: {\n true: {\n base: 'pr-2',\n },\n },\n variant: heroLabelVariants.variants.variant,\n },\n defaultVariants: heroLabelVariants.defaultVariants,\n compoundVariants: [\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/chip.ts\n ...heroLabelVariants.compoundVariants,\n // solid / color info\n {\n variant: 'solid',\n color: 'info',\n class: {\n base: 'bg-info text-info-foreground',\n },\n },\n // bordered / color info\n {\n variant: 'bordered',\n color: 'info',\n class: {\n base: 'border-info text-info',\n },\n },\n // light / color info\n {\n variant: 'light',\n color: 'info',\n class: {\n base: 'text-info',\n },\n },\n // flat / color info\n {\n variant: 'flat',\n color: 'info',\n class: {\n base: 'bg-info/20 text-info-600',\n },\n },\n // faded / color info\n {\n variant: 'faded',\n color: 'info',\n class: {\n base: 'border-default text-info',\n },\n },\n ],\n});\n\ntype VariantProps = TVProps<typeof labelVariants>;\ntype ClassName = TVClassName<typeof labelVariants>;\n\nexport interface LabelProps extends VariantProps {\n /** content of the label */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** color of the label */\n color?: VariantProps['color'];\n /** element to be rendered in the right side of the label */\n endContent?: HeroLabelProps['endContent'];\n /** optional label icon, when only icon provided without children and endContent */\n icon?: ReactNode;\n /** add close button to endContent */\n onClose?: HeroLabelProps['onClose'];\n /** radius of the label */\n radius?: HeroLabelProps['radius'];\n /** size of the label */\n size?: HeroLabelProps['size'];\n /** style variant of the label */\n variant?: 'solid' | 'bordered' | 'light' | 'flat' | 'faded' | 'dot';\n}\n\n/**\n * Label component based on [HeroUI Chip](https://www.heroui.com//docs/components/chip)\n */\nconst Label = ({\n children = undefined,\n className: _className = undefined,\n color = 'default',\n endContent = undefined,\n icon = undefined,\n onClose = undefined,\n radius = 'full',\n size = 'md',\n variant = 'solid',\n}: LabelProps) => {\n // determine variants based on props\n const isIconOnly = !!icon && !children && !endContent;\n const hasEndContent = !!endContent;\n\n // classNames from slots\n const variants = labelVariants({ color, isIconOnly, hasEndContent, variant });\n const classNames = variantsToClassNames(variants, _className, 'base');\n\n return (\n <HeroLabel\n classNames={classNames}\n endContent={endContent}\n onClose={onClose}\n radius={radius}\n size={size}\n variant={variant}\n >\n {icon ? <span className={classNames.icon}>{icon}</span> : null}\n {children}\n </HeroLabel>\n );\n};\n\nexport default Label;\n"],"mappings":";;;;;AAUA,MAAa,gBAAgB,GAAG;CAC9B,OAAO;EACL,MAAM;EACN,aAAa;EACb,SAAS;EACT,KAAK;EACL,MAAM;CACR;CACA,UAAU;EACR,OAAO;GAEL,MAAM,EACJ,KAAK,UACP;GACA,GAAGA,KAAkB,SAAS;EAChC;EACA,YAAY;GACV,MAAM,EACJ,SAAS,OACX;GACA,OAAO,EACL,SAAS,0BACX;EACF;EACA,eAAe,EACb,MAAM,EACJ,MAAM,OACR,EACF;EACA,SAASA,KAAkB,SAAS;CACtC;CACA,iBAAiBA,KAAkB;CACnC,kBAAkB;EAEhB,GAAGA,KAAkB;EAErB;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,+BACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,wBACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,YACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,2BACR;EACF;EAEA;GACE,SAAS;GACT,OAAO;GACP,OAAO,EACL,MAAM,2BACR;EACF;CACF;AACF,CAAC;;;;AA6BD,MAAM,SAAS,EACb,WAAW,KAAA,GACX,WAAW,aAAa,KAAA,GACxB,QAAQ,WACR,aAAa,KAAA,GACb,OAAO,KAAA,GACP,UAAU,KAAA,GACV,SAAS,QACT,OAAO,MACP,UAAU,cACM;CAMhB,MAAM,WAAW,cAAc;EAAE;EAAO,YAJrB,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;EAIS,eAAA,CAH7B,CAAC;EAG2C;CAAQ,CAAC;CAC5E,MAAM,aAAa,qBAAqB,UAAU,YAAY,MAAM;CAEpE,OACE,qBAACC,MAAD;EACc;EACA;EACH;EACD;EACF;EACG;EANX,UAAA,CAQG,OAAO,oBAAC,QAAD;GAAM,WAAW,WAAW;GAAO,UAAA;EAAW,CAAA,IAAI,MACzD,QACQ;;AAEf"}
|