@vaneui/ui 1.4.3 → 1.4.4-alpha.20261010182914.65fb8f4
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/CHANGELOG.md +31 -0
- package/dist/cjs/components/ui/popup/Popup.cjs +8 -2
- package/dist/cjs/components/ui/popup/Popup.cjs.map +1 -1
- package/dist/cjs/components/ui/theme/defaults.cjs +21 -5
- package/dist/cjs/components/ui/theme/defaults.cjs.map +1 -1
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs +12 -6
- package/dist/cjs/components/ui/tooltip/Tooltip.cjs.map +1 -1
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs +1 -1
- package/dist/cjs/components/ui/tooltip/tooltipDefaults.cjs.map +1 -1
- package/dist/cjs/components/ui/typography/index.cjs +1 -0
- package/dist/cjs/components/ui/typography/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +22 -16
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/ui/popup/Popup.mjs +8 -2
- package/dist/esm/components/ui/popup/Popup.mjs.map +1 -1
- package/dist/esm/components/ui/theme/defaults.mjs +21 -5
- package/dist/esm/components/ui/theme/defaults.mjs.map +1 -1
- package/dist/esm/components/ui/tooltip/Tooltip.mjs +12 -6
- package/dist/esm/components/ui/tooltip/Tooltip.mjs.map +1 -1
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs +1 -1
- package/dist/esm/components/ui/tooltip/tooltipDefaults.mjs.map +1 -1
- package/dist/esm/components/ui/typography/index.mjs +1 -0
- package/dist/esm/components/ui/typography/index.mjs.map +1 -1
- package/dist/esm/index.mjs +14 -8
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.cts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.mts +1 -1
- package/dist/types/components/ui/tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/ui/tooltip/TooltipProps.d.cts +7 -4
- package/dist/types/components/ui/tooltip/TooltipProps.d.mts +7 -4
- package/dist/types/components/ui/tooltip/TooltipProps.d.ts +7 -4
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.cts +1 -1
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.mts +1 -1
- package/dist/types/components/ui/tooltip/tooltipDefaults.d.ts +1 -1
- package/dist/ui.css +1 -1
- package/dist/vars.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltipDefaults.mjs","sources":["../../../../../src/components/ui/tooltip/tooltipDefaults.ts"],"sourcesContent":["import type { PopupProps } from \"../popup/PopupProps\";\n\n/** Tooltip popup: smaller and filled, so it reads as an overlay label rather than a panel. */\nexport const tooltipDefaults: Partial<PopupProps> = {\n sm: true,\n fixed: true,\n flex: true,\n column: true,\n noGap: true,\n rounded: true,\n shadow: true,\n noBorder: true,\n noInsetRing: true,\n
|
|
1
|
+
{"version":3,"file":"tooltipDefaults.mjs","sources":["../../../../../src/components/ui/tooltip/tooltipDefaults.ts"],"sourcesContent":["import type { PopupProps } from \"../popup/PopupProps\";\n\n/** Tooltip popup: smaller and filled in ink (near-white in dark mode), so it reads as an overlay label rather than a panel. */\nexport const tooltipDefaults: Partial<PopupProps> = {\n sm: true,\n fixed: true,\n flex: true,\n column: true,\n noGap: true,\n rounded: true,\n shadow: true,\n noBorder: true,\n noInsetRing: true,\n primary: true,\n filled: true,\n wFit: true,\n fontSans: true,\n placeTop: true,\n};\n"],"names":[],"mappings":"AAGO,MAAM,eAAA,GAAuC;AAAA,EAClD,EAAA,EAAI,IAAA;AAAA,EACJ,KAAA,EAAO,IAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,MAAA,EAAQ,IAAA;AAAA,EACR,KAAA,EAAO,IAAA;AAAA,EACP,OAAA,EAAS,IAAA;AAAA,EACT,MAAA,EAAQ,IAAA;AAAA,EACR,QAAA,EAAU,IAAA;AAAA,EACV,WAAA,EAAa,IAAA;AAAA,EACb,OAAA,EAAS,IAAA;AAAA,EACT,MAAA,EAAQ,IAAA;AAAA,EACR,IAAA,EAAM,IAAA;AAAA,EACN,QAAA,EAAU,IAAA;AAAA,EACV,QAAA,EAAU;AACZ;;;;"}
|
|
@@ -18,6 +18,7 @@ export { pageTitleDefaults } from './pageTitle/pageTitleDefaults.mjs';
|
|
|
18
18
|
export { defaultPageTitleTheme, pageTitleTheme } from './pageTitle/defaultPageTitleTheme.mjs';
|
|
19
19
|
export { Link } from './link/Link.mjs';
|
|
20
20
|
export { linkDefaults } from './link/linkDefaults.mjs';
|
|
21
|
+
import './link/LinkCategories.mjs';
|
|
21
22
|
export { defaultLinkTheme, linkTheme } from './link/defaultLinkTheme.mjs';
|
|
22
23
|
export { List } from './list/List.mjs';
|
|
23
24
|
export { listDefaults } from './list/listDefaults.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -124,6 +124,20 @@ export { Caption } from './components/ui/table/Caption.mjs';
|
|
|
124
124
|
import './components/ui/table/CaptionCategories.mjs';
|
|
125
125
|
import './components/ui/table/defaultCaptionTheme.mjs';
|
|
126
126
|
import './components/ui/typography/common/TypographyCategories.mjs';
|
|
127
|
+
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
128
|
+
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
129
|
+
import './components/ui/typography/blockquote/defaultBlockquoteTheme.mjs';
|
|
130
|
+
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
131
|
+
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
132
|
+
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
133
|
+
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
134
|
+
import './components/ui/typography/link/LinkCategories.mjs';
|
|
135
|
+
import './components/ui/typography/link/defaultLinkTheme.mjs';
|
|
136
|
+
export { List } from './components/ui/typography/list/List.mjs';
|
|
137
|
+
import './components/ui/typography/list/defaultListTheme.mjs';
|
|
138
|
+
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
139
|
+
import './components/ui/typography/listItem/ListItemCategories.mjs';
|
|
140
|
+
import './components/ui/typography/listItem/defaultListItemTheme.mjs';
|
|
127
141
|
export { COMPONENT, ComponentCategories, ComponentKeys } from './components/ui/props/keys.mjs';
|
|
128
142
|
export { ThemeProvider } from './components/ThemeProvider.mjs';
|
|
129
143
|
export { defaultTheme } from './components/defaultTheme.mjs';
|
|
@@ -141,12 +155,4 @@ export { Card } from './components/ui/card/Card.mjs';
|
|
|
141
155
|
export { CardHeader } from './components/ui/card/CardHeader.mjs';
|
|
142
156
|
export { CardBody } from './components/ui/card/CardBody.mjs';
|
|
143
157
|
export { CardFooter } from './components/ui/card/CardFooter.mjs';
|
|
144
|
-
export { Text } from './components/ui/typography/text/Text.mjs';
|
|
145
|
-
export { Title } from './components/ui/typography/title/Title.mjs';
|
|
146
|
-
export { Link } from './components/ui/typography/link/Link.mjs';
|
|
147
|
-
export { List } from './components/ui/typography/list/List.mjs';
|
|
148
|
-
export { ListItem } from './components/ui/typography/listItem/ListItem.mjs';
|
|
149
|
-
export { SectionTitle } from './components/ui/typography/sectionTitle/SectionTitle.mjs';
|
|
150
|
-
export { PageTitle } from './components/ui/typography/pageTitle/PageTitle.mjs';
|
|
151
|
-
export { Blockquote } from './components/ui/typography/blockquote/Blockquote.mjs';
|
|
152
158
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TooltipProps } from "./TooltipProps.cjs";
|
|
2
|
-
export declare function Tooltip({ children, content, openDelay, closeDelay, popupProps, ...
|
|
2
|
+
export declare function Tooltip({ children, content, open, defaultOpen, onOpenChange, openDelay, closeDelay, popupProps, popupId, disabled, ...directPopupProps }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace Tooltip {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TooltipProps } from "./TooltipProps.mjs";
|
|
2
|
-
export declare function Tooltip({ children, content, openDelay, closeDelay, popupProps, ...
|
|
2
|
+
export declare function Tooltip({ children, content, open, defaultOpen, onOpenChange, openDelay, closeDelay, popupProps, popupId, disabled, ...directPopupProps }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace Tooltip {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TooltipProps } from "./TooltipProps";
|
|
2
|
-
export declare function Tooltip({ children, content, openDelay, closeDelay, popupProps, ...
|
|
2
|
+
export declare function Tooltip({ children, content, open, defaultOpen, onOpenChange, openDelay, closeDelay, popupProps, popupId, disabled, ...directPopupProps }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace Tooltip {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PopupProps } from "../popup/PopupProps.cjs";
|
|
3
|
-
/**
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Tooltip component props. Popup props (size, appearance, variant, shape, placement, arrow, offset, ...)
|
|
5
|
+
* are accepted directly and styled onto the tooltip.
|
|
6
|
+
*/
|
|
7
|
+
export type TooltipProps = Omit<PopupProps, 'anchorRef' | 'open' | 'onClose' | 'defaultOpen' | 'onOpenChange' | 'disabled' | 'children' | 'content' | 'id' | 'role'> & {
|
|
5
8
|
/** The element the tooltip describes (must accept ref) */
|
|
6
9
|
children: React.ReactElement;
|
|
7
10
|
/** Tooltip content */
|
|
@@ -16,10 +19,10 @@ export interface TooltipProps {
|
|
|
16
19
|
openDelay?: number;
|
|
17
20
|
/** Delay before hiding in ms (default: 100) */
|
|
18
21
|
closeDelay?: number;
|
|
19
|
-
/** Props passed to the internal Popup */
|
|
22
|
+
/** Props passed to the internal Popup, combined with the direct props (pass one value per category) */
|
|
20
23
|
popupProps?: Partial<Omit<PopupProps, 'open' | 'onClose' | 'anchorRef' | 'children'>>;
|
|
21
24
|
/** Override the generated tooltip id */
|
|
22
25
|
popupId?: string;
|
|
23
26
|
/** Prevent the tooltip from opening */
|
|
24
27
|
disabled?: boolean;
|
|
25
|
-
}
|
|
28
|
+
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PopupProps } from "../popup/PopupProps.mjs";
|
|
3
|
-
/**
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Tooltip component props. Popup props (size, appearance, variant, shape, placement, arrow, offset, ...)
|
|
5
|
+
* are accepted directly and styled onto the tooltip.
|
|
6
|
+
*/
|
|
7
|
+
export type TooltipProps = Omit<PopupProps, 'anchorRef' | 'open' | 'onClose' | 'defaultOpen' | 'onOpenChange' | 'disabled' | 'children' | 'content' | 'id' | 'role'> & {
|
|
5
8
|
/** The element the tooltip describes (must accept ref) */
|
|
6
9
|
children: React.ReactElement;
|
|
7
10
|
/** Tooltip content */
|
|
@@ -16,10 +19,10 @@ export interface TooltipProps {
|
|
|
16
19
|
openDelay?: number;
|
|
17
20
|
/** Delay before hiding in ms (default: 100) */
|
|
18
21
|
closeDelay?: number;
|
|
19
|
-
/** Props passed to the internal Popup */
|
|
22
|
+
/** Props passed to the internal Popup, combined with the direct props (pass one value per category) */
|
|
20
23
|
popupProps?: Partial<Omit<PopupProps, 'open' | 'onClose' | 'anchorRef' | 'children'>>;
|
|
21
24
|
/** Override the generated tooltip id */
|
|
22
25
|
popupId?: string;
|
|
23
26
|
/** Prevent the tooltip from opening */
|
|
24
27
|
disabled?: boolean;
|
|
25
|
-
}
|
|
28
|
+
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { PopupProps } from "../popup/PopupProps";
|
|
3
|
-
/**
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Tooltip component props. Popup props (size, appearance, variant, shape, placement, arrow, offset, ...)
|
|
5
|
+
* are accepted directly and styled onto the tooltip.
|
|
6
|
+
*/
|
|
7
|
+
export type TooltipProps = Omit<PopupProps, 'anchorRef' | 'open' | 'onClose' | 'defaultOpen' | 'onOpenChange' | 'disabled' | 'children' | 'content' | 'id' | 'role'> & {
|
|
5
8
|
/** The element the tooltip describes (must accept ref) */
|
|
6
9
|
children: React.ReactElement;
|
|
7
10
|
/** Tooltip content */
|
|
@@ -16,10 +19,10 @@ export interface TooltipProps {
|
|
|
16
19
|
openDelay?: number;
|
|
17
20
|
/** Delay before hiding in ms (default: 100) */
|
|
18
21
|
closeDelay?: number;
|
|
19
|
-
/** Props passed to the internal Popup */
|
|
22
|
+
/** Props passed to the internal Popup, combined with the direct props (pass one value per category) */
|
|
20
23
|
popupProps?: Partial<Omit<PopupProps, 'open' | 'onClose' | 'anchorRef' | 'children'>>;
|
|
21
24
|
/** Override the generated tooltip id */
|
|
22
25
|
popupId?: string;
|
|
23
26
|
/** Prevent the tooltip from opening */
|
|
24
27
|
disabled?: boolean;
|
|
25
|
-
}
|
|
28
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PopupProps } from "../popup/PopupProps.cjs";
|
|
2
|
-
/** Tooltip popup: smaller and filled, so it reads as an overlay label rather than a panel. */
|
|
2
|
+
/** Tooltip popup: smaller and filled in ink (near-white in dark mode), so it reads as an overlay label rather than a panel. */
|
|
3
3
|
export declare const tooltipDefaults: Partial<PopupProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PopupProps } from "../popup/PopupProps.mjs";
|
|
2
|
-
/** Tooltip popup: smaller and filled, so it reads as an overlay label rather than a panel. */
|
|
2
|
+
/** Tooltip popup: smaller and filled in ink (near-white in dark mode), so it reads as an overlay label rather than a panel. */
|
|
3
3
|
export declare const tooltipDefaults: Partial<PopupProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { PopupProps } from "../popup/PopupProps";
|
|
2
|
-
/** Tooltip popup: smaller and filled, so it reads as an overlay label rather than a panel. */
|
|
2
|
+
/** Tooltip popup: smaller and filled in ink (near-white in dark mode), so it reads as an overlay label rather than a panel. */
|
|
3
3
|
export declare const tooltipDefaults: Partial<PopupProps>;
|